summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkOption.c (OptionThreadExitProc): freed tsd optionhobbs2002-04-121-1/+38
| | | | | stacks on thread exit. (Tk_GetOption): free mem used to get Tk_Uid
* generic/tkMenu.c (ConfigureMenu): freed saved options in all error caseshobbs2002-04-121-9/+14
|
* * generic/tkConsole.c (ConsoleCmd): correct return that shouldhobbs2002-04-121-2/+2
| | | | have just set result code.
* * generic/tkImgPhoto.c: Added PhotoFormatThreadExitProc to cleanhobbs2002-04-121-116/+171
| | | | up on thread exit. (Tk_PhotoPutBlock) slight code updates
* * generic/tkPanedWindow.c (DestroyPanedWindow, ConfigureSlaves):hobbs2002-04-121-3/+7
| | | | fix mem leaks in not freeing slave info
* * win/tkWinButton.c (TkpDisplayButton):hobbs2002-04-053-23/+32
| | | | | | * generic/tkTextMark.c (TkTextInsertDisplayProc): * generic/tkCanvText.c (DisplayCanvText): * generic/tkEntry.c (DisplayEntry): added Tk_SetCaretPos calls.
* * unix/tkUnixEvent.c:hobbs2002-04-051-71/+2
| | | | | | * generic/tkWindow.c: moved OpenIM over to tkUnixEvent.c. Removed setting inputContext to null in Tk_MakeWindowExist as it was redundant.
* * generic/tkInt.h: added TK_XIM_SPOT #define (default 1).hobbs2002-04-052-15/+60
| | | | | | | | Added XFontSet attribute to TkDisplay when TK_XIM_SPOT is true. * generic/tkEvent.c (Tk_HandleEvent): made sure inputContexts are not getting created on DestroyNotify events (for dead windows). Added over-the-spot support if TK_XIM_SPOT is defined (default). The is the nicer XIM behavior, but uses a bit more memory.
* * generic/tkStubInit.c:hobbs2002-04-053-3/+18
| | | | | | | | | * generic/tkDecls.h: * generic/tk.decls: added Tk_SetCaretPos declaration. This command allows users to indicate the cursor position and is used by XIM (Unix) or IME (Windows) to place the caret box correctly. It is also part of correct Accessibility style on Windows to make the magnifier jump to the focus point.
* * Updates to handle change in type of part2 argument ofdgp2002-03-208-26/+26
| | | | Tcl_VarTraceProc typedef. [TIP 27] [Patch 532644].
* * generic/tkOldConfig.c (Tk_ConfigureValue): prevent leavinghobbs2002-03-201-1/+7
| | | | interp->result as NULL.
* Bumped patchlevel; might need changing in the future, but it makes lifedkf2002-03-061-3/+3
| | | | easier for now.
* * generic/tkWindow.c (Tk_MainWindow, Tk_GetNumMainWindows):hobbs2002-02-271-5/+23
| | | | | protect against being called before Tcl stubs are init'ed. [Bug #220916] (porter)
* * generic/tkText.c (ConfigureText): reenable the blinking cursorhobbs2002-02-261-1/+11
| | | | on state change where necessary. [Bug #503772]
* * tests/listbox.test:hobbs2002-02-261-80/+100
| | | | | * generic/tkListbox.c: corrected error handling when setting to an invalid listvar value. [Bug #503613]
* * generic/tkPanedWindow.c (PanedWindowWidgetObjCmd): fixed returnshobbs2002-02-221-12/+17
| | | | | that should have been breaks instead. Corrected .pw configure handling for insufficient args. [Patch #521436] (boudaillier)
* TIP #41 implementation, panedwindow [Patch #512503] (melski)hobbs2002-02-223-2/+2787
|
* * generic/tkOption.c (ReadOptionFile): fixed Tcl_Seek casting tohobbs2002-02-221-3/+3
| | | | remove warnings (we expect no option files with be > 2GB).
* Minor fixes as part of TIP#72 (and one just noticed in passing)dkf2002-02-193-8/+8
|
* tkImgGIF.c was not following the Tcl C style; fixed...dkf2002-02-191-571/+676
|
* * modified some callers of Tcl routines thatdgp2002-02-081-3/+2
| | | | were restored to return (char *) pointing into Tcl_DStrings.
* Clean-up bogus for loop in [image inuse] subcommand. [Bug #485803]ericm2002-02-031-7/+3
|
* * generic/tkCmds.c (Tk_TkObjCmd): don't use 'bool' as an arg as ithobbs2002-02-021-4/+4
| | | | conflicts with the C99 spec. [Bug #511956] (ingham)
* Final part of TIP#14 support (photo image transparency access); the C APIdkf2002-02-011-112/+251
| | | | stuff has been in there for ages for some reason...
* Correct and test for logic error when cloning menus. Bug 508988uid382262002-01-311-2/+2
|
* * The POTENTIAL INCOMPATIBILITY in the changingdgp2002-01-312-5/+5
| | | | | interface of Tk_ParseArgv can now be removed by the -DUSE_NON_CONST compiler flag.
* * generic/tkFileFilter.c:das2002-01-271-10/+10
| | | | | | * mac/tkMacInit.c: * mac/tkMacKeyboard.c: * mac/tkMacMenus.c: TIP 27 CONSTification induced changes
* * Updated callers of Tcl_SplitList and Tcl_Merge.dgp2002-01-2525-178/+199
| | | | | | | | | * Updated callers of Tcl_GetStringResult. Rewrote PrintScrollFractions to ScrollFractions to stop scribbling directly on interp->result. * Updated callers of Tcl_GetVar, Tcl_GetVar2 * Updated callers of Tcl_SplitPath, Tcl_JoinPath, and Tcl_TranslateFileName.
* * generic/tkListbox.c (ChangeListboxOffset): improved trackinghobbs2002-01-181-1/+5
| | | | when scrolling on x axis with entry/text. [Bug #225025] (voskuil)
* * An overlooked caller of Tcl_GetIndexFromObj() and a style fix.dgp2002-01-171-6/+6
|
* * Updates to handle change in type of tablePtrdgp2002-01-1728-108/+126
| | | | | argument of Tcl_GetIndexFromObj(Struct) from (char **) to (CONST char **). [TIP 27] [Patch 504705]
* * Updated callers of Tcl_Utf* and Tcl_Regexp* APIs to reflect TIP 27dgp2002-01-175-14/+17
| | | | API changes (see Tcl Patch 471509). [Patch 471513]
* * Updated callers of CONSTified Tcl interfaces Tcl_EvalFile anddgp2002-01-151-2/+3
| | | | TclGetStartupScriptFileName.
* * Updated Tk's console to CONSTified channel driver interface.dgp2002-01-152-7/+4
| | | | [Tcl Patch 503565, Tk Patch 503983]
* * Updated Tk's console to CONSTified channel driver interface.dgp2002-01-151-4/+4
| | | | [Tcl Patch 503565, Tk Patch 503983]
* * generic/tkBind.c (TkBindFree):dgp2002-01-043-14/+14
| | | | | | * generic/tkGrid.c (ResolveConstraints,CheckSlotData,DestroyGrid): * generic/tkSelect.c (Tk_DeleteSelHandler,TkSelDeadWindow): Replaced Tcl_Free calls with ckfree so that memory debugging is fully supported.
* * generic/tkButton.c (ButtonTextVarProc): guard against beinghobbs2001-12-281-2/+6
| | | | called while the *button/label is being deleted. [Bug #490051]
* Added panic in ImgPhotoInstanceSetSize in case of failure to get pixmapchengyemao2001-12-071-1/+5
|
* * generic/tkText.c:hobbs2001-12-052-20/+20
| | | | | * generic/tkText.h: changed TkTextEditType enums to be prefaced with TK_EDIT_ to prevent name collision.
* Add TK patch 481148 to implement TIP 74, themdejong2001-12-043-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | wm stackorder command. * doc/winfo.n: Update documentation for the winfo children command to indicate that top-level windows are not returned in stacking order. * doc/wm.n: Add documentation for wm stackorder. * generic/tkInt.decls (TkWmStackorderToplevel): Add decl for new function. * generic/tkIntDecls.h: Regen. * generic/tkStubInit.c: Regen. * tests/unixWm.test: Add stackorder command to test for wm command usage message. * tests/wm.test: Add new set of tests for generic window manager methods. * unix/tkUnixWm.c (Tk_WmCmd, TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): Add unix implementation of new wm stackorder command. * win/tkWinWm.c (Tk_WmCmd, TkWmStackorderToplevelEnumProc, TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): Add windows implementation of new wm stackorder command.
* ** upport to 8.4 of mac code changes for 8.3.3 & various newdas2001-11-2310-450/+178
| | | | | | ** changes for 8.4, some already backported to 8.3.4 (patch #435660) see ChangeLog for details
* added static to TextGetText and popStack func definitionshobbs2001-11-211-3/+3
|
* (DestroyText): plugged mem leak when not clearing stack (callewaert)hobbs2001-11-211-8/+8
| | | | (TextGetText): more efficient string size calculation (darley)
* * generic/tkText.c (TextGetText): reworked to use DString forhobbs2001-11-201-54/+58
| | | | improved speed. (callewaert, darley)
* added TIP#26 text widget undo/redo functionalityhobbs2001-11-133-81/+682
|
* Minor fixes to TkCursor.nextPtr field handling [adapted from Patch 473875]dkf2001-10-231-3/+3
|
* * generic/tkWindow.c (OpenIM): Added simple XIM patch to enablehobbs2001-10-161-1/+6
| | | | basic XIM input on Unix. [Patch #412727] (fabian)
* implementation of TIP 63 (accepted) -compound option to menu items.macosx_8_4_branchpointtmh2001-10-124-15/+34
|
* Added -uniform option to grid's row/columnconfigure.pspjuth2001-09-301-6/+139
|
* Added labelframe widget. TIP#18.pspjuth2001-09-263-60/+937
|