After saving ispell dictionary, re-enable flyspell if necessary.
[bpt/emacs.git] / lisp / url / ChangeLog
CommitLineData
b1367cba
CY
12012-10-13 Chong Yidong <cyd@gnu.org>
2
3 * url-http.el (url-http):
4 * url.el (url-retrieve-internal): Doc fix (Bug#6407).
5
97fbed87
GM
62012-10-08 Glenn Morris <rgm@gnu.org>
7
8 * url-methods.el (url-scheme-get-property): url-https.el was
9 merged into url-http.el, so load the latter for https. (Bug#12599)
10
e79186e5
SM
112012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12
13 * url-http.el (url-http-user-agent-string): Leak less info.
14 (url-http, url-http-file-exists-p, url-http-file-readable-p)
15 (url-http-file-attributes, url-http-options, url-https-default-port)
16 (url-https-asynchronous-p): Don't autoload.
17
23855148
SM
182012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
19
20 * url-handlers.el (url-file-handler): Don't assume any url-FOO function
21 is a good handler for FOO.
22 (url-copy-file, url-file-local-copy, url-insert-file-contents)
23 (url-file-name-completion, url-file-name-all-completions)
24 (url-handlers-create-wrapper): Explicitly register as handler.
25
04558d31
BG
262012-09-29 Bastien Guerry <bzg@gnu.org>
27
28 * url-util.el (url-insert-entities-in-string)
29 (url-build-query-string): Fix docstrings.
30
59f7af81
CY
312012-09-25 Chong Yidong <cyd@gnu.org>
32
33 * url-parse.el (url-recreate-url-attributes):
34 * url-util.el (url-generate-unique-filename): Use declare to mark
35 obsolete.
36
89534796
SM
372012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * url-http.el (url-http-parse-headers): Re-enable file-name-handlers
40 (bug#11981).
41
577d5eea
DE
422012-08-12 David Engster <deng@randomsample.de>
43
44 * url-util.el (url-file-directory, url-file-nondirectory): Avoid
45 file-name-directory and file-name-nondirectory internally (bug#11981).
46
4ed1626d
JR
472012-08-11 Jason Rumney <jasonr@gnu.org>
48
49 * url-http.el (url-http-create-request): Use url-http-proxy to
46fab912 50 look up proxy credentials (Bug#12069).
4ed1626d 51
7fa20d96
DE
522012-07-28 David Engster <deng@randomsample.de>
53
577d5eea 54 * url-dav.el (url-dav-supported-p): Add doc-string and remove
7fa20d96
DE
55 check for feature `xml' and function `xml-expand-namespace' which
56 never existed in Emacs proper.
57 (url-dav-process-response): Remove all indentation and newlines
58 from XML before parsing. Change call to `xml-parse-region' to do
59 namespace expansion with simple qualified names (Bug#11916).
60 (url-dav-request): Add autoload.
61 (url-dav-directory-files): Properly deal with empty directories.
62 Unhex URL before generating relative URLs.
63 (url-dav-file-directory-p): Fix check for 'DAV:collection.
64
a464a6c7
SM
652012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
66
67 * url.el, url-queue.el, url-parse.el, url-http.el, url-future.el:
68 * url-dav.el, url-cookie.el: Use cl-lib.
69 * url-util.el, url-privacy.el, url-nfs.el, url-misc.el, url-methods.el:
70 * url-gw.el, url-file.el, url-expand.el: Dont use CL.
71
938beca4
GM
722012-06-30 Glenn Morris <rgm@gnu.org>
73
74 * url-vars.el (mm-mime-mule-charset-alist, mm-coding-system-p):
75 Declare.
76
a3f10d3e
CY
772012-06-21 Chong Yidong <cyd@gnu.org>
78
79 * url.el (url-retrieve-internal): Fix last change (Bug#11627).
80
22c4001c
JB
812012-06-13 Juanma Barranquero <lekktu@gmail.com>
82
83 * url-handlers.el (url-handler-regexp): Declare.
84
47fc1d6b
CY
852012-06-12 Chong Yidong <cyd@gnu.org>
86
87 * url-handlers.el: Re-order file to avoid recursive load.
88
f1a4e679
CY
892012-06-12 Chong Yidong <cyd@gnu.org>
90
91 * url-handlers.el (url-handler-regexp):
92 * url-nfs.el (url-nfs-automounter-directory-spec):
93 * url-vars.el (url-load-hook): Convert to defcustom.
94
9979ea1c
LL
952012-05-25 Leo Liu <sdl.web@gmail.com>
96
97 * url-http.el (url-http-codes): Fix mal-formed defconst.
98
530e968e
TZ
992012-05-15 Ian Eure <ian@simplegeo.com>
100
4f0f72be 101 * url-util.el (url-build-query-string): New function (Bug#8706).
530e968e
TZ
102 (url-parse-query-string): Allow that '=' is not required and split
103 URL parameters on ';', not just '&'.
104
ac9f0b75
LMI
1052012-05-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
106
107 * url-expand.el (url-default-expander): Copy over the fullness of
108 the new URL object based on the definition URL object.
109
9f9aa044
CY
1102012-05-10 Chong Yidong <cyd@gnu.org>
111
577d5eea
DE
112 * url-parse.el (url-path-and-query, url-port-if-non-default):
113 New functions.
9f9aa044
CY
114 (url-generic-parse-url): Don't set the portspec slot if it is not
115 specified; that is what `url-port' is for.
116 (url-port): Only require the scheme to be specified to call
117 url-scheme-get-property.
118
119 * url-util.el (url-encode-url): Use url-path-and-query.
120
121 * url-vars.el (url-mime-charset-string): Load mm-util lazily.
122
ce7b18ec
CY
1232012-05-09 Chong Yidong <cyd@gnu.org>
124
125 * url-util.el (url-encode-url): New function for URL quoting.
126 (url-encoding-table, url-host-allowed-chars)
127 (url-path-allowed-chars): New constants.
bdac2d37 128 (url--allowed-chars): New helper function. Use upper-case.
ce7b18ec
CY
129 (url-hexify-string): Use them.
130
131 * url-parse.el: Improve RFC 3986 conformance.
132 (url-generic-parse-url): Do not populate the ATTRIBUTES slot,
133 since this is not reliable for general RFC 3986 URIs. Keep the
134 whole path and query inside the FILENAME slot. Improve docstring.
135 (url-recreate-url-attributes): Mark as obsolete.
136 (url-recreate-url): Handle missing scheme and userinfo.
9f9aa044 137 (url-path-and-query): New function.
ce7b18ec
CY
138
139 * url-http.el (url-http-create-request): Ignore obsolete
140 attributes slot of url-object.
141
142 * url-vars.el (url-nonrelative-link): Make the regexp stricter.
143
144 * url.el (url-retrieve-internal): Use url-encode-url (Bug#7017).
145
e95a67dc
SM
1462012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 * url.el (url-retrieve-synchronously): Replace lexical-let by
149 lexical-binding.
150
a967e26b
WX
1512012-04-10 William Xu <william.xwl@gmail.com> (tiny change)
152
153 * url.el (url-retrieve-internal): Hexify multibye URL string first
154 when necessary (bug#7017).
155
1562012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
157
158 * url.el (url-retrieve-internal): Mention utf-8 encoding.
159 (url-retrieve): Ditto.
160
9ea49b28
LMI
1612012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
162
163 * url-domsurf.el: New file (bug#1401).
164
165 * url-cookie.el (url-cookie-two-dot-domains): Remove.
166 (url-cookie-host-can-set-p): Use `url-domsuf-cookie-allowed-p'
167 instead of the variable above.
168
e0fe1d55
LMI
1692012-03-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
170
171 * url-queue.el (url-queue-kill-job): Check whether the buffer has
172 been killed asynchronously before selecting it.
173
cc2ab732
LMI
1742012-03-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
175
176 * url-queue.el (url-queue-kill-job): Make sure that the callback
177 is always called, even if we have a timeout.
178
09100633
CY
1792012-03-11 Chong Yidong <cyd@gnu.org>
180
e95a67dc
SM
181 * url-http.el (url-http-end-of-document-sentinel):
182 Handle keepalive expiry by calling url-http again (Bug#10223).
09100633
CY
183 (url-http): New arg, for the above.
184
179f6911
DSM
1852012-03-11 Devon Sean McCullough <emacs-hacker2012@jovi.net>
186
187 * url-http.el (url-http-find-free-connection): Don't pass a nil
188 argument to url-http-mark-connection-as-busy (bug#10891).
189
1e54a73b
LI
1902012-02-20 Lars Ingebrigtsen <larsi@gnus.org>
191
27e7172c
LI
192 * url-queue.el (url-queue-kill-job): Delete the process sentinel
193 before killing the process to avoid a race condition between the
194 two processes killing off the process buffer.
195
1e54a73b
LI
196 * url.el (url-retrieve-internal): Warn about file errors when
197 pruning the cache instead of bugging out (bug#10831).
198
55645c67
LI
1992012-02-19 Lars Ingebrigtsen <larsi@gnus.org>
200
201 * url-queue.el (url-queue-callback-function): Remove the job from
202 the queue so that we don't kill the current buffer, which will
203 then make the callback function kill a random buffer.
204
f15bcb40
LI
2052012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
206
207 * url-queue.el (url-queue-kill-job): Refactored out code.
208 (url-queue-remove-jobs-from-host): Use it to kill jobs that are in
209 flight.
210
e72a771d
TZ
2112012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
212
213 * url-future.el: Minor doc update.
214
1deeb569
LL
2152012-02-14 Leo Liu <sdl.web@gmail.com>
216
217 * url-future.el: Fix last change.
218
6c0c7cfc
TZ
2192012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
220
221 * url-future.el (url-future-test): Move to test/automated.
222
3b8eb822
LI
2232012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
224
225 * url-http.el (url-http-parse-headers): When redirecting, pass on
226 the `inhibit-cookie' parameter.
227
a48ec60c
GM
2282012-02-10 Glenn Morris <rgm@gnu.org>
229
230 * url-queue.el (url-queue-retrieve): Fic previous doc fix.
231
d7c5e162
AS
2322012-02-10 Andreas Schwab <schwab@linux-m68k.org>
233
234 * url-http.el (url-http-clean-headers): Return the number of
235 removed characters.
236 (url-http-wait-for-headers-change-function): Adjust end position
237 after cleaning the headers. (Bug#10768)
238
b74c9672
GM
2392012-02-10 Glenn Morris <rgm@gnu.org>
240
241 * url-queue.el (url-queue-retrieve): Doc fix.
242
aacaa419
LI
2432012-02-08 Lars Ingebrigtsen <larsi@gnus.org>
244
245 * url-parse.el (url): Add the `use-cookies' slot to the URL struct
246 to be able to keep track of whether to do cookies or not on a
247 per-URL basis.
248
249 * url-queue.el (url-queue-retrieve): Take an optional
250 `inhibit-cookies' parameter.
251
ed9265fc 252 * url.el (url-retrieve): Ditto.
aacaa419
LI
253
254 * url-http.el (url-http-create-request): Don't send cookies unless
255 requested.
256 (url-http-parse-headers): Don't store cookies unless requested.
257
b6ea20f3
LI
2582012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
259
1968bb1b 260 * url-cache.el (url-cache-prune-cache): New function.
7dd679eb
LI
261 (url-cache-prune-cache): Check that the directory exists before
262 trying to delete it.
1968bb1b
LI
263
264 * url.el (url-retrieve-number-of-calls): New variable.
265 (url-retrieve-internal): Use it to expire the cache once in a
266 while.
267
b6ea20f3
LI
268 * url-queue.el (url-queue-setup-runners): New function that uses
269 `run-with-idle-timer' for extra asynchronicity.
270 (url-queue-remove-jobs-from-host): New function.
271 (url-queue-callback-function): Remove jobs from the same host if
272 connection failed.
273
d8d469ef
GM
2742012-01-12 Glenn Morris <rgm@gnu.org>
275
e7a8cb8f
GM
276 * url-auth.el (url-basic-auth, url-digest-auth):
277 Allow reading usernames etc when the minibuffer is already in use,
278 eg in url-handler-mode. (Bug#10298)
d8d469ef 279
c7015153
JB
2802011-11-15 Juanma Barranquero <lekktu@gmail.com>
281
282 * url-dav.el (url-dav-delete-file): Fix typo.
283
122d9463
LMI
2842011-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
285
286 * url-http.el (url-http-async-sentinel): If the server hangs up
287 while we're talking to it, just `message' the error instead of
288 throwing an error.
289
14e1d9ea
LMI
2902011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
291
292 * url-cookie.el (url-cookie-expired-p): Protect against
293 zero-length cookie expiry dates.
294
ac6c8639
CY
2952011-10-19 Chong Yidong <cyd@gnu.org>
296
297 * url-handlers.el (url-handler-mode): Doc fix.
298
b02ba905
CW
2992011-09-24 Christopher J. White <chris@grierwhite.com> (tiny change)
300
301 * url-http.el (url-http-create-request): Avoid adding extra CRLF
302 (Bug#8931).
303
ad87170f
LMI
3042011-09-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
305
306 * url-http.el (url-http-find-free-connection): If there was an
307 error on connect, make sure the user isn't bothered with
308 irrelevant questions.
309
98fdd2b8
CY
3102011-08-07 Chong Yidong <cyd@stupidchicken.com>
311
312 * url-http.el (url-http-parse-headers): For HTTP 301/302/307,
313 don't convert to a GET request (Bug#701).
314
b0c9af93
CN
3152011-07-13 Chris Newton <redshodan@gmail.com> (tiny change)
316
317 * url-http.el (url-http): Copy over `url-show-status' to the async
318 buffer so that `url-display-percentage' does the right thing
319 (bug#4680).
320
53d21671
JD
3212011-07-06 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
322
323 * url-cache.el (url-cache-extract): Set buffer multibyte flag to
324 nil (bug#8827).
325
3487ca85
NA
3262011-07-03 Nicolas Avrutin <nicolasavru@gmail.com> (tiny change)
327
328 * url-http.el (url-http-create-request): Remove double carriage
329 return and newline (bug#8931).
330
9aec558a
LMI
3312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
332
e95a67dc
SM
333 * url-http.el (url-http-wait-for-headers-change-function):
334 Remove pointless "HTTP/0.9 How I hate thee!" message (bug#6735).
9aec558a 335
5993c059
AS
3362011-06-04 Andreas Schwab <schwab@linux-m68k.org>
337
338 * url-future.el (url-future-test): Fix scope of `saver'.
339
3b7d5980
GM
3402011-06-01 Glenn Morris <rgm@gnu.org>
341
342 * url-queue.el (url-queue-parallel-processes, url-queue-timeout):
343 Add :version tag for options that will be new in 24.1.
344
5a94384b
LMI
3452011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
346
347 * url-queue.el (url-queue-parallel-processes): Increase the
348 default to 6, since 2 seems too conservative for normal usage.
349
e300a61b
TZ
3502011-05-31 Teodor Zlatanov <tzz@lifelogs.com>
351
352 * url-future.el: Add general futures facility.
353
b1c83d95
LL
3542011-05-29 Leo Liu <sdl.web@gmail.com>
355
356 * url-cookie.el (url-cookie): Add option :named so that
357 url-cookie-p is defined. (Bug#8747)
358
5c77c3ed
LMI
3592011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
360
361 * url-queue.el: New file.
6df6ae42 362 (url-queue-run-queue): Pick the first waiting job, and not the last.
471129b1
LMI
363 (url-queue-parallel-processes): Lower the concurrency level, since
364 Emacs doesn't seem to like too many async processes.
365 (url-queue-prune-old-entries): Fix up the pruning code.
5c77c3ed 366
10472dd0
LMI
3672011-04-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
368
6df6ae42
JB
369 * url-http.el (url-http-wait-for-headers-change-function):
370 Protect against malformed headerless responses from servers.
10472dd0 371
43c594f2
CY
3722011-04-02 Chong Yidong <cyd@stupidchicken.com>
373
374 * url-gw.el (url-open-stream): Use new open-network-stream
375 functionality to perform encryption.
376
9952e40b
JB
3772011-04-01 Juanma Barranquero <lekktu@gmail.com>
378
379 * url-cookie.el (url-cookie-handle-set-cookie):
380 Use `dolist' rather than `mapcar'.
381
33383987
JB
3822011-03-07 Chong Yidong <cyd@stupidchicken.com>
383
384 * Version 23.3 released.
385
563790b6
TZ
3862011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
387
388 * url-parse.el (url-bit-for-url, url-user-for-url)
389 (url-password-for-url): Use `auto-source-search' instead of
390 `auto-source-user-or-password'.
391
392 * url-auth.el: Autoload `auto-source-search' instead of
393 `auto-source-user-or-password'.
394 (url-basic-auth, url-digest-auth, url-do-auth-source-search): Use it.
395
b301d174
LI
3962011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
397
6df6ae42
JB
398 * url-http.el (url-http-wait-for-headers-change-function):
399 Don't move point if the callback function has moved/changed/killed
400 the process buffer.
b301d174 401
10c1b751 4022010-12-16 Miles Bader <miles@gnu.org>
3cbc281e
MB
403
404 * url-cookie.el: Require 'cl when compiling -- it's necessary for
405 defstruct.
406
105a786f
GM
4072010-12-14 Glenn Morris <rgm@gnu.org>
408
409 * url-cookie.el: Don't require cl when compiling.
410 (url-cookie-clean-up, url-cookie-generate-header-lines): Use dolist.
411 (url-cookie-parse-file, url-cookie-store, url-cookie-retrieve)
412 (url-cookie-handle-set-cookie): Simplify.
413
f49d1f52 4142010-12-13 Chong Yidong <cyd@stupidchicken.com>
37bf6ce2
CY
415
416 * url-cookie.el (url-cookie-retrieve): Handle null LOCALPART.
417 Suggested by Lennart Borgman (Bug#7543).
418
023ec128
LMI
4192010-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
420
421 * url-file.el (url-file-build-filename): Avoid interpreting
422 file:/foo:/bar URLs via tramp.
423
7a9fc593
LMI
4242010-10-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
425
426 * url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.
427
b0e0b216
LMI
4282010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
429
430 * url-http.el (url-http-end-of-document-sentinel): Protect against
431 the process buffer being killed.
432
697ebdb0
LMI
4332010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
434
f49d1f52
SM
435 * url-http.el (url-http-wait-for-headers-change-function):
436 Protect against url-http-response-status for degenerate documents.
d23832a2
LMI
437 (url-http-wait-for-headers-change-function): Revert previous
438 change. It lead to really slow loads.
697ebdb0 439
5589b70e
GM
4402010-10-03 Glenn Morris <rgm@gnu.org>
441
442 * url-util.el (url-get-url-filename-chars): Don't eval-and-compile.
443 (url-get-url-at-point): Don't use eval-when-compile.
444
445 * url-cache.el (url-cache-create-filename-human-readable)
446 (url-cache-create-filename-using-md5):
447 * url-util.el (url-file-directory, url-file-nondirectory):
448 Don't use eval-when-compile and regexp-quote.
449
b39e2446
LMI
4502010-10-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
451
f49d1f52 452 * url-vars.el (url-mime-charset-string): Change the default to
b39e2446
LMI
453 nil to avoid sending 1171 bytes of not very useful data to the
454 HTTP server every request.
455
08b8ba9f
LMI
4562010-10-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
457
458 * url-util.el (url-display-percentage): Don't message when the URL
459 is silent.
460 (url-lazy-message): Ditto.
573a83b8 461 (url-lazy-message): Remove leftover debugging code.
08b8ba9f
LMI
462
463 * url-http.el (url-http-parse-headers): Pass the SILENT parameter
464 back to the fetching function.
465
466 * url.el (url-retrieve): Add a silent parameter.
467 (url-retrieve-internal): Ditto.
468
469 * url-parse.el (url): Add a `silent' slot in the URL struct.
470
6ca26f1d
LMI
4712010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
472
6df6ae42
JB
473 * url-cookie.el (url-cookie-handle-set-cookie): Use url-lazy-message
474 for the cookie warning, which isn't very interesting.
82b9f9f5 475
6ca26f1d
LMI
476 * url-http.el (url-http-async-sentinel): Check that the buffer is
477 still alive before switching to it.
478
cbdd0d58
JD
4792010-09-25 Julien Danjou <julien@danjou.info>
480
481 * url-cache.el (url-cache-create-filename): Ensure no-port and
482 default-port end up with the same cache file.
483 (url-cache-create-filename-human-readable)
484 (url-cache-create-filename-using-md5): Argument is always in the form of
485 a string now.
486
266a86bd 4872010-09-23 Glenn Morris <rgm@gnu.org>
7ee54def
GM
488
489 * url-cache.el (url-is-cached): Doc fix.
490
48ff1664
GM
4912010-09-23 Glenn Morris <rgm@gnu.org>
492
493 * url-cache.el (url-cache-expired): Don't autoload.
494 Tweak previous change.
97161df8 495 (url-cache-expire-time): Doc fix.
48ff1664 496
18d68e52
JD
4972010-09-23 Julien Danjou <julien@danjou.info>
498
499 * url-cache.el (url-cache-expire-time): New option.
500 (url-cache-expired): Rewrite.
501
50e4f0bf
JD
5022010-09-19 Julien Danjou <julien@danjou.info>
503
504 * url-cache.el (url-fetch-from-cache): New function.
505
b0fd24c8
JD
5062010-09-18 Julien Danjou <julien@danjou.info>
507
77413977 508 * url-vars.el (url-cache-expired): Remove unused variable.
b0fd24c8 509
6664fc59 5102010-09-14 Julien Danjou <julien@danjou.info>
6f6dc4da 511
2f5e7c6f
GM
512 * url-cache.el (url-store-in-cache):
513 Make `buff' argument really optional.
6f6dc4da 514
6664fc59 5152010-09-14 Glenn Morris <rgm@gnu.org>
c4ae64d1
GM
516
517 * url-cookie.el (url-cookie-expired-p): Tweak previous change.
518
6664fc59 5192010-09-14 shawn boles <shawn.boles@gmail.com> (tiny change)
966bb6c0 520
521 * url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
522
a5cda60e
GM
5232010-09-11 Glenn Morris <rgm@gnu.org>
524
525 * url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
526 * url-vars.el: Remove leading `*' from defcustom docs.
527
0ed082fe 5282010-07-27 Michael Albinus <michael.albinus@gmx.de>
c48763bb 529
2f5e7c6f 530 * url-http.el (url-http-parse-headers): Disable file name handlers at
c48763bb
MA
531 all (not only Tramp). (Bug#6717)
532
0ed082fe 5332010-07-27 Michael Albinus <michael.albinus@gmx.de>
4ac3a65c 534
2f5e7c6f 535 * url-http.el (url-http-parse-headers): Disable Tramp. (Bug#6717)
4ac3a65c 536
e4f6153f
MH
5372010-07-01 Mark A. Hershberger <mah@everybody.org>
538
539 * url-http.el (url-http-create-request): Add a CRLF on the end so
6df6ae42 540 that POSTs with content to https URLs work.
f49d1f52 541 See <https://bugs.launchpad.net/mediawiki-el/+bug/540759>
e4f6153f 542
04c23739
MH
5432010-06-22 Mark A. Hershberger <mah@everybody.org>
544
545 * url-parse.el (url-user-for-url, url-password-for-url):
6df6ae42 546 Convenience functions that get usernames and passwords for URLs
04c23739
MH
547 from auth-source functions.
548
7fb277a9
Å N
5492010-06-12 Štěpán Němec <stepnem@gmail.com> (tiny change)
550
551 * url-vars.el (url-privacy-level): Fix doc typo. (Bug#6406)
552
c3bb441d
SM
5532010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
556
61a808e8
CY
5572010-05-07 Chong Yidong <cyd@stupidchicken.com>
558
559 * Version 23.2 released.
560
56eb0904
SM
5612010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
562
563 * url-dired.el (url-dired-minor-mode): Use define-minor-mode.
564
89734fb6
TZ
5652010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
566
567 * url-http.el (url-http-parse-headers): Fix wrong variable name.
568
1e9d758c
TZ
5692010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
570
571 * url-http.el (url-http-codes): New variable to hold a mapping of
572 HTTP status codes' numbers, their symbolic name, and their text.
573 (url-http-parse-headers): Use it, leaving the original numeric
574 code in a comment.
575
aa8f8277
GM
5762010-03-19 Glenn Morris <rgm@gnu.org>
577
578 * url.el: Move mailcap require earlier in the file.
579
eba5b4dd
CY
5802010-03-12 Chong Yidong <cyd@stupidchicken.com>
581
26f4b8ab 582 * url-vars.el (url): Put in comm group.
eba5b4dd 583
288f9fc0
CY
5842010-03-10 Chong Yidong <cyd@stupidchicken.com>
585
586 * Branch for 23.2.
587
e17d428f
CY
5882010-01-23 Chong Yidong <cyd@stupidchicken.com>
589
590 * url-util.el: Require url-vars (Bug#5459).
591
c074ba4a
SM
5922009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
593
594 * url-parse.el (url-generic-parse-url): Bind deactivate-mark.
595
c98f55ca
CY
5962009-11-08 Kai Tetzlaff <kai.tetzlaff@web.de> (tiny change)
597
598 * url-http.el (url-http-handle-authentication): Use proxy server,
599 if any, for authentication (Bug#4883).
600
937e6a56
SM
6012009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
602
603 * url-util.el (url-insert-entities-in-string):
604 * url-nfs.el (url-nfs-unescape):
605 * url-ldap.el (url-ldap):
606 * url-imap.el (url-imap):
607 * url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
608
f9c9a239
GM
6092009-10-01 Glenn Morris <rgm@gnu.org>
610
611 * url-http.el (url-dav-file-attributes): Fix declaration.
612
120812a0
CY
6132009-09-13 Chong Yidong <cyd@stupidchicken.com>
614
615 * url-handlers.el (url-copy-file): Add fifth arg for compatibility
616 with 2005-06-25 change to copy-file (Bug#4410).
617
4f0f48df
GM
6182009-09-13 Glenn Morris <rgm@gnu.org>
619
620 * url-file.el (url-file): Avoid assignment to free variable `filename'.
621
63255710
CY
6222009-09-12 Chong Yidong <cyd@stupidchicken.com>
623
624 * url-methods.el (url-scheme--registering-proxy): New variable.
0235128c
SM
625 (url-scheme-register-proxy, url-scheme-get-property):
626 Avoid calling url-scheme-register-proxy in an infloop (Bug#4191).
63255710 627
3f12e3f4
GM
6282009-08-22 Glenn Morris <rgm@gnu.org>
629
630 * url-file.el (url-file-build-filename):
631 * url-privacy.el (url-setup-privacy-info): Remove code for defunct
632 system-types Apple-Macintosh, emx, ms-windows, next-mach.
633
70243478
CY
6342009-06-21 Chong Yidong <cyd@stupidchicken.com>
635
636 * Branch for 23.1.
637
d696b0d5
SM
6382009-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
639
640 * url-handlers.el (url-file-handler): Save match data.
641
db922cc0
JR
6422009-02-21 Jason Rumney <jasonr@gnu.org>
643
644 * url-expand.el (url-default-expander): Use concat to combine
5ce6e4f4 645 parts. (Bug #1020)
db922cc0 646
f0cfa8f0
GM
6472009-02-10 Glenn Morris <rgm@gnu.org>
648
649 * url-util.el (url-generate-unique-filename): Silence compiler.
650
64594ef9
CY
6512009-02-07 Chong Yidong <cyd@stupidchicken.com>
652
653 * url-file.el (url-file): Use make-temp-file.
654
655 * url-util.el (url-generate-unique-filename): Mark as obsolete.
656
657 * url-vars.el (url-temporary-directory): Mark as obsolete.
658
200c0424
CY
6592009-01-15 Chong Yidong <cyd@stupidchicken.com>
660
68fe704b 661 * url-cookie.el (url-cookie-retrieve): Fix last change.
200c0424 662
26343c7f
CY
6632009-01-14 Chong Yidong <cyd@stupidchicken.com>
664
665 * url-cookie.el (url-cookie-retrieve): Handle null localpart.
666
d9e52e92
JB
6672009-01-13 Juanma Barranquero <lekktu@gmail.com>
668
669 * url-util.el (url-truncate-url-for-viewing): Doc fix.
670
78892d1b
GM
6712009-01-09 Glenn Morris <rgm@gnu.org>
672
673 * url-cid.el (url-cid-gnus): Fix typo in header name.
674
92066e83
CY
6752008-11-04 Chong Yidong <cyd@stupidchicken.com>
676
677 * url-util.el (url-basepath): Add url-basepath as an alias for
678 url-file-directory.
679
d6c180c4
JB
6802008-10-24 Juanma Barranquero <lekktu@gmail.com>
681
682 * url.el (url-configuration-directory): Use `locate-user-emacs-file'.
683
3b4df550
CY
6842008-10-20 İsmail Dönmez <ismail@namtrac.org> (tiny change)
685
686 * url-auth.el (url-basic-auth): Encode password string.
687
e77e9cf4
GM
6882008-08-30 Glenn Morris <rgm@gnu.org>
689
690 * url-http.el (url-https-expand-file-name): Resolve directly to
691 url-default-expander rather than via another alias.
692 (url-default-expander): Autoload an autoload. (Bug#825).
693
d1ce47b0
JB
6942008-07-02 Juanma Barranquero <lekktu@gmail.com>
695
696 * url.el (url-do-setup):
697 * url-dired.el (url-dired-minor-mode):
698 * url-file.el (url-file-find-possibly-compressed-file):
699 * url-gw.el (url-gateway-broken-resolution):
700 * url-handlers.el (url-handler-regexp):
701 * url-imap.el (url-imap-default-port):
702 * url-methods.el (url-scheme-get-property): Fix typos in docstrings.
703
704 * url-auth.el (url-basic-auth-storage, url-digest-auth):
705 Fix typos in docstrings.
706 (url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
707
708 * url-cache.el (url-cache-prepare): Doc fix.
709 (url-cache-create-filename-human-readable, url-cache-extract):
710 Fix typos in docstrings.
711
712 * url-dav.el (url-intersection, url-dav-iso8601-regexp)
713 (url-dav-delete-something): Fix typos in docstrings.
714 (url-dav-http-success-p, url-dav-file-name-all-completions)
715 (url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
716
717 * url-http.el (url-http-idle-sentinel): Doc fix.
718
719 * url-irc.el (url-irc-default-port): Fix typo in docstring.
720 (url-irc-function): Doc fix.
721
722 * url-util.el (url-get-url-filename-chars, url-unhex-string):
723 Fix typos in docstrings.
724 (url-file-extension): Doc fix.
725
726 * url-vars.el (url-current-object, url-current-mime-headers)
727 (url-privacy-level, url-mail-command, url-mime-language-string):
728 Fix typos in docstrings.
729 (url-honor-refresh-requests): Reflow docstring.
730 (url-using-proxy): Doc fix.
731
0b5c4225
DN
7322008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
733
734 * vc-dav.el: Move to the parent directory to be together with the
735 rest of the VC backends.
736
8705576e
GM
7372008-06-07 Glenn Morris <rgm@gnu.org>
738
739 * url-auth.el (auth-source-user-or-password): Remove unnecessary
740 eval-and-compile.
741
a118b59b
SM
7422008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
743
744 * url-handlers.el (url-file-name-completion): Add missing argument.
745
97d1c236
TZ
7462008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
747
ba60bd44 748 * url-auth.el: Add autoload cookie for `auth-source-user-or-password'.
97d1c236
TZ
749 (url-basic-auth, url-digest-auth): Use it with any realm,
750 overriding the user name and password before the prompt.
751
c385aa1a
JB
7522008-04-28 Juanma Barranquero <lekktu@gmail.com>
753
754 * url-vars.el (url-load-hook): Fix typo in docstring.
755
84f089d3
MH
7562008-03-09 Magnus Henoch <mange@freemail.hu>
757
758 * url-http.el (url-http-chunked-encoding-after-change-function):
a628ad9d 759 Remove superfluous CRLF at end of file. (Bug #42)
84f089d3 760
26d72be8
AS
7612008-03-02 Andreas Schwab <schwab@suse.de>
762
763 * url-util.el: Require cl when compiling.
764
d626f888
TZ
7652008-02-28 Teodor Zlatanov <tzz@lifelogs.com>
766
ba60bd44
JB
767 * url-util.el (url-get-normalized-date): Simplify to use
768 `format-time-string'. Always generate date in UTC, but
d626f888
TZ
769 call it GMT for full compatibility with the RFCs.
770
a9f31e3d
MA
7712008-02-06 Michael Albinus <michael.albinus@gmx.de>
772
773 * url-handlers.el (file-remote-p): Add handler.
774 (url-handler-file-remote-p): New fun.
775
791fe182
SM
7762008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
777
778 * url-handlers.el (url-handler-unhandled-file-name-directory):
779 Handle `file' URLs specially. Return nil for non-local filenames.
780
b72ef564
MH
7812008-02-04 Magnus Henoch <mange@freemail.hu>
782
783 * url-expand.el: Require cl when compiling, for setf.
784
e652840b
JW
7852008-01-29 John Wiegley <johnw@newartisans.com>
786
787 * url-auth.el (url-digest-auth): If the 'opaque' argument is not
788 being used, don't add it to the response text. Also, changed an
789 if so that the interaction between the PROMPT and OVERWRITE
790 arguments can no longer result in the user being queried twice for
791 the same login and password information.
792
ce4059ee
SM
7932008-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
794
795 * url-handlers.el (unhandled-file-name-directory): Add handler.
796 (url-handler-unhandled-file-name-directory): New fun.
797
80e4b01d
MA
7982008-01-07 Michael Albinus <michael.albinus@gmx.de>
799
800 * url-handlers.el (url-file-handler): Autoload.
801
9824ded5
GM
8022007-12-11 Glenn Morris <rgm@gnu.org>
803
804 * url.el (url-configuration-directory): Make it a defcustom.
805
806 * url-util.el (url-make-private-file): New function.
807 * url-cookie.el (url-cookie-write-file):
808 * url-history.el (url-history-save-history):
809 Use url-make-private-file and with-temp-buffer.
810
40234eaf
GM
8112007-12-06 Glenn Morris <rgm@gnu.org>
812
813 * url-file.el, url-mailto.el: Remove directory part from filenames
814 in function declarations.
815
24030ea3
GM
8162007-12-02 Glenn Morris <rgm@gnu.org>
817
e05b1e72
GM
818 * url-about.el, url-handlers.el: Don't require cl when compiling.
819
820 * url-dav.el (url-dav-delete-directory): Fix message typo.
821
822 * url-history.el (top-level): Don't require cl when compiling.
823 (url-history-setup-save-timer, url-history-save-history):
824 Use condition-case rather than ignore-errors.
825
826 * url-imap.el (top-level): Don't require cl when compiling.
827 (url-imap): Use signal rather than check-type.
828
24030ea3
GM
829 * url-news.el (top-level): Don't require cl when compiling.
830 (gnus-group-buffer): Define for compiler.
831 (url-news-fetch-message-id): Don't use `declare'.
832 (nntp-open-tls-stream, nntp-open-ssl-stream):
833 No need to define for compiler.
834 (url-snews): Use nntp-open-tls-stream unless ssl is requested.
c2bf6d2c 835 Correct quoting of nntp-open-connection-function value.
24030ea3 836
29c7eba8
GM
8372007-12-01 Glenn Morris <rgm@gnu.org>
838
839 * url-handlers.el (top-level): Always require url-parse, not just
840 when compiling.
841
36176341
GM
8422007-11-30 Glenn Morris <rgm@gnu.org>
843
844 * url-cookie.el (url-cookie-p): Declare as a function.
845
0bd90741
GM
8462007-11-29 Glenn Morris <rgm@gnu.org>
847
848 * url-file.el (url-file-build-filename, url-file): Wrap uses of
849 efs in (featurep 'xemacs) test.
850
851 * url-irc.el (zenirc, zenirc-send-line): Declare as functions.
852
7ba1d5ae
GM
8532007-11-28 Diane Murray <disumu@x3y2z1.net>
854
855 * url-dired.el: Don't require w3-fetch and w3-open-local.
c385aa1a 856 (url-dired-find-file): Use `find-file'. Doc fix.
7ba1d5ae
GM
857 (url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
858
9f34397d
GM
8592007-11-24 Glenn Morris <rgm@gnu.org>
860
861 * url-privacy.el (url-device-type): Fix typo.
862
153ef845
DN
8632007-11-20 Dan Nicolaescu <dann@ics.uci.edu>
864
865 * url-mailto.el (mail-send-and-exit):
866 * url-http.el (url-dav-file-attributes):
d4aa48db 867 * url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal)
6d00e226
DN
868 (url-generate-unique-filename): Declare as functions.
869
153ef845
DN
870 * url-privacy.el (url-device-type): Define unconditionally.
871
9ffb9521
RS
8722007-11-15 Richard Stallman <rms@gnu.org>
873
874 * url.el (url-retrieve-synchronously): Call delete-process.
875
3a47bb3e
JB
8762007-10-31 Juanma Barranquero <lekktu@gmail.com>
877
878 * url-vars.el (url-vars-unload-hook): Remove function and variable.
879 Hooks are automatically removed by `unload-feature'.
880
4148f522
RS
8812007-10-13 Richard Stallman <rms@gnu.org>
882
883 * url-util.el (url-basepath): Function deleted.
884 (url-file-directory, url-file-nondirectory): New functions
885 replacing url-basepath. Callers changed.
886
887 * url-expand.el (url-default-expander): Use `url-file-directory'.
888
889 * url-auth.el (url-digest-auth, url-basic-auth):
890 Rename `path' to `file'. Use `url-file-directory'.
891
3aa491bc
GM
8922007-10-12 Diane Murray <disumu@x3y2z1.net>
893
894 * url-auth.el (url-basic-auth): Set path to "/" when URL has an
2a5be7dc 895 empty string filename.
3aa491bc 896
d1d80b80
RS
8972007-10-09 Richard Stallman <rms@gnu.org>
898
899 * url-parse.el (url-type, url-user, url-password, url-host)
900 (url-port, url-filename, url-target, url-attributes)
901 (url-fullness, url-set-type, url-set-user, url-set-password)
902 (url-set-host, url-set-port, url-set-filename, url-set-target)
903 (url-set-attributes, url-set-full): Change macros to defuns.
904
259b63b4
JB
9052007-09-26 Juanma Barranquero <lekktu@gmail.com>
906
907 * url-dav.el (top):
908 * url-vars.el (top): Use `mapc' rather than `mapcar'.
909
8a35aa36
GM
9102007-09-22 Diane Murray <disumu@x3y2z1.net>
911
912 * url-misc.el (url-generic-emulator-loader): Send the port as a
2a5be7dc 913 string to `url-do-terminal-emulator'.
8a35aa36 914
965d1f0e
GM
9152007-09-21 Diane Murray <disumu@x3y2z1.net>
916
3a47bb3e 917 * url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus method.
d01b3550 918
965d1f0e
GM
919 * url-util.el (url-get-normalized-date): Pass full timezone
920 information to timezone-make-date-arpa-standard, since zone name
921 may be unknown.
922
72f25299
GM
9232007-09-03 Diane Murray <disumu@x3y2z1.net>
924
0f71f9da 925 * url-http.el (url-http-parse-headers): Bind the current buffer
72f25299
GM
926 rather than calling `url-mark-buffer-as-dead' with
927 `current-buffer', so that the correct buffer is killed if
928 `url-retrieve-synchronously' gets redirected to a new URL.
929
d18ec89f
SM
9302007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
931
932 * url-parse.el (url): Use defstruct rather than macros.
933 (url-generic-parse-url):
934 * url-util.el (url-normalize-url, url-truncate-url-for-viewing):
935 * url-methods.el (url-scheme-register-proxy):
936 * url-mailto.el (url-mailto):
937 * url-file.el (url-file-build-filename):
938 * url-expand.el (url-identity-expander, url-default-expander):
939 Update all callers.
940
0f71f9da
JB
9412007-08-09 Edward O'Connor <hober0@gmail.com> (tiny change)
942
943 * url-auth.el (url-basic-auth): When prompting for username
944 and password, default to the username and password in the URL.
945
df26688b
GM
9462007-08-08 Glenn Morris <rgm@gnu.org>
947
948 * url-auth.el, url-cache.el, url-dav.el, url-file.el, vc-dav.el:
949 Replace `iff' in doc-strings and comments.
950
cacc7b51
GM
9512007-07-25 Glenn Morris <rgm@gnu.org>
952
953 * Relicense all FSF files to GPLv3 or later.
954
c0ed4c23
CY
9552007-06-12 Tom Tromey <tromey@redhat.com>
956
957 * url.el (url-configuration-directory): Use user-emacs-directory.
958
495fa7db
SM
9592007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
960
961 * url-cookie.el (url-cookie-name, url-cookie-value)
962 (url-cookie-expires, url-cookie-localpart, url-cookie-domain)
963 (url-cookie-secure, url-cookie-set-name, url-cookie-set-value)
964 (url-cookie-set-expires, url-cookie-set-localpart)
965 (url-cookie-set-domain, url-cookie-set-secure)
966 (url-cookie-retrieve-arg, url-cookie-create, url-cookie-p): Remove.
967 (url-cookie): New struct.
968 (url-cookie-store): Use setf instead of url-cookie-set-*.
969
345c7f05
CY
9702007-05-29 Chong Yidong <cyd@stupidchicken.com>
971
972 * url-mailto.el (url-mailto): Insert body after
de74fffc 973 mail-header-separator if present, so that it is before signature.
345c7f05
CY
974 Suggested by Leo <sdl.web@gmail.com>.
975
5cfdb0fb
CY
9762007-04-15 Chong Yidong <cyd@stupidchicken.com>
977
978 * url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes.
979
f25a9946
CY
9802007-04-13 Chong Yidong <cyd@stupidchicken.com>
981
982 * url-http.el (url-http-parse-headers): Stop after a set number of
983 redirections. Suggested by Diane Murray.
984
985 * url-vars.el (url-max-redirections): New var.
986
60df22cc 9872007-04-01 Diane Murray <disumu@x3y2z1.net> (tiny change)
f3e30bd0
CY
988
989 * url-http.el (url-http-handle-cookies): Reverse list returned by
990 `mail-fetch-field', so that cookies are set in the correct order.
991
992 * url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
993 Deal with wildcard dots in domain values.
994
fd1e2cde
EZ
9952007-03-31 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
996
997 * url-http.el (url-http-mark-connection-as-busy)
998 (url-http-mark-connection-as-free): Clear query-on-exit flag on
999 idle connections.
1000
b3cd7f61
CY
10012007-02-04 Chong Yidong <cyd@stupidchicken.com>
1002
1003 * url-http.el (url-http-connection-opened): New variable.
1004 (url-http): Initialize it.
1005 (url-http-async-sentinel): Don't try changing sentinels.
1006 Run url-http-end-of-document-sentinel if necessary.
1007
8f77631e
JB
10082007-01-29 Juanma Barranquero <lekktu@gmail.com>
1009
1010 * url-auth.el (url-get-authentication): Fix typo in docstring.
1011
00d972eb
MH
10122007-01-14 Magnus Henoch <mange@freemail.hu>
1013
1014 * url-proxy.el (url-proxy-object): Remove.
1015 (url-proxy): Don't use `url-proxy-object'. Act according to type of
1016 proxy (currently only HTTP supported).
1017
1018 * url.el (url-retrieve-internal): Don't use `url-proxy-object'.
1019
1020 * url-http.el (url-http-proxy): New variable.
1021 (url-http-create-request): Use it. Don't use `url-proxy-object'.
1022 (url-http): Treat `url' argument as resource to download, and
f49d1f52
SM
1023 dynamic variable `url-using-proxy' as proxy to use.
1024 Set `url-current-object' to actual URL, and `url-http-proxy' to proxy
00d972eb
MH
1025 used.
1026 (url-http-handle-cookies): Assume that `url-current-object' does
1027 not point to the proxy used.
1028 (url-http-async-sentinel): Adapt error message.
1029
28e86dc4
JB
10302006-12-10 Juanma Barranquero <lekktu@gmail.com>
1031
1032 * url-gw.el (url-gateway-nslookup-program): Doc fix.
1033
b8976ce0
MH
10342006-12-08 Magnus Henoch <mange@freemail.hu>
1035
1036 * url-proxy.el (url-proxy-object): New variable.
1037 (url-proxy): Bind it instead of `proxy-object'.
1038
1039 * url-http.el (url-http-create-request): Remove url argument, use
f49d1f52
SM
1040 the buffer-local variable `url-http-target-url' instead.
1041 Both callers updated. Simplify proxy handling.
b8976ce0
MH
1042 (url-http): Don't make proxy-object buffer local.
1043
1044 * url.el (url-retrieve-internal): Bind url-proxy-object to nil.
1045
57babe17
MH
10462006-11-26 Magnus Henoch <mange@freemail.hu>
1047
f49d1f52
SM
1048 * url-http.el (url-http-wait-for-headers-change-function):
1049 Use `when' instead of `if' when possible.
b9b172ac
MH
1050 (url-http): Define url-http-response-version.
1051 (url-http-parse-response): Set it.
1052 (url-http-parse-headers): Use it to determine keep-alive behavior.
57babe17 1053
60df22cc 10542006-11-23 Diane Murray <disumu@x3y2z1.net> (tiny change)
48d2bac4 1055
f49d1f52
SM
1056 * url-http.el (url-http-content-length-after-change-function):
1057 Use `url-lazy-message'.
48d2bac4
MH
1058
1059 * url-util.el (url-display-percentage): Only show a message if
1060 `url-show-status' is non-nil.
1061
d58fae84
MH
10622006-11-15 Magnus Henoch <mange@freemail.hu>
1063
6e2988e6
MH
1064 * url-http.el (url-http): Make proxy-object buffer-local, to
1065 handle proxied asynchronous connections correctly.
1066
d58fae84
MH
1067 * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
1068
1ac3c910 10692006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
98325235 1070
1ac3c910
JB
1071 * url-http.el (url-http-wait-for-headers-change-function):
1072 Defer detection of HTTP 0.9 until we have at least one line.
98325235 1073
1ac3c910 10742006-11-10 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8529c21d
CY
1075
1076 * url-http.el (url-http-mark-connection-as-free)
1077 (url-http-find-free-connection): Don't treat process with status
1078 `connect' as free.
1079 (url-http-async-sentinel): Request correct url.
1080
947612be
MH
10812006-11-08 Magnus Henoch <mange@freemail.hu>
1082
385b64c5
MH
1083 * url-http.el (url-http-handle-authentication): If there are
1084 several authentication headers, use the strongest available
1085 method.
1086
947612be
MH
1087 * url.el (url-retrieve-synchronously): Allow quitting when
1088 inhibit-quit is t.
1089
1ac3c910 10902006-11-03 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8917392a
MH
1091
1092 * url-http.el (url-http-handle-authentication): If there are
1093 several authentication headers, use the first with a supported
1094 method.
1095
8ea88265
MH
10962006-11-01 Magnus Henoch <mange@freemail.hu>
1097
1098 * url-http.el (url-http-create-request): Use buffer-local
1099 equivalents of dynamically bound variables.
1100
080234b6
MH
11012006-10-29 Magnus Henoch <mange@freemail.hu>
1102
1103 * url-gw.el (url-open-stream): Really use asynchronous
1104 connections (accidentally disabled during debugging).
1105
ced20bfb
MH
11062006-10-28 Magnus Henoch <mange@freemail.hu>
1107
1108 * url-http.el (url-http-parse-headers): Fix misplaced paren.
1109
5695d1dd
CY
11102006-10-27 Magnus Henoch <mange@freemail.hu>
1111
1112 * url-http.el (url-http-mark-connection-as-free): Verify that
1113 connection is open before saving it.
1114 (url-http-handle-authentication): Use url-retrieve-internal
1115 instead of url-retrieve.
1116 (url-http-parse-headers): Adapt to new callback interface.
1117 (url-http): Handle non-blocking connections.
1118 (url-http-async-sentinel): Create.
1119
1120 * url.el (url-retrieve): Update docstring for new callback interface.
1121 Remove all code.
1122 (url-retrieve-internal): Move code from url-retrieve here.
1123
1124 * url-gw.el (url-open-stream): Use a non-blocking socket for
1125 `native' gateway method, if available.
1126
784f5416
MH
11272006-10-16 Magnus Henoch <mange@freemail.hu>
1128
1ac3c910
JB
1129 * url-http.el (url-https-create-secure-wrapper):
1130 Always use tls gateway method.
784f5416 1131
dfea17e0
MH
11322006-10-12 Magnus Henoch <mange@freemail.hu>
1133
1ac3c910
JB
1134 * url-http.el (url-http-find-free-connection):
1135 Handle url-open-stream returning nil.
dfea17e0 1136
9c51663a
MH
11372006-10-11 Magnus Henoch <mange@freemail.hu>
1138
1139 * url-https.el: Remove (clashes with url-http on 8+3 systems).
1140
1141 * url-http.el: Move contents of url-https.el here. Add autoloads.
1142
f6fb70fc
MH
11432006-10-09 Magnus Henoch <mange@freemail.hu>
1144
1145 * url-parse.el (url-generic-parse-url): Handle URLs with empty
1146 path component and non-empty query component. Untangle path,
1147 query and fragment parsing code. Add references to RFC 3986 in
1148 comments.
c385aa1a 1149 (url-recreate-url-attributes): Start query string with "?", not ";".
f6fb70fc 1150
162fbe11
SM
11512006-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1152
1153 * url-dav.el (url-dav-file-attributes): Simplify.
1154
1155 * url-http.el (url-http-head-file-attributes): Add device "info".
1156
f316efd9
MB
11572006-09-18 Michael Olson <mwolson@gnu.org>
1158
1159 * url-methods.el (url-scheme-register-proxy): Handle case where
1160 getenv returns an empty string for http_proxy. This prevents an
1161 error when calling `format' later on.
1162
60df22cc 11632006-08-31 Diane Murray <disumu@x3y2z1.net> (tiny change)
7660c02f 1164
c2a7ddb1
SM
1165 * url-parse.el (url-recreate-url-attributes): New function, code
1166 simply moved from `url-recreate-url'.
1167 (url-recreate-url): Use it.
1168 Put the `url-target' at the end of the URL after the attributes.
1169
1170 * url-http.el (url-http-create-request):
1171 Use `url-recreate-url-attributes' when setting real-fname.
1172
60df22cc 11732006-08-29 Diane Murray <disumu@x3y2z1.net> (tiny change)
c2a7ddb1
SM
1174
1175 * url-cookie.el (url-cookie-write-file): Really don't use versioned
1176 backups.
7660c02f 1177
d0f891a7
SM
11782006-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
1179
1180 * url-handlers.el (url-file-local-copy): Tell url-copy-file that the
1181 dest file will already exist.
1182
07e9b3f0
SM
11832006-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
1184
1185 * url-util.el (url-hexify-string): Only utf-8 encode if it's
1186 a multibyte string.
1187 (url-normalize-url): Remove unused var `grok'.
1188 (url-truncate-url-for-viewing): Remove unused var `tail'.
1189
ecfbb488
TTN
11902006-07-30 Thien-Thi Nguyen <ttn@gnu.org>
1191
1192 * url-util.el (url-hexify-string): Rewrite.
1193 Suggested by David Smith <davidsmith@acm.org>.
1194
0b6bb130
MB
11952006-07-12 Michael Olson <mwolson@gnu.org>
1196
1197 * url-irc.el (url-irc-erc): Call erc-handle-irc-url.
1198
bc684c16
SM
11992006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1200
1201 * url-cookie.el: Remove spurious * in docstrings.
1202 (url-cookie-write-file): Don't use versioned backups.
1203 (url-cookie-host-can-set-p): Remove unused var `tmp'.
1204
3d3a26eb 12052006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
bc684c16
SM
1206
1207 * url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
1208 (url-cookie-write-file): Reset url-cookies-changed-since-last-save.
1209
d10a6bf1
RS
12102006-05-12 Reiner Steib <Reiner.Steib@gmx.de>
1211
1212 * url-http.el (url-http-file-exists-p): Test if status is integer.
1213
3d3a26eb 12142006-05-05 Andreas Seltenreich <seltenreich@gmx.de>
3dfed653
EZ
1215
1216 * url-http.el (url-http-parse-headers): Don't reuse connection if
1217 "Connection: close" header was seen.
1218
351b838f
SM
12192006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1220
1221 * url-gw.el (url-open-stream): Don't hide errors.
1222 (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
1223
1224 * url-handlers.el (url-insert): New function.
1225 (url-insert-file-contents): Use it.
1226
bdba217b
SM
12272006-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1228
1229 * url-handlers.el (url-handler-directory-file-name): New handler.
1230 (url-file-local-copy): Plug race condition security hole.
1231
7608c40c
RF
12322006-03-27 Romain Francoise <romain@orebokech.com>
1233
1234 * url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
1235 (url-irc-function): Add rcirc and ERC to the list of IRC clients.
1236 Default to rcirc, since ZenIRC isn't part of Emacs.
1237
bedeb7fd
SM
12382006-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
1239
1240 * url-http.el (url-http-find-free-connection): Fix braino in last fix.
1241
8dff56de
SM
12422006-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
1243
1244 * url-http.el (url-http-find-free-connection): Don't kill the process
1245 when killing the temp buffer.
1246 (url-http-symbol-value-in-buffer): Massage to make it clear to the
1247 byte-compiler that the function is defined.
1248
9b4cf231
SM
12492006-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1250
1251 * url.el (url-redirect-buffer): New var.
1252 (url-retrieve-synchronously): Use it to follow redirections.
1253
1254 * url-http.el: Require `url' rather than try to autoload parts of it.
1255 (url-http-find-free-connection): `url-open-stream' needs a real buffer.
1256 (url-http-parse-headers): Set `url-redirect-buffer' when following
1257 a redirection reply.
1258
81cafdfe
SM
12592006-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1260
1261 * url-news.el: Move defvars out of eval-when-compile.
1262 (url-news-fetch-message-id, url-news-fetch-newsgroup):
1263 Use with-current-buffer.
1264
5dc3ceeb
SM
12652006-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1266
e7ea7cac
SM
1267 * url.el (url-retrieve-synchronously): Adjust the workaround so as not
1268 to stop in the middle of a redirection.
1269
5dc3ceeb
SM
1270 * url-vars.el (url-privacy-level): Add setter.
1271
72a30be4
SM
12722006-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
1273
176c99dc
SM
1274 * url-history.el (url-history-hash-table): Initialize in declaration.
1275 (url-history-parse-history): Don't reset the history.
1276 (url-history-save-history): Create parent dir if necessary.
1277 (url-history-save-history): Don't write the initialization of
1278 url-history-hash-table into the history file.
9b4cf231 1279 (url-have-visited-url): Simplify since url-history-hash-table isn't nil.
176c99dc
SM
1280 (url-completion-function): Simplify.
1281
72a30be4
SM
1282 * url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
1283 (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
1284 (url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
1285 (url-cookie-setup-save-timer): Remove autoload cookies.
1286 They're only called from files that require url-cookie anyway.
1287
1288 * url-history.el (url-history-setup-save-timer)
1289 (url-history-parse-history, url-history-save-history):
1290 Remove autoload cookies. They're only called from url.el which requires
1291 url-history anyway.
1292 (url-history-parse-history): Don't complain if the file is missing.
1293
55262b16
SM
12942006-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1295
1296 * url-handlers.el (url-retrieve-synchronously): Don't autoload.
1297
1298 * url.el (url-retrieve, url-retrieve-synchronously): Autoload.
1299
1300 * url-cache.el: Require `url'.
1301
d476efde
SM
13022005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1303
32d5ce4d
SM
1304 * url-cache.el (url-store-in-cache): Use save-current-buffer.
1305
d476efde
SM
1306 * url.el (url-configuration-directory): Don't autoload because the
1307 default value needs to be computed at run-time, not dump-time.
1308
32fa5844
SM
13092005-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
1310
1311 * url-cookie.el (url-cookie-write-file): Create parent dir.
1312
1313 * url.el (url-configuration-directory): Use ~/.emacs.d if possible.
1314
0c069924
RS
13152005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1316
1317 * url-cookie.el (url-cookie-save-interval): Simplify.
1318 (url-cookie-setup-save-timer): Simplify.
1319
8553120c
RS
13202005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1321
1322 * url-history.el (url-history-list): Var deleted.
1323 (url-history-save-interval): Simplify.
1324 (url-history-setup-save-timer): Simplify.
1325
b0ab1a06
KS
13262005-12-01 Kim F. Storm <storm@cua.dk>
1327
1328 * url-history.el (url-history-track): Fix last change.
1329
1942d6cc
RS
13302005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1331
1332 * url-history.el (url-history-track):
1333 Call url-history-setup-save-timer in :set function.
1334 :type allows three alternatives.
1335 (url-history-setup-save-timer): Test url-history-track.
1336 * url.el (url-retrieve): Test url-history-track.
1337
12f1edc8
SM
13382005-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1339
1340 * url-http.el: Use with-current-buffer.
1341 (url-http-target-url): Rename from url-http-cookies-sources.
1342 (url-http-parse-headers): Use it.
1343 (url-http-handle-authentication): Use subst-char-in-string.
1344
2b1b005c 13452005-11-16 Jürgen Hötzel <emacs@hoetzel.info> (tiny change)
77f05e24
SM
1346
1347 * url-handlers.el (url-insert-file-contents): Use the charset info
1348 provided by the HTTP server, if any.
1349
ce13796f
EZ
13502005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change)
1351
77f05e24
SM
1352 * url-nfs.el (top level):
1353 * url-handlers.el (directory-files):
ce13796f 1354 * url-file.el (top level):
77f05e24 1355 * url-dired.el (url-dired-minor-mode-map):
ce13796f
EZ
1356 * url-http.el (url-http-chunked-encoding-after-change-function):
1357 Remove XEmacs support.
1358
a4684cb0
RS
13592005-10-15 Richard M. Stallman <rms@gnu.org>
1360
1361 * url.el: Don't try to autoload hash table functions.
1362
1430e7f9
SM
13632005-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1364
1365 * url-http.el (url-http-create-request): Avoid incorrect implicit
1366 unibyte->multibyte conversion.
1367
8ccd3630
RS
13682005-09-17 Richard M. Stallman <rms@gnu.org>
1369
1370 * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
1371
1372 * url-mailto.el (url-mailto): Special case `mail'.
1373 Don't test fboundp of `compose-mail'.
1374
b0742512
CY
13752005-09-15 Chong Yidong <cyd@stupidchicken.com>
1376
1377 * url-mailto.el (url-mailto): Delete mail buffer after sending
1378 autogenerated mail.
8ded3f47 1379 Call `compose-mail with `new' argument if possible.
b0742512 1380
c8359e8f
CY
13812005-09-13 Chong Yidong <cyd@stupidchicken.com>
1382
1383 * url-mailto.el (url-mailto): Always use a new mail buffer.
1384
6fd388f3
CY
13852005-09-01 Chong Yidong <cyd@stupidchicken.com>
1386
1387 * url-util.el (url-parse-query-string): New optional argument
1388 allow-newlines allows decoding of newlines.
1389
1390 * url-mailto.el (url-mailto): Allow newlines in URL arguments.
1391 Don't lose original "to" value when there is a "to" header.
1392 Remove carriage return characters in message body.
1393
26d874b2
JB
13942005-08-24 Juanma Barranquero <lekktu@gmail.com>
1395
1396 * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
1397 * url-http.el (url-http-cookies-sources): Defvar at compile time.
1398
dc524e8b
RS
13992005-07-15 Richard M. Stallman <rms@gnu.org>
1400
1401 * url-http.el (url-http-parse-headers): Add :redirect arg-pair
1402 when calling url-retrieve, to indicate a redirect.
1403
1404 * url.el (url-retrieve): The callback function can get an additional
1405 keyword arg pair.
1406
a0ec7a4a
LK
14072005-07-04 Lute Kamstra <lute@gnu.org>
1408
1409 Update FSF's address in GPL notices.
1410
59fda2fa
JB
14112005-07-04 Juanma Barranquero <lekktu@gmail.com>
1412
1413 * url-history.el (url-history-track): Doc fix.
1414 (url-history): Finish `defgroup' description with period.
1415
1416 * url-cookie.el (url-cookie):
1417 * url-gw.el (url-gateway):
1418 * url-news.el (url-news):
1419 * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
1420 Finish `defgroup' description with period.
1421
231add10
RS
14222005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1423
1424 * url-http.el (url-http-create-request): Call url-recreate-url
1425 in proxy case.
1426
e893ce91
RS
14272005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1428
1429 * url-http.el (url-http-create-request): When computing real-fname,
1430 call url-filename in both cases.
1431
14322005-06-27 Richard M. Stallman <rms@gnu.org>
1433
1434 * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
1435 (url-cookie-retrieve): Likewise.
1436 (url-cookie-generate-header-lines): Likewise.
1437 (url-cookie-handle-set-cookie): Likewise.
1438 (url-cookie-create): Expect :localpart instead of :path.
f49d1f52
SM
1439 (url-cookie-localpart): Rename from url-cookie-path.
1440 (url-cookie-set-localpart): Rename from url-cookie-set-path.
e893ce91
RS
1441 (url-cookie-file): Doc fix.
1442 (url-cookie-p): Add doc string.
1443
528b6abc
RS
14442005-06-23 Richard M. Stallman <rms@gnu.org>
1445
1446 * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
1447
23873c96
JB
14482005-06-21 Juanma Barranquero <lekktu@gmail.com>
1449
1450 * url-gw.el (url-open-stream):
1451 * url-vars.el (url-gateway-unplugged): Fix spellings.
1452
0b46b379
JB
14532005-06-14 Juanma Barranquero <lekktu@gmail.com>
1454
d6c180c4 1455 * url-history.el (url-completion-function): Follow error conventions.
0b46b379 1456
175384d1
SM
14572005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
1460
7f954571
SM
14612005-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1462
0090e048
SM
1463 * url-dav.el: Remove most autoload cookies.
1464 Don't hook into the url-file-handler since it currently breaks all
1465 non-HTTP URLs.
1466
7f954571
SM
1467 * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
1468
1469 * url.el (url-retrieve-synchronously): Don't exit precipitously when
1470 fetching a file via ange-ftp.
1471
466c78c0
JB
14722005-06-10 Juanma Barranquero <lekktu@gmail.com>
1473
7f954571 1474 * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
466c78c0 1475
93c8c9cd
JB
14762005-05-19 Juanma Barranquero <lekktu@gmail.com>
1477
1478 * url-cookie.el (url-cookie-multiple-line):
1479 Specify group and type in defcustom.
1480
216d3806
JB
14812005-05-06 Juanma Barranquero <lekktu@gmail.com>
1482
1483 * url-auth.el (url-register-auth-scheme):
1484 * url-cookie.el (url-cookie-expired-p):
1485 * url-dav.el (url-dav-process-date-property)
1486 (url-dav-process-boolean-property, url-dav-process-DAV:status):
1487 * url-http.el (url-http-chunked-encoding-after-change-function)
1488 (url-http-wait-for-headers-change-function):
1489 * url-ns.el (isInNet):
1490 * url-parse.el (url-generic-parse-url):
1491 * url-util.el (url-get-normalized-date): Replace `string-to-int'
1492 by `string-to-number'.
1493
799fba8f
SM
14942005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1495
1496 * url.el (url-retrieve-synchronously): Work around the fact that
1497 url-http sometimes doesn't call the callback.
1498
8c6ef2ca
LK
14992005-04-04 Lute Kamstra <lute@gnu.org>
1500
1501 * url-handlers.el (url-handler-mode): Specify :group.
1502
a6efc2c2
EZ
15032005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
1504
1505 * url-history.el (url-have-visited-url): Don't barf if
1506 url-history-hash-table is nil.
1507
134948fc
RS
15082005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
1509
1510 * url-http.el (url-http-parse-headers): Test url-automatic-caching.
1511
1a8461d3
EZ
15122005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1513
557724a8
EZ
1514 * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
1515 to nil, like for the 303 response.
1a8461d3 1516
944b2ab6
SM
15172005-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1518
1519 * url.el (url-retrieve-synchronously): Use accept-process-output rather
1520 than sit-for.
1521
e817f9a2
TTN
15222005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change)
1523
1524 * url-http.el (url-http-handle-authentication):
1525 Don't kill the current buffer.
1526
5007cdc9
SM
15272004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1528
1529 * url-handlers.el: Don't `require' everything eagerly.
1530
cacfe88b
AS
15312004-11-30 Paul Pogonyshev <pogonyshev@gmx.net>
1532
1533 * url-http.el (url-http-handle-cookies): Bind `url-current-object'
1534 to `url-http-cookies-sources' so that cookies are attributed to
1535 proper domain.
1536 (url-http): Make local variable `url-http-cookies-sources'.
1537
dc1a0a7a
AS
15382004-11-28 Andreas Schwab <schwab@suse.de>
1539
1540 * url-http.el (url-http-create-request): Don't add newline after
1541 the request data.
1542
14e25c87
MY
15432004-11-20 Masatake YAMATO <jet@gyve.org>
1544
1545 * url.el (url-mm-callback): Delay the invocation
1ac3c910 1546 of `mm-destroy-parts'. Invoke `mm-destroy-parts'
14e25c87
MY
1547 when the buffer is killed.
1548
de0234ea
MY
15492004-11-12 Masatake YAMATO <jet@gyve.org>
1550
5007cdc9 1551 * url-mailto.el (url-mailto): Fix a typo in the comment.
de0234ea 1552
60b5eb78
MY
15532004-11-02 Masatake YAMATO <jet@gyve.org>
1554
1555 * url-imap.el (url-imap-open-host): Don't use
1ac3c910 1556 `string-to-int'. The port returned by `url-port'
60b5eb78
MY
1557 is expected to be an integer.
1558
1559 * url-irc.el (url-irc): Ditto.
1560
1561 * url-news.el (url-news-open-host): Ditto.
1562
1563 * url-nfs.el (url-nfs-build-filename): Ditto.
1564
ed87225a
JPW
15652004-10-20 John Paul Wallington <jpw@gnu.org>
1566
1567 * url-gw.el (url-gateway-nslookup-host):
1568 Use `set-process-query-on-exit-flag'.
1569
2a6c7fe5
LH
15702004-10-10 Lars Hansen <larsh@math.ku.dk>
1571
4169c186
KS
1572 * url-auth.el:
1573 * url-cache.el:
1574 * url-cid.el:
1575 * url-dired.el:
1576 * url-expand.el:
1577 * url-ftp.el:
1578 * url-gw.el:
1579 * url-imap.el:
1580 * url-irc.el:
1581 * url-misc.el:
1582 * url-news.el:
1583 * url-ns.el:
1584 * url-privacy.el:
2a6c7fe5
LH
1585 * url-proxy.el: Update header and footer.
1586
1587 * url-vars.el: Update header.
1588
c2e2ede7
RS
15892004-10-16 Richard M. Stallman <rms@gnu.org>
1590
1591 * url.el (url-do-setup): Don't set url-passwd-entry-func.
1592
1593 * url-vars.el (url-passwd-entry-func): Var deleted.
1594 (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
5007cdc9
SM
1595 (url-weekday-alist): Rename from weekday-alist.
1596 (url-monthabbrev-alist): Rename from monthabbrev-alist.
c2e2ede7
RS
1597 (url-vars-unload-hook): Initialize hook var to hold the function.
1598
5007cdc9
SM
1599 * url-util.el (url-get-normalized-date): Use url-weekday-alist and
1600 url-monthabbrev-alist.
c2e2ede7
RS
1601
1602 * url-misc.el: Load cl at compile time.
1603
1604 * url-mailto.el: Don't load cl.
1605 (url-mailto): Fix call to `push'.
1606
1607 * url-gw.el (url-open-telnet): Use read-passwd.
1608
1609 * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
1610
3bb53a84
SJ
16112004-10-12 Simon Josefsson <jas@extundo.com>
1612
1613 * url-vars.el (url-gateway-method): Add new method `tls'.
1614
1615 * url-news.el (url-snews): Use nntp-open-tls-stream if
1616 url-gateway-method is tls.
1617
5007cdc9
SM
1618 * url-ldap.el (url-ldap-certificate-formatter):
1619 Use tls-certificate-information if ssl.el is not available.
3bb53a84
SJ
1620
1621 * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
1622 is not available.
1623
1624 * url-gw.el (url-open-stream): Support tls url-gateway-method.
1625 (url-open-stream): Likewise.
1626
df41da5e
LH
16272004-10-10 Lars Hansen <larsh@math.ku.dk>
1628
4169c186
KS
1629 * url-auth.el:
1630 * url-cache.el:
1631 * url-cookie.el:
1632 * url-dired.el:
1633 * url-file.el:
1634 * url-ftp.el:
1635 * url-handlers.el:
1636 * url-history.el:
1637 * url-irc.el:
1638 * url-mailto.el:
1639 * url-methods.el:
1640 * url-misc.el:
1641 * url-news.el:
1642 * url-nfs.el:
1643 * url-parse.el:
1644 * url-privacy.el:
1645 * url-vars.el:
1646 * url.el:
df41da5e
LH
1647 * url-util.el: Fix copyright notice.
1648
ccd59305
SM
16492004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1650
1651 * url-handlers.el (url-insert-file-contents): Use the URL to decide the
1652 encoding, not the buffer-file-name (which might not even exist).
1653
d4fdad60
SM
16542004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1655
1656 * url-handlers.el (url-insert-file-contents): Decode contents.
1657
10a6e6ba
SM
16582004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1659
1660 * url-util.el (url-debug): Use with-current-buffer.
1661
1662 * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
1663 (url-nfs-create-wrapper): Use new backquote syntax.
1664
1665 * url-https.el (url-https-file-attributes): Add id-format param.
1666
1667 * url-http.el (url-http-head-file-attributes)
1668 (url-http-file-attributes): Add id-format parameter.
1669
1670 * url-handlers.el: Use new find-file-hook.
1671 (url-file-attributes): Add id-format parameter.
1672
1673 * url-file.el (url-file-create-wrapper): Use new backquote syntax.
1674 (url-file-file-attributes): Add id-format parameter.
1675
1676 * url-dav.el: Use with-current-buffer.
1677 (url-dav-process-response): Fix regexps and spurious quote.
1678 (url-dav-file-attributes): Add id-format param.
1679
16802004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1681
1682 * url.el (url-retrieve): Use with-current-buffer.
1683
1684 * url-http.el (url-http-parse-headers, url-http-file-exists-p):
1685 Remove unused var `version'.
1686
1687 * url-handlers.el (url-handler-mode): New minor mode.
1688 (url-setup-file-name-handlers): Remove.
1689
16902004-04-12 John Paul Wallington <jpw@gnu.org>
1691
1692 * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
1693 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
1694
16952004-04-11 Dave Love <fx@gnu.org>
1696
1697 * url-mailto.el (url-mailto):
1698 * url-history.el (url-history-setup-save-timer):
1699 * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
1700
1701 * url-file.el (url-file-build-filename): Don't use
1702 directory-sep-char.
1703
1704 * url-auth.el (url-register-auth-scheme): Fix `format' call.
1705
1706 * url-about.el (url-scheme-registry): Defvar.
1707 (url-about): Use text/plain.
1708
1709 * url-vars.el (cl): Don't require.
1710 (url): Add :version.
1711 (url-bug-address): Use bug-gnu-emacs.
1712
1713 * url-util.el (url-hexify-string): Don't give multibyte error
1714 for char <16.
1715 (mail-header-extract): Autoload.
1716
1717 * url-parse.el: Doc fixes.
1718
1719 * url-ldap.el (ldap): Require.
1720 (url-ldap): Fix `format' call.
1721 (url-ldap-certificate-formatter): Avoid warning.
1722
4dfde3dd 1723 * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
10a6e6ba
SM
1724
1725 * url-dav.el (url-dav-rename-file): Fix args of `signal'.
1726 (url-intersection): New.
1727 (url-dav-supported-p): Use it.
1728 (url-dav-save-resource): Declare url-http-response-status special.
1729
1730 * url-cache.el (url-util): Require.
1731
17322004-04-10 Miles Bader <miles@gnu.org>
1733
1734 RCS keyword removal (only non-comment changes are enumerated here):
1735
1736 * url-vars.el (url-version): Use the constant string "Emacs"
1737 instead of calculating something from the RCS `State' keyword
1738 [the latter is almost entirely useless anyway].
1739
17402004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1741
1742 * url-methods.el:
1743 * url-parse.el: Don't require url-auto.
1744
17452004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1746
1747 * url: Imported the URL package from its own CVS repository into Emacs.
1748
1749===========================================================================
1750===========================================================================
1751 Copy of the ChangeLog file from URL's own CVS repository:
1752===========================================================================
1753===========================================================================
1754
17552003-07-16 Dave Love <fx@gnu.org>
1756
1757 * lisp/url.el (url-retrieve-synchronously): Revert last change.
1758 Should be revisited.
1759
17602003-06-26 Sam Steingold <sds@gnu.org>
1761
1762 * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
1763 method on invalid urls.
1764
17652003-05-29 Dave Love <fx@gnu.org>
1766
1767 * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
1768 sit-for. From monnier@gnu.org.
1769
1ac3c910 17702002-11-04 Walter C. Pelissero <walter@pelissero.org>
10a6e6ba 1771
4dfde3dd
SM
1772 * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
1773 port numbers to integers when creating the URL objects for proxies.
10a6e6ba
SM
1774
17752002-10-29 William M. Perry <wmperry@gnu.org>
1776
1777 * lisp/url-http.el (url-http-parse-headers): When doing a
1778 redirect, some broken software (sourceforge) sends a redirect to
1779 '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
1780 specification). I wish we could deal with such lame software
1781 appropriately (spank the authors), but this is the web, so we have
1782 to kow-tow to the servers.
1783
17842002-10-27 William M. Perry <wmperry@gnu.org>
1785
1786 * lisp/url-http.el (url-http-create-request): If we are talking to
1787 the default port for a the selected protocol, do NOT send the port
1788 in the HOST header. This fixes the login page at sourceforge.
1789
17902002-09-17 William M. Perry <wmperry@gnu.org>
1791
1792 * lisp/url-http.el (url-http-handle-cookies): New function to deal
1793 with cookie headers.
1794 (url-http-parse-headers): Call `url-http-handle-cookies' here so
4dfde3dd
SM
1795 that cookie additions and deletions get handled immediately.
1796 This is so that sites that set cookies while doing redirects
10a6e6ba
SM
1797 (my.yahoo.com, outlook web access, etc) work. This should also
1798 fix sites that delete cookies on invalid access or other error
1799 pages the user might not actually see.
1800 (url-http-parse-headers): Silently convert non-HEAD and non-GET
1801 methods to GET in redirects. Too many web sites do this now, and
1802 it is just likely to confuse users.
1803
18042002-05-17 Dave Love <fx@gnu.org>
1805
1806 * texi/url.txi: Start making it vaguely useful.
1807
1808 * texi/Makefile.in (install): Cope with Debian install-info.
2a5be7dc 1809 From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Grossjohann).
10a6e6ba
SM
1810
18112002-04-22 Dave Love <fx@gnu.org>
1812
1813 * lisp/url-misc.el (man): Autoload to avoid warning.
1814 (url-man): Don't require man here.
1815 (url-data): Generalize in line with the RFC.
1816
1817 * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
1818
1819 * lisp/url-vars.el: Doc fixes.
1820 (url-mime-charset-string): New function.
1821 (url-mime-charset-string): Use it to set the variable.
1822 (url-set-mime-charset-string): New function.
1823 (set-language-environment-hook): Use it.
1824 (url-vars-unload-hook): New function.
1825
4dfde3dd
SM
1826 * lisp/url-cookie.el (url-header-comparison): Delete.
1827 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
10a6e6ba
SM
1828 (url-cookie-save-interval): Make value agree with doc.
1829
1830 * lisp/url.el: Doc fixes.
1831 (url-mm-callback): Don't call mm-destroy-parts immediately for
1832 external viewing -- set up a process sentinel.
1833
18342002-02-02 William M. Perry <wmperry@gnu.org>
1835
4dfde3dd 1836 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
10a6e6ba
SM
1837
18382001-12-12 William M. Perry <wmperry@gnu.org>
1839
1840 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
1841 Monnier to use ` instead of ^ to match the relative link.
1842
18432001-12-10 William M. Perry <wmperry@gnu.org>
1844
1845 * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
1846 plist-get (reversed args).
1847
1848 * lisp/url-file.el (url-file-build-filename): Make sure that we
1849 have a parsed URL in this function.
1850
18512002-01-22 Dave Love <fx@gnu.org>
1852
1853 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
1854
4dfde3dd
SM
1855 * lisp/url-imap.el (url-imap): Maybe disable multibyte.
1856 Bind coding-system-for-read. Require mm-util.
10a6e6ba
SM
1857
1858 * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
1859
1860 * lisp/mule-sysdp.el: Removed (obsolete).
1861
18622001-12-09 William M. Perry <wmperry@gnu.org>
1863
1864 * lisp/url-dav.el (url-dav-delete-something): Utility macro to
1865 remove an arbitrary resource.
1866 (url-dav-delete-directory): Use it.
1867 (url-dav-delete-file): Ditto.
1868 (url-dav-make-directory): New function.
1869 (url-dav-rename-file): New function.
1870 (url-dav-register-handler): New function to easily register a
1871 WebDAV-specific file-name-handler operation.
1872 (url-dav-file-name-all-completions, url-dav-file-name-completion):
4dfde3dd 1873 New functions that allow file-name completion for WebDAV resources.
10a6e6ba
SM
1874
18752001-12-08 William M. Perry <wmperry@gnu.org>
1876
1877 * lisp/url-dav.el (url-dav-directory-files): New function to
1878 mimic `directory-files' for WebDAV.
1879 (url-dav-delete-directory): New function to mimic
1880 `delete-directory' for WebDAV.
1881
18822001-12-06 William M. Perry <wmperry@gnu.org>
1883
1884 * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
1885 DAV:locktoken hrefs into a usable format.
1886 (url-dav-process-response): Use an unwind-protect to make sure
1887 that we clean up the buffer, even if there is a parsing error.
1888 (url-dav-request): New function to act as the main entry point for
1889 making DAV requests. Takes care of building the XML document with
1890 appropriate namespaces, depth, etc, and parses the results.
4dfde3dd
SM
1891 (url-dav-get-properties): Use new url-dav-request function.
1892 This is now just a thin wrapper around that to use PROPFIND and set any
10a6e6ba
SM
1893 extra properties we are looking for.
1894 (url-dav-unlock-resource): New function to release a lock given a
1895 URL and a lock-token.
1896 (url-dav-process-DAV:getlastmodified)
1897 (url-dav-process-DAV:creationdate)
1898 (url-dav-process-DAV:iscollection)
1899 (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
1900 url-dave-*!
1901 (url-dav-active-locks): New function to get a list of all the
1902 active locks for a resource.
1903 (url-dav-save-resource): New function to actually save a resource
1904 using the PUT method. I can now successfully save files to an
4dfde3dd 1905 HTTP server with some manual steps from a lisp-interaction buffer.
10a6e6ba
SM
1906
1907 * lisp/url-http.el (url-http-wait-for-headers-change-function):
1908 Special case the 204/205 response codes. Some servers do not
1909 send back a 0 content-length for these, and we would hang.
1910 (url-http-parse-headers): Mark 204/205 response codes as
1911 'successful' so that the callbacks get activated.
1912 (url-http-options): Fix unbound variable usage.
1913
1914 * lisp/url-dav.el: Added full copyright information.
1915 (url-dav-process-response): Make sure that we create a DAV:status
1916 property when parsing a singleton response.
1917 (url-dav-file-attributes): If the properties returned did not have
10d1d0af 1918 a successful HTTP response code, then ignore them and use the
10a6e6ba
SM
1919 HEAD-based attributes.
1920
1921 * lisp/vc-dav.el: Added full copyright information.
1922
4dfde3dd
SM
1923 * lisp/url-dav.el (url-dav-process-supportedlock-property):
1924 Deal with text nodes in DAV:supportedlock nodes.
10a6e6ba
SM
1925 (url-dav-file-attributes-mode-string): This now gets the entire
1926 property list instead of just the DAV:supportedlock node.
1927 (url-dav-file-attributes): Make sure to pass the whole list in.
4dfde3dd 1928 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
10a6e6ba
SM
1929 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
1930 'executable' bit to set the 'x' mode. See `mod_dav's custom
1931 properties' at http://www.webdav.org/mod_dav/ for more details.
1932 (url-dav-find-parser): New function to find the proper parser for
1933 a node-type. Looks for
1934 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
1935 back to using url-dav-node-text. Caches the results on the nodes
1936 symbol name.
4dfde3dd
SM
1937 (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
1938 (url-dav-process-*): Rename most of the handlers and made them
10a6e6ba
SM
1939 use url-dav-dispatch-node where appropriate.
1940 (url-dav-process-DAV:prop): Instead of using the dav-data-type
1941 property to dispatch the node, now uses dav-dispatch-node so that
1942 it is easy to add parsers for special nodes.
1943 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
1944 (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
1945 (url-dav-process-DAV:getcontentlength)
1946 (url-dave-process-DAV:getlastmodified)
1947 (url-dave-process-DAV:creationdate)
1948 (url-dave-process-DAV:iscollection)
1949 (url-dave-process-DAV:ishidden): Aliases for the generic
1950 url-dav-process-foo-property routines.
1951 (url-dav-process-DAV:activelock)
1952 (url-dav-process-DAV:lockdiscovery): Can now correctly parse
1953 DAV:lockdiscovery nodes, so that we can find out who has a
c80e3b4a 1954 resource locked and properly parse the response to a LOCK request.
10d1d0af 1955 (url-dav-process-DAV:status): Now parses out the numeric status
10a6e6ba
SM
1956 from the HTTP response line.
1957 (url-dav-process-response): New function to handle all the
1958 parsing of an XML response from WebDAV. This handles all the
1959 logic of checking the response content-type to make sure it is
1960 XML, parses the tree, and interprets the tree.
1961 (url-dav-process-response): Make sure that all responses look
1962 like a DAV:multistatus response, even if we get a singleton
4dfde3dd 1963 response back. This will just make the upper layer logic simpler.
10a6e6ba
SM
1964 (url-dav-get-properties): New optional argument NAMESPACES that
1965 specifies what namespaces to use in the XML request.
1966 (url-dav-get-properties): Got rid of the D: namespace in
1967 requests. It doesn't save that much space. Just use DAV:
1968 (url-dav-lock-identifier): New variable that should hold a URI
1969 pointing to contact information for the user. This will be used
1970 as the contents of the DAV:owner/DAV:href tag to identify the
1971 owner of a LOCK when requesting it. This will be shown to other
1972 users when the DAV:lockdiscovery property is requested, so make
1973 sure you are comfortable with it leaking to the outside world.
1974 (url-dav-lock-resource): New function to LOCK a dav resource.
1975
19762001-12-05 William M. Perry <wmperry@gnu.org>
1977
1978 * lisp/url-dav.el (url-dav-get-properties): New argument
1979 ATTRIBUTES that allows you to ask for specific properties instead
1980 of getting all properties via DAV:allprop.
1981
4dfde3dd
SM
1982 * lisp/url-http.el (url-http-real-basic-auth-storage):
1983 New variable for normal HTTP basic authentication.
10a6e6ba
SM
1984 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
1985 basic authentication.
1986 (url-http-handle-authentication): Follow new semantics for
1987 url-basic-auth-storage.
1988
4dfde3dd 1989 * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
10a6e6ba
SM
1990 this variable. It is now a symbol pointing to where we really
1991 want to store the authorization information. This fixes proxy
4dfde3dd
SM
1992 auth and normal basic auth because of some local bindings that were
1993 making it impossible to store the credentials in the global binding.
10a6e6ba
SM
1994 (url-basic-auth): Make sure we dereference url-basic-auth-storage
1995 everywhere.
1996
4dfde3dd 1997 * lisp/url-util.el (url-debug): Add new types 'dav and
10a6e6ba
SM
1998 'retrieval to the customization list.
1999
2000 * lisp/url.el (url-retrieve-synchronously): Put in some debugging
2001 statements.
2002
4dfde3dd 2003 * lisp/url-http.el (url-http-head-file-attributes): Rename old
10a6e6ba
SM
2004 url-http-file-attributes so that we can have a smarter one that
2005 tries WebDAV first, then HEAD.
4dfde3dd 2006 (url-http-file-attributes): New smart version that tries WebDAV first.
10a6e6ba
SM
2007 (url-http-options): New function that returns information gleaned
2008 from an OPTIONS request for a URL. Returns a property list
2009 returning the methods supported for the resource, what DAV and
2010 DASL levels are supported, p3p information, and whether
2011 byte-ranges are supported or not.
2012 (url-http-wait-for-headers-change-function): If we got a 0-byte
2013 content-length, activate the callback immediately.
2014 (url-http-wait-for-headers-change-function): For content-length
2015 responses with actual body-data in the chunk we are handling, call
2016 url-http-content-length-after-change-function with the remaining
2017 data. Otherwise we can deadlock if the headers and the entire
2018 body exist arrive in one chunk.
2019
2020 * lisp/url-dav.el: New file to contain the WebDAV
2021 (http://www.webdav.org/) implementation.
2022 (url-dav-supported-p): Cheap way to figure out whether we will be
2023 able to do DAV at all. We rely on the XML parser expanding
2024 namespaces for us, and currently you need a patched version of
2025 xml.el to do this. Patch sent to author for consideration.
2026 (url-dav-file-attributes): Much more complete version of
2027 `file-attributes' using the WebDAV PROPFIND method. Now correctly
2028 finds out whether something is a directory (a WebDAV collection),
2029 the last modification time, and permissions (based on the
2030 DAV:supportedlock information).
2031 (url-dav-get-properties): Generic interface to get WebDAV
2032 properties for a URL. Can specify an optional `depth' parameter
2033 to tell the web server how many directory (collection) levels to
2034 recurse when retrieving the property lists. Returns an assoc
4dfde3dd 2035 list keyed off of the resource, the cdr of which is a property list.
10a6e6ba
SM
2036 (url-dav-datatype-attribute): We support the XML-Data note
2037 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
2038 datatypes of attributes are. Currently only date, dateTime, int,
2039 number, float, boolean, and uri are supported.
2040
20412001-12-04 William M. Perry <wmperry@gnu.org>
2042
2043 * lisp/url-handlers.el (file-name-absolute-p): New hooked
2044 version. If the filename matches our regexp, then it is always
2045 absolute, so just return `t'.
2046 (expand-file-name): New hooked version. If the fragment is an
2047 absolute file or URL, then expand it relative to '/'.
2048 (url-handler-regexp): New regexp for specific schemes that we
2049 want the file-name-handlers to work off of.
4dfde3dd 2050 (url-setup-file-name-handlers): Use it when installing the handlers.
10a6e6ba
SM
2051
2052 * lisp/url-http.el (url-http-find-free-connection): Better logging
2053 about whether we are reusing an existing connection or not.
2054
4dfde3dd 2055 * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
10a6e6ba
SM
2056 to string-match instead of match-string (and with reversed
2057 arguments even).
2058
4dfde3dd 2059 * lisp/url-http.el (url-http-debug): Change to now use the
10a6e6ba
SM
2060 generic url-debug function to do the actual logging. Still a
2061 separate function so that we can do our magic on the network
2062 connection if the user quits while we are downloading.
2063
2064 * lisp/url-handlers.el (url-file-handler): Now logs the result of
2065 the hooked or real call.
2066
4dfde3dd 2067 * lisp/url-util.el (url-debug): New function for generic debug logging.
10a6e6ba
SM
2068
20692001-11-28 William M. Perry <wmperry@gnu.org>
2070
2071 * lisp/url-imap.el (url-imap-open-host): Use backquote.
2072 (url-imap): Now switches to 'login as the imap authenticator if
2073 the URL provides a username and password.
2074
2075 * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
2076 push to replace some strange logic in here.
2077 (url-run-real-handler): New function to run the real hooks in
2078 case we get a false positive or an operation that we do not
2079 support. The old way disabled _ALL_ file-name-handlers when
2080 we hit something we didn't understand - this disables JUST us.
4dfde3dd 2081 (url-file-handler): Remove the logic about removing the leading
10a6e6ba
SM
2082 '/' off of the first argument... it may not be safe to always
2083 assume that the first argument is the one we are acting on -
4dfde3dd 2084 `default' is the second argument for expand-file-name for example.
10a6e6ba
SM
2085 (url-setup-file-name-handlers): Use url-nonrelative-link
2086 directly. This means that you must type in the URL directly
2087 without prefixing it with a '/'.
2088
2089 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
2090
2091 Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
2092 which activates us (because 'nnml+mail' _is_ a valid scheme name
2093 for a URI). We get thoroughly confused and end up returning
2094 `nil' when we shouldn't.
2095
20962001-11-26 William M. Perry <wmperry@gnu.org>
2097
2098 * lisp/url-handlers.el (file-writable-p): Add NULL handler for
2099 this so that visiting a URL directly will work.
2100 (file-symlink-p): Ditto.
2101 (url-insert-file-contents): If `visit' is non-nil then make sure
2102 we set buffer-file-name. After these changes you can visit
2103 http://www.gnu.org/ directly from the minibuffer.
2104 (url-insert-file-contents): When inserting the file contents,
2105 use a save-excursion so that we behave just like the original.
2106
21072001-11-25 William M. Perry <wmperry@gnu.org>
2108
4dfde3dd 2109 * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
10a6e6ba
SM
2110
21112001-11-24 William M. Perry <wmperry@gnu.org>
2112
2113 * lisp/url-about.el (url-about): New loader scheme to handle
2114 about:foo URLs. Automatically tries to find a `url-about-foo'
2115 function to display the actual data.
2941ce4b 2116 (url-about-protocols): Implement about:protocols.
10a6e6ba
SM
2117
2118 * lisp/url-http.el (url-http): Make sure that we signal an error
2119 when we cannot open a network connection for whatever reason.
2120 Before, it would just silently clean up after itself and the user
183080b6 2121 got absolutely no indication that an error had occurred. If the
10a6e6ba
SM
2122 error should truly be ignored, the caller should do that for us.
2123 (url-http-chunked-encoding-after-change-function): Doh! Need to
2124 user marker-position in some log messages now that
2125 url-http-chunked-start is a marker.
2126
21272001-11-22 William M. Perry <wmperry@gnu.org>
2128
2129 * lisp/url-https.el: Fixed definition of url-https - was using the
2130 wrong signature. Too much cut & paste.
4dfde3dd 2131 (url-https-create-secure-wrapper): Fix so that url-https works
10a6e6ba 2132 at all. Was not taking a null `method' into account when calling
4dfde3dd 2133 the wrapped function so url-https tried to call url-http-nil. *sigh*
10a6e6ba
SM
2134
2135 * lisp/url-http.el
4dfde3dd 2136 (url-http-chunked-encoding-after-change-function): Add some
10a6e6ba
SM
2137 feedback when not debugging about what content-type and chunk # we
2138 are reading.
2139 (url-http-chunked-encoding-after-change-function): Use a marker
2140 for url-http-chunked-start so that we can safely delete the
2141 chunk-tokens instead of just marking them as invisible.
2142 (url-http-chunked-encoding-after-change-function): Actually delete
2143 the chunk-tokens. Now that we are not run from 'real'
2144 after-change functions, this is safe, and the right thing to do.
2145 Otherwise the HTML parser still saw them and inferred all sorts of
2146 bad things about the document (ie: nothing had a title!)
2147
21482001-11-21 William M. Perry <wmperry@gnu.org>
2149
2150 * lisp/url-http.el (url-http-debug): Document this variable.
2151 People other than I might want to use it.
2152 (url-http-debug): Put some code in here to check quit-flag
2153 directly. When the chunked encoding went into a tight spin, your
2154 Emacs would be wedged forever. This short-circuits all the
2155 after-change functions and signals an error.
2156 (url-http-debug): If url-http-debug is non-nil and non-t, then log
2157 the debug messages using `message' as well as sending them to the
2158 buffer.
2159 (url-http-chunked-encoding-after-change-function): Got rid of the
2160 no-initial-crlf. Had an epiphany and I can just infer this from
2161 url-http-chunked-counter being 0.
4dfde3dd 2162 (url-http-chunked-encoding-after-change-function): Move the debug
10a6e6ba
SM
2163 statement about reading chunk #foo into the loop so that each
2164 chunk will have a log message associated with it.
2165 (url-http-chunked-encoding-after-change-function): Make sure to
2166 set read-next-chunk to nil when the regular expression match fails
2167 to fire. Otherwise we could loop forever.
4dfde3dd
SM
2168 (url-http-chunked-encoding-after-change-function): Tweak the
2169 regular expression to be a little less greedy when looking for a chunk.
10a6e6ba
SM
2170 (url-http-wait-for-headers-change-function): Remove the last
2171 argument when calling
2172 url-http-chunked-encoding-after-change-function. It is no longer
2173 needed. I should use my brain sometime.
2174
4dfde3dd 2175 * lisp/url-vars.el (and): Fix feature test for xemacs and
fffa137c 2176 coding-system-list behavior.
10a6e6ba
SM
2177
2178 * lisp/url-http.el
4dfde3dd
SM
2179 (url-http-chunked-encoding-after-change-function): Add optional
2180 no-initial-crlf flag that modifies the regular expression.
2181 This is only set from url-http-wait-for-headers-change-function so that
10a6e6ba 2182 the initial CRLF in the HTTP headers is not swallowed.
4dfde3dd 2183 (url-http-chunked-encoding-after-change-function): Fix a few
10a6e6ba 2184 off-by-one errors by using (match-end 0) instead of 1.
4dfde3dd 2185 (url-http-chunked-encoding-after-change-function): Add a few
10a6e6ba
SM
2186 url-http-debug calls to help track down problems in the chunked
2187 encoding.
2188 (url-http-chunked-encoding-after-change-function): The chunk
2189 reading in here is now in a while loop so that if Emacs feeds us a
2190 chunk of data that happens to contain more than one 'chunk'
2191 delimiter, we behave correctly.
2192 (url-http-wait-for-headers-change-function): Make sure that we
2193 pass no-initial-crlf to
2194 url-http-chunked-encoding-after-change-function when passing
2195 initial data to the decoder.
2196 (url-http-generic-filter): url-http-debug statement so we can tell
2197 when/where our after-change-functions are being called.
2198
21992001-10-11 Dave Love <fx@gnu.org>
2200
2201 * lisp/url-handlers.el: Doc fixes.
2202 (string-match): Use (featurep 'xemacs).
2203
2204 * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
2205
2206 * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
2207
2208 * lisp/url-vars.el (url-running-xemacs): Delete.
2209 (url-gateway-unplugged): New variable.
2210
2211 * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
2212 Comment out OS/2 stuff.
2213
22142001-10-05 Dave Love <fx@gnu.org>
2215
2216 * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
2217 without confirmation.
2218
22192001-10-02 Dave Love <fx@gnu.org>
2220
2221 * lisp/url-http.el (url-http-create-request): Check cache for
2222 proxy-obj, if defined, rather than url.
2223 (url-http): Use dolist, not mapc (runtime cl dependency).
2224
2225 * lisp/url-methods.el: Maybe require cl at runtime.
4dfde3dd
SM
2226 (url-scheme-register-proxy): Fix fetching from environment.
2227 Don't concat a number.
10a6e6ba
SM
2228
22292001-10-01 Dave Love <fx@gnu.org>
2230
2231 * lisp/url-parse.el: Use modern backquote syntax.
2232
2233 * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
2234 (url-mail-command): Prefer compose-mail.
2235 (tcp-binary-process-input-services): Comment out.
2236 (url-working-buffer): New constant.
2237
2238 * lisp/url-util.el (url-extract-mime-headers): New function.
2239
2240 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add
2241 User-Agent.
2242
22432001-09-20 Dave Love <fx@gnu.org>
2244
4dfde3dd 2245 * lisp/url-http.el (url-http-create-request): Don't concat a number.
10a6e6ba
SM
2246
22472001-06-05 Dave Love <fx@gnu.org>
2248
2249 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob
4dfde3dd 2250 tcp-binary-process-input-services. Remove function wrapper for lambda.
10a6e6ba
SM
2251 (url-retrieve): Barf with sensible message if url-type is null.
2252
2253 * lisp/url-http.el (url-http): Don't try to set process
2254 coding-system here -- done in url-gw.
2255
2256 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
2257 (url-open-stream): Bind coding-system-for{read,write} when setting
e4769531 2258 up the connection. Don't call url-gw-inhibit-code-conversion.
10a6e6ba 2259
4dfde3dd
SM
22602001-05-24 William M. Perry <wmperry@gnu.org>
2261
2262 * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
2263 in url-retrieve-synchronously.
2264
10a6e6ba
SM
22652001-05-23 William M. Perry <wmperry@gnu.org>
2266
2267 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
2268 accept-process-output. This is evidently causing hangs in Emacs
2269 21 when viewing complex pages with images or stylesheets.
2270 www.yahoo.com is now viewable.
2271
2272 * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
2273 (mule-inhibit-code-conversion) and just have a local function that
2274 does this minimal cruft.
2275 (url-gw-inhibit-code-conversion): New function to turn off code
2276 conversion in a process.
2277
22782001-05-22 William M. Perry <wmperry@gnu.org>
2279
2280 * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
2281 that we can allow multiple asynch retrievals to happen at once.
2282 (url-retrieve-synchronously): Use a much smaller timeout when
2283 doing the accept-process-output. This gets rid of the long delays
2284 if you are on a fast net connection and retrieve small documents
2285 that finish asynchronously before the first accept-process-output
2286 can be run. All hail broadband and 100Mb in the house!
4dfde3dd 2287 (url-retrieve-synchronously): Add documentation for this function.
10a6e6ba
SM
2288 (url-retrieve): Ditto.
2289 (url-mm-url): Ditto.
2290
2291 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
2292 documentation strings. Ok, so I'm anal.
2293
2294 * lisp/url-methods.el (url-scheme-methods): Add default methods
2295 for file-directory-p and file-truename.
2296
22972001-05-22 Dave Love <fx@gnu.org>
2298
2299 * lisp/url-auth.el (url-warn): Autoload.
2300
2301 * lisp/url-proxy.el (url-warn): Autoload.
2302
2303 * lisp/url-nfs.el: Fix `file-truname' typo.
2304
2305 * lisp/url-news.el: Require cl when compiling.
1ac3c910 2306 (url-warn, gnus-group-read-ephemeral-group): Autoload.
4dfde3dd 2307 (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
10a6e6ba
SM
2308 (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
2309
2310 * lisp/url-util.el (mule-decode-string): Don't autoload.
2311 (url-hexify-string): Just barf on multibyte characters.
2312 (url-generate-unique-filename): New function.
2313
2314 * lisp/url-file.el (url-file): Use url-generate-unique-filename,
2315 not mm-generate-unique-filename.
2316
2317 * lisp/url-http.el: Declare things special in various places.
2318 (url-http-activate-callback): Don't set
2319 url-http-real-after-change-function.
2320
23212001-05-22 William M. Perry <wmperry@gnu.org>
2322
2323 * lisp/url-http.el (url-http-attempt-keepalives): New variable to
2324 control whether we try to do keep-alives for our connections.
2325 (url-http-version): New variable to control whether we advertise
2326 ourselves as an HTTP/1.1 client or not. This can be useful for
2327 avoiding chunked encoding, and other 1.1 features we may not have
2328 fully implemented yet.
2329 (url-http-create-request): Honor the new variables.
2330
23312001-05-21 Dave Love <fx@gnu.org>
2332
2333 * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
2334 in XEmacs.
2335 (url-mime-charset-string): Don't reverse the list before sorting.
2336
23372001-05-17 William M. Perry <wmperry@gnu.org>
2338
2339 * lisp/url-http.el (url-http-generic-filter): Avoid using
2340 after-change-functions natively. There are just too many ways
2341 that this screws up in Emacs 21. Use a filter function on the
2342 process instead, and call the hook on
2343 url-http-after-change-function manually. [Actually, it will work
2344 in Emacs 21, but one problem that has been fixed in Emacs 21
2345 exists in Emacs 20. -- fx]
2346
2347 * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
2348 does not exist on older versions of Emacs, or any version of
2349 XEmacs. Do not call it unless it is bound.
2350
23512001-05-17 Dave Love <fx@gnu.org>
2352
2353 * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
2354
23552001-05-16 Dave Love <fx@gnu.org>
2356
2357 * lisp/url-vars.el: Doc fixes. Require mm-util.
2358 (url-mime-charset-string): New variable.
2359
2360 * lisp/url-http.el: Doc fixes.
2361 (url-http-create-request): Rearrange how we assemble the request.
2362 Avoid generating bogus requests with an empty real-fname.
4dfde3dd 2363 (url-http-handle-authentication): Declare status and success special.
10a6e6ba
SM
2364 (url-http): Call mm-disable-multibyte. Set process buffer's
2365 coding systems to binary.
2366
2367 * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
2368
4dfde3dd 2369 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
10a6e6ba 2370 (url-file-find-possibly-compressed-file): Doc fix.
4dfde3dd 2371 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
10a6e6ba
SM
2372
2373 * lisp/url-cache.el: Don't require mule-sysdp.
2374 (url-store-in-cache): Avoid mule-write-region-no-coding-system.
2375
2376 * lisp/url.el: Don't require mule-sysdp.
2377 (url-retrieve): Only set text properties if url is a string.
2378
23792001-05-14 Dave Love <fx@gnu.org>
2380
4dfde3dd
SM
2381 * lisp/url-http.el (url-http-create-request):
2382 Declare proxy-object, proxy-info special.
10a6e6ba
SM
2383 (url-http-handle-authentication): Declare success special.
2384
23852001-05-12 Dave Love <fx@gnu.org>
2386
2387 * lisp/url-http.el: Revert last change.
2388
23892001-05-10 Dave Love <fx@gnu.org>
2390
4dfde3dd
SM
2391 * lisp/url-http.el (url-http-generic-after-change-function):
2392 Make it permanent-local.
10a6e6ba
SM
2393
23942001-05-05 Dave Love <fx@gnu.org>
2395
2396 * lisp/url-http.el: Autoload some functions.
2397 (cl): Require when compiling.
2398 (url-http-extra-headers): Defvar when compiling.
2399 (url-http): Treat after-change-functions as a local hook.
2400
2401 * lisp/url-history.el (url-parse): Require.
2402 (url-do-setup): Autoload.
2403
2404 * lisp/url-gw.el: Require url-vars. Autoload some functions.
2405
2406 * lisp/url-file.el: Require mailcap. Require cl when compiling.
2407 Use (featurep 'xemacs).
2408 (url-file-build-filename): Bind pos-index.
2409 (url-file): Call url-find-file-dired, not url-dired-find-file.
2410
4dfde3dd 2411 * lisp/url-dired.el: Add copyright notice. Autoload some functions.
10a6e6ba
SM
2412 (url-dired-minor-mode-map): Use (featurep 'xemacs).
2413 (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
4dfde3dd 2414 (url-find-file-dired): Rename from one version of url-dired-find-file.
10a6e6ba
SM
2415
2416 * lisp/url-cid.el: Don't require widget. Require mm-decode
2417 unconditionally.
2418
2419 * lisp/url-util.el: Autoload mule-decode-string,
2420 timezone-parse-date, timezone-make-date-arpa-standard.
2421 (url-unreserved-chars): Fix list per RFC 2396.
2422 (url-hexify-string): Maybe string-make-unibyte.
2423
2424 * lisp/url-news.el: Require nntp.
2425
2426 * lisp/url-imap.el: Require cl when compiling. Require nnimap
2427 unconditionally.
2428
24292001-05-04 Dave Love <fx@gnu.org>
2430
2431 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
2432 not non-existent mailcap-generate-unique-filename.
2433
4dfde3dd 2434 * lisp/url-privacy.el: Require url-vars. Require cl when compiling.
10a6e6ba 2435
4dfde3dd
SM
2436 * lisp/url-parse.el: Require url-vars.
2437 Autoload url-scheme-get-property.
10a6e6ba
SM
2438
2439 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs
2440 with featurep.
2441
2442 * lisp/url-mailto.el: Require cl when compiling.
2443
4dfde3dd
SM
2444 * lisp/url-cookie.el (url-cookie-handle-set-cookie):
2445 Call url-parse-args, not url-util-parse-args.
10a6e6ba
SM
2446
2447 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
2448
24492001-04-09 Dave Love <fx@gnu.org>
2450
2451 * lisp/mule-sysdp.el (mule-detect-coding-version)
2452 (mule-code-convert-region, mule-inhibit-code-conversion)
2453 (mule-write-region-no-coding-system, mule-encode-string)
2454 (mule-decode-string, mule-truncate-string)
2455 (mule-find-charset-region, mule-coding-system-name)
2456 (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
2457 [There must be a better way.]
2458 (mule-coding-system-p, string-width): Use defalias.
2459
24602001-01-03 Sam Steingold <sds@gnu.org>
2461
2462 * lisp/url-http.el (url-http-wait-for-headers-change-function):
2941ce4b 2463 set `url-http-end-of-headers' to 0 for HTTP 0.9.
10a6e6ba
SM
2464
24652001-01-02 Sam Steingold <sds@gnu.org>
2466
2941ce4b 2467 * lisp/url-auth.el (provide): `url-auth', not `urlauth'.
10a6e6ba
SM
2468
24692000-12-22 Dave Love <fx@gnu.org>
2470
2471 * lisp/url-history.el (url): Don't require (to avoid recursion).
2472 (cl): Require when compiling.
2473
2474 * lisp/url-http.el (url-auth): Require.
2475 (url-http-handle-authentication): Fix typo.
2476
2477 * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
2478
24792000-12-20 Dave Love <fx@gnu.org>
2480
2481 * lisp/url.el: Require mm-decode, mm-view when compiling.
2482 <not (fboundp 'puthash)>: Define puthash and
2483 autoload other has functions rather than using cl-...hash.
2484 (url-warn): Define.
2485
4dfde3dd
SM
2486 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
2487 Avoid cl-...hash functions.
10a6e6ba
SM
2488
2489 * lisp/url-history.el: Avoid cl-...hash functions.
2490 (url): Require.
2491
1ac3c910 2492 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
10a6e6ba
SM
2493
24942000-10-03 William M. Perry <wmperry@aventail.com>
2495
4dfde3dd 2496 * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
10a6e6ba
SM
2497 getting set to nil due to bad string matching. Subsequent matches
2498 would then choke because we passed string-match a nil.
2499
2500 * lisp/url-http.el (url-http-parse-headers): Need to make the
2501 connection as 'free' when we get a 304 response (found in cache),
10d1d0af 2502 or when a keep-alive connection timed out, it would re-parse the
10a6e6ba
SM
2503 headers and dispatch to the callback again. Eek.
2504
25052000-10-02 William M. Perry <wmperry@aventail.com>
2506
2507 * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
4dfde3dd 2508 implement chunked transfer-coding.
10a6e6ba
SM
2509 (url-http-create-request): We can now advertise ourselves as a 1.1
2510 compliant browser!
2511
25122000-07-28 Sam Steingold <sds@gnu.org>
2513
2514 * lisp/url-methods.el (url-scheme-default-loader): `callback' and
2515 `cbargs' are optional args (for calling from w3).
4dfde3dd 2516 (url-scheme-register-proxy): Typos fixes: `url-match' replaced
10a6e6ba
SM
2517 with `string-match' and `protocol' with `scheme'.
2518
25192000-07-18 Sam Steingold <sds@gnu.org>
2520
4dfde3dd
SM
2521 * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
2522 * lisp/url-history.el (url-history-save-interval): Avoid circularity.
10a6e6ba
SM
2523
25242000-07-10 William M. Perry <wmperry@aventail.com>
2525
2526 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
2527 mule, and the character requested is > 255, then return "~"
2528 instead of letting whoever call us signal an error when they try
2529 to insert the character.
2530 (mule-make-iso-character): Also wrap the whole thing in a
4dfde3dd 2531 condition case and return "~" on error, in case make-char bombs on us.
10a6e6ba 2532
4dfde3dd 2533 * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
10a6e6ba
SM
2534 for cid parts.
2535
2536 * lisp/url-util.el (url-display-percentage): New routine that uses
2537 the progress bar under XEmacs if available. Looks very sexy under
2538 XEmacs/GTK hacked to use the GNOME statusbar.
2539
2540 * lisp/url-http.el
2541 (url-http-content-length-after-change-function): Use new function
2542 url-display-percentage instead of url-lazy-message.
2543
25442000-01-27 William M. Perry <wmperry@aventail.com>
2545
2546 * lisp/url-file.el (url-file-build-filename): Work around for
4dfde3dd 2547 differences in ange-ftp / efs handling of port numbers other than 21.
10a6e6ba
SM
2548
25491999-12-24 William M. Perry <wmperry@aventail.com>
2550
2551 * lisp/url-irc.el: Added pointer to draft specification for the
2552 IRC URL so people don't think I'm crazy.
2553
2554 * configure.in: Checks to make sure that Gnus was found, since we
2941ce4b 2555 HAVE to have it now. Removed conditional compilation of url-cid.el.
10a6e6ba 2556
1ac3c910 25571999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
10a6e6ba
SM
2558
2559 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
2560 () to have periods at the end of the chunk.
2561
25621999-12-14 William M. Perry <wmperry@aventail.com>
2563
4dfde3dd 2564 * lisp/url-misc.el (url-man): Implement `man' URL types.
10a6e6ba
SM
2565 (url-info): Autoload.
2566 (url-man): Ditto.
2567 (url-rlogin): Ditto.
2568 (url-telnet): Ditto.
2569 (url-tn3270): Ditto.
2570 (url-generic-emulator-loader): Ditto.
2571
2572 * lisp/url-https.el (url-https-create-secure-wrapper): New macro
2573 to wrap arbitrary `http' methods with the appropriate magic to
2574 turn SSL on.
2575 (file-exists-p): Use it.
2576 (file-readable-p): Use it.
2577 (file-attributes): Use it.
2578
2579 * lisp/url-news.el (url-news-fetch-newsgroup): When building the
2580 server spec for Gnus, make sure we set
2581 nntp-open-connection-function directly, so that other news-related
2582 functions above us can set it.
2583 (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
2584 (url-nntp): Autoload.
2585 (url-snews): Ditto.
2586 (url-news): Ditto.
2587
25881999-12-12 William M. Perry <wmperry@aventail.com>
2589
2590 * lisp/url-http.el (url-http-parse-response): New function to
2591 parse just the HTTP response code out of the buffer, without
2592 taking any other actions.
2593 (url-http-wait-for-headers-change-function): Use it here when we
2594 know we have an HTTP/1.x response.
2595 (url-http-wait-for-headers-change-function): Special case a
2596 response code of '304' or there could be some delays waiting for
2597 keep-alives to time out on cached documents with no known
2598 content-length on the server.
2599
26001999-12-11 William M. Perry <wmperry@aventail.com>
2601
2602 * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
2603 the Makefile does that for us. We just need to provide what files
2604 to load/functions to run.
2605
2606 * lisp/url-imap.el (url-imap-open-host): Need to bind
2607 nnimap-server-buffer or `nnimap-open-server' chokes trying to use
4dfde3dd 2608 the current buffer as the IMAP server buffer, which fails miserably.
10a6e6ba 2609
1ac3c910 26101999-12-11 Simon Josefsson <jas@pdc.kth.se>
10a6e6ba
SM
2611
2612 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
2613
26141999-12-11 William M. Perry <wmperry@aventail.com>
2615
2616 * lisp/url-file.el (url-file-asynch-callback): Make the checks for
2617 ange-ftp vs. efs calling semantics consistent, so that if someone
2618 has NEITHER of them loaded, everything should still work.
2619
2620 * lisp/url-handlers.el (url-copy-file): Autoload.
2621 (url-file-local-copy): Ditto.
2622 (url-insert-file-contents): Ditto.
2623 (url-setup-file-name-handlers): Ditto.
2624
26251999-12-10 William M. Perry <wmperry@aventail.com>
2626
2627 * lisp/url-http.el (mail-parse): Since we use functions from here,
2628 we should require it, eh?
2629
1ac3c910 26301999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
10a6e6ba
SM
2631
2632 * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
2633 if nil.
2634 (url-cookie-generate-header-lines): Use it.
2635
26361999-12-06 William M. Perry <wmperry@aventail.com>
2637
2638 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
2941ce4b 2639 4.1 gracefully.
10a6e6ba 2640
4dfde3dd
SM
2641 * lisp/url-news.el: Reimplemented news and nntp URL support.
2642 No longer bothers to check for outdated Gnus versions, since this
10a6e6ba
SM
2643 will not work without them anyway.
2644
26451999-12-05 Dave Love <fx@gnu.org>
2646
2647 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
2648 lisp/url.el:
2649 Require url-parse.
2650
26511999-12-05 William M. Perry <wmperry@aventail.com>
2652
2653 * lisp/url-http.el (url-http-find-free-connection): Spit out a
2654 message when we have to contact a host so the user always gets
2655 at least some feedback.
2656
f49d1f52 2657 * lisp/url-expand.el (url-expander-remove-relative-links): Move and
10a6e6ba
SM
2658 renamed function.
2659 (url-default-expander): Use it.
2660
4dfde3dd
SM
2661 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
2662 as well as efs.
2663 (url-file): Add default content-type of application/octet-stream if
2664 none known.
2941ce4b 2665 (url-file): Correct bad call to url-host-is-local-p.
10a6e6ba
SM
2666
2667 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
2668 like buffer-substring with nil arguments.
2669 (url-copy-file): Use mm-destroy-parts instead of just killing
2670 the buffer. Use defined interfaces when available!
2671 (url-insert-file-contents): Ditto.
2672
2673 * lisp/url-http.el (url-http-create-request): Lots of changes to
2674 get proxying working.
2675
2676 * lisp/url-methods.el (url-scheme-register-proxy): New function to
2677 find and register a proxy for a specific scheme.
2678 (url-scheme-get-property): Use it when we load a URL scheme for
2679 the first time.
2680
2941ce4b 2681 * lisp/url-util.el (url-get-url-at-point): Re-integrated.
10a6e6ba
SM
2682
26831999-12-04 William M. Perry <wmperry@aventail.com>
2684
2685 * lisp/url-file.el (url-file): Signal an error if
2686 url-file-build-filename could not find the filename.
2687
26881999-12-01 William M. Perry <wmperry@aventail.com>
2689
2690 * lisp/url.el (url-retrieve): Use url-history-update-url instead
2691 of manipulating the hash table directly.
2692
2693 * lisp/url-history.el (url-completion-function): New function to
2694 use for reading a URL with completion.
2695 (url-history-update-url): New function to hide the hashtable
2696 implementation from people inserting things into the history.
2697
26981999-11-30 William M. Perry <wmperry@aventail.com>
2699
2700 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
2701 working.
2702
2703 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
4dfde3dd 2704 url-parse-args, which had changed the type of arguments it expects.
10a6e6ba
SM
2705
2706 * lisp/url-handlers.el (url-insert-file-contents): Ditto.
2707 (url-copy-file): Ditto.
2708
2709 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
2710 just killing the buffer. Use defined interfaces when available!
2711
2712 * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
2713 AC_FD_CC so they show up in config.log
2714 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
2715 this always return 't' instead of 'yes' on successfully finding
2716 the library.
2717
4dfde3dd 2718 * lisp/url-http.el (url-http-parse-headers): Add some
10a6e6ba
SM
2719 DAV-specific error codes.
2720
4dfde3dd 2721 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
10a6e6ba
SM
2722 (url-retrieve-synchronously): Duh, make this function actually
2723 work again. Numerous problems with it, including variable name
2724 collisions - I love dynamically scoped lisps!
2725
2726 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
4dfde3dd 2727 wrappers onto the appropriate file-based URLs for file-name-handlers.
10a6e6ba 2728
a98edce9 2729 * lisp/url-ftp.el: Moved the FTP stuff into its own file - it
10a6e6ba
SM
2730 might get messy with file-name-handlers and things.
2731
2732 * lisp/url-http.el (url-http-clean-headers): Fix problem when
2733 using 'HEAD' requests. Thou shalt not change the length of the
2734 region during an after-change-function.
2735
2736 * lisp/url-methods.el (url-scheme-methods): New variable that
4dfde3dd 2737 holds a list of the methods/variables we look for in a URL scheme.
10a6e6ba
SM
2738 (url-scheme-get-property): Use it.
2739
27401999-11-29 William M. Perry <wmperry@aventail.com>
2741
4dfde3dd 2742 * lisp/url-http.el (url-http-file-attributes): Reimplement.
10a6e6ba
SM
2743 (url-http-file-exists-p): Ditto.
2744
2745 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
2746
2747 * lisp/url-file.el (url-file-create-wrapper): New macro to create
2748 file-name-handler stubs for all the FTP/FILE stuff.
2749
2750 * lisp/url-handlers.el: New file to handle file-name-handler-alist
2751 cruft. Generic interface on top of functions that each URL
2752 loader provides, if capable.
2753
27541999-11-27 William M. Perry <wmperry@aventail.com>
2755
2756 * lisp/url-https.el: Implemented HTTPS support.
2757
27581999-11-26 William M. Perry <wmperry@aventail.com>
2759
2760 * url-privacy.el (url-setup-privacy-info): Don't rely on
2761 device-type being defined. Not going to bother redistributing
2762 devices.el for just one function.
2763
2764 * url-methods.el (url-scheme-get-property): Emacs does not have
2765 the 3rd-argument to plist-get to specify the default. *sigh*
2766
4dfde3dd 2767 * url-dired.el (add-minor-mode): Add definition for Emacs.
10a6e6ba 2768
4dfde3dd
SM
2769 * url-http.el (url-http-generic-after-change-function):
2770 New function, since Emacs does not allow you to change the
10a6e6ba
SM
2771 after-change-functions variable from within a function run by
2772 said hook. This just hands it off to the REAL function.
2773 Side-effect is that this now works on Emacs at all. :)
2774
2775 * Initial checkin of rewritten URL library.
2776
1513a14b
GM
2777;; Local variables:
2778;; coding: utf-8
1513a14b
GM
2779;; End:
2780
acaf905b 2781 Copyright (C) 1999, 2001-2002, 2004-2012 Free Software Foundation, Inc.
5b87ad55
GM
2782
2783 This file is part of GNU Emacs.
2784
4936186e 2785 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 2786 it under the terms of the GNU General Public License as published by
4936186e
GM
2787 the Free Software Foundation, either version 3 of the License, or
2788 (at your option) any later version.
5b87ad55
GM
2789
2790 GNU Emacs is distributed in the hope that it will be useful,
2791 but WITHOUT ANY WARRANTY; without even the implied warranty of
2792 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2793 GNU General Public License for more details.
2794
2795 You should have received a copy of the GNU General Public License
4936186e 2796 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.