summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Better aesthetics for the messageBox. [Bug #701812]dkf2003-03-121-0/+6
|
* 2003-03-11 Jim Ingham <jingham@apple.com>wolfsuit2003-03-121-0/+14
| | | | | | | | | | | | | | * macosx/tkMacOSXMenu.c (EventuallyInvokeMenu): New function, used to invoke menu commands at idle time. (TkMacOSXDispatchMenuEvent): Don't immediately dispatch menu commands, wait till the idle loop to do so. This is more like what is done on Windows, and avoids the crash from destroying a menu in it's command. * macosx/tkMacOSXHLEvents.c (ReallyKillMe): Don't force the shell to exit. According to the OS X HI guidelines, it should be possible to cancel an attempt to quit, and if we force the kill, here, it would not be possible to implement this.
* * tests/unixWm.test: Add the testwrappermdejong2003-03-121-0/+7
| | | | | | constraint to tests that depend on the testwrapper command. These tests should not be run under Windows for example.
* * doc/wm.n (minimize, maximize): Remove claimmdejong2003-03-121-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that the resizable command keeps scripts from changing the size of windows since it is not true. The resizable command only applies to user sizing via user interaction. * tests/unixWm.test: Replace broken tests with the nonPortable constraint with new tests for maxsize and minsize options. These tests verify that setting the minsize and maxsize will resize the window if needed, and that the wm hints will be updated with the new sizes. * tests/wm.test: Add an exhaustive set of tests for the wm maxsize and wm minsize commands. These tests verify that setting the minsize and maxsize will resize the window if needed. These tests have only been run under Win98 and Window Maker under Linux, so further tweaking may be needed for other systems. * unix/tkUnixWm.c (UpdateGeometryInfo, UpdateSizeHints): Fixup comments and initialization for the minWidth, minHeight, maxWidth, maxHeight, width, and height members of the WmInfo struct. Check to ensure that a new toplevel window size is not larger than the maxsize or smaller than the minsize when updating the geometry at idle time. Pass new width and height values to the UpdateSizeHints method so that it can properly set the window min and max sizes for a window that cannot be resized by the user. This fixes a bug where the window resizes back to the original size when the user clicks on the window border. * win/tkWinWm.c (UpdateGeometryInfo): Fixup comments and initialization for the minWidth, minHeight, maxWidth, maxHeight, width, and height members of the WmInfo struct. Check to ensure that a new toplevel window size is not larger than the maxsize or smaller than the minsize when updating the geometry at idle time. [Patch 568861]
* * generic/tkGrid.c (GridStructureProc, ConfigureSlaves):mdejong2003-03-121-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check for a NULL masterPtr and slavePtr in the GridStructureProc code to ensure that a Gridder created before some error condition is ignored when it comes to geometry calculations. This approach closely matches the pack implementation. Keep track of a -in argument to a grid command in order to detect the case of an already gridded widget that wants to change some options. The previous implementation could make repeated and unnecessary calls to Tk_ManageGeometry. Replace use of "parent" with "master" in comments throughout the file. * generic/tkPack.c (PackStructureProc): Check for a NULL masterPtr before other checks so that a slave created under certain error conditions is cleaned up properly. Replace use of "parent" with "master" in comments throughout the file. * generic/tkPlace.c (CreateSlave, ConfigureSlave, SlaveStructureProc): Don't call Tk_ManageGeometry in CreateSlave since this was causing incorrect results in some error cases. Rework the ConfigureSlave method so that slave setup is done in one place. The call to Tk_ManageGeometry was added to the one place where a slave is setup. When a slave is configured but the master is not changed, simply goto the scheduleLayout label. Check for a NULL master in SlaveStructureProc for the sake of readability. * tests/grid.test: * tests/pack.test: * tests/place.test: Add test to check that a winfo manager call does not return incorrect results after an error condition is hit. [Patch 693063]
* Backported the code that makes the makefile build pkgIndex.tcl as part Kevin B Kenny2003-03-111-0/+5
| | | | of the install step.
* Fix a bug with MacOS X Tk's handling of the help menu. The code expected thewolfsuit2003-03-081-0/+11
| | | | | MacOS 9 behavior, which was to insert a separator item after the system help menus, but this doesn't happen on X...
* Documentation changes due to TIP#116dkf2003-03-061-14/+17
|
* TIP#116 implementation. Docs still to come, tests will never be done becausedkf2003-03-061-0/+18
| | | | | they could never be done portably as they'd inevitably depend on the total amount of memory available to the process... :^(
* no messagedavygrvy2003-03-061-0/+4
|
* * README: Bumped version number ofdgp2003-03-041-0/+18
| | | | | | | | | | | | | | | | | * generic/tk.h: Tk to 8.5a0. * library/tk.tcl: * mac/README: * macosx/Wish.pbproj/project.pbxproj: * unix/README: * unix/configure.in: * unix/tk.spec: * win/README: * win/configure.in: * win/makefile.vc: * win/tcl.m4: * unix/configure: autoconf * win/configure:
* mark Mar 3 date for 8.4.2core_8_4_2hobbs2003-03-031-0/+4
|
* Make all %-expansions generate ?? when their event doesn't have the rightdkf2003-02-281-0/+8
| | | | underlying field to prevent a crash on Windows. [Bug #612110]
* see ChangeLoghobbs2003-02-271-0/+6
|
* * win/tkWinInt.h:hobbs2003-02-261-0/+5
| | | | | | * win/tkWinDraw.c: * win/tkWinFont.c (Tk_DrawChars): add support for simple XOR text drawing on Windows. [Patch #685388] (martin)
* * generic/tkMenu.c (TkMenuCleanup): make sure to reset statichobbs2003-02-261-0/+5
| | | | menusInitialized on finalize. [Bug #548729]
* * macosx/tkMacOSXHLEvents.c: fixed conversion of apple eventdas2003-02-251-0/+13
| | | | | | | | | | | | parameters to posix style path names. [Bug #621672] (steffen, Benjamin Riefenstahl) * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXWm.c: * macosx/Wish.pbproj/project.pbxproj: * macosx/tkMacOSXUtil.c (removed): * macosx/tkMacOSXUtil.h (removed): removed all references to tkMacOSXUtil.{c,h}, made obsolete by the patch above. [Bug #621672]
* * unix/tkUnixFont.c (CreateClosestFont, CanUseFallback): use thehobbs2003-02-251-0/+3
| | | | first best font match in user font path. [Bug #647497] (dal zotto)
* * generic/tkListbox.c (ListboxSelectionSubCmd):hobbs2003-02-251-0/+4
| | | | | * tests/listbox.test: Allow 'selection includes' to respond when disabled (but only 'includes'). [Bug #632514]
* * unix/tkUnixButton.c (TkpDisplayButton): Correct visual displayhobbs2003-02-251-0/+7
| | | | | of disabled check/radiobutton to be more distinctive on unix. * tests/unixButton.test: [Bug #669595] (hintermayer)
* * generic/tkEntry.c (SpinboxWidgetObjCmd, EntryWidgetObjCmd):hobbs2003-02-251-0/+8
| | | | | | | * tests/entry.test: return 1 if selection is present even if * tests/spinbox.test: entry/spinbox is disabled, as selection get will still return the selection (although selection still ignore modify requests when entry/spinbox is disabled). [Bug #637828]
* 2003-02-24 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>wolfsuit2003-02-241-0/+6
| | | | | | * tkMacOSXDialog.c (NavServicesGetFile): Fix bug with kNavCtlSetSelection - control data should be a pointer not a handle.
* * library/clrpick.tcl (color::BuildDialog):dkf2003-02-211-0/+5
| | | | | | * library/msgbox.tcl (MessageBox): Yet more places that did complex and fragile width calculations instead of using grid, though with these it is the -uniform option that saves the day.
* Made the standard file dialogs use [grid] for their bottom area [Bug #673722]dkf2003-02-211-0/+5
|
* * library/comdlg.tcl (FDGetFileTypes): Set an upper limit on howdkf2003-02-211-0/+4
| | | | | long a file type item description string can get due to appending of types. [Bug #617392]
* Use the panedwindow's depth, not the screen's default depth. [Bug #671122]dkf2003-02-211-0/+6
|
* * library/console.tcl: (aqua & macintosh) added missing <Cmd-q>das2003-02-211-0/+11
| | | | | | | | | | binding for corresponding Quit menu item shortcut. * macosx/README: updated instructions for embedded build, added various improvements by Russell Owen. * unix/tcl.m4: update from Tcl. * unix/configure: regen.
* * win/tkWinScrlbr.c (UpdateScrollbar): use SIF_DISABLENOSCROLL tohobbs2003-02-211-0/+10
| | | | | "disable" scrollbar when on Windows when there is nothing to scroll. This is Windows style, and fixes [Bug #624116].
* Fixed calculation of the last slave'spspjuth2003-02-201-0/+6
| | | | size when increasing the size of the panedwindow. [Bug #689099]
* Removed pointless static variable ZeroDataBlock from tkImgGIF.c [Bug #664788]dkf2003-02-201-0/+3
| | | | It served no useful purpose whatsoever...
* Removed potentially fatal FMR in Unix font handling. No test because anydkf2003-02-201-0/+8
| | | | test would be very platform- and build-specific. [Bugs #618872 and #689357]
* * macosx/tkMacOSXKeyEvent.c: fix for uninitialized var warning.das2003-02-201-39/+43
|
* 2003-02-19 Jim Ingham <jingham@apple.com>wolfsuit2003-02-191-0/+10
| | | | | | | | | | | | * tkMacOSXMouseEvents.c (GeneratePollingEvents): In the case where there was a capture window, we were sending the events to the capture window. But the capture window (return value or TkMacOSXGetCapture) is always a toplevel. So this is wrong in the case that the Event's toplevel IS the capture window - in which case the event should go to the subwindow most closely containing the event. Fixes bug #688188
* This submission contains a slightly reworked & cleaned up version ofwolfsuit2003-02-191-0/+84
| | | | | | | | | | two parts of the patches in Patch Tracker #622582 - new-evthdlng.2003-02-12.diff and basic-keyboard.2003-02-10.diff. The second part puts translation of MacOS X keycodes to characters on a better footing. The first part relaxs Tk's policy of consuming all events unless it can see they go to windows it didn't create. This change gets the little traffic lights working, and should make things like QuickTimeTcl easier to implement.
* * doc/entry.n:mdejong2003-02-191-0/+7
| | | | | | * doc/text.n: Update double and triple click docs to match implementation changes made on 2002-02-14.
* added missing bug #das2003-02-191-1/+1
|
* added missing bug #das2003-02-191-1/+1
|
* * macosx/Wish.pbproj/project.pbxproj:das2003-02-191-0/+7
| | | | | | * macosx/Makefile: reworked embedded build to no longer require relinking but to use install_name_tool instead to change the install_names for embedded frameworks.
* New part for the widget demo showing Tk's UNICODE output. [Patch #627453]dkf2003-02-191-0/+5
|
* * unix/configure: Regen.andreas_kupries2003-02-191-0/+5
| | | | * unix/tcl.m4: Update from Tcl (HP xnet [Bug #651811]).
* * unix/configure: Regen.mdejong2003-02-191-0/+5
| | | | * unix/tcl.m4: Update from Tcl.
* see ChangeLoghobbs2003-02-181-0/+9
|
* * library/tk.tcl (::tk::TabToWindow): auto-highlight spinboxes ashobbs2003-02-181-0/+3
| | | | well as entries when tabbing in. [Patch #683813] (bron)
* * library/xmfbox.tcl (::tk::MotifFDialog_ActivateSEnt): correcthobbs2003-02-181-0/+3
| | | | sub on embedded newlines. [Patch #688572] (bonfield)
* corrected B values [Bug #682714]hobbs2003-02-181-0/+2
|
* * win/tkWinInit.c (TkpDisplayWarning): truncate MessageBox stringhobbs2003-02-181-0/+6
| | | | | to 1024 chars to prevent possible oversized window errors. May be necessary in other MB uses (ie Tcl_AppInit). [Tcl Bug #608559]
* menu title encodingsvincentdarley2003-02-181-0/+6
|
* * generic/tkImgGIF.c (FileReadGIF): Ensure that the trashBuffer isdkf2003-02-181-0/+5
| | | | always deallocated on function exit to stop a potential memory leak.
* fix date in ChangeLog entrymdejong2003-02-181-1/+1
|
* * generic/tkEvent.c (Tk_HandleEvent): Fixup buttonmdejong2003-02-181-0/+11
| | | | | | | | | | press state saving code, it was incorrectly converting normal motion events into button press and motion events in some cases. * generic/tkInt.h: Add mouseButtonWindow member to the TkDisplay structure. * tests/event.test: Add test case for faulty button motion logic.