summaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Do not let fossil README droppings leak into distribuiondgp2014-08-251-1/+1
* Bump to zlib 2.0.1.dgp2014-08-222-2/+2
* Bump to TclOO 1.0.2dgp2014-08-223-3/+3
* merge trunk; stamp release date.dgp2014-08-224-22/+31
|\
| * merge 8.5; fix notifier mask bug and Tcl_Read performance regressiondgp2014-08-222-21/+12
| |\
| | * Correct performance regression in a series of short binary reads from adgp2014-08-221-19/+7
| | |\
| | | * Same results; simpler logic.dgp_slow_readdgp2014-08-221-21/+7
| | | * Test fix for likely cause of reported I/O slowdown.dgp2014-08-211-0/+2
| | |/
| | * Fix reviewed and accepted.andreask2014-08-201-1/+1
| | |\
| | | * Docs for Tcl_CreateChannelHandler() state that the registered handler procaku_reviewdgp2014-08-201-1/+1
| | * | Make test io-36.1.1 more portable.dgp2014-08-201-1/+4
| | |/
| * | [74e073599e5e7c5eb535e2f60f1b06feb468eaae|74e073599e]: tclsh is using old sty...jan.nijtmans2014-08-201-0/+18
| |\ \ | | |/
| | * [74e073599e5e7c5eb535e2f60f1b06feb468eaae|74e073599e]: tclsh is using old sty...jan.nijtmans2014-08-201-0/+18
* | | Additions to changes.dgp2014-08-201-0/+4
* | | Update changes file.dgp2014-08-191-2/+144
* | | merge trunkdgp2014-08-1980-2809/+3062
|\ \ \ | |/ /
| * | [7d52e1101b] oo::object should know that oo::class is a subclass.dkf2014-08-172-0/+18
| * | Put back SystemV timezone files, which were removed in previous commit. Don't...jan.nijtmans2014-08-1313-0/+65
| |\ \ | | |/
| | * Put back SystemV timezone files, which were removed in previous commit. Don't...jan.nijtmans2014-08-1313-0/+65
| * | merge tzdata2014f from ietf.orgKevin B Kenny2014-08-1391-2874/+3044
| |\ \ | | |/
| | * tzdata2014f from ietf.orgKevin B Kenny2014-08-1391-2874/+3044
* | | merge trunkdgp2014-08-121-2/+10
|\ \ \ | |/ /
| * | merge-mark. Do not accommodate udp bugs in Tcl 8.6.2.dgp2014-08-120-0/+0
| |\ \ | | |/
| | * Accommodate the "udp" package, and any other Tcl package that expects adgp2014-08-121-1/+1
| * | Fixed type conversion warnings which break a Win32 debug build (MSVC).andreask2014-08-061-2/+10
* | | merge trunkdgp2014-08-041-0/+1
|\ \ \ | |/ /
| * | Add tclsh.exe.manifest.in to the distributiondgp2014-08-041-0/+1
| |\ \ | | |/
| | * Add tclsh.exe.manifest.in to the distribution.dgp2014-08-041-0/+1
* | | merge trunkdgp2014-08-028-28/+33
|\ \ \ | |/ /
| * | Another Preserve/Release on channels is needed during IO finalization.dgp2014-08-021-0/+2
| |\ \ | | |/
| | * Another Preserve/Release on channels is needed during IO finalization.dgp2014-08-021-0/+3
| * | Addition of a cast in tclWinFile.c to match types in a comparison, andandreask2014-08-012-2/+2
| * | Updated package "platform" to version 1.0.13. Separated theandreask2014-08-015-26/+29
| |\ \ | | |/
| | * Updated package "platform" to version 1.0.13. Separated theandreask2014-08-016-27/+30
| * | merge-markdgp2014-08-010-0/+0
| |\ \ | | |/
| | * Backport the cheaper Preserve/Release on channels.dgp2014-08-015-51/+77
| | |\
* | | \ merge trunkdgp2014-08-012-2/+38
|\ \ \ \ | |/ / /
| * | | [e75fabac06] Teardown line information after failed ensemble subcommanddgp2014-08-011-0/+18
| * | | Correction and commentary in the details of ensemble compiling.dgp2014-08-011-1/+17
| * | | Fix part of [d19aef1487] (broken --disable-load on MacOSX), broken by [4d4177...jan.nijtmans2014-07-311-1/+3
* | | | merge trunkdgp2014-07-311-1/+1
|\ \ \ \ | |/ / /
| * | | [a84a720966] Protect against double free in TclOO classChainCache teardown.dgp2014-07-311-1/+1
* | | | merge trunkdgp2014-07-316-83/+128
|\ \ \ \ | |/ / /
| * | | [3757cdf808] More clock refactoring with spooky impact on [string match]dgp2014-07-301-10/+22
| | |/ | |/|
| * | Complete transformation off Tcl_Preserve() legacy onto ref counting.dgp2014-07-301-15/+7
| * | Reduce the cost of Preserve/Release on channelsdgp2014-07-305-43/+74
| * | [3757cdf808] Refactoring seems to reduce (maybe somewhat kinda sorta) a dgp2014-07-291-22/+32
* | | Bump to 8.6.2 for release.dgp2014-07-288-9/+9
|/ /
* | An alternative implementation of [chan copy] that operates in preciselydgp2014-07-281-7/+254
|\ \
| * \ merge trunkdgp_move_buffersdgp2014-07-280-0/+0
| |\ \ | |/ / |/| |
enu does not exist. */ TkMenuTopLevelList *topLevelListPtr; /* First in the list of all toplevels that * have this menu as its menubar. NULL if no * toplevel widgets have this menu as its * menubar. */ TkMenuEntry *parentEntryPtr;/* First in the list of all cascade menu * entries that have this menu as their child. * NULL means no cascade entries. */ Tcl_HashEntry *hashEntryPtr;/* This is needed because the pathname of the * window (which is what we hash on) may not * be around when we are deleting. */ } TkMenuReferences; /* * Flag bits for menus: * * REDRAW_PENDING: Non-zero means a DoWhenIdle handler * has already been queued to redraw * this window. * RESIZE_PENDING: Non-zero means a call to ComputeMenuGeometry * has already been scheduled. * MENU_DELETION_PENDING Non-zero means that we are currently destroying * this menu. This is useful when we are in the * middle of cleaning this master menu's chain of * menus up when TkDestroyMenu was called again on * this menu (via a destroy binding or somesuch). * MENU_PLATFORM_FLAG1... Reserved for use by the platform-specific menu * code. */ #define REDRAW_PENDING 1 #define RESIZE_PENDING 2 #define MENU_DELETION_PENDING 4 #define MENU_PLATFORM_FLAG1 (1 << 30) #define MENU_PLATFORM_FLAG2 (1 << 29) #define MENU_PLATFORM_FLAG3 (1 << 28) /* * Each menu created by the user is a MASTER_MENU. When a menu is torn off, * a TEAROFF_MENU instance is created. When a menu is assigned to a toplevel * as a menu bar, a MENUBAR instance is created. All instances have the same * configuration information. If the master instance is deleted, all instances * are deleted. If one of the other instances is deleted, only that instance * is deleted. */ #define UNKNOWN_TYPE -1 #define MASTER_MENU 0 #define TEAROFF_MENU 1 #define MENUBAR 2 /* * Various geometry definitions: */ #define CASCADE_ARROW_HEIGHT 10 #define CASCADE_ARROW_WIDTH 8 #define DECORATION_BORDER_WIDTH 2 /* * Configuration specs. Needed for platform-specific default initializations. */ EXTERN Tk_ConfigSpec tkMenuEntryConfigSpecs[]; EXTERN Tk_ConfigSpec tkMenuConfigSpecs[]; /* * Menu-related procedures that are shared among Tk modules but not exported * to the outside world: */ EXTERN int TkActivateMenuEntry _ANSI_ARGS_((TkMenu *menuPtr, int index)); EXTERN void TkBindMenu _ANSI_ARGS_(( Tk_Window tkwin, TkMenu *menuPtr)); EXTERN TkMenuReferences * TkCreateMenuReferences _ANSI_ARGS_((Tcl_Interp *interp, char *pathName)); EXTERN void TkDestroyMenu _ANSI_ARGS_((TkMenu *menuPtr)); EXTERN void TkEventuallyRecomputeMenu _ANSI_ARGS_((TkMenu *menuPtr)); EXTERN void TkEventuallyRedrawMenu _ANSI_ARGS_(( TkMenu *menuPtr, TkMenuEntry *mePtr)); EXTERN TkMenuReferences * TkFindMenuReferences _ANSI_ARGS_((Tcl_Interp *interp, char *pathName)); EXTERN void TkFreeMenuReferences _ANSI_ARGS_(( TkMenuReferences *menuRefPtr)); EXTERN Tcl_HashTable * TkGetMenuHashTable _ANSI_ARGS_((Tcl_Interp *interp)); EXTERN int TkGetMenuIndex _ANSI_ARGS_((Tcl_Interp *interp, TkMenu *menuPtr, char *string, int lastOK, int *indexPtr)); EXTERN void TkMenuInitializeDrawingFields _ANSI_ARGS_((TkMenu *menuPtr)); EXTERN void TkMenuInitializeEntryDrawingFields _ANSI_ARGS_(( TkMenuEntry *mePtr)); EXTERN int TkInvokeMenu _ANSI_ARGS_((Tcl_Interp *interp, TkMenu *menuPtr, int index)); EXTERN void TkMenuConfigureDrawOptions _ANSI_ARGS_(( TkMenu *menuPtr)); EXTERN int TkMenuConfigureEntryDrawOptions _ANSI_ARGS_(( TkMenuEntry *mePtr, int index)); EXTERN void TkMenuFreeDrawOptions _ANSI_ARGS_((TkMenu *menuPtr)); EXTERN void TkMenuEntryFreeDrawOptions _ANSI_ARGS_(( TkMenuEntry *mePtr)); EXTERN void TkMenuEventProc _ANSI_ARGS_((ClientData clientData, XEvent *eventPtr)); EXTERN void TkMenuImageProc _ANSI_ARGS_(( ClientData clientData, int x, int y, int width, int height, int imgWidth, int imgHeight)); EXTERN void TkMenuInit _ANSI_ARGS_((void)); EXTERN void TkMenuSelectImageProc _ANSI_ARGS_ ((ClientData clientData, int x, int y, int width, int height, int imgWidth, int imgHeight)); EXTERN char * TkNewMenuName _ANSI_ARGS_((Tcl_Interp *interp, char *parentName, TkMenu *menuPtr)); EXTERN int TkPostCommand _ANSI_ARGS_((TkMenu *menuPtr)); EXTERN int TkPostSubmenu _ANSI_ARGS_((Tcl_Interp *interp, TkMenu *menuPtr, TkMenuEntry *mePtr)); EXTERN int TkPostTearoffMenu _ANSI_ARGS_((Tcl_Interp *interp, TkMenu *menuPtr, int x, int y)); EXTERN int TkPreprocessMenu _ANSI_ARGS_((TkMenu *menuPtr)); EXTERN void TkRecomputeMenu _ANSI_ARGS_((TkMenu *menuPtr)); /* * These routines are the platform-dependent routines called by the * common code. */ EXTERN void TkpComputeMenubarGeometry _ANSI_ARGS_((TkMenu *menuPtr)); EXTERN void TkpComputeStandardMenuGeometry _ANSI_ARGS_ ((TkMenu *menuPtr)); EXTERN int TkpConfigureMenuEntry _ANSI_ARGS_((TkMenuEntry *mePtr)); EXTERN void TkpDestroyMenu _ANSI_ARGS_((TkMenu *menuPtr)); EXTERN void TkpDestroyMenuEntry _ANSI_ARGS_((TkMenuEntry *mEntryPtr)); EXTERN void TkpDrawMenuEntry _ANSI_ARGS_((TkMenuEntry *mePtr, Drawable d, Tk_Font tkfont, CONST Tk_FontMetrics *menuMetricsPtr, int x, int y, int width, int height, int strictMotif, int drawArrow)); EXTERN void TkpMenuInit _ANSI_ARGS_((void)); EXTERN int TkpMenuNewEntry _ANSI_ARGS_((TkMenuEntry *mePtr)); EXTERN int TkpNewMenu _ANSI_ARGS_((TkMenu *menuPtr)); EXTERN int TkpPostMenu _ANSI_ARGS_((Tcl_Interp *interp, TkMenu *menuPtr, int x, int y)); EXTERN void TkpSetWindowMenuBar _ANSI_ARGS_((Tk_Window tkwin, TkMenu *menuPtr)); #endif /* _TKMENU */