]> code.delx.au - gnu-emacs/blob - lisp/url/ChangeLog
(url-insert-file-contents): Use the URL to decide the
[gnu-emacs] / lisp / url / ChangeLog
1 2004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * url-handlers.el (url-insert-file-contents): Use the URL to decide the
4 encoding, not the buffer-file-name (which might not even exist).
5
6 2004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * url-handlers.el (url-insert-file-contents): Decode contents.
9
10 2004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11
12 * url-util.el (url-debug): Use with-current-buffer.
13
14 * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
15 (url-nfs-create-wrapper): Use new backquote syntax.
16
17 * url-https.el (url-https-file-attributes): Add id-format param.
18
19 * url-http.el (url-http-head-file-attributes)
20 (url-http-file-attributes): Add id-format parameter.
21
22 * url-handlers.el: Use new find-file-hook.
23 (url-file-attributes): Add id-format parameter.
24
25 * url-file.el (url-file-create-wrapper): Use new backquote syntax.
26 (url-file-file-attributes): Add id-format parameter.
27
28 * url-dav.el: Use with-current-buffer.
29 (url-dav-process-response): Fix regexps and spurious quote.
30 (url-dav-file-attributes): Add id-format param.
31
32 2004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
33
34 * url.el (url-retrieve): Use with-current-buffer.
35
36 * url-http.el (url-http-parse-headers, url-http-file-exists-p):
37 Remove unused var `version'.
38
39 * url-handlers.el (url-handler-mode): New minor mode.
40 (url-setup-file-name-handlers): Remove.
41
42 2004-04-12 John Paul Wallington <jpw@gnu.org>
43
44 * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
45 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
46
47 2004-04-11 Dave Love <fx@gnu.org>
48
49 * url-mailto.el (url-mailto):
50 * url-history.el (url-history-setup-save-timer):
51 * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
52
53 * url-file.el (url-file-build-filename): Don't use
54 directory-sep-char.
55
56 * url-auth.el (url-register-auth-scheme): Fix `format' call.
57
58 * url-about.el (url-scheme-registry): Defvar.
59 (url-about): Use text/plain.
60
61 * url-vars.el (cl): Don't require.
62 (url): Add :version.
63 (url-bug-address): Use bug-gnu-emacs.
64
65 * url-util.el (url-hexify-string): Don't give multibyte error
66 for char <16.
67 (mail-header-extract): Autoload.
68
69 * url-parse.el: Doc fixes.
70
71 * url-ldap.el (ldap): Require.
72 (url-ldap): Fix `format' call.
73 (url-ldap-certificate-formatter): Avoid warning.
74
75 * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
76
77 * url-dav.el (url-dav-rename-file): Fix args of `signal'.
78 (url-intersection): New.
79 (url-dav-supported-p): Use it.
80 (url-dav-save-resource): Declare url-http-response-status special.
81
82 * url-cache.el (url-util): Require.
83
84 2004-04-10 Miles Bader <miles@gnu.org>
85
86 RCS keyword removal (only non-comment changes are enumerated here):
87
88 * url-vars.el (url-version): Use the constant string "Emacs"
89 instead of calculating something from the RCS `State' keyword
90 [the latter is almost entirely useless anyway].
91
92 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
93
94 * url-methods.el:
95 * url-parse.el: Don't require url-auto.
96
97 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
98
99 * url: Imported the URL package from its own CVS repository into Emacs.
100
101 ===========================================================================
102 ===========================================================================
103 Copy of the ChangeLog file from URL's own CVS repository:
104 ===========================================================================
105 ===========================================================================
106
107 2003-07-16 Dave Love <fx@gnu.org>
108
109 * lisp/url.el (url-retrieve-synchronously): Revert last change.
110 Should be revisited.
111
112 2003-06-26 Sam Steingold <sds@gnu.org>
113
114 * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
115 method on invalid urls.
116
117 2003-05-29 Dave Love <fx@gnu.org>
118
119 * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
120 sit-for. From monnier@gnu.org.
121
122 2002-11-04 Walter C. Pelissero <walter@pelissero.org>
123
124 * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
125 port numbers to integers when creating the URL objects for proxies.
126
127 2002-10-29 William M. Perry <wmperry@gnu.org>
128
129 * lisp/url-http.el (url-http-parse-headers): When doing a
130 redirect, some broken software (sourceforge) sends a redirect to
131 '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
132 specification). I wish we could deal with such lame software
133 appropriately (spank the authors), but this is the web, so we have
134 to kow-tow to the servers.
135
136 2002-10-27 William M. Perry <wmperry@gnu.org>
137
138 * lisp/url-http.el (url-http-create-request): If we are talking to
139 the default port for a the selected protocol, do NOT send the port
140 in the HOST header. This fixes the login page at sourceforge.
141
142 2002-09-17 William M. Perry <wmperry@gnu.org>
143
144 * lisp/url-http.el (url-http-handle-cookies): New function to deal
145 with cookie headers.
146 (url-http-parse-headers): Call `url-http-handle-cookies' here so
147 that cookie additions and deletions get handled immediately.
148 This is so that sites that set cookies while doing redirects
149 (my.yahoo.com, outlook web access, etc) work. This should also
150 fix sites that delete cookies on invalid access or other error
151 pages the user might not actually see.
152 (url-http-parse-headers): Silently convert non-HEAD and non-GET
153 methods to GET in redirects. Too many web sites do this now, and
154 it is just likely to confuse users.
155
156 2002-05-17 Dave Love <fx@gnu.org>
157
158 * texi/url.txi: Start making it vaguely useful.
159
160 * texi/Makefile.in (install): Cope with Debian install-info.
161 From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann).
162
163 2002-04-22 Dave Love <fx@gnu.org>
164
165 * lisp/url-misc.el (man): Autoload to avoid warning.
166 (url-man): Don't require man here.
167 (url-data): Generalize in line with the RFC.
168
169 * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
170
171 * lisp/url-vars.el: Doc fixes.
172 (url-mime-charset-string): New function.
173 (url-mime-charset-string): Use it to set the variable.
174 (url-set-mime-charset-string): New function.
175 (set-language-environment-hook): Use it.
176 (url-vars-unload-hook): New function.
177
178 * lisp/url-cookie.el (url-header-comparison): Delete.
179 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
180 (url-cookie-save-interval): Make value agree with doc.
181
182 * lisp/url.el: Doc fixes.
183 (url-mm-callback): Don't call mm-destroy-parts immediately for
184 external viewing -- set up a process sentinel.
185
186 2002-02-02 William M. Perry <wmperry@gnu.org>
187
188 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
189
190 2001-12-12 William M. Perry <wmperry@gnu.org>
191
192 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
193 Monnier to use ` instead of ^ to match the relative link.
194
195 2001-12-10 William M. Perry <wmperry@gnu.org>
196
197 * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
198 plist-get (reversed args).
199
200 * lisp/url-file.el (url-file-build-filename): Make sure that we
201 have a parsed URL in this function.
202
203 2002-01-22 Dave Love <fx@gnu.org>
204
205 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
206
207 * lisp/url-imap.el (url-imap): Maybe disable multibyte.
208 Bind coding-system-for-read. Require mm-util.
209
210 * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
211
212 * lisp/mule-sysdp.el: Removed (obsolete).
213
214 2001-12-09 William M. Perry <wmperry@gnu.org>
215
216 * lisp/url-dav.el (url-dav-delete-something): Utility macro to
217 remove an arbitrary resource.
218 (url-dav-delete-directory): Use it.
219 (url-dav-delete-file): Ditto.
220 (url-dav-make-directory): New function.
221 (url-dav-rename-file): New function.
222 (url-dav-register-handler): New function to easily register a
223 WebDAV-specific file-name-handler operation.
224 (url-dav-file-name-all-completions, url-dav-file-name-completion):
225 New functions that allow file-name completion for WebDAV resources.
226
227 2001-12-08 William M. Perry <wmperry@gnu.org>
228
229 * lisp/url-dav.el (url-dav-directory-files): New function to
230 mimic `directory-files' for WebDAV.
231 (url-dav-delete-directory): New function to mimic
232 `delete-directory' for WebDAV.
233
234 2001-12-06 William M. Perry <wmperry@gnu.org>
235
236 * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
237 DAV:locktoken hrefs into a usable format.
238 (url-dav-process-response): Use an unwind-protect to make sure
239 that we clean up the buffer, even if there is a parsing error.
240 (url-dav-request): New function to act as the main entry point for
241 making DAV requests. Takes care of building the XML document with
242 appropriate namespaces, depth, etc, and parses the results.
243 (url-dav-get-properties): Use new url-dav-request function.
244 This is now just a thin wrapper around that to use PROPFIND and set any
245 extra properties we are looking for.
246 (url-dav-unlock-resource): New function to release a lock given a
247 URL and a lock-token.
248 (url-dav-process-DAV:getlastmodified)
249 (url-dav-process-DAV:creationdate)
250 (url-dav-process-DAV:iscollection)
251 (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
252 url-dave-*!
253 (url-dav-active-locks): New function to get a list of all the
254 active locks for a resource.
255 (url-dav-save-resource): New function to actually save a resource
256 using the PUT method. I can now successfully save files to an
257 HTTP server with some manual steps from a lisp-interaction buffer.
258
259 * lisp/url-http.el (url-http-wait-for-headers-change-function):
260 Special case the 204/205 response codes. Some servers do not
261 send back a 0 content-length for these, and we would hang.
262 (url-http-parse-headers): Mark 204/205 response codes as
263 'successful' so that the callbacks get activated.
264 (url-http-options): Fix unbound variable usage.
265
266 * lisp/url-dav.el: Added full copyright information.
267 (url-dav-process-response): Make sure that we create a DAV:status
268 property when parsing a singleton response.
269 (url-dav-file-attributes): If the properties returned did not have
270 a succesful HTTP response code, then ignore them and use the
271 HEAD-based attributes.
272
273 * lisp/vc-dav.el: Added full copyright information.
274
275 * lisp/url-dav.el (url-dav-process-supportedlock-property):
276 Deal with text nodes in DAV:supportedlock nodes.
277 (url-dav-file-attributes-mode-string): This now gets the entire
278 property list instead of just the DAV:supportedlock node.
279 (url-dav-file-attributes): Make sure to pass the whole list in.
280 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
281 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
282 'executable' bit to set the 'x' mode. See `mod_dav's custom
283 properties' at http://www.webdav.org/mod_dav/ for more details.
284 (url-dav-find-parser): New function to find the proper parser for
285 a node-type. Looks for
286 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
287 back to using url-dav-node-text. Caches the results on the nodes
288 symbol name.
289 (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
290 (url-dav-process-*): Rename most of the handlers and made them
291 use url-dav-dispatch-node where appropriate.
292 (url-dav-process-DAV:prop): Instead of using the dav-data-type
293 property to dispatch the node, now uses dav-dispatch-node so that
294 it is easy to add parsers for special nodes.
295 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
296 (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
297 (url-dav-process-DAV:getcontentlength)
298 (url-dave-process-DAV:getlastmodified)
299 (url-dave-process-DAV:creationdate)
300 (url-dave-process-DAV:iscollection)
301 (url-dave-process-DAV:ishidden): Aliases for the generic
302 url-dav-process-foo-property routines.
303 (url-dav-process-DAV:activelock)
304 (url-dav-process-DAV:lockdiscovery): Can now correctly parse
305 DAV:lockdiscovery nodes, so that we can find out who has a
306 resource locked and properly parse the reponse to a LOCK request.
307 (url-dav-process-DAV:status): Now parses ou the numeric status
308 from the HTTP response line.
309 (url-dav-process-response): New function to handle all the
310 parsing of an XML response from WebDAV. This handles all the
311 logic of checking the response content-type to make sure it is
312 XML, parses the tree, and interprets the tree.
313 (url-dav-process-response): Make sure that all responses look
314 like a DAV:multistatus response, even if we get a singleton
315 response back. This will just make the upper layer logic simpler.
316 (url-dav-get-properties): New optional argument NAMESPACES that
317 specifies what namespaces to use in the XML request.
318 (url-dav-get-properties): Got rid of the D: namespace in
319 requests. It doesn't save that much space. Just use DAV:
320 (url-dav-lock-identifier): New variable that should hold a URI
321 pointing to contact information for the user. This will be used
322 as the contents of the DAV:owner/DAV:href tag to identify the
323 owner of a LOCK when requesting it. This will be shown to other
324 users when the DAV:lockdiscovery property is requested, so make
325 sure you are comfortable with it leaking to the outside world.
326 (url-dav-lock-resource): New function to LOCK a dav resource.
327
328 2001-12-05 William M. Perry <wmperry@gnu.org>
329
330 * lisp/url-dav.el (url-dav-get-properties): New argument
331 ATTRIBUTES that allows you to ask for specific properties instead
332 of getting all properties via DAV:allprop.
333
334 * lisp/url-http.el (url-http-real-basic-auth-storage):
335 New variable for normal HTTP basic authentication.
336 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
337 basic authentication.
338 (url-http-handle-authentication): Follow new semantics for
339 url-basic-auth-storage.
340
341 * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
342 this variable. It is now a symbol pointing to where we really
343 want to store the authorization information. This fixes proxy
344 auth and normal basic auth because of some local bindings that were
345 making it impossible to store the credentials in the global binding.
346 (url-basic-auth): Make sure we dereference url-basic-auth-storage
347 everywhere.
348
349 * lisp/url-util.el (url-debug): Add new types 'dav and
350 'retrieval to the customization list.
351
352 * lisp/url.el (url-retrieve-synchronously): Put in some debugging
353 statements.
354
355 * lisp/url-http.el (url-http-head-file-attributes): Rename old
356 url-http-file-attributes so that we can have a smarter one that
357 tries WebDAV first, then HEAD.
358 (url-http-file-attributes): New smart version that tries WebDAV first.
359 (url-http-options): New function that returns information gleaned
360 from an OPTIONS request for a URL. Returns a property list
361 returning the methods supported for the resource, what DAV and
362 DASL levels are supported, p3p information, and whether
363 byte-ranges are supported or not.
364 (url-http-wait-for-headers-change-function): If we got a 0-byte
365 content-length, activate the callback immediately.
366 (url-http-wait-for-headers-change-function): For content-length
367 responses with actual body-data in the chunk we are handling, call
368 url-http-content-length-after-change-function with the remaining
369 data. Otherwise we can deadlock if the headers and the entire
370 body exist arrive in one chunk.
371
372 * lisp/url-dav.el: New file to contain the WebDAV
373 (http://www.webdav.org/) implementation.
374 (url-dav-supported-p): Cheap way to figure out whether we will be
375 able to do DAV at all. We rely on the XML parser expanding
376 namespaces for us, and currently you need a patched version of
377 xml.el to do this. Patch sent to author for consideration.
378 (url-dav-file-attributes): Much more complete version of
379 `file-attributes' using the WebDAV PROPFIND method. Now correctly
380 finds out whether something is a directory (a WebDAV collection),
381 the last modification time, and permissions (based on the
382 DAV:supportedlock information).
383 (url-dav-get-properties): Generic interface to get WebDAV
384 properties for a URL. Can specify an optional `depth' parameter
385 to tell the web server how many directory (collection) levels to
386 recurse when retrieving the property lists. Returns an assoc
387 list keyed off of the resource, the cdr of which is a property list.
388 (url-dav-datatype-attribute): We support the XML-Data note
389 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
390 datatypes of attributes are. Currently only date, dateTime, int,
391 number, float, boolean, and uri are supported.
392
393 2001-12-04 William M. Perry <wmperry@gnu.org>
394
395 * lisp/url-handlers.el (file-name-absolute-p): New hooked
396 version. If the filename matches our regexp, then it is always
397 absolute, so just return `t'.
398 (expand-file-name): New hooked version. If the fragment is an
399 absolute file or URL, then expand it relative to '/'.
400 (url-handler-regexp): New regexp for specific schemes that we
401 want the file-name-handlers to work off of.
402 (url-setup-file-name-handlers): Use it when installing the handlers.
403
404 * lisp/url-http.el (url-http-find-free-connection): Better logging
405 about whether we are reusing an existing connection or not.
406
407 * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
408 to string-match instead of match-string (and with reversed
409 arguments even).
410
411 * lisp/url-http.el (url-http-debug): Change to now use the
412 generic url-debug function to do the actual logging. Still a
413 separate function so that we can do our magic on the network
414 connection if the user quits while we are downloading.
415
416 * lisp/url-handlers.el (url-file-handler): Now logs the result of
417 the hooked or real call.
418
419 * lisp/url-util.el (url-debug): New function for generic debug logging.
420
421 2001-11-28 William M. Perry <wmperry@gnu.org>
422
423 * lisp/url-imap.el (url-imap-open-host): Use backquote.
424 (url-imap): Now switches to 'login as the imap authenticator if
425 the URL provides a username and password.
426
427 * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
428 push to replace some strange logic in here.
429 (url-run-real-handler): New function to run the real hooks in
430 case we get a false positive or an operation that we do not
431 support. The old way disabled _ALL_ file-name-handlers when
432 we hit something we didn't understand - this disables JUST us.
433 (url-file-handler): Remove the logic about removing the leading
434 '/' off of the first argument... it may not be safe to always
435 assume that the first argument is the one we are acting on -
436 `default' is the second argument for expand-file-name for example.
437 (url-setup-file-name-handlers): Use url-nonrelative-link
438 directly. This means that you must type in the URL directly
439 without prefixing it with a '/'.
440
441 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
442
443 Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
444 which activates us (because 'nnml+mail' _is_ a valid scheme name
445 for a URI). We get thoroughly confused and end up returning
446 `nil' when we shouldn't.
447
448 2001-11-26 William M. Perry <wmperry@gnu.org>
449
450 * lisp/url-handlers.el (file-writable-p): Add NULL handler for
451 this so that visiting a URL directly will work.
452 (file-symlink-p): Ditto.
453 (url-insert-file-contents): If `visit' is non-nil then make sure
454 we set buffer-file-name. After these changes you can visit
455 http://www.gnu.org/ directly from the minibuffer.
456 (url-insert-file-contents): When inserting the file contents,
457 use a save-excursion so that we behave just like the original.
458
459 2001-11-25 William M. Perry <wmperry@gnu.org>
460
461 * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
462
463 2001-11-24 William M. Perry <wmperry@gnu.org>
464
465 * lisp/url-about.el (url-about): New loader scheme to handle
466 about:foo URLs. Automatically tries to find a `url-about-foo'
467 function to display the actual data.
468 (url-about-protocols): Implement about:protocols
469
470 * lisp/url-http.el (url-http): Make sure that we signal an error
471 when we cannot open a network connection for whatever reason.
472 Before, it would just silently clean up after itself and the user
473 got absolutely no indication that an error had occured. If the
474 error should truly be ignored, the caller should do that for us.
475 (url-http-chunked-encoding-after-change-function): Doh! Need to
476 user marker-position in some log messages now that
477 url-http-chunked-start is a marker.
478
479 2001-11-22 William M. Perry <wmperry@gnu.org>
480
481 * lisp/url-https.el: Fixed definition of url-https - was using the
482 wrong signature. Too much cut & paste.
483 (url-https-create-secure-wrapper): Fix so that url-https works
484 at all. Was not taking a null `method' into account when calling
485 the wrapped function so url-https tried to call url-http-nil. *sigh*
486
487 * lisp/url-http.el
488 (url-http-chunked-encoding-after-change-function): Add some
489 feedback when not debugging about what content-type and chunk # we
490 are reading.
491 (url-http-chunked-encoding-after-change-function): Use a marker
492 for url-http-chunked-start so that we can safely delete the
493 chunk-tokens instead of just marking them as invisible.
494 (url-http-chunked-encoding-after-change-function): Actually delete
495 the chunk-tokens. Now that we are not run from 'real'
496 after-change functions, this is safe, and the right thing to do.
497 Otherwise the HTML parser still saw them and inferred all sorts of
498 bad things about the document (ie: nothing had a title!)
499
500 2001-11-21 William M. Perry <wmperry@gnu.org>
501
502 * lisp/url-http.el (url-http-debug): Document this variable.
503 People other than I might want to use it.
504 (url-http-debug): Put some code in here to check quit-flag
505 directly. When the chunked encoding went into a tight spin, your
506 Emacs would be wedged forever. This short-circuits all the
507 after-change functions and signals an error.
508 (url-http-debug): If url-http-debug is non-nil and non-t, then log
509 the debug messages using `message' as well as sending them to the
510 buffer.
511 (url-http-chunked-encoding-after-change-function): Got rid of the
512 no-initial-crlf. Had an epiphany and I can just infer this from
513 url-http-chunked-counter being 0.
514 (url-http-chunked-encoding-after-change-function): Move the debug
515 statement about reading chunk #foo into the loop so that each
516 chunk will have a log message associated with it.
517 (url-http-chunked-encoding-after-change-function): Make sure to
518 set read-next-chunk to nil when the regular expression match fails
519 to fire. Otherwise we could loop forever.
520 (url-http-chunked-encoding-after-change-function): Tweak the
521 regular expression to be a little less greedy when looking for a chunk.
522 (url-http-wait-for-headers-change-function): Remove the last
523 argument when calling
524 url-http-chunked-encoding-after-change-function. It is no longer
525 needed. I should use my brain sometime.
526
527 * lisp/url-vars.el (and): Fix feature test for xemacs and
528 coding-system-list behaviour.
529
530 * lisp/url-http.el
531 (url-http-chunked-encoding-after-change-function): Add optional
532 no-initial-crlf flag that modifies the regular expression.
533 This is only set from url-http-wait-for-headers-change-function so that
534 the initial CRLF in the HTTP headers is not swallowed.
535 (url-http-chunked-encoding-after-change-function): Fix a few
536 off-by-one errors by using (match-end 0) instead of 1.
537 (url-http-chunked-encoding-after-change-function): Add a few
538 url-http-debug calls to help track down problems in the chunked
539 encoding.
540 (url-http-chunked-encoding-after-change-function): The chunk
541 reading in here is now in a while loop so that if Emacs feeds us a
542 chunk of data that happens to contain more than one 'chunk'
543 delimiter, we behave correctly.
544 (url-http-wait-for-headers-change-function): Make sure that we
545 pass no-initial-crlf to
546 url-http-chunked-encoding-after-change-function when passing
547 initial data to the decoder.
548 (url-http-generic-filter): url-http-debug statement so we can tell
549 when/where our after-change-functions are being called.
550
551 2001-10-11 Dave Love <fx@gnu.org>
552
553 * lisp/url-handlers.el: Doc fixes.
554 (string-match): Use (featurep 'xemacs).
555
556 * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
557
558 * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
559
560 * lisp/url-vars.el (url-running-xemacs): Delete.
561 (url-gateway-unplugged): New variable.
562
563 * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
564 Comment out OS/2 stuff.
565
566 2001-10-05 Dave Love <fx@gnu.org>
567
568 * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
569 without confirmation.
570
571 2001-10-02 Dave Love <fx@gnu.org>
572
573 * lisp/url-http.el (url-http-create-request): Check cache for
574 proxy-obj, if defined, rather than url.
575 (url-http): Use dolist, not mapc (runtime cl dependency).
576
577 * lisp/url-methods.el: Maybe require cl at runtime.
578 (url-scheme-register-proxy): Fix fetching from environment.
579 Don't concat a number.
580
581 2001-10-01 Dave Love <fx@gnu.org>
582
583 * lisp/url-parse.el: Use modern backquote syntax.
584
585 * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
586 (url-mail-command): Prefer compose-mail.
587 (tcp-binary-process-input-services): Comment out.
588 (url-working-buffer): New constant.
589
590 * lisp/url-util.el (url-extract-mime-headers): New function.
591
592 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add
593 User-Agent.
594
595 2001-09-20 Dave Love <fx@gnu.org>
596
597 * lisp/url-http.el (url-http-create-request): Don't concat a number.
598
599 2001-06-05 Dave Love <fx@gnu.org>
600
601 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob
602 tcp-binary-process-input-services. Remove function wrapper for lambda.
603 (url-retrieve): Barf with sensible message if url-type is null.
604
605 * lisp/url-http.el (url-http): Don't try to set process
606 coding-system here -- done in url-gw.
607
608 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
609 (url-open-stream): Bind coding-system-for{read,write} when setting
610 up the connexion. Don't call url-gw-inhibit-code-conversion.
611
612 2001-05-24 William M. Perry <wmperry@gnu.org>
613
614 * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
615 in url-retrieve-synchronously.
616
617 2001-05-23 William M. Perry <wmperry@gnu.org>
618
619 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
620 accept-process-output. This is evidently causing hangs in Emacs
621 21 when viewing complex pages with images or stylesheets.
622 www.yahoo.com is now viewable.
623
624 * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
625 (mule-inhibit-code-conversion) and just have a local function that
626 does this minimal cruft.
627 (url-gw-inhibit-code-conversion): New function to turn off code
628 conversion in a process.
629
630 2001-05-22 William M. Perry <wmperry@gnu.org>
631
632 * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
633 that we can allow multiple asynch retrievals to happen at once.
634 (url-retrieve-synchronously): Use a much smaller timeout when
635 doing the accept-process-output. This gets rid of the long delays
636 if you are on a fast net connection and retrieve small documents
637 that finish asynchronously before the first accept-process-output
638 can be run. All hail broadband and 100Mb in the house!
639 (url-retrieve-synchronously): Add documentation for this function.
640 (url-retrieve): Ditto.
641 (url-mm-url): Ditto.
642
643 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
644 documentation strings. Ok, so I'm anal.
645
646 * lisp/url-methods.el (url-scheme-methods): Add default methods
647 for file-directory-p and file-truename.
648
649 2001-05-22 Dave Love <fx@gnu.org>
650
651 * lisp/url-auth.el (url-warn): Autoload.
652
653 * lisp/url-proxy.el (url-warn): Autoload.
654
655 * lisp/url-nfs.el: Fix `file-truname' typo.
656
657 * lisp/url-news.el: Require cl when compiling.
658 (url-warn, gnus-group-read-ephemeral-group): Autoload.
659 (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
660 (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
661
662 * lisp/url-util.el (mule-decode-string): Don't autoload.
663 (url-hexify-string): Just barf on multibyte characters.
664 (url-generate-unique-filename): New function.
665
666 * lisp/url-file.el (url-file): Use url-generate-unique-filename,
667 not mm-generate-unique-filename.
668
669 * lisp/url-http.el: Declare things special in various places.
670 (url-http-activate-callback): Don't set
671 url-http-real-after-change-function.
672
673 2001-05-22 William M. Perry <wmperry@gnu.org>
674
675 * lisp/url-http.el (url-http-attempt-keepalives): New variable to
676 control whether we try to do keep-alives for our connections.
677 (url-http-version): New variable to control whether we advertise
678 ourselves as an HTTP/1.1 client or not. This can be useful for
679 avoiding chunked encoding, and other 1.1 features we may not have
680 fully implemented yet.
681 (url-http-create-request): Honor the new variables.
682
683 2001-05-21 Dave Love <fx@gnu.org>
684
685 * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
686 in XEmacs.
687 (url-mime-charset-string): Don't reverse the list before sorting.
688
689 2001-05-17 William M. Perry <wmperry@gnu.org>
690
691 * lisp/url-http.el (url-http-generic-filter): Avoid using
692 after-change-functions natively. There are just too many ways
693 that this screws up in Emacs 21. Use a filter function on the
694 process instead, and call the hook on
695 url-http-after-change-function manually. [Actually, it will work
696 in Emacs 21, but one problem that has been fixed in Emacs 21
697 exists in Emacs 20. -- fx]
698
699 * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
700 does not exist on older versions of Emacs, or any version of
701 XEmacs. Do not call it unless it is bound.
702
703 2001-05-17 Dave Love <fx@gnu.org>
704
705 * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
706
707 2001-05-16 Dave Love <fx@gnu.org>
708
709 * lisp/url-vars.el: Doc fixes. Require mm-util.
710 (url-mime-charset-string): New variable.
711
712 * lisp/url-http.el: Doc fixes.
713 (url-http-create-request): Rearrange how we assemble the request.
714 Avoid generating bogus requests with an empty real-fname.
715 (url-http-handle-authentication): Declare status and success special.
716 (url-http): Call mm-disable-multibyte. Set process buffer's
717 coding systems to binary.
718
719 * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
720
721 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
722 (url-file-find-possibly-compressed-file): Doc fix.
723 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
724
725 * lisp/url-cache.el: Don't require mule-sysdp.
726 (url-store-in-cache): Avoid mule-write-region-no-coding-system.
727
728 * lisp/url.el: Don't require mule-sysdp.
729 (url-retrieve): Only set text properties if url is a string.
730
731 2001-05-14 Dave Love <fx@gnu.org>
732
733 * lisp/url-http.el (url-http-create-request):
734 Declare proxy-object, proxy-info special.
735 (url-http-handle-authentication): Declare success special.
736
737 2001-05-12 Dave Love <fx@gnu.org>
738
739 * lisp/url-http.el: Revert last change.
740
741 2001-05-10 Dave Love <fx@gnu.org>
742
743 * lisp/url-http.el (url-http-generic-after-change-function):
744 Make it permanent-local.
745
746 2001-05-05 Dave Love <fx@gnu.org>
747
748 * lisp/url-http.el: Autoload some functions.
749 (cl): Require when compiling.
750 (url-http-extra-headers): Defvar when compiling.
751 (url-http): Treat after-change-functions as a local hook.
752
753 * lisp/url-history.el (url-parse): Require.
754 (url-do-setup): Autoload.
755
756 * lisp/url-gw.el: Require url-vars. Autoload some functions.
757
758 * lisp/url-file.el: Require mailcap. Require cl when compiling.
759 Use (featurep 'xemacs).
760 (url-file-build-filename): Bind pos-index.
761 (url-file): Call url-find-file-dired, not url-dired-find-file.
762
763 * lisp/url-dired.el: Add copyright notice. Autoload some functions.
764 (url-dired-minor-mode-map): Use (featurep 'xemacs).
765 (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
766 (url-find-file-dired): Rename from one version of url-dired-find-file.
767
768 * lisp/url-cid.el: Don't require widget. Require mm-decode
769 unconditionally.
770
771 * lisp/url-util.el: Autoload mule-decode-string,
772 timezone-parse-date, timezone-make-date-arpa-standard.
773 (url-unreserved-chars): Fix list per RFC 2396.
774 (url-hexify-string): Maybe string-make-unibyte.
775
776 * lisp/url-news.el: Require nntp.
777
778 * lisp/url-imap.el: Require cl when compiling. Require nnimap
779 unconditionally.
780
781 2001-05-04 Dave Love <fx@gnu.org>
782
783 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
784 not non-existent mailcap-generate-unique-filename.
785
786 * lisp/url-privacy.el: Require url-vars. Require cl when compiling.
787
788 * lisp/url-parse.el: Require url-vars.
789 Autoload url-scheme-get-property.
790
791 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs
792 with featurep.
793
794 * lisp/url-mailto.el: Require cl when compiling.
795
796 * lisp/url-cookie.el (url-cookie-handle-set-cookie):
797 Call url-parse-args, not url-util-parse-args.
798
799 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
800
801 2001-04-09 Dave Love <fx@gnu.org>
802
803 * lisp/mule-sysdp.el (mule-detect-coding-version)
804 (mule-code-convert-region, mule-inhibit-code-conversion)
805 (mule-write-region-no-coding-system, mule-encode-string)
806 (mule-decode-string, mule-truncate-string)
807 (mule-find-charset-region, mule-coding-system-name)
808 (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
809 [There must be a better way.]
810 (mule-coding-system-p, string-width): Use defalias.
811
812 2001-01-03 Sam Steingold <sds@gnu.org>
813
814 * lisp/url-http.el (url-http-wait-for-headers-change-function):
815 set `url-http-end-of-headers' to 0 for HTTP 0.9
816
817 2001-01-02 Sam Steingold <sds@gnu.org>
818
819 * lisp/url-auth.el (provide): `url-auth', not `urlauth'
820
821 2000-12-22 Dave Love <fx@gnu.org>
822
823 * lisp/url-history.el (url): Don't require (to avoid recursion).
824 (cl): Require when compiling.
825
826 * lisp/url-http.el (url-auth): Require.
827 (url-http-handle-authentication): Fix typo.
828
829 * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
830
831 2000-12-20 Dave Love <fx@gnu.org>
832
833 * lisp/url.el: Require mm-decode, mm-view when compiling.
834 <not (fboundp 'puthash)>: Define puthash and
835 autoload other has functions rather than using cl-...hash.
836 (url-warn): Define.
837
838 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
839 Avoid cl-...hash functions.
840
841 * lisp/url-history.el: Avoid cl-...hash functions.
842 (url): Require.
843
844 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
845
846 2000-10-03 William M. Perry <wmperry@aventail.com>
847
848 * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
849 getting set to nil due to bad string matching. Subsequent matches
850 would then choke because we passed string-match a nil.
851
852 * lisp/url-http.el (url-http-parse-headers): Need to make the
853 connection as 'free' when we get a 304 response (found in cache),
854 or when a keep-alive conneection timed out, it would re-parse the
855 headers and dispatch to the callback again. Eek.
856
857 2000-10-02 William M. Perry <wmperry@aventail.com>
858
859 * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
860 implement chunked transfer-coding.
861 (url-http-create-request): We can now advertise ourselves as a 1.1
862 compliant browser!
863
864 2000-07-28 Sam Steingold <sds@gnu.org>
865
866 * lisp/url-methods.el (url-scheme-default-loader): `callback' and
867 `cbargs' are optional args (for calling from w3).
868 (url-scheme-register-proxy): Typos fixes: `url-match' replaced
869 with `string-match' and `protocol' with `scheme'.
870
871 2000-07-18 Sam Steingold <sds@gnu.org>
872
873 * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
874 * lisp/url-history.el (url-history-save-interval): Avoid circularity.
875
876 2000-07-10 William M. Perry <wmperry@aventail.com>
877
878 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
879 mule, and the character requested is > 255, then return "~"
880 instead of letting whoever call us signal an error when they try
881 to insert the character.
882 (mule-make-iso-character): Also wrap the whole thing in a
883 condition case and return "~" on error, in case make-char bombs on us.
884
885 * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
886 for cid parts.
887
888 * lisp/url-util.el (url-display-percentage): New routine that uses
889 the progress bar under XEmacs if available. Looks very sexy under
890 XEmacs/GTK hacked to use the GNOME statusbar.
891
892 * lisp/url-http.el
893 (url-http-content-length-after-change-function): Use new function
894 url-display-percentage instead of url-lazy-message.
895
896 2000-01-27 William M. Perry <wmperry@aventail.com>
897
898 * lisp/url-file.el (url-file-build-filename): Work around for
899 differences in ange-ftp / efs handling of port numbers other than 21.
900
901 1999-12-24 William M. Perry <wmperry@aventail.com>
902
903 * lisp/url-irc.el: Added pointer to draft specification for the
904 IRC URL so people don't think I'm crazy.
905
906 * configure.in: Checks to make sure that Gnus was found, since we
907 HAVE to have it now. Removed conditional compilation of url-cid.el
908
909 1999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
910
911 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
912 () to have periods at the end of the chunk.
913
914 1999-12-14 William M. Perry <wmperry@aventail.com>
915
916 * lisp/url-misc.el (url-man): Implement `man' URL types.
917 (url-info): Autoload.
918 (url-man): Ditto.
919 (url-rlogin): Ditto.
920 (url-telnet): Ditto.
921 (url-tn3270): Ditto.
922 (url-generic-emulator-loader): Ditto.
923
924 * lisp/url-https.el (url-https-create-secure-wrapper): New macro
925 to wrap arbitrary `http' methods with the appropriate magic to
926 turn SSL on.
927 (file-exists-p): Use it.
928 (file-readable-p): Use it.
929 (file-attributes): Use it.
930
931 * lisp/url-news.el (url-news-fetch-newsgroup): When building the
932 server spec for Gnus, make sure we set
933 nntp-open-connection-function directly, so that other news-related
934 functions above us can set it.
935 (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
936 (url-nntp): Autoload.
937 (url-snews): Ditto.
938 (url-news): Ditto.
939
940 1999-12-12 William M. Perry <wmperry@aventail.com>
941
942 * lisp/url-http.el (url-http-parse-response): New function to
943 parse just the HTTP response code out of the buffer, without
944 taking any other actions.
945 (url-http-wait-for-headers-change-function): Use it here when we
946 know we have an HTTP/1.x response.
947 (url-http-wait-for-headers-change-function): Special case a
948 response code of '304' or there could be some delays waiting for
949 keep-alives to time out on cached documents with no known
950 content-length on the server.
951
952 1999-12-11 William M. Perry <wmperry@aventail.com>
953
954 * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
955 the Makefile does that for us. We just need to provide what files
956 to load/functions to run.
957
958 * lisp/url-imap.el (url-imap-open-host): Need to bind
959 nnimap-server-buffer or `nnimap-open-server' chokes trying to use
960 the current buffer as the IMAP server buffer, which fails miserably.
961
962 1999-12-11 Simon Josefsson <jas@pdc.kth.se>
963
964 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
965
966 1999-12-11 William M. Perry <wmperry@aventail.com>
967
968 * lisp/url-file.el (url-file-asynch-callback): Make the checks for
969 ange-ftp vs. efs calling semantics consistent, so that if someone
970 has NEITHER of them loaded, everything should still work.
971
972 * lisp/url-handlers.el (url-copy-file): Autoload.
973 (url-file-local-copy): Ditto.
974 (url-insert-file-contents): Ditto.
975 (url-setup-file-name-handlers): Ditto.
976
977 1999-12-10 William M. Perry <wmperry@aventail.com>
978
979 * lisp/url-http.el (mail-parse): Since we use functions from here,
980 we should require it, eh?
981
982 1999-12-10 01:57:01 Shenghuo ZHU <zsh@cs.rochester.edu>
983
984 * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
985 if nil.
986 (url-cookie-generate-header-lines): Use it.
987
988 1999-12-06 William M. Perry <wmperry@aventail.com>
989
990 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
991 4.1 gracefully
992
993 * lisp/url-news.el: Reimplemented news and nntp URL support.
994 No longer bothers to check for outdated Gnus versions, since this
995 will not work without them anyway.
996
997 1999-12-05 Dave Love <fx@gnu.org>
998
999 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
1000 lisp/url.el:
1001 Require url-parse.
1002
1003 1999-12-05 William M. Perry <wmperry@aventail.com>
1004
1005 * lisp/url-http.el (url-http-find-free-connection): Spit out a
1006 message when we have to contact a host so the user always gets
1007 at least some feedback.
1008
1009 * lisp/url-expand.el (url-expander-remove-relative-links): Moved and
1010 renamed function.
1011 (url-default-expander): Use it.
1012
1013 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
1014 as well as efs.
1015 (url-file): Add default content-type of application/octet-stream if
1016 none known.
1017 (url-file): Correct bad call to url-host-is-local-p
1018
1019 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
1020 like buffer-substring with nil arguments.
1021 (url-copy-file): Use mm-destroy-parts instead of just killing
1022 the buffer. Use defined interfaces when available!
1023 (url-insert-file-contents): Ditto.
1024
1025 * lisp/url-http.el (url-http-create-request): Lots of changes to
1026 get proxying working.
1027
1028 * lisp/url-methods.el (url-scheme-register-proxy): New function to
1029 find and register a proxy for a specific scheme.
1030 (url-scheme-get-property): Use it when we load a URL scheme for
1031 the first time.
1032
1033 * lisp/url-util.el (url-get-url-at-point): Re-integrated
1034
1035 1999-12-04 William M. Perry <wmperry@aventail.com>
1036
1037 * lisp/url-file.el (url-file): Signal an error if
1038 url-file-build-filename could not find the filename.
1039
1040 1999-12-01 William M. Perry <wmperry@aventail.com>
1041
1042 * lisp/url.el (url-retrieve): Use url-history-update-url instead
1043 of manipulating the hash table directly.
1044
1045 * lisp/url-history.el (url-completion-function): New function to
1046 use for reading a URL with completion.
1047 (url-history-update-url): New function to hide the hashtable
1048 implementation from people inserting things into the history.
1049
1050 1999-11-30 William M. Perry <wmperry@aventail.com>
1051
1052 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
1053 working.
1054
1055 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
1056 url-parse-args, which had changed the type of arguments it expects.
1057
1058 * lisp/url-handlers.el (url-insert-file-contents): Ditto.
1059 (url-copy-file): Ditto.
1060
1061 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
1062 just killing the buffer. Use defined interfaces when available!
1063
1064 * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
1065 AC_FD_CC so they show up in config.log
1066 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
1067 this always return 't' instead of 'yes' on successfully finding
1068 the library.
1069
1070 * lisp/url-http.el (url-http-parse-headers): Add some
1071 DAV-specific error codes.
1072
1073 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
1074 (url-retrieve-synchronously): Duh, make this function actually
1075 work again. Numerous problems with it, including variable name
1076 collisions - I love dynamically scoped lisps!
1077
1078 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
1079 wrappers onto the appropriate file-based URLs for file-name-handlers.
1080
1081 * lisp/url-ftp.el: Moved the FTP stuff into it's own file - it
1082 might get messy with file-name-handlers and things.
1083
1084 * lisp/url-http.el (url-http-clean-headers): Fix problem when
1085 using 'HEAD' requests. Thou shalt not change the length of the
1086 region during an after-change-function.
1087
1088 * lisp/url-methods.el (url-scheme-methods): New variable that
1089 holds a list of the methods/variables we look for in a URL scheme.
1090 (url-scheme-get-property): Use it.
1091
1092 1999-11-29 William M. Perry <wmperry@aventail.com>
1093
1094 * lisp/url-http.el (url-http-file-attributes): Reimplement.
1095 (url-http-file-exists-p): Ditto.
1096
1097 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
1098
1099 * lisp/url-file.el (url-file-create-wrapper): New macro to create
1100 file-name-handler stubs for all the FTP/FILE stuff.
1101
1102 * lisp/url-handlers.el: New file to handle file-name-handler-alist
1103 cruft. Generic interface on top of functions that each URL
1104 loader provides, if capable.
1105
1106 1999-11-27 William M. Perry <wmperry@aventail.com>
1107
1108 * lisp/url-https.el: Implemented HTTPS support.
1109
1110 1999-11-26 William M. Perry <wmperry@aventail.com>
1111
1112 * url-privacy.el (url-setup-privacy-info): Don't rely on
1113 device-type being defined. Not going to bother redistributing
1114 devices.el for just one function.
1115
1116 * url-methods.el (url-scheme-get-property): Emacs does not have
1117 the 3rd-argument to plist-get to specify the default. *sigh*
1118
1119 * url-dired.el (add-minor-mode): Add definition for Emacs.
1120
1121 * url-http.el (url-http-generic-after-change-function):
1122 New function, since Emacs does not allow you to change the
1123 after-change-functions variable from within a function run by
1124 said hook. This just hands it off to the REAL function.
1125 Side-effect is that this now works on Emacs at all. :)
1126
1127 * Initial checkin of rewritten URL library.
1128
1129 Local variables:
1130 coding: utf-8
1131 End:
1132
1133 ;; arch-tag: ac117078-3091-4533-be93-098162ac2926