commit 5a499ca7b064bf7e6a4fcc169f22862dce0c60c5 Author: Alan Coopersmith Date: Mon Mar 9 15:28:29 2015 -0700 libX11 1.6.3 Signed-off-by: Alan Coopersmith commit c8e19b393defd53f046ddc2da3a16881221b3c34 Author: Joonas Javanainen Date: Thu Feb 5 17:31:04 2015 +0200 Fix XErrorEvent struct field order in man page In the man page the field "resourceid" was in a different place than in the actual struct layout in Xlib.h Signed-off-by: Joonas Javanainen Signed-off-by: Peter Hutterer commit ddf3b09bb262d01b56fbaade421ac85b0e60a69f Author: Ran Benita Date: Tue Feb 3 13:23:50 2015 -0500 compose: fix the description of modifiers in compose sequences The Compose format has a feature which allows specifying certain modifiers must (or must not) be present with a given keysym in the sequence. The grammar in imLcPrs.c and the Compose man page both do not match what the code actually does (see the handling of the variables `modifier_mask` and `modifier` in parseline() in imLcPrs.c, which are eventually matched as `ev->state & modifier_mask == modifier`). Also explicitly list the accepted modifier names, since they are not standard (e.g. "Ctrl" instead of "Control"). Signed-off-by: Ran Benita Signed-off-by: James Cloos commit 129f13f385c50e3d8b53ea7441b17386b0f36aeb Author: Ran Benita Date: Tue Feb 3 13:23:49 2015 -0500 xkb: fix misleading comment about consumed modifiers In the spec and the man page the `mods_rtrn` argument is described as "backfilled with unconsumed modifiers" but actually it is backfilled with the *consumed* modifiers. This is also mentioned a few lines below in each case. Signed-off-by: Ran Benita Signed-off-by: James Cloos commit 446f5f7f41317a85a0cd0efa5e6a1b37bc99fba2 Author: Ingo Schwarze Date: Tue Dec 9 10:44:13 2014 +0100 Fix pasto in XkbGetKeyBehaviors(3) manual Reviewed-by: Thomas Klausner Signed-off-by: Peter Hutterer commit f3831dde6972e4da9e018c6a5f4013d8756a5e78 Author: Benno Schulenberg Date: Sun Nov 23 21:35:36 2014 +0100 nls: Sorting compose sequences rigorously in mirroring pairs, as is custom. Signed-off-by: Benno Schulenberg commit a51681b60c84109fe19f5d449e13080522499324 Author: Benno Schulenberg Date: Thu Sep 19 16:42:01 2013 +0200 nls: Remove a duplicate locale name, and sort some others more strictly. Also improve the grammar of the initial comment. Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit 426b7f850f5376db96a4b12420ee141603fcc3cd Author: Benno Schulenberg Date: Fri Sep 20 12:37:29 2013 +0200 nls: Add a comment to the block of accented Hebrew letters. And align them in a nicer manner. Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit 7474c6f1ee78dd097b1d0b4c7e3e4ea41317e335 Author: Benno Schulenberg Date: Fri Sep 20 12:05:09 2013 +0200 nls: Add one lowercase compose variant for ®, to mirror those for ©. Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit 18dcd13514fa538afefa78c93523d9dbd4688e74 Author: Benno Schulenberg Date: Sat Sep 7 20:10:43 2013 +0200 nls: Adding the visual composing characters to two comment lines. The lines around them also contain the characters in the comments. Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit 18d8307575af748913d5da17e3de45da2a22ede4 Author: Benno Schulenberg Date: Sat Sep 7 20:09:32 2013 +0200 nls: Grouping a lone superscript minus together with its mates. Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit 33301cc45e6a2b8aa841ed6325547af970f8c4db Author: Benno Schulenberg Date: Sat Sep 7 19:53:38 2013 +0200 nls: Grouping the compose sequences for Dstroke/dstroke together. Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit 78fe1becb6c18fa33c0d5f04005b45d856f8952a Author: Gioele Barabucci Date: Sun Sep 21 23:05:55 2014 +0200 Add compose sequence for U+20B9 INDIAN RUPEE SIGN The compose sequence for the new Indian Rupee sign is modelled after the sequence for the Euro sign. Signed-off-by: Gioele Barabucci Signed-off-by: James Cloos commit 6101b967b641355dd863fd1ce52c6a7d58bcbe68 Author: Gabriel Souza Franco Date: Thu Jul 31 22:23:28 2014 -0300 Add double-arrow compose sequence Signed-off-by: Gabriel Souza Franco Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 368a6401c6a3275d3497fec38a3dcbc38cd9df60 Author: James Cloos Date: Fri Aug 1 18:30:42 2014 -0400 Add cs_CZ.UTF-8 locale to configure.ac Commit cf4d5989383a should have included this. Reported-by: Colin Harrison Signed-off-by: James Cloos commit cf4d5989383acc4ed1b7eebadde9f380f2129766 Author: James Cloos Date: Tue Jul 29 15:02:56 2014 -0400 Add nls for cs_CZ.UTF-8 Based on the iso8859-2 compose, and a bug report by Vladimír Marek, override the en_US.UTF-8 use of to enter »ǔ« instead to enter »ů«, and likewise for the majuscule, for the Czech locale. This evidently is the norm for Czech keyboards. Fixes bz#81875. The XI18N_OBJS and XLC_LOCALE.pre files are empty, as they are for several other locales. That may require an update. Reported-by: Vladimír Marek Signed-off-by: James Cloos commit d9f569572bd14db31921471e7b877523b5cf1e4c Author: Alan Coopersmith Date: Sat Jul 26 12:17:47 2014 -0700 Fix source paths for out-of-tree lintlib builds Signed-off-by: Alan Coopersmith commit 0885cad1e4a9ed57266582be320be55259c881bf Author: Alan Coopersmith Date: Sun Jul 20 09:21:20 2014 -0700 specs/XKB: Markup fractions as <{super,sub}script> instead of Matches the way they were styled in original doc, before conversion to DocBook. Signed-off-by: Alan Coopersmith commit d0a9e9d56bb003315787201ee525b4d00fd54e06 Author: Alan Coopersmith Date: Sat Jul 19 23:55:47 2014 -0700 specs/XKB: acknowledge my contributions Signed-off-by: Alan Coopersmith commit 9c0be82017f513e2eb63d59b095f1cf1955f2e2b Author: Alan Coopersmith Date: Sat Jul 19 23:53:48 2014 -0700 specs/XKB: Trim leading spaces off text lines perl -i -p -e 's{/\*(\S)}{/* \1}g;' *.xml Signed-off-by: Alan Coopersmith commit 75b0b10990f38d966c6fcc821bf15e58c5a90c91 Author: Alan Coopersmith Date: Sat Jul 19 20:30:55 2014 -0700 specs/XKB: Add olinks to libX11 for "X Library Functions Affected by Xkb" Signed-off-by: Alan Coopersmith commit 5009621799444e9d1d284719f871d00be13e7330 Author: Alan Coopersmith Date: Sat Jul 19 12:34:28 2014 -0700 specs/XKB: Fix miscelleanous typos & spelling errors Signed-off-by: Alan Coopersmith commit ac219bf1522a592bd3e3283b1a6ea3dfd2c3c48c Author: Alan Coopersmith Date: Sat Jul 19 00:46:41 2014 -0700 specs/XKB: add some more indexterms by hand Signed-off-by: Alan Coopersmith commit 5c3aa4c69e65ecf2e56d5e26f3833fb5d31973c2 Author: Alan Coopersmith Date: Sat Jul 19 00:48:02 2014 -0700 specs/XKB: fixup various formatting issues in s Signed-off-by: Alan Coopersmith commit 70c648ff852fd9bc784967cfc77ea70bd7f14c8d Author: Alan Coopersmith Date: Fri Jul 18 23:56:29 2014 -0700 specs/XKB: fixup various formatting issues in s Including translating some that are really just lists into markup. Signed-off-by: Alan Coopersmith commit 94b56774784ac00b9db02403aecea10bb0814c10 Author: Alan Coopersmith Date: Fri Jul 18 23:18:52 2014 -0700 specs/XKB: add some more links by hand random bits where a link looked handy Signed-off-by: Alan Coopersmith commit 7a15a934cdb07ed1b991bd0ef633f32ee00b1833 Author: Alan Coopersmith Date: Fri Jul 18 23:16:31 2014 -0700 specs/XKB: add links for terms in definition list under figure 1.1 Signed-off-by: Alan Coopersmith commit 92b86fc3c50fbb7ab2e36af10a2fb3fe6284f58c Author: Alan Coopersmith Date: Fri Jul 18 22:52:16 2014 -0700 specs/XKB: add links to more tables listing section references Signed-off-by: Alan Coopersmith commit 06a4483a05053b4f8d8c0d4cc0513c68ea912676 Author: Alan Coopersmith Date: Fri Jul 18 22:49:34 2014 -0700 specs/XKB: Table 4.1: remove page numbers & unnecessary para tags Page numbers refer to old doc format, didn't translate to new one Signed-off-by: Alan Coopersmith commit 61bd55c6d1ab211b89d604bd05555dc417f6e53d Author: Alan Coopersmith Date: Sat Jul 19 11:55:51 2014 -0700 specs/XKB: remove unwanted white space around C -> struct references perl -i -0 -p -e 's{\s*->\s*}{->}g' *xml Signed-off-by: Alan Coopersmith commit 2be0cc0b2abbcc98cfd150210dea415a04787251 Author: Alan Coopersmith Date: Fri Jul 18 22:26:20 2014 -0700 specs/XKB: replace -> with → when used as arrow, not in C structs Signed-off-by: Alan Coopersmith commit bf1f3d6f6f995303624679ae546f507c70967dc0 Author: Alan Coopersmith Date: Fri Jul 18 22:21:10 2014 -0700 specs/XKB: replace => with ⇒ for double arrows Signed-off-by: Alan Coopersmith commit c7ee427fc0a72abd4a4f147ab16a5d1128a6a2ba Author: Alan Coopersmith Date: Sat Jul 19 11:33:35 2014 -0700 specs/XKB: Markup some ranges with – instead of - commit ec4075303c6c0d1d64bfe378e585968f9a137da7 Author: Alan Coopersmith Date: Fri Jul 18 22:10:45 2014 -0700 specs/XKB: Markup some subtractions with − instead of - Signed-off-by: Alan Coopersmith commit 441a267e461132a38abed205245f028686526f1d Author: Alan Coopersmith Date: Fri Jul 18 22:04:40 2014 -0700 specs/XKB: make sure all files have DOCTYPEs so standard entities work Signed-off-by: Alan Coopersmith commit 88fd70bee410f290b4f540405fdc7ecd85c26f25 Author: Alan Coopersmith Date: Fri Jul 18 21:55:41 2014 -0700 specs/XKB: Markup quoted terms as instead of with "" Signed-off-by: Alan Coopersmith commit 3576587ff10334a8f48c34b4fe5b7e829dec9a1b Author: Alan Coopersmith Date: Sat Jul 19 09:01:26 2014 -0700 specs/XKB: fixup newlines between tags and punctuation Get rid of unwanted whitespace before punctuation by moving them to the lines with the tags, instead of before & after. perl -i -0 -p -e 's{\>\s*\n([\.,;:])}{>\1\n}g' *xml Signed-off-by: Alan Coopersmith commit 6d5ec492cd28c206423337f926503349702af5a6 Author: Alan Coopersmith Date: Fri Jul 18 21:29:33 2014 -0700 specs/XKB: fixup newlines between tags and parens Get rid of unwanted whitespace inside parens by moving them to the lines with the tags, instead of before & after. perl -i -0 -p \ -e 's{(? comments out of the way now. Signed-off-by: Alan Coopersmith commit ce95f152eda509263874c53fb7c6b4a6bdab2c29 Author: Alan Coopersmith Date: Mon Jul 7 22:59:25 2014 -0700 specs/XKB: Remove remaining xref comments All the places marked by these have been turned into the appropriate link, xref, or olink tags now. Signed-off-by: Alan Coopersmith commit 6590b66e19af8dff68888ac403ac82f5d585b4e2 Author: Alan Coopersmith Date: Mon Jul 7 22:56:36 2014 -0700 specs/XKB: make olinks to xkbproto for references in section 10.13 Signed-off-by: Alan Coopersmith commit fcda446877a62e7443d7bc704ba3610e90d1e755 Author: Alan Coopersmith Date: Mon Jul 7 22:22:28 2014 -0700 specs/XKB: Add
tags and make Figure references link to them Signed-off-by: Alan Coopersmith commit 087a2338476719e340dc3d5af0df6fdc4a26ce7a Author: Alan Coopersmith Date: Mon Jul 7 21:30:01 2014 -0700 specs/XKB: Turn Table references into links Adds id attributes to all table tags so we can link to them Signed-off-by: Alan Coopersmith commit 135fa07b74cb50172c6a75768d499cd87ddb336e Author: Alan Coopersmith Date: Sun Jul 6 21:29:59 2014 -0700 specs/XKB: Turn section references into xref links Signed-off-by: Alan Coopersmith commit 53e931d79926af8a3996253efd8b5f6c21d9e5d7 Author: Alan Coopersmith Date: Sun Jul 6 21:17:18 2014 -0700 specs/XKB: Turn Chapter references into xref links Signed-off-by: Alan Coopersmith commit b7f00ce5bcb0c00696bb82503ab548e14f04d17d Author: Alan Coopersmith Date: Sun Jul 6 20:40:18 2014 -0700 specs/XKB: Apply to semantic tag transformations from Xlib spec Signed-off-by: Alan Coopersmith commit b00a7ddff2744238fbfe31c2298b02028a45a6ff Author: Alan Coopersmith Date: Sun Jul 6 20:34:51 2014 -0700 specs/XKB: Markup function names as instead of Signed-off-by: Alan Coopersmith commit bfbb58b7679221cb5c9212665209ea9099ad079a Author: Alan Coopersmith Date: Sun Jul 6 20:25:46 2014 -0700 specs/XKB: normalize layout in xml files - Stop placing on empty space, commas, and periods. - Move periods & commas after closing tag - move open & close tags to same line, instead of mirroring nroff layout. Simplifies automating further transformations of these tags. Performed via: perl -i -0 -p \ -e 's{(\s*)}{}msg;' \ -e 's{([\s\.,]*)\s*}{\1}msg;' \ -e 's{\n([\.,])\s*}{\1\n}msg;' \ -e 's{([^\.])([\.,])\s*}{\1\2}msg;' \ -e 's{\s*\n\s*}{\n}msg;' *xml Signed-off-by: Alan Coopersmith commit b16ee69a0103109a661a88140a1765dcd7bda634 Author: Alan Coopersmith Date: Sun Jul 6 15:57:41 2014 -0700 specs/XKB: Convert to funcsynopsis+variablelist instead of informaltable Signed-off-by: Alan Coopersmith commit b41d43d4cf0c0a1a049a171ee8cf6fd8a3ee4335 Author: Alan Coopersmith Date: Sun Jul 6 19:29:38 2014 -0700 specs/XKB: Add index Signed-off-by: Alan Coopersmith commit 72ae1d793be078db521dda60af578ece71f364de Author: Alan Coopersmith Date: Sun Jul 6 13:21:40 2014 -0700 specs/XKB: Fix various markup issues in functiondecl tables - Merge some functionargdecl entries incorrectly split across rows - Add missing parameter name markup to some functionargdecls - Add missing function prototype markup to a functiondecl - Remove stray emphasis tags in a functiondecl Allows them to correctly convert to funcsynopsis markup in next step. Signed-off-by: Alan Coopersmith commit 9fdb973012de80ac60dbc59c39162f4e839fc5a4 Author: Alan Coopersmith Date: Sun Jul 6 12:15:23 2014 -0700 specs/XKB: Convert header filenames to filename tags Signed-off-by: Alan Coopersmith commit 5525e8433f93bce464412f27cffa203ea628f368 Author: Alan Coopersmith Date: Tue Jul 8 00:05:32 2014 -0700 specs/libX11: disengender a user reference Signed-off-by: Alan Coopersmith commit d8679eae9317b389ad4acb0430360ee0663e2af8 Author: Alan Coopersmith Date: Fri Jul 11 18:41:42 2014 -0700 specs/libX11: Correct value of IconicState to match Xutil.h Xutil.h has always had a value of 3 for IconicState, since 2 was previously used for the long-obsolete ZoomState, so make the spec match what programs have used for decades. Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 7ce2b0f12a48fb832f457cbafb0e1144ef557f9a Author: Alan Coopersmith Date: Fri Jul 11 10:34:08 2014 -0700 Use C99 named initializers to fill in events passed to XSendEvent Forces compiler to zero-fill unset fields in the struct (fixing bug 81236) and allows optimizer to order field initialization to best fit cache layout or other considerations. Before & after output of gcc -S on AMD64 shows insertion of "rep stosq" instructions to rapidly zero-fill structs. Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 169805e1dc8743b37b00e24cf3a5eb8748f733ad Author: Alan Coopersmith Date: Sun Jul 6 11:13:49 2014 -0700 Fix validation of ctrls parameter to XkbGetPerClientControls() Nothing in the XKB spec states that the memory pointed to by ctrls has to be initialized to any given value when passed to the function, only that it is set by the function to the values returned by the X server: http://www.x.org/releases/X11R7.7/doc/libX11/XKB/xkblib.html#The_Miscellaneous_Per_client_Controls The check for the incoming value seems to be copied from XkbSetPerClientControls without explanation. Instead change it to checking if ctrls is non-NULL, since there's no point asking the X server to return a value the caller won't even see. Found while investigating report from cppcheck-1.65: [src/xkb/XKB.c:699] -> [src/xkb/XKB.c:719]: (warning) Possible null pointer dereference: ctrls - otherwise it is redundant to check it against null. Signed-off-by: Alan Coopersmith commit 1e362fac92c6688fb42b195ccad16d7a337a34c1 Author: Alan Coopersmith Date: Sun Jul 6 10:54:57 2014 -0700 Fix map->num_types check in XkbAddKeyType() Check is intended to ensure we allocate at least XkbNumRequiredTypes in map, but was accidentally marked with a ! causing the wrong check. Reported-by: Harms Reviewed-by: Matthieu Herrb Signed-off-by: Alan Coopersmith commit ff9a5c199251a84fa59d14fd48dadb3f8920b54b Author: Alan Coopersmith Date: Sun Jul 6 15:08:21 2014 -0700 specs/libX11: Add missing spaces to 'unsignedint' & 'unsignedlong' types Signed-off-by: Alan Coopersmith commit a06ea86773568926c36ae650b188fc818d540db7 Author: Alan Coopersmith Date: Sun Jul 6 15:04:27 2014 -0700 specs/libX11: Fix height & width in parameter lists to be two separate entries "unsigned int width, unsigned int height", not a single parameter "height" of type "unsignedintwidth,". Signed-off-by: Alan Coopersmith commit e4db5e503682b3304fe82e4b17b419a8e0f0a9f2 Author: Alan Coopersmith Date: Sun Jul 6 14:38:10 2014 -0700 specs/libX11: Fix x & y in parameter lists to be two separate parameters "int x, int y" not a single parameter y of type "intx" Signed-off-by: Alan Coopersmith commit aa8bda0db2c6d82515b90ceb4a7d6403e38895e9 Author: walter harms Date: Sat Jun 7 12:03:17 2014 +0200 lcDefConv.c: fix use before check * Do not use variables before checked for NULL. * remove some superfluid spaces (Mark Kettenis) Signed-off-by: Harms Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit c0670e5d3ae330e611ecb05303d579a4f8a3d114 Author: Alan Coopersmith Date: Mon Jun 16 15:16:10 2014 -0700 Start adding Unicode 7.0 support to compose table New characters defined in http://www.unicode.org/charts/PDF/U1F300.pdf Signed-off-by: Alan Coopersmith commit a4679baaa18142576d42d423afe816447f08336c Author: walter harms Date: Sat Jun 7 11:54:34 2014 +0200 rm redundant null checks remove more redundant NULL checks note that _XkbFree() is really Xfree() Signed-off-by: Harms Reviewed-by: Rémi Cardona Signed-off-by: Peter Hutterer commit 602d7f5030fe93b2fe7f29fb7310deb6f50cb6df Author: walter harms Date: Sat Jun 7 15:17:27 2014 +0200 libX11: rm redundante NULL checks This patch removes the last remaining NULL checks for Xfree() Signed-off-by: Harms Reviewed-by: Peter Hutterer Signed-off-by: Peter Hutterer commit d81fed46144d089bdfa1d916a28dffc9ebffe1e4 Author: walter harms Date: Fri Jun 6 22:53:05 2014 +0200 Remove more redundant null checks before Xfree() Signed-off-by: Harms Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 0b7fd7dbec136bae317bd9a329309eaa089beee3 Author: walter harms Date: Thu Jun 5 18:37:40 2014 +0200 Remove redundant null checks before free This patch removes some redundant null checks before free. It should not change the code otherwise. Be aware that this is only the first series. Signed-off-by: Harms Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 7d452fad5068ba92b964e92bc46708046f4044aa Author: walter harms Date: Wed Jun 4 17:12:31 2014 +0200 libX11/lcUTF8.c fix: dereferenced before check * Do not use variables before checked for NULL. Signed-off-by: Harms Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit a3808f51517a720e7ff738208af60865779dd6ef Author: walter harms Date: Wed Jun 4 17:10:20 2014 +0200 libX11/XKBNames.c fix: dereferenced before check * Do not use variables before checked for NULL. Signed-off-by: Harms Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit b3c9f6a17e430aabe16aecbe097f7312a0f6ff78 Author: walter harms Date: Wed Jun 4 17:08:12 2014 +0200 libX11/lcGenConv.c fix: dereferenced before check * Do not use variables before checked for NULL. Signed-off-by: Harms Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit c6bc28d433243c32b3f74955f1478451b4fd27b5 Author: Andreas Schwab Date: Sun Jan 19 16:59:13 2014 +0100 Restore lost tabs in sed commands Signed-off-by: Andreas Schwab Signed-off-by: Alan Coopersmith commit e3dc0d17339e61eaf0b51b8907510984e3bf23cb Author: Benno Schulenberg Date: Thu Sep 19 11:01:11 2013 +0200 nls: Transform Brazilian compose file to an include plus three overrides. Signed-off-by: James Cloos commit 16c87dda4da2271aaecc5d8b6fe6ecd072cc584c Author: Benno Schulenberg Date: Fri Sep 6 12:10:01 2013 +0200 nls: Adding the missing compose sequences with for O with ogonek. All other vowels with ogoneks can already be composed using . Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit 655b60f48376069750b151c46da836fdd411c83b Author: Benno Schulenberg Date: Fri Sep 6 12:04:24 2013 +0200 nls: Adding the missing postfix sequences for composing vowels with ogoneks. It existed for lowercase i, but not for uppercase I nor the other vowels. Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit 7f8f9a36ef901f31279c385caf960a22daeb33fe Author: Owen W. Taylor Date: Fri May 9 18:21:05 2014 -0400 Fix XNextRequest() after direct usage of XCB When XCB owns the X socket, dpy->request is not updated, so NextRequest() and XNextRequest() return the wrong value. There's nothing we can do to fix NextRequest() while retaining ABI compat, but change XNextRequest() to grab the socket back from XCB, updating dpy->request. Signed-off-by: Owen W. Taylor Reviewed-by: Uli Schlachter Signed-off-by: Alan Coopersmith commit 0f9e734ea96556fe750a4baf354d42d5a87bcd14 Author: Alan Coopersmith Date: Sun May 4 11:54:59 2014 -0700 Add missing .TE tags to end tables in Xkb man pages Signed-off-by: Alan Coopersmith commit 280274e5292e013b43e552274111fab434f5ed4e Author: Alan Coopersmith Date: Sun May 4 11:23:17 2014 -0700 XCreateGC.man: simplify table to work with Solaris tbl Having every table cell be a text diversion (T{...T}) was too much for Solaris tbl to handle, and thus "man XCreateGC" would print the error /usr/man/man3x11/XCreateGC.3x11: line 402: Too many text block diversions tbl quits and not display the table of mask bits or any text in the man page after that table. Since the #define column doesn't need special handling, making it not use text diversions brings the table under the tbl limit. Signed-off-by: Alan Coopersmith commit 93bb325a54025dd15f4744abce54b358960420f9 Author: James Cloos Date: Tue May 20 17:30:10 2014 -0400 Revert "nls: Adding compose sequences (with first) that GTK also has." Parenleft is already in use for sequences of the form <(> <)> to generate circled letters. Eg, generates ⓐ. This reverts commit f020235f4bd91fb6eade82f8c9f7b85a57981768. Signed-off-by: James Cloos commit 060707851be918f2f507a26d17b016f764ddf2b4 Author: Benno Schulenberg Date: Fri Sep 6 11:42:59 2013 +0200 nls: Adding accessible compose sequences for Ș and Ț (with comma below). Compose sequences with exist, but very few keyboard layouts contain that symbol. So a more usual character is needed to be able to easily compose Ș, ș, Ț and ț. The semicolon is normally only used for composing letters with ogoneks -- but only vowels take ogoneks, so the character is free for consonants, and thus is used here to compose commas below. It is somewhat fitting, because on most Romanian keyboards the Ș is placed on that key, and the Ț next to it. (Oh -- the more obvious sequences with were already taken for composing S and T with cedillas.) Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit ca435c2f753aa2961fb35ac448cdb2cc77112755 Author: Benno Schulenberg Date: Tue Sep 3 21:10:33 2013 +0200 nls: Ordering some compose sequences in a more customary way. The custom seems to be: pairing the ones that have only the sequence of two keys reversed, and putting the one with the diacritic first first. Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit f020235f4bd91fb6eade82f8c9f7b85a57981768 Author: Benno Schulenberg Date: Tue Sep 3 20:44:42 2013 +0200 nls: Adding compose sequences (with first) that GTK also has. Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit bda0b3b5bd19154206dc40166364e73d4b6b1374 Author: Benno Schulenberg Date: Tue Sep 3 11:14:16 2013 +0200 nls: Allowing Romanian Ă and ă to be composed also with lowercase . Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit 8be4610939b833587954957f5963eb4191b43d19 Author: Alan Coopersmith Date: Thu Mar 13 23:22:48 2014 -0700 Fix "follwing" typo in en_US.UTF-8/Compose comment Signed-off-by: Alan Coopersmith commit 6f30e9034f29c3ae6ad7e617b3d5e903aa107b6a Author: Reuben Thomas Date: Mon Jan 27 14:18:24 2014 +0000 en_US.UTF-8/Compose: Fix apparent copy-paste-o, changing capital to small A. Signed-off-by: Alan Coopersmith commit d6bd988bc00494914b38b95ee5df77ac4f32f19f Author: Peter Hutterer Date: Mon Mar 3 12:38:48 2014 +1000 man: fix man page for XkbGetMap Returned structure must be freed with XkbFreeKeyboard(). Reported-by: Morten Bøgeskov Signed-off-by: Peter Hutterer commit a6dcf2201a05adbff54122df05a1e6325936abb6 Author: Ran Benita Date: Tue Feb 11 13:26:16 2014 +0200 Remove dead USE_OWN_COMPOSE-protected code The build doesn't provide any way to define this option. It also refers to files (imComp.h) and functions (e.g. XimCompInitTables(), XimCompProcessSym()) which are not found anywhere, and the ordinary Compose implementation in xim doesn't use any of it. Signed-off-by: Ran Benita Reviewed-by: Julien Cristau Signed-off-by: Alan Coopersmith commit b64bee2ddb7b96f00713a8b8435f11ad9ac1c9e0 Author: Ran Benita Date: Sun Feb 16 15:24:58 2014 +0200 nls: always use XCOMM instead of # for comments in Compose.pre files Lines starting with # are considered as preprocessor directives in the .pre files. Fixes warnings like: :3:0: error: invalid preprocessing directive #Khmer Signed-off-by: Ran Benita Signed-off-by: James Cloos commit 470e2289a3ebc59c5a35e54e1adeb0f261d5bf88 Author: Alan Coopersmith Date: Thu Feb 6 13:48:08 2014 -0800 Fix typos in Xrm.c comments Signed-off-by: Alan Coopersmith commit aacf95dacc7c598e7297894580d4d655593813b2 Author: Marko Myllynen Date: Mon Jan 13 16:43:18 2014 +0200 Annotate Finnish Compose map with Unicode code points Scripted annotation, no functional changes. Signed-off-by: James Cloos commit 20fdccd81b54678376d49e00edfebbbe94951f07 Author: Teemu Likonen Date: Fri Jul 20 19:21:04 2012 +0300 Fix "RING ABOVE" key in the Finnish compose file The Finnish keyboard standard defines that must insert the character U+02DA RING ABOVE. Currently the Finnish Compose file inserts U+00B0 DEGREE SIGN even though the line's comment says "RING ABOVE". This commit changes the character to U+02DA RING ABOVE. Signed-off-by: Teemu Likonen Signed-off-by: James Cloos commit 8757e2ac8e04f2932ff437127f3e2ae9ac20c1d7 Author: Ran Benita Date: Wed Jan 29 02:11:47 2014 +0200 nls: remove duplicate 'ohorn' and 'uhorn' compose sequences Since == and == , when translated to keysyms: #define XK_Ohorn 0x10001a0 /* U+01A0 LATIN CAPITAL LETTER O WITH HORN */ #define XK_ohorn 0x10001a1 /* U+01A1 LATIN SMALL LETTER O WITH HORN */ (and similarly for uhorn), there is no need to have both names. Remove the unicode literal ones. Signed-off-by: Ran Benita Signed-off-by: James Cloos commit b98998cb3bea7cb3005f2e9d5bc5332d14b1d5d3 Author: Alan Coopersmith Date: Sat Jan 18 22:35:18 2014 -0800 Add RANDR 1.4 requests & events to XErrorDB Checked against randrproto.txt & randr.h Signed-off-by: Alan Coopersmith commit 321392ded15a7ee9d177d4ebe8846336ba76741c Author: Alan Coopersmith Date: Fri Jan 3 20:04:33 2014 -0800 Remove unused ETEST & ESZTEST macros from XlibInt.c Left behind when 15e5eaf62897 removed support for building without XCB. Signed-off-by: Alan Coopersmith Reviewed-by: Jasper St. Pierre commit 1ffc0c5503d4f419fdbc765243832a53491bf5bc Author: Alan Coopersmith Date: Thu Dec 26 09:26:13 2013 -0800 _XkbReadGeomOverlay: check for NULL first, then use pointer Flagged by cppcheck 1.62: [lib/libX11/src/xkb/XKBGeom.c:479] -> [lib/libX11/src/xkb/XKBGeom.c:480]: (warning) Possible null pointer dereference: row - otherwise it is redundant to check it against null. Signed-off-by: Alan Coopersmith commit ddf5f130cc29bb3bf8b9c757dcbac31bc56e9379 Author: Alan Coopersmith Date: Thu Dec 26 09:22:49 2013 -0800 XkbSelectEventDetails: remove unnecessary assignments clear & selectAll are set to 0 already a few lines earlier, affectWhich is set to XkbMapNotifyMask a few lines later. None are used between the other assignments and the removed ones. Signed-off-by: Alan Coopersmith commit 3d69b0a83e62f8f6fbdd952fc49cdbdf8825e1e6 Author: Jon TURNEY Date: Thu Oct 7 18:46:08 2010 +0100 Don't try so hard to find a matching font with the given encoding See http://sourceware.org/bugzilla/show_bug.cgi?id=10948 Currently, if the locale is UTF-8, no CJK fonts are installed, and someone does XCreateFontSet() with a font name of "*", we end up asking the server to list the (non-existent) fonts 11 times for each CJK encoding, which can take a while. A * wildcard can match multiple components in a XLFD name in XListFonts(), so there's no need to try adding more than one to get a match. We do try once with a leading '*-' in case the fontname isn't a full well-formed XLFD name, maybe even that isn't needed? (See also http://invisible-island.net/xterm/xterm.faq.html#slow_menus) Signed-off-by: Jon TURNEY Signed-off-by: Alan Coopersmith commit 7e163300735d4bcd3386b86eec112acdad139c59 Author: Alan Coopersmith Date: Mon Dec 2 21:51:27 2013 -0800 unifdef -UISC Signed-off-by: Alan Coopersmith commit 1e43c262d13cab2b759665f9f13bdedbc7afbfd4 Author: Benno Schulenberg Date: Thu Sep 19 13:20:05 2013 +0200 nls: Fix transposed locale identifier for Khmer. Signed-off-by: Benno Schulenberg Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 0e45f64766c0557c8e99a979c70ca6f55664dae7 Author: Alan Coopersmith Date: Sat Nov 16 20:21:54 2013 -0800 Drop X_LOCALE fallback for OS'es without setlocale() C89 or bust! This was documented as being needed for "only Lynx, Linux-libc5, OS/2" and has never been enabled in modular builds, since none of those platforms have had anyone step up to add support since the X11R7 conversion to autotools. Mostly performed with unifdef -UX_LOCALE, followed by removal of files left without any purpose, and manual cleanup of remaining references. Signed-off-by: Alan Coopersmith Reviewed-by: Adam Jackson commit 6cb02b166361200da35ba14f52cd9aaa493eb0ea Author: Alan Coopersmith Date: Wed Oct 23 10:37:53 2013 -0700 Xcms file parsing should not require the impossible to succeed The field2 helper function, to split lines from Xcms.txt files into two tab delimited fields, contained a check: if ((*pBuf != '\n') || (*pBuf != '\0')) { return(XcmsFailure); which would cause it to return failure unless *pBuf had a value that was simultaneously equal to both \n & \0, and no one wants to live in a world where that could ever be true. This has gone unnoticed since 1991, since this only caused lines in Xcms.txt that started with whitespace to be rejected, but now gcc -Wlogicalop has brought it to our attention, and https://bugs.freedesktop.org/show_bug.cgi?id=70803 was filed. Now that we see it, and cannot unsee it, we change it to use the same logic as the check at other points in this function, to return failure only if we hit \n or \0 before we find the first non-whitespace character, so that lines starting with whitespace will have the space skipped over to get to the color name to be defined. Signed-off-by: Alan Coopersmith Reviewed-by: Dan Nicholson commit 18a5278b008e9faa59b346fcab18a8d74b875fda Author: Gaetan Nadon Date: Sat Sep 28 17:33:52 2013 -0400 makekeys: don't need to use target-specific CFLAGS It's the only thing built in that directory, so we can use AM_CFLAGS and AM_CPPFLAGS as usual. Reviewed-by: Alan Coopersmith Signed-off-by: Gaetan Nadon commit 5dcb40f28d59587597d2ff6e6ac64c71cfe6ff7b Author: James Cloos Date: Tue Sep 17 12:50:42 2013 -0400 nls/en_US.UTF-8/Compose.pre: Fix typo. Fix typo added in 215ce6a67863, s/actute/acute/. Fixes bug #69476. Reported by Jean Krohn. Signed-off-by: James Cloos commit cb107760df33ffc8630677e66e2e50aa37950a5c Author: Alan Coopersmith Date: Sun Sep 8 18:37:01 2013 -0700 libX11 1.6.2 commit 215ce6a67863de7acfd6dd3562b4fd97ef87b411 Author: Benno Schulenberg Date: Sun Sep 1 12:38:30 2013 +0200 nls: Adding more accessible compose sequences for J́ and j́. Few keyboards have an key, so this adds the much more accessible and usual compose sequences with , ánd the most comfortable ones with . Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit e9b14d10d0258bfcc273ff8bc84cd349dccda62c Author: Alan Coopersmith Date: Sat Aug 24 17:27:43 2013 -0700 Bug 68413 - [Bisected]Error in `xterm': realloc(): invalid next size Pass *new* size to realloc, not old size. Signed-off-by: Alan Coopersmith commit c2b8e30790c21d6386767265263b3294ce1b1f9a Author: Alan Coopersmith Date: Fri Aug 16 21:04:02 2013 -0700 Stop checking for HAVE_DIX_CONFIG_H on the client side Leftover from when these XKB files were shared with the server sources and could be compiled in either the client or server, with the different autoconf config files in each. Signed-off-by: Alan Coopersmith commit 84276609b2f0aec74fb464c428c7db5714b0fcfc Author: Alan Coopersmith Date: Fri Aug 16 18:27:28 2013 -0700 Rearrange some variable declarations & initializations in XKB Little things noticed during XKB restyling that seemed to make the code easier to read. Signed-off-by: Alan Coopersmith commit b90b7e859cf45ec76921fa21bbfc1f3840d6e8d1 Author: Alan Coopersmith Date: Sun Aug 11 13:29:33 2013 -0700 Reindent XKB code to X.Org standard style Signed-off-by: Alan Coopersmith commit c0a0f78eb49c2e4ad956209de77475c85b9314ea Author: Alan Coopersmith Date: Fri Aug 16 18:14:14 2013 -0700 Fix overflow checks in _XkbReadKeySyms when key_sym_map is already created We were checking to make sure that the largest keysym value was within the range of the allocated buffer, but checking against different limits in the not-yet-allocated vs. the already-allocated branches. The check should be the same in both, and reflect the size used for the allocation, which is based on the maximum key code value, so we move it to be a common check, before we branch, instead of duplicating in each branch. map->key_sym_map is an array of XkbSymMapRec structs, [0..max_key_code] map->syms is the array for which num_syms is recorded, hence is not the right value to check for ensuring our key_sym_map accesses are in range. Signed-off-by: Alan Coopersmith Reported-by: Barry Kauler Tested-by: Barry Kauler commit bea6cbd027973142fc64532274e1d16861b47190 Author: Alan Coopersmith Date: Sun Aug 11 17:02:21 2013 -0700 Remove long unused src/udcInf.c I can find no record of what this file was for. Neither the X11R6.8.2 monolith Imakefile nor any modular release Makefile.am have ever built it and nothing else references it. Signed-off-by: Alan Coopersmith commit bf3501e0395abe890acfea98fdd9f50a6966f118 Author: Alan Coopersmith Date: Sun Aug 11 00:07:33 2013 -0700 Remove unnecessary casts of pointers to (char *) in calls to Xfree() Left one cast behind that is necessary to change from const char * to char * in src/xlibi18n/lcCharSet.c. Signed-off-by: Alan Coopersmith commit 6ead9dd92ab90aabd9f0e328d59597e6b5bc09d3 Author: Alan Coopersmith Date: Sat Aug 10 23:57:55 2013 -0700 Don't cast sizeof() results to unsigned when passing to Xmalloc/Xcalloc sizeof() returns size_t, malloc() & calloc() expect sizes in size_t, don't strip down to unsigned int and re-expand unnecessarily. Signed-off-by: Alan Coopersmith commit 25a7a329def672fc8d26078538173777850c6390 Author: Alan Coopersmith Date: Sat Aug 10 23:51:08 2013 -0700 Remove even more casts of return values from Xmalloc/Xrealloc Signed-off-by: Alan Coopersmith commit f8fa16092a148b74ca35b4beb182053352606f2f Author: Alan Coopersmith Date: Sat Aug 10 23:05:13 2013 -0700 xlibi18n: fix argsize argument to _XlcParsePath The array is defined as having NUM_LOCALEDIR entries, so use that instead of hardcoded 256 value (the other two calls already did this). Reported by parfait: Buffer overflow (CWE 120): In pointer dereference of argv[argc] with index argc Pointer size is 64 elements (of 8 bytes each), index is 255 at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. called at line 178 in function '_XlcParsePath' with argv = argv. called at line 722 in function '_XlcLocaleLibDirName' with argv = args, argsize = 256. at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. called at line 178 in function '_XlcParsePath' with argv = argv. called at line 638 in function '_XlcLocaleDirName' with argv = args, argsize = 256. [ This bug was found by the Parfait 1.2.0 bug checking tool. http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] Signed-off-by: Alan Coopersmith commit e7d46c6452c0b90fd66ae9f538546b968e0dd608 Author: Alan Coopersmith Date: Sat Aug 10 22:32:42 2013 -0700 i18n modules: Fix some const cast warnings imRm.c: In function '_XimSetICMode': imRm.c:2419:37: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] imRm.c:2420:30: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] lcGenConv.c: In function 'byteM_parse_codeset': lcGenConv.c:345:13: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Signed-off-by: Alan Coopersmith commit cbd86eccf175dc82a5cbcea54c8bd21ce18b70c0 Author: Alan Coopersmith Date: Sat Aug 10 22:21:54 2013 -0700 xlibi18n: Fix a bunch of const cast warnings Add const qualifiers to casts where needed, remove other casts that are no longer needed. Signed-off-by: Alan Coopersmith commit eb3676113fc2dd0f34d92b89beb81b3f61569aa1 Author: Alan Coopersmith Date: Sat Aug 10 22:18:00 2013 -0700 Fix const handling in XSetLocaleModifiers Instead of reusing the input parameter to store the output, make a result variable instead, so that there's less const confusion. Fixes gcc warnings: lcWrap.c: In function 'XSetLocaleModifiers': lcWrap.c:87:18: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] lcWrap.c:91:25: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] lcWrap.c:93:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Signed-off-by: Alan Coopersmith commit 8ebbffa98563960910152e4f2e31cb032375d871 Author: Alan Coopersmith Date: Sat Aug 10 21:46:37 2013 -0700 Constify lc_name argument to _XlcLocaleDirName() & _XlcLocaleLibDirName() Makes code considerably less crufty and clears gcc warnings: XlcDL.c: In function '_XlcDynamicLoad': XlcDL.c:384:44: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] XlcDL.c:386:51: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Signed-off-by: Alan Coopersmith commit 07e4e864107b38c2f393564fdacc90f4e858f23f Author: Alan Coopersmith Date: Sat Aug 10 13:37:53 2013 -0700 init_om: remove unneeded extra copy of string to local buffer Strings from the supported_charset_list[] were being copied one by one to a stack buffer, and then strdup called on that buffer. Instead, just strdup the original string, without the local copy, and use a more traditional for loop, so it's easier to figure out what the code is doing (cleaning up a gcc const-cast warning in the process). Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 1cec14dad904ba21a861f4af131be5982ecb83dd Author: Alan Coopersmith Date: Sat Aug 10 12:34:53 2013 -0700 Delete unused XKB_INSURE_SIZE macro from XKBlibint.h Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 5f32182c7c4045540ff3833c48ee24a3a25726e2 Author: Alan Coopersmith Date: Sat Aug 10 12:19:17 2013 -0700 miRegionOp(): ensure region size is not updated if realloc fails This function performs operations on a region, and when finished, checks to see if it should compact the rectangle list. If the number of rectangles for which memory is allocated in the list is more than twice the number used, it tries to shrink. realloc() should not fail in this case, but if it does, might as well keep the correct value for the number of allocated rectangles, so we don't try to grow it unnecessarily later if adding to the region. Signed-off-by: Alan Coopersmith commit bd2a0b5a187798bb2e2f05dc5062ca79e37075dd Author: Alan Coopersmith Date: Sat Aug 10 12:19:17 2013 -0700 miRegionCopy(): handle realloc failure better Zero out the region size when freeing the region so callers don't think there's anything there. (Pointer is already set to NULL from the realloc result itself.) Return 0 to the callers, and have them cascade that back to their callers to indicate failure, instead of their usual return value of 1 on success. Signed-off-by: Alan Coopersmith commit 5dc8b5385d513bbda88697c2372db750d23f46d4 Author: Alan Coopersmith Date: Sat Aug 10 11:27:22 2013 -0700 Avoid memory leak/corruption if realloc fails in Xregion.h:MEMCHECK macro Signed-off-by: Alan Coopersmith commit 453c4ee436ef32d91501d7736d7a91c1aeafc565 Author: Alan Coopersmith Date: Sat Aug 10 12:07:51 2013 -0700 Avoid memory leak/corruption if realloc fails in imLcPrs.c:parseline() Signed-off-by: Alan Coopersmith commit b3fea74ec5b7d4f83755a52a8d49c564b71c6d12 Author: Alan Coopersmith Date: Sat Aug 10 12:30:39 2013 -0700 lcDB.c: ensure buffer size is updated correctly if realloc fails Signed-off-by: Alan Coopersmith commit 43bb822c714a73c3b2d15e621ffb3333cd10da8c Author: Alan Coopersmith Date: Sat Aug 10 11:07:47 2013 -0700 Avoid memory leak/corruption if realloc fails in XlcDL.c:resolve_object() Previously, if realloc failed to increase the size, we'd still record that we had allocated the larger size, but the pointer to it would be NULL, causing future calls to be broken, and the previous allocation to be lost/leaked. Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 5d47a39978e92bb34ec928b1b15d71c0c2434870 Author: Alan Coopersmith Date: Fri Aug 9 23:33:03 2013 -0700 omGeneric.c: convert sprintf calls to snprintf Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 88a27a2aa9b7d35cb79b16334ea3413e572b724a Author: Alan Coopersmith Date: Fri Aug 9 23:30:30 2013 -0700 ximcp/imRm.c: convert sprintf calls to snprintf Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 4fadae243fb485628c9a137f5da3489ed6214b21 Author: Alan Coopersmith Date: Fri Aug 9 23:02:12 2013 -0700 xlibi18n: convert sprintf calls to snprintf Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 36a7edf0e5edfc5ef4ff2c3a8b4fa3dc4796e854 Author: Alan Coopersmith Date: Fri Aug 9 23:02:12 2013 -0700 lcfile: skip over any null entries in args list Previous code seemed to assume that printf("%s", NULL) would result in a 0-length string, not "(null)" or similar, but since there's no point looking for files in "(null)/filepath...", instead we just skip over NULL entries in search paths when generating file names. In the *DirName() functions, this effectively just moves the "bail on NULL in arg[i]" check up from the later code that assigned it to targetdir and then bailed if that was NULL. Not sure how there ever could be a NULL in arg[i], given the current implementation of XlcParsePath, but it's easy enough to check once and reject up front instead of on every reference. Signed-off-by: Alan Coopersmith commit ee0824f24392d5ca3d5fd5f5ed8d78c0d892f7c0 Author: Alan Coopersmith Date: Fri Aug 9 22:00:09 2013 -0700 Fix file leak on malloc error in XlcDL.c:resolve_object() File Leak: Leaked File fp at line 219 of lib/libX11/src/xlibi18n/XlcDL.c in function 'resolve_object'. fp initialized at line 198 with fopen [ This bug was found by the Parfait 1.2.0 bug checking tool. http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 9b291044a240e5b9b031ed814e0c84e53a1c3084 Author: Julien Cristau Date: Sat Jun 15 18:02:21 2013 +0200 Add missing locales to configure.ac Commits 40761898692e5063957bfa2518cca3d35b2e354a and f198c6aa98f88ff285d903175a3c4c0fd33a4575 added two new locales (sr_CS.UTF-8 and km_KH.UTF-8), but didn't list them in configure.ac, meaning they're not included in tarballs. Signed-off-by: Julien Cristau Reviewed-by: James Cloos commit 8f58e54a5f46c3cd4897a23b89950f4800ae38d4 Author: ISHIKAWA,chiaki Date: Tue Dec 18 15:28:05 2012 +0000 Fix bogus timestamp generated by XIM Fix bogus timestamp generted by XIM due to uninitialized data field. Also set appropriate serial, too. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39367 Signed-off-by: Chiaki ISHIKAWA Signed-off-by: Alan Coopersmith commit e7fd6f0eda57300df4d6b695b7064610ca5dec57 Author: Egbert Eich Date: Thu Jun 16 18:47:49 2011 +0200 XIM: Fix sync problem on focus change. XSetICFocus() and XUnsetICFocus() are both asynchronous events. This is a pretty stupid idea: those functions may undo certain settings on the client side for which requests from the server may still be in the queue unprocessed. Thus things may be set in the wrong order ie instead of set -> unest it will be unset -> set. Moreover there is no way for either the client or the server to cause the event queue to be flushed - which is pretty bad as XIM is bidirectional. The scenario is as follows: Two ICs are created: ic1 = XCreateIC(im, XNInputStyle, XIMPreeditCallbacks | XIMStatusCallbacks, XNClientWindow, window, XNPreeditAttributes, preedit_attr, XNStatusAttributes, status_attr, NULL); ic2 = XCreateIC(im, XNInputStyle, XIMPreeditNothing | XIMStatusNothing, XNClientWindow, window, NULL); Then the focus is removed from ic2: XUnsetICFocus(ic2); If SCIM is used as the input server it will send a bunch of requests following an XCreateIC(). One of the requests registers a key release filter. XUnsetICFocus() unsets both key press and release filters. Since it is asynchronous, the input server requests to register key press and release filters may not have been processed, when XUnsetICFocus() is called. Since there is no explicite way for client programs to enforce the request queue to be flushed explicitely before an X[Set/Unset]ICFocus() call it would be safest to make those two calls synchronous in the sense that they ensure the request queue has been handled before they execute. The easiest way to do this from Xlib is thru a call to XGetICValues() which sends a request to the server and subsequently reads the queue from the server to the client. This will cause all outstanding requests in the queue to be read and handled. This is an ugly hack and this could be fixed directly in the client, however it seems to be easier to fix Xlib than to fix numerous clients. This problem arose since there is no well documented way how to handle and synchronize XIM requests and not all input servers send requests when an IC is created. This has been discussed extensively in: https://bugzilla.novell.com/show_bug.cgi?id=221326 Signed-off-by: Egbert Eich commit 26ec7d3821bc19debc73c8c3e42e6e33ef6f856e Author: Egbert Eich Date: Thu Jun 16 17:28:39 2011 +0200 XIM: Fix race on focus change: set 'FABRICATED' only when keyev filters in place. When synthesized key events are sent on commit XIM sets the 'fabricated' flag so that the keypress handler knows that these were not real events. This also happens when committing due to the loss of focus. However in this case the keypress/release filters which consume and unset this flag are no longer in the filter chain. So the flag is erronously set when a real keyboard event is received after focus has been regained. So the first event is wrongly treated as a fabricated key in the keypress handler which will at the same time reset the flag so the second key event is treated correctly. This fix only sets the flag when at least one of the keyboard filters is in place. How to reproduce this bug: run scim, choose a Japanese input method start two instances of xterm: start typing in one xterm (this should pop up an IM window). Without comitting (hitting 'enter') move focus to the other xterm, then move focus back. Start typing again. The first character will be committed immediately without popping up an input window. With this fix this behavior is gone. See also: https://bugzilla.novell.com/show_bug.cgi?id=239698 Signed-off-by: Egbert Eich commit 44f84223f5e2dd46883fcbd352af2798bfa9aeb6 Author: Alan Coopersmith Date: Mon Jul 29 21:29:49 2013 -0700 libX11 1.6.1 Signed-off-by: Alan Coopersmith commit d19cfaca15826943d3c637ef7fa5db0a23d5feed Author: Alan Coopersmith Date: Sat Jul 27 12:19:00 2013 -0700 Fix undefined XCMSDIR error when building lint library Signed-off-by: Alan Coopersmith commit 3083cd43d7dcd59da587975e7cadda681cd8a103 Author: Alan Coopersmith Date: Sat Jul 27 00:36:08 2013 -0700 Add ku_TR.UTF-8 (Kurdish language, Turkey region) to compose/locale.dir Upstreaming from changes originally integrated into OpenSolaris under Sun bug id 6882572. Signed-off-by: Alan Coopersmith Reviewed-by: Thomas Klausner commit 208e586c808e88a2ee819e4450dc27f557afc2bf Author: Alan Coopersmith Date: Sat Jul 27 01:03:18 2013 -0700 omGeneric: remove space between struct name & member name Signed-off-by: Alan Coopersmith commit 7db74514e454d3fc4ff70aa08ddac66bfffda4dd Author: Alan Coopersmith Date: Tue Jul 23 22:18:46 2013 -0700 Refactor common code from XAddHost & XRemoveHost into single function On the Xlib side, the only real difference is the mode flag we send to the server with the address, so just make that an argument to the function with the common code for packing the address into the request. (Aside from labels, gcc 4.7.2 generates identical code before & after this change due to inlining, verified via diff of gcc -S output.) Signed-off-by: Alan Coopersmith commit 3292195a64a9ce4f0d27134cd544651ec647e728 Author: Alan Coopersmith Date: Tue Jul 23 22:11:34 2013 -0700 XSetModifierMapping: Use Data instead of GetReqExtra Handle arbitrary length data in the same fashion as other calls, avoiding need to ensure it fits all in the request buffer. Signed-off-by: Alan Coopersmith commit feb131b18aee31c2c125dc3275b0260940245882 Author: Kees Cook Date: Sun Jun 9 11:13:43 2013 -0700 libX11: check "req" when calling GetReqExtra This fixes the two callers of GetReqExtra to check that "req" is non-NULL to avoid crashing now that GetReqExtra does internal bounds-checking on the resulting buffer sizes. Additionally updates comment describing return values to use names instead of only literal values. Signed-off-by: Kees Cook Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 54540d7cba0c2bfe9176221c7bca910058d304df Author: Kees Cook Date: Sun Jun 9 11:13:42 2013 -0700 libX11: check size of GetReqExtra after XFlush Two users of GetReqExtra pass arbitrarily sized allocations from the caller (ModMap and Host). Adjust _XGetRequest() (called by the GetReqExtra macro) to double-check the requested length and invalidate "req" when this happens. Users of GetReqExtra passing lengths greater than the Xlib buffer size (normally 16K) must check "req" and fail gracefully instead of crashing. Any callers of GetReqExtra that do not check "req" for NULL will experience this change, in the pathological case, as a NULL dereference instead of a buffer overflow. This is an improvement, but the documentation for GetReqExtra has been updated to reflect the need to check the value of "req" after the call. Bug that manifested the problem: https://bugs.launchpad.net/ubuntu/+source/x11-xserver-utils/+bug/792628 Signed-off-by: Kees Cook Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 24d3ee0d08f24e23c91d55702f010f73d7b908e5 Author: Thomas Klausner Date: Tue Jun 25 22:35:29 2013 +0200 Tighten out-of-range comparisons. [For all of these, LONG_MAX was the correct value to prevent overflows for the recent CVEs. Lowering to INT_MAX catches buggy replies from the server that 32-bit clients would reject but 64-bit would accept, so we catch bugs sooner, and really, no sane & working server should ever report more than 2gb of extension names, font path entries, key modifier maps, etc. -alan- ] Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 6d926088d80a08e13e6d6c4ff207b81ad52e667f Author: Thomas Klausner Date: Tue Jun 25 18:34:32 2013 +0200 Fix out-of-range comparison in _XF86BigfontQueryFont clang complained (correctly): warning: comparison of constant 768614336404564650 with expression of type 'CARD32' (aka 'unsigned int') is always true [-Wtautological-constant-out-of-range-compare] [While LONG_MAX is correct, since it's used in size_t math, the numbers have to be limited to 32-bit range to be usable by 32-bit clients, and values beyond that range are far more likely to be bugs in the data from the server than valid numbers of characters in a font. -alan- ] Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 383e2b0d029482a0f4c39fe00e15397538576fc1 Author: Thomas Klausner Date: Tue Jun 25 18:33:56 2013 +0200 Check for symbol existence with #ifdef, not #if Reviewed-by: Jamey Sharp Signed-off-by: Alan Coopersmith commit 9955d1c8de994a90fe7f2e3187e7362611d7d265 Author: Thomas Klausner Date: Tue Jun 25 18:33:07 2013 +0200 Use newer callback-based API for XIM. Let libX11 load and make available the newer (X11R6) callback-based API for XIM (expected by emacs). This patch updates the files to match the other nls/ files. Patch from Ian D. Leroux on pkgsrc-users@NetBSD.org following a hint by Nhat Minh Lê . Reviewed-by: James Cloos Signed-off-by: Alan Coopersmith commit a17ceb7100bd36c2db210473ee701deb5d515731 Author: Thomas Klausner Date: Tue Jun 25 18:31:32 2013 +0200 Stop truncating source to destination length if it is larger. It seems useless to do that since the code tests for both source length and destination to be non-zero. This fixes a cut'n'paste problem in xterm where the paste length was limited to 1024 (BUFSIZ) in button.c. Signed-off-by: Alan Coopersmith commit a336db9a0add3ae0783dda6e52459236622a12af Author: Alan Coopersmith Date: Mon Jun 24 23:02:05 2013 -0700 Require ANSI C89 pre-processor, drop pre-C89 token pasting support Signed-off-by: Alan Coopersmith commit 9dfb0f3c0a761590bcdc1f3396b1e064da4e18e8 Author: Alan Coopersmith Date: Fri Jun 7 11:30:11 2013 -0700 troff macro expansion in specs/libX11 Many of the custom nroff macros (.ds ) were left unsubstituted in the nroff->docbook conversion. This substitution is now performed, via the following perl script: #! /usr/bin/perl -w -i use Text::Wrap; while ($_ = <>) { while ($_ =~ m/\((\w+)\b/g) { my $m = $1; if (exists $macro{$m}) { $_ =~ s/\($m/$macro{$m}/; $_ = wrap('', '', $_); $_ =~ s/[ \t]+$//; } } if ($_ =~ /\/) { my ($m, $s) = ($1, $2); $macro{$m} = $s; while ($macro{$m} =~ /\\\s*$/) { $macro{$m} =~ s/\\\s*$//ms; $macro{$m} .= <>; chomp($macro{$m}); } $macro{$m} =~ s/\\ / /g; } else { print $_; } } Signed-off-by: Alan Coopersmith commit 20c17bd9ebf767a24643279e45866dddcb57b5ce Author: Alan Coopersmith Date: Fri Jun 7 09:27:26 2013 -0700 specs/libX11: correct prototype for XListPixmapFormats/XImageByteOrder The XListPixmapFormats arguments was being shown with XImageByteOrder's name and return types. Appears to have been a glitch in the nroff -> docbook conversion. Reported-by: ZHANG Zhaolong Reviewed-by: Jamey Sharp Signed-off-by: Alan Coopersmith commit ed3d830243c8a0eefaf24e15b11823272ffe5049 Author: Thomas Klausner Date: Sun Jun 2 20:49:55 2013 +0200 Deal with the limited range of VAX floating point numbers when compiling for VAX. Signed-off-by: Alan Coopersmith commit 0a48235d63639fb917c44d27c86e928e79fbac66 Author: Eric S. Raymond Date: Thu Jun 6 16:43:56 2013 -0400 Remove call to undefined macro. commit 9e4719b9b719f2f8d255f6778e2e8c1809e32599 Author: Eric S. Raymond Date: Thu Jun 6 16:42:20 2013 -0400 Remove call to undefined macro. commit 8496122eb00ce6cd5d2308ee54f64b68c378e455 Author: Alan Coopersmith Date: Mon Jun 3 20:06:43 2013 -0700 Update README to reflect where to find the Xlib specs now Signed-off-by: Alan Coopersmith commit 655d631e86c95b14888758b27ed2836ca3e3ce86 Author: Alan Coopersmith Date: Mon Jun 3 19:21:06 2013 -0700 libX11 1.6.0 Signed-off-by: Alan Coopersmith commit 4a89b7ea908554628f374537a79931c8006a2de3 Author: Thomas Klausner Date: Sun Jun 2 11:49:54 2013 -0700 cmsMath.c: Add missing stdio header for printf(3) in DEBUG build. Signed-off-by: Alan Coopersmith commit 96dcf747f13b26b8e4d17b1bc8605d933c3e1dc6 Author: Thomas Klausner Date: Sun Jun 2 20:49:48 2013 +0200 XCreateGC man page: Avoid .TS H and .TH macros Avoid .TS H and .TH for now as it doesn't alter the output in this case, and improve the output with mandoc(1). Signed-off-by: Alan Coopersmith commit 95a388158c9d73df7d24016d6a3d61506d7d53a4 Author: Alan Coopersmith Date: Thu May 23 19:43:35 2013 -0700 libX11 1.5.99.902 (1.6 RC2) Signed-off-by: Alan Coopersmith commit a3bdd2b090915fe0163b062f0e6576fe05dd332e Author: Julien Cristau Date: Thu May 23 20:39:46 2013 +0200 xkb: fix off-by-one in _XkbReadGetNamesReply and _XkbReadVirtualModMap The size of the arrays is max_key_code + 1. This makes these functions consistent with the other checks added for CVE-2013-1997. Also check the XkbGetNames reply when names->keys was just allocated. Signed-off-by: Julien Cristau Tested-by: Colin Walters Reviewed-by: Alan Coopersmith commit 7e30056e78e4b7979ff47f102e00327617266019 Author: Niveditha Rau Date: Fri May 17 15:26:21 2013 -0700 Make sure internal headers include required headers Fixes builds with Solaris Studio 12.3 when lint is enabled, since it no longer ignores *.h files, but complains when they reference undefined typedefs or macros. Signed-off-by: Niveditha Rau Signed-off-by: Alan Coopersmith commit 2820100bf8ba130b94253f415e7fa5ac28bb2037 Author: Alan Coopersmith Date: Thu May 16 23:05:36 2013 -0700 Free fs->properties in _XF86BigfontQueryFont overflow error path Fixes small memory leak introduced in commit 5669a22081 Reported-by: Julien Cristau Signed-off-by: Alan Coopersmith commit 3131740513133a9ff7cb12123d29ceb18584fc38 Author: Matthieu Herrb Date: Wed May 8 19:33:09 2013 +0200 XListFontsWithInfo: Re-decrement flist[0] before calling free() on it. Freeing a pointer that wasn't returned by malloc() is undefined behavior and produces an error with OpenBSD's implementation. Signed-off-by: Matthieu Herrb Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 3fe4bea086149f06a142a8f1d575f627ec1e22c7 Author: Alan Coopersmith Date: Fri Apr 19 14:30:40 2013 -0700 Give GNU & Solaris Studio compilers hints about XEatData branches Try to offset the cost of all the recent checks we've added by giving the compiler a hint that the branches that involve us eating data are less likely to be used than the ones that process it. Signed-off-by: Alan Coopersmith commit e1b457beb8d4e831ef44279dada6c475cb955738 Author: Alan Coopersmith Date: Sun Mar 31 12:22:35 2013 -0700 _XkbReadGetMapReply: reject maxKeyCodes smaller than the minKeyCode Various other bounds checks in the code assume this is true, so enforce it when we first get the data from the X server. Signed-off-by: Alan Coopersmith commit 12ad4c6432496897ff000eb7cfecd0fb4b290331 Author: Alan Coopersmith Date: Sat Mar 16 10:03:13 2013 -0700 Use calloc in XOpenDisplay to initialize structs containing pointers Prevents trying to free uninitialized pointers if we have to bail out partway through setup, such as if we receive a corrupted or incomplete connection setup block from the server. Signed-off-by: Alan Coopersmith commit d38527e25f8b6e2f1174ecc21260c5c5416f972e Author: Alan Coopersmith Date: Thu Mar 7 23:46:05 2013 -0800 Remove more unnecessary casts from Xmalloc/calloc calls Signed-off-by: Alan Coopersmith commit b2c86b582c58f50c7b14da01cf7ebd20ef12a6b2 Author: Alan Coopersmith Date: Sat Mar 2 16:56:16 2013 -0800 Convert more _XEatData callers to _XEatDataWords Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 192bbb9e2fc45df4e17b35b6d14ea0eb418dbd39 Author: Alan Coopersmith Date: Sat Mar 9 11:04:37 2013 -0800 Make XGetWindowProperty() always initialize returned values Avoids memory corruption and other errors when callers access them without checking to see if XGetWindowProperty() returned an error value. Callers are still required to check for errors, this just reduces the damage when they don't. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit db1b1c871da29aa0545182bf888df81627f165a5 Author: Alan Coopersmith Date: Sat Mar 2 15:08:21 2013 -0800 Avoid overflows in XListExtensions() [CVE-2013-1997 15/15] Ensure that when breaking the returned list into individual strings, we don't walk past the end of allocated memory to write the '\0' bytes Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 8d5936594993921acdfec778dd8f41b555e2543a Author: Alan Coopersmith Date: Sat Mar 2 15:08:21 2013 -0800 Avoid overflows in XGetFontPath() [CVE-2013-1997 14/15] Ensure that when breaking the returned list into individual strings, we don't walk past the end of allocated memory to write the '\0' bytes Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 0c404db6a92dc2c198328bf586c02d8abbe02013 Author: Alan Coopersmith Date: Sat Mar 2 15:08:21 2013 -0800 Avoid overflows in XListFonts() [CVE-2013-1997 13/15] Ensure that when breaking the returned list into individual strings, we don't walk past the end of allocated memory to write the '\0' bytes Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 0b0f5d4358c3de7563d6af03f0d2ce454702a06a Author: Alan Coopersmith Date: Sat Mar 2 15:08:21 2013 -0800 integer overflow in XGetModifierMapping() [CVE-2013-1981 13/13] Ensure that we don't underallocate when the server claims a very large reply Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit a351b8103b2ba78882e1c309e85893ca3abe2073 Author: Alan Coopersmith Date: Sat Mar 2 15:08:21 2013 -0800 integer overflow in XGetPointerMapping() & XGetKeyboardMapping() [CVE-2013-1981 12/13] Ensure that we don't underallocate when the server claims a very large reply Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 833f6b70bc789d33607f6dbfee9e0a4178ec4b59 Author: Alan Coopersmith Date: Sat Mar 2 15:08:21 2013 -0800 integer overflow in XGetImage() [CVE-2013-1981 11/13] Ensure that we don't underallocate when the server claims to have sent a very large reply. Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 79d8dc08eb98842173ce239b9dd60df0e9e9ae72 Author: Alan Coopersmith Date: Fri Mar 8 22:25:35 2013 -0800 integer overflow in XGetWindowProperty() [CVE-2013-1981 10/13] If the reported number of properties is too large, the calculations to allocate memory for them may overflow, leaving us returning less memory to the caller than implied by the value written to *nitems. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 164bf4dfe839b1cc75cdeee378a243d04a8200e4 Author: Alan Coopersmith Date: Sat Mar 2 13:18:48 2013 -0800 integer overflows in TransFileName() [CVE-2013-1981 9/13] When trying to process file paths the tokens %H, %L, & %S are expanded to $HOME, the standard compose file path & the xlocaledir path. If enough of these tokens are repeated and values like $HOME are set to very large values, the calculation of the total string size required to hold the expanded path can overflow, resulting in allocating a smaller string than the amount of data we'll write to it. Simply restrict all of these values, and the total path size to PATH_MAX, because really, that's all you should need for a filename path. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 460e8a223b87d4fa0ea1e97823e998a770e0f2a2 Author: Alan Coopersmith Date: Fri Mar 1 18:37:37 2013 -0800 integer truncation in _XimParseStringFile() [CVE-2013-1981 8/13] Called from _XimCreateDefaultTree() which uses getenv("XCOMPOSEFILE") to specify filename. If the size of off_t is larger than the size of unsigned long (as in 32-bit builds with large file flags), a file larger than 4 gigs could have its size truncated, leading to data from that file being written past the end of the undersized buffer allocated for it. While configure.ac does not use AC_SYS_LARGEFILE to set large file mode, builders may have added the large file compilation flags to CFLAGS on their own. size is left limited to an int, because if your Xim file is larger than 2gb, you're doing it wrong. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 226622349a4b1e16064649d4444a34fb4be4f464 Author: Alan Coopersmith Date: Sat Mar 2 12:39:58 2013 -0800 Unbounded recursion in _XimParseStringFile() when parsing include files [CVE-2013-2004 2/2] parseline() can call _XimParseStringFile() which can call parseline() which can call _XimParseStringFile() which can call parseline() .... eventually causing recursive stack overflow and crash. Limit is set to a include depth of 100 files, which should be enough for all known use cases, but could be adjusted later if necessary. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 236b603d235dc264d1c6250dca09c745458a9088 Author: Alan Coopersmith Date: Sat Mar 2 12:01:39 2013 -0800 Unbounded recursion in GetDatabase() when parsing include files [CVE-2013-2004 1/2] GetIncludeFile() can call GetDatabase() which can call GetIncludeFile() which can call GetDatabase() which can call GetIncludeFile() .... eventually causing recursive stack overflow and crash. Easily reproduced with a resource file that #includes itself. Limit is set to a include depth of 100 files, which should be enough for all known use cases, but could be adjusted later if necessary. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 076428918e6c35f66b9b55c3fa097ff06496d155 Author: Alan Coopersmith Date: Fri Mar 1 18:37:37 2013 -0800 integer overflow in ReadInFile() in Xrm.c [CVE-2013-1981 7/13] Called from XrmGetFileDatabase() which gets called from InitDefaults() which gets the filename from getenv ("XENVIRONMENT") If file is exactly 0xffffffff bytes long (or longer and truncates to 0xffffffff, on implementations where off_t is larger than an int), then size may be set to a value which overflows causing less memory to be allocated than is written to by the following read() call. size is left limited to an int, because if your Xresources file is larger than 2gb, you're very definitely doing it wrong. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 90fd5abac2faca86f9f100353a3c9c7b89f31484 Author: Alan Coopersmith Date: Sat Mar 2 11:44:19 2013 -0800 Integer overflows in stringSectionSize() cause buffer overflow in ReadColornameDB() [CVE-2013-1981 6/13] LoadColornameDB() calls stringSectionSize() to do a first pass over the file (which may be provided by the user via XCMSDB environment variable) to determine how much memory needs to be allocated to read in the file, then allocates the returned sizes and calls ReadColornameDB() to load the data from the file into that newly allocated memory. If stringSectionSize() overflows the signed ints used to calculate the file size (say if you have an xcmsdb with ~4 billion lines in or a combined string length of ~4 gig - which while it may have been inconceivable when Xlib was written, is quite possible today), then LoadColornameDB() may allocate a memory buffer much smaller than the amount of data ReadColornameDB() will write to it. The total size is left limited to an int, because if your xcmsdb file is larger than 2gb, you're doing it wrong. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit b9ba832401734e1cbd30a930c0d11d850293f3f9 Author: Alan Coopersmith Date: Sat Mar 2 11:25:25 2013 -0800 unvalidated length in _XimXGetReadData() [CVE-2013-1997 12/15] Check the provided buffer size against the amount of data we're going to write into it, not against the reported length from the ClientMessage. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit de2e6c322c4aca22856b380f67f8e488e7510015 Author: Alan Coopersmith Date: Sat Mar 2 11:11:08 2013 -0800 unvalidated index/length in _XkbReadGetNamesReply() [CVE-2013-1997 11/15] If the X server returns key name indexes outside the range of the number of keys it told us to allocate, out of bounds memory writes could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 2df882eeb3a70256170127a746a9ba26376599a1 Author: Alan Coopersmith Date: Sat Mar 2 11:01:04 2013 -0800 unvalidated index in _XkbReadVirtualModMap() [CVE-2013-1997 10/15] If the X server returns modifier map indexes outside the range of the number of keys it told us to allocate, out of bounds memory writes could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 4d7c422a37eb9617fb22f8e37527c2b34b105665 Author: Alan Coopersmith Date: Sat Mar 2 11:04:44 2013 -0800 unvalidated index in _XkbReadExplicitComponents() [CVE-2013-1997 9/15] If the X server returns key indexes outside the range of the number of keys it told us to allocate, out of bounds memory writes could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit e56a2ada719c5cfac5ed61a52a80ade86c0f5957 Author: Alan Coopersmith Date: Sat Mar 2 10:51:51 2013 -0800 unvalidated index in _XkbReadModifierMap() [CVE-2013-1997 8/15] If the X server returns modifier map indexes outside the range of the number of keys it told us to allocate, out of bounds memory writes could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 06c086e8a1d8374ea9a95ff989f053c96bb1bdca Author: Alan Coopersmith Date: Sat Mar 2 10:39:21 2013 -0800 unvalidated index in _XkbReadKeyBehaviors() [CVE-2013-1997 7/15] If the X server returns key behavior indexes outside the range of the number of keys it told us to allocate, out of bounds memory writes could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 00626c3830b869259098985afa38933d77ccec72 Author: Alan Coopersmith Date: Sat Mar 2 09:40:22 2013 -0800 unvalidated index in _XkbReadKeyActions() [CVE-2013-1997 6/15] If the X server returns key action indexes outside the range of the number of keys it told us to allocate, out of bounds memory access could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit fd7d4956bc7a1c4b5c38661b12777ebee4d685d9 Author: Alan Coopersmith Date: Sat Mar 2 09:28:33 2013 -0800 unvalidated index in _XkbReadKeySyms() [CVE-2013-1997 5/15] If the X server returns keymap indexes outside the range of the number of keys it told us to allocate, out of bounds memory access could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 59ae16a00d18588e98af57d26e442af8ea42b7aa Author: Alan Coopersmith Date: Sat Mar 2 09:18:26 2013 -0800 unvalidated indexes in _XkbReadGetGeometryReply() [CVE-2013-1997 4/15] If the X server returns color indexes outside the range of the number of colors it told us to allocate, out of bounds memory access could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit bff938b9fe1629cbacb726509edfa2a3840b7207 Author: Alan Coopersmith Date: Sat Mar 2 09:12:47 2013 -0800 unvalidated indexes in _XkbReadGeomShapes() [CVE-2013-1997 3/15] If the X server returns shape indexes outside the range of the number of shapes it told us to allocate, out of bounds memory access could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit f293659d5a4024bda386305bb7ebeb4647c40934 Author: Alan Coopersmith Date: Fri Mar 1 22:49:01 2013 -0800 unvalidated index in _XkbReadGetDeviceInfoReply() [CVE-2013-1997 2/15] If the X server returns more buttons than are allocated in the XKB device info structures, out of bounds writes could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit cddc4e7e3cb4b9b7ad25f8591971a86901c249f2 Author: Alan Coopersmith Date: Fri Mar 1 19:30:09 2013 -0800 unvalidated lengths in XAllocColorCells() [CVE-2013-1997 1/15] If a broken server returned larger than requested values for nPixels or nMasks, XAllocColorCells would happily overflow the buffers provided by the caller to write the results into. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 2cd62b5eb99ffbb2fce99f3c459455e630b35bf7 Author: Alan Coopersmith Date: Fri Mar 1 22:49:01 2013 -0800 integer overflow in XListHosts() [CVE-2013-1981 5/13] If the reported number of host entries is too large, the calculations to allocate memory for them may overflow, leaving us writing beyond the bounds of the allocation. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 1f6a3dbf699b85c0ea715ef21de7e7095a714e12 Author: Alan Coopersmith Date: Fri Mar 1 22:49:01 2013 -0800 integer overflow in XGetMotionEvents() [CVE-2013-1981 4/13] If the reported number of motion events is too large, the calculations to allocate memory for them may overflow, leaving us writing beyond the bounds of the allocation. v2: Ensure nEvents is set to 0 when returning NULL events pointer Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith commit 39515b7c3ba8cae9021bf6695e378ae19487082f Author: Alan Coopersmith Date: Fri Mar 1 22:49:01 2013 -0800 integer overflow in XListFontsWithInfo() [CVE-2013-1981 3/13] If the reported number of remaining fonts is too large, the calculations to allocate memory for them may overflow, leaving us writing beyond the bounds of the allocation. v2: Fix reply_left calculations, check calculated sizes fit in reply_left v3: On error cases, also set values to be returned in pointer args to 0/NULL Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith commit 5669a220816b7d58fcaf0c302ead16fbe5c87817 Author: Alan Coopersmith Date: Fri Mar 1 21:05:27 2013 -0800 integer overflow in _XF86BigfontQueryFont() [CVE-2013-1981 2/13] Similar to _XQueryFont, but with more ways to go wrong and overflow. Only compiled if libX11 is built with XF86BigFont support. v2: Fix reply_left calculations, check calculated sizes fit in reply_left Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith commit 6df8a63d34b7514077188e2062a13774f920c085 Author: Alan Coopersmith Date: Fri Mar 1 21:05:27 2013 -0800 integer overflow in _XQueryFont() on 32-bit platforms [CVE-2013-1981 1/13] If the CARD32 reply.nCharInfos * sizeof(XCharStruct) overflows an unsigned long, then too small of a buffer will be allocated for the data copied in from the reply. v2: Fix reply_left calculations, check calculated sizes fit in reply_left Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith commit 9f5d83706543696fc944c1835a403938c06f2cc5 Author: Alan Coopersmith Date: Fri Mar 1 20:54:24 2013 -0800 Add _XEatDataWords to discard a given number of 32-bit words of reply data Matches the units of the length field in X protocol replies, and provides a single implementation of overflow checking to avoid having to replicate those checks in every caller. Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit d7f04c340ade3834e603c23d543132e1ee4e0c63 Author: Alan Coopersmith Date: Sat Mar 2 13:03:55 2013 -0800 Move repeated #ifdef magic to find PATH_MAX into a common header Lets stop duplicating the mess all over Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit f3a553a4e4a55d9d19deda1ea01883e1d5d682b1 Author: Pander Date: Tue May 7 18:38:14 2013 -0400 Add compose sequences for J́ and j́. The resulting sequences are: U+004A LATIN CAPITAL LETTER J U+0301 COMBINING ACUTE ACCENT U+006A LATIN SMALL LETTER J U+0301 COMBINING ACUTE ACCENT Used in Dutch, per: http://lists.x.org/archives/xorg-devel/2013-February/035514.html https://nl.wikipedia.org/wiki/Accenttekens_in_de_Nederlandse_spelling Signed-off-by: Pander Signed-off-by: James Cloos commit f49bb2dd6d4ea45c55bd21acc0efe2b764441020 Author: Alan Coopersmith Date: Sat Mar 16 18:30:56 2013 -0700 Move big request comment in XOpenDisplay to the right place Signed-off-by: Alan Coopersmith commit 3996543c1b2919e97d61a5d70fe1ebd7cd76fc83 Author: Alan Coopersmith Date: Sat Mar 9 19:16:03 2013 -0800 libX11 1.5.99.901 (1.6 RC1) Signed-off-by: Alan Coopersmith commit f9cd175a471116a616e681fb0ca1a61b3d84a6a0 Author: Alan Coopersmith Date: Fri Mar 8 22:33:28 2013 -0800 Fix very weird indenting in src/GetFProp.c Signed-off-by: Alan Coopersmith commit e9bd757630368afb374c5d1bcc5d4d85ad3c6c4c Author: Alan Coopersmith Date: Fri Mar 8 15:37:33 2013 -0800 XAllocClassHint: Assume calloc sets pointers in allocated memory to NULL While the C standard technically allows for the compiler to translate pointer = 0 or pointer = NULL into something other than filling the pointer address with 0 bytes, the rest of the Xlib code already assumes that calloc initializes any pointers in the struct to NULL, and there are no known systems supported by X.Org where this is not true. Signed-off-by: Alan Coopersmith commit 39547d600a13713e15429f49768e54c3173c828d Author: Karl Tomlinson Date: Mon Feb 18 01:25:34 2013 +0000 MakeBigReq: don't move the last word, already handled by Data32 MakeBigReq inserts a length field after the first 4 bytes of the request (after req->length), pushing everything else back by 4 bytes. The current memmove moves everything but the first 4 bytes back. If a request aligns to the end of the buffer pointer when MakeBigReq is invoked for that request, this runs over the buffer. Instead, we need to memmove minus the first 4 bytes (which aren't moved), minus the last 4 bytes (so we still align to the previous tail). The 4 bytes that fell out are already handled with Data32, which will handle the buffermax correctly. The case where req->length = 1 was already not functional. Reported by Abhishek Arya . https://bugzilla.mozilla.org/show_bug.cgi?id=803762 Reviewed-by: Jeff Muizelaar Reviewed-by: Peter Hutterer Signed-off-by: Alan Coopersmith commit 3cdb6c3a1646f670afa03d424ec12ac418181d1e Author: Quentin Glidic Date: Tue Jan 15 21:07:17 2013 +0000 nls/Makefile.am: Use LOG_COMPILER TESTS_ENVIRONMENT is deprecated Signed-off-by: Quentin Glidic Signed-off-by: Alan Coopersmith commit df66d7a98e2bc7f44fb5583b645df87d525f07f1 Author: Quentin Glidic Date: Tue Jan 15 21:07:16 2013 +0000 nls/Makefile.am: Remove unneeded $(srcdir) Signed-off-by: Quentin Glidic Reviewed-by: Gaetan Nadon Signed-off-by: Alan Coopersmith commit 3facbe5c0df1b5597571b7b00d5f7bdbc92fb278 Author: Alan Coopersmith Date: Sat Mar 2 12:01:39 2013 -0800 Add hint to all Xrm* man pages Help users figure out which header file they need to #include Signed-off-by: Alan Coopersmith commit 466404007f2c8f7166e4faddfea1454c5bfe1e9a Author: Alan Coopersmith Date: Fri Mar 8 17:13:09 2013 -0800 _xudc_code_to_glyph: check for NULL pointer *before* writing to it, not after Signed-off-by: Alan Coopersmith commit 47d2eff64d167b3245d346d7f38ca703be645e26 Author: Ken Moffat Date: Thu Mar 7 18:27:54 2013 -0500 dead_double_grave and dead_inverted_breve should only have one underscore. Correct instances of dead_double_grave and dead_inverted_breve to dead_doublegrave and dead_invertedbreve. Signed-off-by: Ken Moffat Signed-off-by: James Cloos commit c23d61d1b84dca3740bf4786978c7908d0065fb9 Author: Alan Coopersmith Date: Fri Mar 1 18:10:27 2013 -0800 Assume size_t is always available, since it was defined in C89 Don't provide a fallback definition #ifdef X_NOT_POSIX anymore. We already use size_t throughout the rest of Xlib, just had this one instance left in XKBGAlloc.c of a fallback definition. Signed-off-by: Alan Coopersmith commit 9bcfd84aa1410387bc8cf002a5f90f44705aa0d1 Author: Alan Coopersmith Date: Fri Mar 1 18:09:07 2013 -0800 unifdef XKB_IN_SERVER Leftovers from XKB files that were previously shared between the client and server code, but aren't any more. Signed-off-by: Alan Coopersmith Reviewed-by: Peter Hutterer commit 769a0efa2298040fe8316a89fc9e75fb61e288e5 Author: Alan Coopersmith Date: Thu Feb 28 20:04:25 2013 -0800 unifdef CRAY & _CRAY (mostly performed with unifdef, followed by some manual cleanup of the remaining code) Signed-off-by: Alan Coopersmith Reviewed-by: Peter Hutterer commit ca106eb03e5f5468df8033300c5caae3d3c6936b Author: Alan Coopersmith Date: Thu Feb 28 20:04:25 2013 -0800 unifdef WORD64 WORD64 seems to have only been defined in when building for CRAY, to handle int being a 64-bit value (ILP64, not LP64) and having 64-bit alignment requirements. It hadn't been fully supported even before autotooling, as can be seen by removed code such as: #ifdef WORD64 _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 #endif (mostly performed with unifdef, followed by some manual cleanup of the remaining code) Signed-off-by: Alan Coopersmith Reviewed-by: Peter Hutterer commit 9399caf2c12cbe1ed56f4f6b368c5811cb5d0458 Author: Alan Coopersmith Date: Thu Feb 28 20:04:25 2013 -0800 unifdef MUSTCOPY MUSTCOPY seems to have only been defined in when building for CRAY, to handle missing some sizes of integer type. (mostly performed with unifdef, followed by some manual cleanup of spacing/indenting in the remaining code) Signed-off-by: Alan Coopersmith Reviewed-by: Peter Hutterer commit b687440c28c7da6ee0ae44514d20248db5161606 Author: Alan Coopersmith Date: Sat Feb 16 10:42:23 2013 -0800 Convert more sprintf calls to snprintf You could analyze most of these and quickly recognize that there was no chance of buffer overflow already, but why make everyone spend time doing that when we can just make it obviously safe? Signed-off-by: Alan Coopersmith commit b092dabbd712d7b656abcf572d253b9b206c0237 Author: Alan Coopersmith Date: Fri Feb 15 23:43:12 2013 -0800 XKeysymToString: move variable declarations to the scope of their usage Makes it easier for readers to understand scope of variable usage, and clears up gcc warning: KeysymStr.c: In function 'XKeysymToString': KeysymStr.c:128:13: warning: declaration of 'i' shadows a previous local [-Wshadow] KeysymStr.c:73:18: warning: shadowed declaration is here [-Wshadow] Signed-off-by: Alan Coopersmith commit f0b171c8ea7b055ba520272ea9a2604e18841ac7 Author: Alan Coopersmith Date: Fri Feb 15 23:34:40 2013 -0800 Preserve constness in casting arguments through the Data*() routines Casts were annoying gcc by dropping constness when changing types, when routines simply either copy data into the request buffer or send it directly to the X server, and never modify the input. Fixes gcc warnings including: ChProp.c: In function 'XChangeProperty': ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] ChProp.c:83:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] SetHints.c: In function 'XSetStandardProperties': SetHints.c:262:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] SetPntMap.c: In function 'XSetPointerMapping': SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] StBytes.c: In function 'XStoreBuffer': StBytes.c:97:33: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] StName.c: In function 'XStoreName': StName.c:40:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] StName.c: In function 'XSetIconName': StName.c:51:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Signed-off-by: Alan Coopersmith commit 6c558ee357292dd9dfc6d9006f4525f625327c52 Author: Alan Coopersmith Date: Fri Feb 15 22:58:54 2013 -0800 Fix comment typo & confusing indentation levels in Data() macro definition The final } matches the one on the #define line, not one that doesn't appear after the else statement it was lined up with Signed-off-by: Alan Coopersmith commit afd6593da90e51234d59f8921c411317f91ab48b Author: Alan Coopersmith Date: Fri Feb 15 23:25:38 2013 -0800 XStringToKeysym: preserve constness when casting off unsignedness for strcmp Fixes gcc warning: StrKeysym.c:97:17: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Signed-off-by: Alan Coopersmith commit 7e3bf4dd83fec22bd568146de75e6d59eff74e21 Author: Alan Coopersmith Date: Fri Feb 15 23:14:40 2013 -0800 XRebindKeysym: Drop unnecessary const-removing cast C89 defines memcpy as taking a const void *, so casting from const unsigned char * to char * simply angers gcc for no benefit: KeyBind.c:1017:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Signed-off-by: Alan Coopersmith commit 54527eab93d46055cf11eb6c18abb353a03ae544 Author: Alan Coopersmith Date: Fri Feb 15 22:45:19 2013 -0800 cmsColNm.c: maintain constness of arguments to qsort helper function Fixes gcc warning: cmsColNm.c: In function 'FirstCmp': cmsColNm.c:257:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] cmsColNm.c:257:45: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Signed-off-by: Alan Coopersmith commit deedeada53676ee529d700bf96fde0b29a3a1def Author: Nickolai Zeldovich Date: Tue Jan 22 10:03:00 2013 -0500 XListFontsWithInfo: avoid accessing realloc'ed memory If exactly one of the two reallocs in XListFontsWithInfo() fails, the subsequent code accesses memory freed by the other realloc. Signed-off-by: Nickolai Zeldovich Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit f57fd760cba92ad846917f21e94e73e9c846185f Author: Colin Walters Date: Wed Jan 4 17:37:06 2012 -0500 autogen.sh: Implement GNOME Build API http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Adam Jackson commit 51c102d39e855cf1704d9eb3afba76a2e73c6b81 Author: Adam Jackson Date: Tue Jan 15 14:28:48 2013 -0500 configure: Remove AM_MAINTAINER_MODE Signed-off-by: Adam Jackson commit 3cd974b1d4d1fa6389d3695fa9fcc0c22a51d50c Author: Alan Coopersmith Date: Wed Dec 26 22:57:39 2012 -0800 Remove unused DECnet ("DNETCONN") code from Xlib Has never been converted to build in modular builds, so has been unusable since X11R7.0 release in 2005. DNETCONN support was removed from xtrans back in 2008. Signed-off-by: Alan Coopersmith commit a6e5b36a3e6d4a7a9fb4bad905ed127e67b1957e Author: Alan Coopersmith Date: Wed Dec 26 22:56:38 2012 -0800 Remove unused TLI ("STREAMSCONN") code from Xlib Has never been converted to build in modular builds, so has been unusable since X11R7.0 release in 2005. All known platforms with TLI/XTI support that X11R7 & later releases run on also have (and mostly prefer) BSD socket support for their networking API. Signed-off-by: Alan Coopersmith commit 59c9ee8cd58857c5769b643611cbe526005a9e45 Author: Alan Coopersmith Date: Sun Dec 16 17:44:42 2012 -0800 Tell clang not to report -Wpadded warnings on public headers we can't fix Better to silence the compiler warning than break ABI. Signed-off-by: Alan Coopersmith commit 0b148750027fd0557c5ed93afda861ddf4b92e0f Author: Jon TURNEY Date: Mon Nov 12 17:27:52 2012 +0000 Fix config check for loadable modules The config check of the results of testing for dlfcn.h or dl.h just tests the value of the ac_cv_ variables, which will be 'yes' or 'no', rather than checking it is 'yes', so loadable module support would always be detected. This is necessary for successful compilation for the MinGW target without the optional dlfcn-win32 library. v2: Also, fixed typoed name of ac_cv_header_dlfcn_h, so check still works correctly when dlfcn.h is available Signed-off-by: Jon TURNEY Reviewed-by: Dan Nicholson commit cd25cab4b5b957641183ce72dd1ae0424aff1663 Author: Egbert Eich Date: Fri May 20 18:27:02 2011 +0200 Install Xcms.txt in $(datadir) rather than $(libdir). This file is an architecture independent data and should be where other databases are. This is the Xlib provided sample file, applications are free to use a different one specifying its location in the XCMSDB env variable. Signed-off-by: Egbert Eich Reviewed-by: Alan Coopersmith commit 51fef7e273b5c6256e4c9604e3e1afe5dc8f6a1a Author: Egbert Eich Date: Fri May 20 18:25:24 2011 +0200 Don't hard code path to Xcms.txt file. The path to this file is configurable at build time. The source however contains a hard coded path. Signed-off-by: Egbert Eich Reviewed-by: Alan Coopersmith commit 9833489e6c3829a1e835bc0a11f028fc180809e4 Author: Colin Walters Date: Fri Dec 7 08:51:21 2012 -0500 Fix build after dropping locales They also needed to be removed from configure.ac Signed-off-by: Colin Walters Signed-off-by: Julien Cristau commit 0a740a574aaf0c0eec78859b773a532cff3b74c3 Author: Egbert Eich Date: Fri May 20 13:04:11 2011 +0200 i18n: Uppercased all occurances if 'iso8859' in the full locale name. Making all occurances of iso8859 upper case in the full local name makes the alias entries more consistent and match the entries on locale.dir. Signed-off-by: Egbert Eich Reviewed-by: Alan Coopersmith commit 5e7d589697755a70fb22d85c6a1ae82b39843e53 Author: Egbert Eich Date: Fri May 20 17:55:49 2011 +0200 i18n: Remove ja.S90 and ja.U90 locales. Both locales carry a copyright notice and a prorietary statement: Copyright 1995 by FUJITSU LIMITED This is source code modified by FUJITSU LIMITED under the Joint Development Agreement for the CDEnext PST. This is unpublished proprietary source code of FUJITSU LIMITED Signed-off-by: Egbert Eich Reviewed-by: Alan Coopersmith commit 99eae3dcb7bf6764e3b243d2a2934a4d1ecce90e Author: Egbert Eich Date: Fri May 20 16:46:15 2011 +0200 i18n: Bring locale.dir and compose.dir in sync. Some entries for locale/encoding combinations were missing from either file or just misspelled, some entries were wrong or just aliases. Signed-off-by: Egbert Eich Reviewed-by: Alan Coopersmith commit d1e6baa4e290b758e430077cb74e7c03ad850771 Author: Egbert Eich Date: Fri May 20 14:02:39 2011 +0200 i18n: Treat 'a3_AZ' as an alias for 'az_AZ'. locale.alias contains a comment: XCOMM a3 is not an ISO 639 language code, but in Cyrillic, "Z" looks like "3". Thus lets treat 'a3' as an alias for 'az'. Signed-off-by: Egbert Eich Reviewed-by: Alan Coopersmith Reviewed-by: Magnus Kessler commit fa2aab0bea18efa26a56977d3166277582ab7b07 Author: Egbert Eich Date: Fri May 20 13:09:38 2011 +0200 i18n: Fixed typos in full locale names. Fixing those typos those names actually match entries in locale.dir. Signed-off-by: Egbert Eich Reviewed-by: Alan Coopersmith commit b88dd95005dce4c40f9b4d5f938f945e7955fd04 Author: Egbert Eich Date: Sat May 21 07:29:38 2011 +0200 i18n: Remove duplicates and aliases to oneself. Aliases to itself don't make much sense. This changes occurances of: xy_UV.UTF-8: xy_UV.UTF-8 to xy_UV: xy_UV.UTF-8 where applicable. Signed-off-by: Egbert Eich Reviewed-by: James Cloos commit f198c6aa98f88ff285d903175a3c4c0fd33a4575 Author: Jens Herden Date: Fri May 20 17:29:03 2011 +0200 i18n: Add support for Khmer locale and compose table. Signed-off-by: Egbert Eich Reviewed-by: James Cloos commit 40761898692e5063957bfa2518cca3d35b2e354a Author: Kalman Kemenczy Date: Fri May 20 17:03:24 2011 +0200 i18n: Add support for Serbian specific compose table entries. Signed-off-by: Egbert Eich Reviewed-by: James Cloos commit 7c14aacc9f01d7a975f8d9d033b9b13cbd777a61 Author: Egbert Eich Date: Fri May 20 14:00:35 2011 +0200 i18n: Adding and removing comments. Signed-off-by: Egbert Eich Reviewed-by: James Cloos commit 7754d68976106183751243c2c35a84134be17b34 Author: Egbert Eich Date: Fri May 20 13:45:31 2011 +0200 i18n: Add missing locales which existed in locale.alias. Signed-off-by: Egbert Eich Reviewed-by: James Cloos commit 952eccd0d25ba66023acfd31873eee2e71c38c42 Author: Egbert Eich Date: Fri May 20 10:57:57 2011 +0200 i18n: Consolidate compose handling for locales with UTF-8 encoding. - add an entry to include the default en_US compose file for the ja_JP, ko_KR, th_TH, zh_CN, zh_HK and zh_TW locales. - add missing entries for zh_CN. and zh_HK and am_ET. - change entries for the UTF-8 encoding for ru_RU, ja_JP, ko_KR, th_TH and zh_TW to point to their native directory entries. Signed-off-by: Egbert Eich Reviewed-by: James Cloos commit d14b6a250f004fa405179db7020f6953001d17b9 Author: Yaakov Selkowitz Date: Mon Oct 22 13:54:11 2012 -0500 XIM: remove Private and Public macros Private is a struct member name in mingw-w64 , causing this useless define in a private header to break the build. Signed-off-by: Yaakov Selkowitz Reviewed-by: Jon TURNEY commit f2a8def423a46d52e834cf7ea49fa0079427663a Author: Adam Jackson Date: Wed Oct 17 14:40:43 2012 -0400 XErrorDB: Add GLXBadProfileARB Signed-off-by: Adam Jackson commit d45b3fc19fbe95c41afc4e51d768df6d42332010 Author: Ross Burton Date: Wed Sep 12 14:39:40 2012 +0100 Allow overriding location of keysymdef.h Currently keysymdef.h is found by using the includedir of xproto. This doesn't work when cross-compiling with a sysroot as that ends up being /usr/include/X11, not a path into the cross-build environment. So, add an option to allow explicitly specifying the location of keysymdef.h, and verify that the specified or found path exists. (original patch by Martin Jansa , revised by myself) Signed-off-by: Ross Burton Reviewed-by: Dan Nicholson Reviewed-by: Daniel Stone commit 44cdc0dc2c68d67654023ec707b807145d3a38c0 Author: Eric S. Raymond Date: Thu Aug 23 19:15:07 2012 -0400 Renove some unnecessary low-level markup. Also, SYNTAX -> SYNOPSIS so function prototypes get parsed by doclifter. This appears to have been somebody's thinko, it's only in a few of the files. Signed-off-by: Eric S. Raymond commit b686600ab5ca93b5750f827786e79c329ab2db4d Author: Eric S. Raymond Date: Thu Aug 23 10:53:33 2012 -0400 The .NT/.NE macro pair is no longer used. Remove it. Signed-off-by: Eric S. Raymond commit b83f2898528c5dd683acd2a2143879a760a8dad5 Author: Eric S. Raymond Date: Thu Aug 23 10:42:46 2012 -0400 Remove the one and only use of the .NT/.NE pair. The problem with these macros is that they rely on being able to center the note label. That doesn't play well with modern HTML, not anyway without coomplications like CSS. This use was just a cute trick, not adding enough value to be kept. commit e9509fa6745d25eee01ec6f1c34edf8a806d66b3 Author: Eric S. Raymond Date: Thu Aug 23 10:23:45 2012 -0400 The .C{ and .C} macros are never used. Remove them. Signed-off-by: Eric S. Raymond commit 6b2f7ddeea6c87dbec4ddfc19b1fed33f1bb8575 Author: Eric S. Raymond Date: Thu Aug 23 10:08:08 2012 -0400 The .FN macro, paired with .FD, is also never used. Remove it. Signed-off-by: Eric S. Raymond commit cac6572701c976542da562b2b277b07ffb892a6f Author: Eric S. Raymond Date: Thu Aug 23 10:03:00 2012 -0400 The ".FD" macro is never used. Remove it. It was a temptation to presentation-level klugery and is best gone. Signed-off-by: Eric S. Raymond commit 6e27a828f39f7028bc7f4a8736e7262fca250632 Author: Eric S. Raymond Date: Thu Aug 23 09:54:25 2012 -0400 Clean up, my last commit missed four cases. Signed-off-by: Eric S. Raymond commit a7fb575957ff4d9dd3671994a005ac3be8bb10fe Author: Eric S. Raymond Date: Thu Aug 23 08:24:17 2012 -0400 Eliminate all uses of tab stops in the libX11 man pages. Two steps: First, expand tabs to 8 spaces in code and structure listings. Second, make the .Ds used to wrap code listings switch to constant-width font (CW) rather than numeric font position 1, which maps to R on most systems. It is possible some archaic systems won't know what CW is, but the only risk is that code listings won't look quite right on troff devices; the PostScript and DVI drivers definitely grok it, so those important cases are OK. The purpose of these changes is to get rid of presentation-level markup so these pages will lift clean to DocBook. Signed-off-by: Eric S. Raymond commit 8042f88ace33573f9d0dfaa21ed54ac7cef266d5 Author: Will Thompson Date: Mon Jul 9 18:00:27 2012 +0100 Add compose sequences for "therefore" and "because". These sequences look sensible to me. I added them to the APL-related section of Mathematical Operators—they're in that section of Unicode anyway. https://bugs.freedesktop.org/show_bug.cgi?id=51922 Signed-off-by: Will Thompson Reviewed-by: Daniel Stone commit 65358ea5079236b2508f787ac2fb2024a477e36d Author: Alan Coopersmith Date: Fri Jun 29 23:08:04 2012 -0700 Convert XCreate{Pix,Bit}map...Data to use C99 designated initializers Signed-off-by: Alan Coopersmith commit 0dc93f7e43deb102b1f8fb7c4c4844cdce7ffd1e Author: Alan Coopersmith Date: Fri Jun 29 22:57:13 2012 -0700 XCreate{Pix,Bit}map...Data: Free pixmap in error path if XCreateGC fails Fixes leaks in error paths found by Parfait 1.0.0: Error: X Resource Leak Leaked X Resource pix at line 62 of CrBFData.c in function 'XCreateBitmapFromData'. pix initialized at line 60 with XCreatePixmap Error: X Resource Leak Leaked X Resource pix at line 70 of CrPFBData.c in function 'XCreatePixmapFromBitmapData'. pix initialized at line 66 with XCreatePixmap Signed-off-by: Alan Coopersmith Reviewed-by: Aaron Plattner commit dce84b8c39ad5a8908c29bb6de25b6c3004c1ab7 Author: Alan Coopersmith Date: Wed Jun 6 13:31:16 2012 -0700 libX11 spec: Correct prototype for XConvertSelection selection & target parameters were accidentally run together Signed-off-by: Alan Coopersmith commit 6c5cb2a90a6479f56855e5167039c37c234cdfe7 Author: Alan Coopersmith Date: Fri Jun 1 23:37:09 2012 -0700 libX11 1.5.0 Signed-off-by: Alan Coopersmith commit 05c587ec3be880721131a17c1dd4366e458fdd8b Author: Alan Coopersmith Date: Sat May 26 14:37:28 2012 -0700 libX11 1.4.99.902 (1.5 RC2) Signed-off-by: Alan Coopersmith commit d817834d9772e3500d5102e2eae868b04a33c31f Author: Pander Date: Sat May 5 19:02:10 2012 +0200 Compose: Reassigned squences with minus and a or o Reassigned squences with minus and a or o (vice versa and lower and upper case) to conform existing series and not resulting in tilde. Also added noe missing underscore sequence. Signed-off-by: Alan Coopersmith commit 6bfd1dca6e7cb2046ee6bf9dbbddc0af5ef7cc00 Author: Pander Date: Sat May 5 16:56:05 2012 +0200 Compose: Removed and vice versa Combination with lower case u suffices Signed-off-by: Alan Coopersmith commit 3a8b1637132d1e36eb5e11f52dfb284081772d14 Author: Pander Date: Sat May 5 16:44:31 2012 +0200 Compose: Removed for n with tilde, also vice versa & for upper case Signed-off-by: Alan Coopersmith commit fd514d7a35119dd4413b51c84f2a536f2ca501a6 Author: Pander Date: Sat May 5 16:40:20 2012 +0200 Compose: Removed in combination with a numeral for superscript Signed-off-by: Alan Coopersmith commit 1b5cad3ca54410c4edbca79c23c463e9e088bc0d Author: Pander Date: Sat May 5 16:28:01 2012 +0200 Compose: Reassigned to oacute, also for upper case. Signed-off-by: Alan Coopersmith commit 0bbc0d5e605e2a4a3eb00a229b651d4546e8aef4 Author: James Cloos Date: Thu May 10 12:27:28 2012 -0400 Remove duplicate compose sequences from commit e51e37c118ae. The compose-check script only handles compiled Compose files, not the Compose.pre files. One must remember to use: ./autogen.sh; make; make check when reviewing patches to the Compose.pre files.... Signed-off-by: James Cloos commit e51e37c118ae6cb9ced8244ce1c410677e0279ce Author: Geoff Streeter Date: Thu Mar 22 15:02:00 2012 +0000 Add APL support to compose Signed-off-by: Geoff Streeter Signed-off-by: James Cloos commit dac90324cee224df977a428afe80d960dceca769 Author: Julien Cristau Date: Sat May 5 16:05:07 2012 +0200 configure: make previous change work with older autoconf autoconf 2.63 doesn't seem to like the nested AC_CHECK_DECL/FUNC. So do the tests separately. Reported-by: Dave Airlie Signed-off-by: Julien Cristau commit f5b50af4324186962e258ffe9be78d5ee4681982 Author: Julien Cristau Date: Sun Apr 29 16:43:09 2012 +0200 configure: check if issetugid is declared GNU/kFreeBSD has issetugid in libc (for legacy apps?), but doesn't declare it anywhere, causing gcc to error out with -Werror=implicit-function-declaration. Use AC_CHECK_DECL in addition to AC_CHECK_FUNC so we disable this code instead of failing to build it. Debian bug#669670 Signed-off-by: Julien Cristau Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 52e1b5cc3b6de76ccf4285b55652474a522ed9a8 Author: Peter Hutterer Date: Mon Apr 30 16:36:47 2012 +1000 Typo fix Signed-off-by: Peter Hutterer commit b64969f0e510d5d3300cf968741a3726a6409577 Author: Alan Coopersmith Date: Tue Apr 17 18:12:02 2012 -0700 Add X11R7 sections to the libX11 & XKBlib credits to cover Docbook conversion Signed-off-by: Alan Coopersmith commit 9ea611696f317ac3b3fb67893f1d6d87d49e3b5e Author: Alan Coopersmith Date: Tue Apr 17 18:01:36 2012 -0700 Add olinks from libX11 & localedb specs to ICCCM spec Signed-off-by: Alan Coopersmith commit b3c1b8cdab7d14220426c9b997ac362dc16318fc Author: Alan Coopersmith Date: Tue Apr 17 17:49:44 2012 -0700 Add olinks from libX11 spec to ICCCM spec Also convert ICCCM title mentions from to Signed-off-by: Alan Coopersmith commit ebebb65e753007ad01966dccc90bd6ca9a826488 Author: Alan Coopersmith Date: Sat Apr 14 23:40:01 2012 -0700 libX11 AppC: Fix section headers that didn't translate from nroff properly Signed-off-by: Alan Coopersmith Acked-by: Peter Hutterer commit d5ab4ae0e74ae1fb30fb72add0751effe2759bf2 Author: Alan Coopersmith Date: Sat Apr 14 23:13:05 2012 -0700 Add olinks from libX11 spec to x11protocol spec Signed-off-by: Alan Coopersmith Acked-by: Peter Hutterer commit 83878a0e34fffd255597300dd3e6cd43fcd645b0 Author: Alan Coopersmith Date: Sat Apr 14 22:28:53 2012 -0700 libX11 spec: Remove .br nroff macro left behind in XGetWindowProperty prototype Signed-off-by: Alan Coopersmith commit abc523fce31fcf2687229697a8eb656e343ecb0c Author: Alan Coopersmith Date: Thu Mar 15 22:14:45 2012 -0700 libX11 1.4.99.901 (1.5 RC1) Signed-off-by: Alan Coopersmith commit b2cc5905a4a6d519957223e8ba2caef71520040c Author: Alan Coopersmith Date: Thu Mar 15 22:03:21 2012 -0700 Remove "register" qualifier that annoys Solaris Studio compiler Fixes warning: "Xrm.c", line 1094: warning: storage class after type is obsolescent Signed-off-by: Alan Coopersmith commit 62d42953893f93a98db0504eaf06d650ceaf5811 Author: James Cloos Date: Wed Mar 14 17:25:46 2012 -0400 Fix the gtk+ additions (Some of) the Dstroke and dstroke entries already were present as U011[01], even though XK_Dstroke and XK_dstroke are part of the latin2 set in keysymdef.h. The addition of as a postfix version of blocks the existing entries for ǻ and Ǻ. That prevents its and ’s addition. Signed-off-by: James Cloos commit 91bcce48d94792f78333d2aea73961cc2e739d2e Author: Pander Date: Wed Mar 14 12:54:53 2012 -0400 Complete compose key sequences for musical symbols Signed-off-by: Pander Signed-off-by: James Cloos commit cf040016d455bc37f7665d6714337c5eafd8ea94 Author: Pander Date: Wed Mar 14 12:46:25 2012 -0400 Add compose sequences from gtk+ to X.Org Signed-off-by: Pander Signed-off-by: James Cloos commit a4c591ced5cac9301b9abfa0e521be2d0b267882 Author: Keith Packard Date: Sun Mar 4 02:00:13 2012 -0800 Block for other threads in _XUserLockDisplay Wait for all other threads to release the user-level lock when acquiring it. This ensures that only one thread at a time holds the user-level lock, necessary as it is a nesting lock and a single variable is used to determine when the lock is nesting and when it is contended. Signed-off-by: Keith Packard Reviewed-by: Jamey Sharp commit ed00b460acb08787b695f27b864e96102dfd4867 Author: Jon TURNEY Date: Fri Oct 28 11:09:20 2011 -0500 Don't use caddr_t casts (caddr_t) isn't used anywhere else in xcb or libX11. Cast to (char *) for consistency. Removing this cast allows building for MinGW without patching. v2: Cast to (char *) rather than just dropping the cast Signed-off-by: Jon TURNEY Reviewed-by: Alan Coopersmith commit 20adca02c2a1d0b7c95ecbe387d68f881fd57754 Author: Julien Cristau Date: Sun Feb 19 13:27:38 2012 +0100 Revert "xcb: Add TCP fallback" This reverts commit f09c5299a381e2729e800a0ac43f1c0e371f65f6. The TCP fallback ended up falling back to UNIX socket connection if $DISPLAY was set to e.g. some.host:0 and the initial attempt failed. Debian bug#659558 Signed-off-by: Julien Cristau Conflicts: src/OpenDis.c commit f4378193619baa9bb973c1b5b718721bbcbe92c7 Author: James Cloos Date: Wed Feb 22 14:13:20 2012 -0500 Make the compose sequence for ẞ work. There is no XK_Ssharp symbol for U+1E9E LATIN CAPITAL LETTER SHARP S, so use the U1e9e symbol in the Compose sequence. (Compose sequences do not work when the target symbol is unknown.) Signed-off-by: James Cloos commit 2ca641c3a506dcbee97e279b67990d5387389f36 Author: Marko Myllynen Date: Mon Feb 20 17:04:59 2012 +0200 Use ezh/EZH in compose maps Related: https://bugs.freedesktop.org/show_bug.cgi?id=19687 Signed-off-by: Marko Myllynen Reviewed-by: Matt Dew Signed-off-by: James Cloos commit 61725822f20f47684a545c1797183ee7075243ac Author: Marko Myllynen Date: Sun Feb 20 17:09:43 2011 +0200 Provide translation from XK_permille (ad5) to Unicode (U2030) https://bugs.freedesktop.org/show_bug.cgi?id=19687 Signed-off-by: Marko Myllynen Reviewed-by: Matt Dew Signed-off-by: James Cloos commit d2cce0abba0fa0143f49026442c8cab5ed721625 Author: Jeremy Huddleston Date: Sun Feb 12 19:01:43 2012 -0800 nls: Use LC_CTYPE=C for sed magic Stricter versions of sed can trip up if the input does not match LC_CTYPE Signed-off-by: Jeremy Huddleston commit f180e043f55531933bedfa6e0ff36a00a9ec07f3 Author: Frédéric Boiteux Date: Wed Nov 30 12:47:31 2011 +0000 Compositions with the dead greek symbol FreeDesktop Bug 21475 Signed-off-by: Frédéric Boiteux Signed-off-by: James Cloos commit d58e8f8e27790017fcfdeca0843b7318d541c189 Author: Ryan Pavlik Date: Sun Jan 1 21:04:52 2012 +0000 Use pthreads on MinGW also Use pthreads (provided by the pthreads-win32 compatability library which implements them using native Win32 threading) on MinGW Reviewed-by: Jon TURNEY commit bf15ccb6821664746ec23d769d757edf8059007e Author: Ryan Pavlik Date: Mon Jan 23 14:18:02 2012 +0000 Add XWindows.h include to Xxcbint.h This avoids some conflicting type re-definition errors which occur if we attempt to include Windows headers after Xmd.h Reviewed-by: Jon TURNEY commit cadcbd376f0a5d17a71a2fe2f8ced5d93232921a Author: Matt Dew Date: Sat Jan 21 17:59:51 2012 -0700 informaltable & table cleanup On certain tables, add top and bottom borders to table header and a bottom border to the table. This matches what those tables in the old pdfs looked like. the prevents tables from splitting across pages. Useful for tiny tables. Converting the colwidth to a floating point, IE, 1* -> 1.0* cleans up these build errors: WARNING: table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1) Signed-off-by: Matt Dew commit bb551f654df8f647c867f79252241964521e689e Author: Alan Coopersmith Date: Wed Dec 28 21:22:41 2011 -0800 Add more Xkb man pages to the See Also lists for core keyboard functions Signed-off-by: Alan Coopersmith Reviewed-by: Peter Hutterer commit b7bb23fe7c8b8a17128e5bc98a05f68595190438 Author: Gaetan Nadon Date: Fri Dec 30 17:08:14 2011 -0500 docbook.am: embed css styles inside the HTML HEAD element Rather than referring to the external xorg.css stylesheet, embed the content of the file in the html output produced. This is accomplished by using version 1.10 of xorg-xhtml.xsl. This makes the whole html docs tree much more relocatable. In addition, it eliminates xorg.css as a runtime file which makes xorg-sgml-doctools a build time only package. Signed-off-by: Gaetan Nadon commit 70505468b7c4a7068cc39be42e421dcee34ec595 Author: Alan Coopersmith Date: Tue Dec 13 19:58:30 2011 -0800 makekeys: move buf declaration from global to main to silence gcc -Wshadow The global was only referenced in the main() function, which passes it as an argument of the same name to the parse_line() function, leading to gcc -Wshadow warnings: makekeys.c: In function ‘parse_line’: makekeys.c:58:24: warning: declaration of ‘buf’ shadows a global declaration makekeys.c:54:13: warning: shadowed declaration is here Signed-off-by: Alan Coopersmith commit 87e10a7b9a97c951ab4d477f61177779ac0a6a66 Author: Kusanagi Kouichi Date: Wed Dec 14 02:17:55 2011 -0500 XQueryColors: Split a request into multiple requests if necessary https://bugs.freedesktop.org/show_bug.cgi?id=9160 Signed-off-by: Kusanagi Kouichi Signed-off-by: James Cloos commit d3b3570592e9b9e57f270a0bd86762fd205a2833 Author: Andreas Wettstein Date: Tue Nov 8 20:18:09 2011 +0000 XIM: Allow modifier releases in compose sequences (#26705) Currently, only non-modifier keys (actually, keysyms) can be part of a compose sequence, and they are matched against the defined compose sequences at the time the key is pressed. The patch allows to use modifier keys an well, but matches them on key release, and only if no other key has been pressed after the modifier. Releasing a non-matched modifier during an ongoing compose sequence only aborts the sequence if any modifier release would have matched. In particular, if no compose sequences with modifiers are specified, the compose mechanism works exactly as without this patch. Even if modifiers are part of a compose sequence, they are not filtered. This is because modifiers affect the keyboard state no matter what we do here and, therefore, filtering them only could confuse clients. The purpose is this extension to the compose mechanism is to allow to make better use of keys in convenient reach for touch typing. Signed-off-by: Andreas Wettstein Signed-off-by: James Cloos commit 56448a626fc90bcf75a1fa2f4c294b0eb1f23bd6 Author: Alan Coopersmith Date: Tue Nov 29 23:56:57 2011 -0800 Reject negative string counts in copy_string_list Silences parfait warning of a potential memory leak: Memory leak of pointer 'dst' allocated with malloc(length) at line 160 of FSWrap.c in function 'copy_string_list'. 'dst' allocated at line 145 with malloc(length). dst leaks when count <= 0 at line 154. Signed-off-by: Alan Coopersmith commit bf2d7c8c6d70539c72560b1921e18df2610acf29 Author: Peter Hutterer Date: Fri Nov 11 14:56:36 2011 +1000 libX11 1.4.99.1 Signed-off-by: Peter Hutterer commit 24283d40b1e4314c6647dda49d2a159833341a8b Author: Derek Buitenhuis Date: Thu Sep 22 18:44:13 2011 -0400 makekeys: Fix build/target word size mismatch when cross-compiling Since makekeys is built using build environment's gcc and runs natively, we have to make sure that the size of the Signature type is the same on both the native environment and the target, otherwise we get mismatches upon running X, and some LSB test failures (xts5). Use an unsigned 32-bit integer on all platforms. Also, eliminate the redundant multiple typedefs for the Signature type. Signed-off-by: Derek Buitenhuis Reviewed-by: Daniel Stone commit 1c41f3b9b86b5eeedfa3bff92e519d45aa097587 Author: Alan Coopersmith Date: Wed Nov 9 21:00:36 2011 -0800 XlcSL.c: convert old-style function definitions to ANSI C89 style Signed-off-by: Alan Coopersmith commit f6dad6aaa384bf836baa28ccb72b476a85c40eff Author: Peter Hutterer Date: Thu Oct 27 13:53:22 2011 +1000 Use GetReqSized for GetReq and GetReqExtra GetEmptyReq and GetResReq cannot do this due to the final typecast - typically requests that need either of those do not have their own typedef in the protocol headers. Signed-off-by: Peter Hutterer Reviewed-by: Jamey Sharp commit c9c99058b9d98789c0b2d7e78a23443c2b57a047 Author: Peter Hutterer Date: Fri Oct 14 14:51:06 2011 +1000 include: Add GetReqSized() for request buffers of specific size Some XI2 requests change in size over different versions and libXi would need to hack around GetReq and GetReqExtra. Add a new GetReqSized so the library can explicitly specify the size of the request in 4-byte units. Signed-off-by: Peter Hutterer Reviewed-by: Jamey Sharp commit ba8a7a19165e30d14bc165f43f67c19b6a115585 Author: Peter Hutterer Date: Thu Oct 27 13:24:10 2011 +1000 Switch GetEmptyReq and GetResReq to call _XGetRequest Signed-off-by: Peter Hutterer Reviewed-by: Jamey Sharp commit 4a060f993bf676cf21ad9784e010f54134da7b40 Author: Peter Hutterer Date: Mon Oct 17 09:45:15 2011 +1000 Add _XGetRequest as substitute for GetReq/GetReqExtra Signed-off-by: Peter Hutterer Reviewed-by: Jamey Sharp commit d8956520deb79c1cbb5e974c175bf8493859b22b Author: Alan Coopersmith Date: Fri Oct 14 17:53:00 2011 -0700 Fix "nomal" -> "normal" typo in several comments Signed-off-by: Alan Coopersmith commit 002b36e308a26a152504f9b40aa08a0dce9a7991 Author: Xue Wei Date: Fri Oct 14 17:39:21 2011 -0700 mbtocs should not truncate input Fixes pasting more than 1024 bytes into xterm, as described in https://bugs.freedesktop.org/show_bug.cgi?id=25209 Signed-off-by: Alan Coopersmith commit 9b8d8c9e5b27273e8856a3851ba9b68022bed3cd Author: Marko Myllynen Date: Mon Oct 10 09:41:13 2011 +0300 Add new compose sequences This patch adds few new compose sequences to the en_US map, ligatures common in typesetting and sequences already in use in the fi_FI map. https://bugs.freedesktop.org/show_bug.cgi?id=30621 https://bugs.freedesktop.org/show_bug.cgi?id=34523 Reviewed-by: Jeremy Huddleston commit 738f7b867341c1da87ee667d48815822715c3e75 Author: Choe Hwanjin Date: Thu Oct 13 07:58:02 2011 +0900 XIM: Make Xim handle NEED_SYNC_REPLY flag NEED_SYNC_REPLY flag should be in Xim not in Xic. Because the focused Xic can be changed before sending sync reply. After focused Xic changed, the new Xic doesn't have NEED_SYNC_REPLY flag enabled, so libX11 doesn't send XIM_SYNC_REPLY packet. This patch adds sync reply flag to Xim and removes sync reply from Xic. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=7869 Signed-off-by: Choe Hwanjin Reviewed-by: Jeremy Huddleston commit 50e15379331c436851abb194251cde96999e67b3 Author: Bodo Graumann Date: Mon Oct 10 16:40:52 2011 +0200 libX11: Fixing modifier key range in Xutil.h (Bug #21910) IsModifierKey, defined in include/X11/Xutil.h, is a macro determining, which keys are regarded as modifiers. The constants ISO_Level5_Shift, ISO_Level5_Latch and ISO_Level5_Lock where excluded previously, leaving some Neo2 modifiers functionless in combination with compose. This patch adjusts the range to include the correct, full range of modifier constants. Neo2 Bug 277 X.Org Bug 21910 Signed-off-by: Bodo Graumann Reviewed-by: Daniel Stone commit b5a108624331fabf393223c0891914cc54d4caf4 Author: Yann Droneaud Date: Tue Oct 11 17:27:59 2011 +0200 Return name instead of False in XSetICValues() In case of error, XSetICValues() must return the first argument that failed to be set. But in some error paths, it returns False, which is converted to NULL, so the function returns OK in case of error. Signed-off-by: Yann Droneaud Reviewed-by: Jeremy Huddleston commit 10992cb8dc5e4d938e7e5a633b68a81b5875f3ba Author: Yann Droneaud Date: Sun Oct 9 17:56:45 2011 +0200 Return name instead of value in XGetIMValues() and XSetIMValues() As stated in man page (XOpenIM) and Xlib documentation (chapter 13.5.3), XGetIMValues() and XSetImValues() "returns the name of the first argument that could not be obtained." But currently, err = XGetIMValues(im, "invalid", &arg, NULL); returns &arg instead of "invalid". This patch fixes https://bugs.freedesktop.org/show_bug.cgi?id=12897 Signed-off-by: Yann Droneaud Reviewed-by: Jeremy Huddleston commit f2651e03f3295a453a2965c3749bc8b6e66f1c09 Author: Jeremy Huddleston Date: Mon Oct 10 14:09:17 2011 -0700 Mark XKeycodeToKeysym as _X_DEPRECATED Signed-off-by: Jeremy Huddleston commit 25d7bb9c705623ebbb3afba3b86d0ded5b6bb4fb Author: Jeremy Huddleston Date: Sun Oct 9 02:38:28 2011 -0700 Fix nobreakspace for pt_BR.UTF-8 https://bugs.freedesktop.org/show_bug.cgi?id=31334 Signed-off-by: Jeremy Huddleston commit 913603660c17ec59a4d39d3e3b9d60469ee5c060 Author: Jeremy Huddleston Date: Sun Oct 9 02:26:45 2011 -0700 Fix potential uninitialized variable access in _XimMakeICAttrIDList Found by clang static analysis Signed-off-by: Jeremy Huddleston commit 566ceaf5a92c721ac7155528e4d0d2e5cbef023f Author: Jeremy Huddleston Date: Sun Oct 9 02:25:50 2011 -0700 Remove self-resolving aliases https://bugs.freedesktop.org/show_bug.cgi?id=30112 Signed-off-by: Jeremy Huddleston commit 22ba43d198dcca86c88eb15a56fc7d8fc47c422e Author: Matt Dew Date: Fri Oct 7 22:52:30 2011 -0600 Cleanup IDs and links in doc 1 - fix the capitalization of the ID attributes to match either the or <funcdef> string it goes with. 2 - fix any <linkend>'s that were affected by 1. 3 - any <function> in the docs that has an actual funcdef, will become an olink. Signed-off-by: Matt Dew <marcoz@osource.org> commit f858f3326adbc0c5711669b92a64a84a9083a055 Author: James Cloos <cloos@jhcloos.com> Date: Tue Oct 4 17:11:11 2011 -0400 [nls] Fix typo/synco. The iso8859-1 Compose table includes an optional section which uses Ctrl<T> as a substitute for <Multi_key>. In that section the sequence to generate an @ (at) either was incorrectly copied from the Multi_key section or was not kept in sync with the Multi_key section. Fixing this eliminates the warning from compose-check.pl: ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ┃ Clash with existing sequence in iso8859-1/Compose.pre ┃ on line 661: Ctrl<T> <A> <A> ┃ line #661: Ctrl<T> <A> <A> : "\305" Aring ┃ line #480: Ctrl<T> <A> <A> : "@" at ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Signed-off-by: James Cloos <cloos@jhcloos.com> commit 7f35f7efc23234b3f8529fee31a802c21846d9ab Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Mon Sep 26 11:32:56 2011 -0700 Remove conflicting compose sequences for cent and colon Regression from 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 Found by tinderbox Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Sun Sep 25 16:29:17 2011 -0700 Add additional compose sequences for pound sterling, yen, and cent (mixed case) https://bugs.freedesktop.org/show_bug.cgi?id=1013 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> commit 0ca4153a373e2af7a9eb3cef003393ab332bc79e Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Sat Sep 24 16:44:04 2011 -0700 Use a configure check for seteuid HP-UX doesn't have seteuid https://bugs.freedesktop.org/show_bug.cgi?id=1497 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit 79594b4d66344f248eb4314ecb78eb81f632c3ab Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Sep 20 16:06:10 2011 -0400 localedb specs: use <copyright> for first holder of multi license Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 154430268cf004b06920edde2f1812dc16d71fae Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Sep 20 16:01:52 2011 -0400 libX11 specs: use <copyright> for first holder of multi license Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 66e621f58dee804acb795ff2c79ce6dd38b34a3f Author: Tollef Fog Heen <tfheen@err.no> Date: Tue Sep 20 13:07:37 2011 -0400 NLS: Add more vulgar fractions Add 1/7, 1/9, 1/10 and 0/3 vulgar fractions. Signed-off-by: Tollef Fog Heen <tfheen@err.no> Signed-off-by: James Cloos <cloos@jhcloos.com> commit e37a6da814b5653be46000a9a76902729660a2e6 Author: Alexander Polakov <polachok@gmail.com> Date: Sat Sep 17 20:54:58 2011 +0400 XGrabKey manual page: change XAllowAccess to XAllowEvents in See Also There is no XAllowAccess man page to see. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit a23f3323f269b33a43d16dce01395cd28bc41b45 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 15:27:44 2011 -0400 XKB: provide adequate quotes for the license text Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit a9c7a5cad91d968f5536ef8fc735036e921832a3 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 15:18:53 2011 -0400 XIM: refactor the multi licensing legal text Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit c46f934ed89e7de79746a0387c9f998d91994ea6 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 10:33:30 2011 -0400 xim trans: restore Fujitsu copyright legal text Somehow lost during docbook conversion. text from x.org ftp R7.5. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 3d75f993382bfdc89d31668d7dfc71c91222e0d7 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 10:11:46 2011 -0400 xtrans: restore X Consortium original legal text Asking X Consortium permission to use The Open Group name makes no sense. Even more so in 1994 before X Window System was passed on to the Open Group. Using original text from xorg-docs/general/License Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 136a381585a4a9686c11bad1a6130837978e677f Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 10:03:21 2011 -0400 Framework: restore X Consortium copyright Somewhat dammaged during docbook conversion. Also restore pasrt of the original license text Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 33f346878406762704a0c13cdc018111c666f3c1 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 09:50:00 2011 -0400 localedb: restore X Consortium original legal text Asking X Consortium permission to use The Open Group name makes no sense. Even more so in 1994 before X Window System was passed on to the Open Group. Using original text from xorg-docs/general/License Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit e99c9338e413efca026210b9d830efb5c74d34e5 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 08:23:18 2011 -0400 specs: support multi licensed copyright notice and license text For documentation having multiple licenses, the copyright and legalnotice elements sequence cannot instantiated multiple times. The copyright notice and license text are therefore coded inside a legalnotice element. The role attribute on the paragraph is used to allow styling of the copyright notice text which should not be italicized. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit b9dedc757e667333ce899115d618f25cdaa4dd5e Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 08:17:50 2011 -0400 localedb: add release info to spec Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 4519c89a87ddce01e599542737a27c26030fe4ff Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 08:05:32 2011 -0400 specs: fix The Open Group license text The warranty referred to the X Consortium Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 08ac378423e7be72e340197ba5559a1a36f1783c Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 08:03:39 2011 -0400 specs: The strandard name is still "X Consortium Standard" This spec, and fsproto spec, are the only two docs with a different standard name. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 8dfbeb1b1b1e8aa17f69d0a373155419a5f6a172 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Sep 18 13:22:34 2011 -0400 specs: support multi licensed copyright notice and license text For documentation having multiple licenses, the copyright and legalnotice elements sequence cannot instantiated multiple times. The copyright notice and license text are therefore coded inside a legalnotice element. The role attribute on the paragraph is used to allow styling of the copyright notice text which should not be italicized. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 278ca8947c1dabb2b819527dca0fa6190c034f67 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Sep 16 11:45:56 2011 -0400 docs: merge copyright holder under the same copyright notice As per the docbook markup dtd. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 7ff012bb433109a622ac122ade71669e842ebdcf Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Sep 16 10:09:57 2011 -0400 specs: handle multiple sets of copyright notice/license/warranty Docbook groups all the <copyright> elements together and all the <legalnotice> elements together. We cannot have a sequence: <copyright> <legalnotice> <copyright> <legalnotice> [...] A workaround, which was done in some documents, is to put the copyright notice inside the legalnotice in plain text without the <copyright> element. A formal paragraph title is added here which makes the copyright notice bold, and makes it much easier to locate. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 4a550c71b8221c37b1a9378d5a170da9eaa03405 Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Sep 14 15:55:42 2011 -0400 specs: remove orphan affiliation. Authors affiliation are correct. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 0cc02a6df65214560b7575e89cebee741d6d2469 Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Sep 13 17:39:02 2011 -0400 specs: use appropriate markup for Copyright statements Also move <releaseinfo> to match order of appearance Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit afe13e19ebf0fc4e3460644164433af016f0add7 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 12 16:54:45 2011 -0400 docs: use the &fullrelvers; entity to set X11 release information Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 22a2153282db13e9d94881022b8c979539841a2c Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Sep 11 19:49:53 2011 -0400 docs: remove <productnumber> which is not used by default This element is not rendered by default on the title. A template customization is required to display it. X Window System does not have a product number. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 719f16570d9fcfd15247813ee51fa51ac8a6ff4c Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Sep 11 17:40:21 2011 -0400 docs: use the &fullrelvers; entity to set X11 release information Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit a6b2992f50b571d612ea9ade631c432c3099bc12 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Sep 11 17:38:42 2011 -0400 docs: remove orphan <affiliation> Somehow created during the conversion from roff. Unable to locate the author to which it belongs. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit c7420060b6e47b8467ba50c796ec3c1bab090bc7 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Sep 11 17:38:05 2011 -0400 docs: remove <productnumber> which is not used by default This element is not rendered by default on the title. A template customization is required to display it. X Window System does not have a product number. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 7d5b718c1edbc43c54b7001be548e515a49540ea Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Sep 9 14:46:39 2011 -0400 docbook.am: embed css styles inside the HTML HEAD element Rather than referring to the external xorg.css stylesheet, embed the content of the file in the html output produced. This is accomplished by using version 1.10 of xorg-xhtml.xsl. This makes the whole html docs tree much more relocatable. In addition, it eliminates xorg.css as a runtime file which makes xorg-sgml-doctools a build time only package. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 24632d280491c465dfe208ef788815890892e326 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 5 12:53:12 2011 -0400 compose: upgrade makefile to support olinking on chunked html The essential differences over the regular docbook.am are: Adding root.filename parameter for naming of chapters html files. Using xhtml xmlto format and xorg-chunk.xsl stylesheet Set olink.base.uri for pdf but not for chunked html Olink is not applicable to ps and txt formats. Html chapters are added to shelf_DATA as they are also installed. The xml is generated from a perl script and not distributed. Requires version 1.10 of xorg-sgml-doctools. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 93ab0a1c9a4f9094cf0c8e1c686130673e681798 Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Aug 31 19:46:20 2011 -0400 docbook.am: refactor common flags for xmlto and xsltproc Maximize reuse and reduce risk of setting the wrong flag at the wrong place. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 85b725aa9ef76aeb5e94d42e0cd60f896da7ab97 Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Aug 31 10:46:59 2011 -0400 docbook.am: add search path for local entities Currently, only $(XORG_SGML_PATH)/X11 is searched for xml entities. A module may want to add entities that apply only to itself and not to all modules, like the xserver does. This feature may or may not be used in this module, but all modules share a copy of docbook.am. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit b5ed2d368d47f244d43d2513329fa2758bc4ef54 Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Aug 25 14:39:20 2011 -0400 docbook.am: explicitly list xmlto flags for each target Normal evolution of make targets make it impractical to factor out common command flags for xmlto. The targets now list each command option as its presence or absence needs to be justified. xorg.ss is only needed by xmlto for html. masterdb is only needed by xmlto. img.src.path must not be used by html. xsltproc need to use customization layer xorg-*.xsl. txt format is not required to search masterdb. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit d5b3605f3b0639452e892e9ff3afb18bb7442069 Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Aug 25 13:12:49 2011 -0400 docbook.am: do not generate docs if docbook customization layer is missing The stylesheets used to be only about style, fonts or colors. Complex features are now used like olink and chunked html which may cause a build break when stylesheets are missing or lead to hard to find problem. Some modules may be built when stylesheets are present while others are built without. There is no requirement to build crippled docs. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 7f23c72c94d9d14122426b0d8c66054f1402769a Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Aug 5 14:33:32 2011 -0400 libX11 specs: review doclifter generated tables Many tables had a questionnable layout and some had information dropped. Each table was cross-referenced with a pre-docbook version to ensure semantic integrity. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 1efdbeb8cd08f443188ac783cbab6ba0654a66d6 Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Jul 20 15:28:47 2011 -0400 credits.xml: remove toc from Acknowledgments There should be no toc for a simple preface with only one Acknowledgments section. Use <simplesect> markup rather than sect1. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 77cc17ed0817c1df3ac5feb9dc83a5ba5d021a4b Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Aug 4 19:59:37 2011 -0400 libX11 specs: move </para> above <varaiablelist> Many, but not all, function synopsis have a paragraph that nests the variable list. The code was generated by doclifter and there is no apprent reasons as to why it was done this way. Found while investigating a spacing issue. Before the patch: <para>Some blurb about the function <funcsynopsis> </funcsynopsis> <variablelist> </variablelist> </para> After the patch: <para>Some blurb about the function</para> <funcsynopsis> </funcsynopsis> <variablelist> </variablelist> There are no noticable differences when reading the doc other than than the removed few pixels of spacing between the function sysnopsis and the variable list block. In some cases, there are no "blurb about the fucntion" and the empty paragraph is removed. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 18595f0d8f95ff1c12e7b9f73bd4b30dda5c7168 Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Jul 28 19:46:14 2011 -0400 compose specs: generate chunked html For large 600 page documents such as this one, chunked html provide faster browser load time and better navigation. Simply click on the locale of your choice in the toc and the browser loads just that one file. Being a DocBook, it benefits from all of the usual features and can be integrated with the rest of the documentation. Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 5cc8815b8a117cf0b6af37e7d55c5a420d9fff57 Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Jun 23 15:16:47 2011 -0400 specs: build compose keys tables in specs/i18n/compose Build the tables article together with the rest of the specs. Make it transparent that the source in generated in nls. Reuse docbook.am and get all the features such as olink. The docbook article file stem and id must be the same. The new name for the main article is libX11-keys. The new installation location is $docdir/libX11/i18n/compose. The nls dir retains the role of generating the DocBook/XML source but does not build neither installs output formats or generated source. The tables article now has to specify that each included locale section is a dependency. It did not matter before as they were web links. The xorg-sgml-doctools masterdb shall be updated to include this new doc. Install location moved from doc/libX11/Compose to doc/libX11/i18n/compose. Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit adebbe3856b4aee39c0c7af902c1dea847dd6d7c Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Jun 23 14:43:31 2011 -0400 nls: restructure charts as a single article with sections Looks more like a real article with a toc rather than individual web pages. Looks nicer in pdf. Each locale is a "section" rather than an "article". Using XInclude to aggregate xml source files gets you the toc for free. The single document is over 600 pages while there were 62 separate documents previously. FOP version 1.0 is required to handle missing character like capital sharp s. Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit fc74dc12b1ff3c43e240e1a713316ce1bf525d61 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jul 28 19:32:40 2011 -0700 libX11 1.4.4 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit ab1f30231755d99ed123af6873b981834640f01d Author: Matt Dew <marcoz@osource.org> Date: Wed Jul 13 12:33:40 2011 -0600 Add id attributes to error codes to allow linking from other docs. Signed-off-by: Matt Dew <marcoz@osource.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Gaetan Nadon <memsize@videotron.ca> commit 5c831fef402914ccf2ec14005c25be48852f119b Author: David Coppa <dcoppa@gmail.com> Date: Tue Jul 12 10:05:47 2011 +0200 Fix libpthread linkage on OpenBSD. OpenBSD prefers to use the -pthread to fetch pthread libs when needed. Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 445b0b3efc04a74fc77cd3e483b25cfb5da82f12 Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Jun 22 20:46:26 2011 -0400 config: use XORG_WITH_PERL macro to replace custom program check New in version util-macros 1.15, the macro does the usual checking for program path and provides an interface for makefile variables. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 47d99a324db9232029a22dd523e3bc3ed0936aca Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Jun 22 20:41:18 2011 -0400 config: update XORG_WITH_FOP macro usage A new feature to test for a minimum version has been added. The parameter position changed. Due to limited usage and requiring 1.15, it turns out to be backward compatible. There is no functional change to how docs are build. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit e659683ad51ecc26c989fbdefdfe20f83af2c5a5 Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Jun 22 11:48:49 2011 -0400 Remove unused xmlrules.in in specs, now in /nls The specs dir has been converted to docbook.am Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 9992092609bd83a0db778e9a9ac1e879d445e637 Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Mar 31 10:23:22 2011 -0400 nls: move xmlrules.in from specs to nls It is no longer used in the specs dir. Remove html from CLEANFILES as it breaks. Make do not clean directories Remove SUFFIXES as pattern rules are used rather than suffix rules. Other improvements are possible, the first priority is to move it out of the specs dir. Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit b370eeb0191b0e2a8bde2f03a442a8ca62e35d58 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Jun 5 16:27:36 2011 -0400 Install target dbs alongside generated documents This matches a change in xorg-sgml-docs whereby the masterdb will look for the target dbs into the same location as the generated documents. The target dbs are now installed alongside the generated documents. Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which has the potential of installing outside the package prefix and cause distcheck to fail when user does not have write permission in this package. Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11 commit 4e741654b7e0a283779b8b4af5bb32e05b7fc678 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Jun 7 18:41:30 2011 -0700 specs/libX11: Turn appendix references into links Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit a3d1152bc4b300f59ea2f08925739aab1ebfbc4e Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Jun 7 18:37:41 2011 -0700 specs/libX11: Turn chapter references into links Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d0cc949dfe44a41a71f19e4fe6c7547bb3d9bdbe Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Jun 7 00:52:32 2011 -0700 specs/libX11: Turn many "see section ..." into links Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 02d4c08dead2f266809b3f93ec72377783423ac7 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Jun 5 22:50:37 2011 -0700 specs/libX11: Convert some header filenames to filename tags perl -i -p -e 's{^<(.*\.h)>\ *}{<filename class="headerfile"><\1></filename>}' *.xml Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit c51a011329afa6e5b9d2b285349c132683ecf9fb Author: Matt Dew <marcoz@osource.org> Date: Tue May 31 20:03:23 2011 -0600 Add id attributes to funcsynopsis to allow other docs to olink to them. Signed-off-by: Matt Dew <marcoz@osource.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> commit 6841260c8bb15404a0b4805bee3b0bdfec7176b3 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri May 27 20:14:36 2011 -0700 Bug 37624 - parameter x is missing from synopsis of XDrawString in libX11.html https://bugs.freedesktop.org/show_bug.cgi?id=37624 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 205af6a4e557c62a6395feadc1c89f4a9fe1713b Author: Matt Dew <marcoz@osource.org> Date: Sat May 21 00:23:06 2011 -0600 Add id's to functions, to make clickable links. Signed-off-by: Matt Dew <marcoz@osource.org> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> commit 5c06bc594473f6ab234724cd90db32e7b57fe811 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri May 20 15:38:08 2011 -0700 libX11 spec: fix monospaced column alignment after deligaturization Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit ef0019c714c273cb9b4ad3eba52d0b905109826b Author: James Cloos <cloos@jhcloos.com> Date: Fri May 20 15:51:46 2011 -0400 Expand latin ligatures out to their NFKC equivalents. Ligatures should be done by the typesetting system. Manuscripts should not bother with them. Signed-off-by: James Cloos <cloos@jhcloos.com> Reviewed-by: Keith Packard <keithp@keithp.com> commit 761b8aa0c9b3c58c478ac5ea1b3aaafadcfc1325 Author: Daniel Stone <daniel@fooishbar.org> Date: Thu May 12 16:21:50 2011 +0200 XCB: Add more friendly error messages for common asserts This patch adds more friendly error messages for three common classes of assertion: - missed sequence numbers due to being griefed by another thread - unknown requests in queue due to being griefed by another thread - extensions dequeuing too much or too little reply data It adds error messages offering advice (e.g. call XInitThreads() first) on stderr, but still generates actual assertions. Hopefully this means it's a little more Googleable and a little less frightening. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> commit 159bf292477048b9a2f074735afc516f52c93d80 Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu May 19 20:22:11 2011 -0400 Remove misplaced hyphens in libX11 DocBook/XML #37364 Reported-by: Christopher Yeleighton <giecrilj@stegny.2a.pl> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 0ee6d8247d397500ae183ef180b6ff21bceefa1c Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue May 17 20:49:59 2011 -0700 Fix man page and comment references to use XFreeModifiermap (lowercase map) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 3275ec4ca8790d571b6a1902367ca5f68a2dc5fd Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue May 17 20:30:54 2011 -0700 XKB man pages: Fix coordinantes typo in multiple pages Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit ca33a80606cd68e4572fa49ed6aaa1d1fc31a47f Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue May 17 16:27:32 2011 -0700 DisplayOfCCC.man: Fix typo "ClientWhitePointOfCC" -> "ClientWhitePointOfCCC" Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit ae39d82b01359b07dd1fe092d867f79ea95a5438 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Sun May 8 09:08:07 2011 -0700 Silence clang static analysis warnings for SetReqLen This provides a simplified version of the SetReqLen macro when using clang for static analysis. Prior to this change, we would see many Idempotent operation warnings inside this macro due to the common case of calling with arg2 and arg3 being the same variable. This has no effect on code produced during compilation, but it silences a number of false positives in static analysis. XIPassiveGrab.c:170:5: warning: Assigned value is always the same as the existing value SetReqLen(req, num_modifiers, num_modifiers); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from XIPassiveGrab.c:26: .../include/X11/Xlibint.h:580:8: note: instantiated from: n = badlen; \ ^ Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit 130af2bc02090ee2526adb2f9803fc07019b8f1f Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Wed May 4 15:34:31 2011 -0700 XKB: XkbComputeSectionBounds: Check correct bounds in default switch-case XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); ^~~~~~~ Found-by: clang static analyzer Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> commit c987ef04bea345d5810e60cf6c53b747ddbe910e Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Wed May 4 15:31:17 2011 -0700 Revert "XKB: Avoid a possible NULL dereference" Sorry for the noise. I accidentally pushed and didn't mean to. =( This reverts commit 4024091678ea07e0d898b798df9b29f3bf68eb08. commit 46d04bc4e7ff6c86385002c929d8eb0310f737a8 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Wed May 4 11:35:31 2011 -0700 Dead code removal XKBGeom.c:118:27: warning: Assigned value is always the same as the existing value for (key=row->keys,pos=k=0;k<row->num_keys;k++,key++) { ~~~^~~~ XKBGeom.c:115:5: warning: Value stored to 'pos' is never read pos= 0; ^ ~ Found-by: clang static analyzer Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit 4024091678ea07e0d898b798df9b29f3bf68eb08 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Wed May 4 11:34:53 2011 -0700 XKB: Avoid a possible NULL dereference XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); ^~~~~~~ Found-by: clang static analyzer Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit 626e5e34be55b7cf734d745bd40a7ee3359029f8 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Wed May 4 11:21:41 2011 -0700 Annotate _XIOError as _X_NORETURN Found-by: clang static analyzer Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit d3d7896408b435ab42656398839ff4351a37724d Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Tue May 3 09:32:53 2011 -0700 clang analyzer: Don't warn about Xmalloc(0) This will prevent a number of false positives in where clang's static analysis reports about calls to malloc(0). Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit 393921cf2188b2b0713cc157effaf17d0abab783 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Apr 21 16:21:04 2011 -0700 Delete special case code to append "/sparcv9" to i18n module path Was triggered by defined(__sparcv9) so only built on Solaris SPARC 64-bit. Inconsistent with all other platforms, and a bit overcomplicated. Should anyone need to continue using that path, simply build with a #define POSTLOCALELIBDIR "sparcv9" to get the same result. Fixes Solaris bug 7038737: sparcv9 Xlib looking in wrong path for i18n loadable modules Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org> commit b9ff9cfd5c56ae6d52c6503f7019756d9de29557 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Apr 14 13:47:12 2011 -0700 specs/libX11: Fix XOpenDisplay() prototype in chapter 2 [bug 36244] Was incorrectly showing AllPlanes() instead when describing XOpenDisplay() https://bugs.freedesktop.org/show_bug.cgi?id=36244 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit b850adbdebcf500c659f85285d4d7374e15857f5 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Apr 12 22:30:45 2011 -0700 Convert malloc(strlen()); strcpy() sets to strdup Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> commit 09194042d3dc44a463add1f7c122a68ffd5ef0bf Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Apr 12 21:27:45 2011 -0700 Replace Xmalloc+bzero pairs with Xcalloc calls Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> commit ac1e2bff7121987fd768500a11d428d9fb9447c5 Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Fri Mar 25 14:47:35 2011 +0200 om: Fix memory leaks on get_font_name error paths. While at it, remove unneeded check for NULL before Xfree. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 7c362e275c93c92b4e68fe862e73ee36665de703 Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Wed Mar 30 15:06:10 2011 +0300 xcms: Fix memory leaks on LINEAR_RGB_InitSCCData error path. pScreenData is replaced when building per visual intensity tables. If malloc failed the old value of pScreenData (stored also in pScreenDefaultData) was being leaked. Also, property_return wasn't free'd in that case. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 5c810e2ac233e00f361549bafb9b59e8a9e05eff Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Wed Mar 30 15:19:28 2011 +0300 xcms: Fix error on LINEAR_RGB_InitSCCData error path. Due to what looks like a copy & paste error, pScreenData->pBlueTbl would be accessed after being free'd. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d749948f9492fd9b61c74655a08e32c595e0e3a5 Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Fri Mar 25 16:06:15 2011 +0200 om: Fix potential memory leak in init_om. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d0749d6abdf0fd4d8b4e59b02dad8ccda3f10995 Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Thu Mar 24 20:40:41 2011 +0200 om: Fix memory leak on read_EncodingInfo error path. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 4b2e8d00f5b6969c14003ee8eb258b9f0e4dd7c3 Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Thu Mar 24 19:55:33 2011 +0200 Fix memory leaks on _XimCbDispatch error path. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 46e6c78b1a89e4774e0f7e0f4d6d0fd060c3897e Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Thu Mar 24 19:52:05 2011 +0200 Fix memory leak on _XimCommitRecv error path. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 0ace642a2d47265f01450bfa2b2fd48eb6956a83 Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Thu Mar 24 19:48:44 2011 +0200 Fix memory leaks on _XimWriteCachedDefaultTree error paths. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit e29be94edbb58b3b8dab545377a710d1f73b61e0 Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Thu Mar 24 19:42:36 2011 +0200 Fix memory leaks on _XimGetAttributeID error paths. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d144a50512466766f55ce61e3884925334b08f0d Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Thu Mar 24 19:36:56 2011 +0200 Fix memory leaks on _XimProtoCreateIC error paths. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 6a452f7a98499508f753cb8a7c3f08bcbec736b9 Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Thu Mar 24 16:24:29 2011 +0200 Fix leaks in _XimEncodingNegotiation error paths. name_ptr and detail_ptr weren't free'd in some cases before returning False. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 396e5a452a59c1f121220ba72167b720a863b30f Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Thu Mar 24 14:17:44 2011 +0200 FSWrap: fix potential leak in copy_string_list If list_count is 0, dst would be allocated and leaked. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 1a944260182bb552b954d69f6355c2760d4415df Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Wed Mar 23 14:36:22 2011 +0200 Fix memory leak with broken bitmap files in XReadBitmapFileData Bitmap file data is read looping through the lines in the input file. If there is extra data after the bitmap, these lines will be processed and if this data represents another bitmap it will replace the one read before causing the memory allocated for bits to leak. This changes the code to stop processing the file once a bitmap was read. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit c1c91e9a221a0e762d96cc12a3f189d6e59f4865 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Apr 12 20:50:42 2011 -0700 Fix "attrinute" typo in comments in ximcp Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 7103b83a88edb9c93acfa68f3b556595b087baff Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Apr 8 21:36:11 2011 -0700 Make doc install subdirectories more like the pre-docbook.am paths Haven't restored the "specs" path in the install path, but have restored libX11 & i18n subdirectories in the path for better logical grouping. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> commit 9a1ae7a90f815a737a942e42d5eb1ffff400977b Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Apr 8 13:24:28 2011 -0700 Install xml versions of specs even if HAVE_XMLTO is false Moves HAVE_XMLTO check into docbook.am, more closely matches behaviour from before docbook.am changes (commit e8c76407d2f6e3) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> commit a0ad0d5c99023bb9a8ce3944dbc3267f5265721e Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Apr 5 13:29:04 2011 -0700 libX11 1.4.3 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit e8c76407d2f6e3b11babdb84426e43e780c859c3 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Feb 25 09:23:54 2011 -0500 Documentation: add Docbook external references support When writing technical documentation, it is often necessary to cross reference to other information. When that other information is not in the current document, additional support is needed, namely <olink>. A new feature with version 1.7 of xorg-sgml-doctools adds references to other documents within or outside this package. This patch adds technical support for this feature but does not change the content of the documentation as seen by the end user. Each book or article must generate a database containing the href of sections that can be referred to from another document. This database is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that the value of DATAROOTDIR for xorg-sgml-doctools and for the package documentation is the same. This forms a virtual document tree. This database is consulted by other documents while they are being generated in order to fulfill the missing information for linking. Refer to the xorg-sgml-doctools for further technical information. Co-authored-by: Matt Dew <marcoz@osource.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 25eb76b3d2726f2f1de759901971ae53b2539dc4 Author: Harshula Jayasuriya <harshula@gmail.com> Date: Mon Mar 21 14:49:37 2011 +0000 Add #define XK_SINHALA Add #define XK_SINHALA so that the Sinhala keysyms can be used by the lk xkb keymap. Signed-off-by: Harshula Jayasuriya <harshula@gmail.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org> commit db8b20b789112717ac0590b40f0b4dc2171797d0 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Thu Mar 17 16:15:00 2011 -0700 configure.ac: Bump version to 1.4.2 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit 83e1ba59c48c79f8b0a7e7aa0b9c9cfd84fa403d Author: Jamey Sharp <jamey@minilop.net> Date: Tue Mar 15 16:48:07 2011 -0700 Call _XErrorFunction without holding the Display lock. Historically, Xlib dropped the Display lock around the upcall to any user-supplied _XErrorFunction, but somewhere along the way I quit doing that if you built with XCB. The reasons are lost somewhere in the pre-git history of Xlib/XCB, and I can't now see any reason to hold the lock. The documentation for XSetErrorHandler still applies though: Because this condition is not assumed to be fatal, it is acceptable for your error handler to return; the returned value is ignored. However, the error handler should not call any functions (directly or indirectly) on the display that will generate protocol requests or that will look for input events. So while you are now once again permitted to re-enter Xlib from the error handler, you're only allowed to call non-protocol functions. Signed-off-by: Jamey Sharp <jamey@minilop.net> commit fd85aca7a616c595fc17b2520f84316a11e8906f Author: Jamey Sharp <jamey@minilop.net> Date: Mon Mar 14 14:45:35 2011 -0700 Ignore user locks after sleeping in _XReply and _XReadEvents. This bug appears as a hang in applications that wait for replies from multiple threads, where one such thread has taken a user lock using XLockDisplay. Prior to this fix, the code could deadlock in this way: If thread 1 goes to sleep waiting for a reply, and then thread 2 takes a user lock and waits for a reply, then thread 2 will wait for thread 1 to process its reply (because responses must be processed in order), but thread 1 will wait for thread 2 to drop its user lock. Fixed by making thread 1 not wait for thread 2 to drop its user lock. This makes the semantics of user locks hard to define, but they were already hard to define. The new behavior appears to be consistent with the way Xlib worked historically, anyway. Fixes: http://lists.freedesktop.org/archives/xcb/2011-March/006802.html There was a similar potential for deadlock in _XReadEvents, fixed the same way, with the same caveats about user-lock semantics. Signed-off-by: Jamey Sharp <jamey@minilop.net> commit 690f8bffd48a4e7e74298360ddd0431dc95dcd3f Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Tue Jan 18 15:58:20 2011 +0200 xkb: XkbPropertyPtr determined allocation success from wrong variables Cannot reach dead statement "return NULL;" Check for the NULLness of prop->name and prop->value instead of name and value, which was checked earlier anyway. Decided against using strdup due to curious memory allocation functions and the rest of the xkb not using it either. Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> commit 6a4d027284e7bb5dd458157947bbb1ff580ad071 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 10 16:37:22 2011 +0200 keyBind: Use Xcalloc to initialize allocated _XKeytrans Using uninitialized value "p->modifiers" Small fix by using Xcalloc instead of Xmalloc Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> commit b993d73bb3214ecc24646f5427c8003b816c6921 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 10 16:22:45 2011 +0200 im/ximcp: release modifiermap before returning Variable "map" goes out of scope Release modifiermap before returning. Reordered code to call XGetModifierMapping after the first return from the function. Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> commit 807a7fc0354f2212dfa5ff1f9e4ede56d8e69ef4 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Feb 25 09:23:54 2011 -0500 Docbook: change the book id to match the xml file basename This is required for the up-coming external references support. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 40812b53ff5fe548f6eaf43ba4c8781cb43dab43 Author: Samuel Thibault <samuel.thibault@ens-lyon.org> Date: Mon Feb 21 21:54:17 2011 +0100 Make the Local XIM request key releases for braille Braille chords management needs key release events. We need to explicitly request then, else GTK would not pass them throught XFilterEvent and braille wouldn't work. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> commit c97c42c49cd5095462abecdf908b416fb0b540b6 Author: Samuel Thibault <samuel.thibault@ens-lyon.org> Date: Mon Feb 21 17:27:38 2011 +0100 Match braille patterns with compose tree Braille patterns should also be usable in Compose. This combines the implementation of braille chords and compose tree: only emit the braille pattern if it can not be found in the compose tree, if any. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> commit 0c6ca565d7c8a47ef3ea823569a9ca5298a5307d Author: Samuel Thibault <samuel.thibault@ens-lyon.org> Date: Mon Feb 21 15:56:54 2011 +0100 Fix status reporting for braille patterns _XimLocalMbLookupString can return a braille keysym even if _Xlcwctomb can't convert to the current MB charset. _XimLocalUtf8LookupString needs to set the braille keysym and status too. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> commit 993abe751f4141f54d8d28b8b73588a1c9085970 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Feb 11 14:49:17 2011 -0800 Clean up memory when first XCreateRegion succeeds and second fails Error: Memory leak (CWE 401) Memory leak of pointer 's' allocated with XCreateRegion() at line 387 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XShrinkRegion'. 's' allocated at line 387 with XCreateRegion(). s leaks when s != 0 at line 387. Error: Memory leak (CWE 401) Memory leak of pointer 'tra' allocated with XCreateRegion() at line 1452 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XXorRegion'. 'tra' allocated at line 1451 with XCreateRegion(). tra leaks when tra != 0 at line 1451. [ This bug was found by the Parfait 0.3.6 bug checking tool. For more information see http://labs.oracle.com/projects/parfait/ ] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 6ac417cea1136a3617f5e40f4b106aaa3f48d6c2 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Feb 11 14:20:24 2011 -0800 ximcp: Prevent memory leak & double free if multiple %L in string In the highly unlikely event that TransFileName was passed a path containing multiple %L entries, for each entry it would call _XlcFileName, leaking the previous results, and then for each entry it would copy from that pointer and free it, resulting in invalid pointers & possible double frees for each use after the first one freed it. Error: Use after free (CWE 416) Use after free of pointer 'lcCompose' at line 358 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. Previously freed at line 360 with free. Error: Use after free (CWE 416) Use after free of pointer 'lcCompose' at line 359 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. Previously freed at line 360 with free. Error: Double free (CWE 415) Double free of pointer 'lcCompose' at line 360 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. Previously freed at line 360 with free. [ This bug was found by the Parfait 0.3.6 bug checking tool. For more information see http://labs.oracle.com/projects/parfait/ ] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 502d414118c97d35a44f8e295709682022876331 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Thu Feb 3 17:08:57 2011 +0200 xcms/cmsProp: don't deal with uninitialized values, fail instead Properly handle the return value of XGetWindowProperty by considering if after the loop as well. Using freed pointer "prop_ret" There were numerous things wrong in how this function interacted with XGetWindowProperty. None of the local variables were initialized and remained that way if the call to XGetWindowProperty returned 1 (not Succeed). That doesn't result in after_ret being initialized in which case if it happens to be 0, the loop was exited. In that case format_ret and nitems_ret were uninitialized and the function might return with success (but with uninitialized pointer in prop_ret) or XcmsFailure. As the buffer enlarging code was called only when XGetWindowProperty failed (returned not Success), after_ret would not have been initialized. It would have been initialized only if the XGetWindowProperty has returned Success earlier, but in that case the code fragment would not have been reached. This patch alters the function to return XcmsFailure if the call to XGetWindowProperty fails. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> commit c37e278993b9e5b3d7025ef4c434373a011996ec Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Mon Jan 31 14:02:07 2011 +0200 xcms/LRGB: don't double-free property_return property_return was free'd before and in the case the conditional is true, the call to XcmsGetProperty failed which means that property_return wasn't set so there is no need to free it again. Double free of pointer "property_return" in call to "free" Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> commit 50f4107811249806718a100f9d34f996c58e5e25 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Wed Feb 2 08:58:45 2011 -0800 Xrm.c: ReadInFile: refactor fstat error handling We can simplify the fstat failure case now that the GetFileSize macro has been expanded inline. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org> commit 5e9c40fcb5da43c9fdacf12967d090bf202daf2a Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Wed Feb 2 08:56:00 2011 -0800 Expand GetSizeOfFile() macro at the one place it's called Removes XrmI.h header that only contained this single macro Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org> commit 450e17422c0e374d25c643f343ea268cec68da38 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:01:57 2011 +0200 XlibInt: Use strncpy+zero termination instead of strcpy to enforce buffer size Possible overrun of 8192 byte fixed size buffer "buffer" by copying "ext->name" without length checking Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit e2566e43b02d2d7b7c1c3bb7db7c5ae81c1245fa Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Mon Jan 31 14:02:13 2011 +0200 lc/def/lcDefConv: Use Xcalloc to avoid use of uninitialized memory Fixed by zero'ing conv on allocation with Xcalloc. Then close_converter works properly. Using uninitialized value "conv->state" in call to function "close_converter" Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 03f81ad8fb9783986cf9b17661dd31e95c396681 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:02:16 2011 +0200 xlibi18n/lcFile: Removed superfluous check for NULL target_dir The situation is already handled before this code. Cannot reach dead expression "0U" inside statement "if (1U + (target_dir ? strl..." Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 1346b9ea3b3882201ff8c3ee462ff4b0d4edf639 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:02:15 2011 +0200 ximcp/imLckup: Handle negative return value from _Xlcwctomb Fixed by negative value to memcpy by checking for the negative return value of _Xlcwctomb and returning 0/XLookupNone in that case. a negative value was passed to memcpy Unfortunately the other return values for *status don't fit into the error (which appears to indicate some internal error or running out of memory). The other valid status codes are XBufferOverflow, XLookupNone, XLookupChars, XLookupKeySym, and XLookupBoth. Each of these has a specific meaning attached. Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 79a5c86e020f08cc108184298a72e2777036de39 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:02:14 2011 +0200 ximcp/imTrX: Handle failing XGetWindowProperty Checked return value of XGetWindowProperty and return false if it fails. Return value of "XGetWindowProperty(im->core.display, spec->lib_connect_wid, prop, 0L, (length + bytes_after_ret + 3UL) / 4UL, 1, 0UL, &type_ret, &format_ret, &nitems, &bytes_after_ret, &prop_ret)" is not checked Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 2ace8d5c89c8f6d9f42b4068f4b508ca28f0ced1 Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Mon Jan 31 14:02:12 2011 +0200 XlibInt: info_list->watch_data was reallocated, but result was discarded info_list->watch_data was being reallocated, but the return value of the reallocation was stored only into a local variable. This might cause some funky behavior and crashes. Variable "wd_array" goes out of scope Value "wd_array" is overwritten in "wd_array = (XPointer*)realloc((char*)info_list->watch_data, (((dpy->watcher_count + 1) * 4U == 0U) ? 1U : ((dpy->watcher_count + 1) * 4U)))" Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 2b16a7e683e355c9746290b2cee2fd0dd2bf342a Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:02:10 2011 +0200 GetProp: Zero-initialized error so its resourceID field is initialized Using uninitialized value "error.resourceID" in call to function "_XError" Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 85e9f38e016137f0ff2791eb0d092ab027382d2c Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Tue Feb 1 11:07:25 2011 +0200 xcms/LRGB: Add a label for freeing property_return. The rest of the code uses goto's to free memory allocated later and prevent memory leaks, but there were several paths were property_return was free'd just before a goto. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 3161dc57d4e9b70f852f05e5e474455e121b06ab Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Mon Jan 31 14:02:08 2011 +0200 xcms/LRGB: Fix potential resource leak. property_return was not free'd if the allocation of pRedTbl failed. Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit be3e6c205d94dedc1cdebf5d17b987f0f828377a Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:02:06 2011 +0200 Xrm: Handle the extremely unlikely situation of fstat failing Tracked variable "size" was passed to a negative sink. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 3fae16c64d6ef76fd4a25a54c7f7de76596457db Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:02:05 2011 +0200 Xrm: NEWTABLE had a memory leak after a memory allocation error The NEWTABLE macro missed freeing its allocated memory on subsequent memory allocation errors. Added call to Xfree. Variable "table" goes out of scope Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 7110ac653349a23c80c365f11f6270dc27c8975a Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:02:03 2011 +0200 ImUtil: Handle a memory leak in one early return branch Fixed memory leak by adding Xfree for image Variable "image" goes out of scope Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d695f5da9f5b778e54b6987d9177048e32818c4d Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:02:01 2011 +0200 ximcp/imRm: Handle leaking colormap_ret Fixed memory leak by adding Xfree for colormap_ret Variable "colormap_ret" goes out of scope Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit f9eda19d08c1ea0973dfe0bc10a2519d6fd26cc7 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:01:59 2011 +0200 ximcp/imRmAttr: Handle leaking missing_list Fixed memory leak by adding Xfree and initializing missing_list with NULL Variable "missing_list" goes out of scope Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 3183269e0979c9dbce9d55d9e03937897dc9fb3b Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:01:58 2011 +0200 ximcp/imRmAttr: Handle leaking colormap_ret XFree colormap_ret and initialize it when appropriate. Variable "colormap_ret" goes out of scope Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit f66a032a937030f2d9baa81744d36dc585bb085c Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:01:56 2011 +0200 xlibi18n/lcGeneric: Initialize uninitialized local variable Using uninitialized value "new" Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d0266e06d38110ec908ca28379014eff743630b7 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:01:54 2011 +0200 xcmx/cmxColNm: Removed unused assignments to pBuf (in two functions) Pointer "pBuf" returned from "fgets(buf, 256, stream)" is never used Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit cc686655d7bfdeab8b67e01a24bd452a2e9e3fcf Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Feb 1 12:30:56 2011 +0200 XDefaultOMIF.c: Fix memory leaks in get_font_name Instead of copying the value returned by get_prop_name and then releasing it, directly use the return value of get_prop_name, which allocates memory for the name. If get_prop_name returns NULL, continue on to XFreeFont to release the font before returning the NULL via the normal function return. Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 95796351435d81eaef8166d49ba3a6e7b633d70a Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Jan 31 14:50:19 2011 -0500 config: comment, minor upgrade, quote and layout configure.ac Group statements per section as per Autoconf standard layout Quote statements where appropriate. Autoconf recommends not using dnl instead of # for comments Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. Remove redundant AC_CANONICAL_HOST included in XORG_DEFAULT_OPTIONS This helps automated maintenance and release activities. Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit e994ab227ed28655565c3193e63733630105e7f9 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Tue Jan 18 12:49:48 2011 +0200 Comparing array against NULL is not useful "&xkb->server->vmods != NULL" Removed superfluous comparison. Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> commit 4115f051e62f9b098efce691e070d44f09f30f1c Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Wed Jan 12 15:51:11 2011 +0200 Variable "entry" tracked as NULL was dereferenced. Check entry for non-nullness before dereferencing it Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> commit 0edb76d1d5fdca5a2543332699be2e72386dab24 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Thu Jan 27 09:54:00 2011 +0200 Dereferencing possibly NULL "str" in call to function "memcpy" (Deref assumed on the basis of 'nonnull' parameter attribute.) If _XkbGetReadBufferPtr returns NULL, goto BAILOUT Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> commit 59da8a211ef723909d0530c0331d541db8e63378 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 10 16:17:47 2011 +0200 Using freed pointer "e" Reordered code to first to do the comparison and then to release data Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> commit 0f11c229f7099f7c5aeed4691b358dca151dac7d Author: Matt Dew <marcoz@osource.org> Date: Thu Jan 27 00:31:23 2011 -0700 Remove <literal> tags from compose-chart.pl so pdf building doesn't die on soft-hyphens. Signed-off-by: Matt Dew <marcoz@osource.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit ca00bb202f3afcdbbcb8c4cb50308c5dd03f2322 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Jan 28 16:07:07 2011 -0500 config: replace deprecated AC_HELP_STRING with AS_HELP_STRING This silences an Automake warning. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 8dac08c7515cb6f8a8f4d0a721713697eae755d8 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Jan 28 14:59:04 2011 -0500 config: remove unrequired AC_HEADER_STDC Autoconf says: "This macro is obsolescent, as current systems have conforming header files. New programs need not use this macro". commit d4483375e37a72631d5821413cb75a423e990ffe Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Jan 18 19:37:02 2011 -0800 config: Use correct AC_CONFIG_HEADERS macro Replaces obsolete AM_CONFIG_HEADER and undocumented AC_CONFIG_HEADER Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> commit c6405fe931f313a0d159bdad00244fc8aae12468 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Jan 16 11:55:23 2011 -0800 config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls AC_PROG_C_C99. This sets gcc with -std=gnu99. If AC_PROG_CC macro is called afterwards, it resets CC to gcc. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> commit 17aa1f2305da0952ad594c7329d08aba21f13ac8 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Jan 16 11:40:59 2011 -0800 Update to xf86bigfontproto >= 1.2.0 header name Clears compile-time warning of: "X11/extensions/xf86bigfstr.h", line 1: #warning: "xf86bigfstr.h is obsolete and may be removed in the future." "X11/extensions/xf86bigfstr.h", line 2: #warning: "include <X11/extensions/xf86bigfproto.h> for the protocol defines." Requires xf86bigfontproto >= 1.2.0 if --disable-xf86bigfont is not passed to configure. Also removes unnecessary AC_SUBST of BIGFONT_CFLAGS & BIGFONT_LIBS that PKG_CHECK_MODULES does automatically Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org> commit a9228fcc676aacf9a760dd94891c89f9bc82b20d Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Jan 11 17:55:22 2011 -0800 libX11 1.4.1 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 92fa96451af37a7a0f2592de07643fdaed7a9efd Author: Pauli Nieminen <ext-pauli.nieminen@nokia.com> Date: Mon Jan 3 12:25:28 2011 -0500 Initialize event type If we receive unsupported event closing connection triggers valgrind error. ==12017== Conditional jump or move depends on uninitialised value(s) ==12017== at 0x487D454: _XFreeDisplayStructure (OpenDis.c:607) ==12017== by 0x486857B: XCloseDisplay (ClDisplay.c:72) *snip* ==12017== Uninitialised value was created by a heap allocation ==12017== at 0x4834C48: malloc (vg_replace_malloc.c:236) ==12017== by 0x4894147: _XEnq (XlibInt.c:877) ==12017== by 0x4891BF3: handle_response (xcb_io.c:335) ==12017== by 0x4892263: _XReply (xcb_io.c:626) *snip* Problem is that XFreeDisplaySturture is checking for qelt->event.type == GenericEvent while _XUnknownWireEvent doesn't store the type. Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com> commit fa9747b9d4443eef9b1687b8b1208801f5c585da Author: Fernando Carrijo <fcarrijo.lists@gmail.com> Date: Tue Dec 28 16:18:57 2010 -0500 specs: convert images from gif to svg format. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 0012e2a4eaddc0840617b4758931ad976ca2eb7c Author: Philipp Reh <sefi@s-e-f-i.de> Date: Wed Dec 22 15:14:05 2010 +0000 Events: Store event cookie when dequeuing event When we dequeue an event in XCheckTypedEvent or XCheckTypedWindowEvent, make sure to store the corresponding cookie too. Signed-off-by: Philipp Reh <sefi@s-e-f-i.de> Reviewed-by: Daniel Stone <daniel@fooishbar.org> commit d2714d65e85b44abedf5f82e1a31506dba397ef2 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Dec 21 18:47:16 2010 -0800 Revert "Mark atom names argument to XInternAtoms as const" This reverts commit c8701115462b482d99ecff24d9de0f2806084ba5. The constification of a pointer to a pointer caused unexpected issues, and xorg-devel was unable to come up with a clean, safe, reasonable way to handle them, so we're chalking this up for now as yet another mistake in the Xlib API definition we'll be living with. See https://bugs.freedesktop.org/show_bug.cgi?id=32098 for details. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 6459f9a48a82de3bc0235bd36acab2df11e436d5 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Dec 20 20:54:07 2010 -0800 specs/XKB: make acknowlegement section <preface> instead of <chapter> Fixes numbering of actual chapters to match their filenames and to make the table/figure numbering match the references in the text. Reported-by: jelmd on freenode irc Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 42c653d5413fc5870486a9cf51dd28d1e88f7c69 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Dec 19 23:53:02 2010 -0800 Add XKBlib spec images to dist_spec_DATA for distribution & installation Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> commit 8f8a3c8c42af82976d261ac2447cfbb0f90fa77d Author: Matt Dew <matt@osource.org> Date: Tue Nov 30 10:52:07 2010 -0500 specs: convert XKBlib spec from Framemaker to DocBook.xml Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit c8701115462b482d99ecff24d9de0f2806084ba5 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Nov 21 20:49:05 2010 -0800 Mark atom names argument to XInternAtoms as const Updates code & docs for XInternAtoms. The single atom name argument to XInternAtom was already const char * in the code, but not the docs, so updated it in the docs too. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> commit 24db5b5ff0d51b0ed9d9701a792c5f14f23b638d Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Nov 21 14:04:32 2010 -0800 libX11 1.4.0 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 18d3c3e9de19e936281b111d5a82acfb3a3f552e Author: Dan Nicholson <dbn.lists@gmail.com> Date: Sat Nov 6 21:58:10 2010 +0000 config: Check host string when deciding architecture to build for When checking for the OS/2 platform, $target_os is used. However, unless building a cross compiler, the $host* strings contain the platform details for the build system. See: http://www.gnu.org/software/automake/manual/automake.html#Cross_002dCompilation $host_os is already being used to determine the transport and threading options. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit affc2488a7f2660a74dc8354fc3e0bff2c4f879c Author: Dan Nicholson <dbn.lists@gmail.com> Date: Sat Nov 6 21:58:09 2010 +0000 config: Fix architecture check for OS/2 to skip nios2 cpu The OS/2 platform requires some utility functions as well as having a non-32 bit wchar_t. Fix the configure check so that it doesn't also affect the nios2 cpu, which wouldn't influence these operating system issues. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Tested-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 8cbca8a10761d1ea75a75bafa647632d6c0dac71 Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Nov 9 13:04:44 2010 -0500 config: HTML file generation: use the installed copy of xorg.css Currenlty the xorg.css file is copied in each location where a DocBook/XML file resides. This produces about 70 copies in the $(docdir) install tree. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 3e8907305e1818369aef5a5c0da61f09e20de4f8 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Oct 29 22:02:10 2010 -0700 libX11 1.3.99.903 (1.4.0 RC3) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 5d245d8013289b13e0c42100951b26166c7fada4 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Oct 29 22:01:39 2010 -0700 Require xorg-macros 1.11 now that it is released Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 1ec89689fc771f116a6165226b9e076f54254a40 Author: Dan Nicholson <dbn.lists@gmail.com> Date: Fri Oct 22 19:09:07 2010 -0700 docs: Disable fop documentation by default fop is used to generate the pdf and ps formats of the documentation. This can significantly slow down the build, especially when creating all the compose key charts. Since few people probably want the full set of doc formats, set the default to 'no'. The default parameter for XORG_WITH_FOP is only available in recent macros. Users generating configure from older macros will just get 'auto' as the default. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 03877bda911b72ac60a7144d6eced7d5be4b4d72 Author: Jon TURNEY <jon.turney@dronecode.org.uk> Date: Wed Apr 14 13:38:18 2010 +0100 Add C.UTF-8 and C.ASCII locale aliases Add C.UTF-8 locale as an alias for en_US.UTF-8 Add C.ASCII locale as an alias for C (C.UTF-8 is the default locale for cygwin. It also exists in debian, although I don't think it's intended for use by humans.) Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Acked-by: Julien Cristau <jcristau@debian.org> Reviewed-by: James Cloos <cloos@jhcloos.com> commit 81d1d9a6bdca779a44f931730b866eea75777c00 Author: Dan Nicholson <dbn.lists@gmail.com> Date: Sat Oct 9 16:00:47 2010 -0700 docs: Remove directory prerequisites from make rules Make expects prerequisites to be files with valid timestamps, and directories are treated as always being out of date. Thus, any targets depending on directories will always be rebuilt. Instead, the doc rules are changed to always create the target's leading directory. This should prevent the documentation from being rebuilt when "make install" is run. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d0cbf388919364fe6b5b9127f36426eb744090a0 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Sun Sep 26 21:21:16 2010 -0700 Add an "X11_" string to header guards to avoid possible collision This addresses a build failure which can result from <X11/Xlocale.h> and <xlocale.h> being included in the same code since they both used the same _XLOCALE_H_ protection. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit b51ac675f44f5ce1a28c5734bf3c26983f8b4192 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Sep 21 19:53:03 2010 -0700 libX11 1.3.99.902 (1.4.0 RC2) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 986bb6d1d54368fe91e3ea24f518d43ce6179782 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Sep 14 00:10:31 2010 -0700 Bug 19379 - Provide docs with overview of all compose key combinations Adds compose-chart.pl to generate DocBook/XML documents listing compose keys, and Makefile rules to generate HTML & PDF output from them if xmlto is present. https://bugs.freedesktop.org/show_bug.cgi?id=19379 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: James Cloos <cloos@jhcloos.com> Tested-by: Gaetan Nadon <memsize@videotron.ca> commit 3eb064071695ebf0f371163ed818a428dfeba8e6 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sat Sep 11 00:49:21 2010 -0700 Make locale data build non-recursive / parallelizable On a 4 core CPU with gmake -j 16 the nls subdir builds in half the time, plus this simplifies the next set of changes. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: James Cloos <cloos@jhcloos.com> Tested-by: Gaetan Nadon <memsize@videotron.ca> commit a3fc78ac352e5a70a958996ef6aec50f653974d1 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Sep 17 17:38:11 2010 -0400 config: remove man page suffix from bottom summary The man page suffix is the same for all libraries on a given platform and is not configurable. It should have been removed in commit 09edc6de6. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit a52b0068f36c739eb7e426214cd72a8d9bb776ca Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Sep 17 17:29:30 2010 -0400 config: remove unhelpful comment in .gitignore Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 10dd881e7818be9074da4ab3a68577adcdaf71d2 Author: Adam Jackson <ajax@redhat.com> Date: Wed Sep 8 10:44:23 2010 -0400 Zero buffer data in BufAlloc() Inspired by a pattern in NoMachine's NX. Consistently zeroed buffers compress better with ssh and friends. Note that you'll need to rebuild all your protocol libraries to take advantage of this. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit da099f0d2015831ea5f4a5d0740ed962aa4d5d8b Author: James Cloos <cloos@jhcloos.com> Date: Sun Sep 12 17:00:54 2010 -0400 Revert “Dolt-ify" Libtool’s is now sufficiently fast that DOLT is no longer worth the bother, even on those few systems where is works. This reverts commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 and part of commit d31e644c65c52828ea3e7abd94a8cf9aee12265c. It conflicted with commit f6a4fd0c7615684d08e848245849dea4017a5214 which moved dolt from configure.ac to m4/dolt.m4. And it addresses: http://bugs.freedesktop.org/show_bug.cgi?id=28188 Signed-off-by: James Cloos <cloos@jhcloos.com> commit 2661fbe6b809c937a60c2c1ca5ddb8280e399bd8 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Sep 9 19:24:29 2010 -0700 XIM spec title page minor formatting cleanup Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit f99f1380bbf7bb2a0c491acad4a3d8db44bfd752 Author: Jens Petersen <petersen@redhat.com> Date: Mon Aug 23 18:08:10 2010 -0700 Bug 29773: aliases for nb_NO.utf8 and nn_NO.utf8 <https://bugs.freedesktop.org/show_bug.cgi?id=29773> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit b15b8a558ec64c834cc8f6a52d7f3c4f530c8c4b Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Sep 3 23:11:53 2010 -0700 Sun's copyrights are now owned by Oracle Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 7742bf62b1fa652da4270587e280249945367cae Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Sep 3 18:31:44 2010 -0700 libX11 1.3.99.901 (1.4.0 RC1) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 5a02d6d74b5451d48d8f55709dfd4ecd3c068586 Author: Jeroen Hoek <mail@jeroenhoek.nl> Date: Sun Aug 29 09:47:06 2010 -0400 libX11/nls compose tables, add LATIN CAPITAL LETTER SHARP S Add LATIN CAPITAL LETTER SHARP S (See https://bugs.freedesktop.org/show_bug.cgi?id=29448 for rationale) Signed-off-by: James Cloos <cloos@jhcloos.com> commit 09edc6de6619a2eabda3b808ebff4165550664f1 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Aug 13 14:21:08 2010 -0400 config: remove man-pages configuration option This option was added in commit 6e752ea120 with no explanation. The section number is provoded by XORG_MANPAGE_SECTIONS There is no case where libX11 should be different than other libs The option was also used to disable building of the man pages, which build in 14 secs. No indication this is required. If there is a requirement from system builders to disable building of man pages, it could be done consistently for all modules. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit f92e754297ec5fdb81068b56a4435026666224fa Author: Aaron Plattner <aplattner@nvidia.com> Date: Sun Aug 15 21:51:38 2010 -0700 XOpenDisplay: save the correct display_name value The X Test Suite's XDisplayString test checks the invariant XDisplayString(XOpenDisplay(str)) == str. The Xlib XOpenDisplay violates this invariant by expanding str to the canonical form "host:display.scrn" (unless HAVE_LAUNCHD is set and it starts with "/tmp/launch"). E.g., this expands ":1" to ":1.0": 400|26 1 1 19:26:41|IC Start 200|26 1 19:26:41|TP Start 520|26 1 00032625 1 1|VSW5TESTSUITE PURPOSE 1 520|26 1 00032625 1 2|Assertion XDisplayString-1.(A) 520|26 1 00032625 1 3|A call to XDisplayString returns the string that was used 520|26 1 00032625 1 4|as the argument to the XOpenDisplay call that returned the 520|26 1 00032625 1 5|value used as the display argument. 520|26 1 00032625 1 6|METH: Open a connection using XOpenDisplay. 520|26 1 00032625 1 7|METH: Obtain the display string using XDisplayString. 520|26 1 00032625 1 8|METH: Verify that the value of the string is the parameter used in XOpenDisplay. 520|26 1 00032625 1 9|METH: Close the display using XCloseDisplay. 520|26 1 00032625 1 10|REPORT: XDisplayString() returned ":1.0" instead of ":1". 220|26 1 1 19:26:41|FAIL 410|26 1 1 19:26:41|IC End Fix this by deleting all of the code to construct the canonical path and just stashing a copy of the original display_name in dpy->display_name. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> commit 1dc401f678469d0235e6d0b28eb4356f03327c9f Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Aug 13 13:06:51 2010 -0400 man: xkb: remove unused variable LIB_MAN_DIR_SUFFIX Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit cbe9eebd11e5ebab4280d25b57b4cd4001241619 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Aug 13 11:42:29 2010 -0400 man: simplify building of shadow man pages Store the shadow files in git as any other man page. Move man pages to man dir and use the common makefile Local fix in CVS for bug 5628 is not required as the problem has been fixed in util-macros d9062e4077ebfd0985baf8418f3d0f111b9ddbba Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit bfd899c9af2318ecbe84cb69007dba4223fdb502 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Aug 9 09:39:26 2010 -0400 config: reinstate XORG_PROG_RAWCPP erroneoulsy removed in commit 76e07ef6911734eac418e399b114f1b544512736. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 76e07ef6911734eac418e399b114f1b544512736 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Aug 6 14:01:51 2010 -0400 man: using the C preprocessor is not required for man pages. There were no special symbols needing cpp. Everything can be handled by the default MAN_SUBSTS in util-macros. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 4b8ff7db39f2fe7ef12968d462aaf3f9054b6c18 Author: Jamey Sharp <jamey@minilop.net> Date: Fri Aug 6 15:51:56 2010 -0700 Fix use-after-free in _XReply on X errors. _XReply would always call dequeue_pending_request on errors. When it got an error for the current request, it would call dequeue, then break out of the loop; then, if it had an error in the event queue, it would compare it with the sequence number of the now-freed pending request. _XReply already stored that sequence number in dpy->last_request_read before freeing it, so look at that instead. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29412 Signed-off-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Josh Triplett <josh@joshtriplett.org> commit 9fa146b30046396b70d64986e50d6617b3a8ac48 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sat Jul 31 16:15:35 2010 -0400 specs: xsl stylesheet requires abs path to images Using abs_builddir requires automake 1.10 or later. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit a8727d4bc39015e303b4128d0ad8aaf6d5fc9f0a Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Aug 1 14:13:07 2010 -0400 specs: update .gitignore now that all groff generated files are gone Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit f70527f05677aaf6a493ba42d2d95f738aaebafa Author: Adam Jackson <ajax@redhat.com> Date: Thu Jul 29 11:11:21 2010 -0400 nls: Switch one of the interrobang sequences to gnaborretni Since gnaborretni is primarily used in LTR locales, the ? part of the sequence reflects the position of the bulge in the ?. When scanning an inverted interrobang left-to-right, you see the bulge first, so the compose sequence ?! is used; upright interrobang shows the bulge last, so it's !?. This is a change in behaviour, but I was unable to come up with anything better. ??!! or !!?? would match the patterns for ¿ and ¡, but they would delay evaluation of them; "¿Qué?" wouldn't show the ¿ until you hit Q. Likewise ?!?! and !?!? would delay showing the interrobang itself. ~!? and ~?! were considered but are arguably less intuitive. Reviewed-by: James Cloos <cloos@jhcloos.com> Signed-off-by: Adam Jackson <ajax@redhat.com> commit 511c4f6d29b2da4f71093feabcbb3913cb5d12a7 Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Jul 28 10:27:39 2010 -0400 specs: move indexterm from glossdef to glossterm This move fixes a Java class cast exception in the glossary. The problem was introduced in commit 26f4f0d50840fe5ba4c46aae0a8e68db0059434b It may not happen on all versions of the doc toolchain. There is no reason why indexterm cannot appear in glossdef, this is a workaround to an implementation problem found by trial and error. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 87a108f3aa565aa803dacb3a53b811f45025b609 Author: Matt Dew <matt@osource.org> Date: Sat Jul 24 14:46:57 2010 -0400 specs: replace troff source with docbook-xml source Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 8e603413586ff42b1351688f6f99318cbe243bca Author: Julien Cristau <jcristau@debian.org> Date: Sat Jul 24 22:13:07 2010 +0200 Compose.man: default user compose file is .XCompose, not .Xcompose The path was correct in the DESCRIPTION section, but not in FILES. Signed-off-by: Julien Cristau <jcristau@debian.org> commit 554da76ece85d0fc0cada45a86860e69c2107e9a Author: Daniel Stone <daniel@fooishbar.org> Date: Tue Jul 20 12:34:48 2010 +0100 NLS: Add \o/ Compose sequence Unicode is even more pointlessly awesome! Add a binding for Compose-\o/ to U+1F64C PERSON RAISING BOTH HANDS IN CELEBRATION. Signed-off-by: Daniel Stone <daniel@fooishbar.org> commit 2e7a18b6a617b9b4bfcea2d36f2bd2d7e0c4a3dd Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jul 9 18:13:13 2010 +0100 XStringToKeysym: Cope with 0x1234cafe-style input If we get input in the style of 0xdeadbeef, just return that exact keysym. Introduces a dependency on strtoul, which I'm told is OK on all the systems we care about. Signed-off-by: Daniel Stone <daniel@fooishbar.org> commit 3df45ed0c29b98ff468a0ff0ba24830bb664fd5a Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 19 17:58:27 2010 -0700 specs/libX11: Fix column count of Gravity Attributes table Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 53bcba0d1d2dc3fd5e0de4bae3da30a1aa31a0c4 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 19 14:43:38 2010 -0700 specs/libX11: Convert \- to − and \^ to either   or removed Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 5a0b45275638281e1bb2ae7d3e16b98e6470dae9 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 19 11:28:50 2010 -0700 specs/libX11: Manual cleanup pass over Ch. 1 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 21567992958a6f12b3d0186f2f27a5b2a41b8448 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 19 14:51:10 2010 -0700 specs/libX11: make sure all files have DOCTYPEs so standard entities work Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit c944a8521f5760b485192658b921145159cdb439 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Jul 18 13:12:20 2010 -0700 specs/libX11: Fix up list of header files in Ch.1 & add index entries Combination of manual editing and automatic substitution via: perl -i -p -00 -e 's{<varlistentry>(\s+)<term><X11/([^&]+)></term>(\s+)<listitem>(\s+)<para>}{<varlistentry id="Standard_Header_Files:$2">$1<term><filename class="headerfile"><X11/$2></filename></term>$3<listitem>$4<indexterm type="file"><primary><filename class="headerfile">X11/$2</filename></primary></indexterm>$4<indexterm><primary>Files</primary><secondary><X11/$2></secondary></indexterm>$4<indexterm><primary>Headers</primary><secondary><X11/$2></secondary></indexterm>$4<para>}g' CH01.xml Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit bb66e8f1ce330043278d3e8cbc7d5d3bc56ee030 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Jul 18 12:47:27 2010 -0700 specs/libX11: Add indexterms for headerfiles that .hN used to provide Automatic substitution performed via: perl -i -p -e 's{^<<filename class="headerfile">([^<]+)</filename>>(.*)$}{<filename class="headerfile"><$1></filename>$2\n<indexterm type="file"><primary><filename class="headerfile">$1</filename></primary></indexterm>\n<indexterm><primary>Files</primary><secondary><filename class="headerfile"><$1></filename></secondary></indexterm>\n<indexterm><primary>Headers</primary><secondary><filename class="headerfile"><$1></filename></secondary></indexterm>}' *.xml Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d0b0d215cb85da48b323b1392149ce181e7ef5ec Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Jul 16 21:15:13 2010 -0700 specs/libX11: convert multicolumn lists from tables to <simplelist> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit e679f80c6210c0aefe3669f8f536353619097a4b Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Jul 16 20:51:52 2010 -0700 specs/libX11: Tag WM_* as <property> Mass substitution done by: perl -i -p -e 'if ($_ !~ m{^\<}) { $_ =~ s{(WM_\w+)}{<property>$1</property>}g; }' *.xml Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit c7b7e59b3b22221d0be6286c540001c360308f69 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Jul 16 20:41:33 2010 -0700 specs/libX11: Convert simpler eqn markup to docbook tags Mostly "sup" to <superscript> There's several more complicated equations that will probably need MathML or SVG to solve. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 897486c54c6a54771867d667441aaf9a4b9c35ca Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Jul 16 00:50:39 2010 -0700 specs/libX11: App. D: convert literallayouts to synopsis or programlisting Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 692906c3b3d8aa8b8927fbc230c3050d633785d2 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Jul 16 00:36:43 2010 -0700 specs/libX11: Fix section headers in Appendix D Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit bcc41baa02e137884d847aec0f3ff8ca5c85c32f Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Wed Jul 14 07:22:26 2010 -0700 specs/libX11: Explicitly tag document as English Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 6783544706ff370e900c137f951e90230586d6dc Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 12 22:03:18 2010 -0700 specs/libX11: Appendix C: convert literallayouts to synopsis or programlisting Fixes display of a bunch of function prototypes and sample code Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 8834cd9285e6aaf437aee56292c508d99a090fa9 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 12 18:37:16 2010 -0700 xmlrules.in: Add chunked-html rule to manually generate smaller files Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 53f78680c34ebc94ce26b5e14c2a0003435cf10d Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 12 18:35:59 2010 -0700 specs/libX11: Convert Appendix A tables to real tables Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 705a1257a8a47f4a1f94979aee09a837500ede7d Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 12 18:38:09 2010 -0700 specs/libX11: Fix out-of-place text in Chapter 1 DTD violation error introduced in 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit a151346a2b7810e988f1de4b1e00b37672dc587a Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Mon Jul 12 16:52:12 2010 -0700 launchd: Explicitly search /sbin Previously, launchd wasn't found if /sbin wasn't in the user's PATH. https://bugs.freedesktop.org/show_bug.cgi?id=29028 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 12 13:38:04 2010 -0700 Replace untranslated .hN macros with <filename> tags to show header names Translation performed by: perl -i -p -e 's{\<\!-- .hN (\S+) (\S+)?\s*-->} {<<filename class="headerfile">$1</filename>>$2}' *.xml Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 75480440946603b8efdbbf78b88d59c641b6d2c8 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sat Jul 10 00:06:13 2010 -0700 specs/libX11: Mass substitution of <function> tags with more specific tags Matched names from X headers & "nm libX11.so" output to names in spec to map to more specific tags. Tags used: <code> code fragments <constant> enum values <errorname> X protocol errors <filename> filenames <function> functions <function> function-like macros (#define foo(a,b)...) <returnvalue> function return codes <structfield> struct members <structname> struct names (even when typedefed) <symbol> simple value #defines (#define NAME value) <systemitem> X protocol requests <systemitem class="event"> X protocol events <type> non-struct typedefs <varname> global variables (Also fixed a couple typos detected by failures of this matching, such as XESSetPrintErrorValues -> XESetPrintErrorValues.) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 26f4f0d50840fe5ba4c46aae0a8e68db0059434b Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Jul 9 00:37:23 2010 -0700 specs/libX11: Glossary cross-reference links Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 930b52d84031de0e15e0a11cf4ecfd3b2f59e073 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jul 8 21:19:08 2010 -0700 specs/libX11: Make whitespace around <function> tags more uniform Simplifies regular expressions for further mass substitutions. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 730ce6b8aca77b77385aa894d234cbde5fcbce37 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Jul 9 20:10:37 2010 -0400 specs: use pattern rules rather than suffix rules This allows target to rebuild when included .xml files are changed. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 5527b4bc8ce7de60123eb28789ddef54aa48a378 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jul 8 20:56:41 2010 -0700 specs/libX11: Move punctuation outside of the <function> tags Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d66d2134dfc38cd866c7c2d9ea45ed4b4dad23f0 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jul 8 20:42:50 2010 -0700 specs/libX11: Mark a number of <acronym>s Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d5bbb12f55ac9f691eab6242cedc53207275131b Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jul 8 19:31:36 2010 -0700 specs/libX11: Glossary terms should not be marked as functions Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 5decf7bc5dae0ae0c45c47eaaa9c4fdf9515ca1c Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jul 8 19:28:18 2010 -0700 specs/libX11: Clean up author list & acknowledgements a little Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 0cd29bdb332c333e5123dce65b25ad1d97fbdae3 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jul 8 17:30:34 2010 -0700 specs/libX11: Convert troff .IN macros to docbook <indexterm> tags Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit a67d99ccbe22c8ce5f7a12f13b8991d9e0cf4491 Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Jul 8 17:29:21 2010 -0400 specs: specdir is required to install xml files The source is installed as well as the targets. This failed when configuring with --without-xmlto Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit e14273f44c1501ab51db4adcb83b18a1073787d8 Author: Matt Dew <matt@osource.org> Date: Thu Jul 8 14:42:32 2010 -0400 specs: replace troff source with docbook-xml source Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit bea0873caf50e9ed1b89255775d9ab912cbecd45 Author: Daniel Stone <daniel@fooishbar.org> Date: Thu Jul 8 16:49:51 2010 +0100 XStringToKeysym: Check strdup() return value Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Keith Packard <keithp@keithp.com> commit cffa71b4a5743e2b6675b9a917d15aef4177d513 Author: Marko Myllynen <myllynen@redhat.com> Date: Mon Jun 28 15:08:05 2010 +0300 Fix two typos in SFS 5966 Annex 3 X.Org bug#28792 <https://bugs.freedesktop.org/show_bug.cgi?id=28792> Signed-off-by: Julien Cristau <jcristau@debian.org> commit eb023c0f8919e809b8b609e1467b14d20a290aa7 Author: Daniel Stone <daniel@fooishbar.org> Date: Tue Jun 15 18:49:43 2010 +0100 Delete now-redundant XKeysymDB Since XStringToKeysym now supports all the vendor keysyms, just delete our XKeysymDB, which was incomplete at best, misleading at worst, and always an annoyance. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 00175397480b76d32bf82b0c7c94c91a2a95954e Author: Daniel Stone <daniel@fooishbar.org> Date: Tue Jun 15 18:48:48 2010 +0100 makekeys: Scan vendor keysyms as well as core Since we can't really live without vendor keysyms, scan them all in to generate ks_tables.h, rather than only doing the core ones, and leaving the vendor syms to be manually synchronised with XKeysymDB. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit ebd6ef0a4db0ddef0ae17ad14571518ccdeea5ba Author: Daniel Stone <daniel@fooishbar.org> Date: Tue Jun 15 18:47:37 2010 +0100 XStringToKeysym: Special case for XF86 keysyms Some XFree86 keysyms were in XKeysymDB as XF86_foo, despite really being XF86foo. So, if we get to the bottom of XStringToKeysym and haven't found our XF86_foo, try it again as XF86foo. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 8c2ffce9e5c6eef8a04f7e2732db46b3b62e13bb Author: Daniel Stone <daniel@fooishbar.org> Date: Tue Jun 15 17:20:48 2010 +0100 configure.ac: Change from deprecated AC_DEFINE_DIR to AX_ AC_DEFINE_DIR is deprecated as it's squatting on the autoconf-builtin namespace, so start using the more proper AX_DEFINE_DIR instead. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 6de368c9aa7ccd2fcd62fca5a2b278913db4d03d Author: Fernando Carrijo <fcarrijo@yahoo.com.br> Date: Thu Jul 1 06:50:47 2010 -0300 Purge macros NEED_EVENTS and NEED_REPLIES Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 0b724231be17f19538ee115a03b82b221b1f83c0 Author: Adam Jackson <ajax@redhat.com> Date: Wed Jun 30 16:30:49 2010 -0400 Use -version-number consistently instead of -version-info The latter is libtool braindamage. Signed-off-by: Adam Jackson <ajax@redhat.com> commit 241a990afcf9c967c587ad6fd245df21b68b1ad9 Author: Juliusz Chroboczek <jch@pps.jussieu.fr> Date: Tue Jun 29 18:32:42 2010 +0200 Make Compose-comma map to ogonek for I and U in UTF-8 locales. With the preceding patch, it makes the UTF-8 compose map consistent with the ISO 8859-4 and -13 maps. commit af55e582f485a668c2bf43129be972bc65f03c60 Author: Juliusz Chroboczek <jch@pps.jussieu.fr> Date: Tue Jun 29 18:20:18 2010 +0200 Make Compose-comma map to Ogonek for A and E in UTF-8 locales. This makes the UTF-8 compose file consistent with the ISO 8859-2 compose file as far as Polish is concerned. We only sacrifice one pair of characters, e-cedilla, which is not used in any language. commit d6ba13009fc9ef876a104b907ffef73c6e405d4b Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jun 24 13:13:11 2010 -0700 Define FILE_MAN_DIR_SUFFIX so XCompose shadow page has correct path Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 978c7238789037de917b9423ea9adfb006da1260 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Jun 19 10:44:55 2010 -0700 poll_for_response: Really handle xcb_poll_for_reply getting a reply. Don't lose async replies. That's bad. `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the _XReply path worked; that path waited for replies, rather than polling. However, XRecordProcessReplies, which does nothing but call XPending, relied on the event-handling path to process async replies, and that was busted. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 Signed-off-by: Jamey Sharp <jamey@minilop.net> commit ef67486c5a8aada24fd95b2991a3c4979f53805f Author: Jamey Sharp <jamey@minilop.net> Date: Mon Jun 21 13:34:15 2010 -0700 Revert "xcb_io.c: poll_for_response doesn't guarantee there's a pending request." This reverts commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e, because as a matter of fact, if poll_for_response returns NULL when we know dpy->xcb->next_event is non-NULL, there *is* guaranteed to be a pending request. commit 301ec5b41e9d253a446db656e1789ac7345dc433 Author: Jamey Sharp <jamey@minilop.net> Date: Mon Jun 21 13:24:24 2010 -0700 Revert "poll_for_response: Really handle xcb_poll_for_reply getting a reply." This reverts commit c115095d7f2bc4f5a4fb26380e3698fefdad7611. We *do* need to check poll_for_event every time through the loop in poll_for_response, so the commit did too much. commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e Author: Jamey Sharp <jamey@minilop.net> Date: Mon Jun 21 10:54:02 2010 -0700 xcb_io.c: poll_for_response doesn't guarantee there's a pending request. Fixes the second bug reported in: https://bugs.freedesktop.org/show_bug.cgi?id=28595 Signed-off-by: Jamey Sharp <jamey@minilop.net> commit c115095d7f2bc4f5a4fb26380e3698fefdad7611 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Jun 19 10:44:55 2010 -0700 poll_for_response: Really handle xcb_poll_for_reply getting a reply. Don't lose async replies. That's bad. `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the _XReply path worked; that path waited for replies, rather than polling. However, XRecordProcessReplies, which does nothing but call XPending, relied on the event-handling path to process async replies, and that was busted. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 Signed-off-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Josh Triplett <josh@joshtriplett.org> commit a25ae169862ab9b76daf259613b37c6b07bc2ef2 Author: Marko Myllynen <myllynen@redhat.com> Date: Sun Jun 13 19:23:05 2010 +0300 Implement SFS 5966 Annex 4 for Finland This patch adds Annex 4 of SFS 5966 for Finland and fixes two typos in Annex 3 (which were actually copied verbatim from the standard text). The implementation of the standard is now complete. X.Org bug#28498 <https://bugs.freedesktop.org/show_bug.cgi?id=28498> Signed-off-by: Julien Cristau <jcristau@debian.org> commit 47b04195d8a31c8f9e6dd804196162c6cfca3ac6 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Jun 4 13:20:17 2010 -0700 LINEAR_RGB_InitSCCData: When malloc fails, don't try to free unallocated bits One of the malloc failure checks had a goto to the wrong spot in the list of cleanup free() calls to unwind at the end, and was freeing bits that hadn't been initialized/allocated yet, since they would be stored in the struct that just failed to be allocated. Error: Null pointer dereference (CWE 476) Read from pointer that could be constant 'NULL' at line 805 of /export/alanc/X.Org/sx86/lib/libX11/src/xcms/LRGB.c in function 'LINEAR_RGB_InitSCCData'. Pointer checked against constant 'NULL' at line 754 but does not protect the dereference. [ This bug was found by the Parfait bug checking tool. For more information see http://research.sun.com/projects/parfait ] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit aebbf3623888119b43893b253195d93b613a6e1e Author: Josh Triplett <josh@joshtriplett.org> Date: Sun Jun 6 19:11:55 2010 -0700 Mark the rest of Xprivate.h as _X_HIDDEN. None of the functions in Xprivate.h should have any callers outside of Xlib, by definition. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Suggested-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Jamey Sharp <jamey@minilop.net> commit abcd1b67c8135ad652833e5a60d818837c39fce1 Author: Julien Cristau <jcristau@debian.org> Date: Fri Jun 4 13:57:45 2010 +0200 Hide _XSeqSyncFunction Commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 made _XSeqSyncFunction non-static, but we don't need to export it. Signed-off-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Jamey Sharp <jamey@minilop.net> commit 15e5eaf62897b3179d1fbe457cb19f886f0449f8 Author: Josh Triplett <josh@joshtriplett.org> Date: Thu Jun 3 09:41:01 2010 -0700 Remove support for building without XCB And there was much rejoicing. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Reviewed-by: Jamey Sharp <jamey@minilop.net> Consensus on #xorg-devel agrees with removing --without-xcb; in particular, acks from Adam Jackson, Daniel Stone, Kristian Høgsberg, Julien Cristau, and Rémi Cardona. commit fb19eb767a32fd4ff74021c51bc6f60eb8bdff74 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jun 3 15:21:40 2010 -0700 libX11 1.3.4 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 8f3db40ca5108a919244f3fff7466d01a14b3ce2 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jun 3 13:08:17 2010 -0700 Workaround bug in groff flag processing that breaks distcheck At least with the groff 1.19.2 package I have installed, groff passes on the -I flags for the include path to grohtml, which if they come after the -P-I... flag we pass to grohtml to specify the image file name pattern cause it to override that flag and put the images in the wrong place, breaking "make distcheck" - changing the flag order works around this. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit bdb31a1fb707cebccc9efbbf68cb55c10fa4ea3e Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jun 3 11:25:33 2010 -0700 Fix typo that made configure always report "none" for man page suffix Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 6bb7d2d21d6b58019fb37b724b59c9744f30b9ce Author: Paul Bender <pebender@gmail.com> Date: Thu Jun 3 11:20:26 2010 -0700 Bug 22591 - configure does not obey the --enable-*-transport options https://bugs.freedesktop.org/show_bug.cgi?id=22591 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d7f35946d673bb00f2768e025b6e1017422b2174 Author: Paul Bender <pebender@gmail.com> Date: Thu Jun 3 11:17:45 2010 -0700 Bug 22590 - libX11 1.2.1 has broken abstract namespace support https://bugs.freedesktop.org/show_bug.cgi?id=22590 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit b2487d07f7b355f230a56e32c763acd08862735c Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jun 3 11:06:15 2010 -0700 Bug 22584 - libX11 does not cross compile Adaptation of patch submitted by Paul Bender in attachment 27301 to https://bugs.freedesktop.org/show_bug.cgi?id=22584 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> commit 4378219ff8c1418418c70086085358b69d574e74 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Jun 1 18:55:48 2010 -0700 Clarify requirements in XRestackWindows man page The required common parent window is not specified in the arguments, just implied as the parent of the first window in the list. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit f09c5299a381e2729e800a0ac43f1c0e371f65f6 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Wed May 12 16:42:18 2010 -0700 xcb: Add TCP fallback If we fail to connect to a UNIX socket and the transport isn't specified, fallback on TCP. This matches behavior with the xtrans codepath and the Xlib spec. http://lists.x.org/archives/xorg-devel/2010-April/007915.html Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Jamey Sharp <jamey@minilop.net> commit fd82552d5c0ce1931f29006a0c36f5e03cf8577e Merge: aae2a4a 933aee1 Author: Jamey Sharp <jamey@minilop.net> Date: Mon May 10 16:51:24 2010 -0700 Merge branch 'xlib-xcb-thread-fixes' commit aae2a4a7aab26de3fa715d6ecd0a0e0926b37fc9 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Fri Apr 23 21:50:29 2010 -0700 Don't append the screen number when using a launchd socket ssh gets confused by this. XQuartz is the only DDX using this functionality, and it doesn't support different screens, so let's just not include this until most ssh know how to handle this. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit adcd0ec209abf832a769d52db660fb37eaad6e0c Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Fri Apr 23 16:33:44 2010 -0700 Remove launchd logic from _XConnectXCB as it's handled in XCB Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit d232b259c36fdde1f4179822809fec1480867dc5 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Tue Feb 2 17:01:28 2010 -0800 Fix various build warnings imLcIm.c: In function '_XimCachedFileName': imLcIm.c:361: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' imLcIm.c:364: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' imRm.c: In function '_XimDefaultArea': imRm.c:597: warning: cast from pointer to integer of different size imRm.c: In function '_XimDefaultColormap': imRm.c:626: warning: cast from pointer to integer of different size lcFile.c:224: warning: no previous prototype for 'xlocaledir' lcUTF8.c: In function 'iconv_cstombs': lcUTF8.c:1841: warning: assignment discards qualifiers from pointer target type lcUTF8.c:1869: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness lcUTF8.c:1873: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness lcUTF8.c: In function 'iconv_mbstocs': lcUTF8.c:1935: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness lcUTF8.c: In function 'iconv_mbtocs': lcUTF8.c:2031: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness lcUTF8.c: In function 'iconv_mbstostr': lcUTF8.c:2121: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness lcUTF8.c: In function 'iconv_strtombs': lcUTF8.c:2180: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness lcUTF8.c: In function '_XlcAddGB18030LocaleConverters': lcUTF8.c:2367: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type lcUTF8.c:2368: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type lcUTF8.c:2373: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type lcUTF8.c:2374: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type lcUTF8.c:2375: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type lcUTF8.c:2376: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type lcUTF8.c:2377: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type XlibInt.c: In function '_XGetHostname': XlibInt.c:3441: warning: implicit declaration of function 'gethostname' XlibInt.c:3441: warning: nested extern declaration of 'gethostname' ConnDis.c: In function '_XDisconnectDisplay': ConnDis.c:540: warning: old-style function definition ConnDis.c: In function '_XSendClientPrefix': ConnDis.c:554: warning: old-style function definition ConnDis.c: In function 'XSetAuthorization': ConnDis.c:677: warning: old-style function definition Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit 3e11c73187acb2e2be9a812840bbbea947527ccb Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net> Date: Fri Apr 23 00:01:54 2010 +0200 Allow X11 users to compose anarchism I can easily compose the hammer and sickle (the symbol representative of communism) by pressing the key sequence: <Compose> <C> <C> <C> <P> -> ☭ But i can't easily make the circled A (the symbol representative of anarchism). I'd like to be able to use <Compose> <O> <A> (this is a currently unused key sequence) to generate the symbol: Ⓐ Debian bug#555938 <http://bugs.debian.org/555938> Signed-off-by: Julien Cristau <jcristau@debian.org> commit 933aee1d5c53b0cc7d608011a29188b594c8d70b Author: Jamey Sharp <jamey@minilop.net> Date: Fri Apr 16 20:18:28 2010 -0700 Fix Xlib/XCB for multi-threaded applications (with caveats). Rather than trying to group all response processing in one monolithic process_responses function, let _XEventsQueued, _XReadEvents, and _XReply each do their own thing with a minimum of code that can all be reasoned about independently. Tested with `ico -threads 20`, which seems to be able to make many icosahedrons dance at once quite nicely now. Caveats: - Anything that was not thread-safe in Xlib before XCB probably still isn't. XListFontsWithInfo, for instance. - If one thread is waiting for events and another thread tries to read a reply, both will hang until an event arrives. Previously, if this happened it might work sometimes, but otherwise would trigger either an assertion failure or a permanent hang. - Versions of libxcb up to and including 1.6 have a bug that can cause xcb_wait_for_event or xcb_wait_for_reply to hang if they run concurrently with xcb_writev or other writers. So you'll want that fix as well. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Josh Triplett <josh@freedesktop.org> commit aab43278ae619eb57d2dd9c7396f460f078588fc Author: Jamey Sharp <jamey@minilop.net> Date: Fri Apr 16 22:24:16 2010 -0700 Use InternalLockDisplay on code paths called from LockDisplay. It's easier to reason about the code when we can't re-enter the Xlib-private sync-handlers while they're already running. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Josh Triplett <josh@freedesktop.org> commit 660b7d05f4ca4ab4661c9fe7ce655a4909b4e556 Author: Jamey Sharp <jamey@minilop.net> Date: Fri Apr 16 19:45:11 2010 -0700 Fix _XSend to enqueue the right range of pending requests. _XSend was off-by-one on both ends. It should not re-enqueue the last request that was already flushed, but it should enqueue the last request currently being flushed. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Josh Triplett <josh@freedesktop.org> commit f2735889908d6e5a7f8dbee42f00c54a52665191 Author: Jamey Sharp <jamey@minilop.net> Date: Fri Apr 16 19:45:11 2010 -0700 Pending requests are always added in-order. Replace insert_pending_request, which did an in-order search of the queue to find the right insertion point, with a simpler append_pending_request, and use that in _XSend as well. Includes assertions to check that the list of pending requests is in order by sequence number and does not have duplicates. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Josh Triplett <josh@freedesktop.org> commit d9cf5885b0f97942fbbd2a7cc50118132ece50f6 Author: Markus Duft <markus.duft@salomon.at> Date: Fri Apr 16 08:39:34 2010 -0700 Bug 26839: Fix build problem on Interix (POSIX layer on Windows) https://bugs.freedesktop.org/show_bug.cgi?id=26839 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit a3f5f1b90936d23e9894e3261b2d77fb7b32a51a Author: Josh Triplett <josh@freedesktop.org> Date: Thu Apr 15 14:24:21 2010 -0700 Stop returning an int from _XIDHandler and _XSeqSyncFunction _XIDHandler and _XSeqSyncFunction originally ran from dpy->synchandler, and thus had to return an int. Now, they only run from _XPrivSyncHandler or LockDisplay, neither of which needs to check their return value since they always returned 0. Make them both void. Signed-off-by: Josh Triplett <josh@freedesktop.org> Signed-off-by: Jamey Sharp <jamey@minilop.net> commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 Author: Jamey Sharp <jamey@minilop.net> Date: Thu Apr 15 13:05:08 2010 -0700 Move XID and sync handling from SyncHandle to LockDisplay to fix races. XID and sync handling happened via _XPrivSyncHandler, assigned to dpy->synchandler and called from SyncHandle. _XPrivSyncHandler thus ran without the Display lock, so manipulating the Display caused races, and these races led to assertions in multithreaded code (demonstrated via ico). In the XTHREADS case, after you've called XInitThreads, we can hook LockDisplay and UnlockDisplay. Use that to run _XIDHandler and _XSeqSyncHandler from LockDisplay rather than SyncHandle; we then know that we hold the lock, and thus we can avoid races. We think it makes sense to do these both from LockDisplay rather than UnlockDisplay, so that you know you have valid sync and a valid XID before you start setting up the request you locked to prepare. In the !XTHREADS case, or if you haven't called XInitThreads, you don't get to use Xlib from multiple threads, so we can use the logic we have now (with synchandler and savedsynchandler) without any concern about races. This approach gets a bit exciting when the XID and sequence sync handlers drop and re-acquire the Display lock. Reacquisition will re-run the handlers, but they return immediately unless they have work to do, so they can't recurse more than once. In the worst case, if both of them have work to do, we can nest the Display lock three deep. In the case of the _XIDHandler, we drop the lock to call xcb_generate_id, which takes the socket back if it needs to request more XIDs, and taking the socket back will reacquire the lock; we take care to avoid letting _XIDHandler run again and re-enter XCB from the return_socket callback (which causes Very Bad Things, and is Not Allowed). Tested with ico (with 1 and 20 threads), and with several test programs for XID and sequence sync. Tested with and without XInitThreads(), and with and without XCB. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=23192 Signed-off-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Josh Triplett <josh@freedesktop.org> commit b089b53b697c2851db2985d32af3b29f1da5e31e Author: Jamey Sharp <jamey@minilop.net> Date: Wed Apr 14 12:59:11 2010 -0700 Honest. Extensions get to filter async errors too. Under some circumstances, errors are picked up by calling xcb_poll_for_reply, rather than xcb_poll_for_event, because Xlib issued the requests with the XCB_REQUEST_CHECKED flag. That happens when either an async handler is queued at the time the requests are flushed, or when XSetEventQueueOwner has been used to prevent Xlib from processing XCB's event queue. This bugfix extends 405132dab64bf2375f8e57d02b1b53da2311933a to cover those cases. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 Signed-off-by: Jamey Sharp <jamey@minilop.net> commit a15c31274650e391bc6de5d0951eb4464c228139 Author: Jamey Sharp <jamey@minilop.net> Date: Wed Apr 14 12:10:34 2010 -0700 _XError already runs async handlers; only call them directly for replies. The previous behavior probably would have triggered bug reports someday. Signed-off-by: Jamey Sharp <jamey@minilop.net> commit 405132dab64bf2375f8e57d02b1b53da2311933a Author: Jamey Sharp <jamey@minilop.net> Date: Tue Apr 13 12:12:36 2010 -0700 Extensions get to filter async errors too. Apparently I misread XlibInt.c:_XReply and thought that handlers set with XESetError should be consulted only for the sequence number that _XReply is currently looking for. In fact, the error handlers are also consulted when an error arrives for a request that was not expected to have a reply. However, in an odd twist, the error handlers are *not* consulted outside of _XReply--that is, when looking for events, or waiting to be able to flush the output queue. So this patch takes some small pains to preserve that behavior, though it seems likely to have been unintentional. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 Signed-off-by: Jamey Sharp <jamey@minilop.net> commit d3eab4a38f3e53ef21eb3b6fa66ead7afecf6227 Author: Jamey Sharp <jamey@minilop.net> Date: Tue Apr 13 12:49:59 2010 -0700 Prefer the xcb_generic_error_t we already have over casting to xEvent. Just a minor cleanup. Signed-off-by: Jamey Sharp <jamey@minilop.net> commit 75ea8c37935ccc911557d16a303ba595b8ab106b Author: Jamey Sharp <jamey@minilop.net> Date: Mon Apr 12 11:30:20 2010 -0700 Run the user's synchandler as well as any internal synchandlers. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=27595 Signed-off-by: Jamey Sharp <jamey@minilop.net> commit c3f3e4a9e531d010312c97e753d6e543e607094d Author: Kusanagi Kouichi <slash@ac.auone-net.jp> Date: Fri Feb 12 17:16:10 2010 +0900 Fix manual typos. Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 75c6c5595408caba9ef8233839d77021d02f86f2 Author: Dirk Wallenstein <dirkwallenstein@t-online.de> Date: Fri Feb 5 20:42:46 2010 +0100 man: Correct the XkbAllAccessXEventsMask mask name This mask has probably been renamed but not been updated in the manuals. Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 9262aceaff24c954cab8c252690032bc2ec25e7d Author: Dirk Wallenstein <dirkwallenstein@t-online.de> Date: Fri Feb 5 20:42:45 2010 +0100 man: Add missing geometry component flag Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 50cf134465f6fd263f37acecac94518468ef1c6d Author: Dirk Wallenstein <halsmit@t-online.de> Date: Tue Feb 2 21:24:32 2010 +0100 man: Return value of XkbGetState is Status and not Bool Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 7a93ae2bb5292a97fdd27ed818bc81248b37f641 Author: Dirk Wallenstein <halsmit@t-online.de> Date: Tue Feb 2 21:24:30 2010 +0100 man: Fix return value specification of XkbKeyActionEntry The XkbKeyActionEntry macro expands to a pointer. Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit e9884d4a05a5661ec343ea8a2aa0562b6419e086 Author: Dirk Wallenstein <halsmit@t-online.de> Date: Tue Feb 2 21:24:29 2010 +0100 man: Redirect users from XKeycodeToKeysym to XkbKeycodeToKeysym #25732 XKeycodeToKeysym keeps compatibility with pre-XKB and thus only sees 2 groups with 2 levels each. It wraps the index into the next group. This behavior confuses the unaware user, and therefore this will add a reference to XkbKeycodeToKeysym in the corresponding man paragraph. Another bug had that issue, too. #5349 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 6474cdf97cd648afaeaa872155f3fa21cfb43f80 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Apr 8 19:59:55 2010 -0700 Fix typo in new fi_FI.UTF-8 that was reported by "make check" Unrecognized pattern in Compose on line #154: <dead_diaeresis> <space> " "¨" Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 91bd5e7af2d3a9526aefb73dc10f417896f0e4dd Author: Marko Myllynen <myllynen@redhat.com> Date: Thu Apr 8 19:52:42 2010 -0700 Bug 27465 - Rewritten fi_FI.UTF-8 Compose file I've rewritten the fi_FI.UTF-8 Compose file so that it - includes en_US.UTF-8/Compose for base compose definitions (and thus gets any possible additions to en_US.UTF-8/Compose automatically included) - overrides any en_US.UTF-8/Compose definitions with fi_FI.UTF-8/Compose definitions (thus making it safe to include en_US.UTF-8/Compose) - lists all the definitions specified in the SFS 5966 standard (thus making it easy to verify that the implementation is valid and complete) - adds a header about the file itself as required by the standard The rewritten version is ~320 lines compared to over 5000 lines of the previous version. https://bugs.freedesktop.org/show_bug.cgi?id=27465 commit f6a4fd0c7615684d08e848245849dea4017a5214 Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Apr 1 21:46:12 2010 -0400 config: update and relocate AC_DEFINE_DIR macro Remove deprecated acinclude.m4 macro container file Use separate macro files as per autoconf recommendation Use the latest macro from GNU (ax) which replaces the non-gnu version (ac) This preserves the Autoconf macro AC namespace. Also moved out of acinclude.m4 is the DOLT macro Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 61d5231db418cec51bd718633c3bba39b18689d6 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Mar 29 14:53:48 2010 -0400 config: remove the pkgconfig pc.in file from EXTRA_DIST Automake always includes it in the tarball. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 69fc76a0321c6b25cc4286173c53435c69ab8e0e Author: Fernando Carrijo <fcarrijo@yahoo.com.br> Date: Wed Mar 17 23:53:16 2010 -0300 No need for req->firstKeyCode to be set twice. There is no reason to set req->firstKeyCode twice when a client, wishful for changing keyboard mappings, calls XChangeKeyboardMapping. This patch fixes the mistake by making no functional changes to libX11 whatsoever. Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit b5797597f83ee62228abfb88f026ef92163e07a5 Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Feb 16 10:37:21 2010 -0500 config: move CWARNFLAGS from configure.ac to Makefile.am Compiler warning flags should be explicitly set in the makefile rather than being merged with other packages compiler flags. Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 052c4d7995b0e52a038933beb85cd544571c6b7e Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Feb 16 14:28:21 2010 -0500 specs: change install cmd due to automake 1.11 specData_INSTALL is defined in 1.9 and 1.10 but not 1.11 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 7277a18cda9f5a6807d11cf4ceb9449b1c302c18 Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Feb 9 17:27:08 2010 -0500 doc: use $(mkdir_p) rather than $(MKDIR_P) due to automake 1.9.6 $(MKDIR_P) is not defined in automake 1.9. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit e66eda95b520727969d721416d4ea49b54ef2b03 Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Feb 2 16:29:26 2010 -0500 specs: install html images in $docdir with html files The images required by the html files have been omitted. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 137d1ff6be99d040e77c8c4c52029c5bdf1f4808 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Jan 31 14:16:20 2010 -0500 doc: use new macros to control doc generation Namely XORG_WITH_GROFF for the groff generation tool XORG_WITH_PS2PDF for the conversion of PS docs to PDF XORG_ENABLE_SPECS for the generation of specs Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 9ca583c5d6fcf9cd8151ee7b019630b141d32fab Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Jan 26 19:41:08 2010 -0500 doc: clean-up generated html images Generate images in /images as is the convention Provide a base file name for images rather than process ID Remove images directory when running make clean Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit eb289b34bfc9978eef724e0f268975938334c06c Author: Kristian Høgsberg <krh@bitplanet.net> Date: Thu Jan 21 13:39:17 2010 -0500 XErrorDB: Add new DRI2 request names commit 6babf2123d05adb9349394c49cc2d81d1f66cf9e Author: Julien Cristau <jcristau@debian.org> Date: Sat Jan 16 22:47:03 2010 +0000 man: Fix typo in Makefile Missing line continuation was preventing the XCompose alias from being generated. Signed-off-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 68530599e61cf9fef3fcc91650e7cef21837fce7 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Jan 16 11:41:32 2010 -0800 libX11 1.3.3 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 1e5af224b9fbdb154620f898558704f2bc4bf4e9 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Jan 14 18:33:39 2010 -0800 Update COPYING file with actual licenses from libX11 code & docs COPYING was previously a years out-of-date copy of the LICENSES doc summarizing all licenses for all XFree86 components, many of which did not apply to libX11. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit ddb1786720d6136b1b28be599c75c10ad1b76a2a Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Jan 14 17:38:26 2010 -0800 Purge CVS/RCS id tags Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit c1db9ddcfa7091f173478dca45bf720badedfca4 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Jan 14 15:39:14 2010 -0800 Update Sun license notices to current X.Org standard form Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 1aaa7c0358c5c035b99625f5715cb722bc2d2a2f Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Jan 14 08:28:22 2010 -0800 Add %S substitutions to Compose man page Commit 9df349a7894725f9469b106af645f57f7f3f9af3 added support for %S in Compose file include statements - this documents it in the Compose file man page. Also changes the existing substitution documentation to list format instead of a paragraph format to allow easier adding of %S. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 94b45db93058cffa25598fe27dd3e385ace9d305 Author: Richard Purdie <rpurdie@linux.intel.com> Date: Thu Jan 14 08:04:28 2010 -0800 Fix configure.ac PKG_ macro calls If the first call to PKG_CHECK_MODULES() may not be called during execution which is the case here since its inside a case statement, call PKG_PROG_PKG_CONFIG() to ensure things worked correctly. Fixes a configure failure introduced by commit 87529c039050ce3336ff9ce00f1b5a21d15690da when xcb is enabled. http://bugs.freedesktop.org/show_bug.cgi?id=26041 Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit df559d8bc2238a2c369152fcb06e5b5ab132a5dc Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Jan 12 09:18:15 2010 -0800 Raise xorg-macros requirement to 1.4 Needed since the changes in 464390f16d7ed4aa5bf80f89863ba92273075ec2 depend on the INSTALL file delivered in xorg-macros 1.4 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 9df349a7894725f9469b106af645f57f7f3f9af3 Author: James Cloos <cloos@jhcloos.com> Date: Wed Jan 13 11:04:38 2010 -0500 Allow inclusion of system level compose files. With the release of XFree86 4.4 an inclusion system of compose files was added to Xlib to allow inclusion of the default compose file (with %L), any compose files from user’s home directory (with %H), or a compose file with a hard coded path¹. However, even today including system level compose files is not possible in a platform independent manner although the machinery for including compose files and overriding previously defined compositions is already in place. With the ability to include system level compose files one could greatly reduce the need for compose file rule duplication and the work needed to propagate changes in one compose file to others. For example, currently the Finnish compose file fi_FI.UTF-8 weights over 5000 lines² but it is almost identical with en_US.UTF-8 except for perhaps half a dozen compositions. This commit allows one to include system level compose files with the following kind of syntax: include "%S/en_US.UTF-8/Compose" 1] http://www.xfree86.org/4.4.0/RELNOTES5.html#42 2] http://cgit.freedesktop.org/xorg/lib/libX11/tree/nls/fi_FI.UTF-8/Compose.pre Signed-off-by: Marko Myllynen <myllynen@redhat.com> Signed-off-by: James Cloos <cloos@jhcloos.com> commit ccf21a8877f40136e25f2f62d0668b0c76b3cfbd Author: Thien-Thi Nguyen <ttn@gnuvola.org> Date: Tue Dec 1 10:31:47 2009 +0100 libX11: Fix comment: Invert polarity (direction) of reformat description. Signed-off-by: Thien-Thi Nguyen <ttn@gnuvola.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 4d4676c0d6324d2ff9d00d15ab485fa5d848a369 Author: Osamu Sayama <osamu.sayama@sun.com> Date: Tue Jan 5 17:26:40 2010 -0800 set_fontset_extents crash after get_rotate_fontname fix in 2bef065b70f7 - In set_fontset_extents, check font_data is not NULL before running loop that may increment it to a non-NULL invalid pointer. - Make sure get_rotate_fontname counts the final field Fixes OpenSolaris bug 6913809: X application dumps core in ja_JP.UTF-8 locale <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6913809> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by: Adam Jackson <ajax@redhat.com> commit 87529c039050ce3336ff9ce00f1b5a21d15690da Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Jan 5 18:02:37 2010 -0800 Merge X11, XKBPROTO, & XPROTO pkg-config lists Since the XPROTO_CFLAGS & XKBPROTO_CFLAGS are just merged into X11_CFLAGS in configure.ac anyway, might as well combine the lists passed to PKG_CHECK_MODULES to reduce duplication in the flags. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by: Rémi Cardona <remi@gentoo.org> Acked-by: Peter Hutterer <peter.hutterer@who-t.net> commit 2dd053667b44c55e2bf601aec7b75fc6fee1cf44 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Jan 5 17:56:58 2010 -0800 Add XCompose man page shadow for Compose man page Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 02543bba816e065c02cd36e0c9e21519a9ee9c96 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Jan 5 17:47:44 2010 -0800 Add $(AM_V_GEN) to silence lint rules too Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit db7c6fdeeaef9475458498e4cf09d6b1329e9aa3 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Jan 5 17:42:42 2010 -0800 Remove GCC_WARNINGS now that XORG_CWARNFLAGS sets them for us Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 6b4e526e7ba105622f6b143e8e2639b44cb6cc19 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Nov 29 10:44:24 2009 -0500 configure.ac: restore correct order for XORG_DEFAULT_OPTIONS It must be following AC_USE_SYSTEM_EXTENSION commit 3dbaa11d1c8705e1b309c6686f354766b651ad20 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Nov 29 10:01:44 2009 -0500 Add .gitignore in /specs for generated files Being in /specs, it will apply for all 3 subdirs commit f45d39d37aab04742e44cd8c3c993aad7587e40c Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Nov 27 20:56:03 2009 -0500 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES Now that the INSTALL file is generated. Allows running make maintainer-clean. commit 464390f16d7ed4aa5bf80f89863ba92273075ec2 Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Oct 28 14:09:10 2009 -0400 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 Add missing INSTALL file. Use standard GNU file on building tarball README may have been updated Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet. commit 6360e7f0ce6a75da2bed33ede7fea783a1fb80e1 Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Oct 27 15:07:25 2009 -0400 Deploy the new XORG_DEFAULT_OPTIONS #24242 This macro aggregate a number of existing macros that sets commmon X.Org components configuration options. It shields the configuration file from future changes. commit d02f943c98fde2f14319bc57fd9ad77eb9a2a572 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Oct 26 22:08:42 2009 -0400 Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 ChangeLog filename is known to Automake and requires no further coding in the makefile. commit f77c89c751a6a63c8ef11ecdddca2aed11ff6e29 Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Oct 22 12:34:19 2009 -0400 .gitignore: use common defaults with custom section # 24239 Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults. commit 46c7b0e9d0d85cf5ccc0d40d19821fcc3335503b Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Nov 12 23:05:40 2009 -0800 Add compose-check.pl to EXTRA_DIST Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 54c64267cc8bc98641cc39a22cb7bd71673e89e0 Author: Julien Cristau <jcristau@debian.org> Date: Thu Oct 29 17:17:24 2009 +0100 man: fix XCopyGC argument order Ubuntu bug#408337 commit aad10032651cdc2a53b359035954454a28d6db67 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Oct 23 13:55:14 2009 -0700 libX11 1.3.2 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 6303ada89cb228c0f9656036f798703afb42fc29 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Wed Oct 21 12:42:07 2009 +1000 Add smiley faces to compose sequences. I wonder how we could have lasted that long without them. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Daniel Stone <daniel@fooishbar.org> Acked-By: James Cloos <cloos@jhcloos.com> commit 0e104ebd8628803c27e36b16922ad1edd891325a Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Oct 22 23:12:30 2009 -0700 Add man page for Compose file format Based on grammar description in modules/im/ximcp/imLcPrs.c and note on XFree86 changes formerly found in xorg-docs RELNOTES.sgml Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 9c95f2af7c442b3a59b1a30cf804f1ef4e7fc5b5 Author: Jeremy Huddleston <jeremyhu@freedesktop.org> Date: Tue Oct 20 12:46:03 2009 -0700 Add extra configuration and sanity checks for groff and ps2pdf 1) Add AC_ARG_VAR for GROFF and PS2PDF to inform users of these environment variables. 2) Check that groff -ms works Some distributions ship the ms macros as a separate package which may not be installed together with groff, so we need to make sure that groff works and the required macros are actually installed before attempting to build the specs. Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org> Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> commit d3f801fd2f9198eaad6797414dba652f9c006c6d Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Date: Sun Oct 18 17:34:53 2009 -0500 Fix VPATH build of libX11 specs Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> commit ad15e1a89d30ccc11d80745897b83def1448e8c0 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Oct 17 16:14:34 2009 -0700 libX11 1.3.1 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 0cbf98c17a7484bb58b2464b98d63bb3b4ea2594 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Oct 17 16:28:25 2009 -0700 Fix make distcheck Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 082e62ad268ef16a3bebc5a3c9fa008dbdc483ed Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Oct 16 19:25:35 2009 -0700 Use $(AM_V_GEN) to silence echo commands for generating shadow man pages Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 4e66da0783b2e5e3b288aaecd3c89396ed425c20 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Oct 14 16:18:24 2009 -0700 Move libX11 & XIM/locale specs from xorg-docs If groff is found, and --disable-specs is not passed to configure, specs will be converted to text, html and ps (or pdf if ps2pdf is found) and installed to $(docdir) Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 5d3d817a42ddcc8d0c6efd33efd1442fe14f5c6b Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Date: Tue Oct 13 19:15:51 2009 -0500 Provide _Xsetlocale compat wrappers on Cygwin Previous versions of Cygwin did not have proper locale support, so Cygwin/X defined X_LOCALE, using _Xsetlocale instead. Cygwin 1.7 has added locale support, but we can't remove the _Xsetlocale entry point without breaking ABI. Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> commit 2c8b3a877a713bb66a6316a7051b43c46af6e1a0 Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Date: Tue Oct 13 19:15:49 2009 -0500 dolt: add Cygwin to supported platforms Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> commit a2c8e3e34b15b57ff881a52101fc961a602f35e4 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Oct 14 13:23:30 2009 -0700 Recognize XSUNBUFFERSIZE alias for XLIBBUFFERSIZE on Solaris Also fix indenting of the XLIBBUFFERSIZE code to match surrounding code Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 34ddfca7b7d58240b0fe74bec6b2e0652d15c051 Author: Jon TURNEY <jon.turney@dronecode.org.uk> Date: Tue Feb 10 17:47:25 2009 +0000 Include sys/select.h for select() and struct timeval, if it exists This is a cygwin build fix commit 383165916ddac91740d4c780174d4c0d07cdb994 Author: Xake <xake@rymdraket.net> Date: Sun Sep 27 11:16:36 2009 +0200 Use AM_V_GEN instead of customized macros for AM_SILENT_RULES Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 854269d55cdda8caf425515bfed2855e211a5ada Author: Julien Cristau <jcristau@debian.org> Date: Tue Oct 6 16:11:24 2009 +0200 configure: quote argument to m4_pattern_forbid Without this, configure spits out ../configure: line 12364: ac_fn_c_check_member: command not found ../configure: line 12378: ac_fn_c_check_type: command not found Also anchor the pattern to make it stricter. Signed-off-by: Julien Cristau <jcristau@debian.org> commit 3bb020587ce74e0737ec7aceb20041f1e77d3b87 Author: Jeremy Huddleston <jeremyhu@freedesktop.org> Date: Thu Oct 1 22:20:38 2009 -0700 Split CFLAGS into CPPFLAGS and CFLAGS On some build systems, CPPFLAGS is set to "-I/some/prefix/include". If older X11 headers are in /some/prefix/include, they will be preferred over the shipped headers. This corrects that problem. commit d54caf1c9c55af8247621b7ba6afb20b23699839 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Fri Oct 2 10:59:08 2009 +1000 libX11 1.3 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit dd201bcf9e7f8863b7ef32273a5ef021678133c1 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Fri Oct 2 12:10:29 2009 +1000 nls: remove duplicate Compose sequences from pt_BR.UTF-8 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit a293ae9e83739067fc92db1a39c262857bc2283e Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Fri Sep 25 11:19:41 2009 +1000 Add XF86TouchpadToggle to XKeysymDB Lenovo laptops provide a key to enable or disable the touchpad and the trackstick. This key is usually located on Fn + F8. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Adam Jackson <ajax@redhat.com> commit 69839f8903a24eab08f17a781b3797fb64dce9cf Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sun Sep 27 10:34:16 2009 -0700 Bug 24173: libX11 from git fails to build with automake older then 1.11 AM_CONDITIONAL must come *before* the AC_OUTPUT that creates the Makefiles, instead of after. <http://bugs.freedesktop.org/show_bug.cgi?id=24173> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit f5effd041f58ef07703cca2b4f396758811e1eec Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Apr 15 10:59:23 2009 -0700 Resolve conflicting Compose sequences in iso8859-2, el_GR.UTF-8 & pt_BR.UTF-8 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 3843778358d3a0cd6a2d07dba5dd061248053ac9 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Apr 15 10:56:09 2009 -0700 Add perl script to check for duplicate or conflicting compose file entries Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 19cc5e1fa17a285045662820a8b4de2a0f9a194d Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Sep 18 17:10:04 2009 -0700 Use make rules instead of shell for loops to generate shadow man pages Allows parallel make and simpler build logs/error reporting Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 7dabcac973d0b6692a3cd62bd6d8e0467b24200b Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Sep 18 16:58:53 2009 -0700 Add AM_SILENT_RULES support for cpp rules for man & nls files Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit bfa19cddd8546b4930a773f3bbd81137c362d82b Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Sep 18 16:58:16 2009 -0700 Update to using xorg-macros 1.3 & XORG_DEFAULT_OPTIONS Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 51396066c8003a96a6399c9a4bed2a81e512b582 Author: Mikko Niskanen <mikko.niskanen@iki.fi> Date: Fri Sep 4 10:11:15 2009 +1000 Fix wrong typedef on HP-UX (#18998) shl_dt doesn't exist, the type is shl_t. X.Org Bug 18998 <http://bugs.freedesktop.org/show_bug.cgi?id=18998> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 615220a312b9430a580fe6dcf51703c6ef244f66 Author: Paul Bender <pebender@gmail.com> Date: Fri Sep 4 09:57:10 2009 +1000 Don't require xdmcp in configure.ac (#22583) X.Org Bug 22583 <http://bugs.freedesktop.org/show_bug.cgi?id=22583> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 20f9ecd86ad2a9ac6966f7eee32234cb5ef77c29 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Thu Sep 3 14:02:44 2009 +1000 man: fix parameters to XkbAllocGeomOverlay{Rows|Keys} (#23499) X.Org Bug 23499 <http://bugs.freedesktop.org/show_bug.cgi?id=23499> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit c2814a614dc4d9409bfa0f44c18bfd69ad7f7b85 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Thu Sep 3 12:05:25 2009 +1000 man: XQueryTree may return BadWindow. (#23416) X.Org Bug 23416 <http://bugs.freedesktop.org/show_bug.cgi?id=XXX> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit dbe98d456ccc6eeca9fa3e241a3db0a4d83c5a65 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Aug 28 23:07:58 2009 +0800 Fix version tag in .TH line of several XKB man pages Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit bf24400936c10af6f5aa0c75cfe2207ab9b680b4 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Aug 28 23:04:38 2009 +0800 XkbSetDeviceButtonActions.man: remove non-existent actions argument Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 53affa9335116f2d367f041e6502a411d4619e47 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Aug 28 23:00:17 2009 +0800 XkbQueryExtension.man: Arguments should be pointers Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 6233948885acc5873a5abddfff235afec555f3c2 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Aug 28 22:53:03 2009 +0800 XkbSAActionSetCtrls.man: Fix typo in formatting macro Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 28a9ca57cdec4aa9ca92322f963b01f0c2daf47a Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Aug 28 22:49:31 2009 +0800 Convert Xkb API man pages to ANSI prototypes Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit fa2eecca85baab9616f7143cc1a853a594b4a90c Author: James Cloos <cloos@jhcloos.com> Date: Mon Aug 24 06:35:17 2009 -0400 Add some (Serbian) Cyrillic NFD sequences. A number of characters in use in the various countries which use the Cyrillic script do not appear as pre-composed characters in The UCS or Unicode; they are only available as combining-character sequences. This commit adds support for using (prefix) dead keys and Multi_key- initiated sequences to enter a number of these combining-character sequences. This ensures that users can enter these scripts even when using the current Cyrillic keymaps, which lack support for the combining characters. Please see the discussions on the xkb mailing list. Signed-off-by: James Cloos <cloos@jhcloos.com> commit d1bdc909f9246119696c8b0d9afb7bd8afb71b60 Author: Julien Cristau <jcristau@debian.org> Date: Wed Aug 5 18:14:23 2009 +0200 man/xkb: delete spurious newline in .TH headers commit ee723b83b24682db833a2f0abd96cd319b8a62af Author: Julien Cristau <jcristau@debian.org> Date: Wed Aug 5 16:45:19 2009 +0200 man: use __libmansuffix__ instead of 3X11 for references to other pages commit 595e204feb82c798a92eea41fea03be6476ac181 Author: Julien Cristau <jcristau@debian.org> Date: Wed Aug 5 16:43:36 2009 +0200 man/xkb: use __libmansuffix__ instead of hardcoding 3Xkb for manpage sections commit 9da7e230d5320e1556ad2084fcd06ee7994385ea Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Wed Aug 5 14:15:02 2009 +1000 Bump to 1.2.99.901 (1.3 RC1) Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 8f78c7b4e3570cd46c5a220982963c17fe2157b8 Author: Filippo Giunchedi <filippo@debian.org> Date: Sat Jun 6 16:56:54 2009 +0200 nls: add {left,right}wards arrow to compose table Debian bug#532117 <http://bugs.debian.org/532117> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 7949bfa00390241d994f32463e50d4bd78920568 Author: Julien Cristau <jcristau@debian.org> Date: Fri Jul 31 13:33:52 2009 +0200 Update library version for new symbols Commit 554f755e5545f63d3c8f299297927238da155773 added generic event cookie handling. Bump libX11 version number accordingly. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 640fec5f4feacd01a00eea3dcd4edb220907d3dc Author: Julien Cristau <jcristau@debian.org> Date: Sun Aug 2 17:18:31 2009 +0200 Add _XFUNCPROTOBEGIN/END to Xlib-xcb.h X.Org bug#22252 <https://bugs.freedesktop.org/show_bug.cgi?id=22252> Reported-by: Riku Salminen <rsalmin2@cc.hut.fi> Signed-off-by: Julien Cristau <jcristau@debian.org> commit bc06d49e9dac1836d6824769ddb2ac5ba9f14df7 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Wed Jul 29 08:44:09 2009 +1000 Fix compiler warning 'unused variable qelt' Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 03f4907e14f5755e72309f08742977b871e81e33 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Wed Jul 29 08:34:57 2009 +1000 Add utlist.h to the Makefile.am utlist.h contains the linked list macros, it was added with the recent addition of event cookies but utlist.h wasn't added to the Makefile.am. As a result, make dist failed. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 554f755e5545f63d3c8f299297927238da155773 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Fri Jun 26 11:27:43 2009 +1000 Add generic event cookie handling to libX11. Generic events require more bytes than Xlib provides in the standard XEvent. Memory allocated by the extension and stored as pointers inside the event is prone to leak by simple 'while (1) { XNextEvent(...); }' loops. This patch adds cookie handling for generic events. Extensions may register a cookie handler in addition to the normal event vectors. If an extension has registered a cookie handler, _all_ generic events for this extensions must be handled through cookies. Otherwise, the default event handler is used. The cookie handler must return an XGenericEventCookie with a pointer to the data.The rest of the event (type, serialNumber, etc.) are to be filled as normal. When a client retrieves such a cookie event, the data is stored in an internal queue (the 'cookiejar'). This data is freed on the next call to XNextEvent(). New extension interfaces: XESetWireToEventCookie(display, extension_number, cookie_handler) Where cookie_handler must set cookie->data. The data pointer is of arbitray size and type but must be a single memory block. This memory block represents the actual extension's event. New client interfaces: XGetEventData(display, *cookie); XFreeEventData(display, *cookie); If the client needs the actual event data, it must call XGetEventData() with the cookie. This returns the data pointer (and removes it from the cookie jar) and the client is then responsible for freeing the event with XFreeEventData(). It is safe to call either function with a non-cookie event. Events unclaimed or not handled by the XGetEventData() are cleaned up automatically. Example client code: XEvent event; XGenericEventCookie *cookie = &ev; XNextEvent(display, &event); if (XGetEventData(display, cookie)) { XIEvent *xievent = cookie->data; ... } else if (cookie->type == GenericEvent) { /* handle generic event */ } else { /* handle extension/core event */ } XFreeEventData(display, cookie); Cookies are not multi-threading safe. Clients that use XGetEventData() must lock between XNextEvent and XGetEventData to avoid other threads freeing cookies. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit d7675cb8fa7155e7aff1459636a117a97aa1bf28 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Mon Jul 6 13:17:35 2009 +1000 Bump to 1.2.99.1 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 75fe48e7a42a685d7098e8d7108b9b956c471563 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Fri Jul 10 14:07:34 2009 +1000 Bump to 1.2.2 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 5d0fe0e0e92759af5667c5dca2eacb1b6f2d66ea Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Thu Jul 2 09:10:25 2009 +1000 XMaskEvent/XCheckMaskedEvents must not check for GenericEvents. GenericEvent cannot be selected for in the core event masks and they must thus be treated like extension events. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit c1bf65b89f4e361f6178a73dd5334c8f2bd95732 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Thu Jul 2 09:06:05 2009 +1000 XWindowEvent/XCheckWindowEvent must not return GenericEvents. GenericEvents have no fixed position for the window, so they must be treated like extension events. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 38f9054554d63525d2dd51aafb5eb57821158ab9 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Jun 15 19:00:43 2009 -0700 Drop ancient USG SysV #ifdefs Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 7bfe1323f16a1a69cc474659f7ac0c2570b1cf42 Author: Adam Jackson <ajax@redhat.com> Date: Fri Jun 12 12:44:01 2009 -0400 Remove X_NOT_STDC_ENV usage. (#6527) commit 6dd74d7fb414ca1e99bae5c13e333961f396eb36 Author: Julien Cristau <jcristau@debian.org> Date: Fri May 29 11:18:11 2009 +0200 nls: remove more duplicated aliases Signed-off-by: Julien Cristau <jcristau@debian.org> commit e4b0899f516da224010e68bd2d953d5293d94993 Author: parag <parag@rawhideTM.pnq.redhat.com> Date: Thu May 28 11:29:35 2009 +0530 nls: Add pa_PK locale information and make pa_IN as default for pa. X.Org bug#21954 <http://bugs.freedesktop.org/show_bug.cgi?id=21954> [jcristau: removed the pa_PK.UTF-8 alias to itself] Signed-off-by: parag <pnemade@redhat.com> Signed-off-by: Julien Cristau <jcristau@debian.org> commit f0ea1f6d51145592f8617854f9320ec5dbff3299 Author: Julien Cristau <jcristau@debian.org> Date: Fri May 29 10:58:20 2009 +0200 nls: remove broken sd_IN.UTF-8 alias Signed-off-by: Julien Cristau <jcristau@debian.org> commit e29e010dabdb17d6498f2ef1786f69b8830c18ca Author: Julien Cristau <jcristau@debian.org> Date: Fri May 29 10:57:43 2009 +0200 nls: remove duplicated en_US* aliases Signed-off-by: Julien Cristau <jcristau@debian.org> commit a89a300d87852c84389ad97db66dcb8930cb45dd Author: Caolan McNamara <caolanm@redhat.com> Date: Thu May 21 18:41:05 2009 +0200 man: missing space in XAllocColor man page X.Org bug#21854 <http://bugs.freedesktop.org/show_bug.cgi?id=21854> commit c1c001e36504fd304f76f69bf6af3643225c49ea Author: James Cloos <cloos@jhcloos.com> Date: Wed May 13 13:03:54 2009 -0400 [nls] Replace remaining UCS Combining Characters in Compose sequences. The replaces the instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, where the keysym is used as a dead_key, with an actual dead_key symbol. The only remaining instances of UCS combining characters in the compose sequences are of U0338 COMBINING LONG SOLIDUS OVERLAY used as a suffix in Multi_key-initiated sequences to create mathematics characters such as ∉ U+2209 NOT AN ELEMENT OF from ∈ U+2208 ELEMENT OF. commit e2b0bad3d3b9e9ca781fc264eb7584afbe2a1a4f Author: James Cloos <cloos@jhcloos.com> Date: Wed May 13 09:58:59 2009 -0400 [nls] Remove extraneous instances of UCS Combining Characters in Compose sequences. This removes those instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, where the matching keysym is used as a dead_key, and for which alternative compose sequences exist. commit 79f47e6dff2f0a0b673bbfecc47528edca814baa Author: James Cloos <cloos@jhcloos.com> Date: Fri May 8 20:11:54 2009 -0400 [nls] Remove combining_ keysyms from the Compose files Some of the UTF-8 Compose tables included combining_ keysyms in the compose sequences as though they were dead symbols. This is contrary to how combining characters are used in the UCS. Therefore, those lines have been removed from the Compose tables. There were also some combining_ keysyms as targets. As those are not included in x11proto’s keysymdef.h, and as those do exist there as Uxxxx keysyms, they are replaced with the Uxxxx keysym names. This addresses http://bugzilla.freedesktop.org/show_bug.cgi?id=5107 and is based on attachment 25644 by samuel.thibault@ens-lyon.org. Signed-off-by: James Cloos <cloos@jhcloos.com> commit 4a08a3dfbda497b2be46e3e5fe6b777815ea27f9 Author: parag <pnemade@redhat.com> Date: Tue May 5 16:50:47 2009 +0530 libX11: Add new Indic language information to nls directory files. #21560 Signed-off-by: parag <pnemade@redhat.com> commit aaf81096eb44b4c2812108721ba02738391884da Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat May 2 01:38:14 2009 -0700 Correct return type in XkbGetKeyboard man page Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 2bef065b70f70af520b5de8fb23529254d15f003 Author: Christoph Pfister <christophpfister@gmail.com> Date: Mon Apr 27 22:32:57 2009 -0700 X.Org Bug #21117: crash in get_rotate_fontname (omGeneric.c) http://bugs.freedesktop.org/show_bug.cgi?id=21117 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 5c1cde105db10df24d3c532f032cbc59050c7313 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Apr 17 22:14:47 2009 -0700 Use AC_USE_SYSTEM_EXTENSIONS instead of hand-rolled check for _GNU_SOURCE Raises minimum autoconf version required to 2.60 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 84b7a91ef84f345384e4b0e13907385ca3ca3255 Author: Julien Cristau <jcristau@debian.org> Date: Tue Apr 14 15:59:57 2009 +0100 Fix fi_FI.UTF-8, again Commit 97fc6babd4ccaf300e25708868aa2a738893dc30 "NLS: Add UTF-8 compose file for Finnish" made fi_FI.UTF-8 use a broken empty XLC_LOCALE file. This reverts it back to using the en_US.UTF-8 one. commit 128daff4422f973ea40dd1e31b2db230e643549e Author: Theppitak Karoonboonyanan <thep@linux.thai.net> Date: Thu Apr 9 12:01:07 2009 +0700 Thai XIM not retrieve MB surrounding on UTF-8 LC On th_TH.UTF-8 locale, Thai XIM rejects all combining characters for GTK+ apps that use X Input Method. This is because GTK+ imxim immodule passes surrounding text in locale encoding, which is UTF-8 for UTF-8 locales. But current Thai XIM in Xlib assumes the multi-byte StringConversionText response for the StringConversionCallback to always be TIS-620, by retrieving a single byte and using it as-is. If the Thai XIM tries to convert the multi-byte text based on locale codeset before using it, it will work again. X.Org But 12759 <http://bugs.freedesktop.org/show_bug.cgi?id=12759> Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> Signed-off-by: Julien Cristau <jcristau@debian.org> commit e09f0d227fbf95b6252759af9d426efd57686f9f Author: Theppitak Karoonboonyanan <thep@linux.thai.net> Date: Thu Apr 9 11:47:55 2009 +0700 Thai XIM not filters when NumLock or CapsLock is on The Thai XIM component in libx11 activated on 'th*' locales normally filters input sequence according to orthographic rules. However, when NumLock/CapsLock is on, this stops working. All sequences are passed through. This is caused by missing masks in _XimThaiFilter(), which normally screens out certain special keys from entering orthographic rules. Unfortunately, this included events with NumLock/CapsLock on. Negating the masks from the check allows the events to be tested by the rules. X.Org Bug 12517 <http://bugs.freedesktop.org/show_bug.cgi?id=12517> Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> Signed-off-by: Julien Cristau <jcristau@debian.org> commit d108d3c706af3502820b5202564488ea19908b77 Author: Theppitak Karoonboonyanan <thep@linux.thai.net> Date: Thu Apr 9 11:25:25 2009 +0700 CharSet-to-CompoundText Conversion Failed for Thai Locales SCIM fails to commit Thai input characters on Thai locales, because it commits string in compound text form, which was converted via XwcTextListToTextProperty(). But the XLC_LOCALE for th_TH and th_TH.UTF-8 declares cs1's ct_encoding as TIS620-0:GR, which was commented out in src/xlibi18n/lcCT.c default_ct_data, in favor of ISO8859-11 ESC sequence. So, declaring cs1 as ISO8859-11:GR instead makes it work. Besides, for th_TH.UTF-8, adding cs2 class with ISO10646-1 encoding also adds support for UTF-8 input. And, along discussion in the bug, a similar problem was found for fontset, too, by causing delays on X apps startups on systems without tis620-0 fonts. This is normally the case, as mkfontdir and mkfontscale generate iso8859-11 entries by default for Thai X fonts. So, Thai fontset charset is also patched. X.Org Bug 16475 <http://bugs.freedesktop.org/show_bug.cgi?id=16475> Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> Signed-off-by: Julien Cristau <jcristau@debian.org> commit fd62d3318c846cd43d66a505946e94704d7d83dc Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Apr 8 19:42:25 2009 -0700 Revert "Change masculine to ordmasculine in Compose file comments" This reverts commit 892b401d5acc055803a20e349ede0d64490f2230. As Julien Cristau correctly points out, I misread the Compose file grammar in modules/im/ximcp/imLcPrs.c, and those are keysyms, not comments, and the keysym is named XK_masculine in keysymdef.h. This change is thus a bug in the Solaris compose tables to be fixed, not an improvement to bring upstream. commit eac57c77afdf44f50692225b8b0345a7c927bc84 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Apr 7 15:38:45 2009 -0700 Version bump: 1.2.1 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit bfbec08baec33c5024510b0bcbbee6e4a8473e79 Author: Yaakov Selkowitz (Cygwin Ports maintainer) <yselkowitz@users.sourceforge.net> Date: Tue Apr 7 13:46:57 2009 -0700 Bug 20773: Xcursor dynamic loading on Cygwin X.Org Bug #20773 <http://bugs.freedesktop.org/show_bug.cgi?id=20773> Patch #24096 <http://bugs.freedesktop.org/attachment.cgi?id=24096> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit c8c41614911be4fa222fa22478677d263b41c751 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Apr 6 16:52:46 2009 -0700 Fix a several sparse warnings: Using plain integer as NULL pointer Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit b336c3d0cc2aefc8926500cff5f76b5a3e803886 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Apr 6 16:32:05 2009 -0700 Further ansify prototypes & reduce #ifdefs in locking.c Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 892b401d5acc055803a20e349ede0d64490f2230 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Apr 6 10:50:09 2009 -0700 Change masculine to ordmasculine in Compose file comments Matches the ordfeminine name used for the matching character, and the ordmasculine name used in many font descriptions of the glyph. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit e3198b55dc16ec57346cc28aa8d34165ce8cde96 Author: Julien Cristau <jcristau@debian.org> Date: Fri Mar 13 13:52:33 2009 +0100 Add a ru_RU.UTF-8 locale Based on patch by Eugene Konev <ejka@imfi.kspu.ru> for X.Org 6.9.0. Debian bug#330144 <http://bugs.debian.org/330144> X.Org bug#15887 <http://bugs.freedesktop.org/show_bug.cgi?id=15887> commit d239de9452691d6f875e6e5ace3d499ec3bf14d9 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Mar 25 17:59:09 2009 -0700 Delete some unused "#ifdef notdef" static functions Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 4281892e31058ef3aecc96a5767824b34d88d415 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Mar 25 17:52:48 2009 -0700 Remove _XP_PRINT_SERVER_ #ifdefs from Xrm.c This copy of Xrm.c is never compiled into the Xprint server any more, so this old code-sharing #ifdef from the monolith tree isn't needed. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 27a2e16e8ea11c1604e28645fae4d6ba4371d513 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Mar 17 18:38:58 2009 -0700 makekeys: combine malloc(strlen)+strcpy into strdup Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 78a894231ae8ec4959007b6d9b8d2a15d6333a1e Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Mar 17 15:42:19 2009 -0700 When makekeys fails to find a good hash, print error instead of divide-by-zero Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit c9f84af591d15fbc3fa890bcd955d94f1ff82a0b Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Mar 17 14:59:16 2009 -0700 Remove ifdef checks for macII left over from ancient A/UX 3.0 support Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 4b90da0ffb32b791d915ecae11996cc2f2cac9a7 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Mar 16 18:37:49 2009 -0700 XErrorDB additions for DRI2 requests Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 273f45af1441be9d2135e4cac8c46ceb33470236 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Mar 16 18:35:44 2009 -0700 XErrorDB additions for XInput errors and new XInput 1.5 requests Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 90ef36f6336068183bf9d13ca972202db35b1202 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Mar 16 18:23:05 2009 -0700 XErrorDB additions for RANDR 1.3 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 124a4efaccf329f1a44f6b824e70278bdd1cad83 Author: Lubos Lunak <l.lunak@suse.cz> Date: Mon Mar 16 18:03:36 2009 -0700 XErrorDB updates for XTEST, RANDR, DAMAGE extensions From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 80811846e37b805fddb37c71589fd5f6f6037b3f Author: Lubos Lunak <l.lunak@suse.cz> Date: Mon Mar 16 17:57:52 2009 -0700 XGetErrorText() fails for extension error codes equal to the error base From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit da95ecbbdcacc483cd0b5fd7db1fb2e2543341bd Author: Milos Komarcevic <miloskomarcevic@netscape.net> Date: Mon Mar 16 17:43:26 2009 -0700 Bug 11456: Serbian locale updates (sr_RS and sr_ME) X.Org Bug #11456 <http://bugs.freedesktop.org/show_bug.cgi?id=11456> Patch #23937 <http://bugs.freedesktop.org/attachment.cgi?id=23937> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 934a6c0519a9e32505beee55b004f36c2a710217 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Mar 16 14:55:22 2009 -0700 Bug 10082: Compose entries for some standard mathematical operators X.Org Bug #10082 <http://bugs.freedesktop.org/show_bug.cgi?id=10082> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit abf4da1ed0f735ca7ce471dc13a0ec3677391486 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Mar 16 14:27:46 2009 -0700 Bug 14651: We need to add new locale specification for Belarusian Latin locale X.Org Bug #14651 <http://bugs.freedesktop.org/show_bug.cgi?id=14651> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 837703c8651e1321a50147a8311c56e4758ce08a Author: Caolan McNamara <caolanm@redhat.com> Date: Mon Mar 16 14:15:50 2009 -0700 Bug 20575: man page for XCreatePixmapFromBitmapData doesn't match signature X.Org Bug #20575 <http://bugs.freedesktop.org/show_bug.cgi?id=20575> Patch #23717 <http://bugs.freedesktop.org/attachment.cgi?id=23717> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 22199018879055d8653e59d8236bef57164fac66 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Mar 16 13:28:18 2009 -0700 Correct locale alias for sh_BA.ISO8859-2@bosnia (should be sr, not nr) Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 4c63c27eab2b88f5556dbf72c36321f50f6de35e Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Mar 12 18:57:20 2009 -0700 Bug 9953: Please provide locale alias hu_HU.utf8 X.Org Bug #9953 <http://bugs.freedesktop.org/show_bug.cgi?id=9953> Debian Bug #407573 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407573> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 501f4e0ada1690783ada05ad412e4b191ad55336 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Mar 12 17:38:21 2009 -0700 Bug 6820: Xlib shouldn't handle EAGAIN as a fatal IO error X.Org Bug #6820 <http://bugs.freedesktop.org/show_bug.cgi?id=6820> Patch #17637 <http://bugs.freedesktop.org/attachment.cgi?id=17637> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 7b9c543e7210c7da204871c31a160e79d3a949b6 Author: Paul Bender <pebender@gmail.com> Date: Thu Mar 12 17:11:42 2009 -0700 Bug 15664: xau & xdmcp not needed in x11.pc dependencies when built with xcb X.Org bug #15664 <https://bugs.freedesktop.org/show_bug.cgi?id=15664> Patch #16128 <https://bugs.freedesktop.org/attachment.cgi?id=16128> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit fd2cf1ef66c2aff3dc758956c9e9e567b9892c06 Author: Xue Wei <Wei.Xue@Sun.COM> Date: Wed Mar 4 19:32:29 2009 -0800 Add UTF-8 locale entries for es_US, kk_KZ, mt_MT, and sh_BA Sun bug 6809309 Add new utf8 locales supported by Xlib <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6809309> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit cb70c9bc43267577859a3674ca9de9be396ba69e Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Feb 23 19:29:15 2009 -0800 Add --with-locale-lib-dir configure option to set locale lib install dir Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit ccd3584f0330db8dac90b9313c33ab8b5b2ec6af Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Feb 23 18:33:51 2009 -0800 Incorporate more locale names/aliases from Solaris libX11 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 83ce4daefdf544f801c7d666c89162690a36ce41 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Feb 23 18:32:34 2009 -0800 Incorporate char range comments from Solaris version of ksc5601.h Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit ee279c84e34f1ebb8a6ff17d54ee146d11e29764 Author: Chris Ball <cjb@laptop.org> Date: Sat Feb 21 14:48:42 2009 -0500 Fix fi_FI locale install directory. fi_FI was setting "x11thislocaledir" to en_US, with the result that its locale data was written in that locale dir. Signed-off-by: Chris Ball <cjb@laptop.org> commit da6bbca07c796c69172a649405474f03bee66754 Author: Emilio Jesús Gallego Arias <egallego@babel.ls.fi.upm.es> Date: Sat Feb 21 20:17:23 2009 +0100 xcb_io: Avoid datatype overflow on AMD64 and friends. commit 4ef6491afa69e8441caee7bbebc583e6e796275e Author: Chris Ball <cjb@laptop.org> Date: Sat Feb 21 12:51:03 2009 -0500 Build fix for fi_FI. Commit 642c4e928e770e0.. instructs make to enter nls/fi_FI, but no Makefile is written there by configure. Signed-off-by: Chris Ball <cjb@laptop.org> commit 642c4e928e770e012379539a6ce09e11c02f09a6 Author: Julien Cristau <jcristau@debian.org> Date: Sat Feb 21 03:12:05 2009 +0100 nls: actually use the fi_FI.UTF-8 files The subdir wasn't added to nls/Makefile.am commit 9bad8309ef289bb943651abf6967b24fa2252aac Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Feb 20 14:45:54 2009 -0800 flags member of Display structure needs to be marked volatile Since the Xlib multithreaded code checks the flags variable in _XFlushInt to see if the other threads are done yet, it has to be marked volatile so the compiler doesn't optimize out re-loading it on each trip through the while loop and end up in an impossible-to-exit infinite loop of CPU chewing. Part of fix for Sun bug 6409332: infinite loop in XFlushInt() on x86/32-bit <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6409332> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit ef5c446395aa30d7b1096a112e241a81c5b358e7 Author: Xue Wei <Wei.Xue@Sun.COM> Date: Fri Feb 20 15:12:35 2009 -0800 Add nn_NO.UTF-8 to compose.dir.pre for Norwegian Nynorsk Sun bug 6691236: Swing applications dump core when locale is nn_NO.UTF-8 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691236> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 3822f2654e9630167f0c6cae317b472c09771672 Author: Xue Wei <Wei.Xue@Sun.COM> Date: Fri Feb 20 15:03:51 2009 -0800 Add locale aliases for no_NO & sh_BA locale variants Fixes Sun bug id 6691219: xterm refuses to start in some locales <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691219> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 63b6b5b5f522c0a606b32163c643edb64ca91d54 Author: Xue Wei <Wei.Xue@Sun.COM> Date: Fri Feb 20 14:23:11 2009 -0800 Add kk_KZ.UTF-8 to locale.dir.pre for Kazakhstan Fixes Sun bug id 6737254 ("kk_KZ.UTF-8 locale: In Java applications changing keyboard layout with gimlet does not work") <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6737254> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit d497301707962f3b94542e999a36abffcfbd303d Author: Julien Cristau <jcristau@debian.org> Date: Tue Feb 17 16:09:41 2009 +0100 Bump to 1.2 commit 990e71361d1d7b79bf07b1dc93e4e905d4f1bdaf Author: Julien Cristau <jcristau@debian.org> Date: Tue Feb 17 15:23:40 2009 +0100 Check Xmalloc return value in _XConnectXCB X.Org bug#19137 <http://bugs.freedesktop.org/show_bug.cgi?id=19137> Signed-off-by: Julien Cristau <jcristau@debian.org> commit b4b5893f69419ff577bbaa4d18f78e4ffd729a0c Author: James Cloos <cloos@jhcloos.com> Date: Sat Feb 14 12:35:56 2009 -0500 dolt: allow older versions of bash to compile the library Cf xserver commit 7be6520d and bugzilla #19031. commit 20982d6866e24453642b0b592fa0f13a88aa747c Author: Will Thompson <will@willthompson.co.uk> Date: Thu Feb 5 02:53:06 2009 +1100 NLS: Compose: Non-aliasing CCCP Oops, cccp aliased cc for question mark. Upper-case it to avoid fail. Signed-off-by: Will Thompson <will@willthompson.co.uk> Signed-off-by: Daniel Stone <daniel@fooishbar.org> (sorry) commit f052665394f3f0319e93a98f1d5d4ea287e1dd07 Author: Will Thompson <will@willthompson.co.uk> Date: Wed Feb 4 14:51:11 2009 +0000 Add two essential compose sequences Signed-off-by: Will Thompson <will@willthompson.co.uk> Signed-off-by: Daniel Stone <daniel@fooishbar.org> commit d7bea6fa909bf34c43efe0ca8239ab0f9f3a415f Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Feb 2 20:34:31 2009 -0800 Add README with pointers to mailing list, bugzilla & git repos Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit f682c27e93512773122887d2cbabb1657af45d2e Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Mon Feb 2 16:36:39 2009 -0200 Check if a function argument is NULL. This was an addition to patch (also by me) https://bugs.freedesktop.org/attachment.cgi?id=14660 that was not added when rediscovering/correcting the problem. commit 427e9d45d424b84efd9fc499aebf8d72392844c5 Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Thu Feb 28 15:58:12 2008 -0300 Allow multiple inclusions of cursorfont.h, cosmetic patch. commit b91524a53e691f6a5d278fd8972b48a14ebeedeb Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Thu Feb 28 15:54:43 2008 -0300 Don't add prototypes for functions that don't exist. Note that a full review was not done, only for functions that receive char/short arguments, or one of it's parameters is a function pointer that requires char/short arguments. commit 537eb52fe266ac439c4b383bb04a70017b709911 Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Thu Feb 28 15:50:27 2008 -0300 WORD64 compile fix. This bug catched on a overview of the code. The code is wrong since the first git revision, so it seens that it has not been compiled with WORD64 for quite some time, there is also another interesting code in xkb/XKBRdBuf.c: <hash>ifdef WORD64 _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 <hash>endif and possibly there are other similar problems. commit ffd0300fb74c6183208ae599133f2ded09e08d97 Author: Brian Rogers <brian@xyzw.org> Date: Sat Jan 31 10:37:51 2009 -0800 Initialize event_notify after allocating the memory for it. An uninitialized or otherwise invalid condition variable can apparently cause a hang in pthread_cond_broadcast. Ekiga, openoffice, and xine at least are freezing as a result of event_notify never being initialized. Signed-off-by: Brian Rogers <brian@xyzw.org> Signed-off-by: Bart Massey <bart@cs.pdx.edu> commit 97fc6babd4ccaf300e25708868aa2a738893dc30 Author: James Cloos <cloos@jhcloos.com> Date: Thu Jan 29 20:10:41 2009 -0500 NLS: Add UTF-8 compose file for Finnish From bug report: https://bugs.freedesktop.org/show_bug.cgi?id=18747 commit 1bd2966ed88f83479a066c6ca7da23a515979550 Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Thu Jan 29 20:25:15 2009 -0200 patches to avoid gcc warnings for libX11 (#4) Author is Peter Breitenlohner <peb@mppmu.mpg.de> Bug #17946, attachment #19443 This patch avoids the gcc warning ../../../../libX11-1.1.5/modules/im/ximcp/imDefLkup.c:223: warning: passing arg 1 of `_XimProcSyncReply' from incompatible pointer type (same as already done at other places) BTW: what is the difference between XIM (the type of ic->core.im) and Xim ? commit f16dd6af3eb17a25b8ee03d6617a7acc6e919fb0 Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Thu Jan 29 20:22:21 2009 -0200 patches to avoid gcc warnings for libX11 (#3) Author is Peter Breitenlohner <peb@mppmu.mpg.de> Bug #17946, attachment #19441 This patch avoids the two gcc warnings ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:413: warning: assignment discards qualifiers from pointer target type ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:450: warning: assignment discards qualifiers from pointer target type Note, that this as a rather crude fix of the problem (and it is really a shame to cast name_table to non-const). The right solution would be to declare XIMValuesList.supported_values (in include/X11/Xlib.h) as 'const char **' (or '_Xconst char **'). This will, however, require extensive modifications in various places. commit cce75c5dce73fe1f8626ed9e6798138ada09a860 Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Thu Jan 29 20:20:18 2009 -0200 patches to avoid gcc warnings for libX11 (#2) Author is Peter Breitenlohner <peb@mppmu.mpg.de> Bug #17946, attachment #19440 Avoid a preprocessor message <stdin>:194: warning: no newline at end of file Two more such warnings (in XkbSAGroup.man and XkbSASetGroup.man) seem to be caused by a truncated (or otherwise incomplete) manpage. commit 692baebcc50f1e952800bfe4e2e6bc42f54e62fe Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Thu Jan 29 20:12:24 2009 -0200 patches to avoid gcc warnings for libX11 (#1) Author is Peter Breitenlohner <peb@mppmu.mpg.de> Bug #17946, attachment #19439 Define as 1 (one) as done by autoconf and the command line option, e.g. -DX11_t, not as empty. This avoids the gcc (3.4.6) warnings: ../../libX11-1.1.5/src/x11_trans.c:27:1: warning: "X11_t" redefined <command line>:7:1: warning: this is the location of the previous definition ../../libX11-1.1.5/src/x11_trans.c:28:1: warning: "TRANS_CLIENT" redefined <command line>:8:1: warning: this is the location of the previous definition Similarly, follow the autoconf convention to define XTHREADS and XUSE_MTSAFE_API as one. This avoids analogous warnings when compiling libXcomposite, libXcursor, and libXdamage. No reason to AC_SUBST XTHREADS and XUSE_MTSAFE_API (unused). commit a1977883c9f5ef0e515569d6e2ebccb07411f98c Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Thu Jan 29 15:01:06 2009 -0200 Janitor: Correct some gcc/sparse warnings. Most remaining warnings are about XIM/Xim to/from conversion and discarding const from pointers. commit 8ba0ca32a63c532f128bdca7f1bf982cab8e12be Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Wed Jan 28 20:31:42 2009 -0200 Janitor: ansification, make distcheck, compiler warnings. Only convert to use "ansi prototypes" the functions warned from compilation with "./autogen.sh --prefix=/usr", on a Linux computer. Also, only address "trivial" compiler warning fixes in this commit. The new .gitignore is the output of a command like: % find . -name .gitignore -exec cat {} \; | sort | uniq and only the toplevel .gitignore file was kept. commit 091c1624fd2f9d933329d6152e4ecd865aa7903a Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Tue Jan 13 12:05:54 2009 +1000 Fix wrong implies symbol. Quote Simos Xenitellis: > I checked the gtk+ commit logs that go back to 2000, and I see that still it > was > > { 0x08ce, 0x21d2 }, /* implies ⇒ RIGHTWARDS > DOUBLE ARROW */ > > In XFree86, it appears there was an error when they converted the > original table to > http://cvsweb.xfree86.org/cvsweb/xc/lib/X11/imKStoUCS.c?rev=1.1&content-type=text/vnd.viewcvs-markup > and the problem still shows up there (November 2000). http://lists.freedesktop.org/archives/xorg/2008-October/039743.html Reported by Erik Streb del Toro. commit e32521f19e0b07649b7e3a03d56a2bd556b138fb Author: James Cloos <cloos@jhcloos.com> Date: Sun Dec 7 04:13:34 2008 -0500 [i18n] s/U00DC/Udiaeresis/g The xkeyboard-config keyboards generate the symbol Udiaeresis, not U00DC. Make sure the relevant Compose sequences expect the symbol which the keyboards actually send. commit b7502abfe22f8dc009b21cda1172af221d8f9f32 Author: James Cloos <cloos@jhcloos.com> Date: Sun Dec 7 04:09:46 2008 -0500 Revert "For nls/*.pre, allow people to comment lines by starting them with '##'." As of commit c9d20e3 the initial double-hashes are replaced with proper C comments. This reverts commit a225a0be48770beb689d5ac5da97073634f7deab. commit c9d20e3f697c9cfae5511412023362c1db7449b1 Author: James Cloos <cloos@jhcloos.com> Date: Sun Dec 7 04:08:23 2008 -0500 Use C comments rather than initial doubled hashes to exclude lines from .pre files commit c34ce54d9eac2d8052dc5f205a2ab09866ef5d25 Author: vehemens <vehemens@verizon.net> Date: Sun Dec 7 01:18:26 2008 -0500 [i18n] Distribute new headers which were added for gb18030 support. big5hkscs.h and gbk.h, added in 67e34d7a, need to be in SOURCES to make it into the tar. Completes 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51. Signed-off-by: James Cloos <cloos@jhcloos.com> commit 418819558d2c60e58b4e3022ce0fadf2143488ac Author: Stefan Dirsch <sndirsch@suse.de> Date: Sat Nov 22 22:01:07 2008 +0100 Fixed strange font mixups, when fontsets are still used (#2676, Novell #74299). commit 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51a Author: Stefan Dirsch <sndirsch@suse.de> Date: Sat Nov 22 19:40:54 2008 +0100 Added remaining xlib patch required for gb18030 support (#1573). commit 55782a0a1fe1560f1a9c0ed78bc7f2575c15abcf Author: Stefan Dirsch <sndirsch@suse.de> Date: Sat Nov 22 17:53:06 2008 +0100 Added remaining hunk of Egbert's patch to prevent XIM deadlocks (#1182). commit c859446c500c883a67f7a86cab1a44844e24dade Author: Ken Thomases <ken@codeweavers.com> Date: Fri Nov 21 13:58:10 2008 -0500 [i18n] Provide translation from XK_partialderivative (8ef) to Unicode (U2202) Signed-off-by: James Cloos <cloos@jhcloos.com> commit 5e68e94d852c730ef9264fc0d8ca61a2ffe98b53 Author: Jeremy Huddleston <jeremyhu@freedesktop.org> Date: Mon Nov 17 20:47:26 2008 -0800 Force local transport when using the launchd socket. Fixes a regression due to bf53987eaf0fbd7f7627783fc39e7ee99e8361ba commit 7aca689ce14d314b5c8c72c8df76f53f76ab467c Author: Peter Hutterer <peter.hutterer@redhat.com> Date: Fri Nov 14 10:32:50 2008 +1000 Add XF86Suspend, XF86Hibernate to KeysymDB. commit d16b11f25f8265e651def8d80bcd430c0448e664 Author: James Cloos <cloos@jhcloos.com> Date: Tue Nov 11 19:43:39 2008 -0500 [nls] Annotate the Bépo compose sequences Add comments with the UCS names. Add utf-8 strings for each result. Format for easy reading. commit 730298464240be6f65b32416b3f9b20062c61825 Author: James Cloos <cloos@jhcloos.com> Date: Tue Nov 11 16:41:34 2008 -0500 [nls] Add some UTF-8 Compose sequences As requested for the Bépo keyboard layout (http://clavier-dvorak.org/wiki/). Cf. bugs: https://bugs.freedesktop.org/show_bug.cgi?id=17821 https://bugs.freedesktop.org/show_bug.cgi?id=17822 commit ad6008a0c92733826983eb93f063d3d6276007d8 Author: Colin Harrison <colin.harrison@virgin.net> Date: Thu Nov 6 17:48:21 2008 -0500 Fix copy/paste typo in imLcPrs Signed-off-by: James Cloos <cloos@jhcloos.com> commit 0f0168ad18f8a280fc5a689eb02cfaa62d022ea6 Author: Adam Jackson <ajax@redhat.com> Date: Thu Nov 6 14:54:13 2008 -0500 Fix leak in _XimXGetReadData Spotted by Denis Dzyubenko commit ae23c25b9349ab1d7ff81f3075c000cf35fc442b Author: Julien Cristau <jcristau@debian.org> Date: Wed Nov 5 22:09:37 2008 +0100 Bump to 1.1.99.2 commit d31e644c65c52828ea3e7abd94a8cf9aee12265c Author: Julien Cristau <jcristau@debian.org> Date: Wed Nov 5 21:33:13 2008 +0100 Fix distcheck commit e6a7b70cdb2ae8b713012839a0a0bbb93817b8ef Author: Jamey Sharp <jamey@minilop.net> Date: Wed Oct 29 14:00:33 2008 -0700 Support multiple independent internal sync handlers Xlib has several independent tasks that need to be performed with the display unlocked. It does this by replacing the existing sync handler with one of a variety of internal sync handlers. However, if multiple internal sync handlers need to run, then the last one registering wins and previously registered internal sync handlers are never invoked. This manifested as a bug with DRI applications on Xlib/XCB as that requires both an XID handler after every XID allocation, and the periodic sequence number handler. The XID handler would win, and the sequence number handler would never be invoked. Fix this by unifying the internal sync handler mechanism into a single function that calls all of the known internal sync handlers. They all need to deal with being called when not strictly necessary now. Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Josh Triplett <josh@freedesktop.org> commit 2dbaaab9c4e3894b33dcae850551dee5473431d5 Author: Keith Packard <keithp@keithp.com> Date: Sat Oct 11 21:44:21 2008 -0700 Ensure that _XReadEvents always leaves an event in the queue on return XNextEvent assumes that the event queue will be non-empty on return from _XReadEvents, but with multiple event readers running, the previous change could leave the queue empty on return from process_responses. Re-invoke process_responses until the queue is non-empty. Signed-off-by: Keith Packard <keithp@keithp.com> commit bedfe68259037c5564fe52758c92b9c97729640a Author: Keith Packard <keithp@keithp.com> Date: Sat Oct 11 21:10:23 2008 -0700 Permit only one Xlib thread to block waiting for events As Xlib queues events internally, we must prevent multiple Xlib threads from entering XCB to wait for an event in case the queued event is to be delivered to the thread which didn't manage to read it. In other words, let only one Xlib thread into xcb_wait_for_event at a time. Jamey Sharp looked over my shoulder while making this fix and, while hating my whitespace conventions, appears happy enough with the actual code. Signed-off-by: Keith Packard <keithp@keithp.com> commit cc19618d2eb3ed92a0b574aee26a7da8b4aed5d2 Author: Jamey Sharp <jamey@minilop.net> Date: Sun Mar 23 16:33:50 2008 -0700 Fix XAllocID race: hold the user display lock until we have a new XID. Xlib built --without-xcb is also vulnerable to this race, and a similar fix might work there too. Also, use an XID that's truly invalid while waiting for the next XID to be requested. commit 54e5c0941b0ded1628d559a9f0a3451ea96c299b Author: Josh Triplett <josh@freedesktop.org> Date: Sat Mar 15 17:22:23 2008 -0700 Use XCB's new socket handoff mechanism rather than the old XCB Xlib lock. Previously, Xlib/XCB used XCB's Xlib lock to prevent XCB from sending requests between calls to Xlib's LockDisplay and UnlockDisplay macros. Xlib/XCB then sent all of its requests using XCB's xcb_send_request, and had to flush its requests when unlocking the display. XCB 1.2 adds a new socket handoff mechanism, xcb_take_socket. Replace much of the existing Xlib/XCB implementation with the use of xcb_take_socket to take ownership of the write side of the X connection socket, and a return_socket callback which writes any outstanding requests with xcb_writev. This approach allows Xlib/XCB to use the same buffering as traditional Xlib did. In particular, programs which use Xlib/XCB and never make XCB calls will never need to hand the socket back to XCB, and vice versa. This allows us to discard large quantities of synchronization code from Xlib/XCB, together with the synchronization bugs present in that code. Several test cases which previously failed now work perfectly, including multi-threaded ico. In addition, the infamous locking correctness assertions, triggered when double-locking or when unlocking without a previous lock, no longer exist, because Xlib/XCB no longer has any reason to care more about application locking than traditional Xlib does. Furthermore, the handoff approach provides great improvements to performance. Results from x11perf's XNoOp test, which represented the worst case for the lock-based Xlib/XCB: Traditional Xlib: average 19100000/sec Lock-based Xlib/XCB: average 3350000/sec Handoff-based Xlib/XCB: average 17400000/sec Thus, for no-ops, the handoff mechanism provides more than a 4x speedup to Xlib/XCB, bringing Xlib/XCB within 9% of traditional Xlib no-op performance. Of course, real-world workloads do not use no-op, so your mileage may vary. In particular, since no-ops represent the worst case, we expect real workloads to more closely match the performance of traditional Xlib. While removing synchronization code, we changed _XReply to not drop any locks when calling xcb_wait_for_reply; previously, we had to carefully avoid a deadlock between the Display lock and the XCB Xlib lock. Holding the locks reduces implementation complexity and should not impact applications. Commit by Jamey Sharp and Josh Triplett. XCB's handoff mechanism inspired by Keith Packard. commit 5a19ac473f7a8046b0421fbd5d53da160c22ed75 Author: Chris Ball <cjb@laptop.org> Date: Mon Nov 3 22:57:29 2008 -0500 Remove configure check for xcb-xlib. xcb-xlib has been intentionally removed from libxcb; stop checking for it at configure-time. commit 34b35dda0bb7f3cf0ad9ab95ad7953d35d24f71b Author: Josh Triplett <josh@freedesktop.org> Date: Wed Oct 29 14:37:44 2008 -0700 .gitignore: Add dolt files commit 1290cccf2d90083eba852f5f413f7e3dff48ccd2 Author: Peter Hutterer <peter.hutterer@redhat.com> Date: Tue Oct 28 11:56:55 2008 +1030 man: fix formatting error in XkbGetIndicatorState man page. commit b1022fa6d7e97640049e93ffa108083fc8d71b05 Author: James Cloos <cloos@jhcloos.com> Date: Sat Oct 25 09:13:08 2008 -0400 Increase size of working arrays in the makekeys utility program. Makekeys is used to create an optimal hash of the keysyms defined in x11proto’s keysymdef.h. The recent addition of new keysyms there has triggered a bug in makekeys where it tries to use a zero on the rhs of the % (mod) operator (resulting in a divide by zero error) whenever it fails to find a solution within its constraints. Increasing the size of the arrays allows it to find a solution for the current set of keysyms. Makekeys is only run durring the build process, so this has no impact on users of libX11, only on the amount of VM needed to build it. It still needs a more complete fix, but this allows compiles to progress until that is completed. commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 Author: James Cloos <cloos@jhcloos.com> Date: Sat Oct 11 01:03:14 2008 -0400 Dolt-ify Add dolt to acinclude.m4 and call it it configure.ac to speed compiles. commit 39c0b266cac8cbc15bf501d7869186862f01d823 Author: Peter Hutterer <peter.hutterer@redhat.com> Date: Wed Oct 15 14:30:20 2008 +1030 Add more keysyms for PS3 BD remotes, Ericsson Phones #16519 X.Org Bug 16519 <https://bugs.freedesktop.org/show_bug.cgi?id=16519> commit d23aad31338e7d869d878d5aa1b6b91d20287005 Author: Peter Hutterer <peter.hutterer@redhat.com> Date: Mon Oct 13 09:41:59 2008 +1030 Add XF86Battery, XF86Bluetooth, XF86WLAN, XF86UWB to keysymdb. commit 214ea6f5fd6aeaa7303ea4a69f9aedabf219ec4c Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Thu Jul 24 15:44:26 2008 +0930 xkb: fix out-by-1 error in _XkbWriteKeyExplicit. Thanks to Michael Meeks, Novell Bug 369263. https://bugzilla.novell.com/show_bug.cgi?id=369263 commit e7ece39afc8e0adc3b6b1e70b337b98376754462 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Oct 7 15:41:38 2008 -0700 Sun bug #6739431: double free in _X11TransConnectDisplay() Double free() introduced in bf53987eaf0fbd7f7627783fc39e7ee99e8361ba After copying original_hostname to phostname, set original_hostname to NULL, so we don't free the same pointer twice when we free both original_hostname and phostname. <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6739431> commit 0877bc916afbd1ff8f1833edc930b765ea783576 Author: Daniel Stone <daniel@fooishbar.org> Date: Tue Sep 23 19:02:02 2008 +0300 configure.ac: Fix CC_FOR_BUILD logic error Turns out we were accidentally smashing it so that you couldn't set it externally at all. Oops. commit 58bf3aa746908f01c37be7045699e43a4e270944 Author: John Tapsell <johnflux@gmail.com> Date: Tue Sep 23 17:30:13 2008 +0300 Build: Use native compiler for makekeys makekeys needs to be run during the build process, as opposed to on the target, so build it with either of gcc or cc to fix cross-compiling. This can be overridden by setting $CC_FOR_BUILD. commit 340422a5c7a413faef18666cada27cee14615250 Author: Adam Jackson <ajax@redhat.com> Date: Wed Sep 17 12:54:34 2008 -0400 Fix the previous patch for the BadFont case. commit 2335eafe4b53c27f6f9ee1bab3e1f5842f896428 Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Sep 17 10:43:52 2008 -0400 Bug #17616: Fix an XCB leak when the client has a non-fatal error handler. commit db0b85db29699be6bf7e78dede655d59ba926dfc Author: Rafael Ávila de Espíndola <rafael.espindola@gmail.com> Date: Sun Sep 14 19:15:26 2008 -0400 Fix problem with <dead_acute> <c> in pt_BR.UTF-8 The <dead_acute> <C> and <dead_acute> <c> lines in the pt_BR UTF-8 Compose file show "Ç" and "ç" (c with cedilla accent) (akin to the ISO 8859 pt_BR Compose file) as the string but specify the keysym and comment for Ć and ć (c with acute accent). This commit normalizes those two lines to match the specified string. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=4671 Signed-off-by: James Cloos <cloos@jhcloos.com> commit b065c011baa69b69e3ea77c30d5e153c0d103e2d Author: Michael Verret <michael.verret@gmail.com> Date: Mon Sep 8 16:33:35 2008 -0400 Fix documentation typo Signed-off-by: James Cloos <cloos@jhcloos.com> commit 4213ea95185377bdd1b51e82933f331fc0f52e5b Author: James Cloos <cloos@jhcloos.com> Date: Sat Sep 6 04:19:19 2008 -0400 Remove extraneous <angle brackets> from the Ethiopic Compose file. The am_ET.UTF-8 Compose file submitted in: https://bugs.freedesktop.org/show_bug.cgi?id=11307 for the OLCP project used incorrect syntax. (It has angle brackets around the Uxxxx symbols on the right hand side rather than only on the left hand side). This bug is noted in OLPC’s ticket: http://dev.laptop.org/ticket/7474 http://dev.laptop.org/attachment/ticket/7474/olpc_7474_dead_vowels_libX11.patch commit 9df84b513dd2b6e65e6d528cfac6d4cc3ea46918 Author: James Cloos <cloos@jhcloos.com> Date: Mon Sep 1 17:49:33 2008 -0400 Complete the set of vulgar fractions Unicode 1.1 added thirds, fifths, sixths and eights; we might as well catch up. (Unicode and ISO 10646 have 1/7 (U2150), 1/9 (U2151), 1/10 (U2152) and 0/3 (U2189) in their pipelines, but those four can be added here after they are published.) commit a788792e9de95f8db0639557859722a35087481d Author: James Cloos <cloos@jhcloos.com> Date: Wed Aug 20 15:28:07 2008 -0400 nls (en_US) Re-remove long compositions that override shorter As reported in <https://bugs.freedesktop.org/show_bug.cgi?id=17228>: Commit a6f4bbf7 nls (en_US): remove long compositions that override shorter [...] removed some longer compose sequences because there are shorter ones which take preference over the longer. For example the sequences: <Multi_key> <apostrophe> <comma> <c> : U1E09 # ḉ <Multi_key> <apostrophe> <comma> <C> : U1E08 # Ḉ were removed becase there already was: <Multi_key> <apostrophe> <comma> : U201A # ‚ Then commit 4ba09125 Work on making the en_US and pt_BR UTF-8 Compose as similar as possible added exactly the same key sequences again. Obviusly they won't work. commit 55248e5c84c3fd8c349a3bb4cb15a1ec86989d74 Author: James Cloos <cloos@jhcloos.com> Date: Thu Jul 17 21:01:42 2008 -0400 Add more <Multi_key> <cedilla> Compose tuples The last commit missed the el_GR UTF-8 Compose.pre as well as the various ISO 8859 locales which have compose sequences generating ‘WITH CEDILLA’ characters. (Interestingly, some of the 8859 locales already supported <Multi_key> <cedilla> for some CEDILLA characters, but not for Ç or ç.) This is further work on bug 10397. commit 4ba091255bb953d53078ba5619d6751052c739f7 Author: James Cloos <cloos@jhcloos.com> Date: Thu Jul 17 17:16:50 2008 -0400 Work on making the en_US and pt_BR UTF-8 Compose as similar as possible. The eventual goal here is to have a single primary UTF-8 Compose file which the locale-specific UTF-8 Compose.pre files can #include. commit 254522d3c24e0590732fc03cdd61ff4564819d94 Author: James Cloos <cloos@jhcloos.com> Date: Thu Jul 17 17:13:36 2008 -0400 Add <Multi_key> <cedilla> Compose tuples The en_US and pt_BR UTF-8 Compose tables had support for using <comma> with <Multi_key> to enter CEDILLA characters. Bug 10397 requests support for using <cedilla> instead of <comma> in said sequences. This commit makes both styles work. commit 7dc907f6032e1d5cbe4da0e414bdf2c569c04b44 Author: James Cloos <cloos@jhcloos.com> Date: Sat Jun 28 15:25:23 2008 -0400 Fix commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 The new block was added twice to the en_US.UTF-8 Compose.pre; delete the duplicate. commit 596e081b7457dcd1c4ad555ac140e6999239bc0d Author: Peter Hutterer <peter@cs.unisa.edu.au> Date: Sat Jun 28 20:14:05 2008 +0930 Fix unbalanced parenthesis in XKBlib.h # 16551 X.Org Bug 16551 <http://bugs.freedesktop.org/show_bug.cgi?id=16551> commit f6af6dd2f76c12b56ec166bb771457b9f08fe246 Author: Adam Jackson <ajax@redhat.com> Date: Tue Jun 24 13:16:53 2008 -0400 Bug #14898: Don't abuse the sprintf() implementation. The thing you're printing into should not itself appear in the list of things to print from, that's bad juju. Just use strcat(). commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 Author: Khaled Hosny <khaledhosny@eglug.org> Date: Thu Jun 19 18:26:11 2008 -0400 NLS: Add Arabic Lam-Alef ligature compose sequences (bug #16426) Add some Arabic digraphs to utf-8 locales with a Compose.pre Signed-off-by: James Cloos <cloos@jhcloos.com> commit bf53987eaf0fbd7f7627783fc39e7ee99e8361ba Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Jun 18 20:00:25 2008 -0700 Rework code to choose local connection types and fallback to others Adds --with-local-transport-order configure flag if you don't like the default ordering (which is platform dependent) Includes fixes for these Sun/Solaris bug ids: 6678250 X Commands returning incorrect display value unix:0.0 not <system>:0.0 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6678250> 6716481 libX11 should prefer Unix domain sockets over named pipes on Solaris <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6716481> commit cf49e537014c3cb5aaee07e57400933e0bb72b6b Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Jun 17 14:41:17 2008 -0700 Strip whitespace from end of lines in source files commit f76fd81dfbbd5cfae75c87ce0511e88e08529cf3 Author: Jeff Smith <whydoubt@yahoo.com> Date: Sun Jun 15 23:52:20 2008 -0500 Fix memory leak in XOpenDisplay Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au> commit fca0b0ba3f72b7284601d4690bba99fc80a92614 Author: Jens Herden <jens@khmeros.info> Date: Tue Jun 10 20:07:30 2008 +0300 NLS: Add Khmer compose sequences (bug #5706) Add some Khmer digraphs to all locales with a Compose.pre. commit e54cffb649b1622c17457e470cfab8cc56d38c97 Merge: 19802cc 721b574 Author: Daniel Stone <daniel@fooishbar.org> Date: Tue Jun 10 20:04:30 2008 +0300 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 commit 721b574d36f1884c3f1bf7bd933646e2ed6680b5 Author: Peter Hutterer <peter@cs.unisa.edu.au> Date: Thu May 29 10:57:21 2008 +0930 Bump to 1.1.99.1 commit 631d32d13247d1cf52c0833d438c5b38b01b17a4 Author: Peter Hutterer <peter@cs.unisa.edu.au> Date: Wed May 28 17:31:59 2008 +0930 Require xproto 7.0.13 and libxcb 1.1.90 (for GenericEvents) commit e9195db7257e418f83707233baeeb84b225caf4f Merge: c34f76f a7f8556 Author: Peter Hutterer <peter@cs.unisa.edu.au> Date: Thu May 22 12:14:28 2008 +0930 Merge branch 'master' into xge commit 19802ccd3909145e3ba2f6c073271cb5f3701685 Author: Daniel Stone <daniel@fooishbar.org> Date: Mon May 19 19:22:31 2008 +0300 gitignore: Update with loads more bits from server commit a7f85567a3e850fba0c44571453d2852ab1a09be Author: Adam Jackson <ajax@redhat.com> Date: Tue May 13 10:28:39 2008 -0400 Bug #15884: Remove useless sleep()'s from the connection code. For network transports, there's enough delay in the network layer already without adding more. For local transports, just hurry up and fail if the server isn't there. commit c34f76f475bc632490122e67b5a82575d69d5569 Author: Peter Hutterer <peter@cs.unisa.edu.au> Date: Mon May 12 21:46:24 2008 +0930 Pull down extra bytes when reading a GenericEvent (non-xcb). I refuse to take any responsibily for this code. It works, I guess. But - all the flushing is done somewhere before that, so we might need to flush here. Under some circumstances anyway. Don't ask me, I'm an optical illusion. Build with xcb as transport layer highly recommended. commit c9b2ff1e6a607463993afa4a8d085857d97cc2f3 Merge: 17d7dcb 9129057 Author: Peter Hutterer <peter@cs.unisa.edu.au> Date: Mon May 12 17:58:37 2008 +0930 Merge branch 'master' into xge commit 9129057bdbff0ec9cd8bb780cf7f85f134a291eb Author: Teemu Likonen <tlikonen@iki.fi> Date: Wed May 7 21:44:22 2008 +0300 Change <dead_belowdot> to <dead_belowring> for U+1E00 and U+U1E01 Commit 6b6caeea830a977bdb54688cfb648d879821e752 added <dead_belowdot> <A> and <dead_belowdot> <a> compose sequences for letters U+1E00 and U+U1E01 (LATIN CAPITAL/SMALL LETTER A WITH RING BELOW). This caused duplicate compose sequences since these have already been defined. Also, using <dead_belowring> is more logical since the diacritic is indeed a "RING BELOW". commit 01a9cb58888d290cc3d319feec4ee4a0297a844c Author: Daniel Stone <daniel@fooishbar.org> Date: Wed May 7 20:04:44 2008 +0300 NLS: Make UTF-8 the default for Russian No-one uses 8859-5 anymore, so make the default for Russian UTF-8; the only other possible answer would be KOI8-R. Signed-off-by: Sergey V. Udaltsov <sergey.udaltsov@gmail.com> commit 407b81bfbbabf6feb565d6da22f9ef9a69016ab8 Author: Ross Burton <ross@burtonini.com> Date: Tue Apr 29 13:38:10 2008 +0300 NLS: Add interrobang to UTF-8 compose tables (bug #15653) It is what it says on the box. commit 0b6682303e9c61fefc3818acfda616b1e3691abf Author: Theppitak Karoonboonyanan <thep@linux.thai.net> Date: Mon Apr 28 11:51:25 2008 +0300 IM: Respect XMODIFIERS for Thai locale (bug #15719) When looking at Thai input methods, make sure XMODIFIERS is checked before jumping straight into built-in Thai processing, so external XIM servers such as SCIM can be used with Thai. commit c13aded1b2f830ba5004abb0ec5518f9ea16087e Author: Colin Harrison <colin.harrison-at-virgin.net> Date: Sat Apr 26 18:56:05 2008 +0100 Fix missing error condition commit f5c5ffc175cb383c92ea0fa8c08cfb087c5f3083 Author: Colin Harrison <colin.harrison-at-virgin.net> Date: Mon Apr 21 17:24:33 2008 +0100 Xlib warning fixes commit 6b6caeea830a977bdb54688cfb648d879821e752 Author: James Cloos <cloos@jhcloos.com> Date: Fri Apr 18 02:50:55 2008 -0400 Add some dead_key sequences to en_US.UTF-8 Compose table Make use of the new dead key symbols added to x11proto’s commit 44e24a27bca023cf7b799f191fe6d52e12efbe5f (which was in responce to bug #15446). commit 8f9b039580deaf658e464b7d6254064fcf183df6 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Apr 14 19:09:42 2008 -0700 Update ac_define_dir macro in acinclude.m4 to 2008-04-12 version commit 9f5e96eb91ab55dd441c3e94b75caf48c588778f Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Apr 14 18:21:14 2008 -0700 Fix mismatched brace indenting commit a19f9c65ee9e5e5d783feaa84998c36439b0288b Author: Bart Massey <bart@cs.pdx.edu> Date: Fri Apr 4 18:58:45 2008 -0700 added error check in Xcms color file parser; closes bug #15305 commit 12e8d0d01dd72ce98e7683ddb1bde181b7ed246f Author: Christian Weisgerber <naddy@mips.inka.de> Date: Tue Mar 18 07:30:05 2008 +0100 ConnDis: properly cast 'addr' before accessing it as a byte array. If you use XDM-AUTHORIZATION-1 authorization keys for remote X11 clients over IPv6, the clients are liable to segfaults. commit 64325f38bab082a8e0e9ce779a8e582de5c8588e Author: Josh Triplett <josh@freedesktop.org> Date: Sat Mar 15 12:29:33 2008 -0700 Fix fd.o bug 15023: make Xlib sync correctly given many void requests If given many requests without replies, Xlib may not sync until it flushes the output buffer. Thus, if Xlib can fit enough requests in the buffer to pass by the number of requests it would normally sync after (65536 - BUFSIZE/sizeof(xReq)), it will sync too late. The test case in bug 15023 demonstrated this by issuing a request with a reply (ListExtensions) at just the right time to get confused with the GetInputFocus reply issued in response to the sync 65,536 requests later; the test case used an async handler to watch the replies, since otherwise it could not issue a request without waiting for the response. When the test case failed, Xlib's sync handler would eat the ListExtensions reply, and the test case's async handler would see the GetInputFocus reply. Fix this by replacing SEQLIMIT with a function sync_hazard() that uses the buffer size to figure out when the sequence numbers could potentially wrap before the next flush. With this commit, the test case consistently passed, and the async reply handler always saw the ListExtensions reply. Commit by Jamey Sharp and Josh Triplett. commit a5395563bbee15fabe1e8fd7aa86f9f314d8d30e Author: Colin Harrison <colin.harrison@virgin.net> Date: Sat Mar 15 13:39:13 2008 -0400 Fix typo Signed-off-by: James Cloos <cloos@jhcloos.com> commit f07585ca27a8487bc66dfe41486c823f0fdcea7d Author: Daniel Stone <daniel@fooishbar.org> Date: Sat Mar 15 17:32:57 2008 +0200 configure.ac: Don't search for legacy X11 headers This can actually break cross-compiles, so don't do it anymore. commit bf69541238c7df6606340c0f389e5c47149b29c7 Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Sun Mar 9 09:08:07 2008 +0100 nuke RCS Ids commit 5e98aed13e529638df744e45893c471d5f2014fb Author: Adam Jackson <ajax@redhat.com> Date: Thu Mar 6 16:10:33 2008 -0500 libX11 1.1.4 commit 8e085971dc661da9f80ff6b67747459c0fb15c08 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Feb 28 20:17:41 2008 -0800 Man page typo fixes commit 1a1a42a3ca1dfaf42f1094936b71c140fc030fcb Author: Søren Sandmann Pedersen <sandmann@redhat.com> Date: Sun Feb 24 20:03:35 2008 -0500 XIM: Fix a hand when switching input context. Red Hat bug #201284. commit e02e4ccafcaf3eb8993152dfcbfbee0240ea2db2 Author: Adam Jackson <ajax@redhat.com> Date: Sun Feb 24 20:00:43 2008 -0500 Bug #14029: Don't LockDisplay() recursively. See also Red Hat bugzilla #326461. commit e5892467ae3308c8651be76e06db322dcbc08522 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Feb 15 17:27:53 2008 -0800 Add support for building lint library with --enable-lint-library commit e3eb83ec6a9bffa63cdffd94f077c12f85ad7240 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Feb 11 20:11:43 2008 -0800 Spell out number in XkbGetKeyVirtualModMap man page to avoid cpp errors from # commit d5ceed7a73a6b61758ddb6ff4e194955fbd5c185 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Feb 8 16:46:46 2008 -0800 Add WM_LOCALE_NAME to list of properties set in XSetWMProperties comment commit 416a812200f24d19149dcc497e5c51a0608120f6 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Feb 8 15:31:31 2008 -0800 XErrorDB updates for Render 0.9 & XFixes 4.0 commit 16a76091cd632e5a3708e235ff864b58f3e4613e Author: Kim Woelders <kim@woelders.dk> Date: Sat Dec 22 21:45:23 2007 +0100 Fix bs_BA entries in locale.dir.pre X.Org bug#13786 <http://bugs.freedesktop.org/show_bug.cgi?id=13786> commit 32115c563b87d2f37e3f9de70fbd0f4d9e424aea Merge: 8f0bd3f e8d4cef Author: James Cloos <cloos@jhcloos.com> Date: Fri Dec 14 22:43:47 2007 -0500 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 commit 8f0bd3f445cbdcc67650f6e8e3baf2ed89cb3695 Author: James Cloos <cloos@jhcloos.com> Date: Fri Dec 14 22:42:59 2007 -0500 add a comment to en_US.UTF-8/Compose commit 4d6c45e60ed13d3b0fea10413873d6a74f9d6a3b Author: James Cloos <cloos@jhcloos.com> Date: Fri Dec 14 22:40:13 2007 -0500 Add <dead_stroke> compose sequences The added sequences match the existing <Multi_key> <slash> sequences. This is related to bug #12765¹. 1] https://bugs.freedesktop.org/show_bug.cgi?id=12765 commit e8d4cefa0837afa149a10e981528b368485a9e38 Author: Jeremy Huddleston <jeremy@yuffie.local> Date: Mon Dec 10 23:00:44 2007 -0800 Added launchd support. commit 17d7dcbfced4a9417b33507bd3fd9b7dd8268242 Merge: 5dfefd3 13ac804 Author: Peter Hutterer <peter@cs.unisa.edu.au> Date: Thu Dec 6 14:08:29 2007 +1030 Merge branch 'master' into xge commit 5dfefd3829d3ba7e41d5db0ad28e9dfee92fadd5 Merge: a68a1cd eff33ae Author: Peter Hutterer <peter@cs.unisa.edu.au> Date: Thu Dec 6 13:57:09 2007 +1030 Merge branch 'master' into xge Conflicts: src/xcb_io.c commit 13ac80469f6958cabac596834e203bd9cb6d4c94 Author: James Cloos <cloos@jhcloos.com> Date: Wed Dec 5 20:14:03 2007 -0500 Update the currency symbols block of en_US.UTF-8/Compose.pre Add XCOMM lines a la the existing NEW SHEQEL SIGN entry for the KIP, TUGRIK, DRACHMA. GERMAN PENNY, PESO, GUARANI, AUSTRAL, HRYVNIA and CEDI SIGNs. commit b0a8f2ec4ba698841683f8ce389f9d72e6bce53e Author: Anton Zinoviev <anton@lml.bas.bg> Date: Wed Dec 5 19:56:03 2007 -0500 Additions to the Compose file for UTF-8 From bug #5371¹ Commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 left out this change from those in attachment #4122². The post³ on xorg resulted in only a positive reply⁴ from Daniel, so this block is now also commited. 1] https://bugs.freedesktop.org/show_bug.cgi?id=5371 2] https://bugs.freedesktop.org/attachment.cgi?id=4122 3] http://article.gmane.org/gmane.comp.freedesktop.xorg/20628 4] http://article.gmane.org/gmane.comp.freedesktop.xorg/23966 Signed-off-by: James Cloos <cloos@jhcloos.com> Acked-by: Daniel Stone <daniel@fooishbar.org> commit 438d02ebc08ee171cf1d3936f4c81050d428ab92 Author: James Cloos <cloos@jhcloos.com> Date: Tue Dec 4 17:25:39 2007 -0500 Fix the <U\x+> keysyms in the en_US.UTF-8 Compose file Based on src/KeysymStr.c and src/StrKeysym.c and comments in bugs #11930¹ and #5129² it is clear that <U100XXXXX> is invalid; those should be in the form U plus the hex of the UCS Code Point. The 0x01000000 is ORed in by the code. This update fixes all of those. 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 2] https://bugs.freedesktop.org/show_bug.cgi?id=5129 commit 02e04059c89e175f51647e3b031344f743286b34 Merge: 1254c57 b57129e Author: James Cloos <cloos@jhcloos.com> Date: Tue Dec 4 06:55:04 2007 -0500 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 commit 1254c57dd3a8d6ea87041b2f63024f99094f290f Author: James Cloos <cloos@jhcloos.com> Date: Tue Dec 4 06:53:55 2007 -0500 Use the new dead_psili and dead_dasia keysyms added to proto/x11proto 7.0.11 Inspired by bug 11930¹: Commit 40ed4eef92e31fcf7ea0a436e1a00cdf49484c1b to x11proto added dead_psili and dead_dasia keysyms. Make use of them in the en_US.UTF-8 and el_GR.UTF-8 Compose files. This was done with a pair of perl scripts based on the one quoted in the log for commit c76d30253f1483ac8200ad5c032a818907e65030. 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 commit b57129ef324c73ee91c2a796b800c4b45f4d4855 Author: Jeremy Huddleston <jeremy@yuffie.local> Date: Mon Dec 3 20:04:19 2007 -0800 Use __APPLE__ instead of __DARWIN__ commit b9c032e1d5ed08510863dfb91b8bda588e6c8c9e Author: Jeremy Huddleston <jeremy@yuffie.local> Date: Wed Nov 28 16:43:49 2007 -0800 Define __DARWIN__ when host_os == darwin* as needed in SetLocale.c commit 4b91ed099554626f1ec17d5bdf7bd77ce1a70037 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Nov 21 16:50:04 2007 -0800 X.Org Bug #4312: incorrect comment asterisk in XAnyEvent.3x man page X.Org Bugzilla #4312 <http://bugs.freedesktop.org/show_bug.cgi?id=4312> Protect /* sequences from cpp pre-processor removal without transforming to Unicode mathematical asterisk character commit 2af660c2fcd15c86c66459bfc074c190ea1462e6 Author: Jamey Sharp <jamey@minilop.net> Date: Mon Oct 29 10:46:20 2007 -0700 Two threads can request sequence sync and XID fetch simultaneously. So don't assert that they can't. This makes the Xlib/XCB implementation of _XAllocID more closely resemble the traditional Xlib version. commit 6e5485e0a5e3ab738becad12193e760c5fee83a4 Author: Samuel Thibault <samuel.thibault@ens-lyon.org> Date: Sun Oct 28 04:44:00 2007 -0800 X.Org Bug #12983: Typos in ./man/XChangeKeyboardControl.man <http://bugs.freedesktop.org/show_bug.cgi?id=12983> commit 24527c92fd1f433ea135e85ec876a94a529fe500 Author: Yann Droneaud <ydroneaud@mandriva.com> Date: Wed Oct 24 19:26:07 2007 +0300 XIM: Properly initialise client event Make sure all ClientMessage fields are initialised to 0 before we send it. commit e41477f37b0d9b74a056d22dbf0073a94eecb9d6 Author: Daniel Stone <daniel@fooishbar.org> Date: Wed Oct 24 19:22:22 2007 +0300 Colours: Fix --disable-xcms Disable large tracts of colour management code when passing --disable-xcms. commit 11ea09745efa8de7dc82fe30ebd2393f08390957 Author: Eric Anholt <eric@anholt.net> Date: Fri Aug 31 17:30:33 2007 -0700 Bug #2081: Note the range limitation of XSetScreenSaver arguments. commit 31540f1438ec63faf37044f2fd654b335ddf80f0 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Aug 29 19:50:57 2007 -0400 Add GLX 1.4 requests and errors. commit 7c996f78914c77fe17e9f4feede980d895d9df51 Author: Eric Anholt <eric@anholt.net> Date: Tue Aug 28 15:15:11 2007 -0700 Add XF86 keyboard/monitor brightness keysyms to the keysymbdb. commit fa4effe82759f864a22a2dc6c920fa72ddb175a8 Author: Eric S. Raymond <esr@thyrsus.com> Date: Sun Jan 14 10:48:00 2007 -0800 Bug #9658: Bad markup on XIfEvent.3x X.Org Bugzilla #9658 <https://bugs.freedesktop.org/show_bug.cgi?id=9658> commit 74cba78daa738ef4d92096107d95c1a585933666 Author: Eric S. Raymond <esr@thyrsus.com> Date: Sun Jan 14 10:43:00 2007 -0800 Bug #9655: Bad markup in XrmUniqueQuark.3x X.Org Bugzilla #9655 <https://bugs.freedesktop.org/show_bug.cgi?id=9655> commit 4341d1a34b2a2e460b58131b6fd81935f3355bbc Author: Eric S. Raymond <esr@thyrsus.com> Date: Sun Jan 14 10:43:00 2007 -0800 Bug #9654: Bad markup in XrmGetFileDatabase.3x X.Org Bugzilla #9654 <https://bugs.freedesktop.org/show_bug.cgi?id=9654> commit 2db713252090cae08f0200fecad4fc25fb64c8b1 Author: Eric S. Raymond <esr@thyrsus.com> Date: Sun Jan 14 10:40:00 2007 -0800 Bug #9653: Bad markup in XQueryColor.3x X.Org Bugzilla #9653 <https://bugs.freedesktop.org/show_bug.cgi?id=9653> commit 9d3ceea4b902e0471824c1e07ad64342b9a1114e Author: Eric S. Raymond <esr@thyrsus.com> Date: Sun Jan 14 10:40:00 2007 -0800 Bug #9652: Bad markup in XDrawArc.3x X.Org Bugzilla #9652 <https://bugs.freedesktop.org/show_bug.cgi?id=9652> commit 2e7e0748d353d7f53bbd65ec6bf0df8758528ddc Author: Eric S. Raymond <esr@thyrsus.com> Date: Sun Jan 14 10:39:00 2007 -0800 Bug #9651: Bad markup in XcmsColor.3x X.Org Bugzilla #9651 <https://bugs.freedesktop.org/show_bug.cgi?id=9651> commit c316aaf0aab06951db9dc5c9c1148bfea835d885 Author: Eric S. Raymond <esr@thyrsus.com> Date: Sun Jan 14 10:38:00 2007 -0800 Bug #9650: Bad markup in XLoadFont.3x manual page X.Org Bugzilla #9650 <https://bugs.freedesktop.org/show_bug.cgi?id=9650> commit ca5d9a625ea0965853fa9e74a448b8c29c78ec95 Author: Eric S. Raymond <esr@thyrsus.com> Date: Tue Jan 2 10:18:00 2007 -0800 Bug 9523: Markup problems in XQueryExtension.3x X.Org Bugzilla #9523 <https://bugs.freedesktop.org/show_bug.cgi?id=9523> commit fe713c616e29ba19c179b43c18eca1035079ce18 Author: Ian Romanick <idr@us.ibm.com> Date: Tue Aug 21 14:56:33 2007 -0700 Make sure nls/am_ET.UTF-8/Makefile is created by configure. commit e3430616f26b68e1439143cbe10732f3fc329d20 Author: Eric S. Raymond <esr@thyrsus.com> Date: Tue Jan 2 08:40:00 2007 -0800 Bug #9516: Markup error in XAllocWMHints.3x X.Org Bugzilla #9516 <https://bugs.freedesktop.org/show_bug.cgi?id=9516> commit d8fe979fc929833e8c754aed32641786d5a0622b Merge: 21ca953 4ec1723 Author: James Cloos <cloos@jhcloos.com> Date: Mon Aug 20 15:34:50 2007 -0400 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 commit 21ca953337fb221b85345bf35ce1a98a0dcb2bf2 Author: James Cloos <cloos@jhcloos.com> Date: Mon Aug 20 15:34:03 2007 -0400 Fix typo The code <U1000000D> was used where <U10000DC> was obviously intended. It is possible that <Udiaeresis> should be used instead, if that will not break anyone’s setup. commit 4ec1723fff729440cd3349c1f95d87d2a6ba89cf Author: James Cloos <cloos@jhcloos.com> Date: Mon Aug 20 15:25:48 2007 -0400 Add compose file for Ethiopic to match new keyboard in xkeyboard-config From bug report: https://bugs.freedesktop.org/show_bug.cgi?id=11307 commit eff33ae525337ce2026be135a26464c7b1237113 Author: James Cloos <cloos@jhcloos.com> Date: Sat Aug 18 17:58:23 2007 -0400 Patch for Catalan locales From bugzilla bug 10943¹: There are several Catalan locale codes which presently can be used in X11 systems; especially after they were accepted in belocs-locale-data². In the following patches, I³ add ca_AD, ca_FR and ca_IT Catalan locale codes. For instance, without this, using ca_AD (actually a quite used locale⁴) some applications (eg. Emacs or Skype) cannot display Catalan diacritic marks as you type them. 1] https://bugs.freedesktop.org/show_bug.cgi?id=10943 2] http://lists.debian.org/debian-devel-changes/2005/07/msg01429.html 3] Toni Hermoso Pulido <toniher@softcatala.org> 4] https://launchpad.net/~ubuntu.cat/+members commit 1f980cb7d022f53d0aee9e793b08203fb888e86e Author: James Cloos <cloos@jhcloos.com> Date: Sat Aug 18 17:47:04 2007 -0400 Add additional Euro signs to compose Inspired by bug 7419¹ make all of: C=, =C, c=, =c, E=, =E, e=, E= after <Multi_key> generate € U+20AC EURO SIGN. 1] https://bugs.freedesktop.org/show_bug.cgi?id=7419 commit 4b0a14521449dfce8b4347bd17243efd1d3eae2d Author: James Cloos <cloos@jhcloos.com> Date: Sat Aug 18 17:29:08 2007 -0400 Compose fix for Latin-1 (from Debian) The description from bugzilla bug 7417¹ is: We've been shipping this patch for some time in Debian now. The problem description from the patch header is reproduced below. You may want to note the licensing issue mentioned below, but we've been shipping it because the method by which this particular patch was generated and updated was also given below. This patch by Denis Barbier. The X11 protocol states that Unicode keysyms are in the range 0x01000100 - 0x0110FFFF. If the result of composing characters is a Unicode codepoint, X returns the corresponding Unicode keysym, which is its Unicode codepoint augmented by 0x01000000. Latin-1 characters must not appear with their Unicode codepoints in compose files, otherwise the returned composed character lies in the range 0x01000000 - 0x010000FF which is not valid. There are two solutions: either fix composing routines to return 0xZZ instead of 0x010000ZZ (where Z is an hexadecimal digit), or replace U00ZZ by their corresponding keysyms in compose files. The latter is more logical and less error prone, so compose files will be patched. Many applications accept these invalid Unicode keysyms, but few of them don't, most notably xemacs. Only UTF-8 locales are affected. This has been fixed very recently in XFree86 CVS (but not xorg), but for licensing reasons, this patch is not grabbed. Instead automatic conversion is performed by: sed -e '/XK_LATIN1/,/XK_LATIN1/!d' /usr/include/X11/keysymdef.h \ | grep -v deprecated | grep 0x0 \ | sed -e 's/0x0/U0/' -e 's/XK_//' \ | awk '{ printf "s/\\b%s\\b/%s/ig\n", $3, $2; }' > sedfile for f in nls/*.UTF-8/Compose.pre do sed -f sedfile $f > $f.tmp && mv $f.tmp $f done [I edited the quoted script to update it for the current location of the installed keysymdef.h and the current layout of the libX11 repo. -JimC] I applied the script, not the patch attached to the bugreport. 1] https://bugs.freedesktop.org/show_bug.cgi?id=7417 commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 Author: James Cloos <cloos@jhcloos.com> Date: Sat Aug 18 17:13:41 2007 -0400 Add some compose sequences Add some compose sequences from the patch in bug 5371 (attachment 4122). Cf: https://bugs.freedesktop.org/show_bug.cgi?id=5371 https://bugs.freedesktop.org/attachment.cgi?id=4122 commit d4002e389dd69780dfc7c2f7bd3cb0c57f05d4f8 Author: James Cloos <cloos@jhcloos.com> Date: Sat Aug 18 13:57:31 2007 -0400 Fix SMP Compose targets The compose targets from the SMP (plane 1) were incorrect. At some point the 0x10000 bit had been lost. commit f1ed3da9a30a1f0264fdc7d1c6466f27fe2a3d7d Author: Jeremy C. Reed <reed@glacier.reedmedia.net> Date: Thu Aug 16 17:37:22 2007 -0500 Fix a mutex reference-counting bug. I was told that some systems have a much more permissive libpthread. I was asked to commit this. This is from NetBSD's X source. (I didn't receive any feedback on xorg list for over two weeks about this.) commit ac00a44b4875de70382da5a40dd87f976e5b9327 Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Wed Aug 1 20:36:03 2007 +0200 Bumped version to 1.1.3. commit 76fae9cba1e9bdf7f0eb2ff2b90153d622136cf0 Author: Joerg Sonnenberger <joerg@netbsd.org> Date: Fri Jul 27 11:15:47 2007 -0700 Fail properly on errors in recursive make. commit 1a18319b3bde08dd9ef69c7cd735a76000cf3177 Author: Brice Goglin <Brice.Goglin@ens-lyon.org> Date: Thu Jul 26 23:31:15 2007 +0200 Add missing override parameter in XrmCombineDatabase prototype in the manpage Reported by Arnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr> in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393434 and https://bugs.freedesktop.org/show_bug.cgi?id=9948 Also add the type of the second argument in XrmMergeDatabases. commit 6f0764d4b56f64786b4980839ca262f10a51af6f Author: Brice Goglin <Brice.Goglin@ens-lyon.org> Date: Thu Jul 26 22:53:52 2007 +0200 Clarify return value of XGetCommand in case of error in the manpage Reported by Sean Perry <shalehperry@attbi.com> in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=133348 and https://bugs.freedesktop.org/show_bug.cgi?id=9828 commit b8bef57342632cc2d25580bb7daa3839bae04d89 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Jul 25 17:44:06 2007 -0700 Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4 commit 590cde811a79375231c59ed8583e02b111ed567c Author: Kean Johnston <kean@armory.com> Date: Thu Jul 19 16:44:20 2007 -0700 Reset hostname when falling back from :0 to hostname/localhost:0 as well commit d334665e619e9db657a2ea2764a8b852401d4a3f Author: Kean Johnston <kean@armory.com> Date: Tue Jul 17 16:34:30 2007 -0700 LOCALCONN fallback changes DisplayString() output, breaks KDE See <http://lists.freedesktop.org/archives/xorg/2007-July/026443.html> commit 8e76bcf3cafda85058ce5f35f1f81929f4772f72 Author: Olivier Blin <blino@mandriva.org> Date: Mon Jun 11 18:32:09 2007 +1000 fix XGetMotionEvents arguments order - Fixes bug 11222 commit c2f88cdf5cd9c94b77e5bfdac572b5ac06ab4aa8 Author: Jamey Sharp <jamey@minilop.net> Date: Sun Jun 10 16:19:59 2007 -0700 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? commit 65f0ab5d46d80d55fc04d4eb14fa05f130eb8b9c Author: Jamey Sharp <jamey@minilop.net> Date: Sun Jun 3 21:41:47 2007 -0700 Move security fixes to the top of NEWS, and fix spacing. Commit by Josh Triplett and Jamey Sharp. commit a549a258b8fcb1ba9d0c1b01b72967e385f67cab Author: Jamey Sharp <jamey@minilop.net> Date: Sun Jun 3 21:29:40 2007 -0700 Add NEWS item for bugfix in commit e2c1d788d1fe7bd2d34756493951552441e59b8c. Commit by Josh Triplett and Jamey Sharp commit 5123b77a3d32d3ad479462f319762c328278aed9 Author: Jamey Sharp <jamey@minilop.net> Date: Sun Jun 3 21:24:54 2007 -0700 Xlib/XCB: Inline and simplify handle_event, since only process_responses calls it now. Commit by Josh Triplett and Jamey Sharp. commit 582ca690ea4f3ffd2b94826c4db97229bd3c7238 Author: Jamey Sharp <jamey@minilop.net> Date: Sun Jun 3 20:59:12 2007 -0700 Xlib/XCB: Fix _XReadEvents to always enqueue a new event, even if an error occurs Commit c337f9de7cfd89f983f83956b7457a274dd412f3 broke the invariant that _XReadEvents always enqueues at least one event even if an error occurred, because the one call to xcb_wait_for_event would then return an error, not an event, and nothing else ensured that process_responses would obtain an event. Fix this by reverting most of c337f9de7cfd89f983f83956b7457a274dd412f3 and f417570735aac865eb6b576d1ea76b5bfcd8573b and implementing the correct fix. In process_responses, wait_for_first_event now serves as a flag, cleared when actually handling an event. Commit by Josh Triplett and Jamey Sharp. commit e2c1d788d1fe7bd2d34756493951552441e59b8c Author: Jamey Sharp <jamey@minilop.net> Date: Sun Jun 3 17:33:23 2007 -0700 Xlib/XCB: Only remove pending_requests when there are provably no more responses. commit 7a6dbd4b07ca0a49c30ca7a1d2437eafb2e15eab Author: Josh Triplett <josh@freedesktop.org> Date: Sun Jun 3 15:39:39 2007 -0700 Bump version number to 1.1.2, and add NEWS entry for 1.1.2 Signed-off-by: Josh Triplett <josh@freedesktop.org> commit 416f38f2e67ee1979b3d2feac6f06b3670238804 Author: Josh Triplett <josh@freedesktop.org> Date: Sun Jun 3 12:13:44 2007 -0700 Revert "Revert "include: don't distribute XlibConf.h"" This reverts commit 79fa3d8070d95b960ba486f2439225872471dadd. Re-revert the XlibConf.h change, which prevented distribution, not installation. commit 79fa3d8070d95b960ba486f2439225872471dadd Author: Josh Triplett <josh@freedesktop.org> Date: Sat Jun 2 22:05:16 2007 -0700 Revert "include: don't distribute XlibConf.h" This reverts commit c9e28e05ae01ce8a29bea09df759b6271865b44c. The installed XlibInt.h includes XlibConf.h , so libX11 should ship XlibConf.h. (Commit c9e28e05ae01ce8a29bea09df759b6271865b44c didn't actually prevent automake from shipping XlibConf.h, because it used nodist_x11include_HEADERS rather than nodist_HEADERS.) commit f417570735aac865eb6b576d1ea76b5bfcd8573b Author: Jamey Sharp <jamey@minilop.net> Date: Sat Jun 2 17:59:15 2007 -0700 Xlib/XCB: inline wait_or_poll_for_event, which now had only one caller. Commit by Josh Triplett and Jamey Sharp. commit c337f9de7cfd89f983f83956b7457a274dd412f3 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Jun 2 17:46:41 2007 -0700 Xlib/XCB: Ensure _XReadEvents reads at least one new event and blocks for exactly one event. Commit by Jamey Sharp and Josh Triplett. commit 7f66c897f04806b75e574b55b48921b48045e3f9 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Jun 2 16:43:39 2007 -0700 Update _XReply's copy of _XCBUnlockDisplay's guts. We introduced this bug in 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5. Also add a comment in _XCBUnlockDisplay to discourage this problem from respawning. Commit by Josh Triplett and Jamey Sharp. commit 740ead23512f8d2eaafaa69e514f1ebafad475b9 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Jun 2 16:01:01 2007 -0700 Xlib/XCB: Avoid re-crashing after _XIOError. Commit by Josh Triplett and Jamey Sharp. commit 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Jun 2 12:30:30 2007 -0700 Hold XCB's Xlib lock even when only the user lock (XLockDisplay) is held. An Xlib client can query Display state, such as with NextRequest, while it holds only the Xlib user lock (between XLockDisplay and XUnlockDisplay), so XCB requests in other threads should be blocked when the Xlib user lock is held. We acquire the lock even when XInitThreads was not called, so that pure XCB code can use multiple threads even in an otherwise single-threaded Xlib application. Commit by Josh Triplett and Jamey Sharp. commit 95523387d619af5b400748898d722e080b5ce1a6 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Jun 2 11:57:39 2007 -0700 Allow re-entrant Xlib calls from _XIOError. Some libraries try to clean up X resources from atexit handlers, _fini, or C++ destructors. To make these work, the Display lock should be downgraded to a user lock (as in XLockDisplay) before calling exit(3). This blocks Xlib calls from threads other than the one calling exit(3) while still allowing the exit handlers to call Xlib. This assumes that the thread calling exit will call any atexit handlers. If this does not hold, then an alternate solution would involve registering an atexit handler to take over the lock, which would only assume that the same thread calls all the atexit handlers. Commit by Josh Triplett and Jamey Sharp. commit 91b02b8064f4e0bcc56019f0722914850008a597 Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Thu May 17 19:07:34 2007 +0200 More constification. commit a4f3841940158351f9424c3f59b305cce877177d Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Thu May 17 00:29:43 2007 +0200 Constified composite text charset table. commit 0581c0aa6039e6b2abb9f7b0a4f9904d8e01f00e Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Wed May 16 23:19:22 2007 +0200 Have the compiler fill in hexTable so we don't have to do it at runtime. commit 0e8d9ca47dab0d069e305d5784d05f2ade04f0a8 Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Wed May 16 19:36:23 2007 +0200 More constification. commit 6d2bed8f04942b4de086a519ac693e729c9fdeea Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Wed May 16 19:18:20 2007 +0200 Constify and clean up token table. commit 6c508eab5df5d517f7e4cbe6087308cd53a564b2 Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Wed May 16 18:24:42 2007 +0200 Constified more tables. commit e699c4231c205ef00d687b6412308d031b99806b Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Wed May 16 18:01:23 2007 +0200 Constified error list. commit a68a1cd7cb990ba276fbc36a7591044d78b3d3c1 Author: Peter Hutterer <peter@cs.unisa.edu.au> Date: Tue May 15 16:54:01 2007 +0930 Add XGenericEvent definition and handling for long events. commit c76d30253f1483ac8200ad5c032a818907e65030 Author: Jan Willem Stumpel <jstumpel@planet.nl> Date: Fri May 4 12:00:49 2007 -0700 Update el_GR.UTF-8/Compose.pre to match changes in xkeyboard-config cvs Cf: https://bugs.freedesktop.org/show_bug.cgi?id=10851 https://bugs.freedesktop.org/show_bug.cgi?id=10824 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386385 The greek keyboard definition was changed to replace dead_horn and dead_ogonek with U0313 COMBINING COMMA ABOVE (aka Psili) and U0314 COMBINING REVERSED COMMA ABOVE (aka Dasia). This patch modifies the Greek Compose.pre to match. It is generated by the script Jan Willem Stumpel <jstumpel@planet.nl> posted to 386385@bugs.debian.org: #!/usr/bin/perl while (<>) { print $_; if (/dead_horn/) { s/dead_horn/U0313/; print $_; } elsif (/dead_ogonek/) { s/dead_ogonek/U0314/; print $_; } } commit a48386ce6b5f8fd2d9dc11a966c9bf5da59f3831 Author: Magnus Kessler <Magnus.Kessler@gmx.net> Date: Tue May 1 15:20:08 2007 +0200 Switched function definitions from K&R to ANSI style. commit 605d357074d556a05a3fba2e85cbea36a3204248 Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Tue May 1 14:47:03 2007 +0200 Tweaked configure output about the man pages suffix. commit 9824b40d2af4ca2376512c1be7743da0d5065900 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Apr 28 00:42:18 2007 -0700 Fix typo in nroff macro in XkbAddGeomOverlayKey.man commit f93849dcc68bd5042ea0884e5190dc7c35b31d68 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Apr 28 00:30:55 2007 -0700 Protect C comments and #defines in XKB man pages from being mangled by cpp commit f2f27d4763c7665e422fab10b96b4cf5ad6c0a6f Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Apr 28 00:14:50 2007 -0700 Add Makefile to process/install XKB man pages commit d9954c6f6f3a8c406b946acd0d034ff83c656156 Author: Dennis Arellano <Dennis.Arellano@Sun.COM> Date: Thu Aug 19 00:00:00 1999 -0700 Add man pages for XKB API's Man pages originally written for X11R6.4 integration to Solaris 7 11/99 Sun bug id 4258344: Add new XKB API manpages for 6.4 upgrade <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4258344> (Volunteer needed to convert prototypes in man pages to ANSI C style...) commit f640a49b5e2ebf29f9d655df544c63bf826f619a Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Fri Apr 20 18:39:59 2007 +0200 Markup tweak for XOpenIM. commit e972b0bb255af4f3258217852542faf5afa60b28 Author: Julien Cristau <jcristau@debian.org> Date: Fri Apr 20 18:35:09 2007 +0200 Bug #9695: Fixed a few argument types in the XOpenIM manpage. commit b4e2276f329fa42397cb8609cfcd34ebafd3d96b Author: Julien Cristau <jcristau@debian.org> Date: Fri Apr 20 18:28:52 2007 +0200 Bug #9697: Fixed documentation of XVisualInfo struct. The "depth" member was said to be unsigned int, but it's signed. commit 4068f3dae01c630f825002673b1d3a047ad61863 Author: Julien Cristau <jcristau@debian.org> Date: Fri Apr 20 16:41:21 2007 +0200 Bug #9696: refer to XDefineCursor() instead of XDefineCusor(). commit 603c2f88d4e57ce1a3c16e8b6246866e6edd8fa8 Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Sat Apr 7 14:42:55 2007 +0200 Use unistd.h to get getresuid() and friends. This works since we now have _GNU_SOURCE defined. commit 0300f295bbd3a0c7c46baac8e0a27aeaf53c9d9b Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Sat Apr 7 14:27:12 2007 +0200 Bug #10562: Define _GNU_SOURCE on glibc systems. commit a225a0be48770beb689d5ac5da97073634f7deab Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Fri Apr 6 12:46:25 2007 +0200 For nls/*.pre, allow people to comment lines by starting them with '##'. This fixes a bunch of cpp warnings from nls/en_US.UTF-8/Compose.pre. Fixing that file would have been a larger diff, and using ## may be nicer to use anyway. commit 1c75a9479011e5f1ad01c950628d0ef5a302d8b6 Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Fri Apr 6 11:59:31 2007 +0200 Bug #10475: Fixed lots of char*/const char* mixups. I didn't fix all of them, as that would require touching public headers. commit 680dd50193b5b3fcabdd3f1fcbd6a889d5a95c54 Author: Matthias Hopf <mhopf@suse.de> Date: Thu Apr 5 11:53:18 2007 +0200 Fix 64bit issues with reallocation. commit 4d38aeaca42d0bdfe34a833a142ee4d895de03bf Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Wed Apr 4 18:41:18 2007 +0200 Fixed a few warnings. commit 7dc7ef398b6ad90ccd1680ed9cd1cfdd47312f5a Author: Matthieu Herrb <matthieu@roadrock.(none)> Date: Tue Apr 3 15:39:52 2007 +0200 Multiple integer overflows in the XGetPixel() and XInitImage functions CVE-2007-1667 commit 0284b144340a455a4b5b5011d81ac5a610372291 Author: David Baron <dbaron@dbaron.org> Date: Fri Mar 30 17:07:46 2007 +0200 Bug #7703: Fixed XSetSizeHints() et al wrt use of uninitialized data. Now only those fields of the respective hint struct are set that are actually valid in the input data. The changed functions are: XSetSizeHints(), XSetWMHints() and XSetWMSizeHints(). commit 0994faa0c76c45b106442db461b8a30a3e1c9395 Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Thu Mar 29 17:31:25 2007 +0200 Fixed the change from the previous SendEvent commit. Testing a different patch than the one you commit is bad, right? commit 398d75528a84f4b8414eb0e363cf53b1b16f6fdf Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Wed Mar 28 22:23:44 2007 +0200 Bug #10292: Fixed a memory leak related to XOpenDisplay() in the XCB code. commit ab0bcd07957cecc8e7c0e75d5160a625e91264fe Author: David Baron <dbaron@dbaron.org> Date: Wed Mar 28 22:21:40 2007 +0200 Bug #7713: Initialize all of the event's fields before sending it. commit bc80f9fe3ccce40ee41246b97470c4f0519756ad Author: Julien Cristau <jcristau@debian.org> Date: Sun Mar 18 13:14:48 2007 +0100 Bug #9279: Fixed a file descriptor leak. commit c9e28e05ae01ce8a29bea09df759b6271865b44c Author: Daniel Stone <daniel@fooishbar.org> Date: Sat Dec 16 00:45:19 2006 +0200 include: don't distribute XlibConf.h Since XlibConf.h is built by configure, don't distribute it. commit dd1705ced2cac6b4b6b21e79272fcf9bed4bf376 Merge: 129bbb9 769b985 Author: Jeremy C. Reed <reed@glacier.reedmedia.net> Date: Thu Dec 14 14:23:20 2006 -0600 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libX11 commit 129bbb9f9114a571556fa3a24f15ba58a5cdb2de Author: Jeremy C. Reed <reed@glacier.reedmedia.net> Date: Thu Dec 14 14:21:19 2006 -0600 For NetBSD, define the XTHREADLIB and XTHREAD_CFLAGS. commit 769b9854f7eb1d6d20dd0b4a1c1215ad8e1b77b6 Author: Daniel Stone <daniel@fooishbar.org> Date: Wed Dec 6 18:53:00 2006 +0200 Makefile.am: make ChangeLog hook safer Make ChangeLog hook as safe as possible. (cherry picked from f5d6a3d24095c7ffed86705995d0874c885e7676 commit) commit 8a8185a649e93b90ffa820387ffdca831227f5a9 Author: Josh Triplett <josh@freedesktop.org> Date: Thu Nov 30 18:33:13 2006 -0800 Add autogen.sh to EXTRA_DIST. commit efe817f95ef8d05e863c83147e903140bc860de4 Author: Jamey Sharp <jamey@minilop.net> Date: Thu Nov 30 17:58:35 2006 -0800 Release libX11 1.1.1. commit f637a5b03164263a3af2e644cf655e52b015f1bb Author: Ross Combs <rocombs@cs.nmsu.edu> Date: Sat Nov 25 14:45:17 2006 -0800 Debian bug #354315: Clarify return value in XGetWindowAttributes man page This man page does not discuss the actual return values of the function, but says they are of type "Status". One might assume that this means you could compare it with the "Success" macro. One would be wrong. The X functions seem to have two three types representing status. If it is an "int" there are a number of error codes or "Success" which can be compared against. If it is a bool, the result can be compared with "True" or "False". If the return type is "Status" it appears that the return type is either 0 or 1. Unfortunately the value for Success is zero, so it is important to distinguish between the first two types of return values and the third; otherwise the conditional will be inverted. XGetWindowAttributes() is one of the functions which returns zero for failure. The man page should make this clear. commit c6a0b0f18ed1242eeb908f5cf767ab8381edd456 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Nov 25 14:23:45 2006 -0800 Bug #9154: Always process an event for _XReadEvents, even if an error occurs Previously, process_responses (in the wait_for_first_event case called from _XReadEvents) considered any return from xcb_wait_for_event sufficient to think it had processed an event. If xcb_wait_for_event returned an error, and no more events occurred before process_responses called xcb_poll_for_event, process_responses would try to return with dpy->head NULL, and would fail an assertion for the _XReadEvents postcondition. Now, process_responses continues using xcb_wait_for_event until it gets an event. commit d56e78acce9b2aa1dd1bf172afedaa3bccd5e1c8 Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Sat Nov 25 05:29:31 2006 -0800 Bug #9153: Fix access to freed memory. The fix for bug #8622 introduced a smaller bug where _XReply would read memory shortly after freeing it. This patch caches the needed value in a stack-allocated variable before the heap-allocated memory is freed. commit 934ca763bbc0dd7ae460469bfc000ba101602bcc Author: Josh Triplett <josh@freedesktop.org> Date: Fri Nov 24 19:57:58 2006 -0800 libx11 doesn't use inputproto in public headers; don't require it in x11.pc Based on a Debian patch. commit 4255997ef2d92740d51f6e63e9eabcfa089683f0 Author: Josh Triplett <josh@freedesktop.org> Date: Thu Nov 23 07:19:32 2006 -0800 Release libX11 1.1 commit a1168e11ec9377307c51a7271faec3bf88a63a66 Author: Jamey Sharp <jamey@minilop.net> Date: Tue Nov 21 17:52:34 2006 -0800 Add note in man-page that XListFontsWithInfo is not thread-safe. _XReply drops the Display lock, so the value of dpy->request may change before _XReply is called again. I discovered this by inspection a year or two ago. I'm pretty confident in the claim, and nobody has come up with an argument for why it's safe despite appearances. commit 67abe024268c6b1fdee516e5d3a046ccffd7e80a Author: Jamey Sharp <jamey@minilop.net> Date: Sat Nov 18 15:39:26 2006 -0800 Bug #8622: Fix response processing order for threaded apps Previously, process_responses (the common code for _XReply, _XReadEvents, and _XEventsQueued) took the current request sequence number as an argument, and did some highly complicated processing to attempt to process responses in order across threads. This didn't actually work. Now, process_responses handles responses in order, by adding condition variables to the list of outstanding requests in dpy->xcb->pending_requests, and blocking on them when those requests should get processed to allow _XReply to process them; if actually called from _XReply, it returns when _XReply's request should get processed. _XReply broadcasts on the condition variable after it has read its reply and re-acquired the display lock. Another great commit brought to you by Jamey Sharp, Josh Triplett, the Gobby collaborative text editor, conspy, and ridiculous amounts of SSH forwarding. Signed-off-by: Josh Triplett <josh@freedesktop.org> Signed-off-by: Jamey Sharp <jamey@minilop.net> commit 941f02ede63baa46f93ed8abccebe76fb29c0789 Author: Lars Knoll <lars@trolltech.com> Date: Wed Nov 8 12:17:41 2006 -0800 Don't hold the display lock around callbacks to the application. This fixes an XCB locking assertion failure, particularly with emacs. commit e494ecaac1ec8a22bd9a85f800fca74d02e9d358 Author: Diego 'Flameeyes' Pettenò <flameeyes@gentoo.org> Date: Tue Nov 7 09:32:00 2006 -0800 Add xcb-xlib dependency to x11.pc when built against XCB. commit 2302008a3793eb4df8ede777d54fe06505c47eaf Author: Eric Anholt <eric@anholt.net> Date: Mon Nov 6 17:11:42 2006 -0800 XCB: Allocate the right amount of memory for dpy->lock_fns. Fixes a crash I was experiencing on startup of anything using gdk. commit 5f860655be88108b03ccd97470a0814819254bf0 Author: Jamey Sharp <jamey@minilop.net> Date: Thu Nov 2 17:55:31 2006 -0800 Release libX11 1.1 RC2 (1.0.99.2). commit a6f4bbf7b1d725b0f04bd660f57b861a76b19831 Author: Benno Schulenberg <bensberg@justemail.net> Date: Sun Oct 29 03:10:30 2006 +0300 nls (en_US): remove long compositions that override shorter (bug #2286) Remove long compositions that override (or get overriden by) later shorter compositions, e.g. a four-key compose sequence that gets overriden by a later three-key compose sequence. commit 0280bf11ef88673a9b5bba3a91a599260f1f0949 Author: Benno Schulenberg <bensberg@justemail.net> Date: Sun Oct 29 03:08:36 2006 +0300 nls: remove shadowed compose entries (bug #2286) Remove compose entries shadowed by others later on. commit d118f2b1ef10997194b281524177dea7396da7dd Author: Benno Schulenberg <bensberg@justemail.net> Date: Sun Oct 29 03:07:15 2006 +0300 nls: remove duplicate compose entries (bug #2286) Remove a bunch of duplicate entries from various Compose files. commit 5e1cc2fe20e5904ca1e05a4cb7be13d450a593bb Author: Caolan McNamara <caolanm@redhat.com> Date: Sun Oct 29 02:46:15 2006 +0300 XKB geometry: fix leaks in GetKeyboardByName (bug #8099) Don't leak the name and value of every property we parse, as well as the name of every colour. commit 686bb8b35acf6cecae80fe89b2b5853f5816ce19 Author: Matthias Hopf <mhopf@suse.de> Date: Wed Oct 18 14:25:04 2006 +0200 Fix double open of compose file. Issue found by Kees Cook <kees@canonical.com>. commit d3e65cb8cddf08913d83c9df2bb9b1517f2ad3a8 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Oct 14 21:25:10 2006 -0700 XCB: check for and handle I/O errors in _XGetXCBBuffer. commit 256eba6b40c5f811a03b04abf5f85f728ee3ab5d Author: Jamey Sharp <jamey@minilop.net> Date: Wed Oct 11 00:06:50 2006 -0700 XKB bugfix: SyncHandle must be called after UnlockDisplay, not before. commit 1eedf1bd033e496843cfde42ae4ae5a119298605 Author: Jamey Sharp <jamey@minilop.net> Date: Tue Oct 10 23:03:28 2006 -0700 Add correct Display locking to XKB functions. Some XKB functions didn't correctly call LockDisplay or UnlockDisplay. This patch fixes at least some instances of that problem. Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for finding these bugs and proposing a fix, which this patch is based on. commit e17c2cbe9fbaa1600d4b9463ec800a874b0d87cd Author: David Nusinow <dnusinow@debian.org> Date: Tue Oct 10 22:11:05 2006 -0400 Dynamically generate internal manpage section using __libmanpagesuffix__ so that it actually matches the section if you don't use 3X11 commit e53557da969b706dbc843f6fde3db31ffe382e0f Author: Jamey Sharp <jamey@minilop.net> Date: Sat Oct 7 21:00:36 2006 -0700 Release libX11 1.1 RC1 (1.0.99.1). commit bf237409c5fce32c557d298f62f44d456c2b5bc8 Merge: ba47719 2d426d1 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Oct 7 21:07:16 2006 -0700 As XCB support is about to be released in libX11, stable is now subsumed by master. commit ba477191c67ce93e61423cc1abe35275704cce50 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Oct 7 03:48:13 2006 -0700 XCB: Don't rely on having the definition of struct xcb_setup_t available. commit 117b55cbd0b0ce51362df88363ed83d44a493ac7 Author: Jamey Sharp <jamey@minilop.net> Date: Fri Oct 6 16:27:31 2006 -0700 xcb_poll_for_event no longer takes an 'int *error' out-parameter. commit caaa8e8a55e837b3585c1dee7bef194fc4c79d16 Author: Josh Triplett <josh@freedesktop.org> Date: Fri Oct 6 16:26:11 2006 -0700 Actually ship Xxcbint.h commit 7b027e53b5e393082f4f515c8ba18077eb97163f Author: Josh Triplett <josh@freedesktop.org> Date: Fri Oct 6 16:25:50 2006 -0700 Clean ChangeLog only in "make maintainer-clean", not "make clean" ChangeLog requires a git repo to generate; make clean and make distclean shouldn't get rid of it. commit cab22e02e78b3e5b8a73d1cd55cf6686426b47e0 Author: Josh Triplett <josh@freedesktop.org> Date: Fri Oct 6 16:24:58 2006 -0700 Add ChangeLog and "make dist"-generated files to .gitignore commit e4c7cfdee4a40e466c0c6b370cabd432e9e855a0 Author: Josh Triplett <josh@freedesktop.org> Date: Fri Oct 6 15:53:27 2006 -0700 Add manual pages for XGetXCBConnection and XSetEventQueueOwner commit 688224cea95e453f94c5a602dc6fce84bc93dfc0 Author: Josh Triplett <josh@freedesktop.org> Date: Fri Oct 6 13:41:16 2006 -0700 Remove unnecessary prototype for _XFreeDisplayStructure in xcb_disp.c commit ab728ca372288d0db1b486c265e34c1376f29104 Author: Josh Triplett <josh@freedesktop.org> Date: Fri Oct 6 12:36:39 2006 -0700 XCL is dead; long live Xlib/XCB Rename all instances of "XCL" to Xlib/XCB-derived names. The only user-visible change: rename the include file <X11/xcl.h> to <X11/Xlib-xcb.h>; programs will need to change their #include lines to match. Remove the XCL cast inlines from Xlib-xcb.h. commit 5b73093203039d307eb7ab3845c3ced207e9e26c Author: Josh Triplett <josh@freedesktop.org> Date: Fri Oct 6 11:33:49 2006 -0700 Add XCB developers to AUTHORS commit 1cb71ff139276a0a58c60ea5f261f64b94706b9b Author: Josh Triplett <josh@freedesktop.org> Date: Fri Oct 6 11:21:28 2006 -0700 Fix email addresses in README commit 12f038669278019594ca0ed53dadcf4e84092422 Author: Jamey Sharp <jamey@minilop.net> Date: Fri Oct 6 02:13:05 2006 -0700 XCB: Handle all responses in order of monotonically increasing sequence number. commit f392680273278b43079302206897f794e60f3c70 Author: Josh Triplett <josh@freedesktop.org> Date: Fri Oct 6 01:11:08 2006 -0700 Actually install x11-xcb.pc, and ship x11-xcb.pc.in commit f1fcad2e3fd17aaf1294f1d8e9f406fd5b32a863 Author: Jamey Sharp <jamey@minilop.net> Date: Thu Oct 5 18:32:29 2006 -0700 XCB: correctly handle failure to connect to X server. commit e754b3b078d556c7861da56aad47d244e9199e06 Author: Josh Triplett <josh@freedesktop.org> Date: Thu Oct 5 17:44:22 2006 -0700 Split public Xlib/XCB functions into libX11-xcb We can never change the libX11 soname, and we don't want to commit to never changing the public Xlib/XCB functions, so split them into a separate library libX11-xcb. This also means that a program linked solely against libX11 should work with either Xlib or Xlib/XCB, which will make life easier for package maintainers. Signed-off-by: Josh Triplett <josh@freedesktop.org> Acked-by: Jamey Sharp <jamey@minilop.net> commit ffd367f708b295abaedf3a23a1bfd4710d171d6f Author: Jamey Sharp <jamey@minilop.net> Date: Wed Oct 4 17:16:46 2006 -0700 No longer #include Xmd from xcl.h: we do not need it. commit 3aff149d42ba8ed620091971b3766bdf96c62aaf Author: Jamey Sharp <jamey@minilop.net> Date: Wed Oct 4 16:58:32 2006 -0700 XCB: Revert locking to simple wrapper around libX11's normal locks. No more recursive mutexes, no more banging XCB's I/O lock in-place, and reduces the differences between the previous stable release and an XCB-enabled one. Sadly, Xlib's pluggable thread functions work again too, now. I apologize to the world. commit 8ff122fb529bdb1c2b9a86b12d06b6da1b35d708 Author: Jamey Sharp <jamey@minilop.net> Date: Mon Sep 25 04:54:52 2006 -0700 Link explicitly against XCB's Xlib compatibility functions. commit bde3cd123d65a2f36ee0c417f5f231b7e01d0671 Author: Jamey Sharp <jamey@minilop.net> Date: Mon Sep 25 04:13:20 2006 -0700 libxcb now installs header files in <xcb>, not <X11/XCB>. commit 87d00207f5a1f25a45a153618739cd6481814f89 Author: Ian Osgood <iano@quirkster.com> Date: Sun Sep 24 23:39:01 2006 -0700 Track XCB's "Great Renaming". commit 85a5e98dff9b7752fae157fad9b8c9825cb0efab Author: Jamey Sharp <jamey@minilop.net> Date: Tue Sep 12 23:02:42 2006 -0700 Quit using XCBGetQueuedRequestRead. commit a61936fc4e9bd93b108764bbacd5b8f786e51915 Author: Tollef Fog Heen <tfheen@err.no> Date: Wed Aug 30 00:05:54 2006 +0300 nls: use _XlcUtf8Loader for en_US (bug #7982) Use _XlcUtf8Loader instead of _XlcUnicodeLoade,r bringing it into line with every other locale. commit abcc7e1865cdfbd591f6520cfe4257f0b0b1c03e Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Aug 23 18:49:30 2006 -0700 When opening display, if LOCALCONN fails, fall back to UNIXCONN, then TCPCONN Port to X11R7 of Sun bug fix 4061225 by Alex Chen for X11R6 - when failing to connect on a named pipe, try a Unix socket first, to better support people who replace their X servers with ones that don't support named pipe transport. <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4061225> commit 1ddc44c1cada7e926bd4787406444ce7c36b61e1 Author: Mark Brown <mark.brown@sun.com> Date: Thu Jul 27 19:17:10 2006 -0700 Sun bug 1149809: Document event delivery when grab is terminated. commit 171107b03ac89d94f9006c7cda242aeefb9ecd16 Author: Dennis Arellano <Dennis.Arellano@Sun.COM> Date: Thu Jul 27 18:47:06 2006 -0700 Sun bug 4091271: XGetWindowProperty is missing a crucial prop_return description Document that 32-bit format properties are always returned in arrays of type long, even on systems where long is 64-bits. <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4091271> commit 8309efe6550877cd0bf22979904b3f6bd3e6cffa Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Jul 24 15:52:00 2006 -0700 Add support for "make lint" to check code with lint/sparse/etc. commit 931e02fbd1acd09aae2b0954c34342c86c72dff6 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Jul 24 15:50:52 2006 -0700 ANSIfy some static function definitions commit 20b7abcaac324d90454de63f32f4a2b398e69e63 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Jul 24 15:01:40 2006 -0700 Fix sparse warning: Using plain integer as NULL pointer commit d158ab29930513c4097f5b67e7bea08ed2bfd62c Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Jul 24 14:00:24 2006 -0700 Remove unused variable commit 30377000375bdb958042dcb1f38503c94ef21eaf Author: Eric Anholt <anholt@FreeBSD.org> Date: Fri Jul 21 18:55:36 2006 -0400 Bug #7188: Fix the documentation of XUrgencyHint (not UrgencyHint). commit 4eba45879aea4e415ab550ee56b900d060099110 Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Sun Jul 16 10:55:39 2006 +0200 set GIT_DIR=${srcdir}/.git for git-log commit 2d426d1f2608fedb77bd7d010dabece76b8d4a60 Author: Aaron Plattner <aplattner@nvidia.com> Date: Tue Jul 11 13:27:49 2006 -0700 Add a .PHONY to ensure the ChangeLog isn't stale. Setting the ChangeLog rule as phony forces it to be re-run even when the ChangeLog file already exists. Research indicates .PHONY is portable to BSD and Solaris make. (cherry picked from b8a98809ed81e1226775e6447ef219ffc01334b5 commit) commit b8a98809ed81e1226775e6447ef219ffc01334b5 Author: Aaron Plattner <aplattner@nvidia.com> Date: Tue Jul 11 13:27:49 2006 -0700 Add a .PHONY to ensure the ChangeLog isn't stale. Setting the ChangeLog rule as phony forces it to be re-run even when the ChangeLog file already exists. Research indicates .PHONY is portable to BSD and Solaris make. commit 8f2be66089b88e4ed6acb0211ea107f4bb910bd3 Author: Mayank Jain <majain@redhat.com> Date: Tue Jul 11 19:42:47 2006 +0100 add Indian language locales Add as, kn, ml, or, ur, and te locales. commit a92eb6785699bbc9c6c3813f6af3bb9431a3f6b0 Author: Matthias Hopf <mhopf@suse.de> Date: Tue Jul 4 12:16:30 2006 +0200 Fix for autoconf 2.60 issue. Updated AC_DEFINE_DIR. Reverted datarootdir change. commit 644f4828b15bce42b597eb123ba0bbc372c46c03 Author: Keith Packard <keithp@neko.keithp.com> Date: Sat Jul 1 21:31:23 2006 -0700 Work around recent autoconf (2.59?) changes in directory expansion. Recent autoconf versions have changed how directory names are managed in the configure.ac script; automatic 'eval' invocations now occur as a part of the AC_DEFINE_DIR macro which make it imperative that AC_DEFINE_DIR be executed before the variables are used in further macro definitions. Also, ${datadir} is apparantly an old name for ${datarootdir} as ${datadir} doesn't get expanded correctly by AC_DEFINE_DIR. This looks like an autoconf bug, but it is easy to work around by just using ${datarootdir} instead of ${datadir}. commit be70a31229aa106aff0a09d78c00812682cd3475 Author: Keith Packard <keithp@neko.keithp.com> Date: Sat Jul 1 01:56:05 2006 -0700 Xlib/XCB: handle 32-bit sequence wrap. Replace broken sequence compares with XCB_SEQUENCE_COMPARE (copied from XCB). Account for XCB sequence 0 handling. commit 99c711707ad08e1396e123b1c7df687c560a489a Author: Donnie Berkholz <spyderous@gentoo.org> Date: Thu Jun 29 19:43:20 2006 -0700 Bump version to 1.0.3. commit cde3c0dd72af2b490e80cffca962e3487dd31be4 Author: Donnie Berkholz <spyderous@gentoo.org> Date: Thu Jun 29 19:39:36 2006 -0700 Bug #7349: Missed one of the setuid fixes. (cherry picked from e9614c963b532f46a7932c2305a4b177a996a222 commit) commit df3fef8983d96c59d481c4cdaf1f271d54a116d2 Author: Matthias Hopf <mhopf@suse.de> Date: Thu Jun 29 18:59:57 2006 +0200 Update to final Compose cache directory location. (cherry picked from abda4d223e9cce9ac6e7b5d82a5680d9a502e52a commit) commit 912ef198292d3053daa810f842510e5d62ded0f0 Author: Matthias Hopf <mhopf@suse.de> Date: Thu Jun 29 17:41:41 2006 +0200 Fix alignment of trees and wide chars in the cache. (cherry picked from 40a64c61f8bc33d497e1224e02c41dea2d424d97 commit) commit 2ece832118b3ee5d8ed19f1ee9b1c822b70ec6e9 Author: Matthias Hopf <mhopf@suse.de> Date: Wed Jun 28 19:17:03 2006 +0200 First (dummy) entry of compose caches was not initialized and thus contained varying garbage. (cherry picked from f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 commit) commit e9614c963b532f46a7932c2305a4b177a996a222 Author: Donnie Berkholz <spyderous@gentoo.org> Date: Thu Jun 29 19:39:36 2006 -0700 Bug #7349: Missed one of the setuid fixes. commit abda4d223e9cce9ac6e7b5d82a5680d9a502e52a Author: Matthias Hopf <mhopf@suse.de> Date: Thu Jun 29 18:59:57 2006 +0200 Update to final Compose cache directory location. commit 40a64c61f8bc33d497e1224e02c41dea2d424d97 Author: Matthias Hopf <mhopf@suse.de> Date: Thu Jun 29 17:41:41 2006 +0200 Fix alignment of trees and wide chars in the cache. commit f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 Author: Matthias Hopf <mhopf@suse.de> Date: Wed Jun 28 19:17:03 2006 +0200 First (dummy) entry of compose caches was not initialized and thus contained varying garbage. commit bdbe464d774e01d317f67c63ebbda2fd0edbbdd1 Author: Donnie Berkholz <spyderous@gentoo.org> Date: Thu Jun 22 23:59:03 2006 -0700 Delete ChangeLog, and add a rule to autogenerate it for distribution. Also add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a ChangeLog. (cherry picked from b0edfb8df16ab8c9959b83a4c966d55a59c4e295 commit) commit b0edfb8df16ab8c9959b83a4c966d55a59c4e295 Author: Donnie Berkholz <donnie@comet.(none)> Date: Thu Jun 22 23:47:38 2006 -0700 Delete ChangeLog, and add a rule to autogenerate it for distribution. Also add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a ChangeLog. commit dd54981aa76e9dfdc4c3302d6105b4b229447c84 Author: Donnie Berkholz <donnie@comet.(none)> Date: Thu Jun 22 15:47:38 2006 -0700 Bump version to 1.0.2. commit c93539d974a67f596a5eb5b65042d26602546c72 Author: Matthieu Herrb <matthieu@deville.herrb.com> Date: Tue Jun 20 21:04:03 2006 +0200 Check setuid() return value. (cherry picked from 5169d0e08ff6acb350a6ea768623f5ff0b85b05f commit) commit 605533f814ab7892991578706a6458f61a89ca4d Author: Derek Wang <derek.wang@sun.com> Date: Mon Jun 19 11:05:37 2006 -0700 Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded (cherry picked from eff50c94a07194297e705da53d9fbb3a40fb9ad4 commit) commit 5bbd0822c5a926de0ed293437fb9f2b75cf3c4f4 Author: Scott Revelt <scott.revelt@sun.com> Date: Fri Jun 16 19:11:13 2006 -0700 Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators based on locale that doesn't match those used in the Xcms.txt (cherry picked from 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa commit) commit 0b05cd4da6134df527fb010384a9fd569bd5d6a3 Author: Alan Coopersmith <alanc@alf.(none)> Date: Fri Jun 16 18:53:33 2006 -0700 Add *~ to ignore emacs droppings (cherry picked from c33d7b8282ac196b36229be26442296768c16f3e commit) commit 214658b76b56768f69c3959a11525aae7813f448 Author: Matthias Hopf <mhopf@suse.de> Date: Fri Jun 16 15:36:40 2006 +0200 Bug #3104: Compose table cache for faster X11 application starts. (cherry picked from 1f4c9893ade08bad30c9bd12a36bee57d30b001e commit) commit 13968a23aaea838ba4b69e42e8900f803499e091 Author: Matthias Hopf <mhopf@suse.de> Date: Tue Jun 13 20:23:46 2006 +0200 Bug #3104: Compose table cache for faster X11 application starts. (cherry picked from 4fe22647e6010a2886c2f3a7093adeaeb6678faa commit) commit e7f8bca08f5476d0ca262097639ac7d424bb4d10 Author: Lubos Lunak <llunak@suse.de> Date: Mon Jun 12 18:48:08 2006 +0200 Bug #3104: Compose table cache for faster X11 application starts. (cherry picked from 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be commit) commit f506aaf8ac9aae1ee8daaef6cde34ee85aecd641 Author: Matthias Hopf <mhopf@suse.de> Date: Fri Jun 9 18:24:02 2006 +0200 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. (cherry picked from 9354351fcb8baeaab85250d14409cfb4fa50f3e9 commit) commit 0e6d5e979aacb0c295ce79369ecc5f22ffa7922c Author: Jamey Sharp <jamey@minilop.net> Date: Wed Jun 7 20:29:05 2006 -0700 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. (cherry picked from b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 commit) commit cd7328c46ae72903ed02832828891b2dab4d5ee0 Author: Daniel Stone <daniels@preemptive.fooishbar.org> Date: Sat Jun 3 13:51:51 2006 +0300 Fix threading support on GNU/kFreeBSD systems. (Robert Millan) (cherry picked from e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb commit) commit c336eb6b80a6f91da1d0b3d28634a2cfde324670 Merge: 33556ca ad9ebbd Author: Donnie Berkholz <donnie@comet.(none)> Date: Thu Jun 22 14:25:35 2006 -0700 Merge branch 'stable' of http://people.freedesktop.org/~jamey/libX11 into stable commit 213dacad21740466e7ab31b01d3fc513fe4b3e74 Author: Daniel Stone <daniel@fooishbar.org> Date: Thu Jun 22 17:20:59 2006 +0300 Bump to 1.0.99.0 to avoid confusion. commit efedfd68e31bcee2d21ac340be8dc9e1825ec890 Merge: e3acee8 4b8eb5d Author: Daniel Stone <daniel@fooishbar.org> Date: Thu Jun 22 16:53:45 2006 +0300 Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 commit 4b8eb5d4a1da73a94b5a6ab12e34784aae4c79c5 Merge: 5169d0e eff50c9 Author: Matthieu Herrb <matthieu@deville.herrb.com> Date: Tue Jun 20 21:05:15 2006 +0200 Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 commit 5169d0e08ff6acb350a6ea768623f5ff0b85b05f Author: Matthieu Herrb <matthieu@deville.herrb.com> Date: Tue Jun 20 21:04:03 2006 +0200 Check setuid() return value. commit eff50c94a07194297e705da53d9fbb3a40fb9ad4 Author: Derek Wang <derek.wang@sun.com> Date: Mon Jun 19 11:05:37 2006 -0700 Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded commit 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa Author: Scott Revelt <scott.revelt@sun.com> Date: Fri Jun 16 19:11:13 2006 -0700 Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators based on locale that doesn't match those used in the Xcms.txt commit c33d7b8282ac196b36229be26442296768c16f3e Author: Alan Coopersmith <alanc@alf.(none)> Date: Fri Jun 16 18:53:33 2006 -0700 Add *~ to ignore emacs droppings commit 1f4c9893ade08bad30c9bd12a36bee57d30b001e Author: Matthias Hopf <mhopf@suse.de> Date: Fri Jun 16 15:36:40 2006 +0200 Bug #3104: Compose table cache for faster X11 application starts. commit 4fe22647e6010a2886c2f3a7093adeaeb6678faa Author: Matthias Hopf <mhopf@suse.de> Date: Tue Jun 13 20:23:46 2006 +0200 Bug #3104: Compose table cache for faster X11 application starts. commit 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be Author: Lubos Lunak <llunak@suse.de> Date: Mon Jun 12 18:48:08 2006 +0200 Bug #3104: Compose table cache for faster X11 application starts. commit 9354351fcb8baeaab85250d14409cfb4fa50f3e9 Author: Matthias Hopf <mhopf@suse.de> Date: Fri Jun 9 18:24:02 2006 +0200 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. commit b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 Author: Jamey Sharp <jamey@minilop.net> Date: Wed Jun 7 20:29:05 2006 -0700 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. commit ad9ebbd2424bc2699944ffdf4e19e13f9dd8ab84 Author: Daniel Stone <daniels@preemptive.fooishbar.org> Date: Sat Jun 3 12:57:55 2006 +0300 Bug #2186: Add cs_CZ.iso8859-2 alias. commit 9e7765e0b1cbaae6643072d91066ba1201b36227 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 02:46:29 2006 +0300 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) commit a4ac2242b588da23044a20aa999ae84d4de7b2d8 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 02:24:25 2006 +0300 im: add Braille input method (#6296) Bug #6296: Add a Braille input method. (Samuel Thibault) commit 90de1e2e141ec591048a76cb695579ef809a28d3 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 02:22:17 2006 +0300 xkb support: small typo commit 4c3e34bece7402f08139d34d1ef5834e3cf533c7 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 01:50:24 2006 +0300 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. commit 0c6473dd329c7334ae511884bcb6e73e632c784f Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 01:44:53 2006 +0300 nls: fix use of non-keysym dead_space (#5107) Bug #5107: Change users of dead_space to space. commit 6f99f6349de5120f1cb7e02fbc97849341bc48e8 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 01:41:18 2006 +0300 optional XKB support fix Fix compilation with --disable-xkb. commit 217d43ed44ced901122093af3ef1294e1736bb77 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 01:39:12 2006 +0300 i18n: separate data and lib directories Break out locale data into separate data and library directories, under $(datadir) and $(libdir), respectively, by default. commit 92fa7fcde8df22830fca7c0275ab201033f7909c Author: Adam Jackson <ajax@benzedrine.nwnk.net> Date: Thu May 11 14:04:48 2006 -0400 libXcursor.so.1, not libXcursor.so commit 135b4df13ed7c35dbae8975f302fc1fb8412d7c0 Author: Daniel Stone <daniels@preemptive.fooishbar.org> Date: Wed May 10 18:06:03 2006 +0300 XKBMisc.c: use Xfree, not xfree Use Xfree() instead of xfree() when freeing interps. commit 3518d772b08e3433bc28b4d8d293fa53ca25f0ee Author: Daniel Stone <daniels@preemptive.fooishbar.org> Date: Wed May 10 14:51:37 2006 +0300 locale.alias.pre: bg_BG typo fix Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. commit cc533db60cb64dc163c66451933a9bf77c519062 Author: Daniel Stone <daniels@endtroducing.localdomain> Date: Sun Apr 9 22:22:03 2006 +0300 Coverity #203, #204: Fix potential NULL dereferences. commit b83adf7dfd6157694fe4f232012fef36cd9666da Author: Daniel Stone <daniels@endtroducing.localdomain> Date: Sun Apr 9 22:20:25 2006 +0300 Coverity #205: Fix potential NULL dereference. commit 2d0cd10ad907864d0136739eaac459779c9a5332 Author: Daniel Stone <daniels@endtroducing.localdomain> Date: Sun Apr 9 22:18:20 2006 +0300 Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) commit dc2f3966068d66a564aa452cab9f0c26657fa1df Author: Daniel Stone <daniels@preemptive.research.nokia.com> Date: Fri Apr 7 18:11:52 2006 +0300 Coverity #826: Fix potential memory leak. commit 23df609ec451a01c77e8f31ecc85c5af7c62efed Author: Daniel Stone <daniels@preemptive.research.nokia.com> Date: Fri Apr 7 17:49:41 2006 +0300 Bug #1625: Include keysym.h from Xutil.h. commit 5262a1945c543a3419ed626e1deb09ef5b4584c1 Author: Eric Anholt <anholt@leguin.anholt.net> Date: Wed Apr 5 17:12:15 2006 -0700 Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection of Coverity #599, #600. commit 8b42635f577468bb143ca593cdd9fb3450ad712c Author: Eric Anholt <anholt@leguin.anholt.net> Date: Wed Apr 5 16:42:26 2006 -0700 Coverity #558: Free newly-allocated Database in error path. commit 6d06e41d1f431b3f1a1fcf69161e0af411325e9f Author: Eric Anholt <anholt@leguin.anholt.net> Date: Wed Apr 5 16:38:52 2006 -0700 Coverity #582: Free newly-allocated region in error path. commit 5fd8f79ad3e38df74d9a6cb573617542c101df1a Author: Daniel Stone <daniels@preemptive.research.nokia.com> Date: Fri Mar 17 15:58:39 2006 +0200 Properly clip bounds when only one point is defining an outline. commit 1e1572eb7f8394ce152e99d96f711ccf9083baf9 Author: Matthieu Herrb <matthieu@bluenote.herrb.com> Date: Sat Mar 11 15:39:15 2006 +0100 Fix prototype of XConfigureWindow(). Bugzilla #6023. commit 1da8bd904f1fc79d63d368473531b438d08bfe37 Author: Jeremy C. Reed <reed@reedmedia.net> Date: Tue Feb 21 14:10:22 2006 -0800 Set XTHREADLIB correctly for dragonfly platforms. commit c9768133e3f65ac4bb64e3941e2d6ae36897ec9c Author: Jamey Sharp <jamey@minilop.net> Date: Sun Feb 19 12:29:27 2006 -0800 Update .gitignores for *.o and nls/locale.dir*. commit efcbde6ba0b770bb0d4c7818e307712161011f10 Author: Jamey Sharp <jamey@minilop.net> Date: Sun Feb 19 12:28:41 2006 -0800 Move .cvsignore to .gitignore. commit e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb Author: Daniel Stone <daniels@preemptive.fooishbar.org> Date: Sat Jun 3 13:51:51 2006 +0300 Fix threading support on GNU/kFreeBSD systems. (Robert Millan) commit f1bd3152359ddfadd0d043006036c239f3e2907b Author: Daniel Stone <daniels@preemptive.fooishbar.org> Date: Sat Jun 3 12:57:55 2006 +0300 Bug #2186: Add cs_CZ.iso8859-2 alias. commit 2b1b79d90db1d7f0472718b8c010c36275994195 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 02:46:29 2006 +0300 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) commit d6fba1f44d404362d3be1b421f57d7ccc3c8cdac Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 02:24:25 2006 +0300 im: add Braille input method (#6296) Bug #6296: Add a Braille input method. (Samuel Thibault) commit 0fed7d3185addd610e917dcdaa0676f0256c0ec5 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 02:22:17 2006 +0300 xkb support: small typo commit cf7d9f9e46f3ce01ac04a95978918d5c0f3f3cf9 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 01:50:24 2006 +0300 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. commit 332d45fce9fdbf59168d90a133af1f580a589e54 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 01:44:53 2006 +0300 nls: fix use of non-keysym dead_space (#5107) Bug #5107: Change users of dead_space to space. commit 34f59ce3d1e2eb2971b732d11871c6fff8a1c75b Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 01:41:18 2006 +0300 optional XKB support fix Fix compilation with --disable-xkb. commit c5940a0b85edec4003f91a59fc3c44f538accfe1 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 01:39:12 2006 +0300 i18n: separate data and lib directories Break out locale data into separate data and library directories, under $(datadir) and $(libdir), respectively, by default. commit 33556ca81db2419b9d2a37664c4cea2069414b37 Author: Adam Jackson <ajax@benzedrine.nwnk.net> Date: Fri May 12 14:49:17 2006 -0400 Bump to 1.0.1 commit 80d88557626fae9debc404de33d7fb5d69a6049d Author: Adam Jackson <ajax@benzedrine.nwnk.net> Date: Thu May 11 14:06:28 2006 -0400 libXcursor.so.1, not libXcursor.so commit 5384f27dfe3c94c462c137ab3540eaa5646ca4c6 Author: Adam Jackson <ajax@benzedrine.nwnk.net> Date: Thu May 11 14:04:48 2006 -0400 libXcursor.so.1, not libXcursor.so commit 01f4d433eed6b70c6e9636157acac022054fdeb6 Author: Jamey Sharp <jamey@minilop.net> Date: Wed May 10 17:02:52 2006 -0700 Count any partial request towards the current Xlib sequence number. commit 770cfbd1fcc80a83a9be0c4f68727b8af2c8f4a4 Author: Daniel Stone <daniels@preemptive.fooishbar.org> Date: Wed May 10 18:06:03 2006 +0300 XKBMisc.c: use Xfree, not xfree Use Xfree() instead of xfree() when freeing interps. commit 22a5255b80b80772612279bc840a953edd0e3442 Author: Daniel Stone <daniels@preemptive.fooishbar.org> Date: Wed May 10 14:51:37 2006 +0300 locale.alias.pre: bg_BG typo fix Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. commit 9cac8c9824874ca7d835f001a4efa910b7fdd822 Merge: 19b8840 e514bc8 Author: Daniel Stone <daniels@preemptive.fooishbar.org> Date: Wed May 10 14:50:37 2006 +0300 Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 commit e514bc875f27f4bf197b06b8315eeca526195915 Author: Jamey Sharp <jamey@minilop.net> Date: Tue May 9 12:41:59 2006 -0700 Assert that dpy->request does not go backwards. Catches #5839 earlier. commit fc1159137365a599bf611ee001f439416952c4e0 Author: Jamey Sharp <jamey@minilop.net> Date: Sun May 7 17:40:01 2006 -0700 In _XPutXCBBuffer, set aside any trailing partial request until the last byte is available. commit c394480a4247213239822808e3f6e7c6cd6decd9 Author: Jamey Sharp <jamey@minilop.net> Date: Sun May 7 16:58:13 2006 -0700 Update for XCB ConnSetupSuccessRep name change. commit 7672bf93bc1200905461aeb0a2dc2c2696410b93 Author: Daniel Stone <daniels@endtroducing.localdomain> Date: Sun Apr 9 22:22:03 2006 +0300 Coverity #203, #204: Fix potential NULL dereferences. commit cfcafbe48d22d9a0cd50eb9454ce0ff88f0129d3 Author: Daniel Stone <daniels@endtroducing.localdomain> Date: Sun Apr 9 22:20:25 2006 +0300 Coverity #205: Fix potential NULL dereference. commit b6771501feea98d037032f82117b6d4f15779f07 Author: Daniel Stone <daniels@endtroducing.localdomain> Date: Sun Apr 9 22:18:20 2006 +0300 Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) commit 19b8840af241087bb17b1edabcaa9b28fdd0a1dc Author: Daniel Stone <daniels@preemptive.research.nokia.com> Date: Fri Apr 7 18:11:52 2006 +0300 Coverity #826: Fix potential memory leak. commit 3a16f262abe48b44ed641525e894bc22e13bf72a Author: Daniel Stone <daniels@preemptive.research.nokia.com> Date: Fri Apr 7 17:49:41 2006 +0300 Bug #1625: Include keysym.h from Xutil.h. commit 2481b767ae96e2f2503c0390545932c8397b090f Author: Eric Anholt <anholt@leguin.anholt.net> Date: Wed Apr 5 17:12:15 2006 -0700 Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection of Coverity #599, #600. commit 152b17e47d878c2d928eb74581aa69d925a29123 Author: Eric Anholt <anholt@leguin.anholt.net> Date: Wed Apr 5 16:42:26 2006 -0700 Coverity #558: Free newly-allocated Database in error path. commit bc62b99ef36edb34035911c42104be7f6f9d2333 Author: Eric Anholt <anholt@leguin.anholt.net> Date: Wed Apr 5 16:38:52 2006 -0700 Coverity #582: Free newly-allocated region in error path. commit d47f0b3cec1388f7ce60ab2af91df0dea0f221c5 Author: Jamey Sharp <jamey@minilop.net> Date: Fri Mar 31 22:53:07 2006 -0800 Fix buggy interaction with XCB when running out of XIDs. commit e3f452571824d6a875bbf582946de185de9e01e9 Author: Jamey Sharp <jamey@minilop.net> Date: Fri Mar 31 22:52:14 2006 -0800 Add explicit include of Xmd.h to work around bug including both xcb.h and Xmd.h simultaneously. commit 2363b74ca795c1b3a73c9e572532ba5191adec5b Author: Daniel Stone <daniels@preemptive.research.nokia.com> Date: Fri Mar 17 15:58:39 2006 +0200 Properly clip bounds when only one point is defining an outline. commit e876efb8aa410f2f5c87aaaa7042f847c4ff96f7 Merge: be266b2 f71ea0b Author: Matthieu Herrb <matthieu@bluenote.herrb.com> Date: Sat Mar 11 15:40:35 2006 +0100 Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 commit be266b201dc13530a302a7572283ccd3f32aad87 Author: Matthieu Herrb <matthieu@bluenote.herrb.com> Date: Sat Mar 11 15:39:15 2006 +0100 Fix prototype of XConfigureWindow(). Bugzilla #6023. commit f71ea0bc737c5a42e9e022b86e7ec3b4f846d31c Author: Jamey Sharp <jamey@minilop.net> Date: Fri Mar 3 11:08:41 2006 -0800 Update for XCBSendRequest sequence number API changes. commit a11d1b0ae674320cf9897f6a83ec08c65eca8d9b Author: Jamey Sharp <jamey@minilop.net> Date: Fri Mar 3 01:42:49 2006 -0800 Use the full_sequence from XCBGenericError/Event for setting last_request_read, and quit replacing _XSetLastRequestRead with an XCB-specific version. commit d8ba4ae7045b227f8b675628b9094dded02f1c08 Author: Jamey Sharp <jamey@minilop.net> Date: Thu Mar 2 23:43:26 2006 -0800 Bugfix: Rely on XCBSendRequest to leave iov in a well-defined state, and place the spare iovecs at the beginning of the array. commit f9afb5a54435c30961306080e9358d4240ecb844 Author: Jamey Sharp <jamey@minilop.net> Date: Thu Mar 2 23:34:19 2006 -0800 assert() that we will not infinite loop or read uninitialized memory. commit d3512ef3aae5b036a8ce6579318108f1ec20ee22 Author: Jamey Sharp <jamey@minilop.net> Date: Thu Mar 2 15:58:52 2006 -0800 Quit relying on XCBSendRequest to pad to 4-byte boundaries and do it ourselves. commit fb590c15a740264ee867d15a2547072e43b21eed Author: Jamey Sharp <jamey@minilop.net> Date: Thu Mar 2 12:06:04 2006 -0800 Handle errors correctly when Xlib owns the event queue and XCB has the checked error feature. commit 8356ba37d307a9eda895a6bf41ef727bbfc9a695 Author: Jamey Sharp <jamey@minilop.net> Date: Mon Feb 27 11:51:47 2006 -0800 Use the new XCBSendRequest flag, XCB_REQUEST_RAW, to hand a bag-o-bytes down uninterpreted. commit 07bdf1fbbf2418f866df1a2140d514dd3f035139 Author: Jamey Sharp <jamey@minilop.net> Date: Sun Feb 26 15:46:01 2006 -0800 Update for new XCBSendRequest API. commit 409a08cff8347d39e0e6c53c9f380d21f221f5ac Author: Jamey Sharp <jamey@minilop.net> Date: Thu Feb 23 18:12:31 2006 -0800 Performance fix: Replace calls to XCBGetRequestRead with the new XCBGetQueuedRequestRead. Cuts a lot of syscalls. commit ec30a27341b97620b07dd886f98d1d7664a67685 Author: Jamey Sharp <jamey@minilop.net> Date: Thu Feb 23 18:01:46 2006 -0800 Minor performance fix: Access dpy->xcl->connection directly instead of calling XCBConnectionOfDisplay. It happens a lot. commit 53c471c6a835d5cedeca99f2c97058d196a3fd7e Author: Jamey Sharp <jamey@minilop.net> Date: Thu Feb 23 11:46:09 2006 -0800 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. commit 41c0121a8718b530feaf7fe315b673d9b8defce2 Author: Jamey Sharp <jamey@minilop.net> Date: Tue Feb 21 21:25:41 2006 -0800 Refactor the code that passes requests down to XCB into a separate issue_complete_request function. commit 67d06e0fe468dca22847aa14d3f917128f89f9cf Author: Jamey Sharp <jamey@minilop.net> Date: Tue Feb 21 15:33:05 2006 -0800 If we have not actually put the buffer back, deferred invariants may not hold. This is OK. commit 434bf80b4053ff1ba82adf65de1f76b4d3731bf1 Author: Jeremy C. Reed <reed@reedmedia.net> Date: Tue Feb 21 14:10:22 2006 -0800 Set XTHREADLIB correctly for dragonfly platforms. commit b24834762e975bd319f9ab5c7cf790b2a02a9474 Author: Jamey Sharp <jamey@minilop.net> Date: Tue Feb 21 14:03:26 2006 -0800 Sometimes functions other than _XUnlockDisplay call _XPutXCBBuffer. Some invariants appropriate for Unlock are not appropriate otherwise: move them to _XUnlockDisplay. commit 99b8defd0d5e6993071e21638128c9de2574b37d Author: Jamey Sharp <jamey@minilop.net> Date: Tue Feb 21 13:04:21 2006 -0800 Execute BeforeFlush hooks on complete buffers, not request-at-a-time. Traditional Xlib worked this way; I dunno why I changed it. commit 9b01e7849775749182052fe324df9d8e6ceeee99 Author: Jamey Sharp <jamey@minilop.net> Date: Tue Feb 21 12:51:44 2006 -0800 Factor the XCBSendRequest call out of the conditional in _XPutXCBBuffer. commit 7ce7ac882de128955751a5307889db9d712d8a72 Author: Jamey Sharp <jamey@minilop.net> Date: Tue Feb 21 12:44:30 2006 -0800 Quit using a triple-pointer. Almost as if I were a sensible person. commit 35a858be218cdbfa4593d44a67663d5c25297016 Author: Jamey Sharp <jamey@minilop.net> Date: Tue Feb 21 12:21:01 2006 -0800 Remove the XCL_PAD macro. commit e741b70ed2542c5463c57dac44bc37328616733b Author: Jamey Sharp <jamey@minilop.net> Date: Sun Feb 19 12:29:27 2006 -0800 Update .gitignores for *.o and nls/locale.dir*. commit f25b4b00e1683b0d97dba46dac46d65a9c2270a6 Author: Jamey Sharp <jamey@minilop.net> Date: Sun Feb 19 12:28:41 2006 -0800 Move .cvsignore to .gitignore. commit c7cda56eebaf6ab11403363be14d4948d7d8be38 Author: Jamey Sharp <jamey@minilop.net> Date: Sun Feb 19 11:49:15 2006 -0800 Land XCB support on X.org HEAD. commit 881467b3032261791ef5ec61b3879bb68d0a3d8c Author: Jamey Sharp <jamey@minilop.net> Date: Sun Feb 19 02:14:11 2006 +0000 Merge the X11 and BIGREQS package sets: they were used in exactly the same places. commit 6b0158dfad714db5b89c04dbea3aedeafa0fb146 Author: Jamey Sharp <jamey@minilop.net> Date: Tue Feb 14 19:37:36 2006 +0000 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. commit 010c3acbb3a6993d39274f42d88c00849acb0fb0 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sun Feb 12 18:19:17 2006 +0000 Bug #5628 <https://bugs.freedesktop.org/show_bug.cgi?id=5628> Shadow pages not created correctly when MANDIR & MANSUFFIX don't match. commit fe8c01c80263457f01b70dc1511b2bd9466b7c96 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Feb 3 23:34:43 2006 +0000 Fix typo in .TH line commit b091c217f3c3f60dde78b09a95c150df6c83d7ba Author: Kevin E Martin <kem@kem.org> Date: Thu Dec 15 00:24:28 2005 +0000 Update package version number for final X11R7 release candidate. commit e7c04e0e65a2a0c70c6ad29ec2d6f4350fd81c2a Author: Kevin E Martin <kem@kem.org> Date: Tue Dec 6 22:48:41 2005 +0000 Change *man_SOURCES ==> *man_PRE to fix autotools warnings. commit b5c495854d5270e64e6d588388ffa906bfcaac22 Author: Kevin E Martin <kem@kem.org> Date: Sat Dec 3 05:49:42 2005 +0000 Update package version number for X11R7 RC3 release. commit 9e96dbc343c7f27ff47607acd75378ab23903e2a Author: Kevin E Martin <kem@kem.org> Date: Sat Dec 3 04:41:47 2005 +0000 Add check and cflags for malloc(0) returning NULL. commit 649c37b47909620ccafde3e983de8321cddd74ce Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Nov 28 22:03:04 2005 +0000 Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4 update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir) commit 8d1500df66d796ebff2b0d8c02205e5fa6796d4a Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Nov 23 22:33:06 2005 +0000 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 commit 93cf3747f9ae8d30bd485b41c5ff10397f68f078 Author: Eric Anholt <anholt@freebsd.org> Date: Sun Nov 20 23:17:39 2005 +0000 Add/improve libs .cvsignores. commit fa1f4a08112bfa14d3758f4702733dd3892966c3 Author: Kevin E Martin <kem@kem.org> Date: Sat Nov 19 07:15:39 2005 +0000 Update pkgconfig files to separate library build-time dependencies from application build-time dependencies, and update package deps to work with separate build roots. commit 7012f9b56c594cf40855ba0dbf93af1263417a8c Author: Kevin E Martin <kem@kem.org> Date: Mon Nov 14 21:51:07 2005 +0000 Fix xf86bigfont pkgconfig dep typo. commit 60a72f47951f46b4e0505d9903a94af3b6bed8ca Author: Kevin E Martin <kem@kem.org> Date: Wed Nov 9 21:19:12 2005 +0000 Update package version number for X11R7 RC2 release. commit 6bb0c3796b6e1beddc376a896e865704886e1462 Author: Kean Johnson <kean@armory.com> Date: Tue Nov 8 06:33:25 2005 +0000 See ChangeLog entry 2005-11-07 for details. commit 14be0098ad90c3e68bd2d21b00ffabb76f1fd780 Author: Kevin E Martin <kem@kem.org> Date: Tue Nov 1 15:11:50 2005 +0000 Update pkgcheck dependencies to work with separate build roots. commit 1bf71462a972e0fc56de63f5c7fd613b37fc70f1 Author: Donnie Berkholz <spyderous@gentoo.org> Date: Fri Oct 28 10:44:03 2005 +0000 Revert that, it's redundant. But it is worth noting that --disable-xkb is broken, if anyone cares. commit be627a39fe373e2e81fdc263780e70a271d9e0c5 Author: Donnie Berkholz <spyderous@gentoo.org> Date: Fri Oct 28 08:28:08 2005 +0000 Add dependency on inputproto for XI.h. commit 5fae4cb456cb03fb70cd065dbc2ca94c8ed99082 Author: Adam Jackson <ajax@nwnk.net> Date: Fri Oct 21 18:44:24 2005 +0000 Bug #4736: Error decoding for Damage extension. (Jonathan Lennox) commit 1171fa9dc77413f0e90933a565ec07068052afb4 Author: Kevin E Martin <kem@kem.org> Date: Wed Oct 19 02:48:08 2005 +0000 Update package version number for RC1 release. commit 2a2d905706308b9d5a1c16af1067fb390f43850c Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Oct 18 00:00:08 2005 +0000 Use @LIB_MAN_SUFFIX@ instead of $(LIB_MAN_SUFFIX) in macro substitutions to work better with BSD make commit 66d35b6971fb26762392a2a8e2c47db46c11116a Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Oct 17 21:13:15 2005 +0000 Rename .shadows.DONE to shadows.DONE to avoid some make's thinking it's a suffix rule (reported by Matthieu Herrb) commit a316995a17c084e98ef1b7f25d287c2c08b6d749 Author: Donnie Berkholz <spyderous@gentoo.org> Date: Sun Oct 16 03:03:35 2005 +0000 Change '==' to portable '='. commit b76a072530e884bcbea6ed8fed5aef39361dcfc0 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Oct 12 00:04:50 2005 +0000 configure.ac Use XORG_MAN_SECTIONS instead of custom man section configuration. Add shadow man pages for man pages that document multiple functions. commit 8ee5c1429af98206e05a0536f87c0f21a529cdf0 Author: Eric Anholt <anholt@freebsd.org> Date: Tue Oct 11 02:18:36 2005 +0000 Add appropriate pthread libs/flags for FreeBSD, fixing the build of ico and probably others. commit 41ff3b9d1f194a7b56437b650d5f589225c078c6 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sun Oct 9 22:28:39 2005 +0000 Bug #3021 <https://bugs.freedesktop.org/show_bug.cgi?id=3021> Requests and Errors for XFixes are not in XErrorDB (Jonathan Lennox) commit 91ed79852e790049ab54e68f288afb3c953194c9 Author: Kevin E Martin <kem@kem.org> Date: Fri Oct 7 15:00:00 2005 +0000 Clean up generated files Add missing dist tarball files commit 440399b470c97b159a530602fff11c315aca8d97 Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Wed Oct 5 18:27:10 2005 +0000 Add el_GR.UTF-8 compose file commit 010f0647e25ac617d0f92c8d2b8dda684da545db Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Sep 30 07:52:46 2005 +0000 Bug #2609: Add Kyrgyz locale (Ilyas Bakirov). commit 3ef2fb67bd8905b208ad7eb790c3843e14cea7ed Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Sep 30 07:47:55 2005 +0000 Bug #1640: Kinyarwanda locale support. (Steve Murphy) commit 4ae0decabe0960870df0ec165f495166c10a053c Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Sep 30 07:40:03 2005 +0000 Bug #2268: Add South African locales (Dwayne Bailey). Some whitespace cleanups, as the parser is a little touchy. commit 3f79eb4c99844f618f1889741d1631c2ffe5385f Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Sep 30 07:11:19 2005 +0000 Generate locale.alias and compose.dir exactly like we do in the monolith, which fixes non-UTF-8 locales in particular (so we get foo: bar, as well as foo bar). Switch to generating locale.dir the same way. commit d1237d1483ff972c76a0ac344ec97d5280db0007 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Sep 29 21:27:12 2005 +0000 Add Xcms.txt to lib/X11 commit 4a86f299693f7376cbe98175f0b0c44d691802b3 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Sep 24 20:11:06 2005 +0000 Add XQueryExtension.man commit a057a66e2041d45198a13a4ece7c07068f76f21b Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Sep 24 00:16:32 2005 +0000 Add XTHREAD_CFLAGS for platforms that need special defines like -D_REENTRANT or -D_POSIX_whatever to get re-entrant function definitions. Set XDMCP_LIBS correctly for later libXdmcp tests. commit 3e920a65a7c376ad63eae2240fd06904d25d18bf Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Sep 2 23:00:30 2005 +0000 Issue an error if XTRANS macros were not found when generating configure from configure.ac to flag errors early, instead of when people wonder why libX11 can't talk to an Xserver because it has no transports defined commit 3eb9f2d693af89d04e2fd92492c8205dce332c9c Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Sep 1 19:24:13 2005 +0000 Use $(X11_LOCALEDATADIR) instead of @X11_LOCALEDATADIR@ so this install destination can be overridden at make install time. commit 7afa64325183b78d2d6a4862821f8b3e9866105c Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Sun Aug 28 19:45:48 2005 +0000 OpenBSD needs -lpthread for threaded applications too. commit 2b2f3d3877cb7927f196d01a5df6a27bf8d0518a Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Aug 26 05:16:46 2005 +0000 Define ERRORDB/KEYSYMDB to XERRORDB/XKEYSYMDB if the former is undefined but the latter is. (Gerte Hoogewerf) commit 07066da0902df91c71f2adb81d1a17ec29165553 Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Sun Aug 21 15:45:04 2005 +0000 update commit de44d8b111f57bd2f015e085fd8298c5f2a15ef3 Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Sun Aug 21 15:38:39 2005 +0000 Threads support for BSD systems: - need to check for gewtpwuid_r to define mtsafeapi - build UIThrstubs if needed. commit 60217fdb918bafb2082519efe5cba3b13ad3082a Author: Adam Jackson <ajax@nwnk.net> Date: Wed Aug 17 19:46:08 2005 +0000 Add xthreadlib variable to x11.pc. Bump to 0.99.1. commit e1f4c6f5e36c1511f66fa1fac76520fd97eecbad Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Aug 17 01:27:08 2005 +0000 Fix more broken multi-line .ds macros. Remove extraneous ;'s . commit 1909786f4a7d686369edcfc05a938df115fab37c Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Aug 16 19:23:15 2005 +0000 Bugzilla #4112 <https://bugs.freedesktop.org/show_bug.cgi?id=4112> Patch #2687 <https://bugs.freedesktop.org/attachment.cgi?id=2897> Fix multi-line macros in XPutImage man page. (Debian bug #323210, fix by David Mart?nez Moreno) commit 83406d69c62070d2eeef23eb47f1ca887f711ee5 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Aug 15 19:53:37 2005 +0000 Move RAWCPP macro to xorg-macros.m4 so other modules can use it Add check for whether or not RAWCPP needs -traditional instead of hardcoding it, so non-gcc cpp's can be used commit 5bb43de17de8e71d967488a713bf2b3448533444 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Aug 6 18:59:49 2005 +0000 Typo fix in output message commit afe34b95862bb3c06cdbe724cb5ec3001a4a5215 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Aug 4 02:55:49 2005 +0000 //bugs.freedesktop.org/show_bug.cgi?id=1887> Patch #3005 <https://bugs.freedesktop.org/attachment.cgi?id=3005> libX11 locale defs severely adrift from glibc: adding new aliases (From Debian via Nathanael Nerode) commit 3979a0b88edf6475ce5cfaa386e18ef980bda13c Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Aug 4 02:51:30 2005 +0000 //bugs.freedesktop.org/show_bug.cgi?id=1887> Patch #3002 <https://bugs.freedesktop.org/attachment.cgi?id=3002> libX11 locale defs severely adrift from glibc: locales bugfix for bs_BA (From Debian via Nathanael Nerode) commit 34b454df192f4563499c453ccdb8c079f4a20cbe Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Jul 30 20:30:46 2005 +0000 Include config.h so Xtrans knows which transport types to build code for commit cd9c9936b49c125eda779b99887d7e6ae4cf56cd Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Jul 30 19:15:16 2005 +0000 Add -D flags to clear various warnings (Stefan Dirsch) commit e7fef67b4531faddd805d8f2157903006d3117ed Author: Kevin E Martin <kem@kem.org> Date: Fri Jul 29 21:22:50 2005 +0000 Various changes preparing packages for RC0: - Verify and update package version numbers as needed - Implement versioning scheme - Change bug address to point to bugzilla bug entry form - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to reenable it) - Fix makedepend to use pkgconfig and pass distcheck - Update build script to build macros first - Update modular Xorg version commit 2ebb00244928237088e68325b1032b3550455ce9 Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Sat Jul 23 20:19:31 2005 +0000 remove orphan TAB at begin of line commit dd7a9cdecda73e024ca84c5b9a22b18688038d94 Author: Kevin E Martin <kem@kem.org> Date: Sat Jul 23 18:09:39 2005 +0000 Modify modular libs to use Xregion.h instead of region.h commit 6d635a88d91647b1b63611c3591f74916f88cd1c Author: Kevin E Martin <kem@kem.org> Date: Sat Jul 23 18:06:16 2005 +0000 lib/Xrender/Picture.c Change region.h to Xregion.h and modify internal references to include <X11/Xregion.h>. commit 36283f50fd9748733ae84cb7fb52ca8d9e661c15 Author: Daniel Stone <daniel@fooishbar.org> Date: Sat Jul 16 06:25:35 2005 +0000 Set soversion to 6.2.0. commit 75fd5ae6e4683b9b9dcc13bc2f0faf223610a74f Author: Keith Packard <keithp@keithp.com> Date: Fri Jul 15 04:27:32 2005 +0000 Add missing Makefile.am to lib/X11/modules commit 6d84a8b1329af1fcfe86b198f1a6e7dd6ff616c3 Author: Keith Packard <keithp@keithp.com> Date: Fri Jul 15 04:08:51 2005 +0000 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. commit 45f40126a73295345bb5eb187b1167874842ab6e Author: Alexander Gottwald <ago@freedesktop.org> Date: Thu Jul 14 19:50:00 2005 +0000 Add $(top_srcdir)/src to include list commit 0aed7d91f5928d09d541617aad03709b5090658d Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Thu Jul 14 17:04:49 2005 +0000 Build fix for non-GNU make. commit b79422ccb02ab44548d1038956ab0cd4e2638645 Author: Adam Jackson <ajax@nwnk.net> Date: Thu Jul 14 15:12:44 2005 +0000 typo fixes (Matthieu Herrb) commit 419304cde2fda19457c667870edefc0b227651b3 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Jul 13 02:41:36 2005 +0000 Add missing backslashes to xlocale_la_SOURCES commit d14cc5c8964c4539b57c6cb51ef653292e410b79 Author: Keith Packard <keithp@keithp.com> Date: Mon Jul 11 20:32:55 2005 +0000 Ammend AM_CFLAGS with all needed includes; cannot figure out an easy way to automate this. commit 424c2d8905eb2ad0a2df15b1da2f96140bfbcffb Author: Lars Knoll <lars@trolltech.com> Date: Mon Jul 11 15:24:32 2005 +0000 compile commit de9784eb1bde46efc316da279e3da27c6cc288a7 Author: Keith Packard <keithp@keithp.com> Date: Mon Jul 11 09:26:40 2005 +0000 Ignore built man page files commit 0c258c36d1523113790c599b16d2947d7aa6469a Author: Keith Packard <keithp@keithp.com> Date: Mon Jul 11 09:18:31 2005 +0000 Minor changes to help modular Xlib build i18n modules commit 6e752ea1203b786423e40f43340bce15ca3de0f0 Author: Keith Packard <keithp@keithp.com> Date: Mon Jul 11 08:29:18 2005 +0000 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. commit b46cf0d879f1dbf92dcf5a0305d18986c766ed84 Author: Daniel Stone <daniel@fooishbar.org> Date: Sun Jul 10 22:37:33 2005 +0000 Fix segfault when _XimProtoCreateIC() fails to create a context; Debian #239991. (Chung-chieh Shan) commit 6f2132b18e61ca9755e4b45550f3f5097dd1fbb7 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Jul 9 20:06:04 2005 +0000 Set __libmansuffix__ & __xorgversion__ correctly when cpp processing man pages commit 3939ac4410446b46071c9d714f4270c12bf904fe Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Jul 9 18:44:14 2005 +0000 - Since all but one line of all the nls/*/Makefile.am files are identical, move common bits to nls/localerules.in for easier updating and use automake includes to include in all the nls/*/Makefile.am files - Don't assume $(CPP) can take gcc-only -traditional flag - CPP process man pages as is done in the monolithic tree commit 19ba9d0df86c688319377467254b9ea9c4b0eccc Author: Keith Packard <keithp@keithp.com> Date: Sat Jul 9 06:01:49 2005 +0000 Clean up .cvsignore files commit f4bba6fa9b9ce637be7662754750054567e9250a Author: Adam Jackson <ajax@nwnk.net> Date: Sat Jul 9 02:53:29 2005 +0000 typo fix. i suck. commit 3305da61a61695e24c1ea11d3f59dddb52873d47 Author: Adam Jackson <ajax@nwnk.net> Date: Sat Jul 9 02:41:18 2005 +0000 Check for bigfont proto headers via pkgconfig (Arwed von Merkatz) commit afdae2e8ccb93de2987b5a5e850695af15ece7e0 Author: Keith Packard <keithp@keithp.com> Date: Fri Jul 8 07:11:56 2005 +0000 Create and use XlibConf.h to match modular build which needs XTHREADS defined when building extensions commit 86fa88dc594ca2093030acf5c84973ee2b33eb4c Author: Keith Packard <keithp@keithp.com> Date: Fri Jul 8 06:57:06 2005 +0000 Create and install XlibConf.h to provide external users of Xlibint.h the defines necessary to correctly use the library. Xlibint.h should #include this new file. Add a bunch of .cvsignore files commit 30f6ffedeaf899e699f0c6b14c9471ce9bcc430c Author: Chris Less <clee@c133.org> Date: Mon Jul 4 23:01:48 2005 +0000 Fixing bug #380 - add a man page for XQueryExtension, XListExtensions, and XFreeExtensionList. commit 55328bb6caabd37885cd19d7a5821ed425daf321 Author: Eric Anholt <anholt@freebsd.org> Date: Sun Jul 3 10:17:38 2005 +0000 Avoid a gmake-specific construct, and instead just write the name of the current directory into each Makefile.am. commit 726538ba21b631bfb0b8094a5546acdaf57379ff Author: Daniel Stone <daniel@fooishbar.org> Date: Sun Jul 3 07:37:33 2005 +0000 Fix more include paths; add dix-config.h to XKB code. commit 8c7677138e70e14eca0255f2168583f0ecc21994 Author: Daniel Stone <daniel@fooishbar.org> Date: Sun Jul 3 07:00:55 2005 +0000 Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings. Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>. commit 197697c92a63091a4cc3cc04dcb7fa29d2655758 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jul 1 22:13:35 2005 +0000 Fix objdir != srcdir, as well as make distcheck. Don't attempt to create Compose.pre files; formatting fixes. Added if not already present. commit c162d60ad8f124563f94a2a266de59373936266c Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Wed Jun 22 22:46:31 2005 +0000 Apply these patches from Theo van Klaveren: lib-dmx.patch lib-FS.patch lib-X11.patch lib-XRes.patch lib-XScrnSaver.patch lib-xtrans.patch to make the libraries distcheck. commit 9ee8abdab03ea605a6327118ab7dacab6adf8876 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Jun 18 07:48:43 2005 +0000 Move Secure RPC flags from X11/configure.ac to xtrans/xtrans.m4 since multiple modules will need them commit 12afc57b7d455781eee305e9ed6a899ceec8729e Author: Daniel Stone <daniel@fooishbar.org> Date: Wed Jun 15 16:50:47 2005 +0000 Typo fix to locale/error/keysym location declarations. commit 9a895777e30762f61b98d25be3b5d8b1169baa17 Author: Daniel Stone <daniel@fooishbar.org> Date: Wed Jun 15 13:37:43 2005 +0000 Typo in ImUtil.h commit -- I AM CAPTAIN SKILL. commit add49285663684875ab7a5c58ec7a2cf8b775f67 Author: Daniel Stone <daniel@fooishbar.org> Date: Wed Jun 15 13:32:35 2005 +0000 Define locations for XErrorDB, XKeysymDB, and locale data in configure.ac. Add AC_DEFINE_DIR macro from autoconf-archive.cryp.to towards this end. Move ImUtil.h from src/ to include/X11/. commit 845dfc6b42b950890866ee4df27761e086f50dca Author: Daniel Stone <daniel@fooishbar.org> Date: Wed Jun 15 13:27:48 2005 +0000 Move ImUtil.h from src/ to include/X11/. Additionally, copy Cmap.h as a distribution file. commit bba117f0d98f62cfb060d0fab97b407a3a0bfda9 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 10 14:11:36 2005 +0000 Remove pointless include of Xlib.h. Fix #include path to bigreqstr.h. commit 1a0de49da1274882bab05b0f7240936b37955e5c Author: Alexander Gottwald <ago@freedesktop.org> Date: Thu Jun 9 21:30:15 2005 +0000 Use $(srcdir) for Compose.pre and XLC_LOCALE.pre commit af4f0f302644ebfbb0ca9f4016a4aee85c973d37 Author: Alexander Gottwald <ago@freedesktop.org> Date: Thu Jun 9 15:55:33 2005 +0000 Replace <X11/transport.c> with <X11/Xtrans/transport.c> commit fd5f58e0baf692e34b9b622286f18762cc2500d3 Author: Alexander Gottwald <ago@freedesktop.org> Date: Thu Jun 9 15:52:02 2005 +0000 Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h> Copy Xtrans.h to exports/include/X11/Xtrans only commit 44538f9940f969d46c0e5e4b201c684cde2ba611 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sun Jun 5 03:29:33 2005 +0000 Port Imake flags to autoconf tests & --enable-* flags: HASSETUGID, HASGETRESUID, NO_XLOCALEDIR, HAS_SHM and XF86BIGFONT commit 588e30e9ec65fa6205a34be650b79d5e2243edec Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Jun 4 22:53:21 2005 +0000 Add --enable-secure-rpc flag and checks for needed functions for Secure RPC ("SUN-DES-1") authentication method commit a547afee2ef49cc41bbb67f9cff5a52a283c0854 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Jun 4 21:20:20 2005 +0000 Bug #3436 <https://bugs.freedesktop.org/show_bug.cgi?id=3436> Conndis.c uses incorrect type for args to XdmcpWrap() (Mike Harris - mharris@www.linux.org.uk) commit ca93c761559ae464189c7ea7cf11c6a6679f2431 Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Sat May 28 01:02:32 2005 +0000 Don't use $< in explicit rules. This only works with GNU make. <https://bugs.freedesktop.org/show_bug.cgi?id=3383> commit 09ebb349359e3dd9131fa2fa8b07559faa173654 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sun May 22 19:05:11 2005 +0000 Convert man pages to long file names in lib/X11, lib/Xt, & lib/Xext commit 761219b1ef9befc350c8a35b6f96d047e5f008cc Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat May 21 23:07:48 2005 +0000 xtrans: Create autoconf macro XTRANS_CONNECTION_FLAGS to provide standard set of --enable flags for which transports to support and common place to update for required libraries for platforms that need certain libs for certain transports ICE: Add ICE_t #define required by Xtrans headers. Replace static defines of LOCALCONN & UNIXCONN with new XTRANS_CONNECTION_FLAGS macro. X11: Moved transport type checks to new macro XTRANS_CONNECTION_FLAGS in xtrans.m4 in xtrans module so they can be shared by all modules using xtrans. commit 4b1ba6eb975b547b808f4d5c8825a3261de5e02a Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat May 21 04:26:12 2005 +0000 Quote $ac_cv_search_* variables to prevent errors from test when they are set to "none required" (as happens on Solaris since dlopen is in libc) Comment out "override CC = gcc" line as it breaks builds with non-GNU makes, and its incorrect to force a specific compiler. Change LINK line from gcc to $(CC). commit 1d425d5e2092dd18a7dd599b37ed9af61cf59819 Author: Adam Jackson <ajax@nwnk.net> Date: Thu May 19 00:22:32 2005 +0000 revert last change, didn't do right thing at all, sorry for the noise commit 1b0c46c1ae61d751dd3ca96de8e2c3fe21c5f4f2 Author: Adam Jackson <ajax@nwnk.net> Date: Thu May 19 00:10:07 2005 +0000 Require automake 1.7 in AM_INIT_AUTOMAKE commit cd4657c175dbab6aaca36f18a0ca92c95b5567dd Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Tue May 17 22:32:09 2005 +0000 - Check for xproto as its CFLAGS are needed in the .pc file commit 46e8d8a65430dd87c10b066b5cff99a689c22241 Author: Egbert Eich <eich-at-freedesktop-dot-org> Date: Tue May 17 08:10:10 2005 +0000 gcc4 allows to check if sentinels are correct (a sentinel is the terminating element in a varargs list). A sentinel needs to be NULL, not 0 - which doesn't make a difference on 32bit but matters on 64bit. Furthermore it can be told that functions have a printf-like format string and argument list so that they can verify that both match. To use these features certain attributes need to be set - which are compiler specific. To do this we define macros which are expanded depending on the compiler version. For now we put those in include/Xfuncproto.h (the XFree86 DDX layer contains a file compiler.h which however is not visible outside the DDX) (Bugzilla #3268). commit 23198d2bfbf0049b2630235cd4d4a4ffba7ec6c1 Author: <ssp@aware-of-vacuity.boston.redhat.com> Date: Mon May 16 22:35:27 2005 +0000 Make Xdmcp unconditionally required, require various protocol modules. Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> Check for kbproto if using XKB. Require xextproto rather than xextensions Remove the entries from the xlibs tree, as they are not relevant here. commit 8bd3aea84ce54b8b76a898f3ae00e2b499c14a5e Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Mon May 16 21:48:36 2005 +0000 Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> Check for kbproto if using XKB. commit 9b1fa9ca3ed852ed40860f137511683f4bdae6fa Author: <ssp@aware-of-vacuity.boston.redhat.com> Date: Mon May 16 21:27:35 2005 +0000 Require xextproto rather than xextensions Remove the entries from the xlibs tree, as they are not relevant here. commit 7eee605e3aeed549d1053325a03027c5e8cbf71b Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Fri May 13 22:53:36 2005 +0000 - 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 commit 6769ccda88caf27d1441d335ef2b318a047a612b Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Mar 21 04:58:21 2005 +0000 xc/lib/X11/ErrDes.c //bugs.freedesktop.org/show_bug.cgi?id=132) Patch #2168 (https://bugs.freedesktop.org/attachment.cgi?id=2168) Replace a couple of BUFSIZE uses with better values to check against. Fixes by Stuart Anderson <anderson@netsweng.com> commit 3b9e8ece93b916c55a82df53e85f097418edf471 Author: Roland Mainz <roland.mainz@nrubsig.org> Date: Sat Mar 19 22:04:55 2005 +0000 xc/nls/Compose/iso8859-2 xc/nls/Compose/iso8859-3 xc/nls/Compose/iso8859-9 //bugs.freedesktop.org/show_bug.cgi?id=2592) attachment #2156 (https://bugs.freedesktop.org/attachment.cgi?id=2156) Fix a couple of typos in ISO8859-* Compose files ("asciicircum" instead "of asciicirum"). Patch by Matthias Hopf <mhopf@suse.de>. commit 0ce5950a08b9ab23ca8a32effdd40c421e92df84 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Mar 8 02:53:36 2005 +0000 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>. commit df341cd2f2f263f13323e8c0936ea8aa0d7fbba1 Author: Roland Mainz <roland.mainz@nrubsig.org> Date: Tue Feb 1 03:12:28 2005 +0000 xc/nls/Compose/pt_BR.UTF-8 //bugs.freedesktop.org/show_bug.cgi?id=2400) attachment #1762 (https://bugs.freedesktop.org/attachment.cgi?id=1762): Fix build bustage caused by broken patch for brazillian locale support (see Bugzilla #1896). Patch by Kevin E. Martin <kem@freedesktop.org>. commit 483d3973f56dda51f9251d3ea808aaf7f3b48c10 Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> Date: Fri Jan 28 18:31:31 2005 +0000 cleaned up boundary-case handling for Uxxxx Unicode keysym notation commit f234188a4c1e6b655aef0e3957ccad20d4c5847f Author: Roland Mainz <roland.mainz@nrubsig.org> Date: Wed Jan 19 01:53:55 2005 +0000 xc/nls/compose.dir xc/nls/locale.dir xc/nls/Compose/Imakefile xc/nls/Compose/pt_BR.UTF-8 xc/nls/XI18N_OBJS/Imakefile xc/nls/XI18N_OBJS/pt_BR.UTF-8 xc/nls/XLC_LOCALE/Imakefile xc/nls/XLC_LOCALE/pt_BR.UTF-8 //bugs.freedesktop.org/show_bug.cgi?id=1896) attachment #1675 (https://bugs.freedesktop.org/attachment.cgi?id=1675): Add support for pt_BR.UTF-8 locale. Patch by Gustavo Noronha Silva, Branden Robinson, Julien Lafon. commit 7448ea7ef425d35cfc31eb41d46f4d879774f376 Author: Egbert Eich <eich-at-freedesktop-dot-org> Date: Fri Jan 14 18:03:09 2005 +0000 Made some security enhancements: - no writing past end of buffer caused by bogus locale. - explicitely add a \0 character at end of string. (Bugzilla #2262) commit 5557d47fcf22a6f3adf327691158f2270e3d5094 Author: Roland Mainz <roland.mainz@nrubsig.org> Date: Fri Jan 14 04:59:05 2005 +0000 xc/nls/compose.dir xc/nls/locale.alias xc/nls/locale.dir //bugs.freedesktop.org/show_bug.cgi?id=1830) attachment #1674 (https://bugs.freedesktop.org/attachment.cgi?id=1674): Adding support for the bs_BA (bs, bs_BA, bs_BA.iso88592, bs_BA.ISO-8859-2, bs_BA.ISO_8859-2, bs_BA.UTF-8) locale. Patch by Vedran Ljubovic <vljubovic@smartnet.ba>. commit 1fa3737f042f798fa11a9ff5b03f3b3ba3529824 Author: Egbert Eich <eich-at-freedesktop-dot-org> Date: Tue Jan 11 17:37:57 2005 +0000 'Normalize' locale names (ie. remove any '-' and '_' and convert to lower case after the <language>_<territory> part) before matching against locale.alias (Bugzilla #2262). This needs adequate testing that we don't accidentally introduce undesirable side effects. commit 642cd269f94a234aa470a1d43385bd42625d89a1 Author: Egbert Eich <eich-at-freedesktop-dot-org> Date: Tue Dec 14 08:59:20 2004 +0000 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. commit a07ccae36e629741d2e48de7730114d30a975a41 Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Sun Dec 12 08:42:50 2004 +0000 Fix missing XChangeProperty() prototype missing in synopsis section. commit c73adb1c8ad806c2f9f0ba32f4b449e7a871501c Author: Alexander Gottwald <ago at freedesktop dot org> Date: Wed Dec 8 13:42:01 2004 +0000 Bugzilla #1980 (https://bugs.freedesktop.org/show_bug.cgi?id=1980) Handle XERRORDB only on WIN32 platform commit d5e7ab194103e22fd6c5094aaa107d90210bb600 Author: Jim Gettys <jg@freedesktop.org> Date: Thu Dec 2 16:18:16 2004 +0000 fix comment to indicate additional possible mode. i bug 1756 reported by Owen Taylor. commit 03940d7330cb1bbf93d49c650aefb19de457da7c Author: Alexander Gottwald <ago at freedesktop dot org> Date: Wed Dec 1 13:06:55 2004 +0000 Bugzilla #1980, https://bugs.freedesktop.org/show_bug.cgi?id=1980 Make location of XErrorDB configurable commit 11a03ab908bfcfab8a3492684e8e9320e492d552 Author: Alexander Gottwald <ago at freedesktop dot org> Date: Wed Dec 1 12:42:17 2004 +0000 Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory commit f3d83ee153f42e8899b844377e6b842d93411e62 Author: Alexander Gottwald <ago@freedesktop.org> Date: Mon Nov 15 15:06:54 2004 +0000 Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added mingw (Win32) port commit b798ea11911ac58a8e6e7d15a2a643b023859749 Author: Alexander Gottwald <ago at freedesktop dot org> Date: Mon Nov 15 13:29:56 2004 +0000 Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory commit 436108cd6c84053698e5ca629096f59b34f50c2a Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Nov 11 15:37:01 2004 +0000 Fix #1818 commit bf2e6ef66ba55f90efa4a4ba8c8b6d3ec0d1531c Author: Roland Mainz <roland.mainz@nrubsig.org> Date: Tue Nov 9 00:56:56 2004 +0000 xc/nls/compose.dir xc/nls/locale.alias xc/nls/locale.dir //freedesktop.org/bugzilla/show_bug.cgi?id=1544): Adding support for the si_LK (si, sinhala, si_LK, si_LK.UTF-8) locale. Patch by Anuradha Ratnaweera <gnu.slash.linux@gmail.com>. commit 443890ceefbd6dafe68e30d103ec4f9d316ed655 Author: Roland Mainz <roland.mainz@nrubsig.org> Date: Fri Nov 5 00:58:49 2004 +0000 xc/nls/compose.dir xc/nls/locale.alias xc/nls/locale.dir Adding some of the major indic locales (bn_IN.UTF-8, bn_IN.utf8, gu_IN.UTF-8, gu_IN.utf8, pa_IN.UTF-8, pa_IN.utf8) to X. Patch by Leon Ho <llch@redhat.com>. commit af7467ec734321f127b957921cce7792902b6794 Author: Egbert Eich <eich-at-freedesktop-dot-org> Date: Mon Oct 18 17:29:03 2004 +0000 Correcting font encodings for GB18030, GBK and BIG5-HKSCS. Adding nls support for those encodings (Bugzilla 1573, James Su). commit 1b900b59cb24fe8be3db0d434b04d462c0eeb206 Author: Egbert Eich <eich-at-freedesktop-dot-xorg> Date: Mon Oct 18 14:21:45 2004 +0000 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) commit 1ba103c3cad2329db3a31f88d7798b913affc570 Author: Eric Anholt <anholt@freebsd.org> Date: Wed Oct 13 07:38:00 2004 +0000 Use attributes instead of pragmas for weak symbols on gcc 2.95 as well. Using pragmas may result in the symbols being undefined with big -O. (FreeBSD ports/69708, Masakazu HIGAKI <higamasa@dream.com>) commit d80237db627bf71ad5615ff4ba05e6ab436aa740 Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Fri Oct 8 22:57:56 2004 +0000 Fri Oct 8 18:53:11 2004 Soeren Sandmann <sandmann@redhat.com> Move iso10646 last so the "fallback" fonts will actually be used if they are better matches. commit d1f76d17ecf418396627b1a58319f2b9b255548a Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> Date: Sun Sep 26 22:54:57 2004 +0000 bug fix for previous patch commit 48932d9b71d10e15812f47d5b842ab6aa8dac625 Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> Date: Sun Sep 26 20:46:17 2004 +0000 The big keysym cleanup, to bring implementation in line with the recent revision of Appendix A of the protocol spec. (Markus Kuhn) commit 2e02a95dcc43dd3ec7bbaf4675ffb94f5074f543 Author: Egbert Eich <eich@freedesktop.org> Date: Wed Sep 15 09:05:22 2004 +0000 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). commit 2d3afb68a104a80a21ee622b9abb9c95e83505d3 Author: Egbert Eich <eich@freedesktop.org> Date: Tue Aug 31 11:37:03 2004 +0000 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). commit e689746c8d0e21e9011e8b91a3071d235d3a2a74 Author: Kevin E Martin <kem@kem.org> Date: Thu Aug 19 06:48:06 2004 +0000 Fix header file to #ifdef the XKB keysyms when they are used. This fixes the X test suite build failure. commit d558a53a6f57eecfcaadce5141fe3a08860defcb Author: Keith Packard <keithp@keithp.com> Date: Sat Aug 14 07:12:36 2004 +0000 Use XLIB_SKIP_ARGB_VISUALS environment variable to disable all depth 32 visuals. Necessary to keep Flash from crashing. Must call ValidateGC/ValidatePicture on "real" GC/Picture to ensure pCompositeClip is set correctly. Need to take the composite clip from the "real" GC/Picture and turn it into the clientClip for the backing version. Adjust pixmap screen origin to account for drawable->x/y Change debugging output a bit (disabled by default) commit 85c2d81f299ed3444658011b7d6fb0a7ab8a6f55 Author: Alexander Gottwald <ago@freedesktop.org> Date: Fri Aug 13 16:28:19 2004 +0000 Set most significant bit to be a one. (Bug #1024, Kensuke Matsuzaki) Fix conversion from sjis and euc. (Bug #1024, Toshio Takabe) commit c4d56e4e288d4e48b84b021a61638f46e9a45e27 Author: Adam Jackson <ajax@nwnk.net> Date: Wed Aug 11 05:25:13 2004 +0000 Bug #372: Prevent a crash in XPolygonRegion when called with a bogus point count. Reported by Andreas Luik. commit 92487437173f600f208d825f65756d3ad14a4f7e Author: Kevin E Martin <kem@kem.org> Date: Mon Aug 9 22:37:22 2004 +0000 Fix install problem on platforms not using xorg.cf/xfree86.cf (Bug #339, Harold L. Hunt II, Alexander Gottwald). Fix crash when using X core font in zh_CN.UTF-8 locale (Bug #368, Yu Shao, David Dawes). Fix glXMakeCurrent(Dpy, None, NULL) crash (Bug #719, Adam Jackson). HP-PA build fix (Bug #828, Guy Martin, Paul Anderson). Fix SDK build for GATOS and Wacom driver (Bug #829, Bryan Stine). Fix attempt to read video ROM before enabling it (Bug #843, Ivan Kokshaysky, Mike A. Harris). Fix detection of primary adapter (Bug #843, Ivan Kokshaysky, Mike A. Harris). Clarify xset man page description of how to use the keyboard repeat rate settings (Bug #846, Mike A. Harris). Fix problem where print-screen key would get remapped to sys-req in certain keymaps, which broke GNOME printscreen functionality (Bug #847, Owen Taylor). Fix several render problems: - MMIO mode support - Hang on IGP chips - VT switching hang - 3D render corruption (Bug #922, Hui Yu). commit 55c2ee568e7d3903258286a13bdf96ce5348ffda Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Tue Jul 27 06:06:05 2004 +0000 - remove remaining AMOEBA references. - remove unused file. commit 6e884b12911eedfb003e90a3829ce66f7fc9cf2d Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Tue Jul 20 17:48:09 2004 +0000 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). commit 6f0bc97aa4e6de5a4b001f40ac10795cfdf09fc1 Author: Eric Anholt <anholt@freebsd.org> Date: Fri May 28 23:26:44 2004 +0000 Forced commit to note repocopy from xc/lib/XThrStub, will be connected to the build after this. commit aa7010c43ae9f39fb84b5ff155f76117c9e527a0 Author: Egbert Eich <eich@pdx.freedesktop.org> Date: Mon May 24 19:02:11 2004 +0000 Improve 'uniqueness' of authorization cookie sent by client for XDM-AUTHORIZATION-1. Old 'uniquness' consisted of the PID of the client, a time stamp (in seconds) and a number obtained by starting to count down from 0xffff. When a client did an XOpenDisplay() then execv'ed a child and did XOpenDisplay() again within the same second, the cookie was identical to the previous one (as the PID did not change but the static 'count down' variable was reinitialized) and thus refused by the server. commit 720702da29769d80ad1254d92edbad5b30f8a8da Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat May 22 03:47:42 2004 +0000 Bugzilla #658: XStringToKeysym fails for Greek_IOTAdiaeresis (Fixes VSW5 testcase XStringToKeysym-7 failure) commit 3aed873292424b497d9a7dcee2975b95bf5ac966 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Apr 24 23:39:25 2004 +0000 XOpenDisplay should try tcp connection if local connections fail (aka Sun bug id #4624183). Also includes fix from NetBSD Problem Report #25098 (Michael van Elst) (Xlib segfaults with IPv6 if compiled with HASXDMAUTH). xc/config/cf/sunLib.tmpl xc/lib/FS/Imakefile Add missing shared library dependencies for Solaris commit c6349f43193b74a3c09945f3093a871b0157ba47 Author: Egbert Eich <eich@freedesktop.org> Date: Fri Apr 23 18:42:09 2004 +0000 Merging XORG-CURRENT into trunk commit c3c4ddc682950a01b80825021f3e2503ab01ea7f Author: Kaleb Keithley <kaleb@freedesktop.org> Date: Tue Nov 25 19:28:07 2003 +0000 Initial revision commit dc4268a7dadc8da0d561757a68461246728613d3 Author: Kaleb Keithley <kaleb@freedesktop.org> Date: Fri Nov 14 16:48:47 2003 +0000 Initial revision commit deae12c6b683898f5213992d561a59d4ea889cca Author: Kaleb Keithley <kaleb@freedesktop.org> Date: Fri Nov 14 15:54:30 2003 +0000 R6.6 is the Xorg base-line