summaryrefslogtreecommitdiffstats
path: root/generic/tkTreeUtils.c
Commit message (Collapse)AuthorAgeFilesLines
* Always include tclInt.h to fix compilation under 8.5.treectrl2006-11-101-6/+31
| | | | Fixed incorrect duplicating of list objects in PerStateInfo_Undefine.
* Added DStringAppendf to append a formatted string to a dynamic string. Use ↵treectrl2006-11-061-4/+33
| | | | it in AllocHax_Stats.
* Deprecated the treectrl option -defaultstyle.treectrl2006-11-031-3/+97
| | | | Added column option -itemstyle (replaces -defaultstyle).
* 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.
* Added underline arg to TextLayout_Draw. [ Patch 1580928 ]treectrl2006-10-311-2/+18
|
* Fix a critical bug with OptionHax_Forget.treectrl2006-10-301-2/+2
|
* Fixed a bug with dynamic-option code incrementing the refcount of a NULL ↵treectrl2006-10-281-2/+3
| | | | Tcl_Object.
* Changed dynamic-option code to use AllocHax_xxx.treectrl2006-10-261-34/+115
|
* 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-181-21/+771
|
* AllocHax_xxx takes a Tk_Uid arg for gathering stats on memory allocations.treectrl2006-10-161-54/+149
|
* Added AllocHax_Realloc.treectrl2006-10-051-18/+290
| | | | | Changed TagInfo_xxx to accept a TreeCtrl arg and use AllocHax_xxx for a big speedup. Created a PerStateInfo custom option type.
* Wrap various fields in TREECTRL_DEBUG define to save some memory.treectrl2006-10-041-92/+1036
| | | | | | TreeItemList_xxx renamed to TreePtrList_xxx so columns and rowlabels can use these routines. TagExpr_xxx moved from tkTreeItem.c TagInfo_xxx added.
* Added various TreeItemList_xxx routines.treectrl2006-09-211-1/+167
|
* Bumped copyright to 2006.treectrl2006-09-051-2/+2
|
* Add Tcl block comments above each function. Comment function arguments.treectrl2005-09-191-80/+725
|
* Converted to tab+space indentation.treectrl2005-09-161-1012/+1012
|
* #include <tclInt.h> on OSX for TCL_ALIGN definition.treectrl2005-09-141-1/+2
|
* Fixed alignment problem with allocated array of structures affecting some ↵treectrl2005-09-091-5/+5
| | | | systems.
* Commented AllocHax stuff. Changed how AllocHax_Free calculates the address ↵treectrl2005-09-071-13/+59
| | | | of the AllocElem using Tcl_DbCkfree() as a guide.
* Removed wipefree() function.treectrl2005-09-071-13/+6
| | | | | Replaced wipefree() calls with WIPEFREE(). AllocHax_Free(): replaced memset() with WIPE().
* Fix bug "[ 1237934 ] ColumnDrag problem". The ximage->red_mask etc were all ↵treectrl2005-07-151-10/+11
| | | | zeroes, causing an infinite loop.
* UnsetClipMask works around Tk_DrawChars not clearing the clip region on Win32.treectrl2005-07-071-1/+17
|
* Fixed unix compile issue. [BUG 1222277]treectrl2005-06-181-8/+23
| | | | Fixed per-state-info crash [BUG 1222419]
* Removed unused variable.treectrl2005-06-151-1/+5
|
* Keep a free list of TextLayout's.treectrl2005-06-131-7/+86
| | | | | Track the total width of a text layout to work around an issue in the "text" element type. AllocHax_Alloc doubles the size of allocated blocks from 16 up to 1024, instead of always using a fixed size of 128.
* Use ALLOC_HAX for allocating/freeing per-state data.treectrl2005-06-041-2/+25
| | | | PerStateInfo_Undefine changed to return indication of whether anything was modified.
* Added boolean PerStateType.treectrl2005-06-021-1/+50
|
* Fix XImage2Photo under Tk 8.5 (tree was undefined).treectrl2005-05-291-2/+2
|
* Fix for DrawXORLine.treectrl2005-05-271-1/+5
|
* Implemented Tree_DrawBitmapWithGC and Tree_DrawBitmap to work around bug ↵treectrl2005-05-241-1/+61
| | | | with drawing bitmaps into a window on Win32.
* Added DrawXORLine under OSX to handle the column proxy, since XOR is only ↵treectrl2005-05-221-3/+27
| | | | supported by QuickDraw, not CoreGraphics.
* Fixes to DotRect_xxx under Aqua since Quartz doesn't do XOR drawing.treectrl2005-05-221-4/+76
| | | | | Fix Tk_FillRegion under Aqua. Declare Tree_ScrollWindow to work around Tk bug with TkScrollWindow on the Mac.
* Attempt fix for Tk_FillRegion using OffsetRgn.treectrl2005-05-211-1/+4
|
* Fixes to Tk_FillRegion() (thx to M Kirkham).treectrl2005-05-211-4/+3
|
* Put back Tk_FillRegion() change.treectrl2005-05-201-2/+23
|
* Replaced TARGET_OS_MAC with MAC_TCL and MAC_OSX_TK macros according to ↵treectrl2005-05-191-30/+9
| | | | | | Apple's Tiger patches. Reverted recent changed to Tk_FillRegion(). Original must have worked?
* Attempt to fix Tk_FillRegion() on the mac using QuickDraw. *** Hasn't even ↵treectrl2005-05-191-2/+22
| | | | been compiled yet. ***
* ALLOC_HAX: play games with memory allocation for speed boost.treectrl2005-05-171-1/+137
|
* Added arg to Ellipsis to force ellipsis.treectrl2005-05-101-12/+856
| | | | | | XImage2Photo added to support column drag-and-drop reordering. Truncation with "..." is less aggressive when space is available. Moved PerState stuff from tkTreeElem.c.
* Bumped copyright to 2005.treectrl2005-05-011-2/+2
|
* Macintosh drawing fixes.treectrl2005-01-031-1/+10
|
* Implement Tk_ScrollRegion() and Tk_OffsetRegion() on Mac (submitted by user).treectrl2004-10-241-4/+8
|
* * generic/tkTreeUtils.c: Implement Tk_OffsetRegion ashobbs22004-10-091-2/+4
| | | | XOffsetRegion on unix. (werner)
* New Tk_OffsetRegion() routine.treectrl2004-08-091-1/+10
|
* Add copyright.treectrl2004-07-301-0/+10
|
* Tk_FillRegion moved from tkTreeDisplay.c (was XFillRegion).treectrl2003-01-051-8/+28
| | | | More SetROP2() changes: set it before every draw into HDC.
* Use GetROP2/SetROP2 when modifying/releasing device context.treectrl2003-01-051-0/+6
|
* TreeCtrl_GetPadAmountFromObj: don't modify vars if error occurs. It was a ↵treectrl2003-01-021-5/+8
| | | | problem for style layout.
* Big padx and pady patch.treectrl2003-01-021-0/+263
|