Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Error.c: fix format-truncation warning | Ulrich Sibiller | 2020-01-05 | 2 | -40/+19 |
| | | | | | | | | | | Error.c: In function ‘nxagentGetSessionPath’: Error.c:543:62: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 253 [-Wformat-truncation=] snprintf(nxagentSessionDir, DEFAULT_STRING_LENGTH, "%s/C-%s", rootPath, nxagentSessionId); ^~ ~~~~~~~~~~~~~~~~ Error.c:543:5: note: ‘snprintf’ output 4 or more bytes (assuming 259) into a destination of size 256 snprintf(nxagentSessionDir, DEFAULT_STRING_LENGTH, "%s/C-%s", rootPath, nxagentSessionId); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||||
* | Dialog.c: fix format-truncation warning | Ulrich Sibiller | 2020-01-05 | 1 | -4/+14 |
| | | | | | | | | | | Dialog.c: In function ‘nxagentLaunchDialog’: Dialog.c:320:53: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 256 [-Wformat-truncation=] snprintf(dialogDisplay, sizeof(dialogDisplay), "%s", nxagentDisplayName); ^~ ~~~~~~~~~~~~~~~~~~ Dialog.c:320:5: note: ‘snprintf’ output between 1 and 1024 bytes into a destination of size 256 snprintf(dialogDisplay, sizeof(dialogDisplay), "%s", nxagentDisplayName); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||||
* | Merge branch 'uli42-pr/custom_version_string' into 3.6.x | Mike Gabriel | 2020-01-05 | 6 | -8/+46 |
|\ | | | | | | | Attributes GH PR #607: https://github.com/ArcticaProject/nx-libs/pull/607 | ||||
| * | Add support for custom version string | Ulrich Sibiller | 2020-01-05 | 6 | -8/+46 |
|/ | | | | | | | | | | | Make nxproxy and nxagent print an arbitrary version number by running make NX_VERSION_CUSTOM="myvers". nxagent and nxproxy will then show this in addition to the original version number: NXPROXY - Version myvers (3.5.99.22) NXAGENT - Version myvers (3.5.99.22) Fixes ArcticaProject/nx-libs#606 | ||||
* | Merge branch 'uli42-pr/xlib_types' into 3.6.x | Mike Gabriel | 2020-01-05 | 11 | -70/+74 |
|\ | | | | | | | Attributes GH PR #883: https://github.com/ArcticaProject/nx-libs/pull/883 | ||||
| * | nxagent: Use XlibAtom data type where appropriate | Ulrich Sibiller | 2020-01-05 | 11 | -70/+74 |
|/ | | | | | | | | XlibAtom should be used wherever remote atoms are handled. This is important as Xlib data types and server data types of the same name do not always have identical sizes. See also https://lists.freedesktop.org/archives/xorg-devel/2015-August/047245.html | ||||
* | Merge branch 'uli42-pr/code_cleanup' into 3.6.x | Mike Gabriel | 2020-01-05 | 27 | -2882/+1797 |
|\ | | | | | | | Attributes GH PR #869: https://github.com/ArcticaProject/nx-libs/pull/869 | ||||
| * | Pixels.c: reformat comments | Ulrich Sibiller | 2020-01-05 | 1 | -7/+4 |
| | | |||||
| * | Pixels.c: scope improvements | Ulrich Sibiller | 2020-01-05 | 1 | -6/+4 |
| | | |||||
| * | Options.h: reformat | Ulrich Sibiller | 2020-01-05 | 1 | -137/+57 |
| | | |||||
| * | Options.c: reformat comments | Ulrich Sibiller | 2020-01-05 | 1 | -12/+9 |
| | | |||||
| * | Pointer.c: scope improvements | Ulrich Sibiller | 2020-01-05 | 1 | -12/+6 |
| | | |||||
| * | Pointer.c: reformat comments | Ulrich Sibiller | 2020-01-05 | 1 | -9/+8 |
| | | |||||
| * | Visual.{ch}: disable unused code | Ulrich Sibiller | 2020-01-05 | 2 | -0/+5 |
| | | |||||
| * | Visual.c: reformat comments | Ulrich Sibiller | 2020-01-05 | 2 | -18/+12 |
| | | |||||
| * | Visual.c: code improvements/desginated initializers | Ulrich Sibiller | 2020-01-05 | 1 | -22/+14 |
| | | |||||
| * | Split.c: scope improvements/code simplification | Ulrich Sibiller | 2020-01-05 | 1 | -21/+7 |
| | | |||||
| * | Split.c: reformat comments | Ulrich Sibiller | 2020-01-05 | 1 | -60/+41 |
| | | |||||
| * | Keyboard.c: code simplification / scope improvements | Ulrich Sibiller | 2020-01-05 | 1 | -35/+29 |
| | | |||||
| * | Keyboard.c: reformat comments | Ulrich Sibiller | 2020-01-05 | 1 | -23/+20 |
| | | |||||
| * | Init.c: rewrite two function prototypes | Ulrich Sibiller | 2020-01-05 | 1 | -5/+2 |
| | | |||||
| * | Init.c: reformat comments | Ulrich Sibiller | 2020-01-05 | 1 | -63/+31 |
| | | |||||
| * | Handlers.c: reformat comments | Ulrich Sibiller | 2020-01-05 | 1 | -12/+9 |
| | | |||||
| * | GCOps.c: code simplification / scope improvements | Ulrich Sibiller | 2020-01-05 | 1 | -14/+5 |
| | | |||||
| * | GCOps.c: reformat comments | Ulrich Sibiller | 2020-01-05 | 1 | -6/+4 |
| | | |||||
| * | GC.c: blank line cleanup | Ulrich Sibiller | 2020-01-05 | 1 | -0/+1 |
| | | |||||
| * | GC.c: code simplifications / scope improvements | Ulrich Sibiller | 2020-01-05 | 1 | -5/+4 |
| | | |||||
| * | GC.c: reformat comments | Ulrich Sibiller | 2020-01-05 | 1 | -5/+5 |
| | | |||||
| * | Font.c: scope improvements | Ulrich Sibiller | 2020-01-05 | 1 | -30/+15 |
| | | |||||
| * | Font.c: reformat comments | Ulrich Sibiller | 2020-01-05 | 1 | -28/+20 |
| | | |||||
| * | Error.c: Code simplification | Ulrich Sibiller | 2020-01-05 | 1 | -3/+0 |
| | | |||||
| * | Drawable.c: code simplifications / scope improvements | Ulrich Sibiller | 2020-01-05 | 1 | -248/+116 |
| | | |||||
| * | Drawable.c: reformat comments | Ulrich Sibiller | 2020-01-05 | 1 | -239/+174 |
| | | |||||
| * | Display.c: remove blank lines | Ulrich Sibiller | 2020-01-05 | 1 | -11/+0 |
| | | |||||
| * | Display.c: code simplification, scope improvements | Ulrich Sibiller | 2020-01-05 | 1 | -28/+17 |
| | | |||||
| * | Display.c: reformat comments | Ulrich Sibiller | 2020-01-05 | 1 | -43/+36 |
| | | |||||
| * | Dialog.c: use designated initializer | Ulrich Sibiller | 2020-01-05 | 1 | -4/+4 |
| | | |||||
| * | Dialog.c: shorten switch blocks | Ulrich Sibiller | 2020-01-05 | 1 | -2/+0 |
| | | |||||
| * | Composite.c: scope improvement | Ulrich Sibiller | 2020-01-05 | 1 | -3/+1 |
| | | |||||
| * | Composite.c: reformat comments | Ulrich Sibiller | 2020-01-05 | 1 | -13/+10 |
| | | |||||
| * | Client.c: remove tailing whitespace | Ulrich Sibiller | 2020-01-05 | 1 | -1/+0 |
| | | |||||
| * | BitmapUtils.c: remove tailing whitespace | Ulrich Sibiller | 2020-01-05 | 1 | -1/+0 |
| | | |||||
| * | Cursor.c: use __func__ in fprintf calls | Ulrich Sibiller | 2020-01-05 | 1 | -37/+30 |
| | | |||||
| * | Cursor.c: remove some blank lines | Ulrich Sibiller | 2020-01-05 | 1 | -8/+0 |
| | | |||||
| * | Cursor.c: scope improvements | Ulrich Sibiller | 2020-01-05 | 1 | -31/+24 |
| | | |||||
| * | Image.c: remove some blank lines | Ulrich Sibiller | 2020-01-05 | 1 | -4/+0 |
| | | |||||
| * | Image.c: scope improvements | Ulrich Sibiller | 2020-01-05 | 1 | -23/+13 |
| | | |||||
| * | Image.c: reformat comments | Ulrich Sibiller | 2020-01-05 | 1 | -11/+5 |
| | | |||||
| * | Events.c: fix format specifiers | Ulrich Sibiller | 2020-01-05 | 1 | -5/+5 |
| | | |||||
| * | Event.c: use __func__ in fprintf | Ulrich Sibiller | 2020-01-05 | 1 | -170/+144 |
| | |