ChangeLog revision bfe6082c
1commit f8b240e897ed68b90c116ce4c2f8814e71e5aa97 2Author: Peter Hutterer <peter.hutterer@who-t.net> 3Date: Wed Mar 17 15:39:53 2021 +1000 4 5 xkbcomp 1.4.5 6 7 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 8 9commit da810f10d732a312ccee88652141c1d165efc114 10Author: Peter Hutterer <peter.hutterer@who-t.net> 11Date: Thu Jan 21 13:24:00 2021 +1000 12 13 keycodes: compress the high keycode warning 14 15 No point spending 3 lines on this, especially given that this warning is 16 always triggered. 17 18 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 19 20commit 80398db098b2a2214c5bef28d09cefd58beac43d 21Author: Peter Hutterer <peter.hutterer@who-t.net> 22Date: Thu Jan 21 13:20:40 2021 +1000 23 24 keycodes: downgrade the >255 keycode warning to an info 25 26 This warning will be triggered all the time now that xkeyboard-config has 27 started adding keycodes > 255. Downgrade to an info, there's nothing the user 28 can do about this warning anyway. 29 30 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 31 32commit 1955a2645670eeea83d6d163653749249cd839f2 33Author: Peter Hutterer <peter.hutterer@who-t.net> 34Date: Thu Jan 21 13:16:53 2021 +1000 35 36 Downgrade the warning for missing symbols to info 37 38 In the interest of maintainability, it's easier to include as many keycodes as 39 possible and then have the symbols mapping specific to the layout. This is 40 particularly true for evdev where the kernel takes care of device-specifics 41 and every keyboard has the same set of keycodes anyway. 42 43 So let's downgrade this from a warning to a mere info, virtually every 44 keyboard right now triggers this warning for a number of keys. 45 46 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 47 48commit 9510dedad875099c32993246188050ea73ab1a9f 49Author: Peter Hutterer <peter.hutterer@who-t.net> 50Date: Thu Jan 21 13:08:25 2021 +1000 51 52 Replace WARN[1-9], ERROR[1-9], etc. with their unnumbered version 53 54 Those macros date back to when varargs weren't a thing but they've 55 been #defined to the same value for 17 years now. 56 57 Patch generated with: 58 for action in WARN INFO ERROR ACTION FATAL WSGO; do 59 sed -i "s/${action}[1-9]/${action}/g" `git ls-files` 60 done 61 62 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 63 64commit ff6a19ed8898ee8c79b2b2a2f87806353d89f5d4 65Author: Peter Hutterer <peter.hutterer@who-t.net> 66Date: Thu Jan 21 13:46:01 2021 +1000 67 68 gitlab CI: add basic build test 69 70 Copied from xorgproto 71 72 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 73 74commit 3b3d25dd32ba48fd6d15ca98baf7109af21e1d97 75Author: Peter Hutterer <peter.hutterer@who-t.net> 76Date: Thu Jan 21 13:24:51 2021 +1000 77 78 Remove trailing whitespaces 79 80 Let's clean this up so I don't have to fight vim and git in removing them. 81 82 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 83 84commit 790b998647ec171133bf196a3d84c5153cd64840 85Author: Peter Hutterer <peter.hutterer@who-t.net> 86Date: Thu Nov 5 14:24:24 2020 +1000 87 88 xkbcomp 1.4.4 89 90 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 91 92commit a0a4f112c5858ac2b932247dba2d85061bb59145 93Author: Miroslav Koškár <mk@mkoskar.com> 94Date: Mon Jul 6 07:48:48 2020 +0200 95 96 Fix lockdevbtn to be XkbSA_LockDeviceBtn action 97 98commit 101d5f2bce9ee13521fe9cb47b7cfd00d01f5914 99Author: Alan Coopersmith <alan.coopersmith@oracle.com> 100Date: Thu Jul 23 10:25:08 2020 -0700 101 102 Fix spelling/wording issues 103 104 Found by using: 105 codespell --builtin clear,rare,usage,informal,code,names 106 107 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 108 109commit c8cfca25ab2ed65013448f7502bae933c66390ae 110Author: Peter Hutterer <peter.hutterer@who-t.net> 111Date: Fri Jun 5 14:23:09 2020 +1000 112 113 Don't pretend unresolved symbols are an error 114 115 Whenever xkeyboard-config is newer than xorgproto, or libX11 just hasn't yet 116 been rebuilt against the protocol we end up with some unresolved symbols. 117 That's not an error, it just happens. Let's downgrade this to a warning 118 instead. 119 120 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 121 122commit dcaa947c488b4cb458946ab9c19579f7c866cbd4 123Author: Peter Hutterer <peter.hutterer@who-t.net> 124Date: Wed Jul 17 15:07:14 2019 +1000 125 126 For -R and after chdir, add the current directory to the path 127 128 This restores the behavior pre 1aecdffaa0db7bbf85bc0aae9043e9437b25c30d, at 129 least when -R is given. For a normal invocation without -R we don't add the 130 current directory, because 1aecdff isn't totally wrong about whether that's a 131 good idea. 132 133 Fixes https://gitlab.freedesktop.org/xorg/app/xkbcomp/issues/3 134 135commit d373c9b434c603bf6a5eb442b6427992d23ef874 136Author: Matt Turner <mattst88@gmail.com> 137Date: Thu Feb 20 09:47:30 2020 -0800 138 139 xkbcomp 1.4.3 140 141 Signed-off-by: Matt Turner <mattst88@gmail.com> 142 143commit e200d0d41ef3158ea717206c1490e499a0c07f1b 144Author: Dimitry Andric <dimitry@andric.com> 145Date: Wed Feb 19 21:24:59 2020 +0100 146 147 Don't compare with string literals 148 149 xkbcomp.c:228:37: error: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Werror,-Wstring-compare] 150 if ((argv[i][0] != '-') || (uStringEqual(argv[i], "-"))) 151 ^~~~~~~~~~~~~~~~~~~~~~~~~~ 152 ./utils.h:195:30: note: expanded from macro 'uStringEqual' 153 ^~~~~~~~~~~~~~~~~~~~~ 154 ./utils.h:198:38: note: expanded from macro 'uStringCompare' 155 (s1)!=(s2):strcmp(s1,s2)) 156 ^ ~~~~ 157 158 Don't attempt to do this macro trickery, and simply use strcmp instead, 159 where it applies. 160 161 Bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244235 162 163commit 29fda8e50e4a4a127348e63fcf9f47600beab93c 164Author: Peter Hutterer <peter.hutterer@who-t.net> 165Date: Thu Jun 13 12:29:19 2019 +1000 166 167 Error out if we have no default path 168 169 The path is set through configure.ac/Makefile.am and always defined anyway. 170 Let's not re-define it here with a different value than our default. 171 172 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 173 174commit ff0e59084d6b9f2e7085fc88ba68916150085afb 175Author: Andreas Wettstein <wettstein509@solnet.ch> 176Date: Sat Feb 15 17:34:41 2014 +0100 177 178 xkbcomp Fix missing support for "affect" and incorrect modifier handling for ISOLock 179 180 Add missing support for "affect" flag to selectively affect locking or 181 unlocking for for modifier locking, control locking, and ISOLock. 182 Fix some incorrect masking and modifier handling for ISOLock. 183 184 Signed-off-by: Andreas Wettstein <wettstein509@solnet.ch> 185 Reviewed-By: Ran Benita <ran234@gmail.com> 186 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 187 188commit 9edd61b91a02bda31fc6edd2c32c553e872b6ea2 189Author: Miroslav Koškár <mk@mkoskar.com> 190Date: Fri Jan 18 20:01:01 2019 +0100 191 192 Fix invalid error report on F_Accel field 193 194 F_Accel is valid MovePtr field yet following error is reported: 195 196 > Error: Field accel is not defined for an action of type MovePtr 197 > Action definition ignored 198 199 Signed-off-by: Miroslav Koškár <mk@mkoskar.com> 200 201commit 7ffec6583ae92fe81402870eb89dea21ca34e933 202Author: Andreas Boll <andreas.boll.dev@gmail.com> 203Date: Mon Feb 11 21:44:51 2019 +0100 204 205 configure: Remove unused AC_SUBST([REQUIRED_MODULES]) 206 207 v2: Add square brackets back. 208 209 Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com> 210 211commit 4683410b6b072bd55dbdc661c76a5ba30bae608e 212Author: Andreas Boll <andreas.boll.dev@gmail.com> 213Date: Mon Feb 11 21:31:19 2019 +0100 214 215 pkgconfig: Remove unneeded Requires.private 216 217 Fixes "pkg-config --exists xkbcomp" without installed pkg-config files 218 for x11, xkbfile, and xproto >= 7.0.17. 219 220 xkbcomp works fine without those pkg-config files. 221 222 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913359 223 224 Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com> 225 226commit 1fdbacbe34742328b2a95742982b6017f60a1342 227Author: Adam Jackson <ajax@redhat.com> 228Date: Wed Oct 17 11:44:37 2018 -0400 229 230 Suppress high-keycode warnings at the default warning level 231 232 We expect evdev to have keycodes above 255, there's no reason to warn 233 about this. 234 235 Signed-off-by: Adam Jackson <ajax@redhat.com> 236 237commit 32d8d53fc1b622d97b3b8eb7b8b5e8354eda60a5 238Author: Alan Coopersmith <alan.coopersmith@oracle.com> 239Date: Wed Nov 21 17:11:16 2018 -0800 240 241 Update configure.ac bug URL for gitlab migration 242 243 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 244 245commit 2abe23d23d3755335c10ff573e4e1f93b682e9d9 246Author: Peter Hutterer <peter.hutterer@who-t.net> 247Date: Fri Jun 8 09:10:03 2018 +1000 248 249 xkbcomp 1.4.2 250 251 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 252 253commit 5bc2849273a224a2df593b7e8df31f0bde666482 254Author: Peter Hutterer <peter.hutterer@who-t.net> 255Date: Thu Jun 7 11:25:01 2018 +1000 256 257 Ignore xkb_keycodes.maximum of > 255 258 259 Continuation from 7fdfabd75 "keycodes: Ignore high keycodes" 260 261 A keymap with a key > 255 will have a xkb_keycodes.maximum of that keycode. 262 Let's not throw a fatal error on that, just crop it back to the maximum of 263 255. This doesn't set the "high_keycode_warned" on purpose so we get this for 264 the first key that actually matters. 265 266 Reproducible with xkeyboard-config 2.24 which has a maximum of 374. 267 268 https://bugzilla.redhat.com/show_bug.cgi?id=1587998 269 270 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 271 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 272 273commit 34842845b191082fd1cfff3b7038332cdcadb825 274Author: Adam Jackson <ajax@redhat.com> 275Date: Thu Mar 1 11:15:18 2018 -0500 276 277 xkbcomp 1.4.1 278 279 Signed-off-by: Adam Jackson <ajax@redhat.com> 280 281commit 993d4916a92b56b5043cf0b90f550568c817ad2b 282Author: Peter Hutterer <peter.hutterer@who-t.net> 283Date: Tue Feb 13 13:48:46 2018 +1000 284 285 pkgconfig: add the exec_prefix substitution 286 287 bindir gets replaced with: 288 bindir=${exec_prefix}/bin 289 but exec_prefix isn't set so we end up with an invalid bindir. 290 291 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 292 Reviewed-by: Jon Turney <jon.turney@dronecode.org.uk> 293 294commit 3e2a6ad4edfbf21c3f76f8319f0039b7f589944f 295Author: Adam Jackson <ajax@redhat.com> 296Date: Mon Nov 6 12:54:41 2017 -0500 297 298 pkgconfig: Add our bindir to xkbcomp.pc 299 300 Reviewed-by: Daniel Stone <daniels@collabora.com> 301 Signed-off-by: Adam Jackson <ajax@redhat.com> 302 303commit 3fcd5f4490adee266eb4c0110d058c7f4e515e36 304Author: Daniel Stone <daniels@collabora.com> 305Date: Mon May 1 15:59:28 2017 +0100 306 307 xkbcomp 1.4.0 308 309 Signed-off-by: Daniel Stone <daniels@collabora.com> 310 311commit 7fdfabd753a39dbdcfcfa65ec33d0192448119d8 312Author: Daniel Stone <daniels@collabora.com> 313Date: Thu Apr 6 15:52:10 2017 +0100 314 315 keycodes: Ignore high keycodes 316 317 Rather than throwing a fatal error when a keycode definition exceeds the 318 declared maximum (i.e. 255), just ignore the definition and continue. 319 320 This allows xkeyboard-config to start shipping datasets including high 321 keycodes, which will work in xkbcommon as it ignores explicit range 322 declarations. 323 324 Signed-off-by: Daniel Stone <daniels@collabora.com> 325 Reviewed-by: Ran Benita <ran234@gmail.com> 326 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 327 Reported-by: Christian Kellner <gicmo@gnome.org> 328 329commit 9f1e3e8c8914b349b9b52501bb4acadedb31081d 330Author: Mihail Konev <k.mvc@ya.ru> 331Date: Thu Jan 26 14:00:21 2017 +1000 332 333 autogen: add default patch prefix 334 335 Signed-off-by: Mihail Konev <k.mvc@ya.ru> 336 337commit 6f16a2e38667bea33e0cb566734a87c2b92c9391 338Author: Emil Velikov <emil.l.velikov@gmail.com> 339Date: Mon Mar 9 12:00:52 2015 +0000 340 341 autogen.sh: use quoted string variables 342 343 Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent 344 fall-outs, when they contain space. 345 346 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 347 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 348 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 349 350commit bbc55549ee44830747eccfadd61df3ed38a99202 351Author: Peter Hutterer <peter.hutterer@who-t.net> 352Date: Tue Jan 24 10:32:07 2017 +1000 353 354 autogen.sh: use exec instead of waiting for configure to finish 355 356 Syncs the invocation of configure with the one from the server. 357 358 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 359 Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 360 361commit 8995ac58e15595de9158c2d8df9e02b0c925e8f4 362Author: Ran Benita <ran234@gmail.com> 363Date: Wed Jan 6 21:32:52 2016 +0100 364 365 When a file contains several maps, look for a default map 366 367 Rather than always taking the first one in the file. This is exactly the 368 intended use of the 'default' flag. 369 370 Note that pretty much the same code is duplicated in xkbcomp.c when 371 compiling a single file from the command line, but there it is 372 implemented correctly (look for XkbLC_Default). 373 374 https://bugs.freedesktop.org/show_bug.cgi?id=69950 375 376 Signed-off-by: Ran Benita <ran234@gmail.com> 377 Tested-by: Benno Schulenberg <bensberg@justemail.net> 378 Acked-by: Sergey Udaltsov <sergey.udaltsov@gmail.com> 379 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 380 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 381 382commit bf4d7d059daf5c6f81d70f8d3e5e2a87265381b7 383Author: Benno Schulenberg <bensberg@justemail.net> 384Date: Thu Sep 11 22:04:21 2014 +0200 385 386 When overriding a key, adjust also its number of levels (#57242). 387 388 Specifying an explicit key type when overriding a key should adjust 389 the number of levels to that of the specified type. This gets rid of 390 the age-old warning of the right Alt key being ONE_LEVEL but having 391 two symbols assigned. 392 393 Fixes bug #57242 <http://bugs.freedesktop.org/show_bug.cgi?id=57242>. 394 395 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 396 Reviewed-by: Ran Benita <ran234@gmail.com> 397 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 398 399commit f909259b1da70bc145f19e5ce595c8e945a2a808 400Author: Peter Hutterer <peter.hutterer@who-t.net> 401Date: Thu Nov 5 12:19:22 2015 +1000 402 403 xkbcomp 1.3.1 404 405 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 406 407commit 26d1c57a938ce5c0d4fd9d645ace25308e6a7070 408Author: Peter Hutterer <peter.hutterer@who-t.net> 409Date: Tue Nov 3 09:01:19 2015 +1000 410 411 symbols: increase the warning level for shortening a key type 412 413 Any use of the german keyboard layout or anything else using 414 level3(ralt_switch) produces the warning 415 Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols 416 Ignoring extra symbols 417 This warning is meaningless, the default definition for RALT comes from 418 pc(pc105) including altwin(meta_alt) which defines it as TWO_LEVEL 419 and { Alt_R, Meta_R }. Including level3(ralt_switch) correctly sets it as 420 ONE_LEVEL but now we get the warning. That makes users file bug reports and we 421 can't be having that, can we? 422 423 Up the warning level for this case to one past the default. The warning is 424 only useful when you're testing a new keyboard layout or trying to fix an 425 actual bug with missing symbols. And then you can run xkbcomp with -w10. 426 No need to spam the log on every server startup. 427 428 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 429 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 430 431commit 511adde23a0518db0379b444580b63edcb9138a8 432Author: Matthew Green <mrg@NetBSD.org> 433Date: Tue Jul 28 17:53:48 2015 +0200 434 435 Adjust a NUL-string assignment to avoid const issues. 436 437 Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 438 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 439 440commit 1ae525b3d236b59e6437b2b5433d460e18370973 441Author: Jon TURNEY <jon.turney@dronecode.org.uk> 442Date: Tue Mar 17 15:19:10 2015 +0000 443 444 Define WIN32_LEAN_AND_MEAN when building on Win32 445 446 w32api/rpcnndr.h (included by windows.h) uses TypeString as the name of a structure member. 447 448 xkbcomp.h defines it as a macro for a constant. 449 450 Define WIN32_LEAN_AND_MEAN to avoid this clash. 451 452 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 453 Reviewed-by: David Macek <david.macek.0@gmail.com> 454 455commit fc3e6ddb2c8e922ea80f2dc5cbc1df2102e30d99 456Author: Alan Coopersmith <alan.coopersmith@oracle.com> 457Date: Tue Mar 3 16:24:50 2015 -0800 458 459 Stop including <X11/Xalloca.h> in parseutils.c 460 461 I can not find any point in our git history at which alloca() or the 462 Xalloca.h macros ALLOCATE_LOCAL() & DEALLOCATE_LOCAL() were actually 463 used in this source file. 464 465 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 466 467commit 1e8ee9d0aad072f04186df84752f5636340574e0 468Author: Peter Hutterer <peter.hutterer@who-t.net> 469Date: Fri Nov 21 08:18:41 2014 +1000 470 471 xkbcomp 1.3.0 472 473 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 474 475commit 978998a1fe0a78829452f5432efe1b74c5049de4 476Author: Vincent Lefevre <vincent@vinc17.net> 477Date: Mon Oct 27 10:50:30 2014 +0100 478 479 xkbcomp: Improved -w option parsing 480 481 This patch improves -w option parsing even further, for cases like 482 "xkbcomp -w6 4.xkb out.xkb" (which were not handled by the fix of 483 the warning level is still optional (set to 0 if not present), and 484 errors like "xkbcomp -wfoo in out" are detected and reported. 485 486 https://bugs.freedesktop.org/show_bug.cgi?id=66344 487 488 Signed-off-by: Vincent Lefevre <vincent@vinc17.net> 489 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 490 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 491 492commit d4e02a09258063c6d024c3ccd42d6b22212e6e18 493Author: Alan Coopersmith <alan.coopersmith@oracle.com> 494Date: Sat Mar 8 19:04:24 2014 -0800 495 496 Initialize nMatch even if WIN32 is defined 497 498 Flagged by cppcheck 1.64: 499 Checking app/xkbcomp/listing.c: WIN32... 500 [app/xkbcomp/listing.c:335]: (error) Uninitialized variable: nMatch 501 502 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 503 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 504 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 505 506commit 7606a46b922dfdb0627f1af6ab1432ae88c79d66 507Author: Alan Coopersmith <alan.coopersmith@oracle.com> 508Date: Sat Mar 8 19:01:12 2014 -0800 509 510 Remove useless assignment to 'outline' variable 511 512 Flagged by cppcheck 1.64: 513 [app/xkbcomp/geometry.c:2426] -> [app/xkbcomp/geometry.c:2427]: 514 (performance) Variable 'outline' is reassigned a value before 515 the old one has been used. 516 517 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 518 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 519 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 520 521commit 6c2d3b0891f7be6ef4895be75188aa1c6f530bfc 522Author: Alan Coopersmith <alan.coopersmith@oracle.com> 523Date: Sat Mar 8 18:50:22 2014 -0800 524 525 Don't dereference the pointer whose allocation failed 526 527 Flagged by cppcheck 1.64: 528 [app/xkbcomp/keycodes.c:264] -> [app/xkbcomp/keycodes.c:262]: 529 (warning) Possible null pointer dereference: new - otherwise it 530 is redundant to check it against null. 531 [app/xkbcomp/keytypes.c:600] -> [app/xkbcomp/keytypes.c:597]: 532 (warning) Possible null pointer dereference: old - otherwise it 533 is redundant to check it against null. 534 535 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 536 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 537 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 538 539commit 50ebe95a32dc59b1de899ef08f72462055b04065 540Author: Alan Coopersmith <alan.coopersmith@oracle.com> 541Date: Sat Mar 8 18:46:11 2014 -0800 542 543 Remove useless checks for NULL before free in OverlayKeyCreate() 544 545 There is no need to ensure the pointers passed to free are not NULL, 546 especially right after passing them to strncpy without checking for 547 NULL. 548 549 Flagged by cppcheck 1.64: 550 [app/xkbcomp/parseutils.c:557] -> [app/xkbcomp/parseutils.c:559]: 551 (warning) Possible null pointer dereference: over - otherwise it 552 is redundant to check it against null. 553 [app/xkbcomp/parseutils.c:558] -> [app/xkbcomp/parseutils.c:561]: 554 (warning) Possible null pointer dereference: under - otherwise it 555 is redundant to check it against null. 556 557 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 558 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 559 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 560 561commit 31b90ee4ffc774e0da540277907fc5540c0b012c 562Author: Peter Hutterer <peter.hutterer@who-t.net> 563Date: Mon Feb 3 07:24:22 2014 +1000 564 565 man: replace default include directory with the one from configure 566 567 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 568 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 569 570commit e3e6e938535532bfad175c1635256ab7fb3ac943 571Author: Alan Coopersmith <alan.coopersmith@oracle.com> 572Date: Sun Oct 20 12:36:31 2013 -0700 573 574 Fix many const char * warnings from gcc 575 576 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 577 Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> 578 579commit 2458580ac95c550217b3376c46eecb2cca646241 580Author: Alan Coopersmith <alan.coopersmith@oracle.com> 581Date: Sun Oct 20 11:52:43 2013 -0700 582 583 Convert remaining sprintf calls to snprintf 584 585 Most were fixed length or length checked anyway, this just saves time 586 doublechecking that. (A few could be replaced by asprintf, but we 587 don't have a copy guaranteed to be reachable from this program yet.) 588 589 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 590 Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> 591 592commit 3ed68e06cb45fb526b09e4c7b7c3d60de552b2b3 593Author: Alan Coopersmith <alan.coopersmith@oracle.com> 594Date: Sun Oct 20 12:49:31 2013 -0700 595 596 Remove unused uASSERT macro 597 598 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 599 Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> 600 601commit c936bd4315a7dc78de074ac89c5a4d12813421be 602Author: Alan Coopersmith <alan.coopersmith@oracle.com> 603Date: Sun Oct 20 11:58:56 2013 -0700 604 605 Remove unused function entry/exit tracking framework 606 607 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 608 Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> 609 610commit 839ccda42d8b088d94324cd77c4be954859914d3 611Author: Peter Hutterer <peter.hutterer@who-t.net> 612Date: Wed Aug 28 15:20:56 2013 +1000 613 614 compat: don't warn about redefinition when nothing is defined yet 615 616 info->groupCompat[i] is bzero'd on init, define is 0. Don't warn when that 617 is the case, otherwise any "group 2 = ..." statement will cause an error. 618 619 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 620 621commit 24d18e0a844041ef82441adb16aa18cc4b4814ae 622Author: Benno Schulenberg <bensberg@justemail.net> 623Date: Wed Aug 28 20:03:30 2013 +0200 624 625 Making sure that a copied string is always null-terminated (#66345). 626 627 A more minimalistic and formally correct solution. 628 This amends and extends the previous fix for bug #66345, 629 fixing not just yyGetKeyName() but also yyGetString(). 630 631 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 632 633 Fixes a typo from cdcd552 (should be sizeof - 1, not sizeof -i). 634 Code flows that i is at most sizeof(scanBuf) - 1, so last is not needed. 635 636 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 637 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 638 639commit 0ebdf47fd4bc434ac3d2339544c022a869510738 640Author: Peter Hutterer <peter.hutterer@who-t.net> 641Date: Thu Jul 11 13:53:31 2013 +1000 642 643 Parse -w1 flag correctly (#66344) 644 645 if the flag is "-w", then argv[i][1] is 'w' and unlikely to be a digit. 646 Access [2] instead, which is either \0 or an actual digit. 647 648 X.Org Bug 66344 <http://bugs.freedesktop.org/show_bug.cgi?id=66344> 649 650 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 651 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 652 Reviewed-by: Matt Dew <marcoz@osource.org> 653 654commit cdcd552041fc1325a2a81e3374fadb0dd15950dc 655Author: Peter Hutterer <peter.hutterer@who-t.net> 656Date: Thu Jul 11 13:26:18 2013 +1000 657 658 Always terminate the scanBuf string (#66345) 659 660 If a key name exceeds 4 characters, the content of scanBuf is not 661 null-terminated, giving error messages like 662 663 syntax error: line 7 of test.xkb 664 last scanned symbol is: FOOBARm 665 Errors encountered in test.xkb; not compiled. 666 667 (last character of the preceding 'maximum' statement in this case) 668 669 X.Org Bug 66345 <http://bugs.freedesktop.org/show_bug.cgi?id=66345> 670 671 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 672 673commit 1cd5c50c54b06de2238d6d7675d0a3c65a21414d 674Author: Laura <lmemsm@gmail.com> 675Date: Fri Mar 15 11:21:26 2013 +0000 676 677 Add #include <stdlib.h> to xkbscan.c 678 679 This fixes an issue with _exit not declared when building xkbcomp 680 version 1.2.4 natively on Windows using MinGW32 (version 4.7.2) 681 from www.mingw.org. 682 683 https://bugs.freedesktop.org/show_bug.cgi?id=62365 684 685 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 686 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 687 688commit ed582f4fccd4e23abcfba8b3b03649fea6414f44 689Author: Thomas Klausner <wiz@NetBSD.org> 690Date: Sun Jun 2 22:22:36 2013 +0200 691 692 Protect config.h like usual. 693 694 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 695 696commit c66de126ad10a7220ab74e52fb7cc81b6d8b0993 697Author: Peter Hutterer <peter.hutterer@who-t.net> 698Date: Tue May 21 15:19:35 2013 +1000 699 700 man: document -help/-?, -em1, -emp, -eml 701 702 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 703 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 704 705commit a4ff0f0eee046be846cc0f46edaba48b765e50d3 706Author: Peter Hutterer <peter.hutterer@who-t.net> 707Date: Tue Apr 9 11:29:15 2013 +1000 708 709 Use DEBUG, not DEBUG_ON to determine whether debugging is enabled 710 711 Nothing else looks at DEBUG_ON. 712 713 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 714 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 715 716commit 705b9bbb426410f9510601c7010da51184919b36 717Author: Alan Coopersmith <alan.coopersmith@oracle.com> 718Date: Tue Jan 22 22:39:19 2013 -0800 719 720 config: Add missing AC_CONFIG_SRCDIR 721 722 Regroup AC statements under the Autoconf initialization section. 723 Regroup AM statements under the Automake initialization section. 724 725 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 726 727commit ed1b90216e59e6b3ac6ac5fd2faca8e056c76caa 728Author: Colin Walters <walters@verbum.org> 729Date: Wed Jan 16 13:02:57 2013 -0500 730 731 autogen.sh: Honor NOCONFIGURE=1 732 733 See http://people.gnome.org/~walters/docs/build-api.txt 734 735 Signed-off-by: Adam Jackson <ajax@redhat.com> 736 737commit 0522fab51eec0aa3e623aa17c5b7ea3aa6dfec45 738Author: Adam Jackson <ajax@redhat.com> 739Date: Wed Jan 16 13:01:21 2013 -0500 740 741 configure: Drop AM_MAINTAINER_MODE 742 743 Signed-off-by: Adam Jackson <ajax@redhat.com> 744 745commit e4f767913338052527538d429931e8abd8c3fb88 746Author: Alan Coopersmith <alan.coopersmith@oracle.com> 747Date: Fri Jan 4 18:37:45 2013 -0800 748 749 unifdef -U__UNIXOS2__ 750 751 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 752 753commit bd1103ef3cfef9cfed645566f944a69e7ca568b4 754Author: Ryan Pavlik <rpavlik@iastate.edu> 755Date: Wed Oct 26 12:17:44 2011 -0500 756 757 Include Xwindows.h rather than windows.h 758 759 Include the specially wrapped windows.h in Xwindows.h, rather than 760 including it directly to avoid compilation errors due to clashing 761 definitions 762 763 Signed-off-by: Ryan Pavlik <rpavlik@iastate.edu> 764 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 765 Reviewed-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 766 767commit a68c5b7b29eb1433b1be73b50c4248e10eab8e64 768Author: Daniel Stone <daniel@fooishbar.org> 769Date: Thu Nov 1 16:37:03 2012 +1100 770 771 Reset scan state when opening a new file 772 773 When we opened a new file after encountering a parse error, we weren't 774 resetting our scan state, and continued to read out of the old buffer 775 rather than that of the new file. 776 777 Fixes a regression introduced in 9887842e ('Use fread() instead of 778 getc()'). 779 780 Test case: 781 xkbcomp -lfhlpR "path/to/xkeyboard-config.git/symbols/*" 782 The Makefiles in that tree would cause parse errors, the resulting directory 783 file is incomplete (down from ~12000 to ~230 lines). 784 785 Reported-by: Peter Hutterer <peter.hutterer@who-t.net> 786 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 787 788commit e119cbec7e750ffc4d4bd08b577db2c697035a30 789Author: Daniel Stone <daniel@fooishbar.org> 790Date: Wed Oct 31 12:40:49 2012 +1100 791 792 Add parsing support for multiple keysyms per level 793 794 Parse, but ignore, level definitions in the form of: 795 key <FOO> { [ normal_sym, { M, U, L, T, I, S, Y, M } ] }; 796 797 normal_sym will be carried, but the latter will be turned into NoSymbol. 798 799 http://bugs.freedesktop.org/show_bug.cgi?id=25025 800 801 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 802 803commit f2eff337176551f643e35c54c1e1ca0a78df69c6 804Author: Alan Coopersmith <alan.coopersmith@oracle.com> 805Date: Thu Mar 22 22:02:56 2012 -0700 806 807 xkbcomp 1.2.4 808 809 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 810 811commit b4fafc4fa7edc4c04c3c0affae0d7f79a63e8d2f 812Author: Alan Coopersmith <alan.coopersmith@oracle.com> 813Date: Wed Dec 28 20:57:55 2011 -0800 814 815 Delete redundant redeclarations of extern Atoms in symbols.c 816 817 Fixes gcc warnings of: 818 819 symbols.c:43: warning: redundant redeclaration of 'tok_ONE_LEVEL' 820 tokens.h:99: warning: previous declaration of 'tok_ONE_LEVEL' was here 821 symbols.c:44: warning: redundant redeclaration of 'tok_TWO_LEVEL' 822 tokens.h:100: warning: previous declaration of 'tok_TWO_LEVEL' was here 823 symbols.c:45: warning: redundant redeclaration of 'tok_KEYPAD' 824 tokens.h:102: warning: previous declaration of 'tok_KEYPAD' was here 825 826 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 827 828commit 3835cae3cb1ad1073cbb2711f938beb878b4986c 829Author: Alan Coopersmith <alan.coopersmith@oracle.com> 830Date: Wed Dec 28 20:53:45 2011 -0800 831 832 Make sure to leave room for trailing nil byte in yyGetNumber 833 834 ...though really, by the time you've added 1023 digits to the number 835 you want to parse, you've got much bigger problems than an off-by-one 836 error in your buffer count. 837 838 Fixes parfait warnings: 839 Buffer overflow (CWE 120): In array dereference of (*buf)[nInBuf] with index 'nInBuf' 840 Array size is 1024 bytes, nInBuf >= 1 and nInBuf <= 1024 841 at line 625 of xkbscan.c in function 'yyGetNumber'. 842 Buffer overflow (CWE 120): In array dereference of (*buf)[nInBuf] with index 'nInBuf' 843 Array size is 1024 bytes, nInBuf <= 1025 844 at line 632 of xkbscan.c in function 'yyGetNumber'. 845 846 [ This bug was found by the Parfait 0.4.2 bug checking tool. 847 For more information see http://labs.oracle.com/projects/parfait/ ] 848 849 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 850 851commit 1447071942dbbbfc37b08417c74c8a1d302c1626 852Author: Andreas Wettstein <wettstein509@solnet.ch> 853Date: Fri Dec 2 20:10:06 2011 +0000 854 855 include resets group compatibility modifiers #43091 856 857 This change makes sure that include does not overwrite previous 858 compatibility modifier settings when the included files does not 859 explicitly specify them. 860 861 Signed-off-by: Andreas Wettstein <wettstein509@solnet.ch> 862 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 863 864commit 5fd14db5b2cc0c2c43f7a1ddefd6f9991eb1dcc2 865Author: Jeremy Huddleston <jeremyhu@apple.com> 866Date: Fri Nov 11 11:18:43 2011 -0800 867 868 Silence -Wparentheses-equality 869 870 warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 871 872 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 873 874commit 6099655a4bbe1fd3e26b8afd2b91888ad2766086 875Author: Jeremy Huddleston <jeremyhu@apple.com> 876Date: Fri Nov 11 11:17:38 2011 -0800 877 878 Silence -Wshadow warnings 879 880 warning: declaration shadows a local variable [-Wshadow] 881 882 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 883 884commit b7e88debd937be147d3581b9c8720c0bfe354052 885Author: Jeremy Huddleston <jeremyhu@apple.com> 886Date: Fri Nov 11 11:13:42 2011 -0800 887 888 Correct our zeroing out of the row in InitRowInfo 889 890 geometry.c:369:20: warning: argument to 'sizeof' in '__builtin___memset_chk' call is the same 891 pointer type 'RowInfo *' (aka 'struct _RowInfo *') as the destination; expected 'RowInfo' 892 (aka 'struct _RowInfo') or an explicit length [-Wsizeof-pointer-memaccess] 893 bzero(row, sizeof(RowInfo *)); 894 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ 895 896 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 897 898commit 33b5c9413463613d341d15184b34a4f4c4e70e56 899Author: Jeremy Huddleston <jeremyhu@apple.com> 900Date: Fri Nov 11 11:12:22 2011 -0800 901 902 Fix -Wformat warnings 903 904 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 905 906commit b9f6482d5fc413222334c2370ef8b9693f4b50fd 907Author: Jeremy Huddleston <jeremyhu@apple.com> 908Date: Fri Nov 11 11:07:30 2011 -0800 909 910 Add missing _X_NORETURN to uFatalError 911 912 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 913 914commit 8ea06128c70b07c265a217222f2a245aad4bfce4 915Author: Jeremy Huddleston <jeremyhu@apple.com> 916Date: Fri Nov 11 11:06:02 2011 -0800 917 918 Include strings.h for strcasecmp and string.h for strdup 919 920 Our minimum requirement for X11 is currently Unix98. Unix98 provides 921 strcasecmp in <strings.h>. This commit fixes implicit declarations 922 of this function on systems that closely adhere to the standard. 923 924 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 925 926commit 89c8317ad84386f69d31f38dcddbc7ff0abffb31 927Author: Peter Hutterer <peter.hutterer@who-t.net> 928Date: Tue Jul 5 08:23:37 2011 +1000 929 930 Add .pc file for version export 931 932 Exports xkbcomp version and the xkb base directory. 933 934 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 935 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 936 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 937 938commit cdb8677f370b34a3a523a32ae0023c7e8c0c965c 939Author: Peter Hutterer <peter.hutterer@who-t.net> 940Date: Wed Jun 22 10:41:33 2011 +1000 941 942 Print version number on -version. 943 944 This commit isn't playing the WARN/M/M1 macro game. Version numbers to to 945 stdout, full stop. 946 947 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 948 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 949 950commit cef4ba4b8fdc9a5439f71437c08cf690a750bd6b 951Author: Daniel Stone <daniel@fooishbar.org> 952Date: Tue Jun 21 16:04:45 2011 +0100 953 954 Bump to 1.2.3 955 956 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 957 958commit 3caab5aa37decb7b5dc1642a0452efc3e1f5100e 959Author: Daniel Stone <daniel@fooishbar.org> 960Date: Tue Jun 21 15:55:59 2011 +0100 961 962 Interp: Allow explicit Any/NoSymbol mappings 963 964 Brown paper bag in full effect. 965 966 The previous fix, while crushing the previous problem where an unknown 967 keysym for an interp def would lead to every key matching it, also 968 ignored explicit Any+AnyOfOrNone(All) mappings. 969 970 Such as the one xkeyboard-config relied on for Control to actually 971 update the modifier state. 972 973 Fix this by allowing mappings explicitly declared as Any/NoSymbol, while 974 ignoring only those with failed keysym lookups. Unfortunately, due to 975 the structure of the parser, it's a deeply inelegant fix. 976 977 Verified with a quick check of all layouts (albeit using default 978 variants only) in xkeyboard-config that this results in no changes to 979 the output at all, compared to xkbcomp 1.1.1. 980 981 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 982 983commit b34af8b0aec3a1dfc58f9732996274cbf2646a53 984Author: Daniel Stone <daniel@fooishbar.org> 985Date: Tue Jun 21 15:55:28 2011 +0100 986 987 Constify LookupKeysym input argument 988 989 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 990 991commit e68a8ef1067f98056237d8067052e2a0d9896133 992Author: Daniel Stone <daniel@fooishbar.org> 993Date: Tue Jun 21 14:06:05 2011 +0100 994 995 Bump to 1.2.2 996 997 Emergency bugfix for the syminterp declarations. They've been broken 998 since the beginning of time, but I guess we just haven't added new 999 interpreted symbols since around then. 1000 1001 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 1002 1003commit 2a473b906943ffd807ad81960c47530ee7ae9a60 1004Author: Daniel Stone <daniel@fooishbar.org> 1005Date: Tue Jun 21 14:03:53 2011 +0100 1006 1007 Interp: Ignore NoSymbol definitions 1008 1009 A NoSymbol syminterp leads to a Any+AnyOfOrAll(None) definition, which 1010 is never what anyone would actually ever want in a sym interp. The 1011 failure mode here was: 1012 interpret XF86SomeKeysymYouDontHaveYet { 1013 action=Something() 1014 } 1015 leading to: 1016 interpret Any+AnyOfOrAll(None) { 1017 action=Something() 1018 } 1019 leading to every single non-action key triggering your shiny new action 1020 that was only supposed to come from a new keysym. 1021 1022 At least you could VT switch or zap, I guess. 1023 1024 Later, more invasive, revisions will bring a more useful error message. 1025 1026 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 1027 1028commit a2816345e58c88f5806a5c6df310c7d9c62264f0 1029Author: Daniel Stone <daniel@fooishbar.org> 1030Date: Tue Jun 21 14:03:12 2011 +0100 1031 1032 Interp: Don't make modifier lookup failure fatal 1033 1034 If we can't look up a modifier in a SymInterp declaration, don't make 1035 that fatal enough to kill the entire file, just ignore it and move on. 1036 1037 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 1038 1039commit c7a42b364f0ca06d9859945fa11664d0e0ea2742 1040Author: Gaetan Nadon <memsize@videotron.ca> 1041Date: Tue Mar 8 08:16:35 2011 -0500 1042 1043 config: move pre-processor flags to AM_CPPFLAGS 1044 1045 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1046 1047commit 7899a1f4745c8d111dab4dd3abc2b59b40ecdcbc 1048Author: Gaetan Nadon <memsize@videotron.ca> 1049Date: Tue Mar 8 08:02:54 2011 -0500 1050 1051 config: let Automake handle Yacc dist and cleaning 1052 1053 BUILT_SOURCES and MAINTAINERCLEANFILES are already handled by Automake. 1054 1055 Automake generates all the rules to handle building, 1056 distribution and cleaning. 1057 1058 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1059 1060commit 137418c63d01d5db0dcaed257d7a26865efa53ae 1061Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1062Date: Tue Jun 7 23:47:32 2011 -0700 1063 1064 Replace repeated checks for gcc with _X_ATTRIBUTE_PRINTF from xproto 1065 1066 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1067 Reviewed-by: Mark Kettenis <kettenis@openbsd.org> 1068 1069commit a2877e92bd9f9c1532b5cd12cc484ff3cdbc6a0a 1070Author: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> 1071Date: Fri Apr 1 20:26:30 2011 +1100 1072 1073 xkbcomp: Stop possible overflow in yyGetnumber. #31647 1074 1075 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=31647 1076 1077 Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> 1078 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 1079 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1080 1081commit 0b8527a3836cde77269461e22844857bf33e0aea 1082Author: Julien Cristau <jcristau@debian.org> 1083Date: Sun Feb 13 13:03:05 2011 +0100 1084 1085 Inline the oiText macro in the only place it's used 1086 1087 Gets rid of a compiler warning: 1088 geometry.c: In function 'HandleOverlayDef': 1089 geometry.c:2578: warning: the address of 'ol' will always evaluate as 'true' 1090 1091 X.Org bug#34219 <https://bugs.freedesktop.org/show_bug.cgi?id=34219> 1092 1093 Signed-off-by: Julien Cristau <jcristau@debian.org> 1094 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 1095 1096commit c8375bcb7eb9f86ca1534cdf1143e91372d0499e 1097Author: Peter Hutterer <peter.hutterer@who-t.net> 1098Date: Fri Feb 11 09:06:04 2011 +1000 1099 1100 xkbcomp 1.2.1 1101 1102 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1103 1104commit ab5371cefe2b7438b74338f71ff890e0e868b3df 1105Author: Gaetan Nadon <memsize@videotron.ca> 1106Date: Wed Jan 19 10:06:56 2011 -0500 1107 1108 config: move man pages into their own directory 1109 1110 Use services provided by XORG_MANPAGE_SECTIONS. 1111 Use standard Makefile for man pages. 1112 1113 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1114 1115commit 9ce8e2f42ab7695b5165ff0a3d892df96a3c3f01 1116Author: Gaetan Nadon <memsize@videotron.ca> 1117Date: Thu Jan 13 11:15:47 2011 -0500 1118 1119 man: remove trailing spaces and tabs 1120 1121 Using s/[ \t]*$// 1122 1123 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1124 1125commit 5ecf21cc130d7a45cb5e82e9c2c3025edee5d74f 1126Author: Gaetan Nadon <memsize@videotron.ca> 1127Date: Wed Jan 12 16:28:02 2011 -0500 1128 1129 config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS 1130 1131 This silences an Autoconf warning 1132 1133commit e27e8c2a15ddcf51b2ea58f8eced7f035aa1301e 1134Author: Gaetan Nadon <memsize@videotron.ca> 1135Date: Wed Jan 12 15:29:50 2011 -0500 1136 1137 config: replace deprecated AC_HELP_STRING with AS_HELP_STRING 1138 1139 This silences an Automake warning. 1140 1141 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1142 1143commit f524cfae6951442c9a9da65ef317b9c04199500f 1144Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1145Date: Tue Jan 4 00:05:18 2011 -0800 1146 1147 Remove out-of-date copies of README.config & README.enhancing 1148 1149 The up-to-date master copies of those documents are found in the 1150 xorg-docs module, and posted on the X.Org website. 1151 1152 Also, x-docs.org no longer carries X11 docs, so point to X.Org's 1153 website instead in the README. 1154 1155 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1156 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 1157 1158commit cc55d8f5ab021861308b071aab9c03016be15187 1159Author: Gaetan Nadon <memsize@videotron.ca> 1160Date: Sun Oct 31 20:35:24 2010 -0400 1161 1162 config: replace AC_CHECK_FILE with test -f as it fails to cross-compile 1163 1164 Testing for the presence of xkbparse.c is legitimate as this is a build 1165 file, but the Autoconf macro assumes it is testing on the host system 1166 and fails. 1167 1168 Tested-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org> 1169 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1170 1171commit 1d59f5b0387b18028017cfab4e55b703417dd735 1172Author: Dirk Wallenstein <halsmit@t-online.de> 1173Date: Fri Oct 29 13:08:25 2010 +0200 1174 1175 man: Improve description of device selection option 1176 1177 The device selection option takes effect when loading keymaps, too. 1178 1179 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 1180 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1181 1182commit 281c7744f682c1ba4f44c0ee22f9bf7188c14fe6 1183Author: Dirk Wallenstein <halsmit@t-online.de> 1184Date: Fri Oct 29 11:35:10 2010 +0200 1185 1186 Allow uploading a keymap to a single device 1187 1188 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 1189 Reviewed-by: Julien Cristau <jcristau@debian.org> 1190 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1191 1192commit 851a5f6e0c1b2a98d4714d95e40198ab5dc61607 1193Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1194Date: Sat Oct 30 09:59:52 2010 -0700 1195 1196 xkbcomp 1.2.0 1197 1198 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1199 1200commit 87576c9ebf0f28d66833bb28a8199df1aa01f693 1201Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1202Date: Thu Sep 23 20:29:57 2010 -0700 1203 1204 config: Remove unnecessary calls from configure.ac 1205 1206 AC_PROG_CC & AC_PROG_INSTALL are provided by XORG_DEFAULT_OPTIONS now 1207 PKG_CONFIG_MODULES handles AC_SUBST of the CFLAGS & LIBS variables 1208 1209 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1210 1211commit d083293a4e227e9dd27f74cde391fde4c5824b0c 1212Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1213Date: Thu Sep 23 20:29:14 2010 -0700 1214 1215 config: upgrade to util-macros 1.8 for additional man page support 1216 1217 Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS 1218 The value of MAN_SUBST is the same for all X.Org packages. 1219 1220 Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS 1221 The existing statement can now be removed from the configuration file. 1222 1223 Use automake provided $(AM_V_GEN) and XORG_DEFAULT_OPTIONS provided $(SED) 1224 Enables silent rule and use platform appropriate version of sed. 1225 1226 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1227 1228commit 8f13f1af68fc55b7567a4eb4462a0c911722a3c4 1229Author: Gaetan Nadon <memsize@videotron.ca> 1230Date: Tue Jul 20 18:45:18 2010 -0400 1231 1232 config: update AC_PREREQ statement to 2.60 1233 1234 Unrelated to the previous patches, the new value simply reflects 1235 the reality that the minimum level for autoconf to configure 1236 all x.org modules is 2.60 dated June 2006. 1237 1238 ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz 1239 1240 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1241 1242commit 988eb0e121c0f2c992031002acb7274c2026764b 1243Author: Gaetan Nadon <memsize@videotron.ca> 1244Date: Mon Jul 12 10:53:34 2010 +0100 1245 1246 config: allow to build tarball when yacc is missing 1247 1248 Autoconf does not handle this scenario as well as Automake does. 1249 If xkbparse.c is already there, do not abort the configuration 1250 if yacc is missing as it is not needed. 1251 1252 If both xkbparse.c and yacc are missing, abort configuration. 1253 Yacc is a required tool to build the package. 1254 1255 Reported-by: Julien Cristau <jcristau@debian.org> 1256 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1257 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 1258 1259commit 446d226f85433aeb45834b65f966397ad6fbb17f 1260Author: Daniel Stone <daniel@fooishbar.org> 1261Date: Mon Jul 12 10:37:49 2010 +0100 1262 1263 limits.h is mandated by C89, no need to check for it 1264 1265 Alan Coopersmith pointed out that C89 mandates limits.h, so for once in 1266 X's life, checking for a system header is just being unnecessarily 1267 paranoid. 1268 1269 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 1270 1271commit 61b3d4b024d8146cb0e7659aa958045ceb72c482 1272Author: Julien Cristau <jcristau@debian.org> 1273Date: Mon Jul 12 10:28:32 2010 +0100 1274 1275 Fix signedness issue with getc() return value 1276 1277 getc() and ungetc() return and take, respectively, an int rather than a 1278 char to allow for error values as well. Oops. 1279 1280 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 1281 1282commit a281386fa887e6bf4110840779aed46dd0ac89b6 1283Author: Daniel Stone <daniel@fooishbar.org> 1284Date: Fri Jul 9 19:34:29 2010 +0100 1285 1286 Fix parsing of 0x1a2b3c4d-style symbols 1287 1288 Raw keysyms were not getting parsed correctly, due to forgetting to add 1289 the code to libX11, forgetting to add the backwards-compat code for old 1290 libX11s, and then stuffing the lexing up anyway. Yeesh. 1291 1292 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 1293 1294commit 0b04ecbb7a6afb223c91d3b15baab0bc48542281 1295Author: Daniel Stone <daniel@fooishbar.org> 1296Date: Tue Jun 15 19:26:19 2010 +0100 1297 1298 Fix gcc warnings 1299 1300 It was right too: printf was being misused in some spots. 1301 1302 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 1303 1304commit 41b0857c8c1179b87a26888588cbfff28f8bb0d6 1305Author: Daniel Stone <daniel@fooishbar.org> 1306Date: Tue Jun 8 15:11:19 2010 +0100 1307 1308 Don't malloc() and free() most scanned symbols 1309 1310 Use a constant buffer. Sigh. 1311 1312 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 1313 1314commit 7f7a57c75beb5e1dfb53351e490ef00a324b2727 1315Author: Daniel Stone <daniel@fooishbar.org> 1316Date: Tue Jun 8 12:14:00 2010 +0100 1317 1318 Fix compilation with DEBUG 1319 1320 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 1321 1322commit 9887842e33174a6e98675b912e419c711dd20c0f 1323Author: Daniel Stone <daniel@fooishbar.org> 1324Date: Mon Jun 7 22:45:13 2010 +0100 1325 1326 Use fread() instead of getc() 1327 1328 So, it turns out that if you're parsing a fairly large amount of data, 1329 using getc() to get all the input rather than, say, read(), is some kind 1330 of remarkably daft and unperformant idea. 1331 1332 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 1333 1334commit 02de53d767b20bab1517b4e8a3e7eb3b9e7f15be 1335Author: Daniel Stone <daniel@fooishbar.org> 1336Date: Mon Jun 7 22:43:01 2010 +0100 1337 1338 Lazy keysym parsing (avoid XStringToKeysym) 1339 1340 Instead of calling XStringToKeysym on every keysym we parse, store it as 1341 a string until we need to store it in an actual keymap. 1342 1343 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 1344 1345commit 07cc4d60dea2b4c947fed45b082edae4a53b186a 1346Author: Gaetan Nadon <memsize@videotron.ca> 1347Date: Wed Jun 2 15:23:58 2010 -0400 1348 1349 config: add check for yacc to insure it is installed #27973 1350 1351 Unlike other macros AC_PROG_YACC sets the YACC variable to "yacc" 1352 as a last resort, even if no programs have been found. Improve error 1353 checking by issuing an error message if yacc is not found. The module 1354 cannot build anyway. 1355 1356 Reported-by: Peter Hutterer <peter.hutterer@who-t.net> 1357 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 1358 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1359 1360commit 7888738047e9f1545aa1905b4a2a0654686f49a8 1361Author: Gaetan Nadon <memsize@videotron.ca> 1362Date: Thu Feb 11 10:08:07 2010 -0500 1363 1364 config: move CWARNFLAGS from configure.ac to Makefile.am 1365 1366 Compiler warning flags should be explicitly set in the makefile 1367 rather than being merged with other packages compiler flags. 1368 1369 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1370 1371commit ba906359da32644b40b3a8a71e77d3cabca56efe 1372Author: Gaetan Nadon <memsize@videotron.ca> 1373Date: Thu Nov 26 09:19:54 2009 -0500 1374 1375 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 1376 1377 Now that the INSTALL file is generated. 1378 Allows running make maintainer-clean. 1379 1380commit 667f0a0e5d3143533cbbe5979ef82c13cfa62c3a 1381Author: Gaetan Nadon <memsize@videotron.ca> 1382Date: Wed Oct 28 14:09:08 2009 -0400 1383 1384 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 1385 1386 Add missing INSTALL file. Use standard GNU file on building tarball 1387 README may have been updated 1388 Remove AUTHORS file as it is empty and no content available yet. 1389 Remove NEWS file as it is empty and no content available yet. 1390 1391commit 4b7c8a8ef337614c831b2555afeb6d89dbc14fb1 1392Author: Gaetan Nadon <memsize@videotron.ca> 1393Date: Tue Oct 27 15:07:25 2009 -0400 1394 1395 Deploy the new XORG_DEFAULT_OPTIONS #24242 1396 1397 This macro aggregate a number of existing macros that sets commmon 1398 X.Org components configuration options. It shields the configuration file from 1399 future changes. 1400 1401commit 5fa9ef7e5e87f875dd92cc33403cebf6c60c557f 1402Author: Gaetan Nadon <memsize@videotron.ca> 1403Date: Mon Oct 26 22:08:39 2009 -0400 1404 1405 Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 1406 1407 ChangeLog filename is known to Automake and requires no further 1408 coding in the makefile. 1409 1410commit b3a52787e0dad42ea7e8da26926b9533b1ecab84 1411Author: Gaetan Nadon <memsize@videotron.ca> 1412Date: Thu Oct 22 12:34:15 2009 -0400 1413 1414 .gitignore: use common defaults with custom section # 24239 1415 1416 Using common defaults will reduce errors and maintenance. 1417 Only the very small or inexistent custom section need periodic maintenance 1418 when the structure of the component changes. Do not edit defaults. 1419 1420commit fa7e3ff7b49f76294aa14aa8bf1b8adbceb5d340 1421Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 1422Date: Wed Oct 21 12:47:21 2009 -0700 1423 1424 This is not a GNU project, so declare it foreign. 1425 1426 On Wed, 2009-10-21 at 13:36 +1000, Peter Hutterer wrote: 1427 > On Tue, Oct 20, 2009 at 08:23:55PM -0700, Jeremy Huddleston wrote: 1428 > > I noticed an INSTALL file in xlsclients and libXvMC today, and it 1429 > > was quite annoying to work around since 'autoreconf -fvi' replaces 1430 > > it and git wants to commit it. Should these files even be in git? 1431 > > Can I nuke them for the betterment of humanity and since they get 1432 > > created by autoreconf anyways? 1433 > 1434 > See https://bugs.freedesktop.org/show_bug.cgi?id=24206 1435 1436 As an interim measure, replace AM_INIT_AUTOMAKE([dist-bzip2]) with 1437 AM_INIT_AUTOMAKE([foreign dist-bzip2]). This will prevent the generation 1438 of the INSTALL file. It is also part of the 24206 solution. 1439 1440 Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org> 1441 1442commit a5160032d7e46473b8702b87a546071fc0c0978c 1443Author: Peter Hutterer <peter.hutterer@who-t.net> 1444Date: Sat Oct 3 21:12:47 2009 +1000 1445 1446 xkbcomp 1.1.1 1447 1448 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1449 1450commit a36ca5ba61e2b97398a79713922644fee1a263d1 1451Author: Rami Ylimaki <ext-rami.ylimaki@nokia.com> 1452Date: Wed Aug 5 17:16:16 2009 +0300 1453 1454 xkbcomp: Remove output file if closing fails. 1455 1456 Without the fix xkbcomp may leave a truncated file in the filesystem 1457 if there is not enough disk space. Using the truncated file leads to 1458 problems. 1459 1460 Signed-off-by: Rami Ylimaki <ext-rami.ylimaki@nokia.com> 1461 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1462 1463commit 2cc1dc9a327a5100043d3d54e899b98b81cdf5f5 1464Author: Peter Hutterer <peter.hutterer@who-t.net> 1465Date: Thu Jul 9 08:34:21 2009 +1000 1466 1467 Bump to 1.1.0. 1468 1469commit eeaa4aec798ef045d0b3b9de3c25932b85b9ac3d 1470Author: Alan Coopersmith <alan.coopersmith@sun.com> 1471Date: Mon May 11 09:39:03 2009 -0700 1472 1473 Use temporary buffer for generating Uxxx names to avoid overflow 1474 1475 Instead of sprintf()'ing a 4 character string to a char [4] buffer, 1476 and leaving the trailing '\0' to overwrite into the next entry, 1477 snprintf() to a 5 character temp buffer and memcpy the 4 characters 1478 to the right place. 1479 1480 Fixes parfait errors: 1481 Error: Buffer overflow at xkbcomp-1.0.4/misc.c:393 1482 in function 'ComputeKbdDefaults' [Standard C Library pattern matching] 1483 In sprintf related dereference of xkb->names->keys[i].name 1484 with index not less than '4' 1485 Destination array size is 4 bytes, data to be written is 4 bytes 1486 Error: Buffer overflow at xkbcomp-1.0.4/misc.c:402 1487 in function 'ComputeKbdDefaults' [Standard C Library pattern matching] 1488 In sprintf related dereference of xkb->names->keys[i].name 1489 with index not less than '4' 1490 Destination array size is 4 bytes, data to be written is 4 bytes 1491 1492 [This bug was found by the Parfait bug checking tool. 1493 For more information see http://research.sun.com/projects/parfait ] 1494 1495 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 1496 1497commit 2fd42dae8840089727f95211abdb86316e566afd 1498Author: Dan Nicholson <dbn.lists@gmail.com> 1499Date: Sat Mar 7 16:36:51 2009 -0800 1500 1501 Allow the default XKB config root to be set from configure 1502 1503 The default was hardcoded in the Makefile as $(datadir)/share/X11/xkb. 1504 This could cause a problem if you are installing xkbcomp to an alternate 1505 location but want to continue using the system's XKB data. 1506 1507 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 1508 1509commit 3b816fe819bd849acdbabcfba769041bd3eab753 1510Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1511Date: Thu Jan 22 02:45:20 2009 -0200 1512 1513 Correct a remaining of a wrong change to make some DEBUG_VAR's static. 1514 1515commit f099da35386cf63d4935ba2613409ff28b3d7ea5 1516Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1517Date: Wed Jan 21 20:43:28 2009 -0200 1518 1519 Correct make distcheck and most gcc and sparse warnings. 1520 1521 Remaining warnings are due to macros that check address or vectors 1522 on the stack and auto generated yacc code. 1523 1524 Compiled with default flags and also as: 1525 % make CFLAGS=-DENTRY_TRACKING_ON -DDEBUG_ON -DASSERTIONS_ON 1526 to ensure the "simplification" of code like: 1527 foo.c: 1528 <hash>define DEBUG_VAR foo_VAR 1529 <hash>include "foo.h" 1530 ... 1531 foo.h: 1532 <hash>ifdef DEBUG_VAR_NOT_LOCAL 1533 extern 1534 <hash>endif 1535 int DEBUG_VAR; 1536 ... 1537 did not change the author's "intended" logic. 1538 1539commit 82cebb165b22d5409c9d4d31554a8da0c867e0d3 1540Author: Peter Hutterer <peter.hutterer@redhat.com> 1541Date: Wed Sep 10 17:48:29 2008 +0930 1542 1543 Check for NULL strings before calling strdup. 1544 1545 Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com> 1546 1547commit a82e1dcc8ad095581402d05e5d1ae1bbf3646954 1548Author: Alan Coopersmith <alan.coopersmith@sun.com> 1549Date: Fri Sep 5 15:07:13 2008 -0700 1550 1551 sprintf -> snprintf conversions 1552 1553commit d2d06305e1834548edd8a647564efa222a511b53 1554Author: Alan Coopersmith <alan.coopersmith@sun.com> 1555Date: Fri Sep 5 14:44:51 2008 -0700 1556 1557 Remove #if 0'd typedef that appears nowhere else. 1558 1559commit acd277d7fd48ccfd8ef2ca052b4e144ee95a5d94 1560Author: Alan Coopersmith <alan.coopersmith@sun.com> 1561Date: Fri Sep 5 14:32:15 2008 -0700 1562 1563 Remove X_NOT_POSIX #ifdefs 1564 1565 POSIX.1-1990 is well below the current minimum bar 1566 1567commit 37b62a26716d3abf2ae07dd88cf54bc04d980bd8 1568Author: Alan Coopersmith <alan.coopersmith@sun.com> 1569Date: Fri Sep 5 14:22:33 2008 -0700 1570 1571 Check for strdup & strcasecmp before assuming we need to provide our own 1572 1573commit 36fecff588199a3a6c007f09ff709f3148d40f77 1574Author: Peter Hutterer <peter.hutterer@redhat.com> 1575Date: Tue Aug 19 16:33:03 2008 +0930 1576 1577 Don't overwrite previously assigned type indices with useless ones. 1578 1579 The default type for a key with no levels is ONE_LEVEL. 1580 Let's not overwrite the kt_index with this default type if we have previously 1581 assigned a real type. 1582 1583 Reproduceable by running setxkbmap -layout "ru(phonetic),us", the first group 1584 is assigned ONE_LEVEL and shift stops working. 1585 1586 Red Hat Bug #436626 <https://bugzilla.redhat.com/show_bug.cgi?id=436626> 1587 1588commit d0dfd26e81aef53e9adf5fd6372d69e2ac7a8f9c 1589Author: Peter Hutterer <peter.hutterer@redhat.com> 1590Date: Tue Aug 19 14:36:13 2008 +0930 1591 1592 Remove unused merge parameter from HandleKeyNameVar. 1593 1594commit 391ea45b2cadc7faeb6acb5d9ec7b405d67d46fd 1595Author: Peter Hutterer <peter.hutterer@redhat.com> 1596Date: Tue Aug 19 14:35:39 2008 +0930 1597 1598 Don't pass useless handlers around in HandleIncludeKeycodes. 1599 1600 What use is a handler if we only ever use one function anyway? 1601 1602commit f05f20fd203afdadbcd571023ed31638ccda1f88 1603Author: Peter Hutterer <peter.hutterer@redhat.com> 1604Date: Thu Aug 21 17:28:22 2008 +0930 1605 1606 More comments. 1607 1608commit 1aad2a5d8ede9fe5212a4e6087fbe34aa170ac54 1609Author: Peter Hutterer <peter.hutterer@redhat.com> 1610Date: Mon Aug 18 16:28:44 2008 +0930 1611 1612 Remove useless longestPath variable. 1613 1614commit 7aef93914e1d6446f64aa42eafa18375c2cb4bed 1615Author: Peter Hutterer <peter.hutterer@redhat.com> 1616Date: Mon Aug 18 14:05:33 2008 +0930 1617 1618 Silence valgrind warnings. 1619 1620 "Conditional jump or move depends on uninitialised value(s)" 1621 1622commit eb18e9176841b3ea64c497f1919686e134713eb6 1623Author: Peter Hutterer <peter.hutterer@redhat.com> 1624Date: Mon Aug 11 18:01:48 2008 +0930 1625 1626 Add some explanatory comments 1627 1628commit 9b877d83947708259252275e14f6995dcf7c29ce 1629Author: Peter Hutterer <peter.hutterer@redhat.com> 1630Date: Mon Aug 11 16:20:22 2008 +0930 1631 1632 If we're not using XkbDesc, don't require it as a parameter. 1633 1634commit ca32570cf16494fb8e0577de8b05ba18cb927ce1 1635Author: Peter Hutterer <peter.hutterer@redhat.com> 1636Date: Mon Aug 11 15:47:09 2008 +0930 1637 1638 Indent fixes. 1639 1640 indent -cbi 0 -nprs -nut -npcs -i4 -bli 0 *.c *.h 1641 1642commit 12e8f5e5b3f33dbd1290c76dd0d6a4cf832993d7 1643Author: Peter Hutterer <peter.hutterer@redhat.com> 1644Date: Mon Aug 11 15:40:03 2008 +0930 1645 1646 Add a few explanatory comments. 1647 1648commit de48206e7fe2206542313a2d1d1ea3c40b06114b 1649Author: Peter Hutterer <peter.hutterer@redhat.com> 1650Date: Mon Aug 11 15:14:31 2008 +0930 1651 1652 Remove RCS tags. 1653 1654commit 8eb2e1fcd08a05f296a31dbadde1ec3cc84d8e28 1655Author: Matthieu Herrb <matthieu.herrb@laas.fr> 1656Date: Mon May 12 23:25:47 2008 +0200 1657 1658 Minimal man page addition for new -i option. 1659 1660commit 12df85eb5b08d5fb815b0965714f120b05c6c670 1661Author: Daniel Stone <daniel@fooishbar.org> 1662Date: Fri May 9 21:09:44 2008 +0300 1663 1664 Bump to 1.0.5 1665 1666commit 1aecdffaa0db7bbf85bc0aae9043e9437b25c30d 1667Author: Daniel Stone <daniel@fooishbar.org> 1668Date: Thu Apr 17 00:52:29 2008 +0300 1669 1670 Don't scan paths which make NO SENSE WHATSOEVER TO SCAN 1671 1672 Hey, I wonder if we have XKB files in our directory! I wonder if we 1673 haven't bothered with a structure, and let's try to open a file called 1674 'misc' in someone's home directory! What a surprise, it's not a valid 1675 XKB file! Let's fail miserably! 1676 1677 SURPRISINGLY, THIS IS NOT USEFUL BEHAVIOUR. 1678 1679commit a3a05fd489a9a35942a4419c537634e796dbebd1 1680Author: Daniel Stone <daniel@fooishbar.org> 1681Date: Thu Apr 17 00:50:07 2008 +0300 1682 1683 xkbcomp: Take a device ID argument 1684 1685 Allows the user to set maps (or whatever) on arbitrary devices. 1686 1687commit be084fbeba28312fc5102e98d64726464032c3e8 1688Author: Adam Jackson <ajax@redhat.com> 1689Date: Thu Mar 6 17:13:42 2008 -0500 1690 1691 xkbcomp 1.0.4 1692 1693commit c1cc023fc50ce3a4a23f4682ebefd2301fd13170 1694Author: Adam Jackson <ajax@redhat.com> 1695Date: Fri Feb 29 15:30:34 2008 -0500 1696 1697 Bug #7645: Fix a conditional that always evaluates to FALSE. 1698 1699 Since it's if (0 || foo), simplify to if (foo). 1700 1701commit 3f8bd7e68d0028bce5075124a32cc004166486c6 1702Author: Alan Coopersmith <alan.coopersmith@sun.com> 1703Date: Tue Jan 22 16:05:14 2008 -0800 1704 1705 Bug 14185: MAINTAINERCLEANFILES multiply defined in Makefile.am 1706 1707 <http://bugs.freedesktop.org/show_bug.cgi?id=14185> 1708 1709commit 2421069a3686f7bff702383675fdb77be108021e 1710Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 1711Date: Sun Jan 6 11:40:30 2008 +0100 1712 1713 Revert "Also mark xkbparse.h as a generated file." 1714 Apparently only yacc generates it. 1715 1716 This reverts commit 3e5b0d615b94c66a2b5a8b3d2e4a04713a442002. 1717 1718commit 3e5b0d615b94c66a2b5a8b3d2e4a04713a442002 1719Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 1720Date: Sun Jan 6 11:17:07 2008 +0100 1721 1722 Also mark xkbparse.h as a generated file. 1723 1724commit 686e8b6d33602f5fb7de7a768e532a4ac8090c26 1725Author: James Cloos <cloos@jhcloos.com> 1726Date: Thu Dec 6 16:37:18 2007 -0500 1727 1728 Replace static ChangeLog with dist-hook to generate from git log 1729 1730commit 6aae208fe5bd8f71757c294a441d7c599a1ec4a1 1731Author: Tilman Sauerbeck <tilman@code-monkey.de> 1732Date: Sun Sep 23 20:15:47 2007 +0200 1733 1734 Ignore *.o and ylwrap. 1735 1736commit 829cb75130d1edd88fa1d33e277f49167daedacf 1737Author: Tilman Sauerbeck <tilman@code-monkey.de> 1738Date: Sun Sep 23 20:15:13 2007 +0200 1739 1740 Fixed a bunch of const correctness bugs. 1741 1742commit e8ffa513a109209849b11a3c608356cc28314a8e 1743Author: Tilman Sauerbeck <tilman@code-monkey.de> 1744Date: Sun Sep 23 17:50:41 2007 +0200 1745 1746 Fixed an invalid memory access. 1747 1748 Some keynames are less than 3 characters long (not counting the 1749 terminator). We're now also initializing all of the keyName array. 1750 1751commit dfa65b0c8df6a6aab4f86c32a0acb41f44201e7c 1752Author: Daniel Drake <ddrake@brontes3d.com> 1753Date: Mon May 21 13:41:00 2007 -0800 1754 1755 Bug #11025: xkbcomp COPYING file 1756 1757 X.Org Bugzilla #11025 <https://bugs.freedesktop.org/show_bug.cgi?id=11025> 1758 1759commit 3ca028cf767258fd62fb7a1b0eb22d13d333a3ae 1760Author: James Cloos <cloos@jhcloos.com> 1761Date: Mon Sep 3 05:51:25 2007 -0400 1762 1763 Add *~ to .gitignore to skip patch/emacs droppings 1764 1765commit b00e474ca8dbbb0166f2108e4b08cc3f9c36c735 1766Author: James Cloos <cloos@jhcloos.com> 1767Date: Thu Aug 23 19:24:52 2007 -0400 1768 1769 Rename .cvsignore to .gitignore 1770 1771commit 313a2748d3dff872e067d515d6deabe1bbd56fbe 1772Author: Daniel Stone <daniel@fooishbar.org> 1773Date: Wed Nov 8 16:30:57 2006 +0200 1774 1775 bump to 1.0.3 1776 1777commit 337ed258a1cd3f5a16fa69ef15e98781e76f63a1 1778Author: Etsushi Kato <ek.kato@gmail.com> 1779Date: Wed Nov 8 16:29:16 2006 +0200 1780 1781 compat: avoid use of uninitialised variable (bug #8846) 1782 si.interp.match may be unused, so just clobber it, which means we don't 1783 end up with stuff like LevelOneOnlyMask wandering in. 1784 1785commit d920bbadb94684287f70e50ded2a35d65186c188 1786Author: Andriy Gapon <avg@icyb.net.ua> 1787Date: Sun Oct 29 02:59:53 2006 +0300 1788 1789 parser: accept negative numbers in geometry co-ordinates (bug #8763) 1790 Accept negative co-ordinates for geometry, per the spec. 1791 1792commit 0e8fd676de161ba52bb4544f8641be756bc580a1 1793Author: Adam Jackson <ajax@nwnk.net> 1794Date: Wed Apr 26 23:41:58 2006 +0000 1795 1796 Bump to 1.0.2 1797 1798commit 58c77c8db1bfdc739fac7b100fb813028d0449c7 1799Author: Daniel Stone <daniel@fooishbar.org> 1800Date: Mon Apr 3 11:28:43 2006 +0000 1801 1802 Bug #4851: Fix up have-no-file test. 1803 1804commit 02d32f8dbc79116d33ef428d5b064009cdd6a06e 1805Author: Kevin E Martin <kem@kem.org> 1806Date: Wed Dec 21 02:29:51 2005 +0000 1807 1808 Update package version for X11R7 release. 1809 1810commit 836db774d1f08a050af8717c4c8501f337f36281 1811Author: Adam Jackson <ajax@nwnk.net> 1812Date: Mon Dec 19 16:22:44 2005 +0000 1813 1814 Stub COPYING files 1815 1816commit e9f680c5654cd93d30b16bc4b626ae5b25f84e87 1817Author: Kevin E Martin <kem@kem.org> 1818Date: Thu Dec 15 00:24:08 2005 +0000 1819 1820 Update package version number for final X11R7 release candidate. 1821 1822commit b158f550fce661d67604f4a23d33a9f3b7bc22a1 1823Author: Kevin E Martin <kem@kem.org> 1824Date: Tue Dec 6 22:48:22 2005 +0000 1825 1826 Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 1827 1828commit f1370c50b199c3c8b2760ebf0228d741855390d7 1829Author: Kevin E Martin <kem@kem.org> 1830Date: Sat Dec 3 05:49:24 2005 +0000 1831 1832 Update package version number for X11R7 RC3 release. 1833 1834commit 8eb3737f5bce19b89c80d9ab256204f0fa62529b 1835Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 1836Date: Mon Nov 28 22:01:43 2005 +0000 1837 1838 Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4 1839 update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir) 1840 1841commit f19c3028c34a0dba4ffb9ae19c13421e7ff0ff12 1842Author: Eric Anholt <anholt@freebsd.org> 1843Date: Mon Nov 21 10:35:01 2005 +0000 1844 1845 Another pass at .cvsignores for apps. 1846 1847commit 3ada747f1cb5400404e4b63430f7a817dbf0c4cb 1848Author: Eric Anholt <anholt@freebsd.org> 1849Date: Sun Nov 20 22:08:53 2005 +0000 1850 1851 Add/improve .cvsignore files for apps. 1852 1853commit 4eeb611f17bdc01f7a6cb4db3f0997ce5ecc6361 1854Author: Kevin E Martin <kem@kem.org> 1855Date: Wed Oct 19 02:47:54 2005 +0000 1856 1857 Update package version number for RC1 release. 1858 1859commit 958d09064c96cb50df6f92bfb8d4754c87451920 1860Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 1861Date: Mon Oct 17 23:56:23 2005 +0000 1862 1863 Use @APP_MAN_SUFFIX@ instead of $(APP_MAN_SUFFIX) in macro substitutions to 1864 work better with BSD make 1865 1866commit 950fba3262905c58891773a8795305e685dc1cb3 1867Author: Kevin E Martin <kem@kem.org> 1868Date: Sat Oct 15 19:32:52 2005 +0000 1869 1870 Have generated files be cleaned by maintainer in order to pass 1871 check-tarball test. 1872 1873commit a83e4bb777d6f9b1b42a7fb3ff84a5e0d7e123c7 1874Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 1875Date: Fri Oct 14 00:25:46 2005 +0000 1876 1877 Use sed to fill in variables in man page 1878 1879commit 8c0d310c1acccc424dae29554a5075f9b339e95f 1880Author: Kristian Høgsberg <krh@redhat.com> 1881Date: Thu Sep 1 19:37:02 2005 +0000 1882 1883 Define DFLT_XKB_CONFIG_ROOT to $(datadir)/X11/xkb so we look in the right 1884 place. 1885 1886commit fabda6a820bdccae85a7c22ad0b30f089952606b 1887Author: Keith Packard <keithp@keithp.com> 1888Date: Tue Aug 2 18:03:01 2005 +0000 1889 1890 Mark generated files as BUILT_SOURCES and CLEANFILES to ensure they are 1891 regenerated after 'make clean' and to make parallel builds work right. 1892 1893commit 35e0b7ef41ffe1f17ad8f21dbda10267961231ea 1894Author: Kevin E Martin <kem@kem.org> 1895Date: Fri Jul 29 21:22:35 2005 +0000 1896 1897 Various changes preparing packages for RC0: 1898 - Verify and update package version numbers as needed 1899 - Implement versioning scheme 1900 - Change bug address to point to bugzilla bug entry form 1901 - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to 1902 reenable it) 1903 - Fix makedepend to use pkgconfig and pass distcheck 1904 - Update build script to build macros first 1905 - Update modular Xorg version 1906 1907commit e447fee50a8014b5281a5abfcc5e468f8cc130ca 1908Author: Daniel Stone <daniel@fooishbar.org> 1909Date: Fri Jul 22 15:08:19 2005 +0000 1910 1911 Use YACC to compile xkbparse.y. 1912 1913commit 34cd161f5947b4dc185356bc65653717f56ced00 1914Author: Adam Jackson <ajax@nwnk.net> 1915Date: Wed Jul 20 19:31:57 2005 +0000 1916 1917 Use a unique token for PKG_CHECK_MODULES. Otherwise, if you use a global 1918 configure cache, you cache it, and the cached value is probably wrong. 1919 1920commit 8335e5fa471e25675c6a369ec2348883953fcdd0 1921Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 1922Date: Sat Jul 16 20:56:47 2005 +0000 1923 1924 Add xkbcomp data to symlink.sh. Some fixes to xkbcomp/Makefile.am 1925 1926commit d7b3354575f31caa9044b6c5f7aee4f010f6192a 1927Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 1928Date: Fri Jul 15 18:02:35 2005 +0000 1929 1930 Build system for xkbcomp 1931 1932commit 59e48918e7c252926bb5e51a077bcbc8a7eec829 1933Author: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> 1934Date: Mon Nov 15 15:06:52 2004 +0000 1935 1936 Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added 1937 mingw (Win32) port 1938 1939commit 0336e043fab6f2a8828d90bc9eef2e23878f6dd1 1940Author: Kevin E Martin <kem@kem.org> 1941Date: Fri Sep 3 23:41:22 2004 +0000 1942 1943 Update formatted docs. 1944 1945commit 20240438ef9d3a6c66443ca9f095a2766ef6ed4e 1946Author: Egbert Eich <eich@suse.de> 1947Date: Fri Apr 23 19:54:50 2004 +0000 1948 1949 Merging XORG-CURRENT into trunk 1950 1951commit a3729a9f9fcda07b233f434266148c8751684347 1952Author: Egbert Eich <eich@suse.de> 1953Date: Sun Mar 14 08:35:25 2004 +0000 1954 1955 Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004 1956 1957commit 37a1152a4024fb799fe1272ce378e6c7c97ee951 1958Author: Egbert Eich <eich@suse.de> 1959Date: Wed Mar 3 12:13:08 2004 +0000 1960 1961 Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004 1962 1963commit 55f40d0286d0e2e4b1602f983b749352188c3ec4 1964Author: Egbert Eich <eich@suse.de> 1965Date: Thu Feb 26 13:36:25 2004 +0000 1966 1967 readding XFree86's cvs IDs 1968 1969commit 2a95cda1d358fc309c78dc5201a1dbacaba9d0bf 1970Author: Egbert Eich <eich@suse.de> 1971Date: Thu Feb 26 09:24:08 2004 +0000 1972 1973 Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 1974 1975commit dbba2cffbc57e5bbdec8f24417a8a5dcfef7c2a2 1976Author: Egbert Eich <eich@suse.de> 1977Date: Thu Jan 29 08:09:12 2004 +0000 1978 1979 Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004 1980 1981commit 8aa5bcfe58d3776746d7b0d627f2fb8744fb0817 1982Author: Kaleb Keithley <kaleb@freedesktop.org> 1983Date: Fri Dec 19 20:55:58 2003 +0000 1984 1985 XFree86 4.3.99.902 (RC 2) 1986 1987commit 37ebbbe7b11febaf548006a9b73db0eebf79881a 1988Author: Kaleb Keithley <kaleb@freedesktop.org> 1989Date: Tue Nov 25 19:29:13 2003 +0000 1990 1991 XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks 1992 1993commit 287ac4c6af61d8f9f95cd3b3219c979e1329a2fe 1994Author: Kaleb Keithley <kaleb@freedesktop.org> 1995Date: Fri Nov 14 16:49:22 2003 +0000 1996 1997 XFree86 4.3.0.1 1998 1999commit 262961d88faf67f69f4630acb8234a4f2c5a6e80 2000Author: Kaleb Keithley <kaleb@freedesktop.org> 2001Date: Fri Nov 14 16:49:22 2003 +0000 2002 2003 Initial revision 2004 2005commit 2af3aabf0e7eb1514d39b29a6b58fcd0d4de41d1 2006Author: Kaleb Keithley <kaleb@freedesktop.org> 2007Date: Fri Nov 14 15:54:54 2003 +0000 2008 2009 R6.6 is the Xorg base-line 2010