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