summaryrefslogtreecommitdiffstats
path: root/generic/tkTreeItem.c
Commit message (Collapse)AuthorAgeFilesLines
* More Invalidate/FreeItemDInfo fixes.treectrl2005-06-291-1/+58
| | | | Fixed a massive performance hit with "item delete all" when there were many orphan items.
* New command "item range" deprecates old command "range".treectrl2005-06-081-5/+38
|
* LAYOUTHAX code accepted, removed conditional compilation.treectrl2005-06-061-42/+1
|
* Renamed TreeItem_Undefine to TreeItem_UndefineState.treectrl2005-06-041-2/+2
|
* Fixed crash with "item complex" when a column doesn't exist.treectrl2005-06-031-6/+19
|
* Added item description "end", equivalent to "last".treectrl2005-06-021-4/+6
|
* Add some calls to TreeItemColumn_InvalidateSize. FIXME: ↵treectrl2005-06-021-5/+28
| | | | | | | | Column.neededWidth/Height aren't actually used. Add some calls to Tree_FreeItemDInfo. Replace some calls to Tree_InvalidateItemDInfo with Tree_FreeItemDInfo. Invalidate should only be used when the size hasn't changed. Fix "item style map" and "item style set" not recalculating ranges.
* Use Tree_DrawBitmap to draw bitmaps.treectrl2005-05-241-11/+3
|
* Replaced TARGET_OS_MAC with MAC_TCL and MAC_OSX_TK macros according to ↵treectrl2005-05-191-3/+4
| | | | Apple's Tiger patches.
* Cast argument to AllocHax_Free() and AllocHax_CFree().treectrl2005-05-191-6/+8
|
* ALLOC_HAX: play games with memory allocation for speed boost.treectrl2005-05-171-5/+21
|
* Experimental hacks to allow -detach elements to appear under the button/line ↵treectrl2005-05-141-17/+77
| | | | | | area using new layout option -indent. Fixes for tree->columnPrefix when reporting errors.
* New command "item compare", "compare" is deprecated.treectrl2005-05-131-63/+151
| | | | | | | | | New command "item count", "numitems" is deprecated. New command "item id", "index" is deprecated. Replaced "item index" with "item order". Replaced itemPrefix global with tree->itemPrefix option. Use tree->columnPrefix when reporting column id. tree->columnTree is no longer an int.
* Removed a bunch of conditional-compilation stuff and dead code.treectrl2005-05-111-121/+46
|
* Changes for new -buttonimage and -buttonbitmap per-state options.treectrl2005-05-101-79/+327
| | | | | | | | New -minitemheight option. Fixed bug where buttons and lines could be drawn over another column if the -treecolumn was too narrow. Code added to support new "window" element type. New <ItemDelete> event generated before items are deleted. Fixed bug with <Selection> event not reporting all selected items being deleted.
* Bumped copyright to 2005.treectrl2005-05-011-7/+17
| | | | | Don't draw horizontal line unless it connects to a vertical line. Use new Theme API to draw buttons.
* New -showrootlines config option.treectrl2005-03-291-2/+25
| | | | Don't draw horizontal line to self unless it connects to a vertical line or our button.
* * generic/tkTreeItem.c (CompareAscii, CompareDict): handle thehobbs22005-02-151-10/+34
| | | | case where no text value has been set for sorting
* New -backgroundimage option.treectrl2005-01-031-3/+15
| | | | Macintosh drawing fix.
* * generic/tkTreeItem.c (TreeItem_FromObj): s/MOD_/TMOD_ to preventhobbs22004-11-301-27/+28
| | | | existing defined name conflict
* whitespace policehobbs22004-11-291-3651/+3327
|
* Only ReallyVisible() items may be selected.treectrl2004-08-131-9/+80
|
* Added hash table for current selection.treectrl2004-08-111-8/+62
| | | | New "item expand/collapse/toggle" commands.
* New "item state forcolumn" command.treectrl2004-08-091-51/+333
| | | | | Support for ITEM_ID_IS_STRING compile-time option. Generate <Selection> event when selected items are deleted.
* Add copyright.treectrl2004-07-301-402/+415
| | | | | | | | | Add "item cget" and "item configure" commands. Removed "item hasbutton" and "item visible" commands. Removed unused code. Made TreeItem_AllocXXX() private. Reorganized TreeItemCmd(). Added TreeItem_Init() for widget initialization.
* Bounds check -defaultstyle in "item create".treectrl2004-07-281-2/+2
|
* Fix "column move" when item column wasn't allocated yet.treectrl2004-07-261-72/+70
| | | | | | Fix "item index" if index needed recalculating. New -defaultstyle widget option used by "item create". Tree columns are no longer automatically created by various "item" commands.
* Fix for missing lines when siblings not visible.treectrl2003-03-291-14/+28
|
* New -element option to item sort command.treectrl2003-01-051-13/+144
| | | | Allow item sort without columns if -command is used.
* TCL_OK -> TCL_ERROR for item sort with no columns.treectrl2003-01-051-1/+1
|
* item sort returns error if there are no columns.treectrl2003-01-051-3/+43
| | | | | | Don't allow tail column for item sort -column option. Make sure item sort -notreally returns result if only one item to sort. Return error if item sort -command gives inconsistent results.
* Remove 20-column limit.treectrl2003-01-021-83/+100
| | | | Pass sortData on stack instead of global in 'item sort' command.
* Fix for 'marquee identify' not reporting column when item has no columns.treectrl2003-01-011-3/+4
|
* Use extra arg to TreeStyle_ElementConfigure.treectrl2002-12-311-42/+71
|
* Reworked 'item state' command into 'item state get' and 'item state set'.treectrl2002-12-311-1/+155
|
* Return error when 'visible' is used for some modifiers.treectrl2002-12-301-0/+9
|
* Tree_ItemBbox returns result indicating success or failure.treectrl2002-12-291-9/+3
|
* Set indexVis to -1 for orphans and descendants of orphans.treectrl2002-12-291-0/+1
|
* Fix for depth of tree with root item only.treectrl2002-12-281-21/+26
| | | | TreeItem_FromObj fix when disallowing root item.
* Extra checks for visible columns.treectrl2002-12-241-4/+5
|
* TreeItem_MoveColumn() added.treectrl2002-12-231-0/+51
|
* Replaced GNU __FUNCTION__ with ANSI __FILE__ and __LINE__.treectrl2002-12-181-9/+0
|
* Initial revisiontreectrl2002-12-171-0/+3662