Yet more ChangeLog merge fixes
[bpt/emacs.git] / lisp / url / ChangeLog
CommitLineData
e95a67dc
SM
12012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * url.el (url-retrieve-synchronously): Replace lexical-let by
4 lexical-binding.
5
a967e26b
WX
62012-04-10 William Xu <william.xwl@gmail.com> (tiny change)
7
8 * url.el (url-retrieve-internal): Hexify multibye URL string first
9 when necessary (bug#7017).
10
112012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12
13 * url.el (url-retrieve-internal): Mention utf-8 encoding.
14 (url-retrieve): Ditto.
15
9ea49b28
LMI
162012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17
18 * url-domsurf.el: New file (bug#1401).
19
20 * url-cookie.el (url-cookie-two-dot-domains): Remove.
21 (url-cookie-host-can-set-p): Use `url-domsuf-cookie-allowed-p'
22 instead of the variable above.
23
e0fe1d55
LMI
242012-03-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
25
26 * url-queue.el (url-queue-kill-job): Check whether the buffer has
27 been killed asynchronously before selecting it.
28
cc2ab732
LMI
292012-03-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
30
31 * url-queue.el (url-queue-kill-job): Make sure that the callback
32 is always called, even if we have a timeout.
33
09100633
CY
342012-03-11 Chong Yidong <cyd@gnu.org>
35
e95a67dc
SM
36 * url-http.el (url-http-end-of-document-sentinel):
37 Handle keepalive expiry by calling url-http again (Bug#10223).
09100633
CY
38 (url-http): New arg, for the above.
39
179f6911
DSM
402012-03-11 Devon Sean McCullough <emacs-hacker2012@jovi.net>
41
42 * url-http.el (url-http-find-free-connection): Don't pass a nil
43 argument to url-http-mark-connection-as-busy (bug#10891).
44
1e54a73b
LI
452012-02-20 Lars Ingebrigtsen <larsi@gnus.org>
46
27e7172c
LI
47 * url-queue.el (url-queue-kill-job): Delete the process sentinel
48 before killing the process to avoid a race condition between the
49 two processes killing off the process buffer.
50
1e54a73b
LI
51 * url.el (url-retrieve-internal): Warn about file errors when
52 pruning the cache instead of bugging out (bug#10831).
53
55645c67
LI
542012-02-19 Lars Ingebrigtsen <larsi@gnus.org>
55
56 * url-queue.el (url-queue-callback-function): Remove the job from
57 the queue so that we don't kill the current buffer, which will
58 then make the callback function kill a random buffer.
59
f15bcb40
LI
602012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
61
62 * url-queue.el (url-queue-kill-job): Refactored out code.
63 (url-queue-remove-jobs-from-host): Use it to kill jobs that are in
64 flight.
65
e72a771d
TZ
662012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
67
68 * url-future.el: Minor doc update.
69
1deeb569
LL
702012-02-14 Leo Liu <sdl.web@gmail.com>
71
72 * url-future.el: Fix last change.
73
6c0c7cfc
TZ
742012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
75
76 * url-future.el (url-future-test): Move to test/automated.
77
3b8eb822
LI
782012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
79
80 * url-http.el (url-http-parse-headers): When redirecting, pass on
81 the `inhibit-cookie' parameter.
82
a48ec60c
GM
832012-02-10 Glenn Morris <rgm@gnu.org>
84
85 * url-queue.el (url-queue-retrieve): Fic previous doc fix.
86
d7c5e162
AS
872012-02-10 Andreas Schwab <schwab@linux-m68k.org>
88
89 * url-http.el (url-http-clean-headers): Return the number of
90 removed characters.
91 (url-http-wait-for-headers-change-function): Adjust end position
92 after cleaning the headers. (Bug#10768)
93
b74c9672
GM
942012-02-10 Glenn Morris <rgm@gnu.org>
95
96 * url-queue.el (url-queue-retrieve): Doc fix.
97
aacaa419
LI
982012-02-08 Lars Ingebrigtsen <larsi@gnus.org>
99
100 * url-parse.el (url): Add the `use-cookies' slot to the URL struct
101 to be able to keep track of whether to do cookies or not on a
102 per-URL basis.
103
104 * url-queue.el (url-queue-retrieve): Take an optional
105 `inhibit-cookies' parameter.
106
107 * url.el (url-retrieve): Ditto
108
109 * url-http.el (url-http-create-request): Don't send cookies unless
110 requested.
111 (url-http-parse-headers): Don't store cookies unless requested.
112
b6ea20f3
LI
1132012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
114
1968bb1b 115 * url-cache.el (url-cache-prune-cache): New function.
7dd679eb
LI
116 (url-cache-prune-cache): Check that the directory exists before
117 trying to delete it.
1968bb1b
LI
118
119 * url.el (url-retrieve-number-of-calls): New variable.
120 (url-retrieve-internal): Use it to expire the cache once in a
121 while.
122
b6ea20f3
LI
123 * url-queue.el (url-queue-setup-runners): New function that uses
124 `run-with-idle-timer' for extra asynchronicity.
125 (url-queue-remove-jobs-from-host): New function.
126 (url-queue-callback-function): Remove jobs from the same host if
127 connection failed.
128
d8d469ef
GM
1292012-01-12 Glenn Morris <rgm@gnu.org>
130
e7a8cb8f
GM
131 * url-auth.el (url-basic-auth, url-digest-auth):
132 Allow reading usernames etc when the minibuffer is already in use,
133 eg in url-handler-mode. (Bug#10298)
d8d469ef 134
c7015153
JB
1352011-11-15 Juanma Barranquero <lekktu@gmail.com>
136
137 * url-dav.el (url-dav-delete-file): Fix typo.
138
122d9463
LMI
1392011-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
140
141 * url-http.el (url-http-async-sentinel): If the server hangs up
142 while we're talking to it, just `message' the error instead of
143 throwing an error.
144
14e1d9ea
LMI
1452011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
146
147 * url-cookie.el (url-cookie-expired-p): Protect against
148 zero-length cookie expiry dates.
149
ac6c8639
CY
1502011-10-19 Chong Yidong <cyd@gnu.org>
151
152 * url-handlers.el (url-handler-mode): Doc fix.
153
b02ba905
CW
1542011-09-24 Christopher J. White <chris@grierwhite.com> (tiny change)
155
156 * url-http.el (url-http-create-request): Avoid adding extra CRLF
157 (Bug#8931).
158
ad87170f
LMI
1592011-09-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
160
161 * url-http.el (url-http-find-free-connection): If there was an
162 error on connect, make sure the user isn't bothered with
163 irrelevant questions.
164
98fdd2b8
CY
1652011-08-07 Chong Yidong <cyd@stupidchicken.com>
166
167 * url-http.el (url-http-parse-headers): For HTTP 301/302/307,
168 don't convert to a GET request (Bug#701).
169
b0c9af93
CN
1702011-07-13 Chris Newton <redshodan@gmail.com> (tiny change)
171
172 * url-http.el (url-http): Copy over `url-show-status' to the async
173 buffer so that `url-display-percentage' does the right thing
174 (bug#4680).
175
53d21671
JD
1762011-07-06 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
177
178 * url-cache.el (url-cache-extract): Set buffer multibyte flag to
179 nil (bug#8827).
180
3487ca85
NA
1812011-07-03 Nicolas Avrutin <nicolasavru@gmail.com> (tiny change)
182
183 * url-http.el (url-http-create-request): Remove double carriage
184 return and newline (bug#8931).
185
9aec558a
LMI
1862011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
187
e95a67dc
SM
188 * url-http.el (url-http-wait-for-headers-change-function):
189 Remove pointless "HTTP/0.9 How I hate thee!" message (bug#6735).
9aec558a 190
5993c059
AS
1912011-06-04 Andreas Schwab <schwab@linux-m68k.org>
192
193 * url-future.el (url-future-test): Fix scope of `saver'.
194
3b7d5980
GM
1952011-06-01 Glenn Morris <rgm@gnu.org>
196
197 * url-queue.el (url-queue-parallel-processes, url-queue-timeout):
198 Add :version tag for options that will be new in 24.1.
199
5a94384b
LMI
2002011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
201
202 * url-queue.el (url-queue-parallel-processes): Increase the
203 default to 6, since 2 seems too conservative for normal usage.
204
e300a61b
TZ
2052011-05-31 Teodor Zlatanov <tzz@lifelogs.com>
206
207 * url-future.el: Add general futures facility.
208
b1c83d95
LL
2092011-05-29 Leo Liu <sdl.web@gmail.com>
210
211 * url-cookie.el (url-cookie): Add option :named so that
212 url-cookie-p is defined. (Bug#8747)
213
5c77c3ed
LMI
2142011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
215
216 * url-queue.el: New file.
6df6ae42 217 (url-queue-run-queue): Pick the first waiting job, and not the last.
471129b1
LMI
218 (url-queue-parallel-processes): Lower the concurrency level, since
219 Emacs doesn't seem to like too many async processes.
220 (url-queue-prune-old-entries): Fix up the pruning code.
5c77c3ed 221
10472dd0
LMI
2222011-04-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
223
6df6ae42
JB
224 * url-http.el (url-http-wait-for-headers-change-function):
225 Protect against malformed headerless responses from servers.
10472dd0 226
43c594f2
CY
2272011-04-02 Chong Yidong <cyd@stupidchicken.com>
228
229 * url-gw.el (url-open-stream): Use new open-network-stream
230 functionality to perform encryption.
231
9952e40b
JB
2322011-04-01 Juanma Barranquero <lekktu@gmail.com>
233
234 * url-cookie.el (url-cookie-handle-set-cookie):
235 Use `dolist' rather than `mapcar'.
236
33383987
JB
2372011-03-07 Chong Yidong <cyd@stupidchicken.com>
238
239 * Version 23.3 released.
240
563790b6
TZ
2412011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
242
243 * url-parse.el (url-bit-for-url, url-user-for-url)
244 (url-password-for-url): Use `auto-source-search' instead of
245 `auto-source-user-or-password'.
246
247 * url-auth.el: Autoload `auto-source-search' instead of
248 `auto-source-user-or-password'.
249 (url-basic-auth, url-digest-auth, url-do-auth-source-search): Use it.
250
b301d174
LI
2512011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
252
6df6ae42
JB
253 * url-http.el (url-http-wait-for-headers-change-function):
254 Don't move point if the callback function has moved/changed/killed
255 the process buffer.
b301d174 256
10c1b751 2572010-12-16 Miles Bader <miles@gnu.org>
3cbc281e
MB
258
259 * url-cookie.el: Require 'cl when compiling -- it's necessary for
260 defstruct.
261
105a786f
GM
2622010-12-14 Glenn Morris <rgm@gnu.org>
263
264 * url-cookie.el: Don't require cl when compiling.
265 (url-cookie-clean-up, url-cookie-generate-header-lines): Use dolist.
266 (url-cookie-parse-file, url-cookie-store, url-cookie-retrieve)
267 (url-cookie-handle-set-cookie): Simplify.
268
f49d1f52 2692010-12-13 Chong Yidong <cyd@stupidchicken.com>
37bf6ce2
CY
270
271 * url-cookie.el (url-cookie-retrieve): Handle null LOCALPART.
272 Suggested by Lennart Borgman (Bug#7543).
273
023ec128
LMI
2742010-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
275
276 * url-file.el (url-file-build-filename): Avoid interpreting
277 file:/foo:/bar URLs via tramp.
278
7a9fc593
LMI
2792010-10-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
280
281 * url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.
282
b0e0b216
LMI
2832010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
284
285 * url-http.el (url-http-end-of-document-sentinel): Protect against
286 the process buffer being killed.
287
697ebdb0
LMI
2882010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
289
f49d1f52
SM
290 * url-http.el (url-http-wait-for-headers-change-function):
291 Protect against url-http-response-status for degenerate documents.
d23832a2
LMI
292 (url-http-wait-for-headers-change-function): Revert previous
293 change. It lead to really slow loads.
697ebdb0 294
5589b70e
GM
2952010-10-03 Glenn Morris <rgm@gnu.org>
296
297 * url-util.el (url-get-url-filename-chars): Don't eval-and-compile.
298 (url-get-url-at-point): Don't use eval-when-compile.
299
300 * url-cache.el (url-cache-create-filename-human-readable)
301 (url-cache-create-filename-using-md5):
302 * url-util.el (url-file-directory, url-file-nondirectory):
303 Don't use eval-when-compile and regexp-quote.
304
b39e2446
LMI
3052010-10-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
306
f49d1f52 307 * url-vars.el (url-mime-charset-string): Change the default to
b39e2446
LMI
308 nil to avoid sending 1171 bytes of not very useful data to the
309 HTTP server every request.
310
08b8ba9f
LMI
3112010-10-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
312
313 * url-util.el (url-display-percentage): Don't message when the URL
314 is silent.
315 (url-lazy-message): Ditto.
573a83b8 316 (url-lazy-message): Remove leftover debugging code.
08b8ba9f
LMI
317
318 * url-http.el (url-http-parse-headers): Pass the SILENT parameter
319 back to the fetching function.
320
321 * url.el (url-retrieve): Add a silent parameter.
322 (url-retrieve-internal): Ditto.
323
324 * url-parse.el (url): Add a `silent' slot in the URL struct.
325
6ca26f1d
LMI
3262010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
327
6df6ae42
JB
328 * url-cookie.el (url-cookie-handle-set-cookie): Use url-lazy-message
329 for the cookie warning, which isn't very interesting.
82b9f9f5 330
6ca26f1d
LMI
331 * url-http.el (url-http-async-sentinel): Check that the buffer is
332 still alive before switching to it.
333
cbdd0d58
JD
3342010-09-25 Julien Danjou <julien@danjou.info>
335
336 * url-cache.el (url-cache-create-filename): Ensure no-port and
337 default-port end up with the same cache file.
338 (url-cache-create-filename-human-readable)
339 (url-cache-create-filename-using-md5): Argument is always in the form of
340 a string now.
341
266a86bd 3422010-09-23 Glenn Morris <rgm@gnu.org>
7ee54def
GM
343
344 * url-cache.el (url-is-cached): Doc fix.
345
48ff1664
GM
3462010-09-23 Glenn Morris <rgm@gnu.org>
347
348 * url-cache.el (url-cache-expired): Don't autoload.
349 Tweak previous change.
97161df8 350 (url-cache-expire-time): Doc fix.
48ff1664 351
18d68e52
JD
3522010-09-23 Julien Danjou <julien@danjou.info>
353
354 * url-cache.el (url-cache-expire-time): New option.
355 (url-cache-expired): Rewrite.
356
50e4f0bf
JD
3572010-09-19 Julien Danjou <julien@danjou.info>
358
359 * url-cache.el (url-fetch-from-cache): New function.
360
b0fd24c8
JD
3612010-09-18 Julien Danjou <julien@danjou.info>
362
77413977 363 * url-vars.el (url-cache-expired): Remove unused variable.
b0fd24c8 364
6664fc59 3652010-09-14 Julien Danjou <julien@danjou.info>
6f6dc4da 366
2f5e7c6f
GM
367 * url-cache.el (url-store-in-cache):
368 Make `buff' argument really optional.
6f6dc4da 369
6664fc59 3702010-09-14 Glenn Morris <rgm@gnu.org>
c4ae64d1
GM
371
372 * url-cookie.el (url-cookie-expired-p): Tweak previous change.
373
6664fc59 3742010-09-14 shawn boles <shawn.boles@gmail.com> (tiny change)
966bb6c0 375
376 * url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
377
a5cda60e
GM
3782010-09-11 Glenn Morris <rgm@gnu.org>
379
380 * url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
381 * url-vars.el: Remove leading `*' from defcustom docs.
382
0ed082fe 3832010-07-27 Michael Albinus <michael.albinus@gmx.de>
c48763bb 384
2f5e7c6f 385 * url-http.el (url-http-parse-headers): Disable file name handlers at
c48763bb
MA
386 all (not only Tramp). (Bug#6717)
387
0ed082fe 3882010-07-27 Michael Albinus <michael.albinus@gmx.de>
4ac3a65c 389
2f5e7c6f 390 * url-http.el (url-http-parse-headers): Disable Tramp. (Bug#6717)
4ac3a65c 391
e4f6153f
MH
3922010-07-01 Mark A. Hershberger <mah@everybody.org>
393
394 * url-http.el (url-http-create-request): Add a CRLF on the end so
6df6ae42 395 that POSTs with content to https URLs work.
f49d1f52 396 See <https://bugs.launchpad.net/mediawiki-el/+bug/540759>
e4f6153f 397
04c23739
MH
3982010-06-22 Mark A. Hershberger <mah@everybody.org>
399
400 * url-parse.el (url-user-for-url, url-password-for-url):
6df6ae42 401 Convenience functions that get usernames and passwords for URLs
04c23739
MH
402 from auth-source functions.
403
7fb277a9
Å N
4042010-06-12 Štěpán Němec <stepnem@gmail.com> (tiny change)
405
406 * url-vars.el (url-privacy-level): Fix doc typo. (Bug#6406)
407
c3bb441d
SM
4082010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
409
410 * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
411
61a808e8
CY
4122010-05-07 Chong Yidong <cyd@stupidchicken.com>
413
414 * Version 23.2 released.
415
56eb0904
SM
4162010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
417
418 * url-dired.el (url-dired-minor-mode): Use define-minor-mode.
419
89734fb6
TZ
4202010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
421
422 * url-http.el (url-http-parse-headers): Fix wrong variable name.
423
1e9d758c
TZ
4242010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
425
426 * url-http.el (url-http-codes): New variable to hold a mapping of
427 HTTP status codes' numbers, their symbolic name, and their text.
428 (url-http-parse-headers): Use it, leaving the original numeric
429 code in a comment.
430
aa8f8277
GM
4312010-03-19 Glenn Morris <rgm@gnu.org>
432
433 * url.el: Move mailcap require earlier in the file.
434
eba5b4dd
CY
4352010-03-12 Chong Yidong <cyd@stupidchicken.com>
436
26f4b8ab 437 * url-vars.el (url): Put in comm group.
eba5b4dd 438
288f9fc0
CY
4392010-03-10 Chong Yidong <cyd@stupidchicken.com>
440
441 * Branch for 23.2.
442
e17d428f
CY
4432010-01-23 Chong Yidong <cyd@stupidchicken.com>
444
445 * url-util.el: Require url-vars (Bug#5459).
446
c074ba4a
SM
4472009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
448
449 * url-parse.el (url-generic-parse-url): Bind deactivate-mark.
450
c98f55ca
CY
4512009-11-08 Kai Tetzlaff <kai.tetzlaff@web.de> (tiny change)
452
453 * url-http.el (url-http-handle-authentication): Use proxy server,
454 if any, for authentication (Bug#4883).
455
937e6a56
SM
4562009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
457
458 * url-util.el (url-insert-entities-in-string):
459 * url-nfs.el (url-nfs-unescape):
460 * url-ldap.el (url-ldap):
461 * url-imap.el (url-imap):
462 * url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
463
f9c9a239
GM
4642009-10-01 Glenn Morris <rgm@gnu.org>
465
466 * url-http.el (url-dav-file-attributes): Fix declaration.
467
120812a0
CY
4682009-09-13 Chong Yidong <cyd@stupidchicken.com>
469
470 * url-handlers.el (url-copy-file): Add fifth arg for compatibility
471 with 2005-06-25 change to copy-file (Bug#4410).
472
4f0f48df
GM
4732009-09-13 Glenn Morris <rgm@gnu.org>
474
475 * url-file.el (url-file): Avoid assignment to free variable `filename'.
476
63255710
CY
4772009-09-12 Chong Yidong <cyd@stupidchicken.com>
478
479 * url-methods.el (url-scheme--registering-proxy): New variable.
0235128c
SM
480 (url-scheme-register-proxy, url-scheme-get-property):
481 Avoid calling url-scheme-register-proxy in an infloop (Bug#4191).
63255710 482
3f12e3f4
GM
4832009-08-22 Glenn Morris <rgm@gnu.org>
484
485 * url-file.el (url-file-build-filename):
486 * url-privacy.el (url-setup-privacy-info): Remove code for defunct
487 system-types Apple-Macintosh, emx, ms-windows, next-mach.
488
70243478
CY
4892009-06-21 Chong Yidong <cyd@stupidchicken.com>
490
491 * Branch for 23.1.
492
d696b0d5
SM
4932009-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
494
495 * url-handlers.el (url-file-handler): Save match data.
496
db922cc0
JR
4972009-02-21 Jason Rumney <jasonr@gnu.org>
498
499 * url-expand.el (url-default-expander): Use concat to combine
5ce6e4f4 500 parts. (Bug #1020)
db922cc0 501
f0cfa8f0
GM
5022009-02-10 Glenn Morris <rgm@gnu.org>
503
504 * url-util.el (url-generate-unique-filename): Silence compiler.
505
64594ef9
CY
5062009-02-07 Chong Yidong <cyd@stupidchicken.com>
507
508 * url-file.el (url-file): Use make-temp-file.
509
510 * url-util.el (url-generate-unique-filename): Mark as obsolete.
511
512 * url-vars.el (url-temporary-directory): Mark as obsolete.
513
200c0424
CY
5142009-01-15 Chong Yidong <cyd@stupidchicken.com>
515
68fe704b 516 * url-cookie.el (url-cookie-retrieve): Fix last change.
200c0424 517
26343c7f
CY
5182009-01-14 Chong Yidong <cyd@stupidchicken.com>
519
520 * url-cookie.el (url-cookie-retrieve): Handle null localpart.
521
d9e52e92
JB
5222009-01-13 Juanma Barranquero <lekktu@gmail.com>
523
524 * url-util.el (url-truncate-url-for-viewing): Doc fix.
525
78892d1b
GM
5262009-01-09 Glenn Morris <rgm@gnu.org>
527
528 * url-cid.el (url-cid-gnus): Fix typo in header name.
529
92066e83
CY
5302008-11-04 Chong Yidong <cyd@stupidchicken.com>
531
532 * url-util.el (url-basepath): Add url-basepath as an alias for
533 url-file-directory.
534
d6c180c4
JB
5352008-10-24 Juanma Barranquero <lekktu@gmail.com>
536
537 * url.el (url-configuration-directory): Use `locate-user-emacs-file'.
538
3b4df550
CY
5392008-10-20 İsmail Dönmez <ismail@namtrac.org> (tiny change)
540
541 * url-auth.el (url-basic-auth): Encode password string.
542
e77e9cf4
GM
5432008-08-30 Glenn Morris <rgm@gnu.org>
544
545 * url-http.el (url-https-expand-file-name): Resolve directly to
546 url-default-expander rather than via another alias.
547 (url-default-expander): Autoload an autoload. (Bug#825).
548
d1ce47b0
JB
5492008-07-02 Juanma Barranquero <lekktu@gmail.com>
550
551 * url.el (url-do-setup):
552 * url-dired.el (url-dired-minor-mode):
553 * url-file.el (url-file-find-possibly-compressed-file):
554 * url-gw.el (url-gateway-broken-resolution):
555 * url-handlers.el (url-handler-regexp):
556 * url-imap.el (url-imap-default-port):
557 * url-methods.el (url-scheme-get-property): Fix typos in docstrings.
558
559 * url-auth.el (url-basic-auth-storage, url-digest-auth):
560 Fix typos in docstrings.
561 (url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
562
563 * url-cache.el (url-cache-prepare): Doc fix.
564 (url-cache-create-filename-human-readable, url-cache-extract):
565 Fix typos in docstrings.
566
567 * url-dav.el (url-intersection, url-dav-iso8601-regexp)
568 (url-dav-delete-something): Fix typos in docstrings.
569 (url-dav-http-success-p, url-dav-file-name-all-completions)
570 (url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
571
572 * url-http.el (url-http-idle-sentinel): Doc fix.
573
574 * url-irc.el (url-irc-default-port): Fix typo in docstring.
575 (url-irc-function): Doc fix.
576
577 * url-util.el (url-get-url-filename-chars, url-unhex-string):
578 Fix typos in docstrings.
579 (url-file-extension): Doc fix.
580
581 * url-vars.el (url-current-object, url-current-mime-headers)
582 (url-privacy-level, url-mail-command, url-mime-language-string):
583 Fix typos in docstrings.
584 (url-honor-refresh-requests): Reflow docstring.
585 (url-using-proxy): Doc fix.
586
0b5c4225
DN
5872008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
588
589 * vc-dav.el: Move to the parent directory to be together with the
590 rest of the VC backends.
591
8705576e
GM
5922008-06-07 Glenn Morris <rgm@gnu.org>
593
594 * url-auth.el (auth-source-user-or-password): Remove unnecessary
595 eval-and-compile.
596
a118b59b
SM
5972008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
598
599 * url-handlers.el (url-file-name-completion): Add missing argument.
600
97d1c236
TZ
6012008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
602
ba60bd44 603 * url-auth.el: Add autoload cookie for `auth-source-user-or-password'.
97d1c236
TZ
604 (url-basic-auth, url-digest-auth): Use it with any realm,
605 overriding the user name and password before the prompt.
606
c385aa1a
JB
6072008-04-28 Juanma Barranquero <lekktu@gmail.com>
608
609 * url-vars.el (url-load-hook): Fix typo in docstring.
610
84f089d3
MH
6112008-03-09 Magnus Henoch <mange@freemail.hu>
612
613 * url-http.el (url-http-chunked-encoding-after-change-function):
a628ad9d 614 Remove superfluous CRLF at end of file. (Bug #42)
84f089d3 615
26d72be8
AS
6162008-03-02 Andreas Schwab <schwab@suse.de>
617
618 * url-util.el: Require cl when compiling.
619
d626f888
TZ
6202008-02-28 Teodor Zlatanov <tzz@lifelogs.com>
621
ba60bd44
JB
622 * url-util.el (url-get-normalized-date): Simplify to use
623 `format-time-string'. Always generate date in UTC, but
d626f888
TZ
624 call it GMT for full compatibility with the RFCs.
625
a9f31e3d
MA
6262008-02-06 Michael Albinus <michael.albinus@gmx.de>
627
628 * url-handlers.el (file-remote-p): Add handler.
629 (url-handler-file-remote-p): New fun.
630
791fe182
SM
6312008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
632
633 * url-handlers.el (url-handler-unhandled-file-name-directory):
634 Handle `file' URLs specially. Return nil for non-local filenames.
635
b72ef564
MH
6362008-02-04 Magnus Henoch <mange@freemail.hu>
637
638 * url-expand.el: Require cl when compiling, for setf.
639
e652840b
JW
6402008-01-29 John Wiegley <johnw@newartisans.com>
641
642 * url-auth.el (url-digest-auth): If the 'opaque' argument is not
643 being used, don't add it to the response text. Also, changed an
644 if so that the interaction between the PROMPT and OVERWRITE
645 arguments can no longer result in the user being queried twice for
646 the same login and password information.
647
ce4059ee
SM
6482008-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
649
650 * url-handlers.el (unhandled-file-name-directory): Add handler.
651 (url-handler-unhandled-file-name-directory): New fun.
652
80e4b01d
MA
6532008-01-07 Michael Albinus <michael.albinus@gmx.de>
654
655 * url-handlers.el (url-file-handler): Autoload.
656
9824ded5
GM
6572007-12-11 Glenn Morris <rgm@gnu.org>
658
659 * url.el (url-configuration-directory): Make it a defcustom.
660
661 * url-util.el (url-make-private-file): New function.
662 * url-cookie.el (url-cookie-write-file):
663 * url-history.el (url-history-save-history):
664 Use url-make-private-file and with-temp-buffer.
665
40234eaf
GM
6662007-12-06 Glenn Morris <rgm@gnu.org>
667
668 * url-file.el, url-mailto.el: Remove directory part from filenames
669 in function declarations.
670
24030ea3
GM
6712007-12-02 Glenn Morris <rgm@gnu.org>
672
e05b1e72
GM
673 * url-about.el, url-handlers.el: Don't require cl when compiling.
674
675 * url-dav.el (url-dav-delete-directory): Fix message typo.
676
677 * url-history.el (top-level): Don't require cl when compiling.
678 (url-history-setup-save-timer, url-history-save-history):
679 Use condition-case rather than ignore-errors.
680
681 * url-imap.el (top-level): Don't require cl when compiling.
682 (url-imap): Use signal rather than check-type.
683
24030ea3
GM
684 * url-news.el (top-level): Don't require cl when compiling.
685 (gnus-group-buffer): Define for compiler.
686 (url-news-fetch-message-id): Don't use `declare'.
687 (nntp-open-tls-stream, nntp-open-ssl-stream):
688 No need to define for compiler.
689 (url-snews): Use nntp-open-tls-stream unless ssl is requested.
c2bf6d2c 690 Correct quoting of nntp-open-connection-function value.
24030ea3 691
29c7eba8
GM
6922007-12-01 Glenn Morris <rgm@gnu.org>
693
694 * url-handlers.el (top-level): Always require url-parse, not just
695 when compiling.
696
36176341
GM
6972007-11-30 Glenn Morris <rgm@gnu.org>
698
699 * url-cookie.el (url-cookie-p): Declare as a function.
700
0bd90741
GM
7012007-11-29 Glenn Morris <rgm@gnu.org>
702
703 * url-file.el (url-file-build-filename, url-file): Wrap uses of
704 efs in (featurep 'xemacs) test.
705
706 * url-irc.el (zenirc, zenirc-send-line): Declare as functions.
707
7ba1d5ae
GM
7082007-11-28 Diane Murray <disumu@x3y2z1.net>
709
710 * url-dired.el: Don't require w3-fetch and w3-open-local.
c385aa1a 711 (url-dired-find-file): Use `find-file'. Doc fix.
7ba1d5ae
GM
712 (url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
713
9f34397d
GM
7142007-11-24 Glenn Morris <rgm@gnu.org>
715
716 * url-privacy.el (url-device-type): Fix typo.
717
153ef845
DN
7182007-11-20 Dan Nicolaescu <dann@ics.uci.edu>
719
720 * url-mailto.el (mail-send-and-exit):
721 * url-http.el (url-dav-file-attributes):
d4aa48db 722 * url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal)
6d00e226
DN
723 (url-generate-unique-filename): Declare as functions.
724
153ef845
DN
725 * url-privacy.el (url-device-type): Define unconditionally.
726
9ffb9521
RS
7272007-11-15 Richard Stallman <rms@gnu.org>
728
729 * url.el (url-retrieve-synchronously): Call delete-process.
730
3a47bb3e
JB
7312007-10-31 Juanma Barranquero <lekktu@gmail.com>
732
733 * url-vars.el (url-vars-unload-hook): Remove function and variable.
734 Hooks are automatically removed by `unload-feature'.
735
4148f522
RS
7362007-10-13 Richard Stallman <rms@gnu.org>
737
738 * url-util.el (url-basepath): Function deleted.
739 (url-file-directory, url-file-nondirectory): New functions
740 replacing url-basepath. Callers changed.
741
742 * url-expand.el (url-default-expander): Use `url-file-directory'.
743
744 * url-auth.el (url-digest-auth, url-basic-auth):
745 Rename `path' to `file'. Use `url-file-directory'.
746
3aa491bc
GM
7472007-10-12 Diane Murray <disumu@x3y2z1.net>
748
749 * url-auth.el (url-basic-auth): Set path to "/" when URL has an
2a5be7dc 750 empty string filename.
3aa491bc 751
d1d80b80
RS
7522007-10-09 Richard Stallman <rms@gnu.org>
753
754 * url-parse.el (url-type, url-user, url-password, url-host)
755 (url-port, url-filename, url-target, url-attributes)
756 (url-fullness, url-set-type, url-set-user, url-set-password)
757 (url-set-host, url-set-port, url-set-filename, url-set-target)
758 (url-set-attributes, url-set-full): Change macros to defuns.
759
259b63b4
JB
7602007-09-26 Juanma Barranquero <lekktu@gmail.com>
761
762 * url-dav.el (top):
763 * url-vars.el (top): Use `mapc' rather than `mapcar'.
764
8a35aa36
GM
7652007-09-22 Diane Murray <disumu@x3y2z1.net>
766
767 * url-misc.el (url-generic-emulator-loader): Send the port as a
2a5be7dc 768 string to `url-do-terminal-emulator'.
8a35aa36 769
965d1f0e
GM
7702007-09-21 Diane Murray <disumu@x3y2z1.net>
771
3a47bb3e 772 * url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus method.
d01b3550 773
965d1f0e
GM
774 * url-util.el (url-get-normalized-date): Pass full timezone
775 information to timezone-make-date-arpa-standard, since zone name
776 may be unknown.
777
72f25299
GM
7782007-09-03 Diane Murray <disumu@x3y2z1.net>
779
0f71f9da 780 * url-http.el (url-http-parse-headers): Bind the current buffer
72f25299
GM
781 rather than calling `url-mark-buffer-as-dead' with
782 `current-buffer', so that the correct buffer is killed if
783 `url-retrieve-synchronously' gets redirected to a new URL.
784
d18ec89f
SM
7852007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
786
787 * url-parse.el (url): Use defstruct rather than macros.
788 (url-generic-parse-url):
789 * url-util.el (url-normalize-url, url-truncate-url-for-viewing):
790 * url-methods.el (url-scheme-register-proxy):
791 * url-mailto.el (url-mailto):
792 * url-file.el (url-file-build-filename):
793 * url-expand.el (url-identity-expander, url-default-expander):
794 Update all callers.
795
0f71f9da
JB
7962007-08-09 Edward O'Connor <hober0@gmail.com> (tiny change)
797
798 * url-auth.el (url-basic-auth): When prompting for username
799 and password, default to the username and password in the URL.
800
df26688b
GM
8012007-08-08 Glenn Morris <rgm@gnu.org>
802
803 * url-auth.el, url-cache.el, url-dav.el, url-file.el, vc-dav.el:
804 Replace `iff' in doc-strings and comments.
805
cacc7b51
GM
8062007-07-25 Glenn Morris <rgm@gnu.org>
807
808 * Relicense all FSF files to GPLv3 or later.
809
c0ed4c23
CY
8102007-06-12 Tom Tromey <tromey@redhat.com>
811
812 * url.el (url-configuration-directory): Use user-emacs-directory.
813
495fa7db
SM
8142007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
815
816 * url-cookie.el (url-cookie-name, url-cookie-value)
817 (url-cookie-expires, url-cookie-localpart, url-cookie-domain)
818 (url-cookie-secure, url-cookie-set-name, url-cookie-set-value)
819 (url-cookie-set-expires, url-cookie-set-localpart)
820 (url-cookie-set-domain, url-cookie-set-secure)
821 (url-cookie-retrieve-arg, url-cookie-create, url-cookie-p): Remove.
822 (url-cookie): New struct.
823 (url-cookie-store): Use setf instead of url-cookie-set-*.
824
345c7f05
CY
8252007-05-29 Chong Yidong <cyd@stupidchicken.com>
826
827 * url-mailto.el (url-mailto): Insert body after
de74fffc 828 mail-header-separator if present, so that it is before signature.
345c7f05
CY
829 Suggested by Leo <sdl.web@gmail.com>.
830
5cfdb0fb
CY
8312007-04-15 Chong Yidong <cyd@stupidchicken.com>
832
833 * url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes.
834
f25a9946
CY
8352007-04-13 Chong Yidong <cyd@stupidchicken.com>
836
837 * url-http.el (url-http-parse-headers): Stop after a set number of
838 redirections. Suggested by Diane Murray.
839
840 * url-vars.el (url-max-redirections): New var.
841
60df22cc 8422007-04-01 Diane Murray <disumu@x3y2z1.net> (tiny change)
f3e30bd0
CY
843
844 * url-http.el (url-http-handle-cookies): Reverse list returned by
845 `mail-fetch-field', so that cookies are set in the correct order.
846
847 * url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
848 Deal with wildcard dots in domain values.
849
fd1e2cde
EZ
8502007-03-31 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
851
852 * url-http.el (url-http-mark-connection-as-busy)
853 (url-http-mark-connection-as-free): Clear query-on-exit flag on
854 idle connections.
855
b3cd7f61
CY
8562007-02-04 Chong Yidong <cyd@stupidchicken.com>
857
858 * url-http.el (url-http-connection-opened): New variable.
859 (url-http): Initialize it.
860 (url-http-async-sentinel): Don't try changing sentinels.
861 Run url-http-end-of-document-sentinel if necessary.
862
8f77631e
JB
8632007-01-29 Juanma Barranquero <lekktu@gmail.com>
864
865 * url-auth.el (url-get-authentication): Fix typo in docstring.
866
00d972eb
MH
8672007-01-14 Magnus Henoch <mange@freemail.hu>
868
869 * url-proxy.el (url-proxy-object): Remove.
870 (url-proxy): Don't use `url-proxy-object'. Act according to type of
871 proxy (currently only HTTP supported).
872
873 * url.el (url-retrieve-internal): Don't use `url-proxy-object'.
874
875 * url-http.el (url-http-proxy): New variable.
876 (url-http-create-request): Use it. Don't use `url-proxy-object'.
877 (url-http): Treat `url' argument as resource to download, and
f49d1f52
SM
878 dynamic variable `url-using-proxy' as proxy to use.
879 Set `url-current-object' to actual URL, and `url-http-proxy' to proxy
00d972eb
MH
880 used.
881 (url-http-handle-cookies): Assume that `url-current-object' does
882 not point to the proxy used.
883 (url-http-async-sentinel): Adapt error message.
884
28e86dc4
JB
8852006-12-10 Juanma Barranquero <lekktu@gmail.com>
886
887 * url-gw.el (url-gateway-nslookup-program): Doc fix.
888
b8976ce0
MH
8892006-12-08 Magnus Henoch <mange@freemail.hu>
890
891 * url-proxy.el (url-proxy-object): New variable.
892 (url-proxy): Bind it instead of `proxy-object'.
893
894 * url-http.el (url-http-create-request): Remove url argument, use
f49d1f52
SM
895 the buffer-local variable `url-http-target-url' instead.
896 Both callers updated. Simplify proxy handling.
b8976ce0
MH
897 (url-http): Don't make proxy-object buffer local.
898
899 * url.el (url-retrieve-internal): Bind url-proxy-object to nil.
900
57babe17
MH
9012006-11-26 Magnus Henoch <mange@freemail.hu>
902
f49d1f52
SM
903 * url-http.el (url-http-wait-for-headers-change-function):
904 Use `when' instead of `if' when possible.
b9b172ac
MH
905 (url-http): Define url-http-response-version.
906 (url-http-parse-response): Set it.
907 (url-http-parse-headers): Use it to determine keep-alive behavior.
57babe17 908
60df22cc 9092006-11-23 Diane Murray <disumu@x3y2z1.net> (tiny change)
48d2bac4 910
f49d1f52
SM
911 * url-http.el (url-http-content-length-after-change-function):
912 Use `url-lazy-message'.
48d2bac4
MH
913
914 * url-util.el (url-display-percentage): Only show a message if
915 `url-show-status' is non-nil.
916
d58fae84
MH
9172006-11-15 Magnus Henoch <mange@freemail.hu>
918
6e2988e6
MH
919 * url-http.el (url-http): Make proxy-object buffer-local, to
920 handle proxied asynchronous connections correctly.
921
d58fae84
MH
922 * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
923
1ac3c910 9242006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
98325235 925
1ac3c910
JB
926 * url-http.el (url-http-wait-for-headers-change-function):
927 Defer detection of HTTP 0.9 until we have at least one line.
98325235 928
1ac3c910 9292006-11-10 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8529c21d
CY
930
931 * url-http.el (url-http-mark-connection-as-free)
932 (url-http-find-free-connection): Don't treat process with status
933 `connect' as free.
934 (url-http-async-sentinel): Request correct url.
935
947612be
MH
9362006-11-08 Magnus Henoch <mange@freemail.hu>
937
385b64c5
MH
938 * url-http.el (url-http-handle-authentication): If there are
939 several authentication headers, use the strongest available
940 method.
941
947612be
MH
942 * url.el (url-retrieve-synchronously): Allow quitting when
943 inhibit-quit is t.
944
1ac3c910 9452006-11-03 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8917392a
MH
946
947 * url-http.el (url-http-handle-authentication): If there are
948 several authentication headers, use the first with a supported
949 method.
950
8ea88265
MH
9512006-11-01 Magnus Henoch <mange@freemail.hu>
952
953 * url-http.el (url-http-create-request): Use buffer-local
954 equivalents of dynamically bound variables.
955
080234b6
MH
9562006-10-29 Magnus Henoch <mange@freemail.hu>
957
958 * url-gw.el (url-open-stream): Really use asynchronous
959 connections (accidentally disabled during debugging).
960
ced20bfb
MH
9612006-10-28 Magnus Henoch <mange@freemail.hu>
962
963 * url-http.el (url-http-parse-headers): Fix misplaced paren.
964
5695d1dd
CY
9652006-10-27 Magnus Henoch <mange@freemail.hu>
966
967 * url-http.el (url-http-mark-connection-as-free): Verify that
968 connection is open before saving it.
969 (url-http-handle-authentication): Use url-retrieve-internal
970 instead of url-retrieve.
971 (url-http-parse-headers): Adapt to new callback interface.
972 (url-http): Handle non-blocking connections.
973 (url-http-async-sentinel): Create.
974
975 * url.el (url-retrieve): Update docstring for new callback interface.
976 Remove all code.
977 (url-retrieve-internal): Move code from url-retrieve here.
978
979 * url-gw.el (url-open-stream): Use a non-blocking socket for
980 `native' gateway method, if available.
981
784f5416
MH
9822006-10-16 Magnus Henoch <mange@freemail.hu>
983
1ac3c910
JB
984 * url-http.el (url-https-create-secure-wrapper):
985 Always use tls gateway method.
784f5416 986
dfea17e0
MH
9872006-10-12 Magnus Henoch <mange@freemail.hu>
988
1ac3c910
JB
989 * url-http.el (url-http-find-free-connection):
990 Handle url-open-stream returning nil.
dfea17e0 991
9c51663a
MH
9922006-10-11 Magnus Henoch <mange@freemail.hu>
993
994 * url-https.el: Remove (clashes with url-http on 8+3 systems).
995
996 * url-http.el: Move contents of url-https.el here. Add autoloads.
997
f6fb70fc
MH
9982006-10-09 Magnus Henoch <mange@freemail.hu>
999
1000 * url-parse.el (url-generic-parse-url): Handle URLs with empty
1001 path component and non-empty query component. Untangle path,
1002 query and fragment parsing code. Add references to RFC 3986 in
1003 comments.
c385aa1a 1004 (url-recreate-url-attributes): Start query string with "?", not ";".
f6fb70fc 1005
162fbe11
SM
10062006-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 * url-dav.el (url-dav-file-attributes): Simplify.
1009
1010 * url-http.el (url-http-head-file-attributes): Add device "info".
1011
f316efd9
MB
10122006-09-18 Michael Olson <mwolson@gnu.org>
1013
1014 * url-methods.el (url-scheme-register-proxy): Handle case where
1015 getenv returns an empty string for http_proxy. This prevents an
1016 error when calling `format' later on.
1017
60df22cc 10182006-08-31 Diane Murray <disumu@x3y2z1.net> (tiny change)
7660c02f 1019
c2a7ddb1
SM
1020 * url-parse.el (url-recreate-url-attributes): New function, code
1021 simply moved from `url-recreate-url'.
1022 (url-recreate-url): Use it.
1023 Put the `url-target' at the end of the URL after the attributes.
1024
1025 * url-http.el (url-http-create-request):
1026 Use `url-recreate-url-attributes' when setting real-fname.
1027
60df22cc 10282006-08-29 Diane Murray <disumu@x3y2z1.net> (tiny change)
c2a7ddb1
SM
1029
1030 * url-cookie.el (url-cookie-write-file): Really don't use versioned
1031 backups.
7660c02f 1032
d0f891a7
SM
10332006-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
1034
1035 * url-handlers.el (url-file-local-copy): Tell url-copy-file that the
1036 dest file will already exist.
1037
07e9b3f0
SM
10382006-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
1039
1040 * url-util.el (url-hexify-string): Only utf-8 encode if it's
1041 a multibyte string.
1042 (url-normalize-url): Remove unused var `grok'.
1043 (url-truncate-url-for-viewing): Remove unused var `tail'.
1044
ecfbb488
TTN
10452006-07-30 Thien-Thi Nguyen <ttn@gnu.org>
1046
1047 * url-util.el (url-hexify-string): Rewrite.
1048 Suggested by David Smith <davidsmith@acm.org>.
1049
0b6bb130
MB
10502006-07-12 Michael Olson <mwolson@gnu.org>
1051
1052 * url-irc.el (url-irc-erc): Call erc-handle-irc-url.
1053
bc684c16
SM
10542006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1055
1056 * url-cookie.el: Remove spurious * in docstrings.
1057 (url-cookie-write-file): Don't use versioned backups.
1058 (url-cookie-host-can-set-p): Remove unused var `tmp'.
1059
3d3a26eb 10602006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
bc684c16
SM
1061
1062 * url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
1063 (url-cookie-write-file): Reset url-cookies-changed-since-last-save.
1064
d10a6bf1
RS
10652006-05-12 Reiner Steib <Reiner.Steib@gmx.de>
1066
1067 * url-http.el (url-http-file-exists-p): Test if status is integer.
1068
3d3a26eb 10692006-05-05 Andreas Seltenreich <seltenreich@gmx.de>
3dfed653
EZ
1070
1071 * url-http.el (url-http-parse-headers): Don't reuse connection if
1072 "Connection: close" header was seen.
1073
351b838f
SM
10742006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1075
1076 * url-gw.el (url-open-stream): Don't hide errors.
1077 (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
1078
1079 * url-handlers.el (url-insert): New function.
1080 (url-insert-file-contents): Use it.
1081
bdba217b
SM
10822006-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1083
1084 * url-handlers.el (url-handler-directory-file-name): New handler.
1085 (url-file-local-copy): Plug race condition security hole.
1086
7608c40c
RF
10872006-03-27 Romain Francoise <romain@orebokech.com>
1088
1089 * url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
1090 (url-irc-function): Add rcirc and ERC to the list of IRC clients.
1091 Default to rcirc, since ZenIRC isn't part of Emacs.
1092
bedeb7fd
SM
10932006-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
1094
1095 * url-http.el (url-http-find-free-connection): Fix braino in last fix.
1096
8dff56de
SM
10972006-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * url-http.el (url-http-find-free-connection): Don't kill the process
1100 when killing the temp buffer.
1101 (url-http-symbol-value-in-buffer): Massage to make it clear to the
1102 byte-compiler that the function is defined.
1103
9b4cf231
SM
11042006-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * url.el (url-redirect-buffer): New var.
1107 (url-retrieve-synchronously): Use it to follow redirections.
1108
1109 * url-http.el: Require `url' rather than try to autoload parts of it.
1110 (url-http-find-free-connection): `url-open-stream' needs a real buffer.
1111 (url-http-parse-headers): Set `url-redirect-buffer' when following
1112 a redirection reply.
1113
81cafdfe
SM
11142006-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1115
1116 * url-news.el: Move defvars out of eval-when-compile.
1117 (url-news-fetch-message-id, url-news-fetch-newsgroup):
1118 Use with-current-buffer.
1119
5dc3ceeb
SM
11202006-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1121
e7ea7cac
SM
1122 * url.el (url-retrieve-synchronously): Adjust the workaround so as not
1123 to stop in the middle of a redirection.
1124
5dc3ceeb
SM
1125 * url-vars.el (url-privacy-level): Add setter.
1126
72a30be4
SM
11272006-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
1128
176c99dc
SM
1129 * url-history.el (url-history-hash-table): Initialize in declaration.
1130 (url-history-parse-history): Don't reset the history.
1131 (url-history-save-history): Create parent dir if necessary.
1132 (url-history-save-history): Don't write the initialization of
1133 url-history-hash-table into the history file.
9b4cf231 1134 (url-have-visited-url): Simplify since url-history-hash-table isn't nil.
176c99dc
SM
1135 (url-completion-function): Simplify.
1136
72a30be4
SM
1137 * url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
1138 (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
1139 (url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
1140 (url-cookie-setup-save-timer): Remove autoload cookies.
1141 They're only called from files that require url-cookie anyway.
1142
1143 * url-history.el (url-history-setup-save-timer)
1144 (url-history-parse-history, url-history-save-history):
1145 Remove autoload cookies. They're only called from url.el which requires
1146 url-history anyway.
1147 (url-history-parse-history): Don't complain if the file is missing.
1148
55262b16
SM
11492006-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1150
1151 * url-handlers.el (url-retrieve-synchronously): Don't autoload.
1152
1153 * url.el (url-retrieve, url-retrieve-synchronously): Autoload.
1154
1155 * url-cache.el: Require `url'.
1156
d476efde
SM
11572005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1158
32d5ce4d
SM
1159 * url-cache.el (url-store-in-cache): Use save-current-buffer.
1160
d476efde
SM
1161 * url.el (url-configuration-directory): Don't autoload because the
1162 default value needs to be computed at run-time, not dump-time.
1163
32fa5844
SM
11642005-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
1165
1166 * url-cookie.el (url-cookie-write-file): Create parent dir.
1167
1168 * url.el (url-configuration-directory): Use ~/.emacs.d if possible.
1169
0c069924
RS
11702005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1171
1172 * url-cookie.el (url-cookie-save-interval): Simplify.
1173 (url-cookie-setup-save-timer): Simplify.
1174
8553120c
RS
11752005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1176
1177 * url-history.el (url-history-list): Var deleted.
1178 (url-history-save-interval): Simplify.
1179 (url-history-setup-save-timer): Simplify.
1180
b0ab1a06
KS
11812005-12-01 Kim F. Storm <storm@cua.dk>
1182
1183 * url-history.el (url-history-track): Fix last change.
1184
1942d6cc
RS
11852005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1186
1187 * url-history.el (url-history-track):
1188 Call url-history-setup-save-timer in :set function.
1189 :type allows three alternatives.
1190 (url-history-setup-save-timer): Test url-history-track.
1191 * url.el (url-retrieve): Test url-history-track.
1192
12f1edc8
SM
11932005-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1194
1195 * url-http.el: Use with-current-buffer.
1196 (url-http-target-url): Rename from url-http-cookies-sources.
1197 (url-http-parse-headers): Use it.
1198 (url-http-handle-authentication): Use subst-char-in-string.
1199
2b1b005c 12002005-11-16 Jürgen Hötzel <emacs@hoetzel.info> (tiny change)
77f05e24
SM
1201
1202 * url-handlers.el (url-insert-file-contents): Use the charset info
1203 provided by the HTTP server, if any.
1204
ce13796f
EZ
12052005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change)
1206
77f05e24
SM
1207 * url-nfs.el (top level):
1208 * url-handlers.el (directory-files):
ce13796f 1209 * url-file.el (top level):
77f05e24 1210 * url-dired.el (url-dired-minor-mode-map):
ce13796f
EZ
1211 * url-http.el (url-http-chunked-encoding-after-change-function):
1212 Remove XEmacs support.
1213
a4684cb0
RS
12142005-10-15 Richard M. Stallman <rms@gnu.org>
1215
1216 * url.el: Don't try to autoload hash table functions.
1217
1430e7f9
SM
12182005-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1219
1220 * url-http.el (url-http-create-request): Avoid incorrect implicit
1221 unibyte->multibyte conversion.
1222
8ccd3630
RS
12232005-09-17 Richard M. Stallman <rms@gnu.org>
1224
1225 * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
1226
1227 * url-mailto.el (url-mailto): Special case `mail'.
1228 Don't test fboundp of `compose-mail'.
1229
b0742512
CY
12302005-09-15 Chong Yidong <cyd@stupidchicken.com>
1231
1232 * url-mailto.el (url-mailto): Delete mail buffer after sending
1233 autogenerated mail.
8ded3f47 1234 Call `compose-mail with `new' argument if possible.
b0742512 1235
c8359e8f
CY
12362005-09-13 Chong Yidong <cyd@stupidchicken.com>
1237
1238 * url-mailto.el (url-mailto): Always use a new mail buffer.
1239
6fd388f3
CY
12402005-09-01 Chong Yidong <cyd@stupidchicken.com>
1241
1242 * url-util.el (url-parse-query-string): New optional argument
1243 allow-newlines allows decoding of newlines.
1244
1245 * url-mailto.el (url-mailto): Allow newlines in URL arguments.
1246 Don't lose original "to" value when there is a "to" header.
1247 Remove carriage return characters in message body.
1248
26d874b2
JB
12492005-08-24 Juanma Barranquero <lekktu@gmail.com>
1250
1251 * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
1252 * url-http.el (url-http-cookies-sources): Defvar at compile time.
1253
dc524e8b
RS
12542005-07-15 Richard M. Stallman <rms@gnu.org>
1255
1256 * url-http.el (url-http-parse-headers): Add :redirect arg-pair
1257 when calling url-retrieve, to indicate a redirect.
1258
1259 * url.el (url-retrieve): The callback function can get an additional
1260 keyword arg pair.
1261
a0ec7a4a
LK
12622005-07-04 Lute Kamstra <lute@gnu.org>
1263
1264 Update FSF's address in GPL notices.
1265
59fda2fa
JB
12662005-07-04 Juanma Barranquero <lekktu@gmail.com>
1267
1268 * url-history.el (url-history-track): Doc fix.
1269 (url-history): Finish `defgroup' description with period.
1270
1271 * url-cookie.el (url-cookie):
1272 * url-gw.el (url-gateway):
1273 * url-news.el (url-news):
1274 * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
1275 Finish `defgroup' description with period.
1276
231add10
RS
12772005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1278
1279 * url-http.el (url-http-create-request): Call url-recreate-url
1280 in proxy case.
1281
e893ce91
RS
12822005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1283
1284 * url-http.el (url-http-create-request): When computing real-fname,
1285 call url-filename in both cases.
1286
12872005-06-27 Richard M. Stallman <rms@gnu.org>
1288
1289 * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
1290 (url-cookie-retrieve): Likewise.
1291 (url-cookie-generate-header-lines): Likewise.
1292 (url-cookie-handle-set-cookie): Likewise.
1293 (url-cookie-create): Expect :localpart instead of :path.
f49d1f52
SM
1294 (url-cookie-localpart): Rename from url-cookie-path.
1295 (url-cookie-set-localpart): Rename from url-cookie-set-path.
e893ce91
RS
1296 (url-cookie-file): Doc fix.
1297 (url-cookie-p): Add doc string.
1298
528b6abc
RS
12992005-06-23 Richard M. Stallman <rms@gnu.org>
1300
1301 * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
1302
23873c96
JB
13032005-06-21 Juanma Barranquero <lekktu@gmail.com>
1304
1305 * url-gw.el (url-open-stream):
1306 * url-vars.el (url-gateway-unplugged): Fix spellings.
1307
0b46b379
JB
13082005-06-14 Juanma Barranquero <lekktu@gmail.com>
1309
d6c180c4 1310 * url-history.el (url-completion-function): Follow error conventions.
0b46b379 1311
175384d1
SM
13122005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1313
1314 * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
1315
7f954571
SM
13162005-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1317
0090e048
SM
1318 * url-dav.el: Remove most autoload cookies.
1319 Don't hook into the url-file-handler since it currently breaks all
1320 non-HTTP URLs.
1321
7f954571
SM
1322 * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
1323
1324 * url.el (url-retrieve-synchronously): Don't exit precipitously when
1325 fetching a file via ange-ftp.
1326
466c78c0
JB
13272005-06-10 Juanma Barranquero <lekktu@gmail.com>
1328
7f954571 1329 * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
466c78c0 1330
93c8c9cd
JB
13312005-05-19 Juanma Barranquero <lekktu@gmail.com>
1332
1333 * url-cookie.el (url-cookie-multiple-line):
1334 Specify group and type in defcustom.
1335
216d3806
JB
13362005-05-06 Juanma Barranquero <lekktu@gmail.com>
1337
1338 * url-auth.el (url-register-auth-scheme):
1339 * url-cookie.el (url-cookie-expired-p):
1340 * url-dav.el (url-dav-process-date-property)
1341 (url-dav-process-boolean-property, url-dav-process-DAV:status):
1342 * url-http.el (url-http-chunked-encoding-after-change-function)
1343 (url-http-wait-for-headers-change-function):
1344 * url-ns.el (isInNet):
1345 * url-parse.el (url-generic-parse-url):
1346 * url-util.el (url-get-normalized-date): Replace `string-to-int'
1347 by `string-to-number'.
1348
799fba8f
SM
13492005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1350
1351 * url.el (url-retrieve-synchronously): Work around the fact that
1352 url-http sometimes doesn't call the callback.
1353
8c6ef2ca
LK
13542005-04-04 Lute Kamstra <lute@gnu.org>
1355
1356 * url-handlers.el (url-handler-mode): Specify :group.
1357
a6efc2c2
EZ
13582005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
1359
1360 * url-history.el (url-have-visited-url): Don't barf if
1361 url-history-hash-table is nil.
1362
134948fc
RS
13632005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
1364
1365 * url-http.el (url-http-parse-headers): Test url-automatic-caching.
1366
1a8461d3
EZ
13672005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1368
557724a8
EZ
1369 * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
1370 to nil, like for the 303 response.
1a8461d3 1371
944b2ab6
SM
13722005-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1373
1374 * url.el (url-retrieve-synchronously): Use accept-process-output rather
1375 than sit-for.
1376
e817f9a2
TTN
13772005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change)
1378
1379 * url-http.el (url-http-handle-authentication):
1380 Don't kill the current buffer.
1381
5007cdc9
SM
13822004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1383
1384 * url-handlers.el: Don't `require' everything eagerly.
1385
cacfe88b
AS
13862004-11-30 Paul Pogonyshev <pogonyshev@gmx.net>
1387
1388 * url-http.el (url-http-handle-cookies): Bind `url-current-object'
1389 to `url-http-cookies-sources' so that cookies are attributed to
1390 proper domain.
1391 (url-http): Make local variable `url-http-cookies-sources'.
1392
dc1a0a7a
AS
13932004-11-28 Andreas Schwab <schwab@suse.de>
1394
1395 * url-http.el (url-http-create-request): Don't add newline after
1396 the request data.
1397
14e25c87
MY
13982004-11-20 Masatake YAMATO <jet@gyve.org>
1399
1400 * url.el (url-mm-callback): Delay the invocation
1ac3c910 1401 of `mm-destroy-parts'. Invoke `mm-destroy-parts'
14e25c87
MY
1402 when the buffer is killed.
1403
de0234ea
MY
14042004-11-12 Masatake YAMATO <jet@gyve.org>
1405
5007cdc9 1406 * url-mailto.el (url-mailto): Fix a typo in the comment.
de0234ea 1407
60b5eb78
MY
14082004-11-02 Masatake YAMATO <jet@gyve.org>
1409
1410 * url-imap.el (url-imap-open-host): Don't use
1ac3c910 1411 `string-to-int'. The port returned by `url-port'
60b5eb78
MY
1412 is expected to be an integer.
1413
1414 * url-irc.el (url-irc): Ditto.
1415
1416 * url-news.el (url-news-open-host): Ditto.
1417
1418 * url-nfs.el (url-nfs-build-filename): Ditto.
1419
ed87225a
JPW
14202004-10-20 John Paul Wallington <jpw@gnu.org>
1421
1422 * url-gw.el (url-gateway-nslookup-host):
1423 Use `set-process-query-on-exit-flag'.
1424
2a6c7fe5
LH
14252004-10-10 Lars Hansen <larsh@math.ku.dk>
1426
4169c186
KS
1427 * url-auth.el:
1428 * url-cache.el:
1429 * url-cid.el:
1430 * url-dired.el:
1431 * url-expand.el:
1432 * url-ftp.el:
1433 * url-gw.el:
1434 * url-imap.el:
1435 * url-irc.el:
1436 * url-misc.el:
1437 * url-news.el:
1438 * url-ns.el:
1439 * url-privacy.el:
2a6c7fe5
LH
1440 * url-proxy.el: Update header and footer.
1441
1442 * url-vars.el: Update header.
1443
c2e2ede7
RS
14442004-10-16 Richard M. Stallman <rms@gnu.org>
1445
1446 * url.el (url-do-setup): Don't set url-passwd-entry-func.
1447
1448 * url-vars.el (url-passwd-entry-func): Var deleted.
1449 (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
5007cdc9
SM
1450 (url-weekday-alist): Rename from weekday-alist.
1451 (url-monthabbrev-alist): Rename from monthabbrev-alist.
c2e2ede7
RS
1452 (url-vars-unload-hook): Initialize hook var to hold the function.
1453
5007cdc9
SM
1454 * url-util.el (url-get-normalized-date): Use url-weekday-alist and
1455 url-monthabbrev-alist.
c2e2ede7
RS
1456
1457 * url-misc.el: Load cl at compile time.
1458
1459 * url-mailto.el: Don't load cl.
1460 (url-mailto): Fix call to `push'.
1461
1462 * url-gw.el (url-open-telnet): Use read-passwd.
1463
1464 * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
1465
3bb53a84
SJ
14662004-10-12 Simon Josefsson <jas@extundo.com>
1467
1468 * url-vars.el (url-gateway-method): Add new method `tls'.
1469
1470 * url-news.el (url-snews): Use nntp-open-tls-stream if
1471 url-gateway-method is tls.
1472
5007cdc9
SM
1473 * url-ldap.el (url-ldap-certificate-formatter):
1474 Use tls-certificate-information if ssl.el is not available.
3bb53a84
SJ
1475
1476 * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
1477 is not available.
1478
1479 * url-gw.el (url-open-stream): Support tls url-gateway-method.
1480 (url-open-stream): Likewise.
1481
df41da5e
LH
14822004-10-10 Lars Hansen <larsh@math.ku.dk>
1483
4169c186
KS
1484 * url-auth.el:
1485 * url-cache.el:
1486 * url-cookie.el:
1487 * url-dired.el:
1488 * url-file.el:
1489 * url-ftp.el:
1490 * url-handlers.el:
1491 * url-history.el:
1492 * url-irc.el:
1493 * url-mailto.el:
1494 * url-methods.el:
1495 * url-misc.el:
1496 * url-news.el:
1497 * url-nfs.el:
1498 * url-parse.el:
1499 * url-privacy.el:
1500 * url-vars.el:
1501 * url.el:
df41da5e
LH
1502 * url-util.el: Fix copyright notice.
1503
ccd59305
SM
15042004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1505
1506 * url-handlers.el (url-insert-file-contents): Use the URL to decide the
1507 encoding, not the buffer-file-name (which might not even exist).
1508
d4fdad60
SM
15092004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1510
1511 * url-handlers.el (url-insert-file-contents): Decode contents.
1512
10a6e6ba
SM
15132004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1514
1515 * url-util.el (url-debug): Use with-current-buffer.
1516
1517 * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
1518 (url-nfs-create-wrapper): Use new backquote syntax.
1519
1520 * url-https.el (url-https-file-attributes): Add id-format param.
1521
1522 * url-http.el (url-http-head-file-attributes)
1523 (url-http-file-attributes): Add id-format parameter.
1524
1525 * url-handlers.el: Use new find-file-hook.
1526 (url-file-attributes): Add id-format parameter.
1527
1528 * url-file.el (url-file-create-wrapper): Use new backquote syntax.
1529 (url-file-file-attributes): Add id-format parameter.
1530
1531 * url-dav.el: Use with-current-buffer.
1532 (url-dav-process-response): Fix regexps and spurious quote.
1533 (url-dav-file-attributes): Add id-format param.
1534
15352004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1536
1537 * url.el (url-retrieve): Use with-current-buffer.
1538
1539 * url-http.el (url-http-parse-headers, url-http-file-exists-p):
1540 Remove unused var `version'.
1541
1542 * url-handlers.el (url-handler-mode): New minor mode.
1543 (url-setup-file-name-handlers): Remove.
1544
15452004-04-12 John Paul Wallington <jpw@gnu.org>
1546
1547 * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
1548 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
1549
15502004-04-11 Dave Love <fx@gnu.org>
1551
1552 * url-mailto.el (url-mailto):
1553 * url-history.el (url-history-setup-save-timer):
1554 * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
1555
1556 * url-file.el (url-file-build-filename): Don't use
1557 directory-sep-char.
1558
1559 * url-auth.el (url-register-auth-scheme): Fix `format' call.
1560
1561 * url-about.el (url-scheme-registry): Defvar.
1562 (url-about): Use text/plain.
1563
1564 * url-vars.el (cl): Don't require.
1565 (url): Add :version.
1566 (url-bug-address): Use bug-gnu-emacs.
1567
1568 * url-util.el (url-hexify-string): Don't give multibyte error
1569 for char <16.
1570 (mail-header-extract): Autoload.
1571
1572 * url-parse.el: Doc fixes.
1573
1574 * url-ldap.el (ldap): Require.
1575 (url-ldap): Fix `format' call.
1576 (url-ldap-certificate-formatter): Avoid warning.
1577
4dfde3dd 1578 * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
10a6e6ba
SM
1579
1580 * url-dav.el (url-dav-rename-file): Fix args of `signal'.
1581 (url-intersection): New.
1582 (url-dav-supported-p): Use it.
1583 (url-dav-save-resource): Declare url-http-response-status special.
1584
1585 * url-cache.el (url-util): Require.
1586
15872004-04-10 Miles Bader <miles@gnu.org>
1588
1589 RCS keyword removal (only non-comment changes are enumerated here):
1590
1591 * url-vars.el (url-version): Use the constant string "Emacs"
1592 instead of calculating something from the RCS `State' keyword
1593 [the latter is almost entirely useless anyway].
1594
15952004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1596
1597 * url-methods.el:
1598 * url-parse.el: Don't require url-auto.
1599
16002004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1601
1602 * url: Imported the URL package from its own CVS repository into Emacs.
1603
1604===========================================================================
1605===========================================================================
1606 Copy of the ChangeLog file from URL's own CVS repository:
1607===========================================================================
1608===========================================================================
1609
16102003-07-16 Dave Love <fx@gnu.org>
1611
1612 * lisp/url.el (url-retrieve-synchronously): Revert last change.
1613 Should be revisited.
1614
16152003-06-26 Sam Steingold <sds@gnu.org>
1616
1617 * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
1618 method on invalid urls.
1619
16202003-05-29 Dave Love <fx@gnu.org>
1621
1622 * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
1623 sit-for. From monnier@gnu.org.
1624
1ac3c910 16252002-11-04 Walter C. Pelissero <walter@pelissero.org>
10a6e6ba 1626
4dfde3dd
SM
1627 * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
1628 port numbers to integers when creating the URL objects for proxies.
10a6e6ba
SM
1629
16302002-10-29 William M. Perry <wmperry@gnu.org>
1631
1632 * lisp/url-http.el (url-http-parse-headers): When doing a
1633 redirect, some broken software (sourceforge) sends a redirect to
1634 '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
1635 specification). I wish we could deal with such lame software
1636 appropriately (spank the authors), but this is the web, so we have
1637 to kow-tow to the servers.
1638
16392002-10-27 William M. Perry <wmperry@gnu.org>
1640
1641 * lisp/url-http.el (url-http-create-request): If we are talking to
1642 the default port for a the selected protocol, do NOT send the port
1643 in the HOST header. This fixes the login page at sourceforge.
1644
16452002-09-17 William M. Perry <wmperry@gnu.org>
1646
1647 * lisp/url-http.el (url-http-handle-cookies): New function to deal
1648 with cookie headers.
1649 (url-http-parse-headers): Call `url-http-handle-cookies' here so
4dfde3dd
SM
1650 that cookie additions and deletions get handled immediately.
1651 This is so that sites that set cookies while doing redirects
10a6e6ba
SM
1652 (my.yahoo.com, outlook web access, etc) work. This should also
1653 fix sites that delete cookies on invalid access or other error
1654 pages the user might not actually see.
1655 (url-http-parse-headers): Silently convert non-HEAD and non-GET
1656 methods to GET in redirects. Too many web sites do this now, and
1657 it is just likely to confuse users.
1658
16592002-05-17 Dave Love <fx@gnu.org>
1660
1661 * texi/url.txi: Start making it vaguely useful.
1662
1663 * texi/Makefile.in (install): Cope with Debian install-info.
2a5be7dc 1664 From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Grossjohann).
10a6e6ba
SM
1665
16662002-04-22 Dave Love <fx@gnu.org>
1667
1668 * lisp/url-misc.el (man): Autoload to avoid warning.
1669 (url-man): Don't require man here.
1670 (url-data): Generalize in line with the RFC.
1671
1672 * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
1673
1674 * lisp/url-vars.el: Doc fixes.
1675 (url-mime-charset-string): New function.
1676 (url-mime-charset-string): Use it to set the variable.
1677 (url-set-mime-charset-string): New function.
1678 (set-language-environment-hook): Use it.
1679 (url-vars-unload-hook): New function.
1680
4dfde3dd
SM
1681 * lisp/url-cookie.el (url-header-comparison): Delete.
1682 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
10a6e6ba
SM
1683 (url-cookie-save-interval): Make value agree with doc.
1684
1685 * lisp/url.el: Doc fixes.
1686 (url-mm-callback): Don't call mm-destroy-parts immediately for
1687 external viewing -- set up a process sentinel.
1688
16892002-02-02 William M. Perry <wmperry@gnu.org>
1690
4dfde3dd 1691 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
10a6e6ba
SM
1692
16932001-12-12 William M. Perry <wmperry@gnu.org>
1694
1695 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
1696 Monnier to use ` instead of ^ to match the relative link.
1697
16982001-12-10 William M. Perry <wmperry@gnu.org>
1699
1700 * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
1701 plist-get (reversed args).
1702
1703 * lisp/url-file.el (url-file-build-filename): Make sure that we
1704 have a parsed URL in this function.
1705
17062002-01-22 Dave Love <fx@gnu.org>
1707
1708 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
1709
4dfde3dd
SM
1710 * lisp/url-imap.el (url-imap): Maybe disable multibyte.
1711 Bind coding-system-for-read. Require mm-util.
10a6e6ba
SM
1712
1713 * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
1714
1715 * lisp/mule-sysdp.el: Removed (obsolete).
1716
17172001-12-09 William M. Perry <wmperry@gnu.org>
1718
1719 * lisp/url-dav.el (url-dav-delete-something): Utility macro to
1720 remove an arbitrary resource.
1721 (url-dav-delete-directory): Use it.
1722 (url-dav-delete-file): Ditto.
1723 (url-dav-make-directory): New function.
1724 (url-dav-rename-file): New function.
1725 (url-dav-register-handler): New function to easily register a
1726 WebDAV-specific file-name-handler operation.
1727 (url-dav-file-name-all-completions, url-dav-file-name-completion):
4dfde3dd 1728 New functions that allow file-name completion for WebDAV resources.
10a6e6ba
SM
1729
17302001-12-08 William M. Perry <wmperry@gnu.org>
1731
1732 * lisp/url-dav.el (url-dav-directory-files): New function to
1733 mimic `directory-files' for WebDAV.
1734 (url-dav-delete-directory): New function to mimic
1735 `delete-directory' for WebDAV.
1736
17372001-12-06 William M. Perry <wmperry@gnu.org>
1738
1739 * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
1740 DAV:locktoken hrefs into a usable format.
1741 (url-dav-process-response): Use an unwind-protect to make sure
1742 that we clean up the buffer, even if there is a parsing error.
1743 (url-dav-request): New function to act as the main entry point for
1744 making DAV requests. Takes care of building the XML document with
1745 appropriate namespaces, depth, etc, and parses the results.
4dfde3dd
SM
1746 (url-dav-get-properties): Use new url-dav-request function.
1747 This is now just a thin wrapper around that to use PROPFIND and set any
10a6e6ba
SM
1748 extra properties we are looking for.
1749 (url-dav-unlock-resource): New function to release a lock given a
1750 URL and a lock-token.
1751 (url-dav-process-DAV:getlastmodified)
1752 (url-dav-process-DAV:creationdate)
1753 (url-dav-process-DAV:iscollection)
1754 (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
1755 url-dave-*!
1756 (url-dav-active-locks): New function to get a list of all the
1757 active locks for a resource.
1758 (url-dav-save-resource): New function to actually save a resource
1759 using the PUT method. I can now successfully save files to an
4dfde3dd 1760 HTTP server with some manual steps from a lisp-interaction buffer.
10a6e6ba
SM
1761
1762 * lisp/url-http.el (url-http-wait-for-headers-change-function):
1763 Special case the 204/205 response codes. Some servers do not
1764 send back a 0 content-length for these, and we would hang.
1765 (url-http-parse-headers): Mark 204/205 response codes as
1766 'successful' so that the callbacks get activated.
1767 (url-http-options): Fix unbound variable usage.
1768
1769 * lisp/url-dav.el: Added full copyright information.
1770 (url-dav-process-response): Make sure that we create a DAV:status
1771 property when parsing a singleton response.
1772 (url-dav-file-attributes): If the properties returned did not have
10d1d0af 1773 a successful HTTP response code, then ignore them and use the
10a6e6ba
SM
1774 HEAD-based attributes.
1775
1776 * lisp/vc-dav.el: Added full copyright information.
1777
4dfde3dd
SM
1778 * lisp/url-dav.el (url-dav-process-supportedlock-property):
1779 Deal with text nodes in DAV:supportedlock nodes.
10a6e6ba
SM
1780 (url-dav-file-attributes-mode-string): This now gets the entire
1781 property list instead of just the DAV:supportedlock node.
1782 (url-dav-file-attributes): Make sure to pass the whole list in.
4dfde3dd 1783 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
10a6e6ba
SM
1784 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
1785 'executable' bit to set the 'x' mode. See `mod_dav's custom
1786 properties' at http://www.webdav.org/mod_dav/ for more details.
1787 (url-dav-find-parser): New function to find the proper parser for
1788 a node-type. Looks for
1789 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
1790 back to using url-dav-node-text. Caches the results on the nodes
1791 symbol name.
4dfde3dd
SM
1792 (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
1793 (url-dav-process-*): Rename most of the handlers and made them
10a6e6ba
SM
1794 use url-dav-dispatch-node where appropriate.
1795 (url-dav-process-DAV:prop): Instead of using the dav-data-type
1796 property to dispatch the node, now uses dav-dispatch-node so that
1797 it is easy to add parsers for special nodes.
1798 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
1799 (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
1800 (url-dav-process-DAV:getcontentlength)
1801 (url-dave-process-DAV:getlastmodified)
1802 (url-dave-process-DAV:creationdate)
1803 (url-dave-process-DAV:iscollection)
1804 (url-dave-process-DAV:ishidden): Aliases for the generic
1805 url-dav-process-foo-property routines.
1806 (url-dav-process-DAV:activelock)
1807 (url-dav-process-DAV:lockdiscovery): Can now correctly parse
1808 DAV:lockdiscovery nodes, so that we can find out who has a
c80e3b4a 1809 resource locked and properly parse the response to a LOCK request.
10d1d0af 1810 (url-dav-process-DAV:status): Now parses out the numeric status
10a6e6ba
SM
1811 from the HTTP response line.
1812 (url-dav-process-response): New function to handle all the
1813 parsing of an XML response from WebDAV. This handles all the
1814 logic of checking the response content-type to make sure it is
1815 XML, parses the tree, and interprets the tree.
1816 (url-dav-process-response): Make sure that all responses look
1817 like a DAV:multistatus response, even if we get a singleton
4dfde3dd 1818 response back. This will just make the upper layer logic simpler.
10a6e6ba
SM
1819 (url-dav-get-properties): New optional argument NAMESPACES that
1820 specifies what namespaces to use in the XML request.
1821 (url-dav-get-properties): Got rid of the D: namespace in
1822 requests. It doesn't save that much space. Just use DAV:
1823 (url-dav-lock-identifier): New variable that should hold a URI
1824 pointing to contact information for the user. This will be used
1825 as the contents of the DAV:owner/DAV:href tag to identify the
1826 owner of a LOCK when requesting it. This will be shown to other
1827 users when the DAV:lockdiscovery property is requested, so make
1828 sure you are comfortable with it leaking to the outside world.
1829 (url-dav-lock-resource): New function to LOCK a dav resource.
1830
18312001-12-05 William M. Perry <wmperry@gnu.org>
1832
1833 * lisp/url-dav.el (url-dav-get-properties): New argument
1834 ATTRIBUTES that allows you to ask for specific properties instead
1835 of getting all properties via DAV:allprop.
1836
4dfde3dd
SM
1837 * lisp/url-http.el (url-http-real-basic-auth-storage):
1838 New variable for normal HTTP basic authentication.
10a6e6ba
SM
1839 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
1840 basic authentication.
1841 (url-http-handle-authentication): Follow new semantics for
1842 url-basic-auth-storage.
1843
4dfde3dd 1844 * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
10a6e6ba
SM
1845 this variable. It is now a symbol pointing to where we really
1846 want to store the authorization information. This fixes proxy
4dfde3dd
SM
1847 auth and normal basic auth because of some local bindings that were
1848 making it impossible to store the credentials in the global binding.
10a6e6ba
SM
1849 (url-basic-auth): Make sure we dereference url-basic-auth-storage
1850 everywhere.
1851
4dfde3dd 1852 * lisp/url-util.el (url-debug): Add new types 'dav and
10a6e6ba
SM
1853 'retrieval to the customization list.
1854
1855 * lisp/url.el (url-retrieve-synchronously): Put in some debugging
1856 statements.
1857
4dfde3dd 1858 * lisp/url-http.el (url-http-head-file-attributes): Rename old
10a6e6ba
SM
1859 url-http-file-attributes so that we can have a smarter one that
1860 tries WebDAV first, then HEAD.
4dfde3dd 1861 (url-http-file-attributes): New smart version that tries WebDAV first.
10a6e6ba
SM
1862 (url-http-options): New function that returns information gleaned
1863 from an OPTIONS request for a URL. Returns a property list
1864 returning the methods supported for the resource, what DAV and
1865 DASL levels are supported, p3p information, and whether
1866 byte-ranges are supported or not.
1867 (url-http-wait-for-headers-change-function): If we got a 0-byte
1868 content-length, activate the callback immediately.
1869 (url-http-wait-for-headers-change-function): For content-length
1870 responses with actual body-data in the chunk we are handling, call
1871 url-http-content-length-after-change-function with the remaining
1872 data. Otherwise we can deadlock if the headers and the entire
1873 body exist arrive in one chunk.
1874
1875 * lisp/url-dav.el: New file to contain the WebDAV
1876 (http://www.webdav.org/) implementation.
1877 (url-dav-supported-p): Cheap way to figure out whether we will be
1878 able to do DAV at all. We rely on the XML parser expanding
1879 namespaces for us, and currently you need a patched version of
1880 xml.el to do this. Patch sent to author for consideration.
1881 (url-dav-file-attributes): Much more complete version of
1882 `file-attributes' using the WebDAV PROPFIND method. Now correctly
1883 finds out whether something is a directory (a WebDAV collection),
1884 the last modification time, and permissions (based on the
1885 DAV:supportedlock information).
1886 (url-dav-get-properties): Generic interface to get WebDAV
1887 properties for a URL. Can specify an optional `depth' parameter
1888 to tell the web server how many directory (collection) levels to
1889 recurse when retrieving the property lists. Returns an assoc
4dfde3dd 1890 list keyed off of the resource, the cdr of which is a property list.
10a6e6ba
SM
1891 (url-dav-datatype-attribute): We support the XML-Data note
1892 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
1893 datatypes of attributes are. Currently only date, dateTime, int,
1894 number, float, boolean, and uri are supported.
1895
18962001-12-04 William M. Perry <wmperry@gnu.org>
1897
1898 * lisp/url-handlers.el (file-name-absolute-p): New hooked
1899 version. If the filename matches our regexp, then it is always
1900 absolute, so just return `t'.
1901 (expand-file-name): New hooked version. If the fragment is an
1902 absolute file or URL, then expand it relative to '/'.
1903 (url-handler-regexp): New regexp for specific schemes that we
1904 want the file-name-handlers to work off of.
4dfde3dd 1905 (url-setup-file-name-handlers): Use it when installing the handlers.
10a6e6ba
SM
1906
1907 * lisp/url-http.el (url-http-find-free-connection): Better logging
1908 about whether we are reusing an existing connection or not.
1909
4dfde3dd 1910 * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
10a6e6ba
SM
1911 to string-match instead of match-string (and with reversed
1912 arguments even).
1913
4dfde3dd 1914 * lisp/url-http.el (url-http-debug): Change to now use the
10a6e6ba
SM
1915 generic url-debug function to do the actual logging. Still a
1916 separate function so that we can do our magic on the network
1917 connection if the user quits while we are downloading.
1918
1919 * lisp/url-handlers.el (url-file-handler): Now logs the result of
1920 the hooked or real call.
1921
4dfde3dd 1922 * lisp/url-util.el (url-debug): New function for generic debug logging.
10a6e6ba
SM
1923
19242001-11-28 William M. Perry <wmperry@gnu.org>
1925
1926 * lisp/url-imap.el (url-imap-open-host): Use backquote.
1927 (url-imap): Now switches to 'login as the imap authenticator if
1928 the URL provides a username and password.
1929
1930 * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
1931 push to replace some strange logic in here.
1932 (url-run-real-handler): New function to run the real hooks in
1933 case we get a false positive or an operation that we do not
1934 support. The old way disabled _ALL_ file-name-handlers when
1935 we hit something we didn't understand - this disables JUST us.
4dfde3dd 1936 (url-file-handler): Remove the logic about removing the leading
10a6e6ba
SM
1937 '/' off of the first argument... it may not be safe to always
1938 assume that the first argument is the one we are acting on -
4dfde3dd 1939 `default' is the second argument for expand-file-name for example.
10a6e6ba
SM
1940 (url-setup-file-name-handlers): Use url-nonrelative-link
1941 directly. This means that you must type in the URL directly
1942 without prefixing it with a '/'.
1943
1944 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
1945
1946 Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
1947 which activates us (because 'nnml+mail' _is_ a valid scheme name
1948 for a URI). We get thoroughly confused and end up returning
1949 `nil' when we shouldn't.
1950
19512001-11-26 William M. Perry <wmperry@gnu.org>
1952
1953 * lisp/url-handlers.el (file-writable-p): Add NULL handler for
1954 this so that visiting a URL directly will work.
1955 (file-symlink-p): Ditto.
1956 (url-insert-file-contents): If `visit' is non-nil then make sure
1957 we set buffer-file-name. After these changes you can visit
1958 http://www.gnu.org/ directly from the minibuffer.
1959 (url-insert-file-contents): When inserting the file contents,
1960 use a save-excursion so that we behave just like the original.
1961
19622001-11-25 William M. Perry <wmperry@gnu.org>
1963
4dfde3dd 1964 * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
10a6e6ba
SM
1965
19662001-11-24 William M. Perry <wmperry@gnu.org>
1967
1968 * lisp/url-about.el (url-about): New loader scheme to handle
1969 about:foo URLs. Automatically tries to find a `url-about-foo'
1970 function to display the actual data.
2941ce4b 1971 (url-about-protocols): Implement about:protocols.
10a6e6ba
SM
1972
1973 * lisp/url-http.el (url-http): Make sure that we signal an error
1974 when we cannot open a network connection for whatever reason.
1975 Before, it would just silently clean up after itself and the user
183080b6 1976 got absolutely no indication that an error had occurred. If the
10a6e6ba
SM
1977 error should truly be ignored, the caller should do that for us.
1978 (url-http-chunked-encoding-after-change-function): Doh! Need to
1979 user marker-position in some log messages now that
1980 url-http-chunked-start is a marker.
1981
19822001-11-22 William M. Perry <wmperry@gnu.org>
1983
1984 * lisp/url-https.el: Fixed definition of url-https - was using the
1985 wrong signature. Too much cut & paste.
4dfde3dd 1986 (url-https-create-secure-wrapper): Fix so that url-https works
10a6e6ba 1987 at all. Was not taking a null `method' into account when calling
4dfde3dd 1988 the wrapped function so url-https tried to call url-http-nil. *sigh*
10a6e6ba
SM
1989
1990 * lisp/url-http.el
4dfde3dd 1991 (url-http-chunked-encoding-after-change-function): Add some
10a6e6ba
SM
1992 feedback when not debugging about what content-type and chunk # we
1993 are reading.
1994 (url-http-chunked-encoding-after-change-function): Use a marker
1995 for url-http-chunked-start so that we can safely delete the
1996 chunk-tokens instead of just marking them as invisible.
1997 (url-http-chunked-encoding-after-change-function): Actually delete
1998 the chunk-tokens. Now that we are not run from 'real'
1999 after-change functions, this is safe, and the right thing to do.
2000 Otherwise the HTML parser still saw them and inferred all sorts of
2001 bad things about the document (ie: nothing had a title!)
2002
20032001-11-21 William M. Perry <wmperry@gnu.org>
2004
2005 * lisp/url-http.el (url-http-debug): Document this variable.
2006 People other than I might want to use it.
2007 (url-http-debug): Put some code in here to check quit-flag
2008 directly. When the chunked encoding went into a tight spin, your
2009 Emacs would be wedged forever. This short-circuits all the
2010 after-change functions and signals an error.
2011 (url-http-debug): If url-http-debug is non-nil and non-t, then log
2012 the debug messages using `message' as well as sending them to the
2013 buffer.
2014 (url-http-chunked-encoding-after-change-function): Got rid of the
2015 no-initial-crlf. Had an epiphany and I can just infer this from
2016 url-http-chunked-counter being 0.
4dfde3dd 2017 (url-http-chunked-encoding-after-change-function): Move the debug
10a6e6ba
SM
2018 statement about reading chunk #foo into the loop so that each
2019 chunk will have a log message associated with it.
2020 (url-http-chunked-encoding-after-change-function): Make sure to
2021 set read-next-chunk to nil when the regular expression match fails
2022 to fire. Otherwise we could loop forever.
4dfde3dd
SM
2023 (url-http-chunked-encoding-after-change-function): Tweak the
2024 regular expression to be a little less greedy when looking for a chunk.
10a6e6ba
SM
2025 (url-http-wait-for-headers-change-function): Remove the last
2026 argument when calling
2027 url-http-chunked-encoding-after-change-function. It is no longer
2028 needed. I should use my brain sometime.
2029
4dfde3dd 2030 * lisp/url-vars.el (and): Fix feature test for xemacs and
fffa137c 2031 coding-system-list behavior.
10a6e6ba
SM
2032
2033 * lisp/url-http.el
4dfde3dd
SM
2034 (url-http-chunked-encoding-after-change-function): Add optional
2035 no-initial-crlf flag that modifies the regular expression.
2036 This is only set from url-http-wait-for-headers-change-function so that
10a6e6ba 2037 the initial CRLF in the HTTP headers is not swallowed.
4dfde3dd 2038 (url-http-chunked-encoding-after-change-function): Fix a few
10a6e6ba 2039 off-by-one errors by using (match-end 0) instead of 1.
4dfde3dd 2040 (url-http-chunked-encoding-after-change-function): Add a few
10a6e6ba
SM
2041 url-http-debug calls to help track down problems in the chunked
2042 encoding.
2043 (url-http-chunked-encoding-after-change-function): The chunk
2044 reading in here is now in a while loop so that if Emacs feeds us a
2045 chunk of data that happens to contain more than one 'chunk'
2046 delimiter, we behave correctly.
2047 (url-http-wait-for-headers-change-function): Make sure that we
2048 pass no-initial-crlf to
2049 url-http-chunked-encoding-after-change-function when passing
2050 initial data to the decoder.
2051 (url-http-generic-filter): url-http-debug statement so we can tell
2052 when/where our after-change-functions are being called.
2053
20542001-10-11 Dave Love <fx@gnu.org>
2055
2056 * lisp/url-handlers.el: Doc fixes.
2057 (string-match): Use (featurep 'xemacs).
2058
2059 * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
2060
2061 * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
2062
2063 * lisp/url-vars.el (url-running-xemacs): Delete.
2064 (url-gateway-unplugged): New variable.
2065
2066 * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
2067 Comment out OS/2 stuff.
2068
20692001-10-05 Dave Love <fx@gnu.org>
2070
2071 * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
2072 without confirmation.
2073
20742001-10-02 Dave Love <fx@gnu.org>
2075
2076 * lisp/url-http.el (url-http-create-request): Check cache for
2077 proxy-obj, if defined, rather than url.
2078 (url-http): Use dolist, not mapc (runtime cl dependency).
2079
2080 * lisp/url-methods.el: Maybe require cl at runtime.
4dfde3dd
SM
2081 (url-scheme-register-proxy): Fix fetching from environment.
2082 Don't concat a number.
10a6e6ba
SM
2083
20842001-10-01 Dave Love <fx@gnu.org>
2085
2086 * lisp/url-parse.el: Use modern backquote syntax.
2087
2088 * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
2089 (url-mail-command): Prefer compose-mail.
2090 (tcp-binary-process-input-services): Comment out.
2091 (url-working-buffer): New constant.
2092
2093 * lisp/url-util.el (url-extract-mime-headers): New function.
2094
2095 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add
2096 User-Agent.
2097
20982001-09-20 Dave Love <fx@gnu.org>
2099
4dfde3dd 2100 * lisp/url-http.el (url-http-create-request): Don't concat a number.
10a6e6ba
SM
2101
21022001-06-05 Dave Love <fx@gnu.org>
2103
2104 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob
4dfde3dd 2105 tcp-binary-process-input-services. Remove function wrapper for lambda.
10a6e6ba
SM
2106 (url-retrieve): Barf with sensible message if url-type is null.
2107
2108 * lisp/url-http.el (url-http): Don't try to set process
2109 coding-system here -- done in url-gw.
2110
2111 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
2112 (url-open-stream): Bind coding-system-for{read,write} when setting
e4769531 2113 up the connection. Don't call url-gw-inhibit-code-conversion.
10a6e6ba 2114
4dfde3dd
SM
21152001-05-24 William M. Perry <wmperry@gnu.org>
2116
2117 * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
2118 in url-retrieve-synchronously.
2119
10a6e6ba
SM
21202001-05-23 William M. Perry <wmperry@gnu.org>
2121
2122 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
2123 accept-process-output. This is evidently causing hangs in Emacs
2124 21 when viewing complex pages with images or stylesheets.
2125 www.yahoo.com is now viewable.
2126
2127 * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
2128 (mule-inhibit-code-conversion) and just have a local function that
2129 does this minimal cruft.
2130 (url-gw-inhibit-code-conversion): New function to turn off code
2131 conversion in a process.
2132
21332001-05-22 William M. Perry <wmperry@gnu.org>
2134
2135 * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
2136 that we can allow multiple asynch retrievals to happen at once.
2137 (url-retrieve-synchronously): Use a much smaller timeout when
2138 doing the accept-process-output. This gets rid of the long delays
2139 if you are on a fast net connection and retrieve small documents
2140 that finish asynchronously before the first accept-process-output
2141 can be run. All hail broadband and 100Mb in the house!
4dfde3dd 2142 (url-retrieve-synchronously): Add documentation for this function.
10a6e6ba
SM
2143 (url-retrieve): Ditto.
2144 (url-mm-url): Ditto.
2145
2146 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
2147 documentation strings. Ok, so I'm anal.
2148
2149 * lisp/url-methods.el (url-scheme-methods): Add default methods
2150 for file-directory-p and file-truename.
2151
21522001-05-22 Dave Love <fx@gnu.org>
2153
2154 * lisp/url-auth.el (url-warn): Autoload.
2155
2156 * lisp/url-proxy.el (url-warn): Autoload.
2157
2158 * lisp/url-nfs.el: Fix `file-truname' typo.
2159
2160 * lisp/url-news.el: Require cl when compiling.
1ac3c910 2161 (url-warn, gnus-group-read-ephemeral-group): Autoload.
4dfde3dd 2162 (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
10a6e6ba
SM
2163 (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
2164
2165 * lisp/url-util.el (mule-decode-string): Don't autoload.
2166 (url-hexify-string): Just barf on multibyte characters.
2167 (url-generate-unique-filename): New function.
2168
2169 * lisp/url-file.el (url-file): Use url-generate-unique-filename,
2170 not mm-generate-unique-filename.
2171
2172 * lisp/url-http.el: Declare things special in various places.
2173 (url-http-activate-callback): Don't set
2174 url-http-real-after-change-function.
2175
21762001-05-22 William M. Perry <wmperry@gnu.org>
2177
2178 * lisp/url-http.el (url-http-attempt-keepalives): New variable to
2179 control whether we try to do keep-alives for our connections.
2180 (url-http-version): New variable to control whether we advertise
2181 ourselves as an HTTP/1.1 client or not. This can be useful for
2182 avoiding chunked encoding, and other 1.1 features we may not have
2183 fully implemented yet.
2184 (url-http-create-request): Honor the new variables.
2185
21862001-05-21 Dave Love <fx@gnu.org>
2187
2188 * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
2189 in XEmacs.
2190 (url-mime-charset-string): Don't reverse the list before sorting.
2191
21922001-05-17 William M. Perry <wmperry@gnu.org>
2193
2194 * lisp/url-http.el (url-http-generic-filter): Avoid using
2195 after-change-functions natively. There are just too many ways
2196 that this screws up in Emacs 21. Use a filter function on the
2197 process instead, and call the hook on
2198 url-http-after-change-function manually. [Actually, it will work
2199 in Emacs 21, but one problem that has been fixed in Emacs 21
2200 exists in Emacs 20. -- fx]
2201
2202 * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
2203 does not exist on older versions of Emacs, or any version of
2204 XEmacs. Do not call it unless it is bound.
2205
22062001-05-17 Dave Love <fx@gnu.org>
2207
2208 * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
2209
22102001-05-16 Dave Love <fx@gnu.org>
2211
2212 * lisp/url-vars.el: Doc fixes. Require mm-util.
2213 (url-mime-charset-string): New variable.
2214
2215 * lisp/url-http.el: Doc fixes.
2216 (url-http-create-request): Rearrange how we assemble the request.
2217 Avoid generating bogus requests with an empty real-fname.
4dfde3dd 2218 (url-http-handle-authentication): Declare status and success special.
10a6e6ba
SM
2219 (url-http): Call mm-disable-multibyte. Set process buffer's
2220 coding systems to binary.
2221
2222 * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
2223
4dfde3dd 2224 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
10a6e6ba 2225 (url-file-find-possibly-compressed-file): Doc fix.
4dfde3dd 2226 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
10a6e6ba
SM
2227
2228 * lisp/url-cache.el: Don't require mule-sysdp.
2229 (url-store-in-cache): Avoid mule-write-region-no-coding-system.
2230
2231 * lisp/url.el: Don't require mule-sysdp.
2232 (url-retrieve): Only set text properties if url is a string.
2233
22342001-05-14 Dave Love <fx@gnu.org>
2235
4dfde3dd
SM
2236 * lisp/url-http.el (url-http-create-request):
2237 Declare proxy-object, proxy-info special.
10a6e6ba
SM
2238 (url-http-handle-authentication): Declare success special.
2239
22402001-05-12 Dave Love <fx@gnu.org>
2241
2242 * lisp/url-http.el: Revert last change.
2243
22442001-05-10 Dave Love <fx@gnu.org>
2245
4dfde3dd
SM
2246 * lisp/url-http.el (url-http-generic-after-change-function):
2247 Make it permanent-local.
10a6e6ba
SM
2248
22492001-05-05 Dave Love <fx@gnu.org>
2250
2251 * lisp/url-http.el: Autoload some functions.
2252 (cl): Require when compiling.
2253 (url-http-extra-headers): Defvar when compiling.
2254 (url-http): Treat after-change-functions as a local hook.
2255
2256 * lisp/url-history.el (url-parse): Require.
2257 (url-do-setup): Autoload.
2258
2259 * lisp/url-gw.el: Require url-vars. Autoload some functions.
2260
2261 * lisp/url-file.el: Require mailcap. Require cl when compiling.
2262 Use (featurep 'xemacs).
2263 (url-file-build-filename): Bind pos-index.
2264 (url-file): Call url-find-file-dired, not url-dired-find-file.
2265
4dfde3dd 2266 * lisp/url-dired.el: Add copyright notice. Autoload some functions.
10a6e6ba
SM
2267 (url-dired-minor-mode-map): Use (featurep 'xemacs).
2268 (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
4dfde3dd 2269 (url-find-file-dired): Rename from one version of url-dired-find-file.
10a6e6ba
SM
2270
2271 * lisp/url-cid.el: Don't require widget. Require mm-decode
2272 unconditionally.
2273
2274 * lisp/url-util.el: Autoload mule-decode-string,
2275 timezone-parse-date, timezone-make-date-arpa-standard.
2276 (url-unreserved-chars): Fix list per RFC 2396.
2277 (url-hexify-string): Maybe string-make-unibyte.
2278
2279 * lisp/url-news.el: Require nntp.
2280
2281 * lisp/url-imap.el: Require cl when compiling. Require nnimap
2282 unconditionally.
2283
22842001-05-04 Dave Love <fx@gnu.org>
2285
2286 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
2287 not non-existent mailcap-generate-unique-filename.
2288
4dfde3dd 2289 * lisp/url-privacy.el: Require url-vars. Require cl when compiling.
10a6e6ba 2290
4dfde3dd
SM
2291 * lisp/url-parse.el: Require url-vars.
2292 Autoload url-scheme-get-property.
10a6e6ba
SM
2293
2294 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs
2295 with featurep.
2296
2297 * lisp/url-mailto.el: Require cl when compiling.
2298
4dfde3dd
SM
2299 * lisp/url-cookie.el (url-cookie-handle-set-cookie):
2300 Call url-parse-args, not url-util-parse-args.
10a6e6ba
SM
2301
2302 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
2303
23042001-04-09 Dave Love <fx@gnu.org>
2305
2306 * lisp/mule-sysdp.el (mule-detect-coding-version)
2307 (mule-code-convert-region, mule-inhibit-code-conversion)
2308 (mule-write-region-no-coding-system, mule-encode-string)
2309 (mule-decode-string, mule-truncate-string)
2310 (mule-find-charset-region, mule-coding-system-name)
2311 (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
2312 [There must be a better way.]
2313 (mule-coding-system-p, string-width): Use defalias.
2314
23152001-01-03 Sam Steingold <sds@gnu.org>
2316
2317 * lisp/url-http.el (url-http-wait-for-headers-change-function):
2941ce4b 2318 set `url-http-end-of-headers' to 0 for HTTP 0.9.
10a6e6ba
SM
2319
23202001-01-02 Sam Steingold <sds@gnu.org>
2321
2941ce4b 2322 * lisp/url-auth.el (provide): `url-auth', not `urlauth'.
10a6e6ba
SM
2323
23242000-12-22 Dave Love <fx@gnu.org>
2325
2326 * lisp/url-history.el (url): Don't require (to avoid recursion).
2327 (cl): Require when compiling.
2328
2329 * lisp/url-http.el (url-auth): Require.
2330 (url-http-handle-authentication): Fix typo.
2331
2332 * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
2333
23342000-12-20 Dave Love <fx@gnu.org>
2335
2336 * lisp/url.el: Require mm-decode, mm-view when compiling.
2337 <not (fboundp 'puthash)>: Define puthash and
2338 autoload other has functions rather than using cl-...hash.
2339 (url-warn): Define.
2340
4dfde3dd
SM
2341 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
2342 Avoid cl-...hash functions.
10a6e6ba
SM
2343
2344 * lisp/url-history.el: Avoid cl-...hash functions.
2345 (url): Require.
2346
1ac3c910 2347 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
10a6e6ba
SM
2348
23492000-10-03 William M. Perry <wmperry@aventail.com>
2350
4dfde3dd 2351 * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
10a6e6ba
SM
2352 getting set to nil due to bad string matching. Subsequent matches
2353 would then choke because we passed string-match a nil.
2354
2355 * lisp/url-http.el (url-http-parse-headers): Need to make the
2356 connection as 'free' when we get a 304 response (found in cache),
10d1d0af 2357 or when a keep-alive connection timed out, it would re-parse the
10a6e6ba
SM
2358 headers and dispatch to the callback again. Eek.
2359
23602000-10-02 William M. Perry <wmperry@aventail.com>
2361
2362 * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
4dfde3dd 2363 implement chunked transfer-coding.
10a6e6ba
SM
2364 (url-http-create-request): We can now advertise ourselves as a 1.1
2365 compliant browser!
2366
23672000-07-28 Sam Steingold <sds@gnu.org>
2368
2369 * lisp/url-methods.el (url-scheme-default-loader): `callback' and
2370 `cbargs' are optional args (for calling from w3).
4dfde3dd 2371 (url-scheme-register-proxy): Typos fixes: `url-match' replaced
10a6e6ba
SM
2372 with `string-match' and `protocol' with `scheme'.
2373
23742000-07-18 Sam Steingold <sds@gnu.org>
2375
4dfde3dd
SM
2376 * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
2377 * lisp/url-history.el (url-history-save-interval): Avoid circularity.
10a6e6ba
SM
2378
23792000-07-10 William M. Perry <wmperry@aventail.com>
2380
2381 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
2382 mule, and the character requested is > 255, then return "~"
2383 instead of letting whoever call us signal an error when they try
2384 to insert the character.
2385 (mule-make-iso-character): Also wrap the whole thing in a
4dfde3dd 2386 condition case and return "~" on error, in case make-char bombs on us.
10a6e6ba 2387
4dfde3dd 2388 * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
10a6e6ba
SM
2389 for cid parts.
2390
2391 * lisp/url-util.el (url-display-percentage): New routine that uses
2392 the progress bar under XEmacs if available. Looks very sexy under
2393 XEmacs/GTK hacked to use the GNOME statusbar.
2394
2395 * lisp/url-http.el
2396 (url-http-content-length-after-change-function): Use new function
2397 url-display-percentage instead of url-lazy-message.
2398
23992000-01-27 William M. Perry <wmperry@aventail.com>
2400
2401 * lisp/url-file.el (url-file-build-filename): Work around for
4dfde3dd 2402 differences in ange-ftp / efs handling of port numbers other than 21.
10a6e6ba
SM
2403
24041999-12-24 William M. Perry <wmperry@aventail.com>
2405
2406 * lisp/url-irc.el: Added pointer to draft specification for the
2407 IRC URL so people don't think I'm crazy.
2408
2409 * configure.in: Checks to make sure that Gnus was found, since we
2941ce4b 2410 HAVE to have it now. Removed conditional compilation of url-cid.el.
10a6e6ba 2411
1ac3c910 24121999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
10a6e6ba
SM
2413
2414 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
2415 () to have periods at the end of the chunk.
2416
24171999-12-14 William M. Perry <wmperry@aventail.com>
2418
4dfde3dd 2419 * lisp/url-misc.el (url-man): Implement `man' URL types.
10a6e6ba
SM
2420 (url-info): Autoload.
2421 (url-man): Ditto.
2422 (url-rlogin): Ditto.
2423 (url-telnet): Ditto.
2424 (url-tn3270): Ditto.
2425 (url-generic-emulator-loader): Ditto.
2426
2427 * lisp/url-https.el (url-https-create-secure-wrapper): New macro
2428 to wrap arbitrary `http' methods with the appropriate magic to
2429 turn SSL on.
2430 (file-exists-p): Use it.
2431 (file-readable-p): Use it.
2432 (file-attributes): Use it.
2433
2434 * lisp/url-news.el (url-news-fetch-newsgroup): When building the
2435 server spec for Gnus, make sure we set
2436 nntp-open-connection-function directly, so that other news-related
2437 functions above us can set it.
2438 (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
2439 (url-nntp): Autoload.
2440 (url-snews): Ditto.
2441 (url-news): Ditto.
2442
24431999-12-12 William M. Perry <wmperry@aventail.com>
2444
2445 * lisp/url-http.el (url-http-parse-response): New function to
2446 parse just the HTTP response code out of the buffer, without
2447 taking any other actions.
2448 (url-http-wait-for-headers-change-function): Use it here when we
2449 know we have an HTTP/1.x response.
2450 (url-http-wait-for-headers-change-function): Special case a
2451 response code of '304' or there could be some delays waiting for
2452 keep-alives to time out on cached documents with no known
2453 content-length on the server.
2454
24551999-12-11 William M. Perry <wmperry@aventail.com>
2456
2457 * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
2458 the Makefile does that for us. We just need to provide what files
2459 to load/functions to run.
2460
2461 * lisp/url-imap.el (url-imap-open-host): Need to bind
2462 nnimap-server-buffer or `nnimap-open-server' chokes trying to use
4dfde3dd 2463 the current buffer as the IMAP server buffer, which fails miserably.
10a6e6ba 2464
1ac3c910 24651999-12-11 Simon Josefsson <jas@pdc.kth.se>
10a6e6ba
SM
2466
2467 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
2468
24691999-12-11 William M. Perry <wmperry@aventail.com>
2470
2471 * lisp/url-file.el (url-file-asynch-callback): Make the checks for
2472 ange-ftp vs. efs calling semantics consistent, so that if someone
2473 has NEITHER of them loaded, everything should still work.
2474
2475 * lisp/url-handlers.el (url-copy-file): Autoload.
2476 (url-file-local-copy): Ditto.
2477 (url-insert-file-contents): Ditto.
2478 (url-setup-file-name-handlers): Ditto.
2479
24801999-12-10 William M. Perry <wmperry@aventail.com>
2481
2482 * lisp/url-http.el (mail-parse): Since we use functions from here,
2483 we should require it, eh?
2484
1ac3c910 24851999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
10a6e6ba
SM
2486
2487 * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
2488 if nil.
2489 (url-cookie-generate-header-lines): Use it.
2490
24911999-12-06 William M. Perry <wmperry@aventail.com>
2492
2493 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
2941ce4b 2494 4.1 gracefully.
10a6e6ba 2495
4dfde3dd
SM
2496 * lisp/url-news.el: Reimplemented news and nntp URL support.
2497 No longer bothers to check for outdated Gnus versions, since this
10a6e6ba
SM
2498 will not work without them anyway.
2499
25001999-12-05 Dave Love <fx@gnu.org>
2501
2502 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
2503 lisp/url.el:
2504 Require url-parse.
2505
25061999-12-05 William M. Perry <wmperry@aventail.com>
2507
2508 * lisp/url-http.el (url-http-find-free-connection): Spit out a
2509 message when we have to contact a host so the user always gets
2510 at least some feedback.
2511
f49d1f52 2512 * lisp/url-expand.el (url-expander-remove-relative-links): Move and
10a6e6ba
SM
2513 renamed function.
2514 (url-default-expander): Use it.
2515
4dfde3dd
SM
2516 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
2517 as well as efs.
2518 (url-file): Add default content-type of application/octet-stream if
2519 none known.
2941ce4b 2520 (url-file): Correct bad call to url-host-is-local-p.
10a6e6ba
SM
2521
2522 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
2523 like buffer-substring with nil arguments.
2524 (url-copy-file): Use mm-destroy-parts instead of just killing
2525 the buffer. Use defined interfaces when available!
2526 (url-insert-file-contents): Ditto.
2527
2528 * lisp/url-http.el (url-http-create-request): Lots of changes to
2529 get proxying working.
2530
2531 * lisp/url-methods.el (url-scheme-register-proxy): New function to
2532 find and register a proxy for a specific scheme.
2533 (url-scheme-get-property): Use it when we load a URL scheme for
2534 the first time.
2535
2941ce4b 2536 * lisp/url-util.el (url-get-url-at-point): Re-integrated.
10a6e6ba
SM
2537
25381999-12-04 William M. Perry <wmperry@aventail.com>
2539
2540 * lisp/url-file.el (url-file): Signal an error if
2541 url-file-build-filename could not find the filename.
2542
25431999-12-01 William M. Perry <wmperry@aventail.com>
2544
2545 * lisp/url.el (url-retrieve): Use url-history-update-url instead
2546 of manipulating the hash table directly.
2547
2548 * lisp/url-history.el (url-completion-function): New function to
2549 use for reading a URL with completion.
2550 (url-history-update-url): New function to hide the hashtable
2551 implementation from people inserting things into the history.
2552
25531999-11-30 William M. Perry <wmperry@aventail.com>
2554
2555 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
2556 working.
2557
2558 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
4dfde3dd 2559 url-parse-args, which had changed the type of arguments it expects.
10a6e6ba
SM
2560
2561 * lisp/url-handlers.el (url-insert-file-contents): Ditto.
2562 (url-copy-file): Ditto.
2563
2564 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
2565 just killing the buffer. Use defined interfaces when available!
2566
2567 * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
2568 AC_FD_CC so they show up in config.log
2569 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
2570 this always return 't' instead of 'yes' on successfully finding
2571 the library.
2572
4dfde3dd 2573 * lisp/url-http.el (url-http-parse-headers): Add some
10a6e6ba
SM
2574 DAV-specific error codes.
2575
4dfde3dd 2576 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
10a6e6ba
SM
2577 (url-retrieve-synchronously): Duh, make this function actually
2578 work again. Numerous problems with it, including variable name
2579 collisions - I love dynamically scoped lisps!
2580
2581 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
4dfde3dd 2582 wrappers onto the appropriate file-based URLs for file-name-handlers.
10a6e6ba 2583
a98edce9 2584 * lisp/url-ftp.el: Moved the FTP stuff into its own file - it
10a6e6ba
SM
2585 might get messy with file-name-handlers and things.
2586
2587 * lisp/url-http.el (url-http-clean-headers): Fix problem when
2588 using 'HEAD' requests. Thou shalt not change the length of the
2589 region during an after-change-function.
2590
2591 * lisp/url-methods.el (url-scheme-methods): New variable that
4dfde3dd 2592 holds a list of the methods/variables we look for in a URL scheme.
10a6e6ba
SM
2593 (url-scheme-get-property): Use it.
2594
25951999-11-29 William M. Perry <wmperry@aventail.com>
2596
4dfde3dd 2597 * lisp/url-http.el (url-http-file-attributes): Reimplement.
10a6e6ba
SM
2598 (url-http-file-exists-p): Ditto.
2599
2600 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
2601
2602 * lisp/url-file.el (url-file-create-wrapper): New macro to create
2603 file-name-handler stubs for all the FTP/FILE stuff.
2604
2605 * lisp/url-handlers.el: New file to handle file-name-handler-alist
2606 cruft. Generic interface on top of functions that each URL
2607 loader provides, if capable.
2608
26091999-11-27 William M. Perry <wmperry@aventail.com>
2610
2611 * lisp/url-https.el: Implemented HTTPS support.
2612
26131999-11-26 William M. Perry <wmperry@aventail.com>
2614
2615 * url-privacy.el (url-setup-privacy-info): Don't rely on
2616 device-type being defined. Not going to bother redistributing
2617 devices.el for just one function.
2618
2619 * url-methods.el (url-scheme-get-property): Emacs does not have
2620 the 3rd-argument to plist-get to specify the default. *sigh*
2621
4dfde3dd 2622 * url-dired.el (add-minor-mode): Add definition for Emacs.
10a6e6ba 2623
4dfde3dd
SM
2624 * url-http.el (url-http-generic-after-change-function):
2625 New function, since Emacs does not allow you to change the
10a6e6ba
SM
2626 after-change-functions variable from within a function run by
2627 said hook. This just hands it off to the REAL function.
2628 Side-effect is that this now works on Emacs at all. :)
2629
2630 * Initial checkin of rewritten URL library.
2631
1513a14b
GM
2632;; Local variables:
2633;; coding: utf-8
1513a14b
GM
2634;; End:
2635
acaf905b 2636 Copyright (C) 1999, 2001-2002, 2004-2012 Free Software Foundation, Inc.
5b87ad55
GM
2637
2638 This file is part of GNU Emacs.
2639
4936186e 2640 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 2641 it under the terms of the GNU General Public License as published by
4936186e
GM
2642 the Free Software Foundation, either version 3 of the License, or
2643 (at your option) any later version.
5b87ad55
GM
2644
2645 GNU Emacs is distributed in the hope that it will be useful,
2646 but WITHOUT ANY WARRANTY; without even the implied warranty of
2647 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2648 GNU General Public License for more details.
2649
2650 You should have received a copy of the GNU General Public License
4936186e 2651 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.