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