summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * doc/wm.n (minimize, maximize): Remove claimmdejong2003-03-126-61/+367
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-127-99/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-112-1/+13
| | | | of the install step.
* Fix a bug with MacOS X Tk's handling of the help menu. The code expected thewolfsuit2003-03-083-23/+27
| | | | | 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-062-34/+66
|
* TIP#116 implementation. Docs still to come, tests will never be done becausedkf2003-03-068-76/+295
| | | | | 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
|
* updated default tcl version to 8.5davygrvy2003-03-061-2/+2
|
* * README: Bumped version number ofdgp2003-03-0415-69/+87
| | | | | | | | | | | | | | | | | * 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-032-2/+6
|
* Added credits to changesdkf2003-03-031-30/+39
|
* updated changes for 8.4.2 release drafted by dkfdgp2003-03-031-1/+102
|
* Make all %-expansions generate ?? when their event doesn't have the rightdkf2003-02-283-58/+108
| | | | underlying field to prevent a crash on Windows. [Bug #612110]
* see ChangeLoghobbs2003-02-271-0/+6
|
* correct 8.4.3 refs to 8.4.2hobbs2003-02-271-3/+3
|
* replace version refs with version-agnostic wordinghobbs2003-02-271-5/+6
|
* * win/tkWinInt.h:hobbs2003-02-264-7/+47
| | | | | | * 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-262-2/+35
| | | | menusInitialized on finalize. [Bug #548729]
* Added the 'aete' resource defining the doscript event, and adding it to the ↵wolfsuit2003-02-253-205/+1103
| | | | Wish target.
* * macosx/tkMacOSXHLEvents.c: fixed conversion of apple eventdas2003-02-251-2/+2
| | | | | parameters to posix style path names. [Bug #621672] (steffen, Benjamin Riefenstahl)
* * macosx/tkMacOSXHLEvents.c: fixed conversion of apple eventdas2003-02-257-459/+78
| | | | | | | | | | | | 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-252-4/+7
| | | | first best font match in user font path. [Bug #647497] (dal zotto)
* * generic/tkListbox.c (ListboxSelectionSubCmd):hobbs2003-02-253-12/+33
| | | | | * tests/listbox.test: Allow 'selection includes' to respond when disabled (but only 'includes'). [Bug #632514]
* * unix/tkUnixButton.c (TkpDisplayButton): Correct visual displayhobbs2003-02-253-27/+70
| | | | | of disabled check/radiobutton to be more distinctive on unix. * tests/unixButton.test: [Bug #669595] (hintermayer)
* * doc/panedwindow.n: clarified the need to use 'update idle' whenhobbs2003-02-251-2/+6
| | | | adding unmapped windows. Needs further examination. [Bug #605105]
* * generic/tkEntry.c (SpinboxWidgetObjCmd, EntryWidgetObjCmd):hobbs2003-02-254-15/+54
| | | | | | | * 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-242-2/+8
| | | | | | * tkMacOSXDialog.c (NavServicesGetFile): Fix bug with kNavCtlSetSelection - control data should be a pointer not a handle.
* * library/clrpick.tcl (color::BuildDialog):dkf2003-02-213-16/+17
| | | | | | * 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-212-52/+38
|
* * library/comdlg.tcl (FDGetFileTypes): Set an upper limit on howdkf2003-02-212-2/+14
| | | | | long a file type item description string can get due to appending of types. [Bug #617392]
* Typo fix from Georgios Petasis, and commented-out-code removal.dkf2003-02-211-18/+2
|
* Use the panedwindow's depth, not the screen's default depth. [Bug #671122]dkf2003-02-214-6/+24
|
* * library/console.tcl: (aqua & macintosh) added missing <Cmd-q>das2003-02-215-70/+87
| | | | | | | | | | 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-212-1/+17
| | | | | "disable" scrollbar when on Windows when there is nothing to scroll. This is Windows style, and fixes [Bug #624116].
* * tests/panedwindow.test:hobbs2003-02-212-35/+57
| | | | | * generic/tkPanedWindow.c (ValidSashIndex): corrected to note that 2 panes must exist before any one sash does. [tcllib Bug #689258]
* Fixed calculation of the last slave'spspjuth2003-02-203-6/+57
| | | | size when increasing the size of the panedwindow. [Bug #689099]
* Removed pointless static variable ZeroDataBlock from tkImgGIF.c [Bug #664788]dkf2003-02-202-5/+4
| | | | It served no useful purpose whatsoever...
* Removed potentially fatal FMR in Unix font handling. No test because anydkf2003-02-202-22/+56
| | | | test would be very platform- and build-specific. [Bugs #618872 and #689357]
* * macosx/tkMacOSXKeyEvent.c: fix for uninitialized var warning.das2003-02-202-40/+44
|
* 2003-02-19 Jim Ingham <jingham@apple.com>wolfsuit2003-02-192-34/+32
| | | | | | | | | | | | * 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-199-1275/+1188
| | | | | | | | | | 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-193-6/+13
| | | | | | * 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-193-18/+197
| | | | | | * 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-193-1/+101
|
* * unix/configure: Regen.andreas_kupries2003-02-193-124/+136
| | | | * unix/tcl.m4: Update from Tcl (HP xnet [Bug #651811]).
* * unix/configure: Regen.mdejong2003-02-193-168/+179
| | | | * unix/tcl.m4: Update from Tcl.
* see ChangeLoghobbs2003-02-181-0/+9
|
* (EntrySetValue): removed unused code var. [Bug #664781]hobbs2003-02-181-3/+3
|