* lisp/ibuffer.el (ibuffer-do-toggle-read-only):
[bpt/emacs.git] / lisp / url / ChangeLog
CommitLineData
4ed1626d
JR
12012-08-11 Jason Rumney <jasonr@gnu.org>
2
3 * url-http.el (url-http-create-request): Use url-http-proxy to
46fab912 4 look up proxy credentials (Bug#12069).
4ed1626d 5
7fa20d96
DE
62012-07-28 David Engster <deng@randomsample.de>
7
8 * url-dav.el (url-dav-supported-p): Added doc-string and remove
9 check for feature `xml' and function `xml-expand-namespace' which
10 never existed in Emacs proper.
11 (url-dav-process-response): Remove all indentation and newlines
12 from XML before parsing. Change call to `xml-parse-region' to do
13 namespace expansion with simple qualified names (Bug#11916).
14 (url-dav-request): Add autoload.
15 (url-dav-directory-files): Properly deal with empty directories.
16 Unhex URL before generating relative URLs.
17 (url-dav-file-directory-p): Fix check for 'DAV:collection.
18
a464a6c7
SM
192012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
20
21 * url.el, url-queue.el, url-parse.el, url-http.el, url-future.el:
22 * url-dav.el, url-cookie.el: Use cl-lib.
23 * url-util.el, url-privacy.el, url-nfs.el, url-misc.el, url-methods.el:
24 * url-gw.el, url-file.el, url-expand.el: Dont use CL.
25
938beca4
GM
262012-06-30 Glenn Morris <rgm@gnu.org>
27
28 * url-vars.el (mm-mime-mule-charset-alist, mm-coding-system-p):
29 Declare.
30
a3f10d3e
CY
312012-06-21 Chong Yidong <cyd@gnu.org>
32
33 * url.el (url-retrieve-internal): Fix last change (Bug#11627).
34
22c4001c
JB
352012-06-13 Juanma Barranquero <lekktu@gmail.com>
36
37 * url-handlers.el (url-handler-regexp): Declare.
38
47fc1d6b
CY
392012-06-12 Chong Yidong <cyd@gnu.org>
40
41 * url-handlers.el: Re-order file to avoid recursive load.
42
f1a4e679
CY
432012-06-12 Chong Yidong <cyd@gnu.org>
44
45 * url-handlers.el (url-handler-regexp):
46 * url-nfs.el (url-nfs-automounter-directory-spec):
47 * url-vars.el (url-load-hook): Convert to defcustom.
48
9979ea1c
LL
492012-05-25 Leo Liu <sdl.web@gmail.com>
50
51 * url-http.el (url-http-codes): Fix mal-formed defconst.
52
530e968e
TZ
532012-05-15 Ian Eure <ian@simplegeo.com>
54
4f0f72be 55 * url-util.el (url-build-query-string): New function (Bug#8706).
530e968e
TZ
56 (url-parse-query-string): Allow that '=' is not required and split
57 URL parameters on ';', not just '&'.
58
ac9f0b75
LMI
592012-05-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
60
61 * url-expand.el (url-default-expander): Copy over the fullness of
62 the new URL object based on the definition URL object.
63
9f9aa044
CY
642012-05-10 Chong Yidong <cyd@gnu.org>
65
66 * url-parse.el (url-path-and-query, url-port-if-non-default): New
67 functions.
68 (url-generic-parse-url): Don't set the portspec slot if it is not
69 specified; that is what `url-port' is for.
70 (url-port): Only require the scheme to be specified to call
71 url-scheme-get-property.
72
73 * url-util.el (url-encode-url): Use url-path-and-query.
74
75 * url-vars.el (url-mime-charset-string): Load mm-util lazily.
76
ce7b18ec
CY
772012-05-09 Chong Yidong <cyd@gnu.org>
78
79 * url-util.el (url-encode-url): New function for URL quoting.
80 (url-encoding-table, url-host-allowed-chars)
81 (url-path-allowed-chars): New constants.
bdac2d37 82 (url--allowed-chars): New helper function. Use upper-case.
ce7b18ec
CY
83 (url-hexify-string): Use them.
84
85 * url-parse.el: Improve RFC 3986 conformance.
86 (url-generic-parse-url): Do not populate the ATTRIBUTES slot,
87 since this is not reliable for general RFC 3986 URIs. Keep the
88 whole path and query inside the FILENAME slot. Improve docstring.
89 (url-recreate-url-attributes): Mark as obsolete.
90 (url-recreate-url): Handle missing scheme and userinfo.
9f9aa044 91 (url-path-and-query): New function.
ce7b18ec
CY
92
93 * url-http.el (url-http-create-request): Ignore obsolete
94 attributes slot of url-object.
95
96 * url-vars.el (url-nonrelative-link): Make the regexp stricter.
97
98 * url.el (url-retrieve-internal): Use url-encode-url (Bug#7017).
99
e95a67dc
SM
1002012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
101
102 * url.el (url-retrieve-synchronously): Replace lexical-let by
103 lexical-binding.
104
a967e26b
WX
1052012-04-10 William Xu <william.xwl@gmail.com> (tiny change)
106
107 * url.el (url-retrieve-internal): Hexify multibye URL string first
108 when necessary (bug#7017).
109
1102012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
111
112 * url.el (url-retrieve-internal): Mention utf-8 encoding.
113 (url-retrieve): Ditto.
114
9ea49b28
LMI
1152012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
116
117 * url-domsurf.el: New file (bug#1401).
118
119 * url-cookie.el (url-cookie-two-dot-domains): Remove.
120 (url-cookie-host-can-set-p): Use `url-domsuf-cookie-allowed-p'
121 instead of the variable above.
122
e0fe1d55
LMI
1232012-03-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
124
125 * url-queue.el (url-queue-kill-job): Check whether the buffer has
126 been killed asynchronously before selecting it.
127
cc2ab732
LMI
1282012-03-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
129
130 * url-queue.el (url-queue-kill-job): Make sure that the callback
131 is always called, even if we have a timeout.
132
09100633
CY
1332012-03-11 Chong Yidong <cyd@gnu.org>
134
e95a67dc
SM
135 * url-http.el (url-http-end-of-document-sentinel):
136 Handle keepalive expiry by calling url-http again (Bug#10223).
09100633
CY
137 (url-http): New arg, for the above.
138
179f6911
DSM
1392012-03-11 Devon Sean McCullough <emacs-hacker2012@jovi.net>
140
141 * url-http.el (url-http-find-free-connection): Don't pass a nil
142 argument to url-http-mark-connection-as-busy (bug#10891).
143
1e54a73b
LI
1442012-02-20 Lars Ingebrigtsen <larsi@gnus.org>
145
27e7172c
LI
146 * url-queue.el (url-queue-kill-job): Delete the process sentinel
147 before killing the process to avoid a race condition between the
148 two processes killing off the process buffer.
149
1e54a73b
LI
150 * url.el (url-retrieve-internal): Warn about file errors when
151 pruning the cache instead of bugging out (bug#10831).
152
55645c67
LI
1532012-02-19 Lars Ingebrigtsen <larsi@gnus.org>
154
155 * url-queue.el (url-queue-callback-function): Remove the job from
156 the queue so that we don't kill the current buffer, which will
157 then make the callback function kill a random buffer.
158
f15bcb40
LI
1592012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
160
161 * url-queue.el (url-queue-kill-job): Refactored out code.
162 (url-queue-remove-jobs-from-host): Use it to kill jobs that are in
163 flight.
164
e72a771d
TZ
1652012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
166
167 * url-future.el: Minor doc update.
168
1deeb569
LL
1692012-02-14 Leo Liu <sdl.web@gmail.com>
170
171 * url-future.el: Fix last change.
172
6c0c7cfc
TZ
1732012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
174
175 * url-future.el (url-future-test): Move to test/automated.
176
3b8eb822
LI
1772012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
178
179 * url-http.el (url-http-parse-headers): When redirecting, pass on
180 the `inhibit-cookie' parameter.
181
a48ec60c
GM
1822012-02-10 Glenn Morris <rgm@gnu.org>
183
184 * url-queue.el (url-queue-retrieve): Fic previous doc fix.
185
d7c5e162
AS
1862012-02-10 Andreas Schwab <schwab@linux-m68k.org>
187
188 * url-http.el (url-http-clean-headers): Return the number of
189 removed characters.
190 (url-http-wait-for-headers-change-function): Adjust end position
191 after cleaning the headers. (Bug#10768)
192
b74c9672
GM
1932012-02-10 Glenn Morris <rgm@gnu.org>
194
195 * url-queue.el (url-queue-retrieve): Doc fix.
196
aacaa419
LI
1972012-02-08 Lars Ingebrigtsen <larsi@gnus.org>
198
199 * url-parse.el (url): Add the `use-cookies' slot to the URL struct
200 to be able to keep track of whether to do cookies or not on a
201 per-URL basis.
202
203 * url-queue.el (url-queue-retrieve): Take an optional
204 `inhibit-cookies' parameter.
205
ed9265fc 206 * url.el (url-retrieve): Ditto.
aacaa419
LI
207
208 * url-http.el (url-http-create-request): Don't send cookies unless
209 requested.
210 (url-http-parse-headers): Don't store cookies unless requested.
211
b6ea20f3
LI
2122012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
213
1968bb1b 214 * url-cache.el (url-cache-prune-cache): New function.
7dd679eb
LI
215 (url-cache-prune-cache): Check that the directory exists before
216 trying to delete it.
1968bb1b
LI
217
218 * url.el (url-retrieve-number-of-calls): New variable.
219 (url-retrieve-internal): Use it to expire the cache once in a
220 while.
221
b6ea20f3
LI
222 * url-queue.el (url-queue-setup-runners): New function that uses
223 `run-with-idle-timer' for extra asynchronicity.
224 (url-queue-remove-jobs-from-host): New function.
225 (url-queue-callback-function): Remove jobs from the same host if
226 connection failed.
227
d8d469ef
GM
2282012-01-12 Glenn Morris <rgm@gnu.org>
229
e7a8cb8f
GM
230 * url-auth.el (url-basic-auth, url-digest-auth):
231 Allow reading usernames etc when the minibuffer is already in use,
232 eg in url-handler-mode. (Bug#10298)
d8d469ef 233
c7015153
JB
2342011-11-15 Juanma Barranquero <lekktu@gmail.com>
235
236 * url-dav.el (url-dav-delete-file): Fix typo.
237
122d9463
LMI
2382011-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
239
240 * url-http.el (url-http-async-sentinel): If the server hangs up
241 while we're talking to it, just `message' the error instead of
242 throwing an error.
243
14e1d9ea
LMI
2442011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
245
246 * url-cookie.el (url-cookie-expired-p): Protect against
247 zero-length cookie expiry dates.
248
ac6c8639
CY
2492011-10-19 Chong Yidong <cyd@gnu.org>
250
251 * url-handlers.el (url-handler-mode): Doc fix.
252
b02ba905
CW
2532011-09-24 Christopher J. White <chris@grierwhite.com> (tiny change)
254
255 * url-http.el (url-http-create-request): Avoid adding extra CRLF
256 (Bug#8931).
257
ad87170f
LMI
2582011-09-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
259
260 * url-http.el (url-http-find-free-connection): If there was an
261 error on connect, make sure the user isn't bothered with
262 irrelevant questions.
263
98fdd2b8
CY
2642011-08-07 Chong Yidong <cyd@stupidchicken.com>
265
266 * url-http.el (url-http-parse-headers): For HTTP 301/302/307,
267 don't convert to a GET request (Bug#701).
268
b0c9af93
CN
2692011-07-13 Chris Newton <redshodan@gmail.com> (tiny change)
270
271 * url-http.el (url-http): Copy over `url-show-status' to the async
272 buffer so that `url-display-percentage' does the right thing
273 (bug#4680).
274
53d21671
JD
2752011-07-06 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
276
277 * url-cache.el (url-cache-extract): Set buffer multibyte flag to
278 nil (bug#8827).
279
3487ca85
NA
2802011-07-03 Nicolas Avrutin <nicolasavru@gmail.com> (tiny change)
281
282 * url-http.el (url-http-create-request): Remove double carriage
283 return and newline (bug#8931).
284
9aec558a
LMI
2852011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
286
e95a67dc
SM
287 * url-http.el (url-http-wait-for-headers-change-function):
288 Remove pointless "HTTP/0.9 How I hate thee!" message (bug#6735).
9aec558a 289
5993c059
AS
2902011-06-04 Andreas Schwab <schwab@linux-m68k.org>
291
292 * url-future.el (url-future-test): Fix scope of `saver'.
293
3b7d5980
GM
2942011-06-01 Glenn Morris <rgm@gnu.org>
295
296 * url-queue.el (url-queue-parallel-processes, url-queue-timeout):
297 Add :version tag for options that will be new in 24.1.
298
5a94384b
LMI
2992011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
300
301 * url-queue.el (url-queue-parallel-processes): Increase the
302 default to 6, since 2 seems too conservative for normal usage.
303
e300a61b
TZ
3042011-05-31 Teodor Zlatanov <tzz@lifelogs.com>
305
306 * url-future.el: Add general futures facility.
307
b1c83d95
LL
3082011-05-29 Leo Liu <sdl.web@gmail.com>
309
310 * url-cookie.el (url-cookie): Add option :named so that
311 url-cookie-p is defined. (Bug#8747)
312
5c77c3ed
LMI
3132011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
314
315 * url-queue.el: New file.
6df6ae42 316 (url-queue-run-queue): Pick the first waiting job, and not the last.
471129b1
LMI
317 (url-queue-parallel-processes): Lower the concurrency level, since
318 Emacs doesn't seem to like too many async processes.
319 (url-queue-prune-old-entries): Fix up the pruning code.
5c77c3ed 320
10472dd0
LMI
3212011-04-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
322
6df6ae42
JB
323 * url-http.el (url-http-wait-for-headers-change-function):
324 Protect against malformed headerless responses from servers.
10472dd0 325
43c594f2
CY
3262011-04-02 Chong Yidong <cyd@stupidchicken.com>
327
328 * url-gw.el (url-open-stream): Use new open-network-stream
329 functionality to perform encryption.
330
9952e40b
JB
3312011-04-01 Juanma Barranquero <lekktu@gmail.com>
332
333 * url-cookie.el (url-cookie-handle-set-cookie):
334 Use `dolist' rather than `mapcar'.
335
33383987
JB
3362011-03-07 Chong Yidong <cyd@stupidchicken.com>
337
338 * Version 23.3 released.
339
563790b6
TZ
3402011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
341
342 * url-parse.el (url-bit-for-url, url-user-for-url)
343 (url-password-for-url): Use `auto-source-search' instead of
344 `auto-source-user-or-password'.
345
346 * url-auth.el: Autoload `auto-source-search' instead of
347 `auto-source-user-or-password'.
348 (url-basic-auth, url-digest-auth, url-do-auth-source-search): Use it.
349
b301d174
LI
3502011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
351
6df6ae42
JB
352 * url-http.el (url-http-wait-for-headers-change-function):
353 Don't move point if the callback function has moved/changed/killed
354 the process buffer.
b301d174 355
10c1b751 3562010-12-16 Miles Bader <miles@gnu.org>
3cbc281e
MB
357
358 * url-cookie.el: Require 'cl when compiling -- it's necessary for
359 defstruct.
360
105a786f
GM
3612010-12-14 Glenn Morris <rgm@gnu.org>
362
363 * url-cookie.el: Don't require cl when compiling.
364 (url-cookie-clean-up, url-cookie-generate-header-lines): Use dolist.
365 (url-cookie-parse-file, url-cookie-store, url-cookie-retrieve)
366 (url-cookie-handle-set-cookie): Simplify.
367
f49d1f52 3682010-12-13 Chong Yidong <cyd@stupidchicken.com>
37bf6ce2
CY
369
370 * url-cookie.el (url-cookie-retrieve): Handle null LOCALPART.
371 Suggested by Lennart Borgman (Bug#7543).
372
023ec128
LMI
3732010-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
374
375 * url-file.el (url-file-build-filename): Avoid interpreting
376 file:/foo:/bar URLs via tramp.
377
7a9fc593
LMI
3782010-10-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
379
380 * url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.
381
b0e0b216
LMI
3822010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
383
384 * url-http.el (url-http-end-of-document-sentinel): Protect against
385 the process buffer being killed.
386
697ebdb0
LMI
3872010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
388
f49d1f52
SM
389 * url-http.el (url-http-wait-for-headers-change-function):
390 Protect against url-http-response-status for degenerate documents.
d23832a2
LMI
391 (url-http-wait-for-headers-change-function): Revert previous
392 change. It lead to really slow loads.
697ebdb0 393
5589b70e
GM
3942010-10-03 Glenn Morris <rgm@gnu.org>
395
396 * url-util.el (url-get-url-filename-chars): Don't eval-and-compile.
397 (url-get-url-at-point): Don't use eval-when-compile.
398
399 * url-cache.el (url-cache-create-filename-human-readable)
400 (url-cache-create-filename-using-md5):
401 * url-util.el (url-file-directory, url-file-nondirectory):
402 Don't use eval-when-compile and regexp-quote.
403
b39e2446
LMI
4042010-10-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
405
f49d1f52 406 * url-vars.el (url-mime-charset-string): Change the default to
b39e2446
LMI
407 nil to avoid sending 1171 bytes of not very useful data to the
408 HTTP server every request.
409
08b8ba9f
LMI
4102010-10-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
411
412 * url-util.el (url-display-percentage): Don't message when the URL
413 is silent.
414 (url-lazy-message): Ditto.
573a83b8 415 (url-lazy-message): Remove leftover debugging code.
08b8ba9f
LMI
416
417 * url-http.el (url-http-parse-headers): Pass the SILENT parameter
418 back to the fetching function.
419
420 * url.el (url-retrieve): Add a silent parameter.
421 (url-retrieve-internal): Ditto.
422
423 * url-parse.el (url): Add a `silent' slot in the URL struct.
424
6ca26f1d
LMI
4252010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
426
6df6ae42
JB
427 * url-cookie.el (url-cookie-handle-set-cookie): Use url-lazy-message
428 for the cookie warning, which isn't very interesting.
82b9f9f5 429
6ca26f1d
LMI
430 * url-http.el (url-http-async-sentinel): Check that the buffer is
431 still alive before switching to it.
432
cbdd0d58
JD
4332010-09-25 Julien Danjou <julien@danjou.info>
434
435 * url-cache.el (url-cache-create-filename): Ensure no-port and
436 default-port end up with the same cache file.
437 (url-cache-create-filename-human-readable)
438 (url-cache-create-filename-using-md5): Argument is always in the form of
439 a string now.
440
266a86bd 4412010-09-23 Glenn Morris <rgm@gnu.org>
7ee54def
GM
442
443 * url-cache.el (url-is-cached): Doc fix.
444
48ff1664
GM
4452010-09-23 Glenn Morris <rgm@gnu.org>
446
447 * url-cache.el (url-cache-expired): Don't autoload.
448 Tweak previous change.
97161df8 449 (url-cache-expire-time): Doc fix.
48ff1664 450
18d68e52
JD
4512010-09-23 Julien Danjou <julien@danjou.info>
452
453 * url-cache.el (url-cache-expire-time): New option.
454 (url-cache-expired): Rewrite.
455
50e4f0bf
JD
4562010-09-19 Julien Danjou <julien@danjou.info>
457
458 * url-cache.el (url-fetch-from-cache): New function.
459
b0fd24c8
JD
4602010-09-18 Julien Danjou <julien@danjou.info>
461
77413977 462 * url-vars.el (url-cache-expired): Remove unused variable.
b0fd24c8 463
6664fc59 4642010-09-14 Julien Danjou <julien@danjou.info>
6f6dc4da 465
2f5e7c6f
GM
466 * url-cache.el (url-store-in-cache):
467 Make `buff' argument really optional.
6f6dc4da 468
6664fc59 4692010-09-14 Glenn Morris <rgm@gnu.org>
c4ae64d1
GM
470
471 * url-cookie.el (url-cookie-expired-p): Tweak previous change.
472
6664fc59 4732010-09-14 shawn boles <shawn.boles@gmail.com> (tiny change)
966bb6c0 474
475 * url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
476
a5cda60e
GM
4772010-09-11 Glenn Morris <rgm@gnu.org>
478
479 * url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
480 * url-vars.el: Remove leading `*' from defcustom docs.
481
0ed082fe 4822010-07-27 Michael Albinus <michael.albinus@gmx.de>
c48763bb 483
2f5e7c6f 484 * url-http.el (url-http-parse-headers): Disable file name handlers at
c48763bb
MA
485 all (not only Tramp). (Bug#6717)
486
0ed082fe 4872010-07-27 Michael Albinus <michael.albinus@gmx.de>
4ac3a65c 488
2f5e7c6f 489 * url-http.el (url-http-parse-headers): Disable Tramp. (Bug#6717)
4ac3a65c 490
e4f6153f
MH
4912010-07-01 Mark A. Hershberger <mah@everybody.org>
492
493 * url-http.el (url-http-create-request): Add a CRLF on the end so
6df6ae42 494 that POSTs with content to https URLs work.
f49d1f52 495 See <https://bugs.launchpad.net/mediawiki-el/+bug/540759>
e4f6153f 496
04c23739
MH
4972010-06-22 Mark A. Hershberger <mah@everybody.org>
498
499 * url-parse.el (url-user-for-url, url-password-for-url):
6df6ae42 500 Convenience functions that get usernames and passwords for URLs
04c23739
MH
501 from auth-source functions.
502
7fb277a9
Å N
5032010-06-12 Štěpán Němec <stepnem@gmail.com> (tiny change)
504
505 * url-vars.el (url-privacy-level): Fix doc typo. (Bug#6406)
506
c3bb441d
SM
5072010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
508
509 * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
510
61a808e8
CY
5112010-05-07 Chong Yidong <cyd@stupidchicken.com>
512
513 * Version 23.2 released.
514
56eb0904
SM
5152010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
516
517 * url-dired.el (url-dired-minor-mode): Use define-minor-mode.
518
89734fb6
TZ
5192010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
520
521 * url-http.el (url-http-parse-headers): Fix wrong variable name.
522
1e9d758c
TZ
5232010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
524
525 * url-http.el (url-http-codes): New variable to hold a mapping of
526 HTTP status codes' numbers, their symbolic name, and their text.
527 (url-http-parse-headers): Use it, leaving the original numeric
528 code in a comment.
529
aa8f8277
GM
5302010-03-19 Glenn Morris <rgm@gnu.org>
531
532 * url.el: Move mailcap require earlier in the file.
533
eba5b4dd
CY
5342010-03-12 Chong Yidong <cyd@stupidchicken.com>
535
26f4b8ab 536 * url-vars.el (url): Put in comm group.
eba5b4dd 537
288f9fc0
CY
5382010-03-10 Chong Yidong <cyd@stupidchicken.com>
539
540 * Branch for 23.2.
541
e17d428f
CY
5422010-01-23 Chong Yidong <cyd@stupidchicken.com>
543
544 * url-util.el: Require url-vars (Bug#5459).
545
c074ba4a
SM
5462009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
547
548 * url-parse.el (url-generic-parse-url): Bind deactivate-mark.
549
c98f55ca
CY
5502009-11-08 Kai Tetzlaff <kai.tetzlaff@web.de> (tiny change)
551
552 * url-http.el (url-http-handle-authentication): Use proxy server,
553 if any, for authentication (Bug#4883).
554
937e6a56
SM
5552009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
556
557 * url-util.el (url-insert-entities-in-string):
558 * url-nfs.el (url-nfs-unescape):
559 * url-ldap.el (url-ldap):
560 * url-imap.el (url-imap):
561 * url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
562
f9c9a239
GM
5632009-10-01 Glenn Morris <rgm@gnu.org>
564
565 * url-http.el (url-dav-file-attributes): Fix declaration.
566
120812a0
CY
5672009-09-13 Chong Yidong <cyd@stupidchicken.com>
568
569 * url-handlers.el (url-copy-file): Add fifth arg for compatibility
570 with 2005-06-25 change to copy-file (Bug#4410).
571
4f0f48df
GM
5722009-09-13 Glenn Morris <rgm@gnu.org>
573
574 * url-file.el (url-file): Avoid assignment to free variable `filename'.
575
63255710
CY
5762009-09-12 Chong Yidong <cyd@stupidchicken.com>
577
578 * url-methods.el (url-scheme--registering-proxy): New variable.
0235128c
SM
579 (url-scheme-register-proxy, url-scheme-get-property):
580 Avoid calling url-scheme-register-proxy in an infloop (Bug#4191).
63255710 581
3f12e3f4
GM
5822009-08-22 Glenn Morris <rgm@gnu.org>
583
584 * url-file.el (url-file-build-filename):
585 * url-privacy.el (url-setup-privacy-info): Remove code for defunct
586 system-types Apple-Macintosh, emx, ms-windows, next-mach.
587
70243478
CY
5882009-06-21 Chong Yidong <cyd@stupidchicken.com>
589
590 * Branch for 23.1.
591
d696b0d5
SM
5922009-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
593
594 * url-handlers.el (url-file-handler): Save match data.
595
db922cc0
JR
5962009-02-21 Jason Rumney <jasonr@gnu.org>
597
598 * url-expand.el (url-default-expander): Use concat to combine
5ce6e4f4 599 parts. (Bug #1020)
db922cc0 600
f0cfa8f0
GM
6012009-02-10 Glenn Morris <rgm@gnu.org>
602
603 * url-util.el (url-generate-unique-filename): Silence compiler.
604
64594ef9
CY
6052009-02-07 Chong Yidong <cyd@stupidchicken.com>
606
607 * url-file.el (url-file): Use make-temp-file.
608
609 * url-util.el (url-generate-unique-filename): Mark as obsolete.
610
611 * url-vars.el (url-temporary-directory): Mark as obsolete.
612
200c0424
CY
6132009-01-15 Chong Yidong <cyd@stupidchicken.com>
614
68fe704b 615 * url-cookie.el (url-cookie-retrieve): Fix last change.
200c0424 616
26343c7f
CY
6172009-01-14 Chong Yidong <cyd@stupidchicken.com>
618
619 * url-cookie.el (url-cookie-retrieve): Handle null localpart.
620
d9e52e92
JB
6212009-01-13 Juanma Barranquero <lekktu@gmail.com>
622
623 * url-util.el (url-truncate-url-for-viewing): Doc fix.
624
78892d1b
GM
6252009-01-09 Glenn Morris <rgm@gnu.org>
626
627 * url-cid.el (url-cid-gnus): Fix typo in header name.
628
92066e83
CY
6292008-11-04 Chong Yidong <cyd@stupidchicken.com>
630
631 * url-util.el (url-basepath): Add url-basepath as an alias for
632 url-file-directory.
633
d6c180c4
JB
6342008-10-24 Juanma Barranquero <lekktu@gmail.com>
635
636 * url.el (url-configuration-directory): Use `locate-user-emacs-file'.
637
3b4df550
CY
6382008-10-20 İsmail Dönmez <ismail@namtrac.org> (tiny change)
639
640 * url-auth.el (url-basic-auth): Encode password string.
641
e77e9cf4
GM
6422008-08-30 Glenn Morris <rgm@gnu.org>
643
644 * url-http.el (url-https-expand-file-name): Resolve directly to
645 url-default-expander rather than via another alias.
646 (url-default-expander): Autoload an autoload. (Bug#825).
647
d1ce47b0
JB
6482008-07-02 Juanma Barranquero <lekktu@gmail.com>
649
650 * url.el (url-do-setup):
651 * url-dired.el (url-dired-minor-mode):
652 * url-file.el (url-file-find-possibly-compressed-file):
653 * url-gw.el (url-gateway-broken-resolution):
654 * url-handlers.el (url-handler-regexp):
655 * url-imap.el (url-imap-default-port):
656 * url-methods.el (url-scheme-get-property): Fix typos in docstrings.
657
658 * url-auth.el (url-basic-auth-storage, url-digest-auth):
659 Fix typos in docstrings.
660 (url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
661
662 * url-cache.el (url-cache-prepare): Doc fix.
663 (url-cache-create-filename-human-readable, url-cache-extract):
664 Fix typos in docstrings.
665
666 * url-dav.el (url-intersection, url-dav-iso8601-regexp)
667 (url-dav-delete-something): Fix typos in docstrings.
668 (url-dav-http-success-p, url-dav-file-name-all-completions)
669 (url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
670
671 * url-http.el (url-http-idle-sentinel): Doc fix.
672
673 * url-irc.el (url-irc-default-port): Fix typo in docstring.
674 (url-irc-function): Doc fix.
675
676 * url-util.el (url-get-url-filename-chars, url-unhex-string):
677 Fix typos in docstrings.
678 (url-file-extension): Doc fix.
679
680 * url-vars.el (url-current-object, url-current-mime-headers)
681 (url-privacy-level, url-mail-command, url-mime-language-string):
682 Fix typos in docstrings.
683 (url-honor-refresh-requests): Reflow docstring.
684 (url-using-proxy): Doc fix.
685
0b5c4225
DN
6862008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
687
688 * vc-dav.el: Move to the parent directory to be together with the
689 rest of the VC backends.
690
8705576e
GM
6912008-06-07 Glenn Morris <rgm@gnu.org>
692
693 * url-auth.el (auth-source-user-or-password): Remove unnecessary
694 eval-and-compile.
695
a118b59b
SM
6962008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
697
698 * url-handlers.el (url-file-name-completion): Add missing argument.
699
97d1c236
TZ
7002008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
701
ba60bd44 702 * url-auth.el: Add autoload cookie for `auth-source-user-or-password'.
97d1c236
TZ
703 (url-basic-auth, url-digest-auth): Use it with any realm,
704 overriding the user name and password before the prompt.
705
c385aa1a
JB
7062008-04-28 Juanma Barranquero <lekktu@gmail.com>
707
708 * url-vars.el (url-load-hook): Fix typo in docstring.
709
84f089d3
MH
7102008-03-09 Magnus Henoch <mange@freemail.hu>
711
712 * url-http.el (url-http-chunked-encoding-after-change-function):
a628ad9d 713 Remove superfluous CRLF at end of file. (Bug #42)
84f089d3 714
26d72be8
AS
7152008-03-02 Andreas Schwab <schwab@suse.de>
716
717 * url-util.el: Require cl when compiling.
718
d626f888
TZ
7192008-02-28 Teodor Zlatanov <tzz@lifelogs.com>
720
ba60bd44
JB
721 * url-util.el (url-get-normalized-date): Simplify to use
722 `format-time-string'. Always generate date in UTC, but
d626f888
TZ
723 call it GMT for full compatibility with the RFCs.
724
a9f31e3d
MA
7252008-02-06 Michael Albinus <michael.albinus@gmx.de>
726
727 * url-handlers.el (file-remote-p): Add handler.
728 (url-handler-file-remote-p): New fun.
729
791fe182
SM
7302008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
731
732 * url-handlers.el (url-handler-unhandled-file-name-directory):
733 Handle `file' URLs specially. Return nil for non-local filenames.
734
b72ef564
MH
7352008-02-04 Magnus Henoch <mange@freemail.hu>
736
737 * url-expand.el: Require cl when compiling, for setf.
738
e652840b
JW
7392008-01-29 John Wiegley <johnw@newartisans.com>
740
741 * url-auth.el (url-digest-auth): If the 'opaque' argument is not
742 being used, don't add it to the response text. Also, changed an
743 if so that the interaction between the PROMPT and OVERWRITE
744 arguments can no longer result in the user being queried twice for
745 the same login and password information.
746
ce4059ee
SM
7472008-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
748
749 * url-handlers.el (unhandled-file-name-directory): Add handler.
750 (url-handler-unhandled-file-name-directory): New fun.
751
80e4b01d
MA
7522008-01-07 Michael Albinus <michael.albinus@gmx.de>
753
754 * url-handlers.el (url-file-handler): Autoload.
755
9824ded5
GM
7562007-12-11 Glenn Morris <rgm@gnu.org>
757
758 * url.el (url-configuration-directory): Make it a defcustom.
759
760 * url-util.el (url-make-private-file): New function.
761 * url-cookie.el (url-cookie-write-file):
762 * url-history.el (url-history-save-history):
763 Use url-make-private-file and with-temp-buffer.
764
40234eaf
GM
7652007-12-06 Glenn Morris <rgm@gnu.org>
766
767 * url-file.el, url-mailto.el: Remove directory part from filenames
768 in function declarations.
769
24030ea3
GM
7702007-12-02 Glenn Morris <rgm@gnu.org>
771
e05b1e72
GM
772 * url-about.el, url-handlers.el: Don't require cl when compiling.
773
774 * url-dav.el (url-dav-delete-directory): Fix message typo.
775
776 * url-history.el (top-level): Don't require cl when compiling.
777 (url-history-setup-save-timer, url-history-save-history):
778 Use condition-case rather than ignore-errors.
779
780 * url-imap.el (top-level): Don't require cl when compiling.
781 (url-imap): Use signal rather than check-type.
782
24030ea3
GM
783 * url-news.el (top-level): Don't require cl when compiling.
784 (gnus-group-buffer): Define for compiler.
785 (url-news-fetch-message-id): Don't use `declare'.
786 (nntp-open-tls-stream, nntp-open-ssl-stream):
787 No need to define for compiler.
788 (url-snews): Use nntp-open-tls-stream unless ssl is requested.
c2bf6d2c 789 Correct quoting of nntp-open-connection-function value.
24030ea3 790
29c7eba8
GM
7912007-12-01 Glenn Morris <rgm@gnu.org>
792
793 * url-handlers.el (top-level): Always require url-parse, not just
794 when compiling.
795
36176341
GM
7962007-11-30 Glenn Morris <rgm@gnu.org>
797
798 * url-cookie.el (url-cookie-p): Declare as a function.
799
0bd90741
GM
8002007-11-29 Glenn Morris <rgm@gnu.org>
801
802 * url-file.el (url-file-build-filename, url-file): Wrap uses of
803 efs in (featurep 'xemacs) test.
804
805 * url-irc.el (zenirc, zenirc-send-line): Declare as functions.
806
7ba1d5ae
GM
8072007-11-28 Diane Murray <disumu@x3y2z1.net>
808
809 * url-dired.el: Don't require w3-fetch and w3-open-local.
c385aa1a 810 (url-dired-find-file): Use `find-file'. Doc fix.
7ba1d5ae
GM
811 (url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
812
9f34397d
GM
8132007-11-24 Glenn Morris <rgm@gnu.org>
814
815 * url-privacy.el (url-device-type): Fix typo.
816
153ef845
DN
8172007-11-20 Dan Nicolaescu <dann@ics.uci.edu>
818
819 * url-mailto.el (mail-send-and-exit):
820 * url-http.el (url-dav-file-attributes):
d4aa48db 821 * url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal)
6d00e226
DN
822 (url-generate-unique-filename): Declare as functions.
823
153ef845
DN
824 * url-privacy.el (url-device-type): Define unconditionally.
825
9ffb9521
RS
8262007-11-15 Richard Stallman <rms@gnu.org>
827
828 * url.el (url-retrieve-synchronously): Call delete-process.
829
3a47bb3e
JB
8302007-10-31 Juanma Barranquero <lekktu@gmail.com>
831
832 * url-vars.el (url-vars-unload-hook): Remove function and variable.
833 Hooks are automatically removed by `unload-feature'.
834
4148f522
RS
8352007-10-13 Richard Stallman <rms@gnu.org>
836
837 * url-util.el (url-basepath): Function deleted.
838 (url-file-directory, url-file-nondirectory): New functions
839 replacing url-basepath. Callers changed.
840
841 * url-expand.el (url-default-expander): Use `url-file-directory'.
842
843 * url-auth.el (url-digest-auth, url-basic-auth):
844 Rename `path' to `file'. Use `url-file-directory'.
845
3aa491bc
GM
8462007-10-12 Diane Murray <disumu@x3y2z1.net>
847
848 * url-auth.el (url-basic-auth): Set path to "/" when URL has an
2a5be7dc 849 empty string filename.
3aa491bc 850
d1d80b80
RS
8512007-10-09 Richard Stallman <rms@gnu.org>
852
853 * url-parse.el (url-type, url-user, url-password, url-host)
854 (url-port, url-filename, url-target, url-attributes)
855 (url-fullness, url-set-type, url-set-user, url-set-password)
856 (url-set-host, url-set-port, url-set-filename, url-set-target)
857 (url-set-attributes, url-set-full): Change macros to defuns.
858
259b63b4
JB
8592007-09-26 Juanma Barranquero <lekktu@gmail.com>
860
861 * url-dav.el (top):
862 * url-vars.el (top): Use `mapc' rather than `mapcar'.
863
8a35aa36
GM
8642007-09-22 Diane Murray <disumu@x3y2z1.net>
865
866 * url-misc.el (url-generic-emulator-loader): Send the port as a
2a5be7dc 867 string to `url-do-terminal-emulator'.
8a35aa36 868
965d1f0e
GM
8692007-09-21 Diane Murray <disumu@x3y2z1.net>
870
3a47bb3e 871 * url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus method.
d01b3550 872
965d1f0e
GM
873 * url-util.el (url-get-normalized-date): Pass full timezone
874 information to timezone-make-date-arpa-standard, since zone name
875 may be unknown.
876
72f25299
GM
8772007-09-03 Diane Murray <disumu@x3y2z1.net>
878
0f71f9da 879 * url-http.el (url-http-parse-headers): Bind the current buffer
72f25299
GM
880 rather than calling `url-mark-buffer-as-dead' with
881 `current-buffer', so that the correct buffer is killed if
882 `url-retrieve-synchronously' gets redirected to a new URL.
883
d18ec89f
SM
8842007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
885
886 * url-parse.el (url): Use defstruct rather than macros.
887 (url-generic-parse-url):
888 * url-util.el (url-normalize-url, url-truncate-url-for-viewing):
889 * url-methods.el (url-scheme-register-proxy):
890 * url-mailto.el (url-mailto):
891 * url-file.el (url-file-build-filename):
892 * url-expand.el (url-identity-expander, url-default-expander):
893 Update all callers.
894
0f71f9da
JB
8952007-08-09 Edward O'Connor <hober0@gmail.com> (tiny change)
896
897 * url-auth.el (url-basic-auth): When prompting for username
898 and password, default to the username and password in the URL.
899
df26688b
GM
9002007-08-08 Glenn Morris <rgm@gnu.org>
901
902 * url-auth.el, url-cache.el, url-dav.el, url-file.el, vc-dav.el:
903 Replace `iff' in doc-strings and comments.
904
cacc7b51
GM
9052007-07-25 Glenn Morris <rgm@gnu.org>
906
907 * Relicense all FSF files to GPLv3 or later.
908
c0ed4c23
CY
9092007-06-12 Tom Tromey <tromey@redhat.com>
910
911 * url.el (url-configuration-directory): Use user-emacs-directory.
912
495fa7db
SM
9132007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
914
915 * url-cookie.el (url-cookie-name, url-cookie-value)
916 (url-cookie-expires, url-cookie-localpart, url-cookie-domain)
917 (url-cookie-secure, url-cookie-set-name, url-cookie-set-value)
918 (url-cookie-set-expires, url-cookie-set-localpart)
919 (url-cookie-set-domain, url-cookie-set-secure)
920 (url-cookie-retrieve-arg, url-cookie-create, url-cookie-p): Remove.
921 (url-cookie): New struct.
922 (url-cookie-store): Use setf instead of url-cookie-set-*.
923
345c7f05
CY
9242007-05-29 Chong Yidong <cyd@stupidchicken.com>
925
926 * url-mailto.el (url-mailto): Insert body after
de74fffc 927 mail-header-separator if present, so that it is before signature.
345c7f05
CY
928 Suggested by Leo <sdl.web@gmail.com>.
929
5cfdb0fb
CY
9302007-04-15 Chong Yidong <cyd@stupidchicken.com>
931
932 * url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes.
933
f25a9946
CY
9342007-04-13 Chong Yidong <cyd@stupidchicken.com>
935
936 * url-http.el (url-http-parse-headers): Stop after a set number of
937 redirections. Suggested by Diane Murray.
938
939 * url-vars.el (url-max-redirections): New var.
940
60df22cc 9412007-04-01 Diane Murray <disumu@x3y2z1.net> (tiny change)
f3e30bd0
CY
942
943 * url-http.el (url-http-handle-cookies): Reverse list returned by
944 `mail-fetch-field', so that cookies are set in the correct order.
945
946 * url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
947 Deal with wildcard dots in domain values.
948
fd1e2cde
EZ
9492007-03-31 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
950
951 * url-http.el (url-http-mark-connection-as-busy)
952 (url-http-mark-connection-as-free): Clear query-on-exit flag on
953 idle connections.
954
b3cd7f61
CY
9552007-02-04 Chong Yidong <cyd@stupidchicken.com>
956
957 * url-http.el (url-http-connection-opened): New variable.
958 (url-http): Initialize it.
959 (url-http-async-sentinel): Don't try changing sentinels.
960 Run url-http-end-of-document-sentinel if necessary.
961
8f77631e
JB
9622007-01-29 Juanma Barranquero <lekktu@gmail.com>
963
964 * url-auth.el (url-get-authentication): Fix typo in docstring.
965
00d972eb
MH
9662007-01-14 Magnus Henoch <mange@freemail.hu>
967
968 * url-proxy.el (url-proxy-object): Remove.
969 (url-proxy): Don't use `url-proxy-object'. Act according to type of
970 proxy (currently only HTTP supported).
971
972 * url.el (url-retrieve-internal): Don't use `url-proxy-object'.
973
974 * url-http.el (url-http-proxy): New variable.
975 (url-http-create-request): Use it. Don't use `url-proxy-object'.
976 (url-http): Treat `url' argument as resource to download, and
f49d1f52
SM
977 dynamic variable `url-using-proxy' as proxy to use.
978 Set `url-current-object' to actual URL, and `url-http-proxy' to proxy
00d972eb
MH
979 used.
980 (url-http-handle-cookies): Assume that `url-current-object' does
981 not point to the proxy used.
982 (url-http-async-sentinel): Adapt error message.
983
28e86dc4
JB
9842006-12-10 Juanma Barranquero <lekktu@gmail.com>
985
986 * url-gw.el (url-gateway-nslookup-program): Doc fix.
987
b8976ce0
MH
9882006-12-08 Magnus Henoch <mange@freemail.hu>
989
990 * url-proxy.el (url-proxy-object): New variable.
991 (url-proxy): Bind it instead of `proxy-object'.
992
993 * url-http.el (url-http-create-request): Remove url argument, use
f49d1f52
SM
994 the buffer-local variable `url-http-target-url' instead.
995 Both callers updated. Simplify proxy handling.
b8976ce0
MH
996 (url-http): Don't make proxy-object buffer local.
997
998 * url.el (url-retrieve-internal): Bind url-proxy-object to nil.
999
57babe17
MH
10002006-11-26 Magnus Henoch <mange@freemail.hu>
1001
f49d1f52
SM
1002 * url-http.el (url-http-wait-for-headers-change-function):
1003 Use `when' instead of `if' when possible.
b9b172ac
MH
1004 (url-http): Define url-http-response-version.
1005 (url-http-parse-response): Set it.
1006 (url-http-parse-headers): Use it to determine keep-alive behavior.
57babe17 1007
60df22cc 10082006-11-23 Diane Murray <disumu@x3y2z1.net> (tiny change)
48d2bac4 1009
f49d1f52
SM
1010 * url-http.el (url-http-content-length-after-change-function):
1011 Use `url-lazy-message'.
48d2bac4
MH
1012
1013 * url-util.el (url-display-percentage): Only show a message if
1014 `url-show-status' is non-nil.
1015
d58fae84
MH
10162006-11-15 Magnus Henoch <mange@freemail.hu>
1017
6e2988e6
MH
1018 * url-http.el (url-http): Make proxy-object buffer-local, to
1019 handle proxied asynchronous connections correctly.
1020
d58fae84
MH
1021 * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
1022
1ac3c910 10232006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
98325235 1024
1ac3c910
JB
1025 * url-http.el (url-http-wait-for-headers-change-function):
1026 Defer detection of HTTP 0.9 until we have at least one line.
98325235 1027
1ac3c910 10282006-11-10 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8529c21d
CY
1029
1030 * url-http.el (url-http-mark-connection-as-free)
1031 (url-http-find-free-connection): Don't treat process with status
1032 `connect' as free.
1033 (url-http-async-sentinel): Request correct url.
1034
947612be
MH
10352006-11-08 Magnus Henoch <mange@freemail.hu>
1036
385b64c5
MH
1037 * url-http.el (url-http-handle-authentication): If there are
1038 several authentication headers, use the strongest available
1039 method.
1040
947612be
MH
1041 * url.el (url-retrieve-synchronously): Allow quitting when
1042 inhibit-quit is t.
1043
1ac3c910 10442006-11-03 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8917392a
MH
1045
1046 * url-http.el (url-http-handle-authentication): If there are
1047 several authentication headers, use the first with a supported
1048 method.
1049
8ea88265
MH
10502006-11-01 Magnus Henoch <mange@freemail.hu>
1051
1052 * url-http.el (url-http-create-request): Use buffer-local
1053 equivalents of dynamically bound variables.
1054
080234b6
MH
10552006-10-29 Magnus Henoch <mange@freemail.hu>
1056
1057 * url-gw.el (url-open-stream): Really use asynchronous
1058 connections (accidentally disabled during debugging).
1059
ced20bfb
MH
10602006-10-28 Magnus Henoch <mange@freemail.hu>
1061
1062 * url-http.el (url-http-parse-headers): Fix misplaced paren.
1063
5695d1dd
CY
10642006-10-27 Magnus Henoch <mange@freemail.hu>
1065
1066 * url-http.el (url-http-mark-connection-as-free): Verify that
1067 connection is open before saving it.
1068 (url-http-handle-authentication): Use url-retrieve-internal
1069 instead of url-retrieve.
1070 (url-http-parse-headers): Adapt to new callback interface.
1071 (url-http): Handle non-blocking connections.
1072 (url-http-async-sentinel): Create.
1073
1074 * url.el (url-retrieve): Update docstring for new callback interface.
1075 Remove all code.
1076 (url-retrieve-internal): Move code from url-retrieve here.
1077
1078 * url-gw.el (url-open-stream): Use a non-blocking socket for
1079 `native' gateway method, if available.
1080
784f5416
MH
10812006-10-16 Magnus Henoch <mange@freemail.hu>
1082
1ac3c910
JB
1083 * url-http.el (url-https-create-secure-wrapper):
1084 Always use tls gateway method.
784f5416 1085
dfea17e0
MH
10862006-10-12 Magnus Henoch <mange@freemail.hu>
1087
1ac3c910
JB
1088 * url-http.el (url-http-find-free-connection):
1089 Handle url-open-stream returning nil.
dfea17e0 1090
9c51663a
MH
10912006-10-11 Magnus Henoch <mange@freemail.hu>
1092
1093 * url-https.el: Remove (clashes with url-http on 8+3 systems).
1094
1095 * url-http.el: Move contents of url-https.el here. Add autoloads.
1096
f6fb70fc
MH
10972006-10-09 Magnus Henoch <mange@freemail.hu>
1098
1099 * url-parse.el (url-generic-parse-url): Handle URLs with empty
1100 path component and non-empty query component. Untangle path,
1101 query and fragment parsing code. Add references to RFC 3986 in
1102 comments.
c385aa1a 1103 (url-recreate-url-attributes): Start query string with "?", not ";".
f6fb70fc 1104
162fbe11
SM
11052006-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1106
1107 * url-dav.el (url-dav-file-attributes): Simplify.
1108
1109 * url-http.el (url-http-head-file-attributes): Add device "info".
1110
f316efd9
MB
11112006-09-18 Michael Olson <mwolson@gnu.org>
1112
1113 * url-methods.el (url-scheme-register-proxy): Handle case where
1114 getenv returns an empty string for http_proxy. This prevents an
1115 error when calling `format' later on.
1116
60df22cc 11172006-08-31 Diane Murray <disumu@x3y2z1.net> (tiny change)
7660c02f 1118
c2a7ddb1
SM
1119 * url-parse.el (url-recreate-url-attributes): New function, code
1120 simply moved from `url-recreate-url'.
1121 (url-recreate-url): Use it.
1122 Put the `url-target' at the end of the URL after the attributes.
1123
1124 * url-http.el (url-http-create-request):
1125 Use `url-recreate-url-attributes' when setting real-fname.
1126
60df22cc 11272006-08-29 Diane Murray <disumu@x3y2z1.net> (tiny change)
c2a7ddb1
SM
1128
1129 * url-cookie.el (url-cookie-write-file): Really don't use versioned
1130 backups.
7660c02f 1131
d0f891a7
SM
11322006-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
1133
1134 * url-handlers.el (url-file-local-copy): Tell url-copy-file that the
1135 dest file will already exist.
1136
07e9b3f0
SM
11372006-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
1138
1139 * url-util.el (url-hexify-string): Only utf-8 encode if it's
1140 a multibyte string.
1141 (url-normalize-url): Remove unused var `grok'.
1142 (url-truncate-url-for-viewing): Remove unused var `tail'.
1143
ecfbb488
TTN
11442006-07-30 Thien-Thi Nguyen <ttn@gnu.org>
1145
1146 * url-util.el (url-hexify-string): Rewrite.
1147 Suggested by David Smith <davidsmith@acm.org>.
1148
0b6bb130
MB
11492006-07-12 Michael Olson <mwolson@gnu.org>
1150
1151 * url-irc.el (url-irc-erc): Call erc-handle-irc-url.
1152
bc684c16
SM
11532006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1154
1155 * url-cookie.el: Remove spurious * in docstrings.
1156 (url-cookie-write-file): Don't use versioned backups.
1157 (url-cookie-host-can-set-p): Remove unused var `tmp'.
1158
3d3a26eb 11592006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
bc684c16
SM
1160
1161 * url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
1162 (url-cookie-write-file): Reset url-cookies-changed-since-last-save.
1163
d10a6bf1
RS
11642006-05-12 Reiner Steib <Reiner.Steib@gmx.de>
1165
1166 * url-http.el (url-http-file-exists-p): Test if status is integer.
1167
3d3a26eb 11682006-05-05 Andreas Seltenreich <seltenreich@gmx.de>
3dfed653
EZ
1169
1170 * url-http.el (url-http-parse-headers): Don't reuse connection if
1171 "Connection: close" header was seen.
1172
351b838f
SM
11732006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1174
1175 * url-gw.el (url-open-stream): Don't hide errors.
1176 (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
1177
1178 * url-handlers.el (url-insert): New function.
1179 (url-insert-file-contents): Use it.
1180
bdba217b
SM
11812006-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1182
1183 * url-handlers.el (url-handler-directory-file-name): New handler.
1184 (url-file-local-copy): Plug race condition security hole.
1185
7608c40c
RF
11862006-03-27 Romain Francoise <romain@orebokech.com>
1187
1188 * url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
1189 (url-irc-function): Add rcirc and ERC to the list of IRC clients.
1190 Default to rcirc, since ZenIRC isn't part of Emacs.
1191
bedeb7fd
SM
11922006-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
1193
1194 * url-http.el (url-http-find-free-connection): Fix braino in last fix.
1195
8dff56de
SM
11962006-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
1197
1198 * url-http.el (url-http-find-free-connection): Don't kill the process
1199 when killing the temp buffer.
1200 (url-http-symbol-value-in-buffer): Massage to make it clear to the
1201 byte-compiler that the function is defined.
1202
9b4cf231
SM
12032006-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1204
1205 * url.el (url-redirect-buffer): New var.
1206 (url-retrieve-synchronously): Use it to follow redirections.
1207
1208 * url-http.el: Require `url' rather than try to autoload parts of it.
1209 (url-http-find-free-connection): `url-open-stream' needs a real buffer.
1210 (url-http-parse-headers): Set `url-redirect-buffer' when following
1211 a redirection reply.
1212
81cafdfe
SM
12132006-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1214
1215 * url-news.el: Move defvars out of eval-when-compile.
1216 (url-news-fetch-message-id, url-news-fetch-newsgroup):
1217 Use with-current-buffer.
1218
5dc3ceeb
SM
12192006-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1220
e7ea7cac
SM
1221 * url.el (url-retrieve-synchronously): Adjust the workaround so as not
1222 to stop in the middle of a redirection.
1223
5dc3ceeb
SM
1224 * url-vars.el (url-privacy-level): Add setter.
1225
72a30be4
SM
12262006-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
1227
176c99dc
SM
1228 * url-history.el (url-history-hash-table): Initialize in declaration.
1229 (url-history-parse-history): Don't reset the history.
1230 (url-history-save-history): Create parent dir if necessary.
1231 (url-history-save-history): Don't write the initialization of
1232 url-history-hash-table into the history file.
9b4cf231 1233 (url-have-visited-url): Simplify since url-history-hash-table isn't nil.
176c99dc
SM
1234 (url-completion-function): Simplify.
1235
72a30be4
SM
1236 * url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
1237 (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
1238 (url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
1239 (url-cookie-setup-save-timer): Remove autoload cookies.
1240 They're only called from files that require url-cookie anyway.
1241
1242 * url-history.el (url-history-setup-save-timer)
1243 (url-history-parse-history, url-history-save-history):
1244 Remove autoload cookies. They're only called from url.el which requires
1245 url-history anyway.
1246 (url-history-parse-history): Don't complain if the file is missing.
1247
55262b16
SM
12482006-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1249
1250 * url-handlers.el (url-retrieve-synchronously): Don't autoload.
1251
1252 * url.el (url-retrieve, url-retrieve-synchronously): Autoload.
1253
1254 * url-cache.el: Require `url'.
1255
d476efde
SM
12562005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1257
32d5ce4d
SM
1258 * url-cache.el (url-store-in-cache): Use save-current-buffer.
1259
d476efde
SM
1260 * url.el (url-configuration-directory): Don't autoload because the
1261 default value needs to be computed at run-time, not dump-time.
1262
32fa5844
SM
12632005-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
1264
1265 * url-cookie.el (url-cookie-write-file): Create parent dir.
1266
1267 * url.el (url-configuration-directory): Use ~/.emacs.d if possible.
1268
0c069924
RS
12692005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1270
1271 * url-cookie.el (url-cookie-save-interval): Simplify.
1272 (url-cookie-setup-save-timer): Simplify.
1273
8553120c
RS
12742005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1275
1276 * url-history.el (url-history-list): Var deleted.
1277 (url-history-save-interval): Simplify.
1278 (url-history-setup-save-timer): Simplify.
1279
b0ab1a06
KS
12802005-12-01 Kim F. Storm <storm@cua.dk>
1281
1282 * url-history.el (url-history-track): Fix last change.
1283
1942d6cc
RS
12842005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1285
1286 * url-history.el (url-history-track):
1287 Call url-history-setup-save-timer in :set function.
1288 :type allows three alternatives.
1289 (url-history-setup-save-timer): Test url-history-track.
1290 * url.el (url-retrieve): Test url-history-track.
1291
12f1edc8
SM
12922005-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1293
1294 * url-http.el: Use with-current-buffer.
1295 (url-http-target-url): Rename from url-http-cookies-sources.
1296 (url-http-parse-headers): Use it.
1297 (url-http-handle-authentication): Use subst-char-in-string.
1298
2b1b005c 12992005-11-16 Jürgen Hötzel <emacs@hoetzel.info> (tiny change)
77f05e24
SM
1300
1301 * url-handlers.el (url-insert-file-contents): Use the charset info
1302 provided by the HTTP server, if any.
1303
ce13796f
EZ
13042005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change)
1305
77f05e24
SM
1306 * url-nfs.el (top level):
1307 * url-handlers.el (directory-files):
ce13796f 1308 * url-file.el (top level):
77f05e24 1309 * url-dired.el (url-dired-minor-mode-map):
ce13796f
EZ
1310 * url-http.el (url-http-chunked-encoding-after-change-function):
1311 Remove XEmacs support.
1312
a4684cb0
RS
13132005-10-15 Richard M. Stallman <rms@gnu.org>
1314
1315 * url.el: Don't try to autoload hash table functions.
1316
1430e7f9
SM
13172005-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1318
1319 * url-http.el (url-http-create-request): Avoid incorrect implicit
1320 unibyte->multibyte conversion.
1321
8ccd3630
RS
13222005-09-17 Richard M. Stallman <rms@gnu.org>
1323
1324 * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
1325
1326 * url-mailto.el (url-mailto): Special case `mail'.
1327 Don't test fboundp of `compose-mail'.
1328
b0742512
CY
13292005-09-15 Chong Yidong <cyd@stupidchicken.com>
1330
1331 * url-mailto.el (url-mailto): Delete mail buffer after sending
1332 autogenerated mail.
8ded3f47 1333 Call `compose-mail with `new' argument if possible.
b0742512 1334
c8359e8f
CY
13352005-09-13 Chong Yidong <cyd@stupidchicken.com>
1336
1337 * url-mailto.el (url-mailto): Always use a new mail buffer.
1338
6fd388f3
CY
13392005-09-01 Chong Yidong <cyd@stupidchicken.com>
1340
1341 * url-util.el (url-parse-query-string): New optional argument
1342 allow-newlines allows decoding of newlines.
1343
1344 * url-mailto.el (url-mailto): Allow newlines in URL arguments.
1345 Don't lose original "to" value when there is a "to" header.
1346 Remove carriage return characters in message body.
1347
26d874b2
JB
13482005-08-24 Juanma Barranquero <lekktu@gmail.com>
1349
1350 * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
1351 * url-http.el (url-http-cookies-sources): Defvar at compile time.
1352
dc524e8b
RS
13532005-07-15 Richard M. Stallman <rms@gnu.org>
1354
1355 * url-http.el (url-http-parse-headers): Add :redirect arg-pair
1356 when calling url-retrieve, to indicate a redirect.
1357
1358 * url.el (url-retrieve): The callback function can get an additional
1359 keyword arg pair.
1360
a0ec7a4a
LK
13612005-07-04 Lute Kamstra <lute@gnu.org>
1362
1363 Update FSF's address in GPL notices.
1364
59fda2fa
JB
13652005-07-04 Juanma Barranquero <lekktu@gmail.com>
1366
1367 * url-history.el (url-history-track): Doc fix.
1368 (url-history): Finish `defgroup' description with period.
1369
1370 * url-cookie.el (url-cookie):
1371 * url-gw.el (url-gateway):
1372 * url-news.el (url-news):
1373 * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
1374 Finish `defgroup' description with period.
1375
231add10
RS
13762005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1377
1378 * url-http.el (url-http-create-request): Call url-recreate-url
1379 in proxy case.
1380
e893ce91
RS
13812005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1382
1383 * url-http.el (url-http-create-request): When computing real-fname,
1384 call url-filename in both cases.
1385
13862005-06-27 Richard M. Stallman <rms@gnu.org>
1387
1388 * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
1389 (url-cookie-retrieve): Likewise.
1390 (url-cookie-generate-header-lines): Likewise.
1391 (url-cookie-handle-set-cookie): Likewise.
1392 (url-cookie-create): Expect :localpart instead of :path.
f49d1f52
SM
1393 (url-cookie-localpart): Rename from url-cookie-path.
1394 (url-cookie-set-localpart): Rename from url-cookie-set-path.
e893ce91
RS
1395 (url-cookie-file): Doc fix.
1396 (url-cookie-p): Add doc string.
1397
528b6abc
RS
13982005-06-23 Richard M. Stallman <rms@gnu.org>
1399
1400 * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
1401
23873c96
JB
14022005-06-21 Juanma Barranquero <lekktu@gmail.com>
1403
1404 * url-gw.el (url-open-stream):
1405 * url-vars.el (url-gateway-unplugged): Fix spellings.
1406
0b46b379
JB
14072005-06-14 Juanma Barranquero <lekktu@gmail.com>
1408
d6c180c4 1409 * url-history.el (url-completion-function): Follow error conventions.
0b46b379 1410
175384d1
SM
14112005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1412
1413 * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
1414
7f954571
SM
14152005-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1416
0090e048
SM
1417 * url-dav.el: Remove most autoload cookies.
1418 Don't hook into the url-file-handler since it currently breaks all
1419 non-HTTP URLs.
1420
7f954571
SM
1421 * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
1422
1423 * url.el (url-retrieve-synchronously): Don't exit precipitously when
1424 fetching a file via ange-ftp.
1425
466c78c0
JB
14262005-06-10 Juanma Barranquero <lekktu@gmail.com>
1427
7f954571 1428 * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
466c78c0 1429
93c8c9cd
JB
14302005-05-19 Juanma Barranquero <lekktu@gmail.com>
1431
1432 * url-cookie.el (url-cookie-multiple-line):
1433 Specify group and type in defcustom.
1434
216d3806
JB
14352005-05-06 Juanma Barranquero <lekktu@gmail.com>
1436
1437 * url-auth.el (url-register-auth-scheme):
1438 * url-cookie.el (url-cookie-expired-p):
1439 * url-dav.el (url-dav-process-date-property)
1440 (url-dav-process-boolean-property, url-dav-process-DAV:status):
1441 * url-http.el (url-http-chunked-encoding-after-change-function)
1442 (url-http-wait-for-headers-change-function):
1443 * url-ns.el (isInNet):
1444 * url-parse.el (url-generic-parse-url):
1445 * url-util.el (url-get-normalized-date): Replace `string-to-int'
1446 by `string-to-number'.
1447
799fba8f
SM
14482005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1449
1450 * url.el (url-retrieve-synchronously): Work around the fact that
1451 url-http sometimes doesn't call the callback.
1452
8c6ef2ca
LK
14532005-04-04 Lute Kamstra <lute@gnu.org>
1454
1455 * url-handlers.el (url-handler-mode): Specify :group.
1456
a6efc2c2
EZ
14572005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
1458
1459 * url-history.el (url-have-visited-url): Don't barf if
1460 url-history-hash-table is nil.
1461
134948fc
RS
14622005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
1463
1464 * url-http.el (url-http-parse-headers): Test url-automatic-caching.
1465
1a8461d3
EZ
14662005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1467
557724a8
EZ
1468 * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
1469 to nil, like for the 303 response.
1a8461d3 1470
944b2ab6
SM
14712005-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1472
1473 * url.el (url-retrieve-synchronously): Use accept-process-output rather
1474 than sit-for.
1475
e817f9a2
TTN
14762005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change)
1477
1478 * url-http.el (url-http-handle-authentication):
1479 Don't kill the current buffer.
1480
5007cdc9
SM
14812004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1482
1483 * url-handlers.el: Don't `require' everything eagerly.
1484
cacfe88b
AS
14852004-11-30 Paul Pogonyshev <pogonyshev@gmx.net>
1486
1487 * url-http.el (url-http-handle-cookies): Bind `url-current-object'
1488 to `url-http-cookies-sources' so that cookies are attributed to
1489 proper domain.
1490 (url-http): Make local variable `url-http-cookies-sources'.
1491
dc1a0a7a
AS
14922004-11-28 Andreas Schwab <schwab@suse.de>
1493
1494 * url-http.el (url-http-create-request): Don't add newline after
1495 the request data.
1496
14e25c87
MY
14972004-11-20 Masatake YAMATO <jet@gyve.org>
1498
1499 * url.el (url-mm-callback): Delay the invocation
1ac3c910 1500 of `mm-destroy-parts'. Invoke `mm-destroy-parts'
14e25c87
MY
1501 when the buffer is killed.
1502
de0234ea
MY
15032004-11-12 Masatake YAMATO <jet@gyve.org>
1504
5007cdc9 1505 * url-mailto.el (url-mailto): Fix a typo in the comment.
de0234ea 1506
60b5eb78
MY
15072004-11-02 Masatake YAMATO <jet@gyve.org>
1508
1509 * url-imap.el (url-imap-open-host): Don't use
1ac3c910 1510 `string-to-int'. The port returned by `url-port'
60b5eb78
MY
1511 is expected to be an integer.
1512
1513 * url-irc.el (url-irc): Ditto.
1514
1515 * url-news.el (url-news-open-host): Ditto.
1516
1517 * url-nfs.el (url-nfs-build-filename): Ditto.
1518
ed87225a
JPW
15192004-10-20 John Paul Wallington <jpw@gnu.org>
1520
1521 * url-gw.el (url-gateway-nslookup-host):
1522 Use `set-process-query-on-exit-flag'.
1523
2a6c7fe5
LH
15242004-10-10 Lars Hansen <larsh@math.ku.dk>
1525
4169c186
KS
1526 * url-auth.el:
1527 * url-cache.el:
1528 * url-cid.el:
1529 * url-dired.el:
1530 * url-expand.el:
1531 * url-ftp.el:
1532 * url-gw.el:
1533 * url-imap.el:
1534 * url-irc.el:
1535 * url-misc.el:
1536 * url-news.el:
1537 * url-ns.el:
1538 * url-privacy.el:
2a6c7fe5
LH
1539 * url-proxy.el: Update header and footer.
1540
1541 * url-vars.el: Update header.
1542
c2e2ede7
RS
15432004-10-16 Richard M. Stallman <rms@gnu.org>
1544
1545 * url.el (url-do-setup): Don't set url-passwd-entry-func.
1546
1547 * url-vars.el (url-passwd-entry-func): Var deleted.
1548 (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
5007cdc9
SM
1549 (url-weekday-alist): Rename from weekday-alist.
1550 (url-monthabbrev-alist): Rename from monthabbrev-alist.
c2e2ede7
RS
1551 (url-vars-unload-hook): Initialize hook var to hold the function.
1552
5007cdc9
SM
1553 * url-util.el (url-get-normalized-date): Use url-weekday-alist and
1554 url-monthabbrev-alist.
c2e2ede7
RS
1555
1556 * url-misc.el: Load cl at compile time.
1557
1558 * url-mailto.el: Don't load cl.
1559 (url-mailto): Fix call to `push'.
1560
1561 * url-gw.el (url-open-telnet): Use read-passwd.
1562
1563 * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
1564
3bb53a84
SJ
15652004-10-12 Simon Josefsson <jas@extundo.com>
1566
1567 * url-vars.el (url-gateway-method): Add new method `tls'.
1568
1569 * url-news.el (url-snews): Use nntp-open-tls-stream if
1570 url-gateway-method is tls.
1571
5007cdc9
SM
1572 * url-ldap.el (url-ldap-certificate-formatter):
1573 Use tls-certificate-information if ssl.el is not available.
3bb53a84
SJ
1574
1575 * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
1576 is not available.
1577
1578 * url-gw.el (url-open-stream): Support tls url-gateway-method.
1579 (url-open-stream): Likewise.
1580
df41da5e
LH
15812004-10-10 Lars Hansen <larsh@math.ku.dk>
1582
4169c186
KS
1583 * url-auth.el:
1584 * url-cache.el:
1585 * url-cookie.el:
1586 * url-dired.el:
1587 * url-file.el:
1588 * url-ftp.el:
1589 * url-handlers.el:
1590 * url-history.el:
1591 * url-irc.el:
1592 * url-mailto.el:
1593 * url-methods.el:
1594 * url-misc.el:
1595 * url-news.el:
1596 * url-nfs.el:
1597 * url-parse.el:
1598 * url-privacy.el:
1599 * url-vars.el:
1600 * url.el:
df41da5e
LH
1601 * url-util.el: Fix copyright notice.
1602
ccd59305
SM
16032004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1604
1605 * url-handlers.el (url-insert-file-contents): Use the URL to decide the
1606 encoding, not the buffer-file-name (which might not even exist).
1607
d4fdad60
SM
16082004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1609
1610 * url-handlers.el (url-insert-file-contents): Decode contents.
1611
10a6e6ba
SM
16122004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1613
1614 * url-util.el (url-debug): Use with-current-buffer.
1615
1616 * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
1617 (url-nfs-create-wrapper): Use new backquote syntax.
1618
1619 * url-https.el (url-https-file-attributes): Add id-format param.
1620
1621 * url-http.el (url-http-head-file-attributes)
1622 (url-http-file-attributes): Add id-format parameter.
1623
1624 * url-handlers.el: Use new find-file-hook.
1625 (url-file-attributes): Add id-format parameter.
1626
1627 * url-file.el (url-file-create-wrapper): Use new backquote syntax.
1628 (url-file-file-attributes): Add id-format parameter.
1629
1630 * url-dav.el: Use with-current-buffer.
1631 (url-dav-process-response): Fix regexps and spurious quote.
1632 (url-dav-file-attributes): Add id-format param.
1633
16342004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1635
1636 * url.el (url-retrieve): Use with-current-buffer.
1637
1638 * url-http.el (url-http-parse-headers, url-http-file-exists-p):
1639 Remove unused var `version'.
1640
1641 * url-handlers.el (url-handler-mode): New minor mode.
1642 (url-setup-file-name-handlers): Remove.
1643
16442004-04-12 John Paul Wallington <jpw@gnu.org>
1645
1646 * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
1647 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
1648
16492004-04-11 Dave Love <fx@gnu.org>
1650
1651 * url-mailto.el (url-mailto):
1652 * url-history.el (url-history-setup-save-timer):
1653 * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
1654
1655 * url-file.el (url-file-build-filename): Don't use
1656 directory-sep-char.
1657
1658 * url-auth.el (url-register-auth-scheme): Fix `format' call.
1659
1660 * url-about.el (url-scheme-registry): Defvar.
1661 (url-about): Use text/plain.
1662
1663 * url-vars.el (cl): Don't require.
1664 (url): Add :version.
1665 (url-bug-address): Use bug-gnu-emacs.
1666
1667 * url-util.el (url-hexify-string): Don't give multibyte error
1668 for char <16.
1669 (mail-header-extract): Autoload.
1670
1671 * url-parse.el: Doc fixes.
1672
1673 * url-ldap.el (ldap): Require.
1674 (url-ldap): Fix `format' call.
1675 (url-ldap-certificate-formatter): Avoid warning.
1676
4dfde3dd 1677 * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
10a6e6ba
SM
1678
1679 * url-dav.el (url-dav-rename-file): Fix args of `signal'.
1680 (url-intersection): New.
1681 (url-dav-supported-p): Use it.
1682 (url-dav-save-resource): Declare url-http-response-status special.
1683
1684 * url-cache.el (url-util): Require.
1685
16862004-04-10 Miles Bader <miles@gnu.org>
1687
1688 RCS keyword removal (only non-comment changes are enumerated here):
1689
1690 * url-vars.el (url-version): Use the constant string "Emacs"
1691 instead of calculating something from the RCS `State' keyword
1692 [the latter is almost entirely useless anyway].
1693
16942004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1695
1696 * url-methods.el:
1697 * url-parse.el: Don't require url-auto.
1698
16992004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1700
1701 * url: Imported the URL package from its own CVS repository into Emacs.
1702
1703===========================================================================
1704===========================================================================
1705 Copy of the ChangeLog file from URL's own CVS repository:
1706===========================================================================
1707===========================================================================
1708
17092003-07-16 Dave Love <fx@gnu.org>
1710
1711 * lisp/url.el (url-retrieve-synchronously): Revert last change.
1712 Should be revisited.
1713
17142003-06-26 Sam Steingold <sds@gnu.org>
1715
1716 * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
1717 method on invalid urls.
1718
17192003-05-29 Dave Love <fx@gnu.org>
1720
1721 * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
1722 sit-for. From monnier@gnu.org.
1723
1ac3c910 17242002-11-04 Walter C. Pelissero <walter@pelissero.org>
10a6e6ba 1725
4dfde3dd
SM
1726 * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
1727 port numbers to integers when creating the URL objects for proxies.
10a6e6ba
SM
1728
17292002-10-29 William M. Perry <wmperry@gnu.org>
1730
1731 * lisp/url-http.el (url-http-parse-headers): When doing a
1732 redirect, some broken software (sourceforge) sends a redirect to
1733 '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
1734 specification). I wish we could deal with such lame software
1735 appropriately (spank the authors), but this is the web, so we have
1736 to kow-tow to the servers.
1737
17382002-10-27 William M. Perry <wmperry@gnu.org>
1739
1740 * lisp/url-http.el (url-http-create-request): If we are talking to
1741 the default port for a the selected protocol, do NOT send the port
1742 in the HOST header. This fixes the login page at sourceforge.
1743
17442002-09-17 William M. Perry <wmperry@gnu.org>
1745
1746 * lisp/url-http.el (url-http-handle-cookies): New function to deal
1747 with cookie headers.
1748 (url-http-parse-headers): Call `url-http-handle-cookies' here so
4dfde3dd
SM
1749 that cookie additions and deletions get handled immediately.
1750 This is so that sites that set cookies while doing redirects
10a6e6ba
SM
1751 (my.yahoo.com, outlook web access, etc) work. This should also
1752 fix sites that delete cookies on invalid access or other error
1753 pages the user might not actually see.
1754 (url-http-parse-headers): Silently convert non-HEAD and non-GET
1755 methods to GET in redirects. Too many web sites do this now, and
1756 it is just likely to confuse users.
1757
17582002-05-17 Dave Love <fx@gnu.org>
1759
1760 * texi/url.txi: Start making it vaguely useful.
1761
1762 * texi/Makefile.in (install): Cope with Debian install-info.
2a5be7dc 1763 From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Grossjohann).
10a6e6ba
SM
1764
17652002-04-22 Dave Love <fx@gnu.org>
1766
1767 * lisp/url-misc.el (man): Autoload to avoid warning.
1768 (url-man): Don't require man here.
1769 (url-data): Generalize in line with the RFC.
1770
1771 * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
1772
1773 * lisp/url-vars.el: Doc fixes.
1774 (url-mime-charset-string): New function.
1775 (url-mime-charset-string): Use it to set the variable.
1776 (url-set-mime-charset-string): New function.
1777 (set-language-environment-hook): Use it.
1778 (url-vars-unload-hook): New function.
1779
4dfde3dd
SM
1780 * lisp/url-cookie.el (url-header-comparison): Delete.
1781 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
10a6e6ba
SM
1782 (url-cookie-save-interval): Make value agree with doc.
1783
1784 * lisp/url.el: Doc fixes.
1785 (url-mm-callback): Don't call mm-destroy-parts immediately for
1786 external viewing -- set up a process sentinel.
1787
17882002-02-02 William M. Perry <wmperry@gnu.org>
1789
4dfde3dd 1790 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
10a6e6ba
SM
1791
17922001-12-12 William M. Perry <wmperry@gnu.org>
1793
1794 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
1795 Monnier to use ` instead of ^ to match the relative link.
1796
17972001-12-10 William M. Perry <wmperry@gnu.org>
1798
1799 * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
1800 plist-get (reversed args).
1801
1802 * lisp/url-file.el (url-file-build-filename): Make sure that we
1803 have a parsed URL in this function.
1804
18052002-01-22 Dave Love <fx@gnu.org>
1806
1807 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
1808
4dfde3dd
SM
1809 * lisp/url-imap.el (url-imap): Maybe disable multibyte.
1810 Bind coding-system-for-read. Require mm-util.
10a6e6ba
SM
1811
1812 * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
1813
1814 * lisp/mule-sysdp.el: Removed (obsolete).
1815
18162001-12-09 William M. Perry <wmperry@gnu.org>
1817
1818 * lisp/url-dav.el (url-dav-delete-something): Utility macro to
1819 remove an arbitrary resource.
1820 (url-dav-delete-directory): Use it.
1821 (url-dav-delete-file): Ditto.
1822 (url-dav-make-directory): New function.
1823 (url-dav-rename-file): New function.
1824 (url-dav-register-handler): New function to easily register a
1825 WebDAV-specific file-name-handler operation.
1826 (url-dav-file-name-all-completions, url-dav-file-name-completion):
4dfde3dd 1827 New functions that allow file-name completion for WebDAV resources.
10a6e6ba
SM
1828
18292001-12-08 William M. Perry <wmperry@gnu.org>
1830
1831 * lisp/url-dav.el (url-dav-directory-files): New function to
1832 mimic `directory-files' for WebDAV.
1833 (url-dav-delete-directory): New function to mimic
1834 `delete-directory' for WebDAV.
1835
18362001-12-06 William M. Perry <wmperry@gnu.org>
1837
1838 * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
1839 DAV:locktoken hrefs into a usable format.
1840 (url-dav-process-response): Use an unwind-protect to make sure
1841 that we clean up the buffer, even if there is a parsing error.
1842 (url-dav-request): New function to act as the main entry point for
1843 making DAV requests. Takes care of building the XML document with
1844 appropriate namespaces, depth, etc, and parses the results.
4dfde3dd
SM
1845 (url-dav-get-properties): Use new url-dav-request function.
1846 This is now just a thin wrapper around that to use PROPFIND and set any
10a6e6ba
SM
1847 extra properties we are looking for.
1848 (url-dav-unlock-resource): New function to release a lock given a
1849 URL and a lock-token.
1850 (url-dav-process-DAV:getlastmodified)
1851 (url-dav-process-DAV:creationdate)
1852 (url-dav-process-DAV:iscollection)
1853 (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
1854 url-dave-*!
1855 (url-dav-active-locks): New function to get a list of all the
1856 active locks for a resource.
1857 (url-dav-save-resource): New function to actually save a resource
1858 using the PUT method. I can now successfully save files to an
4dfde3dd 1859 HTTP server with some manual steps from a lisp-interaction buffer.
10a6e6ba
SM
1860
1861 * lisp/url-http.el (url-http-wait-for-headers-change-function):
1862 Special case the 204/205 response codes. Some servers do not
1863 send back a 0 content-length for these, and we would hang.
1864 (url-http-parse-headers): Mark 204/205 response codes as
1865 'successful' so that the callbacks get activated.
1866 (url-http-options): Fix unbound variable usage.
1867
1868 * lisp/url-dav.el: Added full copyright information.
1869 (url-dav-process-response): Make sure that we create a DAV:status
1870 property when parsing a singleton response.
1871 (url-dav-file-attributes): If the properties returned did not have
10d1d0af 1872 a successful HTTP response code, then ignore them and use the
10a6e6ba
SM
1873 HEAD-based attributes.
1874
1875 * lisp/vc-dav.el: Added full copyright information.
1876
4dfde3dd
SM
1877 * lisp/url-dav.el (url-dav-process-supportedlock-property):
1878 Deal with text nodes in DAV:supportedlock nodes.
10a6e6ba
SM
1879 (url-dav-file-attributes-mode-string): This now gets the entire
1880 property list instead of just the DAV:supportedlock node.
1881 (url-dav-file-attributes): Make sure to pass the whole list in.
4dfde3dd 1882 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
10a6e6ba
SM
1883 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
1884 'executable' bit to set the 'x' mode. See `mod_dav's custom
1885 properties' at http://www.webdav.org/mod_dav/ for more details.
1886 (url-dav-find-parser): New function to find the proper parser for
1887 a node-type. Looks for
1888 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
1889 back to using url-dav-node-text. Caches the results on the nodes
1890 symbol name.
4dfde3dd
SM
1891 (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
1892 (url-dav-process-*): Rename most of the handlers and made them
10a6e6ba
SM
1893 use url-dav-dispatch-node where appropriate.
1894 (url-dav-process-DAV:prop): Instead of using the dav-data-type
1895 property to dispatch the node, now uses dav-dispatch-node so that
1896 it is easy to add parsers for special nodes.
1897 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
1898 (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
1899 (url-dav-process-DAV:getcontentlength)
1900 (url-dave-process-DAV:getlastmodified)
1901 (url-dave-process-DAV:creationdate)
1902 (url-dave-process-DAV:iscollection)
1903 (url-dave-process-DAV:ishidden): Aliases for the generic
1904 url-dav-process-foo-property routines.
1905 (url-dav-process-DAV:activelock)
1906 (url-dav-process-DAV:lockdiscovery): Can now correctly parse
1907 DAV:lockdiscovery nodes, so that we can find out who has a
c80e3b4a 1908 resource locked and properly parse the response to a LOCK request.
10d1d0af 1909 (url-dav-process-DAV:status): Now parses out the numeric status
10a6e6ba
SM
1910 from the HTTP response line.
1911 (url-dav-process-response): New function to handle all the
1912 parsing of an XML response from WebDAV. This handles all the
1913 logic of checking the response content-type to make sure it is
1914 XML, parses the tree, and interprets the tree.
1915 (url-dav-process-response): Make sure that all responses look
1916 like a DAV:multistatus response, even if we get a singleton
4dfde3dd 1917 response back. This will just make the upper layer logic simpler.
10a6e6ba
SM
1918 (url-dav-get-properties): New optional argument NAMESPACES that
1919 specifies what namespaces to use in the XML request.
1920 (url-dav-get-properties): Got rid of the D: namespace in
1921 requests. It doesn't save that much space. Just use DAV:
1922 (url-dav-lock-identifier): New variable that should hold a URI
1923 pointing to contact information for the user. This will be used
1924 as the contents of the DAV:owner/DAV:href tag to identify the
1925 owner of a LOCK when requesting it. This will be shown to other
1926 users when the DAV:lockdiscovery property is requested, so make
1927 sure you are comfortable with it leaking to the outside world.
1928 (url-dav-lock-resource): New function to LOCK a dav resource.
1929
19302001-12-05 William M. Perry <wmperry@gnu.org>
1931
1932 * lisp/url-dav.el (url-dav-get-properties): New argument
1933 ATTRIBUTES that allows you to ask for specific properties instead
1934 of getting all properties via DAV:allprop.
1935
4dfde3dd
SM
1936 * lisp/url-http.el (url-http-real-basic-auth-storage):
1937 New variable for normal HTTP basic authentication.
10a6e6ba
SM
1938 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
1939 basic authentication.
1940 (url-http-handle-authentication): Follow new semantics for
1941 url-basic-auth-storage.
1942
4dfde3dd 1943 * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
10a6e6ba
SM
1944 this variable. It is now a symbol pointing to where we really
1945 want to store the authorization information. This fixes proxy
4dfde3dd
SM
1946 auth and normal basic auth because of some local bindings that were
1947 making it impossible to store the credentials in the global binding.
10a6e6ba
SM
1948 (url-basic-auth): Make sure we dereference url-basic-auth-storage
1949 everywhere.
1950
4dfde3dd 1951 * lisp/url-util.el (url-debug): Add new types 'dav and
10a6e6ba
SM
1952 'retrieval to the customization list.
1953
1954 * lisp/url.el (url-retrieve-synchronously): Put in some debugging
1955 statements.
1956
4dfde3dd 1957 * lisp/url-http.el (url-http-head-file-attributes): Rename old
10a6e6ba
SM
1958 url-http-file-attributes so that we can have a smarter one that
1959 tries WebDAV first, then HEAD.
4dfde3dd 1960 (url-http-file-attributes): New smart version that tries WebDAV first.
10a6e6ba
SM
1961 (url-http-options): New function that returns information gleaned
1962 from an OPTIONS request for a URL. Returns a property list
1963 returning the methods supported for the resource, what DAV and
1964 DASL levels are supported, p3p information, and whether
1965 byte-ranges are supported or not.
1966 (url-http-wait-for-headers-change-function): If we got a 0-byte
1967 content-length, activate the callback immediately.
1968 (url-http-wait-for-headers-change-function): For content-length
1969 responses with actual body-data in the chunk we are handling, call
1970 url-http-content-length-after-change-function with the remaining
1971 data. Otherwise we can deadlock if the headers and the entire
1972 body exist arrive in one chunk.
1973
1974 * lisp/url-dav.el: New file to contain the WebDAV
1975 (http://www.webdav.org/) implementation.
1976 (url-dav-supported-p): Cheap way to figure out whether we will be
1977 able to do DAV at all. We rely on the XML parser expanding
1978 namespaces for us, and currently you need a patched version of
1979 xml.el to do this. Patch sent to author for consideration.
1980 (url-dav-file-attributes): Much more complete version of
1981 `file-attributes' using the WebDAV PROPFIND method. Now correctly
1982 finds out whether something is a directory (a WebDAV collection),
1983 the last modification time, and permissions (based on the
1984 DAV:supportedlock information).
1985 (url-dav-get-properties): Generic interface to get WebDAV
1986 properties for a URL. Can specify an optional `depth' parameter
1987 to tell the web server how many directory (collection) levels to
1988 recurse when retrieving the property lists. Returns an assoc
4dfde3dd 1989 list keyed off of the resource, the cdr of which is a property list.
10a6e6ba
SM
1990 (url-dav-datatype-attribute): We support the XML-Data note
1991 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
1992 datatypes of attributes are. Currently only date, dateTime, int,
1993 number, float, boolean, and uri are supported.
1994
19952001-12-04 William M. Perry <wmperry@gnu.org>
1996
1997 * lisp/url-handlers.el (file-name-absolute-p): New hooked
1998 version. If the filename matches our regexp, then it is always
1999 absolute, so just return `t'.
2000 (expand-file-name): New hooked version. If the fragment is an
2001 absolute file or URL, then expand it relative to '/'.
2002 (url-handler-regexp): New regexp for specific schemes that we
2003 want the file-name-handlers to work off of.
4dfde3dd 2004 (url-setup-file-name-handlers): Use it when installing the handlers.
10a6e6ba
SM
2005
2006 * lisp/url-http.el (url-http-find-free-connection): Better logging
2007 about whether we are reusing an existing connection or not.
2008
4dfde3dd 2009 * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
10a6e6ba
SM
2010 to string-match instead of match-string (and with reversed
2011 arguments even).
2012
4dfde3dd 2013 * lisp/url-http.el (url-http-debug): Change to now use the
10a6e6ba
SM
2014 generic url-debug function to do the actual logging. Still a
2015 separate function so that we can do our magic on the network
2016 connection if the user quits while we are downloading.
2017
2018 * lisp/url-handlers.el (url-file-handler): Now logs the result of
2019 the hooked or real call.
2020
4dfde3dd 2021 * lisp/url-util.el (url-debug): New function for generic debug logging.
10a6e6ba
SM
2022
20232001-11-28 William M. Perry <wmperry@gnu.org>
2024
2025 * lisp/url-imap.el (url-imap-open-host): Use backquote.
2026 (url-imap): Now switches to 'login as the imap authenticator if
2027 the URL provides a username and password.
2028
2029 * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
2030 push to replace some strange logic in here.
2031 (url-run-real-handler): New function to run the real hooks in
2032 case we get a false positive or an operation that we do not
2033 support. The old way disabled _ALL_ file-name-handlers when
2034 we hit something we didn't understand - this disables JUST us.
4dfde3dd 2035 (url-file-handler): Remove the logic about removing the leading
10a6e6ba
SM
2036 '/' off of the first argument... it may not be safe to always
2037 assume that the first argument is the one we are acting on -
4dfde3dd 2038 `default' is the second argument for expand-file-name for example.
10a6e6ba
SM
2039 (url-setup-file-name-handlers): Use url-nonrelative-link
2040 directly. This means that you must type in the URL directly
2041 without prefixing it with a '/'.
2042
2043 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
2044
2045 Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
2046 which activates us (because 'nnml+mail' _is_ a valid scheme name
2047 for a URI). We get thoroughly confused and end up returning
2048 `nil' when we shouldn't.
2049
20502001-11-26 William M. Perry <wmperry@gnu.org>
2051
2052 * lisp/url-handlers.el (file-writable-p): Add NULL handler for
2053 this so that visiting a URL directly will work.
2054 (file-symlink-p): Ditto.
2055 (url-insert-file-contents): If `visit' is non-nil then make sure
2056 we set buffer-file-name. After these changes you can visit
2057 http://www.gnu.org/ directly from the minibuffer.
2058 (url-insert-file-contents): When inserting the file contents,
2059 use a save-excursion so that we behave just like the original.
2060
20612001-11-25 William M. Perry <wmperry@gnu.org>
2062
4dfde3dd 2063 * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
10a6e6ba
SM
2064
20652001-11-24 William M. Perry <wmperry@gnu.org>
2066
2067 * lisp/url-about.el (url-about): New loader scheme to handle
2068 about:foo URLs. Automatically tries to find a `url-about-foo'
2069 function to display the actual data.
2941ce4b 2070 (url-about-protocols): Implement about:protocols.
10a6e6ba
SM
2071
2072 * lisp/url-http.el (url-http): Make sure that we signal an error
2073 when we cannot open a network connection for whatever reason.
2074 Before, it would just silently clean up after itself and the user
183080b6 2075 got absolutely no indication that an error had occurred. If the
10a6e6ba
SM
2076 error should truly be ignored, the caller should do that for us.
2077 (url-http-chunked-encoding-after-change-function): Doh! Need to
2078 user marker-position in some log messages now that
2079 url-http-chunked-start is a marker.
2080
20812001-11-22 William M. Perry <wmperry@gnu.org>
2082
2083 * lisp/url-https.el: Fixed definition of url-https - was using the
2084 wrong signature. Too much cut & paste.
4dfde3dd 2085 (url-https-create-secure-wrapper): Fix so that url-https works
10a6e6ba 2086 at all. Was not taking a null `method' into account when calling
4dfde3dd 2087 the wrapped function so url-https tried to call url-http-nil. *sigh*
10a6e6ba
SM
2088
2089 * lisp/url-http.el
4dfde3dd 2090 (url-http-chunked-encoding-after-change-function): Add some
10a6e6ba
SM
2091 feedback when not debugging about what content-type and chunk # we
2092 are reading.
2093 (url-http-chunked-encoding-after-change-function): Use a marker
2094 for url-http-chunked-start so that we can safely delete the
2095 chunk-tokens instead of just marking them as invisible.
2096 (url-http-chunked-encoding-after-change-function): Actually delete
2097 the chunk-tokens. Now that we are not run from 'real'
2098 after-change functions, this is safe, and the right thing to do.
2099 Otherwise the HTML parser still saw them and inferred all sorts of
2100 bad things about the document (ie: nothing had a title!)
2101
21022001-11-21 William M. Perry <wmperry@gnu.org>
2103
2104 * lisp/url-http.el (url-http-debug): Document this variable.
2105 People other than I might want to use it.
2106 (url-http-debug): Put some code in here to check quit-flag
2107 directly. When the chunked encoding went into a tight spin, your
2108 Emacs would be wedged forever. This short-circuits all the
2109 after-change functions and signals an error.
2110 (url-http-debug): If url-http-debug is non-nil and non-t, then log
2111 the debug messages using `message' as well as sending them to the
2112 buffer.
2113 (url-http-chunked-encoding-after-change-function): Got rid of the
2114 no-initial-crlf. Had an epiphany and I can just infer this from
2115 url-http-chunked-counter being 0.
4dfde3dd 2116 (url-http-chunked-encoding-after-change-function): Move the debug
10a6e6ba
SM
2117 statement about reading chunk #foo into the loop so that each
2118 chunk will have a log message associated with it.
2119 (url-http-chunked-encoding-after-change-function): Make sure to
2120 set read-next-chunk to nil when the regular expression match fails
2121 to fire. Otherwise we could loop forever.
4dfde3dd
SM
2122 (url-http-chunked-encoding-after-change-function): Tweak the
2123 regular expression to be a little less greedy when looking for a chunk.
10a6e6ba
SM
2124 (url-http-wait-for-headers-change-function): Remove the last
2125 argument when calling
2126 url-http-chunked-encoding-after-change-function. It is no longer
2127 needed. I should use my brain sometime.
2128
4dfde3dd 2129 * lisp/url-vars.el (and): Fix feature test for xemacs and
fffa137c 2130 coding-system-list behavior.
10a6e6ba
SM
2131
2132 * lisp/url-http.el
4dfde3dd
SM
2133 (url-http-chunked-encoding-after-change-function): Add optional
2134 no-initial-crlf flag that modifies the regular expression.
2135 This is only set from url-http-wait-for-headers-change-function so that
10a6e6ba 2136 the initial CRLF in the HTTP headers is not swallowed.
4dfde3dd 2137 (url-http-chunked-encoding-after-change-function): Fix a few
10a6e6ba 2138 off-by-one errors by using (match-end 0) instead of 1.
4dfde3dd 2139 (url-http-chunked-encoding-after-change-function): Add a few
10a6e6ba
SM
2140 url-http-debug calls to help track down problems in the chunked
2141 encoding.
2142 (url-http-chunked-encoding-after-change-function): The chunk
2143 reading in here is now in a while loop so that if Emacs feeds us a
2144 chunk of data that happens to contain more than one 'chunk'
2145 delimiter, we behave correctly.
2146 (url-http-wait-for-headers-change-function): Make sure that we
2147 pass no-initial-crlf to
2148 url-http-chunked-encoding-after-change-function when passing
2149 initial data to the decoder.
2150 (url-http-generic-filter): url-http-debug statement so we can tell
2151 when/where our after-change-functions are being called.
2152
21532001-10-11 Dave Love <fx@gnu.org>
2154
2155 * lisp/url-handlers.el: Doc fixes.
2156 (string-match): Use (featurep 'xemacs).
2157
2158 * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
2159
2160 * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
2161
2162 * lisp/url-vars.el (url-running-xemacs): Delete.
2163 (url-gateway-unplugged): New variable.
2164
2165 * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
2166 Comment out OS/2 stuff.
2167
21682001-10-05 Dave Love <fx@gnu.org>
2169
2170 * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
2171 without confirmation.
2172
21732001-10-02 Dave Love <fx@gnu.org>
2174
2175 * lisp/url-http.el (url-http-create-request): Check cache for
2176 proxy-obj, if defined, rather than url.
2177 (url-http): Use dolist, not mapc (runtime cl dependency).
2178
2179 * lisp/url-methods.el: Maybe require cl at runtime.
4dfde3dd
SM
2180 (url-scheme-register-proxy): Fix fetching from environment.
2181 Don't concat a number.
10a6e6ba
SM
2182
21832001-10-01 Dave Love <fx@gnu.org>
2184
2185 * lisp/url-parse.el: Use modern backquote syntax.
2186
2187 * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
2188 (url-mail-command): Prefer compose-mail.
2189 (tcp-binary-process-input-services): Comment out.
2190 (url-working-buffer): New constant.
2191
2192 * lisp/url-util.el (url-extract-mime-headers): New function.
2193
2194 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add
2195 User-Agent.
2196
21972001-09-20 Dave Love <fx@gnu.org>
2198
4dfde3dd 2199 * lisp/url-http.el (url-http-create-request): Don't concat a number.
10a6e6ba
SM
2200
22012001-06-05 Dave Love <fx@gnu.org>
2202
2203 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob
4dfde3dd 2204 tcp-binary-process-input-services. Remove function wrapper for lambda.
10a6e6ba
SM
2205 (url-retrieve): Barf with sensible message if url-type is null.
2206
2207 * lisp/url-http.el (url-http): Don't try to set process
2208 coding-system here -- done in url-gw.
2209
2210 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
2211 (url-open-stream): Bind coding-system-for{read,write} when setting
e4769531 2212 up the connection. Don't call url-gw-inhibit-code-conversion.
10a6e6ba 2213
4dfde3dd
SM
22142001-05-24 William M. Perry <wmperry@gnu.org>
2215
2216 * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
2217 in url-retrieve-synchronously.
2218
10a6e6ba
SM
22192001-05-23 William M. Perry <wmperry@gnu.org>
2220
2221 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
2222 accept-process-output. This is evidently causing hangs in Emacs
2223 21 when viewing complex pages with images or stylesheets.
2224 www.yahoo.com is now viewable.
2225
2226 * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
2227 (mule-inhibit-code-conversion) and just have a local function that
2228 does this minimal cruft.
2229 (url-gw-inhibit-code-conversion): New function to turn off code
2230 conversion in a process.
2231
22322001-05-22 William M. Perry <wmperry@gnu.org>
2233
2234 * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
2235 that we can allow multiple asynch retrievals to happen at once.
2236 (url-retrieve-synchronously): Use a much smaller timeout when
2237 doing the accept-process-output. This gets rid of the long delays
2238 if you are on a fast net connection and retrieve small documents
2239 that finish asynchronously before the first accept-process-output
2240 can be run. All hail broadband and 100Mb in the house!
4dfde3dd 2241 (url-retrieve-synchronously): Add documentation for this function.
10a6e6ba
SM
2242 (url-retrieve): Ditto.
2243 (url-mm-url): Ditto.
2244
2245 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
2246 documentation strings. Ok, so I'm anal.
2247
2248 * lisp/url-methods.el (url-scheme-methods): Add default methods
2249 for file-directory-p and file-truename.
2250
22512001-05-22 Dave Love <fx@gnu.org>
2252
2253 * lisp/url-auth.el (url-warn): Autoload.
2254
2255 * lisp/url-proxy.el (url-warn): Autoload.
2256
2257 * lisp/url-nfs.el: Fix `file-truname' typo.
2258
2259 * lisp/url-news.el: Require cl when compiling.
1ac3c910 2260 (url-warn, gnus-group-read-ephemeral-group): Autoload.
4dfde3dd 2261 (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
10a6e6ba
SM
2262 (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
2263
2264 * lisp/url-util.el (mule-decode-string): Don't autoload.
2265 (url-hexify-string): Just barf on multibyte characters.
2266 (url-generate-unique-filename): New function.
2267
2268 * lisp/url-file.el (url-file): Use url-generate-unique-filename,
2269 not mm-generate-unique-filename.
2270
2271 * lisp/url-http.el: Declare things special in various places.
2272 (url-http-activate-callback): Don't set
2273 url-http-real-after-change-function.
2274
22752001-05-22 William M. Perry <wmperry@gnu.org>
2276
2277 * lisp/url-http.el (url-http-attempt-keepalives): New variable to
2278 control whether we try to do keep-alives for our connections.
2279 (url-http-version): New variable to control whether we advertise
2280 ourselves as an HTTP/1.1 client or not. This can be useful for
2281 avoiding chunked encoding, and other 1.1 features we may not have
2282 fully implemented yet.
2283 (url-http-create-request): Honor the new variables.
2284
22852001-05-21 Dave Love <fx@gnu.org>
2286
2287 * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
2288 in XEmacs.
2289 (url-mime-charset-string): Don't reverse the list before sorting.
2290
22912001-05-17 William M. Perry <wmperry@gnu.org>
2292
2293 * lisp/url-http.el (url-http-generic-filter): Avoid using
2294 after-change-functions natively. There are just too many ways
2295 that this screws up in Emacs 21. Use a filter function on the
2296 process instead, and call the hook on
2297 url-http-after-change-function manually. [Actually, it will work
2298 in Emacs 21, but one problem that has been fixed in Emacs 21
2299 exists in Emacs 20. -- fx]
2300
2301 * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
2302 does not exist on older versions of Emacs, or any version of
2303 XEmacs. Do not call it unless it is bound.
2304
23052001-05-17 Dave Love <fx@gnu.org>
2306
2307 * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
2308
23092001-05-16 Dave Love <fx@gnu.org>
2310
2311 * lisp/url-vars.el: Doc fixes. Require mm-util.
2312 (url-mime-charset-string): New variable.
2313
2314 * lisp/url-http.el: Doc fixes.
2315 (url-http-create-request): Rearrange how we assemble the request.
2316 Avoid generating bogus requests with an empty real-fname.
4dfde3dd 2317 (url-http-handle-authentication): Declare status and success special.
10a6e6ba
SM
2318 (url-http): Call mm-disable-multibyte. Set process buffer's
2319 coding systems to binary.
2320
2321 * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
2322
4dfde3dd 2323 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
10a6e6ba 2324 (url-file-find-possibly-compressed-file): Doc fix.
4dfde3dd 2325 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
10a6e6ba
SM
2326
2327 * lisp/url-cache.el: Don't require mule-sysdp.
2328 (url-store-in-cache): Avoid mule-write-region-no-coding-system.
2329
2330 * lisp/url.el: Don't require mule-sysdp.
2331 (url-retrieve): Only set text properties if url is a string.
2332
23332001-05-14 Dave Love <fx@gnu.org>
2334
4dfde3dd
SM
2335 * lisp/url-http.el (url-http-create-request):
2336 Declare proxy-object, proxy-info special.
10a6e6ba
SM
2337 (url-http-handle-authentication): Declare success special.
2338
23392001-05-12 Dave Love <fx@gnu.org>
2340
2341 * lisp/url-http.el: Revert last change.
2342
23432001-05-10 Dave Love <fx@gnu.org>
2344
4dfde3dd
SM
2345 * lisp/url-http.el (url-http-generic-after-change-function):
2346 Make it permanent-local.
10a6e6ba
SM
2347
23482001-05-05 Dave Love <fx@gnu.org>
2349
2350 * lisp/url-http.el: Autoload some functions.
2351 (cl): Require when compiling.
2352 (url-http-extra-headers): Defvar when compiling.
2353 (url-http): Treat after-change-functions as a local hook.
2354
2355 * lisp/url-history.el (url-parse): Require.
2356 (url-do-setup): Autoload.
2357
2358 * lisp/url-gw.el: Require url-vars. Autoload some functions.
2359
2360 * lisp/url-file.el: Require mailcap. Require cl when compiling.
2361 Use (featurep 'xemacs).
2362 (url-file-build-filename): Bind pos-index.
2363 (url-file): Call url-find-file-dired, not url-dired-find-file.
2364
4dfde3dd 2365 * lisp/url-dired.el: Add copyright notice. Autoload some functions.
10a6e6ba
SM
2366 (url-dired-minor-mode-map): Use (featurep 'xemacs).
2367 (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
4dfde3dd 2368 (url-find-file-dired): Rename from one version of url-dired-find-file.
10a6e6ba
SM
2369
2370 * lisp/url-cid.el: Don't require widget. Require mm-decode
2371 unconditionally.
2372
2373 * lisp/url-util.el: Autoload mule-decode-string,
2374 timezone-parse-date, timezone-make-date-arpa-standard.
2375 (url-unreserved-chars): Fix list per RFC 2396.
2376 (url-hexify-string): Maybe string-make-unibyte.
2377
2378 * lisp/url-news.el: Require nntp.
2379
2380 * lisp/url-imap.el: Require cl when compiling. Require nnimap
2381 unconditionally.
2382
23832001-05-04 Dave Love <fx@gnu.org>
2384
2385 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
2386 not non-existent mailcap-generate-unique-filename.
2387
4dfde3dd 2388 * lisp/url-privacy.el: Require url-vars. Require cl when compiling.
10a6e6ba 2389
4dfde3dd
SM
2390 * lisp/url-parse.el: Require url-vars.
2391 Autoload url-scheme-get-property.
10a6e6ba
SM
2392
2393 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs
2394 with featurep.
2395
2396 * lisp/url-mailto.el: Require cl when compiling.
2397
4dfde3dd
SM
2398 * lisp/url-cookie.el (url-cookie-handle-set-cookie):
2399 Call url-parse-args, not url-util-parse-args.
10a6e6ba
SM
2400
2401 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
2402
24032001-04-09 Dave Love <fx@gnu.org>
2404
2405 * lisp/mule-sysdp.el (mule-detect-coding-version)
2406 (mule-code-convert-region, mule-inhibit-code-conversion)
2407 (mule-write-region-no-coding-system, mule-encode-string)
2408 (mule-decode-string, mule-truncate-string)
2409 (mule-find-charset-region, mule-coding-system-name)
2410 (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
2411 [There must be a better way.]
2412 (mule-coding-system-p, string-width): Use defalias.
2413
24142001-01-03 Sam Steingold <sds@gnu.org>
2415
2416 * lisp/url-http.el (url-http-wait-for-headers-change-function):
2941ce4b 2417 set `url-http-end-of-headers' to 0 for HTTP 0.9.
10a6e6ba
SM
2418
24192001-01-02 Sam Steingold <sds@gnu.org>
2420
2941ce4b 2421 * lisp/url-auth.el (provide): `url-auth', not `urlauth'.
10a6e6ba
SM
2422
24232000-12-22 Dave Love <fx@gnu.org>
2424
2425 * lisp/url-history.el (url): Don't require (to avoid recursion).
2426 (cl): Require when compiling.
2427
2428 * lisp/url-http.el (url-auth): Require.
2429 (url-http-handle-authentication): Fix typo.
2430
2431 * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
2432
24332000-12-20 Dave Love <fx@gnu.org>
2434
2435 * lisp/url.el: Require mm-decode, mm-view when compiling.
2436 <not (fboundp 'puthash)>: Define puthash and
2437 autoload other has functions rather than using cl-...hash.
2438 (url-warn): Define.
2439
4dfde3dd
SM
2440 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
2441 Avoid cl-...hash functions.
10a6e6ba
SM
2442
2443 * lisp/url-history.el: Avoid cl-...hash functions.
2444 (url): Require.
2445
1ac3c910 2446 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
10a6e6ba
SM
2447
24482000-10-03 William M. Perry <wmperry@aventail.com>
2449
4dfde3dd 2450 * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
10a6e6ba
SM
2451 getting set to nil due to bad string matching. Subsequent matches
2452 would then choke because we passed string-match a nil.
2453
2454 * lisp/url-http.el (url-http-parse-headers): Need to make the
2455 connection as 'free' when we get a 304 response (found in cache),
10d1d0af 2456 or when a keep-alive connection timed out, it would re-parse the
10a6e6ba
SM
2457 headers and dispatch to the callback again. Eek.
2458
24592000-10-02 William M. Perry <wmperry@aventail.com>
2460
2461 * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
4dfde3dd 2462 implement chunked transfer-coding.
10a6e6ba
SM
2463 (url-http-create-request): We can now advertise ourselves as a 1.1
2464 compliant browser!
2465
24662000-07-28 Sam Steingold <sds@gnu.org>
2467
2468 * lisp/url-methods.el (url-scheme-default-loader): `callback' and
2469 `cbargs' are optional args (for calling from w3).
4dfde3dd 2470 (url-scheme-register-proxy): Typos fixes: `url-match' replaced
10a6e6ba
SM
2471 with `string-match' and `protocol' with `scheme'.
2472
24732000-07-18 Sam Steingold <sds@gnu.org>
2474
4dfde3dd
SM
2475 * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
2476 * lisp/url-history.el (url-history-save-interval): Avoid circularity.
10a6e6ba
SM
2477
24782000-07-10 William M. Perry <wmperry@aventail.com>
2479
2480 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
2481 mule, and the character requested is > 255, then return "~"
2482 instead of letting whoever call us signal an error when they try
2483 to insert the character.
2484 (mule-make-iso-character): Also wrap the whole thing in a
4dfde3dd 2485 condition case and return "~" on error, in case make-char bombs on us.
10a6e6ba 2486
4dfde3dd 2487 * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
10a6e6ba
SM
2488 for cid parts.
2489
2490 * lisp/url-util.el (url-display-percentage): New routine that uses
2491 the progress bar under XEmacs if available. Looks very sexy under
2492 XEmacs/GTK hacked to use the GNOME statusbar.
2493
2494 * lisp/url-http.el
2495 (url-http-content-length-after-change-function): Use new function
2496 url-display-percentage instead of url-lazy-message.
2497
24982000-01-27 William M. Perry <wmperry@aventail.com>
2499
2500 * lisp/url-file.el (url-file-build-filename): Work around for
4dfde3dd 2501 differences in ange-ftp / efs handling of port numbers other than 21.
10a6e6ba
SM
2502
25031999-12-24 William M. Perry <wmperry@aventail.com>
2504
2505 * lisp/url-irc.el: Added pointer to draft specification for the
2506 IRC URL so people don't think I'm crazy.
2507
2508 * configure.in: Checks to make sure that Gnus was found, since we
2941ce4b 2509 HAVE to have it now. Removed conditional compilation of url-cid.el.
10a6e6ba 2510
1ac3c910 25111999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
10a6e6ba
SM
2512
2513 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
2514 () to have periods at the end of the chunk.
2515
25161999-12-14 William M. Perry <wmperry@aventail.com>
2517
4dfde3dd 2518 * lisp/url-misc.el (url-man): Implement `man' URL types.
10a6e6ba
SM
2519 (url-info): Autoload.
2520 (url-man): Ditto.
2521 (url-rlogin): Ditto.
2522 (url-telnet): Ditto.
2523 (url-tn3270): Ditto.
2524 (url-generic-emulator-loader): Ditto.
2525
2526 * lisp/url-https.el (url-https-create-secure-wrapper): New macro
2527 to wrap arbitrary `http' methods with the appropriate magic to
2528 turn SSL on.
2529 (file-exists-p): Use it.
2530 (file-readable-p): Use it.
2531 (file-attributes): Use it.
2532
2533 * lisp/url-news.el (url-news-fetch-newsgroup): When building the
2534 server spec for Gnus, make sure we set
2535 nntp-open-connection-function directly, so that other news-related
2536 functions above us can set it.
2537 (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
2538 (url-nntp): Autoload.
2539 (url-snews): Ditto.
2540 (url-news): Ditto.
2541
25421999-12-12 William M. Perry <wmperry@aventail.com>
2543
2544 * lisp/url-http.el (url-http-parse-response): New function to
2545 parse just the HTTP response code out of the buffer, without
2546 taking any other actions.
2547 (url-http-wait-for-headers-change-function): Use it here when we
2548 know we have an HTTP/1.x response.
2549 (url-http-wait-for-headers-change-function): Special case a
2550 response code of '304' or there could be some delays waiting for
2551 keep-alives to time out on cached documents with no known
2552 content-length on the server.
2553
25541999-12-11 William M. Perry <wmperry@aventail.com>
2555
2556 * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
2557 the Makefile does that for us. We just need to provide what files
2558 to load/functions to run.
2559
2560 * lisp/url-imap.el (url-imap-open-host): Need to bind
2561 nnimap-server-buffer or `nnimap-open-server' chokes trying to use
4dfde3dd 2562 the current buffer as the IMAP server buffer, which fails miserably.
10a6e6ba 2563
1ac3c910 25641999-12-11 Simon Josefsson <jas@pdc.kth.se>
10a6e6ba
SM
2565
2566 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
2567
25681999-12-11 William M. Perry <wmperry@aventail.com>
2569
2570 * lisp/url-file.el (url-file-asynch-callback): Make the checks for
2571 ange-ftp vs. efs calling semantics consistent, so that if someone
2572 has NEITHER of them loaded, everything should still work.
2573
2574 * lisp/url-handlers.el (url-copy-file): Autoload.
2575 (url-file-local-copy): Ditto.
2576 (url-insert-file-contents): Ditto.
2577 (url-setup-file-name-handlers): Ditto.
2578
25791999-12-10 William M. Perry <wmperry@aventail.com>
2580
2581 * lisp/url-http.el (mail-parse): Since we use functions from here,
2582 we should require it, eh?
2583
1ac3c910 25841999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
10a6e6ba
SM
2585
2586 * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
2587 if nil.
2588 (url-cookie-generate-header-lines): Use it.
2589
25901999-12-06 William M. Perry <wmperry@aventail.com>
2591
2592 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
2941ce4b 2593 4.1 gracefully.
10a6e6ba 2594
4dfde3dd
SM
2595 * lisp/url-news.el: Reimplemented news and nntp URL support.
2596 No longer bothers to check for outdated Gnus versions, since this
10a6e6ba
SM
2597 will not work without them anyway.
2598
25991999-12-05 Dave Love <fx@gnu.org>
2600
2601 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
2602 lisp/url.el:
2603 Require url-parse.
2604
26051999-12-05 William M. Perry <wmperry@aventail.com>
2606
2607 * lisp/url-http.el (url-http-find-free-connection): Spit out a
2608 message when we have to contact a host so the user always gets
2609 at least some feedback.
2610
f49d1f52 2611 * lisp/url-expand.el (url-expander-remove-relative-links): Move and
10a6e6ba
SM
2612 renamed function.
2613 (url-default-expander): Use it.
2614
4dfde3dd
SM
2615 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
2616 as well as efs.
2617 (url-file): Add default content-type of application/octet-stream if
2618 none known.
2941ce4b 2619 (url-file): Correct bad call to url-host-is-local-p.
10a6e6ba
SM
2620
2621 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
2622 like buffer-substring with nil arguments.
2623 (url-copy-file): Use mm-destroy-parts instead of just killing
2624 the buffer. Use defined interfaces when available!
2625 (url-insert-file-contents): Ditto.
2626
2627 * lisp/url-http.el (url-http-create-request): Lots of changes to
2628 get proxying working.
2629
2630 * lisp/url-methods.el (url-scheme-register-proxy): New function to
2631 find and register a proxy for a specific scheme.
2632 (url-scheme-get-property): Use it when we load a URL scheme for
2633 the first time.
2634
2941ce4b 2635 * lisp/url-util.el (url-get-url-at-point): Re-integrated.
10a6e6ba
SM
2636
26371999-12-04 William M. Perry <wmperry@aventail.com>
2638
2639 * lisp/url-file.el (url-file): Signal an error if
2640 url-file-build-filename could not find the filename.
2641
26421999-12-01 William M. Perry <wmperry@aventail.com>
2643
2644 * lisp/url.el (url-retrieve): Use url-history-update-url instead
2645 of manipulating the hash table directly.
2646
2647 * lisp/url-history.el (url-completion-function): New function to
2648 use for reading a URL with completion.
2649 (url-history-update-url): New function to hide the hashtable
2650 implementation from people inserting things into the history.
2651
26521999-11-30 William M. Perry <wmperry@aventail.com>
2653
2654 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
2655 working.
2656
2657 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
4dfde3dd 2658 url-parse-args, which had changed the type of arguments it expects.
10a6e6ba
SM
2659
2660 * lisp/url-handlers.el (url-insert-file-contents): Ditto.
2661 (url-copy-file): Ditto.
2662
2663 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
2664 just killing the buffer. Use defined interfaces when available!
2665
2666 * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
2667 AC_FD_CC so they show up in config.log
2668 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
2669 this always return 't' instead of 'yes' on successfully finding
2670 the library.
2671
4dfde3dd 2672 * lisp/url-http.el (url-http-parse-headers): Add some
10a6e6ba
SM
2673 DAV-specific error codes.
2674
4dfde3dd 2675 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
10a6e6ba
SM
2676 (url-retrieve-synchronously): Duh, make this function actually
2677 work again. Numerous problems with it, including variable name
2678 collisions - I love dynamically scoped lisps!
2679
2680 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
4dfde3dd 2681 wrappers onto the appropriate file-based URLs for file-name-handlers.
10a6e6ba 2682
a98edce9 2683 * lisp/url-ftp.el: Moved the FTP stuff into its own file - it
10a6e6ba
SM
2684 might get messy with file-name-handlers and things.
2685
2686 * lisp/url-http.el (url-http-clean-headers): Fix problem when
2687 using 'HEAD' requests. Thou shalt not change the length of the
2688 region during an after-change-function.
2689
2690 * lisp/url-methods.el (url-scheme-methods): New variable that
4dfde3dd 2691 holds a list of the methods/variables we look for in a URL scheme.
10a6e6ba
SM
2692 (url-scheme-get-property): Use it.
2693
26941999-11-29 William M. Perry <wmperry@aventail.com>
2695
4dfde3dd 2696 * lisp/url-http.el (url-http-file-attributes): Reimplement.
10a6e6ba
SM
2697 (url-http-file-exists-p): Ditto.
2698
2699 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
2700
2701 * lisp/url-file.el (url-file-create-wrapper): New macro to create
2702 file-name-handler stubs for all the FTP/FILE stuff.
2703
2704 * lisp/url-handlers.el: New file to handle file-name-handler-alist
2705 cruft. Generic interface on top of functions that each URL
2706 loader provides, if capable.
2707
27081999-11-27 William M. Perry <wmperry@aventail.com>
2709
2710 * lisp/url-https.el: Implemented HTTPS support.
2711
27121999-11-26 William M. Perry <wmperry@aventail.com>
2713
2714 * url-privacy.el (url-setup-privacy-info): Don't rely on
2715 device-type being defined. Not going to bother redistributing
2716 devices.el for just one function.
2717
2718 * url-methods.el (url-scheme-get-property): Emacs does not have
2719 the 3rd-argument to plist-get to specify the default. *sigh*
2720
4dfde3dd 2721 * url-dired.el (add-minor-mode): Add definition for Emacs.
10a6e6ba 2722
4dfde3dd
SM
2723 * url-http.el (url-http-generic-after-change-function):
2724 New function, since Emacs does not allow you to change the
10a6e6ba
SM
2725 after-change-functions variable from within a function run by
2726 said hook. This just hands it off to the REAL function.
2727 Side-effect is that this now works on Emacs at all. :)
2728
2729 * Initial checkin of rewritten URL library.
2730
1513a14b
GM
2731;; Local variables:
2732;; coding: utf-8
1513a14b
GM
2733;; End:
2734
acaf905b 2735 Copyright (C) 1999, 2001-2002, 2004-2012 Free Software Foundation, Inc.
5b87ad55
GM
2736
2737 This file is part of GNU Emacs.
2738
4936186e 2739 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 2740 it under the terms of the GNU General Public License as published by
4936186e
GM
2741 the Free Software Foundation, either version 3 of the License, or
2742 (at your option) any later version.
5b87ad55
GM
2743
2744 GNU Emacs is distributed in the hope that it will be useful,
2745 but WITHOUT ANY WARRANTY; without even the implied warranty of
2746 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2747 GNU General Public License for more details.
2748
2749 You should have received a copy of the GNU General Public License
4936186e 2750 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.