Import Tk 8.6.8

This commit is contained in:
Cheryl Sabella
2018-02-22 14:31:15 -05:00
parent b1c28856bb
commit 8e57feeeb9
193 changed files with 6172 additions and 4033 deletions

View File

@@ -1504,6 +1504,26 @@ test scale-20.8 {Bug [2262543fff] - Scale widget unexpectedly fires command call
destroy .s
} -result {10 10}
test scale-21.1 {Bug [55b95f578a] - Associating variable with bignum value with scale crashes it} -setup {
catch {destroy .s}
} -body {
pack [scale .s]
set foo 5.79e99
# non-regression test for bug [55b95f578a] - shall just not crash
.s configure -variable foo
} -cleanup {
destroy .s
} -result {}
test scale-21.2 {Bug [55b95f578a] again - Bignum value for -from/-to with scale crashes it} -setup {
catch {destroy .s}
} -body {
pack [scale .s]
# non-regression test for bug [55b95f578a] - shall just not crash
.s configure -from -6.8e99 -to 8.8e99
} -cleanup {
destroy .s
} -result {}
option clear
# cleanup