changeset 1294:8c5cf108f035

[xemacs-hg @ 2003-02-14 07:38:22 by stephent] martin patches: configure for recent AIX: <87bs1f73du.fsf@tleepslib.sk.tsukuba.ac.jp> speed up Expose processing: <878ywj722i.fsf@tleepslib.sk.tsukuba.ac.jp> <8765rn71ra.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Fri, 14 Feb 2003 07:38:30 +0000
parents 8134b2a31572
children 064ef1d07d63
files ChangeLog configure.in lwlib/ChangeLog lwlib/xlwmenu.c src/ChangeLog src/EmacsManager.c src/EmacsShell-sub.c src/config.h.in src/xintrinsicp.h
diffstat 9 files changed, 37 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Feb 13 22:52:44 2003 +0000
+++ b/ChangeLog	Fri Feb 14 07:38:30 2003 +0000
@@ -1,3 +1,8 @@
+2003-01-28  Martin Buchholz  <martin@xemacs.org>
+
+	* configure.in (opsys): (AIX specific)
+	Use opsys=aix4-2 for AIX 5 and all future versions.
+
 2003-02-10  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* INSTALL: Recommend Mule, deprecate stripped binaries.
--- a/configure.in	Thu Feb 13 22:52:44 2003 +0000
+++ b/configure.in	Fri Feb 14 07:38:30 2003 +0000
@@ -1151,12 +1151,12 @@
   *-*-ultrix* )         opsys=ultrix4-3 ;;
 
   dnl AIX
-  *-*-aix3.1*  ) opsys=aix3-1	;;
-  *-*-aix3.2.5 ) opsys=aix3-2-5	;;
-  *-*-aix3*    ) opsys=aix3-2	;;
-  *-*-aix4.0*  ) opsys=aix4	;;
-  *-*-aix4.1*  ) opsys=aix4-1	;;
-  *-*-aix4*    ) opsys=aix4-2	;;
+  *-*-aix3.1*     ) opsys=aix3-1   ;;
+  *-*-aix3.2.5    ) opsys=aix3-2-5 ;;
+  *-*-aix3*       ) opsys=aix3-2   ;;
+  *-*-aix4.0*     ) opsys=aix4	   ;;
+  *-*-aix4.1*     ) opsys=aix4-1   ;;
+  *-*-aix[[4-9]]* ) opsys=aix4-2   ;;
 
   dnl Other generic OSes
   *-gnu* )			opsys=gnu    ;;
--- a/lwlib/ChangeLog	Thu Feb 13 22:52:44 2003 +0000
+++ b/lwlib/ChangeLog	Fri Feb 14 07:38:30 2003 +0000
@@ -1,3 +1,8 @@
+2003-02-13  Martin Buchholz  <martin@xemacs.org>
+
+	* xlwmenu.c (xlwMenuClassRec):
+	Use symbolic name `XtExposeCompressMaximal' instead of `TRUE'.
+
 2003-01-31  Martin Buchholz  <martin@xemacs.org>
 
 	* lwlib-Xm.c (xm_update_progress): 
--- a/lwlib/xlwmenu.c	Thu Feb 13 22:52:44 2003 +0000
+++ b/lwlib/xlwmenu.c	Fri Feb 14 07:38:30 2003 +0000
@@ -197,7 +197,7 @@
     XtNumber(xlwMenuResources),		/* resource_count	  */
     NULLQUARK,				/* xrm_class		  */
     TRUE,				/* compress_motion	  */
-    TRUE,				/* compress_exposure	  */
+    XtExposeCompressMaximal,		/* compress_exposure	  */
     TRUE,				/* compress_enterleave    */
     FALSE,				/* visible_interest	  */
     XlwMenuDestroy,			/* destroy		  */
--- a/src/ChangeLog	Thu Feb 13 22:52:44 2003 +0000
+++ b/src/ChangeLog	Fri Feb 14 07:38:30 2003 +0000
@@ -1,3 +1,14 @@
+2003-02-13  Martin Buchholz  <martin@xemacs.org>
+
+	Make XEmacs redisplay 10 times faster.
+	If, that is, you're using a slow X connection and MoveOpaque.
+	Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
+	Use compress_motion = TRUE.
+	* EmacsFrame.c (emacsFrameClassRec): 
+	* EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
+	* EmacsManager.c (emacsManagerClassRec):
+	* xintrinsicp.h: Make sure XtExposeNoRegion is defined.
+
 2003-02-13  Ben Wing  <ben@xemacs.org>
 
 	* unicode.c (utf_16_detect):
--- a/src/EmacsManager.c	Thu Feb 13 22:52:44 2003 +0000
+++ b/src/EmacsManager.c	Fri Feb 14 07:38:30 2003 +0000
@@ -87,7 +87,7 @@
     /* num_resources      */    XtNumber(resources),
     /* xrm_class          */    NULLQUARK,
     /* compress_motion	  */	TRUE,
-    /* compress_exposure  */	TRUE,
+    /* compress_exposure  */	XtExposeCompressMaximal | XtExposeNoRegion,
     /* compress_enterleave*/	TRUE,
     /* visible_interest   */    FALSE,
     /* destroy            */    NULL,
--- a/src/EmacsShell-sub.c	Thu Feb 13 22:52:44 2003 +0000
+++ b/src/EmacsShell-sub.c	Fri Feb 14 07:38:30 2003 +0000
@@ -192,9 +192,9 @@
     /* resources	  */	resources,
     /* resource_count	  */	XtNumber (resources),
     /* xrm_class	  */	NULLQUARK,
-    /* compress_motion	  */	FALSE,
-    /* compress_exposure  */	TRUE,
-    /* compress_enterleave*/	FALSE,
+    /* compress_motion	  */	TRUE,
+    /* compress_exposure  */	XtExposeCompressMaximal | XtExposeNoRegion,
+    /* compress_enterleave*/	TRUE,
     /* visible_interest	  */	TRUE,
     /* destroy		  */	NULL,
     /* resize		  */	XtInheritResize,
--- a/src/config.h.in	Thu Feb 13 22:52:44 2003 +0000
+++ b/src/config.h.in	Fri Feb 14 07:38:30 2003 +0000
@@ -110,6 +110,7 @@
 #undef _XOPEN_SOURCE_EXTENDED
 
 /* Make all functions available on AIX.  See AC_AIX. */
+/* Some AIX compilers (cc) pre-define _ALL_SOURCE, some (xlc) don't. */
 #ifndef _ALL_SOURCE
 #undef _ALL_SOURCE
 #endif
--- a/src/xintrinsicp.h	Thu Feb 13 22:52:44 2003 +0000
+++ b/src/xintrinsicp.h	Fri Feb 14 07:38:30 2003 +0000
@@ -26,4 +26,8 @@
 #include <X11/IntrinsicP.h>
 #include <X11/ObjectP.h>     /* apparently some IntrinsicP.h don't have this */
 
+#ifndef XtExposeNoRegion
+#define XtExposeNoRegion 0
+#endif
+
 #endif /* INCLUDED_xintrinsicp_h_ */