summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-06-30Make iconv() usage optionalHEADmasterAlan Coopersmith2-6/+114
Allows building without iconv, though character set conversion will not be supported in that case. Handles UTF8_STRING validation and output for UTF-8 locales without iconv (using is_valid_utf8() function copied from X.Org's app/xprop/xprop.c) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-06-29Add some EWMH hints to the -wm outputAlan Coopersmith1-5/+194
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-06-29Handle non-latin-1 window namesAlan Coopersmith4-78/+326
Uses _NET_WM_NAME to get UTF-8 encoding, iconv to convert to current locale Warns that COMPOUND_TEXT WM_NAMEs aren't supported if _NET_WM_NAME isn't set Adds local atom caching code to dsimple.c and uses it in all three *.c Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-06-29Make xcb-icccm dependency be optional and off-by-defaultAlan Coopersmith3-10/+273
Changes to the xcb-icccm API/ABI are under discussion, so for now default to using local property handling code modeled after the current API, with a --with-xcb-icccm to enable use of the API for testing/development. Once the API/ABI is stable & released, this set of changes should be removed and the xcb-icccm API just used directly. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-06-29Convert from Xlib to xcbAlan Coopersmith7-692/+1076
Testing was done with a simple GNOME 2.28 session with a number of applications open (gnome-terminal, VirtualBox, Firefox). Primary test case was xwininfo -root -all, which listed 114 children of the root window. Output was identical to Xlib version (after applying the fix to libxcb_icccm for always null-terminating wm_class properties). Over a local connection on the same machine: Xlib: 0.00u 0.01s 0:00.05 20.0% xcb: 0.00u 0.00s 0:00.02 0.0% (i.e. barely measurable difference - I had more variation between repeated runs of the command) Introducing latency by running over ssh -X from California to Beijing and back: Xlib: 0.03u 0.02s 8:19.12 0.0% xcb: 0.00u 0.00s 0:45.26 0.0% Memory size when exit() is called: Xlib: Address Kbytes RSS Anon Locked Mode Mapped File 08043000 20 20 20 - rw--- [ stack ] 08400000 144 144 144 - rw--- [ heap ] total Kb 8972 8640 316 - xcb: Address Kbytes RSS Anon Locked Mode Mapped File 08045000 12 12 12 - rwx-- [ stack ] 0806C000 100 100 100 - rwx-- [ heap ] total Kb 7980 7692 288 - Bytes sent & received (counted by proxying via xscope): Xlib: Client --> Server: 21380 bytes Client <-- Server: 54124 bytes xcb: Client --> Server: 21114 bytes Client <-- Server: 53160 bytes (The Xlib code didn't save any replies, so re-requested a couple of things when running with -all - I fixed that while porting to xcb, but the same could be done with Xlib easily too.) Not yet handled: WM_NAME properties that need to be converted from another character encoding. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-06-13Delay generating unknown code string until we know we need itAlan Coopersmith1-5/+7
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-06-13Use _X_NORETURN from xproto 7.0.17Alan Coopersmith2-6/+4
Also throw in _X_ATTRIBUTE_PRINTF while we're here. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-06-13Make spacing more consistentAlan Coopersmith2-750/+750
Different functions had 2, 4, 6, or 8 spaces per indent level, standardized on 4 spaces. Also more consistenly put spaces before parens. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-06-06Remove #ifdef NO_I18N code branchesAlan Coopersmith1-23/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-06-06Remove RCS/CVS id tagsAlan Coopersmith4-9/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-06-06mark window_id_format as a const stringAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-06-06Collapse some series of multiline printfs into single strings/callsAlan Coopersmith1-46/+27
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-01-15Update Sun license notices to current X.Org standard formAlan Coopersmith2-2/+44
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-11-26Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon1-1/+2
Now that the INSTALL file is generated. Allows running make maintainer-clean.
2009-10-28INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon4-2/+5
Add missing INSTALL file. Use standard GNU file on building tarball README may have been updated Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet.
2009-10-26Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432Gaetan Nadon1-2/+1
ChangeLog filename is known to Automake and requires no further coding in the makefile.
2009-10-22.gitignore: use common defaults with custom section # 24239Gaetan Nadon1-11/+66
Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults.
2009-10-21Makefile.am: do not include autogen.sh in distribution #24183Gaetan Nadon1-1/+1
This is a private build script that should not be distributed
2009-10-21This is not a GNU project, so declare it foreign.Jeremy Huddleston1-1/+1
On Wed, 2009-10-21 at 13:36 +1000, Peter Hutterer wrote: > On Tue, Oct 20, 2009 at 08:23:55PM -0700, Jeremy Huddleston wrote: > > I noticed an INSTALL file in xlsclients and libXvMC today, and it > > was quite annoying to work around since 'autoreconf -fvi' replaces > > it and git wants to commit it. Should these files even be in git? > > Can I nuke them for the betterment of humanity and since they get > > created by autoreconf anyways? > > See https://bugs.freedesktop.org/show_bug.cgi?id=24206 As an interim measure, replace AM_INIT_AUTOMAKE([dist-bzip2]) with AM_INIT_AUTOMAKE([foreign dist-bzip2]). This will prevent the generation of the INSTALL file. It is also part of the 24206 solution. Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2009-10-12xwininfo 1.0.5Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-12Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONSAlan Coopersmith2-11/+7
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-12Fill in COPYING fileAlan Coopersmith1-8/+42
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-01Add README with pointers to mailing lists, bugzilla, & gitAlan Coopersmith1-0/+26
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-28Update manpage for visual idYann Droneaud1-2/+3
Signed-off-by: James Cloos <cloos@jhcloos.com>
2009-03-28Report visual id along visual class for -stat switchYann Droneaud1-0/+1
Signed-off-by: James Cloos <cloos@jhcloos.com>
2009-01-15Ansification and compile warning fixes.Paulo Cesar Pereira de Andrade5-14/+27
This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, corrects make distcheck and most gcc 4.3 and sparse warnings.
2008-11-16Do not spew usage on connection errorBranden Robinson1-2/+1
General philosophy: The user should only be shown a usage message when: * it is asked for with a --help option or the like. * the command line is syntactically invalid.
2008-06-29xwininfo 1.0.4James Cloos1-1/+1
2008-06-22Fix window selection by pointer.Kim Woelders7-15/+255
This should fix things in WM’s using virtual roots as well as in tabbing WM’s. Signed-off-by: James Cloos <cloos@jhcloos.com>
2007-08-27Version bump: 1.0.3Alan Coopersmith1-1/+1
2007-08-27Replace static ChangeLog with dist-hook to generate from git logAlan Coopersmith2-47/+9
2007-08-07Add static & const qualifiers to xwininfo.cAlan Coopersmith1-60/+60
2007-08-07Replace sprintf's with snprintf & strlcatAlan Coopersmith2-54/+83
2007-08-06dsimple.c: ANSIfy function declarationsAlan Coopersmith1-17/+15
2007-08-06Purge unused code from dsimple.cAlan Coopersmith2-313/+9
dsimple.c was originally shared source among several X apps. Since modularization gave each app it's own copy, much of the code is no longer needed in each app.
2007-08-06Rename xwininfo_CFLAGS to AM_CFLAGS to make automake-1.10 happierAlan Coopersmith1-1/+1
Makefile.am:27: compiling `dsimple.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'
2007-05-24Man page formatting: make -geometry bold like other optionsAlan Coopersmith1-1/+1
2007-05-24renamed: .cvsignore -> .gitignoreAlan Coopersmith1-0/+2
2007-05-24X.Org bug #10616: Add all the X info commands to See Also in man pageAlan Coopersmith1-1/+6
X.Org Bugzilla #10616: <https://bugs.freedesktop.org/show_bug.cgi?id=10616> Reported upstream from Debian bug #350313 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=350313>
2006-04-02Bump to 1.0.2.Adam Jackson2-1/+6
2006-03-10Clear two tiny memory leaks. (Coverity ids #900 & 901)Alan Coopersmith2-0/+10
2005-12-21Update package version for X11R7 release.Kevin E Martin2-1/+6
2005-12-19Stub COPYING filesAdam Jackson1-0/+12
2005-12-15Update package version number for final X11R7 release candidate.Kevin E Martin2-1/+6
2005-12-06Change *man_SOURCES ==> *man_PRE to fix autotools warnings.Kevin E Martin2-3/+8
2005-12-03Update package version number for X11R7 RC3 release.Kevin E Martin2-1/+6
2005-11-28Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4Alan Coopersmith1-1/+1
update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
2005-11-21Another pass at .cvsignores for apps.Eric Anholt1-0/+4
2005-11-21Change dependency from xmu to xmuu since the full xmu (with all its baggageAlan Coopersmith2-1/+7
like Xt) is not needed here.
2005-11-20Add/improve .cvsignore files for apps.Eric Anholt1-0/+15