Mercurial > emacs
comparison lisp/url/ChangeLog @ 56309:e4e13934a595
*** empty log message ***
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 01 Jul 2004 12:58:25 +0000 |
parents | 1d6828002ca9 |
children | ab3fefd17e51 |
comparison
equal
deleted
inserted
replaced
56308:1d6828002ca9 | 56309:e4e13934a595 |
---|---|
166 (url-mime-charset-string): Use it to set the variable. | 166 (url-mime-charset-string): Use it to set the variable. |
167 (url-set-mime-charset-string): New function. | 167 (url-set-mime-charset-string): New function. |
168 (set-language-environment-hook): Use it. | 168 (set-language-environment-hook): Use it. |
169 (url-vars-unload-hook): New function. | 169 (url-vars-unload-hook): New function. |
170 | 170 |
171 * lisp/url-cookie.el (url-header-comparison): Deleted. | 171 * lisp/url-cookie.el (url-header-comparison): Delete. |
172 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid | 172 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*. |
173 assoc*. | |
174 (url-cookie-save-interval): Make value agree with doc. | 173 (url-cookie-save-interval): Make value agree with doc. |
175 | 174 |
176 * lisp/url.el: Doc fixes. | 175 * lisp/url.el: Doc fixes. |
177 (url-mm-callback): Don't call mm-destroy-parts immediately for | 176 (url-mm-callback): Don't call mm-destroy-parts immediately for |
178 external viewing -- set up a process sentinel. | 177 external viewing -- set up a process sentinel. |
179 | 178 |
180 2002-02-02 William M. Perry <wmperry@gnu.org> | 179 2002-02-02 William M. Perry <wmperry@gnu.org> |
181 | 180 |
182 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build | 181 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules. |
183 rules. | |
184 | 182 |
185 2001-12-12 William M. Perry <wmperry@gnu.org> | 183 2001-12-12 William M. Perry <wmperry@gnu.org> |
186 | 184 |
187 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan | 185 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan |
188 Monnier to use ` instead of ^ to match the relative link. | 186 Monnier to use ` instead of ^ to match the relative link. |
197 | 195 |
198 2002-01-22 Dave Love <fx@gnu.org> | 196 2002-01-22 Dave Love <fx@gnu.org> |
199 | 197 |
200 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix. | 198 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix. |
201 | 199 |
202 * lisp/url-imap.el (url-imap): Maybe disable multibyte. Bind | 200 * lisp/url-imap.el (url-imap): Maybe disable multibyte. |
203 coding-system-for-read. Require mm-util. | 201 Bind coding-system-for-read. Require mm-util. |
204 | 202 |
205 * lisp/url.el (url-do-setup): Use (featurep 'xemacs). | 203 * lisp/url.el (url-do-setup): Use (featurep 'xemacs). |
206 | 204 |
207 * lisp/mule-sysdp.el: Removed (obsolete). | 205 * lisp/mule-sysdp.el: Removed (obsolete). |
208 | 206 |
215 (url-dav-make-directory): New function. | 213 (url-dav-make-directory): New function. |
216 (url-dav-rename-file): New function. | 214 (url-dav-rename-file): New function. |
217 (url-dav-register-handler): New function to easily register a | 215 (url-dav-register-handler): New function to easily register a |
218 WebDAV-specific file-name-handler operation. | 216 WebDAV-specific file-name-handler operation. |
219 (url-dav-file-name-all-completions, url-dav-file-name-completion): | 217 (url-dav-file-name-all-completions, url-dav-file-name-completion): |
220 New functions that allow file-name completion for WebDAV | 218 New functions that allow file-name completion for WebDAV resources. |
221 resources. | |
222 | 219 |
223 2001-12-08 William M. Perry <wmperry@gnu.org> | 220 2001-12-08 William M. Perry <wmperry@gnu.org> |
224 | 221 |
225 * lisp/url-dav.el (url-dav-directory-files): New function to | 222 * lisp/url-dav.el (url-dav-directory-files): New function to |
226 mimic `directory-files' for WebDAV. | 223 mimic `directory-files' for WebDAV. |
234 (url-dav-process-response): Use an unwind-protect to make sure | 231 (url-dav-process-response): Use an unwind-protect to make sure |
235 that we clean up the buffer, even if there is a parsing error. | 232 that we clean up the buffer, even if there is a parsing error. |
236 (url-dav-request): New function to act as the main entry point for | 233 (url-dav-request): New function to act as the main entry point for |
237 making DAV requests. Takes care of building the XML document with | 234 making DAV requests. Takes care of building the XML document with |
238 appropriate namespaces, depth, etc, and parses the results. | 235 appropriate namespaces, depth, etc, and parses the results. |
239 (url-dav-get-properties): Use new url-dav-request function. This | 236 (url-dav-get-properties): Use new url-dav-request function. |
240 is now just a thin wrapper around that to use PROPFIND and set any | 237 This is now just a thin wrapper around that to use PROPFIND and set any |
241 extra properties we are looking for. | 238 extra properties we are looking for. |
242 (url-dav-unlock-resource): New function to release a lock given a | 239 (url-dav-unlock-resource): New function to release a lock given a |
243 URL and a lock-token. | 240 URL and a lock-token. |
244 (url-dav-process-DAV:getlastmodified) | 241 (url-dav-process-DAV:getlastmodified) |
245 (url-dav-process-DAV:creationdate) | 242 (url-dav-process-DAV:creationdate) |
248 url-dave-*! | 245 url-dave-*! |
249 (url-dav-active-locks): New function to get a list of all the | 246 (url-dav-active-locks): New function to get a list of all the |
250 active locks for a resource. | 247 active locks for a resource. |
251 (url-dav-save-resource): New function to actually save a resource | 248 (url-dav-save-resource): New function to actually save a resource |
252 using the PUT method. I can now successfully save files to an | 249 using the PUT method. I can now successfully save files to an |
253 HTTP server with some manual steps from a lisp-interaction | 250 HTTP server with some manual steps from a lisp-interaction buffer. |
254 buffer. | |
255 | 251 |
256 * lisp/url-http.el (url-http-wait-for-headers-change-function): | 252 * lisp/url-http.el (url-http-wait-for-headers-change-function): |
257 Special case the 204/205 response codes. Some servers do not | 253 Special case the 204/205 response codes. Some servers do not |
258 send back a 0 content-length for these, and we would hang. | 254 send back a 0 content-length for these, and we would hang. |
259 (url-http-parse-headers): Mark 204/205 response codes as | 255 (url-http-parse-headers): Mark 204/205 response codes as |
267 a succesful HTTP response code, then ignore them and use the | 263 a succesful HTTP response code, then ignore them and use the |
268 HEAD-based attributes. | 264 HEAD-based attributes. |
269 | 265 |
270 * lisp/vc-dav.el: Added full copyright information. | 266 * lisp/vc-dav.el: Added full copyright information. |
271 | 267 |
272 * lisp/url-dav.el (url-dav-process-supportedlock-property): Deal | 268 * lisp/url-dav.el (url-dav-process-supportedlock-property): |
273 with text nodes in DAV:supportedlock nodes. | 269 Deal with text nodes in DAV:supportedlock nodes. |
274 (url-dav-file-attributes-mode-string): This now gets the entire | 270 (url-dav-file-attributes-mode-string): This now gets the entire |
275 property list instead of just the DAV:supportedlock node. | 271 property list instead of just the DAV:supportedlock node. |
276 (url-dav-file-attributes): Make sure to pass the whole list in. | 272 (url-dav-file-attributes): Make sure to pass the whole list in. |
277 (url-dav-file-attributes-mode-string): Now properly sets do 'd' | 273 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode. |
278 mode. | |
279 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav | 274 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav |
280 'executable' bit to set the 'x' mode. See `mod_dav's custom | 275 'executable' bit to set the 'x' mode. See `mod_dav's custom |
281 properties' at http://www.webdav.org/mod_dav/ for more details. | 276 properties' at http://www.webdav.org/mod_dav/ for more details. |
282 (url-dav-find-parser): New function to find the proper parser for | 277 (url-dav-find-parser): New function to find the proper parser for |
283 a node-type. Looks for | 278 a node-type. Looks for |
284 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls | 279 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls |
285 back to using url-dav-node-text. Caches the results on the nodes | 280 back to using url-dav-node-text. Caches the results on the nodes |
286 symbol name. | 281 symbol name. |
287 (url-dav-dispatch-node): Utility routine to call a nodes handler | 282 (url-dav-dispatch-node): Utility routine to call a nodes handler easily. |
288 easily. | 283 (url-dav-process-*): Rename most of the handlers and made them |
289 (url-dav-process-*): Renamed most of the handlers and made them | |
290 use url-dav-dispatch-node where appropriate. | 284 use url-dav-dispatch-node where appropriate. |
291 (url-dav-process-DAV:prop): Instead of using the dav-data-type | 285 (url-dav-process-DAV:prop): Instead of using the dav-data-type |
292 property to dispatch the node, now uses dav-dispatch-node so that | 286 property to dispatch the node, now uses dav-dispatch-node so that |
293 it is easy to add parsers for special nodes. | 287 it is easy to add parsers for special nodes. |
294 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype) | 288 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype) |
309 parsing of an XML response from WebDAV. This handles all the | 303 parsing of an XML response from WebDAV. This handles all the |
310 logic of checking the response content-type to make sure it is | 304 logic of checking the response content-type to make sure it is |
311 XML, parses the tree, and interprets the tree. | 305 XML, parses the tree, and interprets the tree. |
312 (url-dav-process-response): Make sure that all responses look | 306 (url-dav-process-response): Make sure that all responses look |
313 like a DAV:multistatus response, even if we get a singleton | 307 like a DAV:multistatus response, even if we get a singleton |
314 response back. This will just make the upper layer logic | 308 response back. This will just make the upper layer logic simpler. |
315 simpler. | |
316 (url-dav-get-properties): New optional argument NAMESPACES that | 309 (url-dav-get-properties): New optional argument NAMESPACES that |
317 specifies what namespaces to use in the XML request. | 310 specifies what namespaces to use in the XML request. |
318 (url-dav-get-properties): Got rid of the D: namespace in | 311 (url-dav-get-properties): Got rid of the D: namespace in |
319 requests. It doesn't save that much space. Just use DAV: | 312 requests. It doesn't save that much space. Just use DAV: |
320 (url-dav-lock-identifier): New variable that should hold a URI | 313 (url-dav-lock-identifier): New variable that should hold a URI |
329 | 322 |
330 * lisp/url-dav.el (url-dav-get-properties): New argument | 323 * lisp/url-dav.el (url-dav-get-properties): New argument |
331 ATTRIBUTES that allows you to ask for specific properties instead | 324 ATTRIBUTES that allows you to ask for specific properties instead |
332 of getting all properties via DAV:allprop. | 325 of getting all properties via DAV:allprop. |
333 | 326 |
334 * lisp/url-http.el (url-http-real-basic-auth-storage): New | 327 * lisp/url-http.el (url-http-real-basic-auth-storage): |
335 variable for normal HTTP basic authentication. | 328 New variable for normal HTTP basic authentication. |
336 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy | 329 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy |
337 basic authentication. | 330 basic authentication. |
338 (url-http-handle-authentication): Follow new semantics for | 331 (url-http-handle-authentication): Follow new semantics for |
339 url-basic-auth-storage. | 332 url-basic-auth-storage. |
340 | 333 |
341 * lisp/url-auth.el (url-basic-auth-storage): Changed meaning of | 334 * lisp/url-auth.el (url-basic-auth-storage): Change meaning of |
342 this variable. It is now a symbol pointing to where we really | 335 this variable. It is now a symbol pointing to where we really |
343 want to store the authorization information. This fixes proxy | 336 want to store the authorization information. This fixes proxy |
344 auth and normal basic auth because of some local bindings that | 337 auth and normal basic auth because of some local bindings that |
345 were making it impossible to store the credentials in the global | 338 were making it impossible to store the credentials in the global |
346 binding. | 339 binding. |
347 (url-basic-auth): Make sure we dereference url-basic-auth-storage | 340 (url-basic-auth): Make sure we dereference url-basic-auth-storage |
348 everywhere. | 341 everywhere. |
349 | 342 |
350 * lisp/url-util.el (url-debug): Added new types 'dav and | 343 * lisp/url-util.el (url-debug): Add new types 'dav and |
351 'retrieval to the customization list. | 344 'retrieval to the customization list. |
352 | 345 |
353 * lisp/url.el (url-retrieve-synchronously): Put in some debugging | 346 * lisp/url.el (url-retrieve-synchronously): Put in some debugging |
354 statements. | 347 statements. |
355 | 348 |
356 * lisp/url-http.el (url-http-head-file-attributes): Renamed old | 349 * lisp/url-http.el (url-http-head-file-attributes): Rename old |
357 url-http-file-attributes so that we can have a smarter one that | 350 url-http-file-attributes so that we can have a smarter one that |
358 tries WebDAV first, then HEAD. | 351 tries WebDAV first, then HEAD. |
359 (url-http-file-attributes): New smart version that tries WebDAV | 352 (url-http-file-attributes): New smart version that tries WebDAV first. |
360 first. | |
361 (url-http-options): New function that returns information gleaned | 353 (url-http-options): New function that returns information gleaned |
362 from an OPTIONS request for a URL. Returns a property list | 354 from an OPTIONS request for a URL. Returns a property list |
363 returning the methods supported for the resource, what DAV and | 355 returning the methods supported for the resource, what DAV and |
364 DASL levels are supported, p3p information, and whether | 356 DASL levels are supported, p3p information, and whether |
365 byte-ranges are supported or not. | 357 byte-ranges are supported or not. |
384 DAV:supportedlock information). | 376 DAV:supportedlock information). |
385 (url-dav-get-properties): Generic interface to get WebDAV | 377 (url-dav-get-properties): Generic interface to get WebDAV |
386 properties for a URL. Can specify an optional `depth' parameter | 378 properties for a URL. Can specify an optional `depth' parameter |
387 to tell the web server how many directory (collection) levels to | 379 to tell the web server how many directory (collection) levels to |
388 recurse when retrieving the property lists. Returns an assoc | 380 recurse when retrieving the property lists. Returns an assoc |
389 list keyed off of the resource, the cdr of which is a property | 381 list keyed off of the resource, the cdr of which is a property list. |
390 list. | |
391 (url-dav-datatype-attribute): We support the XML-Data note | 382 (url-dav-datatype-attribute): We support the XML-Data note |
392 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the | 383 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the |
393 datatypes of attributes are. Currently only date, dateTime, int, | 384 datatypes of attributes are. Currently only date, dateTime, int, |
394 number, float, boolean, and uri are supported. | 385 number, float, boolean, and uri are supported. |
395 | 386 |
400 absolute, so just return `t'. | 391 absolute, so just return `t'. |
401 (expand-file-name): New hooked version. If the fragment is an | 392 (expand-file-name): New hooked version. If the fragment is an |
402 absolute file or URL, then expand it relative to '/'. | 393 absolute file or URL, then expand it relative to '/'. |
403 (url-handler-regexp): New regexp for specific schemes that we | 394 (url-handler-regexp): New regexp for specific schemes that we |
404 want the file-name-handlers to work off of. | 395 want the file-name-handlers to work off of. |
405 (url-setup-file-name-handlers): Use it when installing the | 396 (url-setup-file-name-handlers): Use it when installing the handlers. |
406 handlers. | |
407 | 397 |
408 * lisp/url-http.el (url-http-find-free-connection): Better logging | 398 * lisp/url-http.el (url-http-find-free-connection): Better logging |
409 about whether we are reusing an existing connection or not. | 399 about whether we are reusing an existing connection or not. |
410 | 400 |
411 * lisp/url-methods.el (url-scheme-register-proxy): Fixed bad call | 401 * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call |
412 to string-match instead of match-string (and with reversed | 402 to string-match instead of match-string (and with reversed |
413 arguments even). | 403 arguments even). |
414 | 404 |
415 * lisp/url-http.el (url-http-debug): Changed to now use the | 405 * lisp/url-http.el (url-http-debug): Change to now use the |
416 generic url-debug function to do the actual logging. Still a | 406 generic url-debug function to do the actual logging. Still a |
417 separate function so that we can do our magic on the network | 407 separate function so that we can do our magic on the network |
418 connection if the user quits while we are downloading. | 408 connection if the user quits while we are downloading. |
419 | 409 |
420 * lisp/url-handlers.el (url-file-handler): Now logs the result of | 410 * lisp/url-handlers.el (url-file-handler): Now logs the result of |
421 the hooked or real call. | 411 the hooked or real call. |
422 | 412 |
423 * lisp/url-util.el (url-debug): New function for generic debug | 413 * lisp/url-util.el (url-debug): New function for generic debug logging. |
424 logging. | |
425 | 414 |
426 2001-11-28 William M. Perry <wmperry@gnu.org> | 415 2001-11-28 William M. Perry <wmperry@gnu.org> |
427 | 416 |
428 * lisp/url-imap.el (url-imap-open-host): Use backquote. | 417 * lisp/url-imap.el (url-imap-open-host): Use backquote. |
429 (url-imap): Now switches to 'login as the imap authenticator if | 418 (url-imap): Now switches to 'login as the imap authenticator if |
433 push to replace some strange logic in here. | 422 push to replace some strange logic in here. |
434 (url-run-real-handler): New function to run the real hooks in | 423 (url-run-real-handler): New function to run the real hooks in |
435 case we get a false positive or an operation that we do not | 424 case we get a false positive or an operation that we do not |
436 support. The old way disabled _ALL_ file-name-handlers when | 425 support. The old way disabled _ALL_ file-name-handlers when |
437 we hit something we didn't understand - this disables JUST us. | 426 we hit something we didn't understand - this disables JUST us. |
438 (url-file-handler): Removed the logic about removing the leading | 427 (url-file-handler): Remove the logic about removing the leading |
439 '/' off of the first argument... it may not be safe to always | 428 '/' off of the first argument... it may not be safe to always |
440 assume that the first argument is the one we are acting on - | 429 assume that the first argument is the one we are acting on - |
441 `default' is the second argument for expand-file-name for | 430 `default' is the second argument for expand-file-name for example. |
442 example. | |
443 (url-setup-file-name-handlers): Use url-nonrelative-link | 431 (url-setup-file-name-handlers): Use url-nonrelative-link |
444 directly. This means that you must type in the URL directly | 432 directly. This means that you must type in the URL directly |
445 without prefixing it with a '/'. | 433 without prefixing it with a '/'. |
446 | 434 |
447 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel") | 435 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel") |
462 (url-insert-file-contents): When inserting the file contents, | 450 (url-insert-file-contents): When inserting the file contents, |
463 use a save-excursion so that we behave just like the original. | 451 use a save-excursion so that we behave just like the original. |
464 | 452 |
465 2001-11-25 William M. Perry <wmperry@gnu.org> | 453 2001-11-25 William M. Perry <wmperry@gnu.org> |
466 | 454 |
467 * lisp/url-util.el (url-hexify-string): Fixed bad use of | 455 * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat. |
468 mapconcat. | |
469 | 456 |
470 2001-11-24 William M. Perry <wmperry@gnu.org> | 457 2001-11-24 William M. Perry <wmperry@gnu.org> |
471 | 458 |
472 * lisp/url-about.el (url-about): New loader scheme to handle | 459 * lisp/url-about.el (url-about): New loader scheme to handle |
473 about:foo URLs. Automatically tries to find a `url-about-foo' | 460 about:foo URLs. Automatically tries to find a `url-about-foo' |
485 | 472 |
486 2001-11-22 William M. Perry <wmperry@gnu.org> | 473 2001-11-22 William M. Perry <wmperry@gnu.org> |
487 | 474 |
488 * lisp/url-https.el: Fixed definition of url-https - was using the | 475 * lisp/url-https.el: Fixed definition of url-https - was using the |
489 wrong signature. Too much cut & paste. | 476 wrong signature. Too much cut & paste. |
490 (url-https-create-secure-wrapper): Fixed so that url-https works | 477 (url-https-create-secure-wrapper): Fix so that url-https works |
491 at all. Was not taking a null `method' into account when calling | 478 at all. Was not taking a null `method' into account when calling |
492 the wrapped function so url-https tried to call url-http-nil. | 479 the wrapped function so url-https tried to call url-http-nil. *sigh* |
493 *sigh* | |
494 | 480 |
495 * lisp/url-http.el | 481 * lisp/url-http.el |
496 (url-http-chunked-encoding-after-change-function): Added some | 482 (url-http-chunked-encoding-after-change-function): Add some |
497 feedback when not debugging about what content-type and chunk # we | 483 feedback when not debugging about what content-type and chunk # we |
498 are reading. | 484 are reading. |
499 (url-http-chunked-encoding-after-change-function): Use a marker | 485 (url-http-chunked-encoding-after-change-function): Use a marker |
500 for url-http-chunked-start so that we can safely delete the | 486 for url-http-chunked-start so that we can safely delete the |
501 chunk-tokens instead of just marking them as invisible. | 487 chunk-tokens instead of just marking them as invisible. |
517 the debug messages using `message' as well as sending them to the | 503 the debug messages using `message' as well as sending them to the |
518 buffer. | 504 buffer. |
519 (url-http-chunked-encoding-after-change-function): Got rid of the | 505 (url-http-chunked-encoding-after-change-function): Got rid of the |
520 no-initial-crlf. Had an epiphany and I can just infer this from | 506 no-initial-crlf. Had an epiphany and I can just infer this from |
521 url-http-chunked-counter being 0. | 507 url-http-chunked-counter being 0. |
522 (url-http-chunked-encoding-after-change-function): Moved the debug | 508 (url-http-chunked-encoding-after-change-function): Move the debug |
523 statement about reading chunk #foo into the loop so that each | 509 statement about reading chunk #foo into the loop so that each |
524 chunk will have a log message associated with it. | 510 chunk will have a log message associated with it. |
525 (url-http-chunked-encoding-after-change-function): Make sure to | 511 (url-http-chunked-encoding-after-change-function): Make sure to |
526 set read-next-chunk to nil when the regular expression match fails | 512 set read-next-chunk to nil when the regular expression match fails |
527 to fire. Otherwise we could loop forever. | 513 to fire. Otherwise we could loop forever. |
528 (url-http-chunked-encoding-after-change-function): Tweaked the | 514 (url-http-chunked-encoding-after-change-function): Tweak the |
529 regular expression to be a little less greedy when looking for a | 515 regular expression to be a little less greedy when looking for a chunk. |
530 chunk. | |
531 (url-http-wait-for-headers-change-function): Remove the last | 516 (url-http-wait-for-headers-change-function): Remove the last |
532 argument when calling | 517 argument when calling |
533 url-http-chunked-encoding-after-change-function. It is no longer | 518 url-http-chunked-encoding-after-change-function. It is no longer |
534 needed. I should use my brain sometime. | 519 needed. I should use my brain sometime. |
535 | 520 |
536 * lisp/url-vars.el (and): Fixed feature test for xemacs and | 521 * lisp/url-vars.el (and): Fix feature test for xemacs and |
537 coding-system-list behaviour. | 522 coding-system-list behaviour. |
538 | 523 |
539 * lisp/url-http.el | 524 * lisp/url-http.el |
540 (url-http-chunked-encoding-after-change-function): Added optional | 525 (url-http-chunked-encoding-after-change-function): Add optional |
541 no-initial-crlf flag that modifies the regular expression. This | 526 no-initial-crlf flag that modifies the regular expression. |
542 is only set from url-http-wait-for-headers-change-function so that | 527 This is only set from url-http-wait-for-headers-change-function so that |
543 the initial CRLF in the HTTP headers is not swallowed. | 528 the initial CRLF in the HTTP headers is not swallowed. |
544 (url-http-chunked-encoding-after-change-function): Fixed a few | 529 (url-http-chunked-encoding-after-change-function): Fix a few |
545 off-by-one errors by using (match-end 0) instead of 1. | 530 off-by-one errors by using (match-end 0) instead of 1. |
546 (url-http-chunked-encoding-after-change-function): Added a few | 531 (url-http-chunked-encoding-after-change-function): Add a few |
547 url-http-debug calls to help track down problems in the chunked | 532 url-http-debug calls to help track down problems in the chunked |
548 encoding. | 533 encoding. |
549 (url-http-chunked-encoding-after-change-function): The chunk | 534 (url-http-chunked-encoding-after-change-function): The chunk |
550 reading in here is now in a while loop so that if Emacs feeds us a | 535 reading in here is now in a while loop so that if Emacs feeds us a |
551 chunk of data that happens to contain more than one 'chunk' | 536 chunk of data that happens to contain more than one 'chunk' |
582 * lisp/url-http.el (url-http-create-request): Check cache for | 567 * lisp/url-http.el (url-http-create-request): Check cache for |
583 proxy-obj, if defined, rather than url. | 568 proxy-obj, if defined, rather than url. |
584 (url-http): Use dolist, not mapc (runtime cl dependency). | 569 (url-http): Use dolist, not mapc (runtime cl dependency). |
585 | 570 |
586 * lisp/url-methods.el: Maybe require cl at runtime. | 571 * lisp/url-methods.el: Maybe require cl at runtime. |
587 (url-scheme-register-proxy): Fix fetching from environment. Don't | 572 (url-scheme-register-proxy): Fix fetching from environment. |
588 concat a number. | 573 Don't concat a number. |
589 | 574 |
590 2001-10-01 Dave Love <fx@gnu.org> | 575 2001-10-01 Dave Love <fx@gnu.org> |
591 | 576 |
592 * lisp/url-parse.el: Use modern backquote syntax. | 577 * lisp/url-parse.el: Use modern backquote syntax. |
593 | 578 |
601 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add | 586 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add |
602 User-Agent. | 587 User-Agent. |
603 | 588 |
604 2001-09-20 Dave Love <fx@gnu.org> | 589 2001-09-20 Dave Love <fx@gnu.org> |
605 | 590 |
606 * lisp/url-http.el (url-http-create-request): Don't concat a | 591 * lisp/url-http.el (url-http-create-request): Don't concat a number. |
607 number. | |
608 | 592 |
609 2001-06-05 Dave Love <fx@gnu.org> | 593 2001-06-05 Dave Love <fx@gnu.org> |
610 | 594 |
611 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob | 595 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob |
612 tcp-binary-process-input-services. Remove function wrapper for | 596 tcp-binary-process-input-services. Remove function wrapper for lambda. |
613 lambda. | |
614 (url-retrieve): Barf with sensible message if url-type is null. | 597 (url-retrieve): Barf with sensible message if url-type is null. |
615 | 598 |
616 * lisp/url-http.el (url-http): Don't try to set process | 599 * lisp/url-http.el (url-http): Don't try to set process |
617 coding-system here -- done in url-gw. | 600 coding-system here -- done in url-gw. |
618 | 601 |
619 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove. | 602 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove. |
620 (url-open-stream): Bind coding-system-for{read,write} when setting | 603 (url-open-stream): Bind coding-system-for{read,write} when setting |
621 up the connexion. Don't call url-gw-inhibit-code-conversion. | 604 up the connexion. Don't call url-gw-inhibit-code-conversion. |
605 | |
606 2001-05-24 William M. Perry <wmperry@gnu.org> | |
607 | |
608 * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output | |
609 in url-retrieve-synchronously. | |
622 | 610 |
623 2001-05-23 William M. Perry <wmperry@gnu.org> | 611 2001-05-23 William M. Perry <wmperry@gnu.org> |
624 | 612 |
625 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on | 613 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on |
626 accept-process-output. This is evidently causing hangs in Emacs | 614 accept-process-output. This is evidently causing hangs in Emacs |
640 (url-retrieve-synchronously): Use a much smaller timeout when | 628 (url-retrieve-synchronously): Use a much smaller timeout when |
641 doing the accept-process-output. This gets rid of the long delays | 629 doing the accept-process-output. This gets rid of the long delays |
642 if you are on a fast net connection and retrieve small documents | 630 if you are on a fast net connection and retrieve small documents |
643 that finish asynchronously before the first accept-process-output | 631 that finish asynchronously before the first accept-process-output |
644 can be run. All hail broadband and 100Mb in the house! | 632 can be run. All hail broadband and 100Mb in the house! |
645 (url-retrieve-synchronously): Added documentation for this function. | 633 (url-retrieve-synchronously): Add documentation for this function. |
646 (url-retrieve): Ditto. | 634 (url-retrieve): Ditto. |
647 (url-mm-url): Ditto. | 635 (url-mm-url): Ditto. |
648 | 636 |
649 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some | 637 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some |
650 documentation strings. Ok, so I'm anal. | 638 documentation strings. Ok, so I'm anal. |
660 | 648 |
661 * lisp/url-nfs.el: Fix `file-truname' typo. | 649 * lisp/url-nfs.el: Fix `file-truname' typo. |
662 | 650 |
663 * lisp/url-news.el: Require cl when compiling. | 651 * lisp/url-news.el: Require cl when compiling. |
664 (url-warn, gnus-group-read-ephemeral-group): Autoload. | 652 (url-warn, gnus-group-read-ephemeral-group): Autoload. |
665 (url-nntp-default-port, url-news-default-port, url-nntp): Deleted. | 653 (url-nntp-default-port, url-news-default-port, url-nntp): Delete. |
666 (url-news-fetch-newsgroup): Declare gnus-group-buffer special. | 654 (url-news-fetch-newsgroup): Declare gnus-group-buffer special. |
667 | 655 |
668 * lisp/url-util.el (mule-decode-string): Don't autoload. | 656 * lisp/url-util.el (mule-decode-string): Don't autoload. |
669 (url-hexify-string): Just barf on multibyte characters. | 657 (url-hexify-string): Just barf on multibyte characters. |
670 (url-generate-unique-filename): New function. | 658 (url-generate-unique-filename): New function. |
716 (url-mime-charset-string): New variable. | 704 (url-mime-charset-string): New variable. |
717 | 705 |
718 * lisp/url-http.el: Doc fixes. | 706 * lisp/url-http.el: Doc fixes. |
719 (url-http-create-request): Rearrange how we assemble the request. | 707 (url-http-create-request): Rearrange how we assemble the request. |
720 Avoid generating bogus requests with an empty real-fname. | 708 Avoid generating bogus requests with an empty real-fname. |
721 (url-http-handle-authentication): Declare status and success | 709 (url-http-handle-authentication): Declare status and success special. |
722 special. | |
723 (url-http): Call mm-disable-multibyte. Set process buffer's | 710 (url-http): Call mm-disable-multibyte. Set process buffer's |
724 coding systems to binary. | 711 coding systems to binary. |
725 | 712 |
726 * lisp/url-misc.el (url-data): Call mm-disable-multibyte. | 713 * lisp/url-misc.el (url-data): Call mm-disable-multibyte. |
727 | 714 |
728 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' | 715 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo. |
729 typo. | |
730 (url-file-find-possibly-compressed-file): Doc fix. | 716 (url-file-find-possibly-compressed-file): Doc fix. |
731 (url-file): Bind coding-system-for-read. Call | 717 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte. |
732 mm-disable-multibyte. | |
733 | 718 |
734 * lisp/url-cache.el: Don't require mule-sysdp. | 719 * lisp/url-cache.el: Don't require mule-sysdp. |
735 (url-store-in-cache): Avoid mule-write-region-no-coding-system. | 720 (url-store-in-cache): Avoid mule-write-region-no-coding-system. |
736 | 721 |
737 * lisp/url.el: Don't require mule-sysdp. | 722 * lisp/url.el: Don't require mule-sysdp. |
738 (url-retrieve): Only set text properties if url is a string. | 723 (url-retrieve): Only set text properties if url is a string. |
739 | 724 |
740 2001-05-14 Dave Love <fx@gnu.org> | 725 2001-05-14 Dave Love <fx@gnu.org> |
741 | 726 |
742 * lisp/url-http.el (url-http-create-request): Declare | 727 * lisp/url-http.el (url-http-create-request): |
743 proxy-object, proxy-info special. | 728 Declare proxy-object, proxy-info special. |
744 (url-http-handle-authentication): Declare success special. | 729 (url-http-handle-authentication): Declare success special. |
745 | 730 |
746 2001-05-12 Dave Love <fx@gnu.org> | 731 2001-05-12 Dave Love <fx@gnu.org> |
747 | 732 |
748 * lisp/url-http.el: Revert last change. | 733 * lisp/url-http.el: Revert last change. |
749 | 734 |
750 2001-05-10 Dave Love <fx@gnu.org> | 735 2001-05-10 Dave Love <fx@gnu.org> |
751 | 736 |
752 * lisp/url-http.el (url-http-generic-after-change-function): Make | 737 * lisp/url-http.el (url-http-generic-after-change-function): |
753 it permanent-local. | 738 Make it permanent-local. |
754 | 739 |
755 2001-05-05 Dave Love <fx@gnu.org> | 740 2001-05-05 Dave Love <fx@gnu.org> |
756 | 741 |
757 * lisp/url-http.el: Autoload some functions. | 742 * lisp/url-http.el: Autoload some functions. |
758 (cl): Require when compiling. | 743 (cl): Require when compiling. |
767 * lisp/url-file.el: Require mailcap. Require cl when compiling. | 752 * lisp/url-file.el: Require mailcap. Require cl when compiling. |
768 Use (featurep 'xemacs). | 753 Use (featurep 'xemacs). |
769 (url-file-build-filename): Bind pos-index. | 754 (url-file-build-filename): Bind pos-index. |
770 (url-file): Call url-find-file-dired, not url-dired-find-file. | 755 (url-file): Call url-find-file-dired, not url-dired-find-file. |
771 | 756 |
772 * lisp/url-dired.el: Add copyright notice. Autoload some | 757 * lisp/url-dired.el: Add copyright notice. Autoload some functions. |
773 functions. | |
774 (url-dired-minor-mode-map): Use (featurep 'xemacs). | 758 (url-dired-minor-mode-map): Use (featurep 'xemacs). |
775 (url-dired-find-file-mouse): Use mouse-set-point, not event-point. | 759 (url-dired-find-file-mouse): Use mouse-set-point, not event-point. |
776 (url-find-file-dired): Renamed from one version of | 760 (url-find-file-dired): Rename from one version of url-dired-find-file. |
777 url-dired-find-file. | |
778 | 761 |
779 * lisp/url-cid.el: Don't require widget. Require mm-decode | 762 * lisp/url-cid.el: Don't require widget. Require mm-decode |
780 unconditionally. | 763 unconditionally. |
781 | 764 |
782 * lisp/url-util.el: Autoload mule-decode-string, | 765 * lisp/url-util.el: Autoload mule-decode-string, |
792 2001-05-04 Dave Love <fx@gnu.org> | 775 2001-05-04 Dave Love <fx@gnu.org> |
793 | 776 |
794 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file, | 777 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file, |
795 not non-existent mailcap-generate-unique-filename. | 778 not non-existent mailcap-generate-unique-filename. |
796 | 779 |
797 * lisp/url-privacy.el: Require url-vars. Require cl when | 780 * lisp/url-privacy.el: Require url-vars. Require cl when compiling. |
798 compiling. | 781 |
799 | 782 * lisp/url-parse.el: Require url-vars. |
800 * lisp/url-parse.el: Require url-vars. Autoload | 783 Autoload url-scheme-get-property. |
801 url-scheme-get-property. | |
802 | 784 |
803 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs | 785 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs |
804 with featurep. | 786 with featurep. |
805 | 787 |
806 * lisp/url-mailto.el: Require cl when compiling. | 788 * lisp/url-mailto.el: Require cl when compiling. |
807 | 789 |
808 * lisp/url-cookie.el (url-cookie-handle-set-cookie): Call | 790 * lisp/url-cookie.el (url-cookie-handle-set-cookie): |
809 url-parse-args, not url-util-parse-args. | 791 Call url-parse-args, not url-util-parse-args. |
810 | 792 |
811 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'. | 793 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'. |
812 | 794 |
813 2001-04-09 Dave Love <fx@gnu.org> | 795 2001-04-09 Dave Love <fx@gnu.org> |
814 | 796 |
845 * lisp/url.el: Require mm-decode, mm-view when compiling. | 827 * lisp/url.el: Require mm-decode, mm-view when compiling. |
846 <not (fboundp 'puthash)>: Define puthash and | 828 <not (fboundp 'puthash)>: Define puthash and |
847 autoload other has functions rather than using cl-...hash. | 829 autoload other has functions rather than using cl-...hash. |
848 (url-warn): Define. | 830 (url-warn): Define. |
849 | 831 |
850 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el: Avoid | 832 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el: |
851 cl-...hash functions. | 833 Avoid cl-...hash functions. |
852 | 834 |
853 * lisp/url-history.el: Avoid cl-...hash functions. | 835 * lisp/url-history.el: Avoid cl-...hash functions. |
854 (url): Require. | 836 (url): Require. |
855 | 837 |
856 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when | 838 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling. |
857 compiling. | |
858 | 839 |
859 2000-10-03 William M. Perry <wmperry@aventail.com> | 840 2000-10-03 William M. Perry <wmperry@aventail.com> |
860 | 841 |
861 * lisp/url-util.el (url-get-url-at-point): guard against 'url' | 842 * lisp/url-util.el (url-get-url-at-point): Guard against 'url' |
862 getting set to nil due to bad string matching. Subsequent matches | 843 getting set to nil due to bad string matching. Subsequent matches |
863 would then choke because we passed string-match a nil. | 844 would then choke because we passed string-match a nil. |
864 | 845 |
865 * lisp/url-http.el (url-http-parse-headers): Need to make the | 846 * lisp/url-http.el (url-http-parse-headers): Need to make the |
866 connection as 'free' when we get a 304 response (found in cache), | 847 connection as 'free' when we get a 304 response (found in cache), |
868 headers and dispatch to the callback again. Eek. | 849 headers and dispatch to the callback again. Eek. |
869 | 850 |
870 2000-10-02 William M. Perry <wmperry@aventail.com> | 851 2000-10-02 William M. Perry <wmperry@aventail.com> |
871 | 852 |
872 * lisp/url-http.el (url-http-chunked-encoding-after-change-function): | 853 * lisp/url-http.el (url-http-chunked-encoding-after-change-function): |
873 implemented chunked transfer-coding. | 854 implement chunked transfer-coding. |
874 (url-http-create-request): We can now advertise ourselves as a 1.1 | 855 (url-http-create-request): We can now advertise ourselves as a 1.1 |
875 compliant browser! | 856 compliant browser! |
876 | 857 |
877 2000-07-28 Sam Steingold <sds@gnu.org> | 858 2000-07-28 Sam Steingold <sds@gnu.org> |
878 | 859 |
879 * lisp/url-methods.el (url-scheme-default-loader): `callback' and | 860 * lisp/url-methods.el (url-scheme-default-loader): `callback' and |
880 `cbargs' are optional args (for calling from w3). | 861 `cbargs' are optional args (for calling from w3). |
881 (url-scheme-register-proxy): typos fixes: `url-match' replaced | 862 (url-scheme-register-proxy): Typos fixes: `url-match' replaced |
882 with `string-match' and `protocol' with `scheme'. | 863 with `string-match' and `protocol' with `scheme'. |
883 | 864 |
884 2000-07-18 Sam Steingold <sds@gnu.org> | 865 2000-07-18 Sam Steingold <sds@gnu.org> |
885 | 866 |
886 * lisp/url-handlers.el (require 'url): For | 867 * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously. |
887 `url-retrieve-synchronously'. | 868 * lisp/url-history.el (url-history-save-interval): Avoid circularity. |
888 * lisp/url-history.el (url-history-save-interval): Avoid | |
889 circularity. | |
890 | 869 |
891 2000-07-10 William M. Perry <wmperry@aventail.com> | 870 2000-07-10 William M. Perry <wmperry@aventail.com> |
892 | 871 |
893 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in | 872 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in |
894 mule, and the character requested is > 255, then return "~" | 873 mule, and the character requested is > 255, then return "~" |
895 instead of letting whoever call us signal an error when they try | 874 instead of letting whoever call us signal an error when they try |
896 to insert the character. | 875 to insert the character. |
897 (mule-make-iso-character): Also wrap the whole thing in a | 876 (mule-make-iso-character): Also wrap the whole thing in a |
898 condition case and return "~" on error, in case make-char bombs on | 877 condition case and return "~" on error, in case make-char bombs on us. |
899 us. | 878 |
900 | 879 * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader |
901 * lisp/url-cid.el (url-cid): Fixed stupid mistake in the loader | |
902 for cid parts. | 880 for cid parts. |
903 | 881 |
904 * lisp/url-util.el (url-display-percentage): New routine that uses | 882 * lisp/url-util.el (url-display-percentage): New routine that uses |
905 the progress bar under XEmacs if available. Looks very sexy under | 883 the progress bar under XEmacs if available. Looks very sexy under |
906 XEmacs/GTK hacked to use the GNOME statusbar. | 884 XEmacs/GTK hacked to use the GNOME statusbar. |
910 url-display-percentage instead of url-lazy-message. | 888 url-display-percentage instead of url-lazy-message. |
911 | 889 |
912 2000-01-27 William M. Perry <wmperry@aventail.com> | 890 2000-01-27 William M. Perry <wmperry@aventail.com> |
913 | 891 |
914 * lisp/url-file.el (url-file-build-filename): Work around for | 892 * lisp/url-file.el (url-file-build-filename): Work around for |
915 differences in ange-ftp / efs handling of port numbers other than | 893 differences in ange-ftp / efs handling of port numbers other than 21. |
916 21. | |
917 | 894 |
918 1999-12-24 William M. Perry <wmperry@aventail.com> | 895 1999-12-24 William M. Perry <wmperry@aventail.com> |
919 | 896 |
920 * lisp/url-irc.el: Added pointer to draft specification for the | 897 * lisp/url-irc.el: Added pointer to draft specification for the |
921 IRC URL so people don't think I'm crazy. | 898 IRC URL so people don't think I'm crazy. |
922 | 899 |
923 * configure.in: Checks to make sure that Gnus was found, since we | 900 * configure.in: Checks to make sure that Gnus was found, since we |
924 HAVE to have it now. Removed conditional compilation of | 901 HAVE to have it now. Removed conditional compilation of url-cid.el |
925 url-cid.el | |
926 | 902 |
927 1999-12-16 Eric Marsden <emarsden@mail.dotcom.fr> | 903 1999-12-16 Eric Marsden <emarsden@mail.dotcom.fr> |
928 | 904 |
929 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in | 905 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in |
930 () to have periods at the end of the chunk. | 906 () to have periods at the end of the chunk. |
931 | 907 |
932 1999-12-14 William M. Perry <wmperry@aventail.com> | 908 1999-12-14 William M. Perry <wmperry@aventail.com> |
933 | 909 |
934 * lisp/url-misc.el (url-man): Implemented `man' URL types. | 910 * lisp/url-misc.el (url-man): Implement `man' URL types. |
935 (url-info): Autoload. | 911 (url-info): Autoload. |
936 (url-man): Ditto. | 912 (url-man): Ditto. |
937 (url-rlogin): Ditto. | 913 (url-rlogin): Ditto. |
938 (url-telnet): Ditto. | 914 (url-telnet): Ditto. |
939 (url-tn3270): Ditto. | 915 (url-tn3270): Ditto. |
973 the Makefile does that for us. We just need to provide what files | 949 the Makefile does that for us. We just need to provide what files |
974 to load/functions to run. | 950 to load/functions to run. |
975 | 951 |
976 * lisp/url-imap.el (url-imap-open-host): Need to bind | 952 * lisp/url-imap.el (url-imap-open-host): Need to bind |
977 nnimap-server-buffer or `nnimap-open-server' chokes trying to use | 953 nnimap-server-buffer or `nnimap-open-server' chokes trying to use |
978 the current buffer as the IMAP server buffer, which fails | 954 the current buffer as the IMAP server buffer, which fails miserably. |
979 miserably. | |
980 | 955 |
981 1999-12-11 Simon Josefsson <jas@pdc.kth.se> | 956 1999-12-11 Simon Josefsson <jas@pdc.kth.se> |
982 | 957 |
983 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls. | 958 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls. |
984 | 959 |
1007 1999-12-06 William M. Perry <wmperry@aventail.com> | 982 1999-12-06 William M. Perry <wmperry@aventail.com> |
1008 | 983 |
1009 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule | 984 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule |
1010 4.1 gracefully | 985 4.1 gracefully |
1011 | 986 |
1012 * lisp/url-news.el: Reimplemented news and nntp URL support. No | 987 * lisp/url-news.el: Reimplemented news and nntp URL support. |
1013 longer bothers to check for outdated Gnus versions, since this | 988 No longer bothers to check for outdated Gnus versions, since this |
1014 will not work without them anyway. | 989 will not work without them anyway. |
1015 | 990 |
1016 1999-12-05 Dave Love <fx@gnu.org> | 991 1999-12-05 Dave Love <fx@gnu.org> |
1017 | 992 |
1018 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el, | 993 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el, |
1031 | 1006 |
1032 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto as | 1007 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto as |
1033 well as efs. | 1008 well as efs. |
1034 (url-file): Add default content-type of application/octet-stream if none | 1009 (url-file): Add default content-type of application/octet-stream if none |
1035 known. | 1010 known. |
1036 (url-file): Corrected bad call to url-host-is-local-p | 1011 (url-file): Correct bad call to url-host-is-local-p |
1037 | 1012 |
1038 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't | 1013 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't |
1039 like buffer-substring with nil arguments. | 1014 like buffer-substring with nil arguments. |
1040 (url-copy-file): Use mm-destroy-parts instead of just killing | 1015 (url-copy-file): Use mm-destroy-parts instead of just killing |
1041 the buffer. Use defined interfaces when available! | 1016 the buffer. Use defined interfaces when available! |
1070 | 1045 |
1071 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support | 1046 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support |
1072 working. | 1047 working. |
1073 | 1048 |
1074 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to | 1049 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to |
1075 url-parse-args, which had changed the type of arguments it | 1050 url-parse-args, which had changed the type of arguments it expects. |
1076 expects. | |
1077 | 1051 |
1078 * lisp/url-handlers.el (url-insert-file-contents): Ditto. | 1052 * lisp/url-handlers.el (url-insert-file-contents): Ditto. |
1079 (url-copy-file): Ditto. | 1053 (url-copy-file): Ditto. |
1080 | 1054 |
1081 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of | 1055 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of |
1085 AC_FD_CC so they show up in config.log | 1059 AC_FD_CC so they show up in config.log |
1086 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make | 1060 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make |
1087 this always return 't' instead of 'yes' on successfully finding | 1061 this always return 't' instead of 'yes' on successfully finding |
1088 the library. | 1062 the library. |
1089 | 1063 |
1090 * lisp/url-http.el (url-http-parse-headers): Added some | 1064 * lisp/url-http.el (url-http-parse-headers): Add some |
1091 DAV-specific error codes. | 1065 DAV-specific error codes. |
1092 | 1066 |
1093 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed | 1067 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in. |
1094 in. | |
1095 (url-retrieve-synchronously): Duh, make this function actually | 1068 (url-retrieve-synchronously): Duh, make this function actually |
1096 work again. Numerous problems with it, including variable name | 1069 work again. Numerous problems with it, including variable name |
1097 collisions - I love dynamically scoped lisps! | 1070 collisions - I love dynamically scoped lisps! |
1098 | 1071 |
1099 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create | 1072 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create |
1100 wrappers onto the appropriate file-based URLs for | 1073 wrappers onto the appropriate file-based URLs for file-name-handlers. |
1101 file-name-handlers. | |
1102 | 1074 |
1103 * lisp/url-ftp.el: Moved the FTP stuff into it's own file - it | 1075 * lisp/url-ftp.el: Moved the FTP stuff into it's own file - it |
1104 might get messy with file-name-handlers and things. | 1076 might get messy with file-name-handlers and things. |
1105 | 1077 |
1106 * lisp/url-http.el (url-http-clean-headers): Fix problem when | 1078 * lisp/url-http.el (url-http-clean-headers): Fix problem when |
1107 using 'HEAD' requests. Thou shalt not change the length of the | 1079 using 'HEAD' requests. Thou shalt not change the length of the |
1108 region during an after-change-function. | 1080 region during an after-change-function. |
1109 | 1081 |
1110 * lisp/url-methods.el (url-scheme-methods): New variable that | 1082 * lisp/url-methods.el (url-scheme-methods): New variable that |
1111 holds a list of the methods/variables we look for in a URL | 1083 holds a list of the methods/variables we look for in a URL scheme. |
1112 scheme. | |
1113 (url-scheme-get-property): Use it. | 1084 (url-scheme-get-property): Use it. |
1114 | 1085 |
1115 1999-11-29 William M. Perry <wmperry@aventail.com> | 1086 1999-11-29 William M. Perry <wmperry@aventail.com> |
1116 | 1087 |
1117 * lisp/url-http.el (url-http-file-attributes): Reimplemented. | 1088 * lisp/url-http.el (url-http-file-attributes): Reimplement. |
1118 (url-http-file-exists-p): Ditto. | 1089 (url-http-file-exists-p): Ditto. |
1119 | 1090 |
1120 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme. | 1091 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme. |
1121 | 1092 |
1122 * lisp/url-file.el (url-file-create-wrapper): New macro to create | 1093 * lisp/url-file.el (url-file-create-wrapper): New macro to create |
1137 devices.el for just one function. | 1108 devices.el for just one function. |
1138 | 1109 |
1139 * url-methods.el (url-scheme-get-property): Emacs does not have | 1110 * url-methods.el (url-scheme-get-property): Emacs does not have |
1140 the 3rd-argument to plist-get to specify the default. *sigh* | 1111 the 3rd-argument to plist-get to specify the default. *sigh* |
1141 | 1112 |
1142 * url-dired.el (add-minor-mode): Added definition for Emacs. | 1113 * url-dired.el (add-minor-mode): Add definition for Emacs. |
1143 | 1114 |
1144 * url-http.el (url-http-generic-after-change-function): New | 1115 * url-http.el (url-http-generic-after-change-function): |
1145 function, since Emacs does not allow you to change the | 1116 New function, since Emacs does not allow you to change the |
1146 after-change-functions variable from within a function run by | 1117 after-change-functions variable from within a function run by |
1147 said hook. This just hands it off to the REAL function. | 1118 said hook. This just hands it off to the REAL function. |
1148 Side-effect is that this now works on Emacs at all. :) | 1119 Side-effect is that this now works on Emacs at all. :) |
1149 | 1120 |
1150 * Initial checkin of rewritten URL library. | 1121 * Initial checkin of rewritten URL library. |