aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Render.c: improve DEBUG/TEST outputUlrich Sibiller2024-06-241-23/+23
| | | | add [] around placeholders just as everywhere else.
* Render.c: fix typoUlrich Sibiller2024-06-241-1/+1
|
* Render.c: some simplificationsUlrich Sibiller2024-06-081-5/+5
|
* Render.c: merge masks in nxagentReconnectPictureUlrich Sibiller2024-06-081-9/+1
|
* Render.c: fix format specifiersUlrich Sibiller2024-06-081-9/+9
|
* Render.c: simplify nxagent{Create,Change}PictureUlrich Sibiller2024-06-081-210/+48
| | | | improve readabiliy by using a macro for repeated code
* Window.c: align identical codeUlrich Sibiller2024-06-051-22/+26
| | | | | nxagentCreateWindow and nxagentReconnectWindow are very similar. So let's try to give identical code identical structure.
* Window.c: use shorter macro to retrieve the remote windowUlrich Sibiller2024-06-051-10/+9
| | | | nxagentWindowPriv(pWin)->window is identical to nxagentWindow(pWin)
* Window.c: fix commentsUlrich Sibiller2024-06-051-2/+2
|
* Window.c: add missing includeUlrich Sibiller2024-06-051-9/+15
| | | | required for nxagentImagePad
* Window.c: improve TEST/DEBUG outputUlrich Sibiller2024-06-051-140/+182
|
* GCOps.c: drop unused function nxagentBitBlitHelperUlrich Sibiller2024-06-041-24/+0
|
* NXresource.c: make nxagentSwitchResourceType staticUlrich Sibiller2024-06-041-1/+1
| | | | is only used inside this module
* NXresource.c: make nxagentSwitchResourceType return a BooleanUlrich Sibiller2024-06-041-5/+5
|
* NXresource.c: make nxagentFindClientResource return a BooleanUlrich Sibiller2024-06-043-13/+13
|
* Events.c: disable unused functionUlrich Sibiller2024-06-021-2/+4
| | | | no need to compile if it is unused
* Events.c: make event handling functions return BooleansUlrich Sibiller2024-06-022-61/+62
|
* Events.c: NewOutputPending is a BooleanUlrich Sibiller2024-06-021-1/+1
|
* Events.c: make sendKey a BooleanUlrich Sibiller2024-06-021-3/+3
|
* Events.c: make nxagentInputEvent a BooleanUlrich Sibiller2024-06-021-10/+10
|
* Screen.c: fix commentUlrich Sibiller2024-06-021-2/+2
|
* Render.c: improve DEBUG/TEST outputUlrich Sibiller2024-06-021-106/+117
|
* Events.c: improve debugging/testing outputUlrich Sibiller2024-06-011-11/+17
|
* Events.c: fix two commentsUlrich Sibiller2024-06-011-2/+2
|
* Keyboard.c: use the correct mask for XkbGetKeyboardUlrich Sibiller2024-05-221-1/+1
|
* fix various spelling errorsUlrich Sibiller2024-05-2112-23/+23
|
* nxagent manpage: fix some obvious errorsUlrich Sibiller2024-05-211-4/+4
|
* naxgent manpage: improve documentation for nx/nx options on the command lineUlrich Sibiller2024-05-211-2/+17
|
* Keyboard.c: fix handling of keyboard=model/layoutUlrich Sibiller2024-05-211-4/+19
| | | | Did simply not work without passing the default strings.
* Keystroke.c: fix output of keystrokes listUlrich Sibiller2024-05-211-1/+1
| | | | print a newline AFTER the list, not before.
* Clipboard.c: make it compile cleanly without NXAGENT_CLIPBOARDUlrich Sibiller2024-05-211-2/+6
| | | | do not show warnings about unused functions
* Keyboard.c: fix wrong "rlmvo" keywordUlrich Sibiller2024-05-201-3/+4
| | | | | | | | variable names and manpage were correct, but the code was not, it expected "rlmvo" instead of "rmlvo". Support the old (wrong) variant, too (but do not document it), since there might be users out there whose setup would break.
* Keyboard.c: fix typoUlrich Sibiller2024-05-201-1/+1
|
* fbedgeimp.h: fix shadowed variableUlrich Sibiller2024-05-201-2/+1
|
* fbcompose.c: fix some shadowed variablesUlrich Sibiller2024-05-201-30/+30
|
* fb/fbbltone.c: fix shadowed variableUlrich Sibiller2024-05-201-4/+4
|
* fbbltone.c: Mark bitmasks as unsigned intsUlrich Sibiller2024-05-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport of this commit: commit 1b2d17748f0154da142e9b421d4f6a46e4e5a18c Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun May 22 13:50:14 2011 -0700 fbbltone.c: Mark bitmasks as unsigned ints Clears many Sun compiler warnings: "fbbltone.c", line 491: warning: integer overflow detected: op "<<" "fbbltone.c", line 491: warning: integer overflow detected: op "<<" "fbbltone.c", line 491: warning: integer overflow detected: op "<<" "fbbltone.c", line 491: warning: initializer will be sign-extended: -16777216 "fbbltone.c", line 491: warning: integer overflow detected: op "<<" "fbbltone.c", line 491: warning: initializer will be sign-extended: -1 "fbbltone.c", line 495: warning: integer overflow detected: op "<<" "fbbltone.c", line 495: warning: integer overflow detected: op "<<" "fbbltone.c", line 495: warning: integer overflow detected: op "<<" "fbbltone.c", line 495: warning: initializer will be sign-extended: -256 "fbbltone.c", line 495: warning: integer overflow detected: op "<<" "fbbltone.c", line 495: warning: initializer will be sign-extended: -1 "fbbltone.c", line 499: warning: integer overflow detected: op "<<" "fbbltone.c", line 499: warning: integer overflow detected: op "<<" "fbbltone.c", line 499: warning: integer overflow detected: op "<<" "fbbltone.c", line 499: warning: initializer will be sign-extended: -65536 "fbbltone.c", line 499: warning: integer overflow detected: op "<<" "fbbltone.c", line 499: warning: initializer will be sign-extended: -1 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Keith Packard <keithp@keithp.com>
* Xext/shape.c: remove one includeUlrich Sibiller2024-05-201-1/+0
| | | | | | | Patch by realsimix: "Oneliner which was for some old distribution but works on all up to RHEL9." Mentioned in ArcticaProject/nx-libs#1054
* Revert "nx-X11/Makefile: pass down $(MFLAGS) to imake call, because... we ↵Ulrich Sibiller2024-05-201-1/+1
| | | | | | | | | | | | | | | probably want that. Likely." This commit breaks compilation because if compiled without VERBOSE we end up in imake -s -s xmakefile being called. See https://github.com/ArcticaProject/nx-libs/issues/1058#issuecomment-1564570705 As -s in imake defines and output file instead of the silencing the output it is called wrong. This reverts commit 72f11ee838e67757e235e7216fb82679cc3f7d67. Adresses ArcticaProject/nx-libs#1058 (part 2)
* multiple imake config fixesUlrich Sibiller2024-05-204-7/+9
| | | | | | | | see ArcticaProject/nx-libs/issues/1058 for details and the original patch. Found and fixed by realsimix Adresses ArcticaProject/nx-libs#1058 (part 1)
* Imake.rules: fix error in Makefile generationUlrich Sibiller2024-05-201-1/+1
| | | | "make Makefile" would result in "/bin/sh: 2: @mv: not found"
* Imake.rules: do not print "using system-wide ..." twiceUlrich Sibiller2024-05-201-2/+2
| | | | only let the actual print happen and hide the corresponding echo
* main server Imakefile: drop rules for unused or non-existing stuffUlrich Sibiller2024-05-201-23/+2
|
* Window.c: mark nxagentCheckWindowIntegrity as unusedUlrich Sibiller2024-05-201-2/+2
| | | | | | | | | 'cause that's what it is. But as this seems to be a handy debug helper we'll leave it instead of dropping it. Marking it as unused silences a compiler warning.
* Window.c: Fix: Use correct type for XlibWindowUlrich Sibiller2024-05-201-3/+3
| | | | These are filled by libX11 so the type must be the Xlib one.
* os: unifdef GPROF and X_NOT_POSIXUlrich Sibiller2024-05-114-29/+0
| | | | | | | | | | | | just like xorg-xserver in commit 446fe9eecddd1337f9d5164dd7c301e1ba3dfe32 Author: Daniel Stone <daniels@collabora.com> Date: Thu Jul 17 21:37:50 2008 +0300 Dead code removal Remove a whole bunch of code that was never built, be it entire files or just dead ifdefs.
* os: signal handlers return void.Ulrich Sibiller2024-05-112-14/+5
| | | | | | | | commit 843166b033dc0544b9f3cf3c91fc3ae3650bda14 Author: Adam Jackson <ajax@redhat.com> Date: Mon Apr 6 11:05:17 2009 -0400 os: signal handlers return void.
* os/utils.c: unifdef USE_CHMODUlrich Sibiller2024-05-111-4/+0
|
* os/access.c: unifdef WINTCPUlrich Sibiller2024-05-111-145/+0
|
* xserver doesn't stop all connections to localhostUlrich Sibiller2024-05-111-8/+5
| | | | | | | | | | | | | | | | | | Backport of the following commit + manual fix at some other locations. commit 75b9383d8a4c113ab3c6cfc1d5efcb5d9982a1bf Author: Jesse Adkins <jesserayadkins@gmail.com> Date: Tue Aug 18 21:13:40 2009 -0700 xserver doesn't stop all connections to localhost X.Org Bugzilla #23329: http://bugs.freedesktop.org/show_bug.cgi?id=23329 Patch #28648: http://bugs.freedesktop.org/attachment.cgi?id=28648 I noticed in xserver at os/access.c that xorg tries to stop connections to localhost by checking against the address 127.0.0.1. However, RFC 3330 defines the localhost network as 127.0.0.0/8. This means that any IPv4 address that starts with 127 is just another name for localhos