Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/xorg]: xsrc/external/mit/xrandr/dist initial import of xrandr-1.5.2



details:   https://anonhg.NetBSD.org/xsrc/rev/a5c6f72c58d7
branches:  xorg
changeset: 7348:a5c6f72c58d7
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jan 08 09:55:04 2023 +0000

description:
initial import of xrandr-1.5.2

diffstat:

 external/mit/xrandr/dist/ChangeLog       |   400 +-
 external/mit/xrandr/dist/Makefile.am     |     2 +-
 external/mit/xrandr/dist/Makefile.in     |   104 +-
 external/mit/xrandr/dist/README.md       |    18 +
 external/mit/xrandr/dist/aclocal.m4      |  2332 ++++----
 external/mit/xrandr/dist/compile         |    17 +-
 external/mit/xrandr/dist/config.guess    |  1685 +++--
 external/mit/xrandr/dist/config.h.in     |    10 +-
 external/mit/xrandr/dist/config.sub      |  2911 +++++-----
 external/mit/xrandr/dist/configure       |  7864 +++++++++++++++--------------
 external/mit/xrandr/dist/configure.ac    |     6 +-
 external/mit/xrandr/dist/depcomp         |    10 +-
 external/mit/xrandr/dist/install-sh      |   172 +-
 external/mit/xrandr/dist/man/Makefile.in |    19 +-
 external/mit/xrandr/dist/man/xrandr.man  |    79 +-
 external/mit/xrandr/dist/missing         |    16 +-
 external/mit/xrandr/dist/xrandr.c        |   384 +-
 17 files changed, 8705 insertions(+), 7324 deletions(-)

diffs (truncated from 23024 to 300 lines):

diff -r 468ff4bd4ad6 -r a5c6f72c58d7 external/mit/xrandr/dist/ChangeLog
--- a/external/mit/xrandr/dist/ChangeLog        Sun Jan 08 09:55:01 2023 +0000
+++ b/external/mit/xrandr/dist/ChangeLog        Sun Jan 08 09:55:04 2023 +0000
@@ -1,3 +1,365 @@
+commit 6f714830da6c8d74f024be6b0bb32c1ea39c1217
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Dec 3 15:47:06 2022 -0800
+
+    xrandr 1.5.2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 213e10f1996b08305df55c237c90152227e0c5f7
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Oct 28 18:29:04 2022 -0700
+
+    Constify array argument to find_last_non_clamped()
+    
+    Suggested by cppcheck:
+    
+    xrandr.c:1046:30: style: Parameter 'array' can be declared with const [constParameter]
+    find_last_non_clamped(CARD16 array[], int size)
+                                 ^
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit fc331d39447412320e856f56bab88613264cd8f5
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Oct 28 18:25:19 2022 -0700
+
+    Remove unused definition of rectangle_t
+    
+    Was added in commit 854a7c2916455fec5e but never used.
+    Reported by cppcheck unusedStructMember warning.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit e8c4a2727196c8f9bf76df30c5c0a8671e0e5dfe
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Oct 28 18:22:11 2022 -0700
+
+    Remove unused macros left over from original RandR 1.2 code
+    
+    Use of these was removed in commit cb017692883daf64 in 2006.
+    Reported by clang -Wunused-macros
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 3613fea4472741d8423c38a82e5569739d53bbb7
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Oct 28 18:09:58 2022 -0700
+
+    Fix a -Wsign-compare warning
+    
+    xrandr.c: In function ‘main’:
+    xrandr.c:2780:24: warning: comparison between signed and unsigned integer
+      expressions [-Wsign-compare]
+          for (int t = 0; t < sizeof(filter_names) / sizeof(filter_names[0]); t++)
+                            ^
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 289722fc8f2c9916a9631c7e4c796269b99b98f8
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Oct 28 18:07:20 2022 -0700
+
+    Variable scope reductions as suggested by cppcheck
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 8231beec67ee274d10b5d4c5b910d673dc6d1cc8
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Thu Jul 28 17:30:21 2022 -0700
+
+    gitlab CI: stop requiring Signed-off-by in commits
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 2fb90d4d626dcc0432f96da3fa438724d637bdd3
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jan 9 12:38:26 2022 -0800
+
+    Fix spelling/wording issues
+    
+    Found by using:
+        codespell --builtin clear,rare,usage,informal,code,names
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 296effc3ac7b2f095e889488d82e9d1a4fffd824
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Tue Dec 7 13:34:30 2021 -0800
+
+    gitlab CI: add a basic build test
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 824484e5ba50f1e6858ea990393c181a249c3a5e
+Author: Matt Turner <mattst88%gmail.com@localhost>
+Date:   Mon Aug 12 10:42:41 2019 -0700
+
+    xrandr 1.5.1
+    
+    Signed-off-by: Matt Turner <mattst88%gmail.com@localhost>
+
+commit edac280f06da2ad2256c710f95b34253202e6e49
+Author: Matt Turner <mattst88%gmail.com@localhost>
+Date:   Mon Aug 12 10:49:52 2019 -0700
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Matt Turner <mattst88%gmail.com@localhost>
+
+commit 829ed54d89bb37c9e2f8050fe72bd4ecf7b5395a
+Author: Vladimir Panteleev <git%thecybershadow.net@localhost>
+Date:   Thu Dec 20 11:28:51 2018 +0000
+
+    xrandr: Fix deleting inactive monitors
+    
+    The following commands did not behave correctly:
+    
+    xrandr --setmonitor empty auto none
+    xrandr --delmonitor empty
+    
+    The second command failed with "No monitor named 'empty'". This
+    occurred because get_monitors was invoked with its get_active argument
+    set to False, which caused it to not retrieve inactive monitors. Thus,
+    inactive monitors could not be deleted.
+    
+    Fix this bug by invoking get_monitors (and, thus, XRRGetMonitors) with
+    get_active = False, thus enabling deletion of disabled monitors.
+    
+    Signed-off-by: Matt Turner <mattst88%gmail.com@localhost>
+
+commit 9e5fa7c8c26f78e121ffad0d7a745a674c4a1849
+Author: Adam Simpkins <adam%adamsimpkins.net@localhost>
+Date:   Thu Aug 3 15:11:53 2017 -0700
+
+    xrandr: fix crash if some modes cannot be found
+    
+    When printing modes in "xrandr -q", check to see if we failed to look up
+    mode information from a mode XID.  Previously the command would
+    dereference null and crash if the mode information could not be found.
+    
+    When using an external HDMI monitor on a laptop with a Skylake Intel
+    graphics chipset "xrandr -q" occasionally is unable to look up mode
+    information for some of the modes.  It seems likely there is some other
+    sort of library or driver issue causing these lookup failures, but this
+    change to xrandr at least prevents it from segfaulting.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 3316ccaca35dc5fc6b6e3b5826e222cd648eb9c9
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Wed Nov 21 17:17:09 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 004681fb9c71256feb49e2bda203819654b0a05f
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Nov 16 22:47:41 2018 -0800
+
+    Update README for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit a2134406ab0aef44e7b710e1e2a2a40965e96692
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date:   Thu Sep 13 09:44:16 2018 +1000
+
+    init the name to 0
+    
+    There are a few conditions where coverity finds a use of an uninitialized
+    field of the name_t struct. These are rather messy combinations of conditions,
+    so let's go with the simple solution here and just init everything to 0.
+    This may still have side-effects but at least they'll be more obvious than the
+    previous "use whatever memory is leftover from breakfast".
+    
+    This patch also adds a missing init_name(), much for the same reason.
+    
+    Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit 9882680c9f7f433a47514a9cb799c79e3e10a024
+Author: Pali Rohár  <pali.rohar%gmail.com@localhost>
+Date:   Sat Mar 10 16:23:29 2018 +0100
+
+    Document that --dpi and --fbmm options set DPI of whole X screen
+    
+    Explicitly document and make it clear that those options do not change
+    DPI of some monitor output. Also state that these options have no useful
+    meaning for multi-monitor configuration.
+    
+    Signed-off-by: Pali Rohár <pali.rohar%gmail.com@localhost>
+    Reviewed-by: Giuseppe Bilotta <giuseppe.bilotta%gmail.com@localhost>
+
+commit da61a8bd95bd20d45397eee6a6c0d3ad5a50c399
+Author: Giuseppe Bilotta <giuseppe.bilotta%gmail.com@localhost>
+Date:   Tue Feb 6 22:02:42 2018 +0100
+
+    xrandr: gamma and scaling factors must be positive
+    
+    Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta%gmail.com@localhost>
+    Reviewed-by: Alex Deucher <alexander.deucher%amd.com@localhost>
+    Reviewed-by: Keith Packard <keithp%keithp.com@localhost>
+
+commit 5e95248b5bab1254ecedffb6cb681b0ee06c0f29
+Author: Giuseppe Bilotta <giuseppe.bilotta%gmail.com@localhost>
+Date:   Mon Feb 5 02:01:21 2018 +0100
+
+    xrandr.man: document the monitor manipulation options
+    
+    Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta%gmail.com@localhost>
+    Reviewed-by: Alex Deucher <alexander.deucher%amd.com@localhost>
+    Reviewed-by: Keith Packard <keithp%keithp.com@localhost>
+
+commit cf25d585df5582d29528acc35f1c91dcb98b0f00
+Author: Giuseppe Bilotta <giuseppe.bilotta%gmail.com@localhost>
+Date:   Mon Feb 5 01:31:15 2018 +0100
+
+    xrandr: allow single value for --gamma
+    
+    Similarly to --scale, accept a single value to be used for all three
+    components, and refuse values with extra junk after the acceptable
+    values.
+    
+    Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta%gmail.com@localhost>
+    Reviewed-by: Alex Deucher <alexander.deucher%amd.com@localhost>
+    Reviewed-by: Keith Packard <keithp%keithp.com@localhost>
+
+commit 289bc0f1c53d8bc488d96e7f79afabd361758e08
+Author: Giuseppe Bilotta <giuseppe.bilotta%gmail.com@localhost>
+Date:   Sun Jul 16 14:57:40 2017 +0200
+
+    xrandr.man: grammar tuning
+    
+    Rephrase the --scale option paragraph to improve English and be more
+    consistent in choice of plurals and tense. Also ensure that each
+    sentence starts on a new line in the roff source.
+    
+    Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta%gmail.com@localhost>
+    Reviewed-by: Alex Deucher <alexander.deucher%amd.com@localhost>
+    Reviewed-by: Keith Packard <keithp%keithp.com@localhost>
+
+commit 635a4c8bc9f81852dc77b5dc9de1ce5825849a7f
+Author: Giuseppe Bilotta <giuseppe.bilotta%gmail.com@localhost>
+Date:   Sun Jul 16 15:05:21 2017 +0200
+
+    xrandr: stricter --scale argument parsing
+    
+    We used to accept something like --scale 2x3junk as a valid input
+    (scaling x by 2 and y by 3), even though this isn't really a valid
+    scaling factor.
+    
+    Fix by making sure there is nothing after the parsed number(s).
+    
+    Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta%gmail.com@localhost>
+    Reviewed-by: Alex Deucher <alexander.deucher%amd.com@localhost>
+    Reviewed-by: Keith Packard <keithp%keithp.com@localhost>
+
+commit 4e655b2cfc79b02d0ca7cea82b09f1f1133f1a0a
+Author: Giuseppe Bilotta <giuseppe.bilotta%gmail.com@localhost>
+Date:   Wed May 17 17:20:50 2017 +0200
+
+    xrandr: allow a single value for --scale
+    
+    This allows using e.g. --scale 0.5 as a shorthand for --scale 0.5x0.5
+    
+    Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta%gmail.com@localhost>
+    Reviewed-by: Alex Deucher <alexander.deucher%amd.com@localhost>
+    Reviewed-by: Keith Packard <keithp%keithp.com@localhost>
+
+commit 8969b3c651eaae3e3a2370ec45f4eeae9750111d
+Author: Aaron Plattner <aplattner%nvidia.com@localhost>
+Date:   Thu Jun 1 15:45:59 2017 -0700
+
+    man: Document the new --filter option
+    
+    Signed-off-by: Aaron Plattner <aplattner%nvidia.com@localhost>
+    Reviewed-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+    Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit 6ac2afc0d7d8d51d4085767b901667393c11061b
+Author: Pablo De La Garza <pdelagarza%nvidia.com@localhost>
+Date:   Thu Mar 23 16:05:02 2017 -0700
+
+    xrandr: Add a "--filter" flag
+    
+    Flag can be set to "nearest" or "bilinear"
+    
+    Signed-off-by: Pablo De La Garza <pdelagarza%nvidia.com@localhost>
+    [aplattner%nvidia.com@localhost: Fixed style and whitespace]
+    Signed-off-by: Aaron Plattner <aplattner%nvidia.com@localhost>
+
+commit 5d5db88d106a49d7560a8042fa054df8b609f00a
+Author: Pali Rohár  <pali.rohar%gmail.com@localhost>
+Date:   Sun May 28 23:33:26 2017 +0200
+
+    Document format of --dpi option in non-ambiguous way


Home | Main Index | Thread Index | Old Index