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
|
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 |
|
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 |
|
Daniel Stone
|
2363b74ca7
|
Properly clip bounds when only one point is defining an outline.
|
2006-03-17 15:58:39 +02: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 |
|
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 |
|
Kevin E Martin
|
9e96dbc343
|
Add check and cflags for malloc(0) returning NULL.
|
2005-12-03 04:41:47 +00:00 |
|
Alan Coopersmith
|
8d1500df66
|
Bug #5003 <https://bugs.freedesktop.org/show_bug.cgi?id=5003> Patch #3763 <https://bugs.freedesktop.org/attachment.cgi?id=3763> Xorg code misuses S_IF* macros
|
2005-11-23 22:33:06 +00:00 |
|
Kean Johnson
|
6bb0c3796b
|
See ChangeLog entry 2005-11-07 for details.
|
2005-11-08 06:33:25 +00:00 |
|
Adam Jackson
|
5fae4cb456
|
Bug #4736: Error decoding for Damage extension. (Jonathan Lennox)
|
2005-10-21 18:44:24 +00:00 |
|
Alan Coopersmith
|
41ff3b9d1f
|
Bug #3021 <https://bugs.freedesktop.org/show_bug.cgi?id=3021> Requests and Errors for XFixes are not in XErrorDB (Jonathan Lennox)
|
2005-10-09 22:28:39 +00:00 |
|
Kevin E Martin
|
91ed79852e
|
Clean up generated files
Add missing dist tarball files
|
2005-10-07 15:00:00 +00:00 |
|
Alan Coopersmith
|
d1237d1483
|
Add Xcms.txt to lib/X11
|
2005-09-29 21:27:12 +00:00 |
|
Daniel Stone
|
2b2f3d3877
|
Define ERRORDB/KEYSYMDB to XERRORDB/XKEYSYMDB if the former is undefined but the latter is. (Gerte Hoogewerf)
|
2005-08-26 05:16:46 +00:00 |
|
Matthieu Herrb
|
de44d8b111
|
Threads support for BSD systems:
- need to check for gewtpwuid_r to define mtsafeapi
- build UIThrstubs if needed.
|
2005-08-21 15:38:39 +00:00 |
|
Alan Coopersmith
|
34b454df19
|
Include config.h so Xtrans knows which transport types to build code for
|
2005-07-30 20:30:46 +00:00 |
|
Alan Coopersmith
|
cd9c9936b4
|
Add -D flags to clear various warnings (Stefan Dirsch)
|
2005-07-30 19:15:16 +00:00 |
|
Matthieu Herrb
|
2ebb002449
|
remove orphan TAB at begin of line
|
2005-07-23 20:19:31 +00:00 |
|
Kevin E Martin
|
6d635a88d9
|
lib/Xrender/Picture.c Change region.h to Xregion.h and modify internal references to include <X11/Xregion.h>.
|
2005-07-23 18:06:16 +00:00 |
|