Matthias Hopf [Thu, 18 Dec 2008 15:09:39 +0000 (16:09 +0100)]
Print multiple Atom and INT32 properties.
Improve output formating of strings.
Maarten Maathuis [Wed, 17 Dec 2008 16:18:14 +0000 (17:18 +0100)]
randr-1.2: support gamma changes.
Matthias Hopf [Mon, 15 Dec 2008 19:39:43 +0000 (20:39 +0100)]
Bump to 1.2.99.3
Matthias Hopf [Mon, 15 Dec 2008 20:00:55 +0000 (21:00 +0100)]
Add keystone.5c to EXTRA_DIST
Matthias Hopf [Mon, 15 Dec 2008 19:36:40 +0000 (20:36 +0100)]
Don't trash panning area, except if --panning or --fb is given.
Almost anything used to reduce the screen size to the current mode size, which
is counter-productive when panning is active.
Matthias Hopf [Thu, 11 Dec 2008 16:09:47 +0000 (17:09 +0100)]
Panning tracking areas describe full screen if set to 0. Use it as default.
Also improve reduced output on default tracking and borders.
Adam Jackson [Mon, 8 Dec 2008 21:37:59 +0000 (16:37 -0500)]
Accept --props synonym for --prop
Matthias Hopf [Mon, 8 Dec 2008 11:24:37 +0000 (12:24 +0100)]
Only set transforms if actually changed.
Re-enables other crtc settings if transforms are not supported.
Matthias Hopf [Thu, 4 Dec 2008 16:47:05 +0000 (17:47 +0100)]
Add manpage entry.
Matthias Hopf [Thu, 4 Dec 2008 14:57:22 +0000 (15:57 +0100)]
Bump to 1.2.99.2, RandR requirements to 1.2.99.2
Matthias Hopf [Fri, 28 Nov 2008 16:16:11 +0000 (17:16 +0100)]
Add panning support.
Matthieu Herrb [Sat, 6 Dec 2008 10:40:53 +0000 (11:40 +0100)]
Don't use GNU make only constructs.
Julien Cristau [Mon, 1 Dec 2008 22:27:51 +0000 (23:27 +0100)]
Require libXrandr 1.2.91
Julien Cristau [Mon, 1 Dec 2008 20:45:47 +0000 (21:45 +0100)]
Fix build outside of the source dir
Julien Cristau [Mon, 1 Dec 2008 20:33:35 +0000 (21:33 +0100)]
Merge branch 'transform-proposal' of git.freedesktop.org:/git/xorg/app/xrandr
Keith Packard [Fri, 14 Nov 2008 22:14:24 +0000 (14:14 -0800)]
Add --scale and --transform to --help output
Keith Packard [Fri, 14 Nov 2008 22:13:51 +0000 (14:13 -0800)]
Check return value from XRRGetCrtcTransform
XRRGetCrtcTransform will return 0 if the X server does not support this
request.
Alan Coopersmith [Tue, 19 Aug 2008 16:39:00 +0000 (09:39 -0700)]
Man page typo fix
Julien Cristau [Fri, 15 Aug 2008 19:23:13 +0000 (21:23 +0200)]
Manpage typo fixes
Eric Piel [Sun, 10 Aug 2008 21:28:25 +0000 (23:28 +0200)]
update the manpage
Describe all the options supported, including: --dryrun, -display,
--q1, --q12, and --rate for 1.1
Describe all short and long version of the option.
Use the usual man style for the option arugments.
Move the four --*mode options out of the output section as they are
independant of an output.
Mention cvt for computing modelines.
Gives some examples.
Egbert Eich [Sun, 3 Aug 2008 11:24:49 +0000 (13:24 +0200)]
Fix for 64bit: feed a pointer to the right size variable to scanf().
XID is unsigned long, however %x in scanf takes a pointer to an unsigned int.
Thus with XID xid, a sscanf(..., "0x%x", &xid) will most likely produce the
wrong results.
Keith Packard [Wed, 2 Apr 2008 06:46:02 +0000 (23:46 -0700)]
Exit when select output is not available
Keith Packard [Wed, 2 Apr 2008 06:44:50 +0000 (23:44 -0700)]
Fix up xkeystone to use current screen/output settings
Keith Packard [Mon, 31 Mar 2008 02:03:53 +0000 (19:03 -0700)]
Execute xrandr to set keystone correction
Keith Packard [Mon, 31 Mar 2008 02:03:29 +0000 (19:03 -0700)]
add --transform none to reset to identity
Keith Packard [Sat, 22 Mar 2008 06:29:41 +0000 (23:29 -0700)]
Build and install xkeystone program from keystone.5c
Keith Packard [Sat, 22 Mar 2008 06:26:30 +0000 (23:26 -0700)]
Track toolkit name change (chrome->nichrome)
Keith Packard [Fri, 21 Mar 2008 10:17:44 +0000 (03:17 -0700)]
Add keystone.5c program to help compute transforms.
Keith Packard [Fri, 21 Mar 2008 10:17:40 +0000 (03:17 -0700)]
Make screen undersize a warning instead of an error
Keith Packard [Tue, 18 Mar 2008 23:04:34 +0000 (16:04 -0700)]
Add --transform to pass arbitrary transforms to the server
Keith Packard [Tue, 18 Mar 2008 23:04:22 +0000 (16:04 -0700)]
Eliminate inverse matrix from randr transform protocol
It is easier, and potentially more precise, to compute the inverse in the
server where everything can eventually be kept in floating point form.
Keith Packard [Mon, 17 Mar 2008 20:59:40 +0000 (13:59 -0700)]
Transform mode bounds when computing sizes.
Ensure screen sizes are compared with projected mode image, including
rotation and transformation.
Keith Packard [Sat, 15 Mar 2008 07:35:08 +0000 (00:35 -0700)]
Manage transform filters. Use bilinear for non-identity scale.
This involved creating a compound transform datatype to hold all of the
relevant transform and filter information. Adding arbitrary transforms
should be fairly easy at this point.
Keith Packard [Tue, 11 Mar 2008 04:19:41 +0000 (21:19 -0700)]
Add output scaling using the 1.3 transform requests
Hong Liu [Tue, 11 Mar 2008 04:37:09 +0000 (21:37 -0700)]
Move outputs among crtcs as necessary. Fixes 14570
This patch makes new requests override existing crtc allocations. Outputs
with restricted crtc usage can now force existing outputs to switch
automatcially.
Adam Jackson [Fri, 7 Mar 2008 21:38:28 +0000 (16:38 -0500)]
xrandr 1.2.3
Brice Goglin [Fri, 14 Dec 2007 23:59:00 +0000 (00:59 +0100)]
Clarify the ability to manipulate multiple outputs in the manpage
Brice Goglin [Fri, 14 Dec 2007 23:49:35 +0000 (00:49 +0100)]
Allow the same output to be specified several times on the command line
Without this
xrandr --output FOO --mode 1024x768 --output FOO --rotate left
only changed the mode but did not apply the rotation.
Reported by Marc Haber in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455225
Matthias Hopf [Fri, 30 Nov 2007 15:13:51 +0000 (16:13 +0100)]
Add another test known to fail.
Matthias Hopf [Thu, 29 Nov 2007 18:54:34 +0000 (19:54 +0100)]
Add informational output for known issues.
Matthias Hopf [Thu, 29 Nov 2007 18:54:03 +0000 (19:54 +0100)]
Add more tests, mostly regarding crtc switching and uncloning.
Matthias Hopf [Wed, 21 Nov 2007 15:48:23 +0000 (16:48 +0100)]
Oops. Fix missing space introduced by last commit.
Matthias Hopf [Wed, 21 Nov 2007 15:47:08 +0000 (16:47 +0100)]
Be more robust in test case if mode database is borked.
If modes are reported multiple times per output only bother for the last.
Matthias Hopf [Wed, 21 Nov 2007 15:41:33 +0000 (16:41 +0100)]
Some minor issues in test case fixed.
'my' not being used correctly.
Some lines of xrandr --verbose output missing in failure case.
If order of outputs change in xrandr -q output they are sorted into original
order now.
Matthias Hopf [Tue, 20 Nov 2007 12:03:07 +0000 (13:03 +0100)]
More tests for ambiguous xrandr output.
Matthias Hopf [Mon, 19 Nov 2007 19:06:39 +0000 (20:06 +0100)]
Use IDs for mode selection instead of hand-crafted <w>x<h>@<r> strings.
Some machines provide e.g. multiple 1024x768@60 modes with /slightly/
different timings. Often only one of them can be used on multiple outputs.
Matthias Hopf [Mon, 19 Nov 2007 11:24:04 +0000 (12:24 +0100)]
Improved test script.
Allow for outputs in "unknown" state.
Check xrandr return value.
Output full xrandr --verbose output if test failed.
Matthias Hopf [Mon, 12 Nov 2007 14:25:44 +0000 (15:25 +0100)]
Add xrandr test suite.
At the moment it only tests setting one output at a time, it should be
improved to add some multi-output setting as well. Also it only tests clone
modes at the moment, no multi-monitor setups.
Matthias Hopf [Mon, 12 Nov 2007 14:19:52 +0000 (15:19 +0100)]
Always reset other outputs using the best crtc.
pick_crtcs_score() didn't set up crtcs references correctly if anything but
the last output resulted in the best score.
Matthias Hopf [Mon, 12 Nov 2007 14:18:30 +0000 (15:18 +0100)]
Verify crtc against previous config.
When selecting a crtc for an output, it doesn't check for already attached
outputs in check_crtc_for_output(), and so may select an crtc that is already
in use.
E.g. when changing from a cloned mode the displays won't be split up to
different crtcs, but the same crtc will be used, changing the resolution for
the unspecified display as well.
Matthias Hopf [Thu, 11 Oct 2007 14:54:40 +0000 (16:54 +0200)]
Build ChangeLog from git-log automatically.
Adam Jackson [Tue, 2 Oct 2007 15:06:18 +0000 (11:06 -0400)]
Death to ChangeLog
Adam Jackson [Tue, 2 Oct 2007 15:06:02 +0000 (11:06 -0400)]
Update COPYING
Brice Goglin [Thu, 9 Aug 2007 17:06:37 +0000 (19:06 +0200)]
When invoked with no option, xrandr dumps existing modes
Brice Goglin [Thu, 9 Aug 2007 17:04:58 +0000 (19:04 +0200)]
Add *current and +preferred to the --verbose output
Keith Packard [Thu, 5 Jul 2007 03:05:03 +0000 (20:05 -0700)]
Bump to 1.2.2
Keith Packard [Thu, 5 Jul 2007 03:04:29 +0000 (20:04 -0700)]
Print out mode flags in --verbose mode
Keith Packard [Thu, 5 Jul 2007 02:41:32 +0000 (19:41 -0700)]
Mark 1.1 options as inconsistent with 1.2 options
Keith Packard [Thu, 21 Jun 2007 14:57:37 +0000 (15:57 +0100)]
Document 1.2.1 options
Keith Packard [Sat, 30 Jun 2007 21:00:30 +0000 (14:00 -0700)]
When simple CRTC allocation fails, search all available configs.
When enabling an output, if there isn't an idle CRTC available, try to
reconfigure existing outputs to make things work.
Keith Packard [Sat, 30 Jun 2007 20:09:45 +0000 (13:09 -0700)]
Clean up code structure a bit
Alan Coopersmith [Thu, 21 Jun 2007 16:35:53 +0000 (09:35 -0700)]
Add *~ to .gitignore to skip emacs & patch droppings
Alan Coopersmith [Thu, 21 Jun 2007 16:34:53 +0000 (09:34 -0700)]
Man page formatting and typo fixes
Keith Packard [Thu, 21 Jun 2007 10:37:56 +0000 (11:37 +0100)]
Update to version 1.2.1
Aaron Plattner [Wed, 25 Apr 2007 18:59:48 +0000 (11:59 -0700)]
Fix bugs found by compiling with -Wall.
Also fix some unused variable warnings.
Aaron Plattner [Wed, 25 Apr 2007 17:52:19 +0000 (10:52 -0700)]
Fix a typo. Make mode flags case insensitive. Improve error messages.
Keith Packard [Fri, 6 Apr 2007 10:36:27 +0000 (03:36 -0700)]
Skip relative positions for outputs without modes.
An output without a mode is turned off; do not try to position it.
Keith Packard [Mon, 26 Mar 2007 06:44:01 +0000 (23:44 -0700)]
Support XA_ATOM properties (like TV_FORMAT).
Atom properties have lists of valid values that are all atoms, so display
those. Also, fetch property data and use that to determine which format new
property values are supposed to be in.
Keith Packard [Fri, 23 Mar 2007 08:21:21 +0000 (01:21 -0700)]
Add --set option to set output properties.
Numeric values are set as XA_INTEGER format 32 values, everything else is
set as an XA_STRING format 8 value.
Keith Packard [Fri, 16 Mar 2007 03:57:17 +0000 (20:57 -0700)]
Bounds check -s <index> argument to be 0 <= index < nsize
Print a nice error message when the -s option is passed a number out of
bounds.
Keith Packard [Fri, 16 Mar 2007 03:56:15 +0000 (20:56 -0700)]
Make --q1 output RandR 1.1 query information.
--q1 required a --query option to actually output any information.
Keith Packard [Fri, 16 Mar 2007 03:55:30 +0000 (20:55 -0700)]
Make --auto after --output only affect the output.
--auto has two meanings; if presented before any --output flags, it requests
that connected-but-disabled outputs be enable while disconnected-but-enabled
outputs be disabled. After --output, --auto simply asks that the mode used
for the output be automatically selected. Mixing these two operations is not
a good default.
Keith Packard [Tue, 13 Mar 2007 05:47:39 +0000 (22:47 -0700)]
Add --addmode and --delmode commands to edit list of modes per output.
--addmode <output> <mode> inserts <mode> into the list supported by
<output>, while --delmode removes a mode.
Keith Packard [Tue, 20 Feb 2007 01:12:24 +0000 (17:12 -0800)]
Add --newmode/--rmmode to create/destroy user modes.
The syntax may be a bit hard to work with, but these serve to test the
server infrastructure for custom modes.
Tilman Sauerbeck [Fri, 9 Mar 2007 09:12:17 +0000 (10:12 +0100)]
Fixed alignment of the clones list.
Keith Packard [Wed, 21 Feb 2007 19:24:35 +0000 (11:24 -0800)]
Add --same-as option to match output positions.
This provides another positioning option that makes two outputs appear at
the same location.
Keith Packard [Mon, 19 Feb 2007 05:27:55 +0000 (21:27 -0800)]
Update version number to 1.2.0 for release.
Keith Packard [Mon, 19 Feb 2007 05:26:50 +0000 (21:26 -0800)]
Merge branch 'origin'
Keith Packard [Mon, 19 Feb 2007 05:25:54 +0000 (21:25 -0800)]
Require only libXrandr 1.2.0, not 1.2.0.0.
Four digits seems excessive in a library version number.
Keith Packard [Fri, 16 Feb 2007 07:07:34 +0000 (23:07 -0800)]
Select crtc which can be cloned to outputs which will be in use.
Correct crtc selection algorithm to choose a crtc which will be used by
outputs which can all share the same crtc.
Also, make randr 1.0 commands work even when --verbose is specified, and
terminate event loop in that case when the screen change event is seen.
Keith Packard [Sun, 11 Feb 2007 02:27:06 +0000 (18:27 -0800)]
Selecting a crtc by index was failing to match a crtc.
--crtc <index> would fail to match because of a logic bug using & instead of
&&.
Keith Packard [Sun, 11 Feb 2007 00:14:58 +0000 (16:14 -0800)]
Display set of available CRTCs per output in --verbose mode.
Keith Packard [Wed, 31 Jan 2007 23:25:35 +0000 (15:25 -0800)]
Merge branch 'randr-1.2'
Merge support for RandR 1.2 changes to the xrandr program along with
documentation for the new options.
Keith Packard [Wed, 31 Jan 2007 23:22:02 +0000 (15:22 -0800)]
Update documentation to include all RandR 1.2 options.
Also, require libXrandr version 1.2.0.0 or better.
Keith Packard [Wed, 31 Jan 2007 04:35:58 +0000 (20:35 -0800)]
Missing return statement from output_rotation.
output_rotation was returning garbage making the available output rotations
display incorrectly.
Keith Packard [Wed, 31 Jan 2007 04:16:46 +0000 (20:16 -0800)]
Remove xrandr12.c app now that xrandr.c has RandR 1.2 support.
Keith Packard [Tue, 30 Jan 2007 08:10:23 +0000 (00:10 -0800)]
Add --reflect option for RandR 1.2 reflection selection.
Also, display available rotations after current rotation
Eric Anholt [Tue, 16 Jan 2007 18:48:01 +0000 (10:48 -0800)]
Add display for 32-bit integer properties, such as backlight.
Keith Packard [Tue, 2 Jan 2007 01:04:42 +0000 (17:04 -0800)]
Mode on CRTC may not be present for any output.
When an output gets disconnected, the current CRTC mode may no longer be
listed as valid for any output, but will still be listed for the screen.
Search for current crtc mode in the screen list rather than the per-output
list.
Keith Packard [Mon, 1 Jan 2007 07:02:12 +0000 (23:02 -0800)]
Using %lf to read float overwrote adjacent variable.
Just use floats everywhere and %f instead.
Keith Packard [Sun, 31 Dec 2006 21:55:14 +0000 (13:55 -0800)]
Add rotation/reflection status to 1.2 query output.
The previous cleanup had left these values missing from any output.
Also it now reports the effective size of the mode within the screen.
Keith Packard [Sun, 31 Dec 2006 21:38:40 +0000 (13:38 -0800)]
Clean up RandR 1.2 query output.
Make brief mode list just mode names and refresh rates.
Add --prop/--properties flag to show properties.
Add --q1 flag to force showing pre-1.2 data.
Keith Packard [Sun, 31 Dec 2006 20:45:25 +0000 (12:45 -0800)]
Add --rate support to RandR 1.2 mode selection.
Search for mode closest to specified rate for each output and use that
instead of the one with the first matching name. If no rate is specified,
the first one still matches allowing the driver to place preferred rates
first in the list.
Keith Packard [Sun, 31 Dec 2006 19:58:11 +0000 (11:58 -0800)]
Grab server while applying changes.
Applications that respond to screen size changes by quering Xinerama
information need to be blocked so that they see the entirety of the changes
rather than just the screen size shift and not the crtc changes.
Keith Packard [Sun, 31 Dec 2006 05:49:40 +0000 (21:49 -0800)]
Enable global --auto flag. Allow output name for --dpi switch.
--auto at the global level checks for output status changes and
automatically configures changed outputs. --dpi with an output switch uses
the specified output as the source of the dpi information.
Keith Packard [Sun, 31 Dec 2006 03:41:48 +0000 (19:41 -0800)]
Use Bool type. Position relative to disabled output is 0,0.
Switch uses of int that are strictly boolean to Bool.
Instead of making attempts to set position relative to a disabled output an
error, just place the output at 0,0.
Keith Packard [Sun, 31 Dec 2006 01:34:46 +0000 (17:34 -0800)]
Restructure RandR 1.2 support to handle relative placement.
Ok, really, this is mostly a rewrite of the RandR 1.2 support. First,
collect commands from command line arguments. Next, fill in existing
configuration from X server. Calculate new configuration. Apply
configuration, if anything fails, revert to previous configuration.
Still left -- pure --auto, and --extend/--clone options.
Keith Packard [Fri, 29 Dec 2006 08:55:37 +0000 (00:55 -0800)]
Make query return 1.2 information if available
Keith Packard [Fri, 22 Dec 2006 01:37:20 +0000 (17:37 -0800)]
Accept hex mode numbers as well as mode names.
Sometimes mode names are ambiguous; this lets the user specify modes by XID.
Keith Packard [Wed, 20 Dec 2006 00:27:46 +0000 (16:27 -0800)]
Actually respect the --fb option