summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added DInfo.requests field to count calls to Tree_EventuallyRedraw.treectrl2006-09-211-130/+125
| | | | | | | Tree_Display: preserve the tree and items so binding scripts don't free them. Tree_Display: if <Scroll> or <ItemVisibility> scripts cause a redraw request, jump to the top of the routine and start redisplaying again. Tree_Display: the block of code handling itemVisHash was moved before any drawing code and rewritten to use TreeItemList. itemVisHash now uses TreeItems instead of item ids as indexes. Tree_Display: moved TreeItem_UpdateWindowPositions from the itemVisHash block down to the drawing block.
* [selection add], [selection clear] and [selection modify] rewritten to use ↵treectrl2006-09-211-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.
* New data type TreeItemList and related funcs are used instead of ↵treectrl2006-09-211-6/+38
| | | | | | | | | STATIC_ALLOC for handling lists of items. Removed TreeCtrl.displayInProgress flag. Added TreeCtrl.preserveItemXXX fields, Tree_PreserveItems and Tree_ReleaseItems for managing deleted items. Added IFO_NOTORPHAN flag for rejecting orphans. Various TreeNotify_xxx routines changed to accept TreeItemList args.
* New demo "My Computer" shows off disabled items.treectrl2006-09-161-0/+115
|
* Fix tests affected by changed error messages in TreeItem_FromObj.treectrl2006-09-161-7/+90
| | | | Added tests for "visible" and "state" qualifiers in item descriptions to test the new code.
* Clicking in a disabled item starts the marquee drag.treectrl2006-09-161-1/+4
|
* Added/updated comments above every proc.treectrl2006-09-161-188/+378
| | | | | | | | Removed old SelectionMotion and unused CancelRepeat procs. Priv(col), Priv(row) and Priv(rnc) are now per-widget. Renamed TreeCtrl::ExtendUpDown to TreeCtrl::Extend since it always moved the active item in any direction. The various <Home>, <End> and arrow key bindings now ignore items which are not enabled. Mouse press and motion events ignore items which are not enabled.
* Generalized how the "visible" qualifier in item descriptions is handled, and ↵treectrl2006-09-161-133/+265
| | | | | | | | added a new qualifier "state xxx". The "state" qualifier filters out items which do not match a given list of states. Added [item enabled] command to set/get the "enabled" state of an item. Define TreeItem_GetEnabled. Fix typo in comment.
* Exclude !enabled items from the selection.treectrl2006-09-161-23/+20
| | | | Removed some unused code.
* Declare TreeItem_GetEnabled.treectrl2006-09-161-1/+2
|
* Clear the "enabled" state of header items in the property list so they can't ↵treectrl2006-09-161-2/+3
| | | | be selected and keyboard navigation skips over them.
* Added "My Computer" demo.treectrl2006-09-161-2/+5
| | | | Restore the default font when preparing the list for the next demo.
* Change the description of -showbuttons and -showrootbutton.treectrl2006-09-163-264/+444
| | | | | | | Added [item enabled] command. [scan mark] and [scan dragto] docs were missing. Update description of "enabled" state, since the state can now be changed. Update item description docs since new qualifier "state xxx" was added.
* Added -visible option to [item count].treectrl2006-09-083-13/+22
|
* Removed unused code.treectrl2006-09-081-52/+20
| | | | Added -visible option to [item count].
* Removed unused code.treectrl2006-09-051-12/+4
| | | | Use [notify unbind] to remove a binding.
* Bumped copyright to 2006.treectrl2006-09-0515-30/+38
|
* Updates for 2.1.1.treectrl2006-09-051-1/+1363
|
* Bumped version to 2.1.1.treectrl2006-09-051-10/+15
| | | | | Removed unused proc. Resize image when loupe window is resized.
* Bumped version to 2.1.1.treectrl2006-09-056-17/+250
|
* * library/filelist-bindings.tcl (::TreeCtrl::EditClose): rewrotehobbs22006-08-162-177/+132
| | | | | | bindings of edit widget helpers to use TreeCtrlEntry and TreeCtrlText classes. Fix for <Escape> binding possibly triggering <FocusOut>.
* * generic/tkTreeDisplay.c (Tree_Display): Allow Tree_DeselectHiddenhobbs22006-08-164-16/+39
| | | | | | | * generic/tkTreeItem.c (Item_Configure): to be deferred to next * generic/tkTreeCtrl.h: redraw by calling Tree_DInfoChanged(tree, DINFO_REDO_SELECTION). Significantly improves performance of multiple item visibility changes.
* * generic/tkTreeItem.c (Item_Configure): on checking for -visible,hobbs22006-08-152-2/+8
| | | | verify that the value actually changed, because it can be expensive.
* * generic/tkTreeCtrl.c (TreeWidgetCmd): set the tk caret when thehobbs22006-08-042-1/+12
| | | | active item changes.
* Fix undefined variable. [ Patch 1507123 ]treectrl2006-07-121-1/+3
|
* Fix errors with various bindings when no items are visible. [ Bug 1422883 ]treectrl2006-07-111-9/+17
|
* Add column-span demo.treectrl2006-07-112-1/+71
|
* Fix typo.treectrl2006-07-111-2/+2
|
* Fix cut-and-paste error in comment.treectrl2006-07-111-2/+2
|
* Playing around with span widths.treectrl2006-07-111-1/+14
|
* Did some work on better distributing space when a style spans multiple ↵treectrl2006-07-111-50/+232
| | | | | | | | | | columns. Not used yet. Renamed SortData.count to columnCount for readability. Reformatted some function headers. CompareProc: identity test to save work. find_pivot: bug fix. ItemSortCmd: fix memory leak with -command option.
* * generic/tkTreeCtrl.c (LoupeCmd): correct loupe on OS X x86.hobbs22006-04-062-1/+23
|
* * configure, configure.ac: add AC_C_BIGENDIAN checkhobbs22006-04-063-55/+62
| | | | * tclconfig/tcl.m4: TEA rcs 1.91 2006/03/28 21:07:09
* update to TEA 3.5hobbs22006-01-264-1584/+1331
|
* update to TEA 3.4hobbs22005-12-024-679/+508
|
* Improve appearance of list header under OSX/Aqua. [Patch 1356447]treectrl2005-11-181-2/+22
|
* Add mousewheel support to OSX. [Patch 1338259]treectrl2005-11-161-6/+10
|
* Fix compile issue on Mac [Patch 1311956]treectrl2005-10-151-1/+3
|
* Format fix with braces.treectrl2005-09-281-6/+4
|
* Fix a comment typo.treectrl2005-09-281-2/+2
|
* * generic/tkTreeCtrl.c (LoupeCmd): don't capture display (ithobbs22005-09-282-3/+6
| | | | causes flashing) on OS X.
* Hide cursor on OS X and capture display while grabbinghobbs22005-09-272-1/+6
|
* * generic/tkTreeCtrl.c (LoupeCmd): add OS X support. Correcthobbs22005-09-272-24/+116
| | | | | Win32 code to use grab size constraints and honor the virtual system metrics (OS X needs similar correction still).
* reorg used vars into right areashobbs22005-09-251-4/+4
|
* * demos/demo.tcl: just check for 'loupe' to run loupe demohobbs22005-09-253-35/+99
| | | | | * generic/tkTreeCtrl.c (LoupeCmd): add Win32 code to enable loupe functionality on Windows.
* Removed declarations of unused functions.treectrl2005-09-211-4/+1
|
* Add Tcl block comments above each function. Comment function arguments.treectrl2005-09-211-46/+778
|
* Add Tcl block comments above each function. Comment function arguments.treectrl2005-09-211-142/+1630
|
* Add Tcl block comments above each function. Comment function arguments.treectrl2005-09-191-80/+725
|
* Add Tcl block comments above each function. Comment function arguments.treectrl2005-09-171-17/+168
|