|
|||||||||||||||||
Searching XEmacs
Quick Links
About XEmacs
|
XEmacs 21.5.12 "carrot" is Releasedgoto announcement, changes From: "Steve Youngs [XEmacs Beta Release Manager]" <youngs@xemacs.org> Subject: XEmacs 21.5.12 "carrot" is released. To: XEmacs beta <xemacs-beta@xemacs.org> Date: Fri, 25 Apr 2003 22:15:26 +1000 Organization: The XEmacs Development Team * XEmacs 21.5.12 "carrot" is released. "carrot" is the 13th in the VEGETABLE series. There has been quite a few bug fixes and enhancements this time around from the programming dynamo, Ben Wing. But the big news is that everything in the test suite passes 100%, at least on GNU/Linux. Many thanks go out to all those who were involved in bringing about this important leap forward. Steve Turnbull, Jerry James, and Daiki Ueno were the key players. On behalf of everyone at XEmacs.org, thanks guys! For general information about XEmacs, the developers, and the user community, see our home page, http://www.xemacs.org/ * XEmacs 21.5.12 is "beta" software. The usual "no warranty" disclaimer (see etc/WARRANTY, sections 10 and 11) applies. Being "beta" software means that you should expect to encounter bugs, you should expect it to crash, and you really shouldn't be using it for "mission critical" tasks. * Availability Anonymous ftp: ftp://ftp.xemacs.org/pub/xemacs/xemacs-21.5 See http://www.xemacs.org/Install/. If you already have a 21.5.11 source tree, a patch kit is available in xemacs-21.5.11-21.5.12.patch.gz. This does not update .elcs or .infos, they will be rebuilt when you make XEmacs. If you have an earlier version, you can repeatedly apply patch kits. Also, if you don't have the packages yet, see http://www.xemacs.org/Documentation/packageGuide.html. Anonymous (pserver) CVS: Anonymous CVS is available. We are very grateful to the staff at our host, SunSITE.dk, for a lot of help and quick response to all our requests. To update to release 21.5.12, use the release tag "r21-5-12". To set a sticky tag which will always update to the current release, use the branch tag "r21-5-latest-beta". For more details, see http://www.xemacs.org/Develop/cvsaccess.html -- |---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---| | XEmacs - The only _______ you'll ever need. | | Fill in the blank, yes, it's THAT good! | |------------------------------------<youngs@xemacs.org>---| Summary of changes for XEmacs 21.5.12 "carrot"goto announcement, ChangeLogs Build
Documentation
Internals
Lisp API
ChangeLogs for XEmacs 21.5.12 "carrot"goto announcement, summary, changes
ChangeLog Entries from ChangeLoggoto announcement, changes, summary 2003-04-24 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.12 "carrot" is released. 2003-04-24 Steve Youngs <youngs@xemacs.org> * configure.in: Fix for building on openbsd. From Gregory Steuck <greg@nest.cx> * configure: Regenerate 2003-03-27 Stephen J. Turnbull <stephen@xemacs.org> * PROBLEMS: Global substitution of .Xresources for .Xdefaults. 2003-03-25 Jerry James <james@eecs.ku.edu> * configure.in: Add Andrew Begel's shared library support for MacOS X. 2003-03-18 Stephen J. Turnbull <stephen@xemacs.org> * INSTALL: Give location of Darwin X11 downloads. 2003-02-09 Ville Skyttä <scop@xemacs.org> * configure: Remove pkgdir and all references to it (unused). * configure.in: Ditto. * Makefile.in.in: Ditto. 2003-03-03 Stephen J. Turnbull <stephen@xemacs.org> * INSTALL: Reorganize, synch to configure.usage. 2003-03-01 Ben Wing <ben@xemacs.org> * PROBLEMS: * PROBLEMS (Note): * PROBLEMS (http): * PROBLEMS (IMPORTANT): Include nt/PROBLEMS and update. Add note about incremental linking badness. 2003-02-28 Ben Wing <ben@xemacs.org> * Makefile.in.in (mostlyclean): * Makefile.in.in (clean): * Makefile.in.in (top_distclean): * Makefile.in.in (distclean): Move src deletions to src/Makefile.in.in. 2003-02-20 Ben Wing <ben@xemacs.org> * PROBLEMS: * PROBLEMS (event-stream.c): Removed. * PROBLEMS (ABSTRACT): * PROBLEMS (patch.): * PROBLEMS (Note): Add comment about Cygwin, unexec and sysmalloc. Move some non-general stuff out of general. Make a section for x86. * configure.in (AC_INIT_NOTICE): * configure.in (XE_COMPUTE_RUNPATH): Add check for broken alloca in funcalls. 2003-02-19 Ben Wing <ben@xemacs.org> * Makefile.in.in: * Makefile.in.in (GENERATED_HEADERS): * Makefile.in.in (GENERATED_LISP): Removed. * Makefile.in.in (.NO_PARALLEL): * Makefile.in.in (beta): * Makefile.in.in (dist): * Makefile.in.in (batch): Removed. * Makefile.in.in (batch_packages): Removed. * Makefile.in.in (check): New. * Makefile.in.in (finder): Removed. * Makefile.in.in (check-features): New. * Makefile.in.in (.PHONY): * Makefile.in.in (install-only): * Makefile.in.in (tagslisp): * Makefile.in.in (info): Major surgery. Move all stuff related to building anything in the src/ directory into src/. Simplify the dependencies -- everything in src/ is dependent on the single entry `src' in MAKE_SUBDIRS. Remove weirdo targets like `all-elc[s]', dump-elc[s], etc. ChangeLog Entries from etc/ChangeLoggoto announcement, changes, summary 2003-04-24 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.12 "carrot" is released. 2003-03-27 Stephen J. Turnbull <stephen@xemacs.org> * Emacs.ad: Global substition of .Xresources for .Xdefaults. * sample.Xresources: Replaces sample.Xdefaults. * sample.Xdefaults: Replace contents with pointer to sample.Xresources. * README: Change name of sample.Xdefaults to sample.Xresources. Substitute 21.4 for 21.2. 2003-03-03 Ville Skyttä <scop@xemacs.org> * BETA (New packages): Introduce Norbert Koch. ChangeLog Entries from lib-src/ChangeLoggoto announcement, changes, summary 2003-04-24 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.12 "carrot" is released. 2003-02-09 Ville Skyttä <scop@xemacs.org> * config.values.in (pkgdir): Remove (unused). 2003-03-06 Ben Wing <ben@xemacs.org> * i.c: * i.c (pump): Sleep between calls to check for I/O, since these calls are non-blocking. ChangeLog Entries from lisp/ChangeLoggoto announcement, changes, summary 2003-04-24 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.12 "carrot" is released. 2003-04-24 Steve Youngs <youngs@xemacs.org> * font-lock.el (font-lock-match-java-declarations): Move save-restriction, narrow-to-region to beginning of function to avoid going beyond the limit and causing an infloop. From Jin Choi <jsc@orangeimagineering.com>. 2003-04-24 Vasily Korytov <deskpot@myrealbox.com> * lisp-mode.el (emacs-lisp-mode-hook, lisp-mode-hook, lisp-interaction-mode-hook): Add the docstrings. 2003-04-23 Stephen J. Turnbull <stephen@xemacs.org> * subr.el (split-string): Revert to regular behavior, except when both separators and omit-nulls are nil. (split-string-default-separators): New constant. 2003-04-15 Reiner Steib <Reiner.Steib@gmx.de> * info.el (info): Support `(filename)nodename' as argument. 2003-04-14 Steve Youngs <youngs@xemacs.org> * package-admin.el (package-admin-find-top-directory): Use 'directory-sep-char'. (package-admin-get-install-dir): Ditto. This is so PUI won't break on platforms that don't use '/' as the directory separator. * package-get.el (package-get-pgp-available-p): New. (package-get-require-signed-base-updates): Use it. (package-get-update-base-from-buffer): Move the code that finds the gpg stuff into `package-get-pgp-available-p'. Now if you have Mailcrypt and a PGP binary installed and set up on your system, PUI will automatically default to doing PGP verification, otherwise it'll default to off. (package-get-require-base): Use the DATUM arg to `error'. (package-get-locate-index-file): Ditto. (package-get-update-base): Ditto. (package-get-update-base-entries): Ditto. (package-get-all): Ditto. (package-get-dependencies): Ditto. (package-get-info): Ditto. (package-get): Ditto. * package-info.el (batch-update-package-info): Use the DATUM arg to `error'. * package-net.el (package-net-batch-generate-bin-ini): Use the DATUM arg to `error'. * package-ui.el (pui-toggle-package-key): Use the DATUM arg to `error'. (pui-toggle-package-delete-key): Ditto. (pui-install-selected-packages): Ditto. (pui-add-required-packages): Ditto. (pui-display-info): Ditto. (list-packages-mode): Ditto. * packages.el (package-require): Use the DATUM arg to `error'. 2003-03-27 Stephen J. Turnbull <stephen@xemacs.org> * menubar-items.el (default-menubar): * startup.el (in comment): Global substitution: .Xresources for .Xdefaults. 2003-03-24 Jerry James <james@xemacs.org> * window-xemacs.el (saved-window-equal): Use equal instead of = to compare saved-window-modeline-hscroll values. 2003-03-25 Steve Youngs <youngs@xemacs.org> * package-admin.el: (package-admin-delete-binary-package): Only delete the lisp directory if it exists. (package-admin-find-top-directory): New. (package-admin-get-install-dir): Use it. * package-get.el (package-get-install-to-user-init-directory): New. If non-nil install packages under `user-init-directory'. (package-get): `package-admin-get-install-dir' only takes 2 args. * package-ui.el (pui-install-selected-packages): The 2nd arg to `package-admin-get-install-dir' is optional, no need to specify nil. 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org> * wid-edit.el (widget-url-link-action): Typo fix. Thx, Adrian! 2003-03-23 Adrian Aichner <adrian@xemacs.org> * menubar-items.el (default-menubar): Reword "Add Download Site" to the more appropriate "Set Download Site". Categorize download sites under separate menu entries for "Offical", "Pre-", and "Site" Releases so that users only need to customize `package-get-site-release-download-sites'. * package-get.el (package-get-download-sites): Fix typo. * package-get.el (package-get-site-release-download-sites): New. Add support for "Site Releases". * package-ui.el (package-ui-site-release-download-menu): New. Ditto. 2003-03-21 Adrian Aichner <adrian@xemacs.org> * package-get.el: Globally remove trailing whitespace. * package-get.el (package-get-download-sites): Add more sites. * package-get.el (package-get-pre-release-download-sites): Add more sites. 2003-03-20 Steve Youngs <youngs@xemacs.org> * menubar-items.el (default-menubar): Add a "Pre-Release Download Sites" submenu to "Tools -> Packages" menu. Filter the package download sites menus through `menu-split-long-menu'. * obsolete.el (pui-add-install-directory): New. (package-get-download-menu): New. * package-admin.el: (package-admin-add-single-file-package): Removed. (package-admin-get-install-dir): Don't rely on an installed xemacs-base package to guess where a package needs to be installed to. (package-admin-get-manifest-file): Whitespace clean up. (package-admin-check-manifest): Use `directory-sep-char' to compute regexp. Only search 'lisp' and 'man' directories to determine package name. Don't error is xemacs-base package isn't installed, just don't sort the MANIFEST file and issue a warning. (package-admin-add-binary-package): Whitespace clean up. (package-admin-get-lispdir): Ditto. (package-admin-delete-binary-package): Use `with-temp-buffer' instead of creating a temporary buffer manually. * package-get.el: (package-get-remote): Change custom type so that only either a single directory or remote host:directory can be selected. (package-get-download-sites): Put the sites into alphabetical order of country. Make the description element be "Country (site)" instead of the other way around. (package-get-pre-release-download-sites): New. (package-get-require-signed-base-updates): Default to t. (package-get-download-menu): Removed. (package-get-locate-file): Change to reflect new format of 'package-get-remote'. (package-get-update-base-from-buffer): Whitespace clean up and remove an unneccessary 'when'. (package-get-interactive-package-query): Whitespace clean up. (package-get-update-all): Ditto. (package-get-all): Ditto. (package-get-init-package): Ditto. (package-get-info): New. (package-get): Bring into line with new format of 'package-get-remote'. Error if non-Mule XEmacsen try to install Mule packages. Don't rely on a Mule package having 'mule-base' in its "REQUIRES" to determine if it is a Mule package or not, instead we test "CATEGORY". Better handling of the situation where a partial package tarball exists on the local hard drive from a previous interupted download. Clean up after a failed package install. (package-get-set-version-prop): Removed. (package-get-installedp): Whitespace clean up. * package-ui.el: Whitespace clean up. (pui-info-buffer): Make it a defcustom. (pui-directory-exists): Removed. (pui-package-dir-list): Removed. (pui-add-install-directory): Removed. (package-ui-download-menu): New. (package-ui-pre-release-download-menu): New. (pui-set-local-package-get-directory): New. (pui-package-symbol-char): Whitespace clean up. (pui-update-package-display): Ditto. (pui-toggle-package): Ditto. (pui-toggle-package-key): Ditto. (pui-toggle-package-delete): Ditto. (pui-toggle-package-delete-key): Ditto. (pui-toggle-package-event): Ditto. (pui-toggle-verbosity-redisplay): Ditto. (pui-install-selected-packages): Ditto. (pui-help-echo): Ditto. (pui-display-info): Ditto. (pui-list-packages): Ditto. * packages.el: Whitespace clean up. 2003-03-18 Stephen J. Turnbull <stephen@xemacs.org> * gutter-items.el (buffers-tab-filter-functions): Improve docstring. Suggested by a Chris Palmer <chris@nodewarrior.org> patch. 2003-03-02 Stephen Turnbull <stephen@xemacs.org> * wid-edit.el: Many XEmacs-specific comments added. (missing-package): New error type. (link widget): Use it. (widget-sublist): Move to section with other generic utilities. (sexp widget): (widget-sexp-value-to-internal): (widget-sexp-validate): (widget-sexp-prompt-value-history): (widget-sexp-prompt-value): Move to top of sexp section. (finder-commentary): Redundant autoload removed. (widget-princ-to-string): Use `prin1-to-string'. Add docstring. (widget-prettyprint-to-string): Use `with-temp-buffer'. Add docstring. (widget-convert): Use `keywordp'. Improve comments. (symbol widget): Change default value to `t' to distinguish from lists. (widget-edit-functions): Add docstring. (widget-field-new): (widget-field-list): Convert comments to docstrings. (widget-default-prompt-value): Fix docstring, improve comments. (widget-field-add-space): (widget-create): (widget-create-child-and-convert): (widget-create-child): (widget-create-child-value): (push-button widget): (checklist widget): (option widget): (radio-button-choice widget): (radio widget): (list widget): (vector widget): Improve docstrings. 2003-03-06 Ben Wing <ben@xemacs.org> * behavior.el (define-behavior): Allow other keywords for forward compatibility. * cl-macs.el (loop): Rewrite to eliminate byte-compiler warning when `return' is used without `finally'. * cmdloop.el (file-error): Avoid truncated error messages for `end-of-file' and the like. * cmdloop.el (read-quoted-char): Avoid char-int error after syncing. * files.el (find-file-noselect): * files.el (recover-file): * files.el (recover-session-finish): Eliminate byte-compile warnings. * printer.el (generate-header-line): Fix line-width calculations. #### This used to work. Someone's changes (perhaps by Michael Sperber?) seem to have messed something up. * simple.el (clear-message): * simple.el (append-message): * simple.el (raw-append-message): Use new clear-left-side functions to avoid messages ending up on the same line as other output. 2003-03-03 Stephen J. Turnbull <stephen@xemacs.org> * files.el (save-abbrevs): Fixup whitespace. 2003-02-26 Stephen J. Turnbull <stephen@xemacs.org> * subr.el (custom-declare-variable-early): Reference dumped-lisp.el in comment. * custom.el (at end): Remark about `custom-declare-variable-list'. 2003-03-01 Ben Wing <ben@xemacs.org> * cmdloop.el: * cmdloop.el (read-quoted-char-radix): New. * cmdloop.el (read-quoted-char): * cmdloop.el (momentary-string-display): * custom.el: * custom.el (custom-initialize-set): * custom.el (custom-initialize-reset): * custom.el (custom-initialize-changed): * custom.el (custom-declare-variable): * custom.el (defcustom): * dumped-lisp.el (preloaded-file-list): * files.el: * files.el (delete-auto-save-files): New. * files.el (directory-abbrev-alist): * files.el (make-backup-files): * files.el (backup-by-copying-when-privileged-mismatch): New. * files.el (normal-backup-enable-predicate): New. * files.el (buffer-offer-save): * files.el (small-temporary-file-directory): New. * files.el (null-device): New. * files.el (version-control): * files.el (auto-save-file-name-transforms): New. * files.el (save-abbrevs): * files.el (find-directory-functions): New. * files.el (find-file-not-found-hooks): * files.el (write-file-hooks): * files.el (write-contents-hooks): * files.el (write-file-data-hooks): * files.el (enable-local-variables): * files.el ((fboundp 'file-locked-p)): * files.el (view-read-only): New. * files.el (cd-absolute): * files.el (load-file): * files.el (file-local-copy): * files.el (file-chase-links): * files.el (switch-to-buffer-other-window): * files.el (switch-to-buffer-other-frame): * files.el (find-file): * files.el (find-file-other-window): * files.el (find-file-other-frame): * files.el (find-file-read-only): * files.el (find-file-read-only-other-window): * files.el (find-file-read-only-other-frame): * files.el (abbreviate-file-name): * files.el (find-buffer-visiting): * files.el (find-file-wildcards): New. * files.el (find-file-suppress-same-file-warnings): New. * files.el (find-file-noselect): New. * files.el (find-file-noselect-1): New. * files.el (insert-file-contents-literally): * files.el (insert-file-literally): New. * files.el (after-find-file-from-revert-buffer): * files.el (after-find-file): * files.el (normal-mode): * files.el (find-file-literally): New. * files.el (dabbrev-case-fold-search): * files.el (hack-one-local-variable-quotep): New. * files.el (hack-one-local-variable): * files.el (set-visited-file-name): * files.el (write-file): * files.el (backup-buffer): * files.el (make-backup-file-name-function): New. * files.el (backup-directory-alist): New. * files.el (make-backup-file-name): * files.el (make-backup-file-name-1): New. * files.el (backup-extract-version-start): * files.el (backup-extract-version-start)): New. * files.el (file-relative-name): * files.el (save-buffer): * files.el (delete-auto-save-file-if-necessary): * files.el (save-buffer-coding-system): New. * files.el (basic-save-buffer): * files.el (basic-save-buffer-1): * files.el (basic-save-buffer-2): New. * files.el (save-some-buffers): * files.el (save-some-buffers-1): * files.el (toggle-read-only): * files.el (file-newest-backup): * files.el (rename-uniquely): * files.el (revert-buffer-insert-file-contents-function): * files.el (recover-file): * files.el (recover-session): * files.el (recover-session-finish): * files.el (kill-some-buffers): * files.el (wildcard-to-regexp): * files.el (file-expand-wildcards): New. * files.el (list-directory): * files.el (shell-quote-wildcard-pattern): New. * files.el (insert-directory-safely): New. * files.el (confirm-kill-emacs): New. * files.el (save-buffers-kill-emacs): * files.el (file-name-non-special): New. * keydefs.el (global-map): New. * keymap.el: * keymap.el (kbd): Removed. * keymap.el (substitute-key-definition): * lisp-mode.el (construct-lisp-mode-menu): * make-docfile.el (custom-declare-variable-list): New. * replace.el: * replace.el (match-string): Removed. * replace.el (save-match-data): Removed. * simple.el: * simple.el (comment-column): Removed. * simple.el (comment-start): Removed. * simple.el (comment-start-skip): Removed. * simple.el (comment-end): Removed. * simple.el (comment-indent-hook): Removed. * simple.el (comment-indent-function): Removed. * simple.el (block-comment-start): Removed. * simple.el (block-comment-end): Removed. * simple.el (indent-for-comment): Removed. * simple.el (set-comment-column): Removed. * simple.el (kill-comment): Removed. * simple.el (comment-padding): Removed. * simple.el (comment-region): Removed. * simple.el (comment-multi-line): Removed. * simple.el (set-selective-display): * simple.el (indent-new-comment-line): Removed. * simple.el (overwrite-mode-textual): * simple.el (overwrite-mode): * simple.el (binary-overwrite-mode): * simple.el (mail-user-agent): * simple.el (rfc822-goto-eoh): New. * simple.el (sendmail-user-agent-compose): * simple.el (mh-e-user-agent): * simple.el (set-variable-value-history): New. * simple.el (set-variable): * simple.el (clone-buffer-hook): New. * simple.el (clone-process): New. * simple.el (clone-buffer): New. * simple.el (clone-indirect-buffer): New. * simple.el (clone-indirect-buffer-other-window): New. * subr.el: * subr.el (custom-declare-variable-list): New. * subr.el (custom-declare-variable-early): New. * subr.el (assoc-default): New. * subr.el (assoc-ignore-case): New. * subr.el (assoc-ignore-representation): New. * subr.el (member-ignore-case): New. * subr.el ('move-marker): New. * subr.el ('beep): New. * subr.el ('indent-to-column): New. * subr.el ('backward-delete-char): New. * subr.el ('search-forward-regexp): New. * subr.el ('search-backward-regexp): New. * subr.el ('remove-directory): New. * subr.el ('set-match-data): New. * subr.el ('send-string-to-terminal): New. * subr.el (make-local-hook): * subr.el (add-hook): * subr.el (remove-hook): * subr.el (add-local-hook): * subr.el (remove-local-hook): * subr.el (add-one-shot-hook): * subr.el (add-local-one-shot-hook): * subr.el (string-equal-ignore-case): Removed. * subr.el (with-current-buffer): * subr.el (with-output-to-string): Removed. * subr.el (replace-in-string): Removed. * subr.el (split-string): Removed. * subr.el (with-temp-message): * subr.el (with-syntax-table): New. * subr.el (save-match-data): New. * subr.el (match-string): New. * subr.el (match-string-no-properties): New. * subr.el (subst-char-in-string): New. * subr.el (replace-regexp-in-string): New. * subr.el (truncate-string-to-width): * subr.el (eval-after-load): * view-less.el: * wid-edit.el: * wid-edit.el (widget-url-link-action): Lots of syncing with FSF 21.2. Use if-fboundp in wid-edit.el. New file newcomment.el from FSF. 2003-02-26 Stephen J. Turnbull <stephen@xemacs.org> * dumped-lisp.el (preloaded-file-list): Add markers for use of defcustom v. custom-declare-variable-early. * make-docfile.el (custom-declare-variable-list): Defvar to prevent custom (required from raw-process) from barfing a void-variable error. 2003-02-26 Stephen J. Turnbull <stephen@xemacs.org> * view-less.el (view-minor-mode): Add autoload cookie. 2003-02-26 Stephen J. Turnbull <stephen@xemacs.org> * view-less.el (view-minor-mode): Add autoload cookie. 2003-02-28 Ben Wing <ben@xemacs.org> * dump-paths.el: * dump-paths.el (startup-setup-paths): Removed. * dumped-lisp.el (preloaded-file-list): Delete. Combine stuff into setup-paths.el. * find-paths.el: * find-paths.el (paths-chase-symlink): * find-paths.el (paths-emacs-root-p): Removed. * find-paths.el (paths-construct-path): * find-paths.el (paths-find-emacs-root): Removed. * find-paths.el (paths-emacs-data-root-p): Removed. * find-paths.el (paths-find-emacs-roots): Removed. Make this file contain generic routines only. Move stuff to compute Emacs roots to setup-paths.el. * startup.el: * startup.el (emacs-roots): Removed. * startup.el (emacs-data-roots): Removed. * startup.el (user-init-directory-base): Removed. * startup.el (user-init-directory): Removed. * startup.el (user-init-file-base): Removed. * startup.el (user-init-file-base-list): Removed. * startup.el (user-home-init-file-base-list): Removed. * startup.el (load-home-init-file): Removed. * startup.el (load-user-init-file-p): Removed. Move these variables into setup-paths.el. * setup-paths.el: * setup-paths.el (emacs-roots): New. * setup-paths.el (emacs-data-roots): New. * setup-paths.el (user-init-directory-base): New. * setup-paths.el (user-init-directory): New. * setup-paths.el (user-init-file-base): New. * setup-paths.el (user-init-file-base-list): New. * setup-paths.el (user-home-init-file-base-list): New. * setup-paths.el (load-home-init-file): New. * setup-paths.el (load-user-init-file-p): New. * setup-paths.el (paths-emacs-root-p): New. * setup-paths.el (paths-emacs-data-root-p): New. * setup-paths.el (paths-find-emacs-root): New. * setup-paths.el (paths-find-emacs-roots): New. * setup-paths.el (startup-find-load-path): New. * setup-paths.el (startup-setup-paths): New. * setup-paths.el (configure-package-path): New. * setup-paths.el (startup-find-load-path-for-packages): New. * startup.el (normal-top-level): * startup.el (startup-find-roots-warning): Removed. Combine all high-level code for computing the paths into setup-paths.el. Create new function startup-find-load-path to encapsulate all logic for computing `load-path'. Eliminate invocation-directory and invocation-name parameters since there is no point (false generality) -- the code references other globals, which cannot be specified. Eliminate some code duplicated between setup-paths.el and startup.el. Clean up the debug-paths code and output load-path in addition. Add logic to paths-emacs-root-p to support separated source and build trees. * loadup.el: * loadup.el (build-root): New. * loadup.el (source-lisp): New. * loadup.el (source-root): New. * loadup.el (really-early-error-handler): * make-docfile.el: * make-docfile.el (build-root): New. * make-docfile.el (build-lib-src): New. * make-docfile.el (source-lisp): New. * make-docfile.el (source-src): New. * make-docfile.el (process-args): * make-docfile.el (load-path): * make-docfile.el ("raw-process.el"): * make-docfile.el ((preloaded-file-list)): * make-docfile.el (docfile-out-of-date): * update-elc-2.el (batch-update-elc-2): * update-elc.el: * update-elc.el (undumped-exe): Removed. * update-elc.el (dumped-exe-out-of-date-wrt-dump-files): Removed. * update-elc.el (exe-target): New. * update-elc.el (dump-target): New. * update-elc.el (dump-target-out-of-date-wrt-dump-files): New. * update-elc.el (build-root): New. * update-elc.el (source-lisp): New. * update-elc.el (source-lisp-mule): New. * update-elc.el (source-root): New. * update-elc.el (aa-lisp): New. * update-elc.el (aac-lisp): New. * update-elc.el (aa-lisp-mule): New. * update-elc.el (aac-lisp-mule): New. * update-elc.el ((preloaded-file-list site-load-packages files-to-process)): Rewrite to allow for separated source and build trees, as may occur in MS Windows. NOTE TO BUILD HACKERS: loadup.el, make-docfile.el, update-elc.el and update-elc-2.el made two assumptions that are no longer correct: (1) The source and build trees are in the same place. (2) They can make assumptions about where `.' is. These files now compute the locations of the source and build roots at the top of the file. *ALL* constant file names or path snippets must now be made absolute using expand-file-name and one of these roots. * dumped-lisp.el: * dumped-lisp.el (packages-hardcoded-lisp): New. * packages.el: * packages.el (packages-hardcoded-lisp): Removed. * packages.el (packages-useful-lisp): Removed. * packages.el (packages-unbytecompiled-lisp): Removed. Remove some unused lists of Lisp files. packages-hardcoded-lisp (empty, in any case) moved to dumped-lisp.el. * startup.el (find-init-file-1): New. * startup.el (find-user-home-directory-init-file): When a compiled init file is out-of-date wrt the uncompiled version, load the uncompiled version and issue a nasty warning. * update-elc-2.el (batch-update-elc-2): Force touching of auto-autoloads files when REBUILD_AUTOLOADS was set. * update-elc.el ((preloaded-file-list site-load-packages files-to-process)): Fix code that checks whether dumping is necessary to check against xemacs.dmp, not xemacs.exe, when Unix and pdump. 2003-02-20 Ben Wing <ben@xemacs.org> * mule/mule-cmds.el: * mule/mule-cmds.el (get-native-coding-system-from-language-environment): * mule/mule-cmds.el (set-language-environment-coding-systems): * mule/mule-cmds.el (init-locale-at-early-startup): Alias file-name to native not vice-versa. Do set EOL of native but not of process output to fix various problems and be consistent with code-init.el. 2003-02-20 Ben Wing <ben@xemacs.org> * code-cmds.el (coding-system-change-eol-conversion): Return a name not a coding system. * code-init.el: * code-init.el (coding-system-default-variable-list): * code-init.el (get-coding-system-variable): * code-init.el (set-coding-system-variable): * code-init.el (coding-system-variable-default-value): Reindent. Remove `file-name' since it should always be the same as native. * unicode.el (load-unicode-tables): Rename to load-unicode-mapping-table as suggested by the anonymous (but rather Turnbullian) comment in unicode.c. 2003-02-19 Ben Wing <ben@xemacs.org> * mule/mule-msw-init.el: * mule/mule-msw-init.el ('mswindows-multibyte-system-default): Removed. Delete this file. * mule/mule-win32-init.el: New file, with stuff from mule-msw-init.el -- not just for MS Windows native, boys and girls! * bytecomp.el (byte-compile-insert-header): Change code inserted to catch trying to load a Mule-only .elc file in a non-Mule XEmacs. Formerly you got the rather cryptic "The required feature `mule' cannot be provided". Now you get "Loading this file requires Mule support". * finder.el (finder-compile-keywords): Remove dependency on which directory this function is invoked from. * update-elc.el: Don't mess around with ../src/BYTECOMPILE_CHANGE. Now that Makefile.in.in and xemacs.mak are in sync, both of them use NEEDTODUMP and the other one isn't used. * dumped-lisp.el: * dumped-lisp.el (preloaded-file-list): Rewrite in terms of `list' and `nconc' instead of assemble-list, so we can have arbitrary forms, not just `when-feature'. * very-early-lisp.el: Nuke this file. * finder-inf.el: * packages.el: * update-elc.el: * update-elc-2.el: * loadup.el: * make-docfile.el: Eliminate references to very-early-lisp. * msw-glyphs.el: Comment clarification. 2003-02-17 Stephen J. Turnbull <stephen@xemacs.org> * mule/mule-charset.el (charsets-in-region): Remove broken optimization to get slight speed-up. (charsets-in-string): Use mapc to iterate in C. ChangeLog Entries from lwlib/ChangeLoggoto announcement, changes, summary 2003-04-24 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.12 "carrot" is released. 2003-03-27 Stephen J. Turnbull <stephen@xemacs.org> * xlwscrollbar.c: Global substitution of .Xresources for .Xdefaults. 2003-02-28 Ben Wing <ben@xemacs.org> * lwlib-Xm.c: Fix compile warning. ChangeLog Entries from man/ChangeLoggoto announcement, changes, summary 2003-04-24 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.12 "carrot" is released. 2003-03-27 Stephen J. Turnbull <stephen@xemacs.org> * xemacs/frame.texi (XEmacs under X): * xemacs-faq.texi: Global substitute .Xresources for .Xdefaults. * xemacs-faq.texi (Q3.2.2): `default' is also a face. (Q3.2.2, Q3.8.4): Describe appropriate use of `fontSet' in Mule. Suggested by Janis Dzerins <jonis@dir.lv>. 2003-03-20 Steve Youngs <youngs@xemacs.org> * xemacs/packages.texi (Automatically): Refer to 'pui-set-local-package-get-directory' instead of 'pui-add-install-directory'. Remove comment about PGP not being intergrated into PUI. Document balloon-help in PUI. Add heading "Keeping Packages Up To Date". (Building Packages): makeinfo 4.2 is required. 2003-03-18 Stephen J. Turnbull <stephen@xemacs.org> * xemacs/frame.texi (Gutter Basics): Describe common options for buffers tab control. 2003-03-11 Adrian Aichner <adrian@xemacs.org> * cl.texi: Change incorrect references to GNU where XEmacs is appropriate. 2003-03-09 Ben Wing <ben@xemacs.org> * widget.texi (Defining New Widgets): Fix Turnbull typos. 2003-03-02 Stephen Turnbull <stephen@xemacs.org> * widget.texi (Defining New Widgets): Document `widget-create-child', `widget-create-child-and-convert', and `widget-create-child-value'. Document the `:copy' method. Improve discussion of the `:convert-widget' method. 2003-02-26 Stephen J. Turnbull <stephen@xemacs.org> * internals/internals.texi (XEmacs From the Perspective of Building): Fix typo. (Build-Time Dependencies): New node. ChangeLog Entries from modules/ChangeLoggoto announcement, changes, summary 2003-04-24 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.12 "carrot" is released. ChangeLog Entries from netinstall/ChangeLoggoto announcement, changes, summary 2003-04-24 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.12 "carrot" is released. ChangeLog Entries from nt/ChangeLoggoto announcement, changes, summary 2003-04-24 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.12 "carrot" is released. 2003-03-30 Adrian Aichner <adrian@xemacs.org> * xemacs.mak (install): PROBLEMS is actually in $(SRCROOT). 2003-03-26 Adrian Aichner <adrian@xemacs.org> * xemacs.mak (install): Copy $(BLDLIB_SRC)\PROBLEMS, now that nt\PROBLEMS is gone (part of ..\PROBLEMS now). 2003-03-22 Adrian Aichner <adrian@xemacs.org> * xemacs.mak (installation): Restore version convention in generated Installation file. 2003-03-09 Ben Wing <ben@xemacs.org> * config.inc.samp (COMPFACE_DIR): Note that relative directories are a no-no in BUILD_DIR and SOURCE_DIR. Use paths relative to $(MAKEROOT) instead. 2003-03-06 Ben Wing <ben@xemacs.org> * xemacs.mak (INFO): New. * xemacs.mak (PATH_DEFINES): Add override for info/ as well when separate source/build dirs. * xemacs.mak (dump_temacs): * xemacs.mak (all): * xemacs.mak (TEMACS_DUMP_DEP): * xemacs.mak (update-elc): New. * xemacs.mak (docfile): * xemacs.mak (update-elc-2): * xemacs.mak (load-shadows): Order sections in main build process and add comments. Add additional dependencies to try and prevent later steps from happening when failures in earlier steps have occurred. 2003-03-01 Ben Wing <ben@xemacs.org> * PROBLEMS: Delete. * config.inc.samp (USE_FASTCALL): * config.inc.samp (HAVE_VC6): Removed. * config.inc.samp (DEBUG_XEMACS): * config.inc.samp (SUPPORT_EDIT_AND_CONTINUE): New. * xemacs.mak (DEBUG_XEMACS): * xemacs.mak (HAVE_VC6): Removed. * xemacs.mak (SUPPORT_EDIT_AND_CONTINUE): New. * xemacs.mak (CCV): * xemacs.mak (LIB_SRC_CFLAGS): New. * xemacs.mak (ETAGS_DEPS): * xemacs.mak (OS): * xemacs.mak (TEMACS_LFLAGS): Eliminate HAVE_VC6, use SUPPORT_EDIT_AND_CONTINUE in its place. No incremental linking unless SUPPORT_EDIT_AND_CONTINUE, since it can cause nasty crashes in pdump. Put warnings about this in config.inc.samp. Report the full compile flags used for src and lib-src in the Installation output. 2003-02-28 Ben Wing <ben@xemacs.org> * README: * README (NOTE): Removed. * config.inc.samp (HAVE_MS_WINDOWS): * config.inc.samp (HAVE_X_WINDOWS): Removed. * config.inc.samp (X11_DIR): Removed. * config.inc.samp (COMPFACE_DIR): * xemacs.mak (XEMACS): Removed. * xemacs.mak (LISP): Removed. * xemacs.mak (LIB_SRC): Removed. * xemacs.mak (MODULES): Removed. * xemacs.mak (NT): Removed. * xemacs.mak (OUTDIR): Removed. * xemacs.mak (SRC): Removed. * xemacs.mak (LWLIB_SRCDIR): Removed. * xemacs.mak (MAKEDIRSTRING): Removed. * xemacs.mak (XEMACSDIRSTRING): Removed. * xemacs.mak (MAKEROOT): New. * xemacs.mak (COPYDIR): * xemacs.mak (INFODOCK_VERSION_STRING): Removed. * xemacs.mak (XEMACS_VERSION_STRING): Removed. * xemacs.mak (SEPARATE_BUILD): New. * xemacs.mak (SRCROOT): New. * xemacs.mak (BLDROOT): New. * xemacs.mak (PROGRAM_DEFINES): Removed. * xemacs.mak (INSTALL_DIR): Removed. * xemacs.mak (ETC): New. * xemacs.mak (BLDLIB_SRC): New. * xemacs.mak (BLDNT): New. * xemacs.mak (BLDSRC): New. * xemacs.mak (PACKAGE_PREFIX): Removed. * xemacs.mak (PACKAGE_PATH): Removed. * xemacs.mak (PATH_PACKAGEPATH): Removed. * xemacs.mak (HAVE_X_WINDOWS): Removed. * xemacs.mak (USE_CRTDLL): * xemacs.mak (CONFIG_ERROR): * xemacs.mak (OS): Removed. * xemacs.mak (EMACS_CONFIGURATION): Removed. * xemacs.mak (STACK_TRACE_EYE_CATCHER): Removed. * xemacs.mak (CCV): Removed. * xemacs.mak (DEBUG_FLAGS_COMPILE): Removed. * xemacs.mak (DEBUG_FLAGS_LINK): Removed. * xemacs.mak (DEBUG_DEFINES): Removed. * xemacs.mak (BROWSERFLAGS): Removed. * xemacs.mak (C_LIBFLAG): Removed. * xemacs.mak (LIBC_LIB): Removed. * xemacs.mak (OPTFLAGS_FASTCALL): Removed. * xemacs.mak (OPTFLAGS_CDECL): Removed. * xemacs.mak (PATH_PREFIX): New. * xemacs.mak (OPTFLAGS): Removed. * xemacs.mak (PROFILE_FLAGS): Removed. * xemacs.mak (PATH_DEFINES): New. * xemacs.mak (MSW_DEFINES): * xemacs.mak (TEMACS_MSW_OBJS): New. * xemacs.mak (CPLUSPLUS_COMPILE_FLAGS): Removed. * xemacs.mak (CFLAGS_NO_OPT): Removed. * xemacs.mak (CFLAGS_NO_LIB): Removed. * xemacs.mak (CFLAGS): Removed. * xemacs.mak (CFLAGS_CDECL_NO_LIB): Removed. * xemacs.mak (CFLAGS_CDECL): Removed. * xemacs.mak (X_DEFINES): Removed. * xemacs.mak (TEMACS_MULE_OBJS): New. * xemacs.mak (X_INCLUDES): Removed. * xemacs.mak (X_LIBS): Removed. * xemacs.mak (TEMACS_DEBUG_OBJS): New. * xemacs.mak (TEMACS_DUMP_OBJS): New. * xemacs.mak (TEMACS_ALLOC_OBJS): New. * xemacs.mak (XEMACS_INCLUDES): Removed. * xemacs.mak (LIB_SRC_DEFINES): Removed. * xemacs.mak (INCLUDES): * xemacs.mak (DEFINES): * xemacs.mak (CONFIG_VALUES): Removed. * xemacs.mak (TEMACS_CPP_FLAGS_NO_CFLAGS): * xemacs.mak (TEMACS_ENTRYPOINT): Removed. * xemacs.mak (TEMACS_DIR): Removed. * xemacs.mak (TEMACS): Removed. * xemacs.mak (TEMACS_BROWSE): Removed. * xemacs.mak (TEMACS_SRC): Removed. * xemacs.mak (TEMACS_CPP_CDECL_FLAGS): * xemacs.mak (TEMACS_LIBS): Removed. * xemacs.mak (TEMACS_OBJS): * xemacs.mak (TEMACS_LFLAGS): Removed. * xemacs.mak (LINK_DEPENDENCY_ARGS): Removed. * xemacs.mak (LINK_STANDARD_LIBRARY_ARGS): Removed. * xemacs.mak (ETAGS_DEPS): Removed. * xemacs.mak (TEMACS_X_OBJS): Removed. * xemacs.mak (LIB_SRC_TOOLS): Removed. * xemacs.mak (LASTFILE): Removed. * xemacs.mak (LASTFILE_SRC): Removed. * xemacs.mak (LASTFILE_FLAGS): Removed. * xemacs.mak (LASTFILE_OBJS): Removed. * xemacs.mak (LWLIB): Removed. * xemacs.mak (LWLIB_FLAGS): Removed. * xemacs.mak (LWLIB_OBJS): Removed. * xemacs.mak (.SUFFIXES): * xemacs.mak (create-list-file): Removed. * xemacs.mak (compile-list-file): Removed. * xemacs.mak (TEMACS_DUMP_ID_OBJ): Removed. * xemacs.mak (PROGNAME): Removed. * xemacs.mak (DO_TEMACS): Removed. * xemacs.mak (DO_XEMACS): Removed. * xemacs.mak (BATCH): Removed. * xemacs.mak (BATCH_PACKAGES): Removed. * xemacs.mak (TEMACS_BATCH): Removed. * xemacs.mak (XEMACS_BATCH): Removed. * xemacs.mak (XEMACS_BATCH_PACKAGES): Removed. * xemacs.mak (temacs_loadup_args): Removed. * xemacs.mak (dump_temacs_args): Removed. * xemacs.mak (run_temacs_args): Removed. * xemacs.mak (dump_temacs): Removed. * xemacs.mak (testdir): Removed. * xemacs.mak (batch_test_emacs): Removed. * xemacs.mak (check): Removed. * xemacs.mak (check-temacs): Removed. * xemacs.mak (MANDIR): * xemacs.mak (check-features): Removed. * xemacs.mak (tagslisp): Removed. * xemacs.mak (tags): Removed. * xemacs.mak (NEW_USERS_GUIDE_SRCS): * xemacs.mak (makeinfo-test): * xemacs.mak (installation): New. * xemacs.mak (RAW_EXE): New. * xemacs.mak (DUMP_TARGET): New. * xemacs.mak (all): New. * xemacs.mak (TEMACS_DUMP_DEP): New. * xemacs.mak (DOC): * xemacs.mak (docfile): * xemacs.mak (update-elc): * xemacs.mak (update-elc-2): * xemacs.mak (load-shadows): * xemacs.mak (temacs): Removed. * xemacs.mak (install): * xemacs.mak (versionclean): New. * xemacs.mak (distclean): * xemacs.mak (realclean): * xemacs.mak (extraclean): * xemacs.mak (depend): * xemacs.mak (unicode-encapsulate): -- Major reorganization and cleanup. -- Add support for separated build tree and source tree. -- Delete all support for X Windows building, since it's totally bit-rotten and will never be fixed up. Instruct people to use Cygwin if they want such support. * make-build-dir: New script to create a skeleton build tree for use with separated build and source tree compilation. 2003-02-20 Ben Wing <ben@xemacs.org> * xemacs.dsp (CFG): Add /k to default build. 2003-02-19 Ben Wing <ben@xemacs.org> * xemacs.mak (DO_TEMACS): New. * xemacs.mak (DO_XEMACS): New. * xemacs.mak (TEMACS_BATCH): * xemacs.mak (temacs_loadup_args): New. * xemacs.mak (dump_temacs_args): New. * xemacs.mak (run_temacs_args): New. * xemacs.mak (dump_temacs): * xemacs.mak (blddir): Removed. * xemacs.mak (temacs_loadup): Removed. * xemacs.mak (run_temacs): Removed. * xemacs.mak (check): * xemacs.mak (check-temacs): * xemacs.mak (check-features): New. * xemacs.mak (makeinfo-test): * xemacs.mak (LOADPATH): Removed. * xemacs.mak (update-elc): * xemacs.mak (update-elc-2): * xemacs.mak (load-shadows): New. * xemacs.mak (all): * xemacs.mak (OS): Add macros DO_TEMACS, DO_XEMACS, and a few others; this macro section is now completely in sync with src/Makefile.in.in. Copy check-features, load-shadows, and rebuilding finder-inf.el from src/Makefile.in.in. The main build/dump/recompile process is now synchronized with src/Makefile.in.in. Change `WARNING' to `NOTE' and `error checking' to `error-checking' TO avoid tripping faux warnings and errors in the VC++ IDE. ChangeLog Entries from nt/installer/Wise/ChangeLoggoto announcement, changes, summary 2003-04-24 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.12 "carrot" is released. ChangeLog Entries from src/ChangeLoggoto announcement, changes, summary 2003-04-24 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.12 "carrot" is released. 2003-04-24 Matthew O. Persico <persicom@acedsl.com> * unicode.c: Removed trailing commas in some enums; older (Solaris 2.7 cc) compiler produced volumous warnings. * text.c: Replaced char initialization of static Ibyte strcasecmp_charmap[] with octal numeric init. Apparently older (Solaris 2.7 cc) compiler treats quoted octals as signed, causing 256 signed-assigned-to-unsigned warnings. * lrecord.h: Removed trailing commas in some enums; older (Solaris 2.7 cc) compiler produced volumous warnings. * lisp.h: Removed trailing commas in some enums; older (Solaris 2.7 cc) compiler produced volumous warnings. * frame.c: Removed trailing commas in some enums; older (Solaris 2.7 cc) compiler produced volumous warnings. * file-coding.h: Removed trailing commas in some enums; older (Solaris 2.7 cc) compiler produced volumous warnings. 2003-04-17 Stephen J. Turnbull <stephen@xemacs.org> Fix stale match data after failed search bug. * search.c (search_buffer): Don't find null string if repetition count is 0. (string_match_1): (looking_at_1): (search_buffer): (simple_search): (boyer_moore): Clear all search regs as start, not unused ones on success. * regex.c (re_match_2_internal): Fix comment about clearing regs. * search.c (Freplace_match): Document error conditions in docstring. (These actually error now after a failed match.) 2003-04-16 Chris Palmer <chris@nodewarrior.org> * sysdll.c (dll_open): Removed Objective C-ism to fix Mac build. 2003-04-16 Stephen J. Turnbull <stephen@xemacs.org> * menubar-gtk.c (gtk_xemacs_menubar_class_init): (gtk_xemacs_menubar_init): (gtk_xemacs_menubar_size_request): (menu_descriptor_to_widget_1): (menu_descriptor_to_widget): (popdown_menu_cb): (reinit_vars_of_menubar_gtk): * event-gtk.c (emacs_gtk_key_event_handler): (emacs_gtk_button_event_handler): (emacs_gtk_motion_event_handler): (reinit_vars_of_event_gtk): (event_name): Reformat function definitions correctly. 2003-04-16 Stephen J. Turnbull <stephen@xemacs.org> * symsinit.h (reinit_console_type_create_gtk): (reinit_vars_of_menubar_gtk): (reinit_vars_of_event_gtk): Declare. 2003-04-12 Malcolm Purvis <malcolmpurvis@optushome.com.au> * event-gtk.c: Added missing declaration of non_fake_input_wait_mask. 2003-04-04 Daiki Ueno <daiki@xemacs.org> * regex.c (re_match_2_internal): Fix charset/charset_not matching for extended characters. Fixes KNOWN BUG matching ASCII character classes to mule characters. 2003-04-14 Steve Youngs <youngs@xemacs.org> * glyphs.c: * glyphs.c (nothing_instantiate): * glyphs.c (Fmake_glyph_internal): * glyphs.c (Fglyphp): * glyphs.c (glyph_image_instance): * glyphs.c (glyph_image_instance_maybe): * glyphs.c (glyph_width): Work around a problem compiling with --use-union-type using Intel's ICC compiler. From Martin Buchholz <martin@xemacs.org> See <http://list-archive.xemacs.org/xemacs-patches/200301/msg00132.html> 2003-04-08 Mike Sperber <mike@xemacs.org> * Makefile.in.in ($(BLDSRC)/NEEDTODUMP): Depends on $(RAW_EXE). 2003-03-31 Mike Alexander <mta@arbortext.com> * frame-msw.c (mswindows_set_frame_size): Call change_frame_size. 2003-03-25 Jerry James <james@xemacs.org> * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic linking (from Andrew Begel). * sysdll.c: Factor common code into MAYBE_PREPEND_UNDERSCORE. Try DL_LAZY and DL_NOW if RTLD_LAZY and RTLD_NOW are undefined. Add Andrew Begel's support for loading bundles using the Darwin/MacOSX native API. * sysdll.c (dll_function): Use MAYBE_PREPEND_UNDERSCORE. * sysdll.c (dll_variable): Ditto. * sysdll.c (dll_open): Minor whitespace fix. 2003-03-25 Andrew Begel <abegel@cs.berkeley.edu> * emodules.c (vars_of_module): Add .dylib as an acceptable shared library file extension to support MacOS X. 2003-03-22 Stephen J. Turnbull <stephen@xemacs.org> * database.c (Fopen_database): DB_AUTO_COMMIT is invalid in Berkeley db 4.1 unless you have a transaction environment. 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org> * regex.c (re_match_2_internal): Fix matching degenerate word boundaries. 2003-03-09 Ben Wing <ben@xemacs.org> * file-coding.c: * file-coding.c (look_for_coding_system_magic_cookie): Disable new check for the moment since it's all wrong and causes crashes. 2003-03-09 Ben Wing <ben@xemacs.org> * file-coding.c: * file-coding.c (snarf_coding_system): * file-coding.c (look_for_coding_system_magic_cookie): * file-coding.c (vars_of_file_coding): Fix up internal magic-cookie code to also check for `;;;###coding system', already handled by the (redundant) code in files.el. * regex.c (re_match_2_internal): Fix problem with ordering of initializations and statements -- OK in C++, not in C. * search.c (fast_string_match): Indentation. 2003-03-06 Ben Wing <ben@xemacs.org> * Makefile.in.in (build-the-mofo): * Makefile.in.in (.NO_PARALLEL): Removed. * Makefile.in.in (release): Removed. * Makefile.in.in (update-elc-2): Removed. * Makefile.in.in (link_deps): * Makefile.in.in (dump-id.c): New. * Makefile.in.in (load-shadows): Removed. * Makefile.in.in (.PHONY): Removed. * Makefile.in.in (FRC.needtodump): Removed. * Makefile.in.in (temacs_link_args): * Makefile.in.in (obj_src): Order sections in main build process and add comments. Add additional dependencies to try and prevent later steps from happening when failures in earlier steps have occurred. * alloc.c (disksave_object_finalization): Don't arbitrarily clear Vconfigure_info_directory since it messes up separate build/source dirs. * console.c (get_console_variant): * console.c (Fvalid_console_type_p): * console.c (Fconsole_type): * console.h (console_variant): * device-msw.c: * device.c: Add accidentally omitted msprinter console and data descriptions. * print.c: * print.c (write_string_to_stdio_stream_1): * print.c (write_string_to_stdio_stream): * print.c (write_string_to_external_output_va): * print.c (stderr_out): * print.c (stdout_out): * print.c (debug_out): * print.c (fatal): * print.c (write_string_to_alternate_debugging_output): * print.c (debug_prin1): * print.c (ext_print_begin): * print.c (debug_print): * print.c (dpa): * print.c (debug_short_backtrace): * print.c (syms_of_print): * console-msw.c (write_string_to_mswindows_debugging_output): Add clear-left-side functionality to help keep stdio/stderr output from separate sources on separate lines. Generalize the different kinds of debugging output. Add dpa(). * profile.c: * profile.c (vars_of_profile): Add better docs on Unix/Windows differences. * regex.c: * regex.c (RE_TRANSLATE_1): * regex.c (REGEX_ALLOCATE_STACK): * regex.c (RE_MATCH_RELOCATE_MOVEABLE_DATA_POINTERS): * regex.c (RE_SEARCH_RELOCATE_MOVEABLE_DATA_POINTERS): * regex.c (re_search_2): * regex.c (re_match_2_internal): Fix problems with rel-alloc compilation caused by previous patch. * emacs.c (assert_failed): Seg fault rather than abort on Cygwin, since gdb doesn't trap aborts properly. * console-gtk-impl.h: * console-gtk-impl.h (struct gtk_frame): * console-gtk.h: * console-msw.h: * console-x-impl.h: * console-x-impl.h (struct x_frame): * console-x.h: * dialog-gtk.c: * dialog-x.c: * event-msw.c: * frame-gtk.c: * frame-gtk.c (allocate_gtk_frame_struct): * frame-gtk.c (gtk_mark_frame): * frame-x.c: * frame-x.c (allocate_x_frame_struct): * frame-x.c (x_mark_frame): * frameslots.h: * glyphs-gtk.c: * glyphs-x.c: * glyphs-x.c (x_redisplay_widget): * glyphs-x.c (x_button_redisplay): * glyphs-x.c (x_tab_control_redisplay): * gui-gtk.c: * gui-x.c: * gui-x.c (new_lwlib_id): * gui-x.c (struct widget_value_mapper): * gui-x.c (snarf_widget_value_mapper): * gui-x.c (snarf_widget_values_for_gcpro): * gui-x.c (gcpro_popup_callbacks): * gui-x.c (ungcpro_popup_callbacks): * gui-x.c (syms_of_gui_x): * gui-x.c (reinit_vars_of_gui_x): * inline.c: * menubar-gtk.c: * menubar-gtk.c (FRAME_GTK_MENUBAR_DATA): * menubar-gtk.c (set_frame_menubar): * menubar-gtk.c (gtk_update_frame_menubar_internal): * menubar-msw.c: * menubar-x.c: * menubar-x.c (MENUBAR_TYPE): * menubar-x.c (pre_activate_callback): * menubar-x.c (set_frame_menubar): * menubar-x.c (x_update_frame_menubar_internal): * menubar-x.c (x_free_frame_menubars): * menubar-x.c (command_builder_find_menu_accelerator): * menubar-x.c (Faccelerate_menu): * scrollbar-gtk.c: * scrollbar-x.c: * ui-gtk.c: Delete popup-data object. Delete menubar_data field from frames, since its usage is frame-specific. Delete menubar-msw.h, gui-x.h, gui-gtk.h. Clean up handling of lwlib callback data GCPRO'ing and add missing GCPRO recomputation in widget code. 2003-03-01 Ben Wing <ben@xemacs.org> * alloc.c: * alloc.c (xmalloc): * alloc.c (xcalloc): * alloc.c (xrealloc): * alloc.c (endif): * lisp.h (ALLOCA): * lisp.h (MALLOC_OR_ALLOCA): * lisp.h (DO_REALLOC): * ralloc.c: * ralloc.c (REGEX_MALLOC_CHECK): * ralloc.c (r_alloc): * ralloc.c (r_alloc_free): * ralloc.c (r_re_alloc): * regex.c: * regex.c (REGEX_ALLOCATE): * regex.c (REGEX_REALLOCATE): * regex.c (REGEX_ALLOCATE_STACK): * regex.c (TALLOC): * regex.c (INIT_FAIL_STACK): * regex.c (PUSH_FAILURE_POINT): * regex.c (EXTEND_BUFFER): * regex.c (FREE_STACK_RETURN): * regex.c (regex_compile): * regex.c (re_compile_fastmap): * regex.c (re_search_2): * regex.c (FREE_VARIABLES): * regex.c (re_match): * regex.c (re_match_2): * regex.c (re_match_2_internal): * regex.c (re_comp): * regex.c (regcomp): * regex.c (regexec): * regex.c (regfree): Use ALLOCA() in regex.c to avoid excessive stack allocation. Also fix subtle problem with REL_ALLOC() -- any call to malloc() (direct or indirect) may relocate rel-alloced data, causing buffer text to shift. After any such call, regex must update all its pointers to such data. Add a system, when ERROR_CHECK_MALLOC, whereby regex.c indicates all the places it is prepared to handle malloc()/realloc()/free(), and any calls anywhere in XEmacs outside of this will trigger an abort. * alloc.c (garbage_collect_1): * dialog-msw.c: * dialog-msw.c (dialog_proc): * eval.c: * eval.c (run_post_gc_hook): * eval.c (flagged_a_squirmer): * eval.c (issue_call_trapping_problems_warning): * eval.c (call_trapping_problems): * eval.c (run_hook_trapping_problems): * eval.c (safe_run_hook_trapping_problems): * eval.c (run_hook_with_args_in_buffer_trapping_problems): * eval.c (run_hook_with_args_trapping_problems): * eval.c (va_run_hook_with_args_trapping_problems): * eval.c (va_run_hook_with_args_in_buffer_trapping_problems): * eval.c (record_unwind_protect_restoring_int): * event-stream.c (run_pre_idle_hook): * event-stream.c (pre_command_hook): * event-stream.c (post_command_hook): * general-slots.h: * insdel.c: * insdel.c (signal_first_change): * insdel.c (signal_before_change): * insdel.c (signal_after_change): * lisp.h (POSTPONE_WARNING_ISSUE): * lisp.h: * menubar-msw.c: * menubar-msw.c (unsafe_handle_wm_initmenu_1): * menubar-x.c (pre_activate_callback): Change *run_hook*_trapping_problems to take a warning class, not a string. Factor out code to issue warnings, add flag to call_trapping_problems() to postpone warning issue, and make *run_hook*_trapping_problems issue their own warnings tailored to the hook, postponed in the case of safe_run_hook_trapping_problems() so that the appropriate message can be issued about resetting to nil only when not `quit'. Make record_unwind_protect_restoring_int() non-static. * dumper.c: * dumper.c (pdump_unsupported_dump_type): * dumper.c (pdump_register_sub): * dumper.c (pdump_store_new_pointer_offsets): * dumper.c (pdump_reloc_one): * dumper.c (pdump_dump_root_struct_ptrs): Issue notes about incremental linking problems under Windows. * fileio.c: * fileio.c (barf_or_query_if_file_exists): * fileio.c (Fsysnetunam): * fileio.c (Fencrypt_string): * fileio.c (Fdecrypt_string): * fileio.c (Fdo_auto_save): Mule-ize encrypt/decrypt-string code. * text.h (DEC_IBYTEPTR): * text.h (EI_ALLOC): * text.h (eicpy_lstr): * text.h (eicpy_raw_fmt): * text.h (eicpy_ch): * text.h (eicat_ch): * text.h (eisub_ei): * text.h (eisub_ch): * text.h (eito_external): * text.h (EI_CASECHANGE): Spacing changes. 2003-02-28 Ben Wing <ben@xemacs.org> * m/acorn.h: * m/alliant-2800.h (UNEXEC): * m/alliant.h: * m/altos.h (TERMCAP): * m/amdahl.h: * m/arm.h: * m/att3b.h: * m/aviion.h: * m/clipper.h: * m/cnvrgnt.h: * m/convex.h: * m/cydra5.h: * m/delta.h: * m/delta88k.h: * m/dpx2.h: * m/elxsi.h: * m/ews4800r.h: * m/gould.h: * m/hp800.h: * m/hp9000s300.h: * m/i860.h: * m/ibmps2-aix.h: * m/ibmrs6000.h: * m/ibmrt-aix.h: * m/ibmrt.h: * m/intel386.h: * m/iris4d.h: * m/iris5d.h: * m/iris6d.h: * m/irist.h: * m/m68k.h: * m/masscomp.h: * m/mg1.h: * m/mips-nec.h: * m/mips-siemens.h: * m/mips.h: * m/nh3000.h: * m/nh4000.h: * m/ns32000.h: * m/plexus.h: * m/powerpc.h (N_BADMAG): * m/sequent-ptx.h: * m/sequent.h: * m/sgi-challenge.h: * m/stride.h: * m/tad68k.h: * m/targon31.h: * m/tekxd88.h: * m/template.h: * m/tower32.h: * m/tower32v3.h: * m/ustation.h: * m/wicat.h: * m/xps100.h: * data.c: * data.c (init_data_very_early): * doc.c (get_doc_string): * doc.c (Fsnarf_documentation): * editfns.c (init_editfns): * emacs.c: * emacs.c (main_1): * emacs.c (syms_of_emacs): * lrecord.h (DUMPEDP): * ntheap.c: * process-unix.c: * process-unix.c (unix_init_process): * sysdep.c: * sysdep.c (init_system_name): * unexec.c: Delete all support for bit-rotten CANNOT_DUMP. Just use pdump. 2003-02-28 Ben Wing <ben@xemacs.org> * Makefile.in.in (all): * Makefile.in.in (PROGNAME): Removed. * Makefile.in.in (DUMP_ID): Removed. * Makefile.in.in (DUMP_TARGET): Removed. * Makefile.in.in (RECURSIVE_MAKE): * Makefile.in.in (EXE_TARGET): Removed. * Makefile.in.in (SHELL): Removed. * Makefile.in.in (RM): Removed. * Makefile.in.in (lispdir): Removed. * Makefile.in.in (moduledir): Removed. * Makefile.in.in (.SUFFIXES): Removed. * Makefile.in.in (libsrc): Removed. * Makefile.in.in (etcdir): Removed. * Makefile.in.in (srcdir): Removed. * Makefile.in.in (SRC): New. * Makefile.in.in (lwlib_libs): Removed. * Makefile.in.in (lwlib_deps): Removed. * Makefile.in.in (LWLIB_SRCDIR): * Makefile.in.in (LIBI18N): Removed. * Makefile.in.in (X11_libs): Removed. * Makefile.in.in (LISP): New. * Makefile.in.in (ETC): New. * Makefile.in.in (SRCMODULES): New. * Makefile.in.in (LIB_SRC): New. * Makefile.in.in (BLDSRC): New. * Makefile.in.in (BLDMODULES): New. * Makefile.in.in (ldap_objs): * Makefile.in.in (postgresql_objs): * Makefile.in.in (win32_objs): * Makefile.in.in (cppflags): Removed. * Makefile.in.in (cflags): Removed. * Makefile.in.in (ldflags): Removed. * Makefile.in.in (.c.o): Removed. * Makefile.in.in (.c.i): Removed. * Makefile.in.in (.c.s): Removed. * Makefile.in.in (lwlib_lib): New. * Makefile.in.in (other_files): * Makefile.in.in (LIBES): * Makefile.in.in (mo_file): * Makefile.in.in (mo_dir): Removed. * Makefile.in.in (DO_TEMACS): * Makefile.in.in (RAW_EXE): New. * Makefile.in.in (dump_temacs): * Makefile.in.in (debug_temacs): Removed. * Makefile.in.in (.NO_PARALLEL): * Makefile.in.in (release): * Makefile.in.in (update-elc-2): * Makefile.in.in (.PHONY): * Makefile.in.in (update-elc): Removed. * Makefile.in.in (FRC.needtodump): New. * Makefile.in.in (NEEDTODUMP): Removed. * Makefile.in.in (link_deps): * Makefile.in.in (temacs_deps): * Makefile.in.in (temacs_link_args): * Makefile.in.in (dump-id.c): * Makefile.in.in (obj_src): * Makefile.in.in (fastdump): * Makefile.in.in (all-elc): * Makefile.in.in (TopLevelEmacsShell.o): * Makefile.in.in (TopLevelEmacsShell.c.rtl): * Makefile.in.in (TransientEmacsShell.o): * Makefile.in.in (TransientEmacsShell.c.rtl): * Makefile.in.in (ExternalClient-Xm-shared.o): * Makefile.in.in (ExternalClient-Xt-shared.o): * Makefile.in.in (ExternalClient-Xlib-shared.o): * Makefile.in.in (ExternalClient-Xm-nonshared.o): * Makefile.in.in (ExternalClient-Xt-nonshared.o): * Makefile.in.in (ExternalClient-Xlib-nonshared.o): * Makefile.in.in (extw-Xt-shared.o): * Makefile.in.in (extw-Xlib-shared.o): * Makefile.in.in (extw-Xt-nonshared.o): * Makefile.in.in (extw-Xlib-nonshared.o): * Makefile.in.in (libextcli_Xm.a): * Makefile.in.in (libextcli_Xt.a): * Makefile.in.in (libextcli_Xlib.a): * Makefile.in.in (extw_link_end): * Makefile.in.in (libextcli_Xm.so.1): * Makefile.in.in (libextcli_Xt.so.1): * Makefile.in.in (libextcli_Xlib.so.1): * Makefile.in.in (config.h): * Makefile.in.in (allocax.o): * Makefile.in.in (sunplay.o): * Makefile.in.in (xemacs_res.o): * Makefile.in.in (dortl): * Makefile.in.in (lint): * Makefile.in.in (check-features): * Makefile.in.in (rtcmacs): * Makefile.in.in (run-rtcmacs): * Makefile.in.in (debug-temacs): * Makefile.in.in (PURIFY_FLAGS): * Makefile.in.in (puremacs): * Makefile.in.in (quantmacs): * Makefile.in.in (covmacs): * Makefile.in.in (extraclean): * Makefile.in.in (relock): * Makefile.in.in (install): * Makefile.in.in (depend): * Makefile.in.in (FRC.unicode-encapsulate): New. * Makefile.in.in (unicode-encapsulate): New. Lots o' cleanup. Use names like LISP, SRC instead of lispdir, srcdir, for consistency with xemacs.mak and the conventions in the rest of the file. Eliminate use of ${...} in favor of $(...), to make it easier to move code between this file and xemacs.mak. Fix dependency handling wrt NEEDTODUMP to eliminate problems some people (e.g. Vin) have been seeing with non-GNU makes. Write a long section about the subtle but oh-so-important differences in dependency processing between nmake, make, and GNU make. Add unicode-encapsulate target, from xemacs.mak. * chartab.c (fill_char_table): * chartab.c (put_char_table): * lrecord.h: Fix crash due to attempt to free objects across dump/undump. 2003-02-20 Mike Sperber <mike@xemacs.org> * Makefile.in.in (update-elc-2): Sequentialize dependencies even more. 2003-02-23 Ben Wing <ben@xemacs.org> * eval.c (unbind_to_hairy): damn those off-by-one errors. 2003-02-21 Ben Wing <ben@xemacs.org> * redisplay.c: * redisplay.c (run_post_redisplay_actions): Don't get in an infinite loop running post-redisplay actions. 2003-02-20 Ben Wing <ben@xemacs.org> * alloc.c: * alloc.c (garbage_collect_1): Make gc_currently_forbidden static. * config.h.in: * lisp.h: Move some stuff to lisp.h. * console-gtk.h: * console-impl.h: * console-impl.h (struct console_methods): * console-msw.h: * console-x.h: * event-Xt.c (emacs_Xt_handle_magic_event): * event-msw.c (emacs_mswindows_drain_queue): * event-msw.c (mswindows_handle_paint): * event-msw.c (emacs_mswindows_event_pending_p): * redisplay-gtk.c: * redisplay-gtk.c (gtk_clear_to_window_end): * redisplay-msw.c: * redisplay-msw.c (mswindows_redisplay_deadbox): * redisplay-msw.c (mswindows_clear_region): * redisplay-msw.c (mswindows_clear_frame): * redisplay-msw.c (console_type_create_redisplay_mswindows): * redisplay-output.c: * redisplay-output.c (redisplay_output_window): * redisplay-output.c (redisplay_redraw_exposed_window): * redisplay-output.c (redisplay_redraw_exposed_area): * redisplay-x.c: * redisplay-x.c (x_generate_shadow_pixels): * gtk-xemacs.c (gtk_xemacs_paint): * gtk-xemacs.c (gtk_xemacs_expose): Remove duplicated code to redraw exposed area. Add deadbox method needed by the generalized redraw code. Defer redrawing if already in redisplay. * frame-msw.c (mswindows_set_frame_size): * event-stream.c (event_stream_drain_queue): * event-stream.c (detect_input_pending): * event-stream.c (Finput_pending_p): * event-stream.c (event_stream_quit_p): * event-stream.c (run_pre_idle_hook): * event-stream.c (Fdiscard_input): * frame.c: Add comments about calling Lisp. * debug.c: * debug.c (FROB): * debug.c (syms_of_debug): * general-slots.h: Move generalish symbols to general-slots.h. * doprnt.c (get_doprnt_args): * doprnt.c (emacs_doprnt_1): reindent. * lisp.h (Dynarr_reset): * lisp.h (Dynarr_add): * lisp.h (Dynarr_increment): * lisp.h (Dynarr_pop): * lisp.h (Dynarr_delete_object): * dynarr.c: * dynarr.c (Dynarr_resize): * dynarr.c (Dynarr_insert_many): * dynarr.c (Dynarr_delete_many): * dynarr.c (Dynarr_memory_usage): Add debug code for locking a dynarr to catch invalid mods. Use in redisplay.c. * eval.c: * eval.c (throw_or_bomb_out): * eval.c (Fsignal): * eval.c (Feval): * eval.c (Ffuncall): * eval.c (set_trapping_problems_flags): * eval.c (call_trapping_problems): * file-coding.c: * file-coding.c (complex_vars_of_file_coding): Define file-name as alias for native not vice-versa. * frame-gtk.c: * frame-gtk.c (syms_of_frame_gtk): * frame-x.c: * frame-x.c (syms_of_frame_x): Move Qwindow_id to general-slots. * dialog-msw.c (handle_question_dialog_box): * glyphs-gtk.c (gtk_tab_control_redisplay): * glyphs-msw.c: * glyphs-msw.c (mswindows_redisplay_widget): * glyphs-msw.c (mswindows_widget_instantiate): * glyphs-msw.c (mswindows_button_instantiate): * glyphs-msw.c (mswindows_button_redisplay): * glyphs-msw.c (mswindows_tab_control_instantiate): * glyphs-msw.c (mswindows_tab_control_redisplay): * glyphs-widget.c: * glyphs-widget.c (widget_normalize): * glyphs-widget.c (tab_control_order_only_changed): * glyphs-widget.c (layout_query_geometry): * glyphs-x.c: * glyphs-x.c (x_widget_instantiate): * glyphs-x.c (x_button_instantiate): * glyphs-x.c (x_progress_gauge_instantiate): * glyphs-x.c (x_tab_control_instantiate): * glyphs-x.c (x_tab_control_redisplay): * gui.c: * gui.c (gui_item_value): * gui.c (gui_item_active_p): * gui.c (gui_item_selected_p): * gui.c (gui_item_list_find_selected): * gui.c (gui_item_included_p): * gui.c (gui_value_equal): * gui.c (gui_item_equal_sans_selected): * gui.c (gui_item_equal): * gui.h: * menubar-msw.c (populate_menu_add_item): * menubar.c (Fmenu_find_real_submenu): Ensure that various glyph functions that eval within redisplay protect the evals. Same for calls to internal_equal(). Modify various functions, e.g. gui_item_*(), to protect evals within redisplay, taking an in_redisplay parameter if it's possible for them to be called both inside and outside of redisplay. * gutter.c: * gutter.c (calculate_gutter_size): * gutter.c (redraw_exposed_gutters): * gutter.c (Fset_default_gutter_position): * gutter.c (gutter_specs_changed): * gutter.c (gutter_geometry_changed_in_window): Defer specifier-changed updating till after redisplay, if necessary, since we need to enter redisplay to do it. * gutter.c (Fredisplay_gutter_area): Do nothing if in redisplay. * lisp.h: Add version of alloca() for use in function calls. * lisp.h (XCADR): Add XCAD[D+]R up to 6 D's, and aliases X1ST, X2ND, etc. * frame.c (invalidate_vertical_divider_cache_in_frame): * frame.c (adjust_frame_size): * frame.c (store_minibuf_frame_prop): * frame.c (Fset_frame_properties): * frame.c (internal_set_frame_size): * frame.c (Fset_frame_height): * frame.c (Fset_frame_pixel_height): * frame.c (Fset_frame_displayable_pixel_height): * frame.c (Fset_frame_width): * frame.c (Fset_frame_pixel_width): * frame.c (Fset_frame_displayable_pixel_width): * frame.c (Fset_frame_size): * frame.c (Fset_frame_pixel_size): * frame.c (Fset_frame_displayable_pixel_size): * frame.c (change_frame_size_1): * frame.c (change_frame_size): * frame.h: * redisplay.c: * redisplay.c (REDISPLAY_PREEMPTION_CHECK \): * redisplay.c (generate_displayable_area): * redisplay.c (regenerate_window): * redisplay.c (enter_redisplay_critical_section): * redisplay.c (exit_redisplay_critical_section): * redisplay.c (redisplay_frame): * redisplay.c (eval_within_redisplay): * redisplay.c (free_display_line): * redisplay.c (Fredisplay_echo_area): * redisplay.c (vars_of_redisplay): * redisplay.h: * signal.c (check_what_happened): * toolbar.c: * toolbar.c (Fset_default_toolbar_position): Redo critical-section code and move from frame.c to redisplay.c. Require that every place inside of redisplay catch errors itself, not at the edge of the critical section (thereby bypassing the rest of redisplay and leaving things in an inconsistent state). Introduce separate means of holding frame-size changes without entering a complete critical section. Introduce "post-redisplay" methods for deferring things till after redisplay. Abort if we enter redisplay reentrantly. Disable all quit checking in redisplay since it's too dangerous. Ensure that all calls to QUIT trigger an abort if unprotected. * redisplay.c: * scrollbar-gtk.c (gtk_update_frame_scrollbars): * scrollbar-x.c (x_update_frame_scrollbars): * scrollbar.c: * scrollbar.c (update_window_scrollbars): Create enter/exit_redisplay_critical_section_maybe() for code that needs to ensure it's in a critical section but doesn't interfere with an existing critical section. * sysdep.c: * sysdep.c (qxe_execve): Use _wexecve() when under Windows NT for Unicode correctness. * text.c: * text.c (new_dfc_convert_now_damn_it): * text.c (new_dfc_convert_malloc): * text.c (find_pos_of_existing_active_dfc_e2c): * text.c (new_dfc_convert_alloca): * text.c (new_dfc_convert_size): * text.c (reinit_vars_of_text): * text.h: * text.h (eicpy_ext_len): * text.h (eicpy_ext): * text.h (eito_external): * text.h (Qx_atom_name_encoding): Add new_dfc() functions, which return an alloca()ed value rather than requiring an lvalue. (Not really used yet; used in another workspace, to come.) Add some macros for SIZED_EXTERNAL. Update the encoding aliases after involved scrutinization of the X manual. * unicode.c: * unicode.c (init_blank_unicode_tables): * unicode.c (init_charset_unicode_tables): * unicode.c (syms_of_unicode): Answer the anonymous but suspiciously Turnbullian questions. Rename parse-unicode-translation-table to load-unicode-mapping-table, as suggested. 2003-02-19 Ben Wing <ben@xemacs.org> * Makefile.in.in (all): New. * Makefile.in.in (EXE_TARGET): * Makefile.in.in (X11_libs): * Makefile.in.in (external_widget_objs): * Makefile.in.in (other_files): * Makefile.in.in (extw_link_beg): Removed. * Makefile.in.in (mo_file): * Makefile.in.in (extw_link_mid): Removed. * Makefile.in.in (extw_link_end): Removed. * Makefile.in.in (temacs_loadup): Removed. * Makefile.in.in (run_temacs): Removed. * Makefile.in.in (dump_temacs): * Makefile.in.in (DO_TEMACS): New. * Makefile.in.in (DO_XEMACS): New. * Makefile.in.in (debug_temacs): * Makefile.in.in (LISP): New. * Makefile.in.in (BATCH): New. * Makefile.in.in (BATCH_PACKAGES): New. * Makefile.in.in (TEMACS_BATCH): New. * Makefile.in.in (XEMACS_BATCH): New. * Makefile.in.in (XEMACS_BATCH_PACKAGES): New. * Makefile.in.in (temacs_loadup_args): New. * Makefile.in.in (dump_temacs_args): New. * Makefile.in.in (run_temacs_args): New. * Makefile.in.in (release): * Makefile.in.in (build-the-mofo): New. * Makefile.in.in (update-elc): New. * Makefile.in.in (update-elc-2): New. * Makefile.in.in (load-shadows): New. * Makefile.in.in (NEEDTODUMP): New. * Makefile.in.in (obj_src): * Makefile.in.in (FRC.update-elc.stamp): Removed. * Makefile.in.in (update-elc.stamp): Removed. * Makefile.in.in (dortl): Removed. * Makefile.in.in (link_deps): New. * Makefile.in.in (temacs_deps): New. * Makefile.in.in (temacs_link_args): New. * Makefile.in.in (dump-id.c): New. * Makefile.in.in (TopLevelEmacsShell.o): * Makefile.in.in (LINT.c): Removed. * Makefile.in.in (LINTFILES): Removed. * Makefile.in.in (LINTINCLUDES): Removed. * Makefile.in.in (LINTFLAGS): Removed. * Makefile.in.in (lint): Removed. * Makefile.in.in (dump_elcs): Removed. * Makefile.in.in (all-elc): New. * Makefile.in.in (dump-elcs): Removed. * Makefile.in.in (run-temacs): Removed. * Makefile.in.in (testdir): Removed. * Makefile.in.in (batch_test_emacs): Removed. * Makefile.in.in (check-temacs): Removed. * Makefile.in.in (rtc_patch.o): Removed. * Makefile.in.in (rtcmacs): Removed. * Makefile.in.in (run-rtcmacs): Removed. * Makefile.in.in (debug-temacs): Removed. * Makefile.in.in (PURIFY_PROG): Removed. * Makefile.in.in (PURIFY_LIBS): Removed. * Makefile.in.in (PURIFY_FLAGS): Removed. * Makefile.in.in (puremacs): Removed. * Makefile.in.in (libextcli_Xlib.a): * Makefile.in.in (QUANTIFY_PROG): Removed. * Makefile.in.in (QUANTIFY_HOME): Removed. * Makefile.in.in (QUANTIFY_FLAGS): Removed. * Makefile.in.in (quantmacs): Removed. * Makefile.in.in (PURECOV_PROG): Removed. * Makefile.in.in (covmacs): Removed. * Makefile.in.in (xemacs_res.o): * Makefile.in.in (clean): Major surgery. Move all stuff related to building anything in the src/ directory from top-level Makefile.in.in to here. Simplify the dependencies. Rearrange into logical subsections. Synchronize the main compile/dump/build-elcs section with xemacs.mak, which is already clean and in good working order. Remove weirdo targets like `all-elc[s]', dump-elc[s], etc. Add additional levels of macros \(e.g. DO_TEMACS, DO_XEMACS, TEMACS_BATCH, XEMACS_BATCH, XEMACS_BATCH_PACKAGES) to factor out duplicated stuff. Clean up handling of "HEAP_IN_DATA" (Cygwin) so it doesn't need to ignore the return value from dumping. Add .NO_PARALLEL since various aspects of building and dumping must be serialized but do not always have dependencies between them (this is impossible in some cases). Everything related to src/ now gets built in one pass in this directory by just running `make' (except the Makefiles themselves and config.h, paths.h, Emacs.ad.h, and other generated .h files). * console.c (Fvalid_console_type_p): Update list of possibly valid console types. * emacs.c: * emacs.c (check_compatible_window_system): * emacs.c (main_1): * emacs.c (standard_args): * emacs.c (sort_args): * emacs.c (main): Rationalize the specifying and handling of the type of the first frame. This was originally prompted by a workspace in which I got GTK to compile under C++ and in the process fixed it so it could coexist with X in the same build -- hence, a combined TTY/X/MS-Windows/GTK build is now possible under Cygwin. (However, you can't simultaneously *display* more than one kind of device connection -- but getting that to work is not that difficult. Perhaps a project for a bored grad student. I (ben) would do it but don't see the use.) To make sense of this, I added new switches that can be used to specifically indicate the window system: -x [aka --use-x], -tty \[aka --use-tty], -msw [aka --use-ms-windows], -gtk [aka --use-gtk], and -gnome [aka --use-gnome, same as --use-gtk]. -nw continues as an alias for -tty. When none have been given, XEmacs checks for other parameters implying particular device types (-t -> tty, -display -> x [or should it have same treatment as DISPLAY below?]), and has ad-hoc logic afterwards: if env var DISPLAY is set, use x (or gtk? perhaps should check whether gnome is running), else MS Windows if it exsits, else TTY if it exists, else stream, and you must be running in batch mode. This also fixes an existing bug whereby compiling with no x, no mswin, no tty, when running non- interactively (e.g. to dump) I get "sorry, must have TTY support". * emacs.c (Frun_emacs_from_temacs): Turn on Vstack_trace_on_error so that errors are debuggable even when occurring extremely early in reinitialization. * emacs.c (pause_so_user_can_read_messages): Try to make sure that the user can see message output under Windows (i.e. it doesn't just disappear right away) regardless of when it occurs, e.g. in the middle of creating the first frame. * emacs.c (Femacs_run_status): * emacs.c (syms_of_emacs): Define new function `emacs-run-status', indicating whether XEmacs is noninteractive or interactive, whether raw, post-dump/pdump-load or run-temacs, whether we are dumping, whether pdump is in effect. * event-stream.c: It's "mommas are fat", not "momas are fat". Fix other typo. * event-stream.c (Fnext_event): Conditionalize in_menu_callback check on HAVE_MENUBARS, because it won't exist on w/o menubar support, * lisp.h: More hackery on RETURN_NOT_REACHED. Cygwin v3.2 DOES complain here if RETURN_NOT_REACHED() is blank, as it is for GCC 2.5+. So make it blank only for GCC 2.5 through 2.999999999999999. Declare Vstack_trace_on_error. * profile.c: Need to include "profile.h" to fix warnings. * sheap.c (report_sheap_usage): Don't fatal() when need to rerun Make, just stderr_out() and exit(0). That way we can distinguish between a dumping failing expectedly (due to lack of stack space, triggering another dump) and unexpectedly, in which case, we want to stop building. (or go on, if -K is given) * syntax.c (Fmatching_paren): * syntax.c (find_start_of_comment): * syntax.h: Use ints where they belong, and enum syntaxcode's where they belong, and fix warnings thereby. * syntax.h: Fix crash caused by an edge condition in the syntax-cache macros. * text.h: * text.h (LISP_STRING_TO_ALLOCA): * text.h (alloca_ibytes): Spacing fixes. * xmotif.h: New file, to get around shadowing warnings. * EmacsManager.c: * event-Xt.c: * glyphs-x.c: * gui-x.c: * input-method-motif.c: * xmmanagerp.h: * xmprimitivep.h: Include xmotif.h. * alloc.c: Conditionalize in_malloc on ERROR_CHECK_MALLOC. * config.h.in: * file-coding.h: * fileio.c: * getloadavg.c (getloadavg): * select-x.c: * signal.c (qxe_setitimer): * sysdep.c (total_data_usage): * sysfile.h: * systime.h: * text.c (dfc_convert_to_external_format): * text.c (dfc_convert_to_internal_format): * unicode.c (dfc_coding_system_is_unicode): Eliminate HAVE_WIN32_CODING_SYSTEMS, use WIN32_ANY instead. Replace defined (WIN32_NATIVE) || defined (CYGWIN) with WIN32_ANY. * lisp.h: More futile attempts to walk and chew gum at the same time when dealing with subr's that don't return. 2003-02-19 Ben Wing <ben@xemacs.org> * eval.c (unbind_to_hairy): Don't check_quit() unless we're unbinding a real Lisp `unwind-protect' since check_quit() does lots of weird things and not all callers are prepared for it. * frame.c: * frame.c (delete_frame_internal): Make absolutely sure there is no quit checking while we are in a "critical section" during frame deletion. ChangeLog Entries from tests/ChangeLoggoto announcement, changes, summary 2003-04-24 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.12 "carrot" is released. 2003-04-23 Stephen J. Turnbull <stephen@xemacs.org> * automated/test-harness.el (test-harness-risk-infloops): New variable. * automated/lisp-tests.el (split-string): Add tests for new API spec. Conditionally re-enable potential infloops. 2003-04-17 Stephen J. Turnbull <stephen@xemacs.org> * automated/regexp-tests.el (stale match data): Update comment. (replace-match): Check-Error after failed match. 2003-04-15 Stephen J. Turnbull <stephen@xemacs.org> * automated/test-harness.el (test-harness-known-bug): Deleted. (test-harness-failure-tag, test-harness-success-tag): New variables. (Known-Bug-Expect-Failure): Bind them. (Implementation-Incomplete-Expect-Failure): New macro. Bind *-tag. (Print-Failure, Print-Pass): Use *-tag instead of literal strings. * automated/symbol-tests.el (weak reference uniqueness): Mike sez tests of garbage collector are due to incomplete descriptorization of lisp types. Tag with Implementation-Incomplete-Expect-Failure if KKCC. 2003-04-03 Stephen J. Turnbull <stephen@xemacs.org> * automated/regexp-tests.el: Change known-bug status of Mule ranges. 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org> * automated/regexp-tests.el: Change known-bug status of "\\b". 2003-02-21 Stephen J. Turnbull <stephen@xemacs.org> * automated/mule-tests.el (charsets-in-string): (charsets-in-string): Not all that glitters is gold, nor eq that which is equal. D'oh. goto announcement, changes, summary |
||||||||||||||||
|
|
||||||||||||||||
Conform with <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Automatically validated by PSGML