summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-01-06Drop rectangle_t.HEADmasterBryce Harrington1-4/+0
There are no internal users. box_t (now XRUBox) serves essentially the same purpose.
2012-01-06Refactor geometry structs in xrandr.c to use libXrandrUtil'sBryce Harrington2-24/+10
Signed-off-by: Bryce Harrington <bryce@canonical.com>
2012-01-06Add unit test suite and a basic test of the geometry structs.Bryce Harrington7-1/+99
This follows the style of the X server test suite, using autoconf's built-in support for make check using asserts. The first test trivially checks the geometry structures. Signed-off-by: Bryce Harrington <bryce@canonical.com>
2012-01-06Copy a few basic structs and enums from xrandr.c into header.Bryce Harrington2-1/+67
Adopt header style and struct naming scheme from libXrandr's Xrandr.h. In particular, rename enums from foobar_t to XRUFoobar. Signed-off-by: Bryce Harrington <bryce@canonical.com>
2012-01-06Import xrandr.c as an implementation example.Bryce Harrington4-1/+3448
Over the course of this development effort, code will be refactored out of xrandr.c into the library source. As this is done, the corresponding code will be excised from this copy of xrandr.c and replaced with the new API calls. This commit pulls in the unchanged xrandr.c from the xrandr package. This will enable before/after testing of xrandr behavior to catch functional regressions. Ultimately, prior to libXrandrUtils 1.0.0, this work should be complete and xrandr.c migrated back home to the xrandr package. Signed-off-by: Bryce Harrington <bryce@canonical.com>
2012-01-06Initial packaging and directory structure.Bryce Harrington10-0/+269
This is copied directly from libXrandr with some tweaking based on xrandr configs. Signed-off-by: Bryce Harrington <bryce@canonical.com>
2011-12-01Initial doc files.Bryce Harrington3-0/+47
COPYING is taken from xrandr since this package will largely be repackaging code from that tool. README is adapted from libXrandr. Keith Packard is the owner of the xrandr code and thus is primary author of this codebase. Signed-off-by: Bryce Harrington <bryce@canonical.com>