Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | XkbSendNames: fix use of uninitialised bytes valgrind error. | Ulrich Sibiller | 2018-11-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backported-to-nx-by: Ulrich Sibiller <uli42@gmx.de> commit 8a34d7a8532c7ca013e67307f3baf200167abb92 Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Tue Feb 8 11:10:11 2011 +0200 XkbSendNames: fix use of uninitialised bytes valgrind error. ==537== Syscall param writev(vector[...]) points to uninitialised byte(s) ==537== at 0x4AB7154: writev (writev.c:51) ==537== by 0x8935B: _XSERVTransWritev (Xtrans.c:912) ==537== by 0x6C55F: FlushClient (io.c:924) ==537== by 0x6CCF3: WriteToClient (io.c:846) ==537== by 0xD51D3: XkbSendNames (xkb.c:3765) ==537== by 0xD8183: ProcXkbGetKbdByName (xkb.c:5825) ==537== by 0x27B7B: Dispatch (dispatch.c:432) ==537== by 0x205B7: main (main.c:291) ==537== Address 0x55899f2 is 154 bytes inside a block of size 1,896 alloc'd ==537== at 0x4834C48: malloc (vg_replace_malloc.c:236) ==537== by 0xD47AF: XkbSendNames (xkb.c:3642) ==537== by 0xD8183: ProcXkbGetKbdByName (xkb.c:5825) ==537== by 0x27B7B: Dispatch (dispatch.c:432) ==537== by 0x205B7: main (main.c:291) ==537== Uninitialised value was created by a heap allocation ==537== at 0x4834C48: malloc (vg_replace_malloc.c:236) ==537== by 0xD47AF: XkbSendNames (xkb.c:3642) ==537== by 0xD8183: ProcXkbGetKbdByName (xkb.c:5825) ==537== by 0x27B7B: Dispatch (dispatch.c:432) ==537== by 0x205B7: main (main.c:291) Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Oliver McFadden <oliver.mcfadden@nokia.com> Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> | |||||
* | Keyboard.c: simplify even more: free stuff at one place | Ulrich Sibiller | 2018-11-09 | 1 | -16/+8 | |
| | ||||||
* | Keyboard.c: fix keyboard=query logic | Ulrich Sibiller | 2018-11-09 | 1 | -1/+1 | |
| | | | | an empty nxagentKeyboard variable is no reason to fall back to no-XKB mode | |||||
* | Keyboard.c: greatly simplify the code in nxagentKeyboardProc | Ulrich Sibiller | 2018-11-09 | 1 | -31/+13 | |
| | | | | most of the code was existing twice | |||||
* | Keyboard.c: guard XkbFreeKeyboard calls | Ulrich Sibiller | 2018-11-09 | 1 | -5/+10 | |
| | | | | manpage does not tell us if NULL is valid | |||||
* | Keyboard.c: simplify over-specific if | Ulrich Sibiller | 2018-11-09 | 1 | -2/+1 | |
| | ||||||
* | Keyboard.c: simplify RLMVO string handling | Ulrich Sibiller | 2018-11-09 | 1 | -37/+9 | |
| | ||||||
* | Keyboard.c: always ask for remote XKB | Ulrich Sibiller | 2018-11-09 | 1 | -12/+12 | |
| | ||||||
* | Lift xkb to XORG-1.3.0.0 state | Ulrich Sibiller | 2018-11-09 | 2 | -3/+4 | |
| | ||||||
* | XKB: provide XKB defines via Imakefile | Ulrich Sibiller | 2018-11-09 | 1 | -1/+1 | |
| | ||||||
* | Keyboard.c: do not define own RLMVO defaults | Ulrich Sibiller | 2018-11-09 | 1 | -94/+5 | |
| | | | | use the ones from xkb | |||||
* | no more own XkbBaseDirectory handling | Ulrich Sibiller | 2018-11-09 | 2 | -361/+1 | |
| | | | | Just use the existing xkb code | |||||
* | Keyboard.c: remove unused defines | Ulrich Sibiller | 2018-11-09 | 1 | -6/+0 | |
| | | | | Defines regarding XKB-BASE_DIRECTORY are used only xkb. | |||||
* | Keyboard.c: remove unnecessary includes | Ulrich Sibiller | 2018-11-09 | 1 | -7/+0 | |
| | ||||||
* | Keyboard.c: Remove (now) unused defines | Ulrich Sibiller | 2018-11-09 | 1 | -6/+0 | |
| | ||||||
* | Lift xkb to XORG-1.2.0 state | Ulrich Sibiller | 2018-11-09 | 23 | -377/+2979 | |
| | ||||||
* | Check nxagentXkbInfo.EventBase before use | Ulrich Sibiller | 2018-11-09 | 1 | -1/+7 | |
| | ||||||
* | Lift Xi to 1.3.0.0 (identical to 1.2.0) | Ulrich Sibiller | 2018-11-01 | 38 | -45/+25 | |
| | ||||||
* | Window.c: use C99 designated initializers at some places | Ulrich Sibiller | 2018-10-27 | 1 | -37/+30 | |
| | ||||||
* | Window.c: add FIXME | Ulrich Sibiller | 2018-10-27 | 1 | -0/+4 | |
| | ||||||
* | Window.c: save some lines by declaring loop variables in the loop | Ulrich Sibiller | 2018-10-27 | 1 | -48/+21 | |
| | ||||||
* | Window.c: indent ifdefs for better readability | Ulrich Sibiller | 2018-10-27 | 1 | -46/+43 | |
| | ||||||
* | Window.c: silence compiler warnings | Ulrich Sibiller | 2018-10-27 | 1 | -2/+8 | |
| | ||||||
* | Window.c: some code simplifications | Ulrich Sibiller | 2018-10-27 | 1 | -63/+26 | |
| | ||||||
* | Window.c: whitespace cleanup | Ulrich Sibiller | 2018-10-27 | 1 | -136/+34 | |
| | ||||||
* | Window.c: scope improvements | Ulrich Sibiller | 2018-10-27 | 1 | -40/+27 | |
| | ||||||
* | Window.c: reformat/add braces for readability | Ulrich Sibiller | 2018-10-27 | 1 | -42/+110 | |
| | ||||||
* | Window.c: indent FIXMEs | Ulrich Sibiller | 2018-10-27 | 1 | -27/+27 | |
| | ||||||
* | Window.c: convert old-style function definitions to ANSI C89 style | Ulrich Sibiller | 2018-10-27 | 1 | -16/+6 | |
| | ||||||
* | Clipboard.c: use __func__ everywhere | Ulrich Sibiller | 2018-10-27 | 1 | -59/+58 | |
| | ||||||
* | Clipboard.c: fix fprintf type warnings | Ulrich Sibiller | 2018-10-27 | 1 | -20/+20 | |
| | ||||||
* | Clipboard.c: more DEBUG output | Ulrich Sibiller | 2018-10-27 | 1 | -3/+12 | |
| | ||||||
* | Clipboard.c: Use constant instead of hardcoded value | Ulrich Sibiller | 2018-10-27 | 1 | -1/+1 | |
| | ||||||
* | Clipboard.c: improve nxagentClearSelection() debug code | Ulrich Sibiller | 2018-10-27 | 1 | -5/+1 | |
| | ||||||
* | Clipboard.c: new debug function to reduce duplicate code | Ulrich Sibiller | 2018-10-27 | 1 | -13/+53 | |
| | ||||||
* | Clipboard.c: more debugging info for nxagentGetClipboardWindow() | Ulrich Sibiller | 2018-10-27 | 1 | -3/+3 | |
| | ||||||
* | Clipboard.c: GetWindowProperty() does not return BadMatch | Ulrich Sibiller | 2018-10-27 | 1 | -5/+2 | |
| | ||||||
* | Clipboard.c: whitespace fixes | Ulrich Sibiller | 2018-10-27 | 1 | -3/+0 | |
| | ||||||
* | Clipboard.c: add FIXME | Ulrich Sibiller | 2018-10-27 | 1 | -0/+1 | |
| | ||||||
* | Clipboard.c: Code optimization (missing else) | Ulrich Sibiller | 2018-10-27 | 1 | -2/+1 | |
| | ||||||
* | Clipboard.c: print X errors | Ulrich Sibiller | 2018-10-27 | 1 | -20/+62 | |
| | ||||||
* | Clipboard.c: some scope optimizations | Ulrich Sibiller | 2018-10-27 | 1 | -11/+6 | |
| | ||||||
* | Clipboard.c: add macro for safe XFree calls with ptr clearance | Ulrich Sibiller | 2018-10-27 | 2 | -37/+18 | |
| | ||||||
* | Clipboard.c: introduce helper macros for easier debugging | Ulrich Sibiller | 2018-10-27 | 1 | -48/+59 | |
| | ||||||
* | NXproperty.c:add debug output | Ulrich Sibiller | 2018-10-27 | 1 | -1/+24 | |
| | ||||||
* | Clipboard.c: add function for debugging output | Ulrich Sibiller | 2018-10-27 | 1 | -2/+114 | |
| | ||||||
* | Clipboard: print requested target in debugging mode | Ulrich Sibiller | 2018-10-27 | 1 | -7/+31 | |
| | ||||||
* | libNX_X11: upgrade to X.org upstream version 1.6.7 | Ulrich Sibiller | 2018-10-22 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | This commit is the only change between Xorg's libX11 1.6.6 and 1.6.7 that affects our code. So were are effectively now on par with libX11 1.6.7 (commit f3c978476e0be6813268af494efb7ac507451116) From: Bhavi Dhingra <b.dhingra@samsung.com> Date: Mon, 28 Sep 2015 08:33:40 +0000 Subject: [PATCH] XcmsLookupColor: fully initialize XColor structs passed to _XColor_to_XcmsRGB Fixes https://gitlab.freedesktop.org/xorg/lib/libx11/issues/44 aka https://bugs.freedesktop.org/show_bug.cgi?id=92154 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||||
* | libNX_X11: upgrade to X.org upstream version 1.6.6 | Ulrich Sibiller | 2018-10-22 | 27 | -165/+311 | |
| | | | | | | We are at X.Org libX11 upstream commit 733f64b Fixes: ArcticaProject/nx-libs #716, #719 and #720 | |||||
* | enable CLIENTIDS functions in xserver | Ulrich Sibiller | 2018-10-22 | 2 | -1/+7 | |
| | | | | | these can be used to determine the PID and name of an X11 client, e.g. in debugging. |