changeset 402:5a2589c672dc r21-2-31

Import from CVS: tag r21-2-31
author cvs
date Mon, 13 Aug 2007 11:14:58 +0200
parents e0a2a2be14bf
children 9f011ab08d48
files CHANGES-beta ChangeLog lib-src/ChangeLog lisp/ChangeLog lisp/loadup.el lisp/make-docfile.el lisp/update-elc.el lwlib/ChangeLog lwlib/lwlib-Xaw.c lwlib/lwlib-Xlw.c lwlib/lwlib-Xm.c man/ChangeLog nt/ChangeLog nt/config.h src/ChangeLog src/Makefile.in.in src/glyphs-x.c src/ntheap.c src/s/aix4.h tests/ChangeLog version.sh
diffstat 21 files changed, 107 insertions(+), 32 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES-beta	Mon Aug 13 11:14:35 2007 +0200
+++ b/CHANGES-beta	Mon Aug 13 11:14:58 2007 +0200
@@ -1,3 +1,5 @@
+to 21.2.31 "Iris"
+
 to 21.2.30 "Hygeia"
 -- Make (find-tag-other-window) always use other window, 
    even if tag is found in buffer of current window, Samuel Mikes
--- a/ChangeLog	Mon Aug 13 11:14:35 2007 +0200
+++ b/ChangeLog	Mon Aug 13 11:14:58 2007 +0200
@@ -1,3 +1,7 @@
+2000-02-23  Martin Buchholz <martin@xemacs.org>
+
+	* XEmacs 21.2.31 is released.
+
 2000-02-21  Martin Buchholz <martin@xemacs.org>
 
 	* XEmacs 21.2.30 is released.
--- a/lib-src/ChangeLog	Mon Aug 13 11:14:35 2007 +0200
+++ b/lib-src/ChangeLog	Mon Aug 13 11:14:58 2007 +0200
@@ -1,3 +1,7 @@
+2000-02-23  Martin Buchholz <martin@xemacs.org>
+
+	* XEmacs 21.2.31 is released.
+
 2000-02-21  Martin Buchholz <martin@xemacs.org>
 
 	* XEmacs 21.2.30 is released.
--- a/lisp/ChangeLog	Mon Aug 13 11:14:35 2007 +0200
+++ b/lisp/ChangeLog	Mon Aug 13 11:14:58 2007 +0200
@@ -1,3 +1,14 @@
+2000-02-23  Martin Buchholz <martin@xemacs.org>
+
+	* XEmacs 21.2.31 is released.
+
+2000-02-21  Mike Sperber <mike@xemacs.org>
+
+	* loadup.el (really-early-error-handler):
+	* update-elc.el:
+	* make-docfile.el:
+	Remove dependency on EMACSBOOTSTRAP... environment variables.
+
 2000-02-21  Martin Buchholz <martin@xemacs.org>
 
 	* XEmacs 21.2.30 is released.
--- a/lisp/loadup.el	Mon Aug 13 11:14:35 2007 +0200
+++ b/lisp/loadup.el	Mon Aug 13 11:14:58 2007 +0200
@@ -65,8 +65,9 @@
 		(prog1 (buffer-substring)
 		  (kill-buffer (current-buffer)))))
 
-	(setq load-path (split-path (getenv "EMACSBOOTSTRAPLOADPATH")))
-	(setq module-load-path (split-path (getenv "EMACSBOOTSTRAPMODULEPATH")))
+	(let ((build-root (expand-file-name ".." invocation-directory)))
+	  (setq load-path (list (expand-file-name "lisp" build-root)))
+	  (setq module-load-path (list (expand-file-name "modules" build-root))))
 
 	;; message not defined yet ...
 	(external-debugging-output (format "\nUsing load-path %s" load-path))
--- a/lisp/make-docfile.el	Mon Aug 13 11:14:35 2007 +0200
+++ b/lisp/make-docfile.el	Mon Aug 13 11:14:58 2007 +0200
@@ -75,7 +75,8 @@
   (setq command-line-args (cdr command-line-args)))
 
 ;; Then process the list of Lisp files.
-(setq load-path (split-path (getenv "EMACSBOOTSTRAPLOADPATH")))
+(let ((build-root (expand-file-name ".." invocation-directory)))
+  (setq load-path (list (expand-file-name "lisp" build-root))))
 
 (load "very-early-lisp" nil t)
 
@@ -86,10 +87,6 @@
 (load "setup-paths.el")
 (load "dump-paths.el")
 
-(setq
- load-path
- (nconc load-path (split-path (getenv "EMACSBOOTSTRAPLOADPATH"))))
-
 (let (preloaded-file-list)
   (load (expand-file-name "../lisp/dumped-lisp.el"))
 
--- a/lisp/update-elc.el	Mon Aug 13 11:14:35 2007 +0200
+++ b/lisp/update-elc.el	Mon Aug 13 11:14:58 2007 +0200
@@ -62,7 +62,8 @@
 ;		    ;; -batch gets filtered out.
 ;		    (nthcdr 3 command-line-args))))
 
-(setq load-path (split-path (getenv "EMACSBOOTSTRAPLOADPATH")))
+(let ((build-root (expand-file-name ".." invocation-directory)))
+  (setq load-path (list (expand-file-name "lisp" build-root))))
 
 (load "very-early-lisp" nil t)
 
--- a/lwlib/ChangeLog	Mon Aug 13 11:14:35 2007 +0200
+++ b/lwlib/ChangeLog	Mon Aug 13 11:14:58 2007 +0200
@@ -1,3 +1,14 @@
+2000-02-23  Martin Buchholz <martin@xemacs.org>
+
+	* XEmacs 21.2.31 is released.
+
+2000-02-22  Andy Piper  <andy@xemacs.org>
+
+	* lwlib-Xm.c (xm_update_one_widget): set widget args last in case
+	anything messes with them in the meantime.
+	* lwlib-Xlw.c (xlw_update_one_widget): ditto.
+	* lwlib-Xaw.c (xaw_update_one_widget): ditto.
+
 2000-02-21  Martin Buchholz <martin@xemacs.org>
 
 	* XEmacs 21.2.30 is released.
--- a/lwlib/lwlib-Xaw.c	Mon Aug 13 11:14:35 2007 +0200
+++ b/lwlib/lwlib-Xaw.c	Mon Aug 13 11:14:58 2007 +0200
@@ -126,9 +126,6 @@
 xaw_update_one_widget (widget_instance *instance, Widget widget,
 		       widget_value *val, Boolean deep_p)
 {
-  if (val->args && val->args->nargs)
-    XtSetValues (widget, val->args->args, val->args->nargs);
-
   if (0)
     ;
 #ifdef LWLIB_SCROLLBARS_ATHENA
@@ -193,6 +190,9 @@
 #endif /* LWLIB_WIDGETS_ATHENA */
     }
 #endif /* LWLIB_DIALOGS_ATHENA */
+  /* Lastly update our global arg values. */
+  if (val->args && val->args->nargs)
+    XtSetValues (widget, val->args->args, val->args->nargs);
 }
 
 void
--- a/lwlib/lwlib-Xlw.c	Mon Aug 13 11:14:35 2007 +0200
+++ b/lwlib/lwlib-Xlw.c	Mon Aug 13 11:14:58 2007 +0200
@@ -536,9 +536,6 @@
 		       widget_value* val, Boolean deep_p)
 {
   WidgetClass class = XtClass (widget);
-  /* Update up global arg values. */
-  if (val->args && val->args->nargs)
-    XtSetValues (widget, val->args->args, val->args->nargs);
 
   if (0)
     ;
@@ -567,6 +564,9 @@
       xlw_update_tab_control (instance, widget, val);
     }
 #endif
+  /* Lastly update our global arg values. */
+  if (val->args && val->args->nargs)
+    XtSetValues (widget, val->args->args, val->args->nargs);
 }
 
 void
--- a/lwlib/lwlib-Xm.c	Mon Aug 13 11:14:35 2007 +0200
+++ b/lwlib/lwlib-Xm.c	Mon Aug 13 11:14:58 2007 +0200
@@ -791,8 +791,6 @@
   /* Common to all widget types */
   XtSetArg (al [ac], XmNsensitive, val->enabled);		ac++;
   XtSetArg (al [ac], XmNuserData,  val->call_data);	ac++;
-  lw_add_value_args_to_args (val, al, &ac);
-
   XtSetValues (widget, al, ac);
 
 #if defined (LWLIB_DIALOGS_MOTIF) || defined (LWLIB_MENUBARS_MOTIF) || defined (LWLIB_WIDGETS_MOTIF)
@@ -856,6 +854,9 @@
       xm_update_scrollbar (instance, widget, val);
     }
 #endif
+  /* Lastly update our global arg values. */
+  if (val->args && val->args->nargs)
+    XtSetValues (widget, val->args->args, val->args->nargs);
 }
 
 /* getting the value back */
--- a/man/ChangeLog	Mon Aug 13 11:14:35 2007 +0200
+++ b/man/ChangeLog	Mon Aug 13 11:14:58 2007 +0200
@@ -1,3 +1,7 @@
+2000-02-23  Martin Buchholz <martin@xemacs.org>
+
+	* XEmacs 21.2.31 is released.
+
 2000-02-21  Martin Buchholz <martin@xemacs.org>
 
 	* XEmacs 21.2.30 is released.
--- a/nt/ChangeLog	Mon Aug 13 11:14:35 2007 +0200
+++ b/nt/ChangeLog	Mon Aug 13 11:14:58 2007 +0200
@@ -1,3 +1,11 @@
+2000-02-23  Martin Buchholz <martin@xemacs.org>
+
+	* XEmacs 21.2.31 is released.
+
+2000-02-22  Martin Buchholz  <martin@xemacs.org>
+
+	* config.h (gc_checking_assert): New.
+
 2000-02-21  Martin Buchholz <martin@xemacs.org>
 
 	* XEmacs 21.2.30 is released.
--- a/nt/config.h	Mon Aug 13 11:14:35 2007 +0200
+++ b/nt/config.h	Mon Aug 13 11:14:58 2007 +0200
@@ -342,6 +342,11 @@
 #define bufpos_checking_assert(assertion)
 #endif
 
+#ifdef ERROR_CHECK_GC
+#define gc_checking_assert(assertion) assert (assertion)
+#else
+#define gc_checking_assert(assertion)
+#endif
 
 /* Define MEMORY_USAGE_STATS if you want extra code compiled in to
    determine where XEmacs's memory is going. */
--- a/src/ChangeLog	Mon Aug 13 11:14:35 2007 +0200
+++ b/src/ChangeLog	Mon Aug 13 11:14:58 2007 +0200
@@ -1,3 +1,26 @@
+2000-02-23  Martin Buchholz <martin@xemacs.org>
+
+	* XEmacs 21.2.31 is released.
+
+2000-02-22  Ben Wing <ben@xemacs.org>
+
+	* ntheap.c (allocate_heap): Make sure `ptr' is initialized.
+
+2000-02-22  Andy Piper  <andy@xemacs.org>
+
+	* glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
+
+2000-02-21  Mike Sperber <mike@xemacs.org>
+
+	* .dbxrc: 
+	* .gdbinit:
+	* Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
+	variables.
+
+2000-02-21  Mike Sperber <mike@xemacs.org>
+
+	* s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
+
 2000-02-21  Martin Buchholz <martin@xemacs.org>
 
 	* XEmacs 21.2.30 is released.
--- a/src/Makefile.in.in	Mon Aug 13 11:14:35 2007 +0200
+++ b/src/Makefile.in.in	Mon Aug 13 11:14:58 2007 +0200
@@ -309,18 +309,10 @@
 mo_file = ${mo_dir}emacs.mo
 #endif
 
-#ifdef WINDOWSNT
-LOADPATH   =  EMACSBOOTSTRAPLOADPATH="${lispdir};${blddir}"
-MODULEPATH =  EMACSBOOTSTRAPMODULEPATH="${moduledir};${blddir}"
-#else
-LOADPATH   =  EMACSBOOTSTRAPLOADPATH="${lispdir}:${blddir}"
-MODULEPATH =  EMACSBOOTSTRAPMODULEPATH="${moduledir}:${blddir}"
-#endif
-DUMPENV = $(LOADPATH) $(MODULEPATH)
-temacs_loadup = $(DUMPENV) ./temacs -batch -l ${srcdir}/../lisp/loadup.el
+temacs_loadup = ./temacs -batch -l ${srcdir}/../lisp/loadup.el
 dump_temacs   = ${temacs_loadup} dump
 run_temacs    = ${temacs_loadup} run-temacs
-debug_temacs = $(DUMPENV) gdb temacs
+debug_temacs = gdb temacs
 
 release: temacs ${libsrc}DOC $(mo_file) ${other_files}
 #ifdef CANNOT_DUMP
@@ -329,7 +321,7 @@
 	-if [ -w ${srcdir}/../lisp ]; then \
 	  w=`pwd`; cd ${srcdir} && $${w}/temacs -batch -l ${srcdir}/../lisp/inc-vers; \
 	else true; fi
-	-$(DUMPENV) ./temacs -batch -l ${srcdir}/../lisp/loadup.el dump
+	-./temacs -batch -l ${srcdir}/../lisp/loadup.el dump
 	touch release
 #endif /* ! defined (CANNOT_DUMP) */
 
@@ -362,7 +354,7 @@
 
 update-elc.stamp : temacs FRC.update-elc.stamp
 	@touch NOBYTECOMPILE
-	${DUMPENV} ./temacs -batch -l ${srcdir}/../lisp/update-elc.el
+	./temacs -batch -l ${srcdir}/../lisp/update-elc.el
 	@if test ! -f $@ -o -f NOBYTECOMPILE; then touch $@; fi; \
 	 $(RM) NOBYTECOMPILE
 
--- a/src/glyphs-x.c	Mon Aug 13 11:14:35 2007 +0200
+++ b/src/glyphs-x.c	Mon Aug 13 11:14:58 2007 +0200
@@ -2494,7 +2494,7 @@
 
   IMAGE_INSTANCE_SUBWINDOW_ID (ii) = (void*)wid;
   IMAGE_INSTANCE_X_WIDGET_LWID (ii) = id;
-
+#if 0
   /* Resize the widget here so that the values do not get copied by
      lwlib. */
   ac = 0;
@@ -2503,6 +2503,7 @@
   XtSetArg (al [ac], XtNheight,
 	    (Dimension)IMAGE_INSTANCE_SUBWINDOW_HEIGHT (ii)); ac++;
   XtSetValues (IMAGE_INSTANCE_X_WIDGET_ID (ii), al, ac);
+#endif
   /* because the EmacsManager is the widgets parent we have to
      offset the redisplay of the widget by the amount the text
      widget is inside the manager. */
--- a/src/ntheap.c	Mon Aug 13 11:14:35 2007 +0200
+++ b/src/ntheap.c	Mon Aug 13 11:14:58 2007 +0200
@@ -122,7 +122,7 @@
   unsigned long base = 0x01B00000;   /*  27MB */
   /* Temporary hack for the non-starting problem - use 28 (256Mb) rather than VALBITS (1Gb) */
   unsigned long end  = 1 << 28;      /* 256MB */
-  void *ptr;
+  void *ptr = NULL;
 
 #define NTHEAP_PROBE_BASE 1
 #if NTHEAP_PROBE_BASE /* This is never normally defined */
--- a/src/s/aix4.h	Mon Aug 13 11:14:35 2007 +0200
+++ b/src/s/aix4.h	Mon Aug 13 11:14:58 2007 +0200
@@ -24,3 +24,9 @@
 struct ether_addr;
 struct sockaddr_dl;
 #endif /* C code */
+
+/* getaddrinfo is broken in AIX 4.3 as per IY04165.
+   At this time (2/21/2000), there's no PTF available.
+   -- Mike Sperber <mike@xemacs.org> */
+
+#undef HAVE_GETADDRINFO
--- a/tests/ChangeLog	Mon Aug 13 11:14:35 2007 +0200
+++ b/tests/ChangeLog	Mon Aug 13 11:14:58 2007 +0200
@@ -1,3 +1,7 @@
+2000-02-23  Martin Buchholz <martin@xemacs.org>
+
+	* XEmacs 21.2.31 is released.
+
 2000-02-21  Martin Buchholz <martin@xemacs.org>
 
 	* XEmacs 21.2.30 is released.
--- a/version.sh	Mon Aug 13 11:14:35 2007 +0200
+++ b/version.sh	Mon Aug 13 11:14:58 2007 +0200
@@ -2,8 +2,8 @@
 emacs_is_beta=t
 emacs_major_version=21
 emacs_minor_version=2
-emacs_beta_version=30
-xemacs_codename="Hygeia"
+emacs_beta_version=31
+xemacs_codename="Iris"
 infodock_major_version=4
 infodock_minor_version=0
 infodock_build_version=8