ChangeLog 91 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641
  1. 2012-08-24 Chong Yidong <cyd@gnu.org>
  2. * Version 24.2 released.
  3. 2012-06-23 Leo Liu <sdl.web@gmail.com>
  4. * url-http.el (url-http-codes): Fix mal-formed defconst.
  5. 2012-06-01 Chong Yidong <cyd@gnu.org>
  6. * Version 24.1 released.
  7. 2012-03-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
  8. * url-queue.el (url-queue-kill-job): Check whether the buffer has
  9. been killed asynchronously before selecting it.
  10. 2012-03-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
  11. * url-queue.el (url-queue-kill-job): Make sure that the callback
  12. is always called, even if we have a timeout.
  13. 2012-03-11 Chong Yidong <cyd@gnu.org>
  14. * url-http.el (url-http-end-of-document-sentinel): Handle
  15. keepalive expiry by calling url-http again (Bug#10223).
  16. (url-http): New arg, for the above.
  17. 2012-03-11 Devon Sean McCullough <emacs-hacker2012@jovi.net>
  18. * url-http.el (url-http-find-free-connection): Don't pass a nil
  19. argument to url-http-mark-connection-as-busy (bug#10891).
  20. 2012-02-20 Lars Ingebrigtsen <larsi@gnus.org>
  21. * url-queue.el (url-queue-kill-job): Delete the process sentinel
  22. before killing the process to avoid a race condition between the
  23. two processes killing off the process buffer.
  24. * url.el (url-retrieve-internal): Warn about file errors when
  25. pruning the cache instead of bugging out (bug#10831).
  26. 2012-02-19 Lars Ingebrigtsen <larsi@gnus.org>
  27. * url-queue.el (url-queue-callback-function): Remove the job from
  28. the queue so that we don't kill the current buffer, which will
  29. then make the callback function kill a random buffer.
  30. 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
  31. * url-queue.el (url-queue-kill-job): Refactored out code.
  32. (url-queue-remove-jobs-from-host): Use it to kill jobs that are in
  33. flight.
  34. 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
  35. * url-future.el: Minor doc update.
  36. 2012-02-14 Leo Liu <sdl.web@gmail.com>
  37. * url-future.el: Fix last change.
  38. 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
  39. * url-future.el (url-future-test): Move to test/automated.
  40. 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
  41. * url-http.el (url-http-parse-headers): When redirecting, pass on
  42. the `inhibit-cookie' parameter.
  43. 2012-02-10 Glenn Morris <rgm@gnu.org>
  44. * url-queue.el (url-queue-retrieve): Fic previous doc fix.
  45. 2012-02-10 Andreas Schwab <schwab@linux-m68k.org>
  46. * url-http.el (url-http-clean-headers): Return the number of
  47. removed characters.
  48. (url-http-wait-for-headers-change-function): Adjust end position
  49. after cleaning the headers. (Bug#10768)
  50. 2012-02-10 Glenn Morris <rgm@gnu.org>
  51. * url-queue.el (url-queue-retrieve): Doc fix.
  52. 2012-02-08 Lars Ingebrigtsen <larsi@gnus.org>
  53. * url-parse.el (url): Add the `use-cookies' slot to the URL struct
  54. to be able to keep track of whether to do cookies or not on a
  55. per-URL basis.
  56. * url-queue.el (url-queue-retrieve): Take an optional
  57. `inhibit-cookies' parameter.
  58. * url.el (url-retrieve): Ditto
  59. * url-http.el (url-http-create-request): Don't send cookies unless
  60. requested.
  61. (url-http-parse-headers): Don't store cookies unless requested.
  62. 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
  63. * url-cache.el (url-cache-prune-cache): New function.
  64. (url-cache-prune-cache): Check that the directory exists before
  65. trying to delete it.
  66. * url.el (url-retrieve-number-of-calls): New variable.
  67. (url-retrieve-internal): Use it to expire the cache once in a
  68. while.
  69. * url-queue.el (url-queue-setup-runners): New function that uses
  70. `run-with-idle-timer' for extra asynchronicity.
  71. (url-queue-remove-jobs-from-host): New function.
  72. (url-queue-callback-function): Remove jobs from the same host if
  73. connection failed.
  74. 2012-01-12 Glenn Morris <rgm@gnu.org>
  75. * url-auth.el (url-basic-auth, url-digest-auth):
  76. Allow reading usernames etc when the minibuffer is already in use,
  77. eg in url-handler-mode. (Bug#10298)
  78. 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
  79. * url-dav.el (url-dav-delete-file): Fix typo.
  80. 2011-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
  81. * url-http.el (url-http-async-sentinel): If the server hangs up
  82. while we're talking to it, just `message' the error instead of
  83. throwing an error.
  84. 2011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
  85. * url-cookie.el (url-cookie-expired-p): Protect against
  86. zero-length cookie expiry dates.
  87. 2011-10-19 Chong Yidong <cyd@gnu.org>
  88. * url-handlers.el (url-handler-mode): Doc fix.
  89. 2011-09-24 Christopher J. White <chris@grierwhite.com> (tiny change)
  90. * url-http.el (url-http-create-request): Avoid adding extra CRLF
  91. (Bug#8931).
  92. 2011-09-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
  93. * url-http.el (url-http-find-free-connection): If there was an
  94. error on connect, make sure the user isn't bothered with
  95. irrelevant questions.
  96. 2011-08-07 Chong Yidong <cyd@stupidchicken.com>
  97. * url-http.el (url-http-parse-headers): For HTTP 301/302/307,
  98. don't convert to a GET request (Bug#701).
  99. 2011-07-13 Chris Newton <redshodan@gmail.com> (tiny change)
  100. * url-http.el (url-http): Copy over `url-show-status' to the async
  101. buffer so that `url-display-percentage' does the right thing
  102. (bug#4680).
  103. 2011-07-06 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
  104. * url-cache.el (url-cache-extract): Set buffer multibyte flag to
  105. nil (bug#8827).
  106. 2011-07-03 Nicolas Avrutin <nicolasavru@gmail.com> (tiny change)
  107. * url-http.el (url-http-create-request): Remove double carriage
  108. return and newline (bug#8931).
  109. 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
  110. * url-http.el (url-http-wait-for-headers-change-function): Remove
  111. pointless "HTTP/0.9 How I hate thee!" message (bug#6735).
  112. 2011-06-04 Andreas Schwab <schwab@linux-m68k.org>
  113. * url-future.el (url-future-test): Fix scope of `saver'.
  114. 2011-06-01 Glenn Morris <rgm@gnu.org>
  115. * url-queue.el (url-queue-parallel-processes, url-queue-timeout):
  116. Add :version tag for options that will be new in 24.1.
  117. 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
  118. * url-queue.el (url-queue-parallel-processes): Increase the
  119. default to 6, since 2 seems too conservative for normal usage.
  120. 2011-05-31 Teodor Zlatanov <tzz@lifelogs.com>
  121. * url-future.el: Add general futures facility.
  122. 2011-05-29 Leo Liu <sdl.web@gmail.com>
  123. * url-cookie.el (url-cookie): Add option :named so that
  124. url-cookie-p is defined. (Bug#8747)
  125. 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
  126. * url-queue.el: New file.
  127. (url-queue-run-queue): Pick the first waiting job, and not the last.
  128. (url-queue-parallel-processes): Lower the concurrency level, since
  129. Emacs doesn't seem to like too many async processes.
  130. (url-queue-prune-old-entries): Fix up the pruning code.
  131. 2011-04-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
  132. * url-http.el (url-http-wait-for-headers-change-function):
  133. Protect against malformed headerless responses from servers.
  134. 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
  135. * url-gw.el (url-open-stream): Use new open-network-stream
  136. functionality to perform encryption.
  137. 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
  138. * url-cookie.el (url-cookie-handle-set-cookie):
  139. Use `dolist' rather than `mapcar'.
  140. 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
  141. * Version 23.3 released.
  142. 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
  143. * url-parse.el (url-bit-for-url, url-user-for-url)
  144. (url-password-for-url): Use `auto-source-search' instead of
  145. `auto-source-user-or-password'.
  146. * url-auth.el: Autoload `auto-source-search' instead of
  147. `auto-source-user-or-password'.
  148. (url-basic-auth, url-digest-auth, url-do-auth-source-search): Use it.
  149. 2011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
  150. * url-http.el (url-http-wait-for-headers-change-function):
  151. Don't move point if the callback function has moved/changed/killed
  152. the process buffer.
  153. 2010-12-16 Miles Bader <miles@gnu.org>
  154. * url-cookie.el: Require 'cl when compiling -- it's necessary for
  155. defstruct.
  156. 2010-12-14 Glenn Morris <rgm@gnu.org>
  157. * url-cookie.el: Don't require cl when compiling.
  158. (url-cookie-clean-up, url-cookie-generate-header-lines): Use dolist.
  159. (url-cookie-parse-file, url-cookie-store, url-cookie-retrieve)
  160. (url-cookie-handle-set-cookie): Simplify.
  161. 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
  162. * url-cookie.el (url-cookie-retrieve): Handle null LOCALPART.
  163. Suggested by Lennart Borgman (Bug#7543).
  164. 2010-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
  165. * url-file.el (url-file-build-filename): Avoid interpreting
  166. file:/foo:/bar URLs via tramp.
  167. 2010-10-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
  168. * url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.
  169. 2010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
  170. * url-http.el (url-http-end-of-document-sentinel): Protect against
  171. the process buffer being killed.
  172. 2010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
  173. * url-http.el (url-http-wait-for-headers-change-function):
  174. Protect against url-http-response-status for degenerate documents.
  175. (url-http-wait-for-headers-change-function): Revert previous
  176. change. It lead to really slow loads.
  177. 2010-10-03 Glenn Morris <rgm@gnu.org>
  178. * url-util.el (url-get-url-filename-chars): Don't eval-and-compile.
  179. (url-get-url-at-point): Don't use eval-when-compile.
  180. * url-cache.el (url-cache-create-filename-human-readable)
  181. (url-cache-create-filename-using-md5):
  182. * url-util.el (url-file-directory, url-file-nondirectory):
  183. Don't use eval-when-compile and regexp-quote.
  184. 2010-10-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
  185. * url-vars.el (url-mime-charset-string): Change the default to
  186. nil to avoid sending 1171 bytes of not very useful data to the
  187. HTTP server every request.
  188. 2010-10-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
  189. * url-util.el (url-display-percentage): Don't message when the URL
  190. is silent.
  191. (url-lazy-message): Ditto.
  192. (url-lazy-message): Remove leftover debugging code.
  193. * url-http.el (url-http-parse-headers): Pass the SILENT parameter
  194. back to the fetching function.
  195. * url.el (url-retrieve): Add a silent parameter.
  196. (url-retrieve-internal): Ditto.
  197. * url-parse.el (url): Add a `silent' slot in the URL struct.
  198. 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
  199. * url-cookie.el (url-cookie-handle-set-cookie): Use url-lazy-message
  200. for the cookie warning, which isn't very interesting.
  201. * url-http.el (url-http-async-sentinel): Check that the buffer is
  202. still alive before switching to it.
  203. 2010-09-25 Julien Danjou <julien@danjou.info>
  204. * url-cache.el (url-cache-create-filename): Ensure no-port and
  205. default-port end up with the same cache file.
  206. (url-cache-create-filename-human-readable)
  207. (url-cache-create-filename-using-md5): Argument is always in the form of
  208. a string now.
  209. 2010-09-23 Glenn Morris <rgm@gnu.org>
  210. * url-cache.el (url-is-cached): Doc fix.
  211. 2010-09-23 Glenn Morris <rgm@gnu.org>
  212. * url-cache.el (url-cache-expired): Don't autoload.
  213. Tweak previous change.
  214. (url-cache-expire-time): Doc fix.
  215. 2010-09-23 Julien Danjou <julien@danjou.info>
  216. * url-cache.el (url-cache-expire-time): New option.
  217. (url-cache-expired): Rewrite.
  218. 2010-09-19 Julien Danjou <julien@danjou.info>
  219. * url-cache.el (url-fetch-from-cache): New function.
  220. 2010-09-18 Julien Danjou <julien@danjou.info>
  221. * url-vars.el (url-cache-expired): Remove unused variable.
  222. 2010-09-14 Julien Danjou <julien@danjou.info>
  223. * url-cache.el (url-store-in-cache):
  224. Make `buff' argument really optional.
  225. 2010-09-14 Glenn Morris <rgm@gnu.org>
  226. * url-cookie.el (url-cookie-expired-p): Tweak previous change.
  227. 2010-09-14 shawn boles <shawn.boles@gmail.com> (tiny change)
  228. * url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
  229. 2010-09-11 Glenn Morris <rgm@gnu.org>
  230. * url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
  231. * url-vars.el: Remove leading `*' from defcustom docs.
  232. 2010-07-27 Michael Albinus <michael.albinus@gmx.de>
  233. * url-http.el (url-http-parse-headers): Disable file name handlers at
  234. all (not only Tramp). (Bug#6717)
  235. 2010-07-27 Michael Albinus <michael.albinus@gmx.de>
  236. * url-http.el (url-http-parse-headers): Disable Tramp. (Bug#6717)
  237. 2010-07-01 Mark A. Hershberger <mah@everybody.org>
  238. * url-http.el (url-http-create-request): Add a CRLF on the end so
  239. that POSTs with content to https URLs work.
  240. See <https://bugs.launchpad.net/mediawiki-el/+bug/540759>
  241. 2010-06-22 Mark A. Hershberger <mah@everybody.org>
  242. * url-parse.el (url-user-for-url, url-password-for-url):
  243. Convenience functions that get usernames and passwords for URLs
  244. from auth-source functions.
  245. 2010-06-12 Štěpán Němec <stepnem@gmail.com> (tiny change)
  246. * url-vars.el (url-privacy-level): Fix doc typo. (Bug#6406)
  247. 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
  248. * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
  249. 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
  250. * Version 23.2 released.
  251. 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
  252. * url-dired.el (url-dired-minor-mode): Use define-minor-mode.
  253. 2010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
  254. * url-http.el (url-http-parse-headers): Fix wrong variable name.
  255. 2010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
  256. * url-http.el (url-http-codes): New variable to hold a mapping of
  257. HTTP status codes' numbers, their symbolic name, and their text.
  258. (url-http-parse-headers): Use it, leaving the original numeric
  259. code in a comment.
  260. 2010-03-19 Glenn Morris <rgm@gnu.org>
  261. * url.el: Move mailcap require earlier in the file.
  262. 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
  263. * url-vars.el (url): Put in comm group.
  264. 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
  265. * Branch for 23.2.
  266. 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
  267. * url-util.el: Require url-vars (Bug#5459).
  268. 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
  269. * url-parse.el (url-generic-parse-url): Bind deactivate-mark.
  270. 2009-11-08 Kai Tetzlaff <kai.tetzlaff@web.de> (tiny change)
  271. * url-http.el (url-http-handle-authentication): Use proxy server,
  272. if any, for authentication (Bug#4883).
  273. 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
  274. * url-util.el (url-insert-entities-in-string):
  275. * url-nfs.el (url-nfs-unescape):
  276. * url-ldap.el (url-ldap):
  277. * url-imap.el (url-imap):
  278. * url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
  279. 2009-10-01 Glenn Morris <rgm@gnu.org>
  280. * url-http.el (url-dav-file-attributes): Fix declaration.
  281. 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
  282. * url-handlers.el (url-copy-file): Add fifth arg for compatibility
  283. with 2005-06-25 change to copy-file (Bug#4410).
  284. 2009-09-13 Glenn Morris <rgm@gnu.org>
  285. * url-file.el (url-file): Avoid assignment to free variable `filename'.
  286. 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
  287. * url-methods.el (url-scheme--registering-proxy): New variable.
  288. (url-scheme-register-proxy, url-scheme-get-property):
  289. Avoid calling url-scheme-register-proxy in an infloop (Bug#4191).
  290. 2009-08-22 Glenn Morris <rgm@gnu.org>
  291. * url-file.el (url-file-build-filename):
  292. * url-privacy.el (url-setup-privacy-info): Remove code for defunct
  293. system-types Apple-Macintosh, emx, ms-windows, next-mach.
  294. 2009-06-21 Chong Yidong <cyd@stupidchicken.com>
  295. * Branch for 23.1.
  296. 2009-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
  297. * url-handlers.el (url-file-handler): Save match data.
  298. 2009-02-21 Jason Rumney <jasonr@gnu.org>
  299. * url-expand.el (url-default-expander): Use concat to combine
  300. parts. (Bug #1020)
  301. 2009-02-10 Glenn Morris <rgm@gnu.org>
  302. * url-util.el (url-generate-unique-filename): Silence compiler.
  303. 2009-02-07 Chong Yidong <cyd@stupidchicken.com>
  304. * url-file.el (url-file): Use make-temp-file.
  305. * url-util.el (url-generate-unique-filename): Mark as obsolete.
  306. * url-vars.el (url-temporary-directory): Mark as obsolete.
  307. 2009-01-15 Chong Yidong <cyd@stupidchicken.com>
  308. * url-cookie.el (url-cookie-retrieve): Fix last change.
  309. 2009-01-14 Chong Yidong <cyd@stupidchicken.com>
  310. * url-cookie.el (url-cookie-retrieve): Handle null localpart.
  311. 2009-01-13 Juanma Barranquero <lekktu@gmail.com>
  312. * url-util.el (url-truncate-url-for-viewing): Doc fix.
  313. 2009-01-09 Glenn Morris <rgm@gnu.org>
  314. * url-cid.el (url-cid-gnus): Fix typo in header name.
  315. 2008-11-04 Chong Yidong <cyd@stupidchicken.com>
  316. * url-util.el (url-basepath): Add url-basepath as an alias for
  317. url-file-directory.
  318. 2008-10-24 Juanma Barranquero <lekktu@gmail.com>
  319. * url.el (url-configuration-directory): Use `locate-user-emacs-file'.
  320. 2008-10-20 İsmail Dönmez <ismail@namtrac.org> (tiny change)
  321. * url-auth.el (url-basic-auth): Encode password string.
  322. 2008-08-30 Glenn Morris <rgm@gnu.org>
  323. * url-http.el (url-https-expand-file-name): Resolve directly to
  324. url-default-expander rather than via another alias.
  325. (url-default-expander): Autoload an autoload. (Bug#825).
  326. 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
  327. * url.el (url-do-setup):
  328. * url-dired.el (url-dired-minor-mode):
  329. * url-file.el (url-file-find-possibly-compressed-file):
  330. * url-gw.el (url-gateway-broken-resolution):
  331. * url-handlers.el (url-handler-regexp):
  332. * url-imap.el (url-imap-default-port):
  333. * url-methods.el (url-scheme-get-property): Fix typos in docstrings.
  334. * url-auth.el (url-basic-auth-storage, url-digest-auth):
  335. Fix typos in docstrings.
  336. (url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
  337. * url-cache.el (url-cache-prepare): Doc fix.
  338. (url-cache-create-filename-human-readable, url-cache-extract):
  339. Fix typos in docstrings.
  340. * url-dav.el (url-intersection, url-dav-iso8601-regexp)
  341. (url-dav-delete-something): Fix typos in docstrings.
  342. (url-dav-http-success-p, url-dav-file-name-all-completions)
  343. (url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
  344. * url-http.el (url-http-idle-sentinel): Doc fix.
  345. * url-irc.el (url-irc-default-port): Fix typo in docstring.
  346. (url-irc-function): Doc fix.
  347. * url-util.el (url-get-url-filename-chars, url-unhex-string):
  348. Fix typos in docstrings.
  349. (url-file-extension): Doc fix.
  350. * url-vars.el (url-current-object, url-current-mime-headers)
  351. (url-privacy-level, url-mail-command, url-mime-language-string):
  352. Fix typos in docstrings.
  353. (url-honor-refresh-requests): Reflow docstring.
  354. (url-using-proxy): Doc fix.
  355. 2008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
  356. * vc-dav.el: Move to the parent directory to be together with the
  357. rest of the VC backends.
  358. 2008-06-07 Glenn Morris <rgm@gnu.org>
  359. * url-auth.el (auth-source-user-or-password): Remove unnecessary
  360. eval-and-compile.
  361. 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
  362. * url-handlers.el (url-file-name-completion): Add missing argument.
  363. 2008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
  364. * url-auth.el: Add autoload cookie for `auth-source-user-or-password'.
  365. (url-basic-auth, url-digest-auth): Use it with any realm,
  366. overriding the user name and password before the prompt.
  367. 2008-04-28 Juanma Barranquero <lekktu@gmail.com>
  368. * url-vars.el (url-load-hook): Fix typo in docstring.
  369. 2008-03-09 Magnus Henoch <mange@freemail.hu>
  370. * url-http.el (url-http-chunked-encoding-after-change-function):
  371. Remove superfluous CRLF at end of file. (Bug #42)
  372. 2008-03-02 Andreas Schwab <schwab@suse.de>
  373. * url-util.el: Require cl when compiling.
  374. 2008-02-28 Teodor Zlatanov <tzz@lifelogs.com>
  375. * url-util.el (url-get-normalized-date): Simplify to use
  376. `format-time-string'. Always generate date in UTC, but
  377. call it GMT for full compatibility with the RFCs.
  378. 2008-02-06 Michael Albinus <michael.albinus@gmx.de>
  379. * url-handlers.el (file-remote-p): Add handler.
  380. (url-handler-file-remote-p): New fun.
  381. 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
  382. * url-handlers.el (url-handler-unhandled-file-name-directory):
  383. Handle `file' URLs specially. Return nil for non-local filenames.
  384. 2008-02-04 Magnus Henoch <mange@freemail.hu>
  385. * url-expand.el: Require cl when compiling, for setf.
  386. 2008-01-29 John Wiegley <johnw@newartisans.com>
  387. * url-auth.el (url-digest-auth): If the 'opaque' argument is not
  388. being used, don't add it to the response text. Also, changed an
  389. if so that the interaction between the PROMPT and OVERWRITE
  390. arguments can no longer result in the user being queried twice for
  391. the same login and password information.
  392. 2008-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
  393. * url-handlers.el (unhandled-file-name-directory): Add handler.
  394. (url-handler-unhandled-file-name-directory): New fun.
  395. 2008-01-07 Michael Albinus <michael.albinus@gmx.de>
  396. * url-handlers.el (url-file-handler): Autoload.
  397. 2007-12-11 Glenn Morris <rgm@gnu.org>
  398. * url.el (url-configuration-directory): Make it a defcustom.
  399. * url-util.el (url-make-private-file): New function.
  400. * url-cookie.el (url-cookie-write-file):
  401. * url-history.el (url-history-save-history):
  402. Use url-make-private-file and with-temp-buffer.
  403. 2007-12-06 Glenn Morris <rgm@gnu.org>
  404. * url-file.el, url-mailto.el: Remove directory part from filenames
  405. in function declarations.
  406. 2007-12-02 Glenn Morris <rgm@gnu.org>
  407. * url-about.el, url-handlers.el: Don't require cl when compiling.
  408. * url-dav.el (url-dav-delete-directory): Fix message typo.
  409. * url-history.el (top-level): Don't require cl when compiling.
  410. (url-history-setup-save-timer, url-history-save-history):
  411. Use condition-case rather than ignore-errors.
  412. * url-imap.el (top-level): Don't require cl when compiling.
  413. (url-imap): Use signal rather than check-type.
  414. * url-news.el (top-level): Don't require cl when compiling.
  415. (gnus-group-buffer): Define for compiler.
  416. (url-news-fetch-message-id): Don't use `declare'.
  417. (nntp-open-tls-stream, nntp-open-ssl-stream):
  418. No need to define for compiler.
  419. (url-snews): Use nntp-open-tls-stream unless ssl is requested.
  420. Correct quoting of nntp-open-connection-function value.
  421. 2007-12-01 Glenn Morris <rgm@gnu.org>
  422. * url-handlers.el (top-level): Always require url-parse, not just
  423. when compiling.
  424. 2007-11-30 Glenn Morris <rgm@gnu.org>
  425. * url-cookie.el (url-cookie-p): Declare as a function.
  426. 2007-11-29 Glenn Morris <rgm@gnu.org>
  427. * url-file.el (url-file-build-filename, url-file): Wrap uses of
  428. efs in (featurep 'xemacs) test.
  429. * url-irc.el (zenirc, zenirc-send-line): Declare as functions.
  430. 2007-11-28 Diane Murray <disumu@x3y2z1.net>
  431. * url-dired.el: Don't require w3-fetch and w3-open-local.
  432. (url-dired-find-file): Use `find-file'. Doc fix.
  433. (url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
  434. 2007-11-24 Glenn Morris <rgm@gnu.org>
  435. * url-privacy.el (url-device-type): Fix typo.
  436. 2007-11-20 Dan Nicolaescu <dann@ics.uci.edu>
  437. * url-mailto.el (mail-send-and-exit):
  438. * url-http.el (url-dav-file-attributes):
  439. * url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal)
  440. (url-generate-unique-filename): Declare as functions.
  441. * url-privacy.el (url-device-type): Define unconditionally.
  442. 2007-11-15 Richard Stallman <rms@gnu.org>
  443. * url.el (url-retrieve-synchronously): Call delete-process.
  444. 2007-10-31 Juanma Barranquero <lekktu@gmail.com>
  445. * url-vars.el (url-vars-unload-hook): Remove function and variable.
  446. Hooks are automatically removed by `unload-feature'.
  447. 2007-10-13 Richard Stallman <rms@gnu.org>
  448. * url-util.el (url-basepath): Function deleted.
  449. (url-file-directory, url-file-nondirectory): New functions
  450. replacing url-basepath. Callers changed.
  451. * url-expand.el (url-default-expander): Use `url-file-directory'.
  452. * url-auth.el (url-digest-auth, url-basic-auth):
  453. Rename `path' to `file'. Use `url-file-directory'.
  454. 2007-10-12 Diane Murray <disumu@x3y2z1.net>
  455. * url-auth.el (url-basic-auth): Set path to "/" when URL has an
  456. empty string filename.
  457. 2007-10-09 Richard Stallman <rms@gnu.org>
  458. * url-parse.el (url-type, url-user, url-password, url-host)
  459. (url-port, url-filename, url-target, url-attributes)
  460. (url-fullness, url-set-type, url-set-user, url-set-password)
  461. (url-set-host, url-set-port, url-set-filename, url-set-target)
  462. (url-set-attributes, url-set-full): Change macros to defuns.
  463. 2007-09-26 Juanma Barranquero <lekktu@gmail.com>
  464. * url-dav.el (top):
  465. * url-vars.el (top): Use `mapc' rather than `mapcar'.
  466. 2007-09-22 Diane Murray <disumu@x3y2z1.net>
  467. * url-misc.el (url-generic-emulator-loader): Send the port as a
  468. string to `url-do-terminal-emulator'.
  469. 2007-09-21 Diane Murray <disumu@x3y2z1.net>
  470. * url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus method.
  471. * url-util.el (url-get-normalized-date): Pass full timezone
  472. information to timezone-make-date-arpa-standard, since zone name
  473. may be unknown.
  474. 2007-09-03 Diane Murray <disumu@x3y2z1.net>
  475. * url-http.el (url-http-parse-headers): Bind the current buffer
  476. rather than calling `url-mark-buffer-as-dead' with
  477. `current-buffer', so that the correct buffer is killed if
  478. `url-retrieve-synchronously' gets redirected to a new URL.
  479. 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
  480. * url-parse.el (url): Use defstruct rather than macros.
  481. (url-generic-parse-url):
  482. * url-util.el (url-normalize-url, url-truncate-url-for-viewing):
  483. * url-methods.el (url-scheme-register-proxy):
  484. * url-mailto.el (url-mailto):
  485. * url-file.el (url-file-build-filename):
  486. * url-expand.el (url-identity-expander, url-default-expander):
  487. Update all callers.
  488. 2007-08-09 Edward O'Connor <hober0@gmail.com> (tiny change)
  489. * url-auth.el (url-basic-auth): When prompting for username
  490. and password, default to the username and password in the URL.
  491. 2007-08-08 Glenn Morris <rgm@gnu.org>
  492. * url-auth.el, url-cache.el, url-dav.el, url-file.el, vc-dav.el:
  493. Replace `iff' in doc-strings and comments.
  494. 2007-07-25 Glenn Morris <rgm@gnu.org>
  495. * Relicense all FSF files to GPLv3 or later.
  496. 2007-06-12 Tom Tromey <tromey@redhat.com>
  497. * url.el (url-configuration-directory): Use user-emacs-directory.
  498. 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
  499. * url-cookie.el (url-cookie-name, url-cookie-value)
  500. (url-cookie-expires, url-cookie-localpart, url-cookie-domain)
  501. (url-cookie-secure, url-cookie-set-name, url-cookie-set-value)
  502. (url-cookie-set-expires, url-cookie-set-localpart)
  503. (url-cookie-set-domain, url-cookie-set-secure)
  504. (url-cookie-retrieve-arg, url-cookie-create, url-cookie-p): Remove.
  505. (url-cookie): New struct.
  506. (url-cookie-store): Use setf instead of url-cookie-set-*.
  507. 2007-05-29 Chong Yidong <cyd@stupidchicken.com>
  508. * url-mailto.el (url-mailto): Insert body after
  509. mail-header-separator if present, so that it is before signature.
  510. Suggested by Leo <sdl.web@gmail.com>.
  511. 2007-04-15 Chong Yidong <cyd@stupidchicken.com>
  512. * url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes.
  513. 2007-04-13 Chong Yidong <cyd@stupidchicken.com>
  514. * url-http.el (url-http-parse-headers): Stop after a set number of
  515. redirections. Suggested by Diane Murray.
  516. * url-vars.el (url-max-redirections): New var.
  517. 2007-04-01 Diane Murray <disumu@x3y2z1.net> (tiny change)
  518. * url-http.el (url-http-handle-cookies): Reverse list returned by
  519. `mail-fetch-field', so that cookies are set in the correct order.
  520. * url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
  521. Deal with wildcard dots in domain values.
  522. 2007-03-31 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
  523. * url-http.el (url-http-mark-connection-as-busy)
  524. (url-http-mark-connection-as-free): Clear query-on-exit flag on
  525. idle connections.
  526. 2007-02-04 Chong Yidong <cyd@stupidchicken.com>
  527. * url-http.el (url-http-connection-opened): New variable.
  528. (url-http): Initialize it.
  529. (url-http-async-sentinel): Don't try changing sentinels.
  530. Run url-http-end-of-document-sentinel if necessary.
  531. 2007-01-29 Juanma Barranquero <lekktu@gmail.com>
  532. * url-auth.el (url-get-authentication): Fix typo in docstring.
  533. 2007-01-14 Magnus Henoch <mange@freemail.hu>
  534. * url-proxy.el (url-proxy-object): Remove.
  535. (url-proxy): Don't use `url-proxy-object'. Act according to type of
  536. proxy (currently only HTTP supported).
  537. * url.el (url-retrieve-internal): Don't use `url-proxy-object'.
  538. * url-http.el (url-http-proxy): New variable.
  539. (url-http-create-request): Use it. Don't use `url-proxy-object'.
  540. (url-http): Treat `url' argument as resource to download, and
  541. dynamic variable `url-using-proxy' as proxy to use.
  542. Set `url-current-object' to actual URL, and `url-http-proxy' to proxy
  543. used.
  544. (url-http-handle-cookies): Assume that `url-current-object' does
  545. not point to the proxy used.
  546. (url-http-async-sentinel): Adapt error message.
  547. 2006-12-10 Juanma Barranquero <lekktu@gmail.com>
  548. * url-gw.el (url-gateway-nslookup-program): Doc fix.
  549. 2006-12-08 Magnus Henoch <mange@freemail.hu>
  550. * url-proxy.el (url-proxy-object): New variable.
  551. (url-proxy): Bind it instead of `proxy-object'.
  552. * url-http.el (url-http-create-request): Remove url argument, use
  553. the buffer-local variable `url-http-target-url' instead.
  554. Both callers updated. Simplify proxy handling.
  555. (url-http): Don't make proxy-object buffer local.
  556. * url.el (url-retrieve-internal): Bind url-proxy-object to nil.
  557. 2006-11-26 Magnus Henoch <mange@freemail.hu>
  558. * url-http.el (url-http-wait-for-headers-change-function):
  559. Use `when' instead of `if' when possible.
  560. (url-http): Define url-http-response-version.
  561. (url-http-parse-response): Set it.
  562. (url-http-parse-headers): Use it to determine keep-alive behavior.
  563. 2006-11-23 Diane Murray <disumu@x3y2z1.net> (tiny change)
  564. * url-http.el (url-http-content-length-after-change-function):
  565. Use `url-lazy-message'.
  566. * url-util.el (url-display-percentage): Only show a message if
  567. `url-show-status' is non-nil.
  568. 2006-11-15 Magnus Henoch <mange@freemail.hu>
  569. * url-http.el (url-http): Make proxy-object buffer-local, to
  570. handle proxied asynchronous connections correctly.
  571. * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
  572. 2006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
  573. * url-http.el (url-http-wait-for-headers-change-function):
  574. Defer detection of HTTP 0.9 until we have at least one line.
  575. 2006-11-10 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
  576. * url-http.el (url-http-mark-connection-as-free)
  577. (url-http-find-free-connection): Don't treat process with status
  578. `connect' as free.
  579. (url-http-async-sentinel): Request correct url.
  580. 2006-11-08 Magnus Henoch <mange@freemail.hu>
  581. * url-http.el (url-http-handle-authentication): If there are
  582. several authentication headers, use the strongest available
  583. method.
  584. * url.el (url-retrieve-synchronously): Allow quitting when
  585. inhibit-quit is t.
  586. 2006-11-03 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
  587. * url-http.el (url-http-handle-authentication): If there are
  588. several authentication headers, use the first with a supported
  589. method.
  590. 2006-11-01 Magnus Henoch <mange@freemail.hu>
  591. * url-http.el (url-http-create-request): Use buffer-local
  592. equivalents of dynamically bound variables.
  593. 2006-10-29 Magnus Henoch <mange@freemail.hu>
  594. * url-gw.el (url-open-stream): Really use asynchronous
  595. connections (accidentally disabled during debugging).
  596. 2006-10-28 Magnus Henoch <mange@freemail.hu>
  597. * url-http.el (url-http-parse-headers): Fix misplaced paren.
  598. 2006-10-27 Magnus Henoch <mange@freemail.hu>
  599. * url-http.el (url-http-mark-connection-as-free): Verify that
  600. connection is open before saving it.
  601. (url-http-handle-authentication): Use url-retrieve-internal
  602. instead of url-retrieve.
  603. (url-http-parse-headers): Adapt to new callback interface.
  604. (url-http): Handle non-blocking connections.
  605. (url-http-async-sentinel): Create.
  606. * url.el (url-retrieve): Update docstring for new callback interface.
  607. Remove all code.
  608. (url-retrieve-internal): Move code from url-retrieve here.
  609. * url-gw.el (url-open-stream): Use a non-blocking socket for
  610. `native' gateway method, if available.
  611. 2006-10-16 Magnus Henoch <mange@freemail.hu>
  612. * url-http.el (url-https-create-secure-wrapper):
  613. Always use tls gateway method.
  614. 2006-10-12 Magnus Henoch <mange@freemail.hu>
  615. * url-http.el (url-http-find-free-connection):
  616. Handle url-open-stream returning nil.
  617. 2006-10-11 Magnus Henoch <mange@freemail.hu>
  618. * url-https.el: Remove (clashes with url-http on 8+3 systems).
  619. * url-http.el: Move contents of url-https.el here. Add autoloads.
  620. 2006-10-09 Magnus Henoch <mange@freemail.hu>
  621. * url-parse.el (url-generic-parse-url): Handle URLs with empty
  622. path component and non-empty query component. Untangle path,
  623. query and fragment parsing code. Add references to RFC 3986 in
  624. comments.
  625. (url-recreate-url-attributes): Start query string with "?", not ";".
  626. 2006-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
  627. * url-dav.el (url-dav-file-attributes): Simplify.
  628. * url-http.el (url-http-head-file-attributes): Add device "info".
  629. 2006-09-18 Michael Olson <mwolson@gnu.org>
  630. * url-methods.el (url-scheme-register-proxy): Handle case where
  631. getenv returns an empty string for http_proxy. This prevents an
  632. error when calling `format' later on.
  633. 2006-08-31 Diane Murray <disumu@x3y2z1.net> (tiny change)
  634. * url-parse.el (url-recreate-url-attributes): New function, code
  635. simply moved from `url-recreate-url'.
  636. (url-recreate-url): Use it.
  637. Put the `url-target' at the end of the URL after the attributes.
  638. * url-http.el (url-http-create-request):
  639. Use `url-recreate-url-attributes' when setting real-fname.
  640. 2006-08-29 Diane Murray <disumu@x3y2z1.net> (tiny change)
  641. * url-cookie.el (url-cookie-write-file): Really don't use versioned
  642. backups.
  643. 2006-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
  644. * url-handlers.el (url-file-local-copy): Tell url-copy-file that the
  645. dest file will already exist.
  646. 2006-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
  647. * url-util.el (url-hexify-string): Only utf-8 encode if it's
  648. a multibyte string.
  649. (url-normalize-url): Remove unused var `grok'.
  650. (url-truncate-url-for-viewing): Remove unused var `tail'.
  651. 2006-07-30 Thien-Thi Nguyen <ttn@gnu.org>
  652. * url-util.el (url-hexify-string): Rewrite.
  653. Suggested by David Smith <davidsmith@acm.org>.
  654. 2006-07-12 Michael Olson <mwolson@gnu.org>
  655. * url-irc.el (url-irc-erc): Call erc-handle-irc-url.
  656. 2006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
  657. * url-cookie.el: Remove spurious * in docstrings.
  658. (url-cookie-write-file): Don't use versioned backups.
  659. (url-cookie-host-can-set-p): Remove unused var `tmp'.
  660. 2006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
  661. * url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
  662. (url-cookie-write-file): Reset url-cookies-changed-since-last-save.
  663. 2006-05-12 Reiner Steib <Reiner.Steib@gmx.de>
  664. * url-http.el (url-http-file-exists-p): Test if status is integer.
  665. 2006-05-05 Andreas Seltenreich <seltenreich@gmx.de>
  666. * url-http.el (url-http-parse-headers): Don't reuse connection if
  667. "Connection: close" header was seen.
  668. 2006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
  669. * url-gw.el (url-open-stream): Don't hide errors.
  670. (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
  671. * url-handlers.el (url-insert): New function.
  672. (url-insert-file-contents): Use it.
  673. 2006-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
  674. * url-handlers.el (url-handler-directory-file-name): New handler.
  675. (url-file-local-copy): Plug race condition security hole.
  676. 2006-03-27 Romain Francoise <romain@orebokech.com>
  677. * url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
  678. (url-irc-function): Add rcirc and ERC to the list of IRC clients.
  679. Default to rcirc, since ZenIRC isn't part of Emacs.
  680. 2006-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
  681. * url-http.el (url-http-find-free-connection): Fix braino in last fix.
  682. 2006-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
  683. * url-http.el (url-http-find-free-connection): Don't kill the process
  684. when killing the temp buffer.
  685. (url-http-symbol-value-in-buffer): Massage to make it clear to the
  686. byte-compiler that the function is defined.
  687. 2006-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
  688. * url.el (url-redirect-buffer): New var.
  689. (url-retrieve-synchronously): Use it to follow redirections.
  690. * url-http.el: Require `url' rather than try to autoload parts of it.
  691. (url-http-find-free-connection): `url-open-stream' needs a real buffer.
  692. (url-http-parse-headers): Set `url-redirect-buffer' when following
  693. a redirection reply.
  694. 2006-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
  695. * url-news.el: Move defvars out of eval-when-compile.
  696. (url-news-fetch-message-id, url-news-fetch-newsgroup):
  697. Use with-current-buffer.
  698. 2006-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
  699. * url.el (url-retrieve-synchronously): Adjust the workaround so as not
  700. to stop in the middle of a redirection.
  701. * url-vars.el (url-privacy-level): Add setter.
  702. 2006-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
  703. * url-history.el (url-history-hash-table): Initialize in declaration.
  704. (url-history-parse-history): Don't reset the history.
  705. (url-history-save-history): Create parent dir if necessary.
  706. (url-history-save-history): Don't write the initialization of
  707. url-history-hash-table into the history file.
  708. (url-have-visited-url): Simplify since url-history-hash-table isn't nil.
  709. (url-completion-function): Simplify.
  710. * url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
  711. (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
  712. (url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
  713. (url-cookie-setup-save-timer): Remove autoload cookies.
  714. They're only called from files that require url-cookie anyway.
  715. * url-history.el (url-history-setup-save-timer)
  716. (url-history-parse-history, url-history-save-history):
  717. Remove autoload cookies. They're only called from url.el which requires
  718. url-history anyway.
  719. (url-history-parse-history): Don't complain if the file is missing.
  720. 2006-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
  721. * url-handlers.el (url-retrieve-synchronously): Don't autoload.
  722. * url.el (url-retrieve, url-retrieve-synchronously): Autoload.
  723. * url-cache.el: Require `url'.
  724. 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
  725. * url-cache.el (url-store-in-cache): Use save-current-buffer.
  726. * url.el (url-configuration-directory): Don't autoload because the
  727. default value needs to be computed at run-time, not dump-time.
  728. 2005-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
  729. * url-cookie.el (url-cookie-write-file): Create parent dir.
  730. * url.el (url-configuration-directory): Use ~/.emacs.d if possible.
  731. 2005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
  732. * url-cookie.el (url-cookie-save-interval): Simplify.
  733. (url-cookie-setup-save-timer): Simplify.
  734. 2005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
  735. * url-history.el (url-history-list): Var deleted.
  736. (url-history-save-interval): Simplify.
  737. (url-history-setup-save-timer): Simplify.
  738. 2005-12-01 Kim F. Storm <storm@cua.dk>
  739. * url-history.el (url-history-track): Fix last change.
  740. 2005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
  741. * url-history.el (url-history-track):
  742. Call url-history-setup-save-timer in :set function.
  743. :type allows three alternatives.
  744. (url-history-setup-save-timer): Test url-history-track.
  745. * url.el (url-retrieve): Test url-history-track.
  746. 2005-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
  747. * url-http.el: Use with-current-buffer.
  748. (url-http-target-url): Rename from url-http-cookies-sources.
  749. (url-http-parse-headers): Use it.
  750. (url-http-handle-authentication): Use subst-char-in-string.
  751. 2005-11-16 Jürgen Hötzel <emacs@hoetzel.info> (tiny change)
  752. * url-handlers.el (url-insert-file-contents): Use the charset info
  753. provided by the HTTP server, if any.
  754. 2005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change)
  755. * url-nfs.el (top level):
  756. * url-handlers.el (directory-files):
  757. * url-file.el (top level):
  758. * url-dired.el (url-dired-minor-mode-map):
  759. * url-http.el (url-http-chunked-encoding-after-change-function):
  760. Remove XEmacs support.
  761. 2005-10-15 Richard M. Stallman <rms@gnu.org>
  762. * url.el: Don't try to autoload hash table functions.
  763. 2005-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
  764. * url-http.el (url-http-create-request): Avoid incorrect implicit
  765. unibyte->multibyte conversion.
  766. 2005-09-17 Richard M. Stallman <rms@gnu.org>
  767. * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
  768. * url-mailto.el (url-mailto): Special case `mail'.
  769. Don't test fboundp of `compose-mail'.
  770. 2005-09-15 Chong Yidong <cyd@stupidchicken.com>
  771. * url-mailto.el (url-mailto): Delete mail buffer after sending
  772. autogenerated mail.
  773. Call `compose-mail with `new' argument if possible.
  774. 2005-09-13 Chong Yidong <cyd@stupidchicken.com>
  775. * url-mailto.el (url-mailto): Always use a new mail buffer.
  776. 2005-09-01 Chong Yidong <cyd@stupidchicken.com>
  777. * url-util.el (url-parse-query-string): New optional argument
  778. allow-newlines allows decoding of newlines.
  779. * url-mailto.el (url-mailto): Allow newlines in URL arguments.
  780. Don't lose original "to" value when there is a "to" header.
  781. Remove carriage return characters in message body.
  782. 2005-08-24 Juanma Barranquero <lekktu@gmail.com>
  783. * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
  784. * url-http.el (url-http-cookies-sources): Defvar at compile time.
  785. 2005-07-15 Richard M. Stallman <rms@gnu.org>
  786. * url-http.el (url-http-parse-headers): Add :redirect arg-pair
  787. when calling url-retrieve, to indicate a redirect.
  788. * url.el (url-retrieve): The callback function can get an additional
  789. keyword arg pair.
  790. 2005-07-04 Lute Kamstra <lute@gnu.org>
  791. Update FSF's address in GPL notices.
  792. 2005-07-04 Juanma Barranquero <lekktu@gmail.com>
  793. * url-history.el (url-history-track): Doc fix.
  794. (url-history): Finish `defgroup' description with period.
  795. * url-cookie.el (url-cookie):
  796. * url-gw.el (url-gateway):
  797. * url-news.el (url-news):
  798. * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
  799. Finish `defgroup' description with period.
  800. 2005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
  801. * url-http.el (url-http-create-request): Call url-recreate-url
  802. in proxy case.
  803. 2005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
  804. * url-http.el (url-http-create-request): When computing real-fname,
  805. call url-filename in both cases.
  806. 2005-06-27 Richard M. Stallman <rms@gnu.org>
  807. * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
  808. (url-cookie-retrieve): Likewise.
  809. (url-cookie-generate-header-lines): Likewise.
  810. (url-cookie-handle-set-cookie): Likewise.
  811. (url-cookie-create): Expect :localpart instead of :path.
  812. (url-cookie-localpart): Rename from url-cookie-path.
  813. (url-cookie-set-localpart): Rename from url-cookie-set-path.
  814. (url-cookie-file): Doc fix.
  815. (url-cookie-p): Add doc string.
  816. 2005-06-23 Richard M. Stallman <rms@gnu.org>
  817. * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
  818. 2005-06-21 Juanma Barranquero <lekktu@gmail.com>
  819. * url-gw.el (url-open-stream):
  820. * url-vars.el (url-gateway-unplugged): Fix spellings.
  821. 2005-06-14 Juanma Barranquero <lekktu@gmail.com>
  822. * url-history.el (url-completion-function): Follow error conventions.
  823. 2005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
  824. * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
  825. 2005-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
  826. * url-dav.el: Remove most autoload cookies.
  827. Don't hook into the url-file-handler since it currently breaks all
  828. non-HTTP URLs.
  829. * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
  830. * url.el (url-retrieve-synchronously): Don't exit precipitously when
  831. fetching a file via ange-ftp.
  832. 2005-06-10 Juanma Barranquero <lekktu@gmail.com>
  833. * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
  834. 2005-05-19 Juanma Barranquero <lekktu@gmail.com>
  835. * url-cookie.el (url-cookie-multiple-line):
  836. Specify group and type in defcustom.
  837. 2005-05-06 Juanma Barranquero <lekktu@gmail.com>
  838. * url-auth.el (url-register-auth-scheme):
  839. * url-cookie.el (url-cookie-expired-p):
  840. * url-dav.el (url-dav-process-date-property)
  841. (url-dav-process-boolean-property, url-dav-process-DAV:status):
  842. * url-http.el (url-http-chunked-encoding-after-change-function)
  843. (url-http-wait-for-headers-change-function):
  844. * url-ns.el (isInNet):
  845. * url-parse.el (url-generic-parse-url):
  846. * url-util.el (url-get-normalized-date): Replace `string-to-int'
  847. by `string-to-number'.
  848. 2005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
  849. * url.el (url-retrieve-synchronously): Work around the fact that
  850. url-http sometimes doesn't call the callback.
  851. 2005-04-04 Lute Kamstra <lute@gnu.org>
  852. * url-handlers.el (url-handler-mode): Specify :group.
  853. 2005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
  854. * url-history.el (url-have-visited-url): Don't barf if
  855. url-history-hash-table is nil.
  856. 2005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
  857. * url-http.el (url-http-parse-headers): Test url-automatic-caching.
  858. 2005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
  859. * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
  860. to nil, like for the 303 response.
  861. 2005-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
  862. * url.el (url-retrieve-synchronously): Use accept-process-output rather
  863. than sit-for.
  864. 2005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change)
  865. * url-http.el (url-http-handle-authentication):
  866. Don't kill the current buffer.
  867. 2004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
  868. * url-handlers.el: Don't `require' everything eagerly.
  869. 2004-11-30 Paul Pogonyshev <pogonyshev@gmx.net>
  870. * url-http.el (url-http-handle-cookies): Bind `url-current-object'
  871. to `url-http-cookies-sources' so that cookies are attributed to
  872. proper domain.
  873. (url-http): Make local variable `url-http-cookies-sources'.
  874. 2004-11-28 Andreas Schwab <schwab@suse.de>
  875. * url-http.el (url-http-create-request): Don't add newline after
  876. the request data.
  877. 2004-11-20 Masatake YAMATO <jet@gyve.org>
  878. * url.el (url-mm-callback): Delay the invocation
  879. of `mm-destroy-parts'. Invoke `mm-destroy-parts'
  880. when the buffer is killed.
  881. 2004-11-12 Masatake YAMATO <jet@gyve.org>
  882. * url-mailto.el (url-mailto): Fix a typo in the comment.
  883. 2004-11-02 Masatake YAMATO <jet@gyve.org>
  884. * url-imap.el (url-imap-open-host): Don't use
  885. `string-to-int'. The port returned by `url-port'
  886. is expected to be an integer.
  887. * url-irc.el (url-irc): Ditto.
  888. * url-news.el (url-news-open-host): Ditto.
  889. * url-nfs.el (url-nfs-build-filename): Ditto.
  890. 2004-10-20 John Paul Wallington <jpw@gnu.org>
  891. * url-gw.el (url-gateway-nslookup-host):
  892. Use `set-process-query-on-exit-flag'.
  893. 2004-10-10 Lars Hansen <larsh@math.ku.dk>
  894. * url-auth.el:
  895. * url-cache.el:
  896. * url-cid.el:
  897. * url-dired.el:
  898. * url-expand.el:
  899. * url-ftp.el:
  900. * url-gw.el:
  901. * url-imap.el:
  902. * url-irc.el:
  903. * url-misc.el:
  904. * url-news.el:
  905. * url-ns.el:
  906. * url-privacy.el:
  907. * url-proxy.el: Update header and footer.
  908. * url-vars.el: Update header.
  909. 2004-10-16 Richard M. Stallman <rms@gnu.org>
  910. * url.el (url-do-setup): Don't set url-passwd-entry-func.
  911. * url-vars.el (url-passwd-entry-func): Var deleted.
  912. (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
  913. (url-weekday-alist): Rename from weekday-alist.
  914. (url-monthabbrev-alist): Rename from monthabbrev-alist.
  915. (url-vars-unload-hook): Initialize hook var to hold the function.
  916. * url-util.el (url-get-normalized-date): Use url-weekday-alist and
  917. url-monthabbrev-alist.
  918. * url-misc.el: Load cl at compile time.
  919. * url-mailto.el: Don't load cl.
  920. (url-mailto): Fix call to `push'.
  921. * url-gw.el (url-open-telnet): Use read-passwd.
  922. * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
  923. 2004-10-12 Simon Josefsson <jas@extundo.com>
  924. * url-vars.el (url-gateway-method): Add new method `tls'.
  925. * url-news.el (url-snews): Use nntp-open-tls-stream if
  926. url-gateway-method is tls.
  927. * url-ldap.el (url-ldap-certificate-formatter):
  928. Use tls-certificate-information if ssl.el is not available.
  929. * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
  930. is not available.
  931. * url-gw.el (url-open-stream): Support tls url-gateway-method.
  932. (url-open-stream): Likewise.
  933. 2004-10-10 Lars Hansen <larsh@math.ku.dk>
  934. * url-auth.el:
  935. * url-cache.el:
  936. * url-cookie.el:
  937. * url-dired.el:
  938. * url-file.el:
  939. * url-ftp.el:
  940. * url-handlers.el:
  941. * url-history.el:
  942. * url-irc.el:
  943. * url-mailto.el:
  944. * url-methods.el:
  945. * url-misc.el:
  946. * url-news.el:
  947. * url-nfs.el:
  948. * url-parse.el:
  949. * url-privacy.el:
  950. * url-vars.el:
  951. * url.el:
  952. * url-util.el: Fix copyright notice.
  953. 2004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
  954. * url-handlers.el (url-insert-file-contents): Use the URL to decide the
  955. encoding, not the buffer-file-name (which might not even exist).
  956. 2004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
  957. * url-handlers.el (url-insert-file-contents): Decode contents.
  958. 2004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
  959. * url-util.el (url-debug): Use with-current-buffer.
  960. * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
  961. (url-nfs-create-wrapper): Use new backquote syntax.
  962. * url-https.el (url-https-file-attributes): Add id-format param.
  963. * url-http.el (url-http-head-file-attributes)
  964. (url-http-file-attributes): Add id-format parameter.
  965. * url-handlers.el: Use new find-file-hook.
  966. (url-file-attributes): Add id-format parameter.
  967. * url-file.el (url-file-create-wrapper): Use new backquote syntax.
  968. (url-file-file-attributes): Add id-format parameter.
  969. * url-dav.el: Use with-current-buffer.
  970. (url-dav-process-response): Fix regexps and spurious quote.
  971. (url-dav-file-attributes): Add id-format param.
  972. 2004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
  973. * url.el (url-retrieve): Use with-current-buffer.
  974. * url-http.el (url-http-parse-headers, url-http-file-exists-p):
  975. Remove unused var `version'.
  976. * url-handlers.el (url-handler-mode): New minor mode.
  977. (url-setup-file-name-handlers): Remove.
  978. 2004-04-12 John Paul Wallington <jpw@gnu.org>
  979. * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
  980. to obsolete `assoc-ignore-case' with calls to `assoc-string'.
  981. 2004-04-11 Dave Love <fx@gnu.org>
  982. * url-mailto.el (url-mailto):
  983. * url-history.el (url-history-setup-save-timer):
  984. * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
  985. * url-file.el (url-file-build-filename): Don't use
  986. directory-sep-char.
  987. * url-auth.el (url-register-auth-scheme): Fix `format' call.
  988. * url-about.el (url-scheme-registry): Defvar.
  989. (url-about): Use text/plain.
  990. * url-vars.el (cl): Don't require.
  991. (url): Add :version.
  992. (url-bug-address): Use bug-gnu-emacs.
  993. * url-util.el (url-hexify-string): Don't give multibyte error
  994. for char <16.
  995. (mail-header-extract): Autoload.
  996. * url-parse.el: Doc fixes.
  997. * url-ldap.el (ldap): Require.
  998. (url-ldap): Fix `format' call.
  999. (url-ldap-certificate-formatter): Avoid warning.
  1000. * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
  1001. * url-dav.el (url-dav-rename-file): Fix args of `signal'.
  1002. (url-intersection): New.
  1003. (url-dav-supported-p): Use it.
  1004. (url-dav-save-resource): Declare url-http-response-status special.
  1005. * url-cache.el (url-util): Require.
  1006. 2004-04-10 Miles Bader <miles@gnu.org>
  1007. RCS keyword removal (only non-comment changes are enumerated here):
  1008. * url-vars.el (url-version): Use the constant string "Emacs"
  1009. instead of calculating something from the RCS `State' keyword
  1010. [the latter is almost entirely useless anyway].
  1011. 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
  1012. * url-methods.el:
  1013. * url-parse.el: Don't require url-auto.
  1014. 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
  1015. * url: Imported the URL package from its own CVS repository into Emacs.
  1016. ===========================================================================
  1017. ===========================================================================
  1018. Copy of the ChangeLog file from URL's own CVS repository:
  1019. ===========================================================================
  1020. ===========================================================================
  1021. 2003-07-16 Dave Love <fx@gnu.org>
  1022. * lisp/url.el (url-retrieve-synchronously): Revert last change.
  1023. Should be revisited.
  1024. 2003-06-26 Sam Steingold <sds@gnu.org>
  1025. * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
  1026. method on invalid urls.
  1027. 2003-05-29 Dave Love <fx@gnu.org>
  1028. * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
  1029. sit-for. From monnier@gnu.org.
  1030. 2002-11-04 Walter C. Pelissero <walter@pelissero.org>
  1031. * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
  1032. port numbers to integers when creating the URL objects for proxies.
  1033. 2002-10-29 William M. Perry <wmperry@gnu.org>
  1034. * lisp/url-http.el (url-http-parse-headers): When doing a
  1035. redirect, some broken software (sourceforge) sends a redirect to
  1036. '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
  1037. specification). I wish we could deal with such lame software
  1038. appropriately (spank the authors), but this is the web, so we have
  1039. to kow-tow to the servers.
  1040. 2002-10-27 William M. Perry <wmperry@gnu.org>
  1041. * lisp/url-http.el (url-http-create-request): If we are talking to
  1042. the default port for a the selected protocol, do NOT send the port
  1043. in the HOST header. This fixes the login page at sourceforge.
  1044. 2002-09-17 William M. Perry <wmperry@gnu.org>
  1045. * lisp/url-http.el (url-http-handle-cookies): New function to deal
  1046. with cookie headers.
  1047. (url-http-parse-headers): Call `url-http-handle-cookies' here so
  1048. that cookie additions and deletions get handled immediately.
  1049. This is so that sites that set cookies while doing redirects
  1050. (my.yahoo.com, outlook web access, etc) work. This should also
  1051. fix sites that delete cookies on invalid access or other error
  1052. pages the user might not actually see.
  1053. (url-http-parse-headers): Silently convert non-HEAD and non-GET
  1054. methods to GET in redirects. Too many web sites do this now, and
  1055. it is just likely to confuse users.
  1056. 2002-05-17 Dave Love <fx@gnu.org>
  1057. * texi/url.txi: Start making it vaguely useful.
  1058. * texi/Makefile.in (install): Cope with Debian install-info.
  1059. From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Grossjohann).
  1060. 2002-04-22 Dave Love <fx@gnu.org>
  1061. * lisp/url-misc.el (man): Autoload to avoid warning.
  1062. (url-man): Don't require man here.
  1063. (url-data): Generalize in line with the RFC.
  1064. * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
  1065. * lisp/url-vars.el: Doc fixes.
  1066. (url-mime-charset-string): New function.
  1067. (url-mime-charset-string): Use it to set the variable.
  1068. (url-set-mime-charset-string): New function.
  1069. (set-language-environment-hook): Use it.
  1070. (url-vars-unload-hook): New function.
  1071. * lisp/url-cookie.el (url-header-comparison): Delete.
  1072. (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
  1073. (url-cookie-save-interval): Make value agree with doc.
  1074. * lisp/url.el: Doc fixes.
  1075. (url-mm-callback): Don't call mm-destroy-parts immediately for
  1076. external viewing -- set up a process sentinel.
  1077. 2002-02-02 William M. Perry <wmperry@gnu.org>
  1078. * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
  1079. 2001-12-12 William M. Perry <wmperry@gnu.org>
  1080. * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
  1081. Monnier to use ` instead of ^ to match the relative link.
  1082. 2001-12-10 William M. Perry <wmperry@gnu.org>
  1083. * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
  1084. plist-get (reversed args).
  1085. * lisp/url-file.el (url-file-build-filename): Make sure that we
  1086. have a parsed URL in this function.
  1087. 2002-01-22 Dave Love <fx@gnu.org>
  1088. * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
  1089. * lisp/url-imap.el (url-imap): Maybe disable multibyte.
  1090. Bind coding-system-for-read. Require mm-util.
  1091. * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
  1092. * lisp/mule-sysdp.el: Removed (obsolete).
  1093. 2001-12-09 William M. Perry <wmperry@gnu.org>
  1094. * lisp/url-dav.el (url-dav-delete-something): Utility macro to
  1095. remove an arbitrary resource.
  1096. (url-dav-delete-directory): Use it.
  1097. (url-dav-delete-file): Ditto.
  1098. (url-dav-make-directory): New function.
  1099. (url-dav-rename-file): New function.
  1100. (url-dav-register-handler): New function to easily register a
  1101. WebDAV-specific file-name-handler operation.
  1102. (url-dav-file-name-all-completions, url-dav-file-name-completion):
  1103. New functions that allow file-name completion for WebDAV resources.
  1104. 2001-12-08 William M. Perry <wmperry@gnu.org>
  1105. * lisp/url-dav.el (url-dav-directory-files): New function to
  1106. mimic `directory-files' for WebDAV.
  1107. (url-dav-delete-directory): New function to mimic
  1108. `delete-directory' for WebDAV.
  1109. 2001-12-06 William M. Perry <wmperry@gnu.org>
  1110. * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
  1111. DAV:locktoken hrefs into a usable format.
  1112. (url-dav-process-response): Use an unwind-protect to make sure
  1113. that we clean up the buffer, even if there is a parsing error.
  1114. (url-dav-request): New function to act as the main entry point for
  1115. making DAV requests. Takes care of building the XML document with
  1116. appropriate namespaces, depth, etc, and parses the results.
  1117. (url-dav-get-properties): Use new url-dav-request function.
  1118. This is now just a thin wrapper around that to use PROPFIND and set any
  1119. extra properties we are looking for.
  1120. (url-dav-unlock-resource): New function to release a lock given a
  1121. URL and a lock-token.
  1122. (url-dav-process-DAV:getlastmodified)
  1123. (url-dav-process-DAV:creationdate)
  1124. (url-dav-process-DAV:iscollection)
  1125. (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
  1126. url-dave-*!
  1127. (url-dav-active-locks): New function to get a list of all the
  1128. active locks for a resource.
  1129. (url-dav-save-resource): New function to actually save a resource
  1130. using the PUT method. I can now successfully save files to an
  1131. HTTP server with some manual steps from a lisp-interaction buffer.
  1132. * lisp/url-http.el (url-http-wait-for-headers-change-function):
  1133. Special case the 204/205 response codes. Some servers do not
  1134. send back a 0 content-length for these, and we would hang.
  1135. (url-http-parse-headers): Mark 204/205 response codes as
  1136. 'successful' so that the callbacks get activated.
  1137. (url-http-options): Fix unbound variable usage.
  1138. * lisp/url-dav.el: Added full copyright information.
  1139. (url-dav-process-response): Make sure that we create a DAV:status
  1140. property when parsing a singleton response.
  1141. (url-dav-file-attributes): If the properties returned did not have
  1142. a successful HTTP response code, then ignore them and use the
  1143. HEAD-based attributes.
  1144. * lisp/vc-dav.el: Added full copyright information.
  1145. * lisp/url-dav.el (url-dav-process-supportedlock-property):
  1146. Deal with text nodes in DAV:supportedlock nodes.
  1147. (url-dav-file-attributes-mode-string): This now gets the entire
  1148. property list instead of just the DAV:supportedlock node.
  1149. (url-dav-file-attributes): Make sure to pass the whole list in.
  1150. (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
  1151. (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
  1152. 'executable' bit to set the 'x' mode. See `mod_dav's custom
  1153. properties' at http://www.webdav.org/mod_dav/ for more details.
  1154. (url-dav-find-parser): New function to find the proper parser for
  1155. a node-type. Looks for
  1156. url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
  1157. back to using url-dav-node-text. Caches the results on the nodes
  1158. symbol name.
  1159. (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
  1160. (url-dav-process-*): Rename most of the handlers and made them
  1161. use url-dav-dispatch-node where appropriate.
  1162. (url-dav-process-DAV:prop): Instead of using the dav-data-type
  1163. property to dispatch the node, now uses dav-dispatch-node so that
  1164. it is easy to add parsers for special nodes.
  1165. (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
  1166. (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
  1167. (url-dav-process-DAV:getcontentlength)
  1168. (url-dave-process-DAV:getlastmodified)
  1169. (url-dave-process-DAV:creationdate)
  1170. (url-dave-process-DAV:iscollection)
  1171. (url-dave-process-DAV:ishidden): Aliases for the generic
  1172. url-dav-process-foo-property routines.
  1173. (url-dav-process-DAV:activelock)
  1174. (url-dav-process-DAV:lockdiscovery): Can now correctly parse
  1175. DAV:lockdiscovery nodes, so that we can find out who has a
  1176. resource locked and properly parse the response to a LOCK request.
  1177. (url-dav-process-DAV:status): Now parses out the numeric status
  1178. from the HTTP response line.
  1179. (url-dav-process-response): New function to handle all the
  1180. parsing of an XML response from WebDAV. This handles all the
  1181. logic of checking the response content-type to make sure it is
  1182. XML, parses the tree, and interprets the tree.
  1183. (url-dav-process-response): Make sure that all responses look
  1184. like a DAV:multistatus response, even if we get a singleton
  1185. response back. This will just make the upper layer logic simpler.
  1186. (url-dav-get-properties): New optional argument NAMESPACES that
  1187. specifies what namespaces to use in the XML request.
  1188. (url-dav-get-properties): Got rid of the D: namespace in
  1189. requests. It doesn't save that much space. Just use DAV:
  1190. (url-dav-lock-identifier): New variable that should hold a URI
  1191. pointing to contact information for the user. This will be used
  1192. as the contents of the DAV:owner/DAV:href tag to identify the
  1193. owner of a LOCK when requesting it. This will be shown to other
  1194. users when the DAV:lockdiscovery property is requested, so make
  1195. sure you are comfortable with it leaking to the outside world.
  1196. (url-dav-lock-resource): New function to LOCK a dav resource.
  1197. 2001-12-05 William M. Perry <wmperry@gnu.org>
  1198. * lisp/url-dav.el (url-dav-get-properties): New argument
  1199. ATTRIBUTES that allows you to ask for specific properties instead
  1200. of getting all properties via DAV:allprop.
  1201. * lisp/url-http.el (url-http-real-basic-auth-storage):
  1202. New variable for normal HTTP basic authentication.
  1203. (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
  1204. basic authentication.
  1205. (url-http-handle-authentication): Follow new semantics for
  1206. url-basic-auth-storage.
  1207. * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
  1208. this variable. It is now a symbol pointing to where we really
  1209. want to store the authorization information. This fixes proxy
  1210. auth and normal basic auth because of some local bindings that were
  1211. making it impossible to store the credentials in the global binding.
  1212. (url-basic-auth): Make sure we dereference url-basic-auth-storage
  1213. everywhere.
  1214. * lisp/url-util.el (url-debug): Add new types 'dav and
  1215. 'retrieval to the customization list.
  1216. * lisp/url.el (url-retrieve-synchronously): Put in some debugging
  1217. statements.
  1218. * lisp/url-http.el (url-http-head-file-attributes): Rename old
  1219. url-http-file-attributes so that we can have a smarter one that
  1220. tries WebDAV first, then HEAD.
  1221. (url-http-file-attributes): New smart version that tries WebDAV first.
  1222. (url-http-options): New function that returns information gleaned
  1223. from an OPTIONS request for a URL. Returns a property list
  1224. returning the methods supported for the resource, what DAV and
  1225. DASL levels are supported, p3p information, and whether
  1226. byte-ranges are supported or not.
  1227. (url-http-wait-for-headers-change-function): If we got a 0-byte
  1228. content-length, activate the callback immediately.
  1229. (url-http-wait-for-headers-change-function): For content-length
  1230. responses with actual body-data in the chunk we are handling, call
  1231. url-http-content-length-after-change-function with the remaining
  1232. data. Otherwise we can deadlock if the headers and the entire
  1233. body exist arrive in one chunk.
  1234. * lisp/url-dav.el: New file to contain the WebDAV
  1235. (http://www.webdav.org/) implementation.
  1236. (url-dav-supported-p): Cheap way to figure out whether we will be
  1237. able to do DAV at all. We rely on the XML parser expanding
  1238. namespaces for us, and currently you need a patched version of
  1239. xml.el to do this. Patch sent to author for consideration.
  1240. (url-dav-file-attributes): Much more complete version of
  1241. `file-attributes' using the WebDAV PROPFIND method. Now correctly
  1242. finds out whether something is a directory (a WebDAV collection),
  1243. the last modification time, and permissions (based on the
  1244. DAV:supportedlock information).
  1245. (url-dav-get-properties): Generic interface to get WebDAV
  1246. properties for a URL. Can specify an optional `depth' parameter
  1247. to tell the web server how many directory (collection) levels to
  1248. recurse when retrieving the property lists. Returns an assoc
  1249. list keyed off of the resource, the cdr of which is a property list.
  1250. (url-dav-datatype-attribute): We support the XML-Data note
  1251. (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
  1252. datatypes of attributes are. Currently only date, dateTime, int,
  1253. number, float, boolean, and uri are supported.
  1254. 2001-12-04 William M. Perry <wmperry@gnu.org>
  1255. * lisp/url-handlers.el (file-name-absolute-p): New hooked
  1256. version. If the filename matches our regexp, then it is always
  1257. absolute, so just return `t'.
  1258. (expand-file-name): New hooked version. If the fragment is an
  1259. absolute file or URL, then expand it relative to '/'.
  1260. (url-handler-regexp): New regexp for specific schemes that we
  1261. want the file-name-handlers to work off of.
  1262. (url-setup-file-name-handlers): Use it when installing the handlers.
  1263. * lisp/url-http.el (url-http-find-free-connection): Better logging
  1264. about whether we are reusing an existing connection or not.
  1265. * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
  1266. to string-match instead of match-string (and with reversed
  1267. arguments even).
  1268. * lisp/url-http.el (url-http-debug): Change to now use the
  1269. generic url-debug function to do the actual logging. Still a
  1270. separate function so that we can do our magic on the network
  1271. connection if the user quits while we are downloading.
  1272. * lisp/url-handlers.el (url-file-handler): Now logs the result of
  1273. the hooked or real call.
  1274. * lisp/url-util.el (url-debug): New function for generic debug logging.
  1275. 2001-11-28 William M. Perry <wmperry@gnu.org>
  1276. * lisp/url-imap.el (url-imap-open-host): Use backquote.
  1277. (url-imap): Now switches to 'login as the imap authenticator if
  1278. the URL provides a username and password.
  1279. * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
  1280. push to replace some strange logic in here.
  1281. (url-run-real-handler): New function to run the real hooks in
  1282. case we get a false positive or an operation that we do not
  1283. support. The old way disabled _ALL_ file-name-handlers when
  1284. we hit something we didn't understand - this disables JUST us.
  1285. (url-file-handler): Remove the logic about removing the leading
  1286. '/' off of the first argument... it may not be safe to always
  1287. assume that the first argument is the one we are acting on -
  1288. `default' is the second argument for expand-file-name for example.
  1289. (url-setup-file-name-handlers): Use url-nonrelative-link
  1290. directly. This means that you must type in the URL directly
  1291. without prefixing it with a '/'.
  1292. (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
  1293. Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
  1294. which activates us (because 'nnml+mail' _is_ a valid scheme name
  1295. for a URI). We get thoroughly confused and end up returning
  1296. `nil' when we shouldn't.
  1297. 2001-11-26 William M. Perry <wmperry@gnu.org>
  1298. * lisp/url-handlers.el (file-writable-p): Add NULL handler for
  1299. this so that visiting a URL directly will work.
  1300. (file-symlink-p): Ditto.
  1301. (url-insert-file-contents): If `visit' is non-nil then make sure
  1302. we set buffer-file-name. After these changes you can visit
  1303. http://www.gnu.org/ directly from the minibuffer.
  1304. (url-insert-file-contents): When inserting the file contents,
  1305. use a save-excursion so that we behave just like the original.
  1306. 2001-11-25 William M. Perry <wmperry@gnu.org>
  1307. * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
  1308. 2001-11-24 William M. Perry <wmperry@gnu.org>
  1309. * lisp/url-about.el (url-about): New loader scheme to handle
  1310. about:foo URLs. Automatically tries to find a `url-about-foo'
  1311. function to display the actual data.
  1312. (url-about-protocols): Implement about:protocols.
  1313. * lisp/url-http.el (url-http): Make sure that we signal an error
  1314. when we cannot open a network connection for whatever reason.
  1315. Before, it would just silently clean up after itself and the user
  1316. got absolutely no indication that an error had occurred. If the
  1317. error should truly be ignored, the caller should do that for us.
  1318. (url-http-chunked-encoding-after-change-function): Doh! Need to
  1319. user marker-position in some log messages now that
  1320. url-http-chunked-start is a marker.
  1321. 2001-11-22 William M. Perry <wmperry@gnu.org>
  1322. * lisp/url-https.el: Fixed definition of url-https - was using the
  1323. wrong signature. Too much cut & paste.
  1324. (url-https-create-secure-wrapper): Fix so that url-https works
  1325. at all. Was not taking a null `method' into account when calling
  1326. the wrapped function so url-https tried to call url-http-nil. *sigh*
  1327. * lisp/url-http.el
  1328. (url-http-chunked-encoding-after-change-function): Add some
  1329. feedback when not debugging about what content-type and chunk # we
  1330. are reading.
  1331. (url-http-chunked-encoding-after-change-function): Use a marker
  1332. for url-http-chunked-start so that we can safely delete the
  1333. chunk-tokens instead of just marking them as invisible.
  1334. (url-http-chunked-encoding-after-change-function): Actually delete
  1335. the chunk-tokens. Now that we are not run from 'real'
  1336. after-change functions, this is safe, and the right thing to do.
  1337. Otherwise the HTML parser still saw them and inferred all sorts of
  1338. bad things about the document (ie: nothing had a title!)
  1339. 2001-11-21 William M. Perry <wmperry@gnu.org>
  1340. * lisp/url-http.el (url-http-debug): Document this variable.
  1341. People other than I might want to use it.
  1342. (url-http-debug): Put some code in here to check quit-flag
  1343. directly. When the chunked encoding went into a tight spin, your
  1344. Emacs would be wedged forever. This short-circuits all the
  1345. after-change functions and signals an error.
  1346. (url-http-debug): If url-http-debug is non-nil and non-t, then log
  1347. the debug messages using `message' as well as sending them to the
  1348. buffer.
  1349. (url-http-chunked-encoding-after-change-function): Got rid of the
  1350. no-initial-crlf. Had an epiphany and I can just infer this from
  1351. url-http-chunked-counter being 0.
  1352. (url-http-chunked-encoding-after-change-function): Move the debug
  1353. statement about reading chunk #foo into the loop so that each
  1354. chunk will have a log message associated with it.
  1355. (url-http-chunked-encoding-after-change-function): Make sure to
  1356. set read-next-chunk to nil when the regular expression match fails
  1357. to fire. Otherwise we could loop forever.
  1358. (url-http-chunked-encoding-after-change-function): Tweak the
  1359. regular expression to be a little less greedy when looking for a chunk.
  1360. (url-http-wait-for-headers-change-function): Remove the last
  1361. argument when calling
  1362. url-http-chunked-encoding-after-change-function. It is no longer
  1363. needed. I should use my brain sometime.
  1364. * lisp/url-vars.el (and): Fix feature test for xemacs and
  1365. coding-system-list behavior.
  1366. * lisp/url-http.el
  1367. (url-http-chunked-encoding-after-change-function): Add optional
  1368. no-initial-crlf flag that modifies the regular expression.
  1369. This is only set from url-http-wait-for-headers-change-function so that
  1370. the initial CRLF in the HTTP headers is not swallowed.
  1371. (url-http-chunked-encoding-after-change-function): Fix a few
  1372. off-by-one errors by using (match-end 0) instead of 1.
  1373. (url-http-chunked-encoding-after-change-function): Add a few
  1374. url-http-debug calls to help track down problems in the chunked
  1375. encoding.
  1376. (url-http-chunked-encoding-after-change-function): The chunk
  1377. reading in here is now in a while loop so that if Emacs feeds us a
  1378. chunk of data that happens to contain more than one 'chunk'
  1379. delimiter, we behave correctly.
  1380. (url-http-wait-for-headers-change-function): Make sure that we
  1381. pass no-initial-crlf to
  1382. url-http-chunked-encoding-after-change-function when passing
  1383. initial data to the decoder.
  1384. (url-http-generic-filter): url-http-debug statement so we can tell
  1385. when/where our after-change-functions are being called.
  1386. 2001-10-11 Dave Love <fx@gnu.org>
  1387. * lisp/url-handlers.el: Doc fixes.
  1388. (string-match): Use (featurep 'xemacs).
  1389. * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
  1390. * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
  1391. * lisp/url-vars.el (url-running-xemacs): Delete.
  1392. (url-gateway-unplugged): New variable.
  1393. * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
  1394. Comment out OS/2 stuff.
  1395. 2001-10-05 Dave Love <fx@gnu.org>
  1396. * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
  1397. without confirmation.
  1398. 2001-10-02 Dave Love <fx@gnu.org>
  1399. * lisp/url-http.el (url-http-create-request): Check cache for
  1400. proxy-obj, if defined, rather than url.
  1401. (url-http): Use dolist, not mapc (runtime cl dependency).
  1402. * lisp/url-methods.el: Maybe require cl at runtime.
  1403. (url-scheme-register-proxy): Fix fetching from environment.
  1404. Don't concat a number.
  1405. 2001-10-01 Dave Love <fx@gnu.org>
  1406. * lisp/url-parse.el: Use modern backquote syntax.
  1407. * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
  1408. (url-mail-command): Prefer compose-mail.
  1409. (tcp-binary-process-input-services): Comment out.
  1410. (url-working-buffer): New constant.
  1411. * lisp/url-util.el (url-extract-mime-headers): New function.
  1412. * lisp/url-mailto.el (url-mailto): Set source-url. Don't add
  1413. User-Agent.
  1414. 2001-09-20 Dave Love <fx@gnu.org>
  1415. * lisp/url-http.el (url-http-create-request): Don't concat a number.
  1416. 2001-06-05 Dave Love <fx@gnu.org>
  1417. * lisp/url.el (url-do-setup): Doc fix. Don't try to frob
  1418. tcp-binary-process-input-services. Remove function wrapper for lambda.
  1419. (url-retrieve): Barf with sensible message if url-type is null.
  1420. * lisp/url-http.el (url-http): Don't try to set process
  1421. coding-system here -- done in url-gw.
  1422. * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
  1423. (url-open-stream): Bind coding-system-for{read,write} when setting
  1424. up the connection. Don't call url-gw-inhibit-code-conversion.
  1425. 2001-05-24 William M. Perry <wmperry@gnu.org>
  1426. * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
  1427. in url-retrieve-synchronously.
  1428. 2001-05-23 William M. Perry <wmperry@gnu.org>
  1429. * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
  1430. accept-process-output. This is evidently causing hangs in Emacs
  1431. 21 when viewing complex pages with images or stylesheets.
  1432. www.yahoo.com is now viewable.
  1433. * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
  1434. (mule-inhibit-code-conversion) and just have a local function that
  1435. does this minimal cruft.
  1436. (url-gw-inhibit-code-conversion): New function to turn off code
  1437. conversion in a process.
  1438. 2001-05-22 William M. Perry <wmperry@gnu.org>
  1439. * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
  1440. that we can allow multiple asynch retrievals to happen at once.
  1441. (url-retrieve-synchronously): Use a much smaller timeout when
  1442. doing the accept-process-output. This gets rid of the long delays
  1443. if you are on a fast net connection and retrieve small documents
  1444. that finish asynchronously before the first accept-process-output
  1445. can be run. All hail broadband and 100Mb in the house!
  1446. (url-retrieve-synchronously): Add documentation for this function.
  1447. (url-retrieve): Ditto.
  1448. (url-mm-url): Ditto.
  1449. * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
  1450. documentation strings. Ok, so I'm anal.
  1451. * lisp/url-methods.el (url-scheme-methods): Add default methods
  1452. for file-directory-p and file-truename.
  1453. 2001-05-22 Dave Love <fx@gnu.org>
  1454. * lisp/url-auth.el (url-warn): Autoload.
  1455. * lisp/url-proxy.el (url-warn): Autoload.
  1456. * lisp/url-nfs.el: Fix `file-truname' typo.
  1457. * lisp/url-news.el: Require cl when compiling.
  1458. (url-warn, gnus-group-read-ephemeral-group): Autoload.
  1459. (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
  1460. (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
  1461. * lisp/url-util.el (mule-decode-string): Don't autoload.
  1462. (url-hexify-string): Just barf on multibyte characters.
  1463. (url-generate-unique-filename): New function.
  1464. * lisp/url-file.el (url-file): Use url-generate-unique-filename,
  1465. not mm-generate-unique-filename.
  1466. * lisp/url-http.el: Declare things special in various places.
  1467. (url-http-activate-callback): Don't set
  1468. url-http-real-after-change-function.
  1469. 2001-05-22 William M. Perry <wmperry@gnu.org>
  1470. * lisp/url-http.el (url-http-attempt-keepalives): New variable to
  1471. control whether we try to do keep-alives for our connections.
  1472. (url-http-version): New variable to control whether we advertise
  1473. ourselves as an HTTP/1.1 client or not. This can be useful for
  1474. avoiding chunked encoding, and other 1.1 features we may not have
  1475. fully implemented yet.
  1476. (url-http-create-request): Honor the new variables.
  1477. 2001-05-21 Dave Love <fx@gnu.org>
  1478. * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
  1479. in XEmacs.
  1480. (url-mime-charset-string): Don't reverse the list before sorting.
  1481. 2001-05-17 William M. Perry <wmperry@gnu.org>
  1482. * lisp/url-http.el (url-http-generic-filter): Avoid using
  1483. after-change-functions natively. There are just too many ways
  1484. that this screws up in Emacs 21. Use a filter function on the
  1485. process instead, and call the hook on
  1486. url-http-after-change-function manually. [Actually, it will work
  1487. in Emacs 21, but one problem that has been fixed in Emacs 21
  1488. exists in Emacs 20. -- fx]
  1489. * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
  1490. does not exist on older versions of Emacs, or any version of
  1491. XEmacs. Do not call it unless it is bound.
  1492. 2001-05-17 Dave Love <fx@gnu.org>
  1493. * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
  1494. 2001-05-16 Dave Love <fx@gnu.org>
  1495. * lisp/url-vars.el: Doc fixes. Require mm-util.
  1496. (url-mime-charset-string): New variable.
  1497. * lisp/url-http.el: Doc fixes.
  1498. (url-http-create-request): Rearrange how we assemble the request.
  1499. Avoid generating bogus requests with an empty real-fname.
  1500. (url-http-handle-authentication): Declare status and success special.
  1501. (url-http): Call mm-disable-multibyte. Set process buffer's
  1502. coding systems to binary.
  1503. * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
  1504. * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
  1505. (url-file-find-possibly-compressed-file): Doc fix.
  1506. (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
  1507. * lisp/url-cache.el: Don't require mule-sysdp.
  1508. (url-store-in-cache): Avoid mule-write-region-no-coding-system.
  1509. * lisp/url.el: Don't require mule-sysdp.
  1510. (url-retrieve): Only set text properties if url is a string.
  1511. 2001-05-14 Dave Love <fx@gnu.org>
  1512. * lisp/url-http.el (url-http-create-request):
  1513. Declare proxy-object, proxy-info special.
  1514. (url-http-handle-authentication): Declare success special.
  1515. 2001-05-12 Dave Love <fx@gnu.org>
  1516. * lisp/url-http.el: Revert last change.
  1517. 2001-05-10 Dave Love <fx@gnu.org>
  1518. * lisp/url-http.el (url-http-generic-after-change-function):
  1519. Make it permanent-local.
  1520. 2001-05-05 Dave Love <fx@gnu.org>
  1521. * lisp/url-http.el: Autoload some functions.
  1522. (cl): Require when compiling.
  1523. (url-http-extra-headers): Defvar when compiling.
  1524. (url-http): Treat after-change-functions as a local hook.
  1525. * lisp/url-history.el (url-parse): Require.
  1526. (url-do-setup): Autoload.
  1527. * lisp/url-gw.el: Require url-vars. Autoload some functions.
  1528. * lisp/url-file.el: Require mailcap. Require cl when compiling.
  1529. Use (featurep 'xemacs).
  1530. (url-file-build-filename): Bind pos-index.
  1531. (url-file): Call url-find-file-dired, not url-dired-find-file.
  1532. * lisp/url-dired.el: Add copyright notice. Autoload some functions.
  1533. (url-dired-minor-mode-map): Use (featurep 'xemacs).
  1534. (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
  1535. (url-find-file-dired): Rename from one version of url-dired-find-file.
  1536. * lisp/url-cid.el: Don't require widget. Require mm-decode
  1537. unconditionally.
  1538. * lisp/url-util.el: Autoload mule-decode-string,
  1539. timezone-parse-date, timezone-make-date-arpa-standard.
  1540. (url-unreserved-chars): Fix list per RFC 2396.
  1541. (url-hexify-string): Maybe string-make-unibyte.
  1542. * lisp/url-news.el: Require nntp.
  1543. * lisp/url-imap.el: Require cl when compiling. Require nnimap
  1544. unconditionally.
  1545. 2001-05-04 Dave Love <fx@gnu.org>
  1546. * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
  1547. not non-existent mailcap-generate-unique-filename.
  1548. * lisp/url-privacy.el: Require url-vars. Require cl when compiling.
  1549. * lisp/url-parse.el: Require url-vars.
  1550. Autoload url-scheme-get-property.
  1551. * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs
  1552. with featurep.
  1553. * lisp/url-mailto.el: Require cl when compiling.
  1554. * lisp/url-cookie.el (url-cookie-handle-set-cookie):
  1555. Call url-parse-args, not url-util-parse-args.
  1556. * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
  1557. 2001-04-09 Dave Love <fx@gnu.org>
  1558. * lisp/mule-sysdp.el (mule-detect-coding-version)
  1559. (mule-code-convert-region, mule-inhibit-code-conversion)
  1560. (mule-write-region-no-coding-system, mule-encode-string)
  1561. (mule-decode-string, mule-truncate-string)
  1562. (mule-find-charset-region, mule-coding-system-name)
  1563. (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
  1564. [There must be a better way.]
  1565. (mule-coding-system-p, string-width): Use defalias.
  1566. 2001-01-03 Sam Steingold <sds@gnu.org>
  1567. * lisp/url-http.el (url-http-wait-for-headers-change-function):
  1568. set `url-http-end-of-headers' to 0 for HTTP 0.9.
  1569. 2001-01-02 Sam Steingold <sds@gnu.org>
  1570. * lisp/url-auth.el (provide): `url-auth', not `urlauth'.
  1571. 2000-12-22 Dave Love <fx@gnu.org>
  1572. * lisp/url-history.el (url): Don't require (to avoid recursion).
  1573. (cl): Require when compiling.
  1574. * lisp/url-http.el (url-auth): Require.
  1575. (url-http-handle-authentication): Fix typo.
  1576. * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
  1577. 2000-12-20 Dave Love <fx@gnu.org>
  1578. * lisp/url.el: Require mm-decode, mm-view when compiling.
  1579. <not (fboundp 'puthash)>: Define puthash and
  1580. autoload other has functions rather than using cl-...hash.
  1581. (url-warn): Define.
  1582. * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
  1583. Avoid cl-...hash functions.
  1584. * lisp/url-history.el: Avoid cl-...hash functions.
  1585. (url): Require.
  1586. * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
  1587. 2000-10-03 William M. Perry <wmperry@aventail.com>
  1588. * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
  1589. getting set to nil due to bad string matching. Subsequent matches
  1590. would then choke because we passed string-match a nil.
  1591. * lisp/url-http.el (url-http-parse-headers): Need to make the
  1592. connection as 'free' when we get a 304 response (found in cache),
  1593. or when a keep-alive connection timed out, it would re-parse the
  1594. headers and dispatch to the callback again. Eek.
  1595. 2000-10-02 William M. Perry <wmperry@aventail.com>
  1596. * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
  1597. implement chunked transfer-coding.
  1598. (url-http-create-request): We can now advertise ourselves as a 1.1
  1599. compliant browser!
  1600. 2000-07-28 Sam Steingold <sds@gnu.org>
  1601. * lisp/url-methods.el (url-scheme-default-loader): `callback' and
  1602. `cbargs' are optional args (for calling from w3).
  1603. (url-scheme-register-proxy): Typos fixes: `url-match' replaced
  1604. with `string-match' and `protocol' with `scheme'.
  1605. 2000-07-18 Sam Steingold <sds@gnu.org>
  1606. * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
  1607. * lisp/url-history.el (url-history-save-interval): Avoid circularity.
  1608. 2000-07-10 William M. Perry <wmperry@aventail.com>
  1609. * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
  1610. mule, and the character requested is > 255, then return "~"
  1611. instead of letting whoever call us signal an error when they try
  1612. to insert the character.
  1613. (mule-make-iso-character): Also wrap the whole thing in a
  1614. condition case and return "~" on error, in case make-char bombs on us.
  1615. * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
  1616. for cid parts.
  1617. * lisp/url-util.el (url-display-percentage): New routine that uses
  1618. the progress bar under XEmacs if available. Looks very sexy under
  1619. XEmacs/GTK hacked to use the GNOME statusbar.
  1620. * lisp/url-http.el
  1621. (url-http-content-length-after-change-function): Use new function
  1622. url-display-percentage instead of url-lazy-message.
  1623. 2000-01-27 William M. Perry <wmperry@aventail.com>
  1624. * lisp/url-file.el (url-file-build-filename): Work around for
  1625. differences in ange-ftp / efs handling of port numbers other than 21.
  1626. 1999-12-24 William M. Perry <wmperry@aventail.com>
  1627. * lisp/url-irc.el: Added pointer to draft specification for the
  1628. IRC URL so people don't think I'm crazy.
  1629. * configure.in: Checks to make sure that Gnus was found, since we
  1630. HAVE to have it now. Removed conditional compilation of url-cid.el.
  1631. 1999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
  1632. * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
  1633. () to have periods at the end of the chunk.
  1634. 1999-12-14 William M. Perry <wmperry@aventail.com>
  1635. * lisp/url-misc.el (url-man): Implement `man' URL types.
  1636. (url-info): Autoload.
  1637. (url-man): Ditto.
  1638. (url-rlogin): Ditto.
  1639. (url-telnet): Ditto.
  1640. (url-tn3270): Ditto.
  1641. (url-generic-emulator-loader): Ditto.
  1642. * lisp/url-https.el (url-https-create-secure-wrapper): New macro
  1643. to wrap arbitrary `http' methods with the appropriate magic to
  1644. turn SSL on.
  1645. (file-exists-p): Use it.
  1646. (file-readable-p): Use it.
  1647. (file-attributes): Use it.
  1648. * lisp/url-news.el (url-news-fetch-newsgroup): When building the
  1649. server spec for Gnus, make sure we set
  1650. nntp-open-connection-function directly, so that other news-related
  1651. functions above us can set it.
  1652. (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
  1653. (url-nntp): Autoload.
  1654. (url-snews): Ditto.
  1655. (url-news): Ditto.
  1656. 1999-12-12 William M. Perry <wmperry@aventail.com>
  1657. * lisp/url-http.el (url-http-parse-response): New function to
  1658. parse just the HTTP response code out of the buffer, without
  1659. taking any other actions.
  1660. (url-http-wait-for-headers-change-function): Use it here when we
  1661. know we have an HTTP/1.x response.
  1662. (url-http-wait-for-headers-change-function): Special case a
  1663. response code of '304' or there could be some delays waiting for
  1664. keep-alives to time out on cached documents with no known
  1665. content-length on the server.
  1666. 1999-12-11 William M. Perry <wmperry@aventail.com>
  1667. * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
  1668. the Makefile does that for us. We just need to provide what files
  1669. to load/functions to run.
  1670. * lisp/url-imap.el (url-imap-open-host): Need to bind
  1671. nnimap-server-buffer or `nnimap-open-server' chokes trying to use
  1672. the current buffer as the IMAP server buffer, which fails miserably.
  1673. 1999-12-11 Simon Josefsson <jas@pdc.kth.se>
  1674. * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
  1675. 1999-12-11 William M. Perry <wmperry@aventail.com>
  1676. * lisp/url-file.el (url-file-asynch-callback): Make the checks for
  1677. ange-ftp vs. efs calling semantics consistent, so that if someone
  1678. has NEITHER of them loaded, everything should still work.
  1679. * lisp/url-handlers.el (url-copy-file): Autoload.
  1680. (url-file-local-copy): Ditto.
  1681. (url-insert-file-contents): Ditto.
  1682. (url-setup-file-name-handlers): Ditto.
  1683. 1999-12-10 William M. Perry <wmperry@aventail.com>
  1684. * lisp/url-http.el (mail-parse): Since we use functions from here,
  1685. we should require it, eh?
  1686. 1999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
  1687. * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
  1688. if nil.
  1689. (url-cookie-generate-header-lines): Use it.
  1690. 1999-12-06 William M. Perry <wmperry@aventail.com>
  1691. * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
  1692. 4.1 gracefully.
  1693. * lisp/url-news.el: Reimplemented news and nntp URL support.
  1694. No longer bothers to check for outdated Gnus versions, since this
  1695. will not work without them anyway.
  1696. 1999-12-05 Dave Love <fx@gnu.org>
  1697. * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
  1698. lisp/url.el:
  1699. Require url-parse.
  1700. 1999-12-05 William M. Perry <wmperry@aventail.com>
  1701. * lisp/url-http.el (url-http-find-free-connection): Spit out a
  1702. message when we have to contact a host so the user always gets
  1703. at least some feedback.
  1704. * lisp/url-expand.el (url-expander-remove-relative-links): Move and
  1705. renamed function.
  1706. (url-default-expander): Use it.
  1707. * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
  1708. as well as efs.
  1709. (url-file): Add default content-type of application/octet-stream if
  1710. none known.
  1711. (url-file): Correct bad call to url-host-is-local-p.
  1712. * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
  1713. like buffer-substring with nil arguments.
  1714. (url-copy-file): Use mm-destroy-parts instead of just killing
  1715. the buffer. Use defined interfaces when available!
  1716. (url-insert-file-contents): Ditto.
  1717. * lisp/url-http.el (url-http-create-request): Lots of changes to
  1718. get proxying working.
  1719. * lisp/url-methods.el (url-scheme-register-proxy): New function to
  1720. find and register a proxy for a specific scheme.
  1721. (url-scheme-get-property): Use it when we load a URL scheme for
  1722. the first time.
  1723. * lisp/url-util.el (url-get-url-at-point): Re-integrated.
  1724. 1999-12-04 William M. Perry <wmperry@aventail.com>
  1725. * lisp/url-file.el (url-file): Signal an error if
  1726. url-file-build-filename could not find the filename.
  1727. 1999-12-01 William M. Perry <wmperry@aventail.com>
  1728. * lisp/url.el (url-retrieve): Use url-history-update-url instead
  1729. of manipulating the hash table directly.
  1730. * lisp/url-history.el (url-completion-function): New function to
  1731. use for reading a URL with completion.
  1732. (url-history-update-url): New function to hide the hashtable
  1733. implementation from people inserting things into the history.
  1734. 1999-11-30 William M. Perry <wmperry@aventail.com>
  1735. * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
  1736. working.
  1737. * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
  1738. url-parse-args, which had changed the type of arguments it expects.
  1739. * lisp/url-handlers.el (url-insert-file-contents): Ditto.
  1740. (url-copy-file): Ditto.
  1741. * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
  1742. just killing the buffer. Use defined interfaces when available!
  1743. * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
  1744. AC_FD_CC so they show up in config.log
  1745. (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
  1746. this always return 't' instead of 'yes' on successfully finding
  1747. the library.
  1748. * lisp/url-http.el (url-http-parse-headers): Add some
  1749. DAV-specific error codes.
  1750. * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
  1751. (url-retrieve-synchronously): Duh, make this function actually
  1752. work again. Numerous problems with it, including variable name
  1753. collisions - I love dynamically scoped lisps!
  1754. * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
  1755. wrappers onto the appropriate file-based URLs for file-name-handlers.
  1756. * lisp/url-ftp.el: Moved the FTP stuff into its own file - it
  1757. might get messy with file-name-handlers and things.
  1758. * lisp/url-http.el (url-http-clean-headers): Fix problem when
  1759. using 'HEAD' requests. Thou shalt not change the length of the
  1760. region during an after-change-function.
  1761. * lisp/url-methods.el (url-scheme-methods): New variable that
  1762. holds a list of the methods/variables we look for in a URL scheme.
  1763. (url-scheme-get-property): Use it.
  1764. 1999-11-29 William M. Perry <wmperry@aventail.com>
  1765. * lisp/url-http.el (url-http-file-attributes): Reimplement.
  1766. (url-http-file-exists-p): Ditto.
  1767. * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
  1768. * lisp/url-file.el (url-file-create-wrapper): New macro to create
  1769. file-name-handler stubs for all the FTP/FILE stuff.
  1770. * lisp/url-handlers.el: New file to handle file-name-handler-alist
  1771. cruft. Generic interface on top of functions that each URL
  1772. loader provides, if capable.
  1773. 1999-11-27 William M. Perry <wmperry@aventail.com>
  1774. * lisp/url-https.el: Implemented HTTPS support.
  1775. 1999-11-26 William M. Perry <wmperry@aventail.com>
  1776. * url-privacy.el (url-setup-privacy-info): Don't rely on
  1777. device-type being defined. Not going to bother redistributing
  1778. devices.el for just one function.
  1779. * url-methods.el (url-scheme-get-property): Emacs does not have
  1780. the 3rd-argument to plist-get to specify the default. *sigh*
  1781. * url-dired.el (add-minor-mode): Add definition for Emacs.
  1782. * url-http.el (url-http-generic-after-change-function):
  1783. New function, since Emacs does not allow you to change the
  1784. after-change-functions variable from within a function run by
  1785. said hook. This just hands it off to the REAL function.
  1786. Side-effect is that this now works on Emacs at all. :)
  1787. * Initial checkin of rewritten URL library.
  1788. ;; Local variables:
  1789. ;; coding: utf-8
  1790. ;; End:
  1791. Copyright (C) 1999, 2001-2002, 2004-2012 Free Software Foundation, Inc.
  1792. This file is part of GNU Emacs.
  1793. GNU Emacs is free software: you can redistribute it and/or modify
  1794. it under the terms of the GNU General Public License as published by
  1795. the Free Software Foundation, either version 3 of the License, or
  1796. (at your option) any later version.
  1797. GNU Emacs is distributed in the hope that it will be useful,
  1798. but WITHOUT ANY WARRANTY; without even the implied warranty of
  1799. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  1800. GNU General Public License for more details.
  1801. You should have received a copy of the GNU General Public License
  1802. along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.