Commit graph

37 commits

Author SHA1 Message Date
Jamey Sharp
c2f88cdf5c Fix locking in _XimGetWindowEventmask.
Now that XFilterEvent drops the Display lock before invoking callback
functions, _XimGetWindowEventmask is called without the lock held. So
when it called _XGetWindowAttributes, a variant of XGetWindowAttributes
that does not lock the Display, Xlib/XCB would assert:

xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.

Should fix Gentoo #156367, Ubuntu #87947, Debian #427296. And others?
2007-06-10 16:19:59 -07:00
Tilman Sauerbeck
91b02b8064 More constification. 2007-05-17 19:07:34 +02:00
Tilman Sauerbeck
0e8d9ca47d More constification. 2007-05-16 19:36:23 +02:00
Tilman Sauerbeck
1c75a94790 Bug #10475: Fixed lots of char*/const char* mixups.
I didn't fix all of them, as that would require touching
public headers.
2007-04-06 11:59:31 +02:00
Julien Cristau
bc80f9fe3c Bug #9279: Fixed a file descriptor leak. 2007-03-18 13:14:48 +01:00
Matthias Hopf
686bb8b35a Fix double open of compose file.
Issue found by Kees Cook <kees@canonical.com>.
2006-10-18 14:25:04 +02:00
Matthias Hopf
abda4d223e Update to final Compose cache directory location. 2006-06-29 18:59:57 +02:00
Matthias Hopf
40a64c61f8 Fix alignment of trees and wide chars in the cache. 2006-06-29 17:41:41 +02:00
Matthias Hopf
f442dcaa56 First (dummy) entry of compose caches was not initialized and thus contained varying garbage. 2006-06-28 19:17:03 +02:00
Matthias Hopf
1f4c9893ad Bug #3104: Compose table cache for faster X11 application starts. 2006-06-16 16:31:37 +02:00
Matthias Hopf
4fe22647e6 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
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
Jamey Sharp
f25b4b00e1 Move .cvsignore to .gitignore. 2006-02-19 12:28:41 -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
Kevin E Martin
9e96dbc343 Add check and cflags for malloc(0) returning NULL. 2005-12-03 04:41:47 +00:00
Alan Coopersmith
cd9c9936b4 Add -D flags to clear various warnings (Stefan Dirsch) 2005-07-30 19:15:16 +00:00
Keith Packard
75fd5ae6e4 Add missing Makefile.am to lib/X11/modules 2005-07-15 04:27:32 +00:00
Keith Packard
6d84a8b132 Move i18n modules to top-level so they can be built in the right order (before xlib for non-loadable, after xlib for loadable).
Link i18n modules against xlib to resolve Xlib symbols used by them.
2005-07-15 04:08:51 +00:00
Alexander Gottwald
45f40126a7 Add $(top_srcdir)/src to include list 2005-07-14 19:50:00 +00:00
Alan Coopersmith
419304cde2 Add missing backslashes to xlocale_la_SOURCES 2005-07-13 02:41:36 +00:00
Keith Packard
d14cc5c896 Ammend AM_CFLAGS with all needed includes; cannot figure out an easy way to automate this. 2005-07-11 20:32:55 +00:00
Keith Packard
6e752ea120 Enable loadable i18n modules, making them configurable on the configure command line.
Clean up conditionals for XKB, XCMS, XLOCALEDIR
Create new lib directory for locale modules in ${X11_LIBDIR}/locale/lib. Add this to the default XLOCALEDIR search path.
Create separate X11_LOCALEDATADIR variable pointing at ${datadir}/X11/locale for installing locale data.
Split out xcms, xkb, xlibi18n sources from main xlib bits so they can be conditionally included more easily. Lots of source files have been moved with this step; the result seems like it might be easier to maintain.
Display message at end of configure script with selected options.
Fix manual building with cpp to add -traditional in cpprules.in. This isn't conditionalized at all, so it will break on systems not using GNU cpp.
2005-07-11 08:29:18 +00:00
Daniel Stone
b46cf0d879 Fix segfault when _XimProtoCreateIC() fails to create a context; Debian #239991. (Chung-chieh Shan) 2005-07-10 22:37:33 +00:00
Alexander Gottwald
fd5f58e0ba Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h>
Copy Xtrans.h to exports/include/X11/Xtrans only
2005-06-09 15:52:02 +00:00
Søren Sandmann Pedersen
7eee605e3a - For now put xtrans in X11/Xtrans/X11, since libX11 is looking for it in <X11/...>
- For Xcomposite and Xdamage, don't link the build system out of the xc tree
- Link the public X11 headers into their own directory
- Add links to XKeysymDB and XErrorDB
- Add links to all the Xlib man pages
- Add links to the lcUniConv subdirectory
- Conditionally include config.h in Xlib source
2005-05-13 22:53:36 +00:00
Alan Coopersmith
0ce5950a08 Bugzilla Bug 2006 (https://bugs.freedesktop.org/show_bug.cgi?id=2006) Patch #2031 (https://bugs.freedesktop.org/attachment.cgi?id=2031) XEmbed client doesn't receive key events from XIM: Use | to set a bit, not &. Patch by Hidetoshi Tajima <hidetoshi.tajima@sun.com>. 2005-03-08 02:53:36 +00:00
Egbert Eich
642cd269f9 Removed #ifdef'ed out code together with the comment explaining why it was #ifdef'ed out.
Fixed typo.
Added comment to a changed that's been committed with one of the previous commits.
2004-12-14 08:59:20 +00:00
Alexander Gottwald
f3d83ee153 Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added mingw (Win32) port 2004-11-15 15:06:54 +00:00
Egbert Eich
1b900b59cb Made handling of DevelDrivers for x86-64 more conformant to other platforms.
Compress all font encodings (Stefan Dirsch).
Fixed warnings.
Turn on forwarding XNSpotLocation event to XIM server in OffTheSpot and Root mode (bugzilla #1580, James Su).
Added another compose key combination for the Euro symbol (Stefan Dirsch).
Added support for UTF-8 in ja_JP, ko_KR and zh_TW locales (Mike Fabian).
Changed default encoding for ru from KOI8-R to ISO8859-5 (Mike Fabian). This is the encoding that is also used by glibc. We may break other libcs - lets see who complains.
Added explanation for DESTDIR to install to a different directory than /.
Added some early bailouts to atiprobe if PCI structure pointer is NULL to prevent sig11.
XV support doesn't depend on 2D acceleration any more. This patch removes this limitation from the NSC driver. This is a patch that I have committed to XFree86 a while ago but never ported over to X.Org. Matthieu Herrb contributed some build fixes.
Fixing SetDPMSTimers() so that DPMS*Time == 0 disables the appropriate timer. This takes advantage of the fact that TimerSet() with a timeout argument 0 behaves like TimerCanel().
Use /dev/xconsole (named pipe) or devpts for system logger (Werner Fink).
Create missing links for backward compatibility to XFree86 (Stefan Dirsch).
Changed comment to mention xorg.
Changed cursor for the 'kill' action from XC_draped_box to XC_Pirate. If you don't like it we can change it back (original author unkown).
Added 'pic' to the man page rendering command pipeline (Werner Fink).
Added missing return value (Stefan Dirsch, Roland Mainz)
2004-10-18 14:21:45 +00:00
Egbert Eich
2e02a95dcc Unregistering events in XSelectInput() when unregistering IM filter callbacks may be a bad idea as others may be interested in this event. Removed the call to XSelectInput() altogether as we are in root window anyway (Lubos Lunak).
Fix size of a variable that gets assigned the value of SmartScheduleTime (long) to long. This should help to prevent smart scheduler lockup on 64 bit systems due to overruns (Andreas Schwab).
2004-09-15 09:05:22 +00:00
Egbert Eich
2d3afb68a1 Fixed some lockups in XIM code when the application is running with multi thread support. These lockups occur deep down in XFilterEvents() which itself locks when another Xlib function gets called that also locks. This fixes two instances by separating those Xlib functions into an internal (non-locking) call and a locking wrapper that is used as an external function. There may be several other such instances therefore another more general patch is eventually required (Bugzilla #1182). 2004-08-31 11:37:03 +00:00
Alexander Gottwald
85c2d81f29 Set most significant bit to be a one. (Bug #1024, Kensuke Matsuzaki)
Fix conversion from sjis and euc. (Bug #1024, Toshio Takabe)
2004-08-13 16:28:19 +00:00
Søren Sandmann Pedersen
6e884b1291 Tue Jul 20 19:38:06 2004 Soeren Sandmann <sandmann@daimi.au.dk>
Set font_data->xlfd_data to NULL after XFree(). (#837, patch from Bastien Nocera).
Tue Jul 20 18:23:32 2004 Soeren Sandmann <sandmann@daimi.au.dk>
Use /dev/urandom on Linux.(#761).
2004-07-20 17:48:09 +00:00
Egbert Eich
c6349f4319 Merging XORG-CURRENT into trunk 2004-04-23 18:42:09 +00:00
Kaleb Keithley
dc4268a7da Initial revision 2003-11-14 16:48:47 +00:00
Kaleb Keithley
deae12c6b6 R6.6 is the Xorg base-line 2003-11-14 15:54:30 +00:00