Brief summary of changes to 21.5.1 "anise"
-- This release contains a huge pile of changes by Ben Wing, including
both bug fixes and features. Highlights:
-- Many changes to make printing work on Windows
-- byte-compilation speed improvements
-- New functions for cleanly eliminating byte-compiler warnings
-- Remove core bytecompiler warnings
-- Improve interactive help interface
-- etags improvements
-- Better "About XEmacs" page
-- Windows configury changes
-- Get QUIT working on Windows
-- Fix shy group regexp code
-- etc. etc.
-- The `short-name' argument to make-charset now works correctly
-- Yoshiaki Kasahara
-- `custom' changes -- Didier Verna
-- SET_FACE_PROPERTY bug fix -- Jerry James
-- Unix tty configury changes -- Martin Buchholz
-- Fix compile error with g++ on bsdi -- Martin Buchholz
-- Fix crash with xlc -O3 -- Martin Buchholz
-- Fix link error with (pre-release) gcc 3.0 -- Martin Buchholz
-- Fix build error if system has makeinfo 3.12 -- Martin Buchholz
-- Speed up `intern' and hash tables containing strings -- Martin Buchholz
-- Make hash table mapping safe -- Martin Buchholz
-------- ChangeLog entries from xemacs-21.5.1/ChangeLog -------
2001-01-31 Jason R. Mastaler <jason(a)xemacs.org>
* etc/FTP: Updated FTP mirrors list.
2001-05-04 Martin Buchholz <martin(a)xemacs.org>
* configure.in (opsys):
Use lower-case `uname -s` as the default value for opsys.
The previous code effectively did the non-sensical
opsys=$canonical because [] magically disappear in configure.in.
-------- ChangeLog entries from xemacs-21.5.1/lib-src/ChangeLog -------
2001-04-29 Ben Wing <ben(a)xemacs.org>
* gnuclient.c (filename_expand): Warning fix.
2001-04-20 Ben Wing <ben(a)xemacs.org>
* .cvsignore: Added stuff for Windows.
-------- ChangeLog entries from xemacs-21.5.1/lisp/ChangeLog -------
2001-05-06 Ben Wing <ben(a)xemacs.org>
* dialog.el (make-dialog-box):
* menubar-items.el (default-menubar):
* printer.el (generic-print-buffer):
* printer.el (generic-print-region):
implement printing the selection when it's selected.
unrelated:
* minibuf.el (input-error):
* subr.el (error):
a couple of error cleanups.
* update-elc.el ((preloaded-file-list site-load-packages need-to-dump dumped-exe)):
* update-elc.el (update-elc-files-to-compile):
if bytecomp or byte-optimize need recompiling, then load
the .el version of them first, recompile them, and reload
the .elc versions to recompile everything else (so we won't
be waiting until the cows come home).
2001-05-05 Ben Wing <ben(a)xemacs.org>
* subr.el (error):
Add missing errors to the doc string.
2001-05-05 Ben Wing <ben(a)xemacs.org>
* dialog.el (make-dialog-box): fix doc string.
* menubar-items.el (default-menubar): Add Page Setup for Windows,
take out Pretty Print.
* printer.el:
* printer.el (printer-current-device): New.
* printer.el (Printer-get-device): New.
* printer.el (Printer-clear-device): New.
* printer.el (generic-page-setup): New.
* printer.el (generic-print-buffer):
* printer.el (generic-print-region):
Implement Page Setup. Handle errors properly.
unrelated:
* gtk-init.el: Fix the warning properly.
2001-05-04 Ben Wing <ben(a)xemacs.org>
* printer.el (generic-print-buffer):
* printer.el (generic-print-region):
Enable dialog boxes. Apply workaround recommended by Kirill.
* simple.el (kill-whole-line):
* simple.el (kill-line-1):
* simple.el (kill-entire-line):
* simple.el (kill-line):
* simple.el (backward-kill-line):
Take out interactive dependence of kill-whole-line.
2001-04-22 Ben Wing <ben(a)xemacs.org>
----------------------- byte-comp warning fixes -----------------
* bytecomp-runtime.el:
* bytecomp-runtime.el (with-boundp): New.
* bytecomp-runtime.el (if-boundp): New.
* bytecomp-runtime.el (declare-boundp): New.
* bytecomp-runtime.el (globally-declare-boundp): New.
* bytecomp-runtime.el (byte-compile-with-fboundp): New.
* bytecomp-runtime.el ('with-fboundp-1): New.
* bytecomp-runtime.el (with-fboundp): New.
* bytecomp-runtime.el (if-fboundp): New.
* bytecomp-runtime.el (declare-fboundp): New.
* bytecomp-runtime.el (globally-declare-fboundp): New.
* bytecomp-runtime.el (byte-compile-with-byte-compiler-warnings-suppressed): New.
* bytecomp-runtime.el ('with-byte-compiler-warnings-suppressed-1): New.
* bytecomp-runtime.el (with-byte-compiler-warnings-suppressed): New.
* bytecomp-runtime.el (with-obsolete-variable): New.
* bytecomp-runtime.el (with-obsolete-function): New.
New functions for cleanly eliminating byte-compiler warnings.
Their definitions require no changes at all in bytecomp.el,
meaning that any package that wants to use them and be compatible
with older versions of XEmacs need only copy the code and rename
the functions (i.e. prefix them with the package name).
* apropos.el (apropos-symbol-face):
* apropos.el (apropos-keybinding-face):
* apropos.el (apropos-label-face):
* apropos.el (apropos-property-face):
* cl-extra.el (cl-map-overlays):
* coding.el:
* coding.el (set-keyboard-coding-system):
* coding.el (set-terminal-coding-system):
* console.el (resume-pid-console):
* dialog-gtk.el:
* dialog-gtk.el (popup-builtin-open-dialog):
* dialog-gtk.el (popup-builtin-color-dialog):
* dragdrop.el (experimental-dragdrop-drop-mime-default):
* dragdrop.el (gtk-start-drag):
* dragdrop.el (gtk-start-drag-region):
* faces.el (init-face-from-resources):
* faces.el (init-device-faces):
* faces.el (init-frame-faces):
* faces.el (init-global-faces):
* faces.el (set-face-stipple):
* files.el (set-visited-file-name):
* files.el (basic-save-buffer):
* files.el (save-some-buffers-1):
* files.el (file-remote-p):
* fill.el (fill-move-forward-to-break-point):
* fill.el (find-space-insertable-point):
* font-lock.el:
* frame.el (suspend-or-iconify-emacs):
* frame.el (suspend-emacs-or-iconify-frame):
* gdk.el:
* generic-widgets.el:
* generic-widgets.el (build-ui::radio-group):
* generic-widgets.el (build-ui::button):
* glade.el:
* gnome-widgets.el:
* gnome.el:
* gtk-extra.el:
* gtk-faces.el (gtk-choose-font):
* gtk-file-dialog.el:
* gtk-file-dialog.el (gtk-file-dialog-fill-file-list):
* gtk-file-dialog.el (gtk-file-dialog-fill-directory-list):
* gtk-file-dialog.el (gtk-file-dialog-new):
* gtk-font-menu.el:
* gtk-font-menu.el (gtk-reset-device-font-menus):
* gtk-init.el:
* gtk-init.el (gtk-initialize-compose):
* gtk-package.el:
* gtk-password-dialog.el:
* gtk-widget-accessors.el:
* gtk-widgets.el:
* gtk.el:
* isearch-mode.el (isearch-help-or-delete-char):
* ldap.el:
* lib-complete.el (read-library-internal):
* lib-complete.el (read-library):
* lib-complete.el (read-library-name):
* lisp-mnt.el (lm-report-bug):
* minibuf.el (minibuffer-smart-mouse-tracker):
* minibuf.el (minibuffer-smart-select-kludge-filename):
* minibuf.el (read-file-name-internal-1):
* minibuf.el (read-color-completion-table):
* modeline.el (modeline-toggle-read-only):
* mouse.el (mouse-consolidated-yank):
* mouse.el (default-mouse-track-maybe-own-selection):
* msw-font-menu.el (mswindows-reset-device-font-menus):
* multicast.el (open-multicast-group):
* mwheel.el:
* package-get.el (package-get-update-base-from-buffer):
* scrollbar.el (init-scrollbar-from-resources):
* symbols.el:
* syntax.el (describe-syntax-table):
* toolbar.el (init-toolbar-from-resources):
* toolbar-items.el (toolbar):
* toolbar-items.el (toolbar-paste):
* tty-init.el (init-pre-tty-win):
* tty-init.el (init-post-tty-win):
* wid-browse.el (widget-browse-sexp):
* widgets-gtk.el:
* x-faces.el:
* x-font-menu.el:
* x-font-menu.el (x-font-menu-font-data):
* x-init.el:
* x-misc.el:
* x-mouse.el:
* x-scrollbar.el:
* x-select.el:
* x-win-sun.el:
* x-win-xfree86.el:
Eliminate byte-compiler warnings using the new functions in
bytecomp-runtime.el.
* coding.el (coding-system-get): New.
* coding.el (coding-system-put): New.
* coding.el (coding-system-category): New.
* mule\mule-misc.el (coding-system-get): Removed.
* mule\mule-misc.el (coding-system-put): Removed.
* mule\mule-misc.el (coding-system-category): Removed.
Move these functions, since they're not Mule-specific and
are used in prefer-coding-system.
* font.el:
* font.el (cl):
* font.el (set-font-family):
* font.el (set-font-weight):
* font.el (set-font-style):
* font.el (set-font-size):
* font.el (set-font-registry):
* font.el (set-font-encoding):
* font.el (font-family):
* font.el (font-weight):
* font.el (font-style):
* font.el (font-size):
* font.el (font-registry):
* font.el (font-encoding):
* font.el (set-font-style-by-keywords):
* font.el (font-properties-from-style):
* font.el (font-combine-fonts-internal):
* font.el (font-x-font-regexp):
* font.el (x-font-create-object):
* font.el (x-font-create-name):
* font.el (ns-font-create-name):
* font.el (mswindows-font-create-name):
* font.el (font-update-device-fonts):
* font.el (font-update-one-face):
* font.el (font-rgb-color-p):
* font.el (font-rgb-color-red):
* font.el (font-tty-compute-color-delta):
* font.el (font-normalize-color):
This file was incredibly ugly. Clean it up. Avoid using defsubst
for any exported functions, to avoid possible compatibility
problems if we later change the internal interface. (It happened
before, with face accessors, between 19.8 and 19.9). Fix tons
of warnings.
* gpm.el:
* gpm.el (gpm-is-supported-p): New.
* gpm.el (gpm-delete-device-hook):
Clean up (new function gpm-is-supported-p eliminates duplicate
code in gpm-create/delete-device-hook) and eliminate warnings.
---------- make byte-recompile-directory work in the ---------
core `lisp' dir, even in the absence of
a Mule XEmacs (i.e. make it skip the Mule
files rather than trying to compile them).
now you should be able to do `touch *.el'
in the `lisp' dir, then
M-x byte-recompile-directory, and get no
warnings.
* bytecomp.el:
* bytecomp.el (byte-recompile-ignore-uncompilable-mule-files): New.
* bytecomp.el (byte-compile-inbuffer):
* bytecomp.el (byte-compile-inbuffer)): New.
* bytecomp.el (byte-compile-outbuffer)): New.
* bytecomp.el (byte-compile-warn):
* bytecomp.el (byte-recompile-directory):
* bytecomp.el (byte-recompile-file):
Avoid trying to compile Mule files in byte-recompile-directory
when we're not in a Mule XEmacs, since we're highly likely to get
syntax errors.
* mule\arabic.el:
* mule\canna-leim.el:
* mule\english.el:
* mule\greek.el:
* mule\kinsoku.el:
* mule\latin.el:
* mule\misc-lang.el:
* mule\mule-category.el:
* mule\mule-ccl.el:
* mule\mule-charset.el:
* mule\mule-cmds.el:
* mule\mule-coding.el:
* mule\mule-help.el:
* mule\mule-init.el:
* mule\mule-misc.el:
* mule\mule-tty-init.el:
* mule\mule-x-init.el:
* mule\thai-xtis-chars.el:
* mule\viet-chars.el:
Add a coding-system cookie to all Mule files so that
byte-recompile-directory ignores them.
* code-files.el (load):
* code-files.el (find-coding-system-magic-cookie): Removed.
* files.el:
* files.el (find-coding-system-magic-cookie-in-file): New.
Magic cookie function moved to files.el from code-files.el (for
use by bytecomp even in a non-coding-system XEmacs), and changed
names and semantics for use by bytecomp. NOTE: IMO this is an
internal function that we can change as we like (and there is
absolutely no code anywhere else using the function).
---------------- GUI improvements: menus, help -------------------
* help.el:
* help.el (help-map): Removed.
* help.el (help-for-help):
* help.el (Help-princ-face):
* help.el (Help-prin1-face):
* help.el (describe-function-1):
* help.el (describe-variable):
Rearrange order of keymap declarations to be alphabetical.
Improve help on help to include all bindings, and group by
category. Add bindings for new Info commands. Remove
warnings. Use command-hyper-apropos in place of command-apropos.
* hyper-apropos.el:
* hyper-apropos.el (hyper-apropos-programming-apropos):
* hyper-apropos.el (command-hyper-apropos): New.
Add a function to do the equivalent of command-apropos.
* help-macro.el (make-help-screen):
Evals its help-text argument so you can put expressions there.
Used now by help-for-help.
* info.el:
* info.el (Info-search):
* info.el (Info-search-next): New.
* info.el (Info-index): Removed.
* info.el (Info-find-index-alternatives): New.
* info.el (Info-read-search-text-regexp): New.
* info.el (Info-search-text-in-lispref): New.
* info.el (Info-search-text-in-xemacs): New.
* info.el (Info-search-index-in-lispref): New.
* info.el (Info-search-index-in-xemacs-and-lispref): New.
* info.el (Info-mode-map):
Add binding to continue text searches. Expand index searches to
work over multiple info documents. Add commands to search
text/index in User and Lispref.
* lisp-mode.el (construct-lisp-mode-menu):
Add new entry, "Uncomment Region" (parallels "Comment Out Region").
* menubar-items.el (default-menubar):
* menubar-items.el (default-popup-menu):
Redo Help menu; add bindings for new Info commands to search the
index or text of the User and Lispref manuals. Add command for
mark-paragraph, activate-region. Make Edit->R accelerator be
rectangle, not register (more commonly used), and put rectangle
first. Fix the Edit Init File entry to never load the .elc file.
Simplify the default-popup-menu. Add Cmds->Tabs menu.
* menubar.el (popup-buffer-menu): Doc fix.
* menubar.el ((boundp 'menu-accelerator-map)):
Use kp-left not kp_left, etc.
---------------- Miscellaneous bug fixes/cleanup -------------------
* bytecomp-runtime.el (byte-compiler-options):
Correct doc string.
* easymenu.el (easy-menu-do-define): fix extra quote.
* fill.el (fill-paragraph-or-region):
Rewrite to be more correct -- use call-interactively so that
we always get exactly the same behavior as if the functions
were called directly.
* font-lock.el (font-lock-fontify-pending-extents):
* gutter-items.el (clear-progress-feedback):
* gutter-items.el (abort-progress-feedback):
* gutter-items.el (raw-append-progress-feedback):
* simple.el (clear-message):
* simple.el (raw-append-message):
No need to fiddle with zmacs-region-stays, now that bogus
clearing of it (2001-04-28 src/ChangeLog) is removed.
* dialog.el (make-dialog-box):
Put dialog titles back in -- this time correctly. Fix various
other problems with leaks and such.
* keymap.el (key-sequence-list-description):
Clean up fun to always correctly canonicalize.
* simple.el:
* simple.el (delete-forward-p):
* simple.el (comment-padding): New.
* simple.el (comment-region):
* simple.el (do-auto-fill):
* simple.el (indent-new-comment-line):
Clean up Kinsoku comments, synch comment-region with FSF 20.7.
* simple.el (region-exists-p):
* simple.el (region-active-p):
Add comment about which one is correct to use in menu specs.
* sound.el (load-sound-file):
Minor code clean up.
* startup.el:
* startup.el (command-line-early):
* startup.el (initial-scratch-message):
Comment changes. Add info about sample.init.el to splash screen.
Improve initial-scratch-message and clarify purpose of Scratch
buffer. Fix byte-compile warning.
------------------------ Added features -------------------------
* etags.el:
* etags.el (tags-check-parent-directories-for-tag-files): New.
* etags.el (buffer-tag-table-list):
Add new variable to control whether etags checks all parent
directories for tag files. (On by default.)
* hash-table.el: New file, useful utility functions.
* dumped-lisp.el (preloaded-file-list): Dump hash-table.el.
2001-05-03 Adrian Aichner <adrian(a)xemacs.org>
* build-report.el: Remove CVS keywords since this file has been in
core lisp for a while now.
* build-report.el (build-report-make-output-files): Fix typo.
2001-04-30 Ben Wing <ben(a)xemacs.org>
* printer.el:
* printer.el (printer-page-header):
* printer.el (Print-context): New.
* printer.el (printer-page-footer):
* printer.el (generate-header-element): New.
* printer.el (generate-header-line): New.
* printer.el (print-context-property):
* printer.el (generic-print-buffer):
* printer.el (generic-print-region):
Implement headers and footers. Implement calling Print dialog box
(#### but it doesn't quite work yet).
2001-04-28 Ben Wing <ben(a)xemacs.org>
* about.el (xemacs-hackers):
* about.el (about-url-alist):
* about.el (about-personal-info):
* about.el (about-hacker-contribution):
More contributions.
* simple.el (handle-post-motion-command):
Fix spurious setting of zmacs-region-stays to t after a non-shift
motion command.
* etags.el (find-tag-internal):
Sync up with FSF 20.7, to fix bugs handling some etags line formats.
* gtk-init.el (init-post-gtk-win):
* msw-init.el (init-post-mswindows-win):
* x-init.el:
* x-init.el (x-activate-region-as-selection): Removed.
* x-init.el (init-post-x-win):
* keydefs.el (global-map):
* simple.el:
* startup.el (command-line):
* toolbar-items.el:
* toolbar-items.el (init-x-toolbar-list): Removed.
* toolbar-items.el (init-toolbar-list): New.
* toolbar-items.el (init-x-toolbar): Removed.
* toolbar-items.el (init-toolbar): New.
* toolbar-items.el (x-init-toolbar-from-resources): Removed.
* toolbar.el:
Move non-window-system specific code that was duplicated in
all window systems into the generic code.
* gutter.el:
* gutter.el (init-gutter): Removed. (unused)
* mouse.el:
* mouse.el (default-mouse-track-maybe-own-selection):
* mouse.el (mouse-track-activate-rectangular-selection): New.
* select.el:
* select.el (disown-selection):
* select.el (activate-region-as-selection):
* select.el (primary-selection-extent):
* select.el (valid-simple-selection-p):
Clean up the rectangle code w.r.t. selections. You'll now get
the right text copied into the primary selection (but not the
clipboard yet, unfortunately -- that really requires defining
our own rectangle type).
2001-04-25 IKEYAMA Tomonori <tomonori(a)suiyokai.org>
* faces.el (make-face-bold):
* faces.el (make-face-italic):
* faces.el (make-face-bold-italic):
* faces.el (make-face-unbold):
* faces.el (make-face-unitalic):
* faces.el (make-face-smaller):
* faces.el (make-face-larger):
Call frob-face-property each for mswindows and msprinter.
2001-04-24 Hrvoje Niksic <hniksic(a)arsdigita.com>
* about.el (about-finish-buffer): Make sure the last change works
even if EVENT is nil.
2001-04-24 Hrvoje Niksic <hniksic(a)arsdigita.com>
* about.el (about-mailto-link): Use compose-mail for sending mail.
(about-finish-buffer): Kill/bury the buffer where the user
clicked, not the one that happens to be the current buffer at the
time.
2001-04-24 Hrvoje Niksic <hniksic(a)arsdigita.com>
* about.el (about-personal-info): Update my bio.
(about-hacker-contribution): Ditto.
2001-04-23 Didier Verna <didier(a)xemacs.org>
* cus-edit.el (custom-variable-pre-save): New.
* cus-edit.el (custom-variable-post-save): New.
* cus-edit.el (custom-variable-save): use them.
* cus-edit.el (custom-face-pre-save): New.
* cus-edit.el (custom-face-post-save): New.
* cus-edit.el (custom-face-save): use them.
* cus-edit.el (custom-group-pre-save): New.
* cus-edit.el (custom-group-post-save): New.
* cus-edit.el (custom-group-save): use them.
* cus-edit.el (Custom-save): use the pre/post functions above,
call `custom-save-all' only once.
* cus-edit.el (custom-variable-pre-reset-standard): New.
* cus-edit.el (custom-variable-post-reset-standard): New.
* cus-edit.el (custom-variable-reset-standard): use them.
* cus-edit.el (custom-face-pre-reset-standard): New.
* cus-edit.el (custom-face-post-reset-standard): New.
* cus-edit.el (custom-face-reset-standard): use them.
* cus-edit.el (custom-group-pre-reset-standard): New.
* cus-edit.el (custom-group-post-reset-standard): New.
* cus-edit.el (Custom-reset-standard): use them.
* cus-edit.el (custom-face-reset-saved): use the pre/post
functions above, call `custom-save-all' only once.
2001-04-15 Ben Wing <ben(a)xemacs.org>
* about.el:
* about.el (about-headline-face): New.
* about.el (about-link-face): New.
* about.el (about-current-release-maintainers): New.
* about.el (about-other-current-hackers): New.
* about.el (about-once-and-future-hackers): New.
* about.el (about-lookup-url): New.
* about.el (about-get-buffer):
* about.el (about-mailto-link): New.
* about.el (about-finish-buffer):
* about.el (about-xemacs):
* about.el (about-features): Removed.
* about.el (about-advantages): New.
* about.el (about-maintainer-info): Removed.
* about.el (about-personal-info): New.
* about.el (about-hacker-contribution): New.
* about.el (about-maintainer):
* about.el (about-show-linked-info):
* about.el (about-hackers):
Major revamping. Rewriting of most of the text, improve the
link handling, separate info on contributors into personal
and contribution info, add new contributors, update personal
info, etc. etc.
* menubar-items.el (default-menubar):
Help menubar entry for News now says more accurately
"What's New in XEmacs".
* mouse.el:
* mouse.el (mouse-track-cleanup-hook):
* mouse.el (mouse-track):
Don't set-buffer to a dead buffer when calling mouse-track
cleanup hooks.
2001-04-18 Didier Verna <didier(a)xemacs.org>
* cus-edit.el (Custom-reset-standard): reset to standard settings
not only when the buffer's :custom-state is 'modified, but also
when it is 'set or 'saved.
-------- ChangeLog entries from xemacs-21.5.1/lwlib/ChangeLog -------
2001-04-28 Ben Wing <ben(a)xemacs.org>
* lwlib-utils.c (destroy_all_children): fix warning reported by
Isaac Hollander <ysh(a)mindspring.com>.
-------- ChangeLog entries from xemacs-21.5.1/man/ChangeLog -------
2001-05-07 Martin Buchholz <martin(a)xemacs.org>
* make-stds.texi: Support makeinfo 3.12
2001-04-26 John H. Palmieri <palmieri(a)math.washington.edu>
* xemacs/frame.texi (XEmacs under X): Document default-frame-plist
rather than default-frame-alist.
2001-04-15 Ben Wing <ben(a)xemacs.org>
* xemacs-faq.texi (Q1.0.1):
* xemacs-faq.texi (Q1.0.2):
Rewrite description of XEmacs to match what's on web page,
in about.el.
-------- ChangeLog entries from xemacs-21.5.1/nt/ChangeLog -------
2001-05-01 Adrian Aichner <adrian(a)xemacs.org>
* xemacs.mak: Define EMACS_PATCH_LEVEL like configure.in does.
* xemacs.mak (XEMACS_VERSION_STRING): Build this more like
configure.in does.
* xemacs.mak (docfile): Use del instead of $(DEL) in shell
command.
2001-05-01 Ben Wing <ben(a)xemacs.org>
* config.inc.samp (MAKEINFO): point at more standard c: not f:.
* minitar.c:
* minitar.c (Usage):
* minitar.c (octal):
* minitar.c (makepath):
* minitar.c (main):
Fix more compiler warnings, clean up the style to conform
more to standard XEmacs.
2001-05-01 Ben Wing <ben(a)xemacs.org>
* xemacs.mak (DEPEND):
Don't add config.inc to the horked depend file. It's not
recognized by nmake and just results in warnings.
* xemacs.mak (docfile):
Don't use $(DEL) in the middle of a shell command, because it
will try to call `-del' and fail.
2001-04-27 Adrian Aichner <adrian(a)xemacs.org>
* compface.mak (clean): New target.
* xemacs.mak: Use $(DEL) everywhere, instead of some occurences of
del and @$(DEL). Add GTK supporting variables and document it as
currently unsupported on MSWindows.
* xemacs.mak (XEMACS_VERSION_STRING): Initialize according to
emacs_is_beta. Use emacs_beta_version as patch level for non-beta
version.
* xemacs.mak (HAVE_GTK): New.
* xemacs.mak (GTK_DIR): New.
2001-04-20 Ben Wing <ben(a)xemacs.org>
* .cvsignore: Added stuff for Windows.
-------- ChangeLog entries from xemacs-21.5.1/nt/installer/Wise/ChangeLog -------
2001-04-27 Ben Wing <ben(a)xemacs.org>
* renamed file `display readme.dlg' to display-readme.dlg.
-------- ChangeLog entries from xemacs-21.5.1/src/ChangeLog -------
2001-05-08 Yoshiki Hayashi <yoshiki(a)xemacs.org>
* buffer.c (Vcase_fold_search): Remove obsolete
comment about non ASCII case-fold-search. This
bug has been fixed by case-table changes.
2001-05-08 Yoshiaki Kasahara <kasahara(a)nc.kyushu-u.ac.jp>
* mule-charset.c (Fmake_charset): Add missing else.
2001-05-07 Martin Buchholz <martin(a)xemacs.org>
* s/bsd386.h: Use NOT_C_CODE instead of `emacs' to protect Makefiles
2001-05-08 Martin Buchholz <martin(a)xemacs.org>
* s/bsdos4.h: Protect C code with #ifndef NOT_C_CODE.
2000-04-22 zhaoway <zw(a)debian.org>
* event-stream.c (is_scrollbar_event): Return 0 when XEmacs is
compiled without scrollbars.
2001-05-05 Martin Buchholz <martin(a)xemacs.org>
TTY configury portability improvements.
Support systems which use OXTABS instead of TAB3, without any s&m.
* s/bsd386.h: Remove definitions for system symbols TABDLY and OXTABS.
* s/freebsd.h: Likewise.
* s/gnu.h: Likewise.
* s/netbsd.h: Likewise.
* s/nextstep.h: Remove definitions for TAB3 and BSD_TERMIOS.
* systty.h:
Fix up (unused) tty tab delay/expansion code.
Better preprocessor symbol hygiene.
Remove BSD_TERMIOS cruft.
* sysdep.c (child_setup_tty): More careful code. Check for OXTABS.
* sysdep.c (tty_init_sys_modes_on_device):
Tab expansion disabling code was buggy. So I fixed it.
But it shouldn't have been done at all. So I also #if 0'ed it.
2001-05-06 Ben Wing <ben(a)xemacs.org>
* console-msw.h:
* device-msw.c:
* device-msw.c (print_dialog_worker):
* device-msw.c (mswindows_handle_print_dialog_box):
* device-msw.c (syms_of_device_mswindows):
* dialog-msw.c (mswindows_make_dialog_box_internal):
* general-slots.h:
implement printing the selection when it's selected.
unrelated:
* mule-charset.c (Fset_charset_ccl_program):
* mule-charset.c (invalidate_charset_font_caches):
force redisplay when set-charset-ccl-program called.
2001-05-04 Martin Buchholz <martin(a)xemacs.org>
* s/bsdos4.h (openpty): Add declaration, missing from system headers.
2001-05-05 Martin Buchholz <martin(a)xemacs.org>
* search.c (warn_about_possibly_incompatible_back_references):
Target of a DEFVAR_INT should be a Fixnum, not int.
2001-05-05 Ben Wing <ben(a)xemacs.org>
* console-msw.h:
* device-msw.c:
* device-msw.c (mswindows_get_default_margin):
* frame-msw.c (mswindows_size_frame_internal):
* frame-msw.c (msprinter_init_frame_1):
* frame-msw.c (vars_of_frame_mswindows):
Change top/bottom margin defaults to 0.5 inches.
2001-04-23 Ben Wing <ben(a)xemacs.org>
------------ notable bug fix: Windows event code --------------
* event-msw.c (FAKE_MOD_QUIT):
* event-msw.c (mswindows_dequeue_dispatch_event):
* event-msw.c (mswindows_wnd_proc):
* event-msw.c (emacs_mswindows_quit_p):
Get critical quit working.
------------ notable bug fix and new feature: regex code --------------
* lisp.h:
* regex.c:
* regex.c (enum):
* regex.c (print_compiled_pattern):
* regex.c (INIT_REG_TRANSLATE_SIZE):
* regex.c (regex_compile):
* regex.c (re_match_2_internal):
* regex.h:
* regex.h (RE_SYNTAX_AWK):
* regex.h (RE_SYNTAX_GREP):
* regex.h (RE_SYNTAX_EGREP):
* regex.h (RE_SYNTAX_POSIX_EGREP):
* regex.h (_RE_SYNTAX_POSIX_COMMON):
* regex.h (struct re_pattern_buffer):
* search.c:
* search.c (vars_of_search):
Shy groups were implemented in a horrible, half-assed way that
would cause them to screw up regex searching in most cases.
Fixed to work correctly.
Also extended back-reference syntax past 9. Only is recognized
as such if there are at least that many non-shy groups; and
optionally will warn about such uses, to catch old code that
might be using them differently. (Added variable to control
this in search.c -- `warn-about-possibly-incompatible-back-
references', on by default for the moment. Declared in lisp.h.
---------------- process/SIGIO improvements -------------------
* process-unix.c:
* process-unix.c (get_internet_address):
* process-unix.c (unix_canonicalize_host_name):
* process-unix.c (unix_open_network_stream):
* process-unix.c (unix_open_multicast_group):
define USE_GETADDRINFO to replace more complex conditional,
and use it. the code conditionalized on this in
unix_open_network_stream had *serious* problems handling errors.
it's now fixed, and major amounts of duplicate code between
the two versions were combined.
don't disable SIGIO and other interrupts unless
CONNECT_NEEDS_SLOWED_INTERRUPTS is defined -- don't penalize OS's
without bugs. similarly for a freebsd bug that was affecting all
OS's.
* s\ultrix.h:
define CONNECT_NEEDS_SLOWED_INTERRUPTS, since that's the OS
mentioned as having a kernel bug.
* sysdep.c (request_sigio_on_device):
* sysdep.c (unrequest_sigio_on_device):
fix SIGIO problems on Linux. add check for O_ASYNC in case it's
defined and FASYNC isn't. add comment about other ways to do
SIGIO on Linux.
* callproc.c (Fold_call_process_internal):
* process.c (Fstart_process_internal):
Deal with the possibility that `default-directory' doesn't
have terminating slash. Correct comments about vfork.
---------------- Miscellaneous bug fixes/cleanup -------------------
* callint.c (Finteractive):
Add lots of documentation -- exactly what the Lisp equivalents of
all the interactive specs are.
* console.h (struct console): change type of quit_char to Emchar.
* event-msw.c (lstream_type_create_mswindows_selectable): spacing
change.
* event-Xt.c:
* event-msw.c:
* event-stream.c:
* events-mod.h:
* events.c:
* events.h:
* frame-x.c:
* gpmevent.c:
* keymap.c:
Eliminate events-mod.h and combine into events.h.
* emacs.c:
* emacs.c (make_arg_list_1):
* emacs.c (main_1):
A couple of char->Extbyte changes, add a comment.
* glyphs-msw.c (mswindows_resource_instantiate):
* glyphs-msw.c (mswindows_xface_instantiate):
* glyphs-msw.c (mswindows_subwindow_instantiate):
* glyphs-msw.c (mswindows_widget_instantiate):
* glyphs-msw.c (mswindows_native_layout_instantiate):
* glyphs-msw.c (mswindows_button_instantiate):
* glyphs-msw.c (mswindows_edit_field_instantiate):
* glyphs-msw.c (mswindows_progress_gauge_instantiate):
* glyphs-msw.c (mswindows_tree_view_instantiate):
* glyphs-msw.c (mswindows_tab_control_instantiate):
* glyphs-msw.c (mswindows_label_instantiate):
* glyphs-msw.c (mswindows_scrollbar_instantiate):
* glyphs-msw.c (mswindows_combo_box_instantiate):
Correct indentation of function defns to not exceed 80 cols.
Try (sort of) to fix some code that sets the colors of the
progress gauge. (Commented out)
* keymap.c (syms_of_keymap):
use DEFSYMBOL.
* process.c (read_process_output):
No need to fiddle with zmacs_region_stays, now that bogus
clearing of it (see below) is removed.
* search.c (Freplace_match): warning fix.
2001-05-03 Martin Buchholz <martin(a)xemacs.org>
* s/aix4.h: Fix crash with xlc -O3.
Improve comment explaining how -O3 works.
2001-05-02 Jerry James <james(a)xemacs.org>
* faces.h (SET_FACE_PROPERTY): pass parameters to
Fadd_spec_to_specifier in the correct order.
2001-05-01 Martin Buchholz <martin(a)xemacs.org>
Fix link error with gcc 3.0 on Linux.
* terminfo.c (UP): Remove.
* terminfo.c (BC): Remove.
* terminfo.c (PC): Remove.
They weren't used, and in any case, these symbols should be
defined in the *library*.
2001-04-30 Martin Buchholz <martin(a)xemacs.org>
Make string hashing more efficient.
Makes intern much faster.
Makes hash tables containing strings faster.
* symbols.c (hash_string): A much better hash function.
Change prototype to return unsigned value.
(init_symbols_once_early): Use unsigned type for hash value.
(oblookup): Use unsigned type for hash value.
2001-04-04 Martin Buchholz <martin(a)xemacs.org>
* keymap.c (Fmap_keymap): Revert to previous implementation, since
elisp_maphash is now safe.
* elhash.c: Remove erroneously added comment.
* elhash.c (copy_compress_hentries): New.
(Fmaphash): Use copy_compress_hentries.
(elisp_maphash): Use copy_compress_hentries.
(elisp_map_remhash): Use copy_compress_hentries.
(elisp_maphash_unsafe): New.
* elhash.h: Add prototype for elisp_maphash_unsafe.
* elhash.c (Fmaphash):
Avoid crashes/unpredictable behavior if a hash table is modified
during a mapping function, perhaps indirectly via gc.
(free_hentries): New.
Avoid crash if a pdumped hash table is collected.
(maphash_unwind): New.
* tests.c: Add C-level hash table tests.
2001-04-28 Ben Wing <ben(a)xemacs.org>
* buffer.c (Ferase_buffer):
* editfns.c (buffer_insert1):
* editfns.c (Finsert_before_markers):
* editfns.c (Finsert_string):
* editfns.c (Finsert_char):
* editfns.c (Fdelete_region):
* editfns.c (Fwiden):
* editfns.c (Fnarrow_to_region):
remove bogus lines setting zmacs_region_stays to 0.
* scrollbar-msw.c (mswindows_handle_mousewheel_event):
remove debug lines.
2001-03-08 Mike Alexander <mta(a)arbortext.com>
* event-msw.c (mswindows_need_event_in_modal_loop):
Don't dispatch a message if we didn't get one.
(mswindows_need_event):
Terminate the correct process when one exits instead of the first
one on Vprocess_list and look for process termination when in
mswindows_protect_modal_loop.
2001-04-20 Ben Wing <ben(a)xemacs.org>
* .cvsignore: Added stuff for Windows.
2001-04-15 Ben Wing <ben(a)xemacs.org>
* cmdloop.c (call_command_loop):
Fix braino in bit-rotting code.
* event-stream.c:
* event-stream.c (Fnext_event):
* event-stream.c (is_scrollbar_event):
* event-stream.c (execute_command_event):
Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
crash' problem. His fix introduces other problems. We filter
out scrollbar events specifically, making them somewhat invisible
to command-building, and not appearing in `this-command-keys'.
More work is still needed (see comments in event-stream.c), but
this fixes all the major problems.
2001-04-15 Gunnar Evermann <ge204(a)eng.cam.ac.uk>
* process-unix.c (unix_open_network_stream): If connect() fails
invalidate file descriptor after closing it.