diff src/emacs.c @ 788:026c5bf9c134

[xemacs-hg @ 2002-03-21 07:29:57 by ben] chartab.c: Fix bugs in implementation and doc strings. config.h.in: Add foo_checking_assert_at_line() macros. Not clear whether these are actually useful, though; I'll take them out if not. symsinit.h, emacs.c: Some improvements to the timeline. Rearrange a bit the init calls. Add call for reinit_vars_of_object_mswindows() and declare in symsinit.h. event-Xt.c, event-gtk.c, event-msw.c, event-stream.c, event-tty.c, events.c, events.h: Introduce new event methods for printing, comparing, and hashing magic events, to avoid event-type-specific stuff that had crept into events.c. (And was crashing, since the channel in MS Windows magic events may be nil.) Implement the methods in event-{tty,gtk,Xt,mswindows}.c. Make wrapping functions event_stream_{compare,hash,format}_magic_event() to check if everything's OK and call the actual callback. Fix events.c to use the new methods. Add a new event-stream-operation EVENT_STREAM_NOTHING -- event stream not actually required to be able to do anything, just be open. (#### This event-stream-operation stuff needs to be rethought.) Fixed describe_event() in event-Xt.c to print its output to a stream, not always to stderr, so it can be used elsewhere. (e.g. in print-event when a magic event is encountered?) lisp.h, lrecord.h: Define new assert_at_line(), for use in asserts inside of inline functions. The assert will report the line and file of the inline function, which is almost certainly not what you want as it's useless. what you want to see is where the pseudo-macro was called from. So, when error-checking is on, we pass in the line and file into the macros, for accurate printout using assert_at_line(). Happens only when error-checking is defined so doesn't slow down non-error-checking builds. Fix XCHAR, XINT, XCHAR_OR_INT, XFOO, and wrap_foo() in this fashion. lstream.c, lstream.h: Add resizing_buffer_to_lisp_string(). objects-gtk.c: Fix typo. objects-msw.c: Implement a smarter way of determining whether a font matches a charset. Formerly we just looked at the "script" element of the font spec, converted it to a code page, and compared it with the code page derived from the charset. Now, as well as doing this, we ask the font for the list of unicode ranges it supports, see what range the charset falls into (#### bogus! need to do this char-by-char), and see if any of the font's supported ranges include the charset's range. also do some caching in Vfont_signature_data of previous inquiries. charset.h, text.c, mule-charset.c: New fun; extracted out of Fmake_char() and declare prototype in charset.h. text.h: introduce assert_by_line() to make REP_BYTES_BY_FIRST_BYTE report the file and line more accurately in an assertion failure. unicode.c: make non-static (used in objects-msw.c), declare in charset.h. mule\mule-category.el: Start implementing a category API compatible with FSF. Not there yet. We need improvements to char-tables. mule\mule-charset.el: Copy translation table code from FSF 21.1 and fix up. Eventually we'll have them in XEmacs. (used in ccl) Not here quite yet, and we need some improvements to char-tables. mule\cyril-util.el, mule\cyrillic.el, mule\devan-util.el, mule\ethio-util.el, mule\korea-util.el, mule\mule-tty-init.el, mule\tibet-util.el, mule\viet-util.el, mule\vietnamese.el: Fix numerous compilation warnings. Fix up code related to translation tables and other types of char-tables. menubar-items.el: Move the frame commands from the View menu to the File menu, to be consistent with how most other programs do things. Move less-used revert/recover items to a submenu. Make "recover" not prompt for a file, but recover the current buffer. TODO.ben-mule-21-5: Create bug list for latest problems.
author ben
date Thu, 21 Mar 2002 07:31:30 +0000
parents 79940b592197
children e38acbeb1cae
line wrap: on
line diff
--- a/src/emacs.c	Wed Mar 20 10:21:23 2002 +0000
+++ b/src/emacs.c	Thu Mar 21 07:31:30 2002 +0000
@@ -71,9 +71,9 @@
 version 21.0.65 released March 5, 1999.
 version 21.0.66 released March 12, 1999.
 version 21.0.67 released March 25, 1999.
-version 21.1.2 released May 14, 1999. (This is the followup to 21.0.67.
-The second version number was bumped to indicate the beginning of the
-"stable" series.)
+version 21.1.2 released May 14, 1999; on comp.emacs, May 28. (This is
+ the followup to 21.0.67.  The second version number was bumped to indicate
+ the beginning of the "stable" series.)
 version 21.1.3 released June 26, 1999.
 version 21.1.4 released July 8, 1999.
 version 21.1.6 released August 14, 1999. (There was no 21.1.5.)
@@ -118,12 +118,19 @@
 version 21.2.38 released December 5, 2000.
 version 21.2.39 released December 31, 2000.
 version 21.2.40 released January 8, 2001.
-version 21.2.41 released January 17, 2001.
-version 21.2.42 released January 20, 2001.
-version 21.2.43 released January 26, 2001.
-version 21.2.44 released February 8, 2001.
-version 21.2.45 released February 23, 2001.
-version 21.2.46 released March 21, 2001.
+version 21.2.41 "Polyhymnia" released January 17, 2001.
+version 21.2.42 "Poseidon" released January 20, 2001.
+version 21.2.43 "Terspichore" released January 26, 2001.
+version 21.2.44 "Thalia" released February 8, 2001.
+version 21.2.45 "Thelxepeia" released February 23, 2001.
+version 21.2.46 "Urania" released March 21, 2001.
+version 21.5.0 "alfalfa" released April 18, 2001.
+version 21.5.1 "anise" released May 9, 2001.
+version 21.5.2 "artichoke" released July 28, 2001.
+version 21.5.3 "asparagus" released September 7, 2001.
+version 21.5.4 "bamboo" released January 8, 2002.
+version 21.5.5 "beets" released March 5, 2002.
+
 
 
 -- A time line for GNU Emacs version 19 is
@@ -144,7 +151,7 @@
 version 19.20 (beta) released November 17, 1993.
 version 19.21 (beta) released November 17, 1993.
 version 19.22 (beta) released November 28, 1993.
-version 19.23 (beta) released May 17, 1994.
+version 19.23 (beta) released on comp.emacs, May 17, 1994.
 version 19.24 (beta) released May 16, 1994.
 version 19.25 (beta) released June 3, 1994.
 version 19.26 (beta) released September 11, 1994.
@@ -155,15 +162,17 @@
 version 19.31 released May 25, 1996.
 version 19.32 released July 31, 1996.
 version 19.33 released August 11, 1996.
-version 19.34 released August 21, 1996.
+version 19.34 released August 21, 1996; on comp.emacs, August 22.
 version 19.34b released September 6, 1996.
 
 
--- A time line for GNU Emacs version 20 is
+-- A time line for GNU Emacs versions 20 and 21 is
 
 version 20.1 released September 17, 1997.
 version 20.2 released September 20, 1997.
 version 20.3 released August 19, 1998.
+version 20.4 released July 12, 1999; on comp.emacs, July 27.
+version 21.1 released October 20, 2001.
 
 
 -- A time line for GNU Emacs version 18 and older is
@@ -2070,18 +2079,9 @@
 #endif
       reinit_vars_of_device ();
       reinit_vars_of_eval ();
-#ifdef HAVE_X_WINDOWS
-      reinit_vars_of_event_Xt ();
-#endif
-#ifdef HAVE_GTK
-      reinit_vars_of_event_gtk ();
-#endif
 #if defined(HAVE_TTY) && (defined (DEBUG_TTY_EVENT_STREAM) || !defined (HAVE_X_WINDOWS))
       reinit_vars_of_event_tty ();
 #endif
-#ifdef HAVE_MS_WINDOWS
-      reinit_vars_of_event_mswindows ();
-#endif
       reinit_vars_of_event_stream ();
       reinit_vars_of_events ();
       reinit_vars_of_extents ();
@@ -2106,15 +2106,19 @@
       reinit_vars_of_window ();
 
 #ifdef HAVE_MS_WINDOWS
+      reinit_vars_of_event_mswindows ();
       reinit_vars_of_frame_mswindows ();
+      reinit_vars_of_object_mswindows ();
 #endif
 
 #ifdef HAVE_GTK
+      reinit_vars_of_event_gtk ();
       reinit_vars_of_menubar_gtk ();
 #endif
 
 #ifdef HAVE_X_WINDOWS
       reinit_vars_of_device_x ();
+      reinit_vars_of_event_Xt ();
 #ifdef HAVE_SCROLLBARS
       reinit_vars_of_scrollbar_x ();
 #endif