Minor zlib configuration tweaks.
[bpt/emacs.git] / lisp / url / ChangeLog
CommitLineData
8a44a184
LMI
12013-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * url-http.el (url-handle-content-transfer-encoding): Renamed
4 `zlib-decompress-gzipped-region' and check whether it's available,
5 too.
6
6edea0a5
LMI
72013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8
9 * url-vars.el (url-mime-encoding-string): If we have built-in gzip
10 support, say that we accept gzipped content.
11
12 * url-http.el (url-handle-content-transfer-encoding): Support
13 decompressing gzipped content.
14
42d43952
SM
152013-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
16
17 * url-handlers.el (url-file-name-completion)
18 (url-file-name-all-completions): Don't signal errors (bug#14806).
19
3a3f390d
SM
202013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
21
22 * url-http.el (status): Remove, unused.
23 (success): Remove var.
24 (url-http-handle-authentication): Return the value that `success'
25 should take instead of setting `success' directly. Don't set `status'
26 since it's not used.
27 (url-http-parse-headers): Avoid unneeded setq.
28 Move the `setq success'.
29 (url-http): Use pcase.
30 (url-http-file-exists-p): Simplify.
31
843571cb
LMI
322013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
33
34 * url-cookie.el: Implement a command and mode for displaying and
35 editing cookies.
2b4f0506 36 (url-cookie-mode): Fix mode name.
843571cb 37
6bfd7cd0
GM
382013-06-21 Glenn Morris <rgm@gnu.org>
39
40 * url-future.el (url-future-call): Remove useless value call.
41
be32a13f
GM
422013-05-23 Glenn Morris <rgm@gnu.org>
43
44 * url.el (mm-dissect-buffer, mm-display-part): Declare.
45
af742248
GM
462013-05-22 Glenn Morris <rgm@gnu.org>
47
48 * url-handlers.el (mm-save-part-to-file, mm-destroy-parts)
49 (mm-decode-string, mail-content-type-get): Declare.
50
f440830d
GM
512013-05-21 Glenn Morris <rgm@gnu.org>
52
53 * url-dav.el (url-http): Require it.
54 (url-http-head-file-attributes): Don't autoload it.
55
56 * url-proxy.el (url-http): Autoload it.
57
ed8be7ff
GM
582013-05-15 Glenn Morris <rgm@gnu.org>
59
60 * url-news.el (url-news): Remove empty custom group.
61
fe2219e2
GM
622013-02-16 Glenn Morris <rgm@gnu.org>
63
64 * url-http.el (url-http-wait-for-headers-change-function):
65 Avoid prematurely finding the end of headers when they arrive
66 line-by-line. (Bug#13598)
67
37a56656
SM
682013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
69
70 * url-cache.el (url-cache-create-filename-using-md5): Don't waste your
71 time `requiring' a builtin feature.
72
33d35987
TA
732012-12-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
74
75 * url-http.el (url-http-end-of-document-sentinel): Bind relevant
76 url-request-* variables around the call to url-http (Bug#11469).
77
78 * url-expand.el (url-default-expander): Don't calculate a default
79 url port before checking url-type (Bug#12374).
80
812012-12-22 Chong Yidong <cyd@gnu.org>
82
83 * url-parse.el (url-port): Doc fix.
84
1c960c45
CY
852012-12-03 Chong Yidong <cyd@gnu.org>
86
87 * url-misc.el (url-do-terminal-emulator): Use make-term instead of
88 terminal-emulator.
89
076a4db2
LS
902012-10-13 Liam Stitt <stittl@cuug.ab.ca> (tiny change)
91
92 * url-vars.el (url-uncompressor-alist):
93 * url-file.el (url-file-find-possibly-compressed-file, url-file):
94 Recognize .xz compression (Bug#11839).
95
b1367cba
CY
962012-10-13 Chong Yidong <cyd@gnu.org>
97
98 * url-http.el (url-http):
99 * url.el (url-retrieve-internal): Doc fix (Bug#6407).
100
97fbed87
GM
1012012-10-08 Glenn Morris <rgm@gnu.org>
102
103 * url-methods.el (url-scheme-get-property): url-https.el was
104 merged into url-http.el, so load the latter for https. (Bug#12599)
105
e79186e5
SM
1062012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
107
108 * url-http.el (url-http-user-agent-string): Leak less info.
109 (url-http, url-http-file-exists-p, url-http-file-readable-p)
110 (url-http-file-attributes, url-http-options, url-https-default-port)
111 (url-https-asynchronous-p): Don't autoload.
112
23855148
SM
1132012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
114
115 * url-handlers.el (url-file-handler): Don't assume any url-FOO function
116 is a good handler for FOO.
117 (url-copy-file, url-file-local-copy, url-insert-file-contents)
118 (url-file-name-completion, url-file-name-all-completions)
119 (url-handlers-create-wrapper): Explicitly register as handler.
120
04558d31
BG
1212012-09-29 Bastien Guerry <bzg@gnu.org>
122
123 * url-util.el (url-insert-entities-in-string)
124 (url-build-query-string): Fix docstrings.
125
59f7af81
CY
1262012-09-25 Chong Yidong <cyd@gnu.org>
127
128 * url-parse.el (url-recreate-url-attributes):
129 * url-util.el (url-generate-unique-filename): Use declare to mark
130 obsolete.
131
89534796
SM
1322012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
133
134 * url-http.el (url-http-parse-headers): Re-enable file-name-handlers
135 (bug#11981).
136
577d5eea
DE
1372012-08-12 David Engster <deng@randomsample.de>
138
139 * url-util.el (url-file-directory, url-file-nondirectory): Avoid
140 file-name-directory and file-name-nondirectory internally (bug#11981).
141
4ed1626d
JR
1422012-08-11 Jason Rumney <jasonr@gnu.org>
143
144 * url-http.el (url-http-create-request): Use url-http-proxy to
46fab912 145 look up proxy credentials (Bug#12069).
4ed1626d 146
7fa20d96
DE
1472012-07-28 David Engster <deng@randomsample.de>
148
577d5eea 149 * url-dav.el (url-dav-supported-p): Add doc-string and remove
7fa20d96
DE
150 check for feature `xml' and function `xml-expand-namespace' which
151 never existed in Emacs proper.
152 (url-dav-process-response): Remove all indentation and newlines
153 from XML before parsing. Change call to `xml-parse-region' to do
154 namespace expansion with simple qualified names (Bug#11916).
155 (url-dav-request): Add autoload.
156 (url-dav-directory-files): Properly deal with empty directories.
157 Unhex URL before generating relative URLs.
158 (url-dav-file-directory-p): Fix check for 'DAV:collection.
159
a464a6c7
SM
1602012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * url.el, url-queue.el, url-parse.el, url-http.el, url-future.el:
163 * url-dav.el, url-cookie.el: Use cl-lib.
164 * url-util.el, url-privacy.el, url-nfs.el, url-misc.el, url-methods.el:
165 * url-gw.el, url-file.el, url-expand.el: Dont use CL.
166
938beca4
GM
1672012-06-30 Glenn Morris <rgm@gnu.org>
168
169 * url-vars.el (mm-mime-mule-charset-alist, mm-coding-system-p):
170 Declare.
171
a3f10d3e
CY
1722012-06-21 Chong Yidong <cyd@gnu.org>
173
174 * url.el (url-retrieve-internal): Fix last change (Bug#11627).
175
22c4001c
JB
1762012-06-13 Juanma Barranquero <lekktu@gmail.com>
177
178 * url-handlers.el (url-handler-regexp): Declare.
179
47fc1d6b
CY
1802012-06-12 Chong Yidong <cyd@gnu.org>
181
182 * url-handlers.el: Re-order file to avoid recursive load.
183
f1a4e679
CY
1842012-06-12 Chong Yidong <cyd@gnu.org>
185
186 * url-handlers.el (url-handler-regexp):
187 * url-nfs.el (url-nfs-automounter-directory-spec):
188 * url-vars.el (url-load-hook): Convert to defcustom.
189
9979ea1c
LL
1902012-05-25 Leo Liu <sdl.web@gmail.com>
191
192 * url-http.el (url-http-codes): Fix mal-formed defconst.
193
530e968e
TZ
1942012-05-15 Ian Eure <ian@simplegeo.com>
195
4f0f72be 196 * url-util.el (url-build-query-string): New function (Bug#8706).
530e968e
TZ
197 (url-parse-query-string): Allow that '=' is not required and split
198 URL parameters on ';', not just '&'.
199
ac9f0b75
LMI
2002012-05-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
201
202 * url-expand.el (url-default-expander): Copy over the fullness of
203 the new URL object based on the definition URL object.
204
9f9aa044
CY
2052012-05-10 Chong Yidong <cyd@gnu.org>
206
577d5eea
DE
207 * url-parse.el (url-path-and-query, url-port-if-non-default):
208 New functions.
9f9aa044
CY
209 (url-generic-parse-url): Don't set the portspec slot if it is not
210 specified; that is what `url-port' is for.
211 (url-port): Only require the scheme to be specified to call
212 url-scheme-get-property.
213
214 * url-util.el (url-encode-url): Use url-path-and-query.
215
216 * url-vars.el (url-mime-charset-string): Load mm-util lazily.
217
ce7b18ec
CY
2182012-05-09 Chong Yidong <cyd@gnu.org>
219
220 * url-util.el (url-encode-url): New function for URL quoting.
221 (url-encoding-table, url-host-allowed-chars)
222 (url-path-allowed-chars): New constants.
bdac2d37 223 (url--allowed-chars): New helper function. Use upper-case.
ce7b18ec
CY
224 (url-hexify-string): Use them.
225
226 * url-parse.el: Improve RFC 3986 conformance.
227 (url-generic-parse-url): Do not populate the ATTRIBUTES slot,
228 since this is not reliable for general RFC 3986 URIs. Keep the
229 whole path and query inside the FILENAME slot. Improve docstring.
230 (url-recreate-url-attributes): Mark as obsolete.
231 (url-recreate-url): Handle missing scheme and userinfo.
9f9aa044 232 (url-path-and-query): New function.
ce7b18ec
CY
233
234 * url-http.el (url-http-create-request): Ignore obsolete
235 attributes slot of url-object.
236
237 * url-vars.el (url-nonrelative-link): Make the regexp stricter.
238
239 * url.el (url-retrieve-internal): Use url-encode-url (Bug#7017).
240
e95a67dc
SM
2412012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
242
243 * url.el (url-retrieve-synchronously): Replace lexical-let by
244 lexical-binding.
245
a967e26b
WX
2462012-04-10 William Xu <william.xwl@gmail.com> (tiny change)
247
248 * url.el (url-retrieve-internal): Hexify multibye URL string first
249 when necessary (bug#7017).
250
2512012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
252
253 * url.el (url-retrieve-internal): Mention utf-8 encoding.
254 (url-retrieve): Ditto.
255
9ea49b28
LMI
2562012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
257
258 * url-domsurf.el: New file (bug#1401).
259
260 * url-cookie.el (url-cookie-two-dot-domains): Remove.
261 (url-cookie-host-can-set-p): Use `url-domsuf-cookie-allowed-p'
262 instead of the variable above.
263
e0fe1d55
LMI
2642012-03-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
265
266 * url-queue.el (url-queue-kill-job): Check whether the buffer has
267 been killed asynchronously before selecting it.
268
cc2ab732
LMI
2692012-03-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
270
271 * url-queue.el (url-queue-kill-job): Make sure that the callback
272 is always called, even if we have a timeout.
273
09100633
CY
2742012-03-11 Chong Yidong <cyd@gnu.org>
275
e95a67dc
SM
276 * url-http.el (url-http-end-of-document-sentinel):
277 Handle keepalive expiry by calling url-http again (Bug#10223).
09100633
CY
278 (url-http): New arg, for the above.
279
179f6911
DSM
2802012-03-11 Devon Sean McCullough <emacs-hacker2012@jovi.net>
281
282 * url-http.el (url-http-find-free-connection): Don't pass a nil
283 argument to url-http-mark-connection-as-busy (bug#10891).
284
1e54a73b
LI
2852012-02-20 Lars Ingebrigtsen <larsi@gnus.org>
286
27e7172c
LI
287 * url-queue.el (url-queue-kill-job): Delete the process sentinel
288 before killing the process to avoid a race condition between the
289 two processes killing off the process buffer.
290
1e54a73b
LI
291 * url.el (url-retrieve-internal): Warn about file errors when
292 pruning the cache instead of bugging out (bug#10831).
293
55645c67
LI
2942012-02-19 Lars Ingebrigtsen <larsi@gnus.org>
295
296 * url-queue.el (url-queue-callback-function): Remove the job from
297 the queue so that we don't kill the current buffer, which will
298 then make the callback function kill a random buffer.
299
f15bcb40
LI
3002012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
301
302 * url-queue.el (url-queue-kill-job): Refactored out code.
303 (url-queue-remove-jobs-from-host): Use it to kill jobs that are in
304 flight.
305
e72a771d
TZ
3062012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
307
308 * url-future.el: Minor doc update.
309
1deeb569
LL
3102012-02-14 Leo Liu <sdl.web@gmail.com>
311
312 * url-future.el: Fix last change.
313
6c0c7cfc
TZ
3142012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
315
316 * url-future.el (url-future-test): Move to test/automated.
317
3b8eb822
LI
3182012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
319
320 * url-http.el (url-http-parse-headers): When redirecting, pass on
321 the `inhibit-cookie' parameter.
322
a48ec60c
GM
3232012-02-10 Glenn Morris <rgm@gnu.org>
324
325 * url-queue.el (url-queue-retrieve): Fic previous doc fix.
326
d7c5e162
AS
3272012-02-10 Andreas Schwab <schwab@linux-m68k.org>
328
329 * url-http.el (url-http-clean-headers): Return the number of
330 removed characters.
331 (url-http-wait-for-headers-change-function): Adjust end position
332 after cleaning the headers. (Bug#10768)
333
b74c9672
GM
3342012-02-10 Glenn Morris <rgm@gnu.org>
335
336 * url-queue.el (url-queue-retrieve): Doc fix.
337
aacaa419
LI
3382012-02-08 Lars Ingebrigtsen <larsi@gnus.org>
339
340 * url-parse.el (url): Add the `use-cookies' slot to the URL struct
341 to be able to keep track of whether to do cookies or not on a
342 per-URL basis.
343
344 * url-queue.el (url-queue-retrieve): Take an optional
345 `inhibit-cookies' parameter.
346
ed9265fc 347 * url.el (url-retrieve): Ditto.
aacaa419
LI
348
349 * url-http.el (url-http-create-request): Don't send cookies unless
350 requested.
351 (url-http-parse-headers): Don't store cookies unless requested.
352
b6ea20f3
LI
3532012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
354
1968bb1b 355 * url-cache.el (url-cache-prune-cache): New function.
7dd679eb
LI
356 (url-cache-prune-cache): Check that the directory exists before
357 trying to delete it.
1968bb1b
LI
358
359 * url.el (url-retrieve-number-of-calls): New variable.
360 (url-retrieve-internal): Use it to expire the cache once in a
361 while.
362
b6ea20f3
LI
363 * url-queue.el (url-queue-setup-runners): New function that uses
364 `run-with-idle-timer' for extra asynchronicity.
365 (url-queue-remove-jobs-from-host): New function.
366 (url-queue-callback-function): Remove jobs from the same host if
367 connection failed.
368
d8d469ef
GM
3692012-01-12 Glenn Morris <rgm@gnu.org>
370
e7a8cb8f
GM
371 * url-auth.el (url-basic-auth, url-digest-auth):
372 Allow reading usernames etc when the minibuffer is already in use,
373 eg in url-handler-mode. (Bug#10298)
d8d469ef 374
c7015153
JB
3752011-11-15 Juanma Barranquero <lekktu@gmail.com>
376
377 * url-dav.el (url-dav-delete-file): Fix typo.
378
122d9463
LMI
3792011-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
380
381 * url-http.el (url-http-async-sentinel): If the server hangs up
382 while we're talking to it, just `message' the error instead of
383 throwing an error.
384
14e1d9ea
LMI
3852011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
386
387 * url-cookie.el (url-cookie-expired-p): Protect against
388 zero-length cookie expiry dates.
389
ac6c8639
CY
3902011-10-19 Chong Yidong <cyd@gnu.org>
391
392 * url-handlers.el (url-handler-mode): Doc fix.
393
b02ba905
CW
3942011-09-24 Christopher J. White <chris@grierwhite.com> (tiny change)
395
396 * url-http.el (url-http-create-request): Avoid adding extra CRLF
397 (Bug#8931).
398
ad87170f
LMI
3992011-09-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
400
401 * url-http.el (url-http-find-free-connection): If there was an
402 error on connect, make sure the user isn't bothered with
403 irrelevant questions.
404
98fdd2b8
CY
4052011-08-07 Chong Yidong <cyd@stupidchicken.com>
406
407 * url-http.el (url-http-parse-headers): For HTTP 301/302/307,
408 don't convert to a GET request (Bug#701).
409
b0c9af93
CN
4102011-07-13 Chris Newton <redshodan@gmail.com> (tiny change)
411
412 * url-http.el (url-http): Copy over `url-show-status' to the async
413 buffer so that `url-display-percentage' does the right thing
414 (bug#4680).
415
53d21671
JD
4162011-07-06 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
417
418 * url-cache.el (url-cache-extract): Set buffer multibyte flag to
419 nil (bug#8827).
420
3487ca85
NA
4212011-07-03 Nicolas Avrutin <nicolasavru@gmail.com> (tiny change)
422
423 * url-http.el (url-http-create-request): Remove double carriage
424 return and newline (bug#8931).
425
9aec558a
LMI
4262011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
427
e95a67dc
SM
428 * url-http.el (url-http-wait-for-headers-change-function):
429 Remove pointless "HTTP/0.9 How I hate thee!" message (bug#6735).
9aec558a 430
5993c059
AS
4312011-06-04 Andreas Schwab <schwab@linux-m68k.org>
432
433 * url-future.el (url-future-test): Fix scope of `saver'.
434
3b7d5980
GM
4352011-06-01 Glenn Morris <rgm@gnu.org>
436
437 * url-queue.el (url-queue-parallel-processes, url-queue-timeout):
438 Add :version tag for options that will be new in 24.1.
439
5a94384b
LMI
4402011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
441
442 * url-queue.el (url-queue-parallel-processes): Increase the
443 default to 6, since 2 seems too conservative for normal usage.
444
e300a61b
TZ
4452011-05-31 Teodor Zlatanov <tzz@lifelogs.com>
446
447 * url-future.el: Add general futures facility.
448
b1c83d95
LL
4492011-05-29 Leo Liu <sdl.web@gmail.com>
450
451 * url-cookie.el (url-cookie): Add option :named so that
452 url-cookie-p is defined. (Bug#8747)
453
5c77c3ed
LMI
4542011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
455
456 * url-queue.el: New file.
6df6ae42 457 (url-queue-run-queue): Pick the first waiting job, and not the last.
471129b1
LMI
458 (url-queue-parallel-processes): Lower the concurrency level, since
459 Emacs doesn't seem to like too many async processes.
460 (url-queue-prune-old-entries): Fix up the pruning code.
5c77c3ed 461
10472dd0
LMI
4622011-04-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
463
6df6ae42
JB
464 * url-http.el (url-http-wait-for-headers-change-function):
465 Protect against malformed headerless responses from servers.
10472dd0 466
43c594f2
CY
4672011-04-02 Chong Yidong <cyd@stupidchicken.com>
468
469 * url-gw.el (url-open-stream): Use new open-network-stream
470 functionality to perform encryption.
471
9952e40b
JB
4722011-04-01 Juanma Barranquero <lekktu@gmail.com>
473
474 * url-cookie.el (url-cookie-handle-set-cookie):
475 Use `dolist' rather than `mapcar'.
476
33383987
JB
4772011-03-07 Chong Yidong <cyd@stupidchicken.com>
478
479 * Version 23.3 released.
480
563790b6
TZ
4812011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
482
483 * url-parse.el (url-bit-for-url, url-user-for-url)
484 (url-password-for-url): Use `auto-source-search' instead of
485 `auto-source-user-or-password'.
486
487 * url-auth.el: Autoload `auto-source-search' instead of
488 `auto-source-user-or-password'.
489 (url-basic-auth, url-digest-auth, url-do-auth-source-search): Use it.
490
b301d174
LI
4912011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
492
6df6ae42
JB
493 * url-http.el (url-http-wait-for-headers-change-function):
494 Don't move point if the callback function has moved/changed/killed
495 the process buffer.
b301d174 496
10c1b751 4972010-12-16 Miles Bader <miles@gnu.org>
3cbc281e
MB
498
499 * url-cookie.el: Require 'cl when compiling -- it's necessary for
500 defstruct.
501
105a786f
GM
5022010-12-14 Glenn Morris <rgm@gnu.org>
503
504 * url-cookie.el: Don't require cl when compiling.
505 (url-cookie-clean-up, url-cookie-generate-header-lines): Use dolist.
506 (url-cookie-parse-file, url-cookie-store, url-cookie-retrieve)
507 (url-cookie-handle-set-cookie): Simplify.
508
f49d1f52 5092010-12-13 Chong Yidong <cyd@stupidchicken.com>
37bf6ce2
CY
510
511 * url-cookie.el (url-cookie-retrieve): Handle null LOCALPART.
512 Suggested by Lennart Borgman (Bug#7543).
513
023ec128
LMI
5142010-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
515
516 * url-file.el (url-file-build-filename): Avoid interpreting
517 file:/foo:/bar URLs via tramp.
518
7a9fc593
LMI
5192010-10-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
520
521 * url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.
522
b0e0b216
LMI
5232010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
524
525 * url-http.el (url-http-end-of-document-sentinel): Protect against
526 the process buffer being killed.
527
697ebdb0
LMI
5282010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
529
f49d1f52
SM
530 * url-http.el (url-http-wait-for-headers-change-function):
531 Protect against url-http-response-status for degenerate documents.
d23832a2
LMI
532 (url-http-wait-for-headers-change-function): Revert previous
533 change. It lead to really slow loads.
697ebdb0 534
5589b70e
GM
5352010-10-03 Glenn Morris <rgm@gnu.org>
536
537 * url-util.el (url-get-url-filename-chars): Don't eval-and-compile.
538 (url-get-url-at-point): Don't use eval-when-compile.
539
540 * url-cache.el (url-cache-create-filename-human-readable)
541 (url-cache-create-filename-using-md5):
542 * url-util.el (url-file-directory, url-file-nondirectory):
543 Don't use eval-when-compile and regexp-quote.
544
b39e2446
LMI
5452010-10-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
546
f49d1f52 547 * url-vars.el (url-mime-charset-string): Change the default to
b39e2446
LMI
548 nil to avoid sending 1171 bytes of not very useful data to the
549 HTTP server every request.
550
08b8ba9f
LMI
5512010-10-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
552
553 * url-util.el (url-display-percentage): Don't message when the URL
554 is silent.
555 (url-lazy-message): Ditto.
573a83b8 556 (url-lazy-message): Remove leftover debugging code.
08b8ba9f
LMI
557
558 * url-http.el (url-http-parse-headers): Pass the SILENT parameter
559 back to the fetching function.
560
561 * url.el (url-retrieve): Add a silent parameter.
562 (url-retrieve-internal): Ditto.
563
564 * url-parse.el (url): Add a `silent' slot in the URL struct.
565
6ca26f1d
LMI
5662010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
567
6df6ae42
JB
568 * url-cookie.el (url-cookie-handle-set-cookie): Use url-lazy-message
569 for the cookie warning, which isn't very interesting.
82b9f9f5 570
6ca26f1d
LMI
571 * url-http.el (url-http-async-sentinel): Check that the buffer is
572 still alive before switching to it.
573
cbdd0d58
JD
5742010-09-25 Julien Danjou <julien@danjou.info>
575
576 * url-cache.el (url-cache-create-filename): Ensure no-port and
577 default-port end up with the same cache file.
578 (url-cache-create-filename-human-readable)
579 (url-cache-create-filename-using-md5): Argument is always in the form of
580 a string now.
581
266a86bd 5822010-09-23 Glenn Morris <rgm@gnu.org>
7ee54def
GM
583
584 * url-cache.el (url-is-cached): Doc fix.
585
48ff1664
GM
5862010-09-23 Glenn Morris <rgm@gnu.org>
587
588 * url-cache.el (url-cache-expired): Don't autoload.
589 Tweak previous change.
97161df8 590 (url-cache-expire-time): Doc fix.
48ff1664 591
18d68e52
JD
5922010-09-23 Julien Danjou <julien@danjou.info>
593
594 * url-cache.el (url-cache-expire-time): New option.
595 (url-cache-expired): Rewrite.
596
50e4f0bf
JD
5972010-09-19 Julien Danjou <julien@danjou.info>
598
599 * url-cache.el (url-fetch-from-cache): New function.
600
b0fd24c8
JD
6012010-09-18 Julien Danjou <julien@danjou.info>
602
77413977 603 * url-vars.el (url-cache-expired): Remove unused variable.
b0fd24c8 604
6664fc59 6052010-09-14 Julien Danjou <julien@danjou.info>
6f6dc4da 606
2f5e7c6f
GM
607 * url-cache.el (url-store-in-cache):
608 Make `buff' argument really optional.
6f6dc4da 609
6664fc59 6102010-09-14 Glenn Morris <rgm@gnu.org>
c4ae64d1
GM
611
612 * url-cookie.el (url-cookie-expired-p): Tweak previous change.
613
6664fc59 6142010-09-14 shawn boles <shawn.boles@gmail.com> (tiny change)
966bb6c0 615
616 * url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
617
a5cda60e
GM
6182010-09-11 Glenn Morris <rgm@gnu.org>
619
620 * url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
621 * url-vars.el: Remove leading `*' from defcustom docs.
622
0ed082fe 6232010-07-27 Michael Albinus <michael.albinus@gmx.de>
c48763bb 624
2f5e7c6f 625 * url-http.el (url-http-parse-headers): Disable file name handlers at
c48763bb
MA
626 all (not only Tramp). (Bug#6717)
627
0ed082fe 6282010-07-27 Michael Albinus <michael.albinus@gmx.de>
4ac3a65c 629
2f5e7c6f 630 * url-http.el (url-http-parse-headers): Disable Tramp. (Bug#6717)
4ac3a65c 631
e4f6153f
MH
6322010-07-01 Mark A. Hershberger <mah@everybody.org>
633
634 * url-http.el (url-http-create-request): Add a CRLF on the end so
6df6ae42 635 that POSTs with content to https URLs work.
f49d1f52 636 See <https://bugs.launchpad.net/mediawiki-el/+bug/540759>
e4f6153f 637
04c23739
MH
6382010-06-22 Mark A. Hershberger <mah@everybody.org>
639
640 * url-parse.el (url-user-for-url, url-password-for-url):
6df6ae42 641 Convenience functions that get usernames and passwords for URLs
04c23739
MH
642 from auth-source functions.
643
7fb277a9
Å N
6442010-06-12 Štěpán Němec <stepnem@gmail.com> (tiny change)
645
646 * url-vars.el (url-privacy-level): Fix doc typo. (Bug#6406)
647
c3bb441d
SM
6482010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
649
650 * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
651
61a808e8
CY
6522010-05-07 Chong Yidong <cyd@stupidchicken.com>
653
654 * Version 23.2 released.
655
56eb0904
SM
6562010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * url-dired.el (url-dired-minor-mode): Use define-minor-mode.
659
89734fb6
TZ
6602010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
661
662 * url-http.el (url-http-parse-headers): Fix wrong variable name.
663
1e9d758c
TZ
6642010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
665
666 * url-http.el (url-http-codes): New variable to hold a mapping of
667 HTTP status codes' numbers, their symbolic name, and their text.
668 (url-http-parse-headers): Use it, leaving the original numeric
669 code in a comment.
670
aa8f8277
GM
6712010-03-19 Glenn Morris <rgm@gnu.org>
672
673 * url.el: Move mailcap require earlier in the file.
674
eba5b4dd
CY
6752010-03-12 Chong Yidong <cyd@stupidchicken.com>
676
26f4b8ab 677 * url-vars.el (url): Put in comm group.
eba5b4dd 678
288f9fc0
CY
6792010-03-10 Chong Yidong <cyd@stupidchicken.com>
680
681 * Branch for 23.2.
682
e17d428f
CY
6832010-01-23 Chong Yidong <cyd@stupidchicken.com>
684
685 * url-util.el: Require url-vars (Bug#5459).
686
c074ba4a
SM
6872009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
688
689 * url-parse.el (url-generic-parse-url): Bind deactivate-mark.
690
c98f55ca
CY
6912009-11-08 Kai Tetzlaff <kai.tetzlaff@web.de> (tiny change)
692
693 * url-http.el (url-http-handle-authentication): Use proxy server,
694 if any, for authentication (Bug#4883).
695
937e6a56
SM
6962009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
697
698 * url-util.el (url-insert-entities-in-string):
699 * url-nfs.el (url-nfs-unescape):
700 * url-ldap.el (url-ldap):
701 * url-imap.el (url-imap):
702 * url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
703
f9c9a239
GM
7042009-10-01 Glenn Morris <rgm@gnu.org>
705
706 * url-http.el (url-dav-file-attributes): Fix declaration.
707
120812a0
CY
7082009-09-13 Chong Yidong <cyd@stupidchicken.com>
709
710 * url-handlers.el (url-copy-file): Add fifth arg for compatibility
711 with 2005-06-25 change to copy-file (Bug#4410).
712
4f0f48df
GM
7132009-09-13 Glenn Morris <rgm@gnu.org>
714
715 * url-file.el (url-file): Avoid assignment to free variable `filename'.
716
63255710
CY
7172009-09-12 Chong Yidong <cyd@stupidchicken.com>
718
719 * url-methods.el (url-scheme--registering-proxy): New variable.
0235128c
SM
720 (url-scheme-register-proxy, url-scheme-get-property):
721 Avoid calling url-scheme-register-proxy in an infloop (Bug#4191).
63255710 722
3f12e3f4
GM
7232009-08-22 Glenn Morris <rgm@gnu.org>
724
725 * url-file.el (url-file-build-filename):
726 * url-privacy.el (url-setup-privacy-info): Remove code for defunct
727 system-types Apple-Macintosh, emx, ms-windows, next-mach.
728
70243478
CY
7292009-06-21 Chong Yidong <cyd@stupidchicken.com>
730
731 * Branch for 23.1.
732
d696b0d5
SM
7332009-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
734
735 * url-handlers.el (url-file-handler): Save match data.
736
db922cc0
JR
7372009-02-21 Jason Rumney <jasonr@gnu.org>
738
739 * url-expand.el (url-default-expander): Use concat to combine
5ce6e4f4 740 parts. (Bug #1020)
db922cc0 741
f0cfa8f0
GM
7422009-02-10 Glenn Morris <rgm@gnu.org>
743
744 * url-util.el (url-generate-unique-filename): Silence compiler.
745
64594ef9
CY
7462009-02-07 Chong Yidong <cyd@stupidchicken.com>
747
748 * url-file.el (url-file): Use make-temp-file.
749
750 * url-util.el (url-generate-unique-filename): Mark as obsolete.
751
752 * url-vars.el (url-temporary-directory): Mark as obsolete.
753
200c0424
CY
7542009-01-15 Chong Yidong <cyd@stupidchicken.com>
755
68fe704b 756 * url-cookie.el (url-cookie-retrieve): Fix last change.
200c0424 757
26343c7f
CY
7582009-01-14 Chong Yidong <cyd@stupidchicken.com>
759
760 * url-cookie.el (url-cookie-retrieve): Handle null localpart.
761
d9e52e92
JB
7622009-01-13 Juanma Barranquero <lekktu@gmail.com>
763
764 * url-util.el (url-truncate-url-for-viewing): Doc fix.
765
78892d1b
GM
7662009-01-09 Glenn Morris <rgm@gnu.org>
767
768 * url-cid.el (url-cid-gnus): Fix typo in header name.
769
92066e83
CY
7702008-11-04 Chong Yidong <cyd@stupidchicken.com>
771
772 * url-util.el (url-basepath): Add url-basepath as an alias for
773 url-file-directory.
774
d6c180c4
JB
7752008-10-24 Juanma Barranquero <lekktu@gmail.com>
776
777 * url.el (url-configuration-directory): Use `locate-user-emacs-file'.
778
3b4df550
CY
7792008-10-20 İsmail Dönmez <ismail@namtrac.org> (tiny change)
780
781 * url-auth.el (url-basic-auth): Encode password string.
782
e77e9cf4
GM
7832008-08-30 Glenn Morris <rgm@gnu.org>
784
785 * url-http.el (url-https-expand-file-name): Resolve directly to
786 url-default-expander rather than via another alias.
787 (url-default-expander): Autoload an autoload. (Bug#825).
788
d1ce47b0
JB
7892008-07-02 Juanma Barranquero <lekktu@gmail.com>
790
791 * url.el (url-do-setup):
792 * url-dired.el (url-dired-minor-mode):
793 * url-file.el (url-file-find-possibly-compressed-file):
794 * url-gw.el (url-gateway-broken-resolution):
795 * url-handlers.el (url-handler-regexp):
796 * url-imap.el (url-imap-default-port):
797 * url-methods.el (url-scheme-get-property): Fix typos in docstrings.
798
799 * url-auth.el (url-basic-auth-storage, url-digest-auth):
800 Fix typos in docstrings.
801 (url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
802
803 * url-cache.el (url-cache-prepare): Doc fix.
804 (url-cache-create-filename-human-readable, url-cache-extract):
805 Fix typos in docstrings.
806
807 * url-dav.el (url-intersection, url-dav-iso8601-regexp)
808 (url-dav-delete-something): Fix typos in docstrings.
809 (url-dav-http-success-p, url-dav-file-name-all-completions)
810 (url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
811
812 * url-http.el (url-http-idle-sentinel): Doc fix.
813
814 * url-irc.el (url-irc-default-port): Fix typo in docstring.
815 (url-irc-function): Doc fix.
816
817 * url-util.el (url-get-url-filename-chars, url-unhex-string):
818 Fix typos in docstrings.
819 (url-file-extension): Doc fix.
820
821 * url-vars.el (url-current-object, url-current-mime-headers)
822 (url-privacy-level, url-mail-command, url-mime-language-string):
823 Fix typos in docstrings.
824 (url-honor-refresh-requests): Reflow docstring.
825 (url-using-proxy): Doc fix.
826
0b5c4225
DN
8272008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
828
829 * vc-dav.el: Move to the parent directory to be together with the
830 rest of the VC backends.
831
8705576e
GM
8322008-06-07 Glenn Morris <rgm@gnu.org>
833
834 * url-auth.el (auth-source-user-or-password): Remove unnecessary
835 eval-and-compile.
836
a118b59b
SM
8372008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
838
839 * url-handlers.el (url-file-name-completion): Add missing argument.
840
97d1c236
TZ
8412008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
842
ba60bd44 843 * url-auth.el: Add autoload cookie for `auth-source-user-or-password'.
97d1c236
TZ
844 (url-basic-auth, url-digest-auth): Use it with any realm,
845 overriding the user name and password before the prompt.
846
c385aa1a
JB
8472008-04-28 Juanma Barranquero <lekktu@gmail.com>
848
849 * url-vars.el (url-load-hook): Fix typo in docstring.
850
84f089d3
MH
8512008-03-09 Magnus Henoch <mange@freemail.hu>
852
853 * url-http.el (url-http-chunked-encoding-after-change-function):
a628ad9d 854 Remove superfluous CRLF at end of file. (Bug #42)
84f089d3 855
26d72be8
AS
8562008-03-02 Andreas Schwab <schwab@suse.de>
857
858 * url-util.el: Require cl when compiling.
859
d626f888
TZ
8602008-02-28 Teodor Zlatanov <tzz@lifelogs.com>
861
ba60bd44
JB
862 * url-util.el (url-get-normalized-date): Simplify to use
863 `format-time-string'. Always generate date in UTC, but
d626f888
TZ
864 call it GMT for full compatibility with the RFCs.
865
a9f31e3d
MA
8662008-02-06 Michael Albinus <michael.albinus@gmx.de>
867
868 * url-handlers.el (file-remote-p): Add handler.
869 (url-handler-file-remote-p): New fun.
870
791fe182
SM
8712008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
872
873 * url-handlers.el (url-handler-unhandled-file-name-directory):
874 Handle `file' URLs specially. Return nil for non-local filenames.
875
b72ef564
MH
8762008-02-04 Magnus Henoch <mange@freemail.hu>
877
878 * url-expand.el: Require cl when compiling, for setf.
879
e652840b
JW
8802008-01-29 John Wiegley <johnw@newartisans.com>
881
882 * url-auth.el (url-digest-auth): If the 'opaque' argument is not
883 being used, don't add it to the response text. Also, changed an
884 if so that the interaction between the PROMPT and OVERWRITE
885 arguments can no longer result in the user being queried twice for
886 the same login and password information.
887
ce4059ee
SM
8882008-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
889
890 * url-handlers.el (unhandled-file-name-directory): Add handler.
891 (url-handler-unhandled-file-name-directory): New fun.
892
80e4b01d
MA
8932008-01-07 Michael Albinus <michael.albinus@gmx.de>
894
895 * url-handlers.el (url-file-handler): Autoload.
896
9824ded5
GM
8972007-12-11 Glenn Morris <rgm@gnu.org>
898
899 * url.el (url-configuration-directory): Make it a defcustom.
900
901 * url-util.el (url-make-private-file): New function.
902 * url-cookie.el (url-cookie-write-file):
903 * url-history.el (url-history-save-history):
904 Use url-make-private-file and with-temp-buffer.
905
40234eaf
GM
9062007-12-06 Glenn Morris <rgm@gnu.org>
907
908 * url-file.el, url-mailto.el: Remove directory part from filenames
909 in function declarations.
910
24030ea3
GM
9112007-12-02 Glenn Morris <rgm@gnu.org>
912
e05b1e72
GM
913 * url-about.el, url-handlers.el: Don't require cl when compiling.
914
915 * url-dav.el (url-dav-delete-directory): Fix message typo.
916
917 * url-history.el (top-level): Don't require cl when compiling.
918 (url-history-setup-save-timer, url-history-save-history):
919 Use condition-case rather than ignore-errors.
920
921 * url-imap.el (top-level): Don't require cl when compiling.
922 (url-imap): Use signal rather than check-type.
923
24030ea3
GM
924 * url-news.el (top-level): Don't require cl when compiling.
925 (gnus-group-buffer): Define for compiler.
926 (url-news-fetch-message-id): Don't use `declare'.
927 (nntp-open-tls-stream, nntp-open-ssl-stream):
928 No need to define for compiler.
929 (url-snews): Use nntp-open-tls-stream unless ssl is requested.
c2bf6d2c 930 Correct quoting of nntp-open-connection-function value.
24030ea3 931
29c7eba8
GM
9322007-12-01 Glenn Morris <rgm@gnu.org>
933
934 * url-handlers.el (top-level): Always require url-parse, not just
935 when compiling.
936
36176341
GM
9372007-11-30 Glenn Morris <rgm@gnu.org>
938
939 * url-cookie.el (url-cookie-p): Declare as a function.
940
0bd90741
GM
9412007-11-29 Glenn Morris <rgm@gnu.org>
942
943 * url-file.el (url-file-build-filename, url-file): Wrap uses of
944 efs in (featurep 'xemacs) test.
945
946 * url-irc.el (zenirc, zenirc-send-line): Declare as functions.
947
7ba1d5ae
GM
9482007-11-28 Diane Murray <disumu@x3y2z1.net>
949
950 * url-dired.el: Don't require w3-fetch and w3-open-local.
c385aa1a 951 (url-dired-find-file): Use `find-file'. Doc fix.
7ba1d5ae
GM
952 (url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
953
9f34397d
GM
9542007-11-24 Glenn Morris <rgm@gnu.org>
955
956 * url-privacy.el (url-device-type): Fix typo.
957
153ef845
DN
9582007-11-20 Dan Nicolaescu <dann@ics.uci.edu>
959
960 * url-mailto.el (mail-send-and-exit):
961 * url-http.el (url-dav-file-attributes):
d4aa48db 962 * url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal)
6d00e226
DN
963 (url-generate-unique-filename): Declare as functions.
964
153ef845
DN
965 * url-privacy.el (url-device-type): Define unconditionally.
966
9ffb9521
RS
9672007-11-15 Richard Stallman <rms@gnu.org>
968
969 * url.el (url-retrieve-synchronously): Call delete-process.
970
3a47bb3e
JB
9712007-10-31 Juanma Barranquero <lekktu@gmail.com>
972
973 * url-vars.el (url-vars-unload-hook): Remove function and variable.
974 Hooks are automatically removed by `unload-feature'.
975
4148f522
RS
9762007-10-13 Richard Stallman <rms@gnu.org>
977
978 * url-util.el (url-basepath): Function deleted.
979 (url-file-directory, url-file-nondirectory): New functions
980 replacing url-basepath. Callers changed.
981
982 * url-expand.el (url-default-expander): Use `url-file-directory'.
983
984 * url-auth.el (url-digest-auth, url-basic-auth):
985 Rename `path' to `file'. Use `url-file-directory'.
986
3aa491bc
GM
9872007-10-12 Diane Murray <disumu@x3y2z1.net>
988
989 * url-auth.el (url-basic-auth): Set path to "/" when URL has an
2a5be7dc 990 empty string filename.
3aa491bc 991
d1d80b80
RS
9922007-10-09 Richard Stallman <rms@gnu.org>
993
994 * url-parse.el (url-type, url-user, url-password, url-host)
995 (url-port, url-filename, url-target, url-attributes)
996 (url-fullness, url-set-type, url-set-user, url-set-password)
997 (url-set-host, url-set-port, url-set-filename, url-set-target)
998 (url-set-attributes, url-set-full): Change macros to defuns.
999
259b63b4
JB
10002007-09-26 Juanma Barranquero <lekktu@gmail.com>
1001
1002 * url-dav.el (top):
1003 * url-vars.el (top): Use `mapc' rather than `mapcar'.
1004
8a35aa36
GM
10052007-09-22 Diane Murray <disumu@x3y2z1.net>
1006
1007 * url-misc.el (url-generic-emulator-loader): Send the port as a
2a5be7dc 1008 string to `url-do-terminal-emulator'.
8a35aa36 1009
965d1f0e
GM
10102007-09-21 Diane Murray <disumu@x3y2z1.net>
1011
3a47bb3e 1012 * url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus method.
d01b3550 1013
965d1f0e
GM
1014 * url-util.el (url-get-normalized-date): Pass full timezone
1015 information to timezone-make-date-arpa-standard, since zone name
1016 may be unknown.
1017
72f25299
GM
10182007-09-03 Diane Murray <disumu@x3y2z1.net>
1019
0f71f9da 1020 * url-http.el (url-http-parse-headers): Bind the current buffer
72f25299
GM
1021 rather than calling `url-mark-buffer-as-dead' with
1022 `current-buffer', so that the correct buffer is killed if
1023 `url-retrieve-synchronously' gets redirected to a new URL.
1024
d18ec89f
SM
10252007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
1026
1027 * url-parse.el (url): Use defstruct rather than macros.
1028 (url-generic-parse-url):
1029 * url-util.el (url-normalize-url, url-truncate-url-for-viewing):
1030 * url-methods.el (url-scheme-register-proxy):
1031 * url-mailto.el (url-mailto):
1032 * url-file.el (url-file-build-filename):
1033 * url-expand.el (url-identity-expander, url-default-expander):
1034 Update all callers.
1035
0f71f9da
JB
10362007-08-09 Edward O'Connor <hober0@gmail.com> (tiny change)
1037
1038 * url-auth.el (url-basic-auth): When prompting for username
1039 and password, default to the username and password in the URL.
1040
df26688b
GM
10412007-08-08 Glenn Morris <rgm@gnu.org>
1042
1043 * url-auth.el, url-cache.el, url-dav.el, url-file.el, vc-dav.el:
1044 Replace `iff' in doc-strings and comments.
1045
cacc7b51
GM
10462007-07-25 Glenn Morris <rgm@gnu.org>
1047
1048 * Relicense all FSF files to GPLv3 or later.
1049
c0ed4c23
CY
10502007-06-12 Tom Tromey <tromey@redhat.com>
1051
1052 * url.el (url-configuration-directory): Use user-emacs-directory.
1053
495fa7db
SM
10542007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1055
1056 * url-cookie.el (url-cookie-name, url-cookie-value)
1057 (url-cookie-expires, url-cookie-localpart, url-cookie-domain)
1058 (url-cookie-secure, url-cookie-set-name, url-cookie-set-value)
1059 (url-cookie-set-expires, url-cookie-set-localpart)
1060 (url-cookie-set-domain, url-cookie-set-secure)
1061 (url-cookie-retrieve-arg, url-cookie-create, url-cookie-p): Remove.
1062 (url-cookie): New struct.
1063 (url-cookie-store): Use setf instead of url-cookie-set-*.
1064
345c7f05
CY
10652007-05-29 Chong Yidong <cyd@stupidchicken.com>
1066
1067 * url-mailto.el (url-mailto): Insert body after
de74fffc 1068 mail-header-separator if present, so that it is before signature.
345c7f05
CY
1069 Suggested by Leo <sdl.web@gmail.com>.
1070
5cfdb0fb
CY
10712007-04-15 Chong Yidong <cyd@stupidchicken.com>
1072
1073 * url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes.
1074
f25a9946
CY
10752007-04-13 Chong Yidong <cyd@stupidchicken.com>
1076
1077 * url-http.el (url-http-parse-headers): Stop after a set number of
1078 redirections. Suggested by Diane Murray.
1079
1080 * url-vars.el (url-max-redirections): New var.
1081
60df22cc 10822007-04-01 Diane Murray <disumu@x3y2z1.net> (tiny change)
f3e30bd0
CY
1083
1084 * url-http.el (url-http-handle-cookies): Reverse list returned by
1085 `mail-fetch-field', so that cookies are set in the correct order.
1086
1087 * url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
1088 Deal with wildcard dots in domain values.
1089
fd1e2cde
EZ
10902007-03-31 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
1091
1092 * url-http.el (url-http-mark-connection-as-busy)
1093 (url-http-mark-connection-as-free): Clear query-on-exit flag on
1094 idle connections.
1095
b3cd7f61
CY
10962007-02-04 Chong Yidong <cyd@stupidchicken.com>
1097
1098 * url-http.el (url-http-connection-opened): New variable.
1099 (url-http): Initialize it.
1100 (url-http-async-sentinel): Don't try changing sentinels.
1101 Run url-http-end-of-document-sentinel if necessary.
1102
8f77631e
JB
11032007-01-29 Juanma Barranquero <lekktu@gmail.com>
1104
1105 * url-auth.el (url-get-authentication): Fix typo in docstring.
1106
00d972eb
MH
11072007-01-14 Magnus Henoch <mange@freemail.hu>
1108
1109 * url-proxy.el (url-proxy-object): Remove.
1110 (url-proxy): Don't use `url-proxy-object'. Act according to type of
1111 proxy (currently only HTTP supported).
1112
1113 * url.el (url-retrieve-internal): Don't use `url-proxy-object'.
1114
1115 * url-http.el (url-http-proxy): New variable.
1116 (url-http-create-request): Use it. Don't use `url-proxy-object'.
1117 (url-http): Treat `url' argument as resource to download, and
f49d1f52
SM
1118 dynamic variable `url-using-proxy' as proxy to use.
1119 Set `url-current-object' to actual URL, and `url-http-proxy' to proxy
00d972eb
MH
1120 used.
1121 (url-http-handle-cookies): Assume that `url-current-object' does
1122 not point to the proxy used.
1123 (url-http-async-sentinel): Adapt error message.
1124
28e86dc4
JB
11252006-12-10 Juanma Barranquero <lekktu@gmail.com>
1126
1127 * url-gw.el (url-gateway-nslookup-program): Doc fix.
1128
b8976ce0
MH
11292006-12-08 Magnus Henoch <mange@freemail.hu>
1130
1131 * url-proxy.el (url-proxy-object): New variable.
1132 (url-proxy): Bind it instead of `proxy-object'.
1133
1134 * url-http.el (url-http-create-request): Remove url argument, use
f49d1f52
SM
1135 the buffer-local variable `url-http-target-url' instead.
1136 Both callers updated. Simplify proxy handling.
b8976ce0
MH
1137 (url-http): Don't make proxy-object buffer local.
1138
1139 * url.el (url-retrieve-internal): Bind url-proxy-object to nil.
1140
57babe17
MH
11412006-11-26 Magnus Henoch <mange@freemail.hu>
1142
f49d1f52
SM
1143 * url-http.el (url-http-wait-for-headers-change-function):
1144 Use `when' instead of `if' when possible.
b9b172ac
MH
1145 (url-http): Define url-http-response-version.
1146 (url-http-parse-response): Set it.
1147 (url-http-parse-headers): Use it to determine keep-alive behavior.
57babe17 1148
60df22cc 11492006-11-23 Diane Murray <disumu@x3y2z1.net> (tiny change)
48d2bac4 1150
f49d1f52
SM
1151 * url-http.el (url-http-content-length-after-change-function):
1152 Use `url-lazy-message'.
48d2bac4
MH
1153
1154 * url-util.el (url-display-percentage): Only show a message if
1155 `url-show-status' is non-nil.
1156
d58fae84
MH
11572006-11-15 Magnus Henoch <mange@freemail.hu>
1158
6e2988e6
MH
1159 * url-http.el (url-http): Make proxy-object buffer-local, to
1160 handle proxied asynchronous connections correctly.
1161
d58fae84
MH
1162 * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
1163
1ac3c910 11642006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
98325235 1165
1ac3c910
JB
1166 * url-http.el (url-http-wait-for-headers-change-function):
1167 Defer detection of HTTP 0.9 until we have at least one line.
98325235 1168
1ac3c910 11692006-11-10 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8529c21d
CY
1170
1171 * url-http.el (url-http-mark-connection-as-free)
1172 (url-http-find-free-connection): Don't treat process with status
1173 `connect' as free.
1174 (url-http-async-sentinel): Request correct url.
1175
947612be
MH
11762006-11-08 Magnus Henoch <mange@freemail.hu>
1177
385b64c5
MH
1178 * url-http.el (url-http-handle-authentication): If there are
1179 several authentication headers, use the strongest available
1180 method.
1181
947612be
MH
1182 * url.el (url-retrieve-synchronously): Allow quitting when
1183 inhibit-quit is t.
1184
1ac3c910 11852006-11-03 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8917392a
MH
1186
1187 * url-http.el (url-http-handle-authentication): If there are
1188 several authentication headers, use the first with a supported
1189 method.
1190
8ea88265
MH
11912006-11-01 Magnus Henoch <mange@freemail.hu>
1192
1193 * url-http.el (url-http-create-request): Use buffer-local
1194 equivalents of dynamically bound variables.
1195
080234b6
MH
11962006-10-29 Magnus Henoch <mange@freemail.hu>
1197
1198 * url-gw.el (url-open-stream): Really use asynchronous
1199 connections (accidentally disabled during debugging).
1200
ced20bfb
MH
12012006-10-28 Magnus Henoch <mange@freemail.hu>
1202
1203 * url-http.el (url-http-parse-headers): Fix misplaced paren.
1204
5695d1dd
CY
12052006-10-27 Magnus Henoch <mange@freemail.hu>
1206
1207 * url-http.el (url-http-mark-connection-as-free): Verify that
1208 connection is open before saving it.
1209 (url-http-handle-authentication): Use url-retrieve-internal
1210 instead of url-retrieve.
1211 (url-http-parse-headers): Adapt to new callback interface.
1212 (url-http): Handle non-blocking connections.
1213 (url-http-async-sentinel): Create.
1214
1215 * url.el (url-retrieve): Update docstring for new callback interface.
1216 Remove all code.
1217 (url-retrieve-internal): Move code from url-retrieve here.
1218
1219 * url-gw.el (url-open-stream): Use a non-blocking socket for
1220 `native' gateway method, if available.
1221
784f5416
MH
12222006-10-16 Magnus Henoch <mange@freemail.hu>
1223
1ac3c910
JB
1224 * url-http.el (url-https-create-secure-wrapper):
1225 Always use tls gateway method.
784f5416 1226
dfea17e0
MH
12272006-10-12 Magnus Henoch <mange@freemail.hu>
1228
1ac3c910
JB
1229 * url-http.el (url-http-find-free-connection):
1230 Handle url-open-stream returning nil.
dfea17e0 1231
9c51663a
MH
12322006-10-11 Magnus Henoch <mange@freemail.hu>
1233
1234 * url-https.el: Remove (clashes with url-http on 8+3 systems).
1235
1236 * url-http.el: Move contents of url-https.el here. Add autoloads.
1237
f6fb70fc
MH
12382006-10-09 Magnus Henoch <mange@freemail.hu>
1239
1240 * url-parse.el (url-generic-parse-url): Handle URLs with empty
1241 path component and non-empty query component. Untangle path,
1242 query and fragment parsing code. Add references to RFC 3986 in
1243 comments.
c385aa1a 1244 (url-recreate-url-attributes): Start query string with "?", not ";".
f6fb70fc 1245
162fbe11
SM
12462006-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1247
1248 * url-dav.el (url-dav-file-attributes): Simplify.
1249
1250 * url-http.el (url-http-head-file-attributes): Add device "info".
1251
f316efd9
MB
12522006-09-18 Michael Olson <mwolson@gnu.org>
1253
1254 * url-methods.el (url-scheme-register-proxy): Handle case where
1255 getenv returns an empty string for http_proxy. This prevents an
1256 error when calling `format' later on.
1257
60df22cc 12582006-08-31 Diane Murray <disumu@x3y2z1.net> (tiny change)
7660c02f 1259
c2a7ddb1
SM
1260 * url-parse.el (url-recreate-url-attributes): New function, code
1261 simply moved from `url-recreate-url'.
1262 (url-recreate-url): Use it.
1263 Put the `url-target' at the end of the URL after the attributes.
1264
1265 * url-http.el (url-http-create-request):
1266 Use `url-recreate-url-attributes' when setting real-fname.
1267
60df22cc 12682006-08-29 Diane Murray <disumu@x3y2z1.net> (tiny change)
c2a7ddb1
SM
1269
1270 * url-cookie.el (url-cookie-write-file): Really don't use versioned
1271 backups.
7660c02f 1272
d0f891a7
SM
12732006-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1275 * url-handlers.el (url-file-local-copy): Tell url-copy-file that the
1276 dest file will already exist.
1277
07e9b3f0
SM
12782006-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
1279
1280 * url-util.el (url-hexify-string): Only utf-8 encode if it's
1281 a multibyte string.
1282 (url-normalize-url): Remove unused var `grok'.
1283 (url-truncate-url-for-viewing): Remove unused var `tail'.
1284
ecfbb488
TTN
12852006-07-30 Thien-Thi Nguyen <ttn@gnu.org>
1286
1287 * url-util.el (url-hexify-string): Rewrite.
1288 Suggested by David Smith <davidsmith@acm.org>.
1289
0b6bb130
MB
12902006-07-12 Michael Olson <mwolson@gnu.org>
1291
1292 * url-irc.el (url-irc-erc): Call erc-handle-irc-url.
1293
bc684c16
SM
12942006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1295
1296 * url-cookie.el: Remove spurious * in docstrings.
1297 (url-cookie-write-file): Don't use versioned backups.
1298 (url-cookie-host-can-set-p): Remove unused var `tmp'.
1299
3d3a26eb 13002006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
bc684c16
SM
1301
1302 * url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
1303 (url-cookie-write-file): Reset url-cookies-changed-since-last-save.
1304
d10a6bf1
RS
13052006-05-12 Reiner Steib <Reiner.Steib@gmx.de>
1306
1307 * url-http.el (url-http-file-exists-p): Test if status is integer.
1308
3d3a26eb 13092006-05-05 Andreas Seltenreich <seltenreich@gmx.de>
3dfed653
EZ
1310
1311 * url-http.el (url-http-parse-headers): Don't reuse connection if
1312 "Connection: close" header was seen.
1313
351b838f
SM
13142006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1315
1316 * url-gw.el (url-open-stream): Don't hide errors.
1317 (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
1318
1319 * url-handlers.el (url-insert): New function.
1320 (url-insert-file-contents): Use it.
1321
bdba217b
SM
13222006-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1323
1324 * url-handlers.el (url-handler-directory-file-name): New handler.
1325 (url-file-local-copy): Plug race condition security hole.
1326
7608c40c
RF
13272006-03-27 Romain Francoise <romain@orebokech.com>
1328
1329 * url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
1330 (url-irc-function): Add rcirc and ERC to the list of IRC clients.
1331 Default to rcirc, since ZenIRC isn't part of Emacs.
1332
bedeb7fd
SM
13332006-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
1334
1335 * url-http.el (url-http-find-free-connection): Fix braino in last fix.
1336
8dff56de
SM
13372006-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
1338
1339 * url-http.el (url-http-find-free-connection): Don't kill the process
1340 when killing the temp buffer.
1341 (url-http-symbol-value-in-buffer): Massage to make it clear to the
1342 byte-compiler that the function is defined.
1343
9b4cf231
SM
13442006-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1345
1346 * url.el (url-redirect-buffer): New var.
1347 (url-retrieve-synchronously): Use it to follow redirections.
1348
1349 * url-http.el: Require `url' rather than try to autoload parts of it.
1350 (url-http-find-free-connection): `url-open-stream' needs a real buffer.
1351 (url-http-parse-headers): Set `url-redirect-buffer' when following
1352 a redirection reply.
1353
81cafdfe
SM
13542006-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1355
1356 * url-news.el: Move defvars out of eval-when-compile.
1357 (url-news-fetch-message-id, url-news-fetch-newsgroup):
1358 Use with-current-buffer.
1359
5dc3ceeb
SM
13602006-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1361
e7ea7cac
SM
1362 * url.el (url-retrieve-synchronously): Adjust the workaround so as not
1363 to stop in the middle of a redirection.
1364
5dc3ceeb
SM
1365 * url-vars.el (url-privacy-level): Add setter.
1366
72a30be4
SM
13672006-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
1368
176c99dc
SM
1369 * url-history.el (url-history-hash-table): Initialize in declaration.
1370 (url-history-parse-history): Don't reset the history.
1371 (url-history-save-history): Create parent dir if necessary.
1372 (url-history-save-history): Don't write the initialization of
1373 url-history-hash-table into the history file.
9b4cf231 1374 (url-have-visited-url): Simplify since url-history-hash-table isn't nil.
176c99dc
SM
1375 (url-completion-function): Simplify.
1376
72a30be4
SM
1377 * url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
1378 (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
1379 (url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
1380 (url-cookie-setup-save-timer): Remove autoload cookies.
1381 They're only called from files that require url-cookie anyway.
1382
1383 * url-history.el (url-history-setup-save-timer)
1384 (url-history-parse-history, url-history-save-history):
1385 Remove autoload cookies. They're only called from url.el which requires
1386 url-history anyway.
1387 (url-history-parse-history): Don't complain if the file is missing.
1388
55262b16
SM
13892006-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1390
1391 * url-handlers.el (url-retrieve-synchronously): Don't autoload.
1392
1393 * url.el (url-retrieve, url-retrieve-synchronously): Autoload.
1394
1395 * url-cache.el: Require `url'.
1396
d476efde
SM
13972005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1398
32d5ce4d
SM
1399 * url-cache.el (url-store-in-cache): Use save-current-buffer.
1400
d476efde
SM
1401 * url.el (url-configuration-directory): Don't autoload because the
1402 default value needs to be computed at run-time, not dump-time.
1403
32fa5844
SM
14042005-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
1405
1406 * url-cookie.el (url-cookie-write-file): Create parent dir.
1407
1408 * url.el (url-configuration-directory): Use ~/.emacs.d if possible.
1409
0c069924
RS
14102005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1411
1412 * url-cookie.el (url-cookie-save-interval): Simplify.
1413 (url-cookie-setup-save-timer): Simplify.
1414
8553120c
RS
14152005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1416
1417 * url-history.el (url-history-list): Var deleted.
1418 (url-history-save-interval): Simplify.
1419 (url-history-setup-save-timer): Simplify.
1420
b0ab1a06
KS
14212005-12-01 Kim F. Storm <storm@cua.dk>
1422
1423 * url-history.el (url-history-track): Fix last change.
1424
1942d6cc
RS
14252005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1426
1427 * url-history.el (url-history-track):
1428 Call url-history-setup-save-timer in :set function.
1429 :type allows three alternatives.
1430 (url-history-setup-save-timer): Test url-history-track.
1431 * url.el (url-retrieve): Test url-history-track.
1432
12f1edc8
SM
14332005-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1434
1435 * url-http.el: Use with-current-buffer.
1436 (url-http-target-url): Rename from url-http-cookies-sources.
1437 (url-http-parse-headers): Use it.
1438 (url-http-handle-authentication): Use subst-char-in-string.
1439
2b1b005c 14402005-11-16 Jürgen Hötzel <emacs@hoetzel.info> (tiny change)
77f05e24
SM
1441
1442 * url-handlers.el (url-insert-file-contents): Use the charset info
1443 provided by the HTTP server, if any.
1444
ce13796f
EZ
14452005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change)
1446
77f05e24
SM
1447 * url-nfs.el (top level):
1448 * url-handlers.el (directory-files):
ce13796f 1449 * url-file.el (top level):
77f05e24 1450 * url-dired.el (url-dired-minor-mode-map):
ce13796f
EZ
1451 * url-http.el (url-http-chunked-encoding-after-change-function):
1452 Remove XEmacs support.
1453
a4684cb0
RS
14542005-10-15 Richard M. Stallman <rms@gnu.org>
1455
1456 * url.el: Don't try to autoload hash table functions.
1457
1430e7f9
SM
14582005-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1459
1460 * url-http.el (url-http-create-request): Avoid incorrect implicit
1461 unibyte->multibyte conversion.
1462
8ccd3630
RS
14632005-09-17 Richard M. Stallman <rms@gnu.org>
1464
1465 * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
1466
1467 * url-mailto.el (url-mailto): Special case `mail'.
1468 Don't test fboundp of `compose-mail'.
1469
b0742512
CY
14702005-09-15 Chong Yidong <cyd@stupidchicken.com>
1471
1472 * url-mailto.el (url-mailto): Delete mail buffer after sending
1473 autogenerated mail.
8ded3f47 1474 Call `compose-mail with `new' argument if possible.
b0742512 1475
c8359e8f
CY
14762005-09-13 Chong Yidong <cyd@stupidchicken.com>
1477
1478 * url-mailto.el (url-mailto): Always use a new mail buffer.
1479
6fd388f3
CY
14802005-09-01 Chong Yidong <cyd@stupidchicken.com>
1481
1482 * url-util.el (url-parse-query-string): New optional argument
1483 allow-newlines allows decoding of newlines.
1484
1485 * url-mailto.el (url-mailto): Allow newlines in URL arguments.
1486 Don't lose original "to" value when there is a "to" header.
1487 Remove carriage return characters in message body.
1488
26d874b2
JB
14892005-08-24 Juanma Barranquero <lekktu@gmail.com>
1490
1491 * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
1492 * url-http.el (url-http-cookies-sources): Defvar at compile time.
1493
dc524e8b
RS
14942005-07-15 Richard M. Stallman <rms@gnu.org>
1495
1496 * url-http.el (url-http-parse-headers): Add :redirect arg-pair
1497 when calling url-retrieve, to indicate a redirect.
1498
1499 * url.el (url-retrieve): The callback function can get an additional
1500 keyword arg pair.
1501
a0ec7a4a
LK
15022005-07-04 Lute Kamstra <lute@gnu.org>
1503
1504 Update FSF's address in GPL notices.
1505
59fda2fa
JB
15062005-07-04 Juanma Barranquero <lekktu@gmail.com>
1507
1508 * url-history.el (url-history-track): Doc fix.
1509 (url-history): Finish `defgroup' description with period.
1510
1511 * url-cookie.el (url-cookie):
1512 * url-gw.el (url-gateway):
1513 * url-news.el (url-news):
1514 * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
1515 Finish `defgroup' description with period.
1516
231add10
RS
15172005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1518
1519 * url-http.el (url-http-create-request): Call url-recreate-url
1520 in proxy case.
1521
e893ce91
RS
15222005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1523
1524 * url-http.el (url-http-create-request): When computing real-fname,
1525 call url-filename in both cases.
1526
15272005-06-27 Richard M. Stallman <rms@gnu.org>
1528
1529 * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
1530 (url-cookie-retrieve): Likewise.
1531 (url-cookie-generate-header-lines): Likewise.
1532 (url-cookie-handle-set-cookie): Likewise.
1533 (url-cookie-create): Expect :localpart instead of :path.
f49d1f52
SM
1534 (url-cookie-localpart): Rename from url-cookie-path.
1535 (url-cookie-set-localpart): Rename from url-cookie-set-path.
e893ce91
RS
1536 (url-cookie-file): Doc fix.
1537 (url-cookie-p): Add doc string.
1538
528b6abc
RS
15392005-06-23 Richard M. Stallman <rms@gnu.org>
1540
1541 * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
1542
23873c96
JB
15432005-06-21 Juanma Barranquero <lekktu@gmail.com>
1544
1545 * url-gw.el (url-open-stream):
1546 * url-vars.el (url-gateway-unplugged): Fix spellings.
1547
0b46b379
JB
15482005-06-14 Juanma Barranquero <lekktu@gmail.com>
1549
d6c180c4 1550 * url-history.el (url-completion-function): Follow error conventions.
0b46b379 1551
175384d1
SM
15522005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1553
1554 * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
1555
7f954571
SM
15562005-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1557
0090e048
SM
1558 * url-dav.el: Remove most autoload cookies.
1559 Don't hook into the url-file-handler since it currently breaks all
1560 non-HTTP URLs.
1561
7f954571
SM
1562 * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
1563
1564 * url.el (url-retrieve-synchronously): Don't exit precipitously when
1565 fetching a file via ange-ftp.
1566
466c78c0
JB
15672005-06-10 Juanma Barranquero <lekktu@gmail.com>
1568
7f954571 1569 * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
466c78c0 1570
93c8c9cd
JB
15712005-05-19 Juanma Barranquero <lekktu@gmail.com>
1572
1573 * url-cookie.el (url-cookie-multiple-line):
1574 Specify group and type in defcustom.
1575
216d3806
JB
15762005-05-06 Juanma Barranquero <lekktu@gmail.com>
1577
1578 * url-auth.el (url-register-auth-scheme):
1579 * url-cookie.el (url-cookie-expired-p):
1580 * url-dav.el (url-dav-process-date-property)
1581 (url-dav-process-boolean-property, url-dav-process-DAV:status):
1582 * url-http.el (url-http-chunked-encoding-after-change-function)
1583 (url-http-wait-for-headers-change-function):
1584 * url-ns.el (isInNet):
1585 * url-parse.el (url-generic-parse-url):
1586 * url-util.el (url-get-normalized-date): Replace `string-to-int'
1587 by `string-to-number'.
1588
799fba8f
SM
15892005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1590
1591 * url.el (url-retrieve-synchronously): Work around the fact that
1592 url-http sometimes doesn't call the callback.
1593
8c6ef2ca
LK
15942005-04-04 Lute Kamstra <lute@gnu.org>
1595
1596 * url-handlers.el (url-handler-mode): Specify :group.
1597
a6efc2c2
EZ
15982005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
1599
1600 * url-history.el (url-have-visited-url): Don't barf if
1601 url-history-hash-table is nil.
1602
134948fc
RS
16032005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
1604
1605 * url-http.el (url-http-parse-headers): Test url-automatic-caching.
1606
1a8461d3
EZ
16072005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1608
557724a8
EZ
1609 * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
1610 to nil, like for the 303 response.
1a8461d3 1611
944b2ab6
SM
16122005-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1613
1614 * url.el (url-retrieve-synchronously): Use accept-process-output rather
1615 than sit-for.
1616
e817f9a2
TTN
16172005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change)
1618
1619 * url-http.el (url-http-handle-authentication):
1620 Don't kill the current buffer.
1621
5007cdc9
SM
16222004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1623
1624 * url-handlers.el: Don't `require' everything eagerly.
1625
cacfe88b
AS
16262004-11-30 Paul Pogonyshev <pogonyshev@gmx.net>
1627
1628 * url-http.el (url-http-handle-cookies): Bind `url-current-object'
1629 to `url-http-cookies-sources' so that cookies are attributed to
1630 proper domain.
1631 (url-http): Make local variable `url-http-cookies-sources'.
1632
dc1a0a7a
AS
16332004-11-28 Andreas Schwab <schwab@suse.de>
1634
1635 * url-http.el (url-http-create-request): Don't add newline after
1636 the request data.
1637
14e25c87
MY
16382004-11-20 Masatake YAMATO <jet@gyve.org>
1639
1640 * url.el (url-mm-callback): Delay the invocation
1ac3c910 1641 of `mm-destroy-parts'. Invoke `mm-destroy-parts'
14e25c87
MY
1642 when the buffer is killed.
1643
de0234ea
MY
16442004-11-12 Masatake YAMATO <jet@gyve.org>
1645
5007cdc9 1646 * url-mailto.el (url-mailto): Fix a typo in the comment.
de0234ea 1647
60b5eb78
MY
16482004-11-02 Masatake YAMATO <jet@gyve.org>
1649
1650 * url-imap.el (url-imap-open-host): Don't use
1ac3c910 1651 `string-to-int'. The port returned by `url-port'
60b5eb78
MY
1652 is expected to be an integer.
1653
1654 * url-irc.el (url-irc): Ditto.
1655
1656 * url-news.el (url-news-open-host): Ditto.
1657
1658 * url-nfs.el (url-nfs-build-filename): Ditto.
1659
ed87225a
JPW
16602004-10-20 John Paul Wallington <jpw@gnu.org>
1661
1662 * url-gw.el (url-gateway-nslookup-host):
1663 Use `set-process-query-on-exit-flag'.
1664
2a6c7fe5
LH
16652004-10-10 Lars Hansen <larsh@math.ku.dk>
1666
4169c186
KS
1667 * url-auth.el:
1668 * url-cache.el:
1669 * url-cid.el:
1670 * url-dired.el:
1671 * url-expand.el:
1672 * url-ftp.el:
1673 * url-gw.el:
1674 * url-imap.el:
1675 * url-irc.el:
1676 * url-misc.el:
1677 * url-news.el:
1678 * url-ns.el:
1679 * url-privacy.el:
2a6c7fe5
LH
1680 * url-proxy.el: Update header and footer.
1681
1682 * url-vars.el: Update header.
1683
c2e2ede7
RS
16842004-10-16 Richard M. Stallman <rms@gnu.org>
1685
1686 * url.el (url-do-setup): Don't set url-passwd-entry-func.
1687
1688 * url-vars.el (url-passwd-entry-func): Var deleted.
1689 (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
5007cdc9
SM
1690 (url-weekday-alist): Rename from weekday-alist.
1691 (url-monthabbrev-alist): Rename from monthabbrev-alist.
c2e2ede7
RS
1692 (url-vars-unload-hook): Initialize hook var to hold the function.
1693
5007cdc9
SM
1694 * url-util.el (url-get-normalized-date): Use url-weekday-alist and
1695 url-monthabbrev-alist.
c2e2ede7
RS
1696
1697 * url-misc.el: Load cl at compile time.
1698
1699 * url-mailto.el: Don't load cl.
1700 (url-mailto): Fix call to `push'.
1701
1702 * url-gw.el (url-open-telnet): Use read-passwd.
1703
1704 * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
1705
3bb53a84
SJ
17062004-10-12 Simon Josefsson <jas@extundo.com>
1707
1708 * url-vars.el (url-gateway-method): Add new method `tls'.
1709
1710 * url-news.el (url-snews): Use nntp-open-tls-stream if
1711 url-gateway-method is tls.
1712
5007cdc9
SM
1713 * url-ldap.el (url-ldap-certificate-formatter):
1714 Use tls-certificate-information if ssl.el is not available.
3bb53a84
SJ
1715
1716 * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
1717 is not available.
1718
1719 * url-gw.el (url-open-stream): Support tls url-gateway-method.
1720 (url-open-stream): Likewise.
1721
df41da5e
LH
17222004-10-10 Lars Hansen <larsh@math.ku.dk>
1723
4169c186
KS
1724 * url-auth.el:
1725 * url-cache.el:
1726 * url-cookie.el:
1727 * url-dired.el:
1728 * url-file.el:
1729 * url-ftp.el:
1730 * url-handlers.el:
1731 * url-history.el:
1732 * url-irc.el:
1733 * url-mailto.el:
1734 * url-methods.el:
1735 * url-misc.el:
1736 * url-news.el:
1737 * url-nfs.el:
1738 * url-parse.el:
1739 * url-privacy.el:
1740 * url-vars.el:
1741 * url.el:
df41da5e
LH
1742 * url-util.el: Fix copyright notice.
1743
ccd59305
SM
17442004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1745
1746 * url-handlers.el (url-insert-file-contents): Use the URL to decide the
1747 encoding, not the buffer-file-name (which might not even exist).
1748
d4fdad60
SM
17492004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1750
1751 * url-handlers.el (url-insert-file-contents): Decode contents.
1752
10a6e6ba
SM
17532004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1754
1755 * url-util.el (url-debug): Use with-current-buffer.
1756
1757 * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
1758 (url-nfs-create-wrapper): Use new backquote syntax.
1759
1760 * url-https.el (url-https-file-attributes): Add id-format param.
1761
1762 * url-http.el (url-http-head-file-attributes)
1763 (url-http-file-attributes): Add id-format parameter.
1764
1765 * url-handlers.el: Use new find-file-hook.
1766 (url-file-attributes): Add id-format parameter.
1767
1768 * url-file.el (url-file-create-wrapper): Use new backquote syntax.
1769 (url-file-file-attributes): Add id-format parameter.
1770
1771 * url-dav.el: Use with-current-buffer.
1772 (url-dav-process-response): Fix regexps and spurious quote.
1773 (url-dav-file-attributes): Add id-format param.
1774
17752004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1776
1777 * url.el (url-retrieve): Use with-current-buffer.
1778
1779 * url-http.el (url-http-parse-headers, url-http-file-exists-p):
1780 Remove unused var `version'.
1781
1782 * url-handlers.el (url-handler-mode): New minor mode.
1783 (url-setup-file-name-handlers): Remove.
1784
17852004-04-12 John Paul Wallington <jpw@gnu.org>
1786
1787 * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
1788 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
1789
17902004-04-11 Dave Love <fx@gnu.org>
1791
1792 * url-mailto.el (url-mailto):
1793 * url-history.el (url-history-setup-save-timer):
1794 * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
1795
1796 * url-file.el (url-file-build-filename): Don't use
1797 directory-sep-char.
1798
1799 * url-auth.el (url-register-auth-scheme): Fix `format' call.
1800
1801 * url-about.el (url-scheme-registry): Defvar.
1802 (url-about): Use text/plain.
1803
1804 * url-vars.el (cl): Don't require.
1805 (url): Add :version.
1806 (url-bug-address): Use bug-gnu-emacs.
1807
1808 * url-util.el (url-hexify-string): Don't give multibyte error
1809 for char <16.
1810 (mail-header-extract): Autoload.
1811
1812 * url-parse.el: Doc fixes.
1813
1814 * url-ldap.el (ldap): Require.
1815 (url-ldap): Fix `format' call.
1816 (url-ldap-certificate-formatter): Avoid warning.
1817
4dfde3dd 1818 * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
10a6e6ba
SM
1819
1820 * url-dav.el (url-dav-rename-file): Fix args of `signal'.
1821 (url-intersection): New.
1822 (url-dav-supported-p): Use it.
1823 (url-dav-save-resource): Declare url-http-response-status special.
1824
1825 * url-cache.el (url-util): Require.
1826
18272004-04-10 Miles Bader <miles@gnu.org>
1828
1829 RCS keyword removal (only non-comment changes are enumerated here):
1830
1831 * url-vars.el (url-version): Use the constant string "Emacs"
1832 instead of calculating something from the RCS `State' keyword
1833 [the latter is almost entirely useless anyway].
1834
18352004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * url-methods.el:
1838 * url-parse.el: Don't require url-auto.
1839
18402004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1841
1842 * url: Imported the URL package from its own CVS repository into Emacs.
1843
1844===========================================================================
1845===========================================================================
1846 Copy of the ChangeLog file from URL's own CVS repository:
1847===========================================================================
1848===========================================================================
1849
18502003-07-16 Dave Love <fx@gnu.org>
1851
1852 * lisp/url.el (url-retrieve-synchronously): Revert last change.
1853 Should be revisited.
1854
18552003-06-26 Sam Steingold <sds@gnu.org>
1856
1857 * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
1858 method on invalid urls.
1859
18602003-05-29 Dave Love <fx@gnu.org>
1861
1862 * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
1863 sit-for. From monnier@gnu.org.
1864
1ac3c910 18652002-11-04 Walter C. Pelissero <walter@pelissero.org>
10a6e6ba 1866
4dfde3dd
SM
1867 * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
1868 port numbers to integers when creating the URL objects for proxies.
10a6e6ba
SM
1869
18702002-10-29 William M. Perry <wmperry@gnu.org>
1871
1872 * lisp/url-http.el (url-http-parse-headers): When doing a
1873 redirect, some broken software (sourceforge) sends a redirect to
1874 '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
1875 specification). I wish we could deal with such lame software
1876 appropriately (spank the authors), but this is the web, so we have
1877 to kow-tow to the servers.
1878
18792002-10-27 William M. Perry <wmperry@gnu.org>
1880
1881 * lisp/url-http.el (url-http-create-request): If we are talking to
1882 the default port for a the selected protocol, do NOT send the port
1883 in the HOST header. This fixes the login page at sourceforge.
1884
18852002-09-17 William M. Perry <wmperry@gnu.org>
1886
1887 * lisp/url-http.el (url-http-handle-cookies): New function to deal
1888 with cookie headers.
1889 (url-http-parse-headers): Call `url-http-handle-cookies' here so
4dfde3dd
SM
1890 that cookie additions and deletions get handled immediately.
1891 This is so that sites that set cookies while doing redirects
10a6e6ba
SM
1892 (my.yahoo.com, outlook web access, etc) work. This should also
1893 fix sites that delete cookies on invalid access or other error
1894 pages the user might not actually see.
1895 (url-http-parse-headers): Silently convert non-HEAD and non-GET
1896 methods to GET in redirects. Too many web sites do this now, and
1897 it is just likely to confuse users.
1898
18992002-05-17 Dave Love <fx@gnu.org>
1900
1901 * texi/url.txi: Start making it vaguely useful.
1902
1903 * texi/Makefile.in (install): Cope with Debian install-info.
2a5be7dc 1904 From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Grossjohann).
10a6e6ba
SM
1905
19062002-04-22 Dave Love <fx@gnu.org>
1907
1908 * lisp/url-misc.el (man): Autoload to avoid warning.
1909 (url-man): Don't require man here.
1910 (url-data): Generalize in line with the RFC.
1911
1912 * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
1913
1914 * lisp/url-vars.el: Doc fixes.
1915 (url-mime-charset-string): New function.
1916 (url-mime-charset-string): Use it to set the variable.
1917 (url-set-mime-charset-string): New function.
1918 (set-language-environment-hook): Use it.
1919 (url-vars-unload-hook): New function.
1920
4dfde3dd
SM
1921 * lisp/url-cookie.el (url-header-comparison): Delete.
1922 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
10a6e6ba
SM
1923 (url-cookie-save-interval): Make value agree with doc.
1924
1925 * lisp/url.el: Doc fixes.
1926 (url-mm-callback): Don't call mm-destroy-parts immediately for
1927 external viewing -- set up a process sentinel.
1928
19292002-02-02 William M. Perry <wmperry@gnu.org>
1930
4dfde3dd 1931 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
10a6e6ba
SM
1932
19332001-12-12 William M. Perry <wmperry@gnu.org>
1934
1935 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
1936 Monnier to use ` instead of ^ to match the relative link.
1937
19382001-12-10 William M. Perry <wmperry@gnu.org>
1939
1940 * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
1941 plist-get (reversed args).
1942
1943 * lisp/url-file.el (url-file-build-filename): Make sure that we
1944 have a parsed URL in this function.
1945
19462002-01-22 Dave Love <fx@gnu.org>
1947
1948 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
1949
4dfde3dd
SM
1950 * lisp/url-imap.el (url-imap): Maybe disable multibyte.
1951 Bind coding-system-for-read. Require mm-util.
10a6e6ba
SM
1952
1953 * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
1954
1955 * lisp/mule-sysdp.el: Removed (obsolete).
1956
19572001-12-09 William M. Perry <wmperry@gnu.org>
1958
1959 * lisp/url-dav.el (url-dav-delete-something): Utility macro to
1960 remove an arbitrary resource.
1961 (url-dav-delete-directory): Use it.
1962 (url-dav-delete-file): Ditto.
1963 (url-dav-make-directory): New function.
1964 (url-dav-rename-file): New function.
1965 (url-dav-register-handler): New function to easily register a
1966 WebDAV-specific file-name-handler operation.
1967 (url-dav-file-name-all-completions, url-dav-file-name-completion):
4dfde3dd 1968 New functions that allow file-name completion for WebDAV resources.
10a6e6ba
SM
1969
19702001-12-08 William M. Perry <wmperry@gnu.org>
1971
1972 * lisp/url-dav.el (url-dav-directory-files): New function to
1973 mimic `directory-files' for WebDAV.
1974 (url-dav-delete-directory): New function to mimic
1975 `delete-directory' for WebDAV.
1976
19772001-12-06 William M. Perry <wmperry@gnu.org>
1978
1979 * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
1980 DAV:locktoken hrefs into a usable format.
1981 (url-dav-process-response): Use an unwind-protect to make sure
1982 that we clean up the buffer, even if there is a parsing error.
1983 (url-dav-request): New function to act as the main entry point for
1984 making DAV requests. Takes care of building the XML document with
1985 appropriate namespaces, depth, etc, and parses the results.
4dfde3dd
SM
1986 (url-dav-get-properties): Use new url-dav-request function.
1987 This is now just a thin wrapper around that to use PROPFIND and set any
10a6e6ba
SM
1988 extra properties we are looking for.
1989 (url-dav-unlock-resource): New function to release a lock given a
1990 URL and a lock-token.
1991 (url-dav-process-DAV:getlastmodified)
1992 (url-dav-process-DAV:creationdate)
1993 (url-dav-process-DAV:iscollection)
1994 (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
1995 url-dave-*!
1996 (url-dav-active-locks): New function to get a list of all the
1997 active locks for a resource.
1998 (url-dav-save-resource): New function to actually save a resource
1999 using the PUT method. I can now successfully save files to an
4dfde3dd 2000 HTTP server with some manual steps from a lisp-interaction buffer.
10a6e6ba
SM
2001
2002 * lisp/url-http.el (url-http-wait-for-headers-change-function):
2003 Special case the 204/205 response codes. Some servers do not
2004 send back a 0 content-length for these, and we would hang.
2005 (url-http-parse-headers): Mark 204/205 response codes as
2006 'successful' so that the callbacks get activated.
2007 (url-http-options): Fix unbound variable usage.
2008
2009 * lisp/url-dav.el: Added full copyright information.
2010 (url-dav-process-response): Make sure that we create a DAV:status
2011 property when parsing a singleton response.
2012 (url-dav-file-attributes): If the properties returned did not have
10d1d0af 2013 a successful HTTP response code, then ignore them and use the
10a6e6ba
SM
2014 HEAD-based attributes.
2015
2016 * lisp/vc-dav.el: Added full copyright information.
2017
4dfde3dd
SM
2018 * lisp/url-dav.el (url-dav-process-supportedlock-property):
2019 Deal with text nodes in DAV:supportedlock nodes.
10a6e6ba
SM
2020 (url-dav-file-attributes-mode-string): This now gets the entire
2021 property list instead of just the DAV:supportedlock node.
2022 (url-dav-file-attributes): Make sure to pass the whole list in.
4dfde3dd 2023 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
10a6e6ba
SM
2024 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
2025 'executable' bit to set the 'x' mode. See `mod_dav's custom
2026 properties' at http://www.webdav.org/mod_dav/ for more details.
2027 (url-dav-find-parser): New function to find the proper parser for
2028 a node-type. Looks for
2029 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
2030 back to using url-dav-node-text. Caches the results on the nodes
2031 symbol name.
4dfde3dd
SM
2032 (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
2033 (url-dav-process-*): Rename most of the handlers and made them
10a6e6ba
SM
2034 use url-dav-dispatch-node where appropriate.
2035 (url-dav-process-DAV:prop): Instead of using the dav-data-type
2036 property to dispatch the node, now uses dav-dispatch-node so that
2037 it is easy to add parsers for special nodes.
2038 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
2039 (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
2040 (url-dav-process-DAV:getcontentlength)
2041 (url-dave-process-DAV:getlastmodified)
2042 (url-dave-process-DAV:creationdate)
2043 (url-dave-process-DAV:iscollection)
2044 (url-dave-process-DAV:ishidden): Aliases for the generic
2045 url-dav-process-foo-property routines.
2046 (url-dav-process-DAV:activelock)
2047 (url-dav-process-DAV:lockdiscovery): Can now correctly parse
2048 DAV:lockdiscovery nodes, so that we can find out who has a
c80e3b4a 2049 resource locked and properly parse the response to a LOCK request.
10d1d0af 2050 (url-dav-process-DAV:status): Now parses out the numeric status
10a6e6ba
SM
2051 from the HTTP response line.
2052 (url-dav-process-response): New function to handle all the
2053 parsing of an XML response from WebDAV. This handles all the
2054 logic of checking the response content-type to make sure it is
2055 XML, parses the tree, and interprets the tree.
2056 (url-dav-process-response): Make sure that all responses look
2057 like a DAV:multistatus response, even if we get a singleton
4dfde3dd 2058 response back. This will just make the upper layer logic simpler.
10a6e6ba
SM
2059 (url-dav-get-properties): New optional argument NAMESPACES that
2060 specifies what namespaces to use in the XML request.
2061 (url-dav-get-properties): Got rid of the D: namespace in
2062 requests. It doesn't save that much space. Just use DAV:
2063 (url-dav-lock-identifier): New variable that should hold a URI
2064 pointing to contact information for the user. This will be used
2065 as the contents of the DAV:owner/DAV:href tag to identify the
2066 owner of a LOCK when requesting it. This will be shown to other
2067 users when the DAV:lockdiscovery property is requested, so make
2068 sure you are comfortable with it leaking to the outside world.
2069 (url-dav-lock-resource): New function to LOCK a dav resource.
2070
20712001-12-05 William M. Perry <wmperry@gnu.org>
2072
2073 * lisp/url-dav.el (url-dav-get-properties): New argument
2074 ATTRIBUTES that allows you to ask for specific properties instead
2075 of getting all properties via DAV:allprop.
2076
4dfde3dd
SM
2077 * lisp/url-http.el (url-http-real-basic-auth-storage):
2078 New variable for normal HTTP basic authentication.
10a6e6ba
SM
2079 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
2080 basic authentication.
2081 (url-http-handle-authentication): Follow new semantics for
2082 url-basic-auth-storage.
2083
4dfde3dd 2084 * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
10a6e6ba
SM
2085 this variable. It is now a symbol pointing to where we really
2086 want to store the authorization information. This fixes proxy
4dfde3dd
SM
2087 auth and normal basic auth because of some local bindings that were
2088 making it impossible to store the credentials in the global binding.
10a6e6ba
SM
2089 (url-basic-auth): Make sure we dereference url-basic-auth-storage
2090 everywhere.
2091
4dfde3dd 2092 * lisp/url-util.el (url-debug): Add new types 'dav and
10a6e6ba
SM
2093 'retrieval to the customization list.
2094
2095 * lisp/url.el (url-retrieve-synchronously): Put in some debugging
2096 statements.
2097
4dfde3dd 2098 * lisp/url-http.el (url-http-head-file-attributes): Rename old
10a6e6ba
SM
2099 url-http-file-attributes so that we can have a smarter one that
2100 tries WebDAV first, then HEAD.
4dfde3dd 2101 (url-http-file-attributes): New smart version that tries WebDAV first.
10a6e6ba
SM
2102 (url-http-options): New function that returns information gleaned
2103 from an OPTIONS request for a URL. Returns a property list
2104 returning the methods supported for the resource, what DAV and
2105 DASL levels are supported, p3p information, and whether
2106 byte-ranges are supported or not.
2107 (url-http-wait-for-headers-change-function): If we got a 0-byte
2108 content-length, activate the callback immediately.
2109 (url-http-wait-for-headers-change-function): For content-length
2110 responses with actual body-data in the chunk we are handling, call
2111 url-http-content-length-after-change-function with the remaining
2112 data. Otherwise we can deadlock if the headers and the entire
2113 body exist arrive in one chunk.
2114
2115 * lisp/url-dav.el: New file to contain the WebDAV
2116 (http://www.webdav.org/) implementation.
2117 (url-dav-supported-p): Cheap way to figure out whether we will be
2118 able to do DAV at all. We rely on the XML parser expanding
2119 namespaces for us, and currently you need a patched version of
2120 xml.el to do this. Patch sent to author for consideration.
2121 (url-dav-file-attributes): Much more complete version of
2122 `file-attributes' using the WebDAV PROPFIND method. Now correctly
2123 finds out whether something is a directory (a WebDAV collection),
2124 the last modification time, and permissions (based on the
2125 DAV:supportedlock information).
2126 (url-dav-get-properties): Generic interface to get WebDAV
2127 properties for a URL. Can specify an optional `depth' parameter
2128 to tell the web server how many directory (collection) levels to
2129 recurse when retrieving the property lists. Returns an assoc
4dfde3dd 2130 list keyed off of the resource, the cdr of which is a property list.
10a6e6ba
SM
2131 (url-dav-datatype-attribute): We support the XML-Data note
2132 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
2133 datatypes of attributes are. Currently only date, dateTime, int,
2134 number, float, boolean, and uri are supported.
2135
21362001-12-04 William M. Perry <wmperry@gnu.org>
2137
2138 * lisp/url-handlers.el (file-name-absolute-p): New hooked
2139 version. If the filename matches our regexp, then it is always
2140 absolute, so just return `t'.
2141 (expand-file-name): New hooked version. If the fragment is an
2142 absolute file or URL, then expand it relative to '/'.
2143 (url-handler-regexp): New regexp for specific schemes that we
2144 want the file-name-handlers to work off of.
4dfde3dd 2145 (url-setup-file-name-handlers): Use it when installing the handlers.
10a6e6ba
SM
2146
2147 * lisp/url-http.el (url-http-find-free-connection): Better logging
2148 about whether we are reusing an existing connection or not.
2149
4dfde3dd 2150 * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
10a6e6ba
SM
2151 to string-match instead of match-string (and with reversed
2152 arguments even).
2153
4dfde3dd 2154 * lisp/url-http.el (url-http-debug): Change to now use the
10a6e6ba
SM
2155 generic url-debug function to do the actual logging. Still a
2156 separate function so that we can do our magic on the network
2157 connection if the user quits while we are downloading.
2158
2159 * lisp/url-handlers.el (url-file-handler): Now logs the result of
2160 the hooked or real call.
2161
4dfde3dd 2162 * lisp/url-util.el (url-debug): New function for generic debug logging.
10a6e6ba
SM
2163
21642001-11-28 William M. Perry <wmperry@gnu.org>
2165
2166 * lisp/url-imap.el (url-imap-open-host): Use backquote.
2167 (url-imap): Now switches to 'login as the imap authenticator if
2168 the URL provides a username and password.
2169
2170 * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
2171 push to replace some strange logic in here.
2172 (url-run-real-handler): New function to run the real hooks in
2173 case we get a false positive or an operation that we do not
2174 support. The old way disabled _ALL_ file-name-handlers when
2175 we hit something we didn't understand - this disables JUST us.
4dfde3dd 2176 (url-file-handler): Remove the logic about removing the leading
10a6e6ba
SM
2177 '/' off of the first argument... it may not be safe to always
2178 assume that the first argument is the one we are acting on -
4dfde3dd 2179 `default' is the second argument for expand-file-name for example.
10a6e6ba
SM
2180 (url-setup-file-name-handlers): Use url-nonrelative-link
2181 directly. This means that you must type in the URL directly
2182 without prefixing it with a '/'.
2183
2184 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
2185
2186 Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
2187 which activates us (because 'nnml+mail' _is_ a valid scheme name
2188 for a URI). We get thoroughly confused and end up returning
2189 `nil' when we shouldn't.
2190
21912001-11-26 William M. Perry <wmperry@gnu.org>
2192
2193 * lisp/url-handlers.el (file-writable-p): Add NULL handler for
2194 this so that visiting a URL directly will work.
2195 (file-symlink-p): Ditto.
2196 (url-insert-file-contents): If `visit' is non-nil then make sure
2197 we set buffer-file-name. After these changes you can visit
2198 http://www.gnu.org/ directly from the minibuffer.
2199 (url-insert-file-contents): When inserting the file contents,
2200 use a save-excursion so that we behave just like the original.
2201
22022001-11-25 William M. Perry <wmperry@gnu.org>
2203
4dfde3dd 2204 * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
10a6e6ba
SM
2205
22062001-11-24 William M. Perry <wmperry@gnu.org>
2207
2208 * lisp/url-about.el (url-about): New loader scheme to handle
2209 about:foo URLs. Automatically tries to find a `url-about-foo'
2210 function to display the actual data.
2941ce4b 2211 (url-about-protocols): Implement about:protocols.
10a6e6ba
SM
2212
2213 * lisp/url-http.el (url-http): Make sure that we signal an error
2214 when we cannot open a network connection for whatever reason.
2215 Before, it would just silently clean up after itself and the user
183080b6 2216 got absolutely no indication that an error had occurred. If the
10a6e6ba
SM
2217 error should truly be ignored, the caller should do that for us.
2218 (url-http-chunked-encoding-after-change-function): Doh! Need to
2219 user marker-position in some log messages now that
2220 url-http-chunked-start is a marker.
2221
22222001-11-22 William M. Perry <wmperry@gnu.org>
2223
2224 * lisp/url-https.el: Fixed definition of url-https - was using the
2225 wrong signature. Too much cut & paste.
4dfde3dd 2226 (url-https-create-secure-wrapper): Fix so that url-https works
10a6e6ba 2227 at all. Was not taking a null `method' into account when calling
4dfde3dd 2228 the wrapped function so url-https tried to call url-http-nil. *sigh*
10a6e6ba
SM
2229
2230 * lisp/url-http.el
4dfde3dd 2231 (url-http-chunked-encoding-after-change-function): Add some
10a6e6ba
SM
2232 feedback when not debugging about what content-type and chunk # we
2233 are reading.
2234 (url-http-chunked-encoding-after-change-function): Use a marker
2235 for url-http-chunked-start so that we can safely delete the
2236 chunk-tokens instead of just marking them as invisible.
2237 (url-http-chunked-encoding-after-change-function): Actually delete
2238 the chunk-tokens. Now that we are not run from 'real'
2239 after-change functions, this is safe, and the right thing to do.
2240 Otherwise the HTML parser still saw them and inferred all sorts of
2241 bad things about the document (ie: nothing had a title!)
2242
22432001-11-21 William M. Perry <wmperry@gnu.org>
2244
2245 * lisp/url-http.el (url-http-debug): Document this variable.
2246 People other than I might want to use it.
2247 (url-http-debug): Put some code in here to check quit-flag
2248 directly. When the chunked encoding went into a tight spin, your
2249 Emacs would be wedged forever. This short-circuits all the
2250 after-change functions and signals an error.
2251 (url-http-debug): If url-http-debug is non-nil and non-t, then log
2252 the debug messages using `message' as well as sending them to the
2253 buffer.
2254 (url-http-chunked-encoding-after-change-function): Got rid of the
2255 no-initial-crlf. Had an epiphany and I can just infer this from
2256 url-http-chunked-counter being 0.
4dfde3dd 2257 (url-http-chunked-encoding-after-change-function): Move the debug
10a6e6ba
SM
2258 statement about reading chunk #foo into the loop so that each
2259 chunk will have a log message associated with it.
2260 (url-http-chunked-encoding-after-change-function): Make sure to
2261 set read-next-chunk to nil when the regular expression match fails
2262 to fire. Otherwise we could loop forever.
4dfde3dd
SM
2263 (url-http-chunked-encoding-after-change-function): Tweak the
2264 regular expression to be a little less greedy when looking for a chunk.
10a6e6ba
SM
2265 (url-http-wait-for-headers-change-function): Remove the last
2266 argument when calling
2267 url-http-chunked-encoding-after-change-function. It is no longer
2268 needed. I should use my brain sometime.
2269
4dfde3dd 2270 * lisp/url-vars.el (and): Fix feature test for xemacs and
fffa137c 2271 coding-system-list behavior.
10a6e6ba
SM
2272
2273 * lisp/url-http.el
4dfde3dd
SM
2274 (url-http-chunked-encoding-after-change-function): Add optional
2275 no-initial-crlf flag that modifies the regular expression.
2276 This is only set from url-http-wait-for-headers-change-function so that
10a6e6ba 2277 the initial CRLF in the HTTP headers is not swallowed.
4dfde3dd 2278 (url-http-chunked-encoding-after-change-function): Fix a few
10a6e6ba 2279 off-by-one errors by using (match-end 0) instead of 1.
4dfde3dd 2280 (url-http-chunked-encoding-after-change-function): Add a few
10a6e6ba
SM
2281 url-http-debug calls to help track down problems in the chunked
2282 encoding.
2283 (url-http-chunked-encoding-after-change-function): The chunk
2284 reading in here is now in a while loop so that if Emacs feeds us a
2285 chunk of data that happens to contain more than one 'chunk'
2286 delimiter, we behave correctly.
2287 (url-http-wait-for-headers-change-function): Make sure that we
2288 pass no-initial-crlf to
2289 url-http-chunked-encoding-after-change-function when passing
2290 initial data to the decoder.
2291 (url-http-generic-filter): url-http-debug statement so we can tell
2292 when/where our after-change-functions are being called.
2293
22942001-10-11 Dave Love <fx@gnu.org>
2295
2296 * lisp/url-handlers.el: Doc fixes.
2297 (string-match): Use (featurep 'xemacs).
2298
2299 * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
2300
2301 * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
2302
2303 * lisp/url-vars.el (url-running-xemacs): Delete.
2304 (url-gateway-unplugged): New variable.
2305
2306 * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
2307 Comment out OS/2 stuff.
2308
23092001-10-05 Dave Love <fx@gnu.org>
2310
2311 * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
2312 without confirmation.
2313
23142001-10-02 Dave Love <fx@gnu.org>
2315
2316 * lisp/url-http.el (url-http-create-request): Check cache for
2317 proxy-obj, if defined, rather than url.
2318 (url-http): Use dolist, not mapc (runtime cl dependency).
2319
2320 * lisp/url-methods.el: Maybe require cl at runtime.
4dfde3dd
SM
2321 (url-scheme-register-proxy): Fix fetching from environment.
2322 Don't concat a number.
10a6e6ba
SM
2323
23242001-10-01 Dave Love <fx@gnu.org>
2325
2326 * lisp/url-parse.el: Use modern backquote syntax.
2327
2328 * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
2329 (url-mail-command): Prefer compose-mail.
2330 (tcp-binary-process-input-services): Comment out.
2331 (url-working-buffer): New constant.
2332
2333 * lisp/url-util.el (url-extract-mime-headers): New function.
2334
2335 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add
2336 User-Agent.
2337
23382001-09-20 Dave Love <fx@gnu.org>
2339
4dfde3dd 2340 * lisp/url-http.el (url-http-create-request): Don't concat a number.
10a6e6ba
SM
2341
23422001-06-05 Dave Love <fx@gnu.org>
2343
2344 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob
4dfde3dd 2345 tcp-binary-process-input-services. Remove function wrapper for lambda.
10a6e6ba
SM
2346 (url-retrieve): Barf with sensible message if url-type is null.
2347
2348 * lisp/url-http.el (url-http): Don't try to set process
2349 coding-system here -- done in url-gw.
2350
2351 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
2352 (url-open-stream): Bind coding-system-for{read,write} when setting
e4769531 2353 up the connection. Don't call url-gw-inhibit-code-conversion.
10a6e6ba 2354
4dfde3dd
SM
23552001-05-24 William M. Perry <wmperry@gnu.org>
2356
2357 * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
2358 in url-retrieve-synchronously.
2359
10a6e6ba
SM
23602001-05-23 William M. Perry <wmperry@gnu.org>
2361
2362 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
2363 accept-process-output. This is evidently causing hangs in Emacs
2364 21 when viewing complex pages with images or stylesheets.
2365 www.yahoo.com is now viewable.
2366
2367 * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
2368 (mule-inhibit-code-conversion) and just have a local function that
2369 does this minimal cruft.
2370 (url-gw-inhibit-code-conversion): New function to turn off code
2371 conversion in a process.
2372
23732001-05-22 William M. Perry <wmperry@gnu.org>
2374
2375 * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
2376 that we can allow multiple asynch retrievals to happen at once.
2377 (url-retrieve-synchronously): Use a much smaller timeout when
2378 doing the accept-process-output. This gets rid of the long delays
2379 if you are on a fast net connection and retrieve small documents
2380 that finish asynchronously before the first accept-process-output
2381 can be run. All hail broadband and 100Mb in the house!
4dfde3dd 2382 (url-retrieve-synchronously): Add documentation for this function.
10a6e6ba
SM
2383 (url-retrieve): Ditto.
2384 (url-mm-url): Ditto.
2385
2386 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
2387 documentation strings. Ok, so I'm anal.
2388
2389 * lisp/url-methods.el (url-scheme-methods): Add default methods
2390 for file-directory-p and file-truename.
2391
23922001-05-22 Dave Love <fx@gnu.org>
2393
2394 * lisp/url-auth.el (url-warn): Autoload.
2395
2396 * lisp/url-proxy.el (url-warn): Autoload.
2397
2398 * lisp/url-nfs.el: Fix `file-truname' typo.
2399
2400 * lisp/url-news.el: Require cl when compiling.
1ac3c910 2401 (url-warn, gnus-group-read-ephemeral-group): Autoload.
4dfde3dd 2402 (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
10a6e6ba
SM
2403 (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
2404
2405 * lisp/url-util.el (mule-decode-string): Don't autoload.
2406 (url-hexify-string): Just barf on multibyte characters.
2407 (url-generate-unique-filename): New function.
2408
2409 * lisp/url-file.el (url-file): Use url-generate-unique-filename,
2410 not mm-generate-unique-filename.
2411
2412 * lisp/url-http.el: Declare things special in various places.
2413 (url-http-activate-callback): Don't set
2414 url-http-real-after-change-function.
2415
24162001-05-22 William M. Perry <wmperry@gnu.org>
2417
2418 * lisp/url-http.el (url-http-attempt-keepalives): New variable to
2419 control whether we try to do keep-alives for our connections.
2420 (url-http-version): New variable to control whether we advertise
2421 ourselves as an HTTP/1.1 client or not. This can be useful for
2422 avoiding chunked encoding, and other 1.1 features we may not have
2423 fully implemented yet.
2424 (url-http-create-request): Honor the new variables.
2425
24262001-05-21 Dave Love <fx@gnu.org>
2427
2428 * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
2429 in XEmacs.
2430 (url-mime-charset-string): Don't reverse the list before sorting.
2431
24322001-05-17 William M. Perry <wmperry@gnu.org>
2433
2434 * lisp/url-http.el (url-http-generic-filter): Avoid using
2435 after-change-functions natively. There are just too many ways
2436 that this screws up in Emacs 21. Use a filter function on the
2437 process instead, and call the hook on
2438 url-http-after-change-function manually. [Actually, it will work
2439 in Emacs 21, but one problem that has been fixed in Emacs 21
2440 exists in Emacs 20. -- fx]
2441
2442 * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
2443 does not exist on older versions of Emacs, or any version of
2444 XEmacs. Do not call it unless it is bound.
2445
24462001-05-17 Dave Love <fx@gnu.org>
2447
2448 * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
2449
24502001-05-16 Dave Love <fx@gnu.org>
2451
2452 * lisp/url-vars.el: Doc fixes. Require mm-util.
2453 (url-mime-charset-string): New variable.
2454
2455 * lisp/url-http.el: Doc fixes.
2456 (url-http-create-request): Rearrange how we assemble the request.
2457 Avoid generating bogus requests with an empty real-fname.
4dfde3dd 2458 (url-http-handle-authentication): Declare status and success special.
10a6e6ba
SM
2459 (url-http): Call mm-disable-multibyte. Set process buffer's
2460 coding systems to binary.
2461
2462 * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
2463
4dfde3dd 2464 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
10a6e6ba 2465 (url-file-find-possibly-compressed-file): Doc fix.
4dfde3dd 2466 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
10a6e6ba
SM
2467
2468 * lisp/url-cache.el: Don't require mule-sysdp.
2469 (url-store-in-cache): Avoid mule-write-region-no-coding-system.
2470
2471 * lisp/url.el: Don't require mule-sysdp.
2472 (url-retrieve): Only set text properties if url is a string.
2473
24742001-05-14 Dave Love <fx@gnu.org>
2475
4dfde3dd
SM
2476 * lisp/url-http.el (url-http-create-request):
2477 Declare proxy-object, proxy-info special.
10a6e6ba
SM
2478 (url-http-handle-authentication): Declare success special.
2479
24802001-05-12 Dave Love <fx@gnu.org>
2481
2482 * lisp/url-http.el: Revert last change.
2483
24842001-05-10 Dave Love <fx@gnu.org>
2485
4dfde3dd
SM
2486 * lisp/url-http.el (url-http-generic-after-change-function):
2487 Make it permanent-local.
10a6e6ba
SM
2488
24892001-05-05 Dave Love <fx@gnu.org>
2490
2491 * lisp/url-http.el: Autoload some functions.
2492 (cl): Require when compiling.
2493 (url-http-extra-headers): Defvar when compiling.
2494 (url-http): Treat after-change-functions as a local hook.
2495
2496 * lisp/url-history.el (url-parse): Require.
2497 (url-do-setup): Autoload.
2498
2499 * lisp/url-gw.el: Require url-vars. Autoload some functions.
2500
2501 * lisp/url-file.el: Require mailcap. Require cl when compiling.
2502 Use (featurep 'xemacs).
2503 (url-file-build-filename): Bind pos-index.
2504 (url-file): Call url-find-file-dired, not url-dired-find-file.
2505
4dfde3dd 2506 * lisp/url-dired.el: Add copyright notice. Autoload some functions.
10a6e6ba
SM
2507 (url-dired-minor-mode-map): Use (featurep 'xemacs).
2508 (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
4dfde3dd 2509 (url-find-file-dired): Rename from one version of url-dired-find-file.
10a6e6ba
SM
2510
2511 * lisp/url-cid.el: Don't require widget. Require mm-decode
2512 unconditionally.
2513
2514 * lisp/url-util.el: Autoload mule-decode-string,
2515 timezone-parse-date, timezone-make-date-arpa-standard.
2516 (url-unreserved-chars): Fix list per RFC 2396.
2517 (url-hexify-string): Maybe string-make-unibyte.
2518
2519 * lisp/url-news.el: Require nntp.
2520
2521 * lisp/url-imap.el: Require cl when compiling. Require nnimap
2522 unconditionally.
2523
25242001-05-04 Dave Love <fx@gnu.org>
2525
2526 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
2527 not non-existent mailcap-generate-unique-filename.
2528
4dfde3dd 2529 * lisp/url-privacy.el: Require url-vars. Require cl when compiling.
10a6e6ba 2530
4dfde3dd
SM
2531 * lisp/url-parse.el: Require url-vars.
2532 Autoload url-scheme-get-property.
10a6e6ba
SM
2533
2534 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs
2535 with featurep.
2536
2537 * lisp/url-mailto.el: Require cl when compiling.
2538
4dfde3dd
SM
2539 * lisp/url-cookie.el (url-cookie-handle-set-cookie):
2540 Call url-parse-args, not url-util-parse-args.
10a6e6ba
SM
2541
2542 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
2543
25442001-04-09 Dave Love <fx@gnu.org>
2545
2546 * lisp/mule-sysdp.el (mule-detect-coding-version)
2547 (mule-code-convert-region, mule-inhibit-code-conversion)
2548 (mule-write-region-no-coding-system, mule-encode-string)
2549 (mule-decode-string, mule-truncate-string)
2550 (mule-find-charset-region, mule-coding-system-name)
2551 (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
2552 [There must be a better way.]
2553 (mule-coding-system-p, string-width): Use defalias.
2554
25552001-01-03 Sam Steingold <sds@gnu.org>
2556
2557 * lisp/url-http.el (url-http-wait-for-headers-change-function):
2941ce4b 2558 set `url-http-end-of-headers' to 0 for HTTP 0.9.
10a6e6ba
SM
2559
25602001-01-02 Sam Steingold <sds@gnu.org>
2561
2941ce4b 2562 * lisp/url-auth.el (provide): `url-auth', not `urlauth'.
10a6e6ba
SM
2563
25642000-12-22 Dave Love <fx@gnu.org>
2565
2566 * lisp/url-history.el (url): Don't require (to avoid recursion).
2567 (cl): Require when compiling.
2568
2569 * lisp/url-http.el (url-auth): Require.
2570 (url-http-handle-authentication): Fix typo.
2571
2572 * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
2573
25742000-12-20 Dave Love <fx@gnu.org>
2575
2576 * lisp/url.el: Require mm-decode, mm-view when compiling.
2577 <not (fboundp 'puthash)>: Define puthash and
2578 autoload other has functions rather than using cl-...hash.
2579 (url-warn): Define.
2580
4dfde3dd
SM
2581 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
2582 Avoid cl-...hash functions.
10a6e6ba
SM
2583
2584 * lisp/url-history.el: Avoid cl-...hash functions.
2585 (url): Require.
2586
1ac3c910 2587 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
10a6e6ba
SM
2588
25892000-10-03 William M. Perry <wmperry@aventail.com>
2590
4dfde3dd 2591 * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
10a6e6ba
SM
2592 getting set to nil due to bad string matching. Subsequent matches
2593 would then choke because we passed string-match a nil.
2594
2595 * lisp/url-http.el (url-http-parse-headers): Need to make the
2596 connection as 'free' when we get a 304 response (found in cache),
10d1d0af 2597 or when a keep-alive connection timed out, it would re-parse the
10a6e6ba
SM
2598 headers and dispatch to the callback again. Eek.
2599
26002000-10-02 William M. Perry <wmperry@aventail.com>
2601
2602 * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
4dfde3dd 2603 implement chunked transfer-coding.
10a6e6ba
SM
2604 (url-http-create-request): We can now advertise ourselves as a 1.1
2605 compliant browser!
2606
26072000-07-28 Sam Steingold <sds@gnu.org>
2608
2609 * lisp/url-methods.el (url-scheme-default-loader): `callback' and
2610 `cbargs' are optional args (for calling from w3).
4dfde3dd 2611 (url-scheme-register-proxy): Typos fixes: `url-match' replaced
10a6e6ba
SM
2612 with `string-match' and `protocol' with `scheme'.
2613
26142000-07-18 Sam Steingold <sds@gnu.org>
2615
4dfde3dd
SM
2616 * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
2617 * lisp/url-history.el (url-history-save-interval): Avoid circularity.
10a6e6ba
SM
2618
26192000-07-10 William M. Perry <wmperry@aventail.com>
2620
2621 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
2622 mule, and the character requested is > 255, then return "~"
2623 instead of letting whoever call us signal an error when they try
2624 to insert the character.
2625 (mule-make-iso-character): Also wrap the whole thing in a
4dfde3dd 2626 condition case and return "~" on error, in case make-char bombs on us.
10a6e6ba 2627
4dfde3dd 2628 * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
10a6e6ba
SM
2629 for cid parts.
2630
2631 * lisp/url-util.el (url-display-percentage): New routine that uses
2632 the progress bar under XEmacs if available. Looks very sexy under
2633 XEmacs/GTK hacked to use the GNOME statusbar.
2634
2635 * lisp/url-http.el
2636 (url-http-content-length-after-change-function): Use new function
2637 url-display-percentage instead of url-lazy-message.
2638
26392000-01-27 William M. Perry <wmperry@aventail.com>
2640
2641 * lisp/url-file.el (url-file-build-filename): Work around for
4dfde3dd 2642 differences in ange-ftp / efs handling of port numbers other than 21.
10a6e6ba
SM
2643
26441999-12-24 William M. Perry <wmperry@aventail.com>
2645
2646 * lisp/url-irc.el: Added pointer to draft specification for the
2647 IRC URL so people don't think I'm crazy.
2648
2649 * configure.in: Checks to make sure that Gnus was found, since we
2941ce4b 2650 HAVE to have it now. Removed conditional compilation of url-cid.el.
10a6e6ba 2651
1ac3c910 26521999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
10a6e6ba
SM
2653
2654 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
2655 () to have periods at the end of the chunk.
2656
26571999-12-14 William M. Perry <wmperry@aventail.com>
2658
4dfde3dd 2659 * lisp/url-misc.el (url-man): Implement `man' URL types.
10a6e6ba
SM
2660 (url-info): Autoload.
2661 (url-man): Ditto.
2662 (url-rlogin): Ditto.
2663 (url-telnet): Ditto.
2664 (url-tn3270): Ditto.
2665 (url-generic-emulator-loader): Ditto.
2666
2667 * lisp/url-https.el (url-https-create-secure-wrapper): New macro
2668 to wrap arbitrary `http' methods with the appropriate magic to
2669 turn SSL on.
2670 (file-exists-p): Use it.
2671 (file-readable-p): Use it.
2672 (file-attributes): Use it.
2673
2674 * lisp/url-news.el (url-news-fetch-newsgroup): When building the
2675 server spec for Gnus, make sure we set
2676 nntp-open-connection-function directly, so that other news-related
2677 functions above us can set it.
2678 (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
2679 (url-nntp): Autoload.
2680 (url-snews): Ditto.
2681 (url-news): Ditto.
2682
26831999-12-12 William M. Perry <wmperry@aventail.com>
2684
2685 * lisp/url-http.el (url-http-parse-response): New function to
2686 parse just the HTTP response code out of the buffer, without
2687 taking any other actions.
2688 (url-http-wait-for-headers-change-function): Use it here when we
2689 know we have an HTTP/1.x response.
2690 (url-http-wait-for-headers-change-function): Special case a
2691 response code of '304' or there could be some delays waiting for
2692 keep-alives to time out on cached documents with no known
2693 content-length on the server.
2694
26951999-12-11 William M. Perry <wmperry@aventail.com>
2696
2697 * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
2698 the Makefile does that for us. We just need to provide what files
2699 to load/functions to run.
2700
2701 * lisp/url-imap.el (url-imap-open-host): Need to bind
2702 nnimap-server-buffer or `nnimap-open-server' chokes trying to use
4dfde3dd 2703 the current buffer as the IMAP server buffer, which fails miserably.
10a6e6ba 2704
1ac3c910 27051999-12-11 Simon Josefsson <jas@pdc.kth.se>
10a6e6ba
SM
2706
2707 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
2708
27091999-12-11 William M. Perry <wmperry@aventail.com>
2710
2711 * lisp/url-file.el (url-file-asynch-callback): Make the checks for
2712 ange-ftp vs. efs calling semantics consistent, so that if someone
2713 has NEITHER of them loaded, everything should still work.
2714
2715 * lisp/url-handlers.el (url-copy-file): Autoload.
2716 (url-file-local-copy): Ditto.
2717 (url-insert-file-contents): Ditto.
2718 (url-setup-file-name-handlers): Ditto.
2719
27201999-12-10 William M. Perry <wmperry@aventail.com>
2721
2722 * lisp/url-http.el (mail-parse): Since we use functions from here,
2723 we should require it, eh?
2724
1ac3c910 27251999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
10a6e6ba
SM
2726
2727 * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
2728 if nil.
2729 (url-cookie-generate-header-lines): Use it.
2730
27311999-12-06 William M. Perry <wmperry@aventail.com>
2732
2733 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
2941ce4b 2734 4.1 gracefully.
10a6e6ba 2735
4dfde3dd
SM
2736 * lisp/url-news.el: Reimplemented news and nntp URL support.
2737 No longer bothers to check for outdated Gnus versions, since this
10a6e6ba
SM
2738 will not work without them anyway.
2739
27401999-12-05 Dave Love <fx@gnu.org>
2741
2742 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
2743 lisp/url.el:
2744 Require url-parse.
2745
27461999-12-05 William M. Perry <wmperry@aventail.com>
2747
2748 * lisp/url-http.el (url-http-find-free-connection): Spit out a
2749 message when we have to contact a host so the user always gets
2750 at least some feedback.
2751
f49d1f52 2752 * lisp/url-expand.el (url-expander-remove-relative-links): Move and
10a6e6ba
SM
2753 renamed function.
2754 (url-default-expander): Use it.
2755
4dfde3dd
SM
2756 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
2757 as well as efs.
2758 (url-file): Add default content-type of application/octet-stream if
2759 none known.
2941ce4b 2760 (url-file): Correct bad call to url-host-is-local-p.
10a6e6ba
SM
2761
2762 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
2763 like buffer-substring with nil arguments.
2764 (url-copy-file): Use mm-destroy-parts instead of just killing
2765 the buffer. Use defined interfaces when available!
2766 (url-insert-file-contents): Ditto.
2767
2768 * lisp/url-http.el (url-http-create-request): Lots of changes to
2769 get proxying working.
2770
2771 * lisp/url-methods.el (url-scheme-register-proxy): New function to
2772 find and register a proxy for a specific scheme.
2773 (url-scheme-get-property): Use it when we load a URL scheme for
2774 the first time.
2775
2941ce4b 2776 * lisp/url-util.el (url-get-url-at-point): Re-integrated.
10a6e6ba
SM
2777
27781999-12-04 William M. Perry <wmperry@aventail.com>
2779
2780 * lisp/url-file.el (url-file): Signal an error if
2781 url-file-build-filename could not find the filename.
2782
27831999-12-01 William M. Perry <wmperry@aventail.com>
2784
2785 * lisp/url.el (url-retrieve): Use url-history-update-url instead
2786 of manipulating the hash table directly.
2787
2788 * lisp/url-history.el (url-completion-function): New function to
2789 use for reading a URL with completion.
2790 (url-history-update-url): New function to hide the hashtable
2791 implementation from people inserting things into the history.
2792
27931999-11-30 William M. Perry <wmperry@aventail.com>
2794
2795 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
2796 working.
2797
2798 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
4dfde3dd 2799 url-parse-args, which had changed the type of arguments it expects.
10a6e6ba
SM
2800
2801 * lisp/url-handlers.el (url-insert-file-contents): Ditto.
2802 (url-copy-file): Ditto.
2803
2804 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
2805 just killing the buffer. Use defined interfaces when available!
2806
2807 * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
2808 AC_FD_CC so they show up in config.log
2809 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
2810 this always return 't' instead of 'yes' on successfully finding
2811 the library.
2812
4dfde3dd 2813 * lisp/url-http.el (url-http-parse-headers): Add some
10a6e6ba
SM
2814 DAV-specific error codes.
2815
4dfde3dd 2816 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
10a6e6ba
SM
2817 (url-retrieve-synchronously): Duh, make this function actually
2818 work again. Numerous problems with it, including variable name
2819 collisions - I love dynamically scoped lisps!
2820
2821 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
4dfde3dd 2822 wrappers onto the appropriate file-based URLs for file-name-handlers.
10a6e6ba 2823
a98edce9 2824 * lisp/url-ftp.el: Moved the FTP stuff into its own file - it
10a6e6ba
SM
2825 might get messy with file-name-handlers and things.
2826
2827 * lisp/url-http.el (url-http-clean-headers): Fix problem when
2828 using 'HEAD' requests. Thou shalt not change the length of the
2829 region during an after-change-function.
2830
2831 * lisp/url-methods.el (url-scheme-methods): New variable that
4dfde3dd 2832 holds a list of the methods/variables we look for in a URL scheme.
10a6e6ba
SM
2833 (url-scheme-get-property): Use it.
2834
28351999-11-29 William M. Perry <wmperry@aventail.com>
2836
4dfde3dd 2837 * lisp/url-http.el (url-http-file-attributes): Reimplement.
10a6e6ba
SM
2838 (url-http-file-exists-p): Ditto.
2839
2840 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
2841
2842 * lisp/url-file.el (url-file-create-wrapper): New macro to create
2843 file-name-handler stubs for all the FTP/FILE stuff.
2844
2845 * lisp/url-handlers.el: New file to handle file-name-handler-alist
2846 cruft. Generic interface on top of functions that each URL
2847 loader provides, if capable.
2848
28491999-11-27 William M. Perry <wmperry@aventail.com>
2850
2851 * lisp/url-https.el: Implemented HTTPS support.
2852
28531999-11-26 William M. Perry <wmperry@aventail.com>
2854
2855 * url-privacy.el (url-setup-privacy-info): Don't rely on
2856 device-type being defined. Not going to bother redistributing
2857 devices.el for just one function.
2858
2859 * url-methods.el (url-scheme-get-property): Emacs does not have
2860 the 3rd-argument to plist-get to specify the default. *sigh*
2861
4dfde3dd 2862 * url-dired.el (add-minor-mode): Add definition for Emacs.
10a6e6ba 2863
4dfde3dd
SM
2864 * url-http.el (url-http-generic-after-change-function):
2865 New function, since Emacs does not allow you to change the
10a6e6ba
SM
2866 after-change-functions variable from within a function run by
2867 said hook. This just hands it off to the REAL function.
2868 Side-effect is that this now works on Emacs at all. :)
2869
2870 * Initial checkin of rewritten URL library.
2871
1513a14b
GM
2872;; Local variables:
2873;; coding: utf-8
1513a14b
GM
2874;; End:
2875
ab422c4d
PE
2876 Copyright (C) 1999, 2001-2002, 2004-2013 Free Software
2877 Foundation, Inc.
5b87ad55
GM
2878
2879 This file is part of GNU Emacs.
2880
4936186e 2881 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 2882 it under the terms of the GNU General Public License as published by
4936186e
GM
2883 the Free Software Foundation, either version 3 of the License, or
2884 (at your option) any later version.
5b87ad55
GM
2885
2886 GNU Emacs is distributed in the hope that it will be useful,
2887 but WITHOUT ANY WARRANTY; without even the implied warranty of
2888 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2889 GNU General Public License for more details.
2890
2891 You should have received a copy of the GNU General Public License
4936186e 2892 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.