Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Always include tclInt.h to fix compilation under 8.5. | treectrl | 2006-11-10 | 1 | -6/+31 |
| | | | | Fixed incorrect duplicating of list objects in PerStateInfo_Undefine. | ||||
* | Added DStringAppendf to append a formatted string to a dynamic string. Use ↵ | treectrl | 2006-11-06 | 1 | -4/+33 |
| | | | | it in AllocHax_Stats. | ||||
* | Deprecated the treectrl option -defaultstyle. | treectrl | 2006-11-03 | 1 | -3/+97 |
| | | | | Added column option -itemstyle (replaces -defaultstyle). | ||||
* | 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. | ||||
* | Added underline arg to TextLayout_Draw. [ Patch 1580928 ] | treectrl | 2006-10-31 | 1 | -2/+18 |
| | |||||
* | Fix a critical bug with OptionHax_Forget. | treectrl | 2006-10-30 | 1 | -2/+2 |
| | |||||
* | Fixed a bug with dynamic-option code incrementing the refcount of a NULL ↵ | treectrl | 2006-10-28 | 1 | -2/+3 |
| | | | | Tcl_Object. | ||||
* | Changed dynamic-option code to use AllocHax_xxx. | treectrl | 2006-10-26 | 1 | -34/+115 |
| | |||||
* | 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 | 1 | -21/+771 |
| | |||||
* | AllocHax_xxx takes a Tk_Uid arg for gathering stats on memory allocations. | treectrl | 2006-10-16 | 1 | -54/+149 |
| | |||||
* | Added AllocHax_Realloc. | treectrl | 2006-10-05 | 1 | -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. | treectrl | 2006-10-04 | 1 | -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. | treectrl | 2006-09-21 | 1 | -1/+167 |
| | |||||
* | Bumped copyright to 2006. | treectrl | 2006-09-05 | 1 | -2/+2 |
| | |||||
* | Add Tcl block comments above each function. Comment function arguments. | treectrl | 2005-09-19 | 1 | -80/+725 |
| | |||||
* | Converted to tab+space indentation. | treectrl | 2005-09-16 | 1 | -1012/+1012 |
| | |||||
* | #include <tclInt.h> on OSX for TCL_ALIGN definition. | treectrl | 2005-09-14 | 1 | -1/+2 |
| | |||||
* | Fixed alignment problem with allocated array of structures affecting some ↵ | treectrl | 2005-09-09 | 1 | -5/+5 |
| | | | | systems. | ||||
* | Commented AllocHax stuff. Changed how AllocHax_Free calculates the address ↵ | treectrl | 2005-09-07 | 1 | -13/+59 |
| | | | | of the AllocElem using Tcl_DbCkfree() as a guide. | ||||
* | Removed wipefree() function. | treectrl | 2005-09-07 | 1 | -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 ↵ | treectrl | 2005-07-15 | 1 | -10/+11 |
| | | | | zeroes, causing an infinite loop. | ||||
* | UnsetClipMask works around Tk_DrawChars not clearing the clip region on Win32. | treectrl | 2005-07-07 | 1 | -1/+17 |
| | |||||
* | Fixed unix compile issue. [BUG 1222277] | treectrl | 2005-06-18 | 1 | -8/+23 |
| | | | | Fixed per-state-info crash [BUG 1222419] | ||||
* | Removed unused variable. | treectrl | 2005-06-15 | 1 | -1/+5 |
| | |||||
* | Keep a free list of TextLayout's. | treectrl | 2005-06-13 | 1 | -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. | treectrl | 2005-06-04 | 1 | -2/+25 |
| | | | | PerStateInfo_Undefine changed to return indication of whether anything was modified. | ||||
* | Added boolean PerStateType. | treectrl | 2005-06-02 | 1 | -1/+50 |
| | |||||
* | Fix XImage2Photo under Tk 8.5 (tree was undefined). | treectrl | 2005-05-29 | 1 | -2/+2 |
| | |||||
* | Fix for DrawXORLine. | treectrl | 2005-05-27 | 1 | -1/+5 |
| | |||||
* | Implemented Tree_DrawBitmapWithGC and Tree_DrawBitmap to work around bug ↵ | treectrl | 2005-05-24 | 1 | -1/+61 |
| | | | | with drawing bitmaps into a window on Win32. | ||||
* | Added DrawXORLine under OSX to handle the column proxy, since XOR is only ↵ | treectrl | 2005-05-22 | 1 | -3/+27 |
| | | | | supported by QuickDraw, not CoreGraphics. | ||||
* | Fixes to DotRect_xxx under Aqua since Quartz doesn't do XOR drawing. | treectrl | 2005-05-22 | 1 | -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. | treectrl | 2005-05-21 | 1 | -1/+4 |
| | |||||
* | Fixes to Tk_FillRegion() (thx to M Kirkham). | treectrl | 2005-05-21 | 1 | -4/+3 |
| | |||||
* | Put back Tk_FillRegion() change. | treectrl | 2005-05-20 | 1 | -2/+23 |
| | |||||
* | Replaced TARGET_OS_MAC with MAC_TCL and MAC_OSX_TK macros according to ↵ | treectrl | 2005-05-19 | 1 | -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 ↵ | treectrl | 2005-05-19 | 1 | -2/+22 |
| | | | | been compiled yet. *** | ||||
* | ALLOC_HAX: play games with memory allocation for speed boost. | treectrl | 2005-05-17 | 1 | -1/+137 |
| | |||||
* | Added arg to Ellipsis to force ellipsis. | treectrl | 2005-05-10 | 1 | -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. | treectrl | 2005-05-01 | 1 | -2/+2 |
| | |||||
* | Macintosh drawing fixes. | treectrl | 2005-01-03 | 1 | -1/+10 |
| | |||||
* | Implement Tk_ScrollRegion() and Tk_OffsetRegion() on Mac (submitted by user). | treectrl | 2004-10-24 | 1 | -4/+8 |
| | |||||
* | * generic/tkTreeUtils.c: Implement Tk_OffsetRegion as | hobbs2 | 2004-10-09 | 1 | -2/+4 |
| | | | | XOffsetRegion on unix. (werner) | ||||
* | New Tk_OffsetRegion() routine. | treectrl | 2004-08-09 | 1 | -1/+10 |
| | |||||
* | Add copyright. | treectrl | 2004-07-30 | 1 | -0/+10 |
| | |||||
* | Tk_FillRegion moved from tkTreeDisplay.c (was XFillRegion). | treectrl | 2003-01-05 | 1 | -8/+28 |
| | | | | More SetROP2() changes: set it before every draw into HDC. | ||||
* | Use GetROP2/SetROP2 when modifying/releasing device context. | treectrl | 2003-01-05 | 1 | -0/+6 |
| | |||||
* | TreeCtrl_GetPadAmountFromObj: don't modify vars if error occurs. It was a ↵ | treectrl | 2003-01-02 | 1 | -5/+8 |
| | | | | problem for style layout. | ||||
* | Big padx and pady patch. | treectrl | 2003-01-02 | 1 | -0/+263 |
| |