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