CVS commit: xsrc/external/mit/libXext/dist/src

2020-09-07 Thread Christos Zoulas
Module Name:xsrc
Committed By:   christos
Date:   Mon Sep  7 15:20:53 UTC 2020

Modified Files:
xsrc/external/mit/libXext/dist/src: XEVI.c

Log Message:
Limit the number of visuals to 64K


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.5 -r1.2 xsrc/external/mit/libXext/dist/src/XEVI.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: xsrc/external/mit/libXext/dist/src

2020-09-07 Thread Christos Zoulas
Module Name:xsrc
Committed By:   christos
Date:   Mon Sep  7 15:20:53 UTC 2020

Modified Files:
xsrc/external/mit/libXext/dist/src: XEVI.c

Log Message:
Limit the number of visuals to 64K


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.5 -r1.2 xsrc/external/mit/libXext/dist/src/XEVI.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/libXext/dist/src/XEVI.c
diff -u xsrc/external/mit/libXext/dist/src/XEVI.c:1.1.1.5 xsrc/external/mit/libXext/dist/src/XEVI.c:1.2
--- xsrc/external/mit/libXext/dist/src/XEVI.c:1.1.1.5	Tue Jul 21 22:17:42 2015
+++ xsrc/external/mit/libXext/dist/src/XEVI.c	Mon Sep  7 11:20:53 2020
@@ -133,6 +133,8 @@ Status XeviGetVisualInfo(
 	temp_visual[n_visual++] = vinfo[vinfoIndex].visualid;
 }
 else {	/* check if the visual is valid */
+	if (n_visual > 65536)
+		n_visual = 65536;
 for (visualIndex = 0; visualIndex < n_visual; visualIndex++) {
 	isValid = False;
 for (vinfoIndex = 0; vinfoIndex < sz_info; vinfoIndex++) {



CVS commit: xsrc/external/mit/libXext/dist/src

2011-07-24 Thread matthew green
Module Name:xsrc
Committed By:   mrg
Date:   Sun Jul 24 13:01:13 UTC 2011

Modified Files:
xsrc/external/mit/libXext/dist/src: XSync.c

Log Message:
avoid having macros expand code to be:
((f) ? (f)-m1 : NULL)-m2


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 xsrc/external/mit/libXext/dist/src/XSync.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/libXext/dist/src/XSync.c
diff -u xsrc/external/mit/libXext/dist/src/XSync.c:1.1.1.4 xsrc/external/mit/libXext/dist/src/XSync.c:1.2
--- xsrc/external/mit/libXext/dist/src/XSync.c:1.1.1.4	Sat Jul 23 12:21:47 2011
+++ xsrc/external/mit/libXext/dist/src/XSync.c	Sun Jul 24 13:01:13 2011
@@ -107,8 +107,8 @@
 };
 
 #define NUM_VERSIONS (sizeof(supported_versions)/sizeof(supported_versions[0]))
-#define GET_VERSION(info) ((info) ? (const SyncVersionInfo*)(info)-data : NULL)
-#define IS_VERSION_SUPPORTED(info) (!!GET_VERSION(info))
+#define GET_VERSION(info) ((const SyncVersionInfo*)(info)-data)
+#define IS_VERSION_SUPPORTED(info) (!!(info))
 
 static
 const SyncVersionInfo* GetVersionInfo(Display *dpy)



CVS commit: xsrc/external/mit/libXext/dist/src

2011-07-24 Thread matthew green
Module Name:xsrc
Committed By:   mrg
Date:   Sun Jul 24 13:01:13 UTC 2011

Modified Files:
xsrc/external/mit/libXext/dist/src: XSync.c

Log Message:
avoid having macros expand code to be:
((f) ? (f)-m1 : NULL)-m2


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 xsrc/external/mit/libXext/dist/src/XSync.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: xsrc/external/mit/libXext/dist/src

2011-07-23 Thread matthew green
Module Name:xsrc
Committed By:   mrg
Date:   Sat Jul 23 12:26:43 UTC 2011

Modified Files:
xsrc/external/mit/libXext/dist/src: Xge.c

Log Message:
merge libext 1.3.0


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 xsrc/external/mit/libXext/dist/src/Xge.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/libXext/dist/src/Xge.c
diff -u xsrc/external/mit/libXext/dist/src/Xge.c:1.2 xsrc/external/mit/libXext/dist/src/Xge.c:1.3
--- xsrc/external/mit/libXext/dist/src/Xge.c:1.2	Thu Feb 24 22:36:12 2011
+++ xsrc/external/mit/libXext/dist/src/Xge.c	Sat Jul 23 12:26:43 2011
@@ -291,8 +291,7 @@
 /*
  * Extensions need to register callbacks for their events.
  */
-Bool _X_HIDDEN
-xgeExtRegister(Display* dpy, int offset, XExtensionHooks* callbacks)
+_X_HIDDEN xgeExtRegister(Display* dpy, int offset, XExtensionHooks* callbacks)
 {
 XGEExtNode* newExt;
 XGEData* xge_data;



CVS commit: xsrc/external/mit/libXext/dist/src

2011-07-23 Thread matthew green
Module Name:xsrc
Committed By:   mrg
Date:   Sat Jul 23 21:32:31 UTC 2011

Modified Files:
xsrc/external/mit/libXext/dist/src: Xge.c

Log Message:
fix a merge botch.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 xsrc/external/mit/libXext/dist/src/Xge.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/libXext/dist/src/Xge.c
diff -u xsrc/external/mit/libXext/dist/src/Xge.c:1.3 xsrc/external/mit/libXext/dist/src/Xge.c:1.4
--- xsrc/external/mit/libXext/dist/src/Xge.c:1.3	Sat Jul 23 12:26:43 2011
+++ xsrc/external/mit/libXext/dist/src/Xge.c	Sat Jul 23 21:32:31 2011
@@ -291,6 +291,7 @@
 /*
  * Extensions need to register callbacks for their events.
  */
+Bool
 _X_HIDDEN xgeExtRegister(Display* dpy, int offset, XExtensionHooks* callbacks)
 {
 XGEExtNode* newExt;



CVS commit: xsrc/external/mit/libXext/dist/src

2011-07-23 Thread matthew green
Module Name:xsrc
Committed By:   mrg
Date:   Sat Jul 23 12:26:43 UTC 2011

Modified Files:
xsrc/external/mit/libXext/dist/src: Xge.c

Log Message:
merge libext 1.3.0


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 xsrc/external/mit/libXext/dist/src/Xge.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: xsrc/external/mit/libXext/dist/src

2011-07-23 Thread matthew green
Module Name:xsrc
Committed By:   mrg
Date:   Sat Jul 23 21:32:31 UTC 2011

Modified Files:
xsrc/external/mit/libXext/dist/src: Xge.c

Log Message:
fix a merge botch.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 xsrc/external/mit/libXext/dist/src/Xge.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: xsrc/external/mit/libXext/dist/src

2011-02-24 Thread Matt Thomas
Module Name:xsrc
Committed By:   matt
Date:   Thu Feb 24 22:36:12 UTC 2011

Modified Files:
xsrc/external/mit/libXext/dist/src: Xge.c

Log Message:
xgeExtRegister is X_HIDDEN in extutil.c, make sure it is in Xge.c


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 xsrc/external/mit/libXext/dist/src/Xge.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/libXext/dist/src/Xge.c
diff -u xsrc/external/mit/libXext/dist/src/Xge.c:1.1.1.2 xsrc/external/mit/libXext/dist/src/Xge.c:1.2
--- xsrc/external/mit/libXext/dist/src/Xge.c:1.1.1.2	Sun Nov 21 05:47:49 2010
+++ xsrc/external/mit/libXext/dist/src/Xge.c	Thu Feb 24 22:36:12 2011
@@ -291,7 +291,7 @@
 /*
  * Extensions need to register callbacks for their events.
  */
-Bool
+Bool _X_HIDDEN
 xgeExtRegister(Display* dpy, int offset, XExtensionHooks* callbacks)
 {
 XGEExtNode* newExt;



CVS commit: xsrc/external/mit/libXext/dist/src

2011-02-24 Thread Matt Thomas
Module Name:xsrc
Committed By:   matt
Date:   Thu Feb 24 22:36:12 UTC 2011

Modified Files:
xsrc/external/mit/libXext/dist/src: Xge.c

Log Message:
xgeExtRegister is X_HIDDEN in extutil.c, make sure it is in Xge.c


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 xsrc/external/mit/libXext/dist/src/Xge.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.