* lisp/progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning.
[bpt/emacs.git] / lisp / url / ChangeLog
CommitLineData
33d35987
TA
12012-12-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2
3 * url-http.el (url-http-end-of-document-sentinel): Bind relevant
4 url-request-* variables around the call to url-http (Bug#11469).
5
6 * url-expand.el (url-default-expander): Don't calculate a default
7 url port before checking url-type (Bug#12374).
8
92012-12-22 Chong Yidong <cyd@gnu.org>
10
11 * url-parse.el (url-port): Doc fix.
12
1c960c45
CY
132012-12-03 Chong Yidong <cyd@gnu.org>
14
15 * url-misc.el (url-do-terminal-emulator): Use make-term instead of
16 terminal-emulator.
17
076a4db2
LS
182012-10-13 Liam Stitt <stittl@cuug.ab.ca> (tiny change)
19
20 * url-vars.el (url-uncompressor-alist):
21 * url-file.el (url-file-find-possibly-compressed-file, url-file):
22 Recognize .xz compression (Bug#11839).
23
b1367cba
CY
242012-10-13 Chong Yidong <cyd@gnu.org>
25
26 * url-http.el (url-http):
27 * url.el (url-retrieve-internal): Doc fix (Bug#6407).
28
97fbed87
GM
292012-10-08 Glenn Morris <rgm@gnu.org>
30
31 * url-methods.el (url-scheme-get-property): url-https.el was
32 merged into url-http.el, so load the latter for https. (Bug#12599)
33
e79186e5
SM
342012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
35
36 * url-http.el (url-http-user-agent-string): Leak less info.
37 (url-http, url-http-file-exists-p, url-http-file-readable-p)
38 (url-http-file-attributes, url-http-options, url-https-default-port)
39 (url-https-asynchronous-p): Don't autoload.
40
23855148
SM
412012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
42
43 * url-handlers.el (url-file-handler): Don't assume any url-FOO function
44 is a good handler for FOO.
45 (url-copy-file, url-file-local-copy, url-insert-file-contents)
46 (url-file-name-completion, url-file-name-all-completions)
47 (url-handlers-create-wrapper): Explicitly register as handler.
48
04558d31
BG
492012-09-29 Bastien Guerry <bzg@gnu.org>
50
51 * url-util.el (url-insert-entities-in-string)
52 (url-build-query-string): Fix docstrings.
53
59f7af81
CY
542012-09-25 Chong Yidong <cyd@gnu.org>
55
56 * url-parse.el (url-recreate-url-attributes):
57 * url-util.el (url-generate-unique-filename): Use declare to mark
58 obsolete.
59
89534796
SM
602012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
61
62 * url-http.el (url-http-parse-headers): Re-enable file-name-handlers
63 (bug#11981).
64
577d5eea
DE
652012-08-12 David Engster <deng@randomsample.de>
66
67 * url-util.el (url-file-directory, url-file-nondirectory): Avoid
68 file-name-directory and file-name-nondirectory internally (bug#11981).
69
4ed1626d
JR
702012-08-11 Jason Rumney <jasonr@gnu.org>
71
72 * url-http.el (url-http-create-request): Use url-http-proxy to
46fab912 73 look up proxy credentials (Bug#12069).
4ed1626d 74
7fa20d96
DE
752012-07-28 David Engster <deng@randomsample.de>
76
577d5eea 77 * url-dav.el (url-dav-supported-p): Add doc-string and remove
7fa20d96
DE
78 check for feature `xml' and function `xml-expand-namespace' which
79 never existed in Emacs proper.
80 (url-dav-process-response): Remove all indentation and newlines
81 from XML before parsing. Change call to `xml-parse-region' to do
82 namespace expansion with simple qualified names (Bug#11916).
83 (url-dav-request): Add autoload.
84 (url-dav-directory-files): Properly deal with empty directories.
85 Unhex URL before generating relative URLs.
86 (url-dav-file-directory-p): Fix check for 'DAV:collection.
87
a464a6c7
SM
882012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
89
90 * url.el, url-queue.el, url-parse.el, url-http.el, url-future.el:
91 * url-dav.el, url-cookie.el: Use cl-lib.
92 * url-util.el, url-privacy.el, url-nfs.el, url-misc.el, url-methods.el:
93 * url-gw.el, url-file.el, url-expand.el: Dont use CL.
94
938beca4
GM
952012-06-30 Glenn Morris <rgm@gnu.org>
96
97 * url-vars.el (mm-mime-mule-charset-alist, mm-coding-system-p):
98 Declare.
99
a3f10d3e
CY
1002012-06-21 Chong Yidong <cyd@gnu.org>
101
102 * url.el (url-retrieve-internal): Fix last change (Bug#11627).
103
22c4001c
JB
1042012-06-13 Juanma Barranquero <lekktu@gmail.com>
105
106 * url-handlers.el (url-handler-regexp): Declare.
107
47fc1d6b
CY
1082012-06-12 Chong Yidong <cyd@gnu.org>
109
110 * url-handlers.el: Re-order file to avoid recursive load.
111
f1a4e679
CY
1122012-06-12 Chong Yidong <cyd@gnu.org>
113
114 * url-handlers.el (url-handler-regexp):
115 * url-nfs.el (url-nfs-automounter-directory-spec):
116 * url-vars.el (url-load-hook): Convert to defcustom.
117
9979ea1c
LL
1182012-05-25 Leo Liu <sdl.web@gmail.com>
119
120 * url-http.el (url-http-codes): Fix mal-formed defconst.
121
530e968e
TZ
1222012-05-15 Ian Eure <ian@simplegeo.com>
123
4f0f72be 124 * url-util.el (url-build-query-string): New function (Bug#8706).
530e968e
TZ
125 (url-parse-query-string): Allow that '=' is not required and split
126 URL parameters on ';', not just '&'.
127
ac9f0b75
LMI
1282012-05-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
129
130 * url-expand.el (url-default-expander): Copy over the fullness of
131 the new URL object based on the definition URL object.
132
9f9aa044
CY
1332012-05-10 Chong Yidong <cyd@gnu.org>
134
577d5eea
DE
135 * url-parse.el (url-path-and-query, url-port-if-non-default):
136 New functions.
9f9aa044
CY
137 (url-generic-parse-url): Don't set the portspec slot if it is not
138 specified; that is what `url-port' is for.
139 (url-port): Only require the scheme to be specified to call
140 url-scheme-get-property.
141
142 * url-util.el (url-encode-url): Use url-path-and-query.
143
144 * url-vars.el (url-mime-charset-string): Load mm-util lazily.
145
ce7b18ec
CY
1462012-05-09 Chong Yidong <cyd@gnu.org>
147
148 * url-util.el (url-encode-url): New function for URL quoting.
149 (url-encoding-table, url-host-allowed-chars)
150 (url-path-allowed-chars): New constants.
bdac2d37 151 (url--allowed-chars): New helper function. Use upper-case.
ce7b18ec
CY
152 (url-hexify-string): Use them.
153
154 * url-parse.el: Improve RFC 3986 conformance.
155 (url-generic-parse-url): Do not populate the ATTRIBUTES slot,
156 since this is not reliable for general RFC 3986 URIs. Keep the
157 whole path and query inside the FILENAME slot. Improve docstring.
158 (url-recreate-url-attributes): Mark as obsolete.
159 (url-recreate-url): Handle missing scheme and userinfo.
9f9aa044 160 (url-path-and-query): New function.
ce7b18ec
CY
161
162 * url-http.el (url-http-create-request): Ignore obsolete
163 attributes slot of url-object.
164
165 * url-vars.el (url-nonrelative-link): Make the regexp stricter.
166
167 * url.el (url-retrieve-internal): Use url-encode-url (Bug#7017).
168
e95a67dc
SM
1692012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
170
171 * url.el (url-retrieve-synchronously): Replace lexical-let by
172 lexical-binding.
173
a967e26b
WX
1742012-04-10 William Xu <william.xwl@gmail.com> (tiny change)
175
176 * url.el (url-retrieve-internal): Hexify multibye URL string first
177 when necessary (bug#7017).
178
1792012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
180
181 * url.el (url-retrieve-internal): Mention utf-8 encoding.
182 (url-retrieve): Ditto.
183
9ea49b28
LMI
1842012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
185
186 * url-domsurf.el: New file (bug#1401).
187
188 * url-cookie.el (url-cookie-two-dot-domains): Remove.
189 (url-cookie-host-can-set-p): Use `url-domsuf-cookie-allowed-p'
190 instead of the variable above.
191
e0fe1d55
LMI
1922012-03-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
193
194 * url-queue.el (url-queue-kill-job): Check whether the buffer has
195 been killed asynchronously before selecting it.
196
cc2ab732
LMI
1972012-03-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
198
199 * url-queue.el (url-queue-kill-job): Make sure that the callback
200 is always called, even if we have a timeout.
201
09100633
CY
2022012-03-11 Chong Yidong <cyd@gnu.org>
203
e95a67dc
SM
204 * url-http.el (url-http-end-of-document-sentinel):
205 Handle keepalive expiry by calling url-http again (Bug#10223).
09100633
CY
206 (url-http): New arg, for the above.
207
179f6911
DSM
2082012-03-11 Devon Sean McCullough <emacs-hacker2012@jovi.net>
209
210 * url-http.el (url-http-find-free-connection): Don't pass a nil
211 argument to url-http-mark-connection-as-busy (bug#10891).
212
1e54a73b
LI
2132012-02-20 Lars Ingebrigtsen <larsi@gnus.org>
214
27e7172c
LI
215 * url-queue.el (url-queue-kill-job): Delete the process sentinel
216 before killing the process to avoid a race condition between the
217 two processes killing off the process buffer.
218
1e54a73b
LI
219 * url.el (url-retrieve-internal): Warn about file errors when
220 pruning the cache instead of bugging out (bug#10831).
221
55645c67
LI
2222012-02-19 Lars Ingebrigtsen <larsi@gnus.org>
223
224 * url-queue.el (url-queue-callback-function): Remove the job from
225 the queue so that we don't kill the current buffer, which will
226 then make the callback function kill a random buffer.
227
f15bcb40
LI
2282012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
229
230 * url-queue.el (url-queue-kill-job): Refactored out code.
231 (url-queue-remove-jobs-from-host): Use it to kill jobs that are in
232 flight.
233
e72a771d
TZ
2342012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
235
236 * url-future.el: Minor doc update.
237
1deeb569
LL
2382012-02-14 Leo Liu <sdl.web@gmail.com>
239
240 * url-future.el: Fix last change.
241
6c0c7cfc
TZ
2422012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
243
244 * url-future.el (url-future-test): Move to test/automated.
245
3b8eb822
LI
2462012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
247
248 * url-http.el (url-http-parse-headers): When redirecting, pass on
249 the `inhibit-cookie' parameter.
250
a48ec60c
GM
2512012-02-10 Glenn Morris <rgm@gnu.org>
252
253 * url-queue.el (url-queue-retrieve): Fic previous doc fix.
254
d7c5e162
AS
2552012-02-10 Andreas Schwab <schwab@linux-m68k.org>
256
257 * url-http.el (url-http-clean-headers): Return the number of
258 removed characters.
259 (url-http-wait-for-headers-change-function): Adjust end position
260 after cleaning the headers. (Bug#10768)
261
b74c9672
GM
2622012-02-10 Glenn Morris <rgm@gnu.org>
263
264 * url-queue.el (url-queue-retrieve): Doc fix.
265
aacaa419
LI
2662012-02-08 Lars Ingebrigtsen <larsi@gnus.org>
267
268 * url-parse.el (url): Add the `use-cookies' slot to the URL struct
269 to be able to keep track of whether to do cookies or not on a
270 per-URL basis.
271
272 * url-queue.el (url-queue-retrieve): Take an optional
273 `inhibit-cookies' parameter.
274
ed9265fc 275 * url.el (url-retrieve): Ditto.
aacaa419
LI
276
277 * url-http.el (url-http-create-request): Don't send cookies unless
278 requested.
279 (url-http-parse-headers): Don't store cookies unless requested.
280
b6ea20f3
LI
2812012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
282
1968bb1b 283 * url-cache.el (url-cache-prune-cache): New function.
7dd679eb
LI
284 (url-cache-prune-cache): Check that the directory exists before
285 trying to delete it.
1968bb1b
LI
286
287 * url.el (url-retrieve-number-of-calls): New variable.
288 (url-retrieve-internal): Use it to expire the cache once in a
289 while.
290
b6ea20f3
LI
291 * url-queue.el (url-queue-setup-runners): New function that uses
292 `run-with-idle-timer' for extra asynchronicity.
293 (url-queue-remove-jobs-from-host): New function.
294 (url-queue-callback-function): Remove jobs from the same host if
295 connection failed.
296
d8d469ef
GM
2972012-01-12 Glenn Morris <rgm@gnu.org>
298
e7a8cb8f
GM
299 * url-auth.el (url-basic-auth, url-digest-auth):
300 Allow reading usernames etc when the minibuffer is already in use,
301 eg in url-handler-mode. (Bug#10298)
d8d469ef 302
c7015153
JB
3032011-11-15 Juanma Barranquero <lekktu@gmail.com>
304
305 * url-dav.el (url-dav-delete-file): Fix typo.
306
122d9463
LMI
3072011-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
308
309 * url-http.el (url-http-async-sentinel): If the server hangs up
310 while we're talking to it, just `message' the error instead of
311 throwing an error.
312
14e1d9ea
LMI
3132011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
314
315 * url-cookie.el (url-cookie-expired-p): Protect against
316 zero-length cookie expiry dates.
317
ac6c8639
CY
3182011-10-19 Chong Yidong <cyd@gnu.org>
319
320 * url-handlers.el (url-handler-mode): Doc fix.
321
b02ba905
CW
3222011-09-24 Christopher J. White <chris@grierwhite.com> (tiny change)
323
324 * url-http.el (url-http-create-request): Avoid adding extra CRLF
325 (Bug#8931).
326
ad87170f
LMI
3272011-09-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
328
329 * url-http.el (url-http-find-free-connection): If there was an
330 error on connect, make sure the user isn't bothered with
331 irrelevant questions.
332
98fdd2b8
CY
3332011-08-07 Chong Yidong <cyd@stupidchicken.com>
334
335 * url-http.el (url-http-parse-headers): For HTTP 301/302/307,
336 don't convert to a GET request (Bug#701).
337
b0c9af93
CN
3382011-07-13 Chris Newton <redshodan@gmail.com> (tiny change)
339
340 * url-http.el (url-http): Copy over `url-show-status' to the async
341 buffer so that `url-display-percentage' does the right thing
342 (bug#4680).
343
53d21671
JD
3442011-07-06 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
345
346 * url-cache.el (url-cache-extract): Set buffer multibyte flag to
347 nil (bug#8827).
348
3487ca85
NA
3492011-07-03 Nicolas Avrutin <nicolasavru@gmail.com> (tiny change)
350
351 * url-http.el (url-http-create-request): Remove double carriage
352 return and newline (bug#8931).
353
9aec558a
LMI
3542011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
355
e95a67dc
SM
356 * url-http.el (url-http-wait-for-headers-change-function):
357 Remove pointless "HTTP/0.9 How I hate thee!" message (bug#6735).
9aec558a 358
5993c059
AS
3592011-06-04 Andreas Schwab <schwab@linux-m68k.org>
360
361 * url-future.el (url-future-test): Fix scope of `saver'.
362
3b7d5980
GM
3632011-06-01 Glenn Morris <rgm@gnu.org>
364
365 * url-queue.el (url-queue-parallel-processes, url-queue-timeout):
366 Add :version tag for options that will be new in 24.1.
367
5a94384b
LMI
3682011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
369
370 * url-queue.el (url-queue-parallel-processes): Increase the
371 default to 6, since 2 seems too conservative for normal usage.
372
e300a61b
TZ
3732011-05-31 Teodor Zlatanov <tzz@lifelogs.com>
374
375 * url-future.el: Add general futures facility.
376
b1c83d95
LL
3772011-05-29 Leo Liu <sdl.web@gmail.com>
378
379 * url-cookie.el (url-cookie): Add option :named so that
380 url-cookie-p is defined. (Bug#8747)
381
5c77c3ed
LMI
3822011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
383
384 * url-queue.el: New file.
6df6ae42 385 (url-queue-run-queue): Pick the first waiting job, and not the last.
471129b1
LMI
386 (url-queue-parallel-processes): Lower the concurrency level, since
387 Emacs doesn't seem to like too many async processes.
388 (url-queue-prune-old-entries): Fix up the pruning code.
5c77c3ed 389
10472dd0
LMI
3902011-04-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
391
6df6ae42
JB
392 * url-http.el (url-http-wait-for-headers-change-function):
393 Protect against malformed headerless responses from servers.
10472dd0 394
43c594f2
CY
3952011-04-02 Chong Yidong <cyd@stupidchicken.com>
396
397 * url-gw.el (url-open-stream): Use new open-network-stream
398 functionality to perform encryption.
399
9952e40b
JB
4002011-04-01 Juanma Barranquero <lekktu@gmail.com>
401
402 * url-cookie.el (url-cookie-handle-set-cookie):
403 Use `dolist' rather than `mapcar'.
404
33383987
JB
4052011-03-07 Chong Yidong <cyd@stupidchicken.com>
406
407 * Version 23.3 released.
408
563790b6
TZ
4092011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
410
411 * url-parse.el (url-bit-for-url, url-user-for-url)
412 (url-password-for-url): Use `auto-source-search' instead of
413 `auto-source-user-or-password'.
414
415 * url-auth.el: Autoload `auto-source-search' instead of
416 `auto-source-user-or-password'.
417 (url-basic-auth, url-digest-auth, url-do-auth-source-search): Use it.
418
b301d174
LI
4192011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
420
6df6ae42
JB
421 * url-http.el (url-http-wait-for-headers-change-function):
422 Don't move point if the callback function has moved/changed/killed
423 the process buffer.
b301d174 424
10c1b751 4252010-12-16 Miles Bader <miles@gnu.org>
3cbc281e
MB
426
427 * url-cookie.el: Require 'cl when compiling -- it's necessary for
428 defstruct.
429
105a786f
GM
4302010-12-14 Glenn Morris <rgm@gnu.org>
431
432 * url-cookie.el: Don't require cl when compiling.
433 (url-cookie-clean-up, url-cookie-generate-header-lines): Use dolist.
434 (url-cookie-parse-file, url-cookie-store, url-cookie-retrieve)
435 (url-cookie-handle-set-cookie): Simplify.
436
f49d1f52 4372010-12-13 Chong Yidong <cyd@stupidchicken.com>
37bf6ce2
CY
438
439 * url-cookie.el (url-cookie-retrieve): Handle null LOCALPART.
440 Suggested by Lennart Borgman (Bug#7543).
441
023ec128
LMI
4422010-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
443
444 * url-file.el (url-file-build-filename): Avoid interpreting
445 file:/foo:/bar URLs via tramp.
446
7a9fc593
LMI
4472010-10-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
448
449 * url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.
450
b0e0b216
LMI
4512010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
452
453 * url-http.el (url-http-end-of-document-sentinel): Protect against
454 the process buffer being killed.
455
697ebdb0
LMI
4562010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
457
f49d1f52
SM
458 * url-http.el (url-http-wait-for-headers-change-function):
459 Protect against url-http-response-status for degenerate documents.
d23832a2
LMI
460 (url-http-wait-for-headers-change-function): Revert previous
461 change. It lead to really slow loads.
697ebdb0 462
5589b70e
GM
4632010-10-03 Glenn Morris <rgm@gnu.org>
464
465 * url-util.el (url-get-url-filename-chars): Don't eval-and-compile.
466 (url-get-url-at-point): Don't use eval-when-compile.
467
468 * url-cache.el (url-cache-create-filename-human-readable)
469 (url-cache-create-filename-using-md5):
470 * url-util.el (url-file-directory, url-file-nondirectory):
471 Don't use eval-when-compile and regexp-quote.
472
b39e2446
LMI
4732010-10-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
474
f49d1f52 475 * url-vars.el (url-mime-charset-string): Change the default to
b39e2446
LMI
476 nil to avoid sending 1171 bytes of not very useful data to the
477 HTTP server every request.
478
08b8ba9f
LMI
4792010-10-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
480
481 * url-util.el (url-display-percentage): Don't message when the URL
482 is silent.
483 (url-lazy-message): Ditto.
573a83b8 484 (url-lazy-message): Remove leftover debugging code.
08b8ba9f
LMI
485
486 * url-http.el (url-http-parse-headers): Pass the SILENT parameter
487 back to the fetching function.
488
489 * url.el (url-retrieve): Add a silent parameter.
490 (url-retrieve-internal): Ditto.
491
492 * url-parse.el (url): Add a `silent' slot in the URL struct.
493
6ca26f1d
LMI
4942010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
495
6df6ae42
JB
496 * url-cookie.el (url-cookie-handle-set-cookie): Use url-lazy-message
497 for the cookie warning, which isn't very interesting.
82b9f9f5 498
6ca26f1d
LMI
499 * url-http.el (url-http-async-sentinel): Check that the buffer is
500 still alive before switching to it.
501
cbdd0d58
JD
5022010-09-25 Julien Danjou <julien@danjou.info>
503
504 * url-cache.el (url-cache-create-filename): Ensure no-port and
505 default-port end up with the same cache file.
506 (url-cache-create-filename-human-readable)
507 (url-cache-create-filename-using-md5): Argument is always in the form of
508 a string now.
509
266a86bd 5102010-09-23 Glenn Morris <rgm@gnu.org>
7ee54def
GM
511
512 * url-cache.el (url-is-cached): Doc fix.
513
48ff1664
GM
5142010-09-23 Glenn Morris <rgm@gnu.org>
515
516 * url-cache.el (url-cache-expired): Don't autoload.
517 Tweak previous change.
97161df8 518 (url-cache-expire-time): Doc fix.
48ff1664 519
18d68e52
JD
5202010-09-23 Julien Danjou <julien@danjou.info>
521
522 * url-cache.el (url-cache-expire-time): New option.
523 (url-cache-expired): Rewrite.
524
50e4f0bf
JD
5252010-09-19 Julien Danjou <julien@danjou.info>
526
527 * url-cache.el (url-fetch-from-cache): New function.
528
b0fd24c8
JD
5292010-09-18 Julien Danjou <julien@danjou.info>
530
77413977 531 * url-vars.el (url-cache-expired): Remove unused variable.
b0fd24c8 532
6664fc59 5332010-09-14 Julien Danjou <julien@danjou.info>
6f6dc4da 534
2f5e7c6f
GM
535 * url-cache.el (url-store-in-cache):
536 Make `buff' argument really optional.
6f6dc4da 537
6664fc59 5382010-09-14 Glenn Morris <rgm@gnu.org>
c4ae64d1
GM
539
540 * url-cookie.el (url-cookie-expired-p): Tweak previous change.
541
6664fc59 5422010-09-14 shawn boles <shawn.boles@gmail.com> (tiny change)
966bb6c0 543
544 * url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
545
a5cda60e
GM
5462010-09-11 Glenn Morris <rgm@gnu.org>
547
548 * url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
549 * url-vars.el: Remove leading `*' from defcustom docs.
550
0ed082fe 5512010-07-27 Michael Albinus <michael.albinus@gmx.de>
c48763bb 552
2f5e7c6f 553 * url-http.el (url-http-parse-headers): Disable file name handlers at
c48763bb
MA
554 all (not only Tramp). (Bug#6717)
555
0ed082fe 5562010-07-27 Michael Albinus <michael.albinus@gmx.de>
4ac3a65c 557
2f5e7c6f 558 * url-http.el (url-http-parse-headers): Disable Tramp. (Bug#6717)
4ac3a65c 559
e4f6153f
MH
5602010-07-01 Mark A. Hershberger <mah@everybody.org>
561
562 * url-http.el (url-http-create-request): Add a CRLF on the end so
6df6ae42 563 that POSTs with content to https URLs work.
f49d1f52 564 See <https://bugs.launchpad.net/mediawiki-el/+bug/540759>
e4f6153f 565
04c23739
MH
5662010-06-22 Mark A. Hershberger <mah@everybody.org>
567
568 * url-parse.el (url-user-for-url, url-password-for-url):
6df6ae42 569 Convenience functions that get usernames and passwords for URLs
04c23739
MH
570 from auth-source functions.
571
7fb277a9
Å N
5722010-06-12 Štěpán Němec <stepnem@gmail.com> (tiny change)
573
574 * url-vars.el (url-privacy-level): Fix doc typo. (Bug#6406)
575
c3bb441d
SM
5762010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
577
578 * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
579
61a808e8
CY
5802010-05-07 Chong Yidong <cyd@stupidchicken.com>
581
582 * Version 23.2 released.
583
56eb0904
SM
5842010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
585
586 * url-dired.el (url-dired-minor-mode): Use define-minor-mode.
587
89734fb6
TZ
5882010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
589
590 * url-http.el (url-http-parse-headers): Fix wrong variable name.
591
1e9d758c
TZ
5922010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
593
594 * url-http.el (url-http-codes): New variable to hold a mapping of
595 HTTP status codes' numbers, their symbolic name, and their text.
596 (url-http-parse-headers): Use it, leaving the original numeric
597 code in a comment.
598
aa8f8277
GM
5992010-03-19 Glenn Morris <rgm@gnu.org>
600
601 * url.el: Move mailcap require earlier in the file.
602
eba5b4dd
CY
6032010-03-12 Chong Yidong <cyd@stupidchicken.com>
604
26f4b8ab 605 * url-vars.el (url): Put in comm group.
eba5b4dd 606
288f9fc0
CY
6072010-03-10 Chong Yidong <cyd@stupidchicken.com>
608
609 * Branch for 23.2.
610
e17d428f
CY
6112010-01-23 Chong Yidong <cyd@stupidchicken.com>
612
613 * url-util.el: Require url-vars (Bug#5459).
614
c074ba4a
SM
6152009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
616
617 * url-parse.el (url-generic-parse-url): Bind deactivate-mark.
618
c98f55ca
CY
6192009-11-08 Kai Tetzlaff <kai.tetzlaff@web.de> (tiny change)
620
621 * url-http.el (url-http-handle-authentication): Use proxy server,
622 if any, for authentication (Bug#4883).
623
937e6a56
SM
6242009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
625
626 * url-util.el (url-insert-entities-in-string):
627 * url-nfs.el (url-nfs-unescape):
628 * url-ldap.el (url-ldap):
629 * url-imap.el (url-imap):
630 * url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
631
f9c9a239
GM
6322009-10-01 Glenn Morris <rgm@gnu.org>
633
634 * url-http.el (url-dav-file-attributes): Fix declaration.
635
120812a0
CY
6362009-09-13 Chong Yidong <cyd@stupidchicken.com>
637
638 * url-handlers.el (url-copy-file): Add fifth arg for compatibility
639 with 2005-06-25 change to copy-file (Bug#4410).
640
4f0f48df
GM
6412009-09-13 Glenn Morris <rgm@gnu.org>
642
643 * url-file.el (url-file): Avoid assignment to free variable `filename'.
644
63255710
CY
6452009-09-12 Chong Yidong <cyd@stupidchicken.com>
646
647 * url-methods.el (url-scheme--registering-proxy): New variable.
0235128c
SM
648 (url-scheme-register-proxy, url-scheme-get-property):
649 Avoid calling url-scheme-register-proxy in an infloop (Bug#4191).
63255710 650
3f12e3f4
GM
6512009-08-22 Glenn Morris <rgm@gnu.org>
652
653 * url-file.el (url-file-build-filename):
654 * url-privacy.el (url-setup-privacy-info): Remove code for defunct
655 system-types Apple-Macintosh, emx, ms-windows, next-mach.
656
70243478
CY
6572009-06-21 Chong Yidong <cyd@stupidchicken.com>
658
659 * Branch for 23.1.
660
d696b0d5
SM
6612009-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
662
663 * url-handlers.el (url-file-handler): Save match data.
664
db922cc0
JR
6652009-02-21 Jason Rumney <jasonr@gnu.org>
666
667 * url-expand.el (url-default-expander): Use concat to combine
5ce6e4f4 668 parts. (Bug #1020)
db922cc0 669
f0cfa8f0
GM
6702009-02-10 Glenn Morris <rgm@gnu.org>
671
672 * url-util.el (url-generate-unique-filename): Silence compiler.
673
64594ef9
CY
6742009-02-07 Chong Yidong <cyd@stupidchicken.com>
675
676 * url-file.el (url-file): Use make-temp-file.
677
678 * url-util.el (url-generate-unique-filename): Mark as obsolete.
679
680 * url-vars.el (url-temporary-directory): Mark as obsolete.
681
200c0424
CY
6822009-01-15 Chong Yidong <cyd@stupidchicken.com>
683
68fe704b 684 * url-cookie.el (url-cookie-retrieve): Fix last change.
200c0424 685
26343c7f
CY
6862009-01-14 Chong Yidong <cyd@stupidchicken.com>
687
688 * url-cookie.el (url-cookie-retrieve): Handle null localpart.
689
d9e52e92
JB
6902009-01-13 Juanma Barranquero <lekktu@gmail.com>
691
692 * url-util.el (url-truncate-url-for-viewing): Doc fix.
693
78892d1b
GM
6942009-01-09 Glenn Morris <rgm@gnu.org>
695
696 * url-cid.el (url-cid-gnus): Fix typo in header name.
697
92066e83
CY
6982008-11-04 Chong Yidong <cyd@stupidchicken.com>
699
700 * url-util.el (url-basepath): Add url-basepath as an alias for
701 url-file-directory.
702
d6c180c4
JB
7032008-10-24 Juanma Barranquero <lekktu@gmail.com>
704
705 * url.el (url-configuration-directory): Use `locate-user-emacs-file'.
706
3b4df550
CY
7072008-10-20 İsmail Dönmez <ismail@namtrac.org> (tiny change)
708
709 * url-auth.el (url-basic-auth): Encode password string.
710
e77e9cf4
GM
7112008-08-30 Glenn Morris <rgm@gnu.org>
712
713 * url-http.el (url-https-expand-file-name): Resolve directly to
714 url-default-expander rather than via another alias.
715 (url-default-expander): Autoload an autoload. (Bug#825).
716
d1ce47b0
JB
7172008-07-02 Juanma Barranquero <lekktu@gmail.com>
718
719 * url.el (url-do-setup):
720 * url-dired.el (url-dired-minor-mode):
721 * url-file.el (url-file-find-possibly-compressed-file):
722 * url-gw.el (url-gateway-broken-resolution):
723 * url-handlers.el (url-handler-regexp):
724 * url-imap.el (url-imap-default-port):
725 * url-methods.el (url-scheme-get-property): Fix typos in docstrings.
726
727 * url-auth.el (url-basic-auth-storage, url-digest-auth):
728 Fix typos in docstrings.
729 (url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
730
731 * url-cache.el (url-cache-prepare): Doc fix.
732 (url-cache-create-filename-human-readable, url-cache-extract):
733 Fix typos in docstrings.
734
735 * url-dav.el (url-intersection, url-dav-iso8601-regexp)
736 (url-dav-delete-something): Fix typos in docstrings.
737 (url-dav-http-success-p, url-dav-file-name-all-completions)
738 (url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
739
740 * url-http.el (url-http-idle-sentinel): Doc fix.
741
742 * url-irc.el (url-irc-default-port): Fix typo in docstring.
743 (url-irc-function): Doc fix.
744
745 * url-util.el (url-get-url-filename-chars, url-unhex-string):
746 Fix typos in docstrings.
747 (url-file-extension): Doc fix.
748
749 * url-vars.el (url-current-object, url-current-mime-headers)
750 (url-privacy-level, url-mail-command, url-mime-language-string):
751 Fix typos in docstrings.
752 (url-honor-refresh-requests): Reflow docstring.
753 (url-using-proxy): Doc fix.
754
0b5c4225
DN
7552008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
756
757 * vc-dav.el: Move to the parent directory to be together with the
758 rest of the VC backends.
759
8705576e
GM
7602008-06-07 Glenn Morris <rgm@gnu.org>
761
762 * url-auth.el (auth-source-user-or-password): Remove unnecessary
763 eval-and-compile.
764
a118b59b
SM
7652008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
766
767 * url-handlers.el (url-file-name-completion): Add missing argument.
768
97d1c236
TZ
7692008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
770
ba60bd44 771 * url-auth.el: Add autoload cookie for `auth-source-user-or-password'.
97d1c236
TZ
772 (url-basic-auth, url-digest-auth): Use it with any realm,
773 overriding the user name and password before the prompt.
774
c385aa1a
JB
7752008-04-28 Juanma Barranquero <lekktu@gmail.com>
776
777 * url-vars.el (url-load-hook): Fix typo in docstring.
778
84f089d3
MH
7792008-03-09 Magnus Henoch <mange@freemail.hu>
780
781 * url-http.el (url-http-chunked-encoding-after-change-function):
a628ad9d 782 Remove superfluous CRLF at end of file. (Bug #42)
84f089d3 783
26d72be8
AS
7842008-03-02 Andreas Schwab <schwab@suse.de>
785
786 * url-util.el: Require cl when compiling.
787
d626f888
TZ
7882008-02-28 Teodor Zlatanov <tzz@lifelogs.com>
789
ba60bd44
JB
790 * url-util.el (url-get-normalized-date): Simplify to use
791 `format-time-string'. Always generate date in UTC, but
d626f888
TZ
792 call it GMT for full compatibility with the RFCs.
793
a9f31e3d
MA
7942008-02-06 Michael Albinus <michael.albinus@gmx.de>
795
796 * url-handlers.el (file-remote-p): Add handler.
797 (url-handler-file-remote-p): New fun.
798
791fe182
SM
7992008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
800
801 * url-handlers.el (url-handler-unhandled-file-name-directory):
802 Handle `file' URLs specially. Return nil for non-local filenames.
803
b72ef564
MH
8042008-02-04 Magnus Henoch <mange@freemail.hu>
805
806 * url-expand.el: Require cl when compiling, for setf.
807
e652840b
JW
8082008-01-29 John Wiegley <johnw@newartisans.com>
809
810 * url-auth.el (url-digest-auth): If the 'opaque' argument is not
811 being used, don't add it to the response text. Also, changed an
812 if so that the interaction between the PROMPT and OVERWRITE
813 arguments can no longer result in the user being queried twice for
814 the same login and password information.
815
ce4059ee
SM
8162008-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
817
818 * url-handlers.el (unhandled-file-name-directory): Add handler.
819 (url-handler-unhandled-file-name-directory): New fun.
820
80e4b01d
MA
8212008-01-07 Michael Albinus <michael.albinus@gmx.de>
822
823 * url-handlers.el (url-file-handler): Autoload.
824
9824ded5
GM
8252007-12-11 Glenn Morris <rgm@gnu.org>
826
827 * url.el (url-configuration-directory): Make it a defcustom.
828
829 * url-util.el (url-make-private-file): New function.
830 * url-cookie.el (url-cookie-write-file):
831 * url-history.el (url-history-save-history):
832 Use url-make-private-file and with-temp-buffer.
833
40234eaf
GM
8342007-12-06 Glenn Morris <rgm@gnu.org>
835
836 * url-file.el, url-mailto.el: Remove directory part from filenames
837 in function declarations.
838
24030ea3
GM
8392007-12-02 Glenn Morris <rgm@gnu.org>
840
e05b1e72
GM
841 * url-about.el, url-handlers.el: Don't require cl when compiling.
842
843 * url-dav.el (url-dav-delete-directory): Fix message typo.
844
845 * url-history.el (top-level): Don't require cl when compiling.
846 (url-history-setup-save-timer, url-history-save-history):
847 Use condition-case rather than ignore-errors.
848
849 * url-imap.el (top-level): Don't require cl when compiling.
850 (url-imap): Use signal rather than check-type.
851
24030ea3
GM
852 * url-news.el (top-level): Don't require cl when compiling.
853 (gnus-group-buffer): Define for compiler.
854 (url-news-fetch-message-id): Don't use `declare'.
855 (nntp-open-tls-stream, nntp-open-ssl-stream):
856 No need to define for compiler.
857 (url-snews): Use nntp-open-tls-stream unless ssl is requested.
c2bf6d2c 858 Correct quoting of nntp-open-connection-function value.
24030ea3 859
29c7eba8
GM
8602007-12-01 Glenn Morris <rgm@gnu.org>
861
862 * url-handlers.el (top-level): Always require url-parse, not just
863 when compiling.
864
36176341
GM
8652007-11-30 Glenn Morris <rgm@gnu.org>
866
867 * url-cookie.el (url-cookie-p): Declare as a function.
868
0bd90741
GM
8692007-11-29 Glenn Morris <rgm@gnu.org>
870
871 * url-file.el (url-file-build-filename, url-file): Wrap uses of
872 efs in (featurep 'xemacs) test.
873
874 * url-irc.el (zenirc, zenirc-send-line): Declare as functions.
875
7ba1d5ae
GM
8762007-11-28 Diane Murray <disumu@x3y2z1.net>
877
878 * url-dired.el: Don't require w3-fetch and w3-open-local.
c385aa1a 879 (url-dired-find-file): Use `find-file'. Doc fix.
7ba1d5ae
GM
880 (url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
881
9f34397d
GM
8822007-11-24 Glenn Morris <rgm@gnu.org>
883
884 * url-privacy.el (url-device-type): Fix typo.
885
153ef845
DN
8862007-11-20 Dan Nicolaescu <dann@ics.uci.edu>
887
888 * url-mailto.el (mail-send-and-exit):
889 * url-http.el (url-dav-file-attributes):
d4aa48db 890 * url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal)
6d00e226
DN
891 (url-generate-unique-filename): Declare as functions.
892
153ef845
DN
893 * url-privacy.el (url-device-type): Define unconditionally.
894
9ffb9521
RS
8952007-11-15 Richard Stallman <rms@gnu.org>
896
897 * url.el (url-retrieve-synchronously): Call delete-process.
898
3a47bb3e
JB
8992007-10-31 Juanma Barranquero <lekktu@gmail.com>
900
901 * url-vars.el (url-vars-unload-hook): Remove function and variable.
902 Hooks are automatically removed by `unload-feature'.
903
4148f522
RS
9042007-10-13 Richard Stallman <rms@gnu.org>
905
906 * url-util.el (url-basepath): Function deleted.
907 (url-file-directory, url-file-nondirectory): New functions
908 replacing url-basepath. Callers changed.
909
910 * url-expand.el (url-default-expander): Use `url-file-directory'.
911
912 * url-auth.el (url-digest-auth, url-basic-auth):
913 Rename `path' to `file'. Use `url-file-directory'.
914
3aa491bc
GM
9152007-10-12 Diane Murray <disumu@x3y2z1.net>
916
917 * url-auth.el (url-basic-auth): Set path to "/" when URL has an
2a5be7dc 918 empty string filename.
3aa491bc 919
d1d80b80
RS
9202007-10-09 Richard Stallman <rms@gnu.org>
921
922 * url-parse.el (url-type, url-user, url-password, url-host)
923 (url-port, url-filename, url-target, url-attributes)
924 (url-fullness, url-set-type, url-set-user, url-set-password)
925 (url-set-host, url-set-port, url-set-filename, url-set-target)
926 (url-set-attributes, url-set-full): Change macros to defuns.
927
259b63b4
JB
9282007-09-26 Juanma Barranquero <lekktu@gmail.com>
929
930 * url-dav.el (top):
931 * url-vars.el (top): Use `mapc' rather than `mapcar'.
932
8a35aa36
GM
9332007-09-22 Diane Murray <disumu@x3y2z1.net>
934
935 * url-misc.el (url-generic-emulator-loader): Send the port as a
2a5be7dc 936 string to `url-do-terminal-emulator'.
8a35aa36 937
965d1f0e
GM
9382007-09-21 Diane Murray <disumu@x3y2z1.net>
939
3a47bb3e 940 * url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus method.
d01b3550 941
965d1f0e
GM
942 * url-util.el (url-get-normalized-date): Pass full timezone
943 information to timezone-make-date-arpa-standard, since zone name
944 may be unknown.
945
72f25299
GM
9462007-09-03 Diane Murray <disumu@x3y2z1.net>
947
0f71f9da 948 * url-http.el (url-http-parse-headers): Bind the current buffer
72f25299
GM
949 rather than calling `url-mark-buffer-as-dead' with
950 `current-buffer', so that the correct buffer is killed if
951 `url-retrieve-synchronously' gets redirected to a new URL.
952
d18ec89f
SM
9532007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
954
955 * url-parse.el (url): Use defstruct rather than macros.
956 (url-generic-parse-url):
957 * url-util.el (url-normalize-url, url-truncate-url-for-viewing):
958 * url-methods.el (url-scheme-register-proxy):
959 * url-mailto.el (url-mailto):
960 * url-file.el (url-file-build-filename):
961 * url-expand.el (url-identity-expander, url-default-expander):
962 Update all callers.
963
0f71f9da
JB
9642007-08-09 Edward O'Connor <hober0@gmail.com> (tiny change)
965
966 * url-auth.el (url-basic-auth): When prompting for username
967 and password, default to the username and password in the URL.
968
df26688b
GM
9692007-08-08 Glenn Morris <rgm@gnu.org>
970
971 * url-auth.el, url-cache.el, url-dav.el, url-file.el, vc-dav.el:
972 Replace `iff' in doc-strings and comments.
973
cacc7b51
GM
9742007-07-25 Glenn Morris <rgm@gnu.org>
975
976 * Relicense all FSF files to GPLv3 or later.
977
c0ed4c23
CY
9782007-06-12 Tom Tromey <tromey@redhat.com>
979
980 * url.el (url-configuration-directory): Use user-emacs-directory.
981
495fa7db
SM
9822007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
983
984 * url-cookie.el (url-cookie-name, url-cookie-value)
985 (url-cookie-expires, url-cookie-localpart, url-cookie-domain)
986 (url-cookie-secure, url-cookie-set-name, url-cookie-set-value)
987 (url-cookie-set-expires, url-cookie-set-localpart)
988 (url-cookie-set-domain, url-cookie-set-secure)
989 (url-cookie-retrieve-arg, url-cookie-create, url-cookie-p): Remove.
990 (url-cookie): New struct.
991 (url-cookie-store): Use setf instead of url-cookie-set-*.
992
345c7f05
CY
9932007-05-29 Chong Yidong <cyd@stupidchicken.com>
994
995 * url-mailto.el (url-mailto): Insert body after
de74fffc 996 mail-header-separator if present, so that it is before signature.
345c7f05
CY
997 Suggested by Leo <sdl.web@gmail.com>.
998
5cfdb0fb
CY
9992007-04-15 Chong Yidong <cyd@stupidchicken.com>
1000
1001 * url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes.
1002
f25a9946
CY
10032007-04-13 Chong Yidong <cyd@stupidchicken.com>
1004
1005 * url-http.el (url-http-parse-headers): Stop after a set number of
1006 redirections. Suggested by Diane Murray.
1007
1008 * url-vars.el (url-max-redirections): New var.
1009
60df22cc 10102007-04-01 Diane Murray <disumu@x3y2z1.net> (tiny change)
f3e30bd0
CY
1011
1012 * url-http.el (url-http-handle-cookies): Reverse list returned by
1013 `mail-fetch-field', so that cookies are set in the correct order.
1014
1015 * url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
1016 Deal with wildcard dots in domain values.
1017
fd1e2cde
EZ
10182007-03-31 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
1019
1020 * url-http.el (url-http-mark-connection-as-busy)
1021 (url-http-mark-connection-as-free): Clear query-on-exit flag on
1022 idle connections.
1023
b3cd7f61
CY
10242007-02-04 Chong Yidong <cyd@stupidchicken.com>
1025
1026 * url-http.el (url-http-connection-opened): New variable.
1027 (url-http): Initialize it.
1028 (url-http-async-sentinel): Don't try changing sentinels.
1029 Run url-http-end-of-document-sentinel if necessary.
1030
8f77631e
JB
10312007-01-29 Juanma Barranquero <lekktu@gmail.com>
1032
1033 * url-auth.el (url-get-authentication): Fix typo in docstring.
1034
00d972eb
MH
10352007-01-14 Magnus Henoch <mange@freemail.hu>
1036
1037 * url-proxy.el (url-proxy-object): Remove.
1038 (url-proxy): Don't use `url-proxy-object'. Act according to type of
1039 proxy (currently only HTTP supported).
1040
1041 * url.el (url-retrieve-internal): Don't use `url-proxy-object'.
1042
1043 * url-http.el (url-http-proxy): New variable.
1044 (url-http-create-request): Use it. Don't use `url-proxy-object'.
1045 (url-http): Treat `url' argument as resource to download, and
f49d1f52
SM
1046 dynamic variable `url-using-proxy' as proxy to use.
1047 Set `url-current-object' to actual URL, and `url-http-proxy' to proxy
00d972eb
MH
1048 used.
1049 (url-http-handle-cookies): Assume that `url-current-object' does
1050 not point to the proxy used.
1051 (url-http-async-sentinel): Adapt error message.
1052
28e86dc4
JB
10532006-12-10 Juanma Barranquero <lekktu@gmail.com>
1054
1055 * url-gw.el (url-gateway-nslookup-program): Doc fix.
1056
b8976ce0
MH
10572006-12-08 Magnus Henoch <mange@freemail.hu>
1058
1059 * url-proxy.el (url-proxy-object): New variable.
1060 (url-proxy): Bind it instead of `proxy-object'.
1061
1062 * url-http.el (url-http-create-request): Remove url argument, use
f49d1f52
SM
1063 the buffer-local variable `url-http-target-url' instead.
1064 Both callers updated. Simplify proxy handling.
b8976ce0
MH
1065 (url-http): Don't make proxy-object buffer local.
1066
1067 * url.el (url-retrieve-internal): Bind url-proxy-object to nil.
1068
57babe17
MH
10692006-11-26 Magnus Henoch <mange@freemail.hu>
1070
f49d1f52
SM
1071 * url-http.el (url-http-wait-for-headers-change-function):
1072 Use `when' instead of `if' when possible.
b9b172ac
MH
1073 (url-http): Define url-http-response-version.
1074 (url-http-parse-response): Set it.
1075 (url-http-parse-headers): Use it to determine keep-alive behavior.
57babe17 1076
60df22cc 10772006-11-23 Diane Murray <disumu@x3y2z1.net> (tiny change)
48d2bac4 1078
f49d1f52
SM
1079 * url-http.el (url-http-content-length-after-change-function):
1080 Use `url-lazy-message'.
48d2bac4
MH
1081
1082 * url-util.el (url-display-percentage): Only show a message if
1083 `url-show-status' is non-nil.
1084
d58fae84
MH
10852006-11-15 Magnus Henoch <mange@freemail.hu>
1086
6e2988e6
MH
1087 * url-http.el (url-http): Make proxy-object buffer-local, to
1088 handle proxied asynchronous connections correctly.
1089
d58fae84
MH
1090 * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
1091
1ac3c910 10922006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
98325235 1093
1ac3c910
JB
1094 * url-http.el (url-http-wait-for-headers-change-function):
1095 Defer detection of HTTP 0.9 until we have at least one line.
98325235 1096
1ac3c910 10972006-11-10 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8529c21d
CY
1098
1099 * url-http.el (url-http-mark-connection-as-free)
1100 (url-http-find-free-connection): Don't treat process with status
1101 `connect' as free.
1102 (url-http-async-sentinel): Request correct url.
1103
947612be
MH
11042006-11-08 Magnus Henoch <mange@freemail.hu>
1105
385b64c5
MH
1106 * url-http.el (url-http-handle-authentication): If there are
1107 several authentication headers, use the strongest available
1108 method.
1109
947612be
MH
1110 * url.el (url-retrieve-synchronously): Allow quitting when
1111 inhibit-quit is t.
1112
1ac3c910 11132006-11-03 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8917392a
MH
1114
1115 * url-http.el (url-http-handle-authentication): If there are
1116 several authentication headers, use the first with a supported
1117 method.
1118
8ea88265
MH
11192006-11-01 Magnus Henoch <mange@freemail.hu>
1120
1121 * url-http.el (url-http-create-request): Use buffer-local
1122 equivalents of dynamically bound variables.
1123
080234b6
MH
11242006-10-29 Magnus Henoch <mange@freemail.hu>
1125
1126 * url-gw.el (url-open-stream): Really use asynchronous
1127 connections (accidentally disabled during debugging).
1128
ced20bfb
MH
11292006-10-28 Magnus Henoch <mange@freemail.hu>
1130
1131 * url-http.el (url-http-parse-headers): Fix misplaced paren.
1132
5695d1dd
CY
11332006-10-27 Magnus Henoch <mange@freemail.hu>
1134
1135 * url-http.el (url-http-mark-connection-as-free): Verify that
1136 connection is open before saving it.
1137 (url-http-handle-authentication): Use url-retrieve-internal
1138 instead of url-retrieve.
1139 (url-http-parse-headers): Adapt to new callback interface.
1140 (url-http): Handle non-blocking connections.
1141 (url-http-async-sentinel): Create.
1142
1143 * url.el (url-retrieve): Update docstring for new callback interface.
1144 Remove all code.
1145 (url-retrieve-internal): Move code from url-retrieve here.
1146
1147 * url-gw.el (url-open-stream): Use a non-blocking socket for
1148 `native' gateway method, if available.
1149
784f5416
MH
11502006-10-16 Magnus Henoch <mange@freemail.hu>
1151
1ac3c910
JB
1152 * url-http.el (url-https-create-secure-wrapper):
1153 Always use tls gateway method.
784f5416 1154
dfea17e0
MH
11552006-10-12 Magnus Henoch <mange@freemail.hu>
1156
1ac3c910
JB
1157 * url-http.el (url-http-find-free-connection):
1158 Handle url-open-stream returning nil.
dfea17e0 1159
9c51663a
MH
11602006-10-11 Magnus Henoch <mange@freemail.hu>
1161
1162 * url-https.el: Remove (clashes with url-http on 8+3 systems).
1163
1164 * url-http.el: Move contents of url-https.el here. Add autoloads.
1165
f6fb70fc
MH
11662006-10-09 Magnus Henoch <mange@freemail.hu>
1167
1168 * url-parse.el (url-generic-parse-url): Handle URLs with empty
1169 path component and non-empty query component. Untangle path,
1170 query and fragment parsing code. Add references to RFC 3986 in
1171 comments.
c385aa1a 1172 (url-recreate-url-attributes): Start query string with "?", not ";".
f6fb70fc 1173
162fbe11
SM
11742006-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1175
1176 * url-dav.el (url-dav-file-attributes): Simplify.
1177
1178 * url-http.el (url-http-head-file-attributes): Add device "info".
1179
f316efd9
MB
11802006-09-18 Michael Olson <mwolson@gnu.org>
1181
1182 * url-methods.el (url-scheme-register-proxy): Handle case where
1183 getenv returns an empty string for http_proxy. This prevents an
1184 error when calling `format' later on.
1185
60df22cc 11862006-08-31 Diane Murray <disumu@x3y2z1.net> (tiny change)
7660c02f 1187
c2a7ddb1
SM
1188 * url-parse.el (url-recreate-url-attributes): New function, code
1189 simply moved from `url-recreate-url'.
1190 (url-recreate-url): Use it.
1191 Put the `url-target' at the end of the URL after the attributes.
1192
1193 * url-http.el (url-http-create-request):
1194 Use `url-recreate-url-attributes' when setting real-fname.
1195
60df22cc 11962006-08-29 Diane Murray <disumu@x3y2z1.net> (tiny change)
c2a7ddb1
SM
1197
1198 * url-cookie.el (url-cookie-write-file): Really don't use versioned
1199 backups.
7660c02f 1200
d0f891a7
SM
12012006-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
1202
1203 * url-handlers.el (url-file-local-copy): Tell url-copy-file that the
1204 dest file will already exist.
1205
07e9b3f0
SM
12062006-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
1207
1208 * url-util.el (url-hexify-string): Only utf-8 encode if it's
1209 a multibyte string.
1210 (url-normalize-url): Remove unused var `grok'.
1211 (url-truncate-url-for-viewing): Remove unused var `tail'.
1212
ecfbb488
TTN
12132006-07-30 Thien-Thi Nguyen <ttn@gnu.org>
1214
1215 * url-util.el (url-hexify-string): Rewrite.
1216 Suggested by David Smith <davidsmith@acm.org>.
1217
0b6bb130
MB
12182006-07-12 Michael Olson <mwolson@gnu.org>
1219
1220 * url-irc.el (url-irc-erc): Call erc-handle-irc-url.
1221
bc684c16
SM
12222006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1223
1224 * url-cookie.el: Remove spurious * in docstrings.
1225 (url-cookie-write-file): Don't use versioned backups.
1226 (url-cookie-host-can-set-p): Remove unused var `tmp'.
1227
3d3a26eb 12282006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
bc684c16
SM
1229
1230 * url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
1231 (url-cookie-write-file): Reset url-cookies-changed-since-last-save.
1232
d10a6bf1
RS
12332006-05-12 Reiner Steib <Reiner.Steib@gmx.de>
1234
1235 * url-http.el (url-http-file-exists-p): Test if status is integer.
1236
3d3a26eb 12372006-05-05 Andreas Seltenreich <seltenreich@gmx.de>
3dfed653
EZ
1238
1239 * url-http.el (url-http-parse-headers): Don't reuse connection if
1240 "Connection: close" header was seen.
1241
351b838f
SM
12422006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1243
1244 * url-gw.el (url-open-stream): Don't hide errors.
1245 (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
1246
1247 * url-handlers.el (url-insert): New function.
1248 (url-insert-file-contents): Use it.
1249
bdba217b
SM
12502006-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1251
1252 * url-handlers.el (url-handler-directory-file-name): New handler.
1253 (url-file-local-copy): Plug race condition security hole.
1254
7608c40c
RF
12552006-03-27 Romain Francoise <romain@orebokech.com>
1256
1257 * url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
1258 (url-irc-function): Add rcirc and ERC to the list of IRC clients.
1259 Default to rcirc, since ZenIRC isn't part of Emacs.
1260
bedeb7fd
SM
12612006-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
1262
1263 * url-http.el (url-http-find-free-connection): Fix braino in last fix.
1264
8dff56de
SM
12652006-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
1266
1267 * url-http.el (url-http-find-free-connection): Don't kill the process
1268 when killing the temp buffer.
1269 (url-http-symbol-value-in-buffer): Massage to make it clear to the
1270 byte-compiler that the function is defined.
1271
9b4cf231
SM
12722006-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1273
1274 * url.el (url-redirect-buffer): New var.
1275 (url-retrieve-synchronously): Use it to follow redirections.
1276
1277 * url-http.el: Require `url' rather than try to autoload parts of it.
1278 (url-http-find-free-connection): `url-open-stream' needs a real buffer.
1279 (url-http-parse-headers): Set `url-redirect-buffer' when following
1280 a redirection reply.
1281
81cafdfe
SM
12822006-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1283
1284 * url-news.el: Move defvars out of eval-when-compile.
1285 (url-news-fetch-message-id, url-news-fetch-newsgroup):
1286 Use with-current-buffer.
1287
5dc3ceeb
SM
12882006-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1289
e7ea7cac
SM
1290 * url.el (url-retrieve-synchronously): Adjust the workaround so as not
1291 to stop in the middle of a redirection.
1292
5dc3ceeb
SM
1293 * url-vars.el (url-privacy-level): Add setter.
1294
72a30be4
SM
12952006-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
1296
176c99dc
SM
1297 * url-history.el (url-history-hash-table): Initialize in declaration.
1298 (url-history-parse-history): Don't reset the history.
1299 (url-history-save-history): Create parent dir if necessary.
1300 (url-history-save-history): Don't write the initialization of
1301 url-history-hash-table into the history file.
9b4cf231 1302 (url-have-visited-url): Simplify since url-history-hash-table isn't nil.
176c99dc
SM
1303 (url-completion-function): Simplify.
1304
72a30be4
SM
1305 * url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
1306 (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
1307 (url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
1308 (url-cookie-setup-save-timer): Remove autoload cookies.
1309 They're only called from files that require url-cookie anyway.
1310
1311 * url-history.el (url-history-setup-save-timer)
1312 (url-history-parse-history, url-history-save-history):
1313 Remove autoload cookies. They're only called from url.el which requires
1314 url-history anyway.
1315 (url-history-parse-history): Don't complain if the file is missing.
1316
55262b16
SM
13172006-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1318
1319 * url-handlers.el (url-retrieve-synchronously): Don't autoload.
1320
1321 * url.el (url-retrieve, url-retrieve-synchronously): Autoload.
1322
1323 * url-cache.el: Require `url'.
1324
d476efde
SM
13252005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1326
32d5ce4d
SM
1327 * url-cache.el (url-store-in-cache): Use save-current-buffer.
1328
d476efde
SM
1329 * url.el (url-configuration-directory): Don't autoload because the
1330 default value needs to be computed at run-time, not dump-time.
1331
32fa5844
SM
13322005-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
1333
1334 * url-cookie.el (url-cookie-write-file): Create parent dir.
1335
1336 * url.el (url-configuration-directory): Use ~/.emacs.d if possible.
1337
0c069924
RS
13382005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1339
1340 * url-cookie.el (url-cookie-save-interval): Simplify.
1341 (url-cookie-setup-save-timer): Simplify.
1342
8553120c
RS
13432005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1344
1345 * url-history.el (url-history-list): Var deleted.
1346 (url-history-save-interval): Simplify.
1347 (url-history-setup-save-timer): Simplify.
1348
b0ab1a06
KS
13492005-12-01 Kim F. Storm <storm@cua.dk>
1350
1351 * url-history.el (url-history-track): Fix last change.
1352
1942d6cc
RS
13532005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1354
1355 * url-history.el (url-history-track):
1356 Call url-history-setup-save-timer in :set function.
1357 :type allows three alternatives.
1358 (url-history-setup-save-timer): Test url-history-track.
1359 * url.el (url-retrieve): Test url-history-track.
1360
12f1edc8
SM
13612005-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1362
1363 * url-http.el: Use with-current-buffer.
1364 (url-http-target-url): Rename from url-http-cookies-sources.
1365 (url-http-parse-headers): Use it.
1366 (url-http-handle-authentication): Use subst-char-in-string.
1367
2b1b005c 13682005-11-16 Jürgen Hötzel <emacs@hoetzel.info> (tiny change)
77f05e24
SM
1369
1370 * url-handlers.el (url-insert-file-contents): Use the charset info
1371 provided by the HTTP server, if any.
1372
ce13796f
EZ
13732005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change)
1374
77f05e24
SM
1375 * url-nfs.el (top level):
1376 * url-handlers.el (directory-files):
ce13796f 1377 * url-file.el (top level):
77f05e24 1378 * url-dired.el (url-dired-minor-mode-map):
ce13796f
EZ
1379 * url-http.el (url-http-chunked-encoding-after-change-function):
1380 Remove XEmacs support.
1381
a4684cb0
RS
13822005-10-15 Richard M. Stallman <rms@gnu.org>
1383
1384 * url.el: Don't try to autoload hash table functions.
1385
1430e7f9
SM
13862005-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1387
1388 * url-http.el (url-http-create-request): Avoid incorrect implicit
1389 unibyte->multibyte conversion.
1390
8ccd3630
RS
13912005-09-17 Richard M. Stallman <rms@gnu.org>
1392
1393 * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
1394
1395 * url-mailto.el (url-mailto): Special case `mail'.
1396 Don't test fboundp of `compose-mail'.
1397
b0742512
CY
13982005-09-15 Chong Yidong <cyd@stupidchicken.com>
1399
1400 * url-mailto.el (url-mailto): Delete mail buffer after sending
1401 autogenerated mail.
8ded3f47 1402 Call `compose-mail with `new' argument if possible.
b0742512 1403
c8359e8f
CY
14042005-09-13 Chong Yidong <cyd@stupidchicken.com>
1405
1406 * url-mailto.el (url-mailto): Always use a new mail buffer.
1407
6fd388f3
CY
14082005-09-01 Chong Yidong <cyd@stupidchicken.com>
1409
1410 * url-util.el (url-parse-query-string): New optional argument
1411 allow-newlines allows decoding of newlines.
1412
1413 * url-mailto.el (url-mailto): Allow newlines in URL arguments.
1414 Don't lose original "to" value when there is a "to" header.
1415 Remove carriage return characters in message body.
1416
26d874b2
JB
14172005-08-24 Juanma Barranquero <lekktu@gmail.com>
1418
1419 * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
1420 * url-http.el (url-http-cookies-sources): Defvar at compile time.
1421
dc524e8b
RS
14222005-07-15 Richard M. Stallman <rms@gnu.org>
1423
1424 * url-http.el (url-http-parse-headers): Add :redirect arg-pair
1425 when calling url-retrieve, to indicate a redirect.
1426
1427 * url.el (url-retrieve): The callback function can get an additional
1428 keyword arg pair.
1429
a0ec7a4a
LK
14302005-07-04 Lute Kamstra <lute@gnu.org>
1431
1432 Update FSF's address in GPL notices.
1433
59fda2fa
JB
14342005-07-04 Juanma Barranquero <lekktu@gmail.com>
1435
1436 * url-history.el (url-history-track): Doc fix.
1437 (url-history): Finish `defgroup' description with period.
1438
1439 * url-cookie.el (url-cookie):
1440 * url-gw.el (url-gateway):
1441 * url-news.el (url-news):
1442 * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
1443 Finish `defgroup' description with period.
1444
231add10
RS
14452005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1446
1447 * url-http.el (url-http-create-request): Call url-recreate-url
1448 in proxy case.
1449
e893ce91
RS
14502005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1451
1452 * url-http.el (url-http-create-request): When computing real-fname,
1453 call url-filename in both cases.
1454
14552005-06-27 Richard M. Stallman <rms@gnu.org>
1456
1457 * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
1458 (url-cookie-retrieve): Likewise.
1459 (url-cookie-generate-header-lines): Likewise.
1460 (url-cookie-handle-set-cookie): Likewise.
1461 (url-cookie-create): Expect :localpart instead of :path.
f49d1f52
SM
1462 (url-cookie-localpart): Rename from url-cookie-path.
1463 (url-cookie-set-localpart): Rename from url-cookie-set-path.
e893ce91
RS
1464 (url-cookie-file): Doc fix.
1465 (url-cookie-p): Add doc string.
1466
528b6abc
RS
14672005-06-23 Richard M. Stallman <rms@gnu.org>
1468
1469 * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
1470
23873c96
JB
14712005-06-21 Juanma Barranquero <lekktu@gmail.com>
1472
1473 * url-gw.el (url-open-stream):
1474 * url-vars.el (url-gateway-unplugged): Fix spellings.
1475
0b46b379
JB
14762005-06-14 Juanma Barranquero <lekktu@gmail.com>
1477
d6c180c4 1478 * url-history.el (url-completion-function): Follow error conventions.
0b46b379 1479
175384d1
SM
14802005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1481
1482 * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
1483
7f954571
SM
14842005-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1485
0090e048
SM
1486 * url-dav.el: Remove most autoload cookies.
1487 Don't hook into the url-file-handler since it currently breaks all
1488 non-HTTP URLs.
1489
7f954571
SM
1490 * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
1491
1492 * url.el (url-retrieve-synchronously): Don't exit precipitously when
1493 fetching a file via ange-ftp.
1494
466c78c0
JB
14952005-06-10 Juanma Barranquero <lekktu@gmail.com>
1496
7f954571 1497 * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
466c78c0 1498
93c8c9cd
JB
14992005-05-19 Juanma Barranquero <lekktu@gmail.com>
1500
1501 * url-cookie.el (url-cookie-multiple-line):
1502 Specify group and type in defcustom.
1503
216d3806
JB
15042005-05-06 Juanma Barranquero <lekktu@gmail.com>
1505
1506 * url-auth.el (url-register-auth-scheme):
1507 * url-cookie.el (url-cookie-expired-p):
1508 * url-dav.el (url-dav-process-date-property)
1509 (url-dav-process-boolean-property, url-dav-process-DAV:status):
1510 * url-http.el (url-http-chunked-encoding-after-change-function)
1511 (url-http-wait-for-headers-change-function):
1512 * url-ns.el (isInNet):
1513 * url-parse.el (url-generic-parse-url):
1514 * url-util.el (url-get-normalized-date): Replace `string-to-int'
1515 by `string-to-number'.
1516
799fba8f
SM
15172005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518
1519 * url.el (url-retrieve-synchronously): Work around the fact that
1520 url-http sometimes doesn't call the callback.
1521
8c6ef2ca
LK
15222005-04-04 Lute Kamstra <lute@gnu.org>
1523
1524 * url-handlers.el (url-handler-mode): Specify :group.
1525
a6efc2c2
EZ
15262005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
1527
1528 * url-history.el (url-have-visited-url): Don't barf if
1529 url-history-hash-table is nil.
1530
134948fc
RS
15312005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
1532
1533 * url-http.el (url-http-parse-headers): Test url-automatic-caching.
1534
1a8461d3
EZ
15352005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1536
557724a8
EZ
1537 * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
1538 to nil, like for the 303 response.
1a8461d3 1539
944b2ab6
SM
15402005-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1541
1542 * url.el (url-retrieve-synchronously): Use accept-process-output rather
1543 than sit-for.
1544
e817f9a2
TTN
15452005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change)
1546
1547 * url-http.el (url-http-handle-authentication):
1548 Don't kill the current buffer.
1549
5007cdc9
SM
15502004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1551
1552 * url-handlers.el: Don't `require' everything eagerly.
1553
cacfe88b
AS
15542004-11-30 Paul Pogonyshev <pogonyshev@gmx.net>
1555
1556 * url-http.el (url-http-handle-cookies): Bind `url-current-object'
1557 to `url-http-cookies-sources' so that cookies are attributed to
1558 proper domain.
1559 (url-http): Make local variable `url-http-cookies-sources'.
1560
dc1a0a7a
AS
15612004-11-28 Andreas Schwab <schwab@suse.de>
1562
1563 * url-http.el (url-http-create-request): Don't add newline after
1564 the request data.
1565
14e25c87
MY
15662004-11-20 Masatake YAMATO <jet@gyve.org>
1567
1568 * url.el (url-mm-callback): Delay the invocation
1ac3c910 1569 of `mm-destroy-parts'. Invoke `mm-destroy-parts'
14e25c87
MY
1570 when the buffer is killed.
1571
de0234ea
MY
15722004-11-12 Masatake YAMATO <jet@gyve.org>
1573
5007cdc9 1574 * url-mailto.el (url-mailto): Fix a typo in the comment.
de0234ea 1575
60b5eb78
MY
15762004-11-02 Masatake YAMATO <jet@gyve.org>
1577
1578 * url-imap.el (url-imap-open-host): Don't use
1ac3c910 1579 `string-to-int'. The port returned by `url-port'
60b5eb78
MY
1580 is expected to be an integer.
1581
1582 * url-irc.el (url-irc): Ditto.
1583
1584 * url-news.el (url-news-open-host): Ditto.
1585
1586 * url-nfs.el (url-nfs-build-filename): Ditto.
1587
ed87225a
JPW
15882004-10-20 John Paul Wallington <jpw@gnu.org>
1589
1590 * url-gw.el (url-gateway-nslookup-host):
1591 Use `set-process-query-on-exit-flag'.
1592
2a6c7fe5
LH
15932004-10-10 Lars Hansen <larsh@math.ku.dk>
1594
4169c186
KS
1595 * url-auth.el:
1596 * url-cache.el:
1597 * url-cid.el:
1598 * url-dired.el:
1599 * url-expand.el:
1600 * url-ftp.el:
1601 * url-gw.el:
1602 * url-imap.el:
1603 * url-irc.el:
1604 * url-misc.el:
1605 * url-news.el:
1606 * url-ns.el:
1607 * url-privacy.el:
2a6c7fe5
LH
1608 * url-proxy.el: Update header and footer.
1609
1610 * url-vars.el: Update header.
1611
c2e2ede7
RS
16122004-10-16 Richard M. Stallman <rms@gnu.org>
1613
1614 * url.el (url-do-setup): Don't set url-passwd-entry-func.
1615
1616 * url-vars.el (url-passwd-entry-func): Var deleted.
1617 (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
5007cdc9
SM
1618 (url-weekday-alist): Rename from weekday-alist.
1619 (url-monthabbrev-alist): Rename from monthabbrev-alist.
c2e2ede7
RS
1620 (url-vars-unload-hook): Initialize hook var to hold the function.
1621
5007cdc9
SM
1622 * url-util.el (url-get-normalized-date): Use url-weekday-alist and
1623 url-monthabbrev-alist.
c2e2ede7
RS
1624
1625 * url-misc.el: Load cl at compile time.
1626
1627 * url-mailto.el: Don't load cl.
1628 (url-mailto): Fix call to `push'.
1629
1630 * url-gw.el (url-open-telnet): Use read-passwd.
1631
1632 * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
1633
3bb53a84
SJ
16342004-10-12 Simon Josefsson <jas@extundo.com>
1635
1636 * url-vars.el (url-gateway-method): Add new method `tls'.
1637
1638 * url-news.el (url-snews): Use nntp-open-tls-stream if
1639 url-gateway-method is tls.
1640
5007cdc9
SM
1641 * url-ldap.el (url-ldap-certificate-formatter):
1642 Use tls-certificate-information if ssl.el is not available.
3bb53a84
SJ
1643
1644 * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
1645 is not available.
1646
1647 * url-gw.el (url-open-stream): Support tls url-gateway-method.
1648 (url-open-stream): Likewise.
1649
df41da5e
LH
16502004-10-10 Lars Hansen <larsh@math.ku.dk>
1651
4169c186
KS
1652 * url-auth.el:
1653 * url-cache.el:
1654 * url-cookie.el:
1655 * url-dired.el:
1656 * url-file.el:
1657 * url-ftp.el:
1658 * url-handlers.el:
1659 * url-history.el:
1660 * url-irc.el:
1661 * url-mailto.el:
1662 * url-methods.el:
1663 * url-misc.el:
1664 * url-news.el:
1665 * url-nfs.el:
1666 * url-parse.el:
1667 * url-privacy.el:
1668 * url-vars.el:
1669 * url.el:
df41da5e
LH
1670 * url-util.el: Fix copyright notice.
1671
ccd59305
SM
16722004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1673
1674 * url-handlers.el (url-insert-file-contents): Use the URL to decide the
1675 encoding, not the buffer-file-name (which might not even exist).
1676
d4fdad60
SM
16772004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1678
1679 * url-handlers.el (url-insert-file-contents): Decode contents.
1680
10a6e6ba
SM
16812004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1682
1683 * url-util.el (url-debug): Use with-current-buffer.
1684
1685 * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
1686 (url-nfs-create-wrapper): Use new backquote syntax.
1687
1688 * url-https.el (url-https-file-attributes): Add id-format param.
1689
1690 * url-http.el (url-http-head-file-attributes)
1691 (url-http-file-attributes): Add id-format parameter.
1692
1693 * url-handlers.el: Use new find-file-hook.
1694 (url-file-attributes): Add id-format parameter.
1695
1696 * url-file.el (url-file-create-wrapper): Use new backquote syntax.
1697 (url-file-file-attributes): Add id-format parameter.
1698
1699 * url-dav.el: Use with-current-buffer.
1700 (url-dav-process-response): Fix regexps and spurious quote.
1701 (url-dav-file-attributes): Add id-format param.
1702
17032004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1704
1705 * url.el (url-retrieve): Use with-current-buffer.
1706
1707 * url-http.el (url-http-parse-headers, url-http-file-exists-p):
1708 Remove unused var `version'.
1709
1710 * url-handlers.el (url-handler-mode): New minor mode.
1711 (url-setup-file-name-handlers): Remove.
1712
17132004-04-12 John Paul Wallington <jpw@gnu.org>
1714
1715 * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
1716 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
1717
17182004-04-11 Dave Love <fx@gnu.org>
1719
1720 * url-mailto.el (url-mailto):
1721 * url-history.el (url-history-setup-save-timer):
1722 * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
1723
1724 * url-file.el (url-file-build-filename): Don't use
1725 directory-sep-char.
1726
1727 * url-auth.el (url-register-auth-scheme): Fix `format' call.
1728
1729 * url-about.el (url-scheme-registry): Defvar.
1730 (url-about): Use text/plain.
1731
1732 * url-vars.el (cl): Don't require.
1733 (url): Add :version.
1734 (url-bug-address): Use bug-gnu-emacs.
1735
1736 * url-util.el (url-hexify-string): Don't give multibyte error
1737 for char <16.
1738 (mail-header-extract): Autoload.
1739
1740 * url-parse.el: Doc fixes.
1741
1742 * url-ldap.el (ldap): Require.
1743 (url-ldap): Fix `format' call.
1744 (url-ldap-certificate-formatter): Avoid warning.
1745
4dfde3dd 1746 * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
10a6e6ba
SM
1747
1748 * url-dav.el (url-dav-rename-file): Fix args of `signal'.
1749 (url-intersection): New.
1750 (url-dav-supported-p): Use it.
1751 (url-dav-save-resource): Declare url-http-response-status special.
1752
1753 * url-cache.el (url-util): Require.
1754
17552004-04-10 Miles Bader <miles@gnu.org>
1756
1757 RCS keyword removal (only non-comment changes are enumerated here):
1758
1759 * url-vars.el (url-version): Use the constant string "Emacs"
1760 instead of calculating something from the RCS `State' keyword
1761 [the latter is almost entirely useless anyway].
1762
17632004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1764
1765 * url-methods.el:
1766 * url-parse.el: Don't require url-auto.
1767
17682004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1769
1770 * url: Imported the URL package from its own CVS repository into Emacs.
1771
1772===========================================================================
1773===========================================================================
1774 Copy of the ChangeLog file from URL's own CVS repository:
1775===========================================================================
1776===========================================================================
1777
17782003-07-16 Dave Love <fx@gnu.org>
1779
1780 * lisp/url.el (url-retrieve-synchronously): Revert last change.
1781 Should be revisited.
1782
17832003-06-26 Sam Steingold <sds@gnu.org>
1784
1785 * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
1786 method on invalid urls.
1787
17882003-05-29 Dave Love <fx@gnu.org>
1789
1790 * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
1791 sit-for. From monnier@gnu.org.
1792
1ac3c910 17932002-11-04 Walter C. Pelissero <walter@pelissero.org>
10a6e6ba 1794
4dfde3dd
SM
1795 * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
1796 port numbers to integers when creating the URL objects for proxies.
10a6e6ba
SM
1797
17982002-10-29 William M. Perry <wmperry@gnu.org>
1799
1800 * lisp/url-http.el (url-http-parse-headers): When doing a
1801 redirect, some broken software (sourceforge) sends a redirect to
1802 '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
1803 specification). I wish we could deal with such lame software
1804 appropriately (spank the authors), but this is the web, so we have
1805 to kow-tow to the servers.
1806
18072002-10-27 William M. Perry <wmperry@gnu.org>
1808
1809 * lisp/url-http.el (url-http-create-request): If we are talking to
1810 the default port for a the selected protocol, do NOT send the port
1811 in the HOST header. This fixes the login page at sourceforge.
1812
18132002-09-17 William M. Perry <wmperry@gnu.org>
1814
1815 * lisp/url-http.el (url-http-handle-cookies): New function to deal
1816 with cookie headers.
1817 (url-http-parse-headers): Call `url-http-handle-cookies' here so
4dfde3dd
SM
1818 that cookie additions and deletions get handled immediately.
1819 This is so that sites that set cookies while doing redirects
10a6e6ba
SM
1820 (my.yahoo.com, outlook web access, etc) work. This should also
1821 fix sites that delete cookies on invalid access or other error
1822 pages the user might not actually see.
1823 (url-http-parse-headers): Silently convert non-HEAD and non-GET
1824 methods to GET in redirects. Too many web sites do this now, and
1825 it is just likely to confuse users.
1826
18272002-05-17 Dave Love <fx@gnu.org>
1828
1829 * texi/url.txi: Start making it vaguely useful.
1830
1831 * texi/Makefile.in (install): Cope with Debian install-info.
2a5be7dc 1832 From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Grossjohann).
10a6e6ba
SM
1833
18342002-04-22 Dave Love <fx@gnu.org>
1835
1836 * lisp/url-misc.el (man): Autoload to avoid warning.
1837 (url-man): Don't require man here.
1838 (url-data): Generalize in line with the RFC.
1839
1840 * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
1841
1842 * lisp/url-vars.el: Doc fixes.
1843 (url-mime-charset-string): New function.
1844 (url-mime-charset-string): Use it to set the variable.
1845 (url-set-mime-charset-string): New function.
1846 (set-language-environment-hook): Use it.
1847 (url-vars-unload-hook): New function.
1848
4dfde3dd
SM
1849 * lisp/url-cookie.el (url-header-comparison): Delete.
1850 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
10a6e6ba
SM
1851 (url-cookie-save-interval): Make value agree with doc.
1852
1853 * lisp/url.el: Doc fixes.
1854 (url-mm-callback): Don't call mm-destroy-parts immediately for
1855 external viewing -- set up a process sentinel.
1856
18572002-02-02 William M. Perry <wmperry@gnu.org>
1858
4dfde3dd 1859 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
10a6e6ba
SM
1860
18612001-12-12 William M. Perry <wmperry@gnu.org>
1862
1863 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
1864 Monnier to use ` instead of ^ to match the relative link.
1865
18662001-12-10 William M. Perry <wmperry@gnu.org>
1867
1868 * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
1869 plist-get (reversed args).
1870
1871 * lisp/url-file.el (url-file-build-filename): Make sure that we
1872 have a parsed URL in this function.
1873
18742002-01-22 Dave Love <fx@gnu.org>
1875
1876 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
1877
4dfde3dd
SM
1878 * lisp/url-imap.el (url-imap): Maybe disable multibyte.
1879 Bind coding-system-for-read. Require mm-util.
10a6e6ba
SM
1880
1881 * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
1882
1883 * lisp/mule-sysdp.el: Removed (obsolete).
1884
18852001-12-09 William M. Perry <wmperry@gnu.org>
1886
1887 * lisp/url-dav.el (url-dav-delete-something): Utility macro to
1888 remove an arbitrary resource.
1889 (url-dav-delete-directory): Use it.
1890 (url-dav-delete-file): Ditto.
1891 (url-dav-make-directory): New function.
1892 (url-dav-rename-file): New function.
1893 (url-dav-register-handler): New function to easily register a
1894 WebDAV-specific file-name-handler operation.
1895 (url-dav-file-name-all-completions, url-dav-file-name-completion):
4dfde3dd 1896 New functions that allow file-name completion for WebDAV resources.
10a6e6ba
SM
1897
18982001-12-08 William M. Perry <wmperry@gnu.org>
1899
1900 * lisp/url-dav.el (url-dav-directory-files): New function to
1901 mimic `directory-files' for WebDAV.
1902 (url-dav-delete-directory): New function to mimic
1903 `delete-directory' for WebDAV.
1904
19052001-12-06 William M. Perry <wmperry@gnu.org>
1906
1907 * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
1908 DAV:locktoken hrefs into a usable format.
1909 (url-dav-process-response): Use an unwind-protect to make sure
1910 that we clean up the buffer, even if there is a parsing error.
1911 (url-dav-request): New function to act as the main entry point for
1912 making DAV requests. Takes care of building the XML document with
1913 appropriate namespaces, depth, etc, and parses the results.
4dfde3dd
SM
1914 (url-dav-get-properties): Use new url-dav-request function.
1915 This is now just a thin wrapper around that to use PROPFIND and set any
10a6e6ba
SM
1916 extra properties we are looking for.
1917 (url-dav-unlock-resource): New function to release a lock given a
1918 URL and a lock-token.
1919 (url-dav-process-DAV:getlastmodified)
1920 (url-dav-process-DAV:creationdate)
1921 (url-dav-process-DAV:iscollection)
1922 (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
1923 url-dave-*!
1924 (url-dav-active-locks): New function to get a list of all the
1925 active locks for a resource.
1926 (url-dav-save-resource): New function to actually save a resource
1927 using the PUT method. I can now successfully save files to an
4dfde3dd 1928 HTTP server with some manual steps from a lisp-interaction buffer.
10a6e6ba
SM
1929
1930 * lisp/url-http.el (url-http-wait-for-headers-change-function):
1931 Special case the 204/205 response codes. Some servers do not
1932 send back a 0 content-length for these, and we would hang.
1933 (url-http-parse-headers): Mark 204/205 response codes as
1934 'successful' so that the callbacks get activated.
1935 (url-http-options): Fix unbound variable usage.
1936
1937 * lisp/url-dav.el: Added full copyright information.
1938 (url-dav-process-response): Make sure that we create a DAV:status
1939 property when parsing a singleton response.
1940 (url-dav-file-attributes): If the properties returned did not have
10d1d0af 1941 a successful HTTP response code, then ignore them and use the
10a6e6ba
SM
1942 HEAD-based attributes.
1943
1944 * lisp/vc-dav.el: Added full copyright information.
1945
4dfde3dd
SM
1946 * lisp/url-dav.el (url-dav-process-supportedlock-property):
1947 Deal with text nodes in DAV:supportedlock nodes.
10a6e6ba
SM
1948 (url-dav-file-attributes-mode-string): This now gets the entire
1949 property list instead of just the DAV:supportedlock node.
1950 (url-dav-file-attributes): Make sure to pass the whole list in.
4dfde3dd 1951 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
10a6e6ba
SM
1952 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
1953 'executable' bit to set the 'x' mode. See `mod_dav's custom
1954 properties' at http://www.webdav.org/mod_dav/ for more details.
1955 (url-dav-find-parser): New function to find the proper parser for
1956 a node-type. Looks for
1957 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
1958 back to using url-dav-node-text. Caches the results on the nodes
1959 symbol name.
4dfde3dd
SM
1960 (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
1961 (url-dav-process-*): Rename most of the handlers and made them
10a6e6ba
SM
1962 use url-dav-dispatch-node where appropriate.
1963 (url-dav-process-DAV:prop): Instead of using the dav-data-type
1964 property to dispatch the node, now uses dav-dispatch-node so that
1965 it is easy to add parsers for special nodes.
1966 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
1967 (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
1968 (url-dav-process-DAV:getcontentlength)
1969 (url-dave-process-DAV:getlastmodified)
1970 (url-dave-process-DAV:creationdate)
1971 (url-dave-process-DAV:iscollection)
1972 (url-dave-process-DAV:ishidden): Aliases for the generic
1973 url-dav-process-foo-property routines.
1974 (url-dav-process-DAV:activelock)
1975 (url-dav-process-DAV:lockdiscovery): Can now correctly parse
1976 DAV:lockdiscovery nodes, so that we can find out who has a
c80e3b4a 1977 resource locked and properly parse the response to a LOCK request.
10d1d0af 1978 (url-dav-process-DAV:status): Now parses out the numeric status
10a6e6ba
SM
1979 from the HTTP response line.
1980 (url-dav-process-response): New function to handle all the
1981 parsing of an XML response from WebDAV. This handles all the
1982 logic of checking the response content-type to make sure it is
1983 XML, parses the tree, and interprets the tree.
1984 (url-dav-process-response): Make sure that all responses look
1985 like a DAV:multistatus response, even if we get a singleton
4dfde3dd 1986 response back. This will just make the upper layer logic simpler.
10a6e6ba
SM
1987 (url-dav-get-properties): New optional argument NAMESPACES that
1988 specifies what namespaces to use in the XML request.
1989 (url-dav-get-properties): Got rid of the D: namespace in
1990 requests. It doesn't save that much space. Just use DAV:
1991 (url-dav-lock-identifier): New variable that should hold a URI
1992 pointing to contact information for the user. This will be used
1993 as the contents of the DAV:owner/DAV:href tag to identify the
1994 owner of a LOCK when requesting it. This will be shown to other
1995 users when the DAV:lockdiscovery property is requested, so make
1996 sure you are comfortable with it leaking to the outside world.
1997 (url-dav-lock-resource): New function to LOCK a dav resource.
1998
19992001-12-05 William M. Perry <wmperry@gnu.org>
2000
2001 * lisp/url-dav.el (url-dav-get-properties): New argument
2002 ATTRIBUTES that allows you to ask for specific properties instead
2003 of getting all properties via DAV:allprop.
2004
4dfde3dd
SM
2005 * lisp/url-http.el (url-http-real-basic-auth-storage):
2006 New variable for normal HTTP basic authentication.
10a6e6ba
SM
2007 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
2008 basic authentication.
2009 (url-http-handle-authentication): Follow new semantics for
2010 url-basic-auth-storage.
2011
4dfde3dd 2012 * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
10a6e6ba
SM
2013 this variable. It is now a symbol pointing to where we really
2014 want to store the authorization information. This fixes proxy
4dfde3dd
SM
2015 auth and normal basic auth because of some local bindings that were
2016 making it impossible to store the credentials in the global binding.
10a6e6ba
SM
2017 (url-basic-auth): Make sure we dereference url-basic-auth-storage
2018 everywhere.
2019
4dfde3dd 2020 * lisp/url-util.el (url-debug): Add new types 'dav and
10a6e6ba
SM
2021 'retrieval to the customization list.
2022
2023 * lisp/url.el (url-retrieve-synchronously): Put in some debugging
2024 statements.
2025
4dfde3dd 2026 * lisp/url-http.el (url-http-head-file-attributes): Rename old
10a6e6ba
SM
2027 url-http-file-attributes so that we can have a smarter one that
2028 tries WebDAV first, then HEAD.
4dfde3dd 2029 (url-http-file-attributes): New smart version that tries WebDAV first.
10a6e6ba
SM
2030 (url-http-options): New function that returns information gleaned
2031 from an OPTIONS request for a URL. Returns a property list
2032 returning the methods supported for the resource, what DAV and
2033 DASL levels are supported, p3p information, and whether
2034 byte-ranges are supported or not.
2035 (url-http-wait-for-headers-change-function): If we got a 0-byte
2036 content-length, activate the callback immediately.
2037 (url-http-wait-for-headers-change-function): For content-length
2038 responses with actual body-data in the chunk we are handling, call
2039 url-http-content-length-after-change-function with the remaining
2040 data. Otherwise we can deadlock if the headers and the entire
2041 body exist arrive in one chunk.
2042
2043 * lisp/url-dav.el: New file to contain the WebDAV
2044 (http://www.webdav.org/) implementation.
2045 (url-dav-supported-p): Cheap way to figure out whether we will be
2046 able to do DAV at all. We rely on the XML parser expanding
2047 namespaces for us, and currently you need a patched version of
2048 xml.el to do this. Patch sent to author for consideration.
2049 (url-dav-file-attributes): Much more complete version of
2050 `file-attributes' using the WebDAV PROPFIND method. Now correctly
2051 finds out whether something is a directory (a WebDAV collection),
2052 the last modification time, and permissions (based on the
2053 DAV:supportedlock information).
2054 (url-dav-get-properties): Generic interface to get WebDAV
2055 properties for a URL. Can specify an optional `depth' parameter
2056 to tell the web server how many directory (collection) levels to
2057 recurse when retrieving the property lists. Returns an assoc
4dfde3dd 2058 list keyed off of the resource, the cdr of which is a property list.
10a6e6ba
SM
2059 (url-dav-datatype-attribute): We support the XML-Data note
2060 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
2061 datatypes of attributes are. Currently only date, dateTime, int,
2062 number, float, boolean, and uri are supported.
2063
20642001-12-04 William M. Perry <wmperry@gnu.org>
2065
2066 * lisp/url-handlers.el (file-name-absolute-p): New hooked
2067 version. If the filename matches our regexp, then it is always
2068 absolute, so just return `t'.
2069 (expand-file-name): New hooked version. If the fragment is an
2070 absolute file or URL, then expand it relative to '/'.
2071 (url-handler-regexp): New regexp for specific schemes that we
2072 want the file-name-handlers to work off of.
4dfde3dd 2073 (url-setup-file-name-handlers): Use it when installing the handlers.
10a6e6ba
SM
2074
2075 * lisp/url-http.el (url-http-find-free-connection): Better logging
2076 about whether we are reusing an existing connection or not.
2077
4dfde3dd 2078 * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
10a6e6ba
SM
2079 to string-match instead of match-string (and with reversed
2080 arguments even).
2081
4dfde3dd 2082 * lisp/url-http.el (url-http-debug): Change to now use the
10a6e6ba
SM
2083 generic url-debug function to do the actual logging. Still a
2084 separate function so that we can do our magic on the network
2085 connection if the user quits while we are downloading.
2086
2087 * lisp/url-handlers.el (url-file-handler): Now logs the result of
2088 the hooked or real call.
2089
4dfde3dd 2090 * lisp/url-util.el (url-debug): New function for generic debug logging.
10a6e6ba
SM
2091
20922001-11-28 William M. Perry <wmperry@gnu.org>
2093
2094 * lisp/url-imap.el (url-imap-open-host): Use backquote.
2095 (url-imap): Now switches to 'login as the imap authenticator if
2096 the URL provides a username and password.
2097
2098 * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
2099 push to replace some strange logic in here.
2100 (url-run-real-handler): New function to run the real hooks in
2101 case we get a false positive or an operation that we do not
2102 support. The old way disabled _ALL_ file-name-handlers when
2103 we hit something we didn't understand - this disables JUST us.
4dfde3dd 2104 (url-file-handler): Remove the logic about removing the leading
10a6e6ba
SM
2105 '/' off of the first argument... it may not be safe to always
2106 assume that the first argument is the one we are acting on -
4dfde3dd 2107 `default' is the second argument for expand-file-name for example.
10a6e6ba
SM
2108 (url-setup-file-name-handlers): Use url-nonrelative-link
2109 directly. This means that you must type in the URL directly
2110 without prefixing it with a '/'.
2111
2112 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
2113
2114 Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
2115 which activates us (because 'nnml+mail' _is_ a valid scheme name
2116 for a URI). We get thoroughly confused and end up returning
2117 `nil' when we shouldn't.
2118
21192001-11-26 William M. Perry <wmperry@gnu.org>
2120
2121 * lisp/url-handlers.el (file-writable-p): Add NULL handler for
2122 this so that visiting a URL directly will work.
2123 (file-symlink-p): Ditto.
2124 (url-insert-file-contents): If `visit' is non-nil then make sure
2125 we set buffer-file-name. After these changes you can visit
2126 http://www.gnu.org/ directly from the minibuffer.
2127 (url-insert-file-contents): When inserting the file contents,
2128 use a save-excursion so that we behave just like the original.
2129
21302001-11-25 William M. Perry <wmperry@gnu.org>
2131
4dfde3dd 2132 * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
10a6e6ba
SM
2133
21342001-11-24 William M. Perry <wmperry@gnu.org>
2135
2136 * lisp/url-about.el (url-about): New loader scheme to handle
2137 about:foo URLs. Automatically tries to find a `url-about-foo'
2138 function to display the actual data.
2941ce4b 2139 (url-about-protocols): Implement about:protocols.
10a6e6ba
SM
2140
2141 * lisp/url-http.el (url-http): Make sure that we signal an error
2142 when we cannot open a network connection for whatever reason.
2143 Before, it would just silently clean up after itself and the user
183080b6 2144 got absolutely no indication that an error had occurred. If the
10a6e6ba
SM
2145 error should truly be ignored, the caller should do that for us.
2146 (url-http-chunked-encoding-after-change-function): Doh! Need to
2147 user marker-position in some log messages now that
2148 url-http-chunked-start is a marker.
2149
21502001-11-22 William M. Perry <wmperry@gnu.org>
2151
2152 * lisp/url-https.el: Fixed definition of url-https - was using the
2153 wrong signature. Too much cut & paste.
4dfde3dd 2154 (url-https-create-secure-wrapper): Fix so that url-https works
10a6e6ba 2155 at all. Was not taking a null `method' into account when calling
4dfde3dd 2156 the wrapped function so url-https tried to call url-http-nil. *sigh*
10a6e6ba
SM
2157
2158 * lisp/url-http.el
4dfde3dd 2159 (url-http-chunked-encoding-after-change-function): Add some
10a6e6ba
SM
2160 feedback when not debugging about what content-type and chunk # we
2161 are reading.
2162 (url-http-chunked-encoding-after-change-function): Use a marker
2163 for url-http-chunked-start so that we can safely delete the
2164 chunk-tokens instead of just marking them as invisible.
2165 (url-http-chunked-encoding-after-change-function): Actually delete
2166 the chunk-tokens. Now that we are not run from 'real'
2167 after-change functions, this is safe, and the right thing to do.
2168 Otherwise the HTML parser still saw them and inferred all sorts of
2169 bad things about the document (ie: nothing had a title!)
2170
21712001-11-21 William M. Perry <wmperry@gnu.org>
2172
2173 * lisp/url-http.el (url-http-debug): Document this variable.
2174 People other than I might want to use it.
2175 (url-http-debug): Put some code in here to check quit-flag
2176 directly. When the chunked encoding went into a tight spin, your
2177 Emacs would be wedged forever. This short-circuits all the
2178 after-change functions and signals an error.
2179 (url-http-debug): If url-http-debug is non-nil and non-t, then log
2180 the debug messages using `message' as well as sending them to the
2181 buffer.
2182 (url-http-chunked-encoding-after-change-function): Got rid of the
2183 no-initial-crlf. Had an epiphany and I can just infer this from
2184 url-http-chunked-counter being 0.
4dfde3dd 2185 (url-http-chunked-encoding-after-change-function): Move the debug
10a6e6ba
SM
2186 statement about reading chunk #foo into the loop so that each
2187 chunk will have a log message associated with it.
2188 (url-http-chunked-encoding-after-change-function): Make sure to
2189 set read-next-chunk to nil when the regular expression match fails
2190 to fire. Otherwise we could loop forever.
4dfde3dd
SM
2191 (url-http-chunked-encoding-after-change-function): Tweak the
2192 regular expression to be a little less greedy when looking for a chunk.
10a6e6ba
SM
2193 (url-http-wait-for-headers-change-function): Remove the last
2194 argument when calling
2195 url-http-chunked-encoding-after-change-function. It is no longer
2196 needed. I should use my brain sometime.
2197
4dfde3dd 2198 * lisp/url-vars.el (and): Fix feature test for xemacs and
fffa137c 2199 coding-system-list behavior.
10a6e6ba
SM
2200
2201 * lisp/url-http.el
4dfde3dd
SM
2202 (url-http-chunked-encoding-after-change-function): Add optional
2203 no-initial-crlf flag that modifies the regular expression.
2204 This is only set from url-http-wait-for-headers-change-function so that
10a6e6ba 2205 the initial CRLF in the HTTP headers is not swallowed.
4dfde3dd 2206 (url-http-chunked-encoding-after-change-function): Fix a few
10a6e6ba 2207 off-by-one errors by using (match-end 0) instead of 1.
4dfde3dd 2208 (url-http-chunked-encoding-after-change-function): Add a few
10a6e6ba
SM
2209 url-http-debug calls to help track down problems in the chunked
2210 encoding.
2211 (url-http-chunked-encoding-after-change-function): The chunk
2212 reading in here is now in a while loop so that if Emacs feeds us a
2213 chunk of data that happens to contain more than one 'chunk'
2214 delimiter, we behave correctly.
2215 (url-http-wait-for-headers-change-function): Make sure that we
2216 pass no-initial-crlf to
2217 url-http-chunked-encoding-after-change-function when passing
2218 initial data to the decoder.
2219 (url-http-generic-filter): url-http-debug statement so we can tell
2220 when/where our after-change-functions are being called.
2221
22222001-10-11 Dave Love <fx@gnu.org>
2223
2224 * lisp/url-handlers.el: Doc fixes.
2225 (string-match): Use (featurep 'xemacs).
2226
2227 * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
2228
2229 * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
2230
2231 * lisp/url-vars.el (url-running-xemacs): Delete.
2232 (url-gateway-unplugged): New variable.
2233
2234 * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
2235 Comment out OS/2 stuff.
2236
22372001-10-05 Dave Love <fx@gnu.org>
2238
2239 * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
2240 without confirmation.
2241
22422001-10-02 Dave Love <fx@gnu.org>
2243
2244 * lisp/url-http.el (url-http-create-request): Check cache for
2245 proxy-obj, if defined, rather than url.
2246 (url-http): Use dolist, not mapc (runtime cl dependency).
2247
2248 * lisp/url-methods.el: Maybe require cl at runtime.
4dfde3dd
SM
2249 (url-scheme-register-proxy): Fix fetching from environment.
2250 Don't concat a number.
10a6e6ba
SM
2251
22522001-10-01 Dave Love <fx@gnu.org>
2253
2254 * lisp/url-parse.el: Use modern backquote syntax.
2255
2256 * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
2257 (url-mail-command): Prefer compose-mail.
2258 (tcp-binary-process-input-services): Comment out.
2259 (url-working-buffer): New constant.
2260
2261 * lisp/url-util.el (url-extract-mime-headers): New function.
2262
2263 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add
2264 User-Agent.
2265
22662001-09-20 Dave Love <fx@gnu.org>
2267
4dfde3dd 2268 * lisp/url-http.el (url-http-create-request): Don't concat a number.
10a6e6ba
SM
2269
22702001-06-05 Dave Love <fx@gnu.org>
2271
2272 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob
4dfde3dd 2273 tcp-binary-process-input-services. Remove function wrapper for lambda.
10a6e6ba
SM
2274 (url-retrieve): Barf with sensible message if url-type is null.
2275
2276 * lisp/url-http.el (url-http): Don't try to set process
2277 coding-system here -- done in url-gw.
2278
2279 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
2280 (url-open-stream): Bind coding-system-for{read,write} when setting
e4769531 2281 up the connection. Don't call url-gw-inhibit-code-conversion.
10a6e6ba 2282
4dfde3dd
SM
22832001-05-24 William M. Perry <wmperry@gnu.org>
2284
2285 * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
2286 in url-retrieve-synchronously.
2287
10a6e6ba
SM
22882001-05-23 William M. Perry <wmperry@gnu.org>
2289
2290 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
2291 accept-process-output. This is evidently causing hangs in Emacs
2292 21 when viewing complex pages with images or stylesheets.
2293 www.yahoo.com is now viewable.
2294
2295 * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
2296 (mule-inhibit-code-conversion) and just have a local function that
2297 does this minimal cruft.
2298 (url-gw-inhibit-code-conversion): New function to turn off code
2299 conversion in a process.
2300
23012001-05-22 William M. Perry <wmperry@gnu.org>
2302
2303 * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
2304 that we can allow multiple asynch retrievals to happen at once.
2305 (url-retrieve-synchronously): Use a much smaller timeout when
2306 doing the accept-process-output. This gets rid of the long delays
2307 if you are on a fast net connection and retrieve small documents
2308 that finish asynchronously before the first accept-process-output
2309 can be run. All hail broadband and 100Mb in the house!
4dfde3dd 2310 (url-retrieve-synchronously): Add documentation for this function.
10a6e6ba
SM
2311 (url-retrieve): Ditto.
2312 (url-mm-url): Ditto.
2313
2314 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
2315 documentation strings. Ok, so I'm anal.
2316
2317 * lisp/url-methods.el (url-scheme-methods): Add default methods
2318 for file-directory-p and file-truename.
2319
23202001-05-22 Dave Love <fx@gnu.org>
2321
2322 * lisp/url-auth.el (url-warn): Autoload.
2323
2324 * lisp/url-proxy.el (url-warn): Autoload.
2325
2326 * lisp/url-nfs.el: Fix `file-truname' typo.
2327
2328 * lisp/url-news.el: Require cl when compiling.
1ac3c910 2329 (url-warn, gnus-group-read-ephemeral-group): Autoload.
4dfde3dd 2330 (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
10a6e6ba
SM
2331 (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
2332
2333 * lisp/url-util.el (mule-decode-string): Don't autoload.
2334 (url-hexify-string): Just barf on multibyte characters.
2335 (url-generate-unique-filename): New function.
2336
2337 * lisp/url-file.el (url-file): Use url-generate-unique-filename,
2338 not mm-generate-unique-filename.
2339
2340 * lisp/url-http.el: Declare things special in various places.
2341 (url-http-activate-callback): Don't set
2342 url-http-real-after-change-function.
2343
23442001-05-22 William M. Perry <wmperry@gnu.org>
2345
2346 * lisp/url-http.el (url-http-attempt-keepalives): New variable to
2347 control whether we try to do keep-alives for our connections.
2348 (url-http-version): New variable to control whether we advertise
2349 ourselves as an HTTP/1.1 client or not. This can be useful for
2350 avoiding chunked encoding, and other 1.1 features we may not have
2351 fully implemented yet.
2352 (url-http-create-request): Honor the new variables.
2353
23542001-05-21 Dave Love <fx@gnu.org>
2355
2356 * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
2357 in XEmacs.
2358 (url-mime-charset-string): Don't reverse the list before sorting.
2359
23602001-05-17 William M. Perry <wmperry@gnu.org>
2361
2362 * lisp/url-http.el (url-http-generic-filter): Avoid using
2363 after-change-functions natively. There are just too many ways
2364 that this screws up in Emacs 21. Use a filter function on the
2365 process instead, and call the hook on
2366 url-http-after-change-function manually. [Actually, it will work
2367 in Emacs 21, but one problem that has been fixed in Emacs 21
2368 exists in Emacs 20. -- fx]
2369
2370 * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
2371 does not exist on older versions of Emacs, or any version of
2372 XEmacs. Do not call it unless it is bound.
2373
23742001-05-17 Dave Love <fx@gnu.org>
2375
2376 * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
2377
23782001-05-16 Dave Love <fx@gnu.org>
2379
2380 * lisp/url-vars.el: Doc fixes. Require mm-util.
2381 (url-mime-charset-string): New variable.
2382
2383 * lisp/url-http.el: Doc fixes.
2384 (url-http-create-request): Rearrange how we assemble the request.
2385 Avoid generating bogus requests with an empty real-fname.
4dfde3dd 2386 (url-http-handle-authentication): Declare status and success special.
10a6e6ba
SM
2387 (url-http): Call mm-disable-multibyte. Set process buffer's
2388 coding systems to binary.
2389
2390 * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
2391
4dfde3dd 2392 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
10a6e6ba 2393 (url-file-find-possibly-compressed-file): Doc fix.
4dfde3dd 2394 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
10a6e6ba
SM
2395
2396 * lisp/url-cache.el: Don't require mule-sysdp.
2397 (url-store-in-cache): Avoid mule-write-region-no-coding-system.
2398
2399 * lisp/url.el: Don't require mule-sysdp.
2400 (url-retrieve): Only set text properties if url is a string.
2401
24022001-05-14 Dave Love <fx@gnu.org>
2403
4dfde3dd
SM
2404 * lisp/url-http.el (url-http-create-request):
2405 Declare proxy-object, proxy-info special.
10a6e6ba
SM
2406 (url-http-handle-authentication): Declare success special.
2407
24082001-05-12 Dave Love <fx@gnu.org>
2409
2410 * lisp/url-http.el: Revert last change.
2411
24122001-05-10 Dave Love <fx@gnu.org>
2413
4dfde3dd
SM
2414 * lisp/url-http.el (url-http-generic-after-change-function):
2415 Make it permanent-local.
10a6e6ba
SM
2416
24172001-05-05 Dave Love <fx@gnu.org>
2418
2419 * lisp/url-http.el: Autoload some functions.
2420 (cl): Require when compiling.
2421 (url-http-extra-headers): Defvar when compiling.
2422 (url-http): Treat after-change-functions as a local hook.
2423
2424 * lisp/url-history.el (url-parse): Require.
2425 (url-do-setup): Autoload.
2426
2427 * lisp/url-gw.el: Require url-vars. Autoload some functions.
2428
2429 * lisp/url-file.el: Require mailcap. Require cl when compiling.
2430 Use (featurep 'xemacs).
2431 (url-file-build-filename): Bind pos-index.
2432 (url-file): Call url-find-file-dired, not url-dired-find-file.
2433
4dfde3dd 2434 * lisp/url-dired.el: Add copyright notice. Autoload some functions.
10a6e6ba
SM
2435 (url-dired-minor-mode-map): Use (featurep 'xemacs).
2436 (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
4dfde3dd 2437 (url-find-file-dired): Rename from one version of url-dired-find-file.
10a6e6ba
SM
2438
2439 * lisp/url-cid.el: Don't require widget. Require mm-decode
2440 unconditionally.
2441
2442 * lisp/url-util.el: Autoload mule-decode-string,
2443 timezone-parse-date, timezone-make-date-arpa-standard.
2444 (url-unreserved-chars): Fix list per RFC 2396.
2445 (url-hexify-string): Maybe string-make-unibyte.
2446
2447 * lisp/url-news.el: Require nntp.
2448
2449 * lisp/url-imap.el: Require cl when compiling. Require nnimap
2450 unconditionally.
2451
24522001-05-04 Dave Love <fx@gnu.org>
2453
2454 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
2455 not non-existent mailcap-generate-unique-filename.
2456
4dfde3dd 2457 * lisp/url-privacy.el: Require url-vars. Require cl when compiling.
10a6e6ba 2458
4dfde3dd
SM
2459 * lisp/url-parse.el: Require url-vars.
2460 Autoload url-scheme-get-property.
10a6e6ba
SM
2461
2462 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs
2463 with featurep.
2464
2465 * lisp/url-mailto.el: Require cl when compiling.
2466
4dfde3dd
SM
2467 * lisp/url-cookie.el (url-cookie-handle-set-cookie):
2468 Call url-parse-args, not url-util-parse-args.
10a6e6ba
SM
2469
2470 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
2471
24722001-04-09 Dave Love <fx@gnu.org>
2473
2474 * lisp/mule-sysdp.el (mule-detect-coding-version)
2475 (mule-code-convert-region, mule-inhibit-code-conversion)
2476 (mule-write-region-no-coding-system, mule-encode-string)
2477 (mule-decode-string, mule-truncate-string)
2478 (mule-find-charset-region, mule-coding-system-name)
2479 (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
2480 [There must be a better way.]
2481 (mule-coding-system-p, string-width): Use defalias.
2482
24832001-01-03 Sam Steingold <sds@gnu.org>
2484
2485 * lisp/url-http.el (url-http-wait-for-headers-change-function):
2941ce4b 2486 set `url-http-end-of-headers' to 0 for HTTP 0.9.
10a6e6ba
SM
2487
24882001-01-02 Sam Steingold <sds@gnu.org>
2489
2941ce4b 2490 * lisp/url-auth.el (provide): `url-auth', not `urlauth'.
10a6e6ba
SM
2491
24922000-12-22 Dave Love <fx@gnu.org>
2493
2494 * lisp/url-history.el (url): Don't require (to avoid recursion).
2495 (cl): Require when compiling.
2496
2497 * lisp/url-http.el (url-auth): Require.
2498 (url-http-handle-authentication): Fix typo.
2499
2500 * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
2501
25022000-12-20 Dave Love <fx@gnu.org>
2503
2504 * lisp/url.el: Require mm-decode, mm-view when compiling.
2505 <not (fboundp 'puthash)>: Define puthash and
2506 autoload other has functions rather than using cl-...hash.
2507 (url-warn): Define.
2508
4dfde3dd
SM
2509 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
2510 Avoid cl-...hash functions.
10a6e6ba
SM
2511
2512 * lisp/url-history.el: Avoid cl-...hash functions.
2513 (url): Require.
2514
1ac3c910 2515 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
10a6e6ba
SM
2516
25172000-10-03 William M. Perry <wmperry@aventail.com>
2518
4dfde3dd 2519 * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
10a6e6ba
SM
2520 getting set to nil due to bad string matching. Subsequent matches
2521 would then choke because we passed string-match a nil.
2522
2523 * lisp/url-http.el (url-http-parse-headers): Need to make the
2524 connection as 'free' when we get a 304 response (found in cache),
10d1d0af 2525 or when a keep-alive connection timed out, it would re-parse the
10a6e6ba
SM
2526 headers and dispatch to the callback again. Eek.
2527
25282000-10-02 William M. Perry <wmperry@aventail.com>
2529
2530 * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
4dfde3dd 2531 implement chunked transfer-coding.
10a6e6ba
SM
2532 (url-http-create-request): We can now advertise ourselves as a 1.1
2533 compliant browser!
2534
25352000-07-28 Sam Steingold <sds@gnu.org>
2536
2537 * lisp/url-methods.el (url-scheme-default-loader): `callback' and
2538 `cbargs' are optional args (for calling from w3).
4dfde3dd 2539 (url-scheme-register-proxy): Typos fixes: `url-match' replaced
10a6e6ba
SM
2540 with `string-match' and `protocol' with `scheme'.
2541
25422000-07-18 Sam Steingold <sds@gnu.org>
2543
4dfde3dd
SM
2544 * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
2545 * lisp/url-history.el (url-history-save-interval): Avoid circularity.
10a6e6ba
SM
2546
25472000-07-10 William M. Perry <wmperry@aventail.com>
2548
2549 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
2550 mule, and the character requested is > 255, then return "~"
2551 instead of letting whoever call us signal an error when they try
2552 to insert the character.
2553 (mule-make-iso-character): Also wrap the whole thing in a
4dfde3dd 2554 condition case and return "~" on error, in case make-char bombs on us.
10a6e6ba 2555
4dfde3dd 2556 * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
10a6e6ba
SM
2557 for cid parts.
2558
2559 * lisp/url-util.el (url-display-percentage): New routine that uses
2560 the progress bar under XEmacs if available. Looks very sexy under
2561 XEmacs/GTK hacked to use the GNOME statusbar.
2562
2563 * lisp/url-http.el
2564 (url-http-content-length-after-change-function): Use new function
2565 url-display-percentage instead of url-lazy-message.
2566
25672000-01-27 William M. Perry <wmperry@aventail.com>
2568
2569 * lisp/url-file.el (url-file-build-filename): Work around for
4dfde3dd 2570 differences in ange-ftp / efs handling of port numbers other than 21.
10a6e6ba
SM
2571
25721999-12-24 William M. Perry <wmperry@aventail.com>
2573
2574 * lisp/url-irc.el: Added pointer to draft specification for the
2575 IRC URL so people don't think I'm crazy.
2576
2577 * configure.in: Checks to make sure that Gnus was found, since we
2941ce4b 2578 HAVE to have it now. Removed conditional compilation of url-cid.el.
10a6e6ba 2579
1ac3c910 25801999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
10a6e6ba
SM
2581
2582 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
2583 () to have periods at the end of the chunk.
2584
25851999-12-14 William M. Perry <wmperry@aventail.com>
2586
4dfde3dd 2587 * lisp/url-misc.el (url-man): Implement `man' URL types.
10a6e6ba
SM
2588 (url-info): Autoload.
2589 (url-man): Ditto.
2590 (url-rlogin): Ditto.
2591 (url-telnet): Ditto.
2592 (url-tn3270): Ditto.
2593 (url-generic-emulator-loader): Ditto.
2594
2595 * lisp/url-https.el (url-https-create-secure-wrapper): New macro
2596 to wrap arbitrary `http' methods with the appropriate magic to
2597 turn SSL on.
2598 (file-exists-p): Use it.
2599 (file-readable-p): Use it.
2600 (file-attributes): Use it.
2601
2602 * lisp/url-news.el (url-news-fetch-newsgroup): When building the
2603 server spec for Gnus, make sure we set
2604 nntp-open-connection-function directly, so that other news-related
2605 functions above us can set it.
2606 (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
2607 (url-nntp): Autoload.
2608 (url-snews): Ditto.
2609 (url-news): Ditto.
2610
26111999-12-12 William M. Perry <wmperry@aventail.com>
2612
2613 * lisp/url-http.el (url-http-parse-response): New function to
2614 parse just the HTTP response code out of the buffer, without
2615 taking any other actions.
2616 (url-http-wait-for-headers-change-function): Use it here when we
2617 know we have an HTTP/1.x response.
2618 (url-http-wait-for-headers-change-function): Special case a
2619 response code of '304' or there could be some delays waiting for
2620 keep-alives to time out on cached documents with no known
2621 content-length on the server.
2622
26231999-12-11 William M. Perry <wmperry@aventail.com>
2624
2625 * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
2626 the Makefile does that for us. We just need to provide what files
2627 to load/functions to run.
2628
2629 * lisp/url-imap.el (url-imap-open-host): Need to bind
2630 nnimap-server-buffer or `nnimap-open-server' chokes trying to use
4dfde3dd 2631 the current buffer as the IMAP server buffer, which fails miserably.
10a6e6ba 2632
1ac3c910 26331999-12-11 Simon Josefsson <jas@pdc.kth.se>
10a6e6ba
SM
2634
2635 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
2636
26371999-12-11 William M. Perry <wmperry@aventail.com>
2638
2639 * lisp/url-file.el (url-file-asynch-callback): Make the checks for
2640 ange-ftp vs. efs calling semantics consistent, so that if someone
2641 has NEITHER of them loaded, everything should still work.
2642
2643 * lisp/url-handlers.el (url-copy-file): Autoload.
2644 (url-file-local-copy): Ditto.
2645 (url-insert-file-contents): Ditto.
2646 (url-setup-file-name-handlers): Ditto.
2647
26481999-12-10 William M. Perry <wmperry@aventail.com>
2649
2650 * lisp/url-http.el (mail-parse): Since we use functions from here,
2651 we should require it, eh?
2652
1ac3c910 26531999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
10a6e6ba
SM
2654
2655 * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
2656 if nil.
2657 (url-cookie-generate-header-lines): Use it.
2658
26591999-12-06 William M. Perry <wmperry@aventail.com>
2660
2661 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
2941ce4b 2662 4.1 gracefully.
10a6e6ba 2663
4dfde3dd
SM
2664 * lisp/url-news.el: Reimplemented news and nntp URL support.
2665 No longer bothers to check for outdated Gnus versions, since this
10a6e6ba
SM
2666 will not work without them anyway.
2667
26681999-12-05 Dave Love <fx@gnu.org>
2669
2670 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
2671 lisp/url.el:
2672 Require url-parse.
2673
26741999-12-05 William M. Perry <wmperry@aventail.com>
2675
2676 * lisp/url-http.el (url-http-find-free-connection): Spit out a
2677 message when we have to contact a host so the user always gets
2678 at least some feedback.
2679
f49d1f52 2680 * lisp/url-expand.el (url-expander-remove-relative-links): Move and
10a6e6ba
SM
2681 renamed function.
2682 (url-default-expander): Use it.
2683
4dfde3dd
SM
2684 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
2685 as well as efs.
2686 (url-file): Add default content-type of application/octet-stream if
2687 none known.
2941ce4b 2688 (url-file): Correct bad call to url-host-is-local-p.
10a6e6ba
SM
2689
2690 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
2691 like buffer-substring with nil arguments.
2692 (url-copy-file): Use mm-destroy-parts instead of just killing
2693 the buffer. Use defined interfaces when available!
2694 (url-insert-file-contents): Ditto.
2695
2696 * lisp/url-http.el (url-http-create-request): Lots of changes to
2697 get proxying working.
2698
2699 * lisp/url-methods.el (url-scheme-register-proxy): New function to
2700 find and register a proxy for a specific scheme.
2701 (url-scheme-get-property): Use it when we load a URL scheme for
2702 the first time.
2703
2941ce4b 2704 * lisp/url-util.el (url-get-url-at-point): Re-integrated.
10a6e6ba
SM
2705
27061999-12-04 William M. Perry <wmperry@aventail.com>
2707
2708 * lisp/url-file.el (url-file): Signal an error if
2709 url-file-build-filename could not find the filename.
2710
27111999-12-01 William M. Perry <wmperry@aventail.com>
2712
2713 * lisp/url.el (url-retrieve): Use url-history-update-url instead
2714 of manipulating the hash table directly.
2715
2716 * lisp/url-history.el (url-completion-function): New function to
2717 use for reading a URL with completion.
2718 (url-history-update-url): New function to hide the hashtable
2719 implementation from people inserting things into the history.
2720
27211999-11-30 William M. Perry <wmperry@aventail.com>
2722
2723 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
2724 working.
2725
2726 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
4dfde3dd 2727 url-parse-args, which had changed the type of arguments it expects.
10a6e6ba
SM
2728
2729 * lisp/url-handlers.el (url-insert-file-contents): Ditto.
2730 (url-copy-file): Ditto.
2731
2732 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
2733 just killing the buffer. Use defined interfaces when available!
2734
2735 * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
2736 AC_FD_CC so they show up in config.log
2737 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
2738 this always return 't' instead of 'yes' on successfully finding
2739 the library.
2740
4dfde3dd 2741 * lisp/url-http.el (url-http-parse-headers): Add some
10a6e6ba
SM
2742 DAV-specific error codes.
2743
4dfde3dd 2744 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
10a6e6ba
SM
2745 (url-retrieve-synchronously): Duh, make this function actually
2746 work again. Numerous problems with it, including variable name
2747 collisions - I love dynamically scoped lisps!
2748
2749 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
4dfde3dd 2750 wrappers onto the appropriate file-based URLs for file-name-handlers.
10a6e6ba 2751
a98edce9 2752 * lisp/url-ftp.el: Moved the FTP stuff into its own file - it
10a6e6ba
SM
2753 might get messy with file-name-handlers and things.
2754
2755 * lisp/url-http.el (url-http-clean-headers): Fix problem when
2756 using 'HEAD' requests. Thou shalt not change the length of the
2757 region during an after-change-function.
2758
2759 * lisp/url-methods.el (url-scheme-methods): New variable that
4dfde3dd 2760 holds a list of the methods/variables we look for in a URL scheme.
10a6e6ba
SM
2761 (url-scheme-get-property): Use it.
2762
27631999-11-29 William M. Perry <wmperry@aventail.com>
2764
4dfde3dd 2765 * lisp/url-http.el (url-http-file-attributes): Reimplement.
10a6e6ba
SM
2766 (url-http-file-exists-p): Ditto.
2767
2768 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
2769
2770 * lisp/url-file.el (url-file-create-wrapper): New macro to create
2771 file-name-handler stubs for all the FTP/FILE stuff.
2772
2773 * lisp/url-handlers.el: New file to handle file-name-handler-alist
2774 cruft. Generic interface on top of functions that each URL
2775 loader provides, if capable.
2776
27771999-11-27 William M. Perry <wmperry@aventail.com>
2778
2779 * lisp/url-https.el: Implemented HTTPS support.
2780
27811999-11-26 William M. Perry <wmperry@aventail.com>
2782
2783 * url-privacy.el (url-setup-privacy-info): Don't rely on
2784 device-type being defined. Not going to bother redistributing
2785 devices.el for just one function.
2786
2787 * url-methods.el (url-scheme-get-property): Emacs does not have
2788 the 3rd-argument to plist-get to specify the default. *sigh*
2789
4dfde3dd 2790 * url-dired.el (add-minor-mode): Add definition for Emacs.
10a6e6ba 2791
4dfde3dd
SM
2792 * url-http.el (url-http-generic-after-change-function):
2793 New function, since Emacs does not allow you to change the
10a6e6ba
SM
2794 after-change-functions variable from within a function run by
2795 said hook. This just hands it off to the REAL function.
2796 Side-effect is that this now works on Emacs at all. :)
2797
2798 * Initial checkin of rewritten URL library.
2799
1513a14b
GM
2800;; Local variables:
2801;; coding: utf-8
1513a14b
GM
2802;; End:
2803
ab422c4d
PE
2804 Copyright (C) 1999, 2001-2002, 2004-2013 Free Software
2805 Foundation, Inc.
5b87ad55
GM
2806
2807 This file is part of GNU Emacs.
2808
4936186e 2809 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 2810 it under the terms of the GNU General Public License as published by
4936186e
GM
2811 the Free Software Foundation, either version 3 of the License, or
2812 (at your option) any later version.
5b87ad55
GM
2813
2814 GNU Emacs is distributed in the hope that it will be useful,
2815 but WITHOUT ANY WARRANTY; without even the implied warranty of
2816 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2817 GNU General Public License for more details.
2818
2819 You should have received a copy of the GNU General Public License
4936186e 2820 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.