- 02 May, 2016 10 commits
-
-
Mike Gabriel authored
This makes the region code changes source compatible with existing code, although none of them are used within the server source itself. In NX, this patch is not really necessary, but it has been backported with the previous patches for the sake of backporting the complete mi/miregion.c -> dix/region.c change in X.Org. v1: Keith Packard <keithp@keithp.com> v2: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> (backported to nx-libs)
-
Mike Gabriel authored
This prepares the file to be moved from mi to dix. This patch was done mechanically with the included scripts 'fix-miregion' run over the entire X server and 'fix-miregion-private' run over include/regionstr.h and mi/miregion.c. v1: Keith Packard <keithp@keithp.com> v2: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> (backported to nx-libs)
-
Keith Packard authored
v1: Keith Packard <keithp@keithp.com> v2: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> (backported to nx-libs)
-
Mike Gabriel authored
-
Mike Gabriel authored
This makes all of the previous macros into inline functions and also turns all of the direct calls to pixman region code into inline functions as well. v1: Keith Packard <keithp@keithp.com> v2: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
-
Mike Gabriel authored
This is a huge mechanical patch and a few small fixups required to finish the job. They were reviewed separately, but because the server does not build without both pieces, I've merged them together at this time. The mechanical changes were performed by running the included 'fix-region' script over the whole nx-X11/programs/Xserver tree: $ cd nx-X11/programs/Xserver && ( git ls-files | grep -v '^fix-' | xargs ./fix-region; ) And then, the white space errors in the resulting patch were fixed using the provided fix-patch-whitespace script. $ sh ./fix-patch-whitespace Thanks to Jamey Sharp for the mighty fine sed-generating sed script. v1: Keith Packard <keithp@keithp.com> (X.Org xserver commit: 2dc138922b7588515d5f2447e4b9dcdc0bef15e0) v2: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> (apply fix-region script to nx-libs)
-
Mike Gabriel authored
-
Mike Gabriel authored
-
Mike Gabriel authored
Amends the following compiler warnings: ``` NXwindow.c: In function ‘nxagentClearSplash’: NXwindow.c:342:12: warning: variable ‘h’ set but not used [-Wunused-but-set-variable] int w, h; ^ NXwindow.c:342:9: warning: variable ‘w’ set but not used [-Wunused-but-set-variable] int w, h; ^ ```
-
Mike Gabriel authored
The var is not defined anymore and the libXinerama code has been removed some time ago.
-
- 27 Apr, 2016 5 commits
-
-
Mike Gabriel authored
-
Salvador Fandino authored
-
Mike Gabriel authored
-
Mike Gabriel authored
-
Fernando Carvajal authored
This commit removes several warnings in nxcomp related to unused but set variables. It also replaces tempnam function with the more secure one mkstemp and there has been removed another warning related to setgid and setuid returning values not being checked. So these were the compiler warnings in nxcomp that have been fixed: Loop.cpp: In function ‘int ParseRemoteOptions(char*)’: Loop.cpp:9423:7: warning: variable ‘hasLimit’ set but not used [-Wunused-but-set-variable] int hasLimit = 0; ^ Loop.cpp:9424:7: warning: variable ‘hasRender’ set but not used [-Wunused-but-set-variable] int hasRender = 0; ^ Loop.cpp:9425:7: warning: variable ‘hasTaint’ set but not used [-Wunused-but-set-variable] int hasTaint = 0; ^ Loop.cpp:9427:7: warning: variable ‘hasStrict’ set but not used [-Wunused-but-set-variable] int hasStrict = 0; ^ Loop.cpp:9428:7: warning: variable ‘hasShseg’ set but not used [-Wunused-but-set-variable] int hasShseg = 0; ^ ServerChannel.cpp: In member function ‘virtual int ServerChannel::handleWrite(const unsigned char*, unsigned int)’: ServerChannel.cpp:2132:9: warning: variable ‘hit’ set but not used [-Wunused-but-set-variable] int hit; ^ Proxy.o: In function `Proxy::handleSaveAllStores(char const*) const': Proxy.cpp:(.text+0x2cac): warning: the use of `tempnam' is dangerous, better use `mkstemp' Pipe.cpp: In function ‘FILE* Popen(char* const*, const char*)’: Pipe.cpp:240:23: warning: ignoring return value of ‘int setgid(__gid_t)’, declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^ Pipe.cpp:241:23: warning: ignoring return value of ‘int setuid(__uid_t)’, declared with attribute warn_unused_result [-Wunused-result] setuid(getuid()); ^ There was also a hidden problem in the way Proxy::handleSaveAllStores was checking for an error in the returning value from the call to the virtual method handleSaveAllStores of the specific proxy class really being used (ClientProxy or ServerProxy). Former code was considering the value 0 as the returning value in case of an error whereas both subclasses return the value -1 when there is an error in their handleSaveAllStores method. This bug has been fixed in this commit taking advantage of the modification that was already being made to this method in order to replace tempnam function with the more secure one mkstemp. Fixes: ArcticaProject/nx-libs#103
-
- 26 Apr, 2016 1 commit
-
-
Mihai Moldovan authored
-
- 20 Apr, 2016 3 commits
-
-
Mike Gabriel authored
-
Mike Gabriel authored
-
Salvador Fandino authored
It was GPL3 instead of GPL2! Fixes ArcticaProject/nx-libs#112
-
- 19 Apr, 2016 1 commit
-
-
Mike Gabriel authored
-
- 15 Apr, 2016 1 commit
-
-
Fernando Carvajal authored
This commit removes TextCompressor class references from ClientCache and ServerCache as it's no longer used after removing old protocol's compatibility code from nxcomp. It also removes the attribute textCache from both classes as it's no longer used either. Finally the header and source files associated with the TextCompressor class are also deleted and removed from the compilation process. Refs: ArcticaProject/nx-libs#108
-
- 14 Apr, 2016 1 commit
-
-
Fernando Carvajal authored
This commit provides documentation about some error tests that have been run to check how well behaves nxcomp after removing it's compatibility code with versions prior to 3.5.0 and it has to handle a situation in in which and older proxy tries to connect with a nxcomp 3.6.x based proxy. Refs: ArcticaProject/nx-libs#108
-
- 12 Apr, 2016 2 commits
-
-
Fernando Carvajal authored
This commit removes obsolete compatibility files whose components were only used to handle compatibility with old protocol versions that are no longer supported. Refs: ArcticaProject/nx-libs#108
-
Fernando Carvajal authored
As a part of nxcomp's clean-up process, compatibility with old protocol versions has been set now at 3.5.0. This commit removes compatibility code from nxcomp so the minimum supported version changes from 1.5.0 (protocol step 6) to 3.5.0 (protocol step 10). At this moment the removal is not complete and it will be followed by some other commits, in order to get rid of several components and files that are no longer used as they were only needed to work with old protocol versions. Refs: ArcticaProject/nx-libs#108
-
- 22 Mar, 2016 1 commit
-
-
Mike Gabriel authored
Fixes ArcticaProject/nx-libs#104
-
- 17 Mar, 2016 1 commit
-
-
Mike Gabriel authored
debian/patches/401_nxcomp_bigrequests-and-genericevent-extensions.full+lite.patch: Move into debian/patches-pending-evaluation/.
-
- 15 Mar, 2016 1 commit
-
-
Mike Gabriel authored
-
- 02 Mar, 2016 1 commit
-
-
Nito Martinez authored
-
- 26 Feb, 2016 1 commit
-
-
Mike Gabriel authored
-
- 19 Jan, 2016 5 commits
-
-
Mike Gabriel authored
-
Mike Gabriel authored
-
Mike Gabriel authored
Attributes GH PR #71: https://github.com/ArcticaProject/nx-libs/pull/71
-
Mike DePaulo authored
-
Mike DePaulo authored
-
- 09 Jan, 2016 1 commit
-
-
Mike Gabriel authored
Add instructions for building using Mock under Fedora/EPEL.
-
- 02 Jan, 2016 1 commit
-
-
Mike Gabriel authored
debian/nx-x11proto-xinerama-dev.install.in: Install PANORAMIX extension header files into its own nx-x11proto bin:package. (more Xinerama clean-up, fix FTBFS during dh_install).
-
- 01 Jan, 2016 4 commits
-
-
Mike DePaulo authored
-
Mike DePaulo authored
-
Mike DePaulo authored
-
Mike DePaulo authored
-