Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Created a stack of TkRegions to avoid creating/destroying them repeatedly. | treectrl | 2006-12-06 | 1 | -1/+5 |
| | | | | Fixed a leak on X11 where the clipping region was not being freed after drawing dotted rectangles. | ||||
* | Renamed the 2 PerStateGC_xxx functions since they had nothing to do with ↵ | treectrl | 2006-12-06 | 1 | -1/+2 |
| | | | | per-state options. Call the renamed functions from several places where GCs are used. Removed ElementText.gc to save some more memory. | ||||
* | Add missing check of tree->useTheme. | treectrl | 2006-12-04 | 1 | -2/+4 |
| | |||||
* | Theme-related changes to support tile-aware treectrl. | treectrl | 2006-12-04 | 1 | -12/+46 |
| | |||||
* | Removed some unnecessary casts. | treectrl | 2006-12-02 | 1 | -15/+20 |
| | | | | Call TreeTheme_ComputeGeometry to let themes handle borders. | ||||
* | The item option -button may now be "auto" in which case a button is drawn ↵ | treectrl | 2006-11-30 | 1 | -4/+3 |
| | | | | only when the item has a child whose -visible option is true. | ||||
* | New command [bbox]. | treectrl | 2006-11-21 | 1 | -13/+40 |
| | |||||
* | Added per-tree theme data. | treectrl | 2006-11-19 | 1 | -5/+15 |
| | |||||
* | Added 2 optional arguments to [selection get] to perform lindex- and ↵ | treectrl | 2006-11-19 | 1 | -1/+61 |
| | | | | lrange-like operations on the sorted list of selected items. | ||||
* | Use TreeItem_FirstAndLast in the deprecated [range] command. | treectrl | 2006-11-15 | 1 | -17/+2 |
| | |||||
* | Changed 2 incorrect 'return' statements to 'goto'. | treectrl | 2006-11-10 | 1 | -3/+3 |
| | |||||
* | Moved checks of tree->updateIndex into Tree_UpdateItemIndex. | treectrl | 2006-11-09 | 1 | -3/+2 |
| | |||||
* | Remove COLUMN_LOCK-related code. | treectrl | 2006-11-07 | 1 | -22/+3 |
| | |||||
* | Remove NEW_SPAN_CODE-related code. | treectrl | 2006-11-07 | 1 | -7/+1 |
| | |||||
* | Keep an array of column indexes for each item that has at least one span > ↵ | treectrl | 2006-11-06 | 1 | -3/+30 |
| | | | | | | 1. This is to avoid constantly recalculating the list of spans for displayed items. The list of spans is recalculated whenever [item span] changes a span, or whenever a column is created/deleted/moved or has its -lock or -visible option changed. DumpDInfo now takes an index to indicate which kind of information to return. | ||||
* | Deprecated the treectrl option -defaultstyle. | treectrl | 2006-11-03 | 1 | -4/+17 |
| | | | | Added column option -itemstyle (replaces -defaultstyle). | ||||
* | Fix crash when destroying a treectrl with non-empty -backgroundimage. | treectrl | 2006-11-03 | 1 | -9/+22 |
| | | | | Fix possible memory leak when an error occurs configuring -backgroundimage and/or -defaultstyles. | ||||
* | BG_MODE_INDEX and BG_MODE_VISINDEX wrapped in #ifdef DEPRECATED. | treectrl | 2006-11-03 | 1 | -4/+15 |
| | | | | | | Fixed handling of Tcl_Obj with per-state custom options. Memory leak: TreeCtrl.defaultStyles wasn't freed when the treectrl was destroyed. Fix compilation when ALLOC_HAX is undefined. | ||||
* | Changed handling of deleted items (again) so that the item is removed from ↵ | treectrl | 2006-10-30 | 1 | -15/+50 |
| | | | | the heirarchy of known items but the record is not freed until it is not in use. | ||||
* | Restore old behaviour of deprecated [expand], [collapse] and [toggle] ↵ | treectrl | 2006-10-30 | 1 | -26/+29 |
| | | | | allowing zero or more item arguments. | ||||
* | [identify] now takes pixel x/y arguments, rather than plain integers. | treectrl | 2006-10-30 | 1 | -3/+3 |
| | |||||
* | Renamed columnCustomOption_xxx. | treectrl | 2006-10-29 | 1 | -3/+3 |
| | |||||
* | Deprecated commands and options are wrapped inside #ifdef DEPRECATED. | treectrl | 2006-10-28 | 1 | -11/+61 |
| | |||||
* | Tree_GetImage now uses reference counting on images. Tree_FreeImage ↵ | treectrl | 2006-10-18 | 1 | -20/+80 |
| | | | | decrements the reference count and frees the image when needed. | ||||
* | Added [debug alloc] command to display info about memory allocations. | treectrl | 2006-10-16 | 1 | -3/+15 |
| | |||||
* | Remove rowlabels. | treectrl | 2006-10-14 | 1 | -78/+7 |
| | |||||
* | [contentbox] returns an empty string if the content area is <= 0 height or ↵ | treectrl | 2006-10-14 | 1 | -75/+91 |
| | | | | | | | | width. Updated the deprecated [expand], [collpase] and [toggle] to agree with the preferred [item expand] etc. Renamed IFO_xxx flags. Renamed TreeItemList_ItemN to TreeItemList_Nth. | ||||
* | Added column option -lock. | treectrl | 2006-10-11 | 1 | -42/+97 |
| | | | | | | Added -drawcolor to [debug configure]. Added [debug expose] command. Added -rowproxy option for resizing rows. | ||||
* | Use the new PerStateInfo custom option, eliminating some code. | treectrl | 2006-10-05 | 1 | -36/+12 |
| | |||||
* | New treectrl options: -rowlabelresize, -rowlabelwidth, -minrowlabelwidth, ↵ | treectrl | 2006-10-04 | 1 | -41/+107 |
| | | | | | | | | | | -maxrowlabelwidth, -rowlabelprefix, -rowproxy, -showrowlabels. Added [rowlabel] command. Moved [tag] command to [item tag] since columns and rowlabels have tags too. [identify] command may return "rowlabel ...". Use Tree_ContentXXX macros. Moved TreeStyle_Init out of package init routine into treectrl create routine because it initialized TreeCtrl.styleOptionTable now (before it did nothing). | ||||
* | Added [tag] command. | treectrl | 2006-09-24 | 1 | -3/+9 |
| | |||||
* | Added Tree_StateFromListObj. | treectrl | 2006-09-22 | 1 | -1/+41 |
| | |||||
* | [selection add], [selection clear] and [selection modify] rewritten to use ↵ | treectrl | 2006-09-21 | 1 | -293/+230 |
| | | | | | | TreeItemList and related funcs instead of STATIC_ALLOC for handling lists of items. TreeCtrl.preserveItemXXX fields, Tree_PreserveItems and Tree_ReleaseItems added for managing deleted items. | ||||
* | Exclude !enabled items from the selection. | treectrl | 2006-09-16 | 1 | -23/+20 |
| | | | | Removed some unused code. | ||||
* | Bumped copyright to 2006. | treectrl | 2006-09-05 | 1 | -2/+2 |
| | |||||
* | * generic/tkTreeCtrl.c (TreeWidgetCmd): set the tk caret when the | hobbs2 | 2006-08-04 | 1 | -1/+7 |
| | | | | active item changes. | ||||
* | * generic/tkTreeCtrl.c (LoupeCmd): correct loupe on OS X x86. | hobbs2 | 2006-04-06 | 1 | -1/+16 |
| | |||||
* | Fix compile issue on Mac [Patch 1311956] | treectrl | 2005-10-15 | 1 | -1/+3 |
| | |||||
* | * generic/tkTreeCtrl.c (LoupeCmd): don't capture display (it | hobbs2 | 2005-09-28 | 1 | -3/+1 |
| | | | | causes flashing) on OS X. | ||||
* | Hide cursor on OS X and capture display while grabbing | hobbs2 | 2005-09-27 | 1 | -1/+5 |
| | |||||
* | * generic/tkTreeCtrl.c (LoupeCmd): add OS X support. Correct | hobbs2 | 2005-09-27 | 1 | -24/+110 |
| | | | | | Win32 code to use grab size constraints and honor the virtual system metrics (OS X needs similar correction still). | ||||
* | reorg used vars into right areas | hobbs2 | 2005-09-25 | 1 | -4/+4 |
| | |||||
* | * demos/demo.tcl: just check for 'loupe' to run loupe demo | hobbs2 | 2005-09-25 | 1 | -32/+91 |
| | | | | | * generic/tkTreeCtrl.c (LoupeCmd): add Win32 code to enable loupe functionality on Windows. | ||||
* | Add Tcl block comments above each function. Comment function arguments. | treectrl | 2005-09-21 | 1 | -46/+778 |
| | |||||
* | Removed unused code. | treectrl | 2005-09-15 | 1 | -38/+3 |
| | | | | Changed error message for 2 commands. | ||||
* | Fixed a typo. | treectrl | 2005-09-07 | 1 | -2/+2 |
| | |||||
* | Whitespace nitpick with ... | treectrl | 2005-07-12 | 1 | -6/+6 |
| | |||||
* | Change TreeItem_Identify to write to a string instead of returning an ↵ | treectrl | 2005-07-07 | 1 | -1/+7 |
| | | | | element name. Did this so the column can be determined by the item using its span info. | ||||
* | New option -itemwidth, -itemwidthequal and -itemwidthmultiple to replace the ↵ | treectrl | 2005-07-05 | 1 | -3/+17 |
| | | | | column options -stepwidth and -widthhack. | ||||
* | Fixed possible performance problem with "selection clear" (hash tables get ↵ | treectrl | 2005-06-29 | 1 | -1/+12 |
| | | | | bigger, but they never get smaller. It can take a while to iterate over all those empty buckets). |