Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Renamed many symbols to avoid collisions under ELF. | treectrl | 2007-01-23 | 1 | -117/+118 |
| | | | | Renamed Element to TreeElement_. | ||||
* | Moved tclInt.h to the main header file. | treectrl | 2007-01-21 | 1 | -5/+82 |
| | | | | dbwin() now sets a global variable called dbwin with a string. The string can be ignored, printed to stdout, written to a log file, etc. | ||||
* | Changed the way text elements display an ellipsis. At least 1 character plus ↵ | treectrl | 2006-12-23 | 1 | -36/+43 |
| | | | | | | the ellipsis is displayed if the text element is squeezed. Previously the ellipsis would not be drawn once there wasn't room for 1 character plus the ellipsis. Fixed a layout bug with multi-line text elements when the unsqueezed element did not require a multi-line layout but the squeezed element did. | ||||
* | Formatting of braces. | treectrl | 2006-12-22 | 1 | -119/+60 |
| | |||||
* | UNTESTED: Set the clipping region when drawing dotted rectangles under OSX. | treectrl | 2006-12-06 | 1 | -5/+27 |
| | |||||
* | Created a stack of TkRegions to avoid creating/destroying them repeatedly. | treectrl | 2006-12-06 | 1 | -2/+61 |
| | | | | Fixed a leak on X11 where the clipping region was not being freed after drawing dotted rectangles. | ||||
* | Renamed the 2 PerStateGC_xxx functions since they had nothing to do with ↵ | treectrl | 2006-12-06 | 1 | -26/+28 |
| | | | | per-state options. Call the renamed functions from several places where GCs are used. Removed ElementText.gc to save some more memory. | ||||
* | DynamicOption_FindData returns void* to avoid lots of casts. | treectrl | 2006-12-04 | 1 | -2/+2 |
| | |||||
* | Added Tree_GetIntForIndex to handle "end?-offset?" indices. | treectrl | 2006-12-02 | 1 | -9/+60 |
| | | | | Removed some unnecessary casts. | ||||
* | The item option -button may now be "auto" in which case a button is drawn ↵ | treectrl | 2006-11-30 | 1 | -1/+145 |
| | | | | only when the item has a child whose -visible option is true. | ||||
* | Testing SW_SCROLLCHILDREN. | treectrl | 2006-11-22 | 1 | -1/+53 |
| | |||||
* | New routine OptionSpec_Find is used to search an option table. | treectrl | 2006-11-19 | 1 | -52/+182 |
| | | | | Added a new custom option that stores a boolean value in a single bit. | ||||
* | 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. *** |