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