xorg/xrandr
15 years agoBump to 1.2.99.4 xrandr-1.2.99.4
Julien Cristau [Sun, 1 Feb 2009 13:39:30 +0000 (14:39 +0100)] 
Bump to 1.2.99.4

15 years agoDocument the --primary and --noprimary options
Julien Cristau [Sun, 1 Feb 2009 13:34:15 +0000 (14:34 +0100)] 
Document the --primary and --noprimary options

15 years agoDocument the --current option
Julien Cristau [Sun, 1 Feb 2009 13:12:21 +0000 (14:12 +0100)] 
Document the --current option

15 years agoAdd --noprimary option
Keith Packard [Sat, 31 Jan 2009 04:37:34 +0000 (20:37 -0800)] 
Add --noprimary option

15 years agoAdd --primary option
Keith Packard [Sat, 31 Jan 2009 04:11:10 +0000 (20:11 -0800)] 
Add --primary option

Signed-off-by: Keith Packard <keithp@keithp.com>
15 years agoAdd --nograb option
Keith Packard [Sat, 31 Jan 2009 04:11:02 +0000 (20:11 -0800)] 
Add --nograb option

Signed-off-by: Keith Packard <keithp@keithp.com>
15 years agoAdd --current option to use new XRRGetScreenResourcesCurrent API
Keith Packard [Wed, 10 Dec 2008 05:26:50 +0000 (21:26 -0800)] 
Add --current option to use new XRRGetScreenResourcesCurrent API

Signed-off-by: Keith Packard <keithp@keithp.com>
15 years agoSeveral fatal() were missing \n.
Matthias Hopf [Fri, 30 Jan 2009 16:46:05 +0000 (17:46 +0100)] 
Several fatal() were missing \n.

15 years agoAdd docs for --transform and --scale.
Éric Piel [Mon, 19 Jan 2009 15:18:46 +0000 (16:18 +0100)] 
Add docs for --transform and --scale.

The new --transform and --scale options were added, but not yet
documented. This includes also an example of usage of panning and
scaling at the same time.

15 years agoCorrect make distcheck and gcc/sparse warnings.
Paulo Cesar Pereira de Andrade [Mon, 26 Jan 2009 18:40:59 +0000 (16:40 -0200)] 
Correct make distcheck and gcc/sparse warnings.

15 years agoStay away from doublescan modes unless a refresh rate is specified.
Maarten Maathuis [Mon, 5 Jan 2009 18:47:21 +0000 (19:47 +0100)] 
Stay away from doublescan modes unless a refresh rate is specified.

15 years agoFix gamma computation.
Maarten Maathuis [Mon, 22 Dec 2008 18:46:24 +0000 (19:46 +0100)] 
Fix gamma computation.

- The previous version sometimes overflowed.

15 years agoPrint multiple Atom and INT32 properties.
Matthias Hopf [Thu, 18 Dec 2008 15:09:39 +0000 (16:09 +0100)] 
Print multiple Atom and INT32 properties.

Improve output formating of strings.

15 years agorandr-1.2: support gamma changes.
Maarten Maathuis [Wed, 17 Dec 2008 16:18:14 +0000 (17:18 +0100)] 
randr-1.2: support gamma changes.

15 years agoBump to 1.2.99.3 xrandr-1.2.99.3
Matthias Hopf [Mon, 15 Dec 2008 19:39:43 +0000 (20:39 +0100)] 
Bump to 1.2.99.3

15 years agoAdd keystone.5c to EXTRA_DIST
Matthias Hopf [Mon, 15 Dec 2008 20:00:55 +0000 (21:00 +0100)] 
Add keystone.5c to EXTRA_DIST

15 years agoDon't trash panning area, except if --panning or --fb is given.
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.

15 years agoPanning tracking areas describe full screen if set to 0. Use it as default.
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.

15 years agoAccept --props synonym for --prop
Adam Jackson [Mon, 8 Dec 2008 21:37:59 +0000 (16:37 -0500)] 
Accept --props synonym for --prop

15 years agoOnly set transforms if actually changed.
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.

15 years agoAdd manpage entry.
Matthias Hopf [Thu, 4 Dec 2008 16:47:05 +0000 (17:47 +0100)] 
Add manpage entry.

15 years agoBump to 1.2.99.2, RandR requirements to 1.2.99.2
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

15 years agoAdd panning support.
Matthias Hopf [Fri, 28 Nov 2008 16:16:11 +0000 (17:16 +0100)] 
Add panning support.

15 years agoDon't use GNU make only constructs.
Matthieu Herrb [Sat, 6 Dec 2008 10:40:53 +0000 (11:40 +0100)] 
Don't use GNU make only constructs.

15 years agoRequire libXrandr 1.2.91
Julien Cristau [Mon, 1 Dec 2008 22:27:51 +0000 (23:27 +0100)] 
Require libXrandr 1.2.91

15 years agoFix build outside of the source dir
Julien Cristau [Mon, 1 Dec 2008 20:45:47 +0000 (21:45 +0100)] 
Fix build outside of the source dir

15 years agoMerge branch 'transform-proposal' of git.freedesktop.org:/git/xorg/app/xrandr
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

15 years agoAdd --scale and --transform to --help output
Keith Packard [Fri, 14 Nov 2008 22:14:24 +0000 (14:14 -0800)] 
Add --scale and --transform to --help output

15 years agoCheck return value from XRRGetCrtcTransform
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.

15 years agoMan page typo fix
Alan Coopersmith [Tue, 19 Aug 2008 16:39:00 +0000 (09:39 -0700)] 
Man page typo fix

15 years agoManpage typo fixes
Julien Cristau [Fri, 15 Aug 2008 19:23:13 +0000 (21:23 +0200)] 
Manpage typo fixes

15 years agoupdate the manpage
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.

15 years agoFix for 64bit: feed a pointer to the right size variable to scanf().
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.

16 years agoExit when select output is not available
Keith Packard [Wed, 2 Apr 2008 06:46:02 +0000 (23:46 -0700)] 
Exit when select output is not available

16 years agoFix up xkeystone to use current screen/output settings
Keith Packard [Wed, 2 Apr 2008 06:44:50 +0000 (23:44 -0700)] 
Fix up xkeystone to use current screen/output settings

16 years agoExecute xrandr to set keystone correction
Keith Packard [Mon, 31 Mar 2008 02:03:53 +0000 (19:03 -0700)] 
Execute xrandr to set keystone correction

16 years agoadd --transform none to reset to identity
Keith Packard [Mon, 31 Mar 2008 02:03:29 +0000 (19:03 -0700)] 
add --transform none to reset to identity

16 years agoBuild and install xkeystone program from keystone.5c
Keith Packard [Sat, 22 Mar 2008 06:29:41 +0000 (23:29 -0700)] 
Build and install xkeystone program from keystone.5c

16 years agoTrack toolkit name change (chrome->nichrome)
Keith Packard [Sat, 22 Mar 2008 06:26:30 +0000 (23:26 -0700)] 
Track toolkit name change (chrome->nichrome)

16 years agoAdd keystone.5c program to help compute transforms.
Keith Packard [Fri, 21 Mar 2008 10:17:44 +0000 (03:17 -0700)] 
Add keystone.5c program to help compute transforms.

16 years agoMake screen undersize a warning instead of an error
Keith Packard [Fri, 21 Mar 2008 10:17:40 +0000 (03:17 -0700)] 
Make screen undersize a warning instead of an error

16 years agoAdd --transform to pass arbitrary transforms to the server
Keith Packard [Tue, 18 Mar 2008 23:04:34 +0000 (16:04 -0700)] 
Add --transform to pass arbitrary transforms to the server

16 years agoEliminate inverse matrix from randr transform protocol
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.

16 years agoTransform mode bounds when computing sizes.
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.

16 years agoManage transform filters. Use bilinear for non-identity scale.
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.

16 years agoAdd output scaling using the 1.3 transform requests
Keith Packard [Tue, 11 Mar 2008 04:19:41 +0000 (21:19 -0700)] 
Add output scaling using the 1.3 transform requests

16 years agoMove outputs among crtcs as necessary. Fixes 14570
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.

16 years agoxrandr 1.2.3 xrandr-1.2.3
Adam Jackson [Fri, 7 Mar 2008 21:38:28 +0000 (16:38 -0500)] 
xrandr 1.2.3

16 years agoClarify the ability to manipulate multiple outputs in the manpage
Brice Goglin [Fri, 14 Dec 2007 23:59:00 +0000 (00:59 +0100)] 
Clarify the ability to manipulate multiple outputs in the manpage

16 years agoAllow the same output to be specified several times on the command line
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

16 years agoAdd another test known to fail.
Matthias Hopf [Fri, 30 Nov 2007 15:13:51 +0000 (16:13 +0100)] 
Add another test known to fail.

16 years agoAdd informational output for known issues.
Matthias Hopf [Thu, 29 Nov 2007 18:54:34 +0000 (19:54 +0100)] 
Add informational output for known issues.

16 years agoAdd more tests, mostly regarding crtc switching and uncloning.
Matthias Hopf [Thu, 29 Nov 2007 18:54:03 +0000 (19:54 +0100)] 
Add more tests, mostly regarding crtc switching and uncloning.

16 years agoOops. Fix missing space introduced by last commit.
Matthias Hopf [Wed, 21 Nov 2007 15:48:23 +0000 (16:48 +0100)] 
Oops. Fix missing space introduced by last commit.

16 years agoBe more robust in test case if mode database is borked.
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.

16 years agoSome minor issues in test case fixed.
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.

16 years agoMore tests for ambiguous xrandr output.
Matthias Hopf [Tue, 20 Nov 2007 12:03:07 +0000 (13:03 +0100)] 
More tests for ambiguous xrandr output.

16 years agoUse IDs for mode selection instead of hand-crafted <w>x<h>@<r> strings.
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.

16 years agoImproved test script.
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.

16 years agoAdd xrandr test suite.
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.

16 years agoAlways reset other outputs using the best crtc.
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.

16 years agoVerify crtc against previous config.
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.

16 years agoBuild ChangeLog from git-log automatically.
Matthias Hopf [Thu, 11 Oct 2007 14:54:40 +0000 (16:54 +0200)] 
Build ChangeLog from git-log automatically.

16 years agoDeath to ChangeLog
Adam Jackson [Tue, 2 Oct 2007 15:06:18 +0000 (11:06 -0400)] 
Death to ChangeLog

16 years agoUpdate COPYING
Adam Jackson [Tue, 2 Oct 2007 15:06:02 +0000 (11:06 -0400)] 
Update COPYING

16 years agoWhen invoked with no option, xrandr dumps existing modes
Brice Goglin [Thu, 9 Aug 2007 17:06:37 +0000 (19:06 +0200)] 
When invoked with no option, xrandr dumps existing modes

16 years agoAdd *current and +preferred to the --verbose output
Brice Goglin [Thu, 9 Aug 2007 17:04:58 +0000 (19:04 +0200)] 
Add *current and +preferred to the --verbose output

16 years agoBump to 1.2.2 xrandr-1.2.2
Keith Packard [Thu, 5 Jul 2007 03:05:03 +0000 (20:05 -0700)] 
Bump to 1.2.2

16 years agoPrint out mode flags in --verbose mode
Keith Packard [Thu, 5 Jul 2007 03:04:29 +0000 (20:04 -0700)] 
Print out mode flags in --verbose mode

16 years agoMark 1.1 options as inconsistent with 1.2 options
Keith Packard [Thu, 5 Jul 2007 02:41:32 +0000 (19:41 -0700)] 
Mark 1.1 options as inconsistent with 1.2 options

16 years agoDocument 1.2.1 options
Keith Packard [Thu, 21 Jun 2007 14:57:37 +0000 (15:57 +0100)] 
Document 1.2.1 options

16 years agoWhen simple CRTC allocation fails, search all available configs.
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.

16 years agoClean up code structure a bit
Keith Packard [Sat, 30 Jun 2007 20:09:45 +0000 (13:09 -0700)] 
Clean up code structure a bit

16 years agoAdd *~ to .gitignore to skip emacs & patch droppings
Alan Coopersmith [Thu, 21 Jun 2007 16:35:53 +0000 (09:35 -0700)] 
Add *~ to .gitignore to skip emacs & patch droppings

16 years agoMan page formatting and typo fixes
Alan Coopersmith [Thu, 21 Jun 2007 16:34:53 +0000 (09:34 -0700)] 
Man page formatting and typo fixes

16 years agoUpdate to version 1.2.1 xrandr-1.2.1
Keith Packard [Thu, 21 Jun 2007 10:37:56 +0000 (11:37 +0100)] 
Update to version 1.2.1

16 years agoFix bugs found by compiling with -Wall.
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.

16 years agoFix a typo. Make mode flags case insensitive. Improve error messages.
Aaron Plattner [Wed, 25 Apr 2007 17:52:19 +0000 (10:52 -0700)] 
Fix a typo.  Make mode flags case insensitive.  Improve error messages.

17 years agoSkip relative positions for outputs without modes.
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.

17 years agoSupport XA_ATOM properties (like TV_FORMAT).
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.

17 years agoAdd --set option to set output properties.
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.

17 years agoBounds check -s <index> argument to be 0 <= index < nsize
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.

17 years agoMake --q1 output RandR 1.1 query information.
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.

17 years agoMake --auto after --output only affect the output.
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.

17 years agoAdd --addmode and --delmode commands to edit list of modes per output.
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.

17 years agoAdd --newmode/--rmmode to create/destroy user modes.
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.

17 years agoFixed alignment of the clones list.
Tilman Sauerbeck [Fri, 9 Mar 2007 09:12:17 +0000 (10:12 +0100)] 
Fixed alignment of the clones list.

17 years agoAdd --same-as option to match output positions.
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.

17 years agoUpdate version number to 1.2.0 for release. xrandr-1.2.0
Keith Packard [Mon, 19 Feb 2007 05:27:55 +0000 (21:27 -0800)] 
Update version number to 1.2.0 for release.

17 years agoMerge branch 'origin'
Keith Packard [Mon, 19 Feb 2007 05:26:50 +0000 (21:26 -0800)] 
Merge branch 'origin'

17 years agoRequire only libXrandr 1.2.0, not 1.2.0.0.
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.

17 years agoSelect crtc which can be cloned to outputs which will be in use.
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.

17 years agoSelecting a crtc by index was failing to match a crtc.
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
&&.

17 years agoDisplay set of available CRTCs per output in --verbose mode.
Keith Packard [Sun, 11 Feb 2007 00:14:58 +0000 (16:14 -0800)] 
Display set of available CRTCs per output in --verbose mode.

17 years agoMerge branch 'randr-1.2'
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.

17 years agoUpdate documentation to include all RandR 1.2 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.

17 years agoMissing return statement from output_rotation.
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.

17 years agoRemove xrandr12.c app now that xrandr.c has RandR 1.2 support.
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.

17 years agoAdd --reflect option for RandR 1.2 reflection selection.
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

17 years agoAdd display for 32-bit integer properties, such as backlight.
Eric Anholt [Tue, 16 Jan 2007 18:48:01 +0000 (10:48 -0800)] 
Add display for 32-bit integer properties, such as backlight.