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