summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Fix double-free in style engine [Bug #798211]jenglish2003-10-061-115/+12
|
* Private functions should be either static or prefixed with 'Tk' (thanks GPS!)dkf2003-09-294-17/+17
|
* Fixed memory leak (bug 802435)chengyemao2003-09-201-11/+11
|
* Fixed a small mistake in previous checkin.pspjuth2003-09-181-5/+6
|
* Implementation of TIP#147, "Make Grid's Column/Row Configure Easier".pspjuth2003-09-181-110/+170
|
* * generic/tkImage.c: Stopped [image create] from generating andgp2003-09-171-4/+7
| | | | | * tests/image.test: image command name that would overwrite an existing command name. Thanks to Michael Schlenker. [Bug 808039].
* Reworked a part of grid's geometry computationspspjuth2003-09-161-20/+86
| | | | to handle some tricky cases better. [Bug #792387]
* * doc/wish.1: Implementation of TIPs 137/151.dgp2003-09-051-23/+43
| | | | | | | | | | | * generic/tkMain.c (Tk_MainEx): Added recognition of the -encoding * tests/main.test: command line option by Tk_MainEx() and thus by wish, and any other program built on Tk_MainEx(). [Patch 800139]. This is a ***POTENTIAL INCOMPATIBILITY*** only for those C programs that embed Tcl and Tk, build on Tk_MainEx(), and make use of Tk_MainEx's former ability to pass a leading "-encoding" option to interactive shell operations.
* Removed unused variable [Bug 664783]dkf2003-08-271-3/+2
|
* Use Tcl_Obj-based interfaces for working with user-supplied font maps.dkf2003-08-201-27/+24
|
* * generic/tkPanedWindow.c(PanedWindowWorldChanged):jenglish2003-08-191-2/+3
| | | | | Set window background from the -background resource. Fixes [BUG #791500 "PanedWindow refresh glitches on X"]
* Faster color data parsing code for the [$photo put] subcommand.dkf2003-08-151-21/+52
|
* * generic/tkEvent.c (Tk_HandleEvent): correct XCreateIC call forhobbs2003-07-191-3/+12
| | | | TK_XIM_SPOT usage. [Bug 742660] (takahashi)
* MacOSX native dialogvincentdarley2003-07-181-2/+2
|
* MacOSX fixesvincentdarley2003-07-181-2/+2
|
* Fix for [Bug 702230], and an evil bug it is too!dkf2003-07-181-1/+9
|
* Try harder to avoid zero-length malloc()s... [Bug 404421]dkf2003-07-171-25/+38
|
* Rearranged code in ImgPhotoCmd to not use confusing fallthroughs in switches.dkf2003-07-171-28/+19
| | | | | [Bug 771988] Also TAB Police in Changelog...
* * generic/tkPack.c (ConfigureSlaves): silence compiler warningdgp2003-07-171-2/+2
| | | | [Bug 771982]
* * generic/tkPanedWindow.c (ArrangePanes): Ensure that the last panehobbs2003-07-171-3/+9
| | | | | * tests/panedwindow.test: shrinks instead of being clipped when resized below the reqsize. [Bug 748277] (spjuth)
* Make sure all options can be setpspjuth2003-07-161-2/+5
| | | | to their default value. [Bug #697652]
* * generic/tkWindow.c (Initialize): do not free uninit'ed dstring.hobbs2003-07-161-2/+1
| | | | [Bug 755906] (mistachkin)
* * generic/tkTextDisp.c (DisplayText): correct use of textPtr datahobbs2003-07-071-6/+3
| | | | with respect to Tcl_Release time. [Bug #767009]
* Fixed [Bug 749353] by making the removal of masters from the global image tabledkf2003-07-071-7/+21
| | | | | | | | aggressive when the interp is being deleted, and making the deletion code always check to see whether it should actually be deleting an entry or not. No tests as it comes under the heading of crash-on-bug, and the bug is not easy to excite (it requires a full script and interpreter deletion with lots of events about.)
* fix to menu clone deletion bugvincentdarley2003-05-303-71/+164
|
* text widget cleanup fixvincentdarley2003-05-274-41/+55
|
* The panedwindow widget now sizes right around unmapped windows. [Bug 738143]dkf2003-05-211-3/+10
|
* D'oh! Zero and one are not the same thing...dkf2003-05-211-138/+160
|
* Fixed test suite breakage that I inadvertently introduced [Bug 739965]dkf2003-05-191-21/+28
|
* Stopped warnings about signed/unsigned and strncmp() and added missing ↵dkf2003-05-193-86/+128
| | | | forward decl
* tip 113 implementationvincentdarley2003-05-1915-2502/+3652
|
* * generic/tkCanvPoly.c (PolygonToPostscript):hobbs2003-05-111-3/+6
| | | | | * tests/canvPs.test: correct crash when generating postscript for a single-line polygon (point) with no color. [Bug #734498] (wilm)
* Stop deleted images from showing up in the various [image *] operations.dkf2003-05-081-2/+37
| | | | Can't delete early though as that removes the link with widgets and image names.
* * generic/tkButton.h: Rewrote the handlinghobbs2003-04-262-18/+28
| | | | | | | | | | * generic/tkButton.c (TkButtonWorldChanged): of compound *buttons * mac/tkMacButton.c (TkpDisplayButton): to correctly display * macosx/tkMacOSXButton.c (TkpDisplayButton): mixture of disabledfg, * unix/tkUnixButton.c (TkpDisplayButton): selectcolor, indicator, * win/tkWinButton.c (TkpDisplayButton): etc. *buttons will now only stipple the image, unless no disabledfg is given, in which case it will stipple the whole button.
* * generic/tkCanvBmap.c: s/CreateBitmap/TkcCreateBitmap as Windowshobbs2003-04-181-5/+5
| | | | has a CreateBitmap function already.
* * generic/tkCursor.c: s/GetCursor/TkcGetCursor as Windows has ahobbs2003-04-181-7/+7
| | | | GetCursor func already, which causes compiler warnings.
* * generic/tkBind.c (TkpGetBindingXEvent): Add helper methodmdejong2003-04-142-3/+31
| | | | | | | | | | | | | | that can be used to query the XEvent* for the currently executing binding. * generic/tkInt.h: Declare TkpGetBindingXEvent. * win/tkWinMenu.c (MenuKeyBindProc, TkWinMenuKeyObjCmd, TkpInitializeMenuBindings): Rename MenuKeyBindProc to TkWinMenuKeyObjCmd and convert it into a Tcl command named tk::tkWinMenuKey. Bind keyboard accelerator actions to this Tcl command instead of using a native C binding. This makes it possible to extend the existing binding with Tcl code and makes the Windows version work just like the unix version.
* * generic/tkGrid.c (GridStructureProc, ConfigureSlaves):mdejong2003-03-123-96/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]
* TIP#116 implementation. Docs still to come, tests will never be done becausedkf2003-03-067-76/+277
| | | | | they could never be done portably as they'd inevitably depend on the total amount of memory available to the process... :^(
* * README: Bumped version number ofdgp2003-03-041-8/+8
| | | | | | | | | | | | | | | | | * 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:
* Make all %-expansions generate ?? when their event doesn't have the rightdkf2003-02-281-57/+92
| | | | underlying field to prevent a crash on Windows. [Bug #612110]
* * generic/tkMenu.c (TkMenuCleanup): make sure to reset statichobbs2003-02-261-2/+30
| | | | menusInitialized on finalize. [Bug #548729]
* * generic/tkListbox.c (ListboxSelectionSubCmd):hobbs2003-02-251-11/+15
| | | | | * tests/listbox.test: Allow 'selection includes' to respond when disabled (but only 'includes'). [Bug #632514]
* * generic/tkEntry.c (SpinboxWidgetObjCmd, EntryWidgetObjCmd):hobbs2003-02-251-13/+14
| | | | | | | * 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]
* Use the panedwindow's depth, not the screen's default depth. [Bug #671122]dkf2003-02-211-5/+3
|
* * tests/panedwindow.test:hobbs2003-02-211-3/+6
| | | | | * 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-201-5/+3
| | | | size when increasing the size of the panedwindow. [Bug #689099]
* Removed pointless static variable ZeroDataBlock from tkImgGIF.c [Bug #664788]dkf2003-02-201-5/+1
| | | | It served no useful purpose whatsoever...
* (EntrySetValue): removed unused code var. [Bug #664781]hobbs2003-02-181-3/+3
|
* (TkPostscriptImage): remove unused depth var. [Bug #664787]hobbs2003-02-181-3/+2
|