ChangeLog revision 09113985
109113985Smrgcommit 6f714830da6c8d74f024be6b0bb32c1ea39c1217 209113985SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 309113985SmrgDate: Sat Dec 3 15:47:06 2022 -0800 409113985Smrg 509113985Smrg xrandr 1.5.2 609113985Smrg 709113985Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 809113985Smrg 909113985Smrgcommit 213e10f1996b08305df55c237c90152227e0c5f7 1009113985SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1109113985SmrgDate: Fri Oct 28 18:29:04 2022 -0700 1209113985Smrg 1309113985Smrg Constify array argument to find_last_non_clamped() 1409113985Smrg 1509113985Smrg Suggested by cppcheck: 1609113985Smrg 1709113985Smrg xrandr.c:1046:30: style: Parameter 'array' can be declared with const [constParameter] 1809113985Smrg find_last_non_clamped(CARD16 array[], int size) 1909113985Smrg ^ 2009113985Smrg 2109113985Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2209113985Smrg 2309113985Smrgcommit fc331d39447412320e856f56bab88613264cd8f5 2409113985SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2509113985SmrgDate: Fri Oct 28 18:25:19 2022 -0700 2609113985Smrg 2709113985Smrg Remove unused definition of rectangle_t 2809113985Smrg 2909113985Smrg Was added in commit 854a7c2916455fec5e but never used. 3009113985Smrg Reported by cppcheck unusedStructMember warning. 3109113985Smrg 3209113985Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3309113985Smrg 3409113985Smrgcommit e8c4a2727196c8f9bf76df30c5c0a8671e0e5dfe 3509113985SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3609113985SmrgDate: Fri Oct 28 18:22:11 2022 -0700 3709113985Smrg 3809113985Smrg Remove unused macros left over from original RandR 1.2 code 3909113985Smrg 4009113985Smrg Use of these was removed in commit cb017692883daf64 in 2006. 4109113985Smrg Reported by clang -Wunused-macros 4209113985Smrg 4309113985Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4409113985Smrg 4509113985Smrgcommit 3613fea4472741d8423c38a82e5569739d53bbb7 4609113985SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4709113985SmrgDate: Fri Oct 28 18:09:58 2022 -0700 4809113985Smrg 4909113985Smrg Fix a -Wsign-compare warning 5009113985Smrg 5109113985Smrg xrandr.c: In function ‘main’: 5209113985Smrg xrandr.c:2780:24: warning: comparison between signed and unsigned integer 5309113985Smrg expressions [-Wsign-compare] 5409113985Smrg for (int t = 0; t < sizeof(filter_names) / sizeof(filter_names[0]); t++) 5509113985Smrg ^ 5609113985Smrg 5709113985Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5809113985Smrg 5909113985Smrgcommit 289722fc8f2c9916a9631c7e4c796269b99b98f8 6009113985SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6109113985SmrgDate: Fri Oct 28 18:07:20 2022 -0700 6209113985Smrg 6309113985Smrg Variable scope reductions as suggested by cppcheck 6409113985Smrg 6509113985Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6609113985Smrg 6709113985Smrgcommit 8231beec67ee274d10b5d4c5b910d673dc6d1cc8 6809113985SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6909113985SmrgDate: Thu Jul 28 17:30:21 2022 -0700 7009113985Smrg 7109113985Smrg gitlab CI: stop requiring Signed-off-by in commits 7209113985Smrg 7309113985Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7409113985Smrg 7509113985Smrgcommit 2fb90d4d626dcc0432f96da3fa438724d637bdd3 7609113985SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7709113985SmrgDate: Sun Jan 9 12:38:26 2022 -0800 7809113985Smrg 7909113985Smrg Fix spelling/wording issues 8009113985Smrg 8109113985Smrg Found by using: 8209113985Smrg codespell --builtin clear,rare,usage,informal,code,names 8309113985Smrg 8409113985Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8509113985Smrg 8609113985Smrgcommit 296effc3ac7b2f095e889488d82e9d1a4fffd824 8709113985SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8809113985SmrgDate: Tue Dec 7 13:34:30 2021 -0800 8909113985Smrg 9009113985Smrg gitlab CI: add a basic build test 9109113985Smrg 9209113985Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9309113985Smrg 9409113985Smrgcommit 824484e5ba50f1e6858ea990393c181a249c3a5e 9509113985SmrgAuthor: Matt Turner <mattst88@gmail.com> 9609113985SmrgDate: Mon Aug 12 10:42:41 2019 -0700 9709113985Smrg 9809113985Smrg xrandr 1.5.1 9909113985Smrg 10009113985Smrg Signed-off-by: Matt Turner <mattst88@gmail.com> 10109113985Smrg 10209113985Smrgcommit edac280f06da2ad2256c710f95b34253202e6e49 10309113985SmrgAuthor: Matt Turner <mattst88@gmail.com> 10409113985SmrgDate: Mon Aug 12 10:49:52 2019 -0700 10509113985Smrg 10609113985Smrg Build xz tarballs instead of bzip2 10709113985Smrg 10809113985Smrg Signed-off-by: Matt Turner <mattst88@gmail.com> 10909113985Smrg 11009113985Smrgcommit 829ed54d89bb37c9e2f8050fe72bd4ecf7b5395a 11109113985SmrgAuthor: Vladimir Panteleev <git@thecybershadow.net> 11209113985SmrgDate: Thu Dec 20 11:28:51 2018 +0000 11309113985Smrg 11409113985Smrg xrandr: Fix deleting inactive monitors 11509113985Smrg 11609113985Smrg The following commands did not behave correctly: 11709113985Smrg 11809113985Smrg xrandr --setmonitor empty auto none 11909113985Smrg xrandr --delmonitor empty 12009113985Smrg 12109113985Smrg The second command failed with "No monitor named 'empty'". This 12209113985Smrg occurred because get_monitors was invoked with its get_active argument 12309113985Smrg set to False, which caused it to not retrieve inactive monitors. Thus, 12409113985Smrg inactive monitors could not be deleted. 12509113985Smrg 12609113985Smrg Fix this bug by invoking get_monitors (and, thus, XRRGetMonitors) with 12709113985Smrg get_active = False, thus enabling deletion of disabled monitors. 12809113985Smrg 12909113985Smrg Signed-off-by: Matt Turner <mattst88@gmail.com> 13009113985Smrg 13109113985Smrgcommit 9e5fa7c8c26f78e121ffad0d7a745a674c4a1849 13209113985SmrgAuthor: Adam Simpkins <adam@adamsimpkins.net> 13309113985SmrgDate: Thu Aug 3 15:11:53 2017 -0700 13409113985Smrg 13509113985Smrg xrandr: fix crash if some modes cannot be found 13609113985Smrg 13709113985Smrg When printing modes in "xrandr -q", check to see if we failed to look up 13809113985Smrg mode information from a mode XID. Previously the command would 13909113985Smrg dereference null and crash if the mode information could not be found. 14009113985Smrg 14109113985Smrg When using an external HDMI monitor on a laptop with a Skylake Intel 14209113985Smrg graphics chipset "xrandr -q" occasionally is unable to look up mode 14309113985Smrg information for some of the modes. It seems likely there is some other 14409113985Smrg sort of library or driver issue causing these lookup failures, but this 14509113985Smrg change to xrandr at least prevents it from segfaulting. 14609113985Smrg 14709113985Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14809113985Smrg 14909113985Smrgcommit 3316ccaca35dc5fc6b6e3b5826e222cd648eb9c9 15009113985SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 15109113985SmrgDate: Wed Nov 21 17:17:09 2018 -0800 15209113985Smrg 15309113985Smrg Update configure.ac bug URL for gitlab migration 15409113985Smrg 15509113985Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 15609113985Smrg 15709113985Smrgcommit 004681fb9c71256feb49e2bda203819654b0a05f 15809113985SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 15909113985SmrgDate: Fri Nov 16 22:47:41 2018 -0800 16009113985Smrg 16109113985Smrg Update README for gitlab migration 16209113985Smrg 16309113985Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 16409113985Smrg 16509113985Smrgcommit a2134406ab0aef44e7b710e1e2a2a40965e96692 16609113985SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 16709113985SmrgDate: Thu Sep 13 09:44:16 2018 +1000 16809113985Smrg 16909113985Smrg init the name to 0 17009113985Smrg 17109113985Smrg There are a few conditions where coverity finds a use of an uninitialized 17209113985Smrg field of the name_t struct. These are rather messy combinations of conditions, 17309113985Smrg so let's go with the simple solution here and just init everything to 0. 17409113985Smrg This may still have side-effects but at least they'll be more obvious than the 17509113985Smrg previous "use whatever memory is leftover from breakfast". 17609113985Smrg 17709113985Smrg This patch also adds a missing init_name(), much for the same reason. 17809113985Smrg 17909113985Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 18009113985Smrg 18109113985Smrgcommit 9882680c9f7f433a47514a9cb799c79e3e10a024 18209113985SmrgAuthor: Pali Rohár <pali.rohar@gmail.com> 18309113985SmrgDate: Sat Mar 10 16:23:29 2018 +0100 18409113985Smrg 18509113985Smrg Document that --dpi and --fbmm options set DPI of whole X screen 18609113985Smrg 18709113985Smrg Explicitly document and make it clear that those options do not change 18809113985Smrg DPI of some monitor output. Also state that these options have no useful 18909113985Smrg meaning for multi-monitor configuration. 19009113985Smrg 19109113985Smrg Signed-off-by: Pali Rohár <pali.rohar@gmail.com> 19209113985Smrg Reviewed-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 19309113985Smrg 19409113985Smrgcommit da61a8bd95bd20d45397eee6a6c0d3ad5a50c399 19509113985SmrgAuthor: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 19609113985SmrgDate: Tue Feb 6 22:02:42 2018 +0100 19709113985Smrg 19809113985Smrg xrandr: gamma and scaling factors must be positive 19909113985Smrg 20009113985Smrg Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 20109113985Smrg Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 20209113985Smrg Reviewed-by: Keith Packard <keithp@keithp.com> 20309113985Smrg 20409113985Smrgcommit 5e95248b5bab1254ecedffb6cb681b0ee06c0f29 20509113985SmrgAuthor: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 20609113985SmrgDate: Mon Feb 5 02:01:21 2018 +0100 20709113985Smrg 20809113985Smrg xrandr.man: document the monitor manipulation options 20909113985Smrg 21009113985Smrg Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 21109113985Smrg Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 21209113985Smrg Reviewed-by: Keith Packard <keithp@keithp.com> 21309113985Smrg 21409113985Smrgcommit cf25d585df5582d29528acc35f1c91dcb98b0f00 21509113985SmrgAuthor: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 21609113985SmrgDate: Mon Feb 5 01:31:15 2018 +0100 21709113985Smrg 21809113985Smrg xrandr: allow single value for --gamma 21909113985Smrg 22009113985Smrg Similarly to --scale, accept a single value to be used for all three 22109113985Smrg components, and refuse values with extra junk after the acceptable 22209113985Smrg values. 22309113985Smrg 22409113985Smrg Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 22509113985Smrg Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 22609113985Smrg Reviewed-by: Keith Packard <keithp@keithp.com> 22709113985Smrg 22809113985Smrgcommit 289bc0f1c53d8bc488d96e7f79afabd361758e08 22909113985SmrgAuthor: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 23009113985SmrgDate: Sun Jul 16 14:57:40 2017 +0200 23109113985Smrg 23209113985Smrg xrandr.man: grammar tuning 23309113985Smrg 23409113985Smrg Rephrase the --scale option paragraph to improve English and be more 23509113985Smrg consistent in choice of plurals and tense. Also ensure that each 23609113985Smrg sentence starts on a new line in the roff source. 23709113985Smrg 23809113985Smrg Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 23909113985Smrg Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 24009113985Smrg Reviewed-by: Keith Packard <keithp@keithp.com> 24109113985Smrg 24209113985Smrgcommit 635a4c8bc9f81852dc77b5dc9de1ce5825849a7f 24309113985SmrgAuthor: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 24409113985SmrgDate: Sun Jul 16 15:05:21 2017 +0200 24509113985Smrg 24609113985Smrg xrandr: stricter --scale argument parsing 24709113985Smrg 24809113985Smrg We used to accept something like --scale 2x3junk as a valid input 24909113985Smrg (scaling x by 2 and y by 3), even though this isn't really a valid 25009113985Smrg scaling factor. 25109113985Smrg 25209113985Smrg Fix by making sure there is nothing after the parsed number(s). 25309113985Smrg 25409113985Smrg Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 25509113985Smrg Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 25609113985Smrg Reviewed-by: Keith Packard <keithp@keithp.com> 25709113985Smrg 25809113985Smrgcommit 4e655b2cfc79b02d0ca7cea82b09f1f1133f1a0a 25909113985SmrgAuthor: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 26009113985SmrgDate: Wed May 17 17:20:50 2017 +0200 26109113985Smrg 26209113985Smrg xrandr: allow a single value for --scale 26309113985Smrg 26409113985Smrg This allows using e.g. --scale 0.5 as a shorthand for --scale 0.5x0.5 26509113985Smrg 26609113985Smrg Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 26709113985Smrg Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 26809113985Smrg Reviewed-by: Keith Packard <keithp@keithp.com> 26909113985Smrg 27009113985Smrgcommit 8969b3c651eaae3e3a2370ec45f4eeae9750111d 27109113985SmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 27209113985SmrgDate: Thu Jun 1 15:45:59 2017 -0700 27309113985Smrg 27409113985Smrg man: Document the new --filter option 27509113985Smrg 27609113985Smrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 27709113985Smrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 27809113985Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 27909113985Smrg 28009113985Smrgcommit 6ac2afc0d7d8d51d4085767b901667393c11061b 28109113985SmrgAuthor: Pablo De La Garza <pdelagarza@nvidia.com> 28209113985SmrgDate: Thu Mar 23 16:05:02 2017 -0700 28309113985Smrg 28409113985Smrg xrandr: Add a "--filter" flag 28509113985Smrg 28609113985Smrg Flag can be set to "nearest" or "bilinear" 28709113985Smrg 28809113985Smrg Signed-off-by: Pablo De La Garza <pdelagarza@nvidia.com> 28909113985Smrg [aplattner@nvidia.com: Fixed style and whitespace] 29009113985Smrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 29109113985Smrg 29209113985Smrgcommit 5d5db88d106a49d7560a8042fa054df8b609f00a 29309113985SmrgAuthor: Pali Rohár <pali.rohar@gmail.com> 29409113985SmrgDate: Sun May 28 23:33:26 2017 +0200 29509113985Smrg 29609113985Smrg Document format of --dpi option in non-ambiguous way 29709113985Smrg 29809113985Smrg Slash in previous documentation could be misunderstood as part of the 29909113985Smrg --dpi command line option. So fix it. 30009113985Smrg 30109113985Smrg Signed-off-by: Pali Rohár <pali.rohar@gmail.com> 30209113985Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 30309113985Smrg 30409113985Smrgcommit 215a01f1513f918e7295a8a477d4674f7b8085f0 30509113985SmrgAuthor: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 30609113985SmrgDate: Wed Jan 18 08:52:23 2017 +0100 30709113985Smrg 30809113985Smrg xrandr: suppress misleading indentation warning 30909113985Smrg 31009113985Smrg When printing out rotations, we print a space before any item other than 31109113985Smrg the first, and set `first = False` in each block where we print. 31209113985Smrg However, this is done in the same line as the conditional that checks if 31309113985Smrg first is set, which may give the impression that the assignment is also 31409113985Smrg under the conditional. This is not the case, and recent GCC warns about 31509113985Smrg this. 31609113985Smrg 31709113985Smrg Move the assignment to after we print the value we want to print, which 31809113985Smrg (1) doesn't mislead about the indentation, and 31909113985Smrg (2) makes logical sense as the _next_ entry is what won't be the first. 32009113985Smrg 32109113985Smrg Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 32209113985Smrg 32309113985Smrgcommit 85e95db7120da3bdaf9efb3033be5f9338e6c328 32409113985SmrgAuthor: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 32509113985SmrgDate: Wed Jan 18 08:52:09 2017 +0100 32609113985Smrg 32709113985Smrg xrandr: document that we accept '--dpi output' 32809113985Smrg 32909113985Smrg Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 33009113985Smrg 33109113985Smrgcommit 1b561d25d197069a4a2c8b5d4007938b669ee612 33209113985SmrgAuthor: Mihail Konev <k.mvc@ya.ru> 33309113985SmrgDate: Thu Jan 26 14:00:21 2017 +1000 33409113985Smrg 33509113985Smrg autogen: add default patch prefix 33609113985Smrg 33709113985Smrg Signed-off-by: Mihail Konev <k.mvc@ya.ru> 33809113985Smrg 33909113985Smrgcommit f84206b8cdbb9c6211c845da92492346bae8fde0 34009113985SmrgAuthor: Emil Velikov <emil.l.velikov@gmail.com> 34109113985SmrgDate: Mon Mar 9 12:00:52 2015 +0000 34209113985Smrg 34309113985Smrg autogen.sh: use quoted string variables 34409113985Smrg 34509113985Smrg Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent 34609113985Smrg fall-outs, when they contain space. 34709113985Smrg 34809113985Smrg Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 34909113985Smrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 35009113985Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 35109113985Smrg 35209113985Smrgcommit bd3f2f58351a038469c7adc6be7650087433f6f4 35309113985SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 35409113985SmrgDate: Tue Jan 24 10:32:07 2017 +1000 35509113985Smrg 35609113985Smrg autogen.sh: use exec instead of waiting for configure to finish 35709113985Smrg 35809113985Smrg Syncs the invocation of configure with the one from the server. 35909113985Smrg 36009113985Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 36109113985Smrg Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 36209113985Smrg 3634a908991Smrgcommit 65fd628cdfd1c95bd01a50706d4577655d1dd404 3644a908991SmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 3654a908991SmrgDate: Tue Feb 23 10:22:26 2016 -0800 3664a908991Smrg 3674a908991Smrg xrandr 1.5.0 3684a908991Smrg 3694a908991Smrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 3704a908991Smrg 3714a908991Smrgcommit d62030b506f6b686ffe1e750ea9d3a855beec1f0 3724a908991SmrgAuthor: Chris Wilson <chris@chris-wilson.co.uk> 3734a908991SmrgDate: Sun Sep 13 11:40:37 2015 +0100 3744a908991Smrg 3754a908991Smrg Only use the current information when setting modes 3764a908991Smrg 3774a908991Smrg Before we change the state (e.g. adding a mode or applying one to an 3784a908991Smrg output), we query the screen resources for the right identifiers. This 3794a908991Smrg should only use the current information rather than force a reprobe on 3804a908991Smrg all hardware - not only can that reprobe be very slow (e.g. EDID 3814a908991Smrg timeouts on the order of seconds), but it may perturb the setup that the 3824a908991Smrg user is trying to configure. 3834a908991Smrg 3844a908991Smrg Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> 3854a908991Smrg 3864a908991Smrgcommit 3d03be780fca4949b11ead46c5ea5d3266c03c32 3874a908991SmrgAuthor: Chris Wilson <chris@chris-wilson.co.uk> 3884a908991SmrgDate: Thu Jun 18 08:27:49 2015 +0100 3894a908991Smrg 3904a908991Smrg Mark all CRTC as currently unused for second picking CRTC pass 3914a908991Smrg 3924a908991Smrg We perform two passes over the CRTC in order to find the preferred CRTC 3934a908991Smrg for each enabled output. In the first pass, we try to preserve the 3944a908991Smrg existing output <-> CRTC relationships (to avoid unnecessary flicker). 3954a908991Smrg If that pass fails, we try again but with all outputs first disabled. 3964a908991Smrg However, the logic to preserve an active CRTC was not disabled along 3974a908991Smrg with the outputs - meaning that if one was active but its associated 3984a908991Smrg output was disabled by the user, then that CRTC would remain unavailable 3994a908991Smrg for other outputs. The result would be that we would try to assign more 4004a908991Smrg CRTC than available (i.e. if the user request 3 new HDMI outputs on a 4014a908991Smrg system with only 3 CRTC, and wished to switch off an active internal 4024a908991Smrg panel, we would report "cannot find CRTC" even though that configuration 4034a908991Smrg could be established.) 4044a908991Smrg 4054a908991Smrg Reported-and-tested-by: Nathan Schulte <nmschulte@gmail.com> 4064a908991Smrg Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> 4074a908991Smrg 4084a908991Smrgcommit 53ef3fc13b3e282902892e3140765460c6f93276 4094a908991SmrgAuthor: Chris Wilson <chris@chris-wilson.co.uk> 4104a908991SmrgDate: Thu Jun 18 08:27:48 2015 +0100 4114a908991Smrg 4124a908991Smrg Mark disabling an output as a change in its CRTC 4134a908991Smrg 4144a908991Smrg When an output is disabled via the cmdline, we can use that information 4154a908991Smrg to prevent assigning the current CRTC to the output and free it up for 4164a908991Smrg reuse by other outputs in the first pass of picking CRTC. 4174a908991Smrg 4184a908991Smrg Reported-and-tested-by: Nathan Schulte <nmschulte@gmail.com> 4194a908991Smrg Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> 4204a908991Smrg 4214a908991Smrgcommit 09989b09a342b273ee30e1d96267dced3cbe61b0 4224a908991SmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 4234a908991SmrgDate: Thu Apr 9 11:14:54 2015 -0700 4244a908991Smrg 4254a908991Smrg Split verbose mode printing into a helper function 4264a908991Smrg 4274a908991Smrg Combine the two forms of verbose mode printing into a single function. Pass the 4284a908991Smrg 'current' and 'preferred' flags as arguments. This fixes the code that prints 4294a908991Smrg unassociated modes to print the flags as well. 4304a908991Smrg 4314a908991Smrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 4324a908991Smrg Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> 4334a908991Smrg 4344a908991Smrgcommit d06730e94320175d40ff6f2bb38dce55312f2e54 4354a908991SmrgAuthor: Keith Packard <keithp@keithp.com> 4364a908991SmrgDate: Tue Dec 16 01:57:45 2014 -0800 4374a908991Smrg 4384a908991Smrg Add monitor support (v2) 4394a908991Smrg 4404a908991Smrg This adds the ability to query, set and delete monitors 4414a908991Smrg 4424a908991Smrg v2: [airlied] add list active monitors 4434a908991Smrg 4444a908991Smrg Reviewed-by: Dave Airlie <airlied@redhat.com> 4454a908991Smrg Signed-off-by: Keith Packard <keithp@keithp.com> 4464a908991Smrg 4474a908991Smrgcommit 3076c3494b6f3f00b9c4509c2dab6f40858af4cf 4484a908991SmrgAuthor: Dave Airlie <airlied@redhat.com> 4494a908991SmrgDate: Tue Mar 31 11:49:00 2015 +1000 4504a908991Smrg 4514a908991Smrg xrandr: don't return NULL from a void 4524a908991Smrg 4534a908991Smrg Reported-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 4544a908991Smrg Signed-off-by: Dave Airlie <airlied@redhat.com> 4554a908991Smrg 4564a908991Smrgcommit 6957ad0cf3cdd10e8f4a5638b36f25c7a9b4ea25 4574a908991SmrgAuthor: Dave Airlie <airlied@redhat.com> 4584a908991SmrgDate: Mon Mar 30 14:51:49 2015 +1000 4594a908991Smrg 4604a908991Smrg xrandr: parse property returns correctly. 4614a908991Smrg 4624a908991Smrg Xlib uses longs for 32-bit, so when we get values back they 4634a908991Smrg are in longs, this fixes the xrandr parsing code to parse 4644a908991Smrg the correct sized values according to Xlib. 4654a908991Smrg 4664a908991Smrg Reviewed-by: Keith Packard <keithp@keithp.com> 4674a908991Smrg Signed-off-by: Dave Airlie <airlied@redhat.com> 4684a908991Smrg 4694a908991Smrgcommit f429a517684e8f99c15bc2858e62bbd112331456 4704a908991SmrgAuthor: Keith Packard <keithp@keithp.com> 4714a908991SmrgDate: Wed Oct 8 13:16:07 2014 +0200 4724a908991Smrg 4734a908991Smrg keystone: Report matrix error. Deal with "primary" in xrandr output 4744a908991Smrg 4754a908991Smrg Compute the error cause by the fixed point matrix representation and 4764a908991Smrg display that. 4774a908991Smrg 4784a908991Smrg Accept the 'primary' word found in xrandr output and ignore it. 4794a908991Smrg 4804a908991Smrg Signed-off-by: Keith Packard <keithp@keithp.com> 4814a908991Smrg 4824a908991Smrgcommit 527d83dde0cb78cbfbb67d203d073e41e110d4a1 4834a908991SmrgAuthor: Keith Packard <keithp@keithp.com> 4844a908991SmrgDate: Mon Jul 9 10:52:52 2012 -0700 4854a908991Smrg 4864a908991Smrg Increase keystone.5c default window size 4874a908991Smrg 488f3dfa9d3Smrgcommit 9887ed4989e0abd48004598be0eb5cb06fa40bd1 489f3dfa9d3SmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 490f3dfa9d3SmrgDate: Fri Aug 1 23:14:42 2014 -0700 491f3dfa9d3Smrg 492f3dfa9d3Smrg xrandr 1.4.3 493f3dfa9d3Smrg 494f3dfa9d3Smrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 495f3dfa9d3Smrg 496f3dfa9d3Smrgcommit 20d76f773cf8de474cf7a3f1082961605732c3f1 49709113985SmrgMerge: 00477d8 193a358 498f3dfa9d3SmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 499f3dfa9d3SmrgDate: Fri Aug 1 23:10:46 2014 -0700 500f3dfa9d3Smrg 501f3dfa9d3Smrg Merge commit '193a358' 502f3dfa9d3Smrg 503f3dfa9d3Smrg Conflicts: 50409113985Smrg xrandr.c 505f3dfa9d3Smrg 506f3dfa9d3Smrgcommit 193a358563a59c1a3fc55f55029c605e2419c80b 50709113985SmrgAuthor: Stéphane Aulery <lkppo@free.fr> 508f3dfa9d3SmrgDate: Sat Jun 29 16:50:25 2013 -0700 509f3dfa9d3Smrg 510f3dfa9d3Smrg Mention of --brightness with -h option 511f3dfa9d3Smrg 512f3dfa9d3Smrg Reported by jidanni at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709569 513f3dfa9d3Smrg 514f3dfa9d3Smrg Signed-off-by: Stéphane Aulery <lkppo@free.fr> 515f3dfa9d3Smrg Reviewed-By: Matt Dew <marcoz@osource.org> 516f3dfa9d3Smrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 517f3dfa9d3Smrg 518f3dfa9d3Smrgcommit 00477d88297eaa6c87aa144548590c32540e3928 519f3dfa9d3SmrgAuthor: Connor Behan <connor.behan@gmail.com> 520f3dfa9d3SmrgDate: Tue Jun 10 23:56:12 2014 -0700 521f3dfa9d3Smrg 522f3dfa9d3Smrg Allow -x and -y switches to undo themselves 523f3dfa9d3Smrg 524f3dfa9d3Smrg People who want to dick around might think it is safe to run "xrandr -x" 525f3dfa9d3Smrg before they know any of the other syntax. When "xrandr -x" again does 526f3dfa9d3Smrg not get back to a normal screen, they are stuck having to read a manpage 527f3dfa9d3Smrg with reflected text. 528f3dfa9d3Smrg 529f3dfa9d3Smrg Signed-off-by: Connor Behan <connor.behan@gmail.com> 530f3dfa9d3Smrg Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 531f3dfa9d3Smrg Tested-by: Aaron Plattner <aplattner@nvidia.com> 532f3dfa9d3Smrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 533f3dfa9d3Smrg 534f3dfa9d3Smrgcommit 7d464312fb84c080a6e287edd21a794193a0dd78 535f3dfa9d3SmrgAuthor: Connor Behan <connor.behan@gmail.com> 536f3dfa9d3SmrgDate: Sun Jun 1 16:35:50 2014 -0700 537f3dfa9d3Smrg 538f3dfa9d3Smrg Remove duplicate printing of the axis 539f3dfa9d3Smrg 540f3dfa9d3Smrg Even in verbose mode, why print the same information twice? 541f3dfa9d3Smrg 542f3dfa9d3Smrg Signed-off-by: Connor Behan <connor.behan@gmail.com> 543f3dfa9d3Smrg Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 544f3dfa9d3Smrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 545f3dfa9d3Smrg 546f3dfa9d3Smrgcommit 792f05ea20d5191425154470760e36dcf023c6e9 547f3dfa9d3SmrgAuthor: Dominik Behr <dbehr@chromium.org> 548f3dfa9d3SmrgDate: Tue Apr 1 18:38:05 2014 -0700 549f3dfa9d3Smrg 550f3dfa9d3Smrg xrandr: use full range for gamma table generation 551f3dfa9d3Smrg 552f3dfa9d3Smrg Calculate gamma table using full [0,65536) range and do not make any 553f3dfa9d3Smrg assumptions about relation of gamma table size and significant bits. 554f3dfa9d3Smrg 555f3dfa9d3Smrg Gamma table size has nothing to do with number of significant bits in hardware. 556f3dfa9d3Smrg In particular we are dealing now with gamma table that has 17 entries and 8 557f3dfa9d3Smrg bit precision, there are other GPUs with 10 bit precision and less than 256 558f3dfa9d3Smrg entries using partial linear approximation. Deriving assumed gamma table 559f3dfa9d3Smrg significant bits from size of gamma table leads to incorrect calculations and 560f3dfa9d3Smrg loss of precision. Also XRandR specification never mentions that gamma tables 561f3dfa9d3Smrg need to be power of 2. 562f3dfa9d3Smrg 563f3dfa9d3Smrg Signed-off-by: Dominik Behr <dbehr@chromium.org> 564f3dfa9d3Smrg Reviewed-by: Stéphane Marchesin <marcheu@chromium.org> 565f3dfa9d3Smrg 566f3dfa9d3Smrgcommit 866366d0825c3f488abd58960e4f76ae50de08d1 567f3dfa9d3SmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 568f3dfa9d3SmrgDate: Sat Mar 29 00:50:17 2014 +0100 569f3dfa9d3Smrg 570f3dfa9d3Smrg Remove unnecessary parentheses. 571f3dfa9d3Smrg 572f3dfa9d3Smrg Reviewed-by: Hans de Goede <hdegoede@redhat.com> 573f3dfa9d3Smrg Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 574f3dfa9d3Smrg 575fa120d7cSmrgcommit 31f5fa6a47db154abb47cf16e9f6cc4d983ad371 576fa120d7cSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 577fa120d7cSmrgDate: Thu Mar 27 11:37:07 2014 -0700 578fa120d7cSmrg 579fa120d7cSmrg xrandr 1.4.2 580fa120d7cSmrg 581fa120d7cSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 582fa120d7cSmrg 583fa120d7cSmrgcommit 934a424a05a296c0b8af015476e11b191d55eba3 584fa120d7cSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 585fa120d7cSmrgDate: Fri Mar 21 10:35:56 2014 -0700 586fa120d7cSmrg 587fa120d7cSmrg xrandr: document how to disconnect RandR 1.4 providers 588fa120d7cSmrg 589fa120d7cSmrg Commit a6217be2d5a93a4c7b48f4081a4a8e14c3c97014 restored the ability to 590fa120d7cSmrg disconnect RandR 1.4 providers from each other, but it's not clear from the 591fa120d7cSmrg documentation how to actually do that. Try to clarify by mentioning it in the 592fa120d7cSmrg man page. 593fa120d7cSmrg 594fa120d7cSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 595fa120d7cSmrg Reviewed-by: Dave Airlie <airlied@redhat.com> 596fa120d7cSmrg 597fa120d7cSmrgcommit a6217be2d5a93a4c7b48f4081a4a8e14c3c97014 598fa120d7cSmrgAuthor: Dave Airlie <airlied@gmail.com> 599fa120d7cSmrgDate: Fri May 3 10:05:04 2013 +1000 600fa120d7cSmrg 601fa120d7cSmrg xrandr: allow disconnecting of offload and outputs 602fa120d7cSmrg 603fa120d7cSmrg Before the lookup code passing a 0 XID would disconnect, 604fa120d7cSmrg this fixes it backup. 605fa120d7cSmrg 606fa120d7cSmrg Signed-off-by: Dave Airlie <airlied@redhat.com> 607fa120d7cSmrg Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 608fa120d7cSmrg Tested-by: Aaron Plattner <aplattner@nvidia.com> 609fa120d7cSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 610fa120d7cSmrg 611fa120d7cSmrgcommit 00c795e99fe29ecd56e05e915e508c7af0ac39ad 61209113985SmrgAuthor: Ville Syrjälä < <ville.syrjala@linux.intel.com> 613fa120d7cSmrgDate: Fri May 31 17:01:54 2013 +0300 614fa120d7cSmrg 615fa120d7cSmrg xrandr: Use floating point for VTotal when calculating refresh rate 616fa120d7cSmrg 617fa120d7cSmrg Interlaced modes generally have an odd VTotal, so we lose half a line 618fa120d7cSmrg from VTotal when we divide by two. That causes the final refresh rate 619fa120d7cSmrg to be slightly off. Make VTotal a double to avoid the problem. 620fa120d7cSmrg 621fa120d7cSmrg Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> 622fa120d7cSmrg Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 623fa120d7cSmrg 624fa120d7cSmrgcommit 8f9b993342fddfceaa1afbec2996ce10038f10d7 62509113985SmrgAuthor: Ville Syrjälä < <ville.syrjala@linux.intel.com> 626fa120d7cSmrgDate: Fri May 31 17:01:53 2013 +0300 627fa120d7cSmrg 628fa120d7cSmrg xrandr: Use more decimal places when printing various rates 629fa120d7cSmrg 630fa120d7cSmrg Using just one decimal place for dotclock and refresh rates loses quite 631fa120d7cSmrg a bit of information. When dealing with 60Hz vs. 59.94Hz refresh rate 632fa120d7cSmrg modes for example, it's useful to see at least two decimal places. For 633fa120d7cSmrg the dotclock in similar cases, three decimal places seems quite a bit 634fa120d7cSmrg better than just one. 635fa120d7cSmrg 636fa120d7cSmrg Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> 637fa120d7cSmrg Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 638fa120d7cSmrg 639fa120d7cSmrgcommit 7ede207f9064fd88427026e38818819c2c8422bb 640fa120d7cSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 641fa120d7cSmrgDate: Fri Jan 3 05:48:17 2014 -0800 642fa120d7cSmrg 643fa120d7cSmrg Special-case printing of the GUID property 644fa120d7cSmrg 645fa120d7cSmrg Rather than printing GUIDs as 16 signed decimal integers, print them in 646fa120d7cSmrg {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} format. 647fa120d7cSmrg 648fa120d7cSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 649fa120d7cSmrg Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 650fa120d7cSmrg 651fa120d7cSmrgcommit e7a19c8b5a26c8bfd76a7399a1a15eac01184261 652fa120d7cSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 653fa120d7cSmrgDate: Fri Jan 3 05:22:02 2014 -0800 654fa120d7cSmrg 655fa120d7cSmrg Move EDID printing into a helper function 656fa120d7cSmrg 657fa120d7cSmrg Localize the specialness of EDID printing by moving it into a single function, 658fa120d7cSmrg print_edid, which prints the binary EDID data. Remove the is_edid parameter 659fa120d7cSmrg from everything else. 660fa120d7cSmrg 661fa120d7cSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 662fa120d7cSmrg Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 663fa120d7cSmrg 664fa120d7cSmrgcommit a29728ca9599fd08da1243e9b422ac26a24cc05b 665fa120d7cSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 666fa120d7cSmrgDate: Fri Jan 3 05:14:35 2014 -0800 667fa120d7cSmrg 668fa120d7cSmrg Split output property printing into a helper function 669fa120d7cSmrg 670fa120d7cSmrg Move the body of the code that prints the actual output property values into a 671fa120d7cSmrg helper function. This will make it easier for this function to select 672fa120d7cSmrg special-case property printers for properties that need special formatting. 673fa120d7cSmrg 674fa120d7cSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 675fa120d7cSmrg Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 676fa120d7cSmrg 677da4266ffSmrgcommit c5334bb4137d6ea7b8c8b10d51131b9450d1106b 678da4266ffSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 679da4266ffSmrgDate: Tue Jul 16 23:30:27 2013 -0700 680da4266ffSmrg 681da4266ffSmrg xrandr 1.4.1 682da4266ffSmrg 683da4266ffSmrgcommit 0e0b47341a45c138082d9f8047dcbdb91b90155d 684da4266ffSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 685da4266ffSmrgDate: Sat Jul 13 00:11:41 2013 -0700 686da4266ffSmrg 687da4266ffSmrg Combine usage message strings 688da4266ffSmrg 689da4266ffSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 690da4266ffSmrg 691da4266ffSmrgcommit 38772ec3b5a7216a88676f95b5edc764dd0a23d6 692da4266ffSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 693da4266ffSmrgDate: Sat Jul 13 00:07:26 2013 -0700 694da4266ffSmrg 695da4266ffSmrg Declare capability_name() as returning const char * 696da4266ffSmrg 697da4266ffSmrg Only used as an argument to printf. Clears gcc warnings: 698da4266ffSmrg xrandr.c: In function ‘capability_name’: 699da4266ffSmrg xrandr.c:237:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 700da4266ffSmrg xrandr.c:239:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 701da4266ffSmrg xrandr.c:241:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 702da4266ffSmrg xrandr.c:243:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 703da4266ffSmrg xrandr.c:245:5: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 704da4266ffSmrg 705da4266ffSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 706da4266ffSmrg 707da4266ffSmrgcommit f53d8511d26a26e9bd6b1bc665f6283f1efd98d9 708da4266ffSmrgAuthor: Thomas <fischer@unix-ag.uni-kl.de> 709da4266ffSmrgDate: Fri Nov 9 14:33:08 2012 +0000 710da4266ffSmrg 711da4266ffSmrg Bug 56923 - Make command line options consistent (single vs double dash) 712da4266ffSmrg 713da4266ffSmrg Most of xrandr's command line options follow the system of single 714da4266ffSmrg dashes for single character options (e.g. "-v") and double dashes for 715da4266ffSmrg long options ("--version"). The only exceptions are "-display" and 716da4266ffSmrg "-help", most likely for historical reasons. To make the behavior 717da4266ffSmrg consistent across all options, the following patch adds "--display" 718da4266ffSmrg and "--help" as alternatives to the current inconsistency. The man 719da4266ffSmrg page got updated as well, recommending double-dash variants for both 720da4266ffSmrg options. The old behavior is still supported, so the patch should not 721da4266ffSmrg break any existing usage/script. 722da4266ffSmrg 723da4266ffSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 724da4266ffSmrg 725da4266ffSmrgcommit bd1502f50f0c230798bdce99dec6efc76791c024 726da4266ffSmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 727da4266ffSmrgDate: Sun Jun 2 21:30:39 2013 +0200 728da4266ffSmrg 729da4266ffSmrg Protect config.h like usual. 730da4266ffSmrg 731da4266ffSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 732da4266ffSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 733da4266ffSmrg 734da4266ffSmrgcommit ace5e2b21b2a204f94c6452fa0d8f36699aec249 735da4266ffSmrgAuthor: Andy Ritger <aritger@nvidia.com> 736da4266ffSmrgDate: Thu May 2 01:20:27 2013 -0700 737da4266ffSmrg 738da4266ffSmrg xrandr: calloc XRRModeInfo's passed to libXrandr. 739da4266ffSmrg 740da4266ffSmrg The "--newmode" commandline option initializes an XRRModeInfo and passes 741da4266ffSmrg it into XRRCreateMode(). calloc(3) it to avoid uninitialized fields. 742da4266ffSmrg For consistency, calloc(3) all the places where umode_t's (the wrapper 743da4266ffSmrg structure for XRRModeInfo) are allocated. 744da4266ffSmrg 745da4266ffSmrg Signed-off-by: Andy Ritger <aritger@nvidia.com> 746da4266ffSmrg Tested-by: Nikhil Mahale <nmahale@nvidia.com> 747da4266ffSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 748da4266ffSmrg 749da4266ffSmrgcommit eb17ad8adc9400f6ed252872f13ccf5551f9e2e9 750da4266ffSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 751da4266ffSmrgDate: Thu Feb 28 12:01:53 2013 -0800 752da4266ffSmrg 753da4266ffSmrg Print spaces between XA_ATOM property values 754da4266ffSmrg 755da4266ffSmrg Commit b26fd532b3dab222956ea27eef4e41345978b5b2 redid how xrandr prints 756da4266ffSmrg properties. It neglected to put spaces between the values of XA_ATOM 757da4266ffSmrg properties, so they all run together. For example, 758da4266ffSmrg 759da4266ffSmrg audio: auto 760da4266ffSmrg supported: force-dvioffautoon 761da4266ffSmrg 762da4266ffSmrg Fix this by putting a space after each atom name. In addition, some drivers 763da4266ffSmrg create property values with spaces in them, so put commas between entries to 764da4266ffSmrg disambiguate. For example, 765da4266ffSmrg 766da4266ffSmrg Broadcast RGB: Automatic 767da4266ffSmrg supported: Automatic, Full, Limited 16:235 768da4266ffSmrg 769da4266ffSmrg Do the same for properties with multiple valid ranges. 770da4266ffSmrg 771da4266ffSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 772da4266ffSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 773da4266ffSmrg 774966b534aSmrgcommit 222f245fb3a00308cb3ff491f5c84ac9c69c3253 775966b534aSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 776966b534aSmrgDate: Tue Feb 12 13:24:38 2013 -0800 777966b534aSmrg 778966b534aSmrg xrandr 1.4.0 779966b534aSmrg 780966b534aSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 781966b534aSmrg 782966b534aSmrgcommit 3e5f160c4198a5160be5e9a3f21ba3f4130d4318 78309113985SmrgMerge: dac72db bd16618 784966b534aSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 785966b534aSmrgDate: Tue Feb 12 12:30:20 2013 -0800 786966b534aSmrg 787966b534aSmrg Merge branch 'fixes' 788966b534aSmrg 789966b534aSmrg Conflicts: 79009113985Smrg xrandr.c 791966b534aSmrg 792966b534aSmrgcommit bd166184f6c1973ae2f5f99d040733db3e9e82cf 793966b534aSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 794966b534aSmrgDate: Wed Feb 6 14:21:57 2013 -0800 795966b534aSmrg 796966b534aSmrg Cast XID to unsigned int to suppress a printf warning 797966b534aSmrg 798966b534aSmrg Sorry I forgot about this in commit 138b6252c0cae6599b6c8a25ffa22ffe70f227c2. 799966b534aSmrg That change introduced a warning: 800966b534aSmrg 801966b534aSmrg xrandr.c|645 col 5| warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘XID’ [-Wformat] 802966b534aSmrg 803966b534aSmrg Fix that by just casting the XID to unsigned int. 804966b534aSmrg 805966b534aSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 806966b534aSmrg Reviewed-by: Daniel Dadap <ddadap@nvidia.com> 807966b534aSmrg 808966b534aSmrgcommit 7fd4f18b649f22fad4dbf9fc64b69b3e7f172207 809966b534aSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 810966b534aSmrgDate: Wed Feb 6 11:13:06 2013 -0800 811966b534aSmrg 812966b534aSmrg Bug #37043: adjust refresh rates for doublescan and interlace 813966b534aSmrg 814966b534aSmrg These two flags halve and double, respectively, the effective refresh rate of a 815966b534aSmrg mode. 816966b534aSmrg 817966b534aSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 818966b534aSmrg Reviewed-by: Daniel Dadap <ddadap@nvidia.com> 819966b534aSmrg 820966b534aSmrgcommit d752d524027fbc20d9fdee06fed173e454f15370 821966b534aSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 822966b534aSmrgDate: Wed Feb 6 10:10:03 2013 -0800 823966b534aSmrg 824966b534aSmrg Bug #29603: document that there might be multiple preferred modes 825966b534aSmrg 826966b534aSmrg The X server sorts the mode list for an output with preferred modes first, and 827966b534aSmrg specifies how many preferred modes there are by setting the npreferred field in 828966b534aSmrg the XRRModeInfo structure. 829966b534aSmrg 830966b534aSmrg Update the man page to refer to preferred modes in the plural, and mention that 831966b534aSmrg --auto and --preferred use the *first* preferred mode. 832966b534aSmrg 833966b534aSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 834966b534aSmrg Reviewed-by: Daniel Dadap <ddadap@nvidia.com> 835966b534aSmrg 836966b534aSmrgcommit b2f0bd198b1116e45389a6628b657b722b4102a4 837966b534aSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 838966b534aSmrgDate: Wed Feb 6 14:11:23 2013 -0800 839966b534aSmrg 840966b534aSmrg Bug #14118: print usage() to stdout, proper errors for bad arguments 841966b534aSmrg 842966b534aSmrg Print the usage() text to stdout instead of stderr, and then only if -help is 843966b534aSmrg specified. Also allow --help for consistency. 844966b534aSmrg 845966b534aSmrg For other command line syntax errors, introduce a new helper function argerr() 846966b534aSmrg that prints errors of the form 847966b534aSmrg 848966b534aSmrg xrandr: %s 849966b534aSmrg Try './xrandr --help' for more information. 850966b534aSmrg 851966b534aSmrg and exits. Use that to print proper error messages. 852966b534aSmrg 853966b534aSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 854966b534aSmrg Reviewed-by: Daniel Dadap <ddadap@nvidia.com> 855966b534aSmrg 856966b534aSmrgcommit 0a26e076e10a3c7461d59c830cdc10688d66824f 857966b534aSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 858966b534aSmrgDate: Wed Feb 6 13:08:58 2013 -0800 859966b534aSmrg 860966b534aSmrg Bug #11397: check that numeric --orientation arguments are in range 861966b534aSmrg 862966b534aSmrg The only valid parameters to -o (--orientation) are 0, 1, 2, 3, normal, left, 863966b534aSmrg inverted, and right. xrandr converts the strings to numbers and then checks 864966b534aSmrg that they're within range, but doesn't validate them if it was numeric to begin 865966b534aSmrg with. 866966b534aSmrg 867966b534aSmrg Move the range check outside of the if statement so that out-of-range numeric 868966b534aSmrg values are rejected properly. 869966b534aSmrg 870966b534aSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 871966b534aSmrg Reviewed-by: Daniel Dadap <ddadap@nvidia.com> 872966b534aSmrg 873966b534aSmrgcommit dac72dbbc7501483eccec71bbf0db05a56756109 874966b534aSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 875966b534aSmrgDate: Fri Aug 24 21:43:13 2012 -0700 876966b534aSmrg 877966b534aSmrg xrandr: Fix variable declaration warnings 878966b534aSmrg 879966b534aSmrg There are piles of places in the code where a variable shadows either another 880966b534aSmrg variable or a global function: 881966b534aSmrg 882966b534aSmrg xrandr.c:545:35: warning: declaration of ‘index’ shadows a global declaration [-Wshadow] 883966b534aSmrg xrandr.c:574:9: warning: declaration of ‘index’ shadows a global declaration [-Wshadow] 884966b534aSmrg xrandr.c:967:19: warning: declaration of ‘gamma’ shadows a global declaration [-Wshadow] 885966b534aSmrg xrandr.c:1329:16: warning: declaration of ‘gamma’ shadows a global declaration [-Wshadow] 886966b534aSmrg xrandr.c:2055:28: warning: declaration of ‘outputs’ shadows a global declaration [-Wshadow] 887966b534aSmrg xrandr.c:2068:29: warning: declaration of ‘outputs’ shadows a global declaration [-Wshadow] 888966b534aSmrg xrandr.c:2928:16: warning: declaration of ‘output’ shadows a previous local [-Wshadow] 889966b534aSmrg xrandr.c:2995:15: warning: declaration of ‘output’ shadows a previous local [-Wshadow] 890966b534aSmrg xrandr.c:3016:15: warning: declaration of ‘j’ shadows a previous local [-Wshadow] 891966b534aSmrg xrandr.c:3018:19: warning: declaration of ‘rotations’ shadows a previous local [-Wshadow] 892966b534aSmrg xrandr.c:3116:15: warning: declaration of ‘crtc’ shadows a previous local [-Wshadow] 893966b534aSmrg xrandr.c:3170:8: warning: declaration of ‘k’ shadows a previous local [-Wshadow] 894966b534aSmrg xrandr.c:3243:20: warning: declaration of ‘mode’ shadows a previous local [-Wshadow] 895966b534aSmrg 896966b534aSmrg 'index' and 'gamma' are C library functions: 897966b534aSmrg 898966b534aSmrg index (3) - locate character in string 899966b534aSmrg gamma (3) - (logarithm of the) gamma function 900966b534aSmrg 901966b534aSmrg The rest of these are either variables or function parameters. 902966b534aSmrg 903966b534aSmrg When possible, move the declaration of a variable into the block where it is 904966b534aSmrg used, including in cases where the same variable is used in multiple blocks but 905966b534aSmrg the later block doesn't depend on the value from the earlier block. 906966b534aSmrg 907966b534aSmrg In a few cases, rename the variable in the outer scope to be more specific (e.g. 908966b534aSmrg output -> config_output) so the more generic variable in the inner scope (e.g. 909966b534aSmrg the 'output' variable used to iterate over all outputs) doesn't have to change. 910966b534aSmrg 911966b534aSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 912966b534aSmrg Reviewed-by: Andy Ritger <aritger@nvidia.com> 913966b534aSmrg 914966b534aSmrgcommit 138b6252c0cae6599b6c8a25ffa22ffe70f227c2 915966b534aSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 916966b534aSmrgDate: Mon Feb 4 16:17:24 2013 -0800 917966b534aSmrg 918966b534aSmrg xrandr: look for providers by name or xid 919966b534aSmrg 920966b534aSmrg Use the name_t infrastructure to allow specifying providers by name, index, or 921966b534aSmrg XID. This means that numbers without a "0x" prefix will now be interpreted as a 922966b534aSmrg indices rather than XIDs. To match that, print provider XIDs in hexadecimal. 923966b534aSmrg 924966b534aSmrg Print an error if a provider-related option is specified and RandR 1.4 isn't 925966b534aSmrg supported. 926966b534aSmrg 927966b534aSmrg Make get_screen robust against being called multiple times. 928966b534aSmrg 929966b534aSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 930966b534aSmrg Reviewed-by: Dave Airlie <airlied@redhat.com> 931966b534aSmrg 932966b534aSmrgcommit a93b77b15fa2463c7fd06c6898b9c9f737c3ae8a 933966b534aSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 934966b534aSmrgDate: Mon Feb 4 16:05:11 2013 -0800 935966b534aSmrg 936966b534aSmrg xrandr: make providers a first-class citizen 937966b534aSmrg 938966b534aSmrg Create a struct _provider to match the existing output, crtc, etc. objects. 939966b534aSmrg Build that from a new get_providers() function. Use that to populate the list 940966b534aSmrg when querying the providers. 941966b534aSmrg 942966b534aSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 943966b534aSmrg Reviewed-by: Dave Airlie <airlied@redhat.com> 944966b534aSmrg 945966b534aSmrgcommit 8ce9d1fa48a7556e9aee090e5d72566dbb9a32f8 946966b534aSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 947966b534aSmrgDate: Mon Feb 4 15:20:21 2013 -0800 948966b534aSmrg 949966b534aSmrg man: document provider options 950966b534aSmrg 951966b534aSmrg I hope I got the --setprovideroffloadsink parameters the right way around. 952966b534aSmrg 953966b534aSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 954966b534aSmrg Reviewed-by: Dave Airlie <airlied@redhat.com> 955966b534aSmrg 956966b534aSmrgcommit d07ef58f0cb6920dedc00c1e39cc6a5d0f31775e 957966b534aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 958966b534aSmrgDate: Sun Jan 20 12:32:15 2013 -0800 959966b534aSmrg 960966b534aSmrg Fix -Wformat warnings about passing longs where ints were expected 961966b534aSmrg 962966b534aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 963966b534aSmrg 964966b534aSmrgcommit ee548dde0f5bcc6503ad2f74af5261fbf022dada 965966b534aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 966966b534aSmrgDate: Sun Jan 20 12:28:04 2013 -0800 967966b534aSmrg 968966b534aSmrg Mark fatal() and warning() as taking printf-style arguments 969966b534aSmrg 970966b534aSmrg Silences -Wformat-nonliteral warnings about them passing through 971966b534aSmrg unknown format arguments to vfprintf. 972966b534aSmrg 973966b534aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 974966b534aSmrg 975966b534aSmrgcommit 77b03188b14cdef4523184a73b25fb2703d52685 976966b534aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 977966b534aSmrgDate: Sun Jan 20 12:24:24 2013 -0800 978966b534aSmrg 979966b534aSmrg config: Add missing AC_CONFIG_SRCDIR 980966b534aSmrg 981966b534aSmrg Regroup AC statements under the Autoconf initialization section. 982966b534aSmrg Regroup AM statements under the Automake initialization section. 983966b534aSmrg 984966b534aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 985966b534aSmrg 986966b534aSmrgcommit a9a92e85b2f8ea54855a3b45eb0882d7da50c1a8 987966b534aSmrgAuthor: Colin Walters <walters@verbum.org> 988966b534aSmrgDate: Wed Jan 16 13:02:57 2013 -0500 989966b534aSmrg 990966b534aSmrg autogen.sh: Honor NOCONFIGURE=1 991966b534aSmrg 992966b534aSmrg See http://people.gnome.org/~walters/docs/build-api.txt 993966b534aSmrg 994966b534aSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 995966b534aSmrg 996966b534aSmrgcommit 4a15ed3b1edd22d67307620f2265faf365700519 997966b534aSmrgAuthor: Adam Jackson <ajax@redhat.com> 998966b534aSmrgDate: Wed Jan 16 13:03:39 2013 -0500 999966b534aSmrg 1000966b534aSmrg configure: Drop AM_MAINTAINER_MODE 1001966b534aSmrg 1002966b534aSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 1003966b534aSmrg 1004966b534aSmrgcommit 094b40e89707828df2bb7b204a97eed256a3c3fd 1005966b534aSmrgAuthor: Pierre-Loup A. Griffais <pgriffais@nvidia.com> 1006966b534aSmrgDate: Wed Dec 19 12:32:03 2012 -0800 1007966b534aSmrg 1008966b534aSmrg xrandr: print primary output 1009966b534aSmrg 1010966b534aSmrg Sample output: 1011966b534aSmrg 1012966b534aSmrg LVDS-0 connected primary 1920x1080+1920+120 [...] 1013966b534aSmrg 1014966b534aSmrg Signed-off-by: Pierre-Loup A. Griffais <pgriffais@nvidia.com> 1015966b534aSmrg Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 1016966b534aSmrg Tested-by: Aaron Plattner <aplattner@nvidia.com> 1017966b534aSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 1018966b534aSmrg 1019966b534aSmrgcommit b26fd532b3dab222956ea27eef4e41345978b5b2 1020966b534aSmrgAuthor: Andy Ritger <aritger@nvidia.com> 1021966b534aSmrgDate: Fri Sep 7 17:58:46 2012 -0700 1022966b534aSmrg 1023966b534aSmrg xrandr: generalize output property printing 1024966b534aSmrg 1025966b534aSmrg Signed-off-by: Andy Ritger <aritger@nvidia.com> 1026966b534aSmrg Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 1027966b534aSmrg 1028966b534aSmrgcommit 7a22279cadf7d1a2064cf985acc015401407d71c 1029966b534aSmrgAuthor: Andy Ritger <aritger@nvidia.com> 1030966b534aSmrgDate: Fri Sep 7 17:58:45 2012 -0700 1031966b534aSmrg 1032966b534aSmrg xrandr: extend '--set' syntax to allow a comma-separated list of values 1033966b534aSmrg 1034966b534aSmrg Signed-off-by: Andy Ritger <aritger@nvidia.com> 1035966b534aSmrg Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 1036966b534aSmrg 1037966b534aSmrgcommit 7cb20881991c8bcf7e8fa0af6ad0f85682f98e1f 1038966b534aSmrgAuthor: Dave Airlie <airlied@redhat.com> 1039966b534aSmrgDate: Fri Jan 20 17:40:41 2012 +0000 1040966b534aSmrg 1041966b534aSmrg xrandr: add provider interfaces 1042966b534aSmrg 1043966b534aSmrg This adds an initial interface to list and configure offload and output 1044966b534aSmrg providers. 1045966b534aSmrg 1046966b534aSmrg Signed-off-by: Dave Airlie <airlied@redhat.com> 1047966b534aSmrg 1048966b534aSmrgcommit a36e6d38ffd9831188758658ff36a0b88e43ba67 1049966b534aSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 1050966b534aSmrgDate: Fri Aug 24 21:02:26 2012 -0700 1051966b534aSmrg 1052966b534aSmrg xrandr: Fix string constness bugs 1053966b534aSmrg 1054966b534aSmrg Sufficiently new versions of GCC treat string literals as "const char *" by 1055966b534aSmrg default. This means that several places that assign, return, or initialize 1056966b534aSmrg char* from a string literal generates a warning: 1057966b534aSmrg 1058966b534aSmrg xrandr.c:54:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1059966b534aSmrg xrandr.c:55:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1060966b534aSmrg xrandr.c:56:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1061966b534aSmrg xrandr.c:57:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1062966b534aSmrg xrandr.c:58:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1063966b534aSmrg xrandr.c:61:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1064966b534aSmrg xrandr.c:62:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1065966b534aSmrg xrandr.c:63:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1066966b534aSmrg xrandr.c:64:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1067966b534aSmrg xrandr.c:65:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1068966b534aSmrg xrandr.c:69:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1069966b534aSmrg xrandr.c:70:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1070966b534aSmrg xrandr.c:71:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1071966b534aSmrg xrandr.c:72:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1072966b534aSmrg xrandr.c:73:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1073966b534aSmrg xrandr.c:74:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1074966b534aSmrg xrandr.c:80:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1075966b534aSmrg xrandr.c:81:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1076966b534aSmrg xrandr.c:82:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1077966b534aSmrg xrandr.c:83:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1078966b534aSmrg xrandr.c:84:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1079966b534aSmrg xrandr.c:85:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1080966b534aSmrg xrandr.c:86:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1081966b534aSmrg xrandr.c:87:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1082966b534aSmrg xrandr.c:88:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1083966b534aSmrg xrandr.c:189:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 1084966b534aSmrg xrandr.c:193:5: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 1085966b534aSmrg xrandr.c:202:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 1086966b534aSmrg xrandr.c:204:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 1087966b534aSmrg xrandr.c:206:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 1088966b534aSmrg xrandr.c:208:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 1089966b534aSmrg xrandr.c:210:5: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 1090966b534aSmrg xrandr.c:359:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1091966b534aSmrg xrandr.c:360:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1092966b534aSmrg xrandr.c:361:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1093966b534aSmrg xrandr.c:593:23: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1094966b534aSmrg xrandr.c:1189:28: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1095966b534aSmrg xrandr.c:1191:28: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1096966b534aSmrg xrandr.c:1587:39: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1097966b534aSmrg xrandr.c:1588:30: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1098966b534aSmrg xrandr.c:1589:38: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1099966b534aSmrg xrandr.c:1590:48: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1100966b534aSmrg xrandr.c:1591:42: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1101966b534aSmrg xrandr.c:1592:25: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1102966b534aSmrg xrandr.c:2544:28: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1103966b534aSmrg xrandr.c:2546:28: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1104966b534aSmrg xrandr.c:2585:28: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1105966b534aSmrg xrandr.c:3228:17: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1106966b534aSmrg 1107966b534aSmrg Fix as many of these as possible. This introduces one problem: 1108966b534aSmrg XRRSetCrtcTransform takes a non-const char* filter parameter even though it 1109966b534aSmrg doesn't actually modify the string. Instead of trying to work around that, just 1110966b534aSmrg live with the warning for now: 1111966b534aSmrg 1112966b534aSmrg xrandr.c:1459:9: warning: passing argument 4 of ‘XRRSetCrtcTransform’ discards ‘const’ qualifier from pointer target type [enabled by default] 1113966b534aSmrg /X/include/X11/extensions/Xrandr.h:383:1: note: expected ‘char *’ but argument is of type ‘const char *’ 1114966b534aSmrg 1115966b534aSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 1116966b534aSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1117966b534aSmrg 1118966b534aSmrgcommit b501dd3adfac13e15e619898d4447d83b8301dd3 1119966b534aSmrgAuthor: Andy Ritger <aritger@nvidia.com> 1120966b534aSmrgDate: Fri Aug 24 15:53:09 2012 -0700 1121966b534aSmrg 1122966b534aSmrg xrandr: compute gamma-correction in [0,2^sigbits) 1123966b534aSmrg 1124966b534aSmrg The gamma-correction lookup table values are 16:16:16 X Colors, where the 1125966b534aSmrg MSBs are programmed into the hardware lookup table. Rather than compute 1126966b534aSmrg values over the entire range [0,65536) (where values below 2^(16 - sigbits) 1127966b534aSmrg will receive the same hardware value), compute values over the range 1128966b534aSmrg [0,2^sigbits) and left shift by (16 - sigbits) into the MSBs. 1129966b534aSmrg 1130966b534aSmrg Signed-off-by: Andy Ritger <aritger@nvidia.com> 1131966b534aSmrg Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 1132966b534aSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 1133966b534aSmrg 1134966b534aSmrgcommit 90afd01788be7bf19e441a59dca0d8057c5267b1 1135966b534aSmrgAuthor: Andy Ritger <aritger@nvidia.com> 1136966b534aSmrgDate: Fri Aug 24 15:53:08 2012 -0700 1137966b534aSmrg 1138966b534aSmrg xrandr: fix gamma == 1.0 && sigbits != 8 1139966b534aSmrg 1140966b534aSmrg The gamma-correction lookup table managed through XRR[GS]etCrtcGamma is 1141966b534aSmrg 2^n in size, where 'n' is the number of significant bits in the X Color. 1142966b534aSmrg Each element in the gamma-correction lookup table is a 16:16:16 X Color 1143966b534aSmrg (i.e., in the range [0,65536) ). The significant bits of each component 1144966b534aSmrg of each element in the lookup table are programmed into the hardware 1145966b534aSmrg lookup table. Meaningful values in the gamma-correction lookup table 1146966b534aSmrg are thus in the range [0,2^sigbits), where all values are shifted into 1147966b534aSmrg the MSBs (i.e., left shifted by (16 - sigificant bits)). 1148966b534aSmrg 1149966b534aSmrg Signed-off-by: Andy Ritger <aritger@nvidia.com> 1150966b534aSmrg Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 1151966b534aSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 1152966b534aSmrg 1153966b534aSmrgcommit 6bf48ae8d8db58ab74182383e54332f120f024c2 1154966b534aSmrgAuthor: Andy Ritger <aritger@nvidia.com> 1155966b534aSmrgDate: Fri Aug 24 15:53:07 2012 -0700 1156966b534aSmrg 1157966b534aSmrg xrandr: use 1/gamma to compute gamma-correction 1158966b534aSmrg 1159966b534aSmrg To compute a gamma *correction* lookup table, use the specified gamma 1160966b534aSmrg value as the divisor in (1.0/gamma). This matches the semantics of 1161966b534aSmrg xgamma(1) and the "gamma-value" and "{red,green,blue}-gamma" xorg.conf(5) 1162966b534aSmrg options. 1163966b534aSmrg 1164966b534aSmrg For more details, see: 1165966b534aSmrg http://www.poynton.com/PDFs/TIDV/Gamma.pdf (Gamma in computer graphics, page 17) 1166966b534aSmrg http://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/common/xf86cmap.c:ComputeGamma() 1167966b534aSmrg 1168966b534aSmrg Signed-off-by: Andy Ritger <aritger@nvidia.com> 1169966b534aSmrg Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 1170966b534aSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 1171966b534aSmrg 1172966b534aSmrgcommit 755234bd2ce0f3acde6507aba94b1e53a5a72f9b 1173966b534aSmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 1174966b534aSmrgDate: Thu Aug 23 12:26:57 2012 -0400 1175966b534aSmrg 1176966b534aSmrg Running text interspersed with options prevents DocBook translation; remove. 1177966b534aSmrg 1178966b534aSmrg The information the text conveys is not really needed at that point, 1179966b534aSmrg either. It's duplicated later in the manual page. 1180966b534aSmrg 1181966b534aSmrg Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 1182966b534aSmrg 1183966b534aSmrgcommit b9d260a49961b5e311e77e8600e7e5a8f2e8d475 1184966b534aSmrgAuthor: Keith Packard <keithp@keithp.com> 1185966b534aSmrgDate: Tue May 1 21:53:02 2012 -0700 1186966b534aSmrg 1187966b534aSmrg keystone.5c: cairo-5 box semantics changed default layout 1188966b534aSmrg 1189966b534aSmrg cairo-5c version 1.6 includes a new 2D box layout widget that 1190966b534aSmrg needs widget stretch defined in both dimensions to create 1191966b534aSmrg the desired layout. 1192966b534aSmrg 1193966b534aSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 1194966b534aSmrg 1195966b534aSmrgcommit 1e5a973ad2da9aaf3c025656db4ba83ff9e6c207 1196966b534aSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 1197966b534aSmrgDate: Mon Apr 23 12:41:15 2012 -0700 1198966b534aSmrg 1199966b534aSmrg Add a --scale-from option 1200966b534aSmrg 1201966b534aSmrg A typical case for wanting to specify a scale on an output is making your 1202966b534aSmrg framebuffer be one size and scaling it to fill an output of a different size. 1203966b534aSmrg Instead of making the user calculate the scaling factors to be specified by 1204966b534aSmrg --scale, add a new option, --scale-from, that lets the user specify the 1205966b534aSmrg framebuffer size directly. Compute the appropriate transform to achieve the 1206966b534aSmrg desired target size. 1207966b534aSmrg 1208966b534aSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 1209966b534aSmrg Reviewed-by: Andy Ritger <aritger@nvidia.com> 1210966b534aSmrg 1211966b534aSmrgcommit 45b21c41ef3abd73de11d1adc6f5475105e1a5b7 1212966b534aSmrgAuthor: Pierre-Loup A. Griffais <pgriffais@nvidia.com> 1213966b534aSmrgDate: Tue Mar 20 16:46:22 2012 -0700 1214966b534aSmrg 1215966b534aSmrg xrandr: move transform limit checking after scaling 1216966b534aSmrg 1217966b534aSmrg This would trigger for legit scaled matrices, resulting in the wrong 1218966b534aSmrg extents getting computed. 1219966b534aSmrg 1220966b534aSmrg Signed-off-by: Pierre-Loup A. Griffais <pgriffais@nvidia.com> 1221966b534aSmrg Reviewed-by: Keith Packard <keithp@keithp.com> 1222966b534aSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 1223966b534aSmrg 1224966b534aSmrgcommit 8ca08e32ee7daae75992cbf1f554ca9a389e5420 1225966b534aSmrgAuthor: Keith Packard <keithp@keithp.com> 1226966b534aSmrgDate: Wed Feb 29 16:26:25 2012 +1300 1227966b534aSmrg 1228966b534aSmrg Update keystone program to run with new nichrome bits 1229966b534aSmrg 1230966b534aSmrg Will also work with old nichrome bits. 1231966b534aSmrg 1232966b534aSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 1233966b534aSmrg 1234966b534aSmrgcommit 5161ba39a3c13caa5cab953a17f509a6a5b09e7b 1235966b534aSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 1236966b534aSmrgDate: Fri Nov 11 11:34:38 2011 -0800 1237966b534aSmrg 1238966b534aSmrg Include strings.h for strcasecmp 1239966b534aSmrg 1240966b534aSmrg Our minimum requirement for X11 is currently Unix98. Unix98 provides 1241966b534aSmrg strcasecmp in <strings.h>. This commit fixes implicit declarations 1242966b534aSmrg of this function on systems that closely adhere to the standard. 1243966b534aSmrg 1244966b534aSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 1245966b534aSmrg 1246966b534aSmrgcommit e68059e9ecc4225360a522138aedcedad7fe117f 1247966b534aSmrgAuthor: Keith Packard <keithp@keithp.com> 1248966b534aSmrgDate: Sat Aug 6 19:06:42 2011 -0700 1249966b534aSmrg 1250966b534aSmrg xrandr: Preserve current mode when switching crtcs 1251966b534aSmrg 1252966b534aSmrg When switching output crtcs, preserve any current mode in preference 1253966b534aSmrg to selecting whatever mode is currently in use on that crtc. 1254966b534aSmrg 1255966b534aSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 1256966b534aSmrg 1257966b534aSmrgcommit 5185a18a016d9ccbfea3a3cdb314041268222708 1258966b534aSmrgAuthor: Adam Jackson <ajax@redhat.com> 1259966b534aSmrgDate: Wed Jul 20 14:34:19 2011 -0400 1260966b534aSmrg 1261966b534aSmrg Document the rarer --newmode flags in --help output 1262966b534aSmrg 1263966b534aSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 1264966b534aSmrg 1265781f9a67Smrgcommit 9e7a1f88de66c65cca1eb732278f76dab125f30e 1266781f9a67SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1267781f9a67SmrgDate: Wed Jun 29 21:18:23 2011 -0700 1268781f9a67Smrg 1269781f9a67Smrg xrandr 1.3.5 1270781f9a67Smrg 1271781f9a67Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1272781f9a67Smrg 1273781f9a67Smrgcommit a187677a93a215ccbba819f98425a6c682a50a6c 1274781f9a67SmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 1275781f9a67SmrgDate: Mon May 9 09:26:34 2011 -0700 1276781f9a67Smrg 1277781f9a67Smrg find_mode: Search for the mode closes to the specified rate 1278781f9a67Smrg 1279781f9a67Smrg This was the intention of d9aeb4a7544ad4a33f6f54bc46bff5cdf231a986, but 1280781f9a67Smrg find_mode was still picking the first string match rather than the 1281781f9a67Smrg match with the closest refresh rate. 1282781f9a67Smrg 1283781f9a67Smrg xrandr.c:740:3: warning: Value stored to 'bestDist' is never read 1284781f9a67Smrg bestDist = dist; 1285781f9a67Smrg ^ ~~~~ 1286781f9a67Smrg 1287781f9a67Smrg Found-by: clang static analyzer 1288781f9a67Smrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 1289781f9a67Smrg 1290781f9a67Smrgcommit 30e9137bf94f58f66cc6883b0a47eab3159c8be6 1291781f9a67SmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 1292781f9a67SmrgDate: Sun May 8 16:42:50 2011 -0700 1293781f9a67Smrg 1294781f9a67Smrg Dead code removal 1295781f9a67Smrg 1296781f9a67Smrg xrandr.c:2978:33: warning: Value stored to 'first' is never read 1297781f9a67Smrg if (!first) printf (" "); first = False; 1298781f9a67Smrg ^ ~~~~~ 1299781f9a67Smrg xrandr.c:2966:30: warning: Value stored to 'first' is never read 1300781f9a67Smrg if (!first) printf (" "); first = False; 1301781f9a67Smrg ^ ~~~~~ 1302781f9a67Smrg 1303781f9a67Smrg Found-by: clang static analyzer 1304781f9a67Smrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 1305781f9a67Smrg 1306781f9a67Smrgcommit 1e48aad532aa19a35efbee24cddca4c43e02afe7 1307781f9a67SmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 1308781f9a67SmrgDate: Sun May 8 16:35:47 2011 -0700 1309781f9a67Smrg 1310781f9a67Smrg Dead code removal 1311781f9a67Smrg 1312781f9a67Smrg Removing the redundant setting of format = 32 in the XA_ATOM case. 1313781f9a67Smrg It was already set to that earlier whe it was assigned actual_format. 1314781f9a67Smrg 1315781f9a67Smrg xrandr.c:2770:3: warning: Value stored to 'format' is never read 1316781f9a67Smrg format=0; 1317781f9a67Smrg ^ ~ 1318781f9a67Smrg xrandr.c:2782:7: warning: Value stored to 'format' is never read 1319781f9a67Smrg format = actual_format; 1320781f9a67Smrg ^ ~~~~~~~~~~~~~ 1321781f9a67Smrg 1322781f9a67Smrg Found-by: clang static analyzer 1323781f9a67Smrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 1324781f9a67Smrg 1325781f9a67Smrgcommit dd2a2e7dc918c57aae3df57118042e4362377243 1326781f9a67SmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 1327781f9a67SmrgDate: Sun May 8 16:29:51 2011 -0700 1328781f9a67Smrg 1329781f9a67Smrg Mark usage, fatal, and panic as _X_NORETURN 1330781f9a67Smrg 1331781f9a67Smrg xrandr.c:634:13: warning: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'output') 1332781f9a67Smrg output->next = NULL; 1333781f9a67Smrg ~~~~~~ ^ 1334781f9a67Smrg xrandr.c:1214:6: warning: Access to field 'mode' results in a dereference of a null pointer (loaded from variable 'crtc_info') 1335781f9a67Smrg if (crtc_info->mode == None) 1336781f9a67Smrg ^~~~~~~~~ 1337781f9a67Smrg xrandr.c:1252:5: warning: Array access (via field 'outputs') results in a null pointer dereference 1338781f9a67Smrg crtc->outputs[crtc->noutput++] = output; 1339781f9a67Smrg ^ ~~~~~~~ 1340781f9a67Smrg xrandr.c:1638:33: warning: Access to field 'name' results in a dereference of a null pointer (loaded from variable 'output_info') 1341781f9a67Smrg set_name_string (&output_name, output_info->name); 1342781f9a67Smrg ^~~~~~~~~~~ 1343781f9a67Smrg xrandr.c:1725:10: warning: Access to field 'changes' results in a dereference of a null pointer (loaded from variable 'output') 1344781f9a67Smrg if (output->changes) 1345781f9a67Smrg ^~~~~~ 1346781f9a67Smrg xrandr.c:1848:10: warning: Access to field 'mode_info' results in a dereference of a null pointer (loaded from variable 'relation') 1347781f9a67Smrg if (relation->mode_info == NULL) 1348781f9a67Smrg ^~~~~~~~ 1349781f9a67Smrg xrandr.c:3194:11: warning: Array access (from variable 'mode_shown') results in a null pointer dereference 1350781f9a67Smrg if (mode_shown[j]) continue; 1351781f9a67Smrg ^~~~~~~~~~ 1352781f9a67Smrg 1353781f9a67Smrg Found-by: clang static analyzer 1354781f9a67Smrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 1355781f9a67Smrg 1356781f9a67Smrgcommit d58d70f6781308de2f905b71a0bfcea1506b0008 1357781f9a67SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1358781f9a67SmrgDate: Wed Jan 19 10:06:56 2011 -0500 1359781f9a67Smrg 1360781f9a67Smrg config: move man pages into their own directory 1361781f9a67Smrg 1362781f9a67Smrg Use services provided by XORG_MANPAGE_SECTIONS. 1363781f9a67Smrg Use standard Makefile for man pages. 1364781f9a67Smrg 1365781f9a67Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1366781f9a67Smrg 1367781f9a67Smrgcommit 3b18de7f030b89bcbaa54686490c406f73f824d0 1368781f9a67SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1369781f9a67SmrgDate: Thu Jan 13 17:15:36 2011 -0500 1370781f9a67Smrg 1371781f9a67Smrg man: replace hard coded man page section with substitution strings 1372781f9a67Smrg 1373781f9a67Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1374781f9a67Smrg 1375781f9a67Smrgcommit 7c3b0664e6ee3c3e43724c3922257e1138accd7c 1376781f9a67SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1377781f9a67SmrgDate: Thu Jan 13 11:15:48 2011 -0500 1378781f9a67Smrg 1379781f9a67Smrg man: remove trailing spaces and tabs 1380781f9a67Smrg 1381781f9a67Smrg Using s/[ \t]*$// 1382781f9a67Smrg 1383781f9a67Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1384781f9a67Smrg 1385781f9a67Smrgcommit b94179dd0538c73ff4628d43f4b8f492351ddd9c 1386781f9a67SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1387781f9a67SmrgDate: Wed Jan 12 16:28:02 2011 -0500 1388781f9a67Smrg 1389781f9a67Smrg config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS 1390781f9a67Smrg 1391781f9a67Smrg This silences an Autoconf warning 1392781f9a67Smrg 1393781f9a67Smrgcommit 275249f6d162c8ce8a080bef8a2955fd8e72b67c 1394781f9a67SmrgAuthor: Matthias Hopf <mhopf@suse.de> 1395781f9a67SmrgDate: Mon Jan 10 17:56:16 2011 +0100 1396781f9a67Smrg 1397781f9a67Smrg Add --current to usage. 1398781f9a67Smrg 13994def10e6Smrgcommit 2b67c3d80d1e7736cf4fe9f093ab604dc02ad7be 14004def10e6SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 14014def10e6SmrgDate: Sat Oct 30 11:28:41 2010 -0700 14024def10e6Smrg 14034def10e6Smrg xrandr 1.3.4 14044def10e6Smrg 14054def10e6Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14064def10e6Smrg 14074def10e6Smrgcommit 46c3cb9103ecd6f73a2908bb93004658069639c5 14084def10e6SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 14094def10e6SmrgDate: Sat Oct 30 11:26:40 2010 -0700 14104def10e6Smrg 14114def10e6Smrg config: Remove unnecessary calls from configure.ac 14124def10e6Smrg 14134def10e6Smrg AC_PROG_CC & AC_PROG_INSTALL are provided by XORG_DEFAULT_OPTIONS now 14144def10e6Smrg PKG_CONFIG_MODULES handles AC_SUBST of the CFLAGS & LIBS variables 14154def10e6Smrg 14164def10e6Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14174def10e6Smrg 14184def10e6Smrgcommit 52016812038732a3aabc6dfb63ded9d07de703ee 14194def10e6SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 14204def10e6SmrgDate: Sat Oct 30 11:25:53 2010 -0700 14214def10e6Smrg 14224def10e6Smrg config: upgrade to util-macros 1.8 for additional man page support 14234def10e6Smrg 14244def10e6Smrg Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS 14254def10e6Smrg The value of MAN_SUBST is the same for all X.Org packages. 14264def10e6Smrg 14274def10e6Smrg Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS 14284def10e6Smrg The existing statement can now be removed from the configuration file. 14294def10e6Smrg 14304def10e6Smrg Use automake provided $(AM_V_GEN) and XORG_DEFAULT_OPTIONS provided $(SED) 14314def10e6Smrg Enables silent rule and use platform appropriate version of sed. 14324def10e6Smrg 14334def10e6Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14344def10e6Smrg 14354def10e6Smrgcommit 5b74ff83949432b8abb9453415426a515e45eb20 14364def10e6SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 14374def10e6SmrgDate: Sat Oct 30 11:24:14 2010 -0700 14384def10e6Smrg 14394def10e6Smrg config: update AC_PREREQ statement to 2.60 14404def10e6Smrg 14414def10e6Smrg Unrelated to the previous patches, the new value simply reflects 14424def10e6Smrg the reality that the minimum level for autoconf to configure 14434def10e6Smrg all x.org modules is 2.60 dated June 2006. 14444def10e6Smrg 14454def10e6Smrg ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz 14464def10e6Smrg 14474def10e6Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 14484def10e6Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14494def10e6Smrg 14504def10e6Smrgcommit c7b90939f0ffcad17a5cc6cf1e28f7b027feeba5 14514def10e6SmrgAuthor: Julien Cristau <jcristau@debian.org> 14524def10e6SmrgDate: Tue Oct 12 21:20:18 2010 +0200 14534def10e6Smrg 14544def10e6Smrg Call QueryExtension before any other RandR function (bug#30806) 14554def10e6Smrg 14564def10e6Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14574def10e6Smrg Tested-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14584def10e6Smrg Signed-off-by: Julien Cristau <jcristau@debian.org> 14594def10e6Smrg 14604def10e6Smrgcommit 051f912f1c009a2c318214e6b3e86fa5f576d0ff 14614def10e6SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 14624def10e6SmrgDate: Wed Sep 22 19:39:27 2010 -0700 14634def10e6Smrg 14644def10e6Smrg Bug 29348 - dot clock parameter missing from --newmode in man page 14654def10e6Smrg 14664def10e6Smrg https://bugs.freedesktop.org/show_bug.cgi?id=29348 14674def10e6Smrg 14684def10e6Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14694def10e6Smrg Reviewed-by: Julien Cristau <jcristau@debian.org> 14704def10e6Smrg 1471f8a31ee4Smrgcommit a06506ca5df0a69e0ca27845855187ff62b78a9d 1472f8a31ee4SmrgAuthor: Julien Cristau <jcristau@debian.org> 1473f8a31ee4SmrgDate: Mon Jul 19 18:07:56 2010 +0100 1474f8a31ee4Smrg 1475f8a31ee4Smrg Bump to 1.3.3 1476f8a31ee4Smrg 1477f8a31ee4Smrgcommit 2cc54b2f6280cc2e5519b572f960ecef36d750ac 1478f8a31ee4SmrgAuthor: Julien Cristau <jcristau@debian.org> 1479f8a31ee4SmrgDate: Mon Jul 19 18:06:56 2010 +0100 1480f8a31ee4Smrg 1481f8a31ee4Smrg Require xorg-macros 1.4 for XORG_INSTALL 1482f8a31ee4Smrg 1483f8a31ee4Smrgcommit 7e6b0adcbd6c9e691b538f99536dcd7106ed1f6a 1484f8a31ee4SmrgAuthor: Julien Cristau <jcristau@debian.org> 1485f8a31ee4SmrgDate: Mon Jul 19 18:05:37 2010 +0100 1486f8a31ee4Smrg 1487f8a31ee4Smrg Kill cvs keyword 1488f8a31ee4Smrg 1489f8a31ee4Smrgcommit 61fc9cc04e1ac179ac5e2cc4ff861bb362f0b801 1490f8a31ee4SmrgAuthor: Eric Piel <eric@triangle.(none)> 1491f8a31ee4SmrgDate: Sun Jan 10 00:08:53 2010 +0100 1492f8a31ee4Smrg 1493f8a31ee4Smrg xrandr: get gamma and brightness 1494f8a31ee4Smrg 1495f8a31ee4Smrg Even in verbose query mode, gamma and brigthness were not displayed. 1496f8a31ee4Smrg That's because they are not stored in the server the same way they are 1497f8a31ee4Smrg specified on the command line: they are stored as 256 * 3 u16 while 1498f8a31ee4Smrg the command line is 3 + 1 floats. Still, this is useful info for the 1499f8a31ee4Smrg users, and they don't care about how it's stored in the server. 1500f8a31ee4Smrg 1501f8a31ee4Smrg So we do a regression over the values stored to recover info in the same 1502f8a31ee4Smrg way as on the command line: gamma and brightness. 1503f8a31ee4Smrg 1504f8a31ee4Smrg Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net> 1505f8a31ee4Smrg Reviewed-By: Matthias Hopf <mhopf@suse.de> 1506f8a31ee4Smrg 1507f8a31ee4Smrgcommit b5627bb72b3ca2c7f5a702b7134a5c6dd4f83687 1508f8a31ee4SmrgAuthor: Eric Piel <eric@triangle.(none)> 1509f8a31ee4SmrgDate: Sun Jan 10 00:08:53 2010 +0100 1510f8a31ee4Smrg 1511f8a31ee4Smrg xrandr: fix maximum gamma set 1512f8a31ee4Smrg 1513f8a31ee4Smrg Gamma is an array of 3 16-bit values. Currently, the maximum value assigned is 1514f8a31ee4Smrg 255*256, which is only 65280. Make sure that when we set the gamma, the maximum 1515f8a31ee4Smrg value is 65535. It's slightly brighter but also helps to avoid kludges to 1516f8a31ee4Smrg detect clamped values when reading back the gamma. 1517f8a31ee4Smrg 1518f8a31ee4Smrg Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net> 1519f8a31ee4Smrg Reviewed-by: Matthias Hopf <mhopf@suse.de> 1520f8a31ee4Smrg 1521f8a31ee4Smrgcommit d138c73276226ce424d36e80ce745aa9461f110e 1522f8a31ee4SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1523f8a31ee4SmrgDate: Thu Feb 11 10:08:07 2010 -0500 1524f8a31ee4Smrg 1525f8a31ee4Smrg config: move CWARNFLAGS from configure.ac to Makefile.am 1526f8a31ee4Smrg 1527f8a31ee4Smrg Compiler warning flags should be explicitly set in the makefile 1528f8a31ee4Smrg rather than being merged with other packages compiler flags. 1529f8a31ee4Smrg 1530f8a31ee4Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1531f8a31ee4Smrg 1532f8a31ee4Smrgcommit ac6606d8da914610446c5327813798bfbba4d6c2 153309113985SmrgAuthor: Éric Piel <eric.piel@tremplin-utc.net> 1534f8a31ee4SmrgDate: Wed Jan 6 14:42:15 2010 +0100 1535f8a31ee4Smrg 1536f8a31ee4Smrg xrandr: fix brightness to prevent gamma to overflow and to allow 0 1537f8a31ee4Smrg 1538f8a31ee4Smrg With the new brightness option, gamma would overflow with values > 1, 1539f8a31ee4Smrg leading to rainbow looking screen. 1540f8a31ee4Smrg 1541f8a31ee4Smrg In addition, have the brightness by default to 1, so that specifying 0 1542f8a31ee4Smrg actually does the expected behaviour of leading to a black screen. 1543f8a31ee4Smrg 1544f8a31ee4Smrg Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net> 1545f8a31ee4Smrg Reviewed-by: Matthias Hopf <mhopf@suse.de> 1546f8a31ee4Smrg Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 1547f8a31ee4Smrg 1548f8a31ee4Smrgcommit ccb3f8a42b25819cd1812f179544b52c2f03d1aa 1549f8a31ee4SmrgAuthor: Yann Droneaud <ydroneaud@mandriva.com> 1550f8a31ee4SmrgDate: Tue Nov 17 15:39:02 2009 +0100 1551f8a31ee4Smrg 1552f8a31ee4Smrg xrandr: Remove --clone / --extend support code 1553f8a31ee4Smrg 1554f8a31ee4Smrg Code handling --clone and --extend is not used. 1555f8a31ee4Smrg The usage message regarding those options was already commented out. 1556f8a31ee4Smrg 1557f8a31ee4Smrg Signed-off-by: Yann Droneaud <ydroneaud@mandriva.com> 1558f8a31ee4Smrg Acked-by: Matthias Hopf <mhopf@suse.de> 1559f8a31ee4Smrg 1560f8a31ee4Smrgcommit 1f8e27cd71560c154f6b1f7472ae2518f5df10e0 1561f8a31ee4SmrgAuthor: Matthias Hopf <mhopf@suse.de> 1562f8a31ee4SmrgDate: Tue Jan 5 14:58:42 2010 +0100 1563f8a31ee4Smrg 1564f8a31ee4Smrg Language fixes. 1565f8a31ee4Smrg 1566f8a31ee4Smrgcommit 5f7d052d63875f059f5693c68ee9fdf559ad5300 1567f8a31ee4SmrgAuthor: Yann Droneaud <ydroneaud@mandriva.com> 1568f8a31ee4SmrgDate: Tue Nov 17 15:39:01 2009 +0100 1569f8a31ee4Smrg 1570f8a31ee4Smrg xrandr: Use a prefix for enum type _policy and _relation like other enums in xrandr.c 1571f8a31ee4Smrg 1572f8a31ee4Smrg Try to apply the same coding style to enum _policy and enum _relation. 1573f8a31ee4Smrg 1574f8a31ee4Smrg This patch also workarounds bug #12958 . 1575f8a31ee4Smrg 1576f8a31ee4Smrg Signed-off-by: Yann Droneaud <ydroneaud@mandriva.com> 1577f8a31ee4Smrg Acked-by: Matthias Hopf <mhopf@suse.de> 1578f8a31ee4Smrg 1579f8a31ee4Smrgcommit b481bd0df87c6b474d8c443b6590bbafac482485 1580f8a31ee4SmrgAuthor: Mikhail Gusarov <dottedmag@dottedmag.net> 1581f8a31ee4SmrgDate: Sun Oct 25 03:41:05 2009 +0600 1582f8a31ee4Smrg 1583f8a31ee4Smrg Add --brightness for CRTC 1584f8a31ee4Smrg 1585f8a31ee4Smrg --brightness n.m adjusts gamma set for CRTC in order to compensate 1586f8a31ee4Smrg for overly bright or overly dark unmanageable outputs. 1587f8a31ee4Smrg 1588f8a31ee4Smrg Signed-off-by: Matthias Hopf <mhopf@suse.de> 1589f8a31ee4Smrg 1590f8a31ee4Smrgcommit 7d463218c584b683c9946cbff44bc69115eaa11b 1591f8a31ee4SmrgAuthor: Matthias Hopf <mhopf@suse.de> 1592f8a31ee4SmrgDate: Sun Jan 3 00:40:19 2010 +0100 1593f8a31ee4Smrg 1594f8a31ee4Smrg xrandr: add more information about the transform option in the manpage 1595f8a31ee4Smrg 1596f8a31ee4Smrg Add information about the transformation, stating it's a homogeneous 1597f8a31ee4Smrg coordinate transformation and adding the (simplified) pixel calculation 1598f8a31ee4Smrg formula. Also and an example of keystone shaping generated using the algorithm 1599f8a31ee4Smrg found in xkeystone. 1600f8a31ee4Smrg 1601f8a31ee4Smrg Based on a patch by Eric Piel <eric.piel@tremplin-utc.net> 1602f8a31ee4Smrg 1603f8a31ee4Smrg Signed-off-by: Matthias Hopf <mhopf@suse.de> 1604f8a31ee4Smrg 1605f8a31ee4Smrgcommit 27f86db064a5ea60b942fd3d3ddeb462d980df9b 1606f8a31ee4SmrgAuthor: Dominik Jasiok <yahoo.com.pl@gmail.com> 1607f8a31ee4SmrgDate: Tue Dec 22 10:48:04 2009 -0800 1608f8a31ee4Smrg 1609f8a31ee4Smrg xrandr: check_strtod should return double, not int 1610f8a31ee4Smrg 1611f8a31ee4Smrg check_strtod performs error checking around strtod to ensure that 1612f8a31ee4Smrg arguments are correctly processed. However, it also accidentally(?) 1613f8a31ee4Smrg cast the result to int, which was then universally cast back to double 1614f8a31ee4Smrg by all callers. Narrowing and re-widening the type doesn't make any sense. 1615f8a31ee4Smrg 1616f8a31ee4Smrg Signed-off-by: Keith Packard <keithp@keithp.com> 1617f8a31ee4Smrg 1618f8a31ee4Smrgcommit df254d851cae1dcd1032e307bc828a5800e7342c 1619f8a31ee4SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1620f8a31ee4SmrgDate: Thu Nov 26 09:19:54 2009 -0500 1621f8a31ee4Smrg 1622f8a31ee4Smrg Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 1623f8a31ee4Smrg 1624f8a31ee4Smrg Now that the INSTALL file is generated. 1625f8a31ee4Smrg Allows running make maintainer-clean. 1626f8a31ee4Smrg 1627f8a31ee4Smrgcommit 22c90544537e661b71705c59e35616abb5aa4e55 1628f8a31ee4SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1629f8a31ee4SmrgDate: Wed Oct 28 14:09:08 2009 -0400 1630f8a31ee4Smrg 1631f8a31ee4Smrg INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 1632f8a31ee4Smrg 1633f8a31ee4Smrg Add missing INSTALL file. Use standard GNU file on building tarball 1634f8a31ee4Smrg README may have been updated 1635f8a31ee4Smrg Remove AUTHORS file as it is empty and no content available yet. 1636f8a31ee4Smrg Remove NEWS file as it is empty and no content available yet. 1637f8a31ee4Smrg 1638f8a31ee4Smrgcommit 35ffd6a8768e16d6fc7bc7c840e35a7802796b21 1639f8a31ee4SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1640f8a31ee4SmrgDate: Tue Oct 27 15:07:25 2009 -0400 1641f8a31ee4Smrg 1642f8a31ee4Smrg Deploy the new XORG_DEFAULT_OPTIONS #24242 1643f8a31ee4Smrg 1644f8a31ee4Smrg This macro aggregate a number of existing macros that sets commmon 1645f8a31ee4Smrg X.Org components configuration options. It shields the configuration file from 1646f8a31ee4Smrg future changes. 1647f8a31ee4Smrg 1648f8a31ee4Smrgcommit a397f434db4f30e22534b8fe684b8f67f493db40 1649f8a31ee4SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1650f8a31ee4SmrgDate: Mon Oct 26 22:08:39 2009 -0400 1651f8a31ee4Smrg 1652f8a31ee4Smrg Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 1653f8a31ee4Smrg 1654f8a31ee4Smrg ChangeLog filename is known to Automake and requires no further 1655f8a31ee4Smrg coding in the makefile. 1656f8a31ee4Smrg 1657f8a31ee4Smrgcommit 436a873b54990b77ac8024e20284de53c58c7850 1658f8a31ee4SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1659f8a31ee4SmrgDate: Thu Oct 22 12:34:16 2009 -0400 1660f8a31ee4Smrg 1661f8a31ee4Smrg .gitignore: use common defaults with custom section # 24239 1662f8a31ee4Smrg 1663f8a31ee4Smrg Using common defaults will reduce errors and maintenance. 1664f8a31ee4Smrg Only the very small or inexistent custom section need periodic maintenance 1665f8a31ee4Smrg when the structure of the component changes. Do not edit defaults. 1666f8a31ee4Smrg 1667f8a31ee4Smrgcommit b81a4976701606d1406ff56b91f13331e5f35860 1668f8a31ee4SmrgAuthor: Yann Droneaud <ydroneaud@mandriva.com> 1669f8a31ee4SmrgDate: Tue Nov 17 10:34:41 2009 +0100 1670f8a31ee4Smrg 1671f8a31ee4Smrg xrandr: Remove test against RANDR_MAJOR/RANDR_MINOR 1672f8a31ee4Smrg 1673f8a31ee4Smrg xrandr.c uses structures defined in <X11/extensions/Xrandr.h> 1674f8a31ee4Smrg provided by 'libXrandr' package but tests structures availability 1675f8a31ee4Smrg through RANDR_MAJOR/RANDR_MINOR defined in <X11/extensions/randr.h> 1676f8a31ee4Smrg provided by 'randrproto' package. 1677f8a31ee4Smrg 1678f8a31ee4Smrg Sometimes they are not in sync so it's safer to rely on checks made 1679f8a31ee4Smrg by configure script through pkg-config. 1680f8a31ee4Smrg 1681f8a31ee4Smrg In my test case, XRRPanning structure is not defined in Xrandr.h, 1682f8a31ee4Smrg RANDR_MAJOR is 1 and RANDR_MINOR 2 but xrandr.c try to use it anyway. 1683f8a31ee4Smrg (for the record, XRRPanning was added in libXrandr-1.2.91). 1684f8a31ee4Smrg 1685f8a31ee4Smrg Signed-off-by: Yann Droneaud <ydroneaud@mandriva.com> 1686f8a31ee4Smrg Reviewed-by: Rémi Cardona <remi@gentoo.org> 1687f8a31ee4Smrg 1688f8a31ee4Smrgcommit b84560759141ed52b8779c184184f888e9be8b2f 168909113985SmrgAuthor: Éric Piel <eric.piel@tremplin-utc.net> 1690f8a31ee4SmrgDate: Mon Oct 26 14:11:02 2009 +0100 1691f8a31ee4Smrg 1692f8a31ee4Smrg xrandr: do not segfault when "--scale" or "--transform" have no output 1693f8a31ee4Smrg 1694f8a31ee4Smrg "xrandr --scale 2x2" segfaults, because the --scale (and --transform) 1695f8a31ee4Smrg options do not check for an existing output. 1696f8a31ee4Smrg 1697f8a31ee4Smrg Make sure there is an output specified (like every other options). 1698f8a31ee4Smrg 1699f8a31ee4Smrg Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net> 1700f8a31ee4Smrg Signed-off-by: Matthias Hopf <mhopf@suse.de> 1701f8a31ee4Smrg 1702f8a31ee4Smrgcommit 34829957441a10f6b6e31141aa1018f7a72aeaf9 170309113985SmrgAuthor: Éric Piel <eric.piel@tremplin-utc.net> 1704f8a31ee4SmrgDate: Mon Oct 26 13:57:10 2009 +0100 1705f8a31ee4Smrg 1706f8a31ee4Smrg xrandr: make --query really the default option 1707f8a31ee4Smrg 1708f8a31ee4Smrg The manpage states that "--query" is the default action when nothing 1709f8a31ee4Smrg specific is requested. However, some options such as "-display" or 1710f8a31ee4Smrg "--screen" lead to do nothing by default. This makes sure that unless 1711f8a31ee4Smrg something specific is requested, query is done. 1712f8a31ee4Smrg 1713f8a31ee4Smrg This also restores the behaviour of --q1 to the same one as the old 1714f8a31ee4Smrg xrandr: also display the info on rotation and reflection by default. 1715f8a31ee4Smrg 1716f8a31ee4Smrg Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net> 1717f8a31ee4Smrg Signed-off-by: Matthias Hopf <mhopf@suse.de> 1718f8a31ee4Smrg 1719f8a31ee4Smrgcommit 07bf47f32b1f4c256e32b5b47ab52ef55605370a 1720f8a31ee4SmrgAuthor: Jeremy Huddleston <jeremyhu@freedesktop.org> 1721f8a31ee4SmrgDate: Wed Oct 21 12:47:21 2009 -0700 1722f8a31ee4Smrg 1723f8a31ee4Smrg This is not a GNU project, so declare it foreign. 1724f8a31ee4Smrg 1725f8a31ee4Smrg On Wed, 2009-10-21 at 13:36 +1000, Peter Hutterer wrote: 1726f8a31ee4Smrg > On Tue, Oct 20, 2009 at 08:23:55PM -0700, Jeremy Huddleston wrote: 1727f8a31ee4Smrg > > I noticed an INSTALL file in xlsclients and libXvMC today, and it 1728f8a31ee4Smrg > > was quite annoying to work around since 'autoreconf -fvi' replaces 1729f8a31ee4Smrg > > it and git wants to commit it. Should these files even be in git? 1730f8a31ee4Smrg > > Can I nuke them for the betterment of humanity and since they get 1731f8a31ee4Smrg > > created by autoreconf anyways? 1732f8a31ee4Smrg > 1733f8a31ee4Smrg > See https://bugs.freedesktop.org/show_bug.cgi?id=24206 1734f8a31ee4Smrg 1735f8a31ee4Smrg As an interim measure, replace AM_INIT_AUTOMAKE([dist-bzip2]) with 1736f8a31ee4Smrg AM_INIT_AUTOMAKE([foreign dist-bzip2]). This will prevent the generation 1737f8a31ee4Smrg of the INSTALL file. It is also part of the 24206 solution. 1738f8a31ee4Smrg 1739f8a31ee4Smrg Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org> 1740f8a31ee4Smrg 1741f8a31ee4Smrgcommit 8d2702cae3b6a78cfd8d480dfb8209091917af2a 1742f8a31ee4SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 1743f8a31ee4SmrgDate: Thu Oct 1 14:54:29 2009 -0700 1744f8a31ee4Smrg 1745f8a31ee4Smrg Add README with pointers to mailing lists, bugzilla, & git 1746f8a31ee4Smrg 1747f8a31ee4Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 1748f8a31ee4Smrg 17499adf33a3Smrgcommit 5da0cb3533aa829588b2e6d715d511691fa1e45f 17509adf33a3SmrgAuthor: Matthias Hopf <mhopf@suse.de> 17519adf33a3SmrgDate: Thu Sep 10 13:18:35 2009 +0200 17529adf33a3Smrg 17539adf33a3Smrg Bump to 1.3.2 17549adf33a3Smrg 17559adf33a3Smrgcommit e5861530a6c3bb6219217e5f3ddc71f13b9509c4 17569adf33a3SmrgAuthor: Matthias Hopf <mhopf@suse.de> 17579adf33a3SmrgDate: Thu Sep 10 13:17:56 2009 +0200 17589adf33a3Smrg 17599adf33a3Smrg Add missing 'static's to get rid of warnings. 17609adf33a3Smrg 17619adf33a3Smrgcommit ab875be43651befa654a24719f1ea365dde09073 17629adf33a3SmrgAuthor: Bart Massey <bart@cs.pdx.edu> 17639adf33a3SmrgDate: Thu Feb 7 14:03:24 2008 -0800 17649adf33a3Smrg 17659adf33a3Smrg changed a bunch of string to number conversions for reliability 17669adf33a3Smrg 17679adf33a3Smrgcommit 25325aae2e80cb33af17682a6cd1bcd292a5f445 17689adf33a3SmrgAuthor: Bart Massey <bart@cs.pdx.edu> 17699adf33a3SmrgDate: Fri Sep 4 15:36:51 2009 +0200 17709adf33a3Smrg 17719adf33a3Smrg Warn if one of the outputs given did not exist 17729adf33a3Smrg 177362770414Smrgcommit 713a8ea5646f7c893b52afeb3c2443b21b837e46 177462770414SmrgAuthor: Matthias Hopf <mhopf@suse.de> 177562770414SmrgDate: Tue Aug 11 16:11:39 2009 +0200 177662770414Smrg 177762770414Smrg Bump to 1.3.1 177862770414Smrg 177962770414Smrg Also finally bump xrandr requirement to 1.3 178062770414Smrg 178162770414Smrgcommit b9166441bdb08ef76b9c6712da5902b0dcbf03f3 178262770414SmrgAuthor: Federico Mena Quintero <federico@novell.com> 178362770414SmrgDate: Mon Jul 20 16:44:52 2009 -0500 178462770414Smrg 178562770414Smrg bfo#22864 - grab the server around all modifications to CRTCs 178662770414Smrg 178762770414Smrg We were not grabbed while disabling the CRTCs that should be off, so other clients could think 178862770414Smrg that there was an intermediate stage with no enabled outputs. 178962770414Smrg 179062770414Smrg Signed-off-by: Federico Mena Quintero <federico@novell.com> 179162770414Smrg 179262770414Smrgcommit 68d5134142e3c616f3996c7ea8d08c887ce56118 179309113985SmrgAuthor: Éric Piel <E.A.B.Piel@tudelft.nl> 179462770414SmrgDate: Tue Jul 14 21:36:32 2009 +0200 179562770414Smrg 179662770414Smrg xrandr: Document --nograb option 179762770414Smrg 179862770414Smrg Op 08-07-09 15:19, Matthias Hopf schreef: 179962770414Smrg > On Jul 07, 09 22:02:51 +0200, Éric Piel wrote: 180062770414Smrg >> Op 21-05-09 13:23, Éric Piel schreef: 180162770414Smrg >>> This documents the --nograb option with whichever I could understand of 180262770414Smrg >>> the advantages and drawbacks of grabbing the screen. 180362770414Smrg >>> 180462770414Smrg >>> Also fixes the formatting in the xrandr 1.3 options. 180562770414Smrg >> Please review and apply. 180662770414Smrg > 180762770414Smrg > Please resend as attachment. 180862770414Smrg > 180962770414Smrg Please find attached the git patch. 181062770414Smrg 181162770414Smrg Thanks, 181262770414Smrg Eric 181362770414Smrg 181462770414Smrg >From 34e7c1036ba0e0d7827563deaffea9371031fa0b Mon Sep 17 00:00:00 2001 181562770414Smrg From: Eric Piel <eric.piel@tremplin-utc.net> 181662770414Smrg Date: Thu, 21 May 2009 13:01:52 +0200 181762770414Smrg Subject: [PATCH] xrandr: Document --nograb option 181862770414Smrg 181962770414Smrg This documents the --nograb option with whichever I could understand of 182062770414Smrg the advantages and drawback of grabbing the screen. 182162770414Smrg 182262770414Smrg Also fixes the formatting in the xrandr 1.3 options 182362770414Smrg 182462770414Smrgcommit 73e38a31e5b7c68f8f3227a47d98ec55097999c7 182562770414SmrgAuthor: Matthias Hopf <mhopf@suse.de> 182662770414SmrgDate: Mon Jul 6 18:30:05 2009 +0200 182762770414Smrg 182862770414Smrg Fix missing prototype warning. 182962770414Smrg 183062770414Smrgcommit 3408ca77af6a45b15b89bdd1ce9d5aac9646f6b8 183162770414SmrgAuthor: Matthias Hopf <mhopf@suse.de> 183262770414SmrgDate: Mon Jul 6 18:28:23 2009 +0200 183362770414Smrg 183462770414Smrg Report program version as well with --version. 183562770414Smrg 183662770414Smrg This has bitten us too often already (the infamous uncloning bug). 183762770414Smrg 183862770414Smrgcommit 47502f66f7c51ad575d63f28de49f285c4de7062 183962770414SmrgAuthor: Adam Jackson <ajax@redhat.com> 184062770414SmrgDate: Wed Apr 1 11:03:10 2009 -0400 184162770414Smrg 184262770414Smrg xrandr 1.3.0 184362770414Smrg 184462df5ad0Smrgcommit beb228842c77fab4a446e028dd501a01f0fb3fd3 184562df5ad0SmrgAuthor: Adam Jackson <ajax@redhat.com> 184662df5ad0SmrgDate: Tue Feb 17 13:45:32 2009 -0500 184762df5ad0Smrg 184862df5ad0Smrg Allow zero replies from GetPanning to mean panning is unavailable. 184962df5ad0Smrg 185062df5ad0Smrgcommit 9418f5523bd923b122f6e67c33c40e0e9c29ab50 185162df5ad0SmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 185262df5ad0SmrgDate: Wed Mar 4 15:49:10 2009 -0800 185362df5ad0Smrg 185462df5ad0Smrg Set the screen config on the correct screen. 185562df5ad0Smrg 185662df5ad0Smrg Otherwise, "DISPLAY=:0.0 xrandr --screen 1 -s 1" fails. 185762df5ad0Smrg 185862df5ad0Smrgcommit 39a16783a3d1c0c722b4b18fab60a91b9f6ed578 185962df5ad0SmrgAuthor: Matthias Hopf <mhopf@suse.de> 186062df5ad0SmrgDate: Fri Mar 6 14:49:43 2009 +0100 186162df5ad0Smrg 186262df5ad0Smrg Revert "Move outputs among crtcs as necessary. Fixes 14570" 186362df5ad0Smrg 186462df5ad0Smrg This reverts commit 4dcc8ae1a6903434def1a2706f7c68ff9e2a17c4. 186562df5ad0Smrg The commit broke uncloning completely again. 186662df5ad0Smrg 186762df5ad0Smrg Conflicts: 186862df5ad0Smrg 186909113985Smrg xrandr.c 187062df5ad0Smrg 187162df5ad0Smrgcommit 880f045202d1e70368b855c3783604e19be946b8 187262df5ad0SmrgAuthor: Julien Cristau <jcristau@debian.org> 187362df5ad0SmrgDate: Sun Feb 1 14:39:30 2009 +0100 187462df5ad0Smrg 187562df5ad0Smrg Bump to 1.2.99.4 187662df5ad0Smrg 187762df5ad0Smrgcommit 010dfc4bdd309256aecd006bb2b5b6937c2a119c 187862df5ad0SmrgAuthor: Julien Cristau <jcristau@debian.org> 187962df5ad0SmrgDate: Sun Feb 1 14:34:15 2009 +0100 188062df5ad0Smrg 188162df5ad0Smrg Document the --primary and --noprimary options 188262df5ad0Smrg 188362df5ad0Smrgcommit 48014498d275a9aab986b4bf295538a5b38ddfeb 188462df5ad0SmrgAuthor: Julien Cristau <jcristau@debian.org> 188562df5ad0SmrgDate: Sun Feb 1 14:12:21 2009 +0100 188662df5ad0Smrg 188762df5ad0Smrg Document the --current option 188862df5ad0Smrg 188962df5ad0Smrgcommit 909defc8a2b009ab845d875ba10e1ca01fb9d648 189062df5ad0SmrgAuthor: Keith Packard <keithp@keithp.com> 189162df5ad0SmrgDate: Fri Jan 30 20:37:34 2009 -0800 189262df5ad0Smrg 189362df5ad0Smrg Add --noprimary option 189462df5ad0Smrg 189562df5ad0Smrgcommit 6c70e0ee693ea293e8674d049249b462f3d36855 189662df5ad0SmrgAuthor: Keith Packard <keithp@keithp.com> 189762df5ad0SmrgDate: Fri Jan 30 20:11:10 2009 -0800 189862df5ad0Smrg 189962df5ad0Smrg Add --primary option 190062df5ad0Smrg 190162df5ad0Smrg Signed-off-by: Keith Packard <keithp@keithp.com> 190262df5ad0Smrg 190362df5ad0Smrgcommit 77891e7900765a320ad3d43b56bbb1f3081b6582 190462df5ad0SmrgAuthor: Keith Packard <keithp@keithp.com> 190562df5ad0SmrgDate: Fri Jan 30 20:11:02 2009 -0800 190662df5ad0Smrg 190762df5ad0Smrg Add --nograb option 190862df5ad0Smrg 190962df5ad0Smrg Signed-off-by: Keith Packard <keithp@keithp.com> 191062df5ad0Smrg 191162df5ad0Smrgcommit 6f3e2bb207cff069791811ef2bbe7798759ed810 191262df5ad0SmrgAuthor: Keith Packard <keithp@keithp.com> 191362df5ad0SmrgDate: Tue Dec 9 21:26:50 2008 -0800 191462df5ad0Smrg 191562df5ad0Smrg Add --current option to use new XRRGetScreenResourcesCurrent API 191662df5ad0Smrg 191762df5ad0Smrg Signed-off-by: Keith Packard <keithp@keithp.com> 191862df5ad0Smrg 191962df5ad0Smrgcommit d98d1f4055d8fbae1dc8d8c54467bfef21010694 192062df5ad0SmrgAuthor: Matthias Hopf <mhopf@suse.de> 192162df5ad0SmrgDate: Fri Jan 30 17:46:05 2009 +0100 192262df5ad0Smrg 192362df5ad0Smrg Several fatal() were missing \n. 192462df5ad0Smrg 192562df5ad0Smrgcommit 9ea6e4210d49c13991a7d07e54f6f59e3dc8ce72 192609113985SmrgAuthor: Éric Piel <E.A.B.Piel@tudelft.nl> 192762df5ad0SmrgDate: Mon Jan 19 16:18:46 2009 +0100 192862df5ad0Smrg 192962df5ad0Smrg Add docs for --transform and --scale. 193062df5ad0Smrg 193162df5ad0Smrg The new --transform and --scale options were added, but not yet 193262df5ad0Smrg documented. This includes also an example of usage of panning and 193362df5ad0Smrg scaling at the same time. 193462df5ad0Smrg 193562df5ad0Smrgcommit 4d381d6a88fe147f8b6eabd765a2f42c6402d8c6 193662df5ad0SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 193762df5ad0SmrgDate: Mon Jan 26 16:40:59 2009 -0200 193862df5ad0Smrg 193962df5ad0Smrg Correct make distcheck and gcc/sparse warnings. 194062df5ad0Smrg 194162df5ad0Smrgcommit 7509ecb290689e0b1d5e1000c9fbd312f1efb4ca 194262df5ad0SmrgAuthor: Maarten Maathuis <madman2003@gmail.com> 194362df5ad0SmrgDate: Mon Jan 5 19:47:21 2009 +0100 194462df5ad0Smrg 194562df5ad0Smrg Stay away from doublescan modes unless a refresh rate is specified. 194662df5ad0Smrg 194762df5ad0Smrgcommit f77ad847c0d3f8f0c6e8ffbf0bec39e5e9c5ded0 194862df5ad0SmrgAuthor: Maarten Maathuis <madman2003@gmail.com> 194962df5ad0SmrgDate: Mon Dec 22 19:46:24 2008 +0100 195062df5ad0Smrg 195162df5ad0Smrg Fix gamma computation. 195262df5ad0Smrg 195362df5ad0Smrg - The previous version sometimes overflowed. 195462df5ad0Smrg 195562df5ad0Smrgcommit 5ddde7151841a8db99a2f38689a176114b2a45e5 195662df5ad0SmrgAuthor: Matthias Hopf <mhopf@suse.de> 195762df5ad0SmrgDate: Thu Dec 18 16:09:39 2008 +0100 195862df5ad0Smrg 195962df5ad0Smrg Print multiple Atom and INT32 properties. 196062df5ad0Smrg 196162df5ad0Smrg Improve output formating of strings. 196262df5ad0Smrg 196362df5ad0Smrgcommit 96af64f0de71f4149740b486baaefca744bb1bc1 196462df5ad0SmrgAuthor: Maarten Maathuis <madman2003@gmail.com> 196562df5ad0SmrgDate: Wed Dec 17 17:18:14 2008 +0100 196662df5ad0Smrg 196762df5ad0Smrg randr-1.2: support gamma changes. 196862df5ad0Smrg 196962df5ad0Smrgcommit 9b7a2a3d4ac7891bd5372a581e6a55a1c81497ef 197062df5ad0SmrgAuthor: Matthias Hopf <mhopf@suse.de> 197162df5ad0SmrgDate: Mon Dec 15 20:39:43 2008 +0100 197262df5ad0Smrg 197362df5ad0Smrg Bump to 1.2.99.3 197462df5ad0Smrg 197562df5ad0Smrgcommit e80add8a407a9327bda209ff11a97dc3336e0cab 197662df5ad0SmrgAuthor: Matthias Hopf <mhopf@suse.de> 197762df5ad0SmrgDate: Mon Dec 15 21:00:55 2008 +0100 197862df5ad0Smrg 197962df5ad0Smrg Add keystone.5c to EXTRA_DIST 198062df5ad0Smrg 198162df5ad0Smrgcommit c98591b0bf4753c4c075eccde6023ef644f8bf96 198262df5ad0SmrgAuthor: Matthias Hopf <mhopf@suse.de> 198362df5ad0SmrgDate: Mon Dec 15 20:36:40 2008 +0100 198462df5ad0Smrg 198562df5ad0Smrg Don't trash panning area, except if --panning or --fb is given. 198662df5ad0Smrg 198762df5ad0Smrg Almost anything used to reduce the screen size to the current mode size, which 198862df5ad0Smrg is counter-productive when panning is active. 198962df5ad0Smrg 199062df5ad0Smrgcommit 8cb63b6df9e46e8b06a57cb54ad460355b604399 199162df5ad0SmrgAuthor: Matthias Hopf <mhopf@suse.de> 199262df5ad0SmrgDate: Thu Dec 11 17:09:47 2008 +0100 199362df5ad0Smrg 199462df5ad0Smrg Panning tracking areas describe full screen if set to 0. Use it as default. 199562df5ad0Smrg 199662df5ad0Smrg Also improve reduced output on default tracking and borders. 199762df5ad0Smrg 199862df5ad0Smrgcommit b5efbb31ec7c27895507add4497dbfc87f930bb3 199962df5ad0SmrgAuthor: Adam Jackson <ajax@redhat.com> 200062df5ad0SmrgDate: Mon Dec 8 16:37:59 2008 -0500 200162df5ad0Smrg 200262df5ad0Smrg Accept --props synonym for --prop 200362df5ad0Smrg 200462df5ad0Smrgcommit 57cabac91099a8abd5afad75de64e54930c078ec 200562df5ad0SmrgAuthor: Matthias Hopf <mhopf@suse.de> 200662df5ad0SmrgDate: Mon Dec 8 12:24:37 2008 +0100 200762df5ad0Smrg 200862df5ad0Smrg Only set transforms if actually changed. 200962df5ad0Smrg 201062df5ad0Smrg Re-enables other crtc settings if transforms are not supported. 201162df5ad0Smrg 201262df5ad0Smrgcommit 970f689651fc86fa7a2ba24f0fab5f86f01af349 201362df5ad0SmrgAuthor: Matthias Hopf <mhopf@suse.de> 201462df5ad0SmrgDate: Thu Dec 4 17:47:05 2008 +0100 201562df5ad0Smrg 201662df5ad0Smrg Add manpage entry. 201762df5ad0Smrg 201862df5ad0Smrgcommit d030ae78e8516b916e9ea1ea81e3b4859bf35875 201962df5ad0SmrgAuthor: Matthias Hopf <mhopf@suse.de> 202062df5ad0SmrgDate: Thu Dec 4 15:57:22 2008 +0100 202162df5ad0Smrg 202262df5ad0Smrg Bump to 1.2.99.2, RandR requirements to 1.2.99.2 202362df5ad0Smrg 202462df5ad0Smrgcommit f6b5862f87ba7e1729c46136ef7754a06301853f 202562df5ad0SmrgAuthor: Matthias Hopf <mhopf@suse.de> 202662df5ad0SmrgDate: Fri Nov 28 17:16:11 2008 +0100 202762df5ad0Smrg 202862df5ad0Smrg Add panning support. 202962df5ad0Smrg 203062df5ad0Smrgcommit 1dc67ca918446cb7db4819f60f36e7bc6f4c047b 203162df5ad0SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 203262df5ad0SmrgDate: Sat Dec 6 11:40:53 2008 +0100 203362df5ad0Smrg 203462df5ad0Smrg Don't use GNU make only constructs. 203562df5ad0Smrg 203662df5ad0Smrgcommit 7963d4217c12d2e4b0c38ad4ff185462784609f7 203762df5ad0SmrgAuthor: Julien Cristau <jcristau@debian.org> 203862df5ad0SmrgDate: Mon Dec 1 23:27:51 2008 +0100 203962df5ad0Smrg 204062df5ad0Smrg Require libXrandr 1.2.91 204162df5ad0Smrg 204262df5ad0Smrgcommit ba78e14c8c43a141fc5227e7bb75d6cfd0f70dba 204362df5ad0SmrgAuthor: Julien Cristau <jcristau@debian.org> 204462df5ad0SmrgDate: Mon Dec 1 21:45:47 2008 +0100 204562df5ad0Smrg 204662df5ad0Smrg Fix build outside of the source dir 204762df5ad0Smrg 204862df5ad0Smrgcommit 63ba316bcbe8ad61ba63d9fe62c82e7d56dcc399 204909113985SmrgMerge: a813c4d 1b95e32 205062df5ad0SmrgAuthor: Julien Cristau <jcristau@debian.org> 205162df5ad0SmrgDate: Mon Dec 1 21:33:35 2008 +0100 205262df5ad0Smrg 205362df5ad0Smrg Merge branch 'transform-proposal' of git.freedesktop.org:/git/xorg/app/xrandr 205462df5ad0Smrg 205562df5ad0Smrgcommit 1b95e32b4b0a4a114e0fbebe8a18316d2f9010cf 205662df5ad0SmrgAuthor: Keith Packard <keithp@keithp.com> 205762df5ad0SmrgDate: Fri Nov 14 14:14:24 2008 -0800 205862df5ad0Smrg 205962df5ad0Smrg Add --scale and --transform to --help output 206062df5ad0Smrg 206162df5ad0Smrgcommit e9a5d1c598cd0440f062240430a9b86b4d514ada 206262df5ad0SmrgAuthor: Keith Packard <keithp@keithp.com> 206362df5ad0SmrgDate: Fri Nov 14 14:13:51 2008 -0800 206462df5ad0Smrg 206562df5ad0Smrg Check return value from XRRGetCrtcTransform 206662df5ad0Smrg 206762df5ad0Smrg XRRGetCrtcTransform will return 0 if the X server does not support this 206862df5ad0Smrg request. 206962df5ad0Smrg 207062df5ad0Smrgcommit a813c4da7f0b166ee9001fa97c5d8d64e5b5b560 207162df5ad0SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 207262df5ad0SmrgDate: Tue Aug 19 09:39:00 2008 -0700 207362df5ad0Smrg 207462df5ad0Smrg Man page typo fix 207562df5ad0Smrg 207662df5ad0Smrgcommit 8ef4595aef15b7326822849a50c273f2a2b4ba30 207762df5ad0SmrgAuthor: Julien Cristau <jcristau@debian.org> 207862df5ad0SmrgDate: Fri Aug 15 21:23:13 2008 +0200 207962df5ad0Smrg 208062df5ad0Smrg Manpage typo fixes 208162df5ad0Smrg 208262df5ad0Smrgcommit 977275a13be0687efc3db1fd3763174ff1256210 208362df5ad0SmrgAuthor: Eric Piel <E.A.B.Piel@tudelft.nl> 208462df5ad0SmrgDate: Sun Aug 10 23:28:25 2008 +0200 208562df5ad0Smrg 208662df5ad0Smrg update the manpage 208762df5ad0Smrg 208862df5ad0Smrg Describe all the options supported, including: --dryrun, -display, 208962df5ad0Smrg --q1, --q12, and --rate for 1.1 209062df5ad0Smrg Describe all short and long version of the option. 209162df5ad0Smrg Use the usual man style for the option arugments. 209262df5ad0Smrg Move the four --*mode options out of the output section as they are 209362df5ad0Smrg independant of an output. 209462df5ad0Smrg Mention cvt for computing modelines. 209562df5ad0Smrg Gives some examples. 209662df5ad0Smrg 209762df5ad0Smrgcommit 3046799a06ecb79211ef0f4a2db9de4eec7233fb 209862df5ad0SmrgAuthor: Egbert Eich <eich@freedesktop.org> 209962df5ad0SmrgDate: Sun Aug 3 13:24:49 2008 +0200 210062df5ad0Smrg 210162df5ad0Smrg Fix for 64bit: feed a pointer to the right size variable to scanf(). 210262df5ad0Smrg 210362df5ad0Smrg XID is unsigned long, however %x in scanf takes a pointer to an unsigned int. 210462df5ad0Smrg Thus with XID xid, a sscanf(..., "0x%x", &xid) will most likely produce the 210562df5ad0Smrg wrong results. 210662df5ad0Smrg 210762df5ad0Smrgcommit 0d2082e9eb25cb7410309eed908b7f95abb8da79 210862df5ad0SmrgAuthor: Keith Packard <keithp@keithp.com> 210962df5ad0SmrgDate: Tue Apr 1 23:46:02 2008 -0700 211062df5ad0Smrg 211162df5ad0Smrg Exit when select output is not available 211262df5ad0Smrg 211362df5ad0Smrgcommit 18a189993b3df8bc54a79e0d62240ef203d6f34f 211462df5ad0SmrgAuthor: Keith Packard <keithp@keithp.com> 211562df5ad0SmrgDate: Tue Apr 1 23:44:50 2008 -0700 211662df5ad0Smrg 211762df5ad0Smrg Fix up xkeystone to use current screen/output settings 211862df5ad0Smrg 211962df5ad0Smrgcommit 9e8860f9231926090462ea20132cc9e1d64e5fe4 212062df5ad0SmrgAuthor: Keith Packard <keithp@keithp.com> 212162df5ad0SmrgDate: Sun Mar 30 19:03:53 2008 -0700 212262df5ad0Smrg 212362df5ad0Smrg Execute xrandr to set keystone correction 212462df5ad0Smrg 212562df5ad0Smrgcommit 206bfbea4ebe854fdfa66e8a6fbd9296b6004c0e 212662df5ad0SmrgAuthor: Keith Packard <keithp@keithp.com> 212762df5ad0SmrgDate: Sun Mar 30 19:03:29 2008 -0700 212862df5ad0Smrg 212962df5ad0Smrg add --transform none to reset to identity 213062df5ad0Smrg 213162df5ad0Smrgcommit 443e1f80c885133ae6df590f1a7663833c76b7f3 213262df5ad0SmrgAuthor: Keith Packard <keithp@keithp.com> 213362df5ad0SmrgDate: Fri Mar 21 23:29:41 2008 -0700 213462df5ad0Smrg 213562df5ad0Smrg Build and install xkeystone program from keystone.5c 213662df5ad0Smrg 213762df5ad0Smrgcommit a7a7eea510b5a87c1e12516fadae4d13bd26e0a0 213862df5ad0SmrgAuthor: Keith Packard <keithp@keithp.com> 213962df5ad0SmrgDate: Fri Mar 21 23:26:30 2008 -0700 214062df5ad0Smrg 214162df5ad0Smrg Track toolkit name change (chrome->nichrome) 214262df5ad0Smrg 214362df5ad0Smrgcommit 74dae9d4b06369a1863e7a68b7b3772751e06ff1 214462df5ad0SmrgAuthor: Keith Packard <keithp@keithp.com> 214562df5ad0SmrgDate: Fri Mar 21 03:17:44 2008 -0700 214662df5ad0Smrg 214762df5ad0Smrg Add keystone.5c program to help compute transforms. 214862df5ad0Smrg 214962df5ad0Smrgcommit 46bd35dd9004c0f9f47dc44b77a8c28e3ab7ced1 215062df5ad0SmrgAuthor: Keith Packard <keithp@keithp.com> 215162df5ad0SmrgDate: Fri Mar 21 03:17:40 2008 -0700 215262df5ad0Smrg 215362df5ad0Smrg Make screen undersize a warning instead of an error 215462df5ad0Smrg 215562df5ad0Smrgcommit b816bf38b418618c2f1cb5ded09aa3b346f8eb15 215662df5ad0SmrgAuthor: Keith Packard <keithp@keithp.com> 215762df5ad0SmrgDate: Tue Mar 18 16:04:34 2008 -0700 215862df5ad0Smrg 215962df5ad0Smrg Add --transform to pass arbitrary transforms to the server 216062df5ad0Smrg 216162df5ad0Smrgcommit 3809884530223e32f7026ec987257cb91e2122a9 216262df5ad0SmrgAuthor: Keith Packard <keithp@keithp.com> 216362df5ad0SmrgDate: Tue Mar 18 16:04:22 2008 -0700 216462df5ad0Smrg 216562df5ad0Smrg Eliminate inverse matrix from randr transform protocol 216662df5ad0Smrg 216762df5ad0Smrg It is easier, and potentially more precise, to compute the inverse in the 216862df5ad0Smrg server where everything can eventually be kept in floating point form. 216962df5ad0Smrg 217062df5ad0Smrgcommit 854a7c2916455fec5ec1ba87576e26706d151381 217162df5ad0SmrgAuthor: Keith Packard <keithp@keithp.com> 217262df5ad0SmrgDate: Mon Mar 17 13:59:40 2008 -0700 217362df5ad0Smrg 217462df5ad0Smrg Transform mode bounds when computing sizes. 217562df5ad0Smrg 217662df5ad0Smrg Ensure screen sizes are compared with projected mode image, including 217762df5ad0Smrg rotation and transformation. 217862df5ad0Smrg 217962df5ad0Smrgcommit bed3da4feaa505a5b50a4c94b0e6661bdac1fcbd 218062df5ad0SmrgAuthor: Keith Packard <keithp@keithp.com> 218162df5ad0SmrgDate: Sat Mar 15 00:35:08 2008 -0700 218262df5ad0Smrg 218362df5ad0Smrg Manage transform filters. Use bilinear for non-identity scale. 218462df5ad0Smrg 218562df5ad0Smrg This involved creating a compound transform datatype to hold all of the 218662df5ad0Smrg relevant transform and filter information. Adding arbitrary transforms 218762df5ad0Smrg should be fairly easy at this point. 218862df5ad0Smrg 218962df5ad0Smrgcommit ba35bb5d306f4edf9a47b92f249132a0814f5db1 219062df5ad0SmrgAuthor: Keith Packard <keithp@keithp.com> 219162df5ad0SmrgDate: Mon Mar 10 21:19:41 2008 -0700 219262df5ad0Smrg 219362df5ad0Smrg Add output scaling using the 1.3 transform requests 219462df5ad0Smrg 219562df5ad0Smrgcommit 4dcc8ae1a6903434def1a2706f7c68ff9e2a17c4 219662df5ad0SmrgAuthor: Hong Liu <hong.liu@intel.com> 219762df5ad0SmrgDate: Mon Mar 10 21:37:09 2008 -0700 219862df5ad0Smrg 219962df5ad0Smrg Move outputs among crtcs as necessary. Fixes 14570 220062df5ad0Smrg 220162df5ad0Smrg This patch makes new requests override existing crtc allocations. Outputs 220262df5ad0Smrg with restricted crtc usage can now force existing outputs to switch 220362df5ad0Smrg automatcially. 220462df5ad0Smrg 220562df5ad0Smrgcommit 7465357396e2f32325791e27f28cbbe9753db3ab 220662df5ad0SmrgAuthor: Adam Jackson <ajax@redhat.com> 220762df5ad0SmrgDate: Fri Mar 7 16:38:28 2008 -0500 220862df5ad0Smrg 220962df5ad0Smrg xrandr 1.2.3 221062df5ad0Smrg 2211a0d3b6eaSmrgcommit 4450756d2d1d86f3c0bfaef81f6265f795468f32 2212a0d3b6eaSmrgAuthor: Brice Goglin <bgoglin@debian.org> 2213a0d3b6eaSmrgDate: Sat Dec 15 00:59:00 2007 +0100 2214a0d3b6eaSmrg 2215a0d3b6eaSmrg Clarify the ability to manipulate multiple outputs in the manpage 2216a0d3b6eaSmrg 2217a0d3b6eaSmrgcommit 5c2a003adab4aaa979a095e18793b01cfa694bf4 2218a0d3b6eaSmrgAuthor: Brice Goglin <bgoglin@debian.org> 2219a0d3b6eaSmrgDate: Sat Dec 15 00:49:35 2007 +0100 2220a0d3b6eaSmrg 2221a0d3b6eaSmrg Allow the same output to be specified several times on the command line 2222a0d3b6eaSmrg 2223a0d3b6eaSmrg Without this 2224a0d3b6eaSmrg xrandr --output FOO --mode 1024x768 --output FOO --rotate left 2225a0d3b6eaSmrg only changed the mode but did not apply the rotation. 2226a0d3b6eaSmrg 2227a0d3b6eaSmrg Reported by Marc Haber in 2228a0d3b6eaSmrg http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455225 2229a0d3b6eaSmrg 2230a0d3b6eaSmrgcommit ab5e07fdd10f6340289b786414804a034ca98f0b 2231a0d3b6eaSmrgAuthor: Matthias Hopf <mhopf@suse.de> 2232a0d3b6eaSmrgDate: Fri Nov 30 16:13:51 2007 +0100 2233a0d3b6eaSmrg 2234a0d3b6eaSmrg Add another test known to fail. 2235a0d3b6eaSmrg 2236a0d3b6eaSmrgcommit 4bc84c331f4f0f0658ad1f6c0107e3e6af2a7911 2237a0d3b6eaSmrgAuthor: Matthias Hopf <mhopf@suse.de> 2238a0d3b6eaSmrgDate: Thu Nov 29 19:54:34 2007 +0100 2239a0d3b6eaSmrg 2240a0d3b6eaSmrg Add informational output for known issues. 2241a0d3b6eaSmrg 2242a0d3b6eaSmrgcommit 3fb533ff896bd642200e7242c4d35a887faeca74 2243a0d3b6eaSmrgAuthor: Matthias Hopf <mhopf@suse.de> 2244a0d3b6eaSmrgDate: Thu Nov 29 19:54:03 2007 +0100 2245a0d3b6eaSmrg 2246a0d3b6eaSmrg Add more tests, mostly regarding crtc switching and uncloning. 2247a0d3b6eaSmrg 2248a0d3b6eaSmrgcommit 20c8a60950cb5b4ddef305dc9822bec1c33e938c 2249a0d3b6eaSmrgAuthor: Matthias Hopf <mhopf@suse.de> 2250a0d3b6eaSmrgDate: Wed Nov 21 16:48:23 2007 +0100 2251a0d3b6eaSmrg 2252a0d3b6eaSmrg Oops. Fix missing space introduced by last commit. 2253a0d3b6eaSmrg 2254a0d3b6eaSmrgcommit 3347c849462b737a873a279c24d17c873667c821 2255a0d3b6eaSmrgAuthor: Matthias Hopf <mhopf@suse.de> 2256a0d3b6eaSmrgDate: Wed Nov 21 16:47:08 2007 +0100 2257a0d3b6eaSmrg 2258a0d3b6eaSmrg Be more robust in test case if mode database is borked. 2259a0d3b6eaSmrg 2260a0d3b6eaSmrg If modes are reported multiple times per output only bother for the last. 2261a0d3b6eaSmrg 2262a0d3b6eaSmrgcommit 81e8f2f5673befded3320424f4511e322d41c80b 2263a0d3b6eaSmrgAuthor: Matthias Hopf <mhopf@suse.de> 2264a0d3b6eaSmrgDate: Wed Nov 21 16:41:33 2007 +0100 2265a0d3b6eaSmrg 2266a0d3b6eaSmrg Some minor issues in test case fixed. 2267a0d3b6eaSmrg 2268a0d3b6eaSmrg 'my' not being used correctly. 2269a0d3b6eaSmrg Some lines of xrandr --verbose output missing in failure case. 2270a0d3b6eaSmrg If order of outputs change in xrandr -q output they are sorted into original 2271a0d3b6eaSmrg order now. 2272a0d3b6eaSmrg 2273a0d3b6eaSmrgcommit 3a27185879e7a9288de960ccb26a48104cf592e3 2274a0d3b6eaSmrgAuthor: Matthias Hopf <mhopf@suse.de> 2275a0d3b6eaSmrgDate: Tue Nov 20 13:03:07 2007 +0100 2276a0d3b6eaSmrg 2277a0d3b6eaSmrg More tests for ambiguous xrandr output. 2278a0d3b6eaSmrg 2279a0d3b6eaSmrgcommit c9bd9721e162e4d9d83dd60400c75d4cc98090bd 2280a0d3b6eaSmrgAuthor: Matthias Hopf <mhopf@suse.de> 2281a0d3b6eaSmrgDate: Mon Nov 19 20:06:39 2007 +0100 2282a0d3b6eaSmrg 2283a0d3b6eaSmrg Use IDs for mode selection instead of hand-crafted <w>x<h>@<r> strings. 2284a0d3b6eaSmrg 2285a0d3b6eaSmrg Some machines provide e.g. multiple 1024x768@60 modes with /slightly/ 2286a0d3b6eaSmrg different timings. Often only one of them can be used on multiple outputs. 2287a0d3b6eaSmrg 2288a0d3b6eaSmrgcommit a05d2b6e3ffd81ecc0be98b8d2b758505fb55f3f 2289a0d3b6eaSmrgAuthor: Matthias Hopf <mhopf@suse.de> 2290a0d3b6eaSmrgDate: Mon Nov 19 12:24:04 2007 +0100 2291a0d3b6eaSmrg 2292a0d3b6eaSmrg Improved test script. 2293a0d3b6eaSmrg 2294a0d3b6eaSmrg Allow for outputs in "unknown" state. 2295a0d3b6eaSmrg Check xrandr return value. 2296a0d3b6eaSmrg Output full xrandr --verbose output if test failed. 2297a0d3b6eaSmrg 2298a0d3b6eaSmrgcommit e15a527b6cf1e66709eae4547c8e8bd3402362fe 2299a0d3b6eaSmrgAuthor: Matthias Hopf <mhopf@suse.de> 2300a0d3b6eaSmrgDate: Mon Nov 12 15:25:44 2007 +0100 2301a0d3b6eaSmrg 2302a0d3b6eaSmrg Add xrandr test suite. 2303a0d3b6eaSmrg 2304a0d3b6eaSmrg At the moment it only tests setting one output at a time, it should be 2305a0d3b6eaSmrg improved to add some multi-output setting as well. Also it only tests clone 2306a0d3b6eaSmrg modes at the moment, no multi-monitor setups. 2307a0d3b6eaSmrg 2308a0d3b6eaSmrgcommit f7aaf8947a0f216ffedc7040b0a1ef153b471425 2309a0d3b6eaSmrgAuthor: Matthias Hopf <mhopf@suse.de> 2310a0d3b6eaSmrgDate: Mon Nov 12 15:19:52 2007 +0100 2311a0d3b6eaSmrg 2312a0d3b6eaSmrg Always reset other outputs using the best crtc. 2313a0d3b6eaSmrg 2314a0d3b6eaSmrg pick_crtcs_score() didn't set up crtcs references correctly if anything but 2315a0d3b6eaSmrg the last output resulted in the best score. 2316a0d3b6eaSmrg 2317a0d3b6eaSmrgcommit 307f3686d3d517cb29b8e66d8ad2ff76a48748b7 2318a0d3b6eaSmrgAuthor: Matthias Hopf <mhopf@suse.de> 2319a0d3b6eaSmrgDate: Mon Nov 12 15:18:30 2007 +0100 2320a0d3b6eaSmrg 2321a0d3b6eaSmrg Verify crtc against previous config. 2322a0d3b6eaSmrg 2323a0d3b6eaSmrg When selecting a crtc for an output, it doesn't check for already attached 2324a0d3b6eaSmrg outputs in check_crtc_for_output(), and so may select an crtc that is already 2325a0d3b6eaSmrg in use. 2326a0d3b6eaSmrg E.g. when changing from a cloned mode the displays won't be split up to 2327a0d3b6eaSmrg different crtcs, but the same crtc will be used, changing the resolution for 2328a0d3b6eaSmrg the unspecified display as well. 2329a0d3b6eaSmrg 2330a0d3b6eaSmrgcommit 4834439ce62e41204367cf5356a7a1719870791f 2331a0d3b6eaSmrgAuthor: Matthias Hopf <mhopf@suse.de> 2332a0d3b6eaSmrgDate: Thu Oct 11 16:54:40 2007 +0200 2333a0d3b6eaSmrg 2334a0d3b6eaSmrg Build ChangeLog from git-log automatically. 2335a0d3b6eaSmrg 2336a0d3b6eaSmrgcommit 2fa28afb035cf2d2efb077db58d3858c57189be4 2337a0d3b6eaSmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net> 2338a0d3b6eaSmrgDate: Tue Oct 2 11:06:18 2007 -0400 2339a0d3b6eaSmrg 2340a0d3b6eaSmrg Death to ChangeLog 2341a0d3b6eaSmrg 2342a0d3b6eaSmrgcommit 0cfaad401711092f8858cdec64e4d4f33023f398 2343a0d3b6eaSmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net> 2344a0d3b6eaSmrgDate: Tue Oct 2 11:06:02 2007 -0400 2345a0d3b6eaSmrg 2346a0d3b6eaSmrg Update COPYING 2347a0d3b6eaSmrg 2348a0d3b6eaSmrgcommit 06d7272d845033fe3c6f0625cce5a32e7be636a7 2349a0d3b6eaSmrgAuthor: Brice Goglin <bgoglin@debian.org> 2350a0d3b6eaSmrgDate: Thu Aug 9 19:06:37 2007 +0200 2351a0d3b6eaSmrg 2352a0d3b6eaSmrg When invoked with no option, xrandr dumps existing modes 2353a0d3b6eaSmrg 2354a0d3b6eaSmrgcommit b9b2fbbf7a7dd156d1fdffac2e4a4046f58baabb 2355a0d3b6eaSmrgAuthor: Brice Goglin <bgoglin@debian.org> 2356a0d3b6eaSmrgDate: Thu Aug 9 19:04:58 2007 +0200 2357a0d3b6eaSmrg 2358a0d3b6eaSmrg Add *current and +preferred to the --verbose output 2359a0d3b6eaSmrg 2360a0d3b6eaSmrgcommit 200491c1fad5ea1a733dfbac799a2ebea0a2f23c 2361a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2362a0d3b6eaSmrgDate: Wed Jul 4 20:05:03 2007 -0700 2363a0d3b6eaSmrg 2364a0d3b6eaSmrg Bump to 1.2.2 2365a0d3b6eaSmrg 2366a0d3b6eaSmrgcommit 9db36331a2acafbf2dab05f481ce16ab094fde52 2367a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2368a0d3b6eaSmrgDate: Wed Jul 4 20:04:29 2007 -0700 2369a0d3b6eaSmrg 2370a0d3b6eaSmrg Print out mode flags in --verbose mode 2371a0d3b6eaSmrg 2372a0d3b6eaSmrgcommit 49058de9b743f5196f97fb13cd9a695087b1299c 2373a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2374a0d3b6eaSmrgDate: Wed Jul 4 19:41:32 2007 -0700 2375a0d3b6eaSmrg 2376a0d3b6eaSmrg Mark 1.1 options as inconsistent with 1.2 options 2377a0d3b6eaSmrg 2378a0d3b6eaSmrgcommit c58e79a9c4c3967fb31a49a610a37b5797426415 2379a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2380a0d3b6eaSmrgDate: Thu Jun 21 15:57:37 2007 +0100 2381a0d3b6eaSmrg 2382a0d3b6eaSmrg Document 1.2.1 options 2383a0d3b6eaSmrg 2384a0d3b6eaSmrgcommit 0499ce5ed6378bc68cbf8eafc9932ddf495ae708 2385a0d3b6eaSmrgAuthor: Keith Packard <keithp@dulcimer.keithp.com> 2386a0d3b6eaSmrgDate: Sat Jun 30 14:00:30 2007 -0700 2387a0d3b6eaSmrg 2388a0d3b6eaSmrg When simple CRTC allocation fails, search all available configs. 2389a0d3b6eaSmrg 2390a0d3b6eaSmrg When enabling an output, if there isn't an idle CRTC available, try to 2391a0d3b6eaSmrg reconfigure existing outputs to make things work. 2392a0d3b6eaSmrg 2393a0d3b6eaSmrgcommit 0f2014e67193eb0f8e12ab1c3d5cae8991ba439d 2394a0d3b6eaSmrgAuthor: Keith Packard <keithp@dulcimer.keithp.com> 2395a0d3b6eaSmrgDate: Sat Jun 30 13:09:45 2007 -0700 2396a0d3b6eaSmrg 2397a0d3b6eaSmrg Clean up code structure a bit 2398a0d3b6eaSmrg 2399a0d3b6eaSmrgcommit 63d385f2c24c522d974652da138a83d78014713e 2400a0d3b6eaSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 2401a0d3b6eaSmrgDate: Thu Jun 21 09:35:53 2007 -0700 2402a0d3b6eaSmrg 2403a0d3b6eaSmrg Add *~ to .gitignore to skip emacs & patch droppings 2404a0d3b6eaSmrg 2405a0d3b6eaSmrgcommit 4bd2f4004a6f75a7e4cb32b9e320e680f8839748 2406a0d3b6eaSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 2407a0d3b6eaSmrgDate: Thu Jun 21 09:34:53 2007 -0700 2408a0d3b6eaSmrg 2409a0d3b6eaSmrg Man page formatting and typo fixes 2410a0d3b6eaSmrg 2411a0d3b6eaSmrgcommit b0812f8efe448c85979a9f5fab4a5a4e0c0e78d0 2412a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2413a0d3b6eaSmrgDate: Thu Jun 21 11:37:56 2007 +0100 2414a0d3b6eaSmrg 2415a0d3b6eaSmrg Update to version 1.2.1 2416a0d3b6eaSmrg 2417a0d3b6eaSmrgcommit 739f01957c8ebd3b7bcecfd7ad8174884561f7db 2418a0d3b6eaSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 2419a0d3b6eaSmrgDate: Wed Apr 25 11:59:48 2007 -0700 2420a0d3b6eaSmrg 2421a0d3b6eaSmrg Fix bugs found by compiling with -Wall. 2422a0d3b6eaSmrg 2423a0d3b6eaSmrg Also fix some unused variable warnings. 2424a0d3b6eaSmrg 2425a0d3b6eaSmrgcommit 8e43df335679c71930465e4c58c0bd14d9add29a 2426a0d3b6eaSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 2427a0d3b6eaSmrgDate: Wed Apr 25 10:52:19 2007 -0700 2428a0d3b6eaSmrg 2429a0d3b6eaSmrg Fix a typo. Make mode flags case insensitive. Improve error messages. 2430a0d3b6eaSmrg 2431a0d3b6eaSmrgcommit 49aab1e0e4cb2226d5bcc8e4e6217309fd23ce52 2432a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2433a0d3b6eaSmrgDate: Fri Apr 6 03:36:27 2007 -0700 2434a0d3b6eaSmrg 2435a0d3b6eaSmrg Skip relative positions for outputs without modes. 2436a0d3b6eaSmrg 2437a0d3b6eaSmrg An output without a mode is turned off; do not try to position it. 2438a0d3b6eaSmrg 2439a0d3b6eaSmrgcommit 86d9b15cccc4d21ad5e5d34d7e7b82a50903939b 2440a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2441a0d3b6eaSmrgDate: Sun Mar 25 23:44:01 2007 -0700 2442a0d3b6eaSmrg 2443a0d3b6eaSmrg Support XA_ATOM properties (like TV_FORMAT). 2444a0d3b6eaSmrg 2445a0d3b6eaSmrg Atom properties have lists of valid values that are all atoms, so display 2446a0d3b6eaSmrg those. Also, fetch property data and use that to determine which format new 2447a0d3b6eaSmrg property values are supposed to be in. 2448a0d3b6eaSmrg 2449a0d3b6eaSmrgcommit dba14af8328eaaad716d1c27a5514df285d8d4cc 2450a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2451a0d3b6eaSmrgDate: Fri Mar 23 01:21:21 2007 -0700 2452a0d3b6eaSmrg 2453a0d3b6eaSmrg Add --set option to set output properties. 2454a0d3b6eaSmrg 2455a0d3b6eaSmrg Numeric values are set as XA_INTEGER format 32 values, everything else is 2456a0d3b6eaSmrg set as an XA_STRING format 8 value. 2457a0d3b6eaSmrg 2458a0d3b6eaSmrgcommit ca7a5bb5691ecd1d8da6def373c793aa7a07dbbe 2459a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2460a0d3b6eaSmrgDate: Thu Mar 15 20:57:17 2007 -0700 2461a0d3b6eaSmrg 2462a0d3b6eaSmrg Bounds check -s <index> argument to be 0 <= index < nsize 2463a0d3b6eaSmrg 2464a0d3b6eaSmrg Print a nice error message when the -s option is passed a number out of 2465a0d3b6eaSmrg bounds. 2466a0d3b6eaSmrg 2467a0d3b6eaSmrgcommit 0cbbc7804781c2e55899ba9271365735c4a2b544 2468a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2469a0d3b6eaSmrgDate: Thu Mar 15 20:56:15 2007 -0700 2470a0d3b6eaSmrg 2471a0d3b6eaSmrg Make --q1 output RandR 1.1 query information. 2472a0d3b6eaSmrg 2473a0d3b6eaSmrg --q1 required a --query option to actually output any information. 2474a0d3b6eaSmrg 2475a0d3b6eaSmrgcommit 7ae11b66cc26395d34070013e23813db3ca3e55f 2476a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2477a0d3b6eaSmrgDate: Thu Mar 15 20:55:30 2007 -0700 2478a0d3b6eaSmrg 2479a0d3b6eaSmrg Make --auto after --output only affect the output. 2480a0d3b6eaSmrg 2481a0d3b6eaSmrg --auto has two meanings; if presented before any --output flags, it requests 2482a0d3b6eaSmrg that connected-but-disabled outputs be enable while disconnected-but-enabled 2483a0d3b6eaSmrg outputs be disabled. After --output, --auto simply asks that the mode used 2484a0d3b6eaSmrg for the output be automatically selected. Mixing these two operations is not 2485a0d3b6eaSmrg a good default. 2486a0d3b6eaSmrg 2487a0d3b6eaSmrgcommit a53cc9b37c40dca936037a89013253f37c9a05ee 2488a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2489a0d3b6eaSmrgDate: Mon Mar 12 22:47:39 2007 -0700 2490a0d3b6eaSmrg 2491a0d3b6eaSmrg Add --addmode and --delmode commands to edit list of modes per output. 2492a0d3b6eaSmrg 2493a0d3b6eaSmrg --addmode <output> <mode> inserts <mode> into the list supported by 2494a0d3b6eaSmrg <output>, while --delmode removes a mode. 2495a0d3b6eaSmrg 2496a0d3b6eaSmrgcommit dca4bd66b166b64314993aba34a3080c6953ac12 2497a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2498a0d3b6eaSmrgDate: Mon Feb 19 17:12:24 2007 -0800 2499a0d3b6eaSmrg 2500a0d3b6eaSmrg Add --newmode/--rmmode to create/destroy user modes. 2501a0d3b6eaSmrg 2502a0d3b6eaSmrg The syntax may be a bit hard to work with, but these serve to test the 2503a0d3b6eaSmrg server infrastructure for custom modes. 2504a0d3b6eaSmrg 2505a0d3b6eaSmrgcommit 9fd6aa1445a8f1e721ba8cdcd1ac12375d6e5a26 2506a0d3b6eaSmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 2507a0d3b6eaSmrgDate: Fri Mar 9 10:12:17 2007 +0100 2508a0d3b6eaSmrg 2509a0d3b6eaSmrg Fixed alignment of the clones list. 2510a0d3b6eaSmrg 2511a0d3b6eaSmrgcommit 3c44d68d78d8bddf69b5bd1a00f854d8cde971bb 2512a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2513a0d3b6eaSmrgDate: Wed Feb 21 11:24:35 2007 -0800 2514a0d3b6eaSmrg 2515a0d3b6eaSmrg Add --same-as option to match output positions. 2516a0d3b6eaSmrg 2517a0d3b6eaSmrg This provides another positioning option that makes two outputs appear at 2518a0d3b6eaSmrg the same location. 2519a0d3b6eaSmrg 2520a0d3b6eaSmrgcommit 8a0c3b748b0e94c97fbc2a7449c6740b8acfe394 2521a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2522a0d3b6eaSmrgDate: Sun Feb 18 21:27:55 2007 -0800 2523a0d3b6eaSmrg 2524a0d3b6eaSmrg Update version number to 1.2.0 for release. 2525a0d3b6eaSmrg 2526a0d3b6eaSmrgcommit 13cef2baa884039e96f5dfd9245bb949aed99448 252709113985SmrgMerge: 065f09c a175972 2528a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2529a0d3b6eaSmrgDate: Sun Feb 18 21:26:50 2007 -0800 2530a0d3b6eaSmrg 2531a0d3b6eaSmrg Merge branch 'origin' 2532a0d3b6eaSmrg 2533a0d3b6eaSmrgcommit 065f09cc304d0c70eaf3cf6f3ff21e712e41d205 2534a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2535a0d3b6eaSmrgDate: Sun Feb 18 21:25:54 2007 -0800 2536a0d3b6eaSmrg 2537a0d3b6eaSmrg Require only libXrandr 1.2.0, not 1.2.0.0. 2538a0d3b6eaSmrg 2539a0d3b6eaSmrg Four digits seems excessive in a library version number. 2540a0d3b6eaSmrg 2541a0d3b6eaSmrgcommit a175972de6fbe5426fb5c6bee03112678f0a9548 2542a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2543a0d3b6eaSmrgDate: Thu Feb 15 23:07:34 2007 -0800 2544a0d3b6eaSmrg 2545a0d3b6eaSmrg Select crtc which can be cloned to outputs which will be in use. 2546a0d3b6eaSmrg 2547a0d3b6eaSmrg Correct crtc selection algorithm to choose a crtc which will be used by 2548a0d3b6eaSmrg outputs which can all share the same crtc. 2549a0d3b6eaSmrg 2550a0d3b6eaSmrg Also, make randr 1.0 commands work even when --verbose is specified, and 2551a0d3b6eaSmrg terminate event loop in that case when the screen change event is seen. 2552a0d3b6eaSmrg 2553a0d3b6eaSmrgcommit d707822aab19a0a8fe08f03300fdd9d4e206871e 2554a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2555a0d3b6eaSmrgDate: Sat Feb 10 18:27:06 2007 -0800 2556a0d3b6eaSmrg 2557a0d3b6eaSmrg Selecting a crtc by index was failing to match a crtc. 2558a0d3b6eaSmrg 2559a0d3b6eaSmrg --crtc <index> would fail to match because of a logic bug using & instead of 2560a0d3b6eaSmrg &&. 2561a0d3b6eaSmrg 2562a0d3b6eaSmrgcommit 89bf2c3c0e17c67adc3e2fdca54f0e8254dc8968 2563a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2564a0d3b6eaSmrgDate: Sat Feb 10 16:14:58 2007 -0800 2565a0d3b6eaSmrg 2566a0d3b6eaSmrg Display set of available CRTCs per output in --verbose mode. 2567a0d3b6eaSmrg 2568a0d3b6eaSmrgcommit 067cafb5cda0aa6e34773e888fd469ff657760c2 256909113985SmrgMerge: 7c25c24 b0a00df 2570a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2571a0d3b6eaSmrgDate: Wed Jan 31 15:25:35 2007 -0800 2572a0d3b6eaSmrg 2573a0d3b6eaSmrg Merge branch 'randr-1.2' 2574a0d3b6eaSmrg 2575a0d3b6eaSmrg Merge support for RandR 1.2 changes to the xrandr program along with 2576a0d3b6eaSmrg documentation for the new options. 2577a0d3b6eaSmrg 2578a0d3b6eaSmrgcommit b0a00df69f832ada40be6bd6973835439a698440 2579a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2580a0d3b6eaSmrgDate: Wed Jan 31 15:22:02 2007 -0800 2581a0d3b6eaSmrg 2582a0d3b6eaSmrg Update documentation to include all RandR 1.2 options. 2583a0d3b6eaSmrg 2584a0d3b6eaSmrg Also, require libXrandr version 1.2.0.0 or better. 2585a0d3b6eaSmrg 2586a0d3b6eaSmrgcommit 6b9310d66eed59527d4002294be13884a7cbeacc 2587a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2588a0d3b6eaSmrgDate: Tue Jan 30 20:35:58 2007 -0800 2589a0d3b6eaSmrg 2590a0d3b6eaSmrg Missing return statement from output_rotation. 2591a0d3b6eaSmrg 2592a0d3b6eaSmrg output_rotation was returning garbage making the available output rotations 2593a0d3b6eaSmrg display incorrectly. 2594a0d3b6eaSmrg 2595a0d3b6eaSmrgcommit 5c3b6b1013c7565c40e82bfc0514a3dd80aec2d8 2596a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2597a0d3b6eaSmrgDate: Tue Jan 30 20:16:46 2007 -0800 2598a0d3b6eaSmrg 2599a0d3b6eaSmrg Remove xrandr12.c app now that xrandr.c has RandR 1.2 support. 2600a0d3b6eaSmrg 2601a0d3b6eaSmrgcommit eaf3e459d7760bbcb3c7f7c9b23b1e386189c71e 2602a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2603a0d3b6eaSmrgDate: Tue Jan 30 00:10:23 2007 -0800 2604a0d3b6eaSmrg 2605a0d3b6eaSmrg Add --reflect option for RandR 1.2 reflection selection. 2606a0d3b6eaSmrg 2607a0d3b6eaSmrg Also, display available rotations after current rotation 2608a0d3b6eaSmrg 2609a0d3b6eaSmrgcommit 8ecc6c034836a6fb6df0e2ad24429f506bf82e37 2610a0d3b6eaSmrgAuthor: Eric Anholt <eric@anholt.net> 2611a0d3b6eaSmrgDate: Tue Jan 16 10:48:01 2007 -0800 2612a0d3b6eaSmrg 2613a0d3b6eaSmrg Add display for 32-bit integer properties, such as backlight. 2614a0d3b6eaSmrg 2615a0d3b6eaSmrgcommit 4112d13d7b15150e33687b687604c3a72188c066 2616a0d3b6eaSmrgAuthor: Keith Packard <keithp@mandolin.keithp.com> 2617a0d3b6eaSmrgDate: Mon Jan 1 17:04:42 2007 -0800 2618a0d3b6eaSmrg 2619a0d3b6eaSmrg Mode on CRTC may not be present for any output. 2620a0d3b6eaSmrg 2621a0d3b6eaSmrg When an output gets disconnected, the current CRTC mode may no longer be 2622a0d3b6eaSmrg listed as valid for any output, but will still be listed for the screen. 2623a0d3b6eaSmrg Search for current crtc mode in the screen list rather than the per-output 2624a0d3b6eaSmrg list. 2625a0d3b6eaSmrg 2626a0d3b6eaSmrgcommit 6ef7b2deafd09ae1a4b159f3c2e6e9db64bf01dc 2627a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2628a0d3b6eaSmrgDate: Sun Dec 31 23:02:12 2006 -0800 2629a0d3b6eaSmrg 2630a0d3b6eaSmrg Using %lf to read float overwrote adjacent variable. 2631a0d3b6eaSmrg 2632a0d3b6eaSmrg Just use floats everywhere and %f instead. 2633a0d3b6eaSmrg 2634a0d3b6eaSmrgcommit f6073333dcfb6989ff8793854fb42e08388444c5 2635a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2636a0d3b6eaSmrgDate: Sun Dec 31 13:55:14 2006 -0800 2637a0d3b6eaSmrg 2638a0d3b6eaSmrg Add rotation/reflection status to 1.2 query output. 2639a0d3b6eaSmrg 2640a0d3b6eaSmrg The previous cleanup had left these values missing from any output. 2641a0d3b6eaSmrg Also it now reports the effective size of the mode within the screen. 2642a0d3b6eaSmrg 2643a0d3b6eaSmrgcommit 5d2a76b70b7b59a45655b25db79d75cb08fe671d 2644a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2645a0d3b6eaSmrgDate: Sun Dec 31 13:38:40 2006 -0800 2646a0d3b6eaSmrg 2647a0d3b6eaSmrg Clean up RandR 1.2 query output. 2648a0d3b6eaSmrg 2649a0d3b6eaSmrg Make brief mode list just mode names and refresh rates. 2650a0d3b6eaSmrg Add --prop/--properties flag to show properties. 2651a0d3b6eaSmrg Add --q1 flag to force showing pre-1.2 data. 2652a0d3b6eaSmrg 2653a0d3b6eaSmrgcommit d9aeb4a7544ad4a33f6f54bc46bff5cdf231a986 2654a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2655a0d3b6eaSmrgDate: Sun Dec 31 12:45:25 2006 -0800 2656a0d3b6eaSmrg 2657a0d3b6eaSmrg Add --rate support to RandR 1.2 mode selection. 2658a0d3b6eaSmrg 2659a0d3b6eaSmrg Search for mode closest to specified rate for each output and use that 2660a0d3b6eaSmrg instead of the one with the first matching name. If no rate is specified, 2661a0d3b6eaSmrg the first one still matches allowing the driver to place preferred rates 2662a0d3b6eaSmrg first in the list. 2663a0d3b6eaSmrg 2664a0d3b6eaSmrgcommit c04d69cbd8a8a96862356afcda6ee679d663a524 2665a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2666a0d3b6eaSmrgDate: Sun Dec 31 11:58:11 2006 -0800 2667a0d3b6eaSmrg 2668a0d3b6eaSmrg Grab server while applying changes. 2669a0d3b6eaSmrg 2670a0d3b6eaSmrg Applications that respond to screen size changes by quering Xinerama 2671a0d3b6eaSmrg information need to be blocked so that they see the entirety of the changes 2672a0d3b6eaSmrg rather than just the screen size shift and not the crtc changes. 2673a0d3b6eaSmrg 2674a0d3b6eaSmrgcommit 8e78af971048db711163ea297153703b4f37f3c9 2675a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2676a0d3b6eaSmrgDate: Sat Dec 30 21:49:40 2006 -0800 2677a0d3b6eaSmrg 2678a0d3b6eaSmrg Enable global --auto flag. Allow output name for --dpi switch. 2679a0d3b6eaSmrg 2680a0d3b6eaSmrg --auto at the global level checks for output status changes and 2681a0d3b6eaSmrg automatically configures changed outputs. --dpi with an output switch uses 2682a0d3b6eaSmrg the specified output as the source of the dpi information. 2683a0d3b6eaSmrg 2684a0d3b6eaSmrgcommit f7a3e478a6a5d59a2bbcd6dc416639f93a0520fd 2685a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2686a0d3b6eaSmrgDate: Sat Dec 30 19:41:48 2006 -0800 2687a0d3b6eaSmrg 2688a0d3b6eaSmrg Use Bool type. Position relative to disabled output is 0,0. 2689a0d3b6eaSmrg 2690a0d3b6eaSmrg Switch uses of int that are strictly boolean to Bool. 2691a0d3b6eaSmrg Instead of making attempts to set position relative to a disabled output an 2692a0d3b6eaSmrg error, just place the output at 0,0. 2693a0d3b6eaSmrg 2694a0d3b6eaSmrgcommit cb017692883daf64e0cf442a39b33eaafed0e420 2695a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2696a0d3b6eaSmrgDate: Sat Dec 30 17:34:46 2006 -0800 2697a0d3b6eaSmrg 2698a0d3b6eaSmrg Restructure RandR 1.2 support to handle relative placement. 2699a0d3b6eaSmrg 2700a0d3b6eaSmrg Ok, really, this is mostly a rewrite of the RandR 1.2 support. First, 2701a0d3b6eaSmrg collect commands from command line arguments. Next, fill in existing 2702a0d3b6eaSmrg configuration from X server. Calculate new configuration. Apply 2703a0d3b6eaSmrg configuration, if anything fails, revert to previous configuration. 2704a0d3b6eaSmrg 2705a0d3b6eaSmrg Still left -- pure --auto, and --extend/--clone options. 2706a0d3b6eaSmrg 2707a0d3b6eaSmrgcommit b9dee113ce4105c1cf25e3c417c616c024aea823 2708a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2709a0d3b6eaSmrgDate: Fri Dec 29 00:55:37 2006 -0800 2710a0d3b6eaSmrg 2711a0d3b6eaSmrg Make query return 1.2 information if available 2712a0d3b6eaSmrg 2713a0d3b6eaSmrgcommit 90e4a4c13957bd003294f64b86460813dd38a3de 2714a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2715a0d3b6eaSmrgDate: Thu Dec 21 17:37:20 2006 -0800 2716a0d3b6eaSmrg 2717a0d3b6eaSmrg Accept hex mode numbers as well as mode names. 2718a0d3b6eaSmrg 2719a0d3b6eaSmrg Sometimes mode names are ambiguous; this lets the user specify modes by XID. 2720a0d3b6eaSmrg 2721a0d3b6eaSmrgcommit e8f7047885ec85096a3f35b9cfb20386104fdc55 2722a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2723a0d3b6eaSmrgDate: Tue Dec 19 16:27:46 2006 -0800 2724a0d3b6eaSmrg 2725a0d3b6eaSmrg Actually respect the --fb option 2726a0d3b6eaSmrg 2727a0d3b6eaSmrgcommit 7b32611632ab08b6a123db5df1c2b919b3a12104 272809113985SmrgMerge: a0df3aa 4bb1a9c 2729a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2730a0d3b6eaSmrgDate: Tue Dec 19 15:58:38 2006 -0800 2731a0d3b6eaSmrg 2732a0d3b6eaSmrg Merge branch 'randr-1.2-origin' into randr-1.2 2733a0d3b6eaSmrg 2734a0d3b6eaSmrgcommit a0df3aa81205b35ff8d9541c036cfd158cbd99ed 2735a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2736a0d3b6eaSmrgDate: Tue Dec 19 15:58:21 2006 -0800 2737a0d3b6eaSmrg 2738a0d3b6eaSmrg Correct format for sscanf to double variable "dpi" 2739a0d3b6eaSmrg 2740a0d3b6eaSmrgcommit 4bb1a9cd6f9cc3ed61d7913528afa3f573092833 274109113985SmrgMerge: b6c0382 6ef400f 2742a0d3b6eaSmrgAuthor: Keith Packard <keithp@bouzouki.jf.intel.com> 2743a0d3b6eaSmrgDate: Wed Dec 13 11:36:36 2006 -0800 2744a0d3b6eaSmrg 2745a0d3b6eaSmrg Merge branch 'randr-1.2-origin' into randr-1.2. Detect invalid mode. 2746a0d3b6eaSmrg 2747a0d3b6eaSmrg Invalid mode test was checking wrong mode index. Also, print more 2748a0d3b6eaSmrg informative error message when this occurs. 2749a0d3b6eaSmrg 2750a0d3b6eaSmrgcommit b6c03827bae74ef5b9517c4246b0165dad8ee780 2751a0d3b6eaSmrgAuthor: Keith Packard <keithp@bouzouki.jf.intel.com> 2752a0d3b6eaSmrgDate: Wed Dec 13 11:27:30 2006 -0800 2753a0d3b6eaSmrg 2754a0d3b6eaSmrg Name CRTCs by index or id. Use current CRTC to get current mode. 2755a0d3b6eaSmrg 2756a0d3b6eaSmrg CRTCs have no intrinsic name, so let users provide either the number in the 2757a0d3b6eaSmrg list or the XID when referring to them explicitly. 2758a0d3b6eaSmrg When no mode is specified, look up the current CRTC for the output and use 2759a0d3b6eaSmrg that mode, instead of using the mode on the target CRTC. 2760a0d3b6eaSmrg When switching an output from one CRTC 2761a0d3b6eaSmrg 2762a0d3b6eaSmrgcommit 6ef400f35d7d8712d1ad1efd87a8a3cb8bfacd96 2763a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2764a0d3b6eaSmrgDate: Wed Dec 13 09:53:17 2006 -0800 2765a0d3b6eaSmrg 2766a0d3b6eaSmrg Add --preferred and --auto support. 2767a0d3b6eaSmrg 2768a0d3b6eaSmrg --preferred selects the 'best' mode for the monitor automatically, either by 2769a0d3b6eaSmrg looking for a preferred mode, or selecting one which is closest to the 2770a0d3b6eaSmrg current screen DPI. 2771a0d3b6eaSmrg 2772a0d3b6eaSmrg --auto checks connected status and disables the output if disconnected, 2773a0d3b6eaSmrg otherwise it enables it with the preferred mode (as if --preferred). 2774a0d3b6eaSmrg 2775a0d3b6eaSmrgcommit c69c3080febd8617349f88557c3c04388a13a76c 2776a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2777a0d3b6eaSmrgDate: Tue Dec 12 09:54:52 2006 -0800 2778a0d3b6eaSmrg 2779a0d3b6eaSmrg mark disabled crtc as changing, set rotation to 90 for disabled crtc. 2780a0d3b6eaSmrg 2781a0d3b6eaSmrg --off code was not correctly finding and marking the to-be-disabled crtc, 2782a0d3b6eaSmrg and the disabling code was sending an uninitialized rotation value to the 2783a0d3b6eaSmrg server when no outputs were connected. 2784a0d3b6eaSmrg 2785a0d3b6eaSmrgcommit 6be56cd10d934e496004f9ffd377225fd179f4b1 2786a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2787a0d3b6eaSmrgDate: Mon Dec 11 00:39:48 2006 -0800 2788a0d3b6eaSmrg 2789a0d3b6eaSmrg Update manual, elide unsupported options from usage, remove xrandr12 from build 2790a0d3b6eaSmrg 2791a0d3b6eaSmrgcommit 624c75e8c250b33a81890c8f0da741a13ad4e7d1 2792a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2793a0d3b6eaSmrgDate: Mon Dec 11 00:23:15 2006 -0800 2794a0d3b6eaSmrg 2795a0d3b6eaSmrg Add RandR 1.2 support to plain xrandr app. primitive for now 2796a0d3b6eaSmrg 2797a0d3b6eaSmrgcommit 7c25c245bceb0474541fe7a2615a4f665842ac32 2798a0d3b6eaSmrgAuthor: Jeremy C. Reed <reed@glacier.reedmedia.net> 2799a0d3b6eaSmrgDate: Sat Dec 9 06:32:19 2006 -0600 2800a0d3b6eaSmrg 2801a0d3b6eaSmrg Document -v switch. 2802a0d3b6eaSmrg 2803a0d3b6eaSmrgcommit 2a32fa8cf8550a3a30871d25a23af07f65646c47 2804a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2805a0d3b6eaSmrgDate: Tue Nov 21 01:17:38 2006 -0800 2806a0d3b6eaSmrg 2807a0d3b6eaSmrg Track RandR output property changes 2808a0d3b6eaSmrg 2809a0d3b6eaSmrgcommit 795173d2b9b94a3468db277102b4898b4e5a1ead 2810a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2811a0d3b6eaSmrgDate: Thu Nov 16 22:14:33 2006 -0800 2812a0d3b6eaSmrg 2813a0d3b6eaSmrg properties are stored in unsigned char arrays 2814a0d3b6eaSmrg 2815a0d3b6eaSmrgcommit 2df4352bb43e155977f8d4c0b53771cb0085ab74 2816a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2817a0d3b6eaSmrgDate: Thu Nov 16 11:45:51 2006 -0800 2818a0d3b6eaSmrg 2819a0d3b6eaSmrg Remove RandR output options. 2820a0d3b6eaSmrg 2821a0d3b6eaSmrg Output options are to be replaced with properties. 2822a0d3b6eaSmrg 2823a0d3b6eaSmrgcommit 643787365fd716b902b597b67b2ec228dacfc862 2824a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2825a0d3b6eaSmrgDate: Wed Nov 1 10:57:24 2006 -0800 2826a0d3b6eaSmrg 2827a0d3b6eaSmrg Re-indent to 4 space tabs 2828a0d3b6eaSmrg 2829a0d3b6eaSmrgcommit 947ea6ee9d7cf72c5635c699b63ddda3be968675 2830a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2831a0d3b6eaSmrgDate: Wed Nov 1 10:55:21 2006 -0800 2832a0d3b6eaSmrg 2833a0d3b6eaSmrg Fix copyright and license information 2834a0d3b6eaSmrg 2835a0d3b6eaSmrgcommit dc41095b577db571439ff1a52facc4efe9f5132f 2836a0d3b6eaSmrgAuthor: Eric Anholt <eric@anholt.net> 2837a0d3b6eaSmrgDate: Thu Nov 9 20:26:09 2006 -0800 2838a0d3b6eaSmrg 2839a0d3b6eaSmrg Print 8-bit integer output properties as 32-char rows of hex. 2840a0d3b6eaSmrg 2841a0d3b6eaSmrg This happens to produce pretty output for EDID data. 2842a0d3b6eaSmrg 2843a0d3b6eaSmrgcommit 67466ebb817e24bfd7f57cc82da16e194eb9c547 2844a0d3b6eaSmrgAuthor: Eric Anholt <eric@anholt.net> 2845a0d3b6eaSmrgDate: Thu Nov 9 17:15:56 2006 -0800 2846a0d3b6eaSmrg 2847a0d3b6eaSmrg Add more .gitignore entries. 2848a0d3b6eaSmrg 2849a0d3b6eaSmrgcommit aafe9f7d24e96194a7ee11ba521a3c2c72dcdc95 2850a0d3b6eaSmrgAuthor: Eric Anholt <eric@anholt.net> 2851a0d3b6eaSmrgDate: Thu Nov 9 17:15:06 2006 -0800 2852a0d3b6eaSmrg 2853a0d3b6eaSmrg Add output for output properties (assuming text) and blanking information. 2854a0d3b6eaSmrg 2855a0d3b6eaSmrgcommit 6ba07ae9ea5fa2829d17e8a1f3eb26e7c1a2813e 2856a0d3b6eaSmrgAuthor: Eric Anholt <eric@anholt.net> 2857a0d3b6eaSmrgDate: Wed Nov 8 10:23:47 2006 -0800 2858a0d3b6eaSmrg 2859a0d3b6eaSmrg Add dot clock to output. 2860a0d3b6eaSmrg 2861a0d3b6eaSmrgcommit fba78f58029a806e4446d038b17b843d2c4026a6 2862a0d3b6eaSmrgAuthor: Keith Packard <keithp@mandolin.keithp.com> 2863a0d3b6eaSmrgDate: Wed Nov 1 00:32:22 2006 -0800 2864a0d3b6eaSmrg 2865a0d3b6eaSmrg Track protocol moving physical size from mode to output 2866a0d3b6eaSmrg 2867a0d3b6eaSmrgcommit d9c45204a16e906b922ac94cae3c9f4f25b3ccdb 2868a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2869a0d3b6eaSmrgDate: Thu Oct 26 22:58:58 2006 -0700 2870a0d3b6eaSmrg 2871a0d3b6eaSmrg add physical size setting 2872a0d3b6eaSmrg 2873a0d3b6eaSmrgcommit bd6ac82ff7e7fc04ab589a3053dc7f13ed7a1ec4 2874a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2875a0d3b6eaSmrgDate: Thu Oct 5 21:50:42 2006 -0700 2876a0d3b6eaSmrg 2877a0d3b6eaSmrg Add crtc info. Mark preferred. Update to new SetCrtcConfig API. 2878a0d3b6eaSmrg 2879a0d3b6eaSmrgcommit fe04d38d01f54b93ddaf1cd48a655df7f7fe4b97 2880a0d3b6eaSmrgAuthor: Keith Packard <keithp@neko.keithp.com> 2881a0d3b6eaSmrgDate: Thu Sep 21 08:16:45 2006 -0700 2882a0d3b6eaSmrg 2883a0d3b6eaSmrg Add CRTC disable code (given crtc, output 0, mode 0) 2884a0d3b6eaSmrg 2885a0d3b6eaSmrgcommit 7f1b81d443b78ff572726ad7d72eeb4a87c7189d 2886a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2887a0d3b6eaSmrgDate: Wed Sep 20 20:03:22 2006 -0700 2888a0d3b6eaSmrg 2889a0d3b6eaSmrg xrandr12, a horrible kludge, is now sufficient to do dynamic mergefb games. 2890a0d3b6eaSmrg 2891a0d3b6eaSmrgcommit eba1d3d8ab6226737c29e63fdd5433190baab06f 2892a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2893a0d3b6eaSmrgDate: Wed Sep 20 20:02:43 2006 -0700 2894a0d3b6eaSmrg 2895a0d3b6eaSmrg .cvsignore -> .gitignore 2896a0d3b6eaSmrg 2897a0d3b6eaSmrgcommit 6c5af262350a5fa33aa37293e8e7b537e344f52a 2898a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2899a0d3b6eaSmrgDate: Wed Sep 20 20:02:09 2006 -0700 2900a0d3b6eaSmrg 2901a0d3b6eaSmrg .cvsignore -> .gitignore 2902a0d3b6eaSmrg 2903a0d3b6eaSmrgcommit d8e86340444577dc7634d3e0db24fd809f4e4fbb 2904a0d3b6eaSmrgAuthor: Keith Packard <keithp@guitar.keithp.com> 2905a0d3b6eaSmrgDate: Tue Sep 19 00:35:46 2006 -0700 2906a0d3b6eaSmrg 2907a0d3b6eaSmrg Add new xrandr12 program for RandR 1.2 protocol. 2908a0d3b6eaSmrg 2909a0d3b6eaSmrg Yes, xrandr12 will be merged with xrandr before release; it's just for 2910a0d3b6eaSmrg debugging at present. 2911a0d3b6eaSmrg 2912a0d3b6eaSmrgcommit f88f8e79724b27f46a836fac4956cbe28749633a 2913a0d3b6eaSmrgAuthor: Adam Jackson <ajax@nwnk.net> 2914a0d3b6eaSmrgDate: Wed Apr 26 23:43:34 2006 +0000 2915a0d3b6eaSmrg 2916a0d3b6eaSmrg Bump to 1.0.2 2917a0d3b6eaSmrg 2918a0d3b6eaSmrgcommit 47c6288e63ebe7a9bb2f3225e7d5a235bd979a5f 2919a0d3b6eaSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 2920a0d3b6eaSmrgDate: Tue Apr 25 22:54:01 2006 +0000 2921a0d3b6eaSmrg 2922a0d3b6eaSmrg Don't try to fprintf a NULL string when -display wasn't passed and 2923a0d3b6eaSmrg connecting to $DISPLAY failed, since that segfaults on some platforms. 2924a0d3b6eaSmrg 2925a0d3b6eaSmrgcommit 0197bfdddca98c72bca0eeee349b90027638fc32 2926a0d3b6eaSmrgAuthor: Adam Jackson <ajax@nwnk.net> 2927a0d3b6eaSmrgDate: Mon Mar 20 18:56:37 2006 +0000 2928a0d3b6eaSmrg 2929a0d3b6eaSmrg Bug #5511, #5512: Print more sensible error messages when fed broken 2930a0d3b6eaSmrg command lines. (Bill Crawford) 2931a0d3b6eaSmrg 2932a0d3b6eaSmrgcommit 4f785cb5db6d95c9f539500e7b202a0f5addd19f 2933a0d3b6eaSmrgAuthor: Kevin E Martin <kem@kem.org> 2934a0d3b6eaSmrgDate: Wed Dec 21 02:29:53 2005 +0000 2935a0d3b6eaSmrg 2936a0d3b6eaSmrg Update package version for X11R7 release. 2937a0d3b6eaSmrg 2938a0d3b6eaSmrgcommit 83491d233781c9e6a362aa8bac1ab4f2a239fdee 2939a0d3b6eaSmrgAuthor: Adam Jackson <ajax@nwnk.net> 2940a0d3b6eaSmrgDate: Mon Dec 19 16:22:46 2005 +0000 2941a0d3b6eaSmrg 2942a0d3b6eaSmrg Stub COPYING files 2943a0d3b6eaSmrg 2944a0d3b6eaSmrgcommit 5d09a0b505a2c08b81879e61173459d23f4c41db 2945a0d3b6eaSmrgAuthor: Kevin E Martin <kem@kem.org> 2946a0d3b6eaSmrgDate: Thu Dec 15 00:24:10 2005 +0000 2947a0d3b6eaSmrg 2948a0d3b6eaSmrg Update package version number for final X11R7 release candidate. 2949a0d3b6eaSmrg 2950a0d3b6eaSmrgcommit 3e0eb5b6f68ef9120153e7f01b4243ad4fa44254 2951a0d3b6eaSmrgAuthor: Kevin E Martin <kem@kem.org> 2952a0d3b6eaSmrgDate: Tue Dec 6 22:48:25 2005 +0000 2953a0d3b6eaSmrg 2954a0d3b6eaSmrg Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 2955a0d3b6eaSmrg 2956a0d3b6eaSmrgcommit d52f178dc51182e14d5d7ad9f2842f3e1d30a57f 2957a0d3b6eaSmrgAuthor: Kevin E Martin <kem@kem.org> 2958a0d3b6eaSmrgDate: Sat Dec 3 05:49:27 2005 +0000 2959a0d3b6eaSmrg 2960a0d3b6eaSmrg Update package version number for X11R7 RC3 release. 2961a0d3b6eaSmrg 2962a0d3b6eaSmrgcommit f3b3596d181a7ab89b90561490f822171ec77479 2963a0d3b6eaSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 2964a0d3b6eaSmrgDate: Mon Nov 28 22:01:46 2005 +0000 2965a0d3b6eaSmrg 2966a0d3b6eaSmrg Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4 2967a0d3b6eaSmrg update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir) 2968a0d3b6eaSmrg 2969a0d3b6eaSmrgcommit 28c2280644f808c89e42e379b531fbb0fdf39bc7 2970a0d3b6eaSmrgAuthor: Eric Anholt <anholt@freebsd.org> 2971a0d3b6eaSmrgDate: Mon Nov 21 10:35:07 2005 +0000 2972a0d3b6eaSmrg 2973a0d3b6eaSmrg Another pass at .cvsignores for apps. 2974a0d3b6eaSmrg 2975a0d3b6eaSmrgcommit e5ab923625baf41a59e033abf3527709c8ef255b 2976a0d3b6eaSmrgAuthor: Eric Anholt <anholt@freebsd.org> 2977a0d3b6eaSmrgDate: Sun Nov 20 22:08:55 2005 +0000 2978a0d3b6eaSmrg 2979a0d3b6eaSmrg Add/improve .cvsignore files for apps. 2980a0d3b6eaSmrg 2981a0d3b6eaSmrgcommit 7e1cf1fef9dd000569dd5390380fb567314644a5 2982a0d3b6eaSmrgAuthor: Kevin E Martin <kem@kem.org> 2983a0d3b6eaSmrgDate: Sat Nov 19 07:15:38 2005 +0000 2984a0d3b6eaSmrg 2985a0d3b6eaSmrg Update pkgconfig files to separate library build-time dependencies from 2986a0d3b6eaSmrg application build-time dependencies, and update package deps to work 2987a0d3b6eaSmrg with separate build roots. 2988a0d3b6eaSmrg 2989a0d3b6eaSmrgcommit 89ab28833d4e2ff412a92bb2b47af2d78a109c00 2990a0d3b6eaSmrgAuthor: Kevin E Martin <kem@kem.org> 2991a0d3b6eaSmrgDate: Wed Oct 19 02:47:57 2005 +0000 2992a0d3b6eaSmrg 2993a0d3b6eaSmrg Update package version number for RC1 release. 2994a0d3b6eaSmrg 2995a0d3b6eaSmrgcommit 60178bb0c8bc97055c9aee7986866ada615491e6 2996a0d3b6eaSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 2997a0d3b6eaSmrgDate: Mon Oct 17 23:56:24 2005 +0000 2998a0d3b6eaSmrg 2999a0d3b6eaSmrg Use @APP_MAN_SUFFIX@ instead of $(APP_MAN_SUFFIX) in macro substitutions to 3000a0d3b6eaSmrg work better with BSD make 3001a0d3b6eaSmrg 3002a0d3b6eaSmrgcommit 958b347b1e5e427858d3e693e5487ec7ba4f5054 3003a0d3b6eaSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 3004a0d3b6eaSmrgDate: Fri Oct 14 00:25:47 2005 +0000 3005a0d3b6eaSmrg 3006a0d3b6eaSmrg Use sed to fill in variables in man page 3007a0d3b6eaSmrg 3008a0d3b6eaSmrgcommit 35e7414c6e4505b2e71be0e54ed0c7ff74f39db1 3009a0d3b6eaSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 3010a0d3b6eaSmrgDate: Thu Oct 6 10:03:08 2005 +0000 3011a0d3b6eaSmrg 3012a0d3b6eaSmrg Tell the user when setting the screen configuration fails. Return nonzero 3013a0d3b6eaSmrg so scripts can find out too. 3014a0d3b6eaSmrg 3015a0d3b6eaSmrgcommit 938ff7de3f2bc4979bbf8a5f68190cde2be12696 3016a0d3b6eaSmrgAuthor: Kevin E Martin <kem@kem.org> 3017a0d3b6eaSmrgDate: Fri Jul 29 21:22:37 2005 +0000 3018a0d3b6eaSmrg 3019a0d3b6eaSmrg Various changes preparing packages for RC0: 3020a0d3b6eaSmrg - Verify and update package version numbers as needed 3021a0d3b6eaSmrg - Implement versioning scheme 3022a0d3b6eaSmrg - Change bug address to point to bugzilla bug entry form 3023a0d3b6eaSmrg - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to 3024a0d3b6eaSmrg reenable it) 3025a0d3b6eaSmrg - Fix makedepend to use pkgconfig and pass distcheck 3026a0d3b6eaSmrg - Update build script to build macros first 3027a0d3b6eaSmrg - Update modular Xorg version 3028a0d3b6eaSmrg 3029a0d3b6eaSmrgcommit f241e34fd0f3bedf5aa615dc8e17352b91de8cd9 3030a0d3b6eaSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 3031a0d3b6eaSmrgDate: Fri Jul 22 07:18:28 2005 +0000 3032a0d3b6eaSmrg 3033a0d3b6eaSmrg Fix path to man pages. 3034a0d3b6eaSmrg 3035a0d3b6eaSmrgcommit f87ac740a20ec3e8b452959081816f5fddeaaf87 3036a0d3b6eaSmrgAuthor: Adam Jackson <ajax@nwnk.net> 3037a0d3b6eaSmrgDate: Wed Jul 20 19:32:03 2005 +0000 3038a0d3b6eaSmrg 3039a0d3b6eaSmrg Use a unique token for PKG_CHECK_MODULES. Otherwise, if you use a global 3040a0d3b6eaSmrg configure cache, you cache it, and the cached value is probably wrong. 3041a0d3b6eaSmrg 3042a0d3b6eaSmrgcommit 5666f22654447eb381186a85a8e1630d419b0a88 304309113985SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 3044a0d3b6eaSmrgDate: Fri Jul 1 20:27:45 2005 +0000 3045a0d3b6eaSmrg 3046a0d3b6eaSmrg Build systems for xrdb, xrandr, xrefresh 3047a0d3b6eaSmrg 3048a0d3b6eaSmrgcommit 39a8c733612722dca456c315a5ad299da1fe29d6 3049a0d3b6eaSmrgAuthor: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 3050a0d3b6eaSmrgDate: Sat Dec 4 00:43:18 2004 +0000 3051a0d3b6eaSmrg 3052a0d3b6eaSmrg Encoding of numerous files changed to UTF-8 3053a0d3b6eaSmrg 3054a0d3b6eaSmrgcommit df8c56f1f66cce27dd018248a30cd9465d2b545c 3055a0d3b6eaSmrgAuthor: Egbert Eich <eich@suse.de> 3056a0d3b6eaSmrgDate: Fri Apr 23 19:55:03 2004 +0000 3057a0d3b6eaSmrg 3058a0d3b6eaSmrg Merging XORG-CURRENT into trunk 3059a0d3b6eaSmrg 3060a0d3b6eaSmrgcommit 791685e93f32489dcd2d02a77e1a79ffb6c97c17 3061a0d3b6eaSmrgAuthor: Egbert Eich <eich@suse.de> 3062a0d3b6eaSmrgDate: Sun Mar 14 08:35:42 2004 +0000 3063a0d3b6eaSmrg 3064a0d3b6eaSmrg Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004 3065a0d3b6eaSmrg 3066a0d3b6eaSmrgcommit 342e5f4d491f137e3930213e62192de3eece3155 3067a0d3b6eaSmrgAuthor: Egbert Eich <eich@suse.de> 3068a0d3b6eaSmrgDate: Wed Mar 3 12:13:15 2004 +0000 3069a0d3b6eaSmrg 3070a0d3b6eaSmrg Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004 3071a0d3b6eaSmrg 3072a0d3b6eaSmrgcommit e3c0383c8fdcf38d34b3fad607949b0693184ca7 3073a0d3b6eaSmrgAuthor: Egbert Eich <eich@suse.de> 3074a0d3b6eaSmrgDate: Thu Feb 26 13:36:26 2004 +0000 3075a0d3b6eaSmrg 3076a0d3b6eaSmrg readding XFree86's cvs IDs 3077a0d3b6eaSmrg 3078a0d3b6eaSmrgcommit 633350fa648d2b57b3dd94cb1d220a0b826bef55 3079a0d3b6eaSmrgAuthor: Egbert Eich <eich@suse.de> 3080a0d3b6eaSmrgDate: Thu Feb 26 09:24:14 2004 +0000 3081a0d3b6eaSmrg 3082a0d3b6eaSmrg Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 3083a0d3b6eaSmrg 3084a0d3b6eaSmrgcommit 22c66075090a14ad022ae73a080e76a5ace7c5d1 3085a0d3b6eaSmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 3086a0d3b6eaSmrgDate: Tue Nov 25 19:29:15 2003 +0000 3087a0d3b6eaSmrg 3088a0d3b6eaSmrg XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks 3089a0d3b6eaSmrg 3090a0d3b6eaSmrgcommit 05fa20267de7cdf44fb6de556910ed0e4ce665a5 3091a0d3b6eaSmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 3092a0d3b6eaSmrgDate: Fri Nov 14 16:49:23 2003 +0000 3093a0d3b6eaSmrg 3094a0d3b6eaSmrg XFree86 4.3.0.1 3095a0d3b6eaSmrg 3096a0d3b6eaSmrgcommit c973a27b6d07b8711041c0c22ba8568f168b447a 3097a0d3b6eaSmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 3098a0d3b6eaSmrgDate: Fri Nov 14 16:49:23 2003 +0000 3099a0d3b6eaSmrg 3100a0d3b6eaSmrg Initial revision 3101