- 30 Mar, 2021 1 commit
-
-
Povilas Kanapickas authored
The xkb spec defines that the 7th element of the DeviceValuator key action description is "valuator 2 value". This error most likely was accidentally introduced as a copy-paste error in edeb033f . Signed-off-by:
Povilas Kanapickas <povilas@radix.lt>
-
- 21 Apr, 2015 1 commit
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by:
Matt Turner <mattst88@gmail.com> Acked-by:
Daniel Stone <daniels@collabora.com>
-
- 12 Nov, 2014 1 commit
-
-
Peter Hutterer authored
sed -i "s/[ ]\+$//g" **/*.(c|h) happy reviewing... git diff -w is an empty diff. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 18 Apr, 2014 1 commit
-
-
Keith Packard authored
Check the return values from fread to make sure the elements are actually getting read from the file. Signed-off-by:
Keith Packard <keithp@keithp.com> Reviewed-by:
Jamey Sharp <jamey@minilop.net>
-
- 05 Nov, 2012 1 commit
-
-
Yaakov Selkowitz authored
Signed-off-by:
Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 21 Mar, 2012 1 commit
-
-
Keith Packard authored
This is strictly the application of the script 'x-indent-all.sh' from util/modular. Compared to the patch that Daniel posted in January, I've added a few indent flags: -bap -psl -T PrivatePtr -T pmWait -T _XFUNCPROTOBEGIN -T _XFUNCPROTOEND -T _X_EXPORT The typedefs were needed to make the output of sdksyms.sh match the previous output, otherwise, the code is formatted badly enough that sdksyms.sh generates incorrect output. The generated code was compared with the previous version and found to be essentially identical -- "assert" line numbers and BUILD_TIME were the only differences found. The comparison was done with this script: dir1=$1 dir2=$2 for dir in $dir1 $dir2; do (cd $dir && find . -name '*.o' | while read file; do dir=`dirname $file` base=`basename $file .o` dump=$dir/$base.dump objdump -d $file > $dump done) done find $dir1 -name '*.dump' | while read dump; do otherdump=`echo $dump | sed "s;$dir1;$dir2;"` diff -u $dump $otherdump do...
-
- 15 Jul, 2011 1 commit
-
-
Bugfix for broken xkbcomp: if we encounter an XFree86Private action with Any+AnyOfOrNone(All), then we skip the interp as broken. Versions of xkbcomp below 1.2.2 had a bug where they would interpret a symbol that couldn't be found in an interpret as Any. So, an XF86LogWindowTree+AnyOfOrNone(All) interp that triggered the PrWins action would make every key without an action trigger PrWins if libX11 didn't yet know about the XF86LogWindowTree keysym. None too useful. We only do this for XFree86 actions, as the current XKB dataset relies on Any+AnyOfOrNone(All) -> SetMods for Ctrl in particular. See xkbcomp commits 2a473b906943ffd807ad81960c47530ee7ae9a60 and 3caab5aa37decb7b5dc1642a0452efc3e1f5100e for more details. Signed-off-by:
Daniel Stone <daniel@fooishbar.org> Acked-by:
Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 15 Feb, 2011 1 commit
-
-
The two functions have identical semantics, including safely returning NULL when NULL is passed in (which POSIX strdup does not guarantee). Some callers could probably be adjusted to call libc strdup directly, when we know the input is non-NULL. Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Daniel Stone <daniel@fooishbar.org>
-
- 01 Sep, 2010 2 commits
-
-
xkb->names is dereferenced in else path too. Signed-off-by:
Pauli Nieminen <ext-pauli.nieminen@nokia.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Fixes warning that strncpy is not able to append NULL to the end of destination. Signed-off-by:
Pauli Nieminen <ext-pauli.nieminen@nokia.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 06 Jun, 2010 1 commit
-
-
Mikhail Gusarov authored
Signed-off-by:
Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by:
Marcin Baczyński <marbacz@gmail.com> Reviewed-by:
Daniel Stone <daniel@fooishbar.org> Reviewed-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by:
Matt Turner <mattst88@gmail.com>
-
- 12 May, 2010 1 commit
-
-
Mikhail Gusarov authored
The only remaining X-functions used in server are XNF*, the rest is converted to plain alloc/calloc/realloc/free/strdup. X* functions are still exported from server and x* macros are still defined in header file, so both ABI and API are not affected by this change. Signed-off-by:
Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 02 Feb, 2010 2 commits
-
-
Peter Hutterer authored
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Dan Nicholson <dbn.lists@gmail.com> Reviewed-by:
Daniel Stone <daniel@fooishbar.org>
-
Video mode switching via keypad keys did not work Signed-off-by:
Horst Wente <horst.wente@acm.org> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 15 Jul, 2009 1 commit
-
-
Peter Hutterer authored
xkbsrv.h is used by drivers, they don't need the XKM format and shouldn't require it. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 10 Jul, 2009 1 commit
-
-
Peter Hutterer authored
Reverts the following four patches: feb757f3 "XKB: Sanitise vmods for redirected keys" b5f49382 "XKB: Sanitise ctrls action" 1bd7fd19 "XKB: Sanitise pointer actions" 61c508fa "XKB: Sanitise vmods in actions" Strictly speaking, the structs used in the server are not part of the client ABI. Practically, they are as we copy from the wire straight into the structs. Changing the struct sizes breaks various wire/server conversions. Even when the structs have the same size, some internal magic causes conversions to fail. Visible by diffing the output files of: setxkbmap -layout de; xkbcomp -xkb :0 busted.xkb setxkbmap -layout de -print | xkbcomp -xkb - correct.xkb Interestingly enough, busted.xkb is the working one although the output is incorrect. Revert the four offending patches until the exact cause of this breakage can be determined. This patch restores functionality to Level3 modifiers. X.Org Bug 19602 <http://bugs.freedesktop.org/show_bug.cgi?id=19602 > Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 08 May, 2009 1 commit
-
-
Peter Hutterer authored
We all agree that wrapping is fun, but seriously. One of these days someone will get hurt. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 03 Feb, 2009 1 commit
-
-
Alan Coopersmith authored
Changes MakeAtom to take a const char * and NameForAtom to return them, since many callers pass pointers to constant strings stored in read-only ELF sections. Updates in-tree callers as necessary to clear const mismatch warnings introduced by this change. Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com> Acked-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 22 Jan, 2009 5 commits
-
-
Daniel Stone authored
Turn two unsigned chars into one unsigned int for both vmods and the vmod mask. As a bonus, remove broken unused accessor macro for setting the vmods. Signed-off-by:
Daniel Stone <daniel@fooishbar.org> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Daniel Stone authored
Turn four unsigned chars into one unsigned long. Signed-off-by:
Daniel Stone <daniel@fooishbar.org> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Daniel Stone authored
Turn two unsigned chars into one int. Signed-off-by:
Daniel Stone <daniel@fooishbar.org> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Daniel Stone authored
Turn vmods from two unsigned chars into one int. Signed-off-by:
Daniel Stone <daniel@fooishbar.org> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Daniel Stone authored
Rather than requiring a one-to-one correspondence between XKM and struct formats in action data, explicitly fill the action data, so we can break API. Signed-off-by:
Daniel Stone <daniel@fooishbar.org> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 12 Dec, 2008 1 commit
-
-
A grep on xorg/* revealed there's no consumer of this define. Quote Alan Coopersmith: "The consumer was in past versions of the headers now located in proto/x11proto - for instance, in X11R6.0's xc/include/Xproto.h, all the event definitions were only available if NEED_EVENTS were defined, and all the reply definitions required NEED_REPLIES. Looks like Xproto.h dropped them by X11R6.3, which didn't have the #ifdef's anymore, so these are truly ancient now." Signed-off-by:
Peter Hutterer <peter.hutterer@redhat.com> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
- 03 Dec, 2008 1 commit
-
-
Paulo Cesar Pereira de Andrade authored
Save in a few special cases, _X_EXPORT should not be used in C source files. Instead, it should be used in headers, and the proper C source include that header. Some special cases are symbols that need to be shared between modules, but not expected to be used by external drivers, and symbols that are accessible via LoaderSymbol/dlopen. This patch also adds conditionally some new sdk header files, depending on extensions enabled. These files were added to match pattern for other extensions/modules, that is, have the headers "deciding" symbol visibility in the sdk. These headers are: o Xext/panoramiXsrv.h, Xext/panoramiX.h o fbpict.h (unconditionally) o vidmodeproc.h o mioverlay.h (unconditionally, used only by xaa) o xfixes.h (unconditionally, symbols required by dri2) LoaderSymbol and similar functions now don't have different prototypes, in loaderProcs.h and xf86Module.h, so that both headers can be included, without the need of defining IN_LOADER. xf86NewInputDevice() device prototype readded to xf86Xinput.h, but not exported (and with a comment about it).
-
- 30 Nov, 2008 2 commits
-
-
Paulo Cesar Pereira de Andrade authored
The warnings corrected were only the ones that should correct real problems. The most common one is 64 bit integers as "printf %l" arguments. Note that there is a patch related to this at: http://bugs.freedesktop.org/show_bug.cgi?id=18204
-
Paulo Cesar Pereira de Andrade authored
This is the biggest "visibility" patch. Instead of doing a "export" symbol on demand, export everything in the sdk, so that if some module fails due to an unresolved symbol, it is because it is using a symbol not in the sdk. Most exported symbols shouldn't really be made visible, neither advertised in the sdk, as they are only used by a single shared object. Symbols in the sdk (or referenced in sdk macros), but not defined anywhere include: XkbBuildCoreState() XkbInitialMap XkbXIUnsupported XkbCheckActionVMods() XkbSendCompatNotify() XkbDDXFakePointerButton() XkbDDXApplyConfig() _XkbStrCaseCmp() _XkbErrMessages[] _XkbErrCode _XkbErrLocation _XkbErrData XkbAccessXDetailText() XkbNKNDetailMaskText() XkbLookupGroupAndLevel() XkbInitAtoms() XkbGetOrderedDrawables() XkbFreeOrderedDrawables() XkbConvertXkbComponents() XkbWriteXKBSemantics() XkbWriteXKBLayout() XkbWriteXKBKeymap() XkbWriteXKBFile() XkbWriteCFile() XkbWriteXKMFile() XkbWriteToServer() XkbMergeFile() XkmFindTOCEntry() XkmReadFileSection() XkmReadFileSectionName() InitExtInput() xf86CheckButton() xf86SwitchCoreDevice() RamDacSetGamma() RamDacRestoreDACValues() xf86Bpp xf86ConfigPix24 xf86MouseCflags[] xf86SupportedMouseTypes[] xf86NumMouseTypes xf86ChangeBusIndex() xf86EntityEnter() xf86EntityLeave() xf86WrapperInit() xf86RingBell() xf86findOptionBoolean() xf86debugListOptions() LoadSubModuleLocal() LoaderSymbolLocal() getInt10Rec() xf86CurrentScreen xf86ReallocatePciResources() xf86NewSerialNumber() xf86RandRSetInitialMode() fbCompositeSolidMask_nx1xn fbCompositeSolidMask_nx8888x0565C fbCompositeSolidMask_nx8888x8888C fbCompositeSolidMask_nx8x0565 fbCompositeSolidMask_nx8x0888 fbCompositeSolidMask_nx8x8888 fbCompositeSrc_0565x0565 fbCompositeSrc_8888x0565 fbCompositeSrc_8888x0888 fbCompositeSrc_8888x8888 fbCompositeSrcAdd_1000x1000 fbCompositeSrcAdd_8000x8000 fbCompositeSrcAdd_8888x8888 fbGeneration fbIn fbOver fbOver24 fbOverlayGeneration fbRasterizeEdges fbRestoreAreas fbSaveAreas composeFunctions VBEBuildVbeModeList() VBECalcVbeModeIndex() TIramdac3030CalculateMNPForClock() shadowBufPtr shadowFindBuf() miRRGetScreenInfo() RRSetScreenConfig() RRModePruneUnused() PixmanImageFromPicture() extern int miPointerGetMotionEvents() miClipPicture() miRasterizeTriangle() fbPush1toN() fbInitializeBackingStore() ddxBeforeReset() SetupSprite() InitSprite() DGADeliverEvent() SPECIAL CASES o defined as _X_INTERNAL xf86NewInputDevice() o defined as static fbGCPrivateKey fbOverlayScreenPrivateKey fbScreenPrivateKey fbWinPrivateKey o defined in libXfont.so, but declared in xorg/dixfont.h GetGlyphs() QueryGlyphExtents() QueryTextExtents() ParseGlyphCachingMode() InitGlyphCaching() SetGlyphCachingMode()
-
- 17 Feb, 2008 4 commits
-
-
Daniel Stone authored
Sorry about the megacommit, but this touches on a lot of stuff. Get rid of XkbFileInfo, which was pretty seriously redundant, and move the only useful thing it had (defined) into XkbDescRec. defined will be removed pretty soon anyway. Is the compat map pointer non-NULL? Then you have a compat map, congratulations! Anyhow, I digress. All functions that took an XkbFileInfoPtr now take an XkbDescPtr, _except_ XkmReadFile, which returns an XkbDescPtr *, because people want to deal in XkbDescPtrs, not XkbDescRecs.
-
Daniel Stone authored
Since we're no longer sharing with Xlib, don't pass Displays and XPointers everywhere.
-
Daniel Stone authored
We have SEEK_SET and size_t, seriously. Also use DebugF instead of ifdef DEBUG, and ditch a couple of random bits that were never used.
-
Daniel Stone authored
We need to start breaking the XKB API to enforce sanity, so drag whichever headers we need to do so into the server tree, as the client API is set in stone, being part of Xlib.
-
- 20 Mar, 2007 1 commit
-
-
Adam Jackson authored
The former <X11/extensions/XKBsrv.h> has been pulled into the server now as include/xkbsrv.h, and the world updated to look for it in the new place, since it made no sense to define server API in an extension header. Any further work along this line will need to do similar things with XKBgeom.h and friends.
-
- 28 Jul, 2006 1 commit
-
-
Kevin E Martin authored
-
- 21 Jul, 2006 1 commit
-
-
Adam Jackson authored
-
- 27 Mar, 2006 1 commit
-
-
Daniel Stone authored
!XKB_IN_SERVER codepaths. Remove HAVE_CONFIG_H codepaths.
-
- 03 Jul, 2005 2 commits
-
-
Daniel Stone authored
-
Daniel Stone authored
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>.
-
- 13 Jun, 2005 1 commit
-
-
Søren Sandmann Pedersen authored
xc/lib/xkbfile
-
- 23 Apr, 2004 1 commit
-
-
Egbert Eich authored
-
- 14 Mar, 2004 1 commit
-
-
Egbert Eich authored
-