Commit graph

191 commits

Author SHA1 Message Date
Daniel Stone
c5940a0b85 i18n: separate data and lib directories
Break out locale data into separate data and library directories, under
$(datadir) and $(libdir), respectively, by default.
2006-06-02 01:39:12 +03:00
Adam Jackson
5384f27dfe libXcursor.so.1, not libXcursor.so 2006-05-11 14:04:48 -04:00
Jamey Sharp
01f4d433ee Count any partial request towards the current Xlib sequence number. 2006-05-10 17:02:52 -07:00
Daniel Stone
770cfbd1fc XKBMisc.c: use Xfree, not xfree
Use Xfree() instead of xfree() when freeing interps.
2006-05-10 18:06:03 +03:00
Daniel Stone
22a5255b80 locale.alias.pre: bg_BG typo fix
Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre.
2006-05-10 14:51:37 +03:00
Daniel Stone
9cac8c9824 Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 2006-05-10 14:50:37 +03:00
Jamey Sharp
e514bc875f Assert that dpy->request does not go backwards. Catches #5839 earlier. 2006-05-09 12:41:59 -07:00
Jamey Sharp
fc11591373 In _XPutXCBBuffer, set aside any trailing partial request until the last byte is available. 2006-05-07 17:40:01 -07:00
Jamey Sharp
c394480a42 Update for XCB ConnSetupSuccessRep name change. 2006-05-07 16:58:13 -07:00
Daniel Stone
7672bf93bc Coverity #203, #204: Fix potential NULL dereferences. 2006-04-09 22:22:03 +03:00
Daniel Stone
cfcafbe48d Coverity #205: Fix potential NULL dereference. 2006-04-09 22:20:25 +03:00
Daniel Stone
b6771501fe Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) 2006-04-09 22:18:20 +03:00
Daniel Stone
19b8840af2 Coverity #826: Fix potential memory leak. 2006-04-07 18:11:52 +03:00
Daniel Stone
3a16f262ab Bug #1625: Include keysym.h from Xutil.h. 2006-04-07 17:49:41 +03:00
Eric Anholt
2481b767ae Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more
cases (allocation failure) than nVisualsMatched == 0.  Noticed from inspection
of Coverity #599, #600.
2006-04-05 17:12:15 -07:00
Eric Anholt
152b17e47d Coverity #558: Free newly-allocated Database in error path. 2006-04-05 16:42:26 -07:00
Eric Anholt
bc62b99ef3 Coverity #582: Free newly-allocated region in error path. 2006-04-05 16:38:52 -07:00
Jamey Sharp
d47f0b3cec Fix buggy interaction with XCB when running out of XIDs. 2006-03-31 22:53:07 -08:00
Jamey Sharp
e3f4525718 Add explicit include of Xmd.h to work around bug including both xcb.h and Xmd.h simultaneously. 2006-03-31 22:52:14 -08:00
Daniel Stone
2363b74ca7 Properly clip bounds when only one point is defining an outline. 2006-03-17 15:58:39 +02:00
Matthieu Herrb
e876efb8aa Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 2006-03-11 15:40:35 +01:00
Matthieu Herrb
be266b201d Fix prototype of XConfigureWindow(). Bugzilla #6023. 2006-03-11 15:39:15 +01:00
Jamey Sharp
f71ea0bc73 Update for XCBSendRequest sequence number API changes. 2006-03-03 11:08:41 -08:00
Jamey Sharp
a11d1b0ae6 Use the full_sequence from XCBGenericError/Event for setting last_request_read, and quit replacing _XSetLastRequestRead with an XCB-specific version. 2006-03-03 01:42:49 -08:00
Jamey Sharp
d8ba4ae704 Bugfix: Rely on XCBSendRequest to leave iov in a well-defined state, and place the spare iovecs at the beginning of the array. 2006-03-02 23:43:26 -08:00
Jamey Sharp
f9afb5a544 assert() that we will not infinite loop or read uninitialized memory. 2006-03-02 23:34:19 -08:00
Jamey Sharp
d3512ef3aa Quit relying on XCBSendRequest to pad to 4-byte boundaries and do it ourselves. 2006-03-02 15:58:52 -08:00
Jamey Sharp
fb590c15a7 Handle errors correctly when Xlib owns the event queue and XCB has the checked error feature. 2006-03-02 12:06:04 -08:00
Jamey Sharp
8356ba37d3 Use the new XCBSendRequest flag, XCB_REQUEST_RAW, to hand a bag-o-bytes down uninterpreted. 2006-02-27 11:51:47 -08:00
Jamey Sharp
07bdf1fbbf Update for new XCBSendRequest API. 2006-02-26 15:46:01 -08:00
Jamey Sharp
409a08cff8 Performance fix: Replace calls to XCBGetRequestRead with the new XCBGetQueuedRequestRead. Cuts a lot of syscalls. 2006-02-23 18:12:31 -08:00
Jamey Sharp
ec30a27341 Minor performance fix: Access dpy->xcl->connection directly instead of calling XCBConnectionOfDisplay. It happens a lot. 2006-02-23 18:01:46 -08:00
Jamey Sharp
53c471c6a8 XCBFlush used to return non-positive on failure, and this test did not catch 0. Now it returns boolean: 0 or 1. Testing <= 0 covers both cases. I probably want to switch to a boolean test eventually. 2006-02-23 11:46:09 -08:00
Jamey Sharp
41c0121a87 Refactor the code that passes requests down to XCB into a separate issue_complete_request function. 2006-02-21 21:25:41 -08:00
Jamey Sharp
67d06e0fe4 If we have not actually put the buffer back, deferred invariants may not hold. This is OK. 2006-02-21 15:33:05 -08:00
Jeremy C. Reed
434bf80b40 Set XTHREADLIB correctly for dragonfly platforms. 2006-02-21 14:10:22 -08:00
Jamey Sharp
b24834762e Sometimes functions other than _XUnlockDisplay call _XPutXCBBuffer. Some invariants appropriate for Unlock are not appropriate otherwise: move them to _XUnlockDisplay. 2006-02-21 14:03:26 -08:00
Jamey Sharp
99b8defd0d Execute BeforeFlush hooks on complete buffers, not request-at-a-time.
Traditional Xlib worked this way; I dunno why I changed it.
2006-02-21 13:04:21 -08:00
Jamey Sharp
9b01e78497 Factor the XCBSendRequest call out of the conditional in _XPutXCBBuffer. 2006-02-21 12:51:44 -08:00
Jamey Sharp
7ce7ac882d Quit using a triple-pointer. Almost as if I were a sensible person. 2006-02-21 12:44:30 -08:00
Jamey Sharp
35a858be21 Remove the XCL_PAD macro. 2006-02-21 12:21:01 -08:00
Jamey Sharp
e741b70ed2 Update .gitignores for *.o and nls/locale.dir*. 2006-02-19 12:29:27 -08:00
Jamey Sharp
f25b4b00e1 Move .cvsignore to .gitignore. 2006-02-19 12:28:41 -08:00
Jamey Sharp
c7cda56eeb Land XCB support on X.org HEAD. 2006-02-19 11:49:15 -08:00
Jamey Sharp
881467b303 Merge the X11 and BIGREQS package sets: they were used in exactly the same places. 2006-02-19 02:14:11 +00:00
Jamey Sharp
6b0158dfad Refactor _XFlush and _XSend code that sets dpy->synchandler to _XSeqSyncFunction into a new function, _XSetSeqSyncFunction. It makes the patch for XCB cleaner, but is arguably a good idea anyway. 2006-02-14 19:37:36 +00:00
Alan Coopersmith
010c3acbb3 Bug #5628 <https://bugs.freedesktop.org/show_bug.cgi?id=5628> Shadow pages not created correctly when MANDIR & MANSUFFIX don't match. 2006-02-12 18:19:17 +00:00
Alan Coopersmith
fe8c01c802 Fix typo in .TH line 2006-02-03 23:34:43 +00:00
Kevin E Martin
b091c217f3 Update package version number for final X11R7 release candidate. 2005-12-15 00:24:28 +00:00
Kevin E Martin
e7c04e0e65 Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 2005-12-06 22:48:41 +00:00