12004-12-29 Jeff Hobbs <jeffh@ActiveState.com> 2 3 * win/tcl.m4, win/configure: update MSVC CFLAGS_OPT to -O2, remove -Gs 4 (included in -O2) and -GD (outdated). Use "link -lib" instead of "lib" 5 binary and remove -YX for MSVC7 portability. Add -fomit-frame-pointer 6 for gcc OPT compiles. [Bug 1092952, 1091967] 7 82004-12-21 Donal K. Fellows <donal.k.fellows@man.ac.uk> 9 10 * library/demos/*.tcl: Add [package require Tk] to all the widget demo 11 scripts so they follow standard practice better. [FRQ 815118] 12 132004-12-20 Vince Darley <vincentdarley@users.sourceforge.net> 14 15 * generic/tkFileFilter.c: 16 * generic/tkFileFilter.h: 17 * macosx/tkMacOSXDialog.c: 18 * win/tkWinDialog.c: 19 * tests/filebox.test: 20 * tests/winDialog.test: Corrected handling of MacOS file types in 21 tk_*file dialogs [Bug 1083878]. 22 232004-12-20 Donal K. Fellows <donal.k.fellows@man.ac.uk> 24 25 * doc/panedwindow.n: Fix silly typo. [Bug 1087842] 26 272004-12-19 Chengye Mao <chengye.geo@yahoo.com> 28 29 * win/tkWin.h, win/tkWinEmbed.h: Make embedding work better on Windows. 30 * win/tkWinWm.c, win/tkWinX.c: [Bugs 222677, 831627, 842945, 1024364] 31 322004-12-17 Chengye Mao <chengye.geo@yahoo.com> 33 34 * generic/tkFrame.c: Make container windows display their 35 * generic/tkWindow.c: background when they don't have content. 36 372004-12-10 Donal K. Fellows <donal.k.fellows@man.ac.uk> 38 39 * unix/tk.spec, macosx/Tk-Info.plist, macosx/Wish-Info.plist: 40 * macosx/Wish.pbproj/project.pbxproj, README, win/configure.in: 41 * unix/configure.in, generic/tk.h: Bump version to 8.5a3. 42 432004-12-09 Daniel Steffen <das@users.sourceforge.net> 44 45 * unix/tcl.m4: synced with tcl/unix/tcl.m4 46 * unix/configure: regen 47 482004-12-09 Donal K. Fellows <donal.k.fellows@man.ac.uk> 49 50 * generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock): 51 Added guards so that rescanning for the complex-alpha check is not done 52 in the common case of creating a simple image a bit at a time, or any 53 other time where the image was simple before and the input data has no 54 alpha channel. [Bug 1081966] 55 562004-12-07 Don Porter <dgp@users.sourceforge.net> 57 58 * tests/canvPs.test: Cleaned up the matching of [makeFile] and 59 * tests/choosedir.test: [removeFile] commands as indicated by the 60 * tests/filebox.test: results of a -debug 1 run of the test suite. 61 * tests/imgPPM.test: Tk test suite is now -debug 1 clean. This 62 * tests/imgPhoto.test: completes fixing [1078648]. 63 * tests/listbox.test: 64 * tests/main.test: 65 662004-12-07 Donal K. Fellows <donal.k.fellows@man.ac.uk> 67 68 * tests/bind.test, tests/button.test, tests/canvas.test: 69 * tests/cursor.test, tests/scrollbar.test: Eliminate all duplicate test 70 names. [Bug 1078648 again] 71 722004-12-06 Jeff Hobbs <jeffh@ActiveState.com> 73 74 *** 8.5a2 TAGGED FOR RELEASE *** 75 762004-12-06 Don Porter <dgp@users.sourceforge.net> 77 78 * tests/safe.test: Trim auto_path to improve performance [1080039] 79 802004-12-05 Jeff Hobbs <jeffh@ActiveState.com> 81 82 * changes: updated for 8.5a2 release 83 842004-12-04 Donal K. Fellows <donal.k.fellows@man.ac.uk> 85 86 * tests/*.test: Resolve duplicate test names. [Bug 1078648] 87 882004-12-03 Donal K. Fellows <donal.k.fellows@man.ac.uk> 89 90 * generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock): Make 91 overlay compositing where the target is empty no longer set the target 92 to magical gray, and also make sure that the complex-alpha flag is 93 toggled when necessary. [Patch 848161] 94 952004-12-01 Jeff Hobbs <jeffh@ActiveState.com> 96 97 * unix/tkUnixButton.c (TkpDisplayButton): constrain coords to 98 Tk_RedrawImage to display only portion that is valid. 99 * generic/tkImgPhoto.c (ImgPhotoDisplay): add X error suppression 100 around XGetImage to prevent app abort. [Bug 979239] 101 1022004-11-28 Joe English <jenglish@users.sourceforge.net> 103 104 * unix/tkUnixRFont.c(Tk_DrawChars): Check for short integer overflow in 105 x,y coordinates [Fixes: Bug 942320 "Tk, Xft, text and long lines"] 106 1072004-11-26 David Gravereaux <davygrvy@pobox.com> 108 109 * win/makefile.vc: Shell targets needed more stack space. [Bug 1066755] 110 1112004-11-20 Vince Darley <vincentdarley@users.sourceforge.net> 112 113 * tests/text.test: fix to test's platform sensitivities [Bug 1025871] 114 * tests/textDisp.test: made test less timing sensitive [Bug 1034171], 115 and fixed a platform-sensitive test [Bug 966845] 116 1172004-11-19 Daniel Steffen <das@users.sourceforge.net> 118 119 * macosx/Wish.pbproj/project.pbxproj: reverted earlier changes for 120 tclConfig.h changes to tcl, since those have been reverted for now. 121 122 Note that newly added macosx/Wish.xcode will not work without 123 tclConfig.h, this project has not been removed again. 124 1252004-11-18 Reinhard Max <max@suse.de> 126 127 * unix/tcl.m4 (SC_CONFIG_MANPAGES): Applied an improved version of 128 * unix/configure.in: [Patch 996085], that introduces 129 * unix/Makefile.in: --enable-man-suffix. 130 131 * unix/installManPage: added 132 * unix/mkLinks.tcl: removed 133 * unix/mkLinks: removed 134 * unix/configure: generated 135 1362004-11-17 Jeff Hobbs <jeffh@ActiveState.com> 137 138 * generic/tkCanvWind.c (ConfigureWinItem): unmap windows immediately 139 when state hidden is requested. [Bug 982248] 140 141 * generic/tkCanvImg.c (ImageToPostscript): don't try ps generation of 142 canvas image item without image specified. [Bug 1032300] 143 144 * library/console.tcl (::tk::console::ExpandVariable): correct array 145 keyname expansion. [Bug 1004508] (bold) 146 147 * generic/tkPanedWindow.c (Tk_PanedWindowObjCmd): set save_under X attr 148 to prevent expose events when moving sash. [Bug 1036963] 149 1502004-11-16 Vince Darley <vincentdarley@users.sourceforge.net> 151 152 * doc/text.n: clarified documentation on use of -tabs option. 153 1542004-11-16 Don Porter <dgp@users.sourceforge.net> 155 156 * library/msgs/it.msg: Updated Italian message catalog. Thanks to 157 Roberto Ugoccioni [Bug 1063675]. 158 1592004-11-16 Daniel Steffen <das@users.sourceforge.net> 160 161 * macosx/Wish.pbproj/project.pbxproj: 162 * macosx/buildTkConfig.tcl: fixes for tclConfig.h changes. 163 164 * macosx/Wish.pbproj/project.pbxproj: fixed references to renamed 165 bitmap files. 166 167 * macosx/Wish.xcode/project.pbxproj (new): 168 * macosx/Wish.xcode/default.pbxuser (new): 169 * macosx/Wish-Info.plist (new): 170 * macosx/Tk-Info.plist (new): added new Xcode 1.5 project using native 171 targets, made possible by tclConfig.h changes. 172 173 * generic/tk.h: added version number change comments for new files. 174 1752004-11-15 Vince Darley <vincentdarley@users.sourceforge.net> 176 177 * generic/tkText.c: fix to multi-line search problem and removed 178 * tests/text.test: 'knownBug' from one test. 179 1802004-11-15 Donal K. Fellows <donal.k.fellows@man.ac.uk> 181 182 * unix/tcl.m4, unix/configure.in: Expanded all AC_DEFINE calls to the 183 three-argument form and ported recent changes to the tcl.m4 from the 184 Tcl distribution. *No* call to AC_CONFIG_HEADERS has been added; this 185 change should be virtually entirely cosmetic. 186 1872004-11-12 Daniel Steffen <das@users.sourceforge.net> 188 189 * macosx/tkMacOSXXStubs.c: implemented XGetGeometry(). 190 1912004-11-12 Jeff Hobbs <jeffh@ActiveState.com> 192 193 * generic/tkCmds.c (Tk_TkObjCmd): use correct screen data when 194 -displayof arg is passed to [tk scaling]. [Bug 800178] 195 1962004-11-12 Daniel Steffen <das@users.sourceforge.net> 197 198 * doc/SetOptions.3: 199 * doc/text.n: fixed *roff errors uncovered by running 'make html'. 200 201 * macosx/tkMacOSXFont.c (Tk_MeasureChars,Tk_DrawChars,etc): Make sure 202 that the lastSubFontPtr remains valid even when the subfont array is 203 reallocated. [Bug 618872] 204 2052004-11-11 Reinhard Max <max@suse.de> 206 207 * generic/tkEvent.c (InvokeInputMethods): Call XSetICFocus whenever the 208 window receives focus. This fixes [Bug 905830] but avoids [Bug 1000051] 209 2102004-11-11 Daniel Steffen <das@users.sourceforge.net> 211 212 * generic/tkMain.c: 213 * macosx/tkMacOSXAppInit.c (removed): 214 * macosx/Wish.pbproj/project.pbxproj: 215 * macosx/tkMacOSXInit.c: 216 * macosx/tkMacOSXInt.h: changes to make TkAqua dynamically loadable, 217 enabling [package require Tk] from tclsh. Startup code from 218 tkMacOSXAppInit.c moved into tkMacOSXInit.c, added code that notifies 219 the window server that an unbundled executable is a full GUI 220 application after loading Tk. [Patch 1035348] 221 222 * doc/wm.n: documented [wm attributes] on Mac OS X. [Bug 606665] 223 * macosx/tkMacOSXWm.c: implemented TIP 222 [wm attributes -alpha] on 224 Mac OS X. [Patch 892194] 225 WmIconbitmapCmd: adopted FSRef changes from [wm atttrs -titlepath]. 226 227 * macosx/tkMacOSXSubwindows.c: synced spacing/formatting with 228 core-8-4-branch. 229 230 * generic/tkRectOval.c: 231 * macosx/README: 232 * macosx/tkMacOSXDefault.h: 233 * macosx/tkMacOSXDraw.c: 234 * macosx/tkMacOSXInit.c: 235 * macosx/tkMacOSXInt.h: 236 * macosx/tkMacOSXMenu.c: 237 * macosx/tkMacOSXWm.c: forward port from core-8-4-branch of Jim's and 238 my changes for CG drawing and [wm attributes] (corresponds to 8.4 239 changes dating from 09-18, 07-27, 07-24). 240 241 * macosx/tkMacOSXMouseEvent.c: endianness fixes. 242 243 * macosx/Wish.pbproj/project.pbxproj: corrected path to html help 244 inside framework. 245 246 * macosx/Makefile: prevent parallel make from building several targets 247 at the same time. 248 2492004-11-09 Vince Darley <vincentdarley@users.sourceforge.net> 250 251 * macosx/tkMacOSXButton.c: fix to dynamic reconfiguration of button 252 '-compound' options (cosmetic problem), [Bug 1055023] 253 254 * tests/text.test: added 'knownBug' 20.172.1 in text widget multiline 255 search routines. 256 2572004-11-08 Donal K. Fellows <donal.k.fellows@man.ac.uk> 258 259 * library/demos/goldberg.tcl: Added slightly adapted version of Keith 260 Vetter's tkGoldberg as the final animation demo. Many many thanks to 261 Keith for giving his permission! [FRQ 627466] 262 2632004-11-07 Peter Spjuth <peter.spjuth@space.se> 264 265 * doc/frame.n: Added some info for -width/-height options. [Bug 266 1055423] 267 2682004-11-07 Peter Spjuth <peter.spjuth@space.se> 269 270 * tests/grid.test: 271 * generic/tkGrid.c: Made handling of ^ a bit more consistent in corner 272 cases. This makes ^ work without any widgets in the same command. [Bug 273 962589] 274 2752004-11-07 Donal K. Fellows <donal.k.fellows@man.ac.uk> 276 277 * library/demos/pendulum.tcl: Added demonstrations of how to do 278 * library/demos/aniwave.tcl: animations using Tcl/Tk to the widget 279 * library/demos/anilabel.tcl: demo. 280 2812004-11-03 Don Porter <dgp@users.sourceforge.net> 282 283 * tests/button.test: Update expected results to account for more 284 verbose errorinfo from errors in variable traces [Tcl Bug 572164] 285 2862004-11-01 Don Porter <dgp@users.sourceforge.net> 287 288 * tests/dialog.test (dialog-1.1): Update expected result to changes in 289 the error messages produced by procs. 290 2912004-10-29 Mo DeJong <mdejong@users.sourceforge.net> 292 293 * tests/wm.test: Add Win32 test cases for attributes subcommand. 294 * win/tkWinWm.c (WmAttributesCmd): Fixup broken option processing logic 295 for attributes subcommand. 296 2972004-10-28 Mo DeJong <mdejong@users.sourceforge.net> 298 299 * win/tkWin32Dll.c (DllMain, _except_dllmain_detach_handler): Rework 300 pushing of exception handler function pointer so that compiling with 301 gcc -O3 works. Remove empty function call to avoid compiler warning. 302 Mark the DllMain function as noinline to avoid compiler error from 303 duplicated asm labels in generated code. 304 3052004-10-28 Pat Thoyts <patthoyts@users.sourceforge.net> 306 307 * unix/tkUnixScale.c (DisplayHorizontalValue): Fix for [Bug 220927] by 308 Michael Schlenker to keep the labels within the window. 309 3102004-10-28 Donal K. Fellows <donal.k.fellows@man.ac.uk> 311 312 * doc/*.n: Assorted minor documentation fixes. 313 3142004-10-26 David Gravereaux <davygrvy@pobox.com> 315 316 * win/tkWinX.c: Signature for tkWinXCleanup needed to be 317 * generic/tkInt.decls: changed so it matches the Tcl_ExitProc 318 * generic/tkIntPlatDecls.h: typedef to avoid a bad-style cast. 319 320 * win/makefile.vc: Force TCL_LIBRARY envar when calling tclsh 321 3222004-10-26 Pat Thoyts <patthoyts@users.sourceforge.net> 323 324 * win/tkWinRegion.c (TkpBuildRegionFromAlphaData): Fixed syntax error 325 * generic/tkImgPhoto.c (Tk_PhotoPutBlock): Removed unreferences vars. 326 3272004-10-26 Donal K. Fellows <donal.k.fellows@man.ac.uk> 328 329 * macosx/tkMacOSXRegion.c (TkpBuildRegionFromAlphaData): 330 * win/tkWinRegion.c (TkpBuildRegionFromAlphaData): Factor out the 331 * unix/tkUnix.c (TkpBuildRegionFromAlphaData): building of region 332 * generic/tkImgPhoto.c (Tk_PhotoPutBlock): data to permit 333 better implementations on particular platforms. [Bug 919066] 334 3352004-10-24 Donal K. Fellows <donal.k.fellows@man.ac.uk> 336 337 TIP#177 AND TIP#179 IMPLEMENTATIONS 338 339 * doc/panedwindow.n: Docs for -hide and -stretch options. 340 * tests/panedwindow.test: Basic tests of -hide and -stretch options. 341 * generic/tkPanedWindow.c (Slave,slaveOptionSpecs,ComputeGeometry): 342 (DisplayPanedWindow,ArrangePanes,MoveSash,PanedWindowIdentifyCoords): 343 Add hide flag and stretch setting to list of options supported on a 344 panedwindow's slaves. [Patch 983886] Much thanks to Brian Griffin for 345 these options. 346 3472004-10-20 Jeff Hobbs <jeffh@ActiveState.com> 348 349 * win/tkWinWm.c (UpdateWrapper): pass SWP_NOOWNERZORDER to SetWindowPos 350 when maintaining win Z order, to prevent parent from flashing (when 351 adjusting Z order). 352 3532004-10-19 Joe English <jenglish@users.sourceforge.net> 354 355 TIP#204 IMPLEMENTATION 356 357 * library/tk.tcl, library/entry.tcl, library/spinbox.tcl: 358 TIP #204 "Virtual Events for Keyboard Traversal" [Patch 976928] 359 3602004-10-19 Donal K. Fellows <donal.k.fellows@man.ac.uk> 361 362 * tests/canvPsImg.tcl, tests/canvPsBmap.tcl: 363 * generic/tkBitmap.c, bitmaps/*.bmp: 364 * library/demos/icon.tcl, library/demos/items.tcl: 365 * library/demos/label.tcl, library/demos/menu.tcl: 366 * library/demos/ruler.tcl, library/demos/twind.tcl: 367 * library/demos/images/*.bmp: Renamed all X bitmap files files to have 368 an .xbm extension so Windows users won't get confused when wandering 369 around the Tcl source tree. [Bug 733835] 370 3712004-10-11 Miguel Bañon <bagnonm@users.sourceforge.net> 372 373 * library/msgs/sv.msg: Swedish message catalog from Mats Bengtsson. 374 3752004-10-09 Donal K. Fellows <donal.k.fellows@man.ac.uk> 376 377 * doc/wm.n: Recorded what attribute values are supported on OSX though 378 I don't know what they do. 379 3802004-10-08 Joe English <jenglish@users.sourceforge.net> 381 382 TIP#205 IMPLEMENTATION 383 384 * unix/tkUnixRFont.c: TIP #205 "Use pkgconfig Database to Register Xft 385 Support". 386 3872004-10-05 Jeff Hobbs <jeffh@ActiveState.com> 388 389 TIP#159 IMPLEMENTATION 390 391 * doc/wm.n (iconphoto): Added support for Tk photo images as 392 * generic/tkInt.h (TkDisplay): title-bar icons. TIP #159 393 * win/tkWinWm.c (WmIconphotoCmd): "wm iconphoto ?-default? image1 ..." 394 * macosx/tkMacOSXWm.c (WmIconphotoCmd): Implemented for Win/Unix, 395 * unix/tkUnixWm.c (WmIconphotoCmd): stubbed out for OS X. 396 * tests/wm.test, tests/unixWm.test, tests/winWm.test: [Bug 815751] 397 3982004-10-04 Jeff Hobbs <jeffh@ActiveState.com> 399 400 * generic/tkTextWind.c (EmbWinDelayedUnmap): Fix init warnings 401 * generic/tkTextTag.c (TkTextCreateTag): 402 * generic/tkTextMark.c (TkTextSetMark): 403 * generic/tkTextIndex.c (GetIndex): 404 * generic/tkUndo.c (EvaluateActionList): 405 4062004-09-24 Don Porter <dgp@users.sourceforge.net> 407 408 * generic/tkCursor.c: Add missing initialization in debug routine. 409 4102004-09-24 Vince Darley <vincentdarley@users.sourceforge.net> 411 412 * library/text.tcl: corrected mousewheel scrolling [Bug 960190] 413 414 * tests/textDisp.test: made some tests more robust to slowness in 415 asynchronous height calculation callbacks [Bug 1025781] 416 4172004-09-24 Pat Thoyts <patthoyts@users.sourceforge.net> 418 419 * win/tkWinX.c: Added declaration for advapi32 now that this file uses 420 the Reg* functions (req'd for nmake build system). 421 4222004-09-23 Vince Darley <vincentdarley@users.sourceforge.net> 423 424 * generic/tkTest.c 425 * tests/text.test: fix and tests for [Bug 1026485] - negative text 426 search ranges should not lead to any matches. 427 4282004-09-22 Jeff Hobbs <jeffh@ActiveState.com> 429 430 * win/tkWinInt.h (TkWinDisplayChanged): added decl 431 * win/tkWinX.c (TkWinDisplayChanged, TkpOpenDisplay): Correctly handle 432 * win/tkWinWm.c (InvalidateSubTreeDepth, WmProc): color and screen 433 resolution changes. Tested for 16/24/32 bpp changes on XP. May need 434 more fixes for 8bpp switch, use of special colormaps, or other special 435 palette handling cases. [Bug 223689] 436 4372004-09-21 Mo DeJong <mdejong@users.sourceforge.net> 438 439 * generic/tkInt.decls: Add decl for TkWinGetPlatformTheme. It is only 440 defined under Win32. 441 * generic/tkIntPlatDecls.h: Regen. 442 * generic/tkStubInit.c: Regen. 443 * win/tkWinInt.h: Define TK_THEME_WIN_CLASSIC and TK_THEME_WIN_XP. 444 * win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryLabel): Draw 445 a disabled 3D text highlight for the accelerator only with the Win95/98 446 look. Same goes for the menu entry text. 447 * win/tkWinX.c (TkWinGetPlatformId, TkWinGetPlatformTheme): 448 Automatically detect the Windows theme in use and return either 449 TK_THEME_WIN_CLASSIC or TK_THEME_WIN_XP when the TkWinGetPlatformTheme 450 function is invoked. [Patch 866194] 451 4522004-09-21 Mo DeJong <mdejong@users.sourceforge.net> 453 454 * win/tkWinWm.c: Rework WS_EX_LAYERED and LWA_ALPHA defines so that 455 compiling with mingw works again. 456 4572004-09-20 Jeff Hobbs <jeffh@ActiveState.com> 458 459 * win/tkWinWm.c (UpdateWrapper, WmAttributesCmd): handle attribute 460 settings prior to window mapping and resort to more forceful wrapper 461 update again for -toolwindow (to remove it from taskbar). 462 4632004-09-19 Donal K. Fellows <donal.k.fellows@man.ac.uk> 464 465 * doc/*: Standardize style of references to manual sections and public 466 Tcl symbols along the lines of what I set out in [Tcl Patch 1022527]. 467 4682004-09-18 Jeff Hobbs <jeffh@ActiveState.com> 469 470 * win/tkWinWm.c (WmAttributesCmd): correct -alpha 0.0/1.0 setting and 471 round the value. 472 (UpdateWrapper): don't adjust Z order of TOPMOST window. 473 (WmAttributesCmd): don't call UpdateWrapper for -disabled or 474 -toolwindow attr changes. 475 4762004-09-17 Jeff Hobbs <jeffh@ActiveState.com> 477 478 TIP#222 IMPLEMENTATION 479 480 * doc/wm.n: 481 * tests/winWm.test: Add 'wm attributes -alpha' to control toplevel 482 * win/tkWinInt.h: alpha transparency on Win2K/XP+. 483 * win/tkWinWm.c: TIP #222 [Patch 892194] 484 485 * win/tkWinWm.c (UpdateWrapper): Ensure that we maintain Z order and 486 * tests/winWm.test: focus of preexisting window when 487 replacing the wrapper window. 488 4892004-09-16 David Gravereaux <davygrvy@pobox.com> 490 491 * win/makefile.vc : added VC7-safe environment check as used in the Tcl 492 makefile.vc [Bug 1029349] 493 4942004-09-16 Jeff Hobbs <jeffh@ActiveState.com> 495 496 * generic/tkMenu.c (MenuWorldChanged): ensure that we recompute the 497 menu geometry on WorldChanged to handle font size changes. [Bug 607649] 498 4992004-09-16 Peter Spjuth <peter.spjuth@space.se> 500 501 * tests/place.test: 502 * generic/tkPlace.c: Fixed a memory leak when a placed widget was 503 forgotten. [Bug 1028888] 504 5052004-09-14 Mo DeJong <mdejong@users.sourceforge.net> 506 507 * win/tkWinWm.c (WmIconwindowCmd): Replace bogus call to 508 XWithdrawWindow with proper code. This avoids a "couldn't send withdraw 509 message to window manager" error when the iconwindow is already mapped. 510 The wm iconwindow command does not seem to do much under Win32, but at 511 least this avoids an error message. 512 5132004-09-13 Jeff Hobbs <jeffh@ActiveState.com> 514 515 * win/tkWinWm.c (ReadIconFromFile): fix mem alloc to get the right size 516 for both icons ('?:' order of precedence mistake). 517 5182004-09-10 Donal K. Fellows <donal.k.fellows@man.ac.uk> 519 520 * library/tkfbox.tcl (::tk::dialog::file::): Make sure that the state 521 is reset properly when starting to run the dialog. [Bug 845189] 522 523 * library/demos/filebox.tcl: Stop the use of tk_strictMotif from 524 poisoning the rest of the widget demo. [Bug 1013942] 525 5262004-09-10 Jeff Hobbs <jeffh@ActiveState.com> 527 528 * win/tkWinWm.c (ActivateWindow): SetFocus to grab window when clicking 529 outside the grab window hierarchy. [Bug 220908] 530 (UpdateWrapper): update to 2004-06-12 Kovalenko to account for whether 531 the override window has a transient parent, and apply WS_POPUP in the 532 correct case. The makes splash screens pop up as well as making 533 dropdowns not grab focus away from the parent. 534 5352004-09-10 Vince Darley <vincentdarley@users.sourceforge.net> 536 537 TIP#169 IMPLEMENTATION 538 539 * doc/text.n, generic/tkTest.c, generic/tkText.c, generic/tkText.h: 540 * generic/tkTextBTree.c, generic/tkTextDisp.c, generic/tkTextImage.c: 541 * generic/tkTextIndex.c, generic/tkTextMark.c, generic/tkTextTag.c: 542 * generic/tkTextWind.c, generic/tkUndo.c, generic/tkUndo.h: 543 * library/text.tcl, library/demos/twind.tcl, library/demos/widget: 544 * tests/text.test, tests/textImage.test, tests/textIndex.test: 545 * tests/textWind.test: implementation of TIP#169, which provides the 546 new '$text peer' widget subcommand. This includes new documentation, 547 tests, and an extension to the text widget demos to illustrate some of 548 the new features. Many thanks also to Brian Griffin for the initial 549 implementation. 550 5512004-09-09 Jeff Hobbs <jeffh@ActiveState.com> 552 553 * tests/panedwindow.test: bulletproof 23.2 result [Bug 1019100] 554 555 * win/tkWinWm.c (ReadIconFromFile): when using SHGetFileInfo to 556 retrieve icon, get regular icon as well for correct Alt-Tab icon. 557 5582004-09-09 Donal K. Fellows <donal.k.fellows@man.ac.uk> 559 560 * doc/wish.1: Added note that the -use option is linked to the frame's 561 -container option to help with [Bug 1024364] 562 5632004-09-06 Jeff Hobbs <jeffh@ActiveState.com> 564 565 * library/tkfbox.tcl (::tk::dialog::file::Create): use label instead of 566 button for "File of type", as it properly handles -state disabled now. 567 5682004-09-06 Pat Thoyts <patthoyts@users.sourceforge.net> 569 570 * win/makefile.vc: Set TK_LIBRARY when execing Tk apps (test, runtest, 571 rundemo). 572 5732004-09-03 Donal K. Fellows <donal.k.fellows@man.ac.uk> 574 575 * macosx/tkMacOSXMenus.c (GenerateEditEvent): 576 * macosx/tkMacOSXMenu.c (MenuSelectEvent): 577 * win/tkWinMenu.c (MenuSelectEvent): Make sure everywhere that needs to 578 NULL-out the user_data field does actually do so. (Code that uses 579 bzero() or memset() for the task just needs to be rebuilt to work). 580 [Bug 1021812] 581 5822004-09-01 Donal K. Fellows <donal.k.fellows@man.ac.uk> 583 584 * tests/bind.test (bind-22.163): Fix inadvertent minor breakage from 585 TIP#165. [Bug 1019085] 586 587 * doc/toplevel.n, doc/loadTk.n: More spelling/abbreviation fixes from 588 Mikhail Kolesnitchenko. 589 5902004-08-29 Donal K. Fellows <donal.k.fellows@man.ac.uk> 591 592 TIP#165 IMPLEMENTATION 593 594 * generic/tk.h (XVirtualEvent): Added user_data field to structure. 595 * generic/tkBind.c (ExpandPercents, HandleEventGenerate): 596 * generic/tkEvent.c (Tk_HandleEvent): Handle putting data into the 597 user_data field, passing it to scripts as %d substitution, and 598 releasing the field's contents once the event has been processed. 599 * doc/bind.n, doc/event.n, tests/bind.test: Docs + tests. 600 6012004-08-26 Jeff Hobbs <jeffh@ActiveState.com> 602 603 * library/text.tcl (::tk::TextTranspose): Ensure that Transpose is an 604 atomic op to undo. 605 6062004-08-25 Don Porter <dgp@users.sourceforge.net> 607 608 * macosx/tkMacOSXWm.c: Made use of Tcl_WrongNumArgs in a few 609 * win/tkWinMenu.c: appropriate spots. 610 6112004-08-22 Donal K. Fellows <donal.k.fellows@man.ac.uk> 612 613 * doc/SetOptions.3, doc/SetClassProcs.3, doc/MeasureChar.3: 614 * doc/GetVRoot.3, doc/GetHWND.3, doc/GetDash.3, doc/GetBitmap.3: 615 * doc/FontId.3, doc/CrtItemType.3, doc/ConfigWidg.3, doc/GetCursor.3: 616 More doc fixes from Mikhail Kolesnitchenko. [Patch 1013520] 617 6182004-08-20 Donal K. Fellows <donal.k.fellows@man.ac.uk> 619 620 * doc/TkInitStubs.3, doc/photo.n, doc/ParseArgv.3, doc/options.n: 621 * doc/keysyms.n, doc/font.n: More doc fixes. [Patch 1012837] 622 623 * doc/place.n, doc/pack.n, doc/grid.n, doc/getOpenFile.n: 624 * doc/event.n, doc/chooseDirectory.n, doc/bind.n: 625 Spelling and grammar fixes from Mikhail Kolesnitchenko. [Patch 1012083] 626 627 * tests/canvas.test (canvas-17.1): Report the result of the test so 628 that it can be compared. [Bug 1012331] 629 6302004-08-19 Jeff Hobbs <jeffh@ActiveState.com> 631 632 * win/tkWinDialog.c (Tk_MessageBoxObjCmd): Inherit the icon from the 633 * win/tkWinInt.h: -parent window for the 634 * win/tkWinWm.c (TkWinGetIcon): MessageBox. 635 6362004-08-19 Joe English <jenglish@users.sourceforge.net> 637 638 * unix/tkUnixWm.c: Cast argument 7 of XChangeProperty to 'const 639 unsigned char *' (from 'const char *') to satisfy Solaris 8 Forte C 640 compiler [Bug 1012325] 641 6422004-08-19 Don Porter <dgp@users.sourceforge.net> 643 644 * tests/safe.test (safe-1.3): Made test less sensitve to the full set 645 of existing aliases in an interp, so the it only tests whether the 646 tested ones are present. 647 648 * unix/Makefile.in: Copied LD_LIBRARY_PATH machinery from `make shell` 649 target to other similar targets so that just built libraries are 650 tested, rather than previous installations. 651 6522004-08-19 Donal K. Fellows <donal.k.fellows@man.ac.uk> 653 654 TIP#168 IMPLEMENTATION 655 656 * generic/tkTrig.c (TkMakeRawCurve, TkMakeRawCurvePostscript): 657 * generic/tkInt.decls: New functions to handle the geometry for "raw" 658 bezier curves. 659 * generic/tkCanvUtil.c (tkRawSmoothMethod, InitSmoothMethods) 660 (TkSmoothParseProc): Add new type of smoothing method, simplify the 661 method initialization, and change the old smoothing method to be called 662 "true" and just keep "bezier" as an alias. 663 * tests/canvas.test (canvas-17.1): Basic test of built-in smoothing 664 method support. 665 * doc/canvas.n: Documentation updates. 666 6672004-08-18 Donal K. Fellows <donal.k.fellows@man.ac.uk> 668 669 * generic/tkPanedWindow.c (optionSpecs): Add missing GEOMETRY flag to 670 -handlepad option. [Bug 1010938] 671 6722004-08-17 Donal K. Fellows <donal.k.fellows@man.ac.uk> 673 674 * doc/menu.n, doc/text.n: Assorted fixes, including spelling fixes from 675 Mikhail Kolesnitschenko. [Patch 1010083] 676 677 * doc/spinbox.n, doc/scrollbar.n, doc/scale.n, doc/panedwindow.n: 678 * doc/message.n, doc/listbox.n, doc/entry.n, doc/button.n: 679 More spelling fixes from Mikhail Kolesnitschenko. [Patch 1010607] 680 6812004-08-16 Donal K. Fellows <donal.k.fellows@man.ac.uk> 682 683 * doc/button.n, doc/checkbutton.n, doc/label.n, doc/menubutton.n: 684 * doc/radiobutton.n: Added cross-reference to new standard option. 685 * doc/options.n: Added standard documentation for the -compound 686 option. [Bug 712588] 687 688 * doc/canvas.n: Spelling and grammar fixes from Mikhail 689 Kolesnitschenko. [Bug 1009636] 690 6912004-08-11 Donal K. Fellows <donal.k.fellows@man.ac.uk> 692 693 * library/tkfbox.tcl (ResolveFile): Added some environment variable 694 handling; this isn't perfect, but should do what most people want most 695 of the time. [FRQ 979101] 696 * library/xmfbox.tcl (MotifFDialog_BuildUI): Fix [Bug 987169] in the 697 Motif file dialogs as well. 698 6992004-08-10 Joe English <jenglish@users.sourceforge.net> 700 701 * unix/tkUnixWm.c: Fix for [Bug 1006686] "wm resizable command not 702 working on Solaris/CDE" (patch from Colin McDonald). 703 7042004-08-09 Mo DeJong <mdejong@users.sourceforge.net> 705 706 * tests/canvText.test: 707 * win/tkWinFont.c (Tk_MeasureChars): Fix for text wrapping problem that 708 appeared using canvas text under Win32. A long wrapping string that had 709 leading spaces was being incorrectly wrapped. This change makes the 710 Win32 implementation behave the same as the Unix implementation. [Patch 711 1006286] 712 7132004-08-05 Donal K. Fellows <donal.k.fellows@man.ac.uk> 714 715 * library/clrpick.tcl (BuildDialog): 716 * library/msgbox.tcl (MessageBox): Add scheme for cancelling dialog 717 boxes with Escape and also handle what happens when the window gets 718 nuked from outside. [Bug 987169] 719 7202004-08-04 Donal K. Fellows <donal.k.fellows@man.ac.uk> 721 722 * generic/tkImgPhoto.c (ImgPhotoBlendComplexAlpha): Clean the code up a 723 bit and add a few more comments. 724 (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock): Clarified the code, 725 corrected the compositing rule now that I have looked up what the right 726 thing to do is, and factorized out the compositing rule code into a few 727 simpler macros. 728 7292004-07-30 Daniel Steffen <das@users.sourceforge.net> 730 731 * unix/configure: 732 * unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS 733 to explict object files in tcl.m4, refer to MAC_OSX_OBJS makefile var. 734 7352004-07-29 George Peter Staplin <georgeps@xmission.com> 736 737 * generic/tkEvent.c (TkQueueEventForAllChildren): Code from the 738 core-8-4-branch to not queue events for unmapped windows was added. 739 7402004-07-27 Daniel Steffen <das@users.sourceforge.net> 741 742 * generic/tkImgGIF.c (FileReadGIF): fix crash reported by Reinhard 743 Max: in case of premature end of image data, return error instead of 744 passing nil buffer to Tk_PhotoPutBlock(). 745 7462004-07-22 Jeff Hobbs <jeffh@ActiveState.com> 747 748 * library/tkfbox.tcl (::tk::dialog::file::Update): use -directory [pwd] 749 (instead of .) to get around some VFS edge case bugs. Correct args 750 passes to tk_messageBox when failing to cd. Add -force back to 751 namespace import of msgcat. 752 7532004-07-20 Jeff Hobbs <jeffh@ActiveState.com> 754 755 * generic/tkEvent.c (InvokeInputMethods): ensure IC focus is set after 756 creation. [Bug 905830] 757 7582004-07-20 Daniel Steffen <das@users.sourceforge.net> 759 760 * macosx/Makefile: added support to tk framework build to optionally 761 install tk manpages in addition to html help, similarly to 762 tcl/macosx/Makefile. 763 764 * macosx/Wish.pbproj/project.pbxproj: fixes for building with 765 non-default SYMROOT/OBJROOT/SRCROOT, added support for using a 766 Tcl.framework in DYLIB_INSTALL_PATH != /Library/Frameworks, added 767 optional support for building html help without tcl sources present by 768 giving explicit location of tcltk-man2html script. 769 770 * macosx/tkMacOSXMenu.c: fixed #include case sensitivity bug. 771 772 * unix/Makefile.in: 773 * win/Makefile.in: added 'install-private-headers' makefile target to 774 allow optionally installing private tk headers. [Tcl FR 922727] 775 7762004-07-16 Jeff Hobbs <jeffh@ActiveState.com> 777 778 * unix/Makefile.in, unix/tcl.m4: move (C|LD)FLAGS after their 779 * unix/configure.in, unix/configure: _DEFAULT to allow for env setting 780 to override m4 switches. 781 Consolidate header checks to limit redundancy in configure. 782 (CFLAGS_WARNING): Remove -Wconversion 783 (SC_ENABLE_THREADS): Set m4 to force threaded build when built against 784 a threaded Tcl core. 785 Reorder configure.in for better 64-bit build configuration, replacing 786 EXTRA_CFLAGS with CFLAGS. [Bug 874058] 787 7882004-07-14 Jim Ingham <jingham@apple.com> 789 790 * macosx/tkMacOSXCursor.c (TkpSetCursor): The code to not reset the 791 cursor more often than necessary was getting fooled when the current 792 cursor was nulled out when the current cursor gets freed. So in the 793 case where the input cursor was NULL, we have to just always set it. 794 [Bug 894550] 795 7962004-07-13 Don Porter <dgp@users.sourceforge.net> 797 798 * library/tkfbox.tcl: Corrected coding errors in most recent change. 799 Use [bind $w], not [$w configure] to modify bindings. 800 8012004-07-11 Donal K. Fellows <donal.k.fellows@man.ac.uk> 802 803 * library/tkfbox.tcl (::tk::dialog::file::Create): Watch out for users 804 destroying the dialog indirectly. [Bug 987169] 805 8062004-07-07 Donal K. Fellows <donal.k.fellows@man.ac.uk> 807 808 * doc/canvas.n: Add paragraph to make clearer what is going on with the 809 default canvas origin. [Bug 956681] 810 8112004-07-05 George Peter Staplin <GeorgePS@XMission.com> 812 813 * generic/tkEvent.c: TK_XIM_SPOT preprocessor usage was modified 814 slightly to fix a bug that occurred when TK_XIM_SPOT was defined as 0. 815 Thanks to Joe Mistachkin for reporting this bug. 816 8172004-07-05 Donal K. Fellows <donal.k.fellows@man.ac.uk> 818 819 TIP#158 IMPLEMENTATION 820 821 * tests/bind.test: Allow Win apps to distinguish keys 822 * win/tkWinX.c (GetState): on the keypad using the Extended 823 * generic/tkInt.h (EXTENDED_MASK): modifier. Thanks to Wolfgang 824 * generic/tkBind.c: Grossbauer and Kevin Kenny for 825 * doc/bind.n: developing this patch [Patch 797404] 826 8272004-07-05 Joe English <jenglish@users.sourceforge.net> 828 829 * unix/tkUnixWm.c: Set _NET_WM_NAME and _NET_WM_ICON_NAME 830 (freedesktop.org) in addition to WM_NAME and WM_ICON_NAME (ICCCM). This 831 allows the full Unicode character set to be used in window manager 832 strings (but only for newer WMs that support the EWMH spec). [Bug 833 959973] 834 8352004-07-02 George Peter Staplin <GeorgePS@XMission.com> 836 837 * generic/tkEvent.c: Tk_HandleEvent was refactored to be more readable, 838 and during this process two bugs were found. 839 1) Button 4 and 5 masks will now be synchronized with the TkDisplay. 840 2) ClientMessage handlers will use the proper last pointer rather than 841 writing to the last GenericHandler pointer. 842 843 Thanks to Joe English for his help and encouragement, and DKF for 844 review. 845 8462004-07-01 Donal K. Fellows <donal.k.fellows@man.ac.uk> 847 848 * doc/place.n, doc/pack.n: Doc fixes. [Tcl Bug 983146] 849 8502004-06-30 Donal K. Fellows <donal.k.fellows@man.ac.uk> 851 852 TIP#153 IMPLEMENTATION 853 854 * generic/tkCmds.c (GetTopHierarchy): Modified from GetToplevel so 855 * doc/winfo.n: that [winfo toplevel] does not 856 assume that it is really working with toplevels. Occasionally this is 857 important. Thanks to Neil McKay for this patch! 858 8592004-06-29 Jeff Hobbs <jeffh@ActiveState.com> 860 861 * generic/tkCmds.c (Tk_WinfoObjCmd): refetch interp result obj for 862 'winfo id' as it can change when making the window exist. 863 8642004-06-26 Joe Mistachkin <joe@mistachkin.com> 865 866 * generic/tkConsole.c (ConsoleDeleteProc): Set tsdPtr->gStdoutInterp to 867 NULL when the console command is deleted [Bug 756840]. Also, added 868 Tcl_Preserve/Tcl_Release for consoleInterp in InterpreterCmd in case it 869 gets deleted during the calls to Tcl_GlobalEval and Tcl_RecordAndEval. 870 8712004-06-24 Donal K. Fellows <donal.k.fellows@man.ac.uk> 872 873 * tests/canvPs.test, etc: Use standard tcltest constraint names. 874 8752004-06-19 Daniel Steffen <das@users.sourceforge.net> 876 877 * unix/tcl.m4: autoconf 2.5 fixes in Darwin section. 878 * unix/configure: autoconf-2.57 879 8802004-06-17 Donal K. Fellows <donal.k.fellows@man.ac.uk> 881 882 * tests/constraints.tcl, tests/*.test: Systematization of test 883 constraints so many common and basic constraints are defined once with 884 a single name. 885 8862004-06-16 Joe English <jenglish@users.sourceforge.net> 887 888 * unix/tkUnixWm.c, win/tkWinWm.c, macosx/tkMacOSXWm.c, tests/wm.test 889 * tests/unixWm.test: Fix for [Bug 742882] "Potential division by zero 890 in gridded wm geometry" 891 8922004-06-15 Anton Kovalenko <a_kovalenko@users.sourceforge.net> 893 894 * win/tkWinButton.c: Add a 3D highlight to disabled *buttons and 895 labels, the same way as it's now done for disabled menu entries. 896 8972004-06-15 Donal K. Fellows <donal.k.fellows@man.ac.uk> 898 899 * doc/image.n: Enhanced the documentation to take into account the 900 concerns raised in [RFE 803060] 901 902 * tests/canvas.test: Updated tests affected by the change to 903 ScrollFractions, which is now clean about result generation. 904 905 * generic/tkCanvas.c: Make tag search subsystem use symbolic names for 906 type flags for easier maintenance. 907 (FIRST_CANVAS_ITEM_MATCHING,FOR_EVERY_CANVAS_ITEM_MATCHING): Factorize 908 out searching idioms into macros to reduce the #ifdef count and make 909 braces match. 910 (ScrollFractions): Really create a list Tcl_Obj. 911 9122004-06-12 Anton Kovalenko <a_kovalenko@users.sourceforge.net> 913 914 * win/tkWinWm.c (UpdateWrapper): Let overrideredirect'ed window's 915 wrapper be the child of desktop window, thus making it to behave more 916 similarly to X11 Override Redirect. Esp. useful for combobox-like 917 megawidgets. 918 9192004-06-09 Vince Darley <vincentdarley@users.sourceforge.net> 920 921 * generic/tkText.c: 922 * tests/text.test: fix to multi-line regexp search bugs in text widget 923 (reported against Alphatk editor, not on sf). Addded 3 new tests. 924 9252004-06-09 Donal K. Fellows <donal.k.fellows@man.ac.uk> 926 927 * generic/tkUndo.c (TkUndoSetDepth): Delete the unlinked element and 928 not the next element. Stops a crash in some situations and a memory 929 leak in others. Thanks to Jiang Wu for spotting this. [Bug 969358] 930 9312004-06-08 Mo DeJong <mdejong@users.sourceforge.net> 932 933 * generic/tkCanvText.c (DisplayCanvText): Fix text rendering problem 934 with canvas text items that have a selected region. The previous 935 implementation would render the whole line and then redraw the 936 selected text if it was a different color. This caused problems when 937 the selected text foreground differs from the normal text foreground, 938 the anti-aliasing alpha pixels for the two text strings would blend 939 together resulting in strange looking text. The fix is to draw the 940 normal text and the selected text separately. This problem has only 941 been observed under Windows, with anti-aliased text. [Patch 968725] 942 9432004-06-07 Vince Darley <vincentdarley@users.sourceforge.net> 944 945 * generic/tkTextDisp.c: 946 * generic/tkTextBTree.c: fix to (Bug 965186) in which the text widget's 947 record of partial-line-height calculations (for very long wrapped 948 lines) was being incorrectly reused. This resulted in confusing 949 scrollbar-text interactions. 950 9512004-06-06 Pat Thoyts <patthoyts@users.sourceforge.net> 952 953 * tests/frame.test: Fix frame-2.8 for ![info exists env(DISPLAY)] 954 9552004-06-04 Don Porter <dgp@users.sourceforge.net> 956 957 * tests/filebox.test: A few typo corrections in dkf's recent style 958 * tests/frame.test: upgrade for the test suite. 959 * tests/select.test: 960 * tests/visual.test: 961 9622004-06-04 Vince Darley <vincentdarley@users.sourceforge.net> 963 964 * generic/tkTextIndex.c: 965 * generic/tkText.c: 966 * generic/tkTextDisp.c: 967 * doc/text.n: fix to shimmering infinite loop scrolling problem in text 968 widget under some rare circumstances (Bug 965398). Improved comments 969 and documentation. 970 971 * tests/textDisp.test: corrected rounding from float to int in test, 972 fixing occasional failures 973 974 * library/text.tcl: corrected mousewheel bindings for TkAqua 975 9762004-05-29 Joe English <jenglish@users.sourceforge.net> 977 978 * doc/messageBox.n: Fix minor markup errors (backslash is \e, not \b). 979 9802004-05-24 Donal K. Fellows <donal.k.fellows@man.ac.uk> 981 982 * doc/messageBox.n: Added documentation for the -detail option. 983 * tests/msgbox.test: Updated test suite with correct list of options. 984 * win/tkWinDialog.c (Tk_MessageBoxObjCmd): Added "support" for the 985 -detail option by concatenating it onto the end of the message. 986 9872004-05-24 Jim Ingham <jingham@apple.com> 988 989 * tkMacOSXDialog.c (Tk_MessageBoxObjCmd): Turn on the -detail option 990 for Mac OS X. 991 9922004-05-23 Donal K. Fellows <donal.k.fellows@man.ac.uk> 993 994 * ChangeLog.2002: Split older ChangeLog entries off into a separate 995 file. 996 * doc/bindtags.n: Added example. 997 998 * tests/*.test: Many minor fixes aiming towards making the Tk test 999 suite have better style. (A very large fraction of test files were 1000 modified.) 1001 1002 * generic/tkVisual.c (Tk_GetVisual): Minor fix for error message. 1003 10042004-05-14 Donal K. Fellows <donal.k.fellows@man.ac.uk> 1005 1006 TIP#152 IMPLEMENTATION (Unix only) 1007 1008 * library/msgbox.tcl (MessageBox): Added TIP#152's -detail option for 1009 Unix/X11 platforms. Also shrank the size of the main -message text 1010 which was grossly large. 1011 10122004-05-12 Chengye Mao <chengye.geo@yahoo.com> 1013 1014 * generic/tkBind.c <HandleEventGenerate>: Modified to fix wish crash 1015 due to incorrectly generate <Destroy> event. This bug was reported in 1016 comp.lang.tcl but not logged. 1017 10182004-05-07 Chengye Mao <chengye.geo@yahoo.com> 1019 1020 * win/tkWinWm.c <UpdateWrapper>: handle and destroy old wrapper 1021 correctly and fix crash problem in wish exiting [Bug 767176]. 1022 10232004-05-05 Jeff Hobbs <jeffh@ActiveState.com> 1024 1025 * win/tkWinFont.c (FindSubFontForChar): corrections to dkf patch to 1026 handle subFontPtrPtr in EnumFontFamilies callback. 1027 10282004-05-05 Donal K. Fellows <donal.k.fellows@man.ac.uk> 1029 1030 * win/tkWinFont.c (Tk_MeasureChars,Tk_DrawChars,etc): Make sure that 1031 the lastSubFontPtr remains valid even when the subfont array is 1032 reallocated. [Bug 618872] 1033 10342004-05-03 Jeff Hobbs <jeffh@ActiveState.com> 1035 1036 * unix/tkUnixButton.c (TkpDrawCheckIndicator): allow radiobuttons to be 1037 drawn when disabledforeground and/or selectcolor are NULL. 1038 [Bug 826850] (griffin) 1039 1040 * win/tkWinMenu.c, unix/tkUnixMenu.c (DrawMenuEntryLabel): place images 1041 of compound menu entries in indicator space if not a radio of 1042 checkbutton. [Bug 756952] (eserte) 1043 1044 * win/tkWinX.c: fix drawing of unicode chars in menu 1045 * win/tkWinInt.h (TkWinProcs): titles. [Bug 904371] (riefenstahl) 1046 * win/tkWinMenu.c (ReconfigureWindowsMenu): 1047 1048 * generic/tkClipboard.c: Move TkClipCleanup from tkClipboard.c to 1049 * macosx/tkMacOSXXStubs.c: being implemented in a platform-specific 1050 * unix/tkUnixEvent.c: manner. The cleanup order was bad at least 1051 * win/tkWinX.c: on Windows, where we reset/cleared display 1052 info that was still needed for the clipboard to render. [Bug 939389, 1053 822002, 732662] 1054 1055 * library/panedwindow.tcl (MarkSash): call DragSash to stop sash jump 1056 when B1 is pressed and released without moving. [Bug 932155] 1057 1058 * tests/panedwindow.test: panedwindow-25.1 1059 * generic/tkPanedWindow.c (Unlink): clean up -before/-after refs to a 1060 slave when removing it. [Bug 928413] (griffin) 1061 1062 * generic/tkImgPhoto.c (ImgPhotoConfigureMaster): force -data into 1063 ByteArray and -format into String to correctly handle them if they 1064 have been shimmered or created as some other object type. 1065 10662004-04-24 Daniel Steffen <das@users.sourceforge.net> 1067 1068 * generic/tkPort.h: 1069 * unix/Makefile.in: 1070 * win/makefile.bc: 1071 * win/Makefile.in: followup on tcl header reform [FR 922727]: removed 1072 use of relative #include paths in tkPort.h to allow installation of 1073 private headers outside of tk source tree; added tcl plaform source dir 1074 to compiler header search path. 1075 10762004-04-23 Donal K. Fellows <donal.k.fellows@man.ac.uk> 1077 1078 * doc/bind.n: Added examples (in line with the parallel programme for 1079 adding examples to Tcl manual pages) and made assorted minor 1080 alterations to improve the overall look. 1081 10822004-04-21 Donal K. Fellows <donal.k.fellows@man.ac.uk> 1083 1084 * tests/textDisp.test: Get rid of windows that are no longer needed so 1085 single-proc tests don't have extra windows hanging around unexpectedly. 1086 10872004-04-21 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> 1088 1089 Mac OS X: Fix several problems with Icelandic (and Faroese) keyboards 1090 reported by Jérôme Gagnon-Voyer <gagnonje5000<at>mac<dot>com> on 1091 tcl-mac on 2004-03-22. 1092 1093 * macosx/tkMacOSXKeyEvent.c (KLSInit): Add. 1094 (GetKeyboardLayout): Add calls to Keyboard Layout Services, if present. 1095 Rework classic handling. Use GetKCHREncoding(). Add parameter 1096 encodingPtr. 1097 (GetKCHREncoding): Add. 1098 10992004-04-16 Jeff Hobbs <jeffh@ActiveState.com> 1100 1101 * library/bgerror.tcl (bgerror): rework to only set -topmost bit on 1102 Windows if necessary. Also use existing ::tk functions for placing 1103 dialog and managing focus/grab. 1104 11052004-04-04 Joe English <jenglish@users.sourceforge.net> 1106 1107 * unix/tkUnixWm.c: Fix for [Bug 915350] "Tk sets min, max size in 1108 WM_HINTS when it shouldn't" and [Bug 922336] "Tk apps have no maximize 1109 window button under KDE-3.2.1" 1110 11112004-03-31 Jim Ingham <jingham@apple.com> 1112 1113 * tkMacOSXCarbonEvents.c (AppEventHandlerProc): Handle the 1114 kEventAppHidden and kEventAppShown events. 1115 (TkMacOSXInitCarbonEvents): Register for the above events. 1116 * tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): Steal the 1117 Command-H menu key event and allow the Application handler to have it. 1118 This is currently the only way to get the Hide behavior to work. [Bug 1119 917557] 1120 1121 * tkMacOSMenus.c (TkMacOSXHandleMenuSelect): Remove the Quit menu 1122 handler - this was for the Quit item in the File menu, but it doesn't 1123 belong there. 1124 (TkMacOSXInitMenus): Remove the Quit menu item from the File menu. 1125 1126 * tkMacOSXMenu.c (EventuallyInvokeMenu): Report errors from invoking 1127 menu commands as background errors. [Bug 220871] 1128 11292004-03-31 Don Porter <dgp@users.sourceforge.net> 1130 1131 * generic/tkImgPhoto.c: Removed outdated #include's of the tclMath.h 1132 * generic/tkScale.c: header file. All tk*Port.h files have long had 1133 a #include <math.h>, and other parts of Tk routinely make use of 1134 libm-supplied math routines. 1135 11362004-03-30 Daniel Steffen <das@users.sourceforge.net> 1137 1138 * macosx/tclets.r (removed): obsolete holdover from mac classic. 1139 11402004-03-26 Donal K. Fellows <donal.k.fellows@man.ac.uk> 1141 1142 * generic/tkImgPPM.c (ReadPPMStringHeader): Code to read PPM/PGM data 1143 (StringReadPPM, StringMatchPPM): from strings/bytearrays. [FRQ 540375] 1144 11452004-03-26 Don Porter <dgp@users.sourceforge.net> 1146 1147 * unix/tcl.m4: Replaced -Wno-strict-alias with more portable 1148 -fno-strict-alias alternative. 1149 1150 * README: Bump version to 8.5a2. 1151 * generic/tk.h: 1152 * macosx/Wish.pbproj/project.pbxproj: 1153 * unix/configure.in: 1154 * unix/tk.spec: 1155 * win/configure.in: 1156 1157 * unix/configure: autoconf-2.57 1158 * win/configure: 1159 11602004-03-26 Donal K. Fellows <donal.k.fellows@man.ac.uk> 1161 1162 * generic/tkImgPPM.c (StringWritePPM): New function to support 1163 converting of images to PPM strings. Other direction not yet done. Rest 1164 of file converted to use new image API. 1165 * generic/tkImgPhoto.c (ImgPhotoCmd): Restored support for the 1166 stringWriteProc of old photo formats. [Bug 923555] 1167 11682004-03-25 Donal K. Fellows <donal.k.fellows@man.ac.uk> 1169 1170 * doc/winfo.n: Clarified the range of colour intensities returned by 1171 [winfo rgb]. [Bug 922610] 1172 11732004-03-22 Donal K. Fellows <donal.k.fellows@man.ac.uk> 1174 1175 * doc/ConfigWidg.3: Converted malloc/free to Tcl_Alloc/Tcl_Free to help 1176 avoid confusion and crashes on Windows. [Bug 920695] 1177 11782004-03-20 Jim Ingham <jingham@apple.com> 1179 1180 * macosx/tkMacOSXSubwindows.c (GenerateConfigureNotify): New function. 1181 (XMoveWindow): Generate configure notify events for child widgets on 1182 move. 1183 (XMoveResizeWindow): Ditto. 1184 11852004-03-18 Daniel Steffen <das@users.sourceforge.net> 1186 1187 Removed support for Mac OS Classic platform [Patch 918139] 1188 1189 * doc/console.n: 1190 * doc/tk.n: 1191 * generic/README: 1192 * generic/default.h: 1193 * generic/tk.decls: 1194 * generic/tk.h: 1195 * generic/tkBind.c: 1196 * generic/tkCmds.c: 1197 * generic/tkConsole.c: 1198 * generic/tkFileFilter.h: 1199 * generic/tkGrab.c: 1200 * generic/tkInitScript.h: 1201 * generic/tkInt.decls: 1202 * generic/tkIntDecls.h: 1203 * generic/tkIntPlatDecls.h: 1204 * generic/tkIntXlibDecls.h: 1205 * generic/tkMain.c: 1206 * generic/tkPlatDecls.h: 1207 * generic/tkPointer.c: 1208 * generic/tkPort.h: 1209 * generic/tkSelect.c: 1210 * generic/tkStubInit.c: 1211 * generic/tkStubLib.c: 1212 * generic/tkTest.c: 1213 * generic/tkText.c: 1214 * generic/tkWindow.c: 1215 * library/bgerror.tcl: 1216 * library/button.tcl: 1217 * library/console.tcl: 1218 * library/dialog.tcl: 1219 * library/entry.tcl: 1220 * library/msgbox.tcl: 1221 * library/spinbox.tcl: 1222 * library/tearoff.tcl: 1223 * library/text.tcl: 1224 * library/tk.tcl: 1225 * library/demos/text.tcl: 1226 * library/demos/widget: 1227 * mac/MW_TkBuildLibHeader.h (removed): 1228 * mac/MW_TkBuildLibHeader.pch (removed): 1229 * mac/MW_TkHeader.h (removed): 1230 * mac/MW_TkHeader.pch (removed): 1231 * mac/MW_TkHeaderCommon.h (removed): 1232 * mac/MW_TkOldImgHeader.h (removed): 1233 * mac/MW_TkOldImgStaticHeader.h (removed): 1234 * mac/MW_TkStaticHeader.h (removed): 1235 * mac/MW_TkStaticHeader.pch (removed): 1236 * mac/MW_TkTestHeader.h (removed): 1237 * mac/MW_TkTestHeader.pch (removed): 1238 * mac/README (removed): 1239 * mac/bugs.doc (removed): 1240 * mac/tclets.r (removed): 1241 * mac/tclets.tcl (removed): 1242 * mac/tkMac.h (removed): 1243 * mac/tkMacAppInit.c (removed): 1244 * mac/tkMacAppearanceStubs.c (removed): 1245 * mac/tkMacApplication.r (removed): 1246 * mac/tkMacBitmap.c (removed): 1247 * mac/tkMacButton.c (removed): 1248 * mac/tkMacClipboard.c (removed): 1249 * mac/tkMacColor.c (removed): 1250 * mac/tkMacConfig.c (removed): 1251 * mac/tkMacCursor.c (removed): 1252 * mac/tkMacCursors.r (removed): 1253 * mac/tkMacDefault.h (removed): 1254 * mac/tkMacDialog.c (removed): 1255 * mac/tkMacDraw.c (removed): 1256 * mac/tkMacEmbed.c (removed): 1257 * mac/tkMacFont.c (removed): 1258 * mac/tkMacHLEvents.c (removed): 1259 * mac/tkMacInit.c (removed): 1260 * mac/tkMacInt.h (removed): 1261 * mac/tkMacKeyboard.c (removed): 1262 * mac/tkMacLibrary.r (removed): 1263 * mac/tkMacMDEF.c (removed): 1264 * mac/tkMacMDEF.r (removed): 1265 * mac/tkMacMenu.c (removed): 1266 * mac/tkMacMenu.r (removed): 1267 * mac/tkMacMenubutton.c (removed): 1268 * mac/tkMacMenus.c (removed): 1269 * mac/tkMacPort.h (removed): 1270 * mac/tkMacProjects.sea.hqx (removed): 1271 * mac/tkMacRegion.c (removed): 1272 * mac/tkMacResource.r (removed): 1273 * mac/tkMacScale.c (removed): 1274 * mac/tkMacScrlbr.c (removed): 1275 * mac/tkMacSend.c (removed): 1276 * mac/tkMacSubwindows.c (removed): 1277 * mac/tkMacTclCode.r (removed): 1278 * mac/tkMacTest.c (removed): 1279 * mac/tkMacWindowMgr.c (removed): 1280 * mac/tkMacWm.c (removed): 1281 * mac/tkMacXCursors.r (removed): 1282 * mac/tkMacXStubs.c (removed): 1283 * mac/widget.r (removed): 1284 * tests/clrpick.test: 1285 * tests/cursor.test: 1286 * tests/entry.test: 1287 * tests/font.test: 1288 * tests/macEmbed.test (removed): 1289 * tests/macFont.test (removed): 1290 * tests/macMenu.test (removed): 1291 * tests/macWinMenu.test (removed): 1292 * tests/macscrollbar.test (removed): 1293 * tests/menuDraw.test: 1294 * tests/safe.test: 1295 * tests/scrollbar.test: 1296 * tests/select.test: 1297 * tests/spinbox.test: 1298 * tests/text.test: 1299 * tests/tk.test: 1300 * tests/winfo.test: 1301 * tests/wm.test: 1302 * unix/Makefile.in: 1303 * unix/README: 1304 * unix/tk.spec: 1305 * unix/tkUnix3d.c: 1306 * unix/tkUnixDraw.c: 1307 * xlib/xgc.c: 1308 * xlib/xutil.c: 1309 * xlib/X11/X.h: 1310 * xlib/X11/Xlib.h: 1311 * xlib/X11/Xutil.h: 1312 * xlib/X11/keysym.h: 1313 13142004-03-16 Jeff Hobbs <jeffh@ActiveState.com> 1315 1316 * unix/tkUnixButton.c (TkpDrawCheckIndicator): correct crash condition 1317 for new radio/checkbuttons when colors are exhausted. 1318 [Bug 915330] (griffin) 1319 1320 * generic/tkGrid.c (GridRowColumnConfigureCommand): fix lint warning 1321 1322 * generic/tkCanvUtil.c: fix cast warnings 1323 1324 * generic/tkTextImage.c (EmbImageConfigure): fix casts 1325 1326 * unix/tkUnixSelect.c (ConvertSelection, TkSelPropProc): fix casts 1327 1328 * unix/configure, unix/tcl.m4: add -Wno-strict-aliasing for GCC to 1329 suppress useless type puning warnings. 1330 13312004-03-08 David Gravereaux <davygrvy@pobox.com> 1332 1333 * win/makefile.vc: 1334 * win/buildall.vc.bat: Checks MSDevDir, not MSVCDir envar. 1335 13362004-03-04 Mo DeJong <mdejong@users.sourceforge.net> 1337 1338 * win/tkWin32Dll.c: Add variables needed when compiling with mem debug 1339 under Mingw. This fixes the checking from 2003-12-25. 1340 13412004-03-03 Jeff Hobbs <jeffh@ActiveState.com> 1342 1343 *** 8.5a1 TAGGED FOR RELEASE *** 1344 1345 * unix/Makefile.in (dist): don't require win/lamp.bmp copy in dist 1346 target (it's already handled by win/rc/*.bmp copy) 1347 1348 * changes: updated for 8.5a1 1349 13502004-03-01 Jeff Hobbs <jeffh@ActiveState.com> 1351 1352 * README: update to patchlevel 8.5a1 1353 * generic/tk.h: 1354 * macosx/Wish.pbproj/project.pbxproj: 1355 * unix/configure, unix/configure.in, unix/tk.spec: 1356 * win/configure, win/configure.in: 1357 1358 * unix/tcl.m4: update HP-11 build libs setup 1359 13602004-03-01 Don Porter <dgp@users.sourceforge.net> 1361 1362 * unix/tcl.m4 (SC_CONFIG_CFLAGS): Allow 64-bit enabling on 1363 IRIX64-6.5* systems. [Bug 218561] 1364 * unix/configure: autoconf-2.57 1365 13662004-02-28 Vince Darley <vincentdarley@users.sourceforge.net> 1367 1368 * generic/tkTextIndex.c: remove use of internal Tcl interface 1369 'TclUtfToUniChar' 1370 13712004-02-25 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> 1372 1373 * library/demos/widget (addFormattedText): Correct off-by-one error. 1374 13752004-02-23 Daniel Steffen <das@users.sourceforge.net> 1376 1377 * macosx/Makefile: ensure that xcodebuild will use the Wish.pbproj 1378 project even if a .xcode project is also present. 1379 1380 * macosx/tkMacOSXMouseEvent.c: fixed modifiers for MouseWheel events. 1381 1382 * macosx/Wish.pbproj/project.pbxproj: 1383 * macosx/tkAboutDlg.r: changed year in copyright strings to 2004. 1384 13852004-02-23 Daniel Steffen <das@users.sourceforge.net> 1386 1387 * macosx/tkMacOSXDraw.c: 1388 * macosx/tkMacOSXXStubs.c: 1389 * xlib/ximage.c: fixed MacOSX XGetImage/XPutImage and related functions 1390 to deal properly with XImages copied from screen. 1391 * generic/tkCanvPs.c (TkImageGetColor): MacOSX fix. [Bug 809157] 1392 13932004-02-18 Peter Spjuth <peter.spjuth@space.se> 1394 1395 * tests/grid.test: 1396 * generic/tkGrid.c: Fixed a bug in grid geometry calculations for a 1397 shrinking grid. [Bug 899246] 1398 13992004-02-17 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> 1400 1401 * macosx/tkMacOSXKeyboard.c (TkpInitKeymapInfo): Don't make <Alt> and 1402 <Meta> synonyms for <Command> and <Option> for now. 1403 14042004-02-17 Jeff Hobbs <jeffh@ActiveState.com> 1405 1406 * generic/tkBind.c (HandleEventGenerate): only modify root[xy] with 1407 [xy] when they haven't been otherwise set. 1408 1409 TIP#110 IMPLEMENTATION 1410 1411 * doc/checkbutton.n: Tristate Checkbutton and Radiobuttons 1412 * doc/radiobutton.n: 1413 * generic/tkButton.c: 1414 * generic/tkButton.h: 1415 * library/demos/check.tcl: 1416 * library/demos/radio.tcl: 1417 * macosx/tkMacOSXButton.c: 1418 * macosx/tkMacOSXDefault.h: 1419 * tests/button.test: 1420 * unix/tkUnixButton.c: 1421 * unix/tkUnixDefault.h: 1422 * win/tkWinButton.c: 1423 * win/tkWinDefault.h: 1424 14252004-02-17 Don Porter <dgp@users.sourceforge.net> 1426 1427 * tests/imgPhoto.test (imgPhoto-16.1): Corrected incorrect variable 1428 name [Bug 899010]. 1429 14302004-02-15 Jim Ingham <jingham@apple.com> 1431 1432 * tkMacOSXDialog.c (MatchOneType): If the Macintosh filetype is 0, then 1433 automatically pass the fileType check. 1434 1435 * tkMacOSXCarbonEvents.c: New file - this doesn't do anything yet - 1436 just registers for a couple of App Events. 1437 1438 * tkMacOSXInit.c (TkpInit.c): Call TkMacOSXInitCarbonEvents.c. 1439 1440 * tkMacOSXAppInit.c: Formatting cleanups. 1441 * tkMacOSXButton.c: Ditto 1442 * tkMacOSXClipboard.c: Ditto 1443 * tkMacOSXDebug.c: Ditto 1444 * tkMacOSXDialog.c: Ditto 1445 * tkMacOSXDraw.c: Ditto 1446 * tkMacOSXEvent.c: Ditto 1447 * tkMacOSXFont.c: Ditto 1448 * tkMacOSXHLEvents.c: Ditto 1449 * tkMacOSXInit.c: Ditto 1450 * tkMacOSXInt.h 1451 * tkMacOSXKeyEvent.c: Ditto 1452 * tkMacOSXMenu.c: Ditto 1453 * tkMacOSXMenubutton.c: Ditto 1454 * tkMacOSXMouseEvent.c: Ditto 1455 * tkMacOSXNotify.c: Ditto 1456 * tkMacOSXScale.c: Ditto 1457 * tkMacOSXScrlbr.c: Ditto 1458 * tkMacOSXSubwindows.c: Ditto 1459 * tkMacOSXWindowEvent.c: Ditto 1460 * tkMacOSXWm.c: Ditto 1461 14622004-02-13 Jim Ingham <jingham@apple.com> 1463 1464 * tkMacOSXDialog.c (Tk_GetOpenFileObjCmd): Use CFStringRef for title & 1465 message options, not pascal strings. 1466 (Tk_GetSaveFileObjCmd): Ditto 1467 (Tk_ChooseDirectoryObjCmd): Ditto 1468 (NavServicesGetFile): Now that we get CFStrings, we don't need to 1469 convert them here. 1470 1471 * tkMacOSXMenu.c (TkMacOSXDispatchMenuEvent): Cleanup, we don't need to 1472 handle the Apple Menu picks any more, but the code didn't reflect that. 1473 1474 * tkMacOSXWm.c (TkSetWMName): Use CFStrings for the Window Title name, 1475 not Pascal strings. 1476 14772004-02-12 Jeff Hobbs <jeffh@ActiveState.com> 1478 1479 * win/tkWinDialog.c (ChooseDirectoryValidateProc): create a pidl for 1480 -initialdir if we have a UNC path because BFFM_SETSELECTION doesn't 1481 support UNC paths in strings. 1482 14832004-02-10 Donal K. Fellows <donal.k.fellows@man.ac.uk> 1484 1485 * library/msgs/eo.msg: Language support for Esperanto and Polish from 1486 * library/msgs/pl.msg: Artur Trzewik <mail@xdobry.de> with thanks. 1487 14882004-02-09 Donal K. Fellows <donal.k.fellows@man.ac.uk> 1489 1490 * generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock): 1491 * tests/imgPhoto.test (imgPhoto-16.1): Better handling of the case when 1492 copying from one area of a photo to another triggers a resizing of the 1493 image. [Bug 877950] 1494 14952004-02-07 David Gravereaux <davygrvy@pobox.com> 1496 1497 * win/makefile.vc: 1498 * win/rules.vc: 1499 * win/rc/tk.rc: 1500 * win/rc/wish.rc: Now supports the 'unchecked' option when building. 1501 15022004-02-03 Jeff Hobbs <jeffh@ActiveState.com> 1503 1504 * doc/menubutton.n: 1505 * library/menu.tcl (::tk::MbPost): make menubuttons that post above or 1506 below reverse direction when not enough space is available. 1507 15082004-02-01 David Gravereaux <davygrvy@pobox.com> 1509 1510 * win/lamp.bmp (deleted): using win/rc/lamp.bmp instead. 1511 1512 * win/winMain.c: Removed our custom setargv() in favor of __argc and 1513 __argv exported by the C run-time. 1514 1515 * win/makefile.vc: 1516 * win/rc/tk.rc: 1517 * win/rc/wish.rc: General clean-up. 1518 1519 * win/rules.vc: 1520 * win/nmakehlp.c: sync'd to Tcl. 1521 15222004-01-31 Joe English <jenglish@users.sourceforge.net> 1523 1524 * unix/tkUnixWm.c, unix/tkUnixEvent.c: Replaced TclpGetTime() with 1525 Tcl_GetTime(), to remove dependency on tclInt.h [Bug 874745]. 1526 15272004-01-27 Daniel Steffen <das@users.sourceforge.net> 1528 1529 * generic/tkTextIndex.c: added '#include <tclInt.h>' since the code 1530 uses the TclUtfToUniChar macro from that file. [Bug 874745] 1531 1532 * macosx/Wish.pbproj/project.pbxproj: removed erroneous reference to 1533 mkpsenc.tcl in bundle resources phase (mkpsenc.tcl is already part of 1534 the copy files phase to Resources/Scripts). 1535 1536 * macosx/Makefile: added support for 'xcodebuild' on Mac OS X 10.3. 1537 15382004-01-25 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> 1539 1540 * macosx/tkMacOSXKeyboard.c: Fix regressions due to the last patches. 1541 15422004-01-25 Peter Spjuth <peter.spjuth@space.se> 1543 1544 * library/dialog.tcl: 1545 * library/msgbox.tcl: The dialogs were affected by the TIP#146 1546 implementation. Added grid anchor commands to restore original 1547 behaviour. 1548 15492004-01-15 David Gravereaux <davygrvy@pobox.com> 1550 1551 * win/tkWinSendCom.c: Placed the requirement for the special COM 1552 libraries into the object file itself with #pragma comment (lib, ...) 1553 when built with VC++. This will simplify linking for users of the 1554 static library. uuid.lib is required for VC5.2, but is implicit with 1555 VC6. 1556 1557 * win/makefile.vc: Removed 'ole32.lib oleaut32.lib uuid.lib' from 1558 $(baselibs). 1559 15602004-01-12 David Gravereaux <davygrvy@pobox.com> 1561 1562 * generic/tk3d.c: All uses of 'panic' (the macro) changed to 1563 * generic/tkBind.c: 'Tcl_Panic' (the function). The #define of 1564 * generic/tkBitmap.c: panic in tcl.h clearly states it is deprecated 1565 * generic/tkCanvArc.c: in the comments. [Tcl Patch 865264] 1566 * generic/tkCanvBmap.c: 1567 * generic/tkCanvImg.c: 1568 * generic/tkCanvLine.c: 1569 * generic/tkCanvPoly.c: 1570 * generic/tkCanvText.c: 1571 * generic/tkCanvWind.c: 1572 * generic/tkColor.c: 1573 * generic/tkConfig.c: 1574 * generic/tkCursor.c: 1575 * generic/tkError.c: 1576 * generic/tkEvent.c: 1577 * generic/tkFocus.c: 1578 * generic/tkFont.c: 1579 * generic/tkFrame.c: 1580 * generic/tkGC.c: 1581 * generic/tkGrid.c: 1582 * generic/tkImgBmap.c: 1583 * generic/tkImgPhoto.c: 1584 * generic/tkImgUtil.c: 1585 * generic/tkMenu.c: 1586 * generic/tkObj.c: 1587 * generic/tkPack.c: 1588 * generic/tkPlace.c: 1589 * generic/tkRectOval.c: 1590 * generic/tkSelect.c: 1591 * generic/tkText.c: 1592 * generic/tkTextBTree.c: 1593 * generic/tkTextDisp.c: 1594 * generic/tkTextImage.c: 1595 * generic/tkTextIndex.c: 1596 * generic/tkTextMark.c: 1597 * generic/tkTextWind.c: 1598 * generic/tkVisual.c: 1599 * generic/tkWindow.c: 1600 * mac/tkMacAppInit.c: 1601 * mac/tkMacAppearanceStubs.c: 1602 * mac/tkMacButton.c: 1603 * mac/tkMacDraw.c: 1604 * mac/tkMacEmbed.c: 1605 * mac/tkMacFont.c: 1606 * mac/tkMacInit.c: 1607 * mac/tkMacMenus.c: 1608 * mac/tkMacPort.h: 1609 * mac/tkMacSubwindows.c: 1610 * mac/tkMacWm.c: 1611 * mac/tkMacXStubs.c: 1612 * macosx/tkMacOSXEmbed.c: 1613 * macosx/tkMacOSXFont.c: 1614 * macosx/tkMacOSXMenus.c: 1615 * macosx/tkMacOSXNotify.c: 1616 * macosx/tkMacOSXPort.h: 1617 * macosx/tkMacOSXSubwindows.c: 1618 * macosx/tkMacOSXWm.c: 1619 * macosx/tkMacOSXXStubs.c: 1620 * unix/tkUnix3d.c: 1621 * unix/tkUnixColor.c: 1622 * unix/tkUnixEmbed.c: 1623 * unix/tkUnixEvent.c: 1624 * unix/tkUnixFocus.c: 1625 * unix/tkUnixFont.c: 1626 * unix/tkUnixSelect.c: 1627 * unix/tkUnixSend.c: 1628 * unix/tkUnixWm.c: 1629 * win/tkWin3d.c: 1630 * win/tkWinButton.c: 1631 * win/tkWinColor.c: 1632 * win/tkWinDialog.c: 1633 * win/tkWinDraw.c: 1634 * win/tkWinEmbed.c: 1635 * win/tkWinFont.c: 1636 * win/tkWinPixmap.c: 1637 * win/tkWinPointer.c: 1638 * win/tkWinScrlbr.c: 1639 * win/tkWinWm.c: 1640 * win/tkWinX.c: 1641 1642 * win/rc/tk.rc: 1643 * win/rc/tk_base.rc: 1644 * win/rc/wish.rc: 1645 * win/makefile.vc: Refreshed how the resource files are built. Should 1646 be a bit easier for people linking with a static Tk library. 1647 1648 * win/lamp.bmp (deleted): 1649 * win/rc/lamp.bmp (new): Moved. 1650 1651 * win/rules.vc: Sync'd to Tcl, respects the CHECKS=nodep command line 1652 macro and was used to verify the Tcl_Panic change above. 1653 16542004-01-09 Peter Spjuth <peter.spjuth@space.se> 1655 1656 TIP#146 IMPLEMENTATION 1657 1658 * doc/grid.n: 1659 * tests/grid.test: 1660 * generic/tkGrid.c: Implementation of TIP#146, "Add Overall Anchoring 1661 to the Grid Geometry Manager", adding [grid anchor] subcommand. 1662 **** POTENTIAL VISUAL INCOMPATABILITY **** 1663 16642004-01-07 Vince Darley <vincentdarley@users.sourceforge.net> 1665 1666 * generic/tkTextDisp.c: 1667 * generic/tkTextBTree.c: 1668 * tests/text.test: fixed crashing [Bug 872299] in yview code, and added 1669 tests and better error checking in the B-tree. 1670 16712004-01-07 Vince Darley <vincentdarley@users.sourceforge.net> 1672 1673 * generic/tkTextIndex.c: 1674 * tests/textIndex.test: fixed bug in which 'wordstart' and 'wordend' 1675 were not utf-8 aware (they haven't been changed since Tk 8.0), and 1676 added tests. 1677 16782004-01-07 Vince Darley <vincentdarley@users.sourceforge.net> 1679 1680 * win/tkWinMenu.c: only provide a submenu handle when the MF_POPUP flag 1681 is given, fixing a recently-introduced crash when submenus are 1682 disabled. Also better error checking for this sort of situation in the 1683 future. 1684 16852003-12-31 Daniel Steffen <das@users.sourceforge.net> 1686 1687 * macosx/Wish.pbproj/project.pbxproj: added missing private headers to 1688 installed Tk.framework, so that tkInt.h can be included sucessfully 1689 from Tk.framework/PrivateHeaders. 1690 * generic/tkPort.h: corrected include of tkMacOSXPort.h 1691 16922003-12-28 Mo DeJong <mdejong@users.sourceforge.net> 1693 1694 * win/tkWinMenu.c (ReconfigureWindowsMenu): Fix drawing of a disabled 1695 (TkWinHandleMenuEvent, DrawMenuEntryArrow): cascade menu arrow. Tk was 1696 displaying a disabled cascade menu arrow in black instead of gray. This 1697 was caused by a bug in the Win32 code for user drawn menu items. The 1698 fix is to avoid telling Windows that the menu item is a cascade type 1699 and then draw the gray arrow bitmap on our own. [Patch 865842] 1700 17012003-12-27 Mo DeJong <mdejong@users.sourceforge.net> 1702 1703 * win/tkWinMenu.c (DrawWindowsSystemBitmap): Fix a strange Win32 bug 1704 where the logical coordinates returned by a call to DPtoLP are wrong 1705 the first time a menu is posted. This bug manifested itself by drawing 1706 the bitmap in the wrong place in a menu. The fix was to pass the newly 1707 created DC instead of the DC from the window. 1708 17092003-12-26 Mo DeJong <mdejong@users.sourceforge.net> 1710 1711 * win/tkWinMenu.c (DrawMenuEntryAccelerator): 1712 (DrawMenuEntryLabel): When drawing the label text and accelerator text 1713 for a disabled menu entry be sure to draw a 3D highlight. The only 1714 exception to this is when a disabled menu entry is highlighted, in that 1715 case do not draw a 3D hightlight. 1716 17172003-12-26 Mo DeJong <mdejong@users.sourceforge.net> 1718 1719 * win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryArrow): Move 1720 the unused menu arrow drawing code in DrawMenuEntryAccelerator into a 1721 new function named DrawMenuEntryArrow. This makes no functional change 1722 but it will make it easier to fix things in the future. 1723 17242003-12-25 Mo DeJong <mdejong@users.sourceforge.net> 1725 1726 * win/tkWin32Dll.c (DllMain): Add HAVE_NO_SEH blocks in place of __try 1727 and __except statements to support gcc builds. This is needed after 1728 David's changes on 2003-12-21. [Tcl patch 858493] 1729 17302003-12-22 David Gravereaux <davygrvy@pobox.com> 1731 1732 * win/nmakehlp.c: 1733 * win/rules.vc: sync'd to Tcl. 1734 1735 * win/makefile.vc: Uses new features of nmakehlp to get the version 1736 strings from header files without the use of hardcoded values. 1737 1738 * generic/tk.h: removed the note about having to update makefile.vc 1739 when the version changes. 1740 17412003-12-22 Joe English <jenglish@users.sourceforge.net> 1742 1743 * doc/text.n: Fix markup errors (".t" at beginning of line). 1744 17452003-12-21 David Gravereaux <davygrvy@pobox.com> 1746 1747 * generic/tkEvent.c: Added three new functions: TkCreateExitHandler, 1748 * generic/tkInt.h: TkDeleteExitHandler, and TkFinalize. This adds an 1749 * generic/tkMenu.c: insertion point so Tk's exit handlers can be 1750 * generic/tkWindow.c: called on their own from tk85.dll's DllMain for 1751 * mac/tkMacButton.c: DLL_PROCESS_DETACH. These are private to the 1752 * unix/tkUnixEvent.c: binary and not exported. It is possible the 1753 * win/tkWin32Dll.c: Windows OS can unload Tk _prior_ to Tcl under 1754 * win/tkWinEmbed.c: some conditions such as ExitProcess(). This 1755 * win/tkWinMenu.c: avoids a dangling pointer problem when Tcl does 1756 * win/tkWinX.c: Tcl_Finalize after Tk has been unloaded. 1757 * win/winMain.c: DllMain's DLL_PROCESS_DETACH now protected with 1758 SEH as DeleteWindowsExitProc is causing an exception of its own under 1759 some teardown conditions. AT&T assembly syntax has not been added for 1760 MinGW yet. [Tcl Patch 858493] 1761 17622003-12-20 Joe English <jenglish@users.sourceforge.net> 1763 1764 * library/bgerror.tcl: Truncate displayed error message if it's too 1765 long. [Bug 231251] 1766 17672003-12-16 Pat Thoyts <patthoyts@users.sourceforge.net> 1768 1769 * win/rc/wish.exe.manifest: It seems that Windows XP insists on a 1770 strict format for the version value. 8.5.a0 or 8.5.0 results in an 1771 unloadable executable -- must be 4 numbers. 1772 1773 * win/tkWinSend.c: Removed some misleading comments [Bug 846134] and 1774 disabled the send package until [Bug 858822] is resolved. 1775 17762003-12-16 Anton Kovalenko <a_kovalenko@users.sourceforge.net> 1777 1778 * win/tkWinWm.c (InstallColormaps): Check for TK_ALREADY_DEAD to avoid 1779 handling of dead windows. 1780 17812003-12-15 David Gravereaux <davygrvy@pobox.com> 1782 1783 Some silent invalid handle issues discovered with NuMega's 1784 BoundsChecker [Patch 699022] 1785 1786 * win/tkWinMenu.c (ReconfigureWindowsMenu): Only redraw the menubar 1787 when a menubar exists. 1788 1789 * win/tkWinWm.c (UpdateGeometryInfo): wmPtr->wrapper might be NULL. No 1790 exception is thrown, but it isn't correct to ignore. 1791 17922003-12-15 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> 1793 1794 * macosx/tkMacOSXKeyboard.c: General cleanup. Add support for [event 1795 generate]. [Bug 860454] 1796 17972003-12-15 Vince Darley <vincentdarley@users.sourceforge.net> 1798 1799 * generic/tkText.h: 1800 * generic/tkTextBTree.c: 1801 * generic/tkTextDisp.c: 1802 * generic/tkTextIndex.c: improved documentation in comments to explain 1803 how pixel heights are kept track of. Also ensured correct clean-up of 1804 elide-state calculation, even with very large numbers of tags. Also 1805 provided slightly better updating of cache for totally elided display 1806 lines. 1807 18082003-12-12 David Gravereaux <davygrvy@pobox.com> 1809 1810 * win/tkWinEmbed.c (TkWinEmbeddedEventProc) : for loop dereferences 1811 containerPtr but can't get to the if (containerPtr == NULL) test due to 1812 the unhandled read memory exception for when it really is NULL. 1813 1814 * win/tkWinX.c (TkWinXInit): Don't restrict InitCommonControlsEx. It's 1815 valid on all platforms given IE 3.0+ is installed. As tkWinX.c does set 1816 #define _WIN32_IE 0x0300, I guess we can accept IE3 as the lowest 1817 denominator and use the version 4.71 features of Comctl32.dll 1818 1819 * win/rc/wish.exe.manifest: updated version string. This file isn't 1820 compiled. 1821 18222003-12-10 Vince Darley <vincentdarley@users.sourceforge.net> 1823 1824 * tests/textWind.test: fixed 2 tests so they run on Windows as well as 1825 unix, and so their results take account of -padx/-pady settings for the 1826 text widget. 1827 18282003-12-10 Donal K. Fellows <donal.k.fellows@man.ac.uk> 1829 1830 * doc/CrtImgType.3: Fixed line-transposition error found by Eric 1831 Raymond. [Bug 857159] 1832 18332003-12-09 Jeff Hobbs <jeffh@ActiveState.com> 1834 1835 * unix/configure: 1836 * unix/tcl.m4: updated OpenBSD build configuration based on [Patch 1837 775246] (cassoff) 1838 18392003-12-09 Vince Darley <vincentdarley@users.sourceforge.net> 1840 1841 * win/tkWinWm.c: fix to memory leak on certain error cases. 1842 1843 * generic/tkTextTag.c: fix reading of freed tag memory, by removing all 1844 references to freed tags. 1845 18462003-12-08 Jeff Hobbs <jeffh@ActiveState.com> 1847 1848 * doc/entry.n: clean up usage of 'edition' as a verb. 1849 18502003-12-05 Vince Darley <vincentdarley@users.sourceforge.net> 1851 1852 * tests/text.test: 1853 * generic/tkText.c: after debate on sf, allow decreasing tab-stops, 1854 hence removing any potential backwards incompatibility, even for buggy 1855 code. Added new test. [Bug 852949] 1856 1857 * generic/tkText.h: 1858 * generic/tkTextDisp.c: 1859 * generic/tkTextTag.c: fix to performance problems in the text widget 1860 when inserting lines which wrap thousands of times [Bug 853003]. Note 1861 that the text widget must now perform additional calculations (pixel 1862 heights) compared to Tk <= 8.4, and so some actions will be slower, by 1863 necessity. 1864 18652003-12-05 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> 1866 1867 * win/tkWinFont.c (Tk_MeasureChars): Fix indentation. Fix memory leak. 1868 Fix handling of TK_WHOLE_WORDS. 1869 18702003-12-04 Vince Darley <vincentdarley@users.sourceforge.net> 1871 1872 * generic/tkText.c: disallow negative or decreasing tab-stops, which 1873 fixes [Bug 852949], but is a 1874 1875 *** POTENTIAL INCOMPATIBILITY *** 1876 1877 with Tk 8.4.5 or earlier, but only for code which assumed (incorrectly) 1878 that tab stops are relative to each other instead of relative to the 1879 widget's left edge. Such code will now throw an error instead of doing 1880 the wrong thing. 1881 1882 [[MAINTAINER NOTE: SEE TIP#256]] 1883 1884 * generic/tkTextDisp.c: restore previous meaning of -[xy]scrollcommand 1885 [Bug 852954], and remove unused argument to 'MeasureChars' 1886 1887 * generic/tkTextWind.c: 1888 * generic/tkTextImage.c: better border handling and fixed typos in 1889 comments. 1890 1891 * tests/text.test: tests for negative and decreasing tab stops. 1892 1893 * doc/text.n: documentation of '-tabs', to clarify Tk's longstanding 1894 interpretation of all distances as relative to the left edge of the 1895 widget. 1896 1897 * library/demos/twind.tcl: 1898 * library/demos/widget: minor enhancements to text widget demo, showing 1899 embedded images, for example. 1900 19012003-12-04 Vince Darley <vincentdarley@users.sourceforge.net> 1902 1903 * win/tkWinFont.c: applied [Patch 852669] which fixes [Bug 478568] with 1904 certain bold or italic fonts on Windows. 1905 * tests/textDisp.test: added test for the font measurement problem. 1906 19072003-12-02 Jeff Hobbs <jeffh@ActiveState.com> 1908 1909 * generic/tkMenu.c (MenuVarProc): prevent this from triggering while 1910 interp is being destroyed. 1911 19122003-11-25 Anton Kovalenko <a_kovalenko@users.sourceforge.net> 1913 1914 * generic/tkPointer.c (Tk_UpdatePointer): corrected targetWinPtr check 1915 (line 369) so any pointer event with winPtr==0 is really redirected to 1916 the grab or restrict window (if any). 1917 19182003-11-21 Vince Darley <vincentdarley@users.sourceforge.net> 1919 1920 * generic/tkTextDisp.c: 1921 * generic/tkText.h: 1922 * generic/tkText.c: 1923 * tests/textDisp.test: ensure interpolated tabs are at the same 1924 location as the equivalent real tabs, by making use of fractional 1925 rather than integer pixel calculations. 1926 19272003-11-21 Vince Darley <vincentdarley@users.sourceforge.net> 1928 1929 * generic/tkTextDisp.c: prevent wrapped line height calculations until 1930 the widget has actually been given a geometry. 1931 1932 * tests/textWind.test: 1933 * tests/textDisp.test: fix to [Bug 843752], allowing tests to complete 1934 cross-platform. Thanks to dgp for extensive testing. 1935 19362003-11-21 Donal K. Fellows <donal.k.fellows@man.ac.uk> 1937 1938 * doc/FindPhoto.3: Removed reference to long-gone header file. 1939 19402003-11-20 Vince Darley <vincentdarley@users.sourceforge.net> 1941 1942 * win/tkWinSend.c: 1943 * win/tkWinSendCom.c: ensure object is not shared before lappend (fix 1944 for crash in Windows test suite), and clean up of files to bring them 1945 closer to Tcl standards. 1946 19472003-11-20 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> 1948 1949 * macosx/tkMacOSXKeyboard.c: Add PowerBook keycode 0x34 as <Return>. 1950 19512003-11-18 Jim Ingham <jingham@apple.com> 1952 1953 * macosx/tkMacOSXScrlbr.c: Reworking Vince's fix to [Bug 842952]. This 1954 version is clearer, and works helps keep the mouse better pinned to the 1955 scrollbar. I also removed the glitch where the scrollbar would jump get 1956 its middle over the mouse when you first moved it. 1957 19582003-11-17 Don Porter <dgp@users.sourceforge.net> 1959 1960 * tests/constraints.tcl:When running the test suite in a process where 1961 * tests/image.test: Tk has been [load]ed, there's no guarantee that 1962 * tests/select.test: child processes created by [exec [interpreter]] 1963 * tests/unixWm.test: will have Tk in them. Made modifications to 1964 * tests/window.test: force a [load] of Tk in those situations. 1965 19662003-11-17 Jeff Hobbs <jeffh@ActiveState.com> 1967 1968 * generic/tkMenubutton.h: fixed compound menubutton handling like 1969 * generic/tkMenubutton.c: *button corrections of 2003-04-25. 1970 * mac/tkMacMenubutton.c (TkpDisplayMenuButton): 1971 * unix/tkUnixMenubu.c (TkpDisplayMenuButton): 1972 19732003-11-16 Don Porter <dgp@users.sourceforge.net> 1974 1975 * win/makefile.vc: Restored consistency of pkgIndex.tcl file with that 1976 generated by Makefile. 1977 19782003-11-15 Vince Darley <vincentdarley@users.sourceforge.net> 1979 1980 * macosx/tkMacOSXScrlbr.c: [Bug 842952] correct scrollbar tracking with 1981 mouse. Also increased scrollbar resolution for better scrolling in very 1982 large text widgets. 1983 1984 * generic/tkTextDisp.c: cleanup and clarify some comments 1985 * doc/text.n: cleanup some of the markup. 1986 19872003-11-15 David Gravereaux <davygrvy@pobox.com> 1988 1989 * win/makefile.vc: Fixes pkgIndex.tcl generation so a symbols build is 1990 loaded when Tcl is symbols. 1991 19922003-11-15 Vince Darley <vincentdarley@users.sourceforge.net> 1993 1994 * generic/tkTextDisp.c: 1995 * tests/textDisp.test: fixes to one more old Tk [Bug 422411] this time 1996 concerning inconsistent tab interpretation. Also fixed an unreported 1997 new problem if a single logical line wraps to fill more than the 1998 entire display. 1999 2000 * macosx/tkMacOSXScrlbr.c: fix to [Bug 840978] where the size of the 2001 proportional scrollbar was calculated wrongly. 2002 20032003-11-14 Joe English <jenglish@users.sourceforge.net> 2004 2005 * doc/text.n: Fix markup errors. 2006 20072003-11-15 Vince Darley <vincentdarley@users.sourceforge.net> 2008 2009 * generic/tkText.h: 2010 * generic/tkText.c: 2011 * generic/tkTextDisp.c: 2012 * generic/tkTextWind.c: 2013 * generic/tkTextTag.c: 2014 * tests/textDisp.test: fixes to another pair of old Tk bugs [Bug 2015 220816] (can't scroll horizontally to display all of last character), 2016 [Bug 842498] (xview confused on window creation), and more efficiency 2017 in tag creation. Added new tests. 2018 20192003-11-14 Donal K. Fellows <donal.k.fellows@man.ac.uk> 2020 2021 * generic/tkTextDisp.c (TkTextRedrawTag): Get the correct number of 2022 lines in the region to be updated. This fix due to Vince Darley. 2023 (TkTextUpdateLineMetrics): Return the correct marker value when we know 2024 the update loop should terminate. [Bug 837300] 2025 20262003-11-13 Vince Darley <vincentdarley@users.sourceforge.net> 2027 2028 * tests/event.test: 2029 * library/text.tcl: fixed the text widget portion of [Bug 542199] 2030 20312003-11-13 Donal K. Fellows <donal.k.fellows@man.ac.uk> 2032 2033 * generic/tkMenuDraw.c (TkPostSubmenu,AdjustMenuCoords): Rewrote to use 2034 Tcl_EvalObjv instead of Tcl_VarEval for greater robustness. A side 2035 benefit is that this should all be faster now too. [Bug 723856] 2036 20372003-11-12 Vince Darley <vincentdarley@users.sourceforge.net> 2038 2039 * generic/tkText.h: 2040 * generic/tkText.c: 2041 * generic/tkTextDisp.c: 2042 * generic/tkTextIndex.c: 2043 * generic/tkTextTag.c: 2044 * tests/textTag.test: fixes to two very old Tk bugs [Bug 583286] 2045 (focus handling with embedded windows), [Bug 220780] (tag bindings 2046 trigger on window borders), and made two more functions static in 2047 tkTextDisp.c. 2048 2049 * library/text.tcl: fixed [Tcl Bug 699642] with double/triple-click 2050 insert positioning. 2051 20522003-11-11 Jeff Hobbs <jeffh@ActiveState.com> 2053 2054 * unix/configure: 2055 * unix/configure.in: use xft-config instead of pkg-config to determine 2056 xft info. 2057 * unix/tcl.m4: improve AIX --enable-64bit handling remove 2058 -D__NO_STRING_INLINES -D__NO_MATH_INLINES from CFLAGS_OPTIMIZE on 2059 Linux. Make default opt -O2 (was -O). 2060 2061 * generic/tkButton.c (ConfigureButton): abort option processing if the 2062 button was deleted. [Bug 824479] 2063 2064 * generic/tkMenuDraw.c (TkPostSubmenu): add {} around menu name in case 2065 it has spaces when calling Tcl_VarEval. This is a hack until this is 2066 rewritten for proper Tcl_Obj handling. [Bug 723856] 2067 2068 * library/tkfbox.tcl (::tk::dialog::file::Update): optimize the 2069 dir/files list separation by using the -tails, -directory and -type 2070 option of 'glob'. Also passes the glob the -filetypes filters instead 2071 of calling string match over each file. [Patch 833819] 2072 (::tk::dialog::file::ActivateEnt): allow typing filename into entry 2073 when tk_getOpenFile -multiple 1 is specified. [Bug 788069] 2074 2075 * generic/tkListbox.c (ListboxDeleteSubCmd, ListboxListVarProc): free 2076 itemconfig data when removing it from table. [Bug 836483] 2077 2078 * macosx/tkMacOSXClipboard.c (TkSuspendClipboard, TkSelGetSelection): 2079 add unicode clipboard support. [Patch 840107] (senn) 2080 20812003-11-10 Jeff Hobbs <jeffh@ActiveState.com> 2082 2083 * win/configure: 2084 * win/tcl.m4: add necessary ole libs to VC LIBS_GUI line. 2085 2086 * win/tkWinDraw.c (XFillRectangles): correctly handle the 2087 XGCValues.function parameter when filling rectangles. [Bug 820278] 2088 [Patch 820282] 2089 2090 * win/configure: 2091 * win/configure.in: define TK_LIB_FLAG, TK_LIB_SPEC, 2092 TK_BUILD_LIB_SPEC, TK_STUB_LIB_SPEC, TK_STUB_LIB_PATH, and 2093 TK_BUILD_STUB_LIB_PATH for tkConfig.sh [Bug 826614] 2094 2095 * unix/Makefile.in (SHLIB_LD_FLAGS): include in Makefile as it is used 2096 in MAKE_LIB sometimes (ie: AIX-64) [Bug 829686] (jimix) 2097 20982003-11-10 Vince Darley <vincentdarley@users.sourceforge.net> 2099 2100 * generic/tkTextDisp.c: correct yview handling of text widgets 2101 containing no vertical pixels at all. 2102 21032003-11-08 Pat Thoyts <patthoyts@users.sourceforge.net> 2104 2105 * win/tclWinSend.c: Fixed an error returning the registered name. 2106 21072003-11-08 Vince Darley <vincentdarley@users.sourceforge.net> 2108 2109 * tests/textDisp.test: 2110 * tests/text.test: 2111 * generic/tkText.h: 2112 * generic/tkTextIndex.c: 2113 * generic/tkTextBTree.c: 2114 * generic/tkTextDisp.c: fix to another version of [Bug 833627] (crash 2115 in tkchat), adding more tests. I believe the handling of nested elide 2116 tags of all types is now correct! 2117 21182003-11-07 Vince Darley <vincentdarley@users.sourceforge.net> 2119 2120 * tests/textDisp.test: 2121 * generic/tkTextDisp.c: fix to another version of [Bug 833627] (crash 2122 in tkchat), adding two new tests. 2123 2124 * generic/tkText.c 2125 * generic/tkTextIndex.c 2126 * generic/tkTextDisp.c 2127 * generic/tkTextWind.c 2128 * generic/tkTextImage.c 2129 * generic/tkTextTag.c 2130 * generic/tkTextMark.c 2131 * generic/tkTextBTree.c 2132 * generic/tkText.h 2133 * doc/text.n 2134 * tests/text.test 2135 * tests/textWind.test: better handling of 'elide' tags, especially 2136 during line layout, counting and forward/backward index movement. Added 2137 new tests to ensure correct behaviour with multiple tags of multiple 2138 priorities. 2139 21402003-11-05 Donal K. Fellows <donal.k.fellows@man.ac.uk> 2141 2142 * library/demos/nl.msg: Dutch messages from Arjen Markus [Patch 836368] 2143 * library/demos/widget: Added mechanism to support some l10n of the 2144 actual hotkeys used. 2145 21462003-11-04 Vince Darley <vincentdarley@users.sourceforge.net> 2147 2148 * tests/textDisp.test: 2149 * tests/textWind.test: fix to rest of test suite problems reported in 2150 [Bug 833761]. This also has the nice effect that many more tests are 2151 now run on Windows. 2152 21532003-11-04 Donal K. Fellows <donal.k.fellows@man.ac.uk> 2154 2155 * library/demos/widget (showCode,printCode): Added code to print the 2156 source code on Unix and Win, courtesy of Arjen Markus and the Wiki. 2157 [Patch 835644] 2158 21592003-11-03 Vince Darley <vincentdarley@users.sourceforge.net> 2160 2161 * generic/tkTextDisp.c 2162 * tests/textDisp.test: test and fix to a panic reported in [Bug 2163 833627], with tkchat, and an unused variable [Bug 835010]. Also fixes 2164 substantial parts of [Bug 833761] 2165 21662003-11-03 Donal K. Fellows <donal.k.fellows@man.ac.uk> 2167 2168 * library/demos/widget, etc.: Made widget demos locate themselves 2169 independently of the main Tk library using the new global variable 2170 tk_demoDirectory. [Patch 832691, adapted] 2171 2172 * generic/tkTextDisp.c (TextGetScrollInfoObj): Stop complaints about 2173 signed vs. unsigned for the length of strings. 2174 21752003-11-01 Donal K. Fellows <fellowsd@cs.man.ac.uk> 2176 2177 * library/msgs/nl.msg: Updated messages from Arjen Markus and Pascal 2178 Scheffers. Thanks! [Patch 820519] 2179 21802003-10-31 Jeff Hobbs <jeffh@ActiveState.com> 2181 2182 * generic/tkImgPhoto.c (ImgPhotoBlendComplexAlpha): OS X uses 32bpp 2183 images internally always, so make use of the assumption. 2184 21852003-10-31 Vince Darley <vincentdarley@users.sourceforge.net> 2186 2187 TIP#155 IMPLEMENTATION 2188 2189 * generic/tkText.c, generic/tkTextIndex.c, generic/tkTextDisp.c 2190 * generic/tkTextWind.c, generic/tkTextImage.c, generic/tkTextTag.c 2191 * generic/tkTextMark.c, generic/tkTextBTree.c, generic/tkText.h 2192 * doc/text.n, tests/text.test, tests/textDisp.test 2193 * tests/textImage.test, tests/textIndex.test, tests/textWind.test 2194 * library/text.tcl, generic/tkCanvas.c, unix/tkUnixDefault.h 2195 * win/tkWinDefault.h, mac/tkMacDefault.h, macosx/tkMacOSXDefault.h 2196 2197 This adds the 'count' and 'replace' subcommands to the text widget, the 2198 '-blockcursor' option, and in particular provides correct, smooth 2199 pixel-based scrolling of the widget under all circumstances. See the 2200 text.n man page for the complete new documentation. This also fixes 2201 [Bugs 559450 778511 779174]. 2202 2203 * generic/tkTextDisp.c 2204 * tests/textDisp.test: tests and fix to the promptly reported [Bug 2205 833627] 2206 22072003-10-31 Vince Darley <vincentdarley@users.sourceforge.net> 2208 2209 * win/tkWinMenu.c: more correct placing of images in compound menu 2210 entries. 2211 22122003-10-30 Jeff Hobbs <jeffh@ActiveState.com> 2213 2214 * generic/tkImgPhoto.c (ImgPhotoBlendComplexAlpha): add alpha blending 2215 for images with partial transparency. Only operates for 15bpp+ display. 2216 [Bug 809157] 2217 22182003-10-29 Donal K. Fellows <donal.k.fellows@man.ac.uk> 2219 2220 * unix/tkUnixRFont.c: Some cleaning up to get the file more in lines 2221 with the general style guidelines. [Bug 832091] Still many comments 2222 needed (from someone who knows the code!) for the style guide to be 2223 satisfied, so bug still open. 2224 2225 * library/tkfbox.tcl (IconList_Create,IconList_Add): Added option 2226 munging to allow some control of foreground colours on Unix in the same 2227 way that you can influence the background. [Bug 795717] 2228 22292003-10-28 Jeff Hobbs <jeffh@ActiveState.com> 2230 2231 * unix/tkUnixFont.c (GetFontAttributes): place extra check for NULL 2232 family against bad X servers. 2233 2234 * win/tkWinImage.c (XGetImageZPixmap): add separate 16bpp XGetImage 2235 code to correctly handle 16bpp requests. This appears to never have 2236 worked correctly. 2237 2238 * tests/focusTcl.test (setup1): expand frame size to allow for correct 2239 visibility of windows that use larger default fonts. 2240 22412003-10-28 Donal K. Fellows <donal.k.fellows@man.ac.uk> 2242 2243 * library/tk.tcl (::tk::PlaceWindow): Added check for empty string 2244 first when determining placement strategy. [Bug 819284] 2245 22462003-10-23 Jim Ingham <jingham@apple.com> 2247 2248 * macosx/tkMacOSXDialog.c (NavServicesGetFile): Minor cleanups. 2249 (OpenFileFilterProc): Handle FSRef's as well as FSSpec's in the input 2250 file. Also convert the FSSpec filename to an C-string before passing to 2251 MatchOneFile. [Bug 517600] 2252 (MatchOneFile): Require the input filename to be a C-string, not a 2253 pascal string. 2254 22552003-10-22 Donal K. Fellows <fellowsd@cs.man.ac.uk> 2256 2257 * library/dialog.tcl (tk_dialog): Constrain the dialog to be fairly 2258 sensibly sized and placed. [Bug 827535] 2259 22602003-10-15 Joe English <jenglish@users.sourceforge.net> 2261 2262 * unix/tkUnixWm.c, tests/unixWm.test: Delete WM_TRANSIENT_FOR property 2263 instead of setting it to None when making a window nontransient [Bug 2264 632816 "cannot remove transient"] 2265 22662003-10-14 Joe English <jenglish@users.sourceforge.net> 2267 2268 * unix/tkUnixPort.h(TkPutImage): changed macro argument names to match 2269 function argument names ('dest' and 'src' were swapped, which was 2270 confusing) [GPS] 2271 22722003-10-14 Pat Thoyts <patthoyts@users.sourceforge.net> 2273 2274 * win/makefile.vc: Applied patches from tcl bug 801467 from 2275 * win/winMain.c: Joe Mistachkin 2276 22772003-10-12 Jeff Hobbs <jeffh@ActiveState.com> 2278 2279 * generic/tkInt.h: move TkGetOptionSpec to stubs intDecls 2280 * generic/tkIntDecls.h: 2281 * generic/tkInt.decls: 2282 * generic/tkStubInit.c: 2283 * tkDecls.h: updated with latest genstubs 2284 * tkIntPlatDecls.h: 2285 * tkIntXlibDecls.h: 2286 * tkPlatDecls.h: 2287 2288 * tests/listbox.test (13.3): correct result size 2289 (4.7): correct test for possible window drift [Bug 701931] (dgp) 2290 2291 * unix/mkLinks: 2292 * doc/GetHWND.3: add Tk_AttachHWND docs [Bug 220803] 2293 22942003-10-10 Jeff Hobbs <jeffh@ActiveState.com> 2295 2296 * mac/tkMacButton.c (TkpDisplayButton): 2297 * macosx/tkMacOSXButton.c (TkpDisplayButton): 2298 * unix/tkUnixButton.c (TkpDisplayButton): correct imageYOffset for 2299 buttons with just images. 2300 23012003-10-10 Donal K. Fellows <fellowsd@cs.man.ac.uk> 2302 2303 * generic/tkObj.c (TkRegisterObjTypes): Register the type of text 2304 indexes. 2305 23062003-10-09 Jeff Hobbs <jeffh@ActiveState.com> 2307 2308 * win/tkWinButton.c (TkpDisplayButton): correct imageYOffset for 2309 buttons with just images. 2310 23112003-10-08 Pat Thoyts <patthoyts@users.sourceforge.net> 2312 2313 * win/tcl.m4: Add TIP #150 items to the TEA makefiles. 2314 * win/configure: 2315 * win/Makefile.in: 2316 2317 * win/tkWinSend.c: Clean up some warnings from gcc -Wall. 2318 * win/tkWinSendCom.c: 2319 23202003-10-06 Joe English <jenglish@users.sourceforge.net> 2321 2322 * library/text.tcl, doc/text.n: Text widget binding for Control-v is 2323 now Mac-only, since it conflicts with standard <<Paste>> binding on 2324 other platforms. [Bug 605277] 2325 23262003-10-06 Joe English <jenglish@users.sourceforge.net> 2327 2328 * generic/tkStyle.c: Fix double-free in style engine [Bug 798211] 2329 23302003-10-06 Jeff Hobbs <jeffh@ActiveState.com> 2331 2332 * win/configure: 2333 * win/tcl.m4: removed incorrect checks for existence of optimization. 2334 TCL_CFG_OPTIMIZED is now defined whenever the user does not build with 2335 --enable-symbols. 2336 23372003-10-06 Don Porter <dgp@users.sourceforge.net> 2338 2339 * doc/ConfigWidg.3: Removed reference to Tk_Offset from the NAME 2340 section to resolve mkLinks conflict with SetOptions.3 [Bug 404197] 2341 2342 * unix/configure.in: Reconfigured to use $TCL_PREFIX as the default 2343 value of --prefix, and also added warning when a TK_PREFIX value 2344 different from TCL_PREFIX is selected, since [package require Tk] fails 2345 in that configuration. [Bugs 428627,765642] 2346 2347 * unix/tcl.m4 (SC_PATH_TCLCONFIG): Corrected search path so that 2348 alpha and beta releases of Tcl are not favored. [Bug 608698] 2349 2350 * unix/configure.in: Added check that version of Tcl header found by 2351 configure matches that of the Tk we wish to build. As long as the Tk 2352 sources insist on lockstep releases, Tk's configuration should verify 2353 that's what we have. [Bug 749088] 2354 2355 * unix/configure: autoconf (2.57) 2356 * unix/mkLinks: make mklinks 2357 23582003-10-03 Pat Thoyts <patthoyts@users.sourceforge.net> 2359 2360 * library/scale.tcl: Clear bug with chording mouse buttons. 2361 2362 * library/console.tcl: Avoid including the console in the list of 2363 interpreters exposed by [winfo interps]. 2364 23652003-10-01 Daniel Steffen <das@users.sourceforge.net> 2366 2367 * macosx/Wish.pbproj/project.pbxproj: 2368 * macosx/Makefile: fixed redo prebinding bug when DESTDIR="". Added 2369 support for all applicable customizable makefile variables from 2370 tcl/macosx/Makefile. 2371 2372 * macosx/README: 2373 * macosx/Wish.pbproj/project.pbxproj: ensure that the versioned wishX.X 2374 script works correctly when Tk.framework with multiple versions is 2375 present by referring to a copy of 'Wish Shell.app' located in 2376 Tk.framework/Versions/X.X/Resources. 2377 23782003-09-30 Jim Ingham <jingham@apple.com> 2379 2380 * macosx/tkMacOSXButton.c (TkpDisplayButton): Use the tk text drawing 2381 for checkbuttons & radiobuttons as well as for labels. 2382 * macosx/tkMacOSXEvent.c (XSync): New function, need to implement this 2383 so drawing will get flushed in "update idletasks". 2384 * tkMacOSXPort.h: convert #define of XSync to function def'n. 2385 23862003-09-30 Donal K. Fellows <fellowsd@cs.man.ac.uk> 2387 2388 * library/demos/browse: Added suitable [package require] lines 2389 * library/demos/hello: to all the Tk demo scripts which are 2390 * library/demos/ixset: not run as part of something larger. 2391 * library/demos/rmt: [FRQ 815118] 2392 * library/demos/rolodex: 2393 * library/demos/square: 2394 * library/demos/tcolor: 2395 * library/demos/timer: 2396 * library/demos/widget: 2397 23982003-09-30 Pat Thoyts <patthoyts@users.sourceforge.net> 2399 2400 * tests/safe.test: Accomodate TIP #150 in the results. 2401 * tests/textWind.test: Fix a dependancy on font size in 10.1 2402 24032003-09-30 Donal K. Fellows <fellowsd@cs.man.ac.uk> 2404 2405 * generic/tkCanvas.c (TkGetStringsFromObjs): 2406 * generic/tkPanedWindow.c (PanedWindowWorldChanged): Private functions 2407 should be either static or prefixed with 'Tk' (thanks to George Staplin 2408 for spotting this.) 2409 24102003-09-27 Pat Thoyts <patthoyts@users.sourceforge.net> 2411 2412 TIP#150 IMPLEMENTATION 2413 2414 * win/makefile.vc: Implementation of TIP #150, "Provide 'send' 2415 * win/tkWinSend.c: command for Windows" 2416 * win/tkWinSendCom.h: 2417 * win/tkWinSendCom.c: 2418 24192003-09-26 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> 2420 2421 * macosx/tkMacOSXWm.c (TkWmStackorderToplevelWrapperMap): Add 2422 GetWindowFromPort() [Bug 812415]; make function static. 2423 24242003-09-25 Daniel Steffen <das@users.sourceforge.net> 2425 2426 * library/demos/widget: don't create iconwindow on aqua, but add about 2427 menu like on classic. 2428 * macosx/Makefile: pass MAKEOVERRIDES to pxbuild. 2429 * macosx/tkMacOSXButton.c: added -compound support for bevel buttons. 2430 2431 * unix/configure: 2432 * unix/configure.in: 2433 * unix/tkConfig.sh.in: added TK_INCLUDE_SPEC to allow extensions to 2434 find installed Tk headers, parallel to TCL_INCLUDE_SPEC. [Bug 777203] 2435 24362003-09-18 Chengye Mao <chengye.geo@yahoo.com> 2437 2438 * generic/tkConsole.c: Fixed memory leak [Bug 802435] 2439 24402003-09-18 Peter Spjuth <peter.spjuth@space.se> 2441 2442 TIP#147 IMPLEMENTATION 2443 2444 * doc/grid.n: 2445 * tests/grid.test: 2446 * generic/tkGrid.c: Implementation of TIP#147, "Make Grid's Column/Row 2447 Configure Easier". 2448 24492003-09-17 Don Porter <dgp@users.sourceforge.net> 2450 2451 * generic/tkImage.c: Stopped [image create] from generating an image 2452 * tests/image.test: command name that would overwrite an existing 2453 command name. Thanks to Michael Schlenker. [Bug 808039]. 2454 24552003-09-16 Peter Spjuth <peter.spjuth@space.se> 2456 2457 * tests/grid.test: 2458 * generic/tkGrid.c: Reworked a part of grid's geometry computations to 2459 handle some tricky cases better. [Bug 792387] 2460 24612003-09-05 Joe English <jenglish@users.sourceforge.net> 2462 2463 * doc/bind.n: Describe %P and %s substitution for Property events. 2464 [Bug 577906 "%P substitution not documented"] 2465 24662003-09-05 Don Porter <dgp@users.sourceforge.net> 2467 2468 * doc/wish.1: Implementation of TIPs 137/151. 2469 * generic/tkMain.c (Tk_MainEx): Added recognition of the -encoding 2470 * tests/main.test: command line option by Tk_MainEx() and 2471 thus by wish and any other program built on Tk_MainEx(). [Patch 800139] 2472 This is a ***POTENTIAL INCOMPATIBILITY*** only for those C programs 2473 that embed Tcl and Tk, build on Tk_MainEx(), and make use of 2474 Tk_MainEx's former ability to pass a leading "-encoding" option to 2475 interactive shell operations. 2476 24772003-08-27 Donal K. Fellows <fellowsd@cs.man.ac.uk> 2478 2479 * generic/tkListbox.c (ListboxSelect): Remove unused variable 2480 'increment'. [Bug 664783] 2481 24822003-08-25 David Gravereaux <davygrvy@pobox.com> 2483 2484 * win/makefile.vc: Don't do a string compare on the $(DBGX) variable, 2485 use the $(DEBUG) boolean directly. Also, don't try to regen the stubs 2486 table if $(TCLSH) doesn't exist. 2487 24882003-08-22 Donal K. Fellows <fellowsd@cs.man.ac.uk> 2489 2490 * library/demos/msgbox.tcl: Brought into line with the newer 2491 look-and-feel for the demos. 2492 * library/demos/widget (addSeeDismiss): Added support for an extra 2493 button defined by the caller. 2494 24952003-08-21 Pat Thoyts <patthoyts@users.sourceforge.net> 2496 2497 * win/tkWin3d.c: Applied Tk patch 791273 from Jeremy Collins which 2498 improves the 3d lines for sunken widgets under windows. 2499 25002003-08-20 Jeff Hobbs <jeffh@ActiveState.com> 2501 2502 * library/demos/widget: Redo code view dialog, use named fonts, 2503 * library/demos/arrow.tcl: add basic see/dismiss routine with images 2504 * library/demos/bind.tcl: for better look & feel 2505 * library/demos/bitmap.tcl: 2506 * library/demos/button.tcl: 2507 * library/demos/check.tcl: 2508 * library/demos/clrpick.tcl: 2509 * library/demos/colors.tcl: 2510 * library/demos/cscroll.tcl: 2511 * library/demos/ctext.tcl: 2512 * library/demos/entry1.tcl: 2513 * library/demos/entry2.tcl: 2514 * library/demos/entry3.tcl: 2515 * library/demos/filebox.tcl: 2516 * library/demos/floor.tcl: 2517 * library/demos/form.tcl: 2518 * library/demos/hscale.tcl: 2519 * library/demos/icon.tcl: 2520 * library/demos/image1.tcl: 2521 * library/demos/image2.tcl: 2522 * library/demos/items.tcl: 2523 * library/demos/label.tcl: 2524 * library/demos/labelframe.tcl: 2525 * library/demos/menu.tcl: 2526 * library/demos/menubu.tcl: 2527 * library/demos/paned1.tcl: 2528 * library/demos/paned2.tcl: 2529 * library/demos/plot.tcl: 2530 * library/demos/puzzle.tcl: 2531 * library/demos/radio.tcl: 2532 * library/demos/ruler.tcl: 2533 * library/demos/sayings.tcl: 2534 * library/demos/search.tcl: 2535 * library/demos/spin.tcl: 2536 * library/demos/states.tcl: 2537 * library/demos/style.tcl: 2538 * library/demos/text.tcl: 2539 * library/demos/twind.tcl: 2540 * library/demos/unicodeout.tcl: 2541 * library/demos/vscale.tcl: 2542 25432003-08-20 Donal K. Fellows <fellowsd@cs.man.ac.uk> 2544 2545 * generic/tkCanvPs.c (Tk_PostscriptFont): Use Tcl_Obj-based interfaces 2546 for working with user-supplied font maps. 2547 25482003-08-19 Joe English <jenglish@users.sourceforge.net> 2549 2550 * generic/tkPanedWindow.c (PanedWindowWorldChanged): Set window 2551 background from the -background resource. Fixes [Bug 791500 2552 "PanedWindow refresh glitches on X"] 2553 25542003-08-19 Joe English <jenglish@users.sourceforge.net> 2555 2556 * doc/bind.n: Added more information on event types and details [FRQ 2557 523593 "bind(n) manpage needs more detail"] 2558 25592003-08-18 Mo DeJong <mdejong@users.sourceforge.net> 2560 2561 * win/configure: Regen. 2562 * win/tcl.m4: Update from Tcl to fix Tcl bug 781109. 2563 25642003-08-15 Donal K. Fellows <fellowsd@cs.man.ac.uk> 2565 2566 * generic/tkImgPhoto.c (ImgPhotoCmd): Faster color data parsing code 2567 for the [$photo put] subcommand. Now doesn't do everything through the 2568 pre-8.0 list handling routines! 2569 25702003-08-14 Donal K. Fellows <fellowsd@cs.man.ac.uk> 2571 2572 * unix/tkUnixButton.c (TkpDisplayButton): Stopped accesses to NULL 2573 * unix/tkUnixMenu.c (TkpDrawMenuEntry): pointers that crashed tests. 2574 2575 TIP #109 IMPLEMENTATION FROM Brian Griffin <bgriffin@model.com> 2576 * unix/tkUnixButton.c (TkpDrawCheckIndicator, TkpDisplayButton): 2577 * unix/tkUnixMenu.c (DrawMenuEntryIndicator, TkpDrawMenuEntry): 2578 Much improved display of checkbuttons and radiobuttons on UNIX/X. 2579 25802003-08-13 Pat Thoyts <patthoyts@users.sourceforge.net> 2581 2582 * library/scale.tcl: Fix for [Bug 787065] for Button-2 press. 2583 * tests/scale.test: Added test for this bug. 2584 25852003-08-12 Daniel Steffen <das@users.sourceforge.net> 2586 2587 * macosx/tkMacOSXMenu.c: fixed C99'ism that breaks gcc 2.95. 2588 25892003-07-28 Pat Thoyts <patthoyts@users.sourceforge.net> 2590 2591 * win/tkWinDialog.c: Applied patch from [Bug 611615] which fixes a 2592 problem with double clicks in file dialogs falling through to the 2593 window underneath in win32. 2594 2595 * library/panedwindow.tcl: Apply patch from [Bug 778893] to make the 2596 panedwindow -opaqueresize option work as per the docs. 2597 2598 * library/tk.tcl: Apply fix for [Bug 778840] for window placement when 2599 using multiple desktops on windows. 2600 26012003-07-24 Pat Thoyts <patthoyts@users.sourceforge.net> 2602 2603 * win/tkWinCursor.c: Fix for [Bug 776646] for a native hand2 and fleur 2604 (move) cursor under win. 2605 * tests/cursor.test: Check that documented cursors are available. 2606 26072003-07-20 Daniel Steffen <das@users.sourceforge.net> 2608 2609 * macosx/buildTkConfig.tcl: fix to TK_BUILD_* ref generation broken by 2610 changes to tcl buildsystem. 2611 26122003-07-19 Pat Thoyts <patthoyts@users.sourceforge.net> 2613 2614 * win/tkWinCursor.c (TkGetCursorByName): Fix bug 420510 to provide 2615 consistency between unix and windows -cursor option. 2616 2617 * library/scale.tcl: Fix for bug 706765 to correctly handle the 2618 -sliderrelief option while moving the thumb. 2619 26202003-07-18 Jeff Hobbs <jeffh@ActiveState.com> 2621 2622 * unix/tkUnixFont.c (Tk_DrawChars): do not make XGetGeometry call that 2623 prevents overwidth lines as it requires a roundtrip call to the X 2624 server for every string drawn. Hard-code max width to 32768 until a 2625 better solution to get max width is made. 2626 2627 * library/panedwindow.tcl: use widget-specific Priv slots for pwAfterId 2628 and panecursor items to correctly handle cursor changes with adjacant 2629 panedwindows. 2630 2631 * generic/tkEvent.c (Tk_HandleEvent): correct XCreateIC call for 2632 TK_XIM_SPOT usage. [Bug 742660] (takahashi) 2633 2634 * win/tkWinDialog.c: doubled the TK_MULTI_MAX_PATH value to ~10K. This 2635 is a short-term solution until the -multiple option is extended. [Bug 2636 641261] 2637 26382003-07-18 Vince Darley <vincentdarley@users.sourceforge.net> 2639 2640 * generic/tkWindow.c: 2641 * macosx/tkMacOSXDialog.c: added native tk_messageBox command, 2642 (Tk_MessageBoxObjCmd) for MacOS X platform. 2643 2644 * macosx/tkMacOSXMenu.c: corrected encoding conversion for torn-off 2645 menu entries (but many other display problems still exist with these) 2646 2647 * macosx/tkMacOSXMouseEvent.c: improved handling of events in the 2648 presence of grabs, particularly activation events. 2649 26502003-07-18 Donal K. Fellows <fellowsd@cs.man.ac.uk> 2651 2652 * tests/panedwindow.test (panedwindow-30.2): 2653 * generic/tkPanedWindow.c (Tk_PanedWindowObjCmd): Ensure that we can 2654 share GCs between a panedwindow and its sash proxy, even if the 2655 panedwindow is in a toplevel with a different visual. [Bug 702230] 2656 26572003-07-17 Daniel Steffen <das@users.sourceforge.net> 2658 2659 * macosx/Makefile: Changes for new tcl buildsystem. 2660 2661 * macosx/Wish.pbproj/jingham.pbxuser: 2662 * macosx/Wish.pbproj/project.pbxproj: 2663 Changes for new tcl buildsystem. Changed build to include tk specific 2664 html help in Tk.framework instead of Tcl.framework. Set default SYMROOT 2665 in target options to simplify setting up PB (manually setting common 2666 build folder for tcl & tk no longer needed). 2667 2668 * macosx/README: Updated info for changes to buildsystem, html help 2669 location and PB setup. 2670 26712003-07-17 Donal K. Fellows <fellowsd@cs.man.ac.uk> 2672 2673 * doc/photo.n: [$photo put] has been able to take rectangles of pixel 2674 colours, specified as lists of lists, for years. Now this is a 2675 documented feature. [Bug 728952] 2676 2677 * doc/panedwindow.n: Removed warning invalidated by fix from Bug 2678 738143. [Bug 747814] 2679 2680 * generic/tkImgPhoto.c (ImgPhotoCmd): Rewrote subcommand processing to 2681 never jump to the end of the switch. I find that confusing as I can't 2682 see whether there's processing still to be done from a quick glance at 2683 the code, unlike with a direct return. [Bug 771988] 2684 (ImgPhotoCmd, ImgPhotoSetSize, ImgPhotoInstanceSetSize): Try harder to 2685 avoid zero-length mallocs()... [Bug 404421] 2686 26872003-07-16 Don Porter <dgp@users.sourceforge.net> 2688 2689 * generic/tkPack.c (ConfigureSlaves): silence compiler warning 2690 [Bug 771982] 2691 26922003-07-16 Jeff Hobbs <jeffh@ActiveState.com> 2693 2694 * win/tkWinImage.c (XGetImage): correct init of biSizeImage in bitmap 2695 header. [Bug 703697] (cap) 2696 26972003-07-17 Peter Spjuth <peter.spjuth@space.se> 2698 2699 * tests/frame.test: 2700 * generic/tkFrame.c (CreateFrame): Make sure all options can be set to 2701 their default value. [Bug 697652] 2702 27032003-07-16 Jeff Hobbs <jeffh@ActiveState.com> 2704 2705 * generic/tkPanedWindow.c (ArrangePanes): Ensure that the last pane 2706 * tests/panedwindow.test: shrinks instead of being clipped when resized 2707 below the reqsize. [Bug 748277] (spjuth) 2708 2709 * generic/tkWindow.c (Initialize): do not free uninit'ed dstring. 2710 [Bug 755906] (mistachkin) 2711 27122003-07-09 Donal K. Fellows <fellowsd@cs.man.ac.uk> 2713 2714 * tests/send.test: Strengthened constraints to stop accidental smashing 2715 of Xserver access; some systems (*ahem* mine *ahem*) require 2716 xhost-style security for all use... :^/ 2717 27182003-07-07 Jeff Hobbs <jeffh@ActiveState.com> 2719 2720 * generic/tkTextDisp.c (DisplayText): correct use of textPtr data with 2721 respect to Tcl_Release time. [Bug 767009] 2722 27232003-07-07 Donal K. Fellows <fellowsd@cs.man.ac.uk> 2724 2725 * generic/tkImage.c (TkDeleteAllImages,etc.): Stopped the deleting of 2726 hash entries from a table that has just been deleted by this function 2727 when some images are Tcl_Preserve()d... [Bug 749353] 2728 27292003-07-03 Jim Ingham <jingham@apple.com> 2730 2731 * macosx/tkMacOSXColor.c (GetControlPartColor): Use the ThemeBrushes to 2732 get the control text color for buttons. 2733 27342003-07-02 Mo DeJong <mdejong@users.sourceforge.net> 2735 2736 * unix/tkUnixEvent.c (TkpCloseDisplay): Don't test for XCloseIM bug 2737 when the XFree86 version is newer than 4.0 since the layout of the XIM 2738 structure has changed. The check is not needed for newer XFree86 2739 releases since the bug we are checking for was fixed in the 4.2.99.2 2740 release. [Bug 755530] 2741 27422003-06-26 Vince Darley <vincentdarley@users.sourceforge.net> 2743 2744 * library/menu.tcl: workaround problem on some Windows systems by 2745 trying to avoid posting a menu offscreen. 2746 27472003-06-09 Joe English <jenglish@users.sourceforge.net> 2748 2749 * unix/tkUnixRFont.c: fix for [Bug 751553] "Xft: [font configure] does 2750 not update in-use fonts". Fixed TkpGetSubFonts() to return information 2751 about all subfonts, not just the first one. 2752 27532003-06-01 Joe English <jenglish@users.sourceforge.net> 2754 2755 * unix/configure.in: BUGFIX, --enable-xft test was broken. 2756 * unix/configure: regen 2757 27582003-05-31 Joe English <jenglish@users.sourceforge.net> 2759 2760 * unix/tkUnixRFont.c (InitFont): Fill in TkFontAttributes from pattern 2761 returned from GetFont (actual font) instead of the query pattern 2762 (requested font). 2763 27642003-05-31 Joe English <jenglish@users.sourceforge.net> 2765 2766 * unix/tkUnixRFont.c: New file 2767 * unix/tkUnixDefault.h: Use different default fonts if HAVE_XFT 2768 * unix/Makefile.in: 2769 * unix/configure.in: Add --enable-xft flag 2770 * unix/configure: regen 2771 Experimental support for antialiased text under X11 [Patch 535541] 2772 27732003-05-30 Vince Darley <vincentdarley@users.sourceforge.net> 2774 2775 * generic/tkMenu.c 2776 * generic/tkMenu.h 2777 * generic/tkMenuDraw.c: 2778 * tests/menu.test: fixed complex bug in menu clone cleanup [Bug 465324] 2779 and removed 'knownBug' from a test. 2780 27812003-05-29 Joe English <jenglish@users.sourceforge.net> 2782 2783 * doc/text.n: Fixed markup errors. 2784 27852003-05-28 Miguel Bañón <bagnonm@users.sourceforge.net> 2786 2787 * library/msgs/cs.msg: Updated messages from wohnivec@iol.cz 2788 27892003-05-27 Vince Darley <vincentdarley@users.sourceforge.net> 2790 2791 * generic/tkText.c 2792 * generic/tkTextTag.c 2793 * generic/tkTextDisp.c 2794 * generic/tkText.h: refactoring of text widget cleanup code to ensure 2795 all resources are freed. [Bug 741179] 2796 2797 * library/tearoff.tcl: ensure torn-off menus do not appear underneath 2798 the MacOS/MacOS X main menu bar. 2799 28002003-05-23 Mo DeJong <mdejong@users.sourceforge.net> 2801 2802 * unix/mkLinks: Set the var S to "" at the top of the file to avoid 2803 error when user has set S to something. [Bug 739833] 2804 28052003-05-21 Donal K. Fellows <fellowsd@cs.man.ac.uk> 2806 2807 * generic/tkPanedWindow.c (PanedWindowReqProc): Thanks very much to 2808 Eric Boudaillier for making panes resize correctly! [Bug 738143] 2809 2810 * generic/tkText.c (TextSearchCmd): Forwards and backwards aren't the 2811 same. [Bug 740558] Also edited SearchCore to get it closer to the 2812 Engineering Manual style guidelines. 2813 28142003-05-19 Donal K. Fellows <fellowsd@cs.man.ac.uk> 2815 2816 * tests/textImage.test: Fixed faults in option parsing and made 2817 * tests/text.test: tests conformant. [Bug 739965] 2818 * generic/tkText.c (TextSearchCmd): 2819 2820 * library/demos/en.msg: Base catalog for the widget demo. 2821 * library/demos/widget: Added message-catalog support. 2822 * library/console.tcl: Reworked to use tk::AmpMenuArgs and be more "in 2823 style". 2824 * library/tk.tcl (tk::AmpMenuArgs): New procedure for doing 2825 tk::AmpWidget-like processing for menus. 2826 2827 * generic/tkTextMark.c: Removed complaints about signed vs. 2828 * generic/tkTextImage.c: unsigned in arguments to strncmp() by 2829 * generic/tkText.c: using Tcl_GetIndexFromObj() more. 2830 28312003-05-19 Vince Darley <vincentdarley@users.sourceforge.net> 2832 2833 TIP#113 IMPLEMENTATION 2834 2835 * doc/text.n 2836 * generic/tkCanvas.c 2837 * generic/tkInt.h 2838 * generic/tkTest.c 2839 * generic/tkText.c 2840 * generic/tkText.h 2841 * generic/tkTextBTree.c 2842 * generic/tkTextDisp.c 2843 * generic/tkTextImage.c 2844 * generic/tkTextIndex.c 2845 * generic/tkTextMark.c 2846 * generic/tkTextTag.c 2847 * generic/tkTextWind.c 2848 * generic/tkUndo.c 2849 * generic/tkUndo.h 2850 * generic/tkWindow.c 2851 * library/text.tcl 2852 * tests/text.test 2853 * tests/textIndex.test 2854 * tests/textMark.test 2855 * tests/textTag.test 2856 * tests/textWind.test: This adds multi-line searching and '-all' 2857 searching to the text widget. In addition the changes contain a 2858 complete 'objectification' of the text widget. Includes documentation 2859 and new tests. 2860 28612003-05-19 Daniel Steffen <das@users.sourceforge.net> 2862 2863 * macosx/Wish.pbproj/project.pbxproj: changed tkConfig.sh location in 2864 versioned framework subdirectories to be identical to location in 2865 framework toplevel; fixed stub library symbolic links to be tk version 2866 specific. 2867 28682003-05-15 Jeff Hobbs <jeffh@ActiveState.com> 2869 2870 * unix/tkUnixFont.c: use gb2312-raw as the alias for gb2312* charset 2871 fonts. gb2312.enc was made to be euc-cn for Tcl because that is what 2872 is most often meant, but X really wants the original (-raw) gb2312 2873 encoding. [Bug 557030] 2874 28752003-05-14 Jeff Hobbs <jeffh@ActiveState.com> 2876 2877 * library/msgs/fr.msg: updated msg catalog. [Bug 737790] (zolli) 2878 28792003-05-13 Vince Darley <vincentdarley@users.sourceforge.net> 2880 2881 * win/makefile.vc: fix to installation of winhelp into path containing 2882 a space (Bug 693512) 2883 28842003-05-13 Daniel Steffen <das@users.sourceforge.net> 2885 2886 * macosx/tkMacOSXInit.c (TkpInit): use new versioned bundle resource 2887 API to get tk runtime library for TK_VERSION. [Bug 736774] 2888 28892003-05-10 Jeff Hobbs <jeffh@ActiveState.com> 2890 2891 * generic/tkCanvPoly.c (PolygonToPostscript): 2892 * tests/canvPs.test: correct crash when generating postscript for a 2893 single-line polygon (point) with no color. [Bug 734498] (wilm) 2894 28952003-05-10 Jim Ingham <jingham@apple.com> 2896 2897 * macosx/tkMacOSXClipboard.c (TkSelGetSelection): Convert '\r' to '\n' 2898 on the way into Tcl. 2899 29002003-05-08 Donal K. Fellows <fellowsd@cs.man.ac.uk> 2901 2902 * tests/image.test (image-15.1): Test to ensure that widgets pick up 2903 image information even if the image is deleted and recreated. 2904 2905 * generic/tkImage.c (Tk_ImageObjCmd): Use the ImageMaster's deleted 2906 flag to stop deleted images from showing up in the various [image *] 2907 operations. Can't delete directly from the table because that makes us 2908 lose the information about what widgets want to use the image. [Bug 2909 634864] 2910 29112003-04-30 Jeff Hobbs <jeffh@ActiveState.com> 2912 2913 * macosx/tkMacOSXButton.c (TkpDisplayButton): correct typo for 2914 stippleGC [Bug 730124]. 2915 29162003-04-25 Jeff Hobbs <jeffh@ActiveState.com> 2917 2918 * generic/tkButton.h: Rewrote the handling of 2919 * generic/tkButton.c (TkButtonWorldChanged): compound *buttons to 2920 * mac/tkMacButton.c (TkpDisplayButton): correctly display mixture 2921 * macosx/tkMacOSXButton.c (TkpDisplayButton): of disabledfg, 2922 * unix/tkUnixButton.c (TkpDisplayButton): selectcolor, indicator, 2923 * win/tkWinButton.c (TkpDisplayButton): etc. *buttons will now 2924 only stipple the image, unless no disabledfg is given, in which case it 2925 will stipple the whole button. 2926 2927 * library/bgerror.tcl: make bgerror dialog topmost on Windows to 2928 prevent it being covered by other windows. 2929 2930 * unix/tkUnixButton.c (TkpDisplayButton): Use the normalTextGc when 2931 * win/tkWinButton.c (TkpDisplayButton): displaying disabled text that 2932 have images, as they get a gray50 stipple as well and the disabledGc is 2933 not set up correctly for font drawing. [Bug 477740] 2934 29352003-04-18 Jeff Hobbs <jeffh@ActiveState.com> 2936 2937 * win/configure: regen 2938 * win/configure.in (SHELL): force it to /bin/sh as autoconf 2.5x uses 2939 /bin/bash, which can fail to find exes in the path (ie: lib). 2940 2941 * generic/tkCanvBmap.c: s/CreateBitmap/TkcCreateBitmap as Windows has a 2942 CreateBitmap function already. 2943 2944 * generic/tkCursor.c: s/GetCursor/TkcGetCursor as Windows has a 2945 GetCursor func already, which causes compiler warnings. 2946 29472003-04-14 Mo DeJong <mdejong@users.sourceforge.net> 2948 2949 * win/tkWinMenu.c (TkpInitializeMenuBindings): Rename the private menu 2950 helper cmd from tk::tkWinMenuKey to tk::WinMenuKey. [Bug 721514] 2951 29522003-04-14 Mo DeJong <mdejong@users.sourceforge.net> 2953 2954 * generic/tkBind.c (TkpGetBindingXEvent): Add helper method that can be 2955 used to query the XEvent* for the currently executing binding. 2956 * generic/tkInt.h: Declare TkpGetBindingXEvent. 2957 * win/tkWinMenu.c (MenuKeyBindProc, TkWinMenuKeyObjCmd) 2958 (TkpInitializeMenuBindings): Rename MenuKeyBindProc to 2959 TkWinMenuKeyObjCmd and convert it into a Tcl command named 2960 tk::tkWinMenuKey. Bind keyboard accelerator actions to this Tcl command 2961 instead of using a native C binding. This makes it possible to extend 2962 the existing binding with Tcl code and makes the Windows version work 2963 just like the unix version. 2964 29652003-04-04 Mo DeJong <mdejong@users.sourceforge.net> 2966 2967 * unix/Makefile.in: Subst TCL_LIBS instead of DL_LIBS and MATH_LIBS. 2968 * unix/configure: Regen. 2969 * unix/configure.in: Remove SC_ENABLE_THREADS invocation. Thread 2970 support in an extension should be automatic when Tcl is compiled with 2971 thread support. Add AC_DEFINE calls to set TCL_THREADS, _REENTRANT, and 2972 _THREAD_SAFE since this was done in SC_ENABLE_THREADS. Remove socket 2973 and math lib checks since these are already done in the Tcl configure 2974 script. 2975 * unix/tcl.m4: Update from Tcl to get TCL_LIBS fix. This fixes [Bug 2976 597847] which was caused by improper linking. 2977 * unix/tkConfig.sh.in: Subst TCL_LIBS instead of MATH_LIBS and DL_LIBS. 2978 [Bug 597847] 2979 29802003-04-02 Mo DeJong <mdejong@users.sourceforge.net> 2981 2982 * win/configure: Regen. 2983 * win/configure.in: Set stub lib flag based on new LIBFLAGSUFFIX 2984 variable. 2985 * win/tcl.m4: Update from Tcl to get new LIBFLAGSUFFIX variable. 2986 29872003-04-02 Mo DeJong <mdejong@users.sourceforge.net> 2988 2989 * win/configure: Regen. 2990 * win/configure.in: Don't set TCL_DLL_FILE, TCL_LIB_FILE, 2991 TCL_STUB_LIB_FILE, TCL_STUB_LIB_FLAG, and TCL_BUILD_STUB_LIB_SPEC. 2992 These variables are already set in tclConfig.sh. Don't subst vars that 2993 are either not used, or already covered by a subst in 2994 SC_LOAD_TCLCONFIG. [Bug 691908] 2995 29962003-04-01 Mo DeJong <mdejong@users.sourceforge.net> 2997 2998 * unix/configure: Regen. 2999 * unix/tcl.m4: Update from Tcl. 3000 30012003-04-01 Don Porter <dgp@users.sourceforge.net> 3002 3003 * tests/all.tcl: Made better use of a common -loadfile 3004 * tests/constraints.tcl: to hold definitions common to all test 3005 * tests/*.test: files. 3006 30072003-03-27 Mo DeJong <mdejong@users.sourceforge.net> 3008 3009 * unix/configure: Regen. 3010 * unix/tcl.m4: Update from Tcl. 3011 30122003-03-26 Mo DeJong <mdejong@users.sourceforge.net> 3013 3014 * unix/configure: Regen. 3015 * unix/tcl.m4: Update from Tcl to get BeOS changes. 3016 30172003-03-22 Kevin Kenny <kennykb@acm.org> 3018 3019 * win/makefile.vc: 3020 * win/rules.vc: Corrected several problems that prevented OPTS=symbols 3021 from building properly. [Patch 707792] Thanks to Joe Mistachkin for the 3022 fixes. 3023 30242003-03-20 Daniel Steffen <das@users.sourceforge.net> 3025 3026 * macosx/tkMacOSXApplication.r (removed): 3027 * macosx/tkMacOSXLibrary.r (removed): 3028 * macosx/tkMacOSXResource.r (removed): 3029 * macosx/Wish.pbproj/project.pbxproj: 3030 * macosx/tkAboutDlg.r: updated copyrights, cleaned up about box, 3031 removed obsolete unused resource files. 3032 3033 * macosx/buildTkConfig.tcl: TK_DEFS space fix. 3034 30352003-03-18 Mo DeJong <mdejong@users.sourceforge.net> 3036 3037 * win/tkConfig.sh.in: Add TK_DLL_FILE entry to mirror the TCL_DLL_FILE 3038 entry in tclConfig.sh. [Patch 694271] 3039 30402003-03-18 Mo DeJong <mdejong@users.sourceforge.net> 3041 3042 * win/configure: Regen. 3043 * win/configure.in: Don't run the AC_CYGWIN macro since it uses 3044 AC_CANONICAL_HOST under autoconf 2.5X. Just check to see if __CYGWIN__ 3045 is defined by the compiler and set the ac_cv_cygwin variable based on 3046 that. [Tcl Bug 705912] 3047 30482003-03-18 Don Porter <dgp@users.sourceforge.net> 3049 3050 * tests/unixWm.test (unixWm-41.2): Corrected typo in 2003-03-13 commit. 3051 Thanks Larry Virden. [Bug 705567] 3052 30532003-03-18 Daniel Steffen <das@users.sourceforge.net> 3054 3055 * macosx/Wish.pbproj/project.pbxproj: 3056 * macosx/Makefile: 3057 * macosx/README: added support for giving 'make' the location of 3058 Tcl.framework and tclsh to build and link against. 3059 3060 * macosx/tkMacOSXXStubs.c: fixed crash in [winfo server]. 3061 30622003-03-13 Don Porter <dgp@users.sourceforge.net> 3063 3064 * tests/unixWm.test: Constrained all tests older than revision 1.21 to 3065 run only on Unix. Alternative approach did not match maintainer habits. 3066 * tests/spinbox.test (spinbox-17.4): Avoid long failure message. 3067 30682003-03-13 Mo DeJong <mdejong@users.sourceforge.net> 3069 3070 Require autoconf 2.57 or newer, see TIP 34 for a detailed explanation 3071 of why this is good. This will no doubt break the build on some 3072 platforms, let the flaming begin. 3073 3074 * unix/configure: Regen with autoconf 2.57. 3075 * unix/configure.in: Require autoconf 2.57. 3076 * unix/tcl.m4: Update from Tcl. 3077 * win/configure: Regen with autoconf 2.57. 3078 * win/configure.in: Require autoconf 2.57. 3079 * win/tcl.m4: Update from Tcl. 3080 30812003-03-12 Donal K. Fellows <fellowsd@cs.man.ac.uk> 3082 3083 * library/msgbox.tcl (tk::MessageBox): Stopped message box buttons from 3084 getting very wide, and added some compensatory space so that the 3085 smaller buttons still look nice (well, to me). [Bug 701812] 3086 30872003-03-11 Jim Ingham <jingham@apple.com> 3088 3089 * macosx/tkMacOSXMenu.c (EventuallyInvokeMenu): New function, used to 3090 invoke menu commands at idle time. 3091 (TkMacOSXDispatchMenuEvent): Don't immediately dispatch menu commands, 3092 wait till the idle loop to do so. This is more like what is done on 3093 Windows, and avoids the crash from destroying a menu in it's command. 3094 3095 * macosx/tkMacOSXHLEvents.c (ReallyKillMe): Don't force the shell to 3096 exit. According to the OS X HI guidelines, it should be possible to 3097 cancel an attempt to quit, and if we force the kill, here, it would not 3098 be possible to implement this. 3099 31002003-03-11 Mo DeJong <mdejong@users.sourceforge.net> 3101 3102 * tests/unixWm.test: Add the testwrapper constraint to tests that 3103 depend on the testwrapper command. These tests should not be run under 3104 Windows for example. 3105 31062003-03-11 Mo DeJong <mdejong@users.sourceforge.net> 3107 3108 * doc/wm.n (minimize, maximize): Remove claim that the resizable 3109 command keeps scripts from changing the size of windows since it is not 3110 true. The resizable command only applies to user sizing via user 3111 interaction. 3112 * tests/unixWm.test: Replace broken tests with the nonPortable 3113 constraint with new tests for maxsize and minsize options. These tests 3114 verify that setting the minsize and maxsize will resize the window if 3115 needed, and that the wm hints will be updated with the new sizes. 3116 * tests/wm.test: Add an exhaustive set of tests for the wm maxsize and 3117 wm minsize commands. These tests verify that setting the minsize and 3118 maxsize will resize the window if needed. These tests have only been 3119 run under Win98 and Window Maker under Linux, so further tweaking may 3120 be needed for other systems. 3121 * unix/tkUnixWm.c (UpdateGeometryInfo, UpdateSizeHints): Fixup 3122 comments and initialization for the minWidth, minHeight, maxWidth, 3123 maxHeight, width, and height members of the WmInfo struct. Check to 3124 ensure that a new toplevel window size is not larger than the maxsize 3125 or smaller than the minsize when updating the geometry at idle time. 3126 Pass new width and height values to the UpdateSizeHints method so that 3127 it can properly set the window min and max sizes for a window that 3128 cannot be resized by the user. This fixes a bug where the window 3129 resizes back to the original size when the user clicks on the window 3130 border. 3131 * win/tkWinWm.c (UpdateGeometryInfo): Fixup comments and 3132 initialization for the minWidth, minHeight, maxWidth, maxHeight, width, 3133 and height members of the WmInfo struct. Check to ensure that a new 3134 toplevel window size is not larger than the maxsize or smaller than the 3135 minsize when updating the geometry at idle time. [Patch 568861] 3136 31372003-03-11 Mo DeJong <mdejong@users.sourceforge.net> 3138 3139 * generic/tkGrid.c (GridStructureProc, ConfigureSlaves): Check for a 3140 NULL masterPtr and slavePtr in the GridStructureProc code to ensure 3141 that a Gridder created before some error condition is ignored when it 3142 comes to geometry calculations. This approach closely matches the pack 3143 implementation. Keep track of a -in argument to a grid command in order 3144 to detect the case of an already gridded widget that wants to change 3145 some options. The previous implementation could make repeated and 3146 unnecessary calls to Tk_ManageGeometry. Replace use of "parent" with 3147 "master" in comments throughout the file. 3148 * generic/tkPack.c (PackStructureProc): Check for a NULL masterPtr 3149 before other checks so that a slave created under certain error 3150 conditions is cleaned up properly. Replace use of "parent" with 3151 "master" in comments throughout the file. 3152 * generic/tkPlace.c (CreateSlave, ConfigureSlave, SlaveStructureProc): 3153 Don't call Tk_ManageGeometry in CreateSlave since this was causing 3154 incorrect results in some error cases. Rework the ConfigureSlave method 3155 so that slave setup is done in one place. The call to Tk_ManageGeometry 3156 was added to the one place where a slave is setup. When a slave is 3157 configured but the master is not changed, simply goto the 3158 scheduleLayout label. Check for a NULL master in SlaveStructureProc for 3159 the sake of readability. 3160 * tests/grid.test: 3161 * tests/pack.test: 3162 * tests/place.test: Add test to check that a winfo manager call does 3163 not return incorrect results after an error condition is hit. [Patch 3164 693063] 3165 31662003-03-11 Kevin Kenny <kennykb@users.sourceforge.net> 3167 3168 * win/makefile.vc: Backported the code that makes the makefile build 3169 pkgIndex.tcl as part of the install step. 3170 31712003-03-07 Jim Ingham <jingham@apple.com> 3172 3173 * macosx/tkMacOSXMenus.c (TkMacOSXInitMenus): No longer need to call 3174 TkMacOSXSetHelpMenuItemCount. 3175 * macosx/tkMacOSXMenu.c (TkMacOSXHelpMenuItemCount): Stub out since it 3176 is no longer need (but is in the stubs table...). 3177 (TkMacOSXDispatchMenuEvent): Get the number of system help menu items 3178 from HMGetHelpMenu. 3179 (ReconfigureMacintoshMenu): Ditto. 3180 (TkpDestroyMenu): Ditto. 3181 31822003-03-06 Donal K. Fellows <fellowsd@cs.man.ac.uk> 3183 3184 TIP#116 IMPLEMENTATION 3185 3186 * doc/FindPhoto.3: Documentation of the photo API changes due to 3187 TIP#116 3188 3189 * generic/tkImgPhoto.c (Tk_PhotoExpand, Tk_PhotoPutBlock) 3190 (Tk_PhotoPutZoomedBlock, Tk_PhotoSetSize): Added interp argument to 3191 these functions and made them return a standard Tcl result, with error 3192 indicating memory allocation failure instead of panic()ing. 3193 [See TIP #116 at http://purl.org/tcl/tip/116.html for discussion.] 3194 Each of these functions has also acquired a backward-compatability 3195 variant as well, named with a _Panic suffix. 3196 * generic.tk.decls: New API in new slots, back-compat API in old ones. 3197 * generic/tk.h (USE_PANIC_ON_PHOTO_ALLOC_FAILURE): Allow users to 3198 define this symbol to get the old 8.4 photo image API, including 3199 panic() calls when things go wrong. 3200 3201 * generic/tkImgPhoto.c (ImgPhotoCmd): Adjusted to use the new API 3202 * generic/tkImgGIF.c (FileReadGIF): discussed above. 3203 * generic/tkImgPPM.c (FileReadPPM): 3204 32052003-03-05 David Gravereaux <davygrvy@pobox.com> 3206 3207 * win/rules.vc: updated default tcl version to 8.5. 3208 32092003-03-04 Don Porter <dgp@users.sf.net> 3210 3211 * README: Bumped version number of Tk to 3212 * generic/tk.h: 8.5a0. 3213 * library/tk.tcl: 3214 * mac/README: 3215 * macosx/Wish.pbproj/project.pbxproj: 3216 * unix/README: 3217 * unix/configure.in: 3218 * unix/tk.spec: 3219 * win/README: 3220 * win/configure.in: 3221 * win/makefile.vc: 3222 * win/tcl.m4: 3223 3224 * unix/configure: autoconf 3225 * win/configure: 3226 32272003-03-03 Jeff Hobbs <jeffh@ActiveState.com> 3228 3229 *** 8.4.2 TAGGED FOR RELEASE *** 3230 32312003-02-28 Donal K. Fellows <fellowsd@cs.man.ac.uk> 3232 3233 * tests/bind.test (bind-16.44): 3234 * generic/tkBind.c (ExpandPercents): Only allow events to see those 3235 expansions that are actually valid for them, and force the substitution 3236 of the rest as "??". This stops some crashes on Windows and gets rid of 3237 bogus values everywhere. [Bug 612110] 3238 32392003-02-26 Jeff Hobbs <jeffh@ActiveState.com> 3240 3241 * macosx/README: correct 8.4.3 refs to 8.4.2. 3242 3243 * unix/README: replace version refs with version-agnostic wording. 3244 32452003-02-25 Jeff Hobbs <jeffh@ActiveState.com> 3246 3247 * win/tkWinInt.h: 3248 * win/tkWinDraw.c: 3249 * win/tkWinFont.c (Tk_DrawChars): add support for simple XOR text 3250 drawing on Windows. [Patch 685388] (martin) 3251 3252 * generic/tkMenu.c (TkMenuCleanup): make sure to reset static 3253 menusInitialized on finalize. [Bug 548729] 3254 32552003-02-25 Daniel Steffen <das@users.sourceforge.net> 3256 3257 * macosx/tkMacOSXHLEvents.c: fixed conversion of apple event parameters 3258 to posix style path names. [Bug 621672] (steffen, Benjamin Riefenstahl) 3259 3260 * macosx/tkMacOSXDialog.c: 3261 * macosx/tkMacOSXWm.c: 3262 * macosx/Wish.pbproj/project.pbxproj: 3263 * macosx/tkMacOSXUtil.c (removed): 3264 * macosx/tkMacOSXUtil.h (removed): removed all references to 3265 tkMacOSXUtil.{c,h}, made obsolete by the patch above. [Bug 621672] 3266 32672003-02-24 Jeff Hobbs <jeffh@ActiveState.com> 3268 3269 * unix/tkUnixFont.c (CreateClosestFont, CanUseFallback): use the first 3270 best font match in user font path. [Bug 647497] (dal zotto) 3271 3272 * generic/tkListbox.c (ListboxSelectionSubCmd): 3273 * tests/listbox.test: Allow 'selection includes' to respond when 3274 disabled (but only 'includes'). [Bug 632514] 3275 3276 * unix/tkUnixButton.c (TkpDisplayButton): Correct visual display of 3277 disabled check/radiobutton to be more distinctive on unix. 3278 * tests/unixButton.test: [Bug 669595] (hintermayer) 3279 3280 * doc/panedwindow.n: clarified the need to use 'update idle' when 3281 adding unmapped windows. Needs further examination. [Bug 605105] 3282 3283 * generic/tkEntry.c (SpinboxWidgetObjCmd, EntryWidgetObjCmd): 3284 * tests/entry.test: return 1 if selection is present even if 3285 * tests/spinbox.test: entry/spinbox is disabled, as selection get will 3286 still return the selection (although selection still ignore modify 3287 requests when entry/spinbox is disabled). [Bug 637828] 3288 32892003-02-24 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> 3290 3291 * tkMacOSXDialog.c (NavServicesGetFile): Fix bug with 3292 kNavCtlSetSelection - control data should be a pointer not a handle. 3293 32942003-02-21 Donal K. Fellows <fellowsd@cs.man.ac.uk> 3295 3296 * library/clrpick.tcl (color::BuildDialog): 3297 * library/msgbox.tcl (MessageBox): Yet more places that did complex 3298 and fragile width calculations instead of using grid, though with these 3299 it is the -uniform option that saves the day. 3300 3301 * library/tkfbox.tcl (file::Create): This procedure was really very 3302 crufty in how it went about creating the GUI. It is far easier and more 3303 robust to use the grid geometry manager than it is to tune the results 3304 of pack with tweaks to -width. [Bug 673722] 3305 3306 * library/comdlg.tcl (FDGetFileTypes): Set an upper limit on how long a 3307 file type item description string can get due to appending of types. 3308 [Bug 617392] 3309 3310 * tests/panedwindow.test (panedwindow-30.1): 3311 * generic/tkPanedWindow.c (DisplayPanedWindow, DisplayProxyWindow): 3312 Use the window's depth, not the screen's default depth. [Bug 671122] 3313 33142003-02-20 Daniel Steffen <das@users.sourceforge.net> 3315 3316 * library/console.tcl: (aqua & macintosh) added missing <Cmd-q> binding 3317 for corresponding Quit menu item shortcut. 3318 3319 * macosx/README: updated instructions for embedded build, added various 3320 improvements by Russell Owen. 3321 3322 * unix/tcl.m4: update from Tcl. 3323 * unix/configure: regen. 3324 33252003-02-20 Jeff Hobbs <jeffh@ActiveState.com> 3326 3327 * win/tkWinScrlbr.c (UpdateScrollbar): use SIF_DISABLENOSCROLL to 3328 "disable" scrollbar when on Windows when there is nothing to scroll. 3329 This is Windows style, and fixes [Bug 624116]. 3330 3331 * tests/panedwindow.test: 3332 * generic/tkPanedWindow.c (ValidSashIndex): corrected to note that 2 3333 panes must exist before any one sash does. [tcllib Bug 689258] 3334 33352003-02-20 Peter Spjuth <peter.spjuth@space.se> 3336 3337 * tests/panedwindow.test: 3338 * generic/tkPanedWindow.c: Fixed calculation of the last slave's size 3339 when increasing the size of the panedwindow. [Bug 689099] 3340 33412003-02-20 Donal K. Fellows <fellowsd@cs.man.ac.uk> 3342 3343 * generic/tkImgGIF.c (GetDataBlock): Removed pointless static variable 3344 ZeroDataBlock [Bug 664788] 3345 3346 * unix/tkUnixFont.c (CanUseFallback): Added argument, passed through 3347 from callers to FindSubFontForChar(), so that pointers into the old 3348 subfont table to be updated when that table is reallocated, avoiding a 3349 (sometimes fatal) FMR. [Bugs 618872, 689357] 3350 33512003-02-19 Daniel Steffen <das@users.sourceforge.net> 3352 3353 * macosx/tkMacOSXKeyEvent.c: fix for uninitialized var warning. 3354 33552003-02-19 Jim Ingham <jingham@apple.com> 3356 3357 * macosx/tkMacOSXMouseEvents.c (GeneratePollingEvents): In the case 3358 where there was a capture window, we were sending the events to the 3359 capture window. But the capture window (return value or 3360 TkMacOSXGetCapture) is always a toplevel. So this is wrong in the case 3361 that the Event's toplevel IS the capture window - in which case the 3362 event should go to the subwindow most closely containing the event. 3363 33642003-02-19 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> 3365 and Jim Ingham <jingham@apple.com> 3366 3367 This patch changes the default Tk behavior so that events are by 3368 default routed to the standard event handlers after Tk has looked at 3369 them. 3370 3371 * macosx/tkMacOSXEvent.h: Rename "handledByTk" into "stopProcessing". 3372 3373 * macosx/tkMacOSXEvent.c: Update erroneous comments and remove unused 3374 includes. 3375 (TkMacOSXProcessAppleEvent): Don't declare events handled that we did 3376 not even look at. 3377 (TkMacOSXProcessEvent): Add a comment on policy for "stopProcessing". 3378 (TkMacOSXProcessEvent): Remove "handling" of events that are not our 3379 business. 3380 (TkMacOSXProcessEvent): Rename "handledByTk" into "stopProcessing". 3381 (ReceiveAndProcessEvent): Ditto. 3382 (ReceiveAndProcessEvent): Tune error production of message. 3383 3384 * macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): Rename 3385 "handledByTk" into "stopProcessing". 3386 3387 * macosx/tkMacOSXWindowEvent.c: Ditto. 3388 3389 * macosx/tkMacOSXMouseEvent.c: Remove setting of "handledByTk". 3390 (TkMacOSXProcessMouseEvent): Handle clicks in the "traffic lights" in 3391 the window title when the window (or app) is in the background. 3392 3393 This patch changes the key event handling to use the MacOS translation 3394 mechanisms. It also improves dead key handling. 3395 3396 * macosx/tkMacOSXKeyEvent.c (InitKeyData): Add. 3397 (InitKeyEvent): Add. 3398 (DecodeViaUnicodeResource): Rename KeycodeToUnicodeViaUnicodeResource. 3399 (DecodeViaKCHRResource): Rename KeycodeToUnicodeViaKCHRResource. 3400 (GetKeyboardLayout): Use a boolean flag instead of a special layout id. 3401 (KeycodeToUnicodeViaUnicodeResource): Change interface and 3402 implementation to return a Unicode string instead of directly filling 3403 an XEvent. 3404 (KeycodeToUnicodeViaKCHRResource): Ditto. 3405 (KeycodeToUnicodeViaUnicodeResource): Add handling for callers that 3406 don't want deadkey processing (i.e. XKeycodeToKeysym). 3407 (KeycodeToUnicodeViaKCHRResource): Ditto. 3408 (KeycodeToUnicodeViaUnicodeResource): Clear deadKeyState if a character 3409 was produced. 3410 (KeycodeToUnicodeViaKCHRResource): Use CFString and current keyboard 3411 encoding instead of Tcl Tcl_ExternalToUtf() and fixed 3412 TkMacOSXCarbonEncoding. 3413 (TkMacOSXKeycodeToUnicode): Add. 3414 3415 (TkMacOSXProcessKeyboardEvent): Add some heuristics to improve keyup 3416 events. 3417 (deadKeyState): Split into deadKeyStateUp and deadKeyStateDown. 3418 (GenerateKeyEvent): Change interface and implementation to accept a 3419 Unicode string instead of individual characters. 3420 (GenerateKeyEvent): Don't generate string representations for special 3421 characters. 3422 3423 * macosx/tkMacOSXEvent.h (TkMacOSXKeycodeToUnicode): Add prototype. 3424 3425 * macosx/tkMacOSXKeyboard.c (KCHRPtr): Remove. 3426 (XKeycodeToKeysym): Use TkMacOSXKeycodeToUnicode instead of 3427 KeyTranslate. 3428 (XKeycodeToKeysym): Support latin-1 keysyms. 3429 3430 This patch reverts the hack to put icons in menus that Vince put in 3431 yesterday (but preserves the bug fix in that submission.) 3432 3433 * macosx/tkMacOSXMenu.c (SetMenuTitle): revert treating "<bullet> 3434 number" as a request to put icon number <number> in the menu. 3435 34362003-02-18 Mo DeJong <mdejong@users.sourceforge.net> 3437 3438 * doc/entry.n: 3439 * doc/text.n: Update double and triple click docs to match 3440 implementation changes made on 2002-02-14. 3441 34422003-02-19 Daniel Steffen <das@users.sourceforge.net> 3443 3444 * macosx/Wish.pbproj/project.pbxproj: 3445 * macosx/Makefile: reworked embedded build to no longer require 3446 relinking but to use install_name_tool instead to change the 3447 install_names for embedded frameworks. [Bug 644510] 3448 34492003-02-19 Donal K. Fellows <fellowsd@cs.man.ac.uk> 3450 3451 * library/demos/widget: New part for the widget demo showing 3452 * library/demos/unicodeout.tcl: Tk's UNICODE output. [Patch 627453] 3453 34542003-02-18 Andreas Kupries <andreask@activestate.com> 3455 3456 * unix/configure: Regen. 3457 * unix/tcl.m4: Update from Tcl (HP xnet [Bug 651811]). 3458 34592003-02-18 Mo DeJong <mdejong@users.sourceforge.net> 3460 3461 * unix/configure: Regen. 3462 * unix/tcl.m4: Update from Tcl. 3463 34642003-02-18 Jeff Hobbs <jeffh@ActiveState.com> 3465 3466 * generic/tkText.c (TextWidgetCmd): remove unused lastEnd var. [Bug 3467 664790] 3468 3469 * generic/tkCanvPs.c (TkPostscriptImage): remove unused depth var. [Bug 3470 664787] 3471 3472 * generic/tkEntry.c (EntrySetValue): removed unused code var. [Bug 3473 664781] 3474 3475 * library/tk.tcl (::tk::TabToWindow): auto-highlight spinboxes as well 3476 as entries when tabbing in. [Patch 683813] (bron) 3477 3478 * library/xmfbox.tcl (::tk::MotifFDialog_ActivateSEnt): correct sub on 3479 embedded newlines. [Patch 688572] (bonfield) 3480 3481 * doc/colors.n: corrected B values [Bug 682714]. 3482 3483 * win/tkWinInit.c (TkpDisplayWarning): truncate MessageBox string to 3484 1024 chars to prevent possible oversized window errors. May be 3485 necessary in other MB uses (ie Tcl_AppInit). [Tcl Bug 608559] 3486 34872003-02-18 Vince Darley <vincentdarley@users.sourceforge.net> 3488 3489 * macosx/tkMacOSXMenu.c: (SetMenuTitle) fix to utf encoding problem 3490 when setting menu titles, and provisional support for icons. [Tcl Bug 3491 625080] 3492 34932003-02-18 Donal K. Fellows <fellowsd@cs.man.ac.uk> 3494 3495 * generic/tkImgGIF.c (FileReadGIF): Ensure that the trashBuffer is 3496 always deallocated on function exit to stop a potential memory leak. 3497 34982003-02-17 Mo DeJong <mdejong@users.sourceforge.net> 3499 3500 * generic/tkEvent.c (Tk_HandleEvent): Fixup button press state saving 3501 code, it was incorrectly converting normal motion events into button 3502 press and motion events in some cases. 3503 * generic/tkInt.h: Add mouseButtonWindow member to the TkDisplay 3504 structure. 3505 * tests/event.test: Add test case for faulty button motion logic. 3506 35072003-02-14 Jeff Hobbs <jeffh@ActiveState.com> 3508 3509 * README: Bumped to 8.4.2. 3510 * generic/tk.h: 3511 * macosx/Wish.pbproj/project.pbxproj: 3512 * unix/configure: 3513 * unix/configure.in: 3514 * unix/tcl.m4: 3515 * unix/tk.spec: 3516 * win/configure: 3517 * win/configure.in: 3518 3519 * unix/tcl.m4: correct HP-UX ia64 --enable-64bit build flags 3520 35212003-02-13 Kevin Kenny <kennykb@users.sourceforge.net> 3522 3523 * doc/wish.n: Added language to describe the handling of the 3524 end-of-file character \x1A in script files. [Bug 685505] 3525 35262003-02-10 Jim Ingham <jingham@apple.com> 3527 3528 * macosx/tkMacOSXCursor.c (TkMacOSXInstallCursor): Set all theme 3529 cursors using SetThemeCursor or SetAnimatedThemeCursors. 3530 (TkGetCursorByName): Use the theme cursors for arrow, ibeam, etc. Allow 3531 animatedCursor{NUM} form for an animated cursor with count. 3532 (TkpSetCursor): Don't reset the cursor if there is no change. 3533 * macosx/tkMacOSXMouseEvent.c (GeneratePollingEvents): Don't directly 3534 call TkMacOSXInstallCursor, it gets called by the call to 3535 Tk_UpdatePointer immediately above. 3536 35372003-02-05 Fred Fish <fnf@intrinsity.com> 3538 3539 * macosx/tkMacOSXWm.c (Tk_SetGrid): Fix precedence problem with 3540 * mac/tkMacWm.c (Tk_SetGrid): '==' and '|'. 3541 35422003-02-08 Jeff Hobbs <jeffh@ActiveState.com> 3543 3544 * generic/tkCanvArc.c (CreateArc): Rework canvas create item type 3545 * generic/tkCanvBmap.c (CreateBitmap): coords handling to be 3546 * generic/tkCanvImg.c (CreateImage): consistent across types and 3547 * generic/tkCanvPoly.c (CreatePolygon): not pass empty coords to item 3548 * generic/tkCanvLine.c (CreateLine): creation procs. 3549 * generic/tkCanvText.c (CreateText): 3550 * generic/tkCanvWind.c (CreateWinItem): 3551 * generic/tkCanvas.c (CanvasWidgetCmd CANV_CREATE): 3552 * generic/tkRectOval.c (CreateRectOval): 3553 * tests/canvRect.test: 3554 * tests/canvText.test: 3555 * tests/canvas.test: 3556 35572003-01-28 Joe English <jenglish@users.sourceforge.net> 3558 3559 * generic/tkInt.h (TkDisplay,TkMainInfo): 3560 * generic/tkObj.c (windowObjType): 3561 * generic/tkWindow.c (Tk_DestroyWindow): 3562 * tests/wm.test (wm-deletion-epoch-1.1): Moved 'deletionEpoch' field 3563 from TkDisplay to TkMainInfo. Reworked windowObj type. Fixes [Bug 3564 671330] "segfault when e.g. deiconifying destroyed window" 3565 35662003-01-23 D. Richard Hipp <drh@hwaci.com> 3567 3568 * library/entry.tcl: Fix the KeyPress binding on the entry widget so 3569 that it enters text from left to right (not right to left) even if the 3570 mouse button is being held down. [Bug 673687] 3571 35722003-01-22 Donal K. Fellows <fellowsd@cs.man.ac.uk> 3573 3574 * generic/tkFrame.c (TkToplevelWindowForCommand): Added way of mapping 3575 from command names to tkwins-for-toplevels. 3576 * generic/tkImage.c (Tk_ImageObjCmd): Added check to make sure that 3577 you're not creating an image named the same as .'s command, which 3578 refixes 220891, even when the name of the command has been changed with 3579 'rename'. The error message is better too. 3580 * tests/image.test (image-1.10,image-1.11): Updated to match new error 3581 message and added test for the rename case. 3582 35832003-01-19 Jeff Hobbs <jeffh@ActiveState.com> 3584 3585 * generic/tkImage.c (DeleteImage): delete the image's entry in the 3586 image table correctly when there are no more instances. This reopens 3587 bug 220891. [Bug 669759] 3588 35892003-01-18 Jeff Hobbs <jeffh@ActiveState.com> 3590 3591 * doc/loadTk.n: note that ::safe::loadTk has a prereq on 3592 ::safe::interpCreate or ::safe::interpInit. [Bug 669159] 3593 3594 * doc/photo.n: $image put only accepts -format and -to, and note 3595 extended use of -to. 3596 35972003-01-17 D. Richard Hipp <drh@hwaci.com> 3598 3599 * generic/tkCanvUtil.c: The clipping algorithm introduced on 2003-01-08 3600 was unnecessarily aggressive in reducing the size of the clipping box. 3601 This did not cause a problem for normal display, but did create trouble 3602 for some extensions that attempt to render a canvas on a GDI printer 3603 under Windows. The patch here relaxes the constraints on the clipping 3604 box somewhat. [Bug 663981] 3605 36062003-01-14 Joe English <jenglish@users.sourceforge.net> 3607 3608 * generic/tkSelect.c (Tk_CreateSelHandler): Fix for [Bug 666346] 3609 "Selection handling crashes under KDE 3.0" 3610 * tests/unixSelect.test (unixSelect-1.20): Added test case. 3611 36122003-01-13 Mo DeJong <mdejong@users.sourceforge.net> 3613 3614 * win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd) 3615 (ChooseDirectoryValidateProc, Tk_MessageBoxObjCmd): Remove unused 3616 tsdPtr variable. Use TEXT macro instead of _T macro since _T does not 3617 work under Cygwin. Declare flags as UINT to avoid compiler warning when 3618 compiling with mingw. 3619 36202003-01-12 Mo DeJong <mdejong@users.sourceforge.net> 3621 3622 * win/Makefile.in: Add TCL_DEFS to AC_FLAGS so that compiler flags 3623 defined by Tcl get passed to the compiler. Add empty rule for cat.c so 3624 that Tk compiles under msys. 3625 * win/configure: Regen. 3626 * win/tcl.m4: Update from Tcl, this pulls in a subst of TCL_DEFS, it 3627 also defines USE_THREAD_ALLOC when threads are used and it updates the 3628 SC_ENABLE_SYMBOLS and SC_PROG_TCLSH macros to match the ones used in 3629 Tcl. 3630 36312003-01-10 Joe English <jenglish@users.sourceforge.net> 3632 3633 * unix/tkUnixEvent.c (OpenIM): Remove unused variable (Fixes: [Bug 3634 664780] "SGI warning: OpenIM") 3635 36362003-01-08 D. Richard Hipp <drh@hwaci.com> 3637 3638 * generic/tkCanvLine.c: 3639 * generic/tkCanvas.h: 3640 * generic/tkCanvUtil.c: Clip long lines so that they will display 3641 properly even on windowing systems where coordinates are expressed as 3642 16-bit numbers. [Bug 663981] 3643 36442003-01-03 Jeff Hobbs <jeffh@ActiveState.com> 3645 3646 * generic/tkFrame.c (CreateFrame): throw a Tcl error instead of a panic 3647 when we cannot get a main window and appname is NULL. This can indicate 3648 that a user tried to create a frame/toplevel while Tk was dying. [Bug 3649 661792] 3650 3651 ****************************************************************** 3652 *** CHANGELOG ENTRIES FOR 2002 AND EARLIER IN "ChangeLog.2002" *** 3653 ****************************************************************** 3654