ChangeLog 92.8 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
2012-05-10  Chong Yidong  <cyd@gnu.org>

	* url-parse.el (url-path-and-query, url-port-if-non-default): New
	functions.
	(url-generic-parse-url): Don't set the portspec slot if it is not
	specified; that is what `url-port' is for.
	(url-port): Only require the scheme to be specified to call
	url-scheme-get-property.

	* url-util.el (url-encode-url): Use url-path-and-query.

	* url-vars.el (url-mime-charset-string): Load mm-util lazily.

14 15 16 17 18
2012-05-09  Chong Yidong  <cyd@gnu.org>

	* url-util.el (url-encode-url): New function for URL quoting.
	(url-encoding-table, url-host-allowed-chars)
	(url-path-allowed-chars): New constants.
19
	(url--allowed-chars): New helper function.  Use upper-case.
20 21 22 23 24 25 26 27
	(url-hexify-string): Use them.

	* url-parse.el: Improve RFC 3986 conformance.
	(url-generic-parse-url): Do not populate the ATTRIBUTES slot,
	since this is not reliable for general RFC 3986 URIs.  Keep the
	whole path and query inside the FILENAME slot.  Improve docstring.
	(url-recreate-url-attributes): Mark as obsolete.
	(url-recreate-url): Handle missing scheme and userinfo.
28
	(url-path-and-query): New function.
29 30 31 32 33 34 35 36

	* url-http.el (url-http-create-request): Ignore obsolete
	attributes slot of url-object.

	* url-vars.el (url-nonrelative-link): Make the regexp stricter.

	* url.el (url-retrieve-internal): Use url-encode-url (Bug#7017).

37 38 39 40 41
2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url.el (url-retrieve-synchronously): Replace lexical-let by
	lexical-binding.

42 43 44 45 46 47 48 49 50 51
2012-04-10  William Xu  <william.xwl@gmail.com>  (tiny change)

	* url.el (url-retrieve-internal): Hexify multibye URL string first
	when necessary (bug#7017).

2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* url.el (url-retrieve-internal): Mention utf-8 encoding.
	(url-retrieve): Ditto.

52 53 54 55 56 57 58 59
2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* url-domsurf.el: New file (bug#1401).

	* url-cookie.el (url-cookie-two-dot-domains): Remove.
	(url-cookie-host-can-set-p): Use `url-domsuf-cookie-allowed-p'
	instead of the variable above.

60 61 62 63 64
2012-03-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* url-queue.el (url-queue-kill-job): Check whether the buffer has
	been killed asynchronously before selecting it.

65 66 67 68 69
2012-03-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* url-queue.el (url-queue-kill-job): Make sure that the callback
	is always called, even if we have a timeout.

70 71
2012-03-11  Chong Yidong  <cyd@gnu.org>

72 73
	* url-http.el (url-http-end-of-document-sentinel):
	Handle keepalive expiry by calling url-http again (Bug#10223).
74 75
	(url-http): New arg, for the above.

76 77 78 79 80
2012-03-11  Devon Sean McCullough  <emacs-hacker2012@jovi.net>

	* url-http.el (url-http-find-free-connection): Don't pass a nil
	argument to url-http-mark-connection-as-busy (bug#10891).

81 82
2012-02-20  Lars Ingebrigtsen  <larsi@gnus.org>

83 84 85 86
	* url-queue.el (url-queue-kill-job): Delete the process sentinel
	before killing the process to avoid a race condition between the
	two processes killing off the process buffer.

87 88 89
	* url.el (url-retrieve-internal): Warn about file errors when
	pruning the cache instead of bugging out (bug#10831).

90 91 92 93 94 95
2012-02-19  Lars Ingebrigtsen  <larsi@gnus.org>

	* url-queue.el (url-queue-callback-function): Remove the job from
	the queue so that we don't kill the current buffer, which will
	then make the callback function kill a random buffer.

96 97 98 99 100 101
2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>

	* url-queue.el (url-queue-kill-job): Refactored out code.
	(url-queue-remove-jobs-from-host): Use it to kill jobs that are in
	flight.

102 103 104 105
2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>

	* url-future.el: Minor doc update.

106 107 108 109
2012-02-14  Leo Liu  <sdl.web@gmail.com>

	* url-future.el: Fix last change.

110 111 112 113
2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>

	* url-future.el (url-future-test): Move to test/automated.

114 115 116 117 118
2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>

	* url-http.el (url-http-parse-headers): When redirecting, pass on
	the `inhibit-cookie' parameter.

Glenn Morris's avatar
Glenn Morris committed
119 120 121 122
2012-02-10  Glenn Morris  <rgm@gnu.org>

	* url-queue.el (url-queue-retrieve): Fic previous doc fix.

123 124 125 126 127 128 129
2012-02-10  Andreas Schwab  <schwab@linux-m68k.org>

	* url-http.el (url-http-clean-headers): Return the number of
	removed characters.
	(url-http-wait-for-headers-change-function): Adjust end position
	after cleaning the headers.  (Bug#10768)

Glenn Morris's avatar
Glenn Morris committed
130 131 132 133
2012-02-10  Glenn Morris  <rgm@gnu.org>

	* url-queue.el (url-queue-retrieve): Doc fix.

134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
2012-02-08  Lars Ingebrigtsen  <larsi@gnus.org>

	* url-parse.el (url): Add the `use-cookies' slot to the URL struct
	to be able to keep track of whether to do cookies or not on a
	per-URL basis.

	* url-queue.el (url-queue-retrieve): Take an optional
	`inhibit-cookies' parameter.

	* url.el (url-retrieve): Ditto

	* url-http.el (url-http-create-request): Don't send cookies unless
	requested.
	(url-http-parse-headers): Don't store cookies unless requested.

149 150
2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>

151
	* url-cache.el (url-cache-prune-cache): New function.
152 153
	(url-cache-prune-cache): Check that the directory exists before
	trying to delete it.
154 155 156 157 158

	* url.el (url-retrieve-number-of-calls): New variable.
	(url-retrieve-internal): Use it to expire the cache once in a
	while.

159 160 161 162 163 164
	* url-queue.el (url-queue-setup-runners): New function that uses
	`run-with-idle-timer' for extra asynchronicity.
	(url-queue-remove-jobs-from-host): New function.
	(url-queue-callback-function): Remove jobs from the same host if
	connection failed.

165 166
2012-01-12  Glenn Morris  <rgm@gnu.org>

167 168 169
	* url-auth.el (url-basic-auth, url-digest-auth):
	Allow reading usernames etc when the minibuffer is already in use,
	eg in url-handler-mode.  (Bug#10298)
170

Juanma Barranquero's avatar
Juanma Barranquero committed
171 172 173 174
2011-11-15  Juanma Barranquero  <lekktu@gmail.com>

	* url-dav.el (url-dav-delete-file): Fix typo.

175 176 177 178 179 180
2011-11-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* url-http.el (url-http-async-sentinel): If the server hangs up
	while we're talking to it, just `message' the error instead of
	throwing an error.

181 182 183 184 185
2011-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* url-cookie.el (url-cookie-expired-p): Protect against
	zero-length cookie expiry dates.

Chong Yidong's avatar
Chong Yidong committed
186 187 188 189
2011-10-19  Chong Yidong  <cyd@gnu.org>

	* url-handlers.el (url-handler-mode): Doc fix.

190 191 192 193 194
2011-09-24  Christopher J. White  <chris@grierwhite.com>  (tiny change)

	* url-http.el (url-http-create-request): Avoid adding extra CRLF
	(Bug#8931).

195 196 197 198 199 200
2011-09-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* url-http.el (url-http-find-free-connection): If there was an
	error on connect, make sure the user isn't bothered with
	irrelevant questions.

201 202 203 204 205
2011-08-07  Chong Yidong  <cyd@stupidchicken.com>

	* url-http.el (url-http-parse-headers): For HTTP 301/302/307,
	don't convert to a GET request (Bug#701).

206 207 208 209 210 211
2011-07-13  Chris Newton  <redshodan@gmail.com>  (tiny change)

	* url-http.el (url-http): Copy over `url-show-status' to the async
	buffer so that `url-display-percentage' does the right thing
	(bug#4680).

212 213 214 215 216
2011-07-06  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)

	* url-cache.el (url-cache-extract): Set buffer multibyte flag to
	nil (bug#8827).

217 218 219 220 221
2011-07-03  Nicolas Avrutin  <nicolasavru@gmail.com>  (tiny change)

	* url-http.el (url-http-create-request): Remove double carriage
	return and newline (bug#8931).

222 223
2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>

224 225
	* url-http.el (url-http-wait-for-headers-change-function):
	Remove pointless "HTTP/0.9 How I hate thee!" message (bug#6735).
226

227 228 229 230
2011-06-04  Andreas Schwab  <schwab@linux-m68k.org>

	* url-future.el (url-future-test): Fix scope of `saver'.

231 232 233 234 235
2011-06-01  Glenn Morris  <rgm@gnu.org>

	* url-queue.el (url-queue-parallel-processes, url-queue-timeout):
	Add :version tag for options that will be new in 24.1.

236 237 238 239 240
2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* url-queue.el (url-queue-parallel-processes): Increase the
	default to 6, since 2 seems too conservative for normal usage.

241 242 243 244
2011-05-31  Teodor Zlatanov  <tzz@lifelogs.com>

	* url-future.el: Add general futures facility.

245 246 247 248 249
2011-05-29  Leo Liu  <sdl.web@gmail.com>

	* url-cookie.el (url-cookie): Add option :named so that
	url-cookie-p is defined.  (Bug#8747)

250 251 252
2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* url-queue.el: New file.
Juanma Barranquero's avatar
Juanma Barranquero committed
253
	(url-queue-run-queue): Pick the first waiting job, and not the last.
254 255 256
	(url-queue-parallel-processes): Lower the concurrency level, since
	Emacs doesn't seem to like too many async processes.
	(url-queue-prune-old-entries): Fix up the pruning code.
257

258 259
2011-04-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>

Juanma Barranquero's avatar
Juanma Barranquero committed
260 261
	* url-http.el (url-http-wait-for-headers-change-function):
	Protect against malformed headerless responses from servers.
262

263 264 265 266 267
2011-04-02  Chong Yidong  <cyd@stupidchicken.com>

	* url-gw.el (url-open-stream): Use new open-network-stream
	functionality to perform encryption.

268 269 270 271 272
2011-04-01  Juanma Barranquero  <lekktu@gmail.com>

	* url-cookie.el (url-cookie-handle-set-cookie):
	Use `dolist' rather than `mapcar'.

273 274 275 276
2011-03-07  Chong Yidong  <cyd@stupidchicken.com>

	* Version 23.3 released.

277 278 279 280 281 282 283 284 285 286
2011-02-12  Teodor Zlatanov  <tzz@lifelogs.com>

	* url-parse.el (url-bit-for-url, url-user-for-url)
	(url-password-for-url): Use `auto-source-search' instead of
	`auto-source-user-or-password'.

	* url-auth.el: Autoload `auto-source-search' instead of
	`auto-source-user-or-password'.
	(url-basic-auth, url-digest-auth, url-do-auth-source-search): Use it.

287 288
2011-02-03  Lars Ingebrigtsen  <larsi@gnus.org>

Juanma Barranquero's avatar
Juanma Barranquero committed
289 290 291
	* url-http.el (url-http-wait-for-headers-change-function):
	Don't move point if the callback function has moved/changed/killed
	the process buffer.
292

Glenn Morris's avatar
Glenn Morris committed
293
2010-12-16  Miles Bader  <miles@gnu.org>
294 295 296 297

	* url-cookie.el: Require 'cl when compiling -- it's necessary for
	defstruct.

Glenn Morris's avatar
Glenn Morris committed
298 299 300 301 302 303 304
2010-12-14  Glenn Morris  <rgm@gnu.org>

	* url-cookie.el: Don't require cl when compiling.
	(url-cookie-clean-up, url-cookie-generate-header-lines): Use dolist.
	(url-cookie-parse-file, url-cookie-store, url-cookie-retrieve)
	(url-cookie-handle-set-cookie): Simplify.

Stefan Monnier's avatar
Stefan Monnier committed
305
2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
306 307 308 309

	* url-cookie.el (url-cookie-retrieve): Handle null LOCALPART.
	Suggested by Lennart Borgman (Bug#7543).

310 311 312 313 314
2010-11-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* url-file.el (url-file-build-filename): Avoid interpreting
	file:/foo:/bar URLs via tramp.

315 316 317 318
2010-10-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.

319 320 321 322 323
2010-10-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* url-http.el (url-http-end-of-document-sentinel): Protect against
	the process buffer being killed.

324 325
2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>

Stefan Monnier's avatar
Stefan Monnier committed
326 327
	* url-http.el (url-http-wait-for-headers-change-function):
	Protect against url-http-response-status for degenerate documents.
328 329
	(url-http-wait-for-headers-change-function): Revert previous
	change.  It lead to really slow loads.
330

331 332 333 334 335 336 337 338 339 340
2010-10-03  Glenn Morris  <rgm@gnu.org>

	* url-util.el (url-get-url-filename-chars): Don't eval-and-compile.
	(url-get-url-at-point): Don't use eval-when-compile.

	* url-cache.el (url-cache-create-filename-human-readable)
	(url-cache-create-filename-using-md5):
	* url-util.el (url-file-directory, url-file-nondirectory):
	Don't use eval-when-compile and regexp-quote.

341 342
2010-10-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>

Stefan Monnier's avatar
Stefan Monnier committed
343
	* url-vars.el (url-mime-charset-string): Change the default to
344 345 346
	nil to avoid sending 1171 bytes of not very useful data to the
	HTTP server every request.

347 348 349 350 351
2010-10-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* url-util.el (url-display-percentage): Don't message when the URL
	is silent.
	(url-lazy-message): Ditto.
352
	(url-lazy-message): Remove leftover debugging code.
353 354 355 356 357 358 359 360 361

	* url-http.el (url-http-parse-headers): Pass the SILENT parameter
	back to the fetching function.

	* url.el (url-retrieve): Add a silent parameter.
	(url-retrieve-internal): Ditto.

	* url-parse.el (url): Add a `silent' slot in the URL struct.

362 363
2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>

Juanma Barranquero's avatar
Juanma Barranquero committed
364 365
	* url-cookie.el (url-cookie-handle-set-cookie): Use url-lazy-message
	for the cookie warning, which isn't very interesting.
366

367 368 369
	* url-http.el (url-http-async-sentinel): Check that the buffer is
	still alive before switching to it.

Julien Danjou's avatar
Julien Danjou committed
370 371 372 373 374 375 376 377
2010-09-25  Julien Danjou  <julien@danjou.info>

	* url-cache.el (url-cache-create-filename): Ensure no-port and
	default-port end up with the same cache file.
	(url-cache-create-filename-human-readable)
	(url-cache-create-filename-using-md5): Argument is always in the form of
	a string now.

378
2010-09-23  Glenn Morris  <rgm@gnu.org>
379 380 381

	* url-cache.el (url-is-cached): Doc fix.

382 383 384 385
2010-09-23  Glenn Morris  <rgm@gnu.org>

	* url-cache.el (url-cache-expired): Don't autoload.
	Tweak previous change.
386
	(url-cache-expire-time): Doc fix.
387

Julien Danjou's avatar
Julien Danjou committed
388 389 390 391 392
2010-09-23  Julien Danjou  <julien@danjou.info>

	* url-cache.el (url-cache-expire-time): New option.
	(url-cache-expired): Rewrite.

393 394 395 396
2010-09-19  Julien Danjou  <julien@danjou.info>

	* url-cache.el (url-fetch-from-cache): New function.

397 398
2010-09-18  Julien Danjou  <julien@danjou.info>

Glenn Morris's avatar
Glenn Morris committed
399
	* url-vars.el (url-cache-expired): Remove unused variable.
400

401
2010-09-14  Julien Danjou  <julien@danjou.info>
402

403 404
	* url-cache.el (url-store-in-cache):
	Make `buff' argument really optional.
405

406
2010-09-14  Glenn Morris  <rgm@gnu.org>
407 408 409

	* url-cookie.el (url-cookie-expired-p): Tweak previous change.

410
2010-09-14  shawn boles  <shawn.boles@gmail.com>  (tiny change)
411 412 413

	* url-cookie.el (url-cookie-expired-p): Simplify and fix.  (Bug#6957)

Glenn Morris's avatar
Glenn Morris committed
414 415 416 417 418
2010-09-11  Glenn Morris  <rgm@gnu.org>

	* url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
	* url-vars.el: Remove leading `*' from defcustom docs.

Juanma Barranquero's avatar
Juanma Barranquero committed
419
2010-07-27  Michael Albinus  <michael.albinus@gmx.de>
420

421
	* url-http.el (url-http-parse-headers): Disable file name handlers at
422 423
	all (not only Tramp).  (Bug#6717)

Juanma Barranquero's avatar
Juanma Barranquero committed
424
2010-07-27  Michael Albinus  <michael.albinus@gmx.de>
425

426
	* url-http.el (url-http-parse-headers): Disable Tramp.  (Bug#6717)
427

428 429 430
2010-07-01  Mark A. Hershberger  <mah@everybody.org>

	* url-http.el (url-http-create-request): Add a CRLF on the end so
Juanma Barranquero's avatar
Juanma Barranquero committed
431
	that POSTs with content to https URLs work.
Stefan Monnier's avatar
Stefan Monnier committed
432
	See <https://bugs.launchpad.net/mediawiki-el/+bug/540759>
433

434 435 436
2010-06-22  Mark A. Hershberger  <mah@everybody.org>

	* url-parse.el (url-user-for-url, url-password-for-url):
Juanma Barranquero's avatar
Juanma Barranquero committed
437
	Convenience functions that get usernames and passwords for URLs
438 439
	from auth-source functions.

Štěpán Němec's avatar
Štěpán Němec committed
440 441 442 443
2010-06-12  Štěpán Němec  <stepnem@gmail.com>  (tiny change)

	* url-vars.el (url-privacy-level): Fix doc typo.  (Bug#6406)

444 445 446 447
2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-util.el (url-unhex-string): Don't accidentally decode as latin-1.

Chong Yidong's avatar
Chong Yidong committed
448 449 450 451
2010-05-07  Chong Yidong  <cyd@stupidchicken.com>

	* Version 23.2 released.

452 453 454 455
2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-dired.el (url-dired-minor-mode): Use define-minor-mode.

Ted Zlatanov's avatar
Ted Zlatanov committed
456 457 458 459
2010-03-24  Teodor Zlatanov  <tzz@lifelogs.com>

	* url-http.el (url-http-parse-headers): Fix wrong variable name.

460 461 462 463 464 465 466
2010-03-24  Teodor Zlatanov  <tzz@lifelogs.com>

	* url-http.el (url-http-codes): New variable to hold a mapping of
	HTTP status codes' numbers, their symbolic name, and their text.
	(url-http-parse-headers): Use it, leaving the original numeric
	code in a comment.

467 468 469 470
2010-03-19  Glenn Morris  <rgm@gnu.org>

	* url.el: Move mailcap require earlier in the file.

Chong Yidong's avatar
Chong Yidong committed
471 472
2010-03-12  Chong Yidong  <cyd@stupidchicken.com>

473
	* url-vars.el (url): Put in comm group.
Chong Yidong's avatar
Chong Yidong committed
474

Chong Yidong's avatar
Chong Yidong committed
475 476 477 478
2010-03-10  Chong Yidong  <cyd@stupidchicken.com>

	* Branch for 23.2.

479 480 481 482
2010-01-23  Chong Yidong  <cyd@stupidchicken.com>

	* url-util.el: Require url-vars (Bug#5459).

483 484 485 486
2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-parse.el (url-generic-parse-url): Bind deactivate-mark.

487 488 489 490 491
2009-11-08  Kai Tetzlaff  <kai.tetzlaff@web.de>  (tiny change)

	* url-http.el (url-http-handle-authentication): Use proxy server,
	if any, for authentication (Bug#4883).

492 493 494 495 496 497 498 499
2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-util.el (url-insert-entities-in-string):
	* url-nfs.el (url-nfs-unescape):
	* url-ldap.el (url-ldap):
	* url-imap.el (url-imap):
	* url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.

500 501 502 503
2009-10-01  Glenn Morris  <rgm@gnu.org>

	* url-http.el (url-dav-file-attributes): Fix declaration.

504 505 506 507 508
2009-09-13  Chong Yidong  <cyd@stupidchicken.com>

	* url-handlers.el (url-copy-file): Add fifth arg for compatibility
	with 2005-06-25 change to copy-file (Bug#4410).

509 510 511 512
2009-09-13  Glenn Morris  <rgm@gnu.org>

	* url-file.el (url-file): Avoid assignment to free variable `filename'.

513 514 515
2009-09-12  Chong Yidong  <cyd@stupidchicken.com>

	* url-methods.el (url-scheme--registering-proxy): New variable.
Stefan Monnier's avatar
Stefan Monnier committed
516 517
	(url-scheme-register-proxy, url-scheme-get-property):
	Avoid calling url-scheme-register-proxy in an infloop (Bug#4191).
518

519 520 521 522 523 524
2009-08-22  Glenn Morris  <rgm@gnu.org>

	* url-file.el (url-file-build-filename):
	* url-privacy.el (url-setup-privacy-info): Remove code for defunct
	system-types Apple-Macintosh, emx, ms-windows, next-mach.

525 526 527 528
2009-06-21  Chong Yidong  <cyd@stupidchicken.com>

	* Branch for 23.1.

529 530 531 532
2009-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-handlers.el (url-file-handler): Save match data.

Jason Rumney's avatar
Jason Rumney committed
533 534 535
2009-02-21  Jason Rumney  <jasonr@gnu.org>

	* url-expand.el (url-default-expander): Use concat to combine
Juanma Barranquero's avatar
Juanma Barranquero committed
536
	parts.  (Bug #1020)
Jason Rumney's avatar
Jason Rumney committed
537

538 539 540 541
2009-02-10  Glenn Morris  <rgm@gnu.org>

	* url-util.el (url-generate-unique-filename): Silence compiler.

542 543 544 545 546 547 548 549
2009-02-07  Chong Yidong  <cyd@stupidchicken.com>

	* url-file.el (url-file): Use make-temp-file.

	* url-util.el (url-generate-unique-filename): Mark as obsolete.

	* url-vars.el (url-temporary-directory): Mark as obsolete.

550 551
2009-01-15  Chong Yidong  <cyd@stupidchicken.com>

552
	* url-cookie.el (url-cookie-retrieve): Fix last change.
553

554 555 556 557
2009-01-14  Chong Yidong  <cyd@stupidchicken.com>

	* url-cookie.el (url-cookie-retrieve): Handle null localpart.

558 559 560 561
2009-01-13  Juanma Barranquero  <lekktu@gmail.com>

	* url-util.el (url-truncate-url-for-viewing): Doc fix.

562 563 564 565
2009-01-09  Glenn Morris  <rgm@gnu.org>

	* url-cid.el (url-cid-gnus): Fix typo in header name.

566 567 568 569 570
2008-11-04  Chong Yidong  <cyd@stupidchicken.com>

	* url-util.el (url-basepath): Add url-basepath as an alias for
	url-file-directory.

571 572 573 574
2008-10-24  Juanma Barranquero  <lekktu@gmail.com>

	* url.el (url-configuration-directory): Use `locate-user-emacs-file'.

575 576 577 578
2008-10-20  İsmail Dönmez  <ismail@namtrac.org>  (tiny change)

	* url-auth.el (url-basic-auth): Encode password string.

579 580 581 582 583 584
2008-08-30  Glenn Morris  <rgm@gnu.org>

	* url-http.el (url-https-expand-file-name): Resolve directly to
	url-default-expander rather than via another alias.
	(url-default-expander): Autoload an autoload.  (Bug#825).

Juanma Barranquero's avatar
Juanma Barranquero committed
585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622
2008-07-02  Juanma Barranquero  <lekktu@gmail.com>

	* url.el (url-do-setup):
	* url-dired.el (url-dired-minor-mode):
	* url-file.el (url-file-find-possibly-compressed-file):
	* url-gw.el (url-gateway-broken-resolution):
	* url-handlers.el (url-handler-regexp):
	* url-imap.el (url-imap-default-port):
	* url-methods.el (url-scheme-get-property): Fix typos in docstrings.

	* url-auth.el (url-basic-auth-storage, url-digest-auth):
	Fix typos in docstrings.
	(url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.

	* url-cache.el (url-cache-prepare): Doc fix.
	(url-cache-create-filename-human-readable, url-cache-extract):
	Fix typos in docstrings.

	* url-dav.el (url-intersection, url-dav-iso8601-regexp)
	(url-dav-delete-something): Fix typos in docstrings.
	(url-dav-http-success-p, url-dav-file-name-all-completions)
	(url-dav-directory-files, url-dav-file-name-completion): Doc fixes.

	* url-http.el (url-http-idle-sentinel): Doc fix.

	* url-irc.el (url-irc-default-port): Fix typo in docstring.
	(url-irc-function): Doc fix.

	* url-util.el (url-get-url-filename-chars, url-unhex-string):
	Fix typos in docstrings.
	(url-file-extension): Doc fix.

	* url-vars.el (url-current-object, url-current-mime-headers)
	(url-privacy-level, url-mail-command, url-mime-language-string):
	Fix typos in docstrings.
	(url-honor-refresh-requests): Reflow docstring.
	(url-using-proxy): Doc fix.

623 624 625 626 627
2008-06-22  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-dav.el: Move to the parent directory to be together with the
	rest of the VC backends.

628 629 630 631 632
2008-06-07  Glenn Morris  <rgm@gnu.org>

	* url-auth.el (auth-source-user-or-password): Remove unnecessary
	eval-and-compile.

633 634 635 636
2008-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-handlers.el (url-file-name-completion): Add missing argument.

Ted Zlatanov's avatar
Ted Zlatanov committed
637 638
2008-05-12  Teodor Zlatanov  <tzz@lifelogs.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
639
	* url-auth.el: Add autoload cookie for `auth-source-user-or-password'.
Ted Zlatanov's avatar
Ted Zlatanov committed
640 641 642
	(url-basic-auth, url-digest-auth): Use it with any realm,
	overriding the user name and password before the prompt.

643 644 645 646
2008-04-28  Juanma Barranquero  <lekktu@gmail.com>

	* url-vars.el (url-load-hook): Fix typo in docstring.

647 648 649
2008-03-09  Magnus Henoch  <mange@freemail.hu>

	* url-http.el (url-http-chunked-encoding-after-change-function):
Juanma Barranquero's avatar
Juanma Barranquero committed
650
	Remove superfluous CRLF at end of file.  (Bug #42)
651

Andreas Schwab's avatar
Andreas Schwab committed
652 653 654 655
2008-03-02  Andreas Schwab  <schwab@suse.de>

	* url-util.el: Require cl when compiling.

656 657
2008-02-28  Teodor Zlatanov  <tzz@lifelogs.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
658 659
	* url-util.el (url-get-normalized-date): Simplify to use
	`format-time-string'.  Always generate date in UTC, but
660 661
	call it GMT for full compatibility with the RFCs.

662 663 664 665 666
2008-02-06  Michael Albinus  <michael.albinus@gmx.de>

	* url-handlers.el (file-remote-p): Add handler.
	(url-handler-file-remote-p): New fun.

667 668 669 670 671
2008-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-handlers.el (url-handler-unhandled-file-name-directory):
	Handle `file' URLs specially.  Return nil for non-local filenames.

672 673 674 675
2008-02-04  Magnus Henoch  <mange@freemail.hu>

	* url-expand.el: Require cl when compiling, for setf.

676 677 678 679 680 681 682 683
2008-01-29  John Wiegley  <johnw@newartisans.com>

	* url-auth.el (url-digest-auth): If the 'opaque' argument is not
	being used, don't add it to the response text.  Also, changed an
	if so that the interaction between the PROMPT and OVERWRITE
	arguments can no longer result in the user being queried twice for
	the same login and password information.

684 685 686 687 688
2008-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-handlers.el (unhandled-file-name-directory): Add handler.
	(url-handler-unhandled-file-name-directory): New fun.

689 690 691 692
2008-01-07  Michael Albinus  <michael.albinus@gmx.de>

	* url-handlers.el (url-file-handler): Autoload.

693 694 695 696 697 698 699 700 701
2007-12-11  Glenn Morris  <rgm@gnu.org>

	* url.el (url-configuration-directory): Make it a defcustom.

	* url-util.el (url-make-private-file): New function.
	* url-cookie.el (url-cookie-write-file):
	* url-history.el (url-history-save-history):
	Use url-make-private-file and with-temp-buffer.

702 703 704 705 706
2007-12-06  Glenn Morris  <rgm@gnu.org>

	* url-file.el, url-mailto.el: Remove directory part from filenames
	in function declarations.

707 708
2007-12-02  Glenn Morris  <rgm@gnu.org>

709 710 711 712 713 714 715 716 717 718 719
	* url-about.el, url-handlers.el: Don't require cl when compiling.

	* url-dav.el (url-dav-delete-directory): Fix message typo.

	* url-history.el (top-level): Don't require cl when compiling.
	(url-history-setup-save-timer, url-history-save-history):
	Use condition-case rather than ignore-errors.

	* url-imap.el (top-level): Don't require cl when compiling.
	(url-imap): Use signal rather than check-type.

720 721 722 723 724 725
	* url-news.el (top-level): Don't require cl when compiling.
	(gnus-group-buffer): Define for compiler.
	(url-news-fetch-message-id): Don't use `declare'.
	(nntp-open-tls-stream, nntp-open-ssl-stream):
	No need to define for compiler.
	(url-snews): Use nntp-open-tls-stream unless ssl is requested.
Glenn Morris's avatar
Glenn Morris committed
726
	Correct quoting of nntp-open-connection-function value.
727

728 729 730 731 732
2007-12-01  Glenn Morris  <rgm@gnu.org>

	* url-handlers.el (top-level): Always require url-parse, not just
	when compiling.

733 734 735 736
2007-11-30  Glenn Morris  <rgm@gnu.org>

	* url-cookie.el (url-cookie-p): Declare as a function.

737 738 739 740 741 742 743
2007-11-29  Glenn Morris  <rgm@gnu.org>

	* url-file.el (url-file-build-filename, url-file): Wrap uses of
	efs in (featurep 'xemacs) test.

	* url-irc.el (zenirc, zenirc-send-line): Declare as functions.

744 745 746
2007-11-28  Diane Murray  <disumu@x3y2z1.net>

	* url-dired.el: Don't require w3-fetch and w3-open-local.
747
	(url-dired-find-file): Use `find-file'.  Doc fix.
748 749
	(url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
750 751 752 753
2007-11-24  Glenn Morris  <rgm@gnu.org>

	* url-privacy.el (url-device-type): Fix typo.

754 755 756 757
2007-11-20  Dan Nicolaescu  <dann@ics.uci.edu>

	* url-mailto.el (mail-send-and-exit):
	* url-http.el (url-dav-file-attributes):
Miles Bader's avatar
Miles Bader committed
758
	* url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal)
759 760
	(url-generate-unique-filename): Declare as functions.

761 762
	* url-privacy.el (url-device-type): Define unconditionally.

763 764 765 766
2007-11-15  Richard Stallman  <rms@gnu.org>

	* url.el (url-retrieve-synchronously): Call delete-process.

767 768 769 770 771
2007-10-31  Juanma Barranquero  <lekktu@gmail.com>

	* url-vars.el (url-vars-unload-hook): Remove function and variable.
	Hooks are automatically removed by `unload-feature'.

772 773 774 775 776 777 778 779 780 781 782
2007-10-13  Richard Stallman  <rms@gnu.org>

	* url-util.el (url-basepath): Function deleted.
	(url-file-directory, url-file-nondirectory): New functions
	replacing url-basepath.  Callers changed.

	* url-expand.el (url-default-expander): Use `url-file-directory'.

	* url-auth.el (url-digest-auth, url-basic-auth):
	Rename `path' to `file'.  Use `url-file-directory'.

783 784 785
2007-10-12  Diane Murray  <disumu@x3y2z1.net>

	* url-auth.el (url-basic-auth): Set path to "/" when URL has an
Juanma Barranquero's avatar
Juanma Barranquero committed
786
	empty string filename.
787

788 789 790 791 792 793 794 795
2007-10-09  Richard Stallman  <rms@gnu.org>

	* url-parse.el (url-type, url-user, url-password, url-host)
	(url-port, url-filename, url-target, url-attributes)
	(url-fullness, url-set-type, url-set-user, url-set-password)
	(url-set-host, url-set-port, url-set-filename, url-set-target)
	(url-set-attributes, url-set-full): Change macros to defuns.

796 797 798 799 800
2007-09-26  Juanma Barranquero  <lekktu@gmail.com>

	* url-dav.el (top):
	* url-vars.el (top): Use `mapc' rather than `mapcar'.

801 802 803
2007-09-22  Diane Murray  <disumu@x3y2z1.net>

	* url-misc.el (url-generic-emulator-loader): Send the port as a
Juanma Barranquero's avatar
Juanma Barranquero committed
804
	string to `url-do-terminal-emulator'.
805

806 807
2007-09-21  Diane Murray  <disumu@x3y2z1.net>

808
	* url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus method.
809

810 811 812 813
	* url-util.el (url-get-normalized-date): Pass full timezone
	information to timezone-make-date-arpa-standard, since zone name
	may be unknown.

814 815
2007-09-03  Diane Murray  <disumu@x3y2z1.net>

Juanma Barranquero's avatar
Juanma Barranquero committed
816
	* url-http.el (url-http-parse-headers): Bind the current buffer
817 818 819 820
	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.

821 822 823 824 825 826 827 828 829 830 831
2007-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-parse.el (url): Use defstruct rather than macros.
	(url-generic-parse-url):
	* url-util.el (url-normalize-url, url-truncate-url-for-viewing):
	* url-methods.el (url-scheme-register-proxy):
	* url-mailto.el (url-mailto):
	* url-file.el (url-file-build-filename):
	* url-expand.el (url-identity-expander, url-default-expander):
	Update all callers.

Juanma Barranquero's avatar
Juanma Barranquero committed
832 833 834 835 836
2007-08-09  Edward O'Connor  <hober0@gmail.com>  (tiny change)

	* url-auth.el (url-basic-auth): When prompting for username
	and password, default to the username and password in the URL.

837 838 839 840 841
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.

842 843 844 845
2007-07-25  Glenn Morris  <rgm@gnu.org>

	* Relicense all FSF files to GPLv3 or later.

846 847 848 849
2007-06-12  Tom Tromey  <tromey@redhat.com>

	* url.el (url-configuration-directory): Use user-emacs-directory.

850 851 852 853 854 855 856 857 858 859 860
2007-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* url-cookie.el (url-cookie-name, url-cookie-value)
	(url-cookie-expires, url-cookie-localpart, url-cookie-domain)
	(url-cookie-secure, url-cookie-set-name, url-cookie-set-value)
	(url-cookie-set-expires, url-cookie-set-localpart)
	(url-cookie-set-domain, url-cookie-set-secure)
	(url-cookie-retrieve-arg, url-cookie-create, url-cookie-p): Remove.
	(url-cookie): New struct.
	(url-cookie-store): Use setf instead of url-cookie-set-*.

861 862 863
2007-05-29  Chong Yidong  <cyd@stupidchicken.com>

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

867 868 869 870
2007-04-15  Chong Yidong  <cyd@stupidchicken.com>

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

871 872 873 874 875 876 877
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.

878
2007-04-01  Diane Murray  <disumu@x3y2z1.net>  (tiny change)
879 880 881 882 883 884 885

	* 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.

886 887 888 889 890 891
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.

892 893 894 895 896 897 898
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
899 900 901 902
2007-01-29  Juanma Barranquero  <lekktu@gmail.com>

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

903 904 905 906 907 908 909 910 911 912 913
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
Stefan Monnier's avatar
Stefan Monnier committed
914 915
	dynamic variable `url-using-proxy' as proxy to use.
	Set `url-current-object' to actual URL, and `url-http-proxy' to proxy
916 917 918 919 920
	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
921 922 923 924
2006-12-10  Juanma Barranquero  <lekktu@gmail.com>

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

Magnus Henoch's avatar
Magnus Henoch committed
925 926 927 928 929 930
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
Stefan Monnier's avatar
Stefan Monnier committed
931 932
	the buffer-local variable `url-http-target-url' instead.
	Both callers updated.  Simplify proxy handling.
Magnus Henoch's avatar
Magnus Henoch committed
933 934 935 936
	(url-http): Don't make proxy-object buffer local.

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

937 938
2006-11-26  Magnus Henoch  <mange@freemail.hu>

Stefan Monnier's avatar
Stefan Monnier committed
939 940
	* url-http.el (url-http-wait-for-headers-change-function):
	Use `when' instead of `if' when possible.
941 942 943
	(url-http): Define url-http-response-version.
	(url-http-parse-response): Set it.
	(url-http-parse-headers): Use it to determine keep-alive behavior.
944

945
2006-11-23  Diane Murray  <disumu@x3y2z1.net>  (tiny change)
946

Stefan Monnier's avatar
Stefan Monnier committed
947 948
	* url-http.el (url-http-content-length-after-change-function):
	Use `url-lazy-message'.
949 950 951 952

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

953 954
2006-11-15  Magnus Henoch  <mange@freemail.hu>

955 956 957
	* url-http.el (url-http): Make proxy-object buffer-local, to
	handle proxied asynchronous connections correctly.

958 959
	* url-parse.el (url-generic-parse-url): Use with-temp-buffer.

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

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

Juanma Barranquero's avatar
Juanma Barranquero committed
965
2006-11-10  Shun-ichi GOTO  <gotoh@taiyo.co.jp>  (tiny change)
966 967 968 969 970 971

	* 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.

972 973
2006-11-08  Magnus Henoch  <mange@freemail.hu>

974 975 976 977
	* url-http.el (url-http-handle-authentication): If there are
	several authentication headers, use the strongest available
	method.

978 979 980
	* url.el (url-retrieve-synchronously): Allow quitting when
	inhibit-quit is t.

Juanma Barranquero's avatar
Juanma Barranquero committed
981
2006-11-03  Shun-ichi GOTO  <gotoh@taiyo.co.jp>  (tiny change)
982 983 984 985 986

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

987 988 989 990 991
2006-11-01  Magnus Henoch  <mange@freemail.hu>

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

992 993 994 995 996
2006-10-29  Magnus Henoch  <mange@freemail.hu>

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

997 998 999 1000
2006-10-28  Magnus Henoch  <mange@freemail.hu>

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

1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017
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.

1018 1019
2006-10-16  Magnus Henoch  <mange@freemail.hu>

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

1023 1024
2006-10-12  Magnus Henoch  <mange@freemail.hu>

Juanma Barranquero's avatar
Juanma Barranquero committed
1025 1026
	* url-http.el (url-http-find-free-connection):
	Handle url-open-stream returning nil.
1027

1028 1029 1030 1031 1032 1033
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.

1034 1035 1036 1037 1038 1039
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.
1040
	(url-recreate-url-attributes): Start query string with "?", not ";".
1041

1042 1043 1044 1045 1046 1047
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".

1048 1049 1050 1051 1052 1053
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.

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

Stefan Monnier's avatar
Stefan Monnier committed
1056 1057 1058 1059 1060 1061 1062 1063
	* 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.

1064
2006-08-29  Diane Murray  <disumu@x3y2z1.net>  (tiny change)
Stefan Monnier's avatar
Stefan Monnier committed
1065 1066 1067

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

1069 1070 1071 1072 1073
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.

1074 1075 1076 1077 1078 1079 1080
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'.

1081 1082 1083 1084 1085
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
1086 1087 1088 1089
2006-07-12  Michael Olson  <mwolson@gnu.org>

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

1090 1091 1092 1093 1094 1095
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
1096
2006-07-04  Andreas Seltenreich  <uwi7@rz.uni-karlsruhe.de>
1097 1098 1099 1100

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

1101 1102 1103 1104
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
1105
2006-05-05  Andreas Seltenreich  <seltenreich@gmx.de>
Eli Zaretskii's avatar
Eli Zaretskii committed
1106 1107 1108 1109

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

1110 1111 1112 1113 1114 1115 1116 1117
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.

1118 1119 1120 1121 1122
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.

1123 1124 1125 1126 1127 1128
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.

1129 1130 1131 1132
2006-03-07  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1133 1134 1135 1136 1137 1138 1139
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.

1140 1141 1142 1143 1144 1145 1146 1147 1148 1149
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.

1150 1151 1152 1153 1154 1155
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.

1156 1157
2006-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>

1158 1159 1160
	* url.el (url-retrieve-synchronously): Adjust the workaround so as not
	to stop in the middle of a redirection.

1161 1162
	* url-vars.el (url-privacy-level): Add setter.

1163 1164
2006-01-05  Stefan Monnier  <monnier@iro.umontreal.ca>

1165 1166 1167 1168 1169
	* 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.
1170
	(url-have-visited-url): Simplify since url-history-hash-table isn't nil.
1171 1172
	(url-completion-function): Simplify.

1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184
	* 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.

1185 1186 1187 1188 1189 1190 1191 1192
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'.

1193 1194
2005-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>

1195 1196
	* url-cache.el (url-store-in-cache): Use save-current-buffer.

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

1200 1201 1202 1203 1204 1205
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.

1206 1207 1208 1209 1210
2005-12-07  Klaus Straubinger  <KSNetz@Arcor.DE>  (tiny change)

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

1211 1212 1213 1214 1215 1216
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
1217 1218 1219 1220
2005-12-01  Kim F. Storm  <storm@cua.dk>

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

1221 1222 1223 1224 1225 1226 1227 1228
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
1229 1230 1231 1232 1233 1234 1235
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.

1236
2005-11-16  Jürgen Hötzel  <emacs@hoetzel.info>  (tiny change)
1237 1238 1239 1240

	* 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
1241 1242
2005-10-20  CHENG Gao  <chenggao@gmail.com>  (tiny change)

1243 1244
	* url-nfs.el (top level):
	* url-handlers.el (directory-files):
Eli Zaretskii's avatar
Eli Zaretskii committed
1245
	* url-file.el (top level):
1246
	* url-dired.el (url-dired-minor-mode-map):
Eli Zaretskii's avatar
Eli Zaretskii committed
1247 1248 1249
	* url-http.el (url-http-chunked-encoding-after-change-function):
	Remove XEmacs support.

1250 1251 1252 1253
2005-10-15  Richard M. Stallman  <rms@gnu.org>

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

1254 1255 1256 1257 1258
2005-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1259 1260 1261 1262 1263 1264 1265
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'.

1266 1267 1268 1269
2005-09-15  Chong Yidong  <cyd@stupidchicken.com>

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

1272 1273 1274 1275
2005-09-13  Chong Yidong  <cyd@stupidchicken.com>

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