2001-10-31 Dave Love <fx@gnu.org> * lisp/w3.el (w3-decode-charset): DTRT for explicit ascii charset. 2001-10-11 Dave Love <fx@gnu.org> * lisp/w3-style.el (cl): Require only when compiling. * lisp/w3-cus.el: Doc fixes. (w3-delay-image-loads): Fix default for Emacs 21. (w3-mule-charset-to-coding-alist): Remove. * lisp/w3.el (w3-parse-hotlist, w3-menu-install-menus): Autoload. (w3-explicit-coding-system): Move definition. (w3-decode-charset, w3-fetch-callback): Use it. 2001-10-01 Dave Love <fx@gnu.org> * lisp/w3-vars.el: Doc fixes. (w3-meta-content-type-charset-regexp) (w3-meta-charset-content-type-regexp): Removed. (w3-persistent-variables): Add url-current-mime-headers. * lisp/w3.el (w3-setup-reload-timer, w3-handle-refresh-header): New function. (w3-fetch-callback): Handle refresh and cookies. Set url-current-object. Don't destroy external parts immediately. For inlines, use w3-mode, require mm-view, lose cursor for images. (w3-document-information): Fix for current url stuff. (w3-replace-invalid-chars): Remove. * lisp/w3-display.el (w3-display-node): Fix <meta> and <link> handling. 2001-09-24 Dave Love <fx@gnu.org> * lisp/w3.el (w3-http-equiv-headers): New function. (w3-nasty-disgusting-http-equiv-handling): Use it to fix http-equiv handling. 2001-09-09 Dave Love <fx@gnu.org> * lisp/w3-display.el (w3-mode, w3-add-delayed-graphic) (w3-find-specific-link, w3-fix-spaces): Autoload. * lisp/w3-props.el (w3-fillin-text-property): Renamed from `fillin-text-property'. 2001-08-24 Dave Love <fx@gnu.org> * lisp/font.el (font-spatial-to-canonical): Don't choke if font-default-size-for-device returns nil, convert it to 0. From Jim Meyering <meyering@lucent.com> 2001-07-19 Dave Love <fx@gnu.org> * lisp/w3-toolbar.el (w3-toolbar-map): Don't lose on non-graphical display with tool-bar-mode t. 2001-06-21 Dave Love <fx@gnu.org> * lisp/w3-menu.el (w3-menu-hotlist-constructor): Require w3-hot, not w3-hotlist. 2001-06-14 Dave Love <fx@gnu.org> * lisp/Makefile.in (W3_SOURCES): Add w3-emacs.el, remove files it obsoletes. 2001-06-07 Dave Love <fx@gnu.org> * lisp/w3-print.el (mule-sysdp): Don't require. * lisp/w3-parse.el (mule-sysdp): Don't require. * lisp/w3-latex.el (mule-sysdp): Don't require. (w3-show-dvi): Avoid mule-write-region-no-coding-system. * lisp/w3-display.el (mule-sysdp): Don't require. (w3-display-get-cookie, w3-finalize-image-download): Avoid mule-write-region-no-coding-system. * lisp/w3-cus.el (mule-sysdp): Don't require. (w3-force-conversion-alist): Use binary, not mule-no-coding-system. * lisp/images.el (mule-sysdp): Don't require. (image-normalize): Use binary, not mule-no-coding-system. * lisp/w3-forms.el (wid-edit): Require unconditionally. (custom-magic-reset, w3-warn): Autoload. (w3-form-keymap): Use substitute-key-definition, not cl-map-keymap. (w3-form-create-custom): Require cus-edit unconditionally. (w3-all-widgets): Move definition. (w3-form-create-file-browser, w3-form-create-option-list) (w3-form-default-button-update): Avoid mule-truncate-string. (mule-sysdp): Don't require. (w3-form-encode-xwfu): Avoid mule-encode-string. * lisp/w3-emacs.el: New file. * lisp/w3-e19.el, lisp/w3-e20.el, lisp/w3-e21.el: Deleted in favour of w3-emacs. (Avoid defadvice.) * lisp/w3.el (w3-load-flavors): Remove Emacs version-specifics -- just require w3-emacs. * lisp/w3-toolbar.el (w3-toolbar-file-icon) (w3-toolbar-printer-icon, w3-toolbar-file-icon): New variable. (w3-toolbar-map): Transform `toolbar-' symbols into `w3-toolbar-'. * lisp/w3-sysdp.el (copy-tree): Fix cl- functions. (truncate-string-to-width): New. 2001-06-05 Dave Love <fx@gnu.org> * lisp/w3-display.el: Require cl only when compiling. (w3-line-breaks-vector): Deleted. (w3-display-line-break): Use justification arg of fill-region-as-paragraph. Use insert-char. * lisp/css.el (w3-sysdp): Require. (url-expand-file-name, url-insert-file-contents, url-view-url): Autoload. (css-running-xemacs): Removed. Change callers to use featurep. (css-handle-import, css-parse): Declare url-current-object special. (css-active-device-types): Use display-multi-font-p, not font-running-emacs-new-redisplay. * lisp/w3-parse.el (w3-invalid-sgml-char-replacement): Doc fix. (w3-resolve-numeric-char): Renamed from w3-resolve-numeric-entity. Callers changed. * lisp/w3-vars.el (w3-version-number): Fix regexp, doc. (w3-html-entities): Modified per W3C entity list. * lisp/w3-toolbar.el (w3-toolbar-back-icon, w3-toolbar-forw-icon) (w3-toolbar-home-icon, w3-toolbar-reld-icon) (w3-toolbar-imag-icon, w3-toolbar-open-icon) (w3-toolbar-print-icon, w3-toolbar-find-icon) (w3-toolbar-stop-icon, w3-toolbar-help-icon) (w3-toolbar-hotl-icon) [(featurep 'tool-bar)]: Initialize to names of Emacs 21 icons. (toolbar-make-button-list) [(featurep 'tool-bar)]: Don't define. (w3-toolbar-make-buttons): Do nothing if (featurep 'tool-bar). (w3-toolbar-map): New variable. (w3-add-toolbar-to-buffer): Use it. 2001-06-01 Dave Love <fx@gnu.org> * lisp/w3-display.el (widget-convert-text): Only advise it if we're in Emacspeak. (append-suffixes-hack, w3-java-run-applet, mm-inline-text): Autoload. (w3-display-get-cookie): Use url-generate-unique-filename. (w3-display-table): Use copy-sequence, not copy-seq. * lisp/w3.el (w3-decode-charset): Set buffer file coding system. 2001-05-31 Dave Love <fx@gnu.org> * lisp/w3-menu.el (w3-menu-file-menu): Fix "---:shadowDoubleEtchedIn". From Pavel Jan,Bm(Bk. * lisp/w3-parse.el (decode-char): Define with older Mule-UCS. (w3-expand-entity-at-point-maybe): Sanitize regexp for numeric entity. Don't lose trailing space. Grok hex form. 2001-05-30 Dave Love <fx@gnu.org> * lisp/w3-menu.el: Require w3-sysdp. (w3-popup-menu): Revert last change. 2001-05-29 Dave Love <fx@gnu.org> * lisp/w3-sysdp.el: Remove lots of unused stuff. * lisp/w3.el: Require cl only when compiling. Doc and message fixes. * lisp/w3-toolbar.el (w3-toolbar): Bind w3-hotlist-view, not w3-show-hotlist. * lisp/w3-menu.el (w3-menu-hotlist-constructor): Require w3-hotlist. (w3-menu-bookmark-menu): Bind w3-hotlist-view, not w3-show-hotlist. (w3-popup-menu): In Emacs, use copy-keymap, not copy-tree. * lisp/w3-hotindex.el (w3-hotindex-query): Call w3-hotlist-view, not w3-show-hotlist. * lisp/w3-emulate.el (url-vars): Require. (w3-lynx-emulation-minor-mode-map) (w3-netscape-emulation-minor-mode-map): Bind w3-hotlist-view, not w3-show-hotlist. * lisp/w3-dired.el (w3-open-local, w3-fetch): Autoload. (add-minor-mode): Remove definition in favour of autoload. * lisp/w3-keymap.el (w3-mode-map): Bind w3-hotlist-view, not w3-show-hotlist. * lisp/w3-parse.el (w3-parse-buffer): Use w3-resolve-numeric-entity for bogus characters. 2001-05-25 William M. Perry <wmperry@gnu.org> * lisp/w3-speak-table.el: Make sure to load cl-extra at load time to work around a byte-optimizer bug in Emacs 21 that caused this module to fail to byte-compile. 2001-05-24 Pavel Jan,Bm(Bk <Pavel@janik.cz> * lisp/w3-display.el (w3-resurrect-hyperlinks): Look for next single property change from `st' instead of `nd' to avoid potential infinite loops. 2001-05-24 William M. Perry <wmperry@gnu.org> * lisp/w3-cus.el (w3-honor-stylesheets): Turn off stylesheets for now - url-retrieve-synchronously seems to be acting quite strange. 2001-05-22 William M. Perry <wmperry@gnu.org> * lisp/css.el (css-handle-import): Use ignore-errors around url loading. (css-parse): Ditto. * lisp/docomp.el: Remove a bunch of the autoloading crap - it isn't needed anymore. 2001-05-17 William M. Perry <wmperry@gnu.org> * lisp/w3-parse.el w3-int-to-char: Deal with XEmacs more nicely. int-to-char does error checking, so passing in ?~ tends to blow things up. Do better error checking for characters passed in, and for integers that are not capable of being converted to characters. * lisp/w3-display.el (w3-dingbats): Deal with a mule-less XEmacs in our conditions. 2001-05-16 Dave Love <fx@gnu.org> * lisp/w3.el (w3-decode-charset): Re-write. (w3-fetch-callback): Partly re-write for coding conversion. (w3-convert-code-for-mule, w3-coding-system-for-mime-charset): Deleted. (w3-save-as, w3-download-callback): Avoid mule-write-region-no-coding-system. (w3-mode): Do kill-all-local-variables in Emacs. 2001-05-15 Dave Love <fx@gnu.org> * lisp/w3-display.el (w3-sysdp): Require. (flatten): Autoload unconditionally. * lisp/w3-parse.el (w3-invalid-sgml-char-replacement): Redefined. (w3-resolve-numeric-entity): New function. (html-entities): Consider string and non-string returns from w3-resolve-numeric-entity. (w3-p-s-var-def): Use w3-resolve-numeric-entity. (w3-parse-hooks): Fix typo. (w3-int-to-char): New alias. 2001-05-14 Dave Love <fx@gnu.org> * lisp/w3-sysdp.el: Don't define extent-related functions, to avoid trouble with other packages. * lisp/w3.el: Don't require mule-sysdp. (w3-decode-charset): Remove prompting stuff. Avoid gnus-strip-whitespace. Use mm-charset-to-coding-system and return coding system used. (w3-fetch-callback): Bind and set mule-retrieval-coding-system. Call mm-enable-multibyte. (w3-widget-button-click): Add Emacs case. (w3-warn): Wrap definition in eval-and-compile. * lisp/w3-imap.el: Use new backquote syntax. (w3-image-invalid-glyph-p): Test for Emacs images. * lisp/w3-widget.el: Use (featurep 'xemacs). Use modern backquote syntax. (widget): Don't require cl. (w3-vars): Require. (w3-point-in-map, w3-point-in-map): Autoload. (widget-image-value-set): Add Emacs 21 image test. (widget-image-usemap): Avoid a string-match. (widget-image-value-create): Use align property. Fix call of image-type-available-p. Some simplification. Use `insert-image' in Emacs. (widget-image-delete): Maybe use delete-overlay. (widget-glyphp): Test for Emacs image. (widget-image-button-press): Add code for Emacs. * lisp/w3-display.el: Use (featurep 'xemacs), not w3-running-xemacs. Use modern backquote syntax. (w3-maybe-start-image-download): Use display-graphic-p. Don't use make-glyph in Emacs. (w3-maybe-start-background-image-download): Fix typo `mesage'. Don't use make-glyph in Emacs. (w3-finalize-image-download): For Emacs, grok `align' attribute. Use unibyte for image data in Emacs. Only do xbm stuff in XEmacs. Don't do make-glyph by default. Only call set-glyph-image if it's defined. (w3-handle-image): Use `align'. (w3-dingbats): Define without using mule-sysdep-version. (w3-make-char): Likewise. (w3-display-node): Minor logic simplification. * lisp/w3-menu.el (cl): Require cl when compiling. Use (featurep 'xemacs), not w3-running-xemacs. (w3-menu-file-menu): Allow ---:shadowDoubleEtchedIn in Emacs 21. (w3-menu-options-menu): Comment-out `download to disk' (w3-dump-to-disk not defined). * lisp/w3-parse.el (url-expand-file-name): Autoload. (cl): Require when compiling. (w3-invalid-sgml-char-replacement): Defvar when compiling. (w3-parse-munge-ethiopic-text): Don't bother supporting MULE 2. (w3-parse-hooks): Customize. Default to nil, with w3-parse-munge-ethiopic-text as an option. * lisp/w3-dired.el (w3-dired-find-file-mouse): Use mouse-set-point. (dired-get-filename): Autoload. (w3-dired-find-file-dired): New function, renamed from second occurrence of w3-dired-find-file. * lisp/w3-hot.el (cl): Require when compiling. 2001-05-10 Dave Love <fx@gnu.org> * lisp/w3-menu.el (w3-menu-go-menu): Use url-history-track, not url-keep-history. * lisp/mule-sysdp.el: Removed in favour of one in url package. 2001-01-04 Dave Love <fx@gnu.org> * lisp/w3-toolbar.el (w3-add-toolbar-to-buffer) <featurep 'tool-bar>: Test display-graphic-p and tool-bar-lines. Use mapc, not mapcar. 2001-01-03 Dave Love <fx@gnu.org> * lisp/w3-toolbar.el (w3-add-toolbar-to-buffer): In Emacs, test for graphic display and non-zero tool bar lines. 2001-01-02 Sam Steingold <sds@gnu.org> * lisp/docomp.el (load-path): Gnus and URL are two levels above w3/lisp by default. 2000-12-20 Dave Love <fx@gnu.org> * lisp/w3-sysdp.el: Use sysdep-defalias, not sysdep-fset. * lisp/w3-widget.el: Use defalias, not fset. * lisp/w3.el (w3-maybe-follow-link): Fix call of widget-button-press. * lisp/w3-parse.el (w3-char-int): New alias instead of char-int. * lisp/w3-menu.el (w3-event-glyph): New alias instead of event-glyph. * lisp/w3-display.el: Use defalias, not fset. (w3-widget-echo): Revert last change, following Emacs change. * lisp/mule-sysdp.el (cl): Require only when compiling. * lisp/font.el: Use defalias, not fset. Don't use cl-...hash. * lisp/devices.el (device-class): Try display-color-p first. * lisp/socks.el (socks-char-int): New alias instead of char-int. Callers changed. (socks-original-open-network-stream, open-network-stream): Use defalias, not fset. (socks-wait-for-state-change, socks-filter) (socks-open-connection, socks-open-connection) (socks-send-command, socks-parse-services) (socks-find-services-entry, socks-open-network-stream) (socks-username/password-auth-filter) (socks-username/password-auth): Don't use cl-...hash. * lisp/css.el (css-get-internal, css-copy-stylesheet) (css-store-rule, css-display): Don't use cl-...hash. 2000-11-15 William M. Perry <wmperry@aventail.com> * lisp/w3-mouse.el (not): Don't ever try to grab mouse-movement events if we are running Emacs 21. * lisp/w3-display.el (w3-decimal-to-alpha): Don't try to inline this - it called itself recursively and so blew up Emacs' byte-compiler. (w3-decimal-to-alpha): Also fixed bug where large numbers did not get converted correctly (3 letters or more were completely screwed up). (w3-decimal-to-roman): Don't inline this one either, just for safety. 2000-10-16 William M. Perry <wmperry@aventail.com> * lisp/w3-e21.el (toolbar-file-icon): added definitions of toolbar-file-icon and toolbar-printer-icon 2000-10-02 William M. Perry <wmperry@aventail.com> * lisp/w3-e21.el (w3-setup-version-specifics): Advise this function to create toolbar buttons in Emacs 21.x with toolbar support. (w3-mode-version-specifics): Advise this function to actually add the toolbars to each buffer. * lisp/w3-toolbar.el (w3-add-toolbar-to-buffer): Deal with toolbars in Emacs 21. 2000-07-28 Sam Steingold <sds@gnu.org> * lisp/Makefile.in: added w3-e21.el to W3_SOURCES 2000-07-10 William M. Perry <wmperry@aventail.com> * lisp/w3-parse.el (w3-expand-entity-at-point-maybe): Wrap inserting of &#xxx; entities inside a condition-case so that we won't choke and die when parsing a bad document. 1999-12-23 William M. Perry <wmperry@aventail.com> * lisp/w3-speak-table.el (w3-table-focus-on-this-cell): Synch'd up with Thierry & Raman. Provide default value for at-depth. Resurrect hyperlinks and images when focusing on a cell. (w3-table-setup-keys): New bindings for `,' and `.' to focus on and speak table cells. 1999-12-22 William M. Perry <wmperry@aventail.com> * lisp/w3-parse.el (w3-parse-buffer): Allow ':' in attribute names, to deal with stupid quasi-HTML/XML data output by MS Word 9.x (w3-parse-buffer): Removed progress bar stuff, since it is causing XEmacs 21.2 betas to crash. 1999-12-06 William M. Perry <wmperry@aventail.com> * lisp/w3-display.el (w3-prepare-tree): Analog to w3-prepare-buffer, but works on a ready-made parse tree instead of parsing it on the fly. * lisp/w3.el (w3-fetch-callback): Added in special case for handling content-type of application/x-elisp-parsed-html, for when we want to * lisp/css.el (css-handle-import): Protect against url-insert-file-contents signalling an error. (css-handle-import): Use url-insert-file-contents instead of the old url-retrieve interface. We cannot retrieve stylesheets asynchronously (for now). (css-expand-value): Nuke quotes around URL attributes. 1999-12-05 William M. Perry <wmperry@aventail.com> * lisp/w3-display.el (w3-prepare-buffer): Don't do the history stuff - this died a long time ago anyway. 1999-12-05 Dave Love <fx@gnu.org> * lisp/Makefile.in (W3_OBJECTS): Use W3_SOURCES, not SOURCES. 1999-12-05 William M. Perry <wmperry@aventail.com> * lisp/w3.el (w3-fetch): Urk, call w3-notify-when-ready if we found a buffer visiting the URL, otherwise nothing happens. User just silently gets no feedback about the operation. * w3.el: Lots of changes to work with the new URL package. * w3-vars.el: Removed lots of old varialbes. Updated to use new URL package where necessary. (w3-graphlink-menu): Removed the 'info' menu item. Not (re)implemented yet. (w3-hyperlink-menu): Ditto. * w3-toolbar.el (w3-mouse-print-this-url): Ditto. * w3-print.el (w3-print-this-url): Removed LaTeX as an option. * w3-style.el, w3-parse.el: Deal with using new URL package. * w3-menu.el: Removed LaTeX-related menu entries. (w3-menu-links-constructor): Expand the URL in the menu constructor if necessary, don't use url-maybe-relative anymore. * w3-keymap.el: New separate file just for keymaps * w3-java.el: Deal with removal of old 'mm' file and use mailcap.el functions. * w3-forms.el: Removed gopher query support. * w3-emulate.el: Remove arena masquerade code. Does anybody even use this masquerading code? * w3-jscript.el, w3-elisp.el, w3-script.el: Removed files related to scripting. * w3-xemac.el (w3-mouse-handler): Ditto. * w3-e19.el (w3-mouse-handler): Don't bother with scripting elements yet. * w3-display.el: Lots of changes to deal with the new URL package and using the new mailcap.el file from Gnus. * w3-cus.el: Removed lots of obsolete variables * w3-hot.el (w3-hotlist-add-document): Disable due to default use of html bookmark files now. (w3-hotlist-delete): Ditto. (w3-hotlist-apropos): Use new URL-based hotlist interface (w3-hotlist-view): Ditto. (w3-use-hotlist): Now deals with html-based bookmark lists. (w3-hot-convert-to-alist): New function to conver an internal bookmark list to an assoc list with oddly formatted keys. (w3-read-html-bookmarks): Don't set w3-html-bookmarks any more - this will be the main format now. (w3-hot-push-now-item): Don't push a menu-object onto the list, use a regular format we can convert to a menu when necessary. * url-hotlist.el: New URL-based interface for searching your hotlist. 1999-12-04 William M. Perry <wmperry@aventail.com> * lisp/base64.el: Updated to latest base64.el from Kyle. Now no conflicts between this and the Gnus-distributed version. 1999-12-03 William M. Perry <wmperry@aventail.com> * lisp/font.el (font-set-face-font-new-redisplay): Don't set the :family face attribute if it is nil. The new redisplay doesn't like that. ;; Local Variables: ;; coding: iso-2022-7bit ;; End: