Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Also throw in _X_ATTRIBUTE_PRINTF while we're here.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
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>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Now that the INSTALL file is generated.
Allows running make maintainer-clean.
|
|
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.
|
|
ChangeLog filename is known to Automake and requires no further
coding in the makefile.
|
|
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.
|
|
This is a private build script that should not be distributed
|
|
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>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Signed-off-by: James Cloos <cloos@jhcloos.com>
|
|
Signed-off-by: James Cloos <cloos@jhcloos.com>
|
|
This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, corrects
make distcheck and most gcc 4.3 and sparse warnings.
|
|
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.
|
|
|
|
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>
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
Makefile.am:27: compiling `dsimple.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'
|
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
|
|
|
|
like Xt) is not needed here.
|
|
|