summaryrefslogtreecommitdiffstats
path: root/generic/tkMenu.c
Commit message (Collapse)AuthorAgeFilesLines
* fix to menu clone deletion bugvincentdarley2003-05-301-60/+138
| | | FossilOrigin-Name: e5b874d6ec327a36357e0f3b3a8d95992542a7e4
* * generic/tkMenu.c (TkMenuCleanup): make sure to reset statichobbs2003-02-261-2/+30
| | | | | | menusInitialized on finalize. [Bug #548729] FossilOrigin-Name: 70cc1ff0649cb673ee672027f8a94065bb7f1536
* Applied companion patch for Tcl Patch 585105,dgp2002-08-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | updating Tk to use Tcl 8.4's fully CONST-ified interface, and fully CONSTifying Tk at the same time. This patch includes purging Tk of its last direct access to interp->result. [Bug 589853] The substantial changes include copying event sequence strings into Tcl_DStrings in tkBind.c, and copying [text] indices into Tcl_DStrings because parsing them involved overwriting them. If this causes performance trouble, that can be resolved by further converting them to Tcl_Obj's. The #defines USE_NON_CONST and USE_COMPAT_CONST have the same effect for Tk as they do for Tcl. (They actually change tcl.h) FossilOrigin-Name: 5603f01aa35a127f83db9bb68f3b1ff9e5bb64de
* generic/tkMenu.c (ConfigureMenu): freed saved options in all error caseshobbs2002-04-121-9/+14
| | | FossilOrigin-Name: 41add73883f83a717e6910eb7dd1ad39d3c8434e
* * Updates to handle change in type of part2 argument ofdgp2002-03-201-3/+3
| | | | | | Tcl_VarTraceProc typedef. [TIP 27] [Patch 532644]. FossilOrigin-Name: 1b7558e26e98541cbcbea49ec8f2eb586a6ec2ea
* Correct and test for logic error when cloning menus. Bug 508988uid382262002-01-311-2/+2
| | | FossilOrigin-Name: 3a8577ba18426c4a147663a893ef7a241c14100f
* * Updated callers of Tcl_SplitList and Tcl_Merge.dgp2002-01-251-2/+2
| | | | | | | | | | | * 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. FossilOrigin-Name: 933dcfe881579bb3925ff2a05e925a0bd8d67087
* * Updates to handle change in type of tablePtrdgp2002-01-171-8/+10
| | | | | | | argument of Tcl_GetIndexFromObj(Struct) from (char **) to (CONST char **). [TIP 27] [Patch 504705] FossilOrigin-Name: 85e5c7aa1baa3bd2b7bdb971f3cf83f4f5573723
* implementation of TIP 63 (accepted) -compound option to menu items.macosx-8-4-branchpointtmh2001-10-121-1/+13
| | | FossilOrigin-Name: 388b438b4b85a414ad930b3a685c74ce17276df1
* * generic/tkImgGIF.c:andreas_kupries2001-09-141-2/+5
| | | | | | | | | | | * generic/tkImgPPM.c: * generic/tkImgPhoto.c: * generic/tkMenu.c: Applied patch [461578], provided by Vincent Darley. This fixes several memory leaks in the image code. They happen if there are errors during the initialization of the channel the image is supposed to be read from. FossilOrigin-Name: 9c9ecdc7b9cdd4df094b1ac9ebcd4d9828752d46
* Merged changes from feature branch dgp-privates-into-namespace,dgp2001-08-011-3/+3
| | | | | | | implementing TIP 44. All Tk commands and variables matching tk[A-Z]* are now in the ::tk namespace. FossilOrigin-Name: 3c0c681d8883f0843b9dcb3f402c2773f6a438a7
* * generic/tkMenu.c (TkInvokeMenu): checked for menu deletionhobbs2001-04-031-7/+13
| | | | | | before calling associated menu entry command. [Bug #220821] FossilOrigin-Name: 55b7a33df3cabeb6eebcfbcfa9e0189363a0727d
* Overall change: Implemented TIP 5, which exportsericm2000-11-221-6/+6
| | | | | | | | | | | TkClassProcs/TkSetClassProcs as Tk_ClassProcs/Tk_SetClassProcs, adding a size field to Tk_ClassProcs to allow for future expansion, and renaming the geometryProc to worldChangedProc, which is more in keeping with the actual use of the callback. See ChangeLog for details. FossilOrigin-Name: df44e48c3137a98d587cec736ae6ffa531369353
* * tests/bind.test: Tweaked expected error messages for [bindtags]ericm2000-08-031-9/+13
| | | | | | | | | | | | | | | | | | to comply with updated error messages. * generic/tkMenu.c (CloneMenu): Replaced calls to Tk_BindtagsCmd with equivalent calls to Tk_BindtagsObjCmd. * generic/tkInt.h: Replace Tk_BindtagsCmd prototype with Tk_BindtagsObjCmd prototype. * generic/tkWindow.c: Updated "bindtags" command entry to use Tcl_Obj'ified command. * generic/tkCmds.c (Tk_BindtagsObjCmd): Tcl_Obj'ified [bindtags] command. FossilOrigin-Name: 1bf52b230a4740dbd765dd60d1a6015e318e1c44
* * generic/tkMenu.c (DeleteMenuCloneEntries): Applied fix fromericm2000-06-271-2/+2
| | | | | | | [Bug: 5275], which corrected a segfault-causing indexing problem when deleting entries from torn-off menus. FossilOrigin-Name: 8af6cddde88be1ca677ac188fbd7e0043b2eb482
* * generic/tkImgGIF.c (FileReadGIF): added cast for trashBufferhobbs2000-02-101-6/+12
| | | | | | | | | | | | | | | | * generic/tkIntXlibDecls.h: * generic/tkInt.decls: declared some Xlib emulation calls for the Mac * generic/tkFrame.c (TkInstallFrameMenu): added extra panic to inform user of bad call when framePtr is NULL [Bug: 2530] * generic/tkMenu.c (DestroyMenuInstance): Placed checks around menu name objects before trying to incr the ref. [Bug: 3402] * generic/tkTest.c: removed USE_OLD_IMAGE def for Mac FossilOrigin-Name: 73e854b5c43b988870df2938b60226c76749183d
* Merged 8-1-0 into mainline.rjohnson1999-04-211-1/+1
| | | FossilOrigin-Name: 0447cf267ea555fcba90be565b63fc310b3d0afb
* fixed Tk comment errorssurles1999-04-161-3/+3
| | | FossilOrigin-Name: 1eb99ab13b42e37ca5c220def4ad02e7f05e5718
* * Merged 8.1 branch into the main trunkstanton1999-04-161-907/+1302
| | | FossilOrigin-Name: 1120dc4257448ed1955333e682de48e2940cc741
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
| | | FossilOrigin-Name: fb58b663f313796e8ed3115f92d657f0cae1d575
* Initial revisionrjohnson1998-04-011-0/+3057
FossilOrigin-Name: 2bf55ca9aa942b581137b9f474da5ad9c1480de4