Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit merge libxcb and xcb-proto 1.14.



details:   https://anonhg.NetBSD.org/xsrc/rev/35d9c65d36c6
branches:  trunk
changeset: 10599:35d9c65d36c6
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Nov 01 11:08:40 2020 +0000

description:
merge libxcb and xcb-proto 1.14.

diffstat:

 external/mit/libxcb/dist/README       |  36 --------------------------
 external/mit/libxcb/dist/src/xcb_in.c |   3 +-
 external/mit/xcb-proto/dist/README    |  47 -----------------------------------
 3 files changed, 2 insertions(+), 84 deletions(-)

diffs (111 lines):

diff -r 47c2d6229c12 -r 35d9c65d36c6 external/mit/libxcb/dist/README
--- a/external/mit/libxcb/dist/README   Sun Nov 01 11:07:16 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-About libxcb
-============
-
-libxcb provides an interface to the X Window System protocol, which
-replaces the current Xlib interface. It has several advantages over
-Xlib, including:
-- size: small, simple library, and lower memory footprint
-- latency hiding: batch several requests and wait for the replies later
-- direct protocol access: interface and protocol correspond exactly
-- proven thread support: transparently access XCB from multiple threads
-- easy extension implementation: interfaces auto-generated from XML-XCB
-
-Xlib can also use XCB as a transport layer, allowing software to make
-requests and receive responses with both, which eases porting to XCB.
-However, client programs, libraries, and toolkits will gain the most
-benefit from a native XCB port.
-
-
-Please report any issues you find to the freedesktop.org bug tracker,
-at:
-
-       <https://bugs.freedesktop.org/enter_bug.cgi?product=XCB>
-
-Discussion about XCB occurs on the XCB mailing list:
-
-        <mailto:xcb at lists.freedesktop.org>
-        <http://lists.freedesktop.org/mailman/listinfo/xcb>
-
-You can obtain the latest development versions of XCB using GIT.
-For anonymous checkouts, use:
-
-        git clone git://anongit.freedesktop.org/git/xcb/libxcb
-
-For developers, use:
-
-        git clone git+ssh://git.freedesktop.org/git/xcb/libxcb
diff -r 47c2d6229c12 -r 35d9c65d36c6 external/mit/libxcb/dist/src/xcb_in.c
--- a/external/mit/libxcb/dist/src/xcb_in.c     Sun Nov 01 11:07:16 2020 +0000
+++ b/external/mit/libxcb/dist/src/xcb_in.c     Sun Nov 01 11:08:40 2020 +0000
@@ -1025,6 +1025,7 @@
             }
         }
 #endif
+        c->in.total_read += n;
         c->in.queue_len += n;
     }
     while(read_packet(c))
@@ -1051,7 +1052,7 @@
     }
 #endif
 #ifndef _WIN32
-    if((n > 0) || (n < 0 && errno == EAGAIN))
+    if((n > 0) || (n < 0 && (errno == EAGAIN || errno == EINTR)))
 #else
     if((n > 0) || (n < 0 && WSAGetLastError() == WSAEWOULDBLOCK))
 #endif /* !_WIN32 */
diff -r 47c2d6229c12 -r 35d9c65d36c6 external/mit/xcb-proto/dist/README
--- a/external/mit/xcb-proto/dist/README        Sun Nov 01 11:07:16 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-About xcb-proto
-===============
-
-xcb-proto provides the XML-XCB protocol descriptions that libxcb uses to
-generate the majority of its code and API. We provide them separately
-from libxcb to allow reuse by other projects, such as additional
-language bindings, protocol dissectors, or documentation generators.
-
-This separation between the XCB transport layer and the
-automatically-generated protocol layer also makes it far easier to write
-new extensions. With the Xlib infrastructure, client-side support for
-new extensions requires significant duplication of effort. With XCB and
-the XML-XCB protocol descriptions, client-side support for a new
-extension requires only an XML description of the extension, and not a
-single line of code.
-
-Python libraries: xcb-proto also contains language-independent Python
-libraries that are used to parse an XML description and create objects
-used by Python code generators in individual language bindings.  These
-libraries are installed into $(prefix)/lib/pythonX.X/site-packages.  If
-this location is not on your system's Python path, scripts that import
-them will fail with import errors.  In this case you must add the
-install location to your Python path by creating a file with a `.pth'
-extension in a directory that _is_ on the Python path, and put the
-path to the install location in that file.  For example, on my system
-there is a file named 'local.pth' in /usr/lib/python2.5/site-packages,
-which contains '/usr/local/lib/python2.5/site-packages'.  Note that 
-this is only necessary on machines where XCB is being built. 
-
-Please report any issues you find to the freedesktop.org bug tracker,
-at:
-
-       <https://bugs.freedesktop.org/enter_bug.cgi?product=XCB>
-
-Discussion about XCB occurs on the XCB mailing list:
-
-        <mailto:xcb at lists.freedesktop.org>
-        <http://lists.freedesktop.org/mailman/listinfo/xcb>
-
-You can obtain the latest development versions of XCB using GIT.
-For anonymous checkouts, use:
-
-        git clone git://anongit.freedesktop.org/git/xcb/proto
-
-For developers, use:
-
-        git clone git+ssh://git.freedesktop.org/git/xcb/proto



Home | Main Index | Thread Index | Old Index