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