aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* randr: fix broken macros / memory corruptionUlrich Sibiller2020-10-161-3/+3
| | | | | | | | | | | | | By casting the rrScrPriv to ScreenPtr we are using the offsets from the Screen structure for referencing data in the rrScrPriv structure causing data corruption. As both macros use the same casting this still works until the location where the data resides is overwritten. For 64bit the location was the "rotations" member in rrScrPriv which was not problematic because it is barely used. But on 32bit it was "numCrtcs" which is heavily used. On unwrap this was 0 and lead to a segfault. Fixes ArcticaProject/nx-libs#943
* Update SECURITY.mdMike Gabriel2020-10-011-1/+1
|
* Update SECURITY.mdMike Gabriel2020-10-011-2/+2
|
* Create SECURITY.mdMike Gabriel2020-10-011-0/+19
|
* Merge branch 'mjtrangoni-add-pvs-studio' into 3.6.xMike Gabriel2020-06-292-3/+72
|\ | | | | | | Attributs GH PR #936: https://github.com/ArcticaProject/nx-libs/pull/936
| * travis-ci: add PVS StudioMario Trangoni2020-06-292-3/+72
|/ | | | Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
* Merge branch 'uli42-pr/clarify_sleep' into 3.6.xMike Gabriel2020-06-296-18/+32
|\ | | | | | | Attributs GH PR #930: https://github.com/ArcticaProject/nx-libs/pull/930
| * Extend sleep documentationUlrich Sibiller2020-06-291-3/+5
| | | | | | | | Attributes ArcticaProject/nx-libs#241
| * nxagent: clarify sleep time unitsUlrich Sibiller2020-06-295-15/+27
|/ | | | | | | No functional changes, just clarification/explanation of the existing code. Fixes ArcticaProject/nx-libs#926
* Merge branch 'uli42-pr/extend_manpage' into 3.6.xMike Gabriel2020-06-292-14/+47
|\ | | | | | | Attributes GH PR #931: https://github.com/ArcticaProject/nx-libs/pull/931
| * Args.c: adapt message to use same format as similar messagespr/extend_manpageUlrich Sibiller2020-06-291-1/+1
| |
| * manpage: document copysize parameterUlrich Sibiller2020-06-291-0/+4
| | | | | | | | was previously undocumented.
| * manpage and usage output: add -irlimitUlrich Sibiller2020-06-292-0/+4
| | | | | | | | Fixes ArcticaProject/nx-libs#796
| * Extend some manpage entriesUlrich Sibiller2020-06-292-13/+38
|/ | | | | | | Fixes ArcticaProject/nx-libs#241 Fixes ArcticaProject/nx-libs#495 Fixes ArcticaProject/nx-libs#535 Fixes ArcticaProject/nx-libs#565
* Merge branch 'uli42-pr/hint_on_current_builds' into 3.6.xMike Gabriel2020-06-291-0/+27
|\ | | | | | | Attributes GH PR #934: https://github.com/ArcticaProject/nx-libs/pull/934
| * README.md: Add a "Binary Builds" sectionUlrich Sibiller2020-06-181-0/+27
|/
* release 3.5.99.243.5.99.24Mike Gabriel2020-05-319-10/+672
|
* Merge branch 'uli42-pr/clipboard_dump' into 3.6.xMike Gabriel2020-05-3111-177/+204
|\ | | | | | | Attributes GH PR #918: https://github.com/ArcticaProject/nx-libs/pull/918
| * NXevents.c, NXdispatch.c: add some DEBUG statementsUlrich Sibiller2020-05-312-2/+15
| |
| * Client.h: make macro NULL pointer safeUlrich Sibiller2020-05-311-2/+2
| |
| * Clipboard.c: small code improvementUlrich Sibiller2020-05-311-8/+7
| |
| * Clipboard.c: add description/warning for nxagentClearClipboardUlrich Sibiller2020-05-311-0/+6
| |
| * Clipboard.c: improve some more debugging messagesUlrich Sibiller2020-05-311-19/+20
| |
| * Clipboard.c: use nxagentClientInfoString for debug outputUlrich Sibiller2020-05-311-58/+38
| |
| * Clipboard.c: add elapsed time for lastClient to stats output if availableUlrich Sibiller2020-05-311-2/+8
| |
| * Clipboard.c: call endTransfer()Ulrich Sibiller2020-05-311-4/+1
| | | | | | | | instead of sendSelectionNotifyEventToClient + setClientSelectionStage
| * Clipboard.c: drop notifyConvertFailureUlrich Sibiller2020-05-311-24/+15
| | | | | | | | | | Moving the client check to sendSelectionNotifyEventToClient enables us to drop notifyConvertFailure.
| * Clipboard.c: drop unused return code of sendSelectionNotifyEventToClientUlrich Sibiller2020-05-311-8/+8
| |
| * Clipboard.c: Fix: always reset selectionStage in endTransferUlrich Sibiller2020-05-311-15/+16
| |
| * Clipboard.c: make setClientSelectionStage a functionUlrich Sibiller2020-05-311-26/+42
| | | | | | | | and reset the lastClient variables when stage is set to None.
| * Clipboard.c: improve Clipboard statsUlrich Sibiller2020-05-311-1/+11
| | | | | | | | resolve lastClientClientPtr to process id and process name
| * nxagent: Add keystroke for dumping the current clipboard stateUlrich Sibiller2020-05-318-26/+31
| |
| * nxagent: Free atom map on terminationUlrich Sibiller2020-05-311-0/+2
|/
* Merge branch 'uli42-pr/fix_region_crash' into 3.6.xMike Gabriel2020-05-301-1/+4
|\ | | | | | | Attributes GH PR #927: https://github.com/ArcticaProject/nx-libs/pull/927
| * mi: define NXAGENT_SERVERUlrich Sibiller2020-05-301-1/+4
|/ | | | | | | | | In commit f48e2da3e86b2d7600de3d5d4ef6f81ba2c17bed I marked NX changes by using #ifdef NXAGENT_SERVER. But I had missed that this define was never set in mi. So let's change that now and make it work like before. Fixes ArcticaProject/nx-libs#926
* Enable slave socket in server modeVadim Troshchinskiy2020-05-301-1/+2
|
* Merge branch 'mjtrangoni-update-ci' into 3.6.xMike Gabriel2020-05-301-18/+27
|\ | | | | | | Attributes GH PR #924: https://github.com/ArcticaProject/nx-libs/pull/924
| * TravisCI: Upgrade CI configurationMario Trangoni2020-05-101-18/+27
|/ | | | | | | | | | Run newer compilers in Ubuntu Bionic 18.04. Also update gcc from v9.x to v10.x, and clang from v8.x to 9.x Fix some syntax changes in TravisCI configuration. Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
* Merge branch 'uli42-pr/various4' into 3.6.xMike Gabriel2020-05-0782-4653/+2825
|\ | | | | | | Attributes GH PR #896: https://github.com/ArcticaProject/nx-libs/pull/896
| * Events.h: reformat commentsUlrich Sibiller2020-05-071-22/+15
| |
| * Reconnect.c: save some linesUlrich Sibiller2020-05-071-14/+1
| |
| * Reconnect.c: reformat commentsUlrich Sibiller2020-05-071-20/+14
| |
| * Screen.c: fix missing type in DEBUG modeUlrich Sibiller2020-05-071-2/+2
| |
| * Reconnect.c: reformat saveAgentState()Ulrich Sibiller2020-05-071-5/+4
| |
| * Rootless.c: do not import private propertiesUlrich Sibiller2020-05-072-0/+40
| | | | | | | | | | | | | | | | | | | | In rootless mode some properties are private (or internal or adminitrative). They are only required for the windows on the real X server side that represent nxagent's windows. Those properties should never be cloned from there to the the nxagent windows so we filter them. Fixes ArcticaProject/nx-libs#920
| * Rootless.c: improve TEST outputUlrich Sibiller2020-05-071-12/+16
| | | | | | | | more output, correct format specifiers
| * Rootless.c: add some commentsUlrich Sibiller2020-05-071-0/+11
| |
| * Clipboard.c: fix typoUlrich Sibiller2020-05-071-1/+1
| |
| * Keystroke.c: whitespace fixesUlrich Sibiller2020-05-071-6/+6
| |
| * NXdixfonts.c: some code cleanupsUlrich Sibiller2020-05-071-18/+16
| | | | | | | | reformat, extend comments, simplify ifdef