Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch tip-708 Excluding Merge-Ins
This is equivalent to a diff from cfc46f18 to 713034d3
2024-12-17
| ||
21:03 | Fix [844c0be72d]: Menu entry underline does not consider activeborderwidth. check-in: 9545d4b5 user: fvogel tags: trunk, main | |
2024-12-16
| ||
21:34 | Fix [844c0be72d]: Menu entry underline does not consider activeborderwidth. check-in: 088283d0 user: fvogel tags: bug-844c0be72d | |
09:52 | New branch for project tk_collect_test_utils. Ticket: [718cbc3016] check-in: 6e5c9935 user: erikleunissen tags: tk_collect_test_utils | |
2024-12-15
| ||
19:55 | Merge trunk check-in: cc11e8b8 user: kevin_walzer tags: tka11y | |
2024-12-13
| ||
14:10 | Merge 9.0 Leaf check-in: 713034d3 user: jan.nijtmans tags: tip-708 | |
13:23 | Move "Scroll Lock" functionality from Mod3 to Mod5, so it doesn't conflict with "Num" check-in: 547578d6 user: jan.nijtmans tags: tip-708 | |
11:25 | Spelling in changes.md check-in: cfc46f18 user: oehhar tags: trunk, main | |
02:17 | Fixed spelling in comment check-in: cc471420 user: emiliano tags: trunk, main | |
Changes to doc/bind.n.
︙ | |||
145 146 147 148 149 150 151 | 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 | - - + + - - + + - - - - - | times, and also place a time and space requirement on the sequence: for a sequence of events to match a \fBDouble\fR, \fBTriple\fR or \fBQuadruple\fR pattern, all of the events must occur close together in time and without substantial mouse motion in between. For example, \fB<Double\-Button\-1>\fR is equivalent to \fB<Button\-1><Button\-1>\fR with the extra time and space requirement. .PP |
︙ |
Changes to doc/keysyms.n.
︙ | |||
1203 1204 1205 1206 1207 1208 1209 | 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | Menu (App) 65383 0xFF67 Find 65384 0xFF68 Cancel 65385 0xFF69 Help 65386 0xFF6A Break 65387 0xFF6B Mode_switch 65406 0xFF7E Num_Lock 65407 0xFF7F |
︙ |
Changes to generic/ks_names.h.
︙ | |||
85 86 87 88 89 90 91 92 93 94 95 96 97 98 | 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | + | { "Mode_switch", 0xFF7E }, { "script_switch", 0xFF7E }, { "kana_switch", 0xFF7E }, { "Arabic_switch", 0xFF7E }, { "Greek_switch", 0xFF7E }, { "Hebrew_switch", 0xFF7E }, { "Num_Lock", 0xFF7F }, #ifndef TK_NO_DEPRECATED { "KP_Space", 0xFF80 }, { "KP_Tab", 0xFF89 }, { "KP_Enter", 0xFF8D }, { "KP_F1", 0xFF91 }, { "KP_F2", 0xFF92 }, { "KP_F3", 0xFF93 }, { "KP_F4", 0xFF94 }, |
︙ | |||
122 123 124 125 126 127 128 129 130 131 132 133 134 135 | 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | + | { "KP_4", 0xFFB4 }, { "KP_5", 0xFFB5 }, { "KP_6", 0xFFB6 }, { "KP_7", 0xFFB7 }, { "KP_8", 0xFFB8 }, { "KP_9", 0xFFB9 }, { "KP_Equal", 0xFFBD }, #endif { "F1", 0xFFBE }, { "F2", 0xFFBF }, { "F3", 0xFFC0 }, { "F4", 0xFFC1 }, { "F5", 0xFFC2 }, { "F6", 0xFFC3 }, { "F7", 0xFFC4 }, |
︙ |
Changes to generic/tkBind.c.
︙ | |||
397 398 399 400 401 402 403 | 397 398 399 400 401 402 403 404 405 406 407 408 409 410 | - | {"Shift", ShiftMask, 0}, {"Lock", LockMask, 0}, {"Meta", META_MASK, 0}, #ifndef TK_NO_DEPRECATED {"M", META_MASK, 0}, #endif {"Alt", ALT_MASK, 0}, |
︙ | |||
432 433 434 435 436 437 438 439 440 | 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 | + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | {"Mod2", Mod2Mask, 0}, {"M2", Mod2Mask, 0}, #ifdef MAC_OSX_TK {"Option", Mod2Mask, 0}, #else {"Option", ALT_MASK, 0}, #endif {"Num", Mod3Mask, 0}, {"Mod3", Mod3Mask, 0}, {"M3", Mod3Mask, 0}, |
︙ | |||
4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 | 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 | + + + + + | keysym = TkStringToKeysym(value); if (keysym == NoSymbol) { Tcl_SetObjResult(interp, Tcl_ObjPrintf("unknown keysym \"%s\"", value)); Tcl_SetErrorCode(interp, "TK", "LOOKUP", "KEYSYM", value, (char *)NULL); return TCL_ERROR; } #ifndef TK_NO_DEPRECATED if (IsKeypadKey(keysym)) { keysym = kpTable[keysym - XK_KP_Space]; } #endif /* TK_NO_DEPRECATED */ TkpSetKeycodeAndState(tkwin, keysym, &event.general); if (event.general.xkey.keycode == 0) { Tcl_SetObjResult(interp, Tcl_ObjPrintf("no keycode for keysym \"%s\"", value)); Tcl_SetErrorCode(interp, "TK", "LOOKUP", "KEYCODE", value, (char *)NULL); return TCL_ERROR; } if (!(flags & KEY)) { |
︙ | |||
5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 | 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 | + + + + + + | patPtr->info = TkStringToKeysym(field); if (patPtr->info == NoSymbol) { return FinalizeParseEventDescription( interp, patPtr, 0, Tcl_ObjPrintf("bad event type or keysym \"%s\"", field), "KEYSYM"); } #ifndef TK_NO_DEPRECATED if (IsKeypadKey(patPtr->info)) { patPtr->info = kpTable[patPtr->info - XK_KP_Space]; patPtr->modMask |= Mod3Mask; } #endif /* TK_NO_DEPRECATED */ if (!(eventFlags & KEY)) { patPtr->eventType = KeyPress; eventMask = KeyPressMask; } } else if (button) { if (patPtr->eventType != MotionNotify) { return FinalizeParseEventDescription( |
︙ |
Changes to generic/tkInt.h.
︙ | |||
1010 1011 1012 1013 1014 1015 1016 | 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 | + - + + | * The following special modifier mask bits are defined, to indicate logical * modifiers such as Meta and Alt that may float among the actual modifier * bits. */ #define META_MASK (AnyModifier<<1) #define ALT_MASK (AnyModifier<<2) #ifndef TK_NO_DEPRECATED |
︙ |
Changes to library/console.tcl.
︙ | |||
445 446 447 448 449 450 451 | 445 446 447 448 449 450 451 452 453 454 455 456 457 458 | - | <<Console_Expand>> <Escape> <<Console_ExpandFile>> <Control-Shift-F> <<Console_ExpandProc>> <Control-Shift-P> <<Console_ExpandVar>> <Control-Shift-V> <<Console_Tab>> <Control-i> <<Console_Tab>> <Meta-i> <<Console_Eval>> <Return> |
︙ |
Changes to library/entry.tcl.
︙ | |||
202 203 204 205 206 207 208 | 202 203 204 205 206 207 208 209 210 211 212 213 214 215 | - | # which is wrong. Ditto for Escape, Return, and Tab. bind Entry <Alt-Key> {# nothing} bind Entry <Meta-Key> {# nothing} bind Entry <Control-Key> {# nothing} bind Entry <Escape> {# nothing} bind Entry <Return> {# nothing} |
︙ |
Changes to library/spinbox.tcl.
︙ | |||
209 210 211 212 213 214 215 216 217 | 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 | + - | # Otherwise, if a widget binding for one of these is defined, the # <Key> class binding will also fire and insert the character, # which is wrong. Ditto for Escape, Return, and Tab. bind Spinbox <Alt-Key> {# nothing} bind Spinbox <Meta-Key> {# nothing} bind Spinbox <Control-Key> {# nothing} bind Spinbox <Num-Key> {# nothing} bind Spinbox <Escape> {# nothing} bind Spinbox <Return> {# nothing} |
︙ |
Changes to library/text.tcl.
︙ | |||
303 304 305 306 307 308 309 | 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 | - + | # <Key> class binding will also fire and insert the character, # which is wrong. Ditto for <Escape>. bind Text <Alt-Key> {# nothing } bind Text <Meta-Key> {# nothing} bind Text <Control-Key> {# nothing} bind Text <Escape> {# nothing} |
︙ |
Changes to library/ttk/entry.tcl.
︙ | |||
124 125 126 127 128 129 130 | 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | - | # Ditto for Escape, Return, and Tab. # bind TEntry <Alt-Key> {# nothing} bind TEntry <Meta-Key> {# nothing} bind TEntry <Control-Key> {# nothing} bind TEntry <Escape> {# nothing} bind TEntry <Return> {# nothing} |
︙ |
Changes to tests/bind.test.
︙ | |||
5334 5335 5336 5337 5338 5339 5340 | 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 | - + - + | test bind-25.36 {modifier names} -setup { frame .t.f -class Test -width 150 -height 100 } -body { bind .t.f <M3-a> foo bind .t.f } -cleanup { destroy .t.f |
︙ | |||
5379 5380 5381 5382 5383 5384 5385 | 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 | - + - + | test bind-25.41 {modifier names} -setup { frame .t.f -class Test -width 150 -height 100 } -body { bind .t.f <Mod3-a> foo bind .t.f } -cleanup { destroy .t.f |
︙ | |||
5442 5443 5444 5445 5446 5447 5448 | 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 | - + - - + + - + | test bind-25.48 {modifier names} -setup { frame .t.f -class Test -width 150 -height 100 } -body { bind .t.f {<M1-M2 M3-M4 B1-Control-a>} foo bind .t.f } -cleanup { destroy .t.f |
︙ | |||
5492 5493 5494 5495 5496 5497 5498 | 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 | - + - + - + - + | } -cleanup { destroy .t.f } -result <B9-Key-a> test bind-25.54 {modifier names} -setup { frame .t.f -class Test -width 150 -height 100 } -body { |
︙ |
Changes to win/tkWinKey.c.
︙ | |||
245 246 247 248 249 250 251 | 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 | - + | * Make sure all lock button info is correct so we don't mess up the * lights. */ if (state & LockMask) { keys[VK_CAPITAL] = 1; } |
︙ | |||
339 340 341 342 343 344 345 | 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 | - + - + - + - + | if (keycode > MAX_KEYCODE) { return NoSymbol; } switch (keycode) { /* * Windows only gives us an undifferentiated VK_CONTROL code (for * example) when either Control key is pressed. To distinguish between |
︙ |
Changes to win/tkWinPointer.c.
︙ | |||
66 67 68 69 70 71 72 | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | - + | if (GetKeyState(VK_CAPITAL) & 0x0001) { state |= LockMask; } if (GetKeyState(VK_NUMLOCK) & 0x0001) { state |= Mod1Mask; } if (GetKeyState(VK_SCROLL) & 0x0001) { |
︙ |
Changes to win/tkWinX.c.
︙ | |||
1393 1394 1395 1396 1397 1398 1399 | 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 | - + - + | if (message == WM_SYSKEYDOWN || message == WM_KEYDOWN) { mask = Mod1Mask; prevState = ((state & mask) ^ prevState) ? 0 : 1; } break; case VK_SCROLL: if (message == WM_SYSKEYDOWN || message == WM_KEYDOWN) { |
︙ |