Commit graph

201 commits

Author SHA1 Message Date
Lubos Lunak
1d28a65562 Bug #3104: Compose table cache for faster X11 application starts. 2006-06-16 16:31:37 +02:00
Matthias Hopf
9354351fcb Bug #3104: Compose table cache for faster X11 application starts. Part 1: Pointerless compose data structure, using indices instead of pointers, needed for mmap()ing data structure. 2006-06-16 16:31:37 +02:00
Jamey Sharp
b18713ec3f Fix bug #7035: unnecessary memmove in XOpenDisplay.
Using memmove on the connection setup data causes a problem for XCB, but making
Xlib stop doing that should be harmless for non-XCB as well.
2006-06-08 20:15:22 -07:00
Daniel Stone
f1bd315235 Bug #2186: Add cs_CZ.iso8859-2 alias. 2006-06-03 12:57:55 +03:00
Daniel Stone
2b1b79d90d nls: Serbian (sr_CS) update (#5575)
Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a
corresponding locale change.  Update compose.dir.pre, locale.alias.pre,
and locale.dir.pre.  (Milos Komarcevic)
2006-06-02 02:46:29 +03:00
Daniel Stone
d6fba1f44d im: add Braille input method (#6296)
Bug #6296: Add a Braille input method.  (Samuel Thibault)
2006-06-02 02:24:25 +03:00
Daniel Stone
0fed7d3185 xkb support: small typo 2006-06-02 02:22:17 +03:00
Daniel Stone
cf7d9f9e46 en_US.UTF-8 Compose.pre: updates from Simos (#5129)
Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms,
adding Unicode character names, removing duplicate entries, et al.
2006-06-02 01:50:24 +03:00
Daniel Stone
332d45fce9 nls: fix use of non-keysym dead_space (#5107)
Bug #5107: Change users of dead_space to space.
2006-06-02 01:44:53 +03:00
Daniel Stone
34f59ce3d1 optional XKB support fix
Fix compilation with --disable-xkb.
2006-06-02 01:41:18 +03:00
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