ChangeLog 66.7 KB
Newer Older
1 2 3 4 5
2007-09-22  Diane Murray  <disumu@x3y2z1.net>

	* url-misc.el (url-generic-emulator-loader): Send the port as a
        string to `url-do-terminal-emulator'.

6 7
2007-09-21  Diane Murray  <disumu@x3y2z1.net>

8 9 10
	* url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus
	method.

11 12 13 14
	* url-util.el (url-get-normalized-date): Pass full timezone
	information to timezone-make-date-arpa-standard, since zone name
	may be unknown.

15 16 17 18 19 20 21
2007-09-03  Diane Murray  <disumu@x3y2z1.net>

	* url-http.el: (url-http-parse-headers): Bind the current buffer
	rather than calling `url-mark-buffer-as-dead' with
	`current-buffer', so that the correct buffer is killed if
	`url-retrieve-synchronously' gets redirected to a new URL.

22 23 24 25 26
2007-08-08  Glenn Morris  <rgm@gnu.org>

	* url-auth.el, url-cache.el, url-dav.el, url-file.el, vc-dav.el:
	Replace `iff' in doc-strings and comments.

27 28 29 30
2007-07-25  Glenn Morris  <rgm@gnu.org>

	* Relicense all FSF files to GPLv3 or later.

31 32 33
2007-05-29  Chong Yidong  <cyd@stupidchicken.com>

	* url-mailto.el (url-mailto): Insert body after
Chong Yidong's avatar
Chong Yidong committed
34
	mail-header-separator if present, so that it is before signature.
35
	Bug reported by Leo <sdl.web@gmail.com>.
36

37 38 39 40
2007-04-15  Chong Yidong  <cyd@stupidchicken.com>

	* url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes.

41 42 43 44 45 46 47
2007-04-13  Chong Yidong  <cyd@stupidchicken.com>

	* url-http.el (url-http-parse-headers): Stop after a set number of
	redirections.  Suggested by Diane Murray.

	* url-vars.el (url-max-redirections): New var.

48
2007-04-01  Diane Murray  <disumu@x3y2z1.net>  (tiny change)
49 50 51 52 53 54 55

	* url-http.el (url-http-handle-cookies): Reverse list returned by
	`mail-fetch-field', so that cookies are set in the correct order.

	* url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
	Deal with wildcard dots in domain values.

56 57 58 59 60 61
2007-03-31  Andreas Seltenreich  <uwi7@rz.uni-karlsruhe.de>

	* url-http.el (url-http-mark-connection-as-busy)
	(url-http-mark-connection-as-free): Clear query-on-exit flag on
	idle connections.

62 63 64 65 66 67 68
2007-02-04  Chong Yidong  <cyd@stupidchicken.com>

	* url-http.el (url-http-connection-opened): New variable.
	(url-http): Initialize it.
	(url-http-async-sentinel): Don't try changing sentinels.
	Run url-http-end-of-document-sentinel if necessary.

Juanma Barranquero's avatar
Juanma Barranquero committed
69 70 71 72
2007-01-29  Juanma Barranquero  <lekktu@gmail.com>

	* url-auth.el (url-get-authentication): Fix typo in docstring.

73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
2007-01-14  Magnus Henoch  <mange@freemail.hu>

	* url-proxy.el (url-proxy-object): Remove.
	(url-proxy): Don't use `url-proxy-object'.  Act according to type of
	proxy (currently only HTTP supported).

	* url.el (url-retrieve-internal): Don't use `url-proxy-object'.

	* url-http.el (url-http-proxy): New variable.
	(url-http-create-request): Use it.  Don't use `url-proxy-object'.
	(url-http): Treat `url' argument as resource to download, and
	dynamic variable `url-using-proxy' as proxy to use.  Set
	`url-current-object' to actual URL, and `url-http-proxy' to proxy
	used.
	(url-http-handle-cookies): Assume that `url-current-object' does
	not point to the proxy used.
	(url-http-async-sentinel): Adapt error message.

Juanma Barranquero's avatar
Juanma Barranquero committed
91 92 93 94
2006-12-10  Juanma Barranquero  <lekktu@gmail.com>

	* url-gw.el (url-gateway-nslookup-program): Doc fix.

Magnus Henoch's avatar
Magnus Henoch committed
95 96 97 98 99 100 101 102 103 104 105 106
2006-12-08  Magnus Henoch  <mange@freemail.hu>

	* url-proxy.el (url-proxy-object): New variable.
	(url-proxy): Bind it instead of `proxy-object'.

	* url-http.el (url-http-create-request): Remove url argument, use
	the buffer-local variable `url-http-target-url' instead.  Both
	callers updated.  Simplify proxy handling.
	(url-http): Don't make proxy-object buffer local.

	* url.el (url-retrieve-internal): Bind url-proxy-object to nil.

107 108 109 110
2006-11-26  Magnus Henoch  <mange@freemail.hu>

	* url-http.el (url-http-wait-for-headers-change-function): Use
	`when' instead of `if' when possible.
111 112 113
	(url-http): Define url-http-response-version.
	(url-http-parse-response): Set it.
	(url-http-parse-headers): Use it to determine keep-alive behavior.
114

115
2006-11-23  Diane Murray  <disumu@x3y2z1.net>  (tiny change)
116 117 118 119 120 121 122

	* url-http.el (url-http-content-length-after-change-function): Use
	`url-lazy-message'.

	* url-util.el (url-display-percentage): Only show a message if
	`url-show-status' is non-nil.

123 124
2006-11-15  Magnus Henoch  <mange@freemail.hu>

125 126 127
	* url-http.el (url-http): Make proxy-object buffer-local, to
	handle proxied asynchronous connections correctly.

128 129
	* url-parse.el (url-generic-parse-url): Use with-temp-buffer.

Juanma Barranquero's avatar
Juanma Barranquero committed
130
2006-11-15  Shun-ichi GOTO  <gotoh@taiyo.co.jp>  (tiny change)
131

Juanma Barranquero's avatar
Juanma Barranquero committed
132 133
	* url-http.el (url-http-wait-for-headers-change-function):
	Defer detection of HTTP 0.9 until we have at least one line.
134

Juanma Barranquero's avatar
Juanma Barranquero committed
135
2006-11-10  Shun-ichi GOTO  <gotoh@taiyo.co.jp>  (tiny change)
136 137 138 139 140 141

	* url-http.el (url-http-mark-connection-as-free)
	(url-http-find-free-connection): Don't treat process with status
	`connect' as free.
	(url-http-async-sentinel): Request correct url.

142 143
2006-11-08  Magnus Henoch  <mange@freemail.hu>

144 145 146 147
	* url-http.el (url-http-handle-authentication): If there are
	several authentication headers, use the strongest available
	method.

148 149 150
	* url.el (url-retrieve-synchronously): Allow quitting when
	inhibit-quit is t.

Juanma Barranquero's avatar
Juanma Barranquero committed
151
2006-11-03  Shun-ichi GOTO  <gotoh@taiyo.co.jp>  (tiny change)
152 153 154 155 156

	* url-http.el (url-http-handle-authentication): If there are
	several authentication headers, use the first with a supported
	method.

157 158 159 160 161
2006-11-01  Magnus Henoch  <mange@freemail.hu>

	* url-http.el (url-http-create-request): Use buffer-local
	equivalents of dynamically bound variables.

162 163 164 165 166
2006-10-29  Magnus Henoch  <mange@freemail.hu>

	* url-gw.el (url-open-stream): Really use asynchronous
	connections (accidentally disabled during debugging).

167 168 169 170
2006-10-28  Magnus Henoch  <mange@freemail.hu>

	* url-http.el (url-http-parse-headers): Fix misplaced paren.

171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187
2006-10-27  Magnus Henoch  <mange@freemail.hu>

	* url-http.el (url-http-mark-connection-as-free): Verify that
	connection is open before saving it.
	(url-http-handle-authentication): Use url-retrieve-internal
	instead of url-retrieve.
	(url-http-parse-headers): Adapt to new callback interface.
	(url-http): Handle non-blocking connections.
	(url-http-async-sentinel): Create.

	* url.el (url-retrieve): Update docstring for new callback interface.
	Remove all code.
	(url-retrieve-internal): Move code from url-retrieve here.

	* url-gw.el (url-open-stream): Use a non-blocking socket for
	`native' gateway method, if available.

188 189
2006-10-16  Magnus Henoch  <mange@freemail.hu>

Juanma Barranquero's avatar
Juanma Barranquero committed
190 191
	* url-http.el (url-https-create-secure-wrapper):
	Always use tls gateway method.
192

193 194
2006-10-12  Magnus Henoch  <mange@freemail.hu>

Juanma Barranquero's avatar
Juanma Barranquero committed
195 196
	* url-http.el (url-http-find-free-connection):
	Handle url-open-stream returning nil.
197

198 199 200 201 202 203
2006-10-11  Magnus Henoch  <mange@freemail.hu>

	* url-https.el: Remove (clashes with url-http on 8+3 systems).

	* url-http.el: Move contents of url-https.el here.  Add autoloads.

204 205 206 207 208 209
2006-10-09  Magnus Henoch  <mange@freemail.hu>

	* url-parse.el (url-generic-parse-url): Handle URLs with empty
	path component and non-empty query component.  Untangle path,
	query and fragment parsing code.  Add references to RFC 3986 in
	comments.
Kim F. Storm's avatar
Kim F. Storm committed
210
	(url-recreate-url-attributes): Start query string with "?", not	";".
211

212 213 214 215 216 217
2006-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-dav.el (url-dav-file-attributes): Simplify.

	* url-http.el (url-http-head-file-attributes): Add device "info".

218 219 220 221 222 223
2006-09-18  Michael Olson  <mwolson@gnu.org>

	* url-methods.el (url-scheme-register-proxy): Handle case where
	getenv returns an empty string for http_proxy.  This prevents an
	error when calling `format' later on.

224
2006-08-31  Diane Murray  <disumu@x3y2z1.net>  (tiny change)
225

Stefan Monnier's avatar
Stefan Monnier committed
226 227 228 229 230 231 232 233
	* url-parse.el (url-recreate-url-attributes): New function, code
	simply moved from `url-recreate-url'.
	(url-recreate-url): Use it.
	Put the `url-target' at the end of the URL after the attributes.

	* url-http.el (url-http-create-request):
	Use `url-recreate-url-attributes' when setting real-fname.

234
2006-08-29  Diane Murray  <disumu@x3y2z1.net>  (tiny change)
Stefan Monnier's avatar
Stefan Monnier committed
235 236 237

	* url-cookie.el (url-cookie-write-file): Really don't use versioned
	backups.
238

239 240 241 242 243
2006-08-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-handlers.el (url-file-local-copy): Tell url-copy-file that the
	dest file will already exist.

244 245 246 247 248 249 250
2006-07-31  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-util.el (url-hexify-string): Only utf-8 encode if it's
	a multibyte string.
	(url-normalize-url): Remove unused var `grok'.
	(url-truncate-url-for-viewing): Remove unused var `tail'.

251 252 253 254 255
2006-07-30  Thien-Thi Nguyen  <ttn@gnu.org>

	* url-util.el (url-hexify-string): Rewrite.
	Suggested by David Smith <davidsmith@acm.org>.

Miles Bader's avatar
Miles Bader committed
256 257 258 259
2006-07-12  Michael Olson  <mwolson@gnu.org>

	* url-irc.el (url-irc-erc): Call erc-handle-irc-url.

260 261 262 263 264 265
2006-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-cookie.el: Remove spurious * in docstrings.
	(url-cookie-write-file): Don't use versioned backups.
	(url-cookie-host-can-set-p): Remove unused var `tmp'.

Stefan Monnier's avatar
Stefan Monnier committed
266
2006-07-04  Andreas Seltenreich  <uwi7@rz.uni-karlsruhe.de>
267 268 269 270

	* url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
	(url-cookie-write-file): Reset url-cookies-changed-since-last-save.

271 272 273 274
2006-05-12  Reiner Steib  <Reiner.Steib@gmx.de>

	* url-http.el (url-http-file-exists-p): Test if status is integer.

Stefan Monnier's avatar
Stefan Monnier committed
275
2006-05-05  Andreas Seltenreich  <seltenreich@gmx.de>
Eli Zaretskii's avatar
Eli Zaretskii committed
276 277 278 279

	* url-http.el (url-http-parse-headers): Don't reuse connection if
	"Connection: close" header was seen.

280 281 282 283 284 285 286 287
2006-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-gw.el (url-open-stream): Don't hide errors.
	(url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.

	* url-handlers.el (url-insert): New function.
	(url-insert-file-contents): Use it.

288 289 290 291 292
2006-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-handlers.el (url-handler-directory-file-name): New handler.
	(url-file-local-copy): Plug race condition security hole.

293 294 295 296 297 298
2006-03-27  Romain Francoise  <romain@orebokech.com>

	* url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
	(url-irc-function): Add rcirc and ERC to the list of IRC clients.
	Default to rcirc, since ZenIRC isn't part of Emacs.

299 300 301 302
2006-03-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-http.el (url-http-find-free-connection): Fix braino in last fix.

303 304 305 306 307 308 309
2006-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-http.el (url-http-find-free-connection): Don't kill the process
	when killing the temp buffer.
	(url-http-symbol-value-in-buffer): Massage to make it clear to the
	byte-compiler that the function is defined.

310 311 312 313 314 315 316 317 318 319
2006-02-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url.el (url-redirect-buffer): New var.
	(url-retrieve-synchronously): Use it to follow redirections.

	* url-http.el: Require `url' rather than try to autoload parts of it.
	(url-http-find-free-connection): `url-open-stream' needs a real buffer.
	(url-http-parse-headers): Set `url-redirect-buffer' when following
	a redirection reply.

320 321 322 323 324 325
2006-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-news.el: Move defvars out of eval-when-compile.
	(url-news-fetch-message-id, url-news-fetch-newsgroup):
	Use with-current-buffer.

326 327
2006-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>

328 329 330
	* url.el (url-retrieve-synchronously): Adjust the workaround so as not
	to stop in the middle of a redirection.

331 332
	* url-vars.el (url-privacy-level): Add setter.

333 334
2006-01-05  Stefan Monnier  <monnier@iro.umontreal.ca>

335 336 337 338 339
	* url-history.el (url-history-hash-table): Initialize in declaration.
	(url-history-parse-history): Don't reset the history.
	(url-history-save-history): Create parent dir if necessary.
	(url-history-save-history): Don't write the initialization of
	url-history-hash-table into the history file.
340
	(url-have-visited-url): Simplify since url-history-hash-table isn't nil.
341 342
	(url-completion-function): Simplify.

343 344 345 346 347 348 349 350 351 352 353 354
	* url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
	(url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
	(url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
	(url-cookie-setup-save-timer): Remove autoload cookies.
	They're only called from files that require url-cookie anyway.

	* url-history.el (url-history-setup-save-timer)
	(url-history-parse-history, url-history-save-history):
	Remove autoload cookies.  They're only called from url.el which requires
	url-history anyway.
	(url-history-parse-history): Don't complain if the file is missing.

355 356 357 358 359 360 361 362
2006-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-handlers.el (url-retrieve-synchronously): Don't autoload.

	* url.el (url-retrieve, url-retrieve-synchronously): Autoload.

	* url-cache.el: Require `url'.

363 364
2005-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>

365 366
	* url-cache.el (url-store-in-cache): Use save-current-buffer.

367 368 369
	* url.el (url-configuration-directory): Don't autoload because the
	default value needs to be computed at run-time, not dump-time.

370 371 372 373 374 375
2005-12-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-cookie.el (url-cookie-write-file): Create parent dir.

	* url.el (url-configuration-directory): Use ~/.emacs.d if possible.

376 377 378 379 380
2005-12-07  Klaus Straubinger  <KSNetz@Arcor.DE>  (tiny change)

	* url-cookie.el (url-cookie-save-interval): Simplify.
	(url-cookie-setup-save-timer): Simplify.

381 382 383 384 385 386
2005-12-04  Klaus Straubinger  <KSNetz@Arcor.DE>  (tiny change)

	* url-history.el (url-history-list): Var deleted.
	(url-history-save-interval): Simplify.
	(url-history-setup-save-timer): Simplify.

Kim F. Storm's avatar
Kim F. Storm committed
387 388 389 390
2005-12-01  Kim F. Storm  <storm@cua.dk>

	* url-history.el (url-history-track): Fix last change.

391 392 393 394 395 396 397 398
2005-12-01  Klaus Straubinger  <KSNetz@Arcor.DE>  (tiny change)

	* url-history.el (url-history-track):
	Call url-history-setup-save-timer in :set function.
	:type allows three alternatives.
	(url-history-setup-save-timer): Test url-history-track.
	* url.el (url-retrieve): Test url-history-track.

Stefan Monnier's avatar
Stefan Monnier committed
399 400 401 402 403 404 405
2005-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-http.el: Use with-current-buffer.
	(url-http-target-url): Rename from url-http-cookies-sources.
	(url-http-parse-headers): Use it.
	(url-http-handle-authentication): Use subst-char-in-string.

406 407 408 409 410
2005-11-16  Juergen Hoetzel  <emacs@hoetzel.info>  (tiny change)

	* url-handlers.el (url-insert-file-contents): Use the charset info
	provided by the HTTP server, if any.

Eli Zaretskii's avatar
Eli Zaretskii committed
411 412
2005-10-20  CHENG Gao  <chenggao@gmail.com>  (tiny change)

413 414
	* url-nfs.el (top level):
	* url-handlers.el (directory-files):
Eli Zaretskii's avatar
Eli Zaretskii committed
415
	* url-file.el (top level):
416
	* url-dired.el (url-dired-minor-mode-map):
Eli Zaretskii's avatar
Eli Zaretskii committed
417 418 419
	* url-http.el (url-http-chunked-encoding-after-change-function):
	Remove XEmacs support.

420 421 422 423
2005-10-15  Richard M. Stallman  <rms@gnu.org>

	* url.el: Don't try to autoload hash table functions.

424 425 426 427 428
2005-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-http.el (url-http-create-request): Avoid incorrect implicit
	unibyte->multibyte conversion.

429 430 431 432 433 434 435
2005-09-17  Richard M. Stallman  <rms@gnu.org>

	* url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.

	* url-mailto.el (url-mailto): Special case `mail'.
	Don't test fboundp of `compose-mail'.

436 437 438 439
2005-09-15  Chong Yidong  <cyd@stupidchicken.com>

	* url-mailto.el (url-mailto): Delete mail buffer after sending
	autogenerated mail.
440
	Call `compose-mail with `new' argument if possible.
441

442 443 444 445
2005-09-13  Chong Yidong  <cyd@stupidchicken.com>

	* url-mailto.el (url-mailto): Always use a new mail buffer.

Chong Yidong's avatar
Chong Yidong committed
446 447 448 449 450 451 452 453 454
2005-09-01  Chong Yidong  <cyd@stupidchicken.com>

	* url-util.el (url-parse-query-string): New optional argument
	allow-newlines allows decoding of newlines.

	* url-mailto.el (url-mailto): Allow newlines in URL arguments.
	Don't lose original "to" value when there is a "to" header.
	Remove carriage return characters in message body.

455 456 457 458 459
2005-08-24  Juanma Barranquero  <lekktu@gmail.com>

	* url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
	* url-http.el (url-http-cookies-sources): Defvar at compile time.

460 461 462 463 464 465 466 467
2005-07-15  Richard M. Stallman  <rms@gnu.org>

	* url-http.el (url-http-parse-headers): Add :redirect arg-pair
	when calling url-retrieve, to indicate a redirect.

	* url.el (url-retrieve): The callback function can get an additional
	keyword arg pair.

Lute Kamstra's avatar
Lute Kamstra committed
468 469 470 471
2005-07-04  Lute Kamstra  <lute@gnu.org>

	Update FSF's address in GPL notices.

Juanma Barranquero's avatar
Juanma Barranquero committed
472 473 474 475 476 477 478 479 480 481 482
2005-07-04  Juanma Barranquero  <lekktu@gmail.com>

	* url-history.el (url-history-track): Doc fix.
	(url-history): Finish `defgroup' description with period.

	* url-cookie.el (url-cookie):
	* url-gw.el (url-gateway):
	* url-news.el (url-news):
	* url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
	Finish `defgroup' description with period.

483 484 485 486 487
2005-06-28  Klaus Straubinger  <KSNetz@Arcor.DE>  (tiny change)

	* url-http.el (url-http-create-request): Call url-recreate-url
	in proxy case.

488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504
2005-06-27  Klaus Straubinger  <KSNetz@Arcor.DE>  (tiny change)

	* url-http.el (url-http-create-request): When computing real-fname,
	call url-filename in both cases.

2005-06-27  Richard M. Stallman  <rms@gnu.org>

	* url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
	(url-cookie-retrieve): Likewise.
	(url-cookie-generate-header-lines): Likewise.
	(url-cookie-handle-set-cookie): Likewise.
	(url-cookie-create): Expect :localpart instead of :path.
	(url-cookie-localpart): Renamed from url-cookie-path.
	(url-cookie-set-localpart): Renamed from url-cookie-set-path.
	(url-cookie-file): Doc fix.
	(url-cookie-p): Add doc string.

505 506 507 508
2005-06-23  Richard M. Stallman  <rms@gnu.org>

	* url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.

Juanma Barranquero's avatar
Juanma Barranquero committed
509 510 511 512 513
2005-06-21  Juanma Barranquero  <lekktu@gmail.com>

	* url-gw.el (url-open-stream):
	* url-vars.el (url-gateway-unplugged): Fix spellings.

Juanma Barranquero's avatar
Juanma Barranquero committed
514 515 516 517 518
2005-06-14  Juanma Barranquero  <lekktu@gmail.com>

	* url-history.el (url-completion-function): Follow error
	conventions.

519 520 521 522
2005-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-file.el (url-file, url-file-asynch-callback): with-current-buffer.

523 524
2005-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
525 526 527 528
	* url-dav.el: Remove most autoload cookies.
	Don't hook into the url-file-handler since it currently breaks all
	non-HTTP URLs.

529 530 531 532 533
	* url-handlers.el (vc-registered): Explicitly disable VC for URL files.

	* url.el (url-retrieve-synchronously): Don't exit precipitously when
	fetching a file via ange-ftp.

Juanma Barranquero's avatar
Juanma Barranquero committed
534 535
2005-06-10  Juanma Barranquero  <lekktu@gmail.com>

536
	* url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
Juanma Barranquero's avatar
Juanma Barranquero committed
537

538 539 540 541 542
2005-05-19  Juanma Barranquero  <lekktu@gmail.com>

	* url-cookie.el (url-cookie-multiple-line):
	Specify group and type in defcustom.

543 544 545 546 547 548 549 550 551 552 553 554 555
2005-05-06  Juanma Barranquero  <lekktu@gmail.com>

	* url-auth.el (url-register-auth-scheme):
	* url-cookie.el (url-cookie-expired-p):
	* url-dav.el (url-dav-process-date-property)
	(url-dav-process-boolean-property, url-dav-process-DAV:status):
	* url-http.el (url-http-chunked-encoding-after-change-function)
	(url-http-wait-for-headers-change-function):
	* url-ns.el (isInNet):
	* url-parse.el (url-generic-parse-url):
	* url-util.el (url-get-normalized-date): Replace `string-to-int'
	by `string-to-number'.

556 557 558 559 560
2005-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url.el (url-retrieve-synchronously): Work around the fact that
	url-http sometimes doesn't call the callback.

Lute Kamstra's avatar
Lute Kamstra committed
561 562 563 564
2005-04-04  Lute Kamstra  <lute@gnu.org>

	* url-handlers.el (url-handler-mode): Specify :group.

565 566 567 568 569
2005-02-26  James Cloos  <cloos@jhcloos.com>  (tiny change)

	* url-history.el (url-have-visited-url): Don't barf if
	url-history-hash-table is nil.

570 571 572 573
2005-02-14  Michael Welsh Duggan  <md5i@cs.cmu.edu>

	* url-http.el (url-http-parse-headers): Test url-automatic-caching.

Eli Zaretskii's avatar
Eli Zaretskii committed
574 575
2005-01-22  Klaus Straubinger  <KSNetz@Arcor.DE>  (tiny change)

Eli Zaretskii's avatar
Eli Zaretskii committed
576 577
	* url-http.el (url-http-parse-headers) <302>: Reset url-http-data
	to nil, like for the 303 response.
Eli Zaretskii's avatar
Eli Zaretskii committed
578

579 580 581 582 583
2005-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url.el (url-retrieve-synchronously): Use accept-process-output rather
	than sit-for.

584 585 586 587 588
2005-01-03  Klaus Straubinger  <ksnetz@arcor.de>  (tiny change)

	* url-http.el (url-http-handle-authentication):
	Don't kill the current buffer.

589 590 591 592
2004-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-handlers.el: Don't `require' everything eagerly.

593 594 595 596 597 598 599
2004-11-30  Paul Pogonyshev  <pogonyshev@gmx.net>

	* url-http.el (url-http-handle-cookies): Bind `url-current-object'
	to `url-http-cookies-sources' so that cookies are attributed to
	proper domain.
	(url-http): Make local variable `url-http-cookies-sources'.

600 601 602 603 604
2004-11-28  Andreas Schwab  <schwab@suse.de>

	* url-http.el (url-http-create-request): Don't add newline after
	the request data.

605 606 607
2004-11-20  Masatake YAMATO  <jet@gyve.org>

	* url.el (url-mm-callback): Delay the invocation
Juanma Barranquero's avatar
Juanma Barranquero committed
608
	of `mm-destroy-parts'.  Invoke `mm-destroy-parts'
609 610
	when the buffer is killed.

611 612
2004-11-12  Masatake YAMATO  <jet@gyve.org>

613
	* url-mailto.el (url-mailto): Fix a typo in the comment.
614

615 616 617
2004-11-02  Masatake YAMATO  <jet@gyve.org>

	* url-imap.el (url-imap-open-host): Don't use
Juanma Barranquero's avatar
Juanma Barranquero committed
618
	`string-to-int'.  The port returned by `url-port'
619 620 621 622 623 624 625 626
	is expected to be an integer.

	* url-irc.el (url-irc): Ditto.

	* url-news.el (url-news-open-host): Ditto.

	* url-nfs.el (url-nfs-build-filename): Ditto.

627 628 629 630 631
2004-10-20  John Paul Wallington  <jpw@gnu.org>

	* url-gw.el (url-gateway-nslookup-host):
	Use `set-process-query-on-exit-flag'.

Lars Hansen's avatar
Lars Hansen committed
632 633
2004-10-10  Lars Hansen  <larsh@math.ku.dk>

Kim F. Storm's avatar
Kim F. Storm committed
634 635 636 637 638 639 640 641 642 643 644 645 646
	* url-auth.el:
	* url-cache.el:
	* url-cid.el:
	* url-dired.el:
	* url-expand.el:
	* url-ftp.el:
	* url-gw.el:
	* url-imap.el:
	* url-irc.el:
	* url-misc.el:
	* url-news.el:
	* url-ns.el:
	* url-privacy.el:
Lars Hansen's avatar
Lars Hansen committed
647 648 649 650
	* url-proxy.el: Update header and footer.

	* url-vars.el: Update header.

651 652 653 654 655 656
2004-10-16  Richard M. Stallman  <rms@gnu.org>

	* url.el (url-do-setup): Don't set url-passwd-entry-func.

	* url-vars.el (url-passwd-entry-func): Var deleted.
	(mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
657 658
	(url-weekday-alist): Rename from weekday-alist.
	(url-monthabbrev-alist): Rename from monthabbrev-alist.
659 660
	(url-vars-unload-hook): Initialize hook var to hold the function.

661 662
	* url-util.el (url-get-normalized-date): Use url-weekday-alist and
	url-monthabbrev-alist.
663 664 665 666 667 668 669 670 671 672

	* url-misc.el: Load cl at compile time.

	* url-mailto.el: Don't load cl.
	(url-mailto): Fix call to `push'.

	* url-gw.el (url-open-telnet): Use read-passwd.

	* url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.

Simon Josefsson's avatar
Simon Josefsson committed
673 674 675 676 677 678 679
2004-10-12  Simon Josefsson  <jas@extundo.com>

	* url-vars.el (url-gateway-method): Add new method `tls'.

	* url-news.el (url-snews): Use nntp-open-tls-stream if
	url-gateway-method is tls.

680 681
	* url-ldap.el (url-ldap-certificate-formatter):
	Use tls-certificate-information if ssl.el is not available.
Simon Josefsson's avatar
Simon Josefsson committed
682 683 684 685 686 687 688

	* url-https.el (url-https-create-secure-wrapper): Use tls if ssl
	is not available.

	* url-gw.el (url-open-stream): Support tls url-gateway-method.
	(url-open-stream): Likewise.

Lars Hansen's avatar
Lars Hansen committed
689 690
2004-10-10  Lars Hansen  <larsh@math.ku.dk>

Kim F. Storm's avatar
Kim F. Storm committed
691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708
	* url-auth.el:
	* url-cache.el:
	* url-cookie.el:
	* url-dired.el:
	* url-file.el:
	* url-ftp.el:
	* url-handlers.el:
	* url-history.el:
	* url-irc.el:
	* url-mailto.el:
	* url-methods.el:
	* url-misc.el:
	* url-news.el:
	* url-nfs.el:
	* url-parse.el:
	* url-privacy.el:
	* url-vars.el:
	* url.el:
Lars Hansen's avatar
Lars Hansen committed
709 710
	* url-util.el: Fix copyright notice.

711 712 713 714 715
2004-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-handlers.el (url-insert-file-contents): Use the URL to decide the
	encoding, not the buffer-file-name (which might not even exist).

716 717 718 719
2004-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-handlers.el (url-insert-file-contents): Decode contents.

Stefan Monnier's avatar
Stefan Monnier committed
720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784
2004-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-util.el (url-debug): Use with-current-buffer.

	* url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
	(url-nfs-create-wrapper): Use new backquote syntax.

	* url-https.el (url-https-file-attributes): Add id-format param.

	* url-http.el (url-http-head-file-attributes)
	(url-http-file-attributes): Add id-format parameter.

	* url-handlers.el: Use new find-file-hook.
	(url-file-attributes): Add id-format parameter.

	* url-file.el (url-file-create-wrapper): Use new backquote syntax.
	(url-file-file-attributes): Add id-format parameter.

	* url-dav.el: Use with-current-buffer.
	(url-dav-process-response): Fix regexps and spurious quote.
	(url-dav-file-attributes): Add id-format param.

2004-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url.el (url-retrieve): Use with-current-buffer.

	* url-http.el (url-http-parse-headers, url-http-file-exists-p):
	Remove unused var `version'.

	* url-handlers.el (url-handler-mode): New minor mode.
	(url-setup-file-name-handlers): Remove.

2004-04-12  John Paul Wallington  <jpw@gnu.org>

	* url-cookie.el (url-cookie-handle-set-cookie): Replace calls
	to obsolete `assoc-ignore-case' with calls to `assoc-string'.

2004-04-11  Dave Love  <fx@gnu.org>

	* url-mailto.el (url-mailto):
	* url-history.el (url-history-setup-save-timer):
	* url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.

	* url-file.el (url-file-build-filename): Don't use
	directory-sep-char.

	* url-auth.el (url-register-auth-scheme): Fix `format' call.

	* url-about.el (url-scheme-registry): Defvar.
	(url-about): Use text/plain.

	* url-vars.el (cl): Don't require.
	(url): Add :version.
	(url-bug-address): Use bug-gnu-emacs.

	* url-util.el (url-hexify-string): Don't give multibyte error
	for char <16.
	(mail-header-extract): Autoload.

	* url-parse.el: Doc fixes.

	* url-ldap.el (ldap): Require.
	(url-ldap): Fix `format' call.
	(url-ldap-certificate-formatter): Avoid warning.

Stefan Monnier's avatar
Stefan Monnier committed
785
	* url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
Stefan Monnier's avatar
Stefan Monnier committed
786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831

	* url-dav.el (url-dav-rename-file): Fix args of `signal'.
	(url-intersection): New.
	(url-dav-supported-p): Use it.
	(url-dav-save-resource): Declare url-http-response-status special.

	* url-cache.el (url-util): Require.

2004-04-10  Miles Bader  <miles@gnu.org>

	RCS keyword removal (only non-comment changes are enumerated here):

	* url-vars.el (url-version): Use the constant string "Emacs"
	instead of calculating something from the RCS `State' keyword
	[the latter is almost entirely useless anyway].

2004-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-methods.el:
	* url-parse.el: Don't require url-auto.

2004-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url: Imported the URL package from its own CVS repository into Emacs.

===========================================================================
===========================================================================
	Copy of the ChangeLog file from URL's own CVS repository:
===========================================================================
===========================================================================

2003-07-16  Dave Love  <fx@gnu.org>

	* lisp/url.el (url-retrieve-synchronously): Revert last change.
	Should be revisited.

2003-06-26  Sam Steingold  <sds@gnu.org>

	* lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
	method on invalid urls.

2003-05-29  Dave Love  <fx@gnu.org>

	* lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
	sit-for.  From monnier@gnu.org.

Juanma Barranquero's avatar
Juanma Barranquero committed
832
2002-11-04  Walter C. Pelissero  <walter@pelissero.org>
Stefan Monnier's avatar
Stefan Monnier committed
833

Stefan Monnier's avatar
Stefan Monnier committed
834 835
	* lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
	port numbers to integers when creating the URL objects for proxies.
Stefan Monnier's avatar
Stefan Monnier committed
836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856

2002-10-29  William M. Perry  <wmperry@gnu.org>

	* lisp/url-http.el (url-http-parse-headers): When doing a
	redirect, some broken software (sourceforge) sends a redirect to
	'/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
	specification).  I wish we could deal with such lame software
	appropriately (spank the authors), but this is the web, so we have
	to kow-tow to the servers.

2002-10-27  William M. Perry  <wmperry@gnu.org>

	* lisp/url-http.el (url-http-create-request): If we are talking to
	the default port for a the selected protocol, do NOT send the port
	in the HOST header.  This fixes the login page at sourceforge.

2002-09-17  William M. Perry  <wmperry@gnu.org>

	* lisp/url-http.el (url-http-handle-cookies): New function to deal
	with cookie headers.
	(url-http-parse-headers): Call `url-http-handle-cookies' here so
Stefan Monnier's avatar
Stefan Monnier committed
857 858
	that cookie additions and deletions get handled immediately.
	This is so that sites that set cookies while doing redirects
Stefan Monnier's avatar
Stefan Monnier committed
859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887
	(my.yahoo.com, outlook web access, etc) work.  This should also
	fix sites that delete cookies on invalid access or other error
	pages the user might not actually see.
	(url-http-parse-headers): Silently convert non-HEAD and non-GET
	methods to GET in redirects.  Too many web sites do this now, and
	it is just likely to confuse users.

2002-05-17  Dave Love  <fx@gnu.org>

	* texi/url.txi: Start making it vaguely useful.

	* texi/Makefile.in (install): Cope with Debian install-info.
	From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann).

2002-04-22  Dave Love  <fx@gnu.org>

	* lisp/url-misc.el (man): Autoload to avoid warning.
	(url-man): Don't require man here.
	(url-data): Generalize in line with the RFC.

	* lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.

	* lisp/url-vars.el: Doc fixes.
	(url-mime-charset-string): New function.
	(url-mime-charset-string): Use it to set the variable.
	(url-set-mime-charset-string): New function.
	(set-language-environment-hook): Use it.
	(url-vars-unload-hook): New function.

Stefan Monnier's avatar
Stefan Monnier committed
888 889
	* lisp/url-cookie.el (url-header-comparison): Delete.
	(url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
Stefan Monnier's avatar
Stefan Monnier committed
890 891 892 893 894 895 896 897
	(url-cookie-save-interval): Make value agree with doc.

	* lisp/url.el: Doc fixes.
	(url-mm-callback): Don't call mm-destroy-parts immediately for
	external viewing -- set up a process sentinel.

2002-02-02  William M. Perry  <wmperry@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
898
	* lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
Stefan Monnier's avatar
Stefan Monnier committed
899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916

2001-12-12  William M. Perry  <wmperry@gnu.org>

	* lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
	Monnier to use ` instead of ^ to match the relative link.

2001-12-10  William M. Perry  <wmperry@gnu.org>

	* lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
	plist-get (reversed args).

	* lisp/url-file.el (url-file-build-filename): Make sure that we
	have a parsed URL in this function.

2002-01-22  Dave Love  <fx@gnu.org>

	* lisp/url-cache.el (url-cache-file-writable-p): Doc fix.

Stefan Monnier's avatar
Stefan Monnier committed
917 918
	* lisp/url-imap.el (url-imap): Maybe disable multibyte.
	Bind coding-system-for-read.  Require mm-util.
Stefan Monnier's avatar
Stefan Monnier committed
919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934

	* lisp/url.el (url-do-setup): Use (featurep 'xemacs).

	* lisp/mule-sysdp.el: Removed (obsolete).

2001-12-09  William M. Perry  <wmperry@gnu.org>

	* lisp/url-dav.el (url-dav-delete-something): Utility macro to
	remove an arbitrary resource.
	(url-dav-delete-directory): Use it.
	(url-dav-delete-file): Ditto.
	(url-dav-make-directory): New function.
	(url-dav-rename-file): New function.
	(url-dav-register-handler): New function to easily register a
	WebDAV-specific file-name-handler operation.
	(url-dav-file-name-all-completions, url-dav-file-name-completion):
Stefan Monnier's avatar
Stefan Monnier committed
935
	New functions that allow file-name completion for WebDAV resources.
Stefan Monnier's avatar
Stefan Monnier committed
936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952

2001-12-08  William M. Perry  <wmperry@gnu.org>

	* lisp/url-dav.el (url-dav-directory-files): New function to
	mimic `directory-files' for WebDAV.
	(url-dav-delete-directory): New function to mimic
	`delete-directory' for WebDAV.

2001-12-06  William M. Perry  <wmperry@gnu.org>

	* lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
	DAV:locktoken hrefs into a usable format.
	(url-dav-process-response): Use an unwind-protect to make sure
	that we clean up the buffer, even if there is a parsing error.
	(url-dav-request): New function to act as the main entry point for
	making DAV requests.  Takes care of building the XML document with
	appropriate namespaces, depth, etc, and parses the results.
Stefan Monnier's avatar
Stefan Monnier committed
953 954
	(url-dav-get-properties): Use new url-dav-request function.
	This is now just a thin wrapper around that to use PROPFIND and set any
Stefan Monnier's avatar
Stefan Monnier committed
955 956 957 958 959 960 961 962 963 964 965 966
	extra properties we are looking for.
	(url-dav-unlock-resource): New function to release a lock given a
	URL and a lock-token.
	(url-dav-process-DAV:getlastmodified)
	(url-dav-process-DAV:creationdate)
	(url-dav-process-DAV:iscollection)
	(url-dav-process-DAV:ishidden): Fix typos!  Its url-dav-*, not
	url-dave-*!
	(url-dav-active-locks): New function to get a list of all the
	active locks for a resource.
	(url-dav-save-resource): New function to actually save a resource
	using the PUT method.  I can now successfully save files to an
Stefan Monnier's avatar
Stefan Monnier committed
967
	HTTP server with some manual steps from a lisp-interaction buffer.
Stefan Monnier's avatar
Stefan Monnier committed
968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984

	* lisp/url-http.el (url-http-wait-for-headers-change-function):
	Special case the 204/205 response codes.  Some servers do not
	send back a 0 content-length for these, and we would hang.
	(url-http-parse-headers): Mark 204/205 response codes as
	'successful' so that the callbacks get activated.
	(url-http-options): Fix unbound variable usage.

	* lisp/url-dav.el: Added full copyright information.
	(url-dav-process-response): Make sure that we create a DAV:status
	property when parsing a singleton response.
	(url-dav-file-attributes): If the properties returned did not have
	a succesful HTTP response code, then ignore them and use the
	HEAD-based attributes.

	* lisp/vc-dav.el: Added full copyright information.

Stefan Monnier's avatar
Stefan Monnier committed
985 986
	* lisp/url-dav.el (url-dav-process-supportedlock-property):
	Deal with text nodes in DAV:supportedlock nodes.
Stefan Monnier's avatar
Stefan Monnier committed
987 988 989
	(url-dav-file-attributes-mode-string): This now gets the entire
	property list instead of just the DAV:supportedlock node.
	(url-dav-file-attributes): Make sure to pass the whole list in.
Stefan Monnier's avatar
Stefan Monnier committed
990
	(url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
Stefan Monnier's avatar
Stefan Monnier committed
991 992 993 994 995 996 997 998
	(url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
	'executable' bit to set the 'x' mode.  See `mod_dav's custom
	properties' at http://www.webdav.org/mod_dav/ for more details.
	(url-dav-find-parser): New function to find the proper parser for
	a node-type.  Looks for
	url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
	back to using url-dav-node-text.  Caches the results on the nodes
	symbol name.
Stefan Monnier's avatar
Stefan Monnier committed
999 1000
	(url-dav-dispatch-node): Utility routine to call a nodes handler easily.
	(url-dav-process-*): Rename most of the handlers and made them
Stefan Monnier's avatar
Stefan Monnier committed
1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024
	use url-dav-dispatch-node where appropriate.
	(url-dav-process-DAV:prop): Instead of using the dav-data-type
	property to dispatch the node, now uses dav-dispatch-node so that
	it is easy to add parsers for special nodes.
	(url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
	(url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
	(url-dav-process-DAV:getcontentlength)
	(url-dave-process-DAV:getlastmodified)
	(url-dave-process-DAV:creationdate)
	(url-dave-process-DAV:iscollection)
	(url-dave-process-DAV:ishidden): Aliases for the generic
	url-dav-process-foo-property routines.
	(url-dav-process-DAV:activelock)
	(url-dav-process-DAV:lockdiscovery): Can now correctly parse
	DAV:lockdiscovery nodes, so that we can find out who has a
	resource locked and properly parse the reponse to a LOCK request.
	(url-dav-process-DAV:status): Now parses ou the numeric status
	from the HTTP response line.
	(url-dav-process-response): New function to handle all the
	parsing of an XML response from WebDAV.  This handles all the
	logic of checking the response content-type to make sure it is
	XML, parses the tree, and interprets the tree.
	(url-dav-process-response): Make sure that all responses look
	like a DAV:multistatus response, even if we get a singleton
Stefan Monnier's avatar
Stefan Monnier committed
1025
	response back.  This will just make the upper layer logic simpler.
Stefan Monnier's avatar
Stefan Monnier committed
1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043
	(url-dav-get-properties): New optional argument NAMESPACES that
	specifies what namespaces to use in the XML request.
	(url-dav-get-properties): Got rid of the D: namespace in
	requests.  It doesn't save that much space.  Just use DAV:
	(url-dav-lock-identifier): New variable that should hold a URI
	pointing to contact information for the user.  This will be used
	as the contents of the DAV:owner/DAV:href tag to identify the
	owner of a LOCK when requesting it.  This will be shown to other
	users when the DAV:lockdiscovery property is requested, so make
	sure you are comfortable with it leaking to the outside world.
	(url-dav-lock-resource): New function to LOCK a dav resource.

2001-12-05  William M. Perry  <wmperry@gnu.org>

	* lisp/url-dav.el (url-dav-get-properties): New argument
	ATTRIBUTES that allows you to ask for specific properties instead
	of getting all properties via DAV:allprop.

Stefan Monnier's avatar
Stefan Monnier committed
1044 1045
	* lisp/url-http.el (url-http-real-basic-auth-storage):
	New variable for normal HTTP basic authentication.
Stefan Monnier's avatar
Stefan Monnier committed
1046 1047 1048 1049 1050
	(url-http-proxy-basic-auth-storage): New variable for HTTP proxy
	basic authentication.
	(url-http-handle-authentication): Follow new semantics for
	url-basic-auth-storage.

Stefan Monnier's avatar
Stefan Monnier committed
1051
	* lisp/url-auth.el (url-basic-auth-storage): Change meaning of
Stefan Monnier's avatar
Stefan Monnier committed
1052 1053
	this variable.  It is now a symbol pointing to where we really
	want to store the authorization information.  This fixes proxy
Stefan Monnier's avatar
Stefan Monnier committed
1054 1055
	auth and normal basic auth because of some local bindings that were
	making it impossible to store the credentials in the global binding.
Stefan Monnier's avatar
Stefan Monnier committed
1056 1057 1058
	(url-basic-auth): Make sure we dereference url-basic-auth-storage
	everywhere.

Stefan Monnier's avatar
Stefan Monnier committed
1059
	* lisp/url-util.el (url-debug): Add new types 'dav and
Stefan Monnier's avatar
Stefan Monnier committed
1060 1061 1062 1063 1064
	'retrieval to the customization list.

	* lisp/url.el (url-retrieve-synchronously): Put in some debugging
	statements.

Stefan Monnier's avatar
Stefan Monnier committed
1065
	* lisp/url-http.el (url-http-head-file-attributes): Rename old
Stefan Monnier's avatar
Stefan Monnier committed
1066 1067
	url-http-file-attributes so that we can have a smarter one that
	tries WebDAV first, then HEAD.
Stefan Monnier's avatar
Stefan Monnier committed
1068
	(url-http-file-attributes): New smart version that tries WebDAV first.
Stefan Monnier's avatar
Stefan Monnier committed
1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096
	(url-http-options): New function that returns information gleaned
	from an OPTIONS request for a URL.  Returns a property list
	returning the methods supported for the resource, what DAV and
	DASL levels are supported, p3p information, and whether
	byte-ranges are supported or not.
	(url-http-wait-for-headers-change-function): If we got a 0-byte
	content-length, activate the callback immediately.
	(url-http-wait-for-headers-change-function): For content-length
	responses with actual body-data in the chunk we are handling, call
	url-http-content-length-after-change-function with the remaining
	data.  Otherwise we can deadlock if the headers and the entire
	body exist arrive in one chunk.

	* lisp/url-dav.el: New file to contain the WebDAV
	(http://www.webdav.org/) implementation.
	(url-dav-supported-p): Cheap way to figure out whether we will be
	able to do DAV at all.  We rely on the XML parser expanding
	namespaces for us, and currently you need a patched version of
	xml.el to do this.  Patch sent to author for consideration.
	(url-dav-file-attributes): Much more complete version of
	`file-attributes' using the WebDAV PROPFIND method.  Now correctly
	finds out whether something is a directory (a WebDAV collection),
	the last modification time, and permissions (based on the
	DAV:supportedlock information).
	(url-dav-get-properties): Generic interface to get WebDAV
	properties for a URL.  Can specify an optional `depth' parameter
	to tell the web server how many directory (collection) levels to
	recurse when retrieving the property lists.  Returns an assoc
Stefan Monnier's avatar
Stefan Monnier committed
1097
	list keyed off of the resource, the cdr of which is a property list.
Stefan Monnier's avatar
Stefan Monnier committed
1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111
	(url-dav-datatype-attribute): We support the XML-Data note
	(http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
	datatypes of attributes are.  Currently only date, dateTime, int,
	number, float, boolean, and uri are supported.

2001-12-04  William M. Perry  <wmperry@gnu.org>

	* lisp/url-handlers.el (file-name-absolute-p): New hooked
	version.  If the filename matches our regexp, then it is always
	absolute, so just return `t'.
	(expand-file-name): New hooked version.  If the fragment is an
	absolute file or URL, then expand it relative to '/'.
	(url-handler-regexp): New regexp for specific schemes that we
	want the file-name-handlers to work off of.
Stefan Monnier's avatar
Stefan Monnier committed
1112
	(url-setup-file-name-handlers): Use it when installing the handlers.
Stefan Monnier's avatar
Stefan Monnier committed
1113 1114 1115 1116

	* lisp/url-http.el (url-http-find-free-connection): Better logging
	about whether we are reusing an existing connection or not.

Stefan Monnier's avatar
Stefan Monnier committed
1117
	* lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
Stefan Monnier's avatar
Stefan Monnier committed
1118 1119 1120
	to string-match instead of match-string (and with reversed
	arguments even).

Stefan Monnier's avatar
Stefan Monnier committed
1121
	* lisp/url-http.el (url-http-debug): Change to now use the
Stefan Monnier's avatar
Stefan Monnier committed
1122 1123 1124 1125 1126 1127 1128
	generic url-debug function to do the actual logging.  Still a
	separate function so that we can do our magic on the network
	connection if the user quits while we are downloading.

	* lisp/url-handlers.el (url-file-handler): Now logs the result of
	the hooked or real call.

Stefan Monnier's avatar
Stefan Monnier committed
1129
	* lisp/url-util.el (url-debug): New function for generic debug logging.
Stefan Monnier's avatar
Stefan Monnier committed
1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142

2001-11-28  William M. Perry  <wmperry@gnu.org>

	* lisp/url-imap.el (url-imap-open-host): Use backquote.
	(url-imap): Now switches to 'login as the imap authenticator if
	the URL provides a username and password.

	* lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
	push to replace some strange logic in here.
	(url-run-real-handler): New function to run the real hooks in
	case we get a false positive or an operation that we do not
	support.  The old way disabled _ALL_ file-name-handlers when
	we hit something we didn't understand - this disables JUST us.
Stefan Monnier's avatar
Stefan Monnier committed
1143
	(url-file-handler): Remove the logic about removing the leading
Stefan Monnier's avatar
Stefan Monnier committed
1144 1145
	'/' off of the first argument... it may not be safe to always
	assume that the first argument is the one we are acting on -
Stefan Monnier's avatar
Stefan Monnier committed
1146
	`default' is the second argument for expand-file-name for example.
Stefan Monnier's avatar
Stefan Monnier committed
1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170
	(url-setup-file-name-handlers): Use url-nonrelative-link
	directly.  This means that you must type in the URL directly
	without prefixing it with a '/'.

	(gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")

	Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
	which activates us (because 'nnml+mail' _is_ a valid scheme name
	for a URI).  We get thoroughly confused and end up returning
	`nil' when we shouldn't.

2001-11-26  William M. Perry  <wmperry@gnu.org>

	* lisp/url-handlers.el (file-writable-p): Add NULL handler for
	this so that visiting a URL directly will work.
	(file-symlink-p): Ditto.
	(url-insert-file-contents): If `visit' is non-nil then make sure
	we set buffer-file-name.  After these changes you can visit
	http://www.gnu.org/ directly from the minibuffer.
	(url-insert-file-contents): When inserting the file contents,
	use a save-excursion so that we behave just like the original.

2001-11-25  William M. Perry  <wmperry@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
1171
	* lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
Stefan Monnier's avatar
Stefan Monnier committed
1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192

2001-11-24  William M. Perry  <wmperry@gnu.org>

	* lisp/url-about.el (url-about): New loader scheme to handle
	about:foo URLs.  Automatically tries to find a `url-about-foo'
	function to display the actual data.
	(url-about-protocols): Implement about:protocols

	* lisp/url-http.el (url-http): Make sure that we signal an error
	when we cannot open a network connection for whatever reason.
	Before, it would just silently clean up after itself and the user
	got absolutely no indication that an error had occured.  If the
	error should truly be ignored, the caller should do that for us.
	(url-http-chunked-encoding-after-change-function): Doh!  Need to
	user marker-position in some log messages now that
	url-http-chunked-start is a marker.

2001-11-22  William M. Perry  <wmperry@gnu.org>

	* lisp/url-https.el: Fixed definition of url-https - was using the
	wrong signature.  Too much cut & paste.
Stefan Monnier's avatar
Stefan Monnier committed
1193
	(url-https-create-secure-wrapper): Fix so that url-https works
Stefan Monnier's avatar
Stefan Monnier committed
1194
	at all.  Was not taking a null `method' into account when calling
Stefan Monnier's avatar
Stefan Monnier committed
1195
	the wrapped function so url-https tried to call url-http-nil.  *sigh*
Stefan Monnier's avatar
Stefan Monnier committed
1196 1197

	* lisp/url-http.el
Stefan Monnier's avatar
Stefan Monnier committed
1198
	(url-http-chunked-encoding-after-change-function): Add some
Stefan Monnier's avatar
Stefan Monnier committed
1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223
	feedback when not debugging about what content-type and chunk # we
	are reading.
	(url-http-chunked-encoding-after-change-function): Use a marker
	for url-http-chunked-start so that we can safely delete the
	chunk-tokens instead of just marking them as invisible.
	(url-http-chunked-encoding-after-change-function): Actually delete
	the chunk-tokens.  Now that we are not run from 'real'
	after-change functions, this is safe, and the right thing to do.
	Otherwise the HTML parser still saw them and inferred all sorts of
	bad things about the document (ie: nothing had a title!)

2001-11-21  William M. Perry  <wmperry@gnu.org>

	* lisp/url-http.el (url-http-debug): Document this variable.
	People other than I might want to use it.
	(url-http-debug): Put some code in here to check quit-flag
	directly.  When the chunked encoding went into a tight spin, your
	Emacs would be wedged forever.  This short-circuits all the
	after-change functions and signals an error.
	(url-http-debug): If url-http-debug is non-nil and non-t, then log
	the debug messages using `message' as well as sending them to the
	buffer.
	(url-http-chunked-encoding-after-change-function): Got rid of the
	no-initial-crlf.  Had an epiphany and I can just infer this from
	url-http-chunked-counter being 0.
Stefan Monnier's avatar
Stefan Monnier committed
1224
	(url-http-chunked-encoding-after-change-function): Move the debug
Stefan Monnier's avatar
Stefan Monnier committed
1225 1226 1227 1228 1229
	statement about reading chunk #foo into the loop so that each
	chunk will have a log message associated with it.
	(url-http-chunked-encoding-after-change-function): Make sure to
	set read-next-chunk to nil when the regular expression match fails
	to fire.  Otherwise we could loop forever.
Stefan Monnier's avatar
Stefan Monnier committed
1230 1231
	(url-http-chunked-encoding-after-change-function): Tweak the
	regular expression to be a little less greedy when looking for a chunk.
Stefan Monnier's avatar
Stefan Monnier committed
1232 1233 1234 1235 1236
	(url-http-wait-for-headers-change-function): Remove the last
	argument when calling
	url-http-chunked-encoding-after-change-function.  It is no longer
	needed.  I should use my brain sometime.

Stefan Monnier's avatar
Stefan Monnier committed
1237
	* lisp/url-vars.el (and): Fix feature test for xemacs and
Stefan Monnier's avatar
Stefan Monnier committed
1238 1239 1240
	coding-system-list behaviour.

	* lisp/url-http.el
Stefan Monnier's avatar
Stefan Monnier committed
1241 1242 1243
	(url-http-chunked-encoding-after-change-function): Add optional
	no-initial-crlf flag that modifies the regular expression.
	This is only set from url-http-wait-for-headers-change-function so that
Stefan Monnier's avatar
Stefan Monnier committed
1244
	the initial CRLF in the HTTP headers is not swallowed.
Stefan Monnier's avatar
Stefan Monnier committed
1245
	(url-http-chunked-encoding-after-change-function): Fix a few
Stefan Monnier's avatar
Stefan Monnier committed
1246
	off-by-one errors by using (match-end 0) instead of 1.
Stefan Monnier's avatar
Stefan Monnier committed
1247
	(url-http-chunked-encoding-after-change-function): Add a few
Stefan Monnier's avatar
Stefan Monnier committed
1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287
	url-http-debug calls to help track down problems in the chunked
	encoding.
	(url-http-chunked-encoding-after-change-function): The chunk
	reading in here is now in a while loop so that if Emacs feeds us a
	chunk of data that happens to contain more than one 'chunk'
	delimiter, we behave correctly.
	(url-http-wait-for-headers-change-function): Make sure that we
	pass no-initial-crlf to
	url-http-chunked-encoding-after-change-function when passing
	initial data to the decoder.
	(url-http-generic-filter): url-http-debug statement so we can tell
	when/where our after-change-functions are being called.

2001-10-11  Dave Love  <fx@gnu.org>

	* lisp/url-handlers.el: Doc fixes.
	(string-match): Use (featurep 'xemacs).

	* lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.

	* lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.

	* lisp/url-vars.el (url-running-xemacs): Delete.
	(url-gateway-unplugged): New variable.

	* lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
	Comment out OS/2 stuff.

2001-10-05  Dave Love  <fx@gnu.org>

	* lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
	without confirmation.

2001-10-02  Dave Love  <fx@gnu.org>

	* lisp/url-http.el (url-http-create-request): Check cache for
	proxy-obj, if defined, rather than url.
	(url-http): Use dolist, not mapc (runtime cl dependency).

	* lisp/url-methods.el: Maybe require cl at runtime.
Stefan Monnier's avatar
Stefan Monnier committed
1288 1289
	(url-scheme-register-proxy): Fix fetching from environment.
	Don't concat a number.
Stefan Monnier's avatar
Stefan Monnier committed
1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306

2001-10-01  Dave Love  <fx@gnu.org>

	* lisp/url-parse.el: Use modern backquote syntax.

	* lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
	(url-mail-command): Prefer compose-mail.
	(tcp-binary-process-input-services): Comment out.
	(url-working-buffer): New constant.

	* lisp/url-util.el (url-extract-mime-headers): New function.

	* lisp/url-mailto.el (url-mailto): Set source-url.  Don't add
	User-Agent.

2001-09-20  Dave Love  <fx@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
1307
	* lisp/url-http.el (url-http-create-request): Don't concat a number.
Stefan Monnier's avatar
Stefan Monnier committed
1308 1309 1310 1311

2001-06-05  Dave Love  <fx@gnu.org>

	* lisp/url.el (url-do-setup): Doc fix.  Don't try to frob
Stefan Monnier's avatar
Stefan Monnier committed
1312
	tcp-binary-process-input-services.  Remove function wrapper for lambda.
Stefan Monnier's avatar
Stefan Monnier committed
1313 1314 1315 1316 1317 1318 1319 1320 1321
	(url-retrieve): Barf with sensible message if url-type is null.

	* lisp/url-http.el (url-http): Don't try to set process
	coding-system here -- done in url-gw.

	* lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
	(url-open-stream): Bind coding-system-for{read,write} when setting
	up the connexion.  Don't call url-gw-inhibit-code-conversion.

Stefan Monnier's avatar
Stefan Monnier committed
1322 1323 1324 1325 1326
2001-05-24  William M. Perry  <wmperry@gnu.org>

	* lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
	in url-retrieve-synchronously.

Stefan Monnier's avatar
Stefan Monnier committed
1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348
2001-05-23  William M. Perry  <wmperry@gnu.org>

	* lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
	accept-process-output.  This is evidently causing hangs in Emacs
	21 when viewing complex pages with images or stylesheets.
	www.yahoo.com is now viewable.

	* lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
	(mule-inhibit-code-conversion) and just have a local function that
	does this minimal cruft.
	(url-gw-inhibit-code-conversion): New function to turn off code
	conversion in a process.

2001-05-22  William M. Perry  <wmperry@gnu.org>

	* lisp/url.el (url-retrieve-synchronously): Use lexical-let so
	that we can allow multiple asynch retrievals to happen at once.
	(url-retrieve-synchronously): Use a much smaller timeout when
	doing the accept-process-output.  This gets rid of the long delays
	if you are on a fast net connection and retrieve small documents
	that finish asynchronously before the first accept-process-output
	can be run.  All hail broadband and 100Mb in the house!
Stefan Monnier's avatar
Stefan Monnier committed
1349
	(url-retrieve-synchronously): Add documentation for this function.
Stefan Monnier's avatar
Stefan Monnier committed
1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367
	(url-retrieve): Ditto.
	(url-mm-url): Ditto.

	* lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
	documentation strings.  Ok, so I'm anal.

	* lisp/url-methods.el (url-scheme-methods): Add default methods
	for file-directory-p and file-truename.

2001-05-22  Dave Love  <fx@gnu.org>

	* lisp/url-auth.el (url-warn): Autoload.

	* lisp/url-proxy.el (url-warn): Autoload.

	* lisp/url-nfs.el: Fix `file-truname' typo.

	* lisp/url-news.el: Require cl when compiling.
Juanma Barranquero's avatar
Juanma Barranquero committed
1368
	(url-warn, gnus-group-read-ephemeral-group): Autoload.
Stefan Monnier's avatar
Stefan Monnier committed
1369
	(url-nntp-default-port, url-news-default-port, url-nntp): Delete.
Stefan Monnier's avatar
Stefan Monnier committed
1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424
	(url-news-fetch-newsgroup): Declare gnus-group-buffer special.

	* lisp/url-util.el (mule-decode-string): Don't autoload.
	(url-hexify-string): Just barf on multibyte characters.
	(url-generate-unique-filename): New function.

	* lisp/url-file.el (url-file): Use url-generate-unique-filename,
	not mm-generate-unique-filename.

	* lisp/url-http.el: Declare things special in various places.
	(url-http-activate-callback): Don't set
	url-http-real-after-change-function.

2001-05-22  William M. Perry  <wmperry@gnu.org>

	* lisp/url-http.el (url-http-attempt-keepalives): New variable to
	control whether we try to do keep-alives for our connections.
	(url-http-version): New variable to control whether we advertise
	ourselves as an HTTP/1.1 client or not.  This can be useful for
	avoiding chunked encoding, and other 1.1 features we may not have
	fully implemented yet.
	(url-http-create-request): Honor the new variables.

2001-05-21  Dave Love  <fx@gnu.org>

	* lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
	in XEmacs.
	(url-mime-charset-string): Don't reverse the list before sorting.

2001-05-17  William M. Perry  <wmperry@gnu.org>

	* lisp/url-http.el (url-http-generic-filter): Avoid using
	after-change-functions natively.  There are just too many ways
	that this screws up in Emacs 21.  Use a filter function on the
	process instead, and call the hook on
	url-http-after-change-function manually.  [Actually, it will work
	in Emacs 21, but one problem that has been fixed in Emacs 21
	exists in Emacs 20.  -- fx]

	* lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
	does not exist on older versions of Emacs, or any version of
	XEmacs.  Do not call it unless it is bound.

2001-05-17  Dave Love  <fx@gnu.org>

	* lisp/url-http.el (url-http-create-request): Fix non-GET requests.

2001-05-16  Dave Love  <fx@gnu.org>

	* lisp/url-vars.el: Doc fixes.  Require mm-util.
	(url-mime-charset-string): New variable.

	* lisp/url-http.el: Doc fixes.
	(url-http-create-request): Rearrange how we assemble the request.
	Avoid generating bogus requests with an empty real-fname.
Stefan Monnier's avatar
Stefan Monnier committed
1425
	(url-http-handle-authentication): Declare status and success special.
Stefan Monnier's avatar
Stefan Monnier committed
1426 1427 1428 1429 1430
	(url-http): Call mm-disable-multibyte.  Set process buffer's
	coding systems to binary.

	* lisp/url-misc.el (url-data): Call mm-disable-multibyte.

Stefan Monnier's avatar
Stefan Monnier committed
1431
	* lisp/url-file.el: Don't require mule-sysdp.  Fix `file-truname' typo.
Stefan Monnier's avatar
Stefan Monnier committed
1432
	(url-file-find-possibly-compressed-file): Doc fix.
Stefan Monnier's avatar
Stefan Monnier committed
1433
	(url-file): Bind coding-system-for-read.  Call mm-disable-multibyte.
Stefan Monnier's avatar
Stefan Monnier committed
1434 1435 1436 1437 1438 1439 1440 1441 1442

	* lisp/url-cache.el: Don't require mule-sysdp.
	(url-store-in-cache): Avoid mule-write-region-no-coding-system.

	* lisp/url.el: Don't require mule-sysdp.
	(url-retrieve): Only set text properties if url is a string.

2001-05-14  Dave Love  <fx@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
1443 1444
	* lisp/url-http.el (url-http-create-request):
	Declare proxy-object, proxy-info special.
Stefan Monnier's avatar
Stefan Monnier committed
1445 1446 1447 1448 1449 1450 1451 1452
	(url-http-handle-authentication): Declare success special.

2001-05-12  Dave Love  <fx@gnu.org>

	* lisp/url-http.el: Revert last change.

2001-05-10  Dave Love  <fx@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
1453 1454
	* lisp/url-http.el (url-http-generic-after-change-function):
	Make it permanent-local.
Stefan Monnier's avatar
Stefan Monnier committed
1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472

2001-05-05  Dave Love  <fx@gnu.org>

	* lisp/url-http.el: Autoload some functions.
	(cl): Require when compiling.
	(url-http-extra-headers): Defvar when compiling.
	(url-http): Treat after-change-functions as a local hook.

	* lisp/url-history.el (url-parse): Require.
	(url-do-setup): Autoload.

	* lisp/url-gw.el: Require url-vars.  Autoload some functions.

	* lisp/url-file.el: Require mailcap.  Require cl when compiling.
	Use (featurep 'xemacs).
	(url-file-build-filename): Bind pos-index.
	(url-file): Call url-find-file-dired, not url-dired-find-file.

Stefan Monnier's avatar
Stefan Monnier committed
1473
	* lisp/url-dired.el: Add copyright notice.  Autoload some functions.
Stefan Monnier's avatar
Stefan Monnier committed
1474 1475
	(url-dired-minor-mode-map): Use (featurep 'xemacs).
	(url-dired-find-file-mouse): Use mouse-set-point, not event-point.
Stefan Monnier's avatar
Stefan Monnier committed
1476
	(url-find-file-dired): Rename from one version of url-dired-find-file.
Stefan Monnier's avatar
Stefan Monnier committed
1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495

	* lisp/url-cid.el: Don't require widget.  Require mm-decode
	unconditionally.

	* lisp/url-util.el: Autoload mule-decode-string,
	timezone-parse-date, timezone-make-date-arpa-standard.
	(url-unreserved-chars): Fix list per RFC 2396.
	(url-hexify-string): Maybe string-make-unibyte.

	* lisp/url-news.el: Require nntp.

	* lisp/url-imap.el: Require cl when compiling.  Require nnimap
	unconditionally.

2001-05-04  Dave Love  <fx@gnu.org>

	* lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
	not non-existent mailcap-generate-unique-filename.

Stefan Monnier's avatar
Stefan Monnier committed
1496
	* lisp/url-privacy.el: Require url-vars.  Require cl when compiling.
Stefan Monnier's avatar
Stefan Monnier committed
1497

Stefan Monnier's avatar
Stefan Monnier committed
1498 1499
	* lisp/url-parse.el: Require url-vars.
	Autoload url-scheme-get-property.
Stefan Monnier's avatar
Stefan Monnier committed
1500 1501 1502 1503 1504 1505

	* lisp/url-nfs.el: Require cl when compiling.  Test for XEmacs
	with featurep.

	* lisp/url-mailto.el: Require cl when compiling.

Stefan Monnier's avatar
Stefan Monnier committed
1506 1507
	* lisp/url-cookie.el (url-cookie-handle-set-cookie):
	Call url-parse-args, not url-util-parse-args.
Stefan Monnier's avatar
Stefan Monnier committed
1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534