aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* NXwindow.c: Don't set w and h, not used later on.Mike Gabriel2016-05-021-4/+0
| | | | | | | | | | | | | | 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; ^ ```
* lib/Imakefile: Drop $(XINERAMADIR) from nx-X11/lib/Imakefile.Mike Gabriel2016-05-021-1/+0
| | | | | The var is not defined anymore and the libXinerama code has been removed some time ago.
* Merge branch 'sunweaver-pr/nxcomp-unix-sockets-for-channels' into 3.6.xMike Gabriel2016-04-2710-315/+634
|\
| * Provide support for channel endpoints being UNIX file sockets in addition to ↵Salvador Fandino2016-04-2710-315/+634
|/ | | | being TCP/IP sockets.
* nxcomp: Rephrase comment in previous commit.Mike Gabriel2016-04-271-3/+3
|
* Merge branch 'fcarvajaldev-3.6.x-nxcomp-amend-compiler-warnings' into 3.6.xMike Gabriel2016-04-275-61/+129
|\
| * Clean up compiler warnings in nxcompFernando Carvajal2016-04-275-61/+129
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge branch 'sunweaver-pr/libxrender-cleanup' into arctica-3.6.xMihai Moldovan2016-04-2628-4002/+39
|\
| * library-cleanup: Don't build libNX_Xrender anymore. Use system's libXrender ↵Mike Gabriel2016-04-2028-4002/+39
|/ | | | shared library.
* Merge branch 'theqvd-fix-for-112' into 3.6.xMike Gabriel2016-04-201-19/+10
|\
| * Fix copyright notice in nxcomp/Version.cSalvador Fandino2016-04-201-19/+10
|/ | | | | | It was GPL3 instead of GPL2! Fixes ArcticaProject/nx-libs#112
* Merge branch 'fcarvajaldev-3.6.x-remove-old-proto-compat' into 3.6.xMike Gabriel2016-04-1986-6620/+650
|\
| * Remove TextCompressor class and files from nxcompFernando Carvajal2016-04-158-145/+0
| | | | | | | | | | | | | | | | | | | | | | | | 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
| * Add testing doc for nxcomp drop-old-proto-compatFernando Carvajal2016-04-141-0/+0
| | | | | | | | | | | | | | | | | | 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
| * Remove obsolete compatibility files from nxcompFernando Carvajal2016-04-1226-3983/+1
| | | | | | | | | | | | | | | | 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
| * Remove compatibility code for nxcomp before 3.5.0Fernando Carvajal2016-04-1258-2492/+649
|/ | | | | | | | | | | | | | 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
* nxcomp: Properly define NX*Version(void) prototypes in NX.h.Mike Gabriel2016-03-221-5/+5
| | | | Fixes ArcticaProject/nx-libs#104
* debian/patches/401_nxcomp_bigrequests-and-genericevent-extensions.full+lite. ↵Mike Gabriel2016-03-171-0/+1870
| | | | patch: Move into debian/patches-pending-evaluation/.
* doc: Collect data on what libX11 symbols are used by nx-X11, nx-Xserver and ↵Mike Gabriel2016-03-154-0/+6577
| | | | nxagent.
* Rename file for windows environments, Fixes #96Nito Martinez2016-03-022-1/+1
|
* rename original NX patches, so that we can see the patched file's name in ↵Mike Gabriel2016-02-2688-0/+0
| | | | the patch file name.
* README.md: Update open / completed tasks regarding 3.6.x and 3.7.x releases.Mike Gabriel2016-01-191-7/+18
|
* README.md: Update release dates for 3.6.x and 3.7.x (as earlier discussed ↵Mike Gabriel2016-01-191-3/+3
| | | | with Salve from TheQVD).
* Merge branch 'mikedep333-README.md' into 3.6.xMike Gabriel2016-01-191-2/+22
|\ | | | | | | Attributes GH PR #71: https://github.com/ArcticaProject/nx-libs/pull/71
| * README.md: Add debuild instructionsMike DePaulo2016-01-181-0/+19
| |
| * README.md: Update signatureMike DePaulo2016-01-181-2/+3
|/
* Merge pull request #68 from mikedep333/mock-build-instructionsMike Gabriel2016-01-091-0/+26
|\ | | | | Add instructions for building using Mock under Fedora/EPEL.
| * Add instructions for building using Mock under Fedora/EPELMike DePaulo2016-01-011-0/+26
| |
* | debian/nx-x11proto-xinerama-dev.install.in: Install PANORAMIX extension ↵Mike Gabriel2016-01-021-0/+2
| | | | | | | | header files into its own nx-x11proto bin:package. (more Xinerama clean-up, fix FTBFS during dh_install).
* | nx-libs.spec: FTBFS Fixes (more libNX_Xinerama cleanup)Mike DePaulo2016-01-011-4/+0
| |
* | nx-libs.spec: Misc FTBFS fixes for %files due to recent library changesMike DePaulo2016-01-011-3/+1
| |
* | Fedora/EPEL: Add the implicit build dependencies alsoMike DePaulo2016-01-011-0/+2
| |
* | Fedora/EPEL: Fix FTBFS due to missing libXpmMike DePaulo2016-01-011-0/+1
| |
* | Fix c4a3889. Add forgotten file nx-X11/programs/Xserver/Xinerama_nxagent.h.Mike Gabriel2016-01-011-0/+74
| |
* | nx-libs.spec: Re-add erroneously removed (during rebasing) BR libXdamage-devel.Mike Gabriel2016-01-011-0/+1
|/
* nxcomp: Make nxcomp/nxproxy aware of nxagent's xinerama option in the ↵Mike Gabriel2015-12-301-1/+2
| | | | $DISPLAY variable.
* Complete changes from commit 0d56c45 in NXpicturestr.h (i.e. add a missing ↵Mike DePaulo2015-12-301-0/+6
| | | | | | | comment). (Fixes ArcticaProject/nx-libs#38). commit 0d56c45 was: nx-X11: handle source pictures (those without a Drawable surface) gracefully.
* Merge branch 'sunweaver-pr/xinerama-xrandr' into 3.6.xMike Gabriel2015-12-3032-740/+697
|\ | | | | | | Attributes GH PR #66: https://github.com/ArcticaProject/nx-libs/pull/66
| * Xinerama: do not cut off at outer edgesUlrich Sibiller2015-12-302-3/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the problem Mike Gabriel describes like this: - Launch a session on a system with a single monitor. Enable Xinerama for this session. - Open a desktop session in that session window (e.g. MATE or XFCE). - Move the NX/MATE-or-XFCE session window around on that one monitor. Bump at the borders, so that the session window moves into the invisible parts around your monitor. What you see is that the MATE-or-XFCE window manager will become really busy with resizing the windows and panels in the NX session, because moving the window over the physical borders of the display will trigger resize events. This is non-intuitive, I think. Same with multi-monitors on the outside edges of the physical Xorg RandR setup.
| * Xserver globals.h: Make PanoramiXExtensionDisabledHack globally available.Mike Gabriel2015-12-301-0/+1
| |
| * Xserver help: Document -disablexineramaextension cmdline option.Mike Gabriel2015-12-301-0/+1
| |
| * X2Go Agent: Add x2goagent.features file that informs X2Go clients about the ↵Mike Gabriel2015-12-303-0/+47
| | | | | | | | new RandR based Xinerama feature.
| * Provide support for re-enabling Xinerama on session resumptions.Mike Gabriel2015-12-304-3/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | By design, when resuming a session, Xinerama can only be re-enabled by NX option parsing. Thus, this change introduces a "xinerama" NX option that can be loaded via an options file into NX agent when resuming a session. The new xinerame NX session option also allows switching on Xinerama at session startup via an option file. When implementing the new NX Xinerama support into clients (like TheQVD, X2Go Client, etc., this new xinerama NX option should be used for activating Xinerama in the NX / QVD / X2Go session.
| * Initialize XRandR based Xinerama extension properly when session is started ↵Mike Gabriel2015-12-301-1/+1
| | | | | | | | with "-geometry fullscreen".
| * Only declare nxagentRandRCrtcSet if RANDR_12_INTERFACE is defined.Mike Gabriel2015-12-301-0/+2
| |
| * Screen.c: Rename NX_USE_MODE_PREFIX to NXAGENT_RANDR_MODE_PREFIX, fix ↵Mike Gabriel2015-12-302-3/+4
| | | | | | | | unclosed comment.
| * Screen.c: restructure xinerama code, much shorter nowUlrich Sibiller2015-12-301-64/+40
| |
| * Screen.c: Fix freeing of unsued modesUlrich Sibiller2015-12-301-9/+28
| |
| * Screen.c: improve comments and DEBUG outputUlrich Sibiller2015-12-301-24/+59
| |
| * rrmode.c: add debug outputUlrich Sibiller2015-12-301-2/+25
| |