ChangeLog 94 KB

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