xorg/xrandr
13 years agoBump to 1.3.3 xrandr-1.3.3
Julien Cristau [Mon, 19 Jul 2010 17:07:56 +0000 (18:07 +0100)] 
Bump to 1.3.3

13 years agoRequire xorg-macros 1.4 for XORG_INSTALL
Julien Cristau [Mon, 19 Jul 2010 17:06:56 +0000 (18:06 +0100)] 
Require xorg-macros 1.4 for XORG_INSTALL

13 years agoKill cvs keyword
Julien Cristau [Mon, 19 Jul 2010 17:05:37 +0000 (18:05 +0100)] 
Kill cvs keyword

14 years agoxrandr: get gamma and brightness
Eric Piel [Sat, 9 Jan 2010 23:08:53 +0000 (00:08 +0100)] 
xrandr: get gamma and brightness

Even in verbose query mode, gamma and brigthness were not displayed.
That's because they are not stored in the server the same way they are
specified on the command line: they are stored as 256 * 3 u16 while
the command line is 3 + 1 floats.  Still, this is useful info for the
users, and they don't care about how it's stored in the server.

So we do a regression over the values stored to recover info in the same
way as on the command line: gamma and brightness.

Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net>
Reviewed-By: Matthias Hopf <mhopf@suse.de>
14 years agoxrandr: fix maximum gamma set
Eric Piel [Sat, 9 Jan 2010 23:08:53 +0000 (00:08 +0100)] 
xrandr: fix maximum gamma set

Gamma is an array of 3 16-bit values. Currently, the maximum value assigned is
255*256, which is only 65280. Make sure that when we set the gamma, the maximum
value is 65535. It's slightly brighter but also helps to avoid kludges to
detect clamped values when reading back the gamma.

Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net>
Reviewed-by: Matthias Hopf <mhopf@suse.de>
14 years agoconfig: move CWARNFLAGS from configure.ac to Makefile.am
Gaetan Nadon [Thu, 11 Feb 2010 15:08:07 +0000 (10:08 -0500)] 
config: move CWARNFLAGS from configure.ac to Makefile.am

Compiler warning flags should be explicitly set in the makefile
rather than being merged with other packages compiler flags.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
14 years agoxrandr: fix brightness to prevent gamma to overflow and to allow 0
Éric Piel [Wed, 6 Jan 2010 13:42:15 +0000 (14:42 +0100)] 
xrandr: fix brightness to prevent gamma to overflow and to allow 0

With the new brightness option, gamma would overflow with values > 1,
leading to rainbow looking screen.

In addition, have the brightness by default to 1, so that specifying 0
actually does the expected behaviour of leading to a black screen.

Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net>
Reviewed-by: Matthias Hopf <mhopf@suse.de>
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
14 years agoxrandr: Remove --clone / --extend support code
Yann Droneaud [Tue, 17 Nov 2009 14:39:02 +0000 (15:39 +0100)] 
xrandr: Remove --clone / --extend support code

Code handling --clone and --extend is not used.
The usage message regarding those options was already commented out.

Signed-off-by: Yann Droneaud <ydroneaud@mandriva.com>
Acked-by: Matthias Hopf <mhopf@suse.de>
14 years agoLanguage fixes.
Matthias Hopf [Tue, 5 Jan 2010 13:58:42 +0000 (14:58 +0100)] 
Language fixes.

14 years agoxrandr: Use a prefix for enum type _policy and _relation like other enums in xrandr.c
Yann Droneaud [Tue, 17 Nov 2009 14:39:01 +0000 (15:39 +0100)] 
xrandr: Use a prefix for enum type _policy and _relation like other enums in xrandr.c

Try to apply the same coding style to enum _policy and enum _relation.

This patch also workarounds bug #12958 .

Signed-off-by: Yann Droneaud <ydroneaud@mandriva.com>
Acked-by: Matthias Hopf <mhopf@suse.de>
14 years agoAdd --brightness for CRTC
Mikhail Gusarov [Sat, 24 Oct 2009 21:41:05 +0000 (03:41 +0600)] 
Add --brightness for CRTC

--brightness n.m adjusts gamma set for CRTC in order to compensate
for overly bright or overly dark unmanageable outputs.

Signed-off-by: Matthias Hopf <mhopf@suse.de>
14 years agoxrandr: add more information about the transform option in the manpage
Matthias Hopf [Sat, 2 Jan 2010 23:40:19 +0000 (00:40 +0100)] 
xrandr: add more information about the transform option in the manpage

Add information about the transformation, stating it's a homogeneous
coordinate transformation and adding the (simplified) pixel calculation
formula. Also and an example of keystone shaping generated using the algorithm
found in xkeystone.

Based on a patch by Eric Piel <eric.piel@tremplin-utc.net>

Signed-off-by: Matthias Hopf <mhopf@suse.de>
14 years agoxrandr: check_strtod should return double, not int
Dominik Jasiok [Tue, 22 Dec 2009 18:48:04 +0000 (10:48 -0800)] 
xrandr: check_strtod should return double, not int

check_strtod performs error checking around strtod to ensure that
arguments are correctly processed. However, it also accidentally(?)
cast the result to int, which was then universally cast back to double
by all callers. Narrowing and re-widening the type doesn't make any sense.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoMakefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
Gaetan Nadon [Thu, 26 Nov 2009 14:19:54 +0000 (09:19 -0500)] 
Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES

Now that the INSTALL file is generated.
Allows running make maintainer-clean.

14 years agoINSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
Gaetan Nadon [Wed, 28 Oct 2009 18:09:08 +0000 (14:09 -0400)] 
INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206

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.

14 years agoDeploy the new XORG_DEFAULT_OPTIONS #24242
Gaetan Nadon [Tue, 27 Oct 2009 19:07:25 +0000 (15:07 -0400)] 
Deploy the new XORG_DEFAULT_OPTIONS #24242

This macro aggregate a number of existing macros that sets commmon
X.Org components configuration options. It shields the configuration file from
future changes.

14 years agoMakefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
Gaetan Nadon [Tue, 27 Oct 2009 02:08:39 +0000 (22:08 -0400)] 
Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432

ChangeLog filename is known to Automake and requires no further
coding in the makefile.

14 years ago.gitignore: use common defaults with custom section # 24239
Gaetan Nadon [Thu, 22 Oct 2009 16:34:16 +0000 (12:34 -0400)] 
.gitignore: use common defaults with custom section # 24239

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.

14 years agoxrandr: Remove test against RANDR_MAJOR/RANDR_MINOR
Yann Droneaud [Tue, 17 Nov 2009 09:34:41 +0000 (10:34 +0100)] 
xrandr: Remove test against RANDR_MAJOR/RANDR_MINOR

xrandr.c uses structures defined in <X11/extensions/Xrandr.h>
provided by 'libXrandr' package but tests structures availability
through RANDR_MAJOR/RANDR_MINOR defined in <X11/extensions/randr.h>
provided by 'randrproto' package.

Sometimes they are not in sync so it's safer to rely on checks made
by configure script through pkg-config.

In my test case, XRRPanning structure is not defined in Xrandr.h,
RANDR_MAJOR is 1 and RANDR_MINOR 2 but xrandr.c try to use it anyway.
(for the record, XRRPanning was added in libXrandr-1.2.91).

Signed-off-by: Yann Droneaud <ydroneaud@mandriva.com>
Reviewed-by: Rémi Cardona <remi@gentoo.org>
14 years agoxrandr: do not segfault when "--scale" or "--transform" have no output
Éric Piel [Mon, 26 Oct 2009 13:11:02 +0000 (14:11 +0100)] 
xrandr: do not segfault when "--scale" or "--transform" have no output

"xrandr --scale 2x2" segfaults, because the --scale (and --transform)
options do not check for an existing output.

Make sure there is an output specified (like every other options).

Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Matthias Hopf <mhopf@suse.de>
14 years agoxrandr: make --query really the default option
Éric Piel [Mon, 26 Oct 2009 12:57:10 +0000 (13:57 +0100)] 
xrandr: make --query really the default option

The manpage states that "--query" is the default action when nothing
specific is requested. However, some options such as "-display" or
"--screen" lead to do nothing by default. This makes sure that unless
something specific is requested, query is done.

This also restores the behaviour of --q1 to the same one as the old
xrandr: also display the info on rotation and reflection by default.

Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Matthias Hopf <mhopf@suse.de>
14 years agoThis is not a GNU project, so declare it foreign.
Jeremy Huddleston [Wed, 21 Oct 2009 19:47:21 +0000 (12:47 -0700)] 
This is not a GNU project, so declare it foreign.

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>
14 years agoAdd README with pointers to mailing lists, bugzilla, & git
Alan Coopersmith [Thu, 1 Oct 2009 21:54:29 +0000 (14:54 -0700)] 
Add README with pointers to mailing lists, bugzilla, & git

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
14 years agoBump to 1.3.2 xrandr-1.3.2
Matthias Hopf [Thu, 10 Sep 2009 11:18:35 +0000 (13:18 +0200)] 
Bump to 1.3.2

14 years agoAdd missing 'static's to get rid of warnings.
Matthias Hopf [Thu, 10 Sep 2009 11:17:56 +0000 (13:17 +0200)] 
Add missing 'static's to get rid of warnings.

14 years agochanged a bunch of string to number conversions for reliability
Bart Massey [Thu, 7 Feb 2008 22:03:24 +0000 (14:03 -0800)] 
changed a bunch of string to number conversions for reliability

14 years agoWarn if one of the outputs given did not exist
Bart Massey [Fri, 4 Sep 2009 13:36:51 +0000 (15:36 +0200)] 
Warn if one of the outputs given did not exist

14 years agoBump to 1.3.1 xrandr-1.3.1
Matthias Hopf [Tue, 11 Aug 2009 14:11:39 +0000 (16:11 +0200)] 
Bump to 1.3.1

Also finally bump xrandr requirement to 1.3

14 years agobfo#22864 - grab the server around all modifications to CRTCs
Federico Mena Quintero [Mon, 20 Jul 2009 21:44:52 +0000 (16:44 -0500)] 
bfo#22864 - grab the server around all modifications to CRTCs

We were not grabbed while disabling the CRTCs that should be off, so other clients could think
that there was an intermediate stage with no enabled outputs.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
14 years agoxrandr: Document --nograb option
Éric Piel [Tue, 14 Jul 2009 19:36:32 +0000 (21:36 +0200)] 
xrandr: Document --nograb option

Op 08-07-09 15:19, Matthias Hopf schreef:
> On Jul 07, 09 22:02:51 +0200, Éric Piel wrote:
>> Op 21-05-09 13:23, Éric Piel schreef:
>>> This documents the --nograb option with whichever I could understand of
>>> the advantages and drawbacks of grabbing the screen.
>>>
>>> Also fixes the formatting in the xrandr 1.3 options.
>> Please review and apply.
>
> Please resend as attachment.
>
Please find attached the git patch.

Thanks,
Eric

>From 34e7c1036ba0e0d7827563deaffea9371031fa0b Mon Sep 17 00:00:00 2001
From: Eric Piel <eric.piel@tremplin-utc.net>
Date: Thu, 21 May 2009 13:01:52 +0200
Subject: [PATCH] xrandr: Document --nograb option

This documents the --nograb option with whichever I could understand of
the advantages and drawback of grabbing the screen.

Also fixes the formatting in the xrandr 1.3 options

14 years agoFix missing prototype warning.
Matthias Hopf [Mon, 6 Jul 2009 16:30:05 +0000 (18:30 +0200)] 
Fix missing prototype warning.

14 years agoReport program version as well with --version.
Matthias Hopf [Mon, 6 Jul 2009 16:28:23 +0000 (18:28 +0200)] 
Report program version as well with --version.

This has bitten us too often already (the infamous uncloning bug).

15 years agoxrandr 1.3.0 xrandr-1.3.0
Adam Jackson [Wed, 1 Apr 2009 15:03:10 +0000 (11:03 -0400)] 
xrandr 1.3.0

15 years agoAllow zero replies from GetPanning to mean panning is unavailable.
Adam Jackson [Tue, 17 Feb 2009 18:45:32 +0000 (13:45 -0500)] 
Allow zero replies from GetPanning to mean panning is unavailable.

15 years agoSet the screen config on the correct screen.
Aaron Plattner [Wed, 4 Mar 2009 23:49:10 +0000 (15:49 -0800)] 
Set the screen config on the correct screen.

Otherwise, "DISPLAY=:0.0 xrandr --screen 1 -s 1" fails.

15 years agoRevert "Move outputs among crtcs as necessary. Fixes 14570"
Matthias Hopf [Fri, 6 Mar 2009 13:49:43 +0000 (14:49 +0100)] 
Revert "Move outputs among crtcs as necessary. Fixes 14570"

This reverts commit 4dcc8ae1a6903434def1a2706f7c68ff9e2a17c4.
The commit broke uncloning completely again.

Conflicts:

xrandr.c

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