summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix some cases where left/right locked columns weren't being redisplayed.treectrl2006-11-061-25/+65
|
* Chopped out WALK_SPANS unused code.treectrl2006-11-061-454/+1
|
* Added missing prototype.treectrl2006-11-061-1/+2
|
* Be more efficient when calculating which columns are onscreen.treectrl2006-11-061-5/+21
|
* Avoid unnecessary calculation of column offset.treectrl2006-11-061-10/+4
| | | | Remove forgotten line of code.
* Added a routine to walk over each span of an item and call a callback ↵treectrl2006-11-061-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.treectrl2006-11-051-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.treectrl2006-11-041-107/+214
|
* Deprecated the treectrl option -defaultstyle.treectrl2006-11-036-19/+220
| | | | Added column option -itemstyle (replaces -defaultstyle).
* Removed unneeded COLU_CONF_xxx constants.treectrl2006-11-031-24/+26
| | | | Fix problem when an error occurs configuring -image or -itembackground options.
* Fix crash when destroying a treectrl with non-empty -backgroundimage.treectrl2006-11-031-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.treectrl2006-11-031-14/+27
|
* Fix compilation when ALLOC_HAX is undefined.treectrl2006-11-031-3/+3
|
* Fixed handling of Tcl_Obj with per-state and dynamic custom options.treectrl2006-11-031-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.treectrl2006-11-031-6/+33
|
* BG_MODE_INDEX and BG_MODE_VISINDEX wrapped in #ifdef DEPRECATED.treectrl2006-11-031-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.treectrl2006-11-031-1/+3
|
* Memory leak: DItem.spans wasn't being preserved when reusing a DItem or ↵treectrl2006-11-031-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 ]treectrl2006-10-311-26/+88
|
* Added underline arg to TextLayout_Draw. [ Patch 1580928 ]treectrl2006-10-313-14/+46
|
* Fix a critical bug with OptionHax_Forget.treectrl2006-10-301-2/+2
|
* Changed handling of deleted items (again) so that the item is removed from ↵treectrl2006-10-303-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] ↵treectrl2006-10-301-26/+29
| | | | allowing zero or more item arguments.
* Pass flags argument to Tree_ElementChangedItself for when a master element ↵treectrl2006-10-301-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 ↵treectrl2006-10-301-2/+2
| | | | configures itself.
* Fixed a crash when a master element calls Tree_ElementChangedItself.treectrl2006-10-301-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.treectrl2006-10-301-3/+3
|
* Renamed columnCustomOption_xxx.treectrl2006-10-291-3/+3
|
* COLUMN_FOR_EACH no longer iterates over the tail column if the tail is not ↵treectrl2006-10-291-2/+4
| | | | allowed.
* COLUMN_FOR_EACH no longer iterates over the tail column if the tail is not ↵treectrl2006-10-291-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 ↵treectrl2006-10-291-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 ↵treectrl2006-10-281-2/+3
| | | | Tcl_Object.
* Deprecated commands and options are wrapped inside #ifdef DEPRECATED.treectrl2006-10-284-37/+124
|
* Consolidated the column-layout code, and applied the -uniform and -weight ↵treectrl2006-10-271-269/+474
| | | | options to locked columns.
* The -weight option affects how extra space is allocated amongst -expand columns.treectrl2006-10-271-5/+30
|
* Added -uniform and -weight options to columns, which operate the same as the ↵treectrl2006-10-272-2/+224
| | | | [grid] geometry manager.
* Don't allocate an item-column if setting its style to NULL.treectrl2006-10-261-4/+6
|
* Changed dynamic-option code to use AllocHax_xxx.treectrl2006-10-264-46/+130
|
* Nitpicks.treectrl2006-10-261-5/+5
|
* Column description of "all" doesn't return the tail column if the command ↵treectrl2006-10-261-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).treectrl2006-10-251-3/+5
|
* Moved 4 fields out of ElementText into a dynamic-option record.treectrl2006-10-251-77/+119
|
* Tree_GetImage now uses reference counting on images. Tree_FreeImage ↵treectrl2006-10-182-23/+85
| | | | decrements the reference count and frees the image when needed.
* DumpDInfo sets the interpreter result instead of calling dbwin.treectrl2006-10-181-9/+21
|
* Per-state images call Tree_FreeImage to decrement the reference count on an ↵treectrl2006-10-181-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.treectrl2006-10-185-204/+1313
|
* AllocHax_xxx takes a Tk_Uid arg for gathering stats on memory allocations.treectrl2006-10-161-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.treectrl2006-10-161-28/+43
| | | | Lowered memory usage by lowering the "round up" argument to AllocHax_CAlloc.
* Fixed "state" qualifier in column descriptions.treectrl2006-10-161-129/+142
|
* AllocHax_xxx takes a Tk_Uid arg for gathering stats on memory allocations.treectrl2006-10-162-63/+157
|