Add "Branch for 23.1" ChangeLog entry.
[bpt/emacs.git] / lisp / url / ChangeLog
CommitLineData
70243478
CY
12009-06-21 Chong Yidong <cyd@stupidchicken.com>
2
3 * Branch for 23.1.
4
d696b0d5
SM
52009-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * url-handlers.el (url-file-handler): Save match data.
8
db922cc0
JR
92009-02-21 Jason Rumney <jasonr@gnu.org>
10
11 * url-expand.el (url-default-expander): Use concat to combine
12 parts. (Bug #1020)
13
f0cfa8f0
GM
142009-02-10 Glenn Morris <rgm@gnu.org>
15
16 * url-util.el (url-generate-unique-filename): Silence compiler.
17
64594ef9
CY
182009-02-07 Chong Yidong <cyd@stupidchicken.com>
19
20 * url-file.el (url-file): Use make-temp-file.
21
22 * url-util.el (url-generate-unique-filename): Mark as obsolete.
23
24 * url-vars.el (url-temporary-directory): Mark as obsolete.
25
200c0424
CY
262009-01-15 Chong Yidong <cyd@stupidchicken.com>
27
68fe704b 28 * url-cookie.el (url-cookie-retrieve): Fix last change.
200c0424 29
26343c7f
CY
302009-01-14 Chong Yidong <cyd@stupidchicken.com>
31
32 * url-cookie.el (url-cookie-retrieve): Handle null localpart.
33
d9e52e92
JB
342009-01-13 Juanma Barranquero <lekktu@gmail.com>
35
36 * url-util.el (url-truncate-url-for-viewing): Doc fix.
37
78892d1b
GM
382009-01-09 Glenn Morris <rgm@gnu.org>
39
40 * url-cid.el (url-cid-gnus): Fix typo in header name.
41
92066e83
CY
422008-11-04 Chong Yidong <cyd@stupidchicken.com>
43
44 * url-util.el (url-basepath): Add url-basepath as an alias for
45 url-file-directory.
46
d6c180c4
JB
472008-10-24 Juanma Barranquero <lekktu@gmail.com>
48
49 * url.el (url-configuration-directory): Use `locate-user-emacs-file'.
50
3b4df550
CY
512008-10-20 İsmail Dönmez <ismail@namtrac.org> (tiny change)
52
53 * url-auth.el (url-basic-auth): Encode password string.
54
e77e9cf4
GM
552008-08-30 Glenn Morris <rgm@gnu.org>
56
57 * url-http.el (url-https-expand-file-name): Resolve directly to
58 url-default-expander rather than via another alias.
59 (url-default-expander): Autoload an autoload. (Bug#825).
60
d1ce47b0
JB
612008-07-02 Juanma Barranquero <lekktu@gmail.com>
62
63 * url.el (url-do-setup):
64 * url-dired.el (url-dired-minor-mode):
65 * url-file.el (url-file-find-possibly-compressed-file):
66 * url-gw.el (url-gateway-broken-resolution):
67 * url-handlers.el (url-handler-regexp):
68 * url-imap.el (url-imap-default-port):
69 * url-methods.el (url-scheme-get-property): Fix typos in docstrings.
70
71 * url-auth.el (url-basic-auth-storage, url-digest-auth):
72 Fix typos in docstrings.
73 (url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
74
75 * url-cache.el (url-cache-prepare): Doc fix.
76 (url-cache-create-filename-human-readable, url-cache-extract):
77 Fix typos in docstrings.
78
79 * url-dav.el (url-intersection, url-dav-iso8601-regexp)
80 (url-dav-delete-something): Fix typos in docstrings.
81 (url-dav-http-success-p, url-dav-file-name-all-completions)
82 (url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
83
84 * url-http.el (url-http-idle-sentinel): Doc fix.
85
86 * url-irc.el (url-irc-default-port): Fix typo in docstring.
87 (url-irc-function): Doc fix.
88
89 * url-util.el (url-get-url-filename-chars, url-unhex-string):
90 Fix typos in docstrings.
91 (url-file-extension): Doc fix.
92
93 * url-vars.el (url-current-object, url-current-mime-headers)
94 (url-privacy-level, url-mail-command, url-mime-language-string):
95 Fix typos in docstrings.
96 (url-honor-refresh-requests): Reflow docstring.
97 (url-using-proxy): Doc fix.
98
0b5c4225
DN
992008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
100
101 * vc-dav.el: Move to the parent directory to be together with the
102 rest of the VC backends.
103
8705576e
GM
1042008-06-07 Glenn Morris <rgm@gnu.org>
105
106 * url-auth.el (auth-source-user-or-password): Remove unnecessary
107 eval-and-compile.
108
a118b59b
SM
1092008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
110
111 * url-handlers.el (url-file-name-completion): Add missing argument.
112
97d1c236
TZ
1132008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
114
ba60bd44 115 * url-auth.el: Add autoload cookie for `auth-source-user-or-password'.
97d1c236
TZ
116 (url-basic-auth, url-digest-auth): Use it with any realm,
117 overriding the user name and password before the prompt.
118
c385aa1a
JB
1192008-04-28 Juanma Barranquero <lekktu@gmail.com>
120
121 * url-vars.el (url-load-hook): Fix typo in docstring.
122
84f089d3
MH
1232008-03-09 Magnus Henoch <mange@freemail.hu>
124
125 * url-http.el (url-http-chunked-encoding-after-change-function):
126 Remove superfluous CRLF at end of file. (bug #42)
127
26d72be8
AS
1282008-03-02 Andreas Schwab <schwab@suse.de>
129
130 * url-util.el: Require cl when compiling.
131
d626f888
TZ
1322008-02-28 Teodor Zlatanov <tzz@lifelogs.com>
133
ba60bd44
JB
134 * url-util.el (url-get-normalized-date): Simplify to use
135 `format-time-string'. Always generate date in UTC, but
d626f888
TZ
136 call it GMT for full compatibility with the RFCs.
137
a9f31e3d
MA
1382008-02-06 Michael Albinus <michael.albinus@gmx.de>
139
140 * url-handlers.el (file-remote-p): Add handler.
141 (url-handler-file-remote-p): New fun.
142
791fe182
SM
1432008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
144
145 * url-handlers.el (url-handler-unhandled-file-name-directory):
146 Handle `file' URLs specially. Return nil for non-local filenames.
147
b72ef564
MH
1482008-02-04 Magnus Henoch <mange@freemail.hu>
149
150 * url-expand.el: Require cl when compiling, for setf.
151
e652840b
JW
1522008-01-29 John Wiegley <johnw@newartisans.com>
153
154 * url-auth.el (url-digest-auth): If the 'opaque' argument is not
155 being used, don't add it to the response text. Also, changed an
156 if so that the interaction between the PROMPT and OVERWRITE
157 arguments can no longer result in the user being queried twice for
158 the same login and password information.
159
ce4059ee
SM
1602008-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * url-handlers.el (unhandled-file-name-directory): Add handler.
163 (url-handler-unhandled-file-name-directory): New fun.
164
80e4b01d
MA
1652008-01-07 Michael Albinus <michael.albinus@gmx.de>
166
167 * url-handlers.el (url-file-handler): Autoload.
168
9824ded5
GM
1692007-12-11 Glenn Morris <rgm@gnu.org>
170
171 * url.el (url-configuration-directory): Make it a defcustom.
172
173 * url-util.el (url-make-private-file): New function.
174 * url-cookie.el (url-cookie-write-file):
175 * url-history.el (url-history-save-history):
176 Use url-make-private-file and with-temp-buffer.
177
40234eaf
GM
1782007-12-06 Glenn Morris <rgm@gnu.org>
179
180 * url-file.el, url-mailto.el: Remove directory part from filenames
181 in function declarations.
182
24030ea3
GM
1832007-12-02 Glenn Morris <rgm@gnu.org>
184
e05b1e72
GM
185 * url-about.el, url-handlers.el: Don't require cl when compiling.
186
187 * url-dav.el (url-dav-delete-directory): Fix message typo.
188
189 * url-history.el (top-level): Don't require cl when compiling.
190 (url-history-setup-save-timer, url-history-save-history):
191 Use condition-case rather than ignore-errors.
192
193 * url-imap.el (top-level): Don't require cl when compiling.
194 (url-imap): Use signal rather than check-type.
195
24030ea3
GM
196 * url-news.el (top-level): Don't require cl when compiling.
197 (gnus-group-buffer): Define for compiler.
198 (url-news-fetch-message-id): Don't use `declare'.
199 (nntp-open-tls-stream, nntp-open-ssl-stream):
200 No need to define for compiler.
201 (url-snews): Use nntp-open-tls-stream unless ssl is requested.
c2bf6d2c 202 Correct quoting of nntp-open-connection-function value.
24030ea3 203
29c7eba8
GM
2042007-12-01 Glenn Morris <rgm@gnu.org>
205
206 * url-handlers.el (top-level): Always require url-parse, not just
207 when compiling.
208
36176341
GM
2092007-11-30 Glenn Morris <rgm@gnu.org>
210
211 * url-cookie.el (url-cookie-p): Declare as a function.
212
0bd90741
GM
2132007-11-29 Glenn Morris <rgm@gnu.org>
214
215 * url-file.el (url-file-build-filename, url-file): Wrap uses of
216 efs in (featurep 'xemacs) test.
217
218 * url-irc.el (zenirc, zenirc-send-line): Declare as functions.
219
7ba1d5ae
GM
2202007-11-28 Diane Murray <disumu@x3y2z1.net>
221
222 * url-dired.el: Don't require w3-fetch and w3-open-local.
c385aa1a 223 (url-dired-find-file): Use `find-file'. Doc fix.
7ba1d5ae
GM
224 (url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
225
9f34397d
GM
2262007-11-24 Glenn Morris <rgm@gnu.org>
227
228 * url-privacy.el (url-device-type): Fix typo.
229
153ef845
DN
2302007-11-20 Dan Nicolaescu <dann@ics.uci.edu>
231
232 * url-mailto.el (mail-send-and-exit):
233 * url-http.el (url-dav-file-attributes):
d4aa48db 234 * url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal)
6d00e226
DN
235 (url-generate-unique-filename): Declare as functions.
236
153ef845
DN
237 * url-privacy.el (url-device-type): Define unconditionally.
238
9ffb9521
RS
2392007-11-15 Richard Stallman <rms@gnu.org>
240
241 * url.el (url-retrieve-synchronously): Call delete-process.
242
3a47bb3e
JB
2432007-10-31 Juanma Barranquero <lekktu@gmail.com>
244
245 * url-vars.el (url-vars-unload-hook): Remove function and variable.
246 Hooks are automatically removed by `unload-feature'.
247
4148f522
RS
2482007-10-13 Richard Stallman <rms@gnu.org>
249
250 * url-util.el (url-basepath): Function deleted.
251 (url-file-directory, url-file-nondirectory): New functions
252 replacing url-basepath. Callers changed.
253
254 * url-expand.el (url-default-expander): Use `url-file-directory'.
255
256 * url-auth.el (url-digest-auth, url-basic-auth):
257 Rename `path' to `file'. Use `url-file-directory'.
258
3aa491bc
GM
2592007-10-12 Diane Murray <disumu@x3y2z1.net>
260
261 * url-auth.el (url-basic-auth): Set path to "/" when URL has an
2a5be7dc 262 empty string filename.
3aa491bc 263
d1d80b80
RS
2642007-10-09 Richard Stallman <rms@gnu.org>
265
266 * url-parse.el (url-type, url-user, url-password, url-host)
267 (url-port, url-filename, url-target, url-attributes)
268 (url-fullness, url-set-type, url-set-user, url-set-password)
269 (url-set-host, url-set-port, url-set-filename, url-set-target)
270 (url-set-attributes, url-set-full): Change macros to defuns.
271
259b63b4
JB
2722007-09-26 Juanma Barranquero <lekktu@gmail.com>
273
274 * url-dav.el (top):
275 * url-vars.el (top): Use `mapc' rather than `mapcar'.
276
8a35aa36
GM
2772007-09-22 Diane Murray <disumu@x3y2z1.net>
278
279 * url-misc.el (url-generic-emulator-loader): Send the port as a
2a5be7dc 280 string to `url-do-terminal-emulator'.
8a35aa36 281
965d1f0e
GM
2822007-09-21 Diane Murray <disumu@x3y2z1.net>
283
3a47bb3e 284 * url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus method.
d01b3550 285
965d1f0e
GM
286 * url-util.el (url-get-normalized-date): Pass full timezone
287 information to timezone-make-date-arpa-standard, since zone name
288 may be unknown.
289
72f25299
GM
2902007-09-03 Diane Murray <disumu@x3y2z1.net>
291
0f71f9da 292 * url-http.el (url-http-parse-headers): Bind the current buffer
72f25299
GM
293 rather than calling `url-mark-buffer-as-dead' with
294 `current-buffer', so that the correct buffer is killed if
295 `url-retrieve-synchronously' gets redirected to a new URL.
296
d18ec89f
SM
2972007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
298
299 * url-parse.el (url): Use defstruct rather than macros.
300 (url-generic-parse-url):
301 * url-util.el (url-normalize-url, url-truncate-url-for-viewing):
302 * url-methods.el (url-scheme-register-proxy):
303 * url-mailto.el (url-mailto):
304 * url-file.el (url-file-build-filename):
305 * url-expand.el (url-identity-expander, url-default-expander):
306 Update all callers.
307
0f71f9da
JB
3082007-08-09 Edward O'Connor <hober0@gmail.com> (tiny change)
309
310 * url-auth.el (url-basic-auth): When prompting for username
311 and password, default to the username and password in the URL.
312
df26688b
GM
3132007-08-08 Glenn Morris <rgm@gnu.org>
314
315 * url-auth.el, url-cache.el, url-dav.el, url-file.el, vc-dav.el:
316 Replace `iff' in doc-strings and comments.
317
cacc7b51
GM
3182007-07-25 Glenn Morris <rgm@gnu.org>
319
320 * Relicense all FSF files to GPLv3 or later.
321
c0ed4c23
CY
3222007-06-12 Tom Tromey <tromey@redhat.com>
323
324 * url.el (url-configuration-directory): Use user-emacs-directory.
325
495fa7db
SM
3262007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
327
328 * url-cookie.el (url-cookie-name, url-cookie-value)
329 (url-cookie-expires, url-cookie-localpart, url-cookie-domain)
330 (url-cookie-secure, url-cookie-set-name, url-cookie-set-value)
331 (url-cookie-set-expires, url-cookie-set-localpart)
332 (url-cookie-set-domain, url-cookie-set-secure)
333 (url-cookie-retrieve-arg, url-cookie-create, url-cookie-p): Remove.
334 (url-cookie): New struct.
335 (url-cookie-store): Use setf instead of url-cookie-set-*.
336
345c7f05
CY
3372007-05-29 Chong Yidong <cyd@stupidchicken.com>
338
339 * url-mailto.el (url-mailto): Insert body after
de74fffc 340 mail-header-separator if present, so that it is before signature.
345c7f05
CY
341 Suggested by Leo <sdl.web@gmail.com>.
342
5cfdb0fb
CY
3432007-04-15 Chong Yidong <cyd@stupidchicken.com>
344
345 * url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes.
346
f25a9946
CY
3472007-04-13 Chong Yidong <cyd@stupidchicken.com>
348
349 * url-http.el (url-http-parse-headers): Stop after a set number of
350 redirections. Suggested by Diane Murray.
351
352 * url-vars.el (url-max-redirections): New var.
353
60df22cc 3542007-04-01 Diane Murray <disumu@x3y2z1.net> (tiny change)
f3e30bd0
CY
355
356 * url-http.el (url-http-handle-cookies): Reverse list returned by
357 `mail-fetch-field', so that cookies are set in the correct order.
358
359 * url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
360 Deal with wildcard dots in domain values.
361
fd1e2cde
EZ
3622007-03-31 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
363
364 * url-http.el (url-http-mark-connection-as-busy)
365 (url-http-mark-connection-as-free): Clear query-on-exit flag on
366 idle connections.
367
b3cd7f61
CY
3682007-02-04 Chong Yidong <cyd@stupidchicken.com>
369
370 * url-http.el (url-http-connection-opened): New variable.
371 (url-http): Initialize it.
372 (url-http-async-sentinel): Don't try changing sentinels.
373 Run url-http-end-of-document-sentinel if necessary.
374
8f77631e
JB
3752007-01-29 Juanma Barranquero <lekktu@gmail.com>
376
377 * url-auth.el (url-get-authentication): Fix typo in docstring.
378
00d972eb
MH
3792007-01-14 Magnus Henoch <mange@freemail.hu>
380
381 * url-proxy.el (url-proxy-object): Remove.
382 (url-proxy): Don't use `url-proxy-object'. Act according to type of
383 proxy (currently only HTTP supported).
384
385 * url.el (url-retrieve-internal): Don't use `url-proxy-object'.
386
387 * url-http.el (url-http-proxy): New variable.
388 (url-http-create-request): Use it. Don't use `url-proxy-object'.
389 (url-http): Treat `url' argument as resource to download, and
390 dynamic variable `url-using-proxy' as proxy to use. Set
391 `url-current-object' to actual URL, and `url-http-proxy' to proxy
392 used.
393 (url-http-handle-cookies): Assume that `url-current-object' does
394 not point to the proxy used.
395 (url-http-async-sentinel): Adapt error message.
396
28e86dc4
JB
3972006-12-10 Juanma Barranquero <lekktu@gmail.com>
398
399 * url-gw.el (url-gateway-nslookup-program): Doc fix.
400
b8976ce0
MH
4012006-12-08 Magnus Henoch <mange@freemail.hu>
402
403 * url-proxy.el (url-proxy-object): New variable.
404 (url-proxy): Bind it instead of `proxy-object'.
405
406 * url-http.el (url-http-create-request): Remove url argument, use
407 the buffer-local variable `url-http-target-url' instead. Both
408 callers updated. Simplify proxy handling.
409 (url-http): Don't make proxy-object buffer local.
410
411 * url.el (url-retrieve-internal): Bind url-proxy-object to nil.
412
57babe17
MH
4132006-11-26 Magnus Henoch <mange@freemail.hu>
414
415 * url-http.el (url-http-wait-for-headers-change-function): Use
416 `when' instead of `if' when possible.
b9b172ac
MH
417 (url-http): Define url-http-response-version.
418 (url-http-parse-response): Set it.
419 (url-http-parse-headers): Use it to determine keep-alive behavior.
57babe17 420
60df22cc 4212006-11-23 Diane Murray <disumu@x3y2z1.net> (tiny change)
48d2bac4
MH
422
423 * url-http.el (url-http-content-length-after-change-function): Use
424 `url-lazy-message'.
425
426 * url-util.el (url-display-percentage): Only show a message if
427 `url-show-status' is non-nil.
428
d58fae84
MH
4292006-11-15 Magnus Henoch <mange@freemail.hu>
430
6e2988e6
MH
431 * url-http.el (url-http): Make proxy-object buffer-local, to
432 handle proxied asynchronous connections correctly.
433
d58fae84
MH
434 * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
435
1ac3c910 4362006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
98325235 437
1ac3c910
JB
438 * url-http.el (url-http-wait-for-headers-change-function):
439 Defer detection of HTTP 0.9 until we have at least one line.
98325235 440
1ac3c910 4412006-11-10 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8529c21d
CY
442
443 * url-http.el (url-http-mark-connection-as-free)
444 (url-http-find-free-connection): Don't treat process with status
445 `connect' as free.
446 (url-http-async-sentinel): Request correct url.
447
947612be
MH
4482006-11-08 Magnus Henoch <mange@freemail.hu>
449
385b64c5
MH
450 * url-http.el (url-http-handle-authentication): If there are
451 several authentication headers, use the strongest available
452 method.
453
947612be
MH
454 * url.el (url-retrieve-synchronously): Allow quitting when
455 inhibit-quit is t.
456
1ac3c910 4572006-11-03 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8917392a
MH
458
459 * url-http.el (url-http-handle-authentication): If there are
460 several authentication headers, use the first with a supported
461 method.
462
8ea88265
MH
4632006-11-01 Magnus Henoch <mange@freemail.hu>
464
465 * url-http.el (url-http-create-request): Use buffer-local
466 equivalents of dynamically bound variables.
467
080234b6
MH
4682006-10-29 Magnus Henoch <mange@freemail.hu>
469
470 * url-gw.el (url-open-stream): Really use asynchronous
471 connections (accidentally disabled during debugging).
472
ced20bfb
MH
4732006-10-28 Magnus Henoch <mange@freemail.hu>
474
475 * url-http.el (url-http-parse-headers): Fix misplaced paren.
476
5695d1dd
CY
4772006-10-27 Magnus Henoch <mange@freemail.hu>
478
479 * url-http.el (url-http-mark-connection-as-free): Verify that
480 connection is open before saving it.
481 (url-http-handle-authentication): Use url-retrieve-internal
482 instead of url-retrieve.
483 (url-http-parse-headers): Adapt to new callback interface.
484 (url-http): Handle non-blocking connections.
485 (url-http-async-sentinel): Create.
486
487 * url.el (url-retrieve): Update docstring for new callback interface.
488 Remove all code.
489 (url-retrieve-internal): Move code from url-retrieve here.
490
491 * url-gw.el (url-open-stream): Use a non-blocking socket for
492 `native' gateway method, if available.
493
784f5416
MH
4942006-10-16 Magnus Henoch <mange@freemail.hu>
495
1ac3c910
JB
496 * url-http.el (url-https-create-secure-wrapper):
497 Always use tls gateway method.
784f5416 498
dfea17e0
MH
4992006-10-12 Magnus Henoch <mange@freemail.hu>
500
1ac3c910
JB
501 * url-http.el (url-http-find-free-connection):
502 Handle url-open-stream returning nil.
dfea17e0 503
9c51663a
MH
5042006-10-11 Magnus Henoch <mange@freemail.hu>
505
506 * url-https.el: Remove (clashes with url-http on 8+3 systems).
507
508 * url-http.el: Move contents of url-https.el here. Add autoloads.
509
f6fb70fc
MH
5102006-10-09 Magnus Henoch <mange@freemail.hu>
511
512 * url-parse.el (url-generic-parse-url): Handle URLs with empty
513 path component and non-empty query component. Untangle path,
514 query and fragment parsing code. Add references to RFC 3986 in
515 comments.
c385aa1a 516 (url-recreate-url-attributes): Start query string with "?", not ";".
f6fb70fc 517
162fbe11
SM
5182006-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
519
520 * url-dav.el (url-dav-file-attributes): Simplify.
521
522 * url-http.el (url-http-head-file-attributes): Add device "info".
523
f316efd9
MB
5242006-09-18 Michael Olson <mwolson@gnu.org>
525
526 * url-methods.el (url-scheme-register-proxy): Handle case where
527 getenv returns an empty string for http_proxy. This prevents an
528 error when calling `format' later on.
529
60df22cc 5302006-08-31 Diane Murray <disumu@x3y2z1.net> (tiny change)
7660c02f 531
c2a7ddb1
SM
532 * url-parse.el (url-recreate-url-attributes): New function, code
533 simply moved from `url-recreate-url'.
534 (url-recreate-url): Use it.
535 Put the `url-target' at the end of the URL after the attributes.
536
537 * url-http.el (url-http-create-request):
538 Use `url-recreate-url-attributes' when setting real-fname.
539
60df22cc 5402006-08-29 Diane Murray <disumu@x3y2z1.net> (tiny change)
c2a7ddb1
SM
541
542 * url-cookie.el (url-cookie-write-file): Really don't use versioned
543 backups.
7660c02f 544
d0f891a7
SM
5452006-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
546
547 * url-handlers.el (url-file-local-copy): Tell url-copy-file that the
548 dest file will already exist.
549
07e9b3f0
SM
5502006-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
551
552 * url-util.el (url-hexify-string): Only utf-8 encode if it's
553 a multibyte string.
554 (url-normalize-url): Remove unused var `grok'.
555 (url-truncate-url-for-viewing): Remove unused var `tail'.
556
ecfbb488
TTN
5572006-07-30 Thien-Thi Nguyen <ttn@gnu.org>
558
559 * url-util.el (url-hexify-string): Rewrite.
560 Suggested by David Smith <davidsmith@acm.org>.
561
0b6bb130
MB
5622006-07-12 Michael Olson <mwolson@gnu.org>
563
564 * url-irc.el (url-irc-erc): Call erc-handle-irc-url.
565
bc684c16
SM
5662006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
567
568 * url-cookie.el: Remove spurious * in docstrings.
569 (url-cookie-write-file): Don't use versioned backups.
570 (url-cookie-host-can-set-p): Remove unused var `tmp'.
571
3d3a26eb 5722006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
bc684c16
SM
573
574 * url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
575 (url-cookie-write-file): Reset url-cookies-changed-since-last-save.
576
d10a6bf1
RS
5772006-05-12 Reiner Steib <Reiner.Steib@gmx.de>
578
579 * url-http.el (url-http-file-exists-p): Test if status is integer.
580
3d3a26eb 5812006-05-05 Andreas Seltenreich <seltenreich@gmx.de>
3dfed653
EZ
582
583 * url-http.el (url-http-parse-headers): Don't reuse connection if
584 "Connection: close" header was seen.
585
351b838f
SM
5862006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
587
588 * url-gw.el (url-open-stream): Don't hide errors.
589 (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
590
591 * url-handlers.el (url-insert): New function.
592 (url-insert-file-contents): Use it.
593
bdba217b
SM
5942006-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
595
596 * url-handlers.el (url-handler-directory-file-name): New handler.
597 (url-file-local-copy): Plug race condition security hole.
598
7608c40c
RF
5992006-03-27 Romain Francoise <romain@orebokech.com>
600
601 * url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
602 (url-irc-function): Add rcirc and ERC to the list of IRC clients.
603 Default to rcirc, since ZenIRC isn't part of Emacs.
604
bedeb7fd
SM
6052006-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
606
607 * url-http.el (url-http-find-free-connection): Fix braino in last fix.
608
8dff56de
SM
6092006-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
610
611 * url-http.el (url-http-find-free-connection): Don't kill the process
612 when killing the temp buffer.
613 (url-http-symbol-value-in-buffer): Massage to make it clear to the
614 byte-compiler that the function is defined.
615
9b4cf231
SM
6162006-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
617
618 * url.el (url-redirect-buffer): New var.
619 (url-retrieve-synchronously): Use it to follow redirections.
620
621 * url-http.el: Require `url' rather than try to autoload parts of it.
622 (url-http-find-free-connection): `url-open-stream' needs a real buffer.
623 (url-http-parse-headers): Set `url-redirect-buffer' when following
624 a redirection reply.
625
81cafdfe
SM
6262006-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
627
628 * url-news.el: Move defvars out of eval-when-compile.
629 (url-news-fetch-message-id, url-news-fetch-newsgroup):
630 Use with-current-buffer.
631
5dc3ceeb
SM
6322006-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
633
e7ea7cac
SM
634 * url.el (url-retrieve-synchronously): Adjust the workaround so as not
635 to stop in the middle of a redirection.
636
5dc3ceeb
SM
637 * url-vars.el (url-privacy-level): Add setter.
638
72a30be4
SM
6392006-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
640
176c99dc
SM
641 * url-history.el (url-history-hash-table): Initialize in declaration.
642 (url-history-parse-history): Don't reset the history.
643 (url-history-save-history): Create parent dir if necessary.
644 (url-history-save-history): Don't write the initialization of
645 url-history-hash-table into the history file.
9b4cf231 646 (url-have-visited-url): Simplify since url-history-hash-table isn't nil.
176c99dc
SM
647 (url-completion-function): Simplify.
648
72a30be4
SM
649 * url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
650 (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
651 (url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
652 (url-cookie-setup-save-timer): Remove autoload cookies.
653 They're only called from files that require url-cookie anyway.
654
655 * url-history.el (url-history-setup-save-timer)
656 (url-history-parse-history, url-history-save-history):
657 Remove autoload cookies. They're only called from url.el which requires
658 url-history anyway.
659 (url-history-parse-history): Don't complain if the file is missing.
660
55262b16
SM
6612006-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
662
663 * url-handlers.el (url-retrieve-synchronously): Don't autoload.
664
665 * url.el (url-retrieve, url-retrieve-synchronously): Autoload.
666
667 * url-cache.el: Require `url'.
668
d476efde
SM
6692005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
670
32d5ce4d
SM
671 * url-cache.el (url-store-in-cache): Use save-current-buffer.
672
d476efde
SM
673 * url.el (url-configuration-directory): Don't autoload because the
674 default value needs to be computed at run-time, not dump-time.
675
32fa5844
SM
6762005-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
677
678 * url-cookie.el (url-cookie-write-file): Create parent dir.
679
680 * url.el (url-configuration-directory): Use ~/.emacs.d if possible.
681
0c069924
RS
6822005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
683
684 * url-cookie.el (url-cookie-save-interval): Simplify.
685 (url-cookie-setup-save-timer): Simplify.
686
8553120c
RS
6872005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
688
689 * url-history.el (url-history-list): Var deleted.
690 (url-history-save-interval): Simplify.
691 (url-history-setup-save-timer): Simplify.
692
b0ab1a06
KS
6932005-12-01 Kim F. Storm <storm@cua.dk>
694
695 * url-history.el (url-history-track): Fix last change.
696
1942d6cc
RS
6972005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
698
699 * url-history.el (url-history-track):
700 Call url-history-setup-save-timer in :set function.
701 :type allows three alternatives.
702 (url-history-setup-save-timer): Test url-history-track.
703 * url.el (url-retrieve): Test url-history-track.
704
12f1edc8
SM
7052005-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
706
707 * url-http.el: Use with-current-buffer.
708 (url-http-target-url): Rename from url-http-cookies-sources.
709 (url-http-parse-headers): Use it.
710 (url-http-handle-authentication): Use subst-char-in-string.
711
77f05e24
SM
7122005-11-16 Juergen Hoetzel <emacs@hoetzel.info> (tiny change)
713
714 * url-handlers.el (url-insert-file-contents): Use the charset info
715 provided by the HTTP server, if any.
716
ce13796f
EZ
7172005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change)
718
77f05e24
SM
719 * url-nfs.el (top level):
720 * url-handlers.el (directory-files):
ce13796f 721 * url-file.el (top level):
77f05e24 722 * url-dired.el (url-dired-minor-mode-map):
ce13796f
EZ
723 * url-http.el (url-http-chunked-encoding-after-change-function):
724 Remove XEmacs support.
725
a4684cb0
RS
7262005-10-15 Richard M. Stallman <rms@gnu.org>
727
728 * url.el: Don't try to autoload hash table functions.
729
1430e7f9
SM
7302005-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
731
732 * url-http.el (url-http-create-request): Avoid incorrect implicit
733 unibyte->multibyte conversion.
734
8ccd3630
RS
7352005-09-17 Richard M. Stallman <rms@gnu.org>
736
737 * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
738
739 * url-mailto.el (url-mailto): Special case `mail'.
740 Don't test fboundp of `compose-mail'.
741
b0742512
CY
7422005-09-15 Chong Yidong <cyd@stupidchicken.com>
743
744 * url-mailto.el (url-mailto): Delete mail buffer after sending
745 autogenerated mail.
8ded3f47 746 Call `compose-mail with `new' argument if possible.
b0742512 747
c8359e8f
CY
7482005-09-13 Chong Yidong <cyd@stupidchicken.com>
749
750 * url-mailto.el (url-mailto): Always use a new mail buffer.
751
6fd388f3
CY
7522005-09-01 Chong Yidong <cyd@stupidchicken.com>
753
754 * url-util.el (url-parse-query-string): New optional argument
755 allow-newlines allows decoding of newlines.
756
757 * url-mailto.el (url-mailto): Allow newlines in URL arguments.
758 Don't lose original "to" value when there is a "to" header.
759 Remove carriage return characters in message body.
760
26d874b2
JB
7612005-08-24 Juanma Barranquero <lekktu@gmail.com>
762
763 * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
764 * url-http.el (url-http-cookies-sources): Defvar at compile time.
765
dc524e8b
RS
7662005-07-15 Richard M. Stallman <rms@gnu.org>
767
768 * url-http.el (url-http-parse-headers): Add :redirect arg-pair
769 when calling url-retrieve, to indicate a redirect.
770
771 * url.el (url-retrieve): The callback function can get an additional
772 keyword arg pair.
773
a0ec7a4a
LK
7742005-07-04 Lute Kamstra <lute@gnu.org>
775
776 Update FSF's address in GPL notices.
777
59fda2fa
JB
7782005-07-04 Juanma Barranquero <lekktu@gmail.com>
779
780 * url-history.el (url-history-track): Doc fix.
781 (url-history): Finish `defgroup' description with period.
782
783 * url-cookie.el (url-cookie):
784 * url-gw.el (url-gateway):
785 * url-news.el (url-news):
786 * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
787 Finish `defgroup' description with period.
788
231add10
RS
7892005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
790
791 * url-http.el (url-http-create-request): Call url-recreate-url
792 in proxy case.
793
e893ce91
RS
7942005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
795
796 * url-http.el (url-http-create-request): When computing real-fname,
797 call url-filename in both cases.
798
7992005-06-27 Richard M. Stallman <rms@gnu.org>
800
801 * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
802 (url-cookie-retrieve): Likewise.
803 (url-cookie-generate-header-lines): Likewise.
804 (url-cookie-handle-set-cookie): Likewise.
805 (url-cookie-create): Expect :localpart instead of :path.
806 (url-cookie-localpart): Renamed from url-cookie-path.
807 (url-cookie-set-localpart): Renamed from url-cookie-set-path.
808 (url-cookie-file): Doc fix.
809 (url-cookie-p): Add doc string.
810
528b6abc
RS
8112005-06-23 Richard M. Stallman <rms@gnu.org>
812
813 * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
814
23873c96
JB
8152005-06-21 Juanma Barranquero <lekktu@gmail.com>
816
817 * url-gw.el (url-open-stream):
818 * url-vars.el (url-gateway-unplugged): Fix spellings.
819
0b46b379
JB
8202005-06-14 Juanma Barranquero <lekktu@gmail.com>
821
d6c180c4 822 * url-history.el (url-completion-function): Follow error conventions.
0b46b379 823
175384d1
SM
8242005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
825
826 * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
827
7f954571
SM
8282005-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
829
0090e048
SM
830 * url-dav.el: Remove most autoload cookies.
831 Don't hook into the url-file-handler since it currently breaks all
832 non-HTTP URLs.
833
7f954571
SM
834 * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
835
836 * url.el (url-retrieve-synchronously): Don't exit precipitously when
837 fetching a file via ange-ftp.
838
466c78c0
JB
8392005-06-10 Juanma Barranquero <lekktu@gmail.com>
840
7f954571 841 * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
466c78c0 842
93c8c9cd
JB
8432005-05-19 Juanma Barranquero <lekktu@gmail.com>
844
845 * url-cookie.el (url-cookie-multiple-line):
846 Specify group and type in defcustom.
847
216d3806
JB
8482005-05-06 Juanma Barranquero <lekktu@gmail.com>
849
850 * url-auth.el (url-register-auth-scheme):
851 * url-cookie.el (url-cookie-expired-p):
852 * url-dav.el (url-dav-process-date-property)
853 (url-dav-process-boolean-property, url-dav-process-DAV:status):
854 * url-http.el (url-http-chunked-encoding-after-change-function)
855 (url-http-wait-for-headers-change-function):
856 * url-ns.el (isInNet):
857 * url-parse.el (url-generic-parse-url):
858 * url-util.el (url-get-normalized-date): Replace `string-to-int'
859 by `string-to-number'.
860
799fba8f
SM
8612005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
862
863 * url.el (url-retrieve-synchronously): Work around the fact that
864 url-http sometimes doesn't call the callback.
865
8c6ef2ca
LK
8662005-04-04 Lute Kamstra <lute@gnu.org>
867
868 * url-handlers.el (url-handler-mode): Specify :group.
869
a6efc2c2
EZ
8702005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
871
872 * url-history.el (url-have-visited-url): Don't barf if
873 url-history-hash-table is nil.
874
134948fc
RS
8752005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
876
877 * url-http.el (url-http-parse-headers): Test url-automatic-caching.
878
1a8461d3
EZ
8792005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
880
557724a8
EZ
881 * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
882 to nil, like for the 303 response.
1a8461d3 883
944b2ab6
SM
8842005-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
885
886 * url.el (url-retrieve-synchronously): Use accept-process-output rather
887 than sit-for.
888
e817f9a2
TTN
8892005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change)
890
891 * url-http.el (url-http-handle-authentication):
892 Don't kill the current buffer.
893
5007cdc9
SM
8942004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
895
896 * url-handlers.el: Don't `require' everything eagerly.
897
cacfe88b
AS
8982004-11-30 Paul Pogonyshev <pogonyshev@gmx.net>
899
900 * url-http.el (url-http-handle-cookies): Bind `url-current-object'
901 to `url-http-cookies-sources' so that cookies are attributed to
902 proper domain.
903 (url-http): Make local variable `url-http-cookies-sources'.
904
dc1a0a7a
AS
9052004-11-28 Andreas Schwab <schwab@suse.de>
906
907 * url-http.el (url-http-create-request): Don't add newline after
908 the request data.
909
14e25c87
MY
9102004-11-20 Masatake YAMATO <jet@gyve.org>
911
912 * url.el (url-mm-callback): Delay the invocation
1ac3c910 913 of `mm-destroy-parts'. Invoke `mm-destroy-parts'
14e25c87
MY
914 when the buffer is killed.
915
de0234ea
MY
9162004-11-12 Masatake YAMATO <jet@gyve.org>
917
5007cdc9 918 * url-mailto.el (url-mailto): Fix a typo in the comment.
de0234ea 919
60b5eb78
MY
9202004-11-02 Masatake YAMATO <jet@gyve.org>
921
922 * url-imap.el (url-imap-open-host): Don't use
1ac3c910 923 `string-to-int'. The port returned by `url-port'
60b5eb78
MY
924 is expected to be an integer.
925
926 * url-irc.el (url-irc): Ditto.
927
928 * url-news.el (url-news-open-host): Ditto.
929
930 * url-nfs.el (url-nfs-build-filename): Ditto.
931
ed87225a
JPW
9322004-10-20 John Paul Wallington <jpw@gnu.org>
933
934 * url-gw.el (url-gateway-nslookup-host):
935 Use `set-process-query-on-exit-flag'.
936
2a6c7fe5
LH
9372004-10-10 Lars Hansen <larsh@math.ku.dk>
938
4169c186
KS
939 * url-auth.el:
940 * url-cache.el:
941 * url-cid.el:
942 * url-dired.el:
943 * url-expand.el:
944 * url-ftp.el:
945 * url-gw.el:
946 * url-imap.el:
947 * url-irc.el:
948 * url-misc.el:
949 * url-news.el:
950 * url-ns.el:
951 * url-privacy.el:
2a6c7fe5
LH
952 * url-proxy.el: Update header and footer.
953
954 * url-vars.el: Update header.
955
c2e2ede7
RS
9562004-10-16 Richard M. Stallman <rms@gnu.org>
957
958 * url.el (url-do-setup): Don't set url-passwd-entry-func.
959
960 * url-vars.el (url-passwd-entry-func): Var deleted.
961 (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
5007cdc9
SM
962 (url-weekday-alist): Rename from weekday-alist.
963 (url-monthabbrev-alist): Rename from monthabbrev-alist.
c2e2ede7
RS
964 (url-vars-unload-hook): Initialize hook var to hold the function.
965
5007cdc9
SM
966 * url-util.el (url-get-normalized-date): Use url-weekday-alist and
967 url-monthabbrev-alist.
c2e2ede7
RS
968
969 * url-misc.el: Load cl at compile time.
970
971 * url-mailto.el: Don't load cl.
972 (url-mailto): Fix call to `push'.
973
974 * url-gw.el (url-open-telnet): Use read-passwd.
975
976 * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
977
3bb53a84
SJ
9782004-10-12 Simon Josefsson <jas@extundo.com>
979
980 * url-vars.el (url-gateway-method): Add new method `tls'.
981
982 * url-news.el (url-snews): Use nntp-open-tls-stream if
983 url-gateway-method is tls.
984
5007cdc9
SM
985 * url-ldap.el (url-ldap-certificate-formatter):
986 Use tls-certificate-information if ssl.el is not available.
3bb53a84
SJ
987
988 * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
989 is not available.
990
991 * url-gw.el (url-open-stream): Support tls url-gateway-method.
992 (url-open-stream): Likewise.
993
df41da5e
LH
9942004-10-10 Lars Hansen <larsh@math.ku.dk>
995
4169c186
KS
996 * url-auth.el:
997 * url-cache.el:
998 * url-cookie.el:
999 * url-dired.el:
1000 * url-file.el:
1001 * url-ftp.el:
1002 * url-handlers.el:
1003 * url-history.el:
1004 * url-irc.el:
1005 * url-mailto.el:
1006 * url-methods.el:
1007 * url-misc.el:
1008 * url-news.el:
1009 * url-nfs.el:
1010 * url-parse.el:
1011 * url-privacy.el:
1012 * url-vars.el:
1013 * url.el:
df41da5e
LH
1014 * url-util.el: Fix copyright notice.
1015
ccd59305
SM
10162004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * url-handlers.el (url-insert-file-contents): Use the URL to decide the
1019 encoding, not the buffer-file-name (which might not even exist).
1020
d4fdad60
SM
10212004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1022
1023 * url-handlers.el (url-insert-file-contents): Decode contents.
1024
10a6e6ba
SM
10252004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1026
1027 * url-util.el (url-debug): Use with-current-buffer.
1028
1029 * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
1030 (url-nfs-create-wrapper): Use new backquote syntax.
1031
1032 * url-https.el (url-https-file-attributes): Add id-format param.
1033
1034 * url-http.el (url-http-head-file-attributes)
1035 (url-http-file-attributes): Add id-format parameter.
1036
1037 * url-handlers.el: Use new find-file-hook.
1038 (url-file-attributes): Add id-format parameter.
1039
1040 * url-file.el (url-file-create-wrapper): Use new backquote syntax.
1041 (url-file-file-attributes): Add id-format parameter.
1042
1043 * url-dav.el: Use with-current-buffer.
1044 (url-dav-process-response): Fix regexps and spurious quote.
1045 (url-dav-file-attributes): Add id-format param.
1046
10472004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1048
1049 * url.el (url-retrieve): Use with-current-buffer.
1050
1051 * url-http.el (url-http-parse-headers, url-http-file-exists-p):
1052 Remove unused var `version'.
1053
1054 * url-handlers.el (url-handler-mode): New minor mode.
1055 (url-setup-file-name-handlers): Remove.
1056
10572004-04-12 John Paul Wallington <jpw@gnu.org>
1058
1059 * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
1060 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
1061
10622004-04-11 Dave Love <fx@gnu.org>
1063
1064 * url-mailto.el (url-mailto):
1065 * url-history.el (url-history-setup-save-timer):
1066 * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
1067
1068 * url-file.el (url-file-build-filename): Don't use
1069 directory-sep-char.
1070
1071 * url-auth.el (url-register-auth-scheme): Fix `format' call.
1072
1073 * url-about.el (url-scheme-registry): Defvar.
1074 (url-about): Use text/plain.
1075
1076 * url-vars.el (cl): Don't require.
1077 (url): Add :version.
1078 (url-bug-address): Use bug-gnu-emacs.
1079
1080 * url-util.el (url-hexify-string): Don't give multibyte error
1081 for char <16.
1082 (mail-header-extract): Autoload.
1083
1084 * url-parse.el: Doc fixes.
1085
1086 * url-ldap.el (ldap): Require.
1087 (url-ldap): Fix `format' call.
1088 (url-ldap-certificate-formatter): Avoid warning.
1089
4dfde3dd 1090 * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
10a6e6ba
SM
1091
1092 * url-dav.el (url-dav-rename-file): Fix args of `signal'.
1093 (url-intersection): New.
1094 (url-dav-supported-p): Use it.
1095 (url-dav-save-resource): Declare url-http-response-status special.
1096
1097 * url-cache.el (url-util): Require.
1098
10992004-04-10 Miles Bader <miles@gnu.org>
1100
1101 RCS keyword removal (only non-comment changes are enumerated here):
1102
1103 * url-vars.el (url-version): Use the constant string "Emacs"
1104 instead of calculating something from the RCS `State' keyword
1105 [the latter is almost entirely useless anyway].
1106
11072004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1108
1109 * url-methods.el:
1110 * url-parse.el: Don't require url-auto.
1111
11122004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1113
1114 * url: Imported the URL package from its own CVS repository into Emacs.
1115
1116===========================================================================
1117===========================================================================
1118 Copy of the ChangeLog file from URL's own CVS repository:
1119===========================================================================
1120===========================================================================
1121
11222003-07-16 Dave Love <fx@gnu.org>
1123
1124 * lisp/url.el (url-retrieve-synchronously): Revert last change.
1125 Should be revisited.
1126
11272003-06-26 Sam Steingold <sds@gnu.org>
1128
1129 * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
1130 method on invalid urls.
1131
11322003-05-29 Dave Love <fx@gnu.org>
1133
1134 * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
1135 sit-for. From monnier@gnu.org.
1136
1ac3c910 11372002-11-04 Walter C. Pelissero <walter@pelissero.org>
10a6e6ba 1138
4dfde3dd
SM
1139 * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
1140 port numbers to integers when creating the URL objects for proxies.
10a6e6ba
SM
1141
11422002-10-29 William M. Perry <wmperry@gnu.org>
1143
1144 * lisp/url-http.el (url-http-parse-headers): When doing a
1145 redirect, some broken software (sourceforge) sends a redirect to
1146 '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
1147 specification). I wish we could deal with such lame software
1148 appropriately (spank the authors), but this is the web, so we have
1149 to kow-tow to the servers.
1150
11512002-10-27 William M. Perry <wmperry@gnu.org>
1152
1153 * lisp/url-http.el (url-http-create-request): If we are talking to
1154 the default port for a the selected protocol, do NOT send the port
1155 in the HOST header. This fixes the login page at sourceforge.
1156
11572002-09-17 William M. Perry <wmperry@gnu.org>
1158
1159 * lisp/url-http.el (url-http-handle-cookies): New function to deal
1160 with cookie headers.
1161 (url-http-parse-headers): Call `url-http-handle-cookies' here so
4dfde3dd
SM
1162 that cookie additions and deletions get handled immediately.
1163 This is so that sites that set cookies while doing redirects
10a6e6ba
SM
1164 (my.yahoo.com, outlook web access, etc) work. This should also
1165 fix sites that delete cookies on invalid access or other error
1166 pages the user might not actually see.
1167 (url-http-parse-headers): Silently convert non-HEAD and non-GET
1168 methods to GET in redirects. Too many web sites do this now, and
1169 it is just likely to confuse users.
1170
11712002-05-17 Dave Love <fx@gnu.org>
1172
1173 * texi/url.txi: Start making it vaguely useful.
1174
1175 * texi/Makefile.in (install): Cope with Debian install-info.
2a5be7dc 1176 From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Grossjohann).
10a6e6ba
SM
1177
11782002-04-22 Dave Love <fx@gnu.org>
1179
1180 * lisp/url-misc.el (man): Autoload to avoid warning.
1181 (url-man): Don't require man here.
1182 (url-data): Generalize in line with the RFC.
1183
1184 * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
1185
1186 * lisp/url-vars.el: Doc fixes.
1187 (url-mime-charset-string): New function.
1188 (url-mime-charset-string): Use it to set the variable.
1189 (url-set-mime-charset-string): New function.
1190 (set-language-environment-hook): Use it.
1191 (url-vars-unload-hook): New function.
1192
4dfde3dd
SM
1193 * lisp/url-cookie.el (url-header-comparison): Delete.
1194 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
10a6e6ba
SM
1195 (url-cookie-save-interval): Make value agree with doc.
1196
1197 * lisp/url.el: Doc fixes.
1198 (url-mm-callback): Don't call mm-destroy-parts immediately for
1199 external viewing -- set up a process sentinel.
1200
12012002-02-02 William M. Perry <wmperry@gnu.org>
1202
4dfde3dd 1203 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
10a6e6ba
SM
1204
12052001-12-12 William M. Perry <wmperry@gnu.org>
1206
1207 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
1208 Monnier to use ` instead of ^ to match the relative link.
1209
12102001-12-10 William M. Perry <wmperry@gnu.org>
1211
1212 * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
1213 plist-get (reversed args).
1214
1215 * lisp/url-file.el (url-file-build-filename): Make sure that we
1216 have a parsed URL in this function.
1217
12182002-01-22 Dave Love <fx@gnu.org>
1219
1220 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
1221
4dfde3dd
SM
1222 * lisp/url-imap.el (url-imap): Maybe disable multibyte.
1223 Bind coding-system-for-read. Require mm-util.
10a6e6ba
SM
1224
1225 * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
1226
1227 * lisp/mule-sysdp.el: Removed (obsolete).
1228
12292001-12-09 William M. Perry <wmperry@gnu.org>
1230
1231 * lisp/url-dav.el (url-dav-delete-something): Utility macro to
1232 remove an arbitrary resource.
1233 (url-dav-delete-directory): Use it.
1234 (url-dav-delete-file): Ditto.
1235 (url-dav-make-directory): New function.
1236 (url-dav-rename-file): New function.
1237 (url-dav-register-handler): New function to easily register a
1238 WebDAV-specific file-name-handler operation.
1239 (url-dav-file-name-all-completions, url-dav-file-name-completion):
4dfde3dd 1240 New functions that allow file-name completion for WebDAV resources.
10a6e6ba
SM
1241
12422001-12-08 William M. Perry <wmperry@gnu.org>
1243
1244 * lisp/url-dav.el (url-dav-directory-files): New function to
1245 mimic `directory-files' for WebDAV.
1246 (url-dav-delete-directory): New function to mimic
1247 `delete-directory' for WebDAV.
1248
12492001-12-06 William M. Perry <wmperry@gnu.org>
1250
1251 * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
1252 DAV:locktoken hrefs into a usable format.
1253 (url-dav-process-response): Use an unwind-protect to make sure
1254 that we clean up the buffer, even if there is a parsing error.
1255 (url-dav-request): New function to act as the main entry point for
1256 making DAV requests. Takes care of building the XML document with
1257 appropriate namespaces, depth, etc, and parses the results.
4dfde3dd
SM
1258 (url-dav-get-properties): Use new url-dav-request function.
1259 This is now just a thin wrapper around that to use PROPFIND and set any
10a6e6ba
SM
1260 extra properties we are looking for.
1261 (url-dav-unlock-resource): New function to release a lock given a
1262 URL and a lock-token.
1263 (url-dav-process-DAV:getlastmodified)
1264 (url-dav-process-DAV:creationdate)
1265 (url-dav-process-DAV:iscollection)
1266 (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
1267 url-dave-*!
1268 (url-dav-active-locks): New function to get a list of all the
1269 active locks for a resource.
1270 (url-dav-save-resource): New function to actually save a resource
1271 using the PUT method. I can now successfully save files to an
4dfde3dd 1272 HTTP server with some manual steps from a lisp-interaction buffer.
10a6e6ba
SM
1273
1274 * lisp/url-http.el (url-http-wait-for-headers-change-function):
1275 Special case the 204/205 response codes. Some servers do not
1276 send back a 0 content-length for these, and we would hang.
1277 (url-http-parse-headers): Mark 204/205 response codes as
1278 'successful' so that the callbacks get activated.
1279 (url-http-options): Fix unbound variable usage.
1280
1281 * lisp/url-dav.el: Added full copyright information.
1282 (url-dav-process-response): Make sure that we create a DAV:status
1283 property when parsing a singleton response.
1284 (url-dav-file-attributes): If the properties returned did not have
10d1d0af 1285 a successful HTTP response code, then ignore them and use the
10a6e6ba
SM
1286 HEAD-based attributes.
1287
1288 * lisp/vc-dav.el: Added full copyright information.
1289
4dfde3dd
SM
1290 * lisp/url-dav.el (url-dav-process-supportedlock-property):
1291 Deal with text nodes in DAV:supportedlock nodes.
10a6e6ba
SM
1292 (url-dav-file-attributes-mode-string): This now gets the entire
1293 property list instead of just the DAV:supportedlock node.
1294 (url-dav-file-attributes): Make sure to pass the whole list in.
4dfde3dd 1295 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
10a6e6ba
SM
1296 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
1297 'executable' bit to set the 'x' mode. See `mod_dav's custom
1298 properties' at http://www.webdav.org/mod_dav/ for more details.
1299 (url-dav-find-parser): New function to find the proper parser for
1300 a node-type. Looks for
1301 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
1302 back to using url-dav-node-text. Caches the results on the nodes
1303 symbol name.
4dfde3dd
SM
1304 (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
1305 (url-dav-process-*): Rename most of the handlers and made them
10a6e6ba
SM
1306 use url-dav-dispatch-node where appropriate.
1307 (url-dav-process-DAV:prop): Instead of using the dav-data-type
1308 property to dispatch the node, now uses dav-dispatch-node so that
1309 it is easy to add parsers for special nodes.
1310 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
1311 (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
1312 (url-dav-process-DAV:getcontentlength)
1313 (url-dave-process-DAV:getlastmodified)
1314 (url-dave-process-DAV:creationdate)
1315 (url-dave-process-DAV:iscollection)
1316 (url-dave-process-DAV:ishidden): Aliases for the generic
1317 url-dav-process-foo-property routines.
1318 (url-dav-process-DAV:activelock)
1319 (url-dav-process-DAV:lockdiscovery): Can now correctly parse
1320 DAV:lockdiscovery nodes, so that we can find out who has a
1321 resource locked and properly parse the reponse to a LOCK request.
10d1d0af 1322 (url-dav-process-DAV:status): Now parses out the numeric status
10a6e6ba
SM
1323 from the HTTP response line.
1324 (url-dav-process-response): New function to handle all the
1325 parsing of an XML response from WebDAV. This handles all the
1326 logic of checking the response content-type to make sure it is
1327 XML, parses the tree, and interprets the tree.
1328 (url-dav-process-response): Make sure that all responses look
1329 like a DAV:multistatus response, even if we get a singleton
4dfde3dd 1330 response back. This will just make the upper layer logic simpler.
10a6e6ba
SM
1331 (url-dav-get-properties): New optional argument NAMESPACES that
1332 specifies what namespaces to use in the XML request.
1333 (url-dav-get-properties): Got rid of the D: namespace in
1334 requests. It doesn't save that much space. Just use DAV:
1335 (url-dav-lock-identifier): New variable that should hold a URI
1336 pointing to contact information for the user. This will be used
1337 as the contents of the DAV:owner/DAV:href tag to identify the
1338 owner of a LOCK when requesting it. This will be shown to other
1339 users when the DAV:lockdiscovery property is requested, so make
1340 sure you are comfortable with it leaking to the outside world.
1341 (url-dav-lock-resource): New function to LOCK a dav resource.
1342
13432001-12-05 William M. Perry <wmperry@gnu.org>
1344
1345 * lisp/url-dav.el (url-dav-get-properties): New argument
1346 ATTRIBUTES that allows you to ask for specific properties instead
1347 of getting all properties via DAV:allprop.
1348
4dfde3dd
SM
1349 * lisp/url-http.el (url-http-real-basic-auth-storage):
1350 New variable for normal HTTP basic authentication.
10a6e6ba
SM
1351 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
1352 basic authentication.
1353 (url-http-handle-authentication): Follow new semantics for
1354 url-basic-auth-storage.
1355
4dfde3dd 1356 * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
10a6e6ba
SM
1357 this variable. It is now a symbol pointing to where we really
1358 want to store the authorization information. This fixes proxy
4dfde3dd
SM
1359 auth and normal basic auth because of some local bindings that were
1360 making it impossible to store the credentials in the global binding.
10a6e6ba
SM
1361 (url-basic-auth): Make sure we dereference url-basic-auth-storage
1362 everywhere.
1363
4dfde3dd 1364 * lisp/url-util.el (url-debug): Add new types 'dav and
10a6e6ba
SM
1365 'retrieval to the customization list.
1366
1367 * lisp/url.el (url-retrieve-synchronously): Put in some debugging
1368 statements.
1369
4dfde3dd 1370 * lisp/url-http.el (url-http-head-file-attributes): Rename old
10a6e6ba
SM
1371 url-http-file-attributes so that we can have a smarter one that
1372 tries WebDAV first, then HEAD.
4dfde3dd 1373 (url-http-file-attributes): New smart version that tries WebDAV first.
10a6e6ba
SM
1374 (url-http-options): New function that returns information gleaned
1375 from an OPTIONS request for a URL. Returns a property list
1376 returning the methods supported for the resource, what DAV and
1377 DASL levels are supported, p3p information, and whether
1378 byte-ranges are supported or not.
1379 (url-http-wait-for-headers-change-function): If we got a 0-byte
1380 content-length, activate the callback immediately.
1381 (url-http-wait-for-headers-change-function): For content-length
1382 responses with actual body-data in the chunk we are handling, call
1383 url-http-content-length-after-change-function with the remaining
1384 data. Otherwise we can deadlock if the headers and the entire
1385 body exist arrive in one chunk.
1386
1387 * lisp/url-dav.el: New file to contain the WebDAV
1388 (http://www.webdav.org/) implementation.
1389 (url-dav-supported-p): Cheap way to figure out whether we will be
1390 able to do DAV at all. We rely on the XML parser expanding
1391 namespaces for us, and currently you need a patched version of
1392 xml.el to do this. Patch sent to author for consideration.
1393 (url-dav-file-attributes): Much more complete version of
1394 `file-attributes' using the WebDAV PROPFIND method. Now correctly
1395 finds out whether something is a directory (a WebDAV collection),
1396 the last modification time, and permissions (based on the
1397 DAV:supportedlock information).
1398 (url-dav-get-properties): Generic interface to get WebDAV
1399 properties for a URL. Can specify an optional `depth' parameter
1400 to tell the web server how many directory (collection) levels to
1401 recurse when retrieving the property lists. Returns an assoc
4dfde3dd 1402 list keyed off of the resource, the cdr of which is a property list.
10a6e6ba
SM
1403 (url-dav-datatype-attribute): We support the XML-Data note
1404 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
1405 datatypes of attributes are. Currently only date, dateTime, int,
1406 number, float, boolean, and uri are supported.
1407
14082001-12-04 William M. Perry <wmperry@gnu.org>
1409
1410 * lisp/url-handlers.el (file-name-absolute-p): New hooked
1411 version. If the filename matches our regexp, then it is always
1412 absolute, so just return `t'.
1413 (expand-file-name): New hooked version. If the fragment is an
1414 absolute file or URL, then expand it relative to '/'.
1415 (url-handler-regexp): New regexp for specific schemes that we
1416 want the file-name-handlers to work off of.
4dfde3dd 1417 (url-setup-file-name-handlers): Use it when installing the handlers.
10a6e6ba
SM
1418
1419 * lisp/url-http.el (url-http-find-free-connection): Better logging
1420 about whether we are reusing an existing connection or not.
1421
4dfde3dd 1422 * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
10a6e6ba
SM
1423 to string-match instead of match-string (and with reversed
1424 arguments even).
1425
4dfde3dd 1426 * lisp/url-http.el (url-http-debug): Change to now use the
10a6e6ba
SM
1427 generic url-debug function to do the actual logging. Still a
1428 separate function so that we can do our magic on the network
1429 connection if the user quits while we are downloading.
1430
1431 * lisp/url-handlers.el (url-file-handler): Now logs the result of
1432 the hooked or real call.
1433
4dfde3dd 1434 * lisp/url-util.el (url-debug): New function for generic debug logging.
10a6e6ba
SM
1435
14362001-11-28 William M. Perry <wmperry@gnu.org>
1437
1438 * lisp/url-imap.el (url-imap-open-host): Use backquote.
1439 (url-imap): Now switches to 'login as the imap authenticator if
1440 the URL provides a username and password.
1441
1442 * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
1443 push to replace some strange logic in here.
1444 (url-run-real-handler): New function to run the real hooks in
1445 case we get a false positive or an operation that we do not
1446 support. The old way disabled _ALL_ file-name-handlers when
1447 we hit something we didn't understand - this disables JUST us.
4dfde3dd 1448 (url-file-handler): Remove the logic about removing the leading
10a6e6ba
SM
1449 '/' off of the first argument... it may not be safe to always
1450 assume that the first argument is the one we are acting on -
4dfde3dd 1451 `default' is the second argument for expand-file-name for example.
10a6e6ba
SM
1452 (url-setup-file-name-handlers): Use url-nonrelative-link
1453 directly. This means that you must type in the URL directly
1454 without prefixing it with a '/'.
1455
1456 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
1457
1458 Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
1459 which activates us (because 'nnml+mail' _is_ a valid scheme name
1460 for a URI). We get thoroughly confused and end up returning
1461 `nil' when we shouldn't.
1462
14632001-11-26 William M. Perry <wmperry@gnu.org>
1464
1465 * lisp/url-handlers.el (file-writable-p): Add NULL handler for
1466 this so that visiting a URL directly will work.
1467 (file-symlink-p): Ditto.
1468 (url-insert-file-contents): If `visit' is non-nil then make sure
1469 we set buffer-file-name. After these changes you can visit
1470 http://www.gnu.org/ directly from the minibuffer.
1471 (url-insert-file-contents): When inserting the file contents,
1472 use a save-excursion so that we behave just like the original.
1473
14742001-11-25 William M. Perry <wmperry@gnu.org>
1475
4dfde3dd 1476 * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
10a6e6ba
SM
1477
14782001-11-24 William M. Perry <wmperry@gnu.org>
1479
1480 * lisp/url-about.el (url-about): New loader scheme to handle
1481 about:foo URLs. Automatically tries to find a `url-about-foo'
1482 function to display the actual data.
2941ce4b 1483 (url-about-protocols): Implement about:protocols.
10a6e6ba
SM
1484
1485 * lisp/url-http.el (url-http): Make sure that we signal an error
1486 when we cannot open a network connection for whatever reason.
1487 Before, it would just silently clean up after itself and the user
183080b6 1488 got absolutely no indication that an error had occurred. If the
10a6e6ba
SM
1489 error should truly be ignored, the caller should do that for us.
1490 (url-http-chunked-encoding-after-change-function): Doh! Need to
1491 user marker-position in some log messages now that
1492 url-http-chunked-start is a marker.
1493
14942001-11-22 William M. Perry <wmperry@gnu.org>
1495
1496 * lisp/url-https.el: Fixed definition of url-https - was using the
1497 wrong signature. Too much cut & paste.
4dfde3dd 1498 (url-https-create-secure-wrapper): Fix so that url-https works
10a6e6ba 1499 at all. Was not taking a null `method' into account when calling
4dfde3dd 1500 the wrapped function so url-https tried to call url-http-nil. *sigh*
10a6e6ba
SM
1501
1502 * lisp/url-http.el
4dfde3dd 1503 (url-http-chunked-encoding-after-change-function): Add some
10a6e6ba
SM
1504 feedback when not debugging about what content-type and chunk # we
1505 are reading.
1506 (url-http-chunked-encoding-after-change-function): Use a marker
1507 for url-http-chunked-start so that we can safely delete the
1508 chunk-tokens instead of just marking them as invisible.
1509 (url-http-chunked-encoding-after-change-function): Actually delete
1510 the chunk-tokens. Now that we are not run from 'real'
1511 after-change functions, this is safe, and the right thing to do.
1512 Otherwise the HTML parser still saw them and inferred all sorts of
1513 bad things about the document (ie: nothing had a title!)
1514
15152001-11-21 William M. Perry <wmperry@gnu.org>
1516
1517 * lisp/url-http.el (url-http-debug): Document this variable.
1518 People other than I might want to use it.
1519 (url-http-debug): Put some code in here to check quit-flag
1520 directly. When the chunked encoding went into a tight spin, your
1521 Emacs would be wedged forever. This short-circuits all the
1522 after-change functions and signals an error.
1523 (url-http-debug): If url-http-debug is non-nil and non-t, then log
1524 the debug messages using `message' as well as sending them to the
1525 buffer.
1526 (url-http-chunked-encoding-after-change-function): Got rid of the
1527 no-initial-crlf. Had an epiphany and I can just infer this from
1528 url-http-chunked-counter being 0.
4dfde3dd 1529 (url-http-chunked-encoding-after-change-function): Move the debug
10a6e6ba
SM
1530 statement about reading chunk #foo into the loop so that each
1531 chunk will have a log message associated with it.
1532 (url-http-chunked-encoding-after-change-function): Make sure to
1533 set read-next-chunk to nil when the regular expression match fails
1534 to fire. Otherwise we could loop forever.
4dfde3dd
SM
1535 (url-http-chunked-encoding-after-change-function): Tweak the
1536 regular expression to be a little less greedy when looking for a chunk.
10a6e6ba
SM
1537 (url-http-wait-for-headers-change-function): Remove the last
1538 argument when calling
1539 url-http-chunked-encoding-after-change-function. It is no longer
1540 needed. I should use my brain sometime.
1541
4dfde3dd 1542 * lisp/url-vars.el (and): Fix feature test for xemacs and
fffa137c 1543 coding-system-list behavior.
10a6e6ba
SM
1544
1545 * lisp/url-http.el
4dfde3dd
SM
1546 (url-http-chunked-encoding-after-change-function): Add optional
1547 no-initial-crlf flag that modifies the regular expression.
1548 This is only set from url-http-wait-for-headers-change-function so that
10a6e6ba 1549 the initial CRLF in the HTTP headers is not swallowed.
4dfde3dd 1550 (url-http-chunked-encoding-after-change-function): Fix a few
10a6e6ba 1551 off-by-one errors by using (match-end 0) instead of 1.
4dfde3dd 1552 (url-http-chunked-encoding-after-change-function): Add a few
10a6e6ba
SM
1553 url-http-debug calls to help track down problems in the chunked
1554 encoding.
1555 (url-http-chunked-encoding-after-change-function): The chunk
1556 reading in here is now in a while loop so that if Emacs feeds us a
1557 chunk of data that happens to contain more than one 'chunk'
1558 delimiter, we behave correctly.
1559 (url-http-wait-for-headers-change-function): Make sure that we
1560 pass no-initial-crlf to
1561 url-http-chunked-encoding-after-change-function when passing
1562 initial data to the decoder.
1563 (url-http-generic-filter): url-http-debug statement so we can tell
1564 when/where our after-change-functions are being called.
1565
15662001-10-11 Dave Love <fx@gnu.org>
1567
1568 * lisp/url-handlers.el: Doc fixes.
1569 (string-match): Use (featurep 'xemacs).
1570
1571 * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
1572
1573 * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
1574
1575 * lisp/url-vars.el (url-running-xemacs): Delete.
1576 (url-gateway-unplugged): New variable.
1577
1578 * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
1579 Comment out OS/2 stuff.
1580
15812001-10-05 Dave Love <fx@gnu.org>
1582
1583 * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
1584 without confirmation.
1585
15862001-10-02 Dave Love <fx@gnu.org>
1587
1588 * lisp/url-http.el (url-http-create-request): Check cache for
1589 proxy-obj, if defined, rather than url.
1590 (url-http): Use dolist, not mapc (runtime cl dependency).
1591
1592 * lisp/url-methods.el: Maybe require cl at runtime.
4dfde3dd
SM
1593 (url-scheme-register-proxy): Fix fetching from environment.
1594 Don't concat a number.
10a6e6ba
SM
1595
15962001-10-01 Dave Love <fx@gnu.org>
1597
1598 * lisp/url-parse.el: Use modern backquote syntax.
1599
1600 * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
1601 (url-mail-command): Prefer compose-mail.
1602 (tcp-binary-process-input-services): Comment out.
1603 (url-working-buffer): New constant.
1604
1605 * lisp/url-util.el (url-extract-mime-headers): New function.
1606
1607 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add
1608 User-Agent.
1609
16102001-09-20 Dave Love <fx@gnu.org>
1611
4dfde3dd 1612 * lisp/url-http.el (url-http-create-request): Don't concat a number.
10a6e6ba
SM
1613
16142001-06-05 Dave Love <fx@gnu.org>
1615
1616 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob
4dfde3dd 1617 tcp-binary-process-input-services. Remove function wrapper for lambda.
10a6e6ba
SM
1618 (url-retrieve): Barf with sensible message if url-type is null.
1619
1620 * lisp/url-http.el (url-http): Don't try to set process
1621 coding-system here -- done in url-gw.
1622
1623 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
1624 (url-open-stream): Bind coding-system-for{read,write} when setting
1625 up the connexion. Don't call url-gw-inhibit-code-conversion.
1626
4dfde3dd
SM
16272001-05-24 William M. Perry <wmperry@gnu.org>
1628
1629 * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
1630 in url-retrieve-synchronously.
1631
10a6e6ba
SM
16322001-05-23 William M. Perry <wmperry@gnu.org>
1633
1634 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
1635 accept-process-output. This is evidently causing hangs in Emacs
1636 21 when viewing complex pages with images or stylesheets.
1637 www.yahoo.com is now viewable.
1638
1639 * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
1640 (mule-inhibit-code-conversion) and just have a local function that
1641 does this minimal cruft.
1642 (url-gw-inhibit-code-conversion): New function to turn off code
1643 conversion in a process.
1644
16452001-05-22 William M. Perry <wmperry@gnu.org>
1646
1647 * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
1648 that we can allow multiple asynch retrievals to happen at once.
1649 (url-retrieve-synchronously): Use a much smaller timeout when
1650 doing the accept-process-output. This gets rid of the long delays
1651 if you are on a fast net connection and retrieve small documents
1652 that finish asynchronously before the first accept-process-output
1653 can be run. All hail broadband and 100Mb in the house!
4dfde3dd 1654 (url-retrieve-synchronously): Add documentation for this function.
10a6e6ba
SM
1655 (url-retrieve): Ditto.
1656 (url-mm-url): Ditto.
1657
1658 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
1659 documentation strings. Ok, so I'm anal.
1660
1661 * lisp/url-methods.el (url-scheme-methods): Add default methods
1662 for file-directory-p and file-truename.
1663
16642001-05-22 Dave Love <fx@gnu.org>
1665
1666 * lisp/url-auth.el (url-warn): Autoload.
1667
1668 * lisp/url-proxy.el (url-warn): Autoload.
1669
1670 * lisp/url-nfs.el: Fix `file-truname' typo.
1671
1672 * lisp/url-news.el: Require cl when compiling.
1ac3c910 1673 (url-warn, gnus-group-read-ephemeral-group): Autoload.
4dfde3dd 1674 (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
10a6e6ba
SM
1675 (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
1676
1677 * lisp/url-util.el (mule-decode-string): Don't autoload.
1678 (url-hexify-string): Just barf on multibyte characters.
1679 (url-generate-unique-filename): New function.
1680
1681 * lisp/url-file.el (url-file): Use url-generate-unique-filename,
1682 not mm-generate-unique-filename.
1683
1684 * lisp/url-http.el: Declare things special in various places.
1685 (url-http-activate-callback): Don't set
1686 url-http-real-after-change-function.
1687
16882001-05-22 William M. Perry <wmperry@gnu.org>
1689
1690 * lisp/url-http.el (url-http-attempt-keepalives): New variable to
1691 control whether we try to do keep-alives for our connections.
1692 (url-http-version): New variable to control whether we advertise
1693 ourselves as an HTTP/1.1 client or not. This can be useful for
1694 avoiding chunked encoding, and other 1.1 features we may not have
1695 fully implemented yet.
1696 (url-http-create-request): Honor the new variables.
1697
16982001-05-21 Dave Love <fx@gnu.org>
1699
1700 * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
1701 in XEmacs.
1702 (url-mime-charset-string): Don't reverse the list before sorting.
1703
17042001-05-17 William M. Perry <wmperry@gnu.org>
1705
1706 * lisp/url-http.el (url-http-generic-filter): Avoid using
1707 after-change-functions natively. There are just too many ways
1708 that this screws up in Emacs 21. Use a filter function on the
1709 process instead, and call the hook on
1710 url-http-after-change-function manually. [Actually, it will work
1711 in Emacs 21, but one problem that has been fixed in Emacs 21
1712 exists in Emacs 20. -- fx]
1713
1714 * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
1715 does not exist on older versions of Emacs, or any version of
1716 XEmacs. Do not call it unless it is bound.
1717
17182001-05-17 Dave Love <fx@gnu.org>
1719
1720 * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
1721
17222001-05-16 Dave Love <fx@gnu.org>
1723
1724 * lisp/url-vars.el: Doc fixes. Require mm-util.
1725 (url-mime-charset-string): New variable.
1726
1727 * lisp/url-http.el: Doc fixes.
1728 (url-http-create-request): Rearrange how we assemble the request.
1729 Avoid generating bogus requests with an empty real-fname.
4dfde3dd 1730 (url-http-handle-authentication): Declare status and success special.
10a6e6ba
SM
1731 (url-http): Call mm-disable-multibyte. Set process buffer's
1732 coding systems to binary.
1733
1734 * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
1735
4dfde3dd 1736 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
10a6e6ba 1737 (url-file-find-possibly-compressed-file): Doc fix.
4dfde3dd 1738 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
10a6e6ba
SM
1739
1740 * lisp/url-cache.el: Don't require mule-sysdp.
1741 (url-store-in-cache): Avoid mule-write-region-no-coding-system.
1742
1743 * lisp/url.el: Don't require mule-sysdp.
1744 (url-retrieve): Only set text properties if url is a string.
1745
17462001-05-14 Dave Love <fx@gnu.org>
1747
4dfde3dd
SM
1748 * lisp/url-http.el (url-http-create-request):
1749 Declare proxy-object, proxy-info special.
10a6e6ba
SM
1750 (url-http-handle-authentication): Declare success special.
1751
17522001-05-12 Dave Love <fx@gnu.org>
1753
1754 * lisp/url-http.el: Revert last change.
1755
17562001-05-10 Dave Love <fx@gnu.org>
1757
4dfde3dd
SM
1758 * lisp/url-http.el (url-http-generic-after-change-function):
1759 Make it permanent-local.
10a6e6ba
SM
1760
17612001-05-05 Dave Love <fx@gnu.org>
1762
1763 * lisp/url-http.el: Autoload some functions.
1764 (cl): Require when compiling.
1765 (url-http-extra-headers): Defvar when compiling.
1766 (url-http): Treat after-change-functions as a local hook.
1767
1768 * lisp/url-history.el (url-parse): Require.
1769 (url-do-setup): Autoload.
1770
1771 * lisp/url-gw.el: Require url-vars. Autoload some functions.
1772
1773 * lisp/url-file.el: Require mailcap. Require cl when compiling.
1774 Use (featurep 'xemacs).
1775 (url-file-build-filename): Bind pos-index.
1776 (url-file): Call url-find-file-dired, not url-dired-find-file.
1777
4dfde3dd 1778 * lisp/url-dired.el: Add copyright notice. Autoload some functions.
10a6e6ba
SM
1779 (url-dired-minor-mode-map): Use (featurep 'xemacs).
1780 (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
4dfde3dd 1781 (url-find-file-dired): Rename from one version of url-dired-find-file.
10a6e6ba
SM
1782
1783 * lisp/url-cid.el: Don't require widget. Require mm-decode
1784 unconditionally.
1785
1786 * lisp/url-util.el: Autoload mule-decode-string,
1787 timezone-parse-date, timezone-make-date-arpa-standard.
1788 (url-unreserved-chars): Fix list per RFC 2396.
1789 (url-hexify-string): Maybe string-make-unibyte.
1790
1791 * lisp/url-news.el: Require nntp.
1792
1793 * lisp/url-imap.el: Require cl when compiling. Require nnimap
1794 unconditionally.
1795
17962001-05-04 Dave Love <fx@gnu.org>
1797
1798 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
1799 not non-existent mailcap-generate-unique-filename.
1800
4dfde3dd 1801 * lisp/url-privacy.el: Require url-vars. Require cl when compiling.
10a6e6ba 1802
4dfde3dd
SM
1803 * lisp/url-parse.el: Require url-vars.
1804 Autoload url-scheme-get-property.
10a6e6ba
SM
1805
1806 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs
1807 with featurep.
1808
1809 * lisp/url-mailto.el: Require cl when compiling.
1810
4dfde3dd
SM
1811 * lisp/url-cookie.el (url-cookie-handle-set-cookie):
1812 Call url-parse-args, not url-util-parse-args.
10a6e6ba
SM
1813
1814 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
1815
18162001-04-09 Dave Love <fx@gnu.org>
1817
1818 * lisp/mule-sysdp.el (mule-detect-coding-version)
1819 (mule-code-convert-region, mule-inhibit-code-conversion)
1820 (mule-write-region-no-coding-system, mule-encode-string)
1821 (mule-decode-string, mule-truncate-string)
1822 (mule-find-charset-region, mule-coding-system-name)
1823 (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
1824 [There must be a better way.]
1825 (mule-coding-system-p, string-width): Use defalias.
1826
18272001-01-03 Sam Steingold <sds@gnu.org>
1828
1829 * lisp/url-http.el (url-http-wait-for-headers-change-function):
2941ce4b 1830 set `url-http-end-of-headers' to 0 for HTTP 0.9.
10a6e6ba
SM
1831
18322001-01-02 Sam Steingold <sds@gnu.org>
1833
2941ce4b 1834 * lisp/url-auth.el (provide): `url-auth', not `urlauth'.
10a6e6ba
SM
1835
18362000-12-22 Dave Love <fx@gnu.org>
1837
1838 * lisp/url-history.el (url): Don't require (to avoid recursion).
1839 (cl): Require when compiling.
1840
1841 * lisp/url-http.el (url-auth): Require.
1842 (url-http-handle-authentication): Fix typo.
1843
1844 * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
1845
18462000-12-20 Dave Love <fx@gnu.org>
1847
1848 * lisp/url.el: Require mm-decode, mm-view when compiling.
1849 <not (fboundp 'puthash)>: Define puthash and
1850 autoload other has functions rather than using cl-...hash.
1851 (url-warn): Define.
1852
4dfde3dd
SM
1853 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
1854 Avoid cl-...hash functions.
10a6e6ba
SM
1855
1856 * lisp/url-history.el: Avoid cl-...hash functions.
1857 (url): Require.
1858
1ac3c910 1859 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
10a6e6ba
SM
1860
18612000-10-03 William M. Perry <wmperry@aventail.com>
1862
4dfde3dd 1863 * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
10a6e6ba
SM
1864 getting set to nil due to bad string matching. Subsequent matches
1865 would then choke because we passed string-match a nil.
1866
1867 * lisp/url-http.el (url-http-parse-headers): Need to make the
1868 connection as 'free' when we get a 304 response (found in cache),
10d1d0af 1869 or when a keep-alive connection timed out, it would re-parse the
10a6e6ba
SM
1870 headers and dispatch to the callback again. Eek.
1871
18722000-10-02 William M. Perry <wmperry@aventail.com>
1873
1874 * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
4dfde3dd 1875 implement chunked transfer-coding.
10a6e6ba
SM
1876 (url-http-create-request): We can now advertise ourselves as a 1.1
1877 compliant browser!
1878
18792000-07-28 Sam Steingold <sds@gnu.org>
1880
1881 * lisp/url-methods.el (url-scheme-default-loader): `callback' and
1882 `cbargs' are optional args (for calling from w3).
4dfde3dd 1883 (url-scheme-register-proxy): Typos fixes: `url-match' replaced
10a6e6ba
SM
1884 with `string-match' and `protocol' with `scheme'.
1885
18862000-07-18 Sam Steingold <sds@gnu.org>
1887
4dfde3dd
SM
1888 * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
1889 * lisp/url-history.el (url-history-save-interval): Avoid circularity.
10a6e6ba
SM
1890
18912000-07-10 William M. Perry <wmperry@aventail.com>
1892
1893 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
1894 mule, and the character requested is > 255, then return "~"
1895 instead of letting whoever call us signal an error when they try
1896 to insert the character.
1897 (mule-make-iso-character): Also wrap the whole thing in a
4dfde3dd 1898 condition case and return "~" on error, in case make-char bombs on us.
10a6e6ba 1899
4dfde3dd 1900 * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
10a6e6ba
SM
1901 for cid parts.
1902
1903 * lisp/url-util.el (url-display-percentage): New routine that uses
1904 the progress bar under XEmacs if available. Looks very sexy under
1905 XEmacs/GTK hacked to use the GNOME statusbar.
1906
1907 * lisp/url-http.el
1908 (url-http-content-length-after-change-function): Use new function
1909 url-display-percentage instead of url-lazy-message.
1910
19112000-01-27 William M. Perry <wmperry@aventail.com>
1912
1913 * lisp/url-file.el (url-file-build-filename): Work around for
4dfde3dd 1914 differences in ange-ftp / efs handling of port numbers other than 21.
10a6e6ba
SM
1915
19161999-12-24 William M. Perry <wmperry@aventail.com>
1917
1918 * lisp/url-irc.el: Added pointer to draft specification for the
1919 IRC URL so people don't think I'm crazy.
1920
1921 * configure.in: Checks to make sure that Gnus was found, since we
2941ce4b 1922 HAVE to have it now. Removed conditional compilation of url-cid.el.
10a6e6ba 1923
1ac3c910 19241999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
10a6e6ba
SM
1925
1926 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
1927 () to have periods at the end of the chunk.
1928
19291999-12-14 William M. Perry <wmperry@aventail.com>
1930
4dfde3dd 1931 * lisp/url-misc.el (url-man): Implement `man' URL types.
10a6e6ba
SM
1932 (url-info): Autoload.
1933 (url-man): Ditto.
1934 (url-rlogin): Ditto.
1935 (url-telnet): Ditto.
1936 (url-tn3270): Ditto.
1937 (url-generic-emulator-loader): Ditto.
1938
1939 * lisp/url-https.el (url-https-create-secure-wrapper): New macro
1940 to wrap arbitrary `http' methods with the appropriate magic to
1941 turn SSL on.
1942 (file-exists-p): Use it.
1943 (file-readable-p): Use it.
1944 (file-attributes): Use it.
1945
1946 * lisp/url-news.el (url-news-fetch-newsgroup): When building the
1947 server spec for Gnus, make sure we set
1948 nntp-open-connection-function directly, so that other news-related
1949 functions above us can set it.
1950 (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
1951 (url-nntp): Autoload.
1952 (url-snews): Ditto.
1953 (url-news): Ditto.
1954
19551999-12-12 William M. Perry <wmperry@aventail.com>
1956
1957 * lisp/url-http.el (url-http-parse-response): New function to
1958 parse just the HTTP response code out of the buffer, without
1959 taking any other actions.
1960 (url-http-wait-for-headers-change-function): Use it here when we
1961 know we have an HTTP/1.x response.
1962 (url-http-wait-for-headers-change-function): Special case a
1963 response code of '304' or there could be some delays waiting for
1964 keep-alives to time out on cached documents with no known
1965 content-length on the server.
1966
19671999-12-11 William M. Perry <wmperry@aventail.com>
1968
1969 * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
1970 the Makefile does that for us. We just need to provide what files
1971 to load/functions to run.
1972
1973 * lisp/url-imap.el (url-imap-open-host): Need to bind
1974 nnimap-server-buffer or `nnimap-open-server' chokes trying to use
4dfde3dd 1975 the current buffer as the IMAP server buffer, which fails miserably.
10a6e6ba 1976
1ac3c910 19771999-12-11 Simon Josefsson <jas@pdc.kth.se>
10a6e6ba
SM
1978
1979 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
1980
19811999-12-11 William M. Perry <wmperry@aventail.com>
1982
1983 * lisp/url-file.el (url-file-asynch-callback): Make the checks for
1984 ange-ftp vs. efs calling semantics consistent, so that if someone
1985 has NEITHER of them loaded, everything should still work.
1986
1987 * lisp/url-handlers.el (url-copy-file): Autoload.
1988 (url-file-local-copy): Ditto.
1989 (url-insert-file-contents): Ditto.
1990 (url-setup-file-name-handlers): Ditto.
1991
19921999-12-10 William M. Perry <wmperry@aventail.com>
1993
1994 * lisp/url-http.el (mail-parse): Since we use functions from here,
1995 we should require it, eh?
1996
1ac3c910 19971999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
10a6e6ba
SM
1998
1999 * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
2000 if nil.
2001 (url-cookie-generate-header-lines): Use it.
2002
20031999-12-06 William M. Perry <wmperry@aventail.com>
2004
2005 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
2941ce4b 2006 4.1 gracefully.
10a6e6ba 2007
4dfde3dd
SM
2008 * lisp/url-news.el: Reimplemented news and nntp URL support.
2009 No longer bothers to check for outdated Gnus versions, since this
10a6e6ba
SM
2010 will not work without them anyway.
2011
20121999-12-05 Dave Love <fx@gnu.org>
2013
2014 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
2015 lisp/url.el:
2016 Require url-parse.
2017
20181999-12-05 William M. Perry <wmperry@aventail.com>
2019
2020 * lisp/url-http.el (url-http-find-free-connection): Spit out a
2021 message when we have to contact a host so the user always gets
2022 at least some feedback.
2023
2024 * lisp/url-expand.el (url-expander-remove-relative-links): Moved and
2025 renamed function.
2026 (url-default-expander): Use it.
2027
4dfde3dd
SM
2028 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
2029 as well as efs.
2030 (url-file): Add default content-type of application/octet-stream if
2031 none known.
2941ce4b 2032 (url-file): Correct bad call to url-host-is-local-p.
10a6e6ba
SM
2033
2034 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
2035 like buffer-substring with nil arguments.
2036 (url-copy-file): Use mm-destroy-parts instead of just killing
2037 the buffer. Use defined interfaces when available!
2038 (url-insert-file-contents): Ditto.
2039
2040 * lisp/url-http.el (url-http-create-request): Lots of changes to
2041 get proxying working.
2042
2043 * lisp/url-methods.el (url-scheme-register-proxy): New function to
2044 find and register a proxy for a specific scheme.
2045 (url-scheme-get-property): Use it when we load a URL scheme for
2046 the first time.
2047
2941ce4b 2048 * lisp/url-util.el (url-get-url-at-point): Re-integrated.
10a6e6ba
SM
2049
20501999-12-04 William M. Perry <wmperry@aventail.com>
2051
2052 * lisp/url-file.el (url-file): Signal an error if
2053 url-file-build-filename could not find the filename.
2054
20551999-12-01 William M. Perry <wmperry@aventail.com>
2056
2057 * lisp/url.el (url-retrieve): Use url-history-update-url instead
2058 of manipulating the hash table directly.
2059
2060 * lisp/url-history.el (url-completion-function): New function to
2061 use for reading a URL with completion.
2062 (url-history-update-url): New function to hide the hashtable
2063 implementation from people inserting things into the history.
2064
20651999-11-30 William M. Perry <wmperry@aventail.com>
2066
2067 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
2068 working.
2069
2070 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
4dfde3dd 2071 url-parse-args, which had changed the type of arguments it expects.
10a6e6ba
SM
2072
2073 * lisp/url-handlers.el (url-insert-file-contents): Ditto.
2074 (url-copy-file): Ditto.
2075
2076 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
2077 just killing the buffer. Use defined interfaces when available!
2078
2079 * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
2080 AC_FD_CC so they show up in config.log
2081 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
2082 this always return 't' instead of 'yes' on successfully finding
2083 the library.
2084
4dfde3dd 2085 * lisp/url-http.el (url-http-parse-headers): Add some
10a6e6ba
SM
2086 DAV-specific error codes.
2087
4dfde3dd 2088 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
10a6e6ba
SM
2089 (url-retrieve-synchronously): Duh, make this function actually
2090 work again. Numerous problems with it, including variable name
2091 collisions - I love dynamically scoped lisps!
2092
2093 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
4dfde3dd 2094 wrappers onto the appropriate file-based URLs for file-name-handlers.
10a6e6ba
SM
2095
2096 * lisp/url-ftp.el: Moved the FTP stuff into it's own file - it
2097 might get messy with file-name-handlers and things.
2098
2099 * lisp/url-http.el (url-http-clean-headers): Fix problem when
2100 using 'HEAD' requests. Thou shalt not change the length of the
2101 region during an after-change-function.
2102
2103 * lisp/url-methods.el (url-scheme-methods): New variable that
4dfde3dd 2104 holds a list of the methods/variables we look for in a URL scheme.
10a6e6ba
SM
2105 (url-scheme-get-property): Use it.
2106
21071999-11-29 William M. Perry <wmperry@aventail.com>
2108
4dfde3dd 2109 * lisp/url-http.el (url-http-file-attributes): Reimplement.
10a6e6ba
SM
2110 (url-http-file-exists-p): Ditto.
2111
2112 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
2113
2114 * lisp/url-file.el (url-file-create-wrapper): New macro to create
2115 file-name-handler stubs for all the FTP/FILE stuff.
2116
2117 * lisp/url-handlers.el: New file to handle file-name-handler-alist
2118 cruft. Generic interface on top of functions that each URL
2119 loader provides, if capable.
2120
21211999-11-27 William M. Perry <wmperry@aventail.com>
2122
2123 * lisp/url-https.el: Implemented HTTPS support.
2124
21251999-11-26 William M. Perry <wmperry@aventail.com>
2126
2127 * url-privacy.el (url-setup-privacy-info): Don't rely on
2128 device-type being defined. Not going to bother redistributing
2129 devices.el for just one function.
2130
2131 * url-methods.el (url-scheme-get-property): Emacs does not have
2132 the 3rd-argument to plist-get to specify the default. *sigh*
2133
4dfde3dd 2134 * url-dired.el (add-minor-mode): Add definition for Emacs.
10a6e6ba 2135
4dfde3dd
SM
2136 * url-http.el (url-http-generic-after-change-function):
2137 New function, since Emacs does not allow you to change the
10a6e6ba
SM
2138 after-change-functions variable from within a function run by
2139 said hook. This just hands it off to the REAL function.
2140 Side-effect is that this now works on Emacs at all. :)
2141
2142 * Initial checkin of rewritten URL library.
2143
1513a14b
GM
2144;; Local variables:
2145;; coding: utf-8
2146;; add-log-time-zone-rule: t
2147;; End:
2148
2149 Copyright (C) 1999, 2001, 2002, 2004, 2005,
ae940284 2150 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5b87ad55
GM
2151
2152 This file is part of GNU Emacs.
2153
4936186e 2154 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 2155 it under the terms of the GNU General Public License as published by
4936186e
GM
2156 the Free Software Foundation, either version 3 of the License, or
2157 (at your option) any later version.
5b87ad55
GM
2158
2159 GNU Emacs is distributed in the hope that it will be useful,
2160 but WITHOUT ANY WARRANTY; without even the implied warranty of
2161 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2162 GNU General Public License for more details.
2163
2164 You should have received a copy of the GNU General Public License
4936186e 2165 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
cfceee1e
MB
2166
2167;; arch-tag: ac117078-3091-4533-be93-098162ac2926