Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/libX11/dist merge libX11 1.8.2.



details:   https://anonhg.NetBSD.org/xsrc/rev/1b42b5f2bb7e
branches:  trunk
changeset: 7222:1b42b5f2bb7e
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Nov 11 04:45:22 2022 +0000

description:
merge libX11 1.8.2.

diffstat:

 external/mit/libX11/dist/NEWS                        |  185 -------------------
 external/mit/libX11/dist/nls/en_US.UTF-8/Compose.pre |  172 +++--------------
 external/mit/libX11/dist/src/UIThrStubs.c            |  157 ----------------
 external/mit/libX11/dist/src/xlibi18n/XlcDL.c        |    2 +-
 4 files changed, 34 insertions(+), 482 deletions(-)

diffs (truncated from 843 to 300 lines):

diff -r b36155b242b7 -r 1b42b5f2bb7e external/mit/libX11/dist/NEWS
--- a/external/mit/libX11/dist/NEWS     Fri Nov 11 04:44:51 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,185 +0,0 @@
-Version 1.1.2 - 2007-06-03
-
-* Security fixes:
-  * Fix CVE-2007-1667: Multiple integer overflows in the XGetPixel() and
-    XInitImage() functions.
-  * Bug #9279: Fixed a file descriptor leak.
-
-* Xlib/XCB: Ensure _XReadEvents reads at least one new event and blocks for
-  exactly one event.  Large performance improvement for XIfEvent and similar.
-
-* Hold XCB's Xlib lock even when only the user lock (XLockDisplay) is held.
-  An Xlib client can query Display state, such as with NextRequest, while it
-  holds only the Xlib user lock (between XLockDisplay and XUnlockDisplay), so
-  XCB requests in other threads should be blocked when the Xlib user lock is
-  held.  We acquire the lock even when XInitThreads was not called, so that
-  pure XCB code can use multiple threads even in an otherwise single-threaded
-  Xlib application.
-
-* Allow re-entrant Xlib calls from _XIOError.
-  Some libraries try to clean up X resources from atexit handlers, _fini, or
-  C++ destructors. To make these work, downgrade the Display lock to a user
-  lock (as in XLockDisplay) before calling exit(3).  This blocks Xlib calls
-  from threads other than the one calling exit(3) while still allowing the
-  exit handlers to call Xlib.
-
-* Xlib/XCB: Avoid re-crashing after _XIOError.
-
-* Xlib/XCB: Only remove pending_requests when there are provably no more responses.
-
-* For NetBSD, define XTHREADLIB and XTHREAD_CFLAGS.
-
-* Bug #7703: Fixed XSetSizeHints() et al wrt use of uninitialized data.
-  Now only those fields of the respective hint struct are set that
-  are actually valid in the input data.
-
-* Bug #10292: Fixed a memory leak related to XOpenDisplay() in the XCB code.
-
-* Bug #7713: Initialize all of the event's fields before sending it.
-
-* Bug #10562: Define _GNU_SOURCE on glibc systems.
-
-* Use unistd.h to get getresuid() and friends, now that we have _GNU_SOURCE
-  defined.
-
-* Switched function definitions from K&R to ANSI style.
-
-* Many constness fixes.
-
-* Fixed a few warnings.
-
-* Fix 64bit issues with reallocation.
-
-* Manpage fixes:
-  * Add man pages for XKB APIs.
-    (Volunteer needed to convert prototypes in man pages to ANSI C style...)
-  * Protect C comments and #defines in XKB man pages from being mangled by cpp
-  * Fix typo in nroff macro in XkbAddGeomOverlayKey.man
-  * Bug #9695: Fixed a few argument types in the XOpenIM manpage.
-  * Markup tweak for XOpenIM.
-  * Bug #9696: refer to XDefineCursor() instead of XDefineCusor().
-  * Bug #9697: Fixed documentation of XVisualInfo struct.  The "depth" member
-    was said to be unsigned int, but it's signed.
-
-* nls fixes:
-  * Update el_GR.UTF-8/Compose.pre to match changes in xkeyboard-config cvs.
-  * For nls/*.pre, allow people to comment lines by starting them with '##'.
-
-* Build system fixes:
-  * Add autogen.sh to EXTRA_DIST.
-  * Makefile.am: make ChangeLog hook safer
-  * Don't distribute the configure-generated XlibConf.h in tarballs.
-
-Version 1.1.1 - 2006-11-30
-
-The "xcompmgr is hard, let's go releasing" release
-
-* Fix Bug #9154 and friends, to unbreak xcompmgr:
-  Always process an event for _XReadEvents, even if an error occurs.
-  Previously, process_responses (in the wait_for_first_event case called
-  from _XReadEvents) considered any return from xcb_wait_for_event
-  sufficient to think it had processed an event. If xcb_wait_for_event
-  returned an error, and no more events occurred before process_responses
-  called xcb_poll_for_event, process_responses would try to return with
-  dpy->head NULL, and would fail an assertion for the _XReadEvents
-  postcondition. Now, process_responses continues using xcb_wait_for_event
-  until it gets an event.
-
-* Bug #9153: Fix access to freed memory.
-  The fix for bug #8622 introduced a smaller bug where _XReply would
-  read memory shortly after freeing it. This patch caches the needed
-  value in a stack-allocated variable before the heap-allocated memory
-  is freed.
-
-* libx11 doesn't use inputproto in public headers; don't require it in x11.pc.
-  Based on a Debian patch.
-
-* Debian bug #354315: Clarify return value in XGetWindowAttributes man page.
-  Patch by Debian user Ross Combs.
-
-
-Version 1.1 - 2006-11-23
-
-* Add note in man-page that XListFontsWithInfo is not thread-safe.  _XReply
-  drops the Display lock, so the value of dpy->request may change before
-  _XReply is called again.  Jamey Sharp discovered this by inspection a few
-  years ago.
-
-* Fix Bug #8622, by fixing the response processing order for threaded apps.
-  process_responses (the common code for _XReply, _XReadEvents, and
-  _XEventsQueued) now handles responses in order, by adding condition variables
-  to the list of outstanding requests in dpy->xcb->pending_requests, and
-  blocking on them when those requests should get processed, to allow _XReply
-  to process them; if actually called from _XReply, it returns when _XReply's
-  request should get processed.  _XReply broadcasts on its condition variable
-  after it has read its reply and re-acquired the display lock.
-
-* Don't hold the display lock around callbacks to the application. This avoids
-  recursive locking of the display lock (which triggers an XCB locking
-  assertion), particularly with emacs.
-
-* Add xcb-xlib dependency to x11.pc when built against XCB.
-
-* Allocate the right amount of memory for dpy->lock_fns.  Fixes a crash on
-  startup with gdk.
-
-
-Version 1.1 RC2 - 2006-11-02
-
-Benno Schulenberg:
-      nls: remove duplicate compose entries (bug #2286)
-      nls: remove shadowed compose entries (bug #2286)
-      nls (en_US): remove long compositions that override shorter (bug #2286)
-
-Caolan McNamara:
-      XKB geometry: fix leaks in GetKeyboardByName (bug #8099)
-
-David Nusinow:
-      Dynamically generate internal manpage section using __libmanpagesuffix__ so that it actually matches the section if you don't use 3X11
-
-Jamey Sharp:
-      Add correct Display locking to XKB functions.
-      XKB bugfix: SyncHandle must be called after UnlockDisplay, not before.
-      XCB: check for and handle I/O errors in _XGetXCBBuffer.
-
-Matthias Hopf:
-      Fix double open of compose file.
-
-
-Version 1.1 RC1 - 2006-10-06
-
-This release includes the Xlib/XCB work, which uses XCB as the Xlib transport
-layer, and allows a client to use both Xlib and XCB on the same connection.
-This allows clients to transition from Xlib to XCB incrementally.
-
-Clients which link only to libX11, and do not use XCB, should not notice any
-differences in this release.  Clients desiring XCB interoperability should
-additionally #include <X11/Xlib-xcb.h>, link to libX11-xcb, use
-XGetXCBConnection(dpy) to obtain the underlying XCB connection, and then use
-XCB functions directly on that connection.
-
-Note that while a client can issue requests and handle their replies or errors
-with either Xlib or XCB, only one can own and handle the event queue.  By
-default, Xlib must own the event queue, for compatibility with legacy Xlib
-clients.  Clients can use the function XSetEventQueueOwner immediately after
-XOpenDisplay to let XCB own the event queue instead.  Clients may not call
-this function after processing any responses, as this will potentially lose
-responses.
-
-We expect to have an RC2 release corresponding to the Xorg RC2 schedule, which
-should include additional internal architecture enhancements, but no
-user-visible changes.  1.0 final should match RC2.
-
-Other smaller changes in this release:
-* correct ChangeLog generation
-* support running lint and sparse
-* Autoconf 2.60
-* fix man page for XUrgencyHint
-* improve man pages for XGrabButton, XGrabKey, XGetWindowProperty
-* new locales: as_IN.UTF-8, kn_IN.UTF-8, ml_IN.UTF-8, or_IN.UTF-8,
-  te_IN.UTF-8, ur_IN.UTF-8
-* on systems with both UNIXCONN and LOCALCONN, try unix if local fails
-* fix sparse warnings
-* ansify static functions
-
--- Josh Triplett <josh%freedesktop.org@localhost>, Jamey Sharp <jamey%minilop.net@localhost>
diff -r b36155b242b7 -r 1b42b5f2bb7e external/mit/libX11/dist/nls/en_US.UTF-8/Compose.pre
--- a/external/mit/libX11/dist/nls/en_US.UTF-8/Compose.pre      Fri Nov 11 04:44:51 2022 +0000
+++ b/external/mit/libX11/dist/nls/en_US.UTF-8/Compose.pre      Fri Nov 11 04:45:22 2022 +0000
@@ -14,6 +14,8 @@
 <dead_grave> <dead_grave>              : "`"   grave # GRAVE ACCENT
 <dead_circumflex> <space>              : "^"   asciicircum # CIRCUMFLEX ACCENT
 <dead_circumflex> <dead_circumflex>    : "^"   asciicircum # CIRCUMFLEX ACCENT
+<Multi_key> <greater> <space>          : "^"   asciicircum # CIRCUMFLEX ACCENT
+<Multi_key> <space> <greater>          : "^"   asciicircum # CIRCUMFLEX ACCENT
 <dead_abovering> <space>               : "°"   degree # DEGREE SIGN
 <dead_abovering> <dead_abovering>      : "°"   degree # DEGREE SIGN
 <Multi_key> <o> <o>                    : "°"   degree # DEGREE SIGN
@@ -22,13 +24,14 @@
 <dead_macron> <space>                  : "¯"   macron # MACRON
 <dead_macron> <dead_macron>            : "¯"   macron # MACRON
 <Multi_key> <minus> <asciicircum>      : "¯"   macron # MACRON
-<Multi_key> <asciicircum> <minus>      : "¯"   macron # MACRON
+<Multi_key> <underscore> <space>       : "¯"   macron # MACRON
+<Multi_key> <space> <underscore>       : "¯"   macron # MACRON
 <Multi_key> <underscore> <underscore>  : "¯"   macron # MACRON
 <Multi_key> <underscore> <asciicircum> : "¯"   macron # MACRON
 <dead_breve> <space>                   : "˘"   breve # BREVE
 <dead_breve> <dead_breve>              : "˘"   breve # BREVE
+<Multi_key> <parenleft> <space>                : "˘"   breve # BREVE
 <Multi_key> <space> <parenleft>                : "˘"   breve # BREVE
-<Multi_key> <parenleft> <space>                : "˘"   breve # BREVE
 <dead_abovedot> <space>                        : "˙"   abovedot # DOT ABOVE
 <dead_abovedot> <dead_abovedot>                : "˙"   abovedot # DOT ABOVE
 <Multi_key> <period> <space>           : "˙"   abovedot # DOT ABOVE
@@ -40,8 +43,8 @@
 <dead_doubleacute> <dead_doubleacute>  : "˝"   U2dd # DOUBLE ACUTE ACCENT
 <dead_caron> <space>                   : "ˇ"   caron # CARON
 <dead_caron> <dead_caron>              : "ˇ"   caron # CARON
+<Multi_key> <less> <space>             : "ˇ"   caron # CARON
 <Multi_key> <space> <less>             : "ˇ"   caron # CARON
-<Multi_key> <less> <space>             : "ˇ"   caron # CARON
 <dead_cedilla> <space>                 : "¸"   cedilla # CEDILLA
 <dead_cedilla> <dead_cedilla>          : "¸"   cedilla # CEDILLA
 <Multi_key> <comma> <space>            : "¸"   cedilla # CEDILLA
@@ -56,17 +59,18 @@
 XCOMM ASCII characters that may be difficult to access on some keyboards.
 <Multi_key> <plus> <plus>              : "#"   numbersign # NUMBER SIGN
 <Multi_key> <A> <T>                    : "@"   at # COMMERCIAL AT
+
 <Multi_key> <parenleft> <parenleft>    : "["   bracketleft # LEFT SQUARE BRACKET
+<Multi_key> <parenright> <parenright>  : "]"   bracketright # RIGHT SQUARE BRACKET
+
 <Multi_key> <slash> <slash>            : "\\"  backslash # REVERSE SOLIDUS
 <Multi_key> <slash> <less>             : "\\"  backslash # REVERSE SOLIDUS
 <Multi_key> <less> <slash>             : "\\"  backslash # REVERSE SOLIDUS
-<Multi_key> <parenright> <parenright>  : "]"   bracketright # RIGHT SQUARE BRACKET
-
-<Multi_key> <greater> <space>          : "^"   asciicircum # CIRCUMFLEX ACCENT
-<Multi_key> <space> <greater>          : "^"   asciicircum # CIRCUMFLEX ACCENT
 
 <Multi_key> <parenleft> <minus>                : "{"   braceleft # LEFT CURLY BRACKET
 <Multi_key> <minus> <parenleft>                : "{"   braceleft # LEFT CURLY BRACKET
+<Multi_key> <parenright> <minus>       : "}"   braceright # RIGHT CURLY BRACKET
+<Multi_key> <minus> <parenright>       : "}"   braceright # RIGHT CURLY BRACKET
 
 <Multi_key> <slash> <asciicircum>      : "|"   bar # VERTICAL LINE
 <Multi_key> <asciicircum> <slash>      : "|"   bar # VERTICAL LINE
@@ -75,9 +79,6 @@
 <Multi_key> <v> <l>                    : "|"   bar # VERTICAL LINE
 <Multi_key> <l> <v>                    : "|"   bar # VERTICAL LINE
 
-<Multi_key> <parenright> <minus>       : "}"   braceright # RIGHT CURLY BRACKET
-<Multi_key> <minus> <parenright>       : "}"   braceright # RIGHT CURLY BRACKET
-
 <Multi_key> <L> <T>                    : "<"   less # LESS-THAN
 <Multi_key> <l> <t>                    : "<"   less # LESS-THAN
 <Multi_key> <G> <T>                    : ">"   greater # GREATER-THAN
@@ -294,6 +295,11 @@
 <Multi_key> <asciicircum> <underscore> <a>     : "ª"   ordfeminine # FEMININE ORDINAL INDICATOR
 <dead_circumflex> <Multi_key> <underscore> <o> : "º"   masculine # MASCULINE ORDINAL INDICATOR
 <Multi_key> <asciicircum> <underscore> <o>     : "º"   masculine # MASCULINE ORDINAL INDICATOR
+<dead_circumflex> <1>                  : "¹"   onesuperior # SUPERSCRIPT ONE
+<Multi_key> <asciicircum> <1>          : "¹"   onesuperior # SUPERSCRIPT ONE
+<Multi_key> <1> <asciicircum>          : "¹"   onesuperior # SUPERSCRIPT ONE
+<dead_circumflex> <KP_1>               : "¹"   onesuperior # SUPERSCRIPT ONE
+<Multi_key> <asciicircum> <KP_1>       : "¹"   onesuperior # SUPERSCRIPT ONE
 <dead_circumflex> <2>                  : "²"   twosuperior # SUPERSCRIPT TWO
 <Multi_key> <asciicircum> <2>          : "²"   twosuperior # SUPERSCRIPT TWO
 <Multi_key> <2> <asciicircum>          : "²"   twosuperior # SUPERSCRIPT TWO
@@ -307,11 +313,6 @@
 <Multi_key> <m> <u>                    : "µ"   mu # MICRO SIGN
 <Multi_key> <slash> <u>                        : "µ"   mu # MICRO SIGN
 <Multi_key> <u> <slash>                        : "µ"   mu # MICRO SIGN
-<dead_circumflex> <1>                  : "¹"   onesuperior # SUPERSCRIPT ONE
-<Multi_key> <asciicircum> <1>          : "¹"   onesuperior # SUPERSCRIPT ONE
-<Multi_key> <1> <asciicircum>          : "¹"   onesuperior # SUPERSCRIPT ONE
-<dead_circumflex> <KP_1>               : "¹"   onesuperior # SUPERSCRIPT ONE
-<Multi_key> <asciicircum> <KP_1>       : "¹"   onesuperior # SUPERSCRIPT ONE
 <Multi_key> <1> <4>                    : "¼"   onequarter # VULGAR FRACTION ONE QUARTER
 <Multi_key> <1> <2>                    : "½"   onehalf # VULGAR FRACTION ONE HALF
 <Multi_key> <3> <4>                    : "¾"   threequarters # VULGAR FRACTION THREE QUARTERS
@@ -706,20 +707,18 @@
 <dead_breve> <G>                       : "Ğ"   U011E # LATIN CAPITAL LETTER G WITH BREVE
 <Multi_key> <U> <G>                    : "Ğ"   U011E # LATIN CAPITAL LETTER G WITH BREVE
 <Multi_key> <u> <G>                    : "Ğ"   U011E # LATIN CAPITAL LETTER G WITH BREVE
-<Multi_key> <G> <U>                    : "Ğ"   U011E # LATIN CAPITAL LETTER G WITH BREVE
-<Multi_key> <G> <u>                    : "Ğ"   U011E # LATIN CAPITAL LETTER G WITH BREVE
 <Multi_key> <b> <G>                    : "Ğ"   U011E # LATIN CAPITAL LETTER G WITH BREVE
 <Multi_key> <breve> <G>                        : "Ğ"   U011E # LATIN CAPITAL LETTER G WITH BREVE
 <Multi_key> <G> <breve>                        : "Ğ"   U011E # LATIN CAPITAL LETTER G WITH BREVE
+<Multi_key> <G> <U>                    : "Ğ"   U011E # LATIN CAPITAL LETTER G WITH BREVE
 <Multi_key> <G> <parenleft>            : "Ğ"   U011E # LATIN CAPITAL LETTER G WITH BREVE
 <dead_breve> <g>                       : "ğ"   U011F # LATIN SMALL LETTER G WITH BREVE
 <Multi_key> <U> <g>                    : "ğ"   U011F # LATIN SMALL LETTER G WITH BREVE
 <Multi_key> <u> <g>                    : "ğ"   U011F # LATIN SMALL LETTER G WITH BREVE
-<Multi_key> <g> <U>                    : "ğ"   U011F # LATIN SMALL LETTER G WITH BREVE


Home | Main Index | Thread Index | Old Index