Age | Commit message (Collapse) | Author | Files | Lines |
|
See http://people.gnome.org/~walters/docs/build-api.txt
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
The perl mongers have retroactively marked this construct
"experimental", five and a half years after it was marked stable.
http://perldoc.perl.org/perl5180delta.html#The-smartmatch-family-of-features-are-now-experimental
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
XCloseDevice frees the device parameter, even if it references an
invalid device. Therefore, the device parameter must not be on the stack.
Since xts5/XI does not clean up the devices created by
Setup_Extension_DeviceInfo, it is safe to XCloseDevice "device".
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
XChangeFeedbackControl will SEGV if the last parameter is NULL.
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
Only XOpenDisplay pairs with XCloseDisplay. The Display pointer returned
by opendisplay is self-closing.
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
If an installed xtest is run, the user does not normally have write
access to the test directory. Writing intermediate files and results
directly to the results directory avoids a number of spurious FAILs and
UNRESOLVEDs.
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
Xlib, since release 1.1.2, only transmits fields for which the
corresponding flags bit is set (to avoid a potential information leak).
Set the flags field to include all the fields to be tested.
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
If the server supports more than one simultaneously installed colormap,
it probably does implicit installation too. If the server implicitly
installs the colormap when it is created, there will be no
ColormapNotify when InstallColormap is called. In that case, the event
count will be wrong, and the test will report FAIL even though it
shouldn't.
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
xdpyinfo reports NO, WHEN MAPPED or YES, but XT_DOES_BACKING_STORE
expects a 0, 1, or 2.
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
It turns out that XID is a 'long' for historical reasons, but the XInput
error macros expect a pointer-to-int.
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
psd->data.bitmap is never set, but it's better to make sure we never
try to free() an XID.
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
XMapSubwindows-9 creates a number of overlapping sibling windows, then
checks that a GetImage of each window is filled after processing all
Expose events.
This is invalid per the spec, as areas of a GetImage that are obscured
by a sibling are undefined. In particular, current servers intentionally
blank any area obscured by a sibling for security reasons.
Change XMapSubwindows to only verify the parts of the GetImage that are
not obscured by a sibling window.
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
GetImage adjusts the length field incorrectly, and PutImage does not
adjust the length field at all.
Since the only stored images are those from GetImage, it makes more
sense to remove the pad code entirely than to fix it.
Signed-off-by: Peter Harris <pharris@opentext.com>
Tested-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
|
|
Xlib3/XOpenDisplay may segfault if XT_DISPLAY is set and XT_DISPLAYHOST
is not.
Signed-off-by: Peter Harris <pharris@opentext.com>
Tested-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
|
|
And make sure to remove generated man page files during make clean.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
[CLEANFILES and XORG_MACROS_VERSION fixed by aplattner@nvidia.com]
Tested-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
|
|
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
|
|
If xtrans is installed in a weird location, libXst fails to build:
ConnDis.c:43:31: fatal error: X11/Xtrans/Xtrans.h: No such file or directory
Fix this by including $(XT_CFLAGS) to pick up the path to Xtrans.h.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Peter Harris <pharris@opentext.com>
|
|
Rename from pixval/blowup to bin/xts-blowup, add Makefile.am, and
delete old-style Makefile.
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
tcc will limit output lines to 512 characters not including CRLF. In
addition, there needs to be space in the buffer for the trailing NUL
that fgets will append.
Without this change, xts-report will exit prematurely if it sees a
maximum length line.
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
XT_FONTPATH has to be a valid font path.
Also trim at least one remote path from XT_FONTPATH_GOOD, so it
isn't the same as XT_FONTPATH.
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
XtCallbackReleaseCacheRefList frees its parameter.
Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
Some RHEL have an x11-dev that does not depend on xtrans-dev.
Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
XSendEvent of GenericEvent will return a Value error if the extension
field isn't an extension that supports GenericEvent. Even before then,
Xlib suppresses the XSendEvent. Instead of trying to find such an
extension, just skip testing this event.
Leave GenericEvent in the list, so that notmember doesn't generate
GenericEvent.
Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
All the Xt tests build now.
This reverts commit 106e89be471ddd99972a602a789352ca53fc2a88.
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Rename StringDefs.h.m to StringDefs.m to avoid confusing
AutoFoo.
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
libXtaw is used by the Xt tests.
Signed-off-by: Peter Harris <pharris@opentext.com>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
t003() selects for key events on the root window. t005() takes over and then
complains when the focus correctly follows the pointer and an event is
delivered to the root window. If you don't expect events on the root window,
unselect them first.
We could also XCloseDisplay() at the end of each test but who knows what that
does to the other tests.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
|
|
XDeviceKeyEvent and XKeyEvent are _not_ binary compatible. Expecting a random
byte location inside the device event to be of the value it'd have in a core
event is an amusing pasttime, but highly inappropriate for a test.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
|