summaryrefslogtreecommitdiff
path: root/x11/libXi
AgeCommit message (Collapse)AuthorFilesLines
2019-06-19libXi: update to 1.7.10.wiz2-8/+7
Alan Coopersmith (2): Update README for gitlab migration Update configure.ac bug URL for gitlab migration Alexander Bersenev (1): Fix the FIXME in XIValuatorClass case of copy_classes function in XExtInt.c Emil Velikov (1): autogen.sh: use quoted string variables Jeff Smith (1): _XIPassiveGrabDevice needs to set time value Matt Turner (2): Replace open-coded FP3232_TO_DOUBLE libXi 1.7.10 Mihail Konev (1): autogen: add default patch prefix Peter Hutterer (2): autogen.sh: use exec instead of waiting for configure to finish man: add a bunch of missing spaces Raphaël Droz (1): Update XIChangeHierarchy.txt
2018-03-07xorgproto: use xorgproto instead of separate *proto packageswiz2-14/+5
Remove now obsolete packages.
2018-01-07Fix indentation in buildlink3.mk files.rillig1-3/+3
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was reviewed manually. There are some .include lines that still are indented with zero spaces although the surrounding .if is indented. This is existing practice.
2017-01-23Updated libXi to 1.7.9.wiz2-7/+7
A few minor bugfixes, nothing exciting. Emilio Pozuelo Monfort (3): Plug a memory leak Check that allocating a buffer succeeded Fix possible free of uninitialized pointer Peter Hutterer (1): libXi 1.7.9
2016-10-25Updated libXi to 1.7.8.wiz2-7/+7
This release fixes a crash introduced in the 1.7.7 release. If a device has no classes, a wrong error was returned, eventually causing some applications to crash. This is fixed now. Niels Ole Salscheider (1): SizeClassInfo can return 0 even without an error Peter Hutterer (2): XListInputDevices: don't touch ndevices in case of error libXi 1.7.8
2016-10-04Updated libXi to 1.7.7.wiz2-7/+7
Matthieu Herrb (1): libXi 1.7.7 Tobias Stoeckmann (1): Properly validate server responses.
2016-02-26Use OPSYSVARS.jperkin1-6/+2
2015-12-27Update libXi to 1.7.6.wiz2-7/+7
One significant change here: libXi was using raw serial numbers in event cookies, the one read off the wire. All other events don't use that number but a Xlib-internal serial number which is similar but not always the same. This could cause events to look out of order. With this release, libXi is now using the same serial number for event cookies as it uses for all other events. Javier Pello (1): Fix const compiler warnings Peter Hutterer (2): Don't use raw serial numbers in XIEvents libXi 1.7.6
2015-11-04Add SHA512 digests for distfiles for x11 categoryagc1-1/+2
Problems found locating distfiles: Package modular-xorg-server: missing distfile xorg-server-1.17.4.tar.bz2 Package py-qt4: missing distfile PyQt-mac-gpl-4.11.1.tar.gz Package xservers: missing distfile xservers-3.3.6.5.tar.bz2 Package xview-clients: missing distfile xview3.2p1-X11R6.tar.gz Package xview-lib: missing distfile xview3.2p1-X11R6.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-09-09Update to 1.7.5:wiz2-6/+6
A couple of important bugfixes that have accumulated over the last year. Cosimo Cecchi (1): Fix version check in _XIAllowEvents Julien Cristau (1): Advance the request buffer by the right amount in XIChangeHierarchy Michal Srb (7): Fix double unlock when _XiCheckExtInit return -1. XIChangeHierarchy: Add missing unlock. Do not return NoSuchExtension casted to pointer as an error. XIGetClientPointer: Return False on error. Fix logic in _XIAllowEvents and prevent double unlock. Refactor XGetExtensionVersion. XIGrabDevice: Unlock display in error path. Peter Hutterer (1): libXi 1.7.5
2014-10-09Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.wiz1-3/+1
2014-07-19Update to 1.7.4:wiz2-6/+6
More locking bugs fixed, so here's a minor release to make packaging easier.
2014-07-12Update to 1.7.3:wiz2-7/+7
Two important patches fixing deadlocks when using XIPassiveGrab requests. You're recommended to updated. Note that we now require libX11 1.6, that's a new dependency over 1.7.2 but it's over a year old by now anyway. Jasper St. Pierre (2): XIPassiveGrab: Fix display locking inside _XIPassiveGrabDevice for error paths XIPassiveGrab: Fix completely broken locking in XIGrabTouchBegin Keith Packard (1): man: Update XIQueryVersion docs to match new version compatibility semantics Michael Joost (1): Remove fallback for _XEatDataWords, require libX11 1.6 for it Peter Hutterer (1): libXi 1.7.3
2014-04-23Add builtin detection for libXi (mainly for the case X11_TYPE=native but builtinobache2-2/+60
version is older than required version). Set API_DEPENDS for required package for the case using libXi from pkgsrc, same as specified to build this package.
2013-07-03Update to 1.7.2.wiz2-7/+6
Changes in 1.7.2: Only one minor change since the RC. Again, this release contains the fixes for CVE-2013-1998, CVE-2013-1984 and CVE-2013-1995 so you're encouraged to update. Peter Hutterer (1): libXi 1.7.2 Thomas Klausner (1): Remove check that can never be true. Changses in 1.7.1.901: First and likely only RC for libXi 1.7.2. This one has a bunch of changes for CVE-2013-1998, CVE-2013-1984 and CVE-2013-1995. These relate to various integer overflows and other corruption that happens if we trust the server a bit too much on the data we're being sent. On top of those fixes, the sequence number in XI2 events is now set propertly too (#64687). Please test, if you find any issues let me know. Alan Coopersmith (14): Expand comment on the memory vs. reply ordering in XIGetSelectedEvents() Use _XEatDataWords to avoid overflow of rep.length bit shifting Stack buffer overflow in XGetDeviceButtonMapping() [CVE-2013-1998 1/3] memory corruption in _XIPassiveGrabDevice() [CVE-2013-1998 2/3] unvalidated lengths in XQueryDeviceState() [CVE-2013-1998 3/3] integer overflow in XGetDeviceControl() [CVE-2013-1984 1/8] integer overflow in XGetFeedbackControl() [CVE-2013-1984 2/8] integer overflow in XGetDeviceDontPropagateList() [CVE-2013-1984 3/8] integer overflow in XGetDeviceMotionEvents() [CVE-2013-1984 4/8] integer overflow in XIGetProperty() [CVE-2013-1984 5/8] integer overflow in XIGetSelectedEvents() [CVE-2013-1984 6/8] Avoid integer overflow in XGetDeviceProperties() [CVE-2013-1984 7/8] Avoid integer overflow in XListInputDevices() [CVE-2013-1984 8/8] sign extension issue in XListInputDevices() [CVE-2013-1995] Peter Hutterer (7): Copy the sequence number into the target event too (#64687) Don't overwrite the cookies serial number Fix potential corruption in mask_len handling Change size += to size = in XGetDeviceControl If the XGetDeviceDontPropagateList reply has an invalid length, return 0 Include limits.h to prevent build error: missing INT_MAX libXi 1.7.1.901
2013-04-06Needs libXfixes now (PR 47721)wiz1-1/+2
2013-04-05Update to 1.7.1:wiz3-49/+7
Only a single fix: including the XFixes header to get the typedef for PointerBarrier. Naturally, this adds a pkgconfig build-time dependency on XFixes. Why? The header shipped with 1.7 typedef'd PointerBarrier. If you #include both XI and Xfixes headers, you will end up with a duplicate typedef. This is not an issue on gcc >= 4.6 since the two typedef's are the same. On earlier versions this will trigger an error. gcc 4.6 -pedantic-errors will trigger the same error. Peter Hutterer (2): Require XFixes for PointerBarrier, remove duplicate typedef libXi 1.7.1
2013-03-14adjust inputproto dependencydrochner1-2/+2
2013-03-12redefinition of PointerBarrier.wiz3-2/+45
gcc 4.6 won't complain about that, but earlier versions do: http://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=ce3765bf44e49ef0568a1ad4a0b7f807591d6412 gcc 4.6 with -pedantic-errors shows: /opt/xorg/include/X11/extensions/XInput2.h:172:13: error: redefinition of typedef ‘PointerBarrier’ [-pedantic] In file included from test.c:1:0: /opt/xorg/include/X11/extensions/Xfixes.h:255:13: note: previous declaration of ‘PointerBarrier’ was here PointerBarriers is defined in XFixes.h and here. So hook onto the only thing we can in Xfixes.h and use that to figure out if we need to typedef ourselves. XFIXES_MAJOR is defined in xfixeswire.h, so we can't hook onto it directly. Adding this ifdef here means we have include order dependency of XFixes.h before XInput2.h unless we add a similar ifdef to the fixes headers. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> --- Nasty, but can't think of a better way atm.
2013-03-07Update to 1.7:wiz3-7/+9
The feature added in this revision is pointer barrier events and releases. Pointer barriers themselves are an XFixes 5 feature, XI 2.3 adds two disctinct features to barriers: * the ability for clients to get notified if pointer movement is restricted by a barrier * the ability for clients to allow a pointer to move through a barrier after it was constrained by the barrier For a more verbose explanation of these features please refer to: http://who-t.blogspot.com.au/2012/12/whats-new-in-xi-23-pointer-barrier.html
2013-01-21Update to 1.6.2:wiz3-7/+9
Two man page fixes and a fix to enable generic event copying for raw touch events (using in e.g. XPeekEvent()) Benjamin Tissoires (1): Add missing XI_RawTouch* in XInputCopyCookie Peter Hutterer (3): man: fix formatting issues in XGetDeviceControl(3) man: add generation of missing man pages for XIGrabTouchBegin libXi 1.6.2
2012-10-29Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-2/+1
2012-07-13Update to 1.6.1. meta-pkgs/modular-xorg still builds.wiz3-14/+12
1.6.1: Major bugs fixed: - wrong button and mask copy (doesn't just affect OS X, despite the commit log) - raw event sourceid is now set Chase Douglas (1): Destroy extension record after last display is removed Peter Hutterer (5): Fix wrong button label and mask copy on OS X Move version comparison into a helper function. Set the RawEvent sourceid (#34240) man: update XIQueryVersion for current server behaviour libXi 1.6.1 1.6.0: The main fix that libXi 1.6 brings is support for XI 2.2 multitouch events and the matching protocol changes. Chase Douglas (1): Fix XIScrollClass increment value on 32-bit machines Cyril Brulebois (1): configure.ac: Fix a typo in comments. Michał Masłowski (1): Fix bus error on MIPS N32 for bug #38331. Peter Hutterer (8): Bump to 1.5.99.1 Implement support for XI 2.2 libXi 1.5.99.2 man: fix typo Mappiing → Mapping Force class alignment to a multiple of sizeof(XID). Handle new XIAllowEvent request size libXi 1.5.99.3 libXi 1.6.0 1.5.0: libXi 1.5.0 is an interim version of libXi that includes the smooth scrolling support that XI 2.1 brings. Note that no servers released by X.Org currently supports smooth scrolling, this feature is still limited to the 1.12 development versions. In addition to the smooth scrolling support, this release brings a number of cleanups, bugfixes (most of which were on 1.4.5) and a set of man page improvements. Alan Coopersmith (3): Move Xinput server API documentation from libXi to xserver Fix the FIXME output in man page .TH macros generated by asciidoc Make shadow man pages generated by asciidoc work with Solaris man Gaetan Nadon (13): Documentation: add Docbook external references support make: remove unneeded AM_V_GEN silent rule directive. make: use AM_V_at rather than AM_V_GEN to prefix the mv command Install target dbs alongside generated documents Install xml versions of specs even if HAVE_XMLTO is false docbook.am: global maintenance update - entities, images and olinking docbook.am: embed css styles inside the HTML HEAD element docs: remove <productnumber> which is not used by default docs: use the &fullrelvers; entity to set X11 release information inputlib: fix copyright statements inputlib: prefix 1.0 with the word Version inputlib: restore original title "X Input Device Extension Library" specs: refactor and complete copyright legal text Jeremy Huddleston (1): Use AM_CPPFLAGS to use in tree headers before installed headers Matt Dew (2): Add id attributes to funcsynopsis to allow other docs to olink to them. 1 - fix the capitalization of the ID attriutes to match either the Matthieu Herrb (1): Fix XISelectEvents on 64 bits, strict alignement architectures. Peter Hutterer (34): Allocate enough memory for raw events + extra data. XIChangeHierarchy: Return Success early if no actual changes are requested. Remove a few unused assignments. man: fix typo, layout in XGetExtensionVersion.man Silence compiler warning in XListDProp.c Silence compiler warning due to differnent event conversion procs man: fix missing comma in XIGrabEnter man page Use Data, not Data32 in XIPassiveGrabDevice man: Fix wrong event names in XIGrabButton. man: Fix typo in XIChangeProperty Bump to 1.4.99 man: Fix formatting in XGetFeedbackControl Add XI2 library-internal array offsets to XIint.h Don't use the protocol defines for 2.0 versioning. Handle unknown device classes. man: fix typo in XIQueryDevice man page man: update property and grab man pages for new constants Handle unknown device classes. man: fix typo in XIQueryDevice man page man: update property and grab man pages for new constants Require inputproto 2.0.99.1 or later Support XI 2.1 internally Support XI 2.1 XIScrollClass Use a separate nclasses variable in XIQueryDevice Remove superfluous assignment of lib->classes in XIQueryDevices. Bump to 1.4.99.1 man: fix #include for XIGrabButton man: XIGrabButton returns error codes, not status codes man: passive grabs return the number of failed modifier combinations Fix duplicate sizeof in copy_classes Stop unnecessary calls to size_classes Include config.h from source files man: minor formatting fix in XIGrabButton libXi 1.5.0 1.4.5: libXi 1.4.4 caused requests to fail if the library was built against 2.1 or 2.2 protocol headers. Instead of requiring 2.0 for XI2 requests, the library required the protocol version (2.1 or 2.2 depending on the proto) and failed if the server did not support that version. This again caused virtually all XI2 requests to fail if you didn't happen to run an X server from git. The patch below hardcodes 2.0 for those requests that require 2.0, regardless of the protocol version. You are strongly enocuraged to update. This issue is not visible when built against inputproto 2.0.x Peter Hutterer (2): Don't use the protocol defines for 2.0 versioning. libXi 1.4.5 1.4.4: libXi 1.4.4 comes with two memory fixes that can cause crashes in clients. Commit "Handle unknown device classes" can only be triggered when libXi 1.4.x runs against the git X server. If the XIQueryDevice() reply contained classes unknown to libXi, we didn't allocate memory for these classes and ended up overwriting valid ones. Commit "Fix duplicate sizeof in copy_classes" fixes a typo, instead of malloc(X * sizeof(Y)) the code called malloc(sizeof(X * sizeof(Y))). This could lead to memory corruption. Peter Hutterer (8): man: Fix formatting in XGetFeedbackControl man: fix typo in XIQueryDevice man page Handle unknown device classes. man: fix #include for XIGrabButton man: XIGrabButton returns error codes, not status codes man: passive grabs return the number of failed modifier combinations Fix duplicate sizeof in copy_classes libXi 1.4.4
2012-05-31reference shared manpages in correct subdirectory.mlelstv1-1/+7
2011-06-12Update to libXi-1.4.3: bug and doc fixes.dholland3-8/+16
2010-09-10Update to libXi-1.3.2: Viarous bug fixesjoerg3-7/+77
2010-04-11Force it to not see asciidoc and xmlto, or it starts rebuilding itsdholland1-2/+2
man pages and (for reasons that are not entirely clear) chokes and dies.
2010-04-10revert bl3.mk changes since there were problems with native X11.tnn1-2/+2
2010-04-09Update to libXi-1.3.tnn4-50/+11
Most notable change is that this brings XI2 support, matching changes noted in the inputproto-2.0 update.
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
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.
2009-02-27Update to 1.2.1:wiz2-6/+6
libXi 1.2.1. Fixes a potential memory overflow in XGetDeviceControl. Alan Coopersmith (1): Add README with pointers to mailing list, bugzilla & git repos Paulo Cesar Pereira de Andrade (1): Return NULL on error, and match LockDisplay with UnlockDisplay. Peter Hutterer (3): XGetDeviceControl: Add a missing break leading to wrong length calculation. XGetDeviceControl: size the libXi structs, not the wire structs (#20293) libXi 1.2.1
2009-01-07Update to 1.2.0:wiz3-7/+12
Following the inputproto 1.5 release adding input device properties, here's the matching client-side libraries. Peter Hutterer (4): Bump to 1.1.99.2. Add XI_JOYSTICK to list of defined types. Add support for XI 1.5 device properties. libXi 1.2.0
2008-11-17Update to 1.1.4:wiz4-76/+6
(pkgsrc already contained the Coverity and GetDeviceControl patches) Alan Coopersmith (1): Coverity #743/744: Returned without freeing storage bufp/savp Matthieu Herrb (1): nuke RCS Ids Peter Hutterer (2): GetDeviceControl: calculate the length field correctly. libXi 1.1.4
2008-05-24Switch master site to MASTER_SITE_XORG.tnn1-2/+2
2008-01-29Add two bug fixes from GIT (see patch headings for more info).bjs4-2/+72
Bump rev.
2007-09-21Remove patch, XInputCheckExtension has some magic for that.joerg2-18/+1
2007-09-21Fix locking bug in upstream code. Ride on the initial update.joerg2-1/+18
2007-09-21Update to version 1.1.3.bjs2-6/+6
The most important feature of this release is a set of locking fixes, which unbreak this library for threaded apps. The lock issues were exposed by libxcb. -- XChangeDeviceControl: Fix completely broken locking -- XSetDeviceFocus: Add missing extension check -- XGetSelectedExtensionEvents: Still more locking bugs -- Bug #9659: Bad markup on XListInputDevices.3x
2007-08-05Update to libXi-1.1.2: Unstatic a function again.joerg2-6/+6
2007-07-27Tell configure that malloc(0) != NULL on NetBSD unless running out ofjoerg1-1/+7
memory.
2007-07-12Update libXi to 1.1.1: Fix _XiCheckExtInit to always drop the Displayjoerg2-6/+6
lock.
2007-01-23Now that libX11 doesn't explicitly pull in inputproto, do it in libXi.joerg1-1/+2
2007-01-23Update to libXi-1.1.0:joerg2-6/+6
1.0.0 -> 1.0.1: non-functional 1.0.1 -> 1.0.2: don't call XInput_find_display with the Display lock held, saves time as well 1.0.2 -> 1.1.0: use interface for device presense notification.
2006-11-05First step to making modular transparent:joerg1-1/+9
Redirect from the individual modular libraries to the old libs or mk/x11.buildlink3.mk.
2006-11-03Import libXi-1.0.0 from pkgsrc:joerg5-0/+102
This package contains the Xi extension. This is the X Input extension library. This is part of the X Libraries and Protocol Headers Project at freedesktop.org.