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