ChangeLog revision 09113985
1commit 6f714830da6c8d74f024be6b0bb32c1ea39c1217 2Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3Date: Sat Dec 3 15:47:06 2022 -0800 4 5 xrandr 1.5.2 6 7 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8 9commit 213e10f1996b08305df55c237c90152227e0c5f7 10Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11Date: Fri Oct 28 18:29:04 2022 -0700 12 13 Constify array argument to find_last_non_clamped() 14 15 Suggested by cppcheck: 16 17 xrandr.c:1046:30: style: Parameter 'array' can be declared with const [constParameter] 18 find_last_non_clamped(CARD16 array[], int size) 19 ^ 20 21 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 22 23commit fc331d39447412320e856f56bab88613264cd8f5 24Author: Alan Coopersmith <alan.coopersmith@oracle.com> 25Date: Fri Oct 28 18:25:19 2022 -0700 26 27 Remove unused definition of rectangle_t 28 29 Was added in commit 854a7c2916455fec5e but never used. 30 Reported by cppcheck unusedStructMember warning. 31 32 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 33 34commit e8c4a2727196c8f9bf76df30c5c0a8671e0e5dfe 35Author: Alan Coopersmith <alan.coopersmith@oracle.com> 36Date: Fri Oct 28 18:22:11 2022 -0700 37 38 Remove unused macros left over from original RandR 1.2 code 39 40 Use of these was removed in commit cb017692883daf64 in 2006. 41 Reported by clang -Wunused-macros 42 43 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 44 45commit 3613fea4472741d8423c38a82e5569739d53bbb7 46Author: Alan Coopersmith <alan.coopersmith@oracle.com> 47Date: Fri Oct 28 18:09:58 2022 -0700 48 49 Fix a -Wsign-compare warning 50 51 xrandr.c: In function ‘main’: 52 xrandr.c:2780:24: warning: comparison between signed and unsigned integer 53 expressions [-Wsign-compare] 54 for (int t = 0; t < sizeof(filter_names) / sizeof(filter_names[0]); t++) 55 ^ 56 57 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 58 59commit 289722fc8f2c9916a9631c7e4c796269b99b98f8 60Author: Alan Coopersmith <alan.coopersmith@oracle.com> 61Date: Fri Oct 28 18:07:20 2022 -0700 62 63 Variable scope reductions as suggested by cppcheck 64 65 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 66 67commit 8231beec67ee274d10b5d4c5b910d673dc6d1cc8 68Author: Alan Coopersmith <alan.coopersmith@oracle.com> 69Date: Thu Jul 28 17:30:21 2022 -0700 70 71 gitlab CI: stop requiring Signed-off-by in commits 72 73 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 74 75commit 2fb90d4d626dcc0432f96da3fa438724d637bdd3 76Author: Alan Coopersmith <alan.coopersmith@oracle.com> 77Date: Sun Jan 9 12:38:26 2022 -0800 78 79 Fix spelling/wording issues 80 81 Found by using: 82 codespell --builtin clear,rare,usage,informal,code,names 83 84 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 85 86commit 296effc3ac7b2f095e889488d82e9d1a4fffd824 87Author: Alan Coopersmith <alan.coopersmith@oracle.com> 88Date: Tue Dec 7 13:34:30 2021 -0800 89 90 gitlab CI: add a basic build test 91 92 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 93 94commit 824484e5ba50f1e6858ea990393c181a249c3a5e 95Author: Matt Turner <mattst88@gmail.com> 96Date: Mon Aug 12 10:42:41 2019 -0700 97 98 xrandr 1.5.1 99 100 Signed-off-by: Matt Turner <mattst88@gmail.com> 101 102commit edac280f06da2ad2256c710f95b34253202e6e49 103Author: Matt Turner <mattst88@gmail.com> 104Date: Mon Aug 12 10:49:52 2019 -0700 105 106 Build xz tarballs instead of bzip2 107 108 Signed-off-by: Matt Turner <mattst88@gmail.com> 109 110commit 829ed54d89bb37c9e2f8050fe72bd4ecf7b5395a 111Author: Vladimir Panteleev <git@thecybershadow.net> 112Date: Thu Dec 20 11:28:51 2018 +0000 113 114 xrandr: Fix deleting inactive monitors 115 116 The following commands did not behave correctly: 117 118 xrandr --setmonitor empty auto none 119 xrandr --delmonitor empty 120 121 The second command failed with "No monitor named 'empty'". This 122 occurred because get_monitors was invoked with its get_active argument 123 set to False, which caused it to not retrieve inactive monitors. Thus, 124 inactive monitors could not be deleted. 125 126 Fix this bug by invoking get_monitors (and, thus, XRRGetMonitors) with 127 get_active = False, thus enabling deletion of disabled monitors. 128 129 Signed-off-by: Matt Turner <mattst88@gmail.com> 130 131commit 9e5fa7c8c26f78e121ffad0d7a745a674c4a1849 132Author: Adam Simpkins <adam@adamsimpkins.net> 133Date: Thu Aug 3 15:11:53 2017 -0700 134 135 xrandr: fix crash if some modes cannot be found 136 137 When printing modes in "xrandr -q", check to see if we failed to look up 138 mode information from a mode XID. Previously the command would 139 dereference null and crash if the mode information could not be found. 140 141 When using an external HDMI monitor on a laptop with a Skylake Intel 142 graphics chipset "xrandr -q" occasionally is unable to look up mode 143 information for some of the modes. It seems likely there is some other 144 sort of library or driver issue causing these lookup failures, but this 145 change to xrandr at least prevents it from segfaulting. 146 147 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 148 149commit 3316ccaca35dc5fc6b6e3b5826e222cd648eb9c9 150Author: Alan Coopersmith <alan.coopersmith@oracle.com> 151Date: Wed Nov 21 17:17:09 2018 -0800 152 153 Update configure.ac bug URL for gitlab migration 154 155 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 156 157commit 004681fb9c71256feb49e2bda203819654b0a05f 158Author: Alan Coopersmith <alan.coopersmith@oracle.com> 159Date: Fri Nov 16 22:47:41 2018 -0800 160 161 Update README for gitlab migration 162 163 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 164 165commit a2134406ab0aef44e7b710e1e2a2a40965e96692 166Author: Peter Hutterer <peter.hutterer@who-t.net> 167Date: Thu Sep 13 09:44:16 2018 +1000 168 169 init the name to 0 170 171 There are a few conditions where coverity finds a use of an uninitialized 172 field of the name_t struct. These are rather messy combinations of conditions, 173 so let's go with the simple solution here and just init everything to 0. 174 This may still have side-effects but at least they'll be more obvious than the 175 previous "use whatever memory is leftover from breakfast". 176 177 This patch also adds a missing init_name(), much for the same reason. 178 179 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 180 181commit 9882680c9f7f433a47514a9cb799c79e3e10a024 182Author: Pali Rohár <pali.rohar@gmail.com> 183Date: Sat Mar 10 16:23:29 2018 +0100 184 185 Document that --dpi and --fbmm options set DPI of whole X screen 186 187 Explicitly document and make it clear that those options do not change 188 DPI of some monitor output. Also state that these options have no useful 189 meaning for multi-monitor configuration. 190 191 Signed-off-by: Pali Rohár <pali.rohar@gmail.com> 192 Reviewed-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 193 194commit da61a8bd95bd20d45397eee6a6c0d3ad5a50c399 195Author: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 196Date: Tue Feb 6 22:02:42 2018 +0100 197 198 xrandr: gamma and scaling factors must be positive 199 200 Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 201 Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 202 Reviewed-by: Keith Packard <keithp@keithp.com> 203 204commit 5e95248b5bab1254ecedffb6cb681b0ee06c0f29 205Author: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 206Date: Mon Feb 5 02:01:21 2018 +0100 207 208 xrandr.man: document the monitor manipulation options 209 210 Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 211 Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 212 Reviewed-by: Keith Packard <keithp@keithp.com> 213 214commit cf25d585df5582d29528acc35f1c91dcb98b0f00 215Author: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 216Date: Mon Feb 5 01:31:15 2018 +0100 217 218 xrandr: allow single value for --gamma 219 220 Similarly to --scale, accept a single value to be used for all three 221 components, and refuse values with extra junk after the acceptable 222 values. 223 224 Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 225 Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 226 Reviewed-by: Keith Packard <keithp@keithp.com> 227 228commit 289bc0f1c53d8bc488d96e7f79afabd361758e08 229Author: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 230Date: Sun Jul 16 14:57:40 2017 +0200 231 232 xrandr.man: grammar tuning 233 234 Rephrase the --scale option paragraph to improve English and be more 235 consistent in choice of plurals and tense. Also ensure that each 236 sentence starts on a new line in the roff source. 237 238 Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 239 Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 240 Reviewed-by: Keith Packard <keithp@keithp.com> 241 242commit 635a4c8bc9f81852dc77b5dc9de1ce5825849a7f 243Author: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 244Date: Sun Jul 16 15:05:21 2017 +0200 245 246 xrandr: stricter --scale argument parsing 247 248 We used to accept something like --scale 2x3junk as a valid input 249 (scaling x by 2 and y by 3), even though this isn't really a valid 250 scaling factor. 251 252 Fix by making sure there is nothing after the parsed number(s). 253 254 Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 255 Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 256 Reviewed-by: Keith Packard <keithp@keithp.com> 257 258commit 4e655b2cfc79b02d0ca7cea82b09f1f1133f1a0a 259Author: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 260Date: Wed May 17 17:20:50 2017 +0200 261 262 xrandr: allow a single value for --scale 263 264 This allows using e.g. --scale 0.5 as a shorthand for --scale 0.5x0.5 265 266 Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 267 Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 268 Reviewed-by: Keith Packard <keithp@keithp.com> 269 270commit 8969b3c651eaae3e3a2370ec45f4eeae9750111d 271Author: Aaron Plattner <aplattner@nvidia.com> 272Date: Thu Jun 1 15:45:59 2017 -0700 273 274 man: Document the new --filter option 275 276 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 277 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 278 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 279 280commit 6ac2afc0d7d8d51d4085767b901667393c11061b 281Author: Pablo De La Garza <pdelagarza@nvidia.com> 282Date: Thu Mar 23 16:05:02 2017 -0700 283 284 xrandr: Add a "--filter" flag 285 286 Flag can be set to "nearest" or "bilinear" 287 288 Signed-off-by: Pablo De La Garza <pdelagarza@nvidia.com> 289 [aplattner@nvidia.com: Fixed style and whitespace] 290 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 291 292commit 5d5db88d106a49d7560a8042fa054df8b609f00a 293Author: Pali Rohár <pali.rohar@gmail.com> 294Date: Sun May 28 23:33:26 2017 +0200 295 296 Document format of --dpi option in non-ambiguous way 297 298 Slash in previous documentation could be misunderstood as part of the 299 --dpi command line option. So fix it. 300 301 Signed-off-by: Pali Rohár <pali.rohar@gmail.com> 302 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 303 304commit 215a01f1513f918e7295a8a477d4674f7b8085f0 305Author: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 306Date: Wed Jan 18 08:52:23 2017 +0100 307 308 xrandr: suppress misleading indentation warning 309 310 When printing out rotations, we print a space before any item other than 311 the first, and set `first = False` in each block where we print. 312 However, this is done in the same line as the conditional that checks if 313 first is set, which may give the impression that the assignment is also 314 under the conditional. This is not the case, and recent GCC warns about 315 this. 316 317 Move the assignment to after we print the value we want to print, which 318 (1) doesn't mislead about the indentation, and 319 (2) makes logical sense as the _next_ entry is what won't be the first. 320 321 Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 322 323commit 85e95db7120da3bdaf9efb3033be5f9338e6c328 324Author: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 325Date: Wed Jan 18 08:52:09 2017 +0100 326 327 xrandr: document that we accept '--dpi output' 328 329 Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 330 331commit 1b561d25d197069a4a2c8b5d4007938b669ee612 332Author: Mihail Konev <k.mvc@ya.ru> 333Date: Thu Jan 26 14:00:21 2017 +1000 334 335 autogen: add default patch prefix 336 337 Signed-off-by: Mihail Konev <k.mvc@ya.ru> 338 339commit f84206b8cdbb9c6211c845da92492346bae8fde0 340Author: Emil Velikov <emil.l.velikov@gmail.com> 341Date: Mon Mar 9 12:00:52 2015 +0000 342 343 autogen.sh: use quoted string variables 344 345 Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent 346 fall-outs, when they contain space. 347 348 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 349 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 350 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 351 352commit bd3f2f58351a038469c7adc6be7650087433f6f4 353Author: Peter Hutterer <peter.hutterer@who-t.net> 354Date: Tue Jan 24 10:32:07 2017 +1000 355 356 autogen.sh: use exec instead of waiting for configure to finish 357 358 Syncs the invocation of configure with the one from the server. 359 360 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 361 Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 362 363commit 65fd628cdfd1c95bd01a50706d4577655d1dd404 364Author: Aaron Plattner <aplattner@nvidia.com> 365Date: Tue Feb 23 10:22:26 2016 -0800 366 367 xrandr 1.5.0 368 369 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 370 371commit d62030b506f6b686ffe1e750ea9d3a855beec1f0 372Author: Chris Wilson <chris@chris-wilson.co.uk> 373Date: Sun Sep 13 11:40:37 2015 +0100 374 375 Only use the current information when setting modes 376 377 Before we change the state (e.g. adding a mode or applying one to an 378 output), we query the screen resources for the right identifiers. This 379 should only use the current information rather than force a reprobe on 380 all hardware - not only can that reprobe be very slow (e.g. EDID 381 timeouts on the order of seconds), but it may perturb the setup that the 382 user is trying to configure. 383 384 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> 385 386commit 3d03be780fca4949b11ead46c5ea5d3266c03c32 387Author: Chris Wilson <chris@chris-wilson.co.uk> 388Date: Thu Jun 18 08:27:49 2015 +0100 389 390 Mark all CRTC as currently unused for second picking CRTC pass 391 392 We perform two passes over the CRTC in order to find the preferred CRTC 393 for each enabled output. In the first pass, we try to preserve the 394 existing output <-> CRTC relationships (to avoid unnecessary flicker). 395 If that pass fails, we try again but with all outputs first disabled. 396 However, the logic to preserve an active CRTC was not disabled along 397 with the outputs - meaning that if one was active but its associated 398 output was disabled by the user, then that CRTC would remain unavailable 399 for other outputs. The result would be that we would try to assign more 400 CRTC than available (i.e. if the user request 3 new HDMI outputs on a 401 system with only 3 CRTC, and wished to switch off an active internal 402 panel, we would report "cannot find CRTC" even though that configuration 403 could be established.) 404 405 Reported-and-tested-by: Nathan Schulte <nmschulte@gmail.com> 406 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> 407 408commit 53ef3fc13b3e282902892e3140765460c6f93276 409Author: Chris Wilson <chris@chris-wilson.co.uk> 410Date: Thu Jun 18 08:27:48 2015 +0100 411 412 Mark disabling an output as a change in its CRTC 413 414 When an output is disabled via the cmdline, we can use that information 415 to prevent assigning the current CRTC to the output and free it up for 416 reuse by other outputs in the first pass of picking CRTC. 417 418 Reported-and-tested-by: Nathan Schulte <nmschulte@gmail.com> 419 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> 420 421commit 09989b09a342b273ee30e1d96267dced3cbe61b0 422Author: Aaron Plattner <aplattner@nvidia.com> 423Date: Thu Apr 9 11:14:54 2015 -0700 424 425 Split verbose mode printing into a helper function 426 427 Combine the two forms of verbose mode printing into a single function. Pass the 428 'current' and 'preferred' flags as arguments. This fixes the code that prints 429 unassociated modes to print the flags as well. 430 431 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 432 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> 433 434commit d06730e94320175d40ff6f2bb38dce55312f2e54 435Author: Keith Packard <keithp@keithp.com> 436Date: Tue Dec 16 01:57:45 2014 -0800 437 438 Add monitor support (v2) 439 440 This adds the ability to query, set and delete monitors 441 442 v2: [airlied] add list active monitors 443 444 Reviewed-by: Dave Airlie <airlied@redhat.com> 445 Signed-off-by: Keith Packard <keithp@keithp.com> 446 447commit 3076c3494b6f3f00b9c4509c2dab6f40858af4cf 448Author: Dave Airlie <airlied@redhat.com> 449Date: Tue Mar 31 11:49:00 2015 +1000 450 451 xrandr: don't return NULL from a void 452 453 Reported-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 454 Signed-off-by: Dave Airlie <airlied@redhat.com> 455 456commit 6957ad0cf3cdd10e8f4a5638b36f25c7a9b4ea25 457Author: Dave Airlie <airlied@redhat.com> 458Date: Mon Mar 30 14:51:49 2015 +1000 459 460 xrandr: parse property returns correctly. 461 462 Xlib uses longs for 32-bit, so when we get values back they 463 are in longs, this fixes the xrandr parsing code to parse 464 the correct sized values according to Xlib. 465 466 Reviewed-by: Keith Packard <keithp@keithp.com> 467 Signed-off-by: Dave Airlie <airlied@redhat.com> 468 469commit f429a517684e8f99c15bc2858e62bbd112331456 470Author: Keith Packard <keithp@keithp.com> 471Date: Wed Oct 8 13:16:07 2014 +0200 472 473 keystone: Report matrix error. Deal with "primary" in xrandr output 474 475 Compute the error cause by the fixed point matrix representation and 476 display that. 477 478 Accept the 'primary' word found in xrandr output and ignore it. 479 480 Signed-off-by: Keith Packard <keithp@keithp.com> 481 482commit 527d83dde0cb78cbfbb67d203d073e41e110d4a1 483Author: Keith Packard <keithp@keithp.com> 484Date: Mon Jul 9 10:52:52 2012 -0700 485 486 Increase keystone.5c default window size 487 488commit 9887ed4989e0abd48004598be0eb5cb06fa40bd1 489Author: Aaron Plattner <aplattner@nvidia.com> 490Date: Fri Aug 1 23:14:42 2014 -0700 491 492 xrandr 1.4.3 493 494 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 495 496commit 20d76f773cf8de474cf7a3f1082961605732c3f1 497Merge: 00477d8 193a358 498Author: Aaron Plattner <aplattner@nvidia.com> 499Date: Fri Aug 1 23:10:46 2014 -0700 500 501 Merge commit '193a358' 502 503 Conflicts: 504 xrandr.c 505 506commit 193a358563a59c1a3fc55f55029c605e2419c80b 507Author: Stéphane Aulery <lkppo@free.fr> 508Date: Sat Jun 29 16:50:25 2013 -0700 509 510 Mention of --brightness with -h option 511 512 Reported by jidanni at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709569 513 514 Signed-off-by: Stéphane Aulery <lkppo@free.fr> 515 Reviewed-By: Matt Dew <marcoz@osource.org> 516 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 517 518commit 00477d88297eaa6c87aa144548590c32540e3928 519Author: Connor Behan <connor.behan@gmail.com> 520Date: Tue Jun 10 23:56:12 2014 -0700 521 522 Allow -x and -y switches to undo themselves 523 524 People who want to dick around might think it is safe to run "xrandr -x" 525 before they know any of the other syntax. When "xrandr -x" again does 526 not get back to a normal screen, they are stuck having to read a manpage 527 with reflected text. 528 529 Signed-off-by: Connor Behan <connor.behan@gmail.com> 530 Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 531 Tested-by: Aaron Plattner <aplattner@nvidia.com> 532 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 533 534commit 7d464312fb84c080a6e287edd21a794193a0dd78 535Author: Connor Behan <connor.behan@gmail.com> 536Date: Sun Jun 1 16:35:50 2014 -0700 537 538 Remove duplicate printing of the axis 539 540 Even in verbose mode, why print the same information twice? 541 542 Signed-off-by: Connor Behan <connor.behan@gmail.com> 543 Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 544 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 545 546commit 792f05ea20d5191425154470760e36dcf023c6e9 547Author: Dominik Behr <dbehr@chromium.org> 548Date: Tue Apr 1 18:38:05 2014 -0700 549 550 xrandr: use full range for gamma table generation 551 552 Calculate gamma table using full [0,65536) range and do not make any 553 assumptions about relation of gamma table size and significant bits. 554 555 Gamma table size has nothing to do with number of significant bits in hardware. 556 In particular we are dealing now with gamma table that has 17 entries and 8 557 bit precision, there are other GPUs with 10 bit precision and less than 256 558 entries using partial linear approximation. Deriving assumed gamma table 559 significant bits from size of gamma table leads to incorrect calculations and 560 loss of precision. Also XRandR specification never mentions that gamma tables 561 need to be power of 2. 562 563 Signed-off-by: Dominik Behr <dbehr@chromium.org> 564 Reviewed-by: Stéphane Marchesin <marcheu@chromium.org> 565 566commit 866366d0825c3f488abd58960e4f76ae50de08d1 567Author: Thomas Klausner <wiz@NetBSD.org> 568Date: Sat Mar 29 00:50:17 2014 +0100 569 570 Remove unnecessary parentheses. 571 572 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 573 Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 574 575commit 31f5fa6a47db154abb47cf16e9f6cc4d983ad371 576Author: Aaron Plattner <aplattner@nvidia.com> 577Date: Thu Mar 27 11:37:07 2014 -0700 578 579 xrandr 1.4.2 580 581 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 582 583commit 934a424a05a296c0b8af015476e11b191d55eba3 584Author: Aaron Plattner <aplattner@nvidia.com> 585Date: Fri Mar 21 10:35:56 2014 -0700 586 587 xrandr: document how to disconnect RandR 1.4 providers 588 589 Commit a6217be2d5a93a4c7b48f4081a4a8e14c3c97014 restored the ability to 590 disconnect RandR 1.4 providers from each other, but it's not clear from the 591 documentation how to actually do that. Try to clarify by mentioning it in the 592 man page. 593 594 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 595 Reviewed-by: Dave Airlie <airlied@redhat.com> 596 597commit a6217be2d5a93a4c7b48f4081a4a8e14c3c97014 598Author: Dave Airlie <airlied@gmail.com> 599Date: Fri May 3 10:05:04 2013 +1000 600 601 xrandr: allow disconnecting of offload and outputs 602 603 Before the lookup code passing a 0 XID would disconnect, 604 this fixes it backup. 605 606 Signed-off-by: Dave Airlie <airlied@redhat.com> 607 Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 608 Tested-by: Aaron Plattner <aplattner@nvidia.com> 609 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 610 611commit 00c795e99fe29ecd56e05e915e508c7af0ac39ad 612Author: Ville Syrjälä < <ville.syrjala@linux.intel.com> 613Date: Fri May 31 17:01:54 2013 +0300 614 615 xrandr: Use floating point for VTotal when calculating refresh rate 616 617 Interlaced modes generally have an odd VTotal, so we lose half a line 618 from VTotal when we divide by two. That causes the final refresh rate 619 to be slightly off. Make VTotal a double to avoid the problem. 620 621 Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> 622 Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 623 624commit 8f9b993342fddfceaa1afbec2996ce10038f10d7 625Author: Ville Syrjälä < <ville.syrjala@linux.intel.com> 626Date: Fri May 31 17:01:53 2013 +0300 627 628 xrandr: Use more decimal places when printing various rates 629 630 Using just one decimal place for dotclock and refresh rates loses quite 631 a bit of information. When dealing with 60Hz vs. 59.94Hz refresh rate 632 modes for example, it's useful to see at least two decimal places. For 633 the dotclock in similar cases, three decimal places seems quite a bit 634 better than just one. 635 636 Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> 637 Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 638 639commit 7ede207f9064fd88427026e38818819c2c8422bb 640Author: Aaron Plattner <aplattner@nvidia.com> 641Date: Fri Jan 3 05:48:17 2014 -0800 642 643 Special-case printing of the GUID property 644 645 Rather than printing GUIDs as 16 signed decimal integers, print them in 646 {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} format. 647 648 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 649 Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 650 651commit e7a19c8b5a26c8bfd76a7399a1a15eac01184261 652Author: Aaron Plattner <aplattner@nvidia.com> 653Date: Fri Jan 3 05:22:02 2014 -0800 654 655 Move EDID printing into a helper function 656 657 Localize the specialness of EDID printing by moving it into a single function, 658 print_edid, which prints the binary EDID data. Remove the is_edid parameter 659 from everything else. 660 661 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 662 Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 663 664commit a29728ca9599fd08da1243e9b422ac26a24cc05b 665Author: Aaron Plattner <aplattner@nvidia.com> 666Date: Fri Jan 3 05:14:35 2014 -0800 667 668 Split output property printing into a helper function 669 670 Move the body of the code that prints the actual output property values into a 671 helper function. This will make it easier for this function to select 672 special-case property printers for properties that need special formatting. 673 674 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 675 Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 676 677commit c5334bb4137d6ea7b8c8b10d51131b9450d1106b 678Author: Alan Coopersmith <alan.coopersmith@oracle.com> 679Date: Tue Jul 16 23:30:27 2013 -0700 680 681 xrandr 1.4.1 682 683commit 0e0b47341a45c138082d9f8047dcbdb91b90155d 684Author: Alan Coopersmith <alan.coopersmith@oracle.com> 685Date: Sat Jul 13 00:11:41 2013 -0700 686 687 Combine usage message strings 688 689 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 690 691commit 38772ec3b5a7216a88676f95b5edc764dd0a23d6 692Author: Alan Coopersmith <alan.coopersmith@oracle.com> 693Date: Sat Jul 13 00:07:26 2013 -0700 694 695 Declare capability_name() as returning const char * 696 697 Only used as an argument to printf. Clears gcc warnings: 698 xrandr.c: In function ‘capability_name’: 699 xrandr.c:237:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 700 xrandr.c:239:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 701 xrandr.c:241:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 702 xrandr.c:243:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 703 xrandr.c:245:5: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 704 705 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 706 707commit f53d8511d26a26e9bd6b1bc665f6283f1efd98d9 708Author: Thomas <fischer@unix-ag.uni-kl.de> 709Date: Fri Nov 9 14:33:08 2012 +0000 710 711 Bug 56923 - Make command line options consistent (single vs double dash) 712 713 Most of xrandr's command line options follow the system of single 714 dashes for single character options (e.g. "-v") and double dashes for 715 long options ("--version"). The only exceptions are "-display" and 716 "-help", most likely for historical reasons. To make the behavior 717 consistent across all options, the following patch adds "--display" 718 and "--help" as alternatives to the current inconsistency. The man 719 page got updated as well, recommending double-dash variants for both 720 options. The old behavior is still supported, so the patch should not 721 break any existing usage/script. 722 723 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 724 725commit bd1502f50f0c230798bdce99dec6efc76791c024 726Author: Thomas Klausner <wiz@NetBSD.org> 727Date: Sun Jun 2 21:30:39 2013 +0200 728 729 Protect config.h like usual. 730 731 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 732 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 733 734commit ace5e2b21b2a204f94c6452fa0d8f36699aec249 735Author: Andy Ritger <aritger@nvidia.com> 736Date: Thu May 2 01:20:27 2013 -0700 737 738 xrandr: calloc XRRModeInfo's passed to libXrandr. 739 740 The "--newmode" commandline option initializes an XRRModeInfo and passes 741 it into XRRCreateMode(). calloc(3) it to avoid uninitialized fields. 742 For consistency, calloc(3) all the places where umode_t's (the wrapper 743 structure for XRRModeInfo) are allocated. 744 745 Signed-off-by: Andy Ritger <aritger@nvidia.com> 746 Tested-by: Nikhil Mahale <nmahale@nvidia.com> 747 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 748 749commit eb17ad8adc9400f6ed252872f13ccf5551f9e2e9 750Author: Aaron Plattner <aplattner@nvidia.com> 751Date: Thu Feb 28 12:01:53 2013 -0800 752 753 Print spaces between XA_ATOM property values 754 755 Commit b26fd532b3dab222956ea27eef4e41345978b5b2 redid how xrandr prints 756 properties. It neglected to put spaces between the values of XA_ATOM 757 properties, so they all run together. For example, 758 759 audio: auto 760 supported: force-dvioffautoon 761 762 Fix this by putting a space after each atom name. In addition, some drivers 763 create property values with spaces in them, so put commas between entries to 764 disambiguate. For example, 765 766 Broadcast RGB: Automatic 767 supported: Automatic, Full, Limited 16:235 768 769 Do the same for properties with multiple valid ranges. 770 771 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 772 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 773 774commit 222f245fb3a00308cb3ff491f5c84ac9c69c3253 775Author: Aaron Plattner <aplattner@nvidia.com> 776Date: Tue Feb 12 13:24:38 2013 -0800 777 778 xrandr 1.4.0 779 780 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 781 782commit 3e5f160c4198a5160be5e9a3f21ba3f4130d4318 783Merge: dac72db bd16618 784Author: Aaron Plattner <aplattner@nvidia.com> 785Date: Tue Feb 12 12:30:20 2013 -0800 786 787 Merge branch 'fixes' 788 789 Conflicts: 790 xrandr.c 791 792commit bd166184f6c1973ae2f5f99d040733db3e9e82cf 793Author: Aaron Plattner <aplattner@nvidia.com> 794Date: Wed Feb 6 14:21:57 2013 -0800 795 796 Cast XID to unsigned int to suppress a printf warning 797 798 Sorry I forgot about this in commit 138b6252c0cae6599b6c8a25ffa22ffe70f227c2. 799 That change introduced a warning: 800 801 xrandr.c|645 col 5| warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘XID’ [-Wformat] 802 803 Fix that by just casting the XID to unsigned int. 804 805 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 806 Reviewed-by: Daniel Dadap <ddadap@nvidia.com> 807 808commit 7fd4f18b649f22fad4dbf9fc64b69b3e7f172207 809Author: Aaron Plattner <aplattner@nvidia.com> 810Date: Wed Feb 6 11:13:06 2013 -0800 811 812 Bug #37043: adjust refresh rates for doublescan and interlace 813 814 These two flags halve and double, respectively, the effective refresh rate of a 815 mode. 816 817 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 818 Reviewed-by: Daniel Dadap <ddadap@nvidia.com> 819 820commit d752d524027fbc20d9fdee06fed173e454f15370 821Author: Aaron Plattner <aplattner@nvidia.com> 822Date: Wed Feb 6 10:10:03 2013 -0800 823 824 Bug #29603: document that there might be multiple preferred modes 825 826 The X server sorts the mode list for an output with preferred modes first, and 827 specifies how many preferred modes there are by setting the npreferred field in 828 the XRRModeInfo structure. 829 830 Update the man page to refer to preferred modes in the plural, and mention that 831 --auto and --preferred use the *first* preferred mode. 832 833 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 834 Reviewed-by: Daniel Dadap <ddadap@nvidia.com> 835 836commit b2f0bd198b1116e45389a6628b657b722b4102a4 837Author: Aaron Plattner <aplattner@nvidia.com> 838Date: Wed Feb 6 14:11:23 2013 -0800 839 840 Bug #14118: print usage() to stdout, proper errors for bad arguments 841 842 Print the usage() text to stdout instead of stderr, and then only if -help is 843 specified. Also allow --help for consistency. 844 845 For other command line syntax errors, introduce a new helper function argerr() 846 that prints errors of the form 847 848 xrandr: %s 849 Try './xrandr --help' for more information. 850 851 and exits. Use that to print proper error messages. 852 853 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 854 Reviewed-by: Daniel Dadap <ddadap@nvidia.com> 855 856commit 0a26e076e10a3c7461d59c830cdc10688d66824f 857Author: Aaron Plattner <aplattner@nvidia.com> 858Date: Wed Feb 6 13:08:58 2013 -0800 859 860 Bug #11397: check that numeric --orientation arguments are in range 861 862 The only valid parameters to -o (--orientation) are 0, 1, 2, 3, normal, left, 863 inverted, and right. xrandr converts the strings to numbers and then checks 864 that they're within range, but doesn't validate them if it was numeric to begin 865 with. 866 867 Move the range check outside of the if statement so that out-of-range numeric 868 values are rejected properly. 869 870 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 871 Reviewed-by: Daniel Dadap <ddadap@nvidia.com> 872 873commit dac72dbbc7501483eccec71bbf0db05a56756109 874Author: Aaron Plattner <aplattner@nvidia.com> 875Date: Fri Aug 24 21:43:13 2012 -0700 876 877 xrandr: Fix variable declaration warnings 878 879 There are piles of places in the code where a variable shadows either another 880 variable or a global function: 881 882 xrandr.c:545:35: warning: declaration of ‘index’ shadows a global declaration [-Wshadow] 883 xrandr.c:574:9: warning: declaration of ‘index’ shadows a global declaration [-Wshadow] 884 xrandr.c:967:19: warning: declaration of ‘gamma’ shadows a global declaration [-Wshadow] 885 xrandr.c:1329:16: warning: declaration of ‘gamma’ shadows a global declaration [-Wshadow] 886 xrandr.c:2055:28: warning: declaration of ‘outputs’ shadows a global declaration [-Wshadow] 887 xrandr.c:2068:29: warning: declaration of ‘outputs’ shadows a global declaration [-Wshadow] 888 xrandr.c:2928:16: warning: declaration of ‘output’ shadows a previous local [-Wshadow] 889 xrandr.c:2995:15: warning: declaration of ‘output’ shadows a previous local [-Wshadow] 890 xrandr.c:3016:15: warning: declaration of ‘j’ shadows a previous local [-Wshadow] 891 xrandr.c:3018:19: warning: declaration of ‘rotations’ shadows a previous local [-Wshadow] 892 xrandr.c:3116:15: warning: declaration of ‘crtc’ shadows a previous local [-Wshadow] 893 xrandr.c:3170:8: warning: declaration of ‘k’ shadows a previous local [-Wshadow] 894 xrandr.c:3243:20: warning: declaration of ‘mode’ shadows a previous local [-Wshadow] 895 896 'index' and 'gamma' are C library functions: 897 898 index (3) - locate character in string 899 gamma (3) - (logarithm of the) gamma function 900 901 The rest of these are either variables or function parameters. 902 903 When possible, move the declaration of a variable into the block where it is 904 used, including in cases where the same variable is used in multiple blocks but 905 the later block doesn't depend on the value from the earlier block. 906 907 In a few cases, rename the variable in the outer scope to be more specific (e.g. 908 output -> config_output) so the more generic variable in the inner scope (e.g. 909 the 'output' variable used to iterate over all outputs) doesn't have to change. 910 911 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 912 Reviewed-by: Andy Ritger <aritger@nvidia.com> 913 914commit 138b6252c0cae6599b6c8a25ffa22ffe70f227c2 915Author: Aaron Plattner <aplattner@nvidia.com> 916Date: Mon Feb 4 16:17:24 2013 -0800 917 918 xrandr: look for providers by name or xid 919 920 Use the name_t infrastructure to allow specifying providers by name, index, or 921 XID. This means that numbers without a "0x" prefix will now be interpreted as a 922 indices rather than XIDs. To match that, print provider XIDs in hexadecimal. 923 924 Print an error if a provider-related option is specified and RandR 1.4 isn't 925 supported. 926 927 Make get_screen robust against being called multiple times. 928 929 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 930 Reviewed-by: Dave Airlie <airlied@redhat.com> 931 932commit a93b77b15fa2463c7fd06c6898b9c9f737c3ae8a 933Author: Aaron Plattner <aplattner@nvidia.com> 934Date: Mon Feb 4 16:05:11 2013 -0800 935 936 xrandr: make providers a first-class citizen 937 938 Create a struct _provider to match the existing output, crtc, etc. objects. 939 Build that from a new get_providers() function. Use that to populate the list 940 when querying the providers. 941 942 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 943 Reviewed-by: Dave Airlie <airlied@redhat.com> 944 945commit 8ce9d1fa48a7556e9aee090e5d72566dbb9a32f8 946Author: Aaron Plattner <aplattner@nvidia.com> 947Date: Mon Feb 4 15:20:21 2013 -0800 948 949 man: document provider options 950 951 I hope I got the --setprovideroffloadsink parameters the right way around. 952 953 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 954 Reviewed-by: Dave Airlie <airlied@redhat.com> 955 956commit d07ef58f0cb6920dedc00c1e39cc6a5d0f31775e 957Author: Alan Coopersmith <alan.coopersmith@oracle.com> 958Date: Sun Jan 20 12:32:15 2013 -0800 959 960 Fix -Wformat warnings about passing longs where ints were expected 961 962 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 963 964commit ee548dde0f5bcc6503ad2f74af5261fbf022dada 965Author: Alan Coopersmith <alan.coopersmith@oracle.com> 966Date: Sun Jan 20 12:28:04 2013 -0800 967 968 Mark fatal() and warning() as taking printf-style arguments 969 970 Silences -Wformat-nonliteral warnings about them passing through 971 unknown format arguments to vfprintf. 972 973 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 974 975commit 77b03188b14cdef4523184a73b25fb2703d52685 976Author: Alan Coopersmith <alan.coopersmith@oracle.com> 977Date: Sun Jan 20 12:24:24 2013 -0800 978 979 config: Add missing AC_CONFIG_SRCDIR 980 981 Regroup AC statements under the Autoconf initialization section. 982 Regroup AM statements under the Automake initialization section. 983 984 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 985 986commit a9a92e85b2f8ea54855a3b45eb0882d7da50c1a8 987Author: Colin Walters <walters@verbum.org> 988Date: Wed Jan 16 13:02:57 2013 -0500 989 990 autogen.sh: Honor NOCONFIGURE=1 991 992 See http://people.gnome.org/~walters/docs/build-api.txt 993 994 Signed-off-by: Adam Jackson <ajax@redhat.com> 995 996commit 4a15ed3b1edd22d67307620f2265faf365700519 997Author: Adam Jackson <ajax@redhat.com> 998Date: Wed Jan 16 13:03:39 2013 -0500 999 1000 configure: Drop AM_MAINTAINER_MODE 1001 1002 Signed-off-by: Adam Jackson <ajax@redhat.com> 1003 1004commit 094b40e89707828df2bb7b204a97eed256a3c3fd 1005Author: Pierre-Loup A. Griffais <pgriffais@nvidia.com> 1006Date: Wed Dec 19 12:32:03 2012 -0800 1007 1008 xrandr: print primary output 1009 1010 Sample output: 1011 1012 LVDS-0 connected primary 1920x1080+1920+120 [...] 1013 1014 Signed-off-by: Pierre-Loup A. Griffais <pgriffais@nvidia.com> 1015 Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 1016 Tested-by: Aaron Plattner <aplattner@nvidia.com> 1017 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 1018 1019commit b26fd532b3dab222956ea27eef4e41345978b5b2 1020Author: Andy Ritger <aritger@nvidia.com> 1021Date: Fri Sep 7 17:58:46 2012 -0700 1022 1023 xrandr: generalize output property printing 1024 1025 Signed-off-by: Andy Ritger <aritger@nvidia.com> 1026 Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 1027 1028commit 7a22279cadf7d1a2064cf985acc015401407d71c 1029Author: Andy Ritger <aritger@nvidia.com> 1030Date: Fri Sep 7 17:58:45 2012 -0700 1031 1032 xrandr: extend '--set' syntax to allow a comma-separated list of values 1033 1034 Signed-off-by: Andy Ritger <aritger@nvidia.com> 1035 Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 1036 1037commit 7cb20881991c8bcf7e8fa0af6ad0f85682f98e1f 1038Author: Dave Airlie <airlied@redhat.com> 1039Date: Fri Jan 20 17:40:41 2012 +0000 1040 1041 xrandr: add provider interfaces 1042 1043 This adds an initial interface to list and configure offload and output 1044 providers. 1045 1046 Signed-off-by: Dave Airlie <airlied@redhat.com> 1047 1048commit a36e6d38ffd9831188758658ff36a0b88e43ba67 1049Author: Aaron Plattner <aplattner@nvidia.com> 1050Date: Fri Aug 24 21:02:26 2012 -0700 1051 1052 xrandr: Fix string constness bugs 1053 1054 Sufficiently new versions of GCC treat string literals as "const char *" by 1055 default. This means that several places that assign, return, or initialize 1056 char* from a string literal generates a warning: 1057 1058 xrandr.c:54:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1059 xrandr.c:55:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1060 xrandr.c:56:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1061 xrandr.c:57:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1062 xrandr.c:58:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1063 xrandr.c:61:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1064 xrandr.c:62:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1065 xrandr.c:63:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1066 xrandr.c:64:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1067 xrandr.c:65:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1068 xrandr.c:69:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1069 xrandr.c:70:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1070 xrandr.c:71:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1071 xrandr.c:72:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1072 xrandr.c:73:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1073 xrandr.c:74:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1074 xrandr.c:80:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1075 xrandr.c:81:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1076 xrandr.c:82:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1077 xrandr.c:83:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1078 xrandr.c:84:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1079 xrandr.c:85:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1080 xrandr.c:86:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1081 xrandr.c:87:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1082 xrandr.c:88:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1083 xrandr.c:189:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 1084 xrandr.c:193:5: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 1085 xrandr.c:202:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 1086 xrandr.c:204:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 1087 xrandr.c:206:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 1088 xrandr.c:208:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 1089 xrandr.c:210:5: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] 1090 xrandr.c:359:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1091 xrandr.c:360:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1092 xrandr.c:361:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1093 xrandr.c:593:23: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1094 xrandr.c:1189:28: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1095 xrandr.c:1191:28: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1096 xrandr.c:1587:39: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1097 xrandr.c:1588:30: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1098 xrandr.c:1589:38: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1099 xrandr.c:1590:48: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1100 xrandr.c:1591:42: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1101 xrandr.c:1592:25: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1102 xrandr.c:2544:28: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1103 xrandr.c:2546:28: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1104 xrandr.c:2585:28: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] 1105 xrandr.c:3228:17: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] 1106 1107 Fix as many of these as possible. This introduces one problem: 1108 XRRSetCrtcTransform takes a non-const char* filter parameter even though it 1109 doesn't actually modify the string. Instead of trying to work around that, just 1110 live with the warning for now: 1111 1112 xrandr.c:1459:9: warning: passing argument 4 of ‘XRRSetCrtcTransform’ discards ‘const’ qualifier from pointer target type [enabled by default] 1113 /X/include/X11/extensions/Xrandr.h:383:1: note: expected ‘char *’ but argument is of type ‘const char *’ 1114 1115 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 1116 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1117 1118commit b501dd3adfac13e15e619898d4447d83b8301dd3 1119Author: Andy Ritger <aritger@nvidia.com> 1120Date: Fri Aug 24 15:53:09 2012 -0700 1121 1122 xrandr: compute gamma-correction in [0,2^sigbits) 1123 1124 The gamma-correction lookup table values are 16:16:16 X Colors, where the 1125 MSBs are programmed into the hardware lookup table. Rather than compute 1126 values over the entire range [0,65536) (where values below 2^(16 - sigbits) 1127 will receive the same hardware value), compute values over the range 1128 [0,2^sigbits) and left shift by (16 - sigbits) into the MSBs. 1129 1130 Signed-off-by: Andy Ritger <aritger@nvidia.com> 1131 Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 1132 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 1133 1134commit 90afd01788be7bf19e441a59dca0d8057c5267b1 1135Author: Andy Ritger <aritger@nvidia.com> 1136Date: Fri Aug 24 15:53:08 2012 -0700 1137 1138 xrandr: fix gamma == 1.0 && sigbits != 8 1139 1140 The gamma-correction lookup table managed through XRR[GS]etCrtcGamma is 1141 2^n in size, where 'n' is the number of significant bits in the X Color. 1142 Each element in the gamma-correction lookup table is a 16:16:16 X Color 1143 (i.e., in the range [0,65536) ). The significant bits of each component 1144 of each element in the lookup table are programmed into the hardware 1145 lookup table. Meaningful values in the gamma-correction lookup table 1146 are thus in the range [0,2^sigbits), where all values are shifted into 1147 the MSBs (i.e., left shifted by (16 - sigificant bits)). 1148 1149 Signed-off-by: Andy Ritger <aritger@nvidia.com> 1150 Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 1151 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 1152 1153commit 6bf48ae8d8db58ab74182383e54332f120f024c2 1154Author: Andy Ritger <aritger@nvidia.com> 1155Date: Fri Aug 24 15:53:07 2012 -0700 1156 1157 xrandr: use 1/gamma to compute gamma-correction 1158 1159 To compute a gamma *correction* lookup table, use the specified gamma 1160 value as the divisor in (1.0/gamma). This matches the semantics of 1161 xgamma(1) and the "gamma-value" and "{red,green,blue}-gamma" xorg.conf(5) 1162 options. 1163 1164 For more details, see: 1165 http://www.poynton.com/PDFs/TIDV/Gamma.pdf (Gamma in computer graphics, page 17) 1166 http://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/common/xf86cmap.c:ComputeGamma() 1167 1168 Signed-off-by: Andy Ritger <aritger@nvidia.com> 1169 Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 1170 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 1171 1172commit 755234bd2ce0f3acde6507aba94b1e53a5a72f9b 1173Author: Eric S. Raymond <esr@thyrsus.com> 1174Date: Thu Aug 23 12:26:57 2012 -0400 1175 1176 Running text interspersed with options prevents DocBook translation; remove. 1177 1178 The information the text conveys is not really needed at that point, 1179 either. It's duplicated later in the manual page. 1180 1181 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 1182 1183commit b9d260a49961b5e311e77e8600e7e5a8f2e8d475 1184Author: Keith Packard <keithp@keithp.com> 1185Date: Tue May 1 21:53:02 2012 -0700 1186 1187 keystone.5c: cairo-5 box semantics changed default layout 1188 1189 cairo-5c version 1.6 includes a new 2D box layout widget that 1190 needs widget stretch defined in both dimensions to create 1191 the desired layout. 1192 1193 Signed-off-by: Keith Packard <keithp@keithp.com> 1194 1195commit 1e5a973ad2da9aaf3c025656db4ba83ff9e6c207 1196Author: Aaron Plattner <aplattner@nvidia.com> 1197Date: Mon Apr 23 12:41:15 2012 -0700 1198 1199 Add a --scale-from option 1200 1201 A typical case for wanting to specify a scale on an output is making your 1202 framebuffer be one size and scaling it to fill an output of a different size. 1203 Instead of making the user calculate the scaling factors to be specified by 1204 --scale, add a new option, --scale-from, that lets the user specify the 1205 framebuffer size directly. Compute the appropriate transform to achieve the 1206 desired target size. 1207 1208 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 1209 Reviewed-by: Andy Ritger <aritger@nvidia.com> 1210 1211commit 45b21c41ef3abd73de11d1adc6f5475105e1a5b7 1212Author: Pierre-Loup A. Griffais <pgriffais@nvidia.com> 1213Date: Tue Mar 20 16:46:22 2012 -0700 1214 1215 xrandr: move transform limit checking after scaling 1216 1217 This would trigger for legit scaled matrices, resulting in the wrong 1218 extents getting computed. 1219 1220 Signed-off-by: Pierre-Loup A. Griffais <pgriffais@nvidia.com> 1221 Reviewed-by: Keith Packard <keithp@keithp.com> 1222 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 1223 1224commit 8ca08e32ee7daae75992cbf1f554ca9a389e5420 1225Author: Keith Packard <keithp@keithp.com> 1226Date: Wed Feb 29 16:26:25 2012 +1300 1227 1228 Update keystone program to run with new nichrome bits 1229 1230 Will also work with old nichrome bits. 1231 1232 Signed-off-by: Keith Packard <keithp@keithp.com> 1233 1234commit 5161ba39a3c13caa5cab953a17f509a6a5b09e7b 1235Author: Jeremy Huddleston <jeremyhu@apple.com> 1236Date: Fri Nov 11 11:34:38 2011 -0800 1237 1238 Include strings.h for strcasecmp 1239 1240 Our minimum requirement for X11 is currently Unix98. Unix98 provides 1241 strcasecmp in <strings.h>. This commit fixes implicit declarations 1242 of this function on systems that closely adhere to the standard. 1243 1244 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 1245 1246commit e68059e9ecc4225360a522138aedcedad7fe117f 1247Author: Keith Packard <keithp@keithp.com> 1248Date: Sat Aug 6 19:06:42 2011 -0700 1249 1250 xrandr: Preserve current mode when switching crtcs 1251 1252 When switching output crtcs, preserve any current mode in preference 1253 to selecting whatever mode is currently in use on that crtc. 1254 1255 Signed-off-by: Keith Packard <keithp@keithp.com> 1256 1257commit 5185a18a016d9ccbfea3a3cdb314041268222708 1258Author: Adam Jackson <ajax@redhat.com> 1259Date: Wed Jul 20 14:34:19 2011 -0400 1260 1261 Document the rarer --newmode flags in --help output 1262 1263 Signed-off-by: Adam Jackson <ajax@redhat.com> 1264 1265commit 9e7a1f88de66c65cca1eb732278f76dab125f30e 1266Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1267Date: Wed Jun 29 21:18:23 2011 -0700 1268 1269 xrandr 1.3.5 1270 1271 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1272 1273commit a187677a93a215ccbba819f98425a6c682a50a6c 1274Author: Jeremy Huddleston <jeremyhu@apple.com> 1275Date: Mon May 9 09:26:34 2011 -0700 1276 1277 find_mode: Search for the mode closes to the specified rate 1278 1279 This was the intention of d9aeb4a7544ad4a33f6f54bc46bff5cdf231a986, but 1280 find_mode was still picking the first string match rather than the 1281 match with the closest refresh rate. 1282 1283 xrandr.c:740:3: warning: Value stored to 'bestDist' is never read 1284 bestDist = dist; 1285 ^ ~~~~ 1286 1287 Found-by: clang static analyzer 1288 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 1289 1290commit 30e9137bf94f58f66cc6883b0a47eab3159c8be6 1291Author: Jeremy Huddleston <jeremyhu@apple.com> 1292Date: Sun May 8 16:42:50 2011 -0700 1293 1294 Dead code removal 1295 1296 xrandr.c:2978:33: warning: Value stored to 'first' is never read 1297 if (!first) printf (" "); first = False; 1298 ^ ~~~~~ 1299 xrandr.c:2966:30: warning: Value stored to 'first' is never read 1300 if (!first) printf (" "); first = False; 1301 ^ ~~~~~ 1302 1303 Found-by: clang static analyzer 1304 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 1305 1306commit 1e48aad532aa19a35efbee24cddca4c43e02afe7 1307Author: Jeremy Huddleston <jeremyhu@apple.com> 1308Date: Sun May 8 16:35:47 2011 -0700 1309 1310 Dead code removal 1311 1312 Removing the redundant setting of format = 32 in the XA_ATOM case. 1313 It was already set to that earlier whe it was assigned actual_format. 1314 1315 xrandr.c:2770:3: warning: Value stored to 'format' is never read 1316 format=0; 1317 ^ ~ 1318 xrandr.c:2782:7: warning: Value stored to 'format' is never read 1319 format = actual_format; 1320 ^ ~~~~~~~~~~~~~ 1321 1322 Found-by: clang static analyzer 1323 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 1324 1325commit dd2a2e7dc918c57aae3df57118042e4362377243 1326Author: Jeremy Huddleston <jeremyhu@apple.com> 1327Date: Sun May 8 16:29:51 2011 -0700 1328 1329 Mark usage, fatal, and panic as _X_NORETURN 1330 1331 xrandr.c:634:13: warning: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'output') 1332 output->next = NULL; 1333 ~~~~~~ ^ 1334 xrandr.c:1214:6: warning: Access to field 'mode' results in a dereference of a null pointer (loaded from variable 'crtc_info') 1335 if (crtc_info->mode == None) 1336 ^~~~~~~~~ 1337 xrandr.c:1252:5: warning: Array access (via field 'outputs') results in a null pointer dereference 1338 crtc->outputs[crtc->noutput++] = output; 1339 ^ ~~~~~~~ 1340 xrandr.c:1638:33: warning: Access to field 'name' results in a dereference of a null pointer (loaded from variable 'output_info') 1341 set_name_string (&output_name, output_info->name); 1342 ^~~~~~~~~~~ 1343 xrandr.c:1725:10: warning: Access to field 'changes' results in a dereference of a null pointer (loaded from variable 'output') 1344 if (output->changes) 1345 ^~~~~~ 1346 xrandr.c:1848:10: warning: Access to field 'mode_info' results in a dereference of a null pointer (loaded from variable 'relation') 1347 if (relation->mode_info == NULL) 1348 ^~~~~~~~ 1349 xrandr.c:3194:11: warning: Array access (from variable 'mode_shown') results in a null pointer dereference 1350 if (mode_shown[j]) continue; 1351 ^~~~~~~~~~ 1352 1353 Found-by: clang static analyzer 1354 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 1355 1356commit d58d70f6781308de2f905b71a0bfcea1506b0008 1357Author: Gaetan Nadon <memsize@videotron.ca> 1358Date: Wed Jan 19 10:06:56 2011 -0500 1359 1360 config: move man pages into their own directory 1361 1362 Use services provided by XORG_MANPAGE_SECTIONS. 1363 Use standard Makefile for man pages. 1364 1365 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1366 1367commit 3b18de7f030b89bcbaa54686490c406f73f824d0 1368Author: Gaetan Nadon <memsize@videotron.ca> 1369Date: Thu Jan 13 17:15:36 2011 -0500 1370 1371 man: replace hard coded man page section with substitution strings 1372 1373 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1374 1375commit 7c3b0664e6ee3c3e43724c3922257e1138accd7c 1376Author: Gaetan Nadon <memsize@videotron.ca> 1377Date: Thu Jan 13 11:15:48 2011 -0500 1378 1379 man: remove trailing spaces and tabs 1380 1381 Using s/[ \t]*$// 1382 1383 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1384 1385commit b94179dd0538c73ff4628d43f4b8f492351ddd9c 1386Author: Gaetan Nadon <memsize@videotron.ca> 1387Date: Wed Jan 12 16:28:02 2011 -0500 1388 1389 config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS 1390 1391 This silences an Autoconf warning 1392 1393commit 275249f6d162c8ce8a080bef8a2955fd8e72b67c 1394Author: Matthias Hopf <mhopf@suse.de> 1395Date: Mon Jan 10 17:56:16 2011 +0100 1396 1397 Add --current to usage. 1398 1399commit 2b67c3d80d1e7736cf4fe9f093ab604dc02ad7be 1400Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1401Date: Sat Oct 30 11:28:41 2010 -0700 1402 1403 xrandr 1.3.4 1404 1405 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1406 1407commit 46c3cb9103ecd6f73a2908bb93004658069639c5 1408Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1409Date: Sat Oct 30 11:26:40 2010 -0700 1410 1411 config: Remove unnecessary calls from configure.ac 1412 1413 AC_PROG_CC & AC_PROG_INSTALL are provided by XORG_DEFAULT_OPTIONS now 1414 PKG_CONFIG_MODULES handles AC_SUBST of the CFLAGS & LIBS variables 1415 1416 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1417 1418commit 52016812038732a3aabc6dfb63ded9d07de703ee 1419Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1420Date: Sat Oct 30 11:25:53 2010 -0700 1421 1422 config: upgrade to util-macros 1.8 for additional man page support 1423 1424 Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS 1425 The value of MAN_SUBST is the same for all X.Org packages. 1426 1427 Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS 1428 The existing statement can now be removed from the configuration file. 1429 1430 Use automake provided $(AM_V_GEN) and XORG_DEFAULT_OPTIONS provided $(SED) 1431 Enables silent rule and use platform appropriate version of sed. 1432 1433 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1434 1435commit 5b74ff83949432b8abb9453415426a515e45eb20 1436Author: Gaetan Nadon <memsize@videotron.ca> 1437Date: Sat Oct 30 11:24:14 2010 -0700 1438 1439 config: update AC_PREREQ statement to 2.60 1440 1441 Unrelated to the previous patches, the new value simply reflects 1442 the reality that the minimum level for autoconf to configure 1443 all x.org modules is 2.60 dated June 2006. 1444 1445 ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz 1446 1447 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1448 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1449 1450commit c7b90939f0ffcad17a5cc6cf1e28f7b027feeba5 1451Author: Julien Cristau <jcristau@debian.org> 1452Date: Tue Oct 12 21:20:18 2010 +0200 1453 1454 Call QueryExtension before any other RandR function (bug#30806) 1455 1456 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1457 Tested-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1458 Signed-off-by: Julien Cristau <jcristau@debian.org> 1459 1460commit 051f912f1c009a2c318214e6b3e86fa5f576d0ff 1461Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1462Date: Wed Sep 22 19:39:27 2010 -0700 1463 1464 Bug 29348 - dot clock parameter missing from --newmode in man page 1465 1466 https://bugs.freedesktop.org/show_bug.cgi?id=29348 1467 1468 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1469 Reviewed-by: Julien Cristau <jcristau@debian.org> 1470 1471commit a06506ca5df0a69e0ca27845855187ff62b78a9d 1472Author: Julien Cristau <jcristau@debian.org> 1473Date: Mon Jul 19 18:07:56 2010 +0100 1474 1475 Bump to 1.3.3 1476 1477commit 2cc54b2f6280cc2e5519b572f960ecef36d750ac 1478Author: Julien Cristau <jcristau@debian.org> 1479Date: Mon Jul 19 18:06:56 2010 +0100 1480 1481 Require xorg-macros 1.4 for XORG_INSTALL 1482 1483commit 7e6b0adcbd6c9e691b538f99536dcd7106ed1f6a 1484Author: Julien Cristau <jcristau@debian.org> 1485Date: Mon Jul 19 18:05:37 2010 +0100 1486 1487 Kill cvs keyword 1488 1489commit 61fc9cc04e1ac179ac5e2cc4ff861bb362f0b801 1490Author: Eric Piel <eric@triangle.(none)> 1491Date: Sun Jan 10 00:08:53 2010 +0100 1492 1493 xrandr: get gamma and brightness 1494 1495 Even in verbose query mode, gamma and brigthness were not displayed. 1496 That's because they are not stored in the server the same way they are 1497 specified on the command line: they are stored as 256 * 3 u16 while 1498 the command line is 3 + 1 floats. Still, this is useful info for the 1499 users, and they don't care about how it's stored in the server. 1500 1501 So we do a regression over the values stored to recover info in the same 1502 way as on the command line: gamma and brightness. 1503 1504 Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net> 1505 Reviewed-By: Matthias Hopf <mhopf@suse.de> 1506 1507commit b5627bb72b3ca2c7f5a702b7134a5c6dd4f83687 1508Author: Eric Piel <eric@triangle.(none)> 1509Date: Sun Jan 10 00:08:53 2010 +0100 1510 1511 xrandr: fix maximum gamma set 1512 1513 Gamma is an array of 3 16-bit values. Currently, the maximum value assigned is 1514 255*256, which is only 65280. Make sure that when we set the gamma, the maximum 1515 value is 65535. It's slightly brighter but also helps to avoid kludges to 1516 detect clamped values when reading back the gamma. 1517 1518 Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net> 1519 Reviewed-by: Matthias Hopf <mhopf@suse.de> 1520 1521commit d138c73276226ce424d36e80ce745aa9461f110e 1522Author: Gaetan Nadon <memsize@videotron.ca> 1523Date: Thu Feb 11 10:08:07 2010 -0500 1524 1525 config: move CWARNFLAGS from configure.ac to Makefile.am 1526 1527 Compiler warning flags should be explicitly set in the makefile 1528 rather than being merged with other packages compiler flags. 1529 1530 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1531 1532commit ac6606d8da914610446c5327813798bfbba4d6c2 1533Author: Éric Piel <eric.piel@tremplin-utc.net> 1534Date: Wed Jan 6 14:42:15 2010 +0100 1535 1536 xrandr: fix brightness to prevent gamma to overflow and to allow 0 1537 1538 With the new brightness option, gamma would overflow with values > 1, 1539 leading to rainbow looking screen. 1540 1541 In addition, have the brightness by default to 1, so that specifying 0 1542 actually does the expected behaviour of leading to a black screen. 1543 1544 Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net> 1545 Reviewed-by: Matthias Hopf <mhopf@suse.de> 1546 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 1547 1548commit ccb3f8a42b25819cd1812f179544b52c2f03d1aa 1549Author: Yann Droneaud <ydroneaud@mandriva.com> 1550Date: Tue Nov 17 15:39:02 2009 +0100 1551 1552 xrandr: Remove --clone / --extend support code 1553 1554 Code handling --clone and --extend is not used. 1555 The usage message regarding those options was already commented out. 1556 1557 Signed-off-by: Yann Droneaud <ydroneaud@mandriva.com> 1558 Acked-by: Matthias Hopf <mhopf@suse.de> 1559 1560commit 1f8e27cd71560c154f6b1f7472ae2518f5df10e0 1561Author: Matthias Hopf <mhopf@suse.de> 1562Date: Tue Jan 5 14:58:42 2010 +0100 1563 1564 Language fixes. 1565 1566commit 5f7d052d63875f059f5693c68ee9fdf559ad5300 1567Author: Yann Droneaud <ydroneaud@mandriva.com> 1568Date: Tue Nov 17 15:39:01 2009 +0100 1569 1570 xrandr: Use a prefix for enum type _policy and _relation like other enums in xrandr.c 1571 1572 Try to apply the same coding style to enum _policy and enum _relation. 1573 1574 This patch also workarounds bug #12958 . 1575 1576 Signed-off-by: Yann Droneaud <ydroneaud@mandriva.com> 1577 Acked-by: Matthias Hopf <mhopf@suse.de> 1578 1579commit b481bd0df87c6b474d8c443b6590bbafac482485 1580Author: Mikhail Gusarov <dottedmag@dottedmag.net> 1581Date: Sun Oct 25 03:41:05 2009 +0600 1582 1583 Add --brightness for CRTC 1584 1585 --brightness n.m adjusts gamma set for CRTC in order to compensate 1586 for overly bright or overly dark unmanageable outputs. 1587 1588 Signed-off-by: Matthias Hopf <mhopf@suse.de> 1589 1590commit 7d463218c584b683c9946cbff44bc69115eaa11b 1591Author: Matthias Hopf <mhopf@suse.de> 1592Date: Sun Jan 3 00:40:19 2010 +0100 1593 1594 xrandr: add more information about the transform option in the manpage 1595 1596 Add information about the transformation, stating it's a homogeneous 1597 coordinate transformation and adding the (simplified) pixel calculation 1598 formula. Also and an example of keystone shaping generated using the algorithm 1599 found in xkeystone. 1600 1601 Based on a patch by Eric Piel <eric.piel@tremplin-utc.net> 1602 1603 Signed-off-by: Matthias Hopf <mhopf@suse.de> 1604 1605commit 27f86db064a5ea60b942fd3d3ddeb462d980df9b 1606Author: Dominik Jasiok <yahoo.com.pl@gmail.com> 1607Date: Tue Dec 22 10:48:04 2009 -0800 1608 1609 xrandr: check_strtod should return double, not int 1610 1611 check_strtod performs error checking around strtod to ensure that 1612 arguments are correctly processed. However, it also accidentally(?) 1613 cast the result to int, which was then universally cast back to double 1614 by all callers. Narrowing and re-widening the type doesn't make any sense. 1615 1616 Signed-off-by: Keith Packard <keithp@keithp.com> 1617 1618commit df254d851cae1dcd1032e307bc828a5800e7342c 1619Author: Gaetan Nadon <memsize@videotron.ca> 1620Date: Thu Nov 26 09:19:54 2009 -0500 1621 1622 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 1623 1624 Now that the INSTALL file is generated. 1625 Allows running make maintainer-clean. 1626 1627commit 22c90544537e661b71705c59e35616abb5aa4e55 1628Author: Gaetan Nadon <memsize@videotron.ca> 1629Date: Wed Oct 28 14:09:08 2009 -0400 1630 1631 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 1632 1633 Add missing INSTALL file. Use standard GNU file on building tarball 1634 README may have been updated 1635 Remove AUTHORS file as it is empty and no content available yet. 1636 Remove NEWS file as it is empty and no content available yet. 1637 1638commit 35ffd6a8768e16d6fc7bc7c840e35a7802796b21 1639Author: Gaetan Nadon <memsize@videotron.ca> 1640Date: Tue Oct 27 15:07:25 2009 -0400 1641 1642 Deploy the new XORG_DEFAULT_OPTIONS #24242 1643 1644 This macro aggregate a number of existing macros that sets commmon 1645 X.Org components configuration options. It shields the configuration file from 1646 future changes. 1647 1648commit a397f434db4f30e22534b8fe684b8f67f493db40 1649Author: Gaetan Nadon <memsize@videotron.ca> 1650Date: Mon Oct 26 22:08:39 2009 -0400 1651 1652 Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 1653 1654 ChangeLog filename is known to Automake and requires no further 1655 coding in the makefile. 1656 1657commit 436a873b54990b77ac8024e20284de53c58c7850 1658Author: Gaetan Nadon <memsize@videotron.ca> 1659Date: Thu Oct 22 12:34:16 2009 -0400 1660 1661 .gitignore: use common defaults with custom section # 24239 1662 1663 Using common defaults will reduce errors and maintenance. 1664 Only the very small or inexistent custom section need periodic maintenance 1665 when the structure of the component changes. Do not edit defaults. 1666 1667commit b81a4976701606d1406ff56b91f13331e5f35860 1668Author: Yann Droneaud <ydroneaud@mandriva.com> 1669Date: Tue Nov 17 10:34:41 2009 +0100 1670 1671 xrandr: Remove test against RANDR_MAJOR/RANDR_MINOR 1672 1673 xrandr.c uses structures defined in <X11/extensions/Xrandr.h> 1674 provided by 'libXrandr' package but tests structures availability 1675 through RANDR_MAJOR/RANDR_MINOR defined in <X11/extensions/randr.h> 1676 provided by 'randrproto' package. 1677 1678 Sometimes they are not in sync so it's safer to rely on checks made 1679 by configure script through pkg-config. 1680 1681 In my test case, XRRPanning structure is not defined in Xrandr.h, 1682 RANDR_MAJOR is 1 and RANDR_MINOR 2 but xrandr.c try to use it anyway. 1683 (for the record, XRRPanning was added in libXrandr-1.2.91). 1684 1685 Signed-off-by: Yann Droneaud <ydroneaud@mandriva.com> 1686 Reviewed-by: Rémi Cardona <remi@gentoo.org> 1687 1688commit b84560759141ed52b8779c184184f888e9be8b2f 1689Author: Éric Piel <eric.piel@tremplin-utc.net> 1690Date: Mon Oct 26 14:11:02 2009 +0100 1691 1692 xrandr: do not segfault when "--scale" or "--transform" have no output 1693 1694 "xrandr --scale 2x2" segfaults, because the --scale (and --transform) 1695 options do not check for an existing output. 1696 1697 Make sure there is an output specified (like every other options). 1698 1699 Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net> 1700 Signed-off-by: Matthias Hopf <mhopf@suse.de> 1701 1702commit 34829957441a10f6b6e31141aa1018f7a72aeaf9 1703Author: Éric Piel <eric.piel@tremplin-utc.net> 1704Date: Mon Oct 26 13:57:10 2009 +0100 1705 1706 xrandr: make --query really the default option 1707 1708 The manpage states that "--query" is the default action when nothing 1709 specific is requested. However, some options such as "-display" or 1710 "--screen" lead to do nothing by default. This makes sure that unless 1711 something specific is requested, query is done. 1712 1713 This also restores the behaviour of --q1 to the same one as the old 1714 xrandr: also display the info on rotation and reflection by default. 1715 1716 Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net> 1717 Signed-off-by: Matthias Hopf <mhopf@suse.de> 1718 1719commit 07bf47f32b1f4c256e32b5b47ab52ef55605370a 1720Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 1721Date: Wed Oct 21 12:47:21 2009 -0700 1722 1723 This is not a GNU project, so declare it foreign. 1724 1725 On Wed, 2009-10-21 at 13:36 +1000, Peter Hutterer wrote: 1726 > On Tue, Oct 20, 2009 at 08:23:55PM -0700, Jeremy Huddleston wrote: 1727 > > I noticed an INSTALL file in xlsclients and libXvMC today, and it 1728 > > was quite annoying to work around since 'autoreconf -fvi' replaces 1729 > > it and git wants to commit it. Should these files even be in git? 1730 > > Can I nuke them for the betterment of humanity and since they get 1731 > > created by autoreconf anyways? 1732 > 1733 > See https://bugs.freedesktop.org/show_bug.cgi?id=24206 1734 1735 As an interim measure, replace AM_INIT_AUTOMAKE([dist-bzip2]) with 1736 AM_INIT_AUTOMAKE([foreign dist-bzip2]). This will prevent the generation 1737 of the INSTALL file. It is also part of the 24206 solution. 1738 1739 Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org> 1740 1741commit 8d2702cae3b6a78cfd8d480dfb8209091917af2a 1742Author: Alan Coopersmith <alan.coopersmith@sun.com> 1743Date: Thu Oct 1 14:54:29 2009 -0700 1744 1745 Add README with pointers to mailing lists, bugzilla, & git 1746 1747 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 1748 1749commit 5da0cb3533aa829588b2e6d715d511691fa1e45f 1750Author: Matthias Hopf <mhopf@suse.de> 1751Date: Thu Sep 10 13:18:35 2009 +0200 1752 1753 Bump to 1.3.2 1754 1755commit e5861530a6c3bb6219217e5f3ddc71f13b9509c4 1756Author: Matthias Hopf <mhopf@suse.de> 1757Date: Thu Sep 10 13:17:56 2009 +0200 1758 1759 Add missing 'static's to get rid of warnings. 1760 1761commit ab875be43651befa654a24719f1ea365dde09073 1762Author: Bart Massey <bart@cs.pdx.edu> 1763Date: Thu Feb 7 14:03:24 2008 -0800 1764 1765 changed a bunch of string to number conversions for reliability 1766 1767commit 25325aae2e80cb33af17682a6cd1bcd292a5f445 1768Author: Bart Massey <bart@cs.pdx.edu> 1769Date: Fri Sep 4 15:36:51 2009 +0200 1770 1771 Warn if one of the outputs given did not exist 1772 1773commit 713a8ea5646f7c893b52afeb3c2443b21b837e46 1774Author: Matthias Hopf <mhopf@suse.de> 1775Date: Tue Aug 11 16:11:39 2009 +0200 1776 1777 Bump to 1.3.1 1778 1779 Also finally bump xrandr requirement to 1.3 1780 1781commit b9166441bdb08ef76b9c6712da5902b0dcbf03f3 1782Author: Federico Mena Quintero <federico@novell.com> 1783Date: Mon Jul 20 16:44:52 2009 -0500 1784 1785 bfo#22864 - grab the server around all modifications to CRTCs 1786 1787 We were not grabbed while disabling the CRTCs that should be off, so other clients could think 1788 that there was an intermediate stage with no enabled outputs. 1789 1790 Signed-off-by: Federico Mena Quintero <federico@novell.com> 1791 1792commit 68d5134142e3c616f3996c7ea8d08c887ce56118 1793Author: Éric Piel <E.A.B.Piel@tudelft.nl> 1794Date: Tue Jul 14 21:36:32 2009 +0200 1795 1796 xrandr: Document --nograb option 1797 1798 Op 08-07-09 15:19, Matthias Hopf schreef: 1799 > On Jul 07, 09 22:02:51 +0200, Éric Piel wrote: 1800 >> Op 21-05-09 13:23, Éric Piel schreef: 1801 >>> This documents the --nograb option with whichever I could understand of 1802 >>> the advantages and drawbacks of grabbing the screen. 1803 >>> 1804 >>> Also fixes the formatting in the xrandr 1.3 options. 1805 >> Please review and apply. 1806 > 1807 > Please resend as attachment. 1808 > 1809 Please find attached the git patch. 1810 1811 Thanks, 1812 Eric 1813 1814 >From 34e7c1036ba0e0d7827563deaffea9371031fa0b Mon Sep 17 00:00:00 2001 1815 From: Eric Piel <eric.piel@tremplin-utc.net> 1816 Date: Thu, 21 May 2009 13:01:52 +0200 1817 Subject: [PATCH] xrandr: Document --nograb option 1818 1819 This documents the --nograb option with whichever I could understand of 1820 the advantages and drawback of grabbing the screen. 1821 1822 Also fixes the formatting in the xrandr 1.3 options 1823 1824commit 73e38a31e5b7c68f8f3227a47d98ec55097999c7 1825Author: Matthias Hopf <mhopf@suse.de> 1826Date: Mon Jul 6 18:30:05 2009 +0200 1827 1828 Fix missing prototype warning. 1829 1830commit 3408ca77af6a45b15b89bdd1ce9d5aac9646f6b8 1831Author: Matthias Hopf <mhopf@suse.de> 1832Date: Mon Jul 6 18:28:23 2009 +0200 1833 1834 Report program version as well with --version. 1835 1836 This has bitten us too often already (the infamous uncloning bug). 1837 1838commit 47502f66f7c51ad575d63f28de49f285c4de7062 1839Author: Adam Jackson <ajax@redhat.com> 1840Date: Wed Apr 1 11:03:10 2009 -0400 1841 1842 xrandr 1.3.0 1843 1844commit beb228842c77fab4a446e028dd501a01f0fb3fd3 1845Author: Adam Jackson <ajax@redhat.com> 1846Date: Tue Feb 17 13:45:32 2009 -0500 1847 1848 Allow zero replies from GetPanning to mean panning is unavailable. 1849 1850commit 9418f5523bd923b122f6e67c33c40e0e9c29ab50 1851Author: Aaron Plattner <aplattner@nvidia.com> 1852Date: Wed Mar 4 15:49:10 2009 -0800 1853 1854 Set the screen config on the correct screen. 1855 1856 Otherwise, "DISPLAY=:0.0 xrandr --screen 1 -s 1" fails. 1857 1858commit 39a16783a3d1c0c722b4b18fab60a91b9f6ed578 1859Author: Matthias Hopf <mhopf@suse.de> 1860Date: Fri Mar 6 14:49:43 2009 +0100 1861 1862 Revert "Move outputs among crtcs as necessary. Fixes 14570" 1863 1864 This reverts commit 4dcc8ae1a6903434def1a2706f7c68ff9e2a17c4. 1865 The commit broke uncloning completely again. 1866 1867 Conflicts: 1868 1869 xrandr.c 1870 1871commit 880f045202d1e70368b855c3783604e19be946b8 1872Author: Julien Cristau <jcristau@debian.org> 1873Date: Sun Feb 1 14:39:30 2009 +0100 1874 1875 Bump to 1.2.99.4 1876 1877commit 010dfc4bdd309256aecd006bb2b5b6937c2a119c 1878Author: Julien Cristau <jcristau@debian.org> 1879Date: Sun Feb 1 14:34:15 2009 +0100 1880 1881 Document the --primary and --noprimary options 1882 1883commit 48014498d275a9aab986b4bf295538a5b38ddfeb 1884Author: Julien Cristau <jcristau@debian.org> 1885Date: Sun Feb 1 14:12:21 2009 +0100 1886 1887 Document the --current option 1888 1889commit 909defc8a2b009ab845d875ba10e1ca01fb9d648 1890Author: Keith Packard <keithp@keithp.com> 1891Date: Fri Jan 30 20:37:34 2009 -0800 1892 1893 Add --noprimary option 1894 1895commit 6c70e0ee693ea293e8674d049249b462f3d36855 1896Author: Keith Packard <keithp@keithp.com> 1897Date: Fri Jan 30 20:11:10 2009 -0800 1898 1899 Add --primary option 1900 1901 Signed-off-by: Keith Packard <keithp@keithp.com> 1902 1903commit 77891e7900765a320ad3d43b56bbb1f3081b6582 1904Author: Keith Packard <keithp@keithp.com> 1905Date: Fri Jan 30 20:11:02 2009 -0800 1906 1907 Add --nograb option 1908 1909 Signed-off-by: Keith Packard <keithp@keithp.com> 1910 1911commit 6f3e2bb207cff069791811ef2bbe7798759ed810 1912Author: Keith Packard <keithp@keithp.com> 1913Date: Tue Dec 9 21:26:50 2008 -0800 1914 1915 Add --current option to use new XRRGetScreenResourcesCurrent API 1916 1917 Signed-off-by: Keith Packard <keithp@keithp.com> 1918 1919commit d98d1f4055d8fbae1dc8d8c54467bfef21010694 1920Author: Matthias Hopf <mhopf@suse.de> 1921Date: Fri Jan 30 17:46:05 2009 +0100 1922 1923 Several fatal() were missing \n. 1924 1925commit 9ea6e4210d49c13991a7d07e54f6f59e3dc8ce72 1926Author: Éric Piel <E.A.B.Piel@tudelft.nl> 1927Date: Mon Jan 19 16:18:46 2009 +0100 1928 1929 Add docs for --transform and --scale. 1930 1931 The new --transform and --scale options were added, but not yet 1932 documented. This includes also an example of usage of panning and 1933 scaling at the same time. 1934 1935commit 4d381d6a88fe147f8b6eabd765a2f42c6402d8c6 1936Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1937Date: Mon Jan 26 16:40:59 2009 -0200 1938 1939 Correct make distcheck and gcc/sparse warnings. 1940 1941commit 7509ecb290689e0b1d5e1000c9fbd312f1efb4ca 1942Author: Maarten Maathuis <madman2003@gmail.com> 1943Date: Mon Jan 5 19:47:21 2009 +0100 1944 1945 Stay away from doublescan modes unless a refresh rate is specified. 1946 1947commit f77ad847c0d3f8f0c6e8ffbf0bec39e5e9c5ded0 1948Author: Maarten Maathuis <madman2003@gmail.com> 1949Date: Mon Dec 22 19:46:24 2008 +0100 1950 1951 Fix gamma computation. 1952 1953 - The previous version sometimes overflowed. 1954 1955commit 5ddde7151841a8db99a2f38689a176114b2a45e5 1956Author: Matthias Hopf <mhopf@suse.de> 1957Date: Thu Dec 18 16:09:39 2008 +0100 1958 1959 Print multiple Atom and INT32 properties. 1960 1961 Improve output formating of strings. 1962 1963commit 96af64f0de71f4149740b486baaefca744bb1bc1 1964Author: Maarten Maathuis <madman2003@gmail.com> 1965Date: Wed Dec 17 17:18:14 2008 +0100 1966 1967 randr-1.2: support gamma changes. 1968 1969commit 9b7a2a3d4ac7891bd5372a581e6a55a1c81497ef 1970Author: Matthias Hopf <mhopf@suse.de> 1971Date: Mon Dec 15 20:39:43 2008 +0100 1972 1973 Bump to 1.2.99.3 1974 1975commit e80add8a407a9327bda209ff11a97dc3336e0cab 1976Author: Matthias Hopf <mhopf@suse.de> 1977Date: Mon Dec 15 21:00:55 2008 +0100 1978 1979 Add keystone.5c to EXTRA_DIST 1980 1981commit c98591b0bf4753c4c075eccde6023ef644f8bf96 1982Author: Matthias Hopf <mhopf@suse.de> 1983Date: Mon Dec 15 20:36:40 2008 +0100 1984 1985 Don't trash panning area, except if --panning or --fb is given. 1986 1987 Almost anything used to reduce the screen size to the current mode size, which 1988 is counter-productive when panning is active. 1989 1990commit 8cb63b6df9e46e8b06a57cb54ad460355b604399 1991Author: Matthias Hopf <mhopf@suse.de> 1992Date: Thu Dec 11 17:09:47 2008 +0100 1993 1994 Panning tracking areas describe full screen if set to 0. Use it as default. 1995 1996 Also improve reduced output on default tracking and borders. 1997 1998commit b5efbb31ec7c27895507add4497dbfc87f930bb3 1999Author: Adam Jackson <ajax@redhat.com> 2000Date: Mon Dec 8 16:37:59 2008 -0500 2001 2002 Accept --props synonym for --prop 2003 2004commit 57cabac91099a8abd5afad75de64e54930c078ec 2005Author: Matthias Hopf <mhopf@suse.de> 2006Date: Mon Dec 8 12:24:37 2008 +0100 2007 2008 Only set transforms if actually changed. 2009 2010 Re-enables other crtc settings if transforms are not supported. 2011 2012commit 970f689651fc86fa7a2ba24f0fab5f86f01af349 2013Author: Matthias Hopf <mhopf@suse.de> 2014Date: Thu Dec 4 17:47:05 2008 +0100 2015 2016 Add manpage entry. 2017 2018commit d030ae78e8516b916e9ea1ea81e3b4859bf35875 2019Author: Matthias Hopf <mhopf@suse.de> 2020Date: Thu Dec 4 15:57:22 2008 +0100 2021 2022 Bump to 1.2.99.2, RandR requirements to 1.2.99.2 2023 2024commit f6b5862f87ba7e1729c46136ef7754a06301853f 2025Author: Matthias Hopf <mhopf@suse.de> 2026Date: Fri Nov 28 17:16:11 2008 +0100 2027 2028 Add panning support. 2029 2030commit 1dc67ca918446cb7db4819f60f36e7bc6f4c047b 2031Author: Matthieu Herrb <matthieu.herrb@laas.fr> 2032Date: Sat Dec 6 11:40:53 2008 +0100 2033 2034 Don't use GNU make only constructs. 2035 2036commit 7963d4217c12d2e4b0c38ad4ff185462784609f7 2037Author: Julien Cristau <jcristau@debian.org> 2038Date: Mon Dec 1 23:27:51 2008 +0100 2039 2040 Require libXrandr 1.2.91 2041 2042commit ba78e14c8c43a141fc5227e7bb75d6cfd0f70dba 2043Author: Julien Cristau <jcristau@debian.org> 2044Date: Mon Dec 1 21:45:47 2008 +0100 2045 2046 Fix build outside of the source dir 2047 2048commit 63ba316bcbe8ad61ba63d9fe62c82e7d56dcc399 2049Merge: a813c4d 1b95e32 2050Author: Julien Cristau <jcristau@debian.org> 2051Date: Mon Dec 1 21:33:35 2008 +0100 2052 2053 Merge branch 'transform-proposal' of git.freedesktop.org:/git/xorg/app/xrandr 2054 2055commit 1b95e32b4b0a4a114e0fbebe8a18316d2f9010cf 2056Author: Keith Packard <keithp@keithp.com> 2057Date: Fri Nov 14 14:14:24 2008 -0800 2058 2059 Add --scale and --transform to --help output 2060 2061commit e9a5d1c598cd0440f062240430a9b86b4d514ada 2062Author: Keith Packard <keithp@keithp.com> 2063Date: Fri Nov 14 14:13:51 2008 -0800 2064 2065 Check return value from XRRGetCrtcTransform 2066 2067 XRRGetCrtcTransform will return 0 if the X server does not support this 2068 request. 2069 2070commit a813c4da7f0b166ee9001fa97c5d8d64e5b5b560 2071Author: Alan Coopersmith <alan.coopersmith@sun.com> 2072Date: Tue Aug 19 09:39:00 2008 -0700 2073 2074 Man page typo fix 2075 2076commit 8ef4595aef15b7326822849a50c273f2a2b4ba30 2077Author: Julien Cristau <jcristau@debian.org> 2078Date: Fri Aug 15 21:23:13 2008 +0200 2079 2080 Manpage typo fixes 2081 2082commit 977275a13be0687efc3db1fd3763174ff1256210 2083Author: Eric Piel <E.A.B.Piel@tudelft.nl> 2084Date: Sun Aug 10 23:28:25 2008 +0200 2085 2086 update the manpage 2087 2088 Describe all the options supported, including: --dryrun, -display, 2089 --q1, --q12, and --rate for 1.1 2090 Describe all short and long version of the option. 2091 Use the usual man style for the option arugments. 2092 Move the four --*mode options out of the output section as they are 2093 independant of an output. 2094 Mention cvt for computing modelines. 2095 Gives some examples. 2096 2097commit 3046799a06ecb79211ef0f4a2db9de4eec7233fb 2098Author: Egbert Eich <eich@freedesktop.org> 2099Date: Sun Aug 3 13:24:49 2008 +0200 2100 2101 Fix for 64bit: feed a pointer to the right size variable to scanf(). 2102 2103 XID is unsigned long, however %x in scanf takes a pointer to an unsigned int. 2104 Thus with XID xid, a sscanf(..., "0x%x", &xid) will most likely produce the 2105 wrong results. 2106 2107commit 0d2082e9eb25cb7410309eed908b7f95abb8da79 2108Author: Keith Packard <keithp@keithp.com> 2109Date: Tue Apr 1 23:46:02 2008 -0700 2110 2111 Exit when select output is not available 2112 2113commit 18a189993b3df8bc54a79e0d62240ef203d6f34f 2114Author: Keith Packard <keithp@keithp.com> 2115Date: Tue Apr 1 23:44:50 2008 -0700 2116 2117 Fix up xkeystone to use current screen/output settings 2118 2119commit 9e8860f9231926090462ea20132cc9e1d64e5fe4 2120Author: Keith Packard <keithp@keithp.com> 2121Date: Sun Mar 30 19:03:53 2008 -0700 2122 2123 Execute xrandr to set keystone correction 2124 2125commit 206bfbea4ebe854fdfa66e8a6fbd9296b6004c0e 2126Author: Keith Packard <keithp@keithp.com> 2127Date: Sun Mar 30 19:03:29 2008 -0700 2128 2129 add --transform none to reset to identity 2130 2131commit 443e1f80c885133ae6df590f1a7663833c76b7f3 2132Author: Keith Packard <keithp@keithp.com> 2133Date: Fri Mar 21 23:29:41 2008 -0700 2134 2135 Build and install xkeystone program from keystone.5c 2136 2137commit a7a7eea510b5a87c1e12516fadae4d13bd26e0a0 2138Author: Keith Packard <keithp@keithp.com> 2139Date: Fri Mar 21 23:26:30 2008 -0700 2140 2141 Track toolkit name change (chrome->nichrome) 2142 2143commit 74dae9d4b06369a1863e7a68b7b3772751e06ff1 2144Author: Keith Packard <keithp@keithp.com> 2145Date: Fri Mar 21 03:17:44 2008 -0700 2146 2147 Add keystone.5c program to help compute transforms. 2148 2149commit 46bd35dd9004c0f9f47dc44b77a8c28e3ab7ced1 2150Author: Keith Packard <keithp@keithp.com> 2151Date: Fri Mar 21 03:17:40 2008 -0700 2152 2153 Make screen undersize a warning instead of an error 2154 2155commit b816bf38b418618c2f1cb5ded09aa3b346f8eb15 2156Author: Keith Packard <keithp@keithp.com> 2157Date: Tue Mar 18 16:04:34 2008 -0700 2158 2159 Add --transform to pass arbitrary transforms to the server 2160 2161commit 3809884530223e32f7026ec987257cb91e2122a9 2162Author: Keith Packard <keithp@keithp.com> 2163Date: Tue Mar 18 16:04:22 2008 -0700 2164 2165 Eliminate inverse matrix from randr transform protocol 2166 2167 It is easier, and potentially more precise, to compute the inverse in the 2168 server where everything can eventually be kept in floating point form. 2169 2170commit 854a7c2916455fec5ec1ba87576e26706d151381 2171Author: Keith Packard <keithp@keithp.com> 2172Date: Mon Mar 17 13:59:40 2008 -0700 2173 2174 Transform mode bounds when computing sizes. 2175 2176 Ensure screen sizes are compared with projected mode image, including 2177 rotation and transformation. 2178 2179commit bed3da4feaa505a5b50a4c94b0e6661bdac1fcbd 2180Author: Keith Packard <keithp@keithp.com> 2181Date: Sat Mar 15 00:35:08 2008 -0700 2182 2183 Manage transform filters. Use bilinear for non-identity scale. 2184 2185 This involved creating a compound transform datatype to hold all of the 2186 relevant transform and filter information. Adding arbitrary transforms 2187 should be fairly easy at this point. 2188 2189commit ba35bb5d306f4edf9a47b92f249132a0814f5db1 2190Author: Keith Packard <keithp@keithp.com> 2191Date: Mon Mar 10 21:19:41 2008 -0700 2192 2193 Add output scaling using the 1.3 transform requests 2194 2195commit 4dcc8ae1a6903434def1a2706f7c68ff9e2a17c4 2196Author: Hong Liu <hong.liu@intel.com> 2197Date: Mon Mar 10 21:37:09 2008 -0700 2198 2199 Move outputs among crtcs as necessary. Fixes 14570 2200 2201 This patch makes new requests override existing crtc allocations. Outputs 2202 with restricted crtc usage can now force existing outputs to switch 2203 automatcially. 2204 2205commit 7465357396e2f32325791e27f28cbbe9753db3ab 2206Author: Adam Jackson <ajax@redhat.com> 2207Date: Fri Mar 7 16:38:28 2008 -0500 2208 2209 xrandr 1.2.3 2210 2211commit 4450756d2d1d86f3c0bfaef81f6265f795468f32 2212Author: Brice Goglin <bgoglin@debian.org> 2213Date: Sat Dec 15 00:59:00 2007 +0100 2214 2215 Clarify the ability to manipulate multiple outputs in the manpage 2216 2217commit 5c2a003adab4aaa979a095e18793b01cfa694bf4 2218Author: Brice Goglin <bgoglin@debian.org> 2219Date: Sat Dec 15 00:49:35 2007 +0100 2220 2221 Allow the same output to be specified several times on the command line 2222 2223 Without this 2224 xrandr --output FOO --mode 1024x768 --output FOO --rotate left 2225 only changed the mode but did not apply the rotation. 2226 2227 Reported by Marc Haber in 2228 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455225 2229 2230commit ab5e07fdd10f6340289b786414804a034ca98f0b 2231Author: Matthias Hopf <mhopf@suse.de> 2232Date: Fri Nov 30 16:13:51 2007 +0100 2233 2234 Add another test known to fail. 2235 2236commit 4bc84c331f4f0f0658ad1f6c0107e3e6af2a7911 2237Author: Matthias Hopf <mhopf@suse.de> 2238Date: Thu Nov 29 19:54:34 2007 +0100 2239 2240 Add informational output for known issues. 2241 2242commit 3fb533ff896bd642200e7242c4d35a887faeca74 2243Author: Matthias Hopf <mhopf@suse.de> 2244Date: Thu Nov 29 19:54:03 2007 +0100 2245 2246 Add more tests, mostly regarding crtc switching and uncloning. 2247 2248commit 20c8a60950cb5b4ddef305dc9822bec1c33e938c 2249Author: Matthias Hopf <mhopf@suse.de> 2250Date: Wed Nov 21 16:48:23 2007 +0100 2251 2252 Oops. Fix missing space introduced by last commit. 2253 2254commit 3347c849462b737a873a279c24d17c873667c821 2255Author: Matthias Hopf <mhopf@suse.de> 2256Date: Wed Nov 21 16:47:08 2007 +0100 2257 2258 Be more robust in test case if mode database is borked. 2259 2260 If modes are reported multiple times per output only bother for the last. 2261 2262commit 81e8f2f5673befded3320424f4511e322d41c80b 2263Author: Matthias Hopf <mhopf@suse.de> 2264Date: Wed Nov 21 16:41:33 2007 +0100 2265 2266 Some minor issues in test case fixed. 2267 2268 'my' not being used correctly. 2269 Some lines of xrandr --verbose output missing in failure case. 2270 If order of outputs change in xrandr -q output they are sorted into original 2271 order now. 2272 2273commit 3a27185879e7a9288de960ccb26a48104cf592e3 2274Author: Matthias Hopf <mhopf@suse.de> 2275Date: Tue Nov 20 13:03:07 2007 +0100 2276 2277 More tests for ambiguous xrandr output. 2278 2279commit c9bd9721e162e4d9d83dd60400c75d4cc98090bd 2280Author: Matthias Hopf <mhopf@suse.de> 2281Date: Mon Nov 19 20:06:39 2007 +0100 2282 2283 Use IDs for mode selection instead of hand-crafted <w>x<h>@<r> strings. 2284 2285 Some machines provide e.g. multiple 1024x768@60 modes with /slightly/ 2286 different timings. Often only one of them can be used on multiple outputs. 2287 2288commit a05d2b6e3ffd81ecc0be98b8d2b758505fb55f3f 2289Author: Matthias Hopf <mhopf@suse.de> 2290Date: Mon Nov 19 12:24:04 2007 +0100 2291 2292 Improved test script. 2293 2294 Allow for outputs in "unknown" state. 2295 Check xrandr return value. 2296 Output full xrandr --verbose output if test failed. 2297 2298commit e15a527b6cf1e66709eae4547c8e8bd3402362fe 2299Author: Matthias Hopf <mhopf@suse.de> 2300Date: Mon Nov 12 15:25:44 2007 +0100 2301 2302 Add xrandr test suite. 2303 2304 At the moment it only tests setting one output at a time, it should be 2305 improved to add some multi-output setting as well. Also it only tests clone 2306 modes at the moment, no multi-monitor setups. 2307 2308commit f7aaf8947a0f216ffedc7040b0a1ef153b471425 2309Author: Matthias Hopf <mhopf@suse.de> 2310Date: Mon Nov 12 15:19:52 2007 +0100 2311 2312 Always reset other outputs using the best crtc. 2313 2314 pick_crtcs_score() didn't set up crtcs references correctly if anything but 2315 the last output resulted in the best score. 2316 2317commit 307f3686d3d517cb29b8e66d8ad2ff76a48748b7 2318Author: Matthias Hopf <mhopf@suse.de> 2319Date: Mon Nov 12 15:18:30 2007 +0100 2320 2321 Verify crtc against previous config. 2322 2323 When selecting a crtc for an output, it doesn't check for already attached 2324 outputs in check_crtc_for_output(), and so may select an crtc that is already 2325 in use. 2326 E.g. when changing from a cloned mode the displays won't be split up to 2327 different crtcs, but the same crtc will be used, changing the resolution for 2328 the unspecified display as well. 2329 2330commit 4834439ce62e41204367cf5356a7a1719870791f 2331Author: Matthias Hopf <mhopf@suse.de> 2332Date: Thu Oct 11 16:54:40 2007 +0200 2333 2334 Build ChangeLog from git-log automatically. 2335 2336commit 2fa28afb035cf2d2efb077db58d3858c57189be4 2337Author: Adam Jackson <ajax@benzedrine.nwnk.net> 2338Date: Tue Oct 2 11:06:18 2007 -0400 2339 2340 Death to ChangeLog 2341 2342commit 0cfaad401711092f8858cdec64e4d4f33023f398 2343Author: Adam Jackson <ajax@benzedrine.nwnk.net> 2344Date: Tue Oct 2 11:06:02 2007 -0400 2345 2346 Update COPYING 2347 2348commit 06d7272d845033fe3c6f0625cce5a32e7be636a7 2349Author: Brice Goglin <bgoglin@debian.org> 2350Date: Thu Aug 9 19:06:37 2007 +0200 2351 2352 When invoked with no option, xrandr dumps existing modes 2353 2354commit b9b2fbbf7a7dd156d1fdffac2e4a4046f58baabb 2355Author: Brice Goglin <bgoglin@debian.org> 2356Date: Thu Aug 9 19:04:58 2007 +0200 2357 2358 Add *current and +preferred to the --verbose output 2359 2360commit 200491c1fad5ea1a733dfbac799a2ebea0a2f23c 2361Author: Keith Packard <keithp@neko.keithp.com> 2362Date: Wed Jul 4 20:05:03 2007 -0700 2363 2364 Bump to 1.2.2 2365 2366commit 9db36331a2acafbf2dab05f481ce16ab094fde52 2367Author: Keith Packard <keithp@neko.keithp.com> 2368Date: Wed Jul 4 20:04:29 2007 -0700 2369 2370 Print out mode flags in --verbose mode 2371 2372commit 49058de9b743f5196f97fb13cd9a695087b1299c 2373Author: Keith Packard <keithp@neko.keithp.com> 2374Date: Wed Jul 4 19:41:32 2007 -0700 2375 2376 Mark 1.1 options as inconsistent with 1.2 options 2377 2378commit c58e79a9c4c3967fb31a49a610a37b5797426415 2379Author: Keith Packard <keithp@neko.keithp.com> 2380Date: Thu Jun 21 15:57:37 2007 +0100 2381 2382 Document 1.2.1 options 2383 2384commit 0499ce5ed6378bc68cbf8eafc9932ddf495ae708 2385Author: Keith Packard <keithp@dulcimer.keithp.com> 2386Date: Sat Jun 30 14:00:30 2007 -0700 2387 2388 When simple CRTC allocation fails, search all available configs. 2389 2390 When enabling an output, if there isn't an idle CRTC available, try to 2391 reconfigure existing outputs to make things work. 2392 2393commit 0f2014e67193eb0f8e12ab1c3d5cae8991ba439d 2394Author: Keith Packard <keithp@dulcimer.keithp.com> 2395Date: Sat Jun 30 13:09:45 2007 -0700 2396 2397 Clean up code structure a bit 2398 2399commit 63d385f2c24c522d974652da138a83d78014713e 2400Author: Alan Coopersmith <alan.coopersmith@sun.com> 2401Date: Thu Jun 21 09:35:53 2007 -0700 2402 2403 Add *~ to .gitignore to skip emacs & patch droppings 2404 2405commit 4bd2f4004a6f75a7e4cb32b9e320e680f8839748 2406Author: Alan Coopersmith <alan.coopersmith@sun.com> 2407Date: Thu Jun 21 09:34:53 2007 -0700 2408 2409 Man page formatting and typo fixes 2410 2411commit b0812f8efe448c85979a9f5fab4a5a4e0c0e78d0 2412Author: Keith Packard <keithp@neko.keithp.com> 2413Date: Thu Jun 21 11:37:56 2007 +0100 2414 2415 Update to version 1.2.1 2416 2417commit 739f01957c8ebd3b7bcecfd7ad8174884561f7db 2418Author: Aaron Plattner <aplattner@nvidia.com> 2419Date: Wed Apr 25 11:59:48 2007 -0700 2420 2421 Fix bugs found by compiling with -Wall. 2422 2423 Also fix some unused variable warnings. 2424 2425commit 8e43df335679c71930465e4c58c0bd14d9add29a 2426Author: Aaron Plattner <aplattner@nvidia.com> 2427Date: Wed Apr 25 10:52:19 2007 -0700 2428 2429 Fix a typo. Make mode flags case insensitive. Improve error messages. 2430 2431commit 49aab1e0e4cb2226d5bcc8e4e6217309fd23ce52 2432Author: Keith Packard <keithp@neko.keithp.com> 2433Date: Fri Apr 6 03:36:27 2007 -0700 2434 2435 Skip relative positions for outputs without modes. 2436 2437 An output without a mode is turned off; do not try to position it. 2438 2439commit 86d9b15cccc4d21ad5e5d34d7e7b82a50903939b 2440Author: Keith Packard <keithp@guitar.keithp.com> 2441Date: Sun Mar 25 23:44:01 2007 -0700 2442 2443 Support XA_ATOM properties (like TV_FORMAT). 2444 2445 Atom properties have lists of valid values that are all atoms, so display 2446 those. Also, fetch property data and use that to determine which format new 2447 property values are supposed to be in. 2448 2449commit dba14af8328eaaad716d1c27a5514df285d8d4cc 2450Author: Keith Packard <keithp@guitar.keithp.com> 2451Date: Fri Mar 23 01:21:21 2007 -0700 2452 2453 Add --set option to set output properties. 2454 2455 Numeric values are set as XA_INTEGER format 32 values, everything else is 2456 set as an XA_STRING format 8 value. 2457 2458commit ca7a5bb5691ecd1d8da6def373c793aa7a07dbbe 2459Author: Keith Packard <keithp@guitar.keithp.com> 2460Date: Thu Mar 15 20:57:17 2007 -0700 2461 2462 Bounds check -s <index> argument to be 0 <= index < nsize 2463 2464 Print a nice error message when the -s option is passed a number out of 2465 bounds. 2466 2467commit 0cbbc7804781c2e55899ba9271365735c4a2b544 2468Author: Keith Packard <keithp@guitar.keithp.com> 2469Date: Thu Mar 15 20:56:15 2007 -0700 2470 2471 Make --q1 output RandR 1.1 query information. 2472 2473 --q1 required a --query option to actually output any information. 2474 2475commit 7ae11b66cc26395d34070013e23813db3ca3e55f 2476Author: Keith Packard <keithp@guitar.keithp.com> 2477Date: Thu Mar 15 20:55:30 2007 -0700 2478 2479 Make --auto after --output only affect the output. 2480 2481 --auto has two meanings; if presented before any --output flags, it requests 2482 that connected-but-disabled outputs be enable while disconnected-but-enabled 2483 outputs be disabled. After --output, --auto simply asks that the mode used 2484 for the output be automatically selected. Mixing these two operations is not 2485 a good default. 2486 2487commit a53cc9b37c40dca936037a89013253f37c9a05ee 2488Author: Keith Packard <keithp@guitar.keithp.com> 2489Date: Mon Mar 12 22:47:39 2007 -0700 2490 2491 Add --addmode and --delmode commands to edit list of modes per output. 2492 2493 --addmode <output> <mode> inserts <mode> into the list supported by 2494 <output>, while --delmode removes a mode. 2495 2496commit dca4bd66b166b64314993aba34a3080c6953ac12 2497Author: Keith Packard <keithp@guitar.keithp.com> 2498Date: Mon Feb 19 17:12:24 2007 -0800 2499 2500 Add --newmode/--rmmode to create/destroy user modes. 2501 2502 The syntax may be a bit hard to work with, but these serve to test the 2503 server infrastructure for custom modes. 2504 2505commit 9fd6aa1445a8f1e721ba8cdcd1ac12375d6e5a26 2506Author: Tilman Sauerbeck <tilman@code-monkey.de> 2507Date: Fri Mar 9 10:12:17 2007 +0100 2508 2509 Fixed alignment of the clones list. 2510 2511commit 3c44d68d78d8bddf69b5bd1a00f854d8cde971bb 2512Author: Keith Packard <keithp@neko.keithp.com> 2513Date: Wed Feb 21 11:24:35 2007 -0800 2514 2515 Add --same-as option to match output positions. 2516 2517 This provides another positioning option that makes two outputs appear at 2518 the same location. 2519 2520commit 8a0c3b748b0e94c97fbc2a7449c6740b8acfe394 2521Author: Keith Packard <keithp@neko.keithp.com> 2522Date: Sun Feb 18 21:27:55 2007 -0800 2523 2524 Update version number to 1.2.0 for release. 2525 2526commit 13cef2baa884039e96f5dfd9245bb949aed99448 2527Merge: 065f09c a175972 2528Author: Keith Packard <keithp@neko.keithp.com> 2529Date: Sun Feb 18 21:26:50 2007 -0800 2530 2531 Merge branch 'origin' 2532 2533commit 065f09cc304d0c70eaf3cf6f3ff21e712e41d205 2534Author: Keith Packard <keithp@neko.keithp.com> 2535Date: Sun Feb 18 21:25:54 2007 -0800 2536 2537 Require only libXrandr 1.2.0, not 1.2.0.0. 2538 2539 Four digits seems excessive in a library version number. 2540 2541commit a175972de6fbe5426fb5c6bee03112678f0a9548 2542Author: Keith Packard <keithp@guitar.keithp.com> 2543Date: Thu Feb 15 23:07:34 2007 -0800 2544 2545 Select crtc which can be cloned to outputs which will be in use. 2546 2547 Correct crtc selection algorithm to choose a crtc which will be used by 2548 outputs which can all share the same crtc. 2549 2550 Also, make randr 1.0 commands work even when --verbose is specified, and 2551 terminate event loop in that case when the screen change event is seen. 2552 2553commit d707822aab19a0a8fe08f03300fdd9d4e206871e 2554Author: Keith Packard <keithp@neko.keithp.com> 2555Date: Sat Feb 10 18:27:06 2007 -0800 2556 2557 Selecting a crtc by index was failing to match a crtc. 2558 2559 --crtc <index> would fail to match because of a logic bug using & instead of 2560 &&. 2561 2562commit 89bf2c3c0e17c67adc3e2fdca54f0e8254dc8968 2563Author: Keith Packard <keithp@neko.keithp.com> 2564Date: Sat Feb 10 16:14:58 2007 -0800 2565 2566 Display set of available CRTCs per output in --verbose mode. 2567 2568commit 067cafb5cda0aa6e34773e888fd469ff657760c2 2569Merge: 7c25c24 b0a00df 2570Author: Keith Packard <keithp@guitar.keithp.com> 2571Date: Wed Jan 31 15:25:35 2007 -0800 2572 2573 Merge branch 'randr-1.2' 2574 2575 Merge support for RandR 1.2 changes to the xrandr program along with 2576 documentation for the new options. 2577 2578commit b0a00df69f832ada40be6bd6973835439a698440 2579Author: Keith Packard <keithp@guitar.keithp.com> 2580Date: Wed Jan 31 15:22:02 2007 -0800 2581 2582 Update documentation to include all RandR 1.2 options. 2583 2584 Also, require libXrandr version 1.2.0.0 or better. 2585 2586commit 6b9310d66eed59527d4002294be13884a7cbeacc 2587Author: Keith Packard <keithp@guitar.keithp.com> 2588Date: Tue Jan 30 20:35:58 2007 -0800 2589 2590 Missing return statement from output_rotation. 2591 2592 output_rotation was returning garbage making the available output rotations 2593 display incorrectly. 2594 2595commit 5c3b6b1013c7565c40e82bfc0514a3dd80aec2d8 2596Author: Keith Packard <keithp@neko.keithp.com> 2597Date: Tue Jan 30 20:16:46 2007 -0800 2598 2599 Remove xrandr12.c app now that xrandr.c has RandR 1.2 support. 2600 2601commit eaf3e459d7760bbcb3c7f7c9b23b1e386189c71e 2602Author: Keith Packard <keithp@neko.keithp.com> 2603Date: Tue Jan 30 00:10:23 2007 -0800 2604 2605 Add --reflect option for RandR 1.2 reflection selection. 2606 2607 Also, display available rotations after current rotation 2608 2609commit 8ecc6c034836a6fb6df0e2ad24429f506bf82e37 2610Author: Eric Anholt <eric@anholt.net> 2611Date: Tue Jan 16 10:48:01 2007 -0800 2612 2613 Add display for 32-bit integer properties, such as backlight. 2614 2615commit 4112d13d7b15150e33687b687604c3a72188c066 2616Author: Keith Packard <keithp@mandolin.keithp.com> 2617Date: Mon Jan 1 17:04:42 2007 -0800 2618 2619 Mode on CRTC may not be present for any output. 2620 2621 When an output gets disconnected, the current CRTC mode may no longer be 2622 listed as valid for any output, but will still be listed for the screen. 2623 Search for current crtc mode in the screen list rather than the per-output 2624 list. 2625 2626commit 6ef7b2deafd09ae1a4b159f3c2e6e9db64bf01dc 2627Author: Keith Packard <keithp@neko.keithp.com> 2628Date: Sun Dec 31 23:02:12 2006 -0800 2629 2630 Using %lf to read float overwrote adjacent variable. 2631 2632 Just use floats everywhere and %f instead. 2633 2634commit f6073333dcfb6989ff8793854fb42e08388444c5 2635Author: Keith Packard <keithp@neko.keithp.com> 2636Date: Sun Dec 31 13:55:14 2006 -0800 2637 2638 Add rotation/reflection status to 1.2 query output. 2639 2640 The previous cleanup had left these values missing from any output. 2641 Also it now reports the effective size of the mode within the screen. 2642 2643commit 5d2a76b70b7b59a45655b25db79d75cb08fe671d 2644Author: Keith Packard <keithp@neko.keithp.com> 2645Date: Sun Dec 31 13:38:40 2006 -0800 2646 2647 Clean up RandR 1.2 query output. 2648 2649 Make brief mode list just mode names and refresh rates. 2650 Add --prop/--properties flag to show properties. 2651 Add --q1 flag to force showing pre-1.2 data. 2652 2653commit d9aeb4a7544ad4a33f6f54bc46bff5cdf231a986 2654Author: Keith Packard <keithp@neko.keithp.com> 2655Date: Sun Dec 31 12:45:25 2006 -0800 2656 2657 Add --rate support to RandR 1.2 mode selection. 2658 2659 Search for mode closest to specified rate for each output and use that 2660 instead of the one with the first matching name. If no rate is specified, 2661 the first one still matches allowing the driver to place preferred rates 2662 first in the list. 2663 2664commit c04d69cbd8a8a96862356afcda6ee679d663a524 2665Author: Keith Packard <keithp@neko.keithp.com> 2666Date: Sun Dec 31 11:58:11 2006 -0800 2667 2668 Grab server while applying changes. 2669 2670 Applications that respond to screen size changes by quering Xinerama 2671 information need to be blocked so that they see the entirety of the changes 2672 rather than just the screen size shift and not the crtc changes. 2673 2674commit 8e78af971048db711163ea297153703b4f37f3c9 2675Author: Keith Packard <keithp@neko.keithp.com> 2676Date: Sat Dec 30 21:49:40 2006 -0800 2677 2678 Enable global --auto flag. Allow output name for --dpi switch. 2679 2680 --auto at the global level checks for output status changes and 2681 automatically configures changed outputs. --dpi with an output switch uses 2682 the specified output as the source of the dpi information. 2683 2684commit f7a3e478a6a5d59a2bbcd6dc416639f93a0520fd 2685Author: Keith Packard <keithp@neko.keithp.com> 2686Date: Sat Dec 30 19:41:48 2006 -0800 2687 2688 Use Bool type. Position relative to disabled output is 0,0. 2689 2690 Switch uses of int that are strictly boolean to Bool. 2691 Instead of making attempts to set position relative to a disabled output an 2692 error, just place the output at 0,0. 2693 2694commit cb017692883daf64e0cf442a39b33eaafed0e420 2695Author: Keith Packard <keithp@neko.keithp.com> 2696Date: Sat Dec 30 17:34:46 2006 -0800 2697 2698 Restructure RandR 1.2 support to handle relative placement. 2699 2700 Ok, really, this is mostly a rewrite of the RandR 1.2 support. First, 2701 collect commands from command line arguments. Next, fill in existing 2702 configuration from X server. Calculate new configuration. Apply 2703 configuration, if anything fails, revert to previous configuration. 2704 2705 Still left -- pure --auto, and --extend/--clone options. 2706 2707commit b9dee113ce4105c1cf25e3c417c616c024aea823 2708Author: Keith Packard <keithp@guitar.keithp.com> 2709Date: Fri Dec 29 00:55:37 2006 -0800 2710 2711 Make query return 1.2 information if available 2712 2713commit 90e4a4c13957bd003294f64b86460813dd38a3de 2714Author: Keith Packard <keithp@neko.keithp.com> 2715Date: Thu Dec 21 17:37:20 2006 -0800 2716 2717 Accept hex mode numbers as well as mode names. 2718 2719 Sometimes mode names are ambiguous; this lets the user specify modes by XID. 2720 2721commit e8f7047885ec85096a3f35b9cfb20386104fdc55 2722Author: Keith Packard <keithp@neko.keithp.com> 2723Date: Tue Dec 19 16:27:46 2006 -0800 2724 2725 Actually respect the --fb option 2726 2727commit 7b32611632ab08b6a123db5df1c2b919b3a12104 2728Merge: a0df3aa 4bb1a9c 2729Author: Keith Packard <keithp@guitar.keithp.com> 2730Date: Tue Dec 19 15:58:38 2006 -0800 2731 2732 Merge branch 'randr-1.2-origin' into randr-1.2 2733 2734commit a0df3aa81205b35ff8d9541c036cfd158cbd99ed 2735Author: Keith Packard <keithp@guitar.keithp.com> 2736Date: Tue Dec 19 15:58:21 2006 -0800 2737 2738 Correct format for sscanf to double variable "dpi" 2739 2740commit 4bb1a9cd6f9cc3ed61d7913528afa3f573092833 2741Merge: b6c0382 6ef400f 2742Author: Keith Packard <keithp@bouzouki.jf.intel.com> 2743Date: Wed Dec 13 11:36:36 2006 -0800 2744 2745 Merge branch 'randr-1.2-origin' into randr-1.2. Detect invalid mode. 2746 2747 Invalid mode test was checking wrong mode index. Also, print more 2748 informative error message when this occurs. 2749 2750commit b6c03827bae74ef5b9517c4246b0165dad8ee780 2751Author: Keith Packard <keithp@bouzouki.jf.intel.com> 2752Date: Wed Dec 13 11:27:30 2006 -0800 2753 2754 Name CRTCs by index or id. Use current CRTC to get current mode. 2755 2756 CRTCs have no intrinsic name, so let users provide either the number in the 2757 list or the XID when referring to them explicitly. 2758 When no mode is specified, look up the current CRTC for the output and use 2759 that mode, instead of using the mode on the target CRTC. 2760 When switching an output from one CRTC 2761 2762commit 6ef400f35d7d8712d1ad1efd87a8a3cb8bfacd96 2763Author: Keith Packard <keithp@guitar.keithp.com> 2764Date: Wed Dec 13 09:53:17 2006 -0800 2765 2766 Add --preferred and --auto support. 2767 2768 --preferred selects the 'best' mode for the monitor automatically, either by 2769 looking for a preferred mode, or selecting one which is closest to the 2770 current screen DPI. 2771 2772 --auto checks connected status and disables the output if disconnected, 2773 otherwise it enables it with the preferred mode (as if --preferred). 2774 2775commit c69c3080febd8617349f88557c3c04388a13a76c 2776Author: Keith Packard <keithp@guitar.keithp.com> 2777Date: Tue Dec 12 09:54:52 2006 -0800 2778 2779 mark disabled crtc as changing, set rotation to 90 for disabled crtc. 2780 2781 --off code was not correctly finding and marking the to-be-disabled crtc, 2782 and the disabling code was sending an uninitialized rotation value to the 2783 server when no outputs were connected. 2784 2785commit 6be56cd10d934e496004f9ffd377225fd179f4b1 2786Author: Keith Packard <keithp@neko.keithp.com> 2787Date: Mon Dec 11 00:39:48 2006 -0800 2788 2789 Update manual, elide unsupported options from usage, remove xrandr12 from build 2790 2791commit 624c75e8c250b33a81890c8f0da741a13ad4e7d1 2792Author: Keith Packard <keithp@neko.keithp.com> 2793Date: Mon Dec 11 00:23:15 2006 -0800 2794 2795 Add RandR 1.2 support to plain xrandr app. primitive for now 2796 2797commit 7c25c245bceb0474541fe7a2615a4f665842ac32 2798Author: Jeremy C. Reed <reed@glacier.reedmedia.net> 2799Date: Sat Dec 9 06:32:19 2006 -0600 2800 2801 Document -v switch. 2802 2803commit 2a32fa8cf8550a3a30871d25a23af07f65646c47 2804Author: Keith Packard <keithp@neko.keithp.com> 2805Date: Tue Nov 21 01:17:38 2006 -0800 2806 2807 Track RandR output property changes 2808 2809commit 795173d2b9b94a3468db277102b4898b4e5a1ead 2810Author: Keith Packard <keithp@neko.keithp.com> 2811Date: Thu Nov 16 22:14:33 2006 -0800 2812 2813 properties are stored in unsigned char arrays 2814 2815commit 2df4352bb43e155977f8d4c0b53771cb0085ab74 2816Author: Keith Packard <keithp@neko.keithp.com> 2817Date: Thu Nov 16 11:45:51 2006 -0800 2818 2819 Remove RandR output options. 2820 2821 Output options are to be replaced with properties. 2822 2823commit 643787365fd716b902b597b67b2ec228dacfc862 2824Author: Keith Packard <keithp@neko.keithp.com> 2825Date: Wed Nov 1 10:57:24 2006 -0800 2826 2827 Re-indent to 4 space tabs 2828 2829commit 947ea6ee9d7cf72c5635c699b63ddda3be968675 2830Author: Keith Packard <keithp@neko.keithp.com> 2831Date: Wed Nov 1 10:55:21 2006 -0800 2832 2833 Fix copyright and license information 2834 2835commit dc41095b577db571439ff1a52facc4efe9f5132f 2836Author: Eric Anholt <eric@anholt.net> 2837Date: Thu Nov 9 20:26:09 2006 -0800 2838 2839 Print 8-bit integer output properties as 32-char rows of hex. 2840 2841 This happens to produce pretty output for EDID data. 2842 2843commit 67466ebb817e24bfd7f57cc82da16e194eb9c547 2844Author: Eric Anholt <eric@anholt.net> 2845Date: Thu Nov 9 17:15:56 2006 -0800 2846 2847 Add more .gitignore entries. 2848 2849commit aafe9f7d24e96194a7ee11ba521a3c2c72dcdc95 2850Author: Eric Anholt <eric@anholt.net> 2851Date: Thu Nov 9 17:15:06 2006 -0800 2852 2853 Add output for output properties (assuming text) and blanking information. 2854 2855commit 6ba07ae9ea5fa2829d17e8a1f3eb26e7c1a2813e 2856Author: Eric Anholt <eric@anholt.net> 2857Date: Wed Nov 8 10:23:47 2006 -0800 2858 2859 Add dot clock to output. 2860 2861commit fba78f58029a806e4446d038b17b843d2c4026a6 2862Author: Keith Packard <keithp@mandolin.keithp.com> 2863Date: Wed Nov 1 00:32:22 2006 -0800 2864 2865 Track protocol moving physical size from mode to output 2866 2867commit d9c45204a16e906b922ac94cae3c9f4f25b3ccdb 2868Author: Keith Packard <keithp@neko.keithp.com> 2869Date: Thu Oct 26 22:58:58 2006 -0700 2870 2871 add physical size setting 2872 2873commit bd6ac82ff7e7fc04ab589a3053dc7f13ed7a1ec4 2874Author: Keith Packard <keithp@neko.keithp.com> 2875Date: Thu Oct 5 21:50:42 2006 -0700 2876 2877 Add crtc info. Mark preferred. Update to new SetCrtcConfig API. 2878 2879commit fe04d38d01f54b93ddaf1cd48a655df7f7fe4b97 2880Author: Keith Packard <keithp@neko.keithp.com> 2881Date: Thu Sep 21 08:16:45 2006 -0700 2882 2883 Add CRTC disable code (given crtc, output 0, mode 0) 2884 2885commit 7f1b81d443b78ff572726ad7d72eeb4a87c7189d 2886Author: Keith Packard <keithp@guitar.keithp.com> 2887Date: Wed Sep 20 20:03:22 2006 -0700 2888 2889 xrandr12, a horrible kludge, is now sufficient to do dynamic mergefb games. 2890 2891commit eba1d3d8ab6226737c29e63fdd5433190baab06f 2892Author: Keith Packard <keithp@guitar.keithp.com> 2893Date: Wed Sep 20 20:02:43 2006 -0700 2894 2895 .cvsignore -> .gitignore 2896 2897commit 6c5af262350a5fa33aa37293e8e7b537e344f52a 2898Author: Keith Packard <keithp@guitar.keithp.com> 2899Date: Wed Sep 20 20:02:09 2006 -0700 2900 2901 .cvsignore -> .gitignore 2902 2903commit d8e86340444577dc7634d3e0db24fd809f4e4fbb 2904Author: Keith Packard <keithp@guitar.keithp.com> 2905Date: Tue Sep 19 00:35:46 2006 -0700 2906 2907 Add new xrandr12 program for RandR 1.2 protocol. 2908 2909 Yes, xrandr12 will be merged with xrandr before release; it's just for 2910 debugging at present. 2911 2912commit f88f8e79724b27f46a836fac4956cbe28749633a 2913Author: Adam Jackson <ajax@nwnk.net> 2914Date: Wed Apr 26 23:43:34 2006 +0000 2915 2916 Bump to 1.0.2 2917 2918commit 47c6288e63ebe7a9bb2f3225e7d5a235bd979a5f 2919Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 2920Date: Tue Apr 25 22:54:01 2006 +0000 2921 2922 Don't try to fprintf a NULL string when -display wasn't passed and 2923 connecting to $DISPLAY failed, since that segfaults on some platforms. 2924 2925commit 0197bfdddca98c72bca0eeee349b90027638fc32 2926Author: Adam Jackson <ajax@nwnk.net> 2927Date: Mon Mar 20 18:56:37 2006 +0000 2928 2929 Bug #5511, #5512: Print more sensible error messages when fed broken 2930 command lines. (Bill Crawford) 2931 2932commit 4f785cb5db6d95c9f539500e7b202a0f5addd19f 2933Author: Kevin E Martin <kem@kem.org> 2934Date: Wed Dec 21 02:29:53 2005 +0000 2935 2936 Update package version for X11R7 release. 2937 2938commit 83491d233781c9e6a362aa8bac1ab4f2a239fdee 2939Author: Adam Jackson <ajax@nwnk.net> 2940Date: Mon Dec 19 16:22:46 2005 +0000 2941 2942 Stub COPYING files 2943 2944commit 5d09a0b505a2c08b81879e61173459d23f4c41db 2945Author: Kevin E Martin <kem@kem.org> 2946Date: Thu Dec 15 00:24:10 2005 +0000 2947 2948 Update package version number for final X11R7 release candidate. 2949 2950commit 3e0eb5b6f68ef9120153e7f01b4243ad4fa44254 2951Author: Kevin E Martin <kem@kem.org> 2952Date: Tue Dec 6 22:48:25 2005 +0000 2953 2954 Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 2955 2956commit d52f178dc51182e14d5d7ad9f2842f3e1d30a57f 2957Author: Kevin E Martin <kem@kem.org> 2958Date: Sat Dec 3 05:49:27 2005 +0000 2959 2960 Update package version number for X11R7 RC3 release. 2961 2962commit f3b3596d181a7ab89b90561490f822171ec77479 2963Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 2964Date: Mon Nov 28 22:01:46 2005 +0000 2965 2966 Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4 2967 update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir) 2968 2969commit 28c2280644f808c89e42e379b531fbb0fdf39bc7 2970Author: Eric Anholt <anholt@freebsd.org> 2971Date: Mon Nov 21 10:35:07 2005 +0000 2972 2973 Another pass at .cvsignores for apps. 2974 2975commit e5ab923625baf41a59e033abf3527709c8ef255b 2976Author: Eric Anholt <anholt@freebsd.org> 2977Date: Sun Nov 20 22:08:55 2005 +0000 2978 2979 Add/improve .cvsignore files for apps. 2980 2981commit 7e1cf1fef9dd000569dd5390380fb567314644a5 2982Author: Kevin E Martin <kem@kem.org> 2983Date: Sat Nov 19 07:15:38 2005 +0000 2984 2985 Update pkgconfig files to separate library build-time dependencies from 2986 application build-time dependencies, and update package deps to work 2987 with separate build roots. 2988 2989commit 89ab28833d4e2ff412a92bb2b47af2d78a109c00 2990Author: Kevin E Martin <kem@kem.org> 2991Date: Wed Oct 19 02:47:57 2005 +0000 2992 2993 Update package version number for RC1 release. 2994 2995commit 60178bb0c8bc97055c9aee7986866ada615491e6 2996Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 2997Date: Mon Oct 17 23:56:24 2005 +0000 2998 2999 Use @APP_MAN_SUFFIX@ instead of $(APP_MAN_SUFFIX) in macro substitutions to 3000 work better with BSD make 3001 3002commit 958b347b1e5e427858d3e693e5487ec7ba4f5054 3003Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 3004Date: Fri Oct 14 00:25:47 2005 +0000 3005 3006 Use sed to fill in variables in man page 3007 3008commit 35e7414c6e4505b2e71be0e54ed0c7ff74f39db1 3009Author: Aaron Plattner <aplattner@nvidia.com> 3010Date: Thu Oct 6 10:03:08 2005 +0000 3011 3012 Tell the user when setting the screen configuration fails. Return nonzero 3013 so scripts can find out too. 3014 3015commit 938ff7de3f2bc4979bbf8a5f68190cde2be12696 3016Author: Kevin E Martin <kem@kem.org> 3017Date: Fri Jul 29 21:22:37 2005 +0000 3018 3019 Various changes preparing packages for RC0: 3020 - Verify and update package version numbers as needed 3021 - Implement versioning scheme 3022 - Change bug address to point to bugzilla bug entry form 3023 - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to 3024 reenable it) 3025 - Fix makedepend to use pkgconfig and pass distcheck 3026 - Update build script to build macros first 3027 - Update modular Xorg version 3028 3029commit f241e34fd0f3bedf5aa615dc8e17352b91de8cd9 3030Author: Daniel Stone <daniel@fooishbar.org> 3031Date: Fri Jul 22 07:18:28 2005 +0000 3032 3033 Fix path to man pages. 3034 3035commit f87ac740a20ec3e8b452959081816f5fddeaaf87 3036Author: Adam Jackson <ajax@nwnk.net> 3037Date: Wed Jul 20 19:32:03 2005 +0000 3038 3039 Use a unique token for PKG_CHECK_MODULES. Otherwise, if you use a global 3040 configure cache, you cache it, and the cached value is probably wrong. 3041 3042commit 5666f22654447eb381186a85a8e1630d419b0a88 3043Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 3044Date: Fri Jul 1 20:27:45 2005 +0000 3045 3046 Build systems for xrdb, xrandr, xrefresh 3047 3048commit 39a8c733612722dca456c315a5ad299da1fe29d6 3049Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 3050Date: Sat Dec 4 00:43:18 2004 +0000 3051 3052 Encoding of numerous files changed to UTF-8 3053 3054commit df8c56f1f66cce27dd018248a30cd9465d2b545c 3055Author: Egbert Eich <eich@suse.de> 3056Date: Fri Apr 23 19:55:03 2004 +0000 3057 3058 Merging XORG-CURRENT into trunk 3059 3060commit 791685e93f32489dcd2d02a77e1a79ffb6c97c17 3061Author: Egbert Eich <eich@suse.de> 3062Date: Sun Mar 14 08:35:42 2004 +0000 3063 3064 Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004 3065 3066commit 342e5f4d491f137e3930213e62192de3eece3155 3067Author: Egbert Eich <eich@suse.de> 3068Date: Wed Mar 3 12:13:15 2004 +0000 3069 3070 Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004 3071 3072commit e3c0383c8fdcf38d34b3fad607949b0693184ca7 3073Author: Egbert Eich <eich@suse.de> 3074Date: Thu Feb 26 13:36:26 2004 +0000 3075 3076 readding XFree86's cvs IDs 3077 3078commit 633350fa648d2b57b3dd94cb1d220a0b826bef55 3079Author: Egbert Eich <eich@suse.de> 3080Date: Thu Feb 26 09:24:14 2004 +0000 3081 3082 Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 3083 3084commit 22c66075090a14ad022ae73a080e76a5ace7c5d1 3085Author: Kaleb Keithley <kaleb@freedesktop.org> 3086Date: Tue Nov 25 19:29:15 2003 +0000 3087 3088 XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks 3089 3090commit 05fa20267de7cdf44fb6de556910ed0e4ce665a5 3091Author: Kaleb Keithley <kaleb@freedesktop.org> 3092Date: Fri Nov 14 16:49:23 2003 +0000 3093 3094 XFree86 4.3.0.1 3095 3096commit c973a27b6d07b8711041c0c22ba8568f168b447a 3097Author: Kaleb Keithley <kaleb@freedesktop.org> 3098Date: Fri Nov 14 16:49:23 2003 +0000 3099 3100 Initial revision 3101