configure due to missing pthread library. Buildlink pthread. Don't hardcode
-pthread for OSF1, MirBSD, and OpenBSD, but use PTHREAD_{C,LD}FLAGS
instead. Add pthread in bl3, but for the above targets.
This release of libX11 includes a number of fixes to handle realloc() failure
better, resolves a number of compiler & static analyzer warnings, fixes several
bugs in the X Input Method framework, and cleans up the XKB code to be a little
more maintainable.
Alan Coopersmith (28):
Fix file leak on malloc error in XlcDL.c:resolve_object()
lcfile: skip over any null entries in args list
xlibi18n: convert sprintf calls to snprintf
ximcp/imRm.c: convert sprintf calls to snprintf
omGeneric.c: convert sprintf calls to snprintf
Avoid memory leak/corruption if realloc fails in XlcDL.c:resolve_object()
lcDB.c: ensure buffer size is updated correctly if realloc fails
Avoid memory leak/corruption if realloc fails in imLcPrs.c:parseline()
Avoid memory leak/corruption if realloc fails in Xregion.h:MEMCHECK macro
miRegionCopy(): handle realloc failure better
miRegionOp(): ensure region size is not updated if realloc fails
Delete unused XKB_INSURE_SIZE macro from XKBlibint.h
init_om: remove unneeded extra copy of string to local buffer
Constify lc_name argument to _XlcLocaleDirName() & _XlcLocaleLibDirName()
Fix const handling in XSetLocaleModifiers
xlibi18n: Fix a bunch of const cast warnings
i18n modules: Fix some const cast warnings
xlibi18n: fix argsize argument to _XlcParsePath
Remove even more casts of return values from Xmalloc/Xrealloc
Don't cast sizeof() results to unsigned when passing to Xmalloc/Xcalloc
Remove unnecessary casts of pointers to (char *) in calls to Xfree()
Remove long unused src/udcInf.c
Fix overflow checks in _XkbReadKeySyms when key_sym_map is already created
Reindent XKB code to X.Org standard style
Rearrange some variable declarations & initializations in XKB
Stop checking for HAVE_DIX_CONFIG_H on the client side
Bug 68413 - [Bisected]Error in `xterm': realloc(): invalid next size
libX11 1.6.2
Benno Schulenberg (1):
nls: Adding more accessible compose sequences for J́ and j́.
Egbert Eich (2):
XIM: Fix race on focus change: set 'FABRICATED' only when keyev filters in place.
XIM: Fix sync problem on focus change.
ISHIKAWA,chiaki (1):
Fix bogus timestamp generated by XIM
Julien Cristau (1):
Add missing locales to configure.ac
This release includes fixes to the code, docs & build system.
It makes both clang & doclifter happier. It includes patches
upstreamed from Ubuntu, NetBSD, and Solaris.
Alan Coopersmith (10):
Update README to reflect where to find the Xlib specs now
specs/libX11: correct prototype for XListPixmapFormats/XImageByteOrder
troff macro expansion in specs/libX11
Require ANSI C89 pre-processor, drop pre-C89 token pasting support
XSetModifierMapping: Use Data instead of GetReqExtra
Refactor common code from XAddHost & XRemoveHost into single function
omGeneric: remove space between struct name & member name
Add ku_TR.UTF-8 (Kurdish language, Turkey region) to compose/locale.dir
Fix undefined XCMSDIR error when building lint library
libX11 1.6.1
Eric S. Raymond (2):
Remove call to undefined macro.
Remove call to undefined macro.
Kees Cook (2):
libX11: check size of GetReqExtra after XFlush
libX11: check "req" when calling GetReqExtra
Thomas Klausner (6):
Deal with the limited range of VAX floating point numbers when compiling for VAX.
Stop truncating source to destination length if it is larger.
Use newer callback-based API for XIM.
Check for symbol existence with #ifdef, not #if
Fix out-of-range comparison in _XF86BigfontQueryFont
Tighten out-of-range comparisons.
Changes since libX11 1.5 (found in the release candidates) include fixes
for the recently announced security issues CVE-2013-1981, CVE-2013-1997,
and CVE-2013-2004; the addition of the _XEatDataWords API for use by
Xlib-based extension libraries, to help them avoid integer overflows when
it is necessary to discard data; removal of ancient, unused, incomplete
support for the Cray Unicos OS, and the DECnet and TLI transport types;
numerous improvements to compose files and locale data; man page macro
cleanups to improve compatibility with doclifter; and various other
code cleanups and compiler warning fixes.
Alan Coopersmith (1):
libX11 1.6.0
Thomas Klausner (2):
XCreateGC man page: Avoid .TS H and .TH macros
cmsMath.c: Add missing stdio header for printf(3) in DEBUG build.
- Tool-depend on xproto for data for a tool that libX11 builds and
runs.
- No need to pass CPPFLAGS_FOR_BUILD=-I${PREFIX}/include.
- Pass CC_FOR_BUILD=${NATIVE_CC:Q} in CONFIGURE_ENV, not MAKE_ENV.
There are at least two packages ("graphics/cairo" and "x11/xlsclients")
which require this. And we definitely want to avoid the situation where
both the based and "pkgsrc" version get used at the same time.
Bump all the packages which use the "x11/libxcb" package except the two
which already require version 1.6. For those package remove the manually
set minimum required version.
Change discussed with Thomas Klausner in private e-mail.
[ANNOUNCE] libX11 1.5.0
------------------------
At long last, the stable release of Xlib 1.5.0.
While it only strictly requires libxcb 1.2, it's recommended that libxcb 1.8.1
be used to get the fix for network connection fallback from Unix sockets to
TCP that replaces the code previously found in libX11.
Since there have been no changes since the final release candidate,
here's the full list of changes since libX11 1.4.4:
( Some 150 lines omitted, see following URL for detail )
http://lists.x.org/archives/xorg-announce/2012-June/001970.html
[ANNOUNCE] libX11 1.4.4
-----------------------
Thu, 28 Jul 2011 20:05:49 -0700 by Alan Coopersmith
Another bug fix release of libX11 brings another large set of fixes
found by static analysis or to ease further static analysis, many
documentation fixes and improvments, and improved assertions to
help users and developers figure out why Xlib just crashed on them.
[ANNOUNCE] libX11 1.4.3
-----------------------
Tue Apr 5 14:18:18 PDT 2011 by Alan Coopersmith
A minor release of libX11 to add support for the Sinhala keysyms required
by the recent xkb-config 2.2 release. Note that to get full support for
these keysyms you will also need to upgrade to x11proto 7.0.21 before
building the new libX11.
[ANNOUNCE] libX11 1.4.2
-----------------------
This bugfix release pulls in a ton of fixes for problems found by code static
analysis tools. Many thanks to everyone who has helped find and fix these
issues before they turned into nasty problems.
Additionally, Jamey Sharp has provided some fixes for Display lock handling
that caused some deadlocks when using xcb for transport (which was optional
in 1.3.x and is required in 1.4.x), so this update is highly recomended to
users of multi-threaded Xlib applications.
[ANNOUNCE] libX11 1.4.1
------------------------
Tue, 11 Jan 2011 22:35:19 -0800 by Alan Coopersmith
This bugfix release corrects two small issues in Xlib event handling,
and provides, for the first time ever, the XKB API spec in DocBook format.
[ANNOUNCE] libX11 1.4.0
------------------------
Sun Nov 21 14:38:32 PST 2010 by Alan Coopersmith
After 3 release candidates, it's finally done - libX11 1.4 is released.
As previously warned, libX11 1.4 *requires* libxcb. The Xlib 1.3 branch
continues to support the --without-xcb option for the benefit of any
remaining distributors who do not yet ship XCB in their stable releases.
[ANNOUNCE] libX11 1.3.6
------------------------
2010-09-20 6:16:18 by Daniel Stone
Just a small maintenance release for libX11; pending any catastrophic
bugs, this will probably be the last release from the 1.3.x branch. The
XStringToKeysym changes should provide a not-insignificant speedup for
X server and application startup.
I think that patch-aa is incorrect, at least on MirBSD. It supposes that
pthread_self is already in libc. However, I won't touch the patches
during the freeze.
1.3.2:
Alan Coopersmith (2):
Add man page for Compose file format
libX11 1.3.2
Add extra configuration and sanity checks for groff and ps2pdf
Add smiley faces to compose sequences.
Fix VPATH build of libX11 specs
1.3.1:
Recognize XSUNBUFFERSIZE alias for XLIBBUFFERSIZE on Solaris
Move libX11 & XIM/locale specs from xorg-docs
Use $(AM_V_GEN) to silence echo commands for generating shadow man pages
Fix make distcheck
libX11 1.3.1
Split CFLAGS into CPPFLAGS and CFLAGS
Include sys/select.h for select() and struct timeval, if it exists
configure: quote argument to m4_pattern_forbid
Use AM_V_GEN instead of customized macros for AM_SILENT_RULES
dolt: add Cygwin to supported platforms
Provide _Xsetlocale compat wrappers on Cygwin
1.3:
Convert Xkb API man pages to ANSI prototypes
XkbSAActionSetCtrls.man: Fix typo in formatting macro
XkbQueryExtension.man: Arguments should be pointers
XkbSetDeviceButtonActions.man: remove non-existent actions argument
Fix version tag in .TH line of several XKB man pages
Update to using xorg-macros 1.3 & XORG_DEFAULT_OPTIONS
Add AM_SILENT_RULES support for cpp rules for man & nls files
Use make rules instead of shell for loops to generate shadow man pages
Add perl script to check for duplicate or conflicting compose file entries
Resolve conflicting Compose sequences in iso8859-2, el_GR.UTF-8 & pt_BR.UTF-8
Bug 24173: libX11 from git fails to build with automake older then 1.11
Add some (Serbian) Cyrillic NFD sequences.
man/xkb: use __libmansuffix__ instead of hardcoding 3Xkb for manpage sections
man: use __libmansuffix__ instead of 3X11 for references to other pages
man/xkb: delete spurious newline in .TH headers
Fix wrong typedef on HP-UX (#18998)
Don't require xdmcp in configure.ac (#22583)
man: XQueryTree may return BadWindow. (#23416)
man: fix parameters to XkbAllocGeomOverlay{Rows|Keys} (#23499)
Add XF86TouchpadToggle to XKeysymDB
nls: remove duplicate Compose sequences from pt_BR.UTF-8
libX11 1.3
1.2.99.901:
nls: add {left,right}wards arrow to compose table
Add _XFUNCPROTOBEGIN/END to Xlib-xcb.h
Update library version for new symbols
Bump to 1.2.99.1
Add generic event cookie handling to libX11.
Add utlist.h to the Makefile.am
Fix compiler warning 'unused variable qelt'
Bump to 1.2.99.901 (1.3 RC1)
Adam Jackson (1):
Remove X_NOT_STDC_ENV usage. (#6527)
Alan Coopersmith (4):
Revert "Change masculine to ordmasculine in Compose file comments"
Use AC_USE_SYSTEM_EXTENSIONS instead of hand-rolled check for _GNU_SOURCE
Correct return type in XkbGetKeyboard man page
Drop ancient USG SysV #ifdefs
Caolan McNamara (1):
man: missing space in XAllocColor man page
Christoph Pfister (1):
X.Org Bug #21117: crash in get_rotate_fontname (omGeneric.c)
James Cloos (3):
[nls] Remove combining_ keysyms from the Compose files
[nls] Remove extraneous instances of UCS Combining Characters in Compose sequences.
[nls] Replace remaining UCS Combining Characters in Compose sequences.
Julien Cristau (4):
Fix fi_FI.UTF-8, again
nls: remove duplicated en_US* aliases
nls: remove broken sd_IN.UTF-8 alias
nls: remove more duplicated aliases
Peter Hutterer (3):
XWindowEvent/XCheckWindowEvent must not return GenericEvents.
XMaskEvent/XCheckMaskedEvents must not check for GenericEvents.
Bump to 1.2.2
Theppitak Karoonboonyanan (3):
CharSet-to-CompoundText Conversion Failed for Thai Locales
Thai XIM not filters when NumLock or CapsLock is on
Thai XIM not retrieve MB surrounding on UTF-8 LC
parag (2):
libX11: Add new Indic language information to nls directory files. #21560
nls: Add pa_PK locale information and make pa_IN as default for pa.
Alan Coopersmith (21):
flags member of Display structure needs to be marked volatile
Incorporate char range comments from Solaris version of ksc5601.h
Incorporate more locale names/aliases from Solaris libX11
Add --with-locale-lib-dir configure option to set locale lib install dir
Bug 6820: Xlib shouldn't handle EAGAIN as a fatal IO error
Bug 9953: Please provide locale alias hu_HU.utf8
Correct locale alias for sh_BA.ISO8859-2@bosnia (should be sr, not nr)
Bug 14651: We need to add new locale specification for Belarusian Latin locale
Bug 10082: Compose entries for some standard mathematical operators
XErrorDB additions for RANDR 1.3
XErrorDB additions for XInput errors and new XInput 1.5 requests
XErrorDB additions for DRI2 requests
Remove ifdef checks for macII left over from ancient A/UX 3.0 support
When makekeys fails to find a good hash, print error instead of divide-by-zero
makekeys: combine malloc(strlen)+strcpy into strdup
Remove _XP_PRINT_SERVER_ #ifdefs from Xrm.c
Delete some unused "#ifdef notdef" static functions
Change masculine to ordmasculine in Compose file comments
Further ansify prototypes & reduce #ifdefs in locking.c
Fix a several sparse warnings: Using plain integer as NULL pointer
Version bump: 1.2.1
Caolan McNamara (1):
Bug 20575: man page for XCreatePixmapFromBitmapData doesn't match signature
Chris Ball (2):
Build fix for fi_FI.
Fix fi_FI locale install directory.
Emilio Jesús Gallego Arias (1):
xcb_io: Avoid datatype overflow on AMD64 and friends.
Julien Cristau (2):
nls: actually use the fi_FI.UTF-8 files
Add a ru_RU.UTF-8 locale
Lubos Lunak (2):
XGetErrorText() fails for extension error codes equal to the error base
XErrorDB updates for XTEST, RANDR, DAMAGE extensions
Mlos Komarcevic (1):
Bug 11456: Serbian locale updates (sr_RS and sr_ME)
Paul Bender (1):
Bug 15664: xau & xdmcp not needed in x11.pc dependencies when built with xcb
Xue Wei (4):
Add kk_KZ.UTF-8 to locale.dir.pre for Kazakhstan
Add locale aliases for no_NO & sh_BA locale variants
Add nn_NO.UTF-8 to compose.dir.pre for Norwegian Nynorsk
Add UTF-8 locale entries for es_US, kk_KZ, mt_MT, and sh_BA
Yaakov Selkowitz (Cygwin Ports maintainer) (1):
Bug 20773: Xcursor dynamic loading on Cygwin
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
New libX11 release to go with libxcb 1.2.
Some more fixes, janitorial work, NLS updates, and the long-awaited
addition of ☭ and ♥ to your favorite Compose file. Details follow in
the shortlog from 1.1.99.2.
Cheers,
Julien
Adam Jackson (1):
Fix leak in _XimXGetReadData
Alan Coopersmith (1):
Add README with pointers to mailing list, bugzilla & git repos
Brian Rogers (1):
Initialize event_notify after allocating the memory for it.
Colin Harrison (1):
Fix copy/paste typo in imLcPrs
James Cloos (7):
[nls] Add some UTF-8 Compose sequences
[nls] Annotate the Bépo compose sequences
Use C comments rather than initial doubled hashes to exclude lines from .pre files
Revert "For nls/*.pre, allow people to comment lines by starting them with '##'."
[i18n] s/U00DC/Udiaeresis/g
NLS: Add UTF-8 compose file for Finnish
dolt: allow older versions of bash to compile the library
Jeremy Huddleston (1):
Force local transport when using the launchd socket.
Julien Cristau (2):
Check Xmalloc return value in _XConnectXCB
Bump to 1.2
Ken Thomases (1):
[i18n] Provide translation from XK_partialderivative (8ef) to Unicode (U2202)
Paulo Cesar Pereira de Andrade (10):
Janitor: ansification, make distcheck, compiler warnings.
Janitor: Correct some gcc/sparse warnings.
patches to avoid gcc warnings for libX11 (#1)
patches to avoid gcc warnings for libX11 (#2)
patches to avoid gcc warnings for libX11 (#3)
patches to avoid gcc warnings for libX11 (#4)
WORD64 compile fix. This bug catched on a overview of the code.
Don't add prototypes for functions that don't exist.
Allow multiple inclusions of cursorfont.h, cosmetic patch.
Check if a function argument is NULL.
Peter Hutterer (2):
Add XF86Suspend, XF86Hibernate to KeysymDB.
Fix wrong implies symbol.
Stefan Dirsch (3):
Added remaining hunk of Egbert's patch to prevent XIM deadlocks (#1182).
Added remaining xlib patch required for gb18030 support (#1573).
Fixed strange font mixups, when fontsets are still used (#2676, Novell #74299).
Will Thompson (2):
Add two essential compose sequences
NLS: Compose: Non-aliasing CCCP
vehemens (1):
[i18n] Distribute new headers which were added for gb18030 support.
X.Org found in NetBSD-current.
Thanks a lot to all who helped, especially Matthias Scheler who did
repeated tests on Mac OS X and older versions of NetBSD to make sure the
support for those platforms wouldn't be broken (or at least, not fatally,
as I would still expect a few hiccups here and there, because there is
only so much one can test in such limited time).
On the infrastructure side, this branch brings pkgconfig-builtin.mk, in
order to write very easily new builtin.mk files. It can actually handle
more than just pkgconfig files, but it will provide a version if it finds
such a file. x11.builtin.mk has also been made more useful and now all
existing (and future!) native-X11-related builtin.mk files should include
it.
want -pthread in XTHREAD_CFLAGS, as this will end up linking everything
against libpthread. Thus, in keeping with our gcc specfile, define
_REENTRANT in XTHREAD_CFLAGS instead. XTHREADLIB is now
-pthread, not -lpthread.
While here, update to head of libX11-1.1 branch in GIT (with the
exception of some unicode changes which caused mkpatches to choke).
changes:
- IM: Respect XMODIFIERS for Thai locale (bug #15719)
- Bug #15884: Remove useless sleep()'s from the connection code.
- NLS: Make UTF-8 the default for Russian
- ConnDis: properly cast 'addr' before accessing it as a byte array.
- added error check in Xcms color file parser; closes bug #15305
- Fix missing error condition in cmsColNm.c, also.
Bump PKGREVISION.
if no filename given, but this isn't true with the native HP compiler, so
teach them to use '-' explicitly.
XXX using cpp(1) to postprocess manpages is ugly, most of the other X.org
packages seem to have been converted to use sed(1).
Adam Jackson (2):
Bug #14029: Don't LockDisplay() recursively.
libX11 1.1.4
Alan Coopersmith (6):
X.Org Bug #4312: incorrect comment asterisk in XAnyEvent.3x man
page
XErrorDB updates for Render 0.9 & XFixes 4.0
Add WM_LOCALE_NAME to list of properties set in XSetWMProperties
comment
Spell out number in XkbGetKeyVirtualModMap man page to avoid cpp
errors from #
Add support for building lint library with --enable-lint-library
Man page typo fixes
Anton Zinoviev (1):
Additions to the Compose file for UTF-8
Daniel Stone (1):
Colours: Fix --disable-xcms
Eric Anholt (2):
Add XF86 keyboard/monitor brightness keysyms to the keysymbdb.
Bug #2081: Note the range limitation of XSetScreenSaver arguments.
Eric S. Raymond (9):
Bug #9516: Markup error in XAllocWMHints.3x
Bug 9523: Markup problems in XQueryExtension.3x
Bug #9650: Bad markup in XLoadFont.3x manual page
Bug #9651: Bad markup in XcmsColor.3x
Bug #9652: Bad markup in XDrawArc.3x
Bug #9653: Bad markup in XQueryColor.3x
Bug #9654: Bad markup in XrmGetFileDatabase.3x
Bug #9655: Bad markup in XrmUniqueQuark.3x
Bug #9658: Bad markup on XIfEvent.3x
Ian Romanick (1):
Make sure nls/am_ET.UTF-8/Makefile is created by configure.
James Cloos (12):
Fix SMP Compose targets
Add some compose sequences
Compose fix for Latin-1 (from Debian)
Add additional Euro signs to compose
Patch for Catalan locales
Add compose file for Ethiopic to match new keyboard in
xkeyboard-config
Fix typo
Use the new dead_psili and dead_dasia keysyms added to
proto/x11proto 7.0.11
Fix the <U\x+> keysyms in the en_US.UTF-8 Compose file
Update the currency symbols block of en_US.UTF-8/Compose.pre
Add <dead_stroke> compose sequences
add a comment to en_US.UTF-8/Compose
Jamey Sharp (1):
Two threads can request sequence sync and XID fetch
simultaneously.
Jeremy C. Reed (1):
Fix a mutex reference-counting bug.
Jeremy Huddleston (3):
Define __DARWIN__ when host_os =3D=3D darwin* as needed in SetLocale.=
c
Use __APPLE__ instead of __DARWIN__
Added launchd support.
Kim Woelders (1):
Fix bs_BA entries in locale.dir.pre
Kristian H=C3=B8gsberg (1):
Add GLX 1.4 requests and errors.
Samuel Thibault (1):
X.Org Bug #12983: Typos in ./man/XChangeKeyboardControl.man
S=C3=B8ren Sandmann Pedersen (1):
XIM: Fix a hand when switching input context.
Yann Droneaud (1):
XIM: Properly initialise client event
- define an automake conditional for cross-compilation
- build xmakekeys in addition to makekeys when using
cross-compilation. Provide manual compiliation rules to replace
the default automake rules. We do use X11_CFLAGS, but we do *not*
want CFLAGS as the latter can contain platform specific flags like
-mieee on Alpha.
- Use either xmakekeys or makekeys depending on whether this is a native
build or not.
Supported-by: Google SoC 2007
- fixed integer overflows [ patched before ]
- fixed file descriptor leak
- allow re-entrant Xlib calls from _XIOError for the sake of
atexit handlers or ELF/C++ destructors
- define XTHREADLIB and XTHREAD_CFLAGS [ not perfect, but used for now ]
- Many constness and some 64bit issues fixed
- Added man apge for XKB
Add a NetBSD xsrc patch to unlock mutexes before destroying them.
Changes include:
- fix use-after-free
- fix dependency on inputproto
- XListFontsWithInfo
- avoid calling callbacks to applications with holding the display lock
- fix leaks in XKB
- fix compose entries in the NLS lists
- fix display locking in XKB
- fix double open of compose file
- fallback to unix domain or TCP connections, when the local connection
failed
Note that XCB is currently not active as I don't think it is currently
useful or stable enough.