- 09 Jan, 2022 1 commit
-
-
Alan Coopersmith authored
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 24 Mar, 2019 1 commit
-
-
Alan Coopersmith authored
xdpyinfo.c:173:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] qsort(extlist, n, sizeof(char *), StrCmp); ~~~~~ ^ xdpyinfo.c:183:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] qe_cookies = calloc(n, sizeof(xcb_query_extension_cookie_t)); ~~~~~~ ^ xdpyinfo.c:195:12: warning: implicit conversion loses integer precision: 'unsigned long' to 'uint16_t' (aka 'unsigned short') [-Wconversion] strlen(extlist[i]), ^~~~~~~~~~~~~~~~~~ xdpyinfo.c:1382:51: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] int extlen = strlen(known_extensions[i].extname) + 1; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 03 Mar, 2019 1 commit
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 18 Feb, 2015 2 commits
-
-
Alan Coopersmith authored
Spotted by clang: xdpyinfo.c:145:9: warning: macro is not used [-Wunused-macros] ^ Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Quiets clang warnings: xdpyinfo.c:151:24: warning: unused parameter 'dpy' [-Wunused-parameter] silent_errors(Display *dpy, XErrorEvent *ev) ^ xdpyinfo.c:151:42: warning: unused parameter 'ev' [-Wunused-parameter] silent_errors(Display *dpy, XErrorEvent *ev) ^ Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 27 Nov, 2013 2 commits
-
-
Alan Coopersmith authored
Makes gcc stop saying: xdpyinfo.c: In function ‘StrCmp’: xdpyinfo.c:162:20: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] xdpyinfo.c:162:39: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 11 Feb, 2013 3 commits
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
xdpyinfo.c: In function `print_dmx_info': xdpyinfo.c:1282: warning: declaration of 'count' shadows a previous local xdpyinfo.c:1231: warning: shadowed declaration is here xdpyinfo.c:1282: warning: declaration of 'i' shadows a previous local xdpyinfo.c:1232: warning: shadowed declaration is here Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 22 Jan, 2013 4 commits
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Fixes clang warnings: xdpyinfo.c:1463:12: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len = strlen(arg); ~~~ ^~~~~~~~~~~ xdpyinfo.c:1465:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (!strncmp("-display", arg, len)) { ~~~~~~~ ^~~ xdpyinfo.c:1468:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] } else if (!strncmp("-queryExtensions", arg, len)) { ~~~~~~~ ^~~ xdpyinfo.c:1470:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] } else if (!strncmp("-ext", arg, len)) { ~~~~~~~ ^~~ Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 05 Nov, 2012 1 commit
-
-
Jon Turney authored
Signed-off-by:
Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by:
Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
-
- 29 Sep, 2011 4 commits
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Leftover from the Xprint code removed in commit 889264a5 Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 07 Oct, 2010 1 commit
-
-
Signed-off-by:
Jesse Adkins <jesserayadkins@gmail.com>
-
- 04 Oct, 2010 1 commit
-
-
Alan Coopersmith authored
On a system with 30 extensions listed by xdpyinfo, truss -c reports this saves quite a few system calls by batching the QueryExtension requests instead of a round-trip for each one: Xlib xcb writev 40 11 poll 80 22 recv 117 29 total (*) 464 296 (*) total includes all system calls, including many not shown since their count did not change significantly. There was one additional set of open/mmap/close etc. for loading the added libX11-xcb library. Over a tcp connection, this reduced both the number of packets, and due to tcp packet header overhead, the overall amount of data: Xlib xcb TCP packets 93 35 TCP bytes 11554 7726 Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by:
Jamey Sharp <jamey@minilop.net>
-
- 27 Mar, 2010 1 commit
-
-
Gaetan Nadon authored
The if (isPrintScreen) always evaluate to false Reviewed-by:
Jeremy Huddleston <jeremyhu@freedesktop.org> Signed-off-by:
Gaetan Nadon <memsize@videotron.ca>
-
- 26 Mar, 2010 1 commit
-
-
Gaetan Nadon authored
xprint has been removed from X Window System Signed-off-by:
Gaetan Nadon <memsize@videotron.ca>
-
- 13 Oct, 2009 1 commit
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com>
-
- 22 Sep, 2009 1 commit
-
-
Alan Coopersmith authored
Clears warnings when built with xf86vidmodeproto 2.2.99.1 & later Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com> Acked-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 02 Sep, 2009 1 commit
-
-
Alan Coopersmith authored
- Combine common modeline printing code into single function - Don't return 0 unless extension isn't supported, since that makes xdpyinfo report the extension isn't supported. - Don't exit immediately if some information is not available, since other info may be present. Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com>
-
- 01 Sep, 2009 1 commit
-
-
Alan Coopersmith authored
https://bugs.freedesktop.org/show_bug.cgi?id=3438 Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com>
-
- 04 Feb, 2009 1 commit
-
-
Alan Coopersmith authored
The only other information I could see to query in the Composite 0.4 protocol spec is the Composite Overlay Window XID, but the request to get that ID has the side effect of mapping the overlay window, and xdpyinfo shouldn't have side effects like that. Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com>
-
- 13 Jan, 2009 1 commit
-
-
Paulo Cesar Pereira de Andrade authored
This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, and corrects make distcheck.
-
- 13 Jun, 2008 1 commit
-
-
Matthieu Herrb authored
-
- 21 May, 2008 1 commit
-
-
Adam Jackson authored
-
- 30 Apr, 2008 1 commit
-
-
Julien Cristau authored
-
- 20 Mar, 2007 8 commits
-
-
Alan Coopersmith authored
-
Alan Coopersmith authored
-
Alan Coopersmith authored
-
Alan Coopersmith authored
-
Alan Coopersmith authored
-
Alan Coopersmith authored
-
Alan Coopersmith authored
-
Alan Coopersmith authored
-