Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix some cases where left/right locked columns weren't being redisplayed. | treectrl | 2006-11-06 | 1 | -25/+65 | |
| | ||||||
* | Chopped out WALK_SPANS unused code. | treectrl | 2006-11-06 | 1 | -454/+1 | |
| | ||||||
* | Added missing prototype. | treectrl | 2006-11-06 | 1 | -1/+2 | |
| | ||||||
* | Be more efficient when calculating which columns are onscreen. | treectrl | 2006-11-06 | 1 | -5/+21 | |
| | ||||||
* | Avoid unnecessary calculation of column offset. | treectrl | 2006-11-06 | 1 | -10/+4 | |
| | | | | Remove forgotten line of code. | |||||
* | Added a routine to walk over each span of an item and call a callback ↵ | treectrl | 2006-11-06 | 1 | -77/+536 | |
| | | | | routine. This is used for drawing, updating window positions, and hit-testing. Previously the same complicated code for walking over spans was used in each case. | |||||
* | Fixed improper use of DInfo.empty. | treectrl | 2006-11-05 | 1 | -363/+328 | |
| | | | | | Draw -itembackground colors into the whitespace region, but only for -orient=verical, wrap={}, and -itemheight or -minitemheight > 0. Fixed vertical-scrolling bug when no non-locked column are displayed. | |||||
* | Checkin complex whitespace code before pruning it. | treectrl | 2006-11-04 | 1 | -107/+214 | |
| | ||||||
* | Deprecated the treectrl option -defaultstyle. | treectrl | 2006-11-03 | 6 | -19/+220 | |
| | | | | Added column option -itemstyle (replaces -defaultstyle). | |||||
* | Removed unneeded COLU_CONF_xxx constants. | treectrl | 2006-11-03 | 1 | -24/+26 | |
| | | | | Fix problem when an error occurs configuring -image or -itembackground options. | |||||
* | 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. | |||||
* | Fixed handling of Tcl_Obj with per-state custom options. | treectrl | 2006-11-03 | 1 | -14/+27 | |
| | ||||||
* | Fix compilation when ALLOC_HAX is undefined. | treectrl | 2006-11-03 | 1 | -3/+3 | |
| | ||||||
* | Fixed handling of Tcl_Obj with per-state and dynamic custom options. | treectrl | 2006-11-03 | 1 | -32/+103 | |
| | | | | | Fix compilation when ALLOC_HAX is undefined. Fix crash caused by double-freeing memory when freeing dynamic options. | |||||
* | Fixed handling of Tcl_Obj with per-state custom options. | treectrl | 2006-11-03 | 1 | -6/+33 | |
| | ||||||
* | 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. | |||||
* | BG_MODE_INDEX and BG_MODE_VISINDEX wrapped in #ifdef DEPRECATED. | treectrl | 2006-11-03 | 1 | -1/+3 | |
| | ||||||
* | Memory leak: DItem.spans wasn't being preserved when reusing a DItem or ↵ | treectrl | 2006-11-03 | 1 | -29/+449 | |
| | | | | | | | | | freed when the treectrl was destroyed. Memory leak: DInfo.itemVisHash column lists weren't freed when the treectrl was destroyed. BG_MODE_INDEX and BG_MODE_VISINDEX wrapped in #ifdef DEPRECATED. Fixed vertical-scrolling producing garbage under X11. Added some code (not used yet) for extending the -itembackground colors into the whitespace area. | |||||
* | Added -underline option to text element. [ Patch 1580928 ] | treectrl | 2006-10-31 | 1 | -26/+88 | |
| | ||||||
* | Added underline arg to TextLayout_Draw. [ Patch 1580928 ] | treectrl | 2006-10-31 | 3 | -14/+46 | |
| | ||||||
* | Fix a critical bug with OptionHax_Forget. | treectrl | 2006-10-30 | 1 | -2/+2 | |
| | ||||||
* | Changed handling of deleted items (again) so that the item is removed from ↵ | treectrl | 2006-10-30 | 3 | -44/+145 | |
| | | | | 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. | |||||
* | Pass flags argument to Tree_ElementChangedItself for when a master element ↵ | treectrl | 2006-10-30 | 1 | -5/+5 | |
| | | | | configures itself. This fixes a crash and display problem when a master element has a -textvariable. | |||||
* | Pass flags argument to Tree_ElementChangedItself for when a master element ↵ | treectrl | 2006-10-30 | 1 | -2/+2 | |
| | | | | configures itself. | |||||
* | Fixed a crash when a master element calls Tree_ElementChangedItself. | treectrl | 2006-10-30 | 1 | -22/+25 | |
| | | | | Pass element index to Style_ElementChanged so instance styles don't need to be searched for every item-column. | |||||
* | [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 | |
| | ||||||
* | COLUMN_FOR_EACH no longer iterates over the tail column if the tail is not ↵ | treectrl | 2006-10-29 | 1 | -2/+4 | |
| | | | | allowed. | |||||
* | COLUMN_FOR_EACH no longer iterates over the tail column if the tail is not ↵ | treectrl | 2006-10-29 | 1 | -284/+170 | |
| | | | | | | | | allowed. Renamed some static functions. Qualifiers may now be the first part of a column description. Removed old code from "delete" command. | |||||
* | Qualifiers may now be the first part of an item description. This has the ↵ | treectrl | 2006-10-29 | 1 | -149/+150 | |
| | | | | | | | | | same effect as "all" followed by qualifiers. Removed "tag" keyword because of this. New qualifier "depth" allowed in item descriptions. Qualifier "nearest x y" takes pixel x/y args instead of plain integers. Renamed ISROOT to IS_ROOT to agree with other macros like the new IS_ALL macro. COLUMN_FOR_EACH no longer iterates over the tail column if the tail is not allowed. This fixed a crash with [style map] and removed the need to check for the tail column in some commands. | |||||
* | Fixed a bug with dynamic-option code incrementing the refcount of a NULL ↵ | treectrl | 2006-10-28 | 1 | -2/+3 | |
| | | | | Tcl_Object. | |||||
* | Deprecated commands and options are wrapped inside #ifdef DEPRECATED. | treectrl | 2006-10-28 | 4 | -37/+124 | |
| | ||||||
* | Consolidated the column-layout code, and applied the -uniform and -weight ↵ | treectrl | 2006-10-27 | 1 | -269/+474 | |
| | | | | options to locked columns. | |||||
* | The -weight option affects how extra space is allocated amongst -expand columns. | treectrl | 2006-10-27 | 1 | -5/+30 | |
| | ||||||
* | Added -uniform and -weight options to columns, which operate the same as the ↵ | treectrl | 2006-10-27 | 2 | -2/+224 | |
| | | | | [grid] geometry manager. | |||||
* | Don't allocate an item-column if setting its style to NULL. | treectrl | 2006-10-26 | 1 | -4/+6 | |
| | ||||||
* | Changed dynamic-option code to use AllocHax_xxx. | treectrl | 2006-10-26 | 4 | -46/+130 | |
| | ||||||
* | Nitpicks. | treectrl | 2006-10-26 | 1 | -5/+5 | |
| | ||||||
* | Column description of "all" doesn't return the tail column if the command ↵ | treectrl | 2006-10-26 | 1 | -53/+57 | |
| | | | | | | prohibits the tail. Fixed crash with "range a b" when a or b was the tail column. | |||||
* | Declare DynamicOption_AllocIfNeeded (used by ElementText). | treectrl | 2006-10-25 | 1 | -3/+5 | |
| | ||||||
* | Moved 4 fields out of ElementText into a dynamic-option record. | treectrl | 2006-10-25 | 1 | -77/+119 | |
| | ||||||
* | Tree_GetImage now uses reference counting on images. Tree_FreeImage ↵ | treectrl | 2006-10-18 | 2 | -23/+85 | |
| | | | | decrements the reference count and frees the image when needed. | |||||
* | DumpDInfo sets the interpreter result instead of calling dbwin. | treectrl | 2006-10-18 | 1 | -9/+21 | |
| | ||||||
* | Per-state images call Tree_FreeImage to decrement the reference count on an ↵ | treectrl | 2006-10-18 | 1 | -36/+37 | |
| | | | | | | | image. Previously the image instance was not freed until the tree was destroyed. Fiddled with AllocHax code. AllocHax_Stats dumps the result to the interpreter directly, instead of returning an malloc'd string. | |||||
* | Merged with BRANCH_dynamic_options. | treectrl | 2006-10-18 | 5 | -204/+1313 | |
| | ||||||
* | AllocHax_xxx takes a Tk_Uid arg for gathering stats on memory allocations. | treectrl | 2006-10-16 | 1 | -20/+29 | |
| | | | | TreeItem_UpdateWindowPositions only considers columns that are onscreen; this is possible because of the changes in tkTreeStyle.c. | |||||
* | AllocHax_xxx takes a Tk_Uid arg for gathering stats on memory allocations. | treectrl | 2006-10-16 | 1 | -28/+43 | |
| | | | | Lowered memory usage by lowering the "round up" argument to AllocHax_CAlloc. | |||||
* | Fixed "state" qualifier in column descriptions. | treectrl | 2006-10-16 | 1 | -129/+142 | |
| | ||||||
* | AllocHax_xxx takes a Tk_Uid arg for gathering stats on memory allocations. | treectrl | 2006-10-16 | 2 | -63/+157 | |
| |