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