summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* xkbcomp 1.1.1xkbcomp-1.1.1Peter Hutterer2009-10-031-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* xkbcomp: Remove output file if closing fails.Rami Ylimaki2009-08-061-2/+10
| | | | | | | | | Without the fix xkbcomp may leave a truncated file in the filesystem if there is not enough disk space. Using the truncated file leads to problems. Signed-off-by: Rami Ylimaki <ext-rami.ylimaki@nokia.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Bump to 1.1.0.xkbcomp-1.1.0Peter Hutterer2009-07-091-1/+1
|
* Use temporary buffer for generating Uxxx names to avoid overflowAlan Coopersmith2009-05-111-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | Instead of sprintf()'ing a 4 character string to a char [4] buffer, and leaving the trailing '\0' to overwrite into the next entry, snprintf() to a 5 character temp buffer and memcpy the 4 characters to the right place. Fixes parfait errors: Error: Buffer overflow at xkbcomp-1.0.4/misc.c:393 in function 'ComputeKbdDefaults' [Standard C Library pattern matching] In sprintf related dereference of xkb->names->keys[i].name with index not less than '4' Destination array size is 4 bytes, data to be written is 4 bytes Error: Buffer overflow at xkbcomp-1.0.4/misc.c:402 in function 'ComputeKbdDefaults' [Standard C Library pattern matching] In sprintf related dereference of xkb->names->keys[i].name with index not less than '4' Destination array size is 4 bytes, data to be written is 4 bytes [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@sun.com>
* Allow the default XKB config root to be set from configureDan Nicholson2009-03-072-1/+8
| | | | | | | | The default was hardcoded in the Makefile as $(datadir)/share/X11/xkb. This could cause a problem if you are installing xkbcomp to an alternate location but want to continue using the system's XKB data. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
* Correct a remaining of a wrong change to make some DEBUG_VAR's static.Paulo Cesar Pereira de Andrade2009-01-221-1/+1
|
* Correct make distcheck and most gcc and sparse warnings.Paulo Cesar Pereira de Andrade2009-01-2120-31/+42
| | | | | | | | | | | | | | | | | | | | Remaining warnings are due to macros that check address or vectors on the stack and auto generated yacc code. Compiled with default flags and also as: % make CFLAGS=-DENTRY_TRACKING_ON -DDEBUG_ON -DASSERTIONS_ON to ensure the "simplification" of code like: foo.c: <hash>define DEBUG_VAR foo_VAR <hash>include "foo.h" ... foo.h: <hash>ifdef DEBUG_VAR_NOT_LOCAL extern <hash>endif int DEBUG_VAR; ... did not change the author's "intended" logic.
* Check for NULL strings before calling strdup.Peter Hutterer2008-09-111-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
* sprintf -> snprintf conversionsAlan Coopersmith2008-09-057-73/+75
|
* Remove #if 0'd typedef that appears nowhere else.Alan Coopersmith2008-09-051-10/+0
|
* Remove X_NOT_POSIX #ifdefsAlan Coopersmith2008-09-051-27/+12
| | | | POSIX.1-1990 is well below the current minimum bar
* Check for strdup & strcasecmp before assuming we need to provide our ownAlan Coopersmith2008-09-052-0/+3
|
* Don't overwrite previously assigned type indices with useless ones.Peter Hutterer2008-08-221-2/+9
| | | | | | | | | | | The default type for a key with no levels is ONE_LEVEL. Let's not overwrite the kt_index with this default type if we have previously assigned a real type. Reproduceable by running setxkbmap -layout "ru(phonetic),us", the first group is assigned ONE_LEVEL and shift stops working. Red Hat Bug #436626 <https://bugzilla.redhat.com/show_bug.cgi?id=436626>
* Remove unused merge parameter from HandleKeyNameVar.Peter Hutterer2008-08-211-2/+2
|
* Don't pass useless handlers around in HandleIncludeKeycodes.Peter Hutterer2008-08-211-12/+9
| | | | What use is a handler if we only ever use one function anyway?
* More comments.Peter Hutterer2008-08-216-18/+211
|
* Remove useless longestPath variable.Peter Hutterer2008-08-181-4/+0
|
* Silence valgrind warnings.Peter Hutterer2008-08-183-3/+3
| | | | "Conditional jump or move depends on uninitialised value(s)"
* Add some explanatory commentsPeter Hutterer2008-08-185-12/+103
|
* If we're not using XkbDesc, don't require it as a parameter.Peter Hutterer2008-08-121-9/+15
|
* Indent fixes.Peter Hutterer2008-08-1229-12464/+14648
| | | | indent -cbi 0 -nprs -nut -npcs -i4 -bli 0 *.c *.h
* Add a few explanatory comments.Peter Hutterer2008-08-121-1/+6
|
* Remove RCS tags.Peter Hutterer2008-08-1236-73/+0
|
* Minimal man page addition for new -i option.Matthieu Herrb2008-05-121-0/+3
|
* Bump to 1.0.5xkbcomp-1.0.5Daniel Stone2008-05-091-1/+1
|
* Don't scan paths which make NO SENSE WHATSOEVER TO SCANDaniel Stone2008-04-171-11/+1
| | | | | | | | | Hey, I wonder if we have XKB files in our directory! I wonder if we haven't bothered with a structure, and let's try to open a file called 'misc' in someone's home directory! What a surprise, it's not a valid XKB file! Let's fail miserably! SURPRISINGLY, THIS IS NOT USEFUL BEHAVIOUR.
* xkbcomp: Take a device ID argumentDaniel Stone2008-04-171-1/+10
| | | | Allows the user to set maps (or whatever) on arbitrary devices.
* xkbcomp 1.0.4xkbcomp-1.0.4Adam Jackson2008-03-061-2/+1
|
* Bug #7645: Fix a conditional that always evaluates to FALSE.Adam Jackson2008-02-291-2/+1
| | | | Since it's if (0 || foo), simplify to if (foo).
* Bug 14185: MAINTAINERCLEANFILES multiply defined in Makefile.amAlan Coopersmith2008-01-221-1/+1
| | | | <http://bugs.freedesktop.org/show_bug.cgi?id=14185>
* Revert "Also mark xkbparse.h as a generated file."Matthieu Herrb2008-01-061-1/+1
| | | | | | Apparently only yacc generates it. This reverts commit 3e5b0d615b94c66a2b5a8b3d2e4a04713a442002.
* Also mark xkbparse.h as a generated file.Matthieu Herrb2008-01-061-1/+1
|
* Replace static ChangeLog with dist-hook to generate from git logJames Cloos2007-12-062-51/+10
|
* Ignore *.o and ylwrap.Tilman Sauerbeck2007-09-231-0/+2
|
* Fixed a bunch of const correctness bugs.Tilman Sauerbeck2007-09-2317-54/+55
|
* Fixed an invalid memory access.Tilman Sauerbeck2007-09-231-1/+2
| | | | | Some keynames are less than 3 characters long (not counting the terminator). We're now also initializing all of the keyName array.
* Bug #11025: xkbcomp COPYING fileDaniel Drake2007-09-071-8/+86
| | | | X.Org Bugzilla #11025 <https://bugs.freedesktop.org/show_bug.cgi?id=11025>
* Add *~ to .gitignore to skip patch/emacs droppingsJames Cloos2007-09-031-0/+1
|
* Rename .cvsignore to .gitignoreJames Cloos2007-08-231-0/+0
|
* bump to 1.0.3xkbcomp-1.0.3Daniel Stone2006-11-081-1/+1
|
* compat: avoid use of uninitialised variable (bug #8846)Etsushi Kato2006-11-081-1/+1
| | | | | si.interp.match may be unused, so just clobber it, which means we don't end up with stuff like LevelOneOnlyMask wandering in.
* parser: accept negative numbers in geometry co-ordinates (bug #8763)Andriy Gapon2006-10-291-2/+6
| | | | Accept negative co-ordinates for geometry, per the spec.
* Bump to 1.0.2xkbcomp-1_0_2XORG-7_1Adam Jackson2006-04-262-1/+6
|
* Bug #4851: Fix up have-no-file test.Daniel Stone2006-04-032-1/+6
|
* Update package version for X11R7 release.XORG-7_0_99_901XORG-7_0Kevin E Martin2005-12-212-1/+6
|
* Stub COPYING filesAdam Jackson2005-12-191-0/+12
|
* Update package version number for final X11R7 release candidate.XORG-6_99_99_904Kevin E Martin2005-12-152-1/+6
|
* Change *man_SOURCES ==> *man_PRE to fix autotools warnings.MODULAR_COPYKevin E Martin2005-12-062-3/+8
|
* Update package version number for X11R7 RC3 release.XORG-6_99_99_903Kevin E Martin2005-12-032-1/+6
|
* Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4Alan Coopersmith2005-11-281-1/+1
| | | | update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)