Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed bug resulting in redrawing the borders needlessly. | treectrl | 2006-11-13 | 1 | -17/+28 | |
| | ||||||
* | Fixed not being able to scroll horizontally when the header is wider than ↵ | treectrl | 2006-11-12 | 3 | -59/+101 | |
| | | | | | | | the window but no items are displayed. Merged the DINFO_REDO_COLUMN_WIDTH and DINFO_CHECK_COLUMN_WIDTH blocks. Recalculate tree->columnBgCnt here since it wasn't being done when columns were deleted etc. Make sure whitespace is redrawn when changing from complex to non-complex drawing (i.e., drawing -itembackground colors). | |||||
* | Removed a useless #args check from [element delete] and added one to ↵ | treectrl | 2006-11-12 | 1 | -6/+6 | |
| | | | | [element names]. | |||||
* | Fixed crash with incorrect number of args in [element perstate]. | treectrl | 2006-11-10 | 1 | -2/+2 | |
| | ||||||
* | 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. | |||||
* | Fixed bug with TreeItem_UpdateWindowPositions not stopping on the right edge ↵ | treectrl | 2006-11-10 | 1 | -3/+3 | |
| | | | | | | of the visible area (was using the bottom edge by mistake). Make TreeItem_Identify2 stop checking spans that are past the right edge of the area being hit-tested. | |||||
* | Always include tclInt.h to fix compilation under 8.5. | treectrl | 2006-11-10 | 1 | -7/+2 | |
| | ||||||
* | Changed 2 incorrect 'return' statements to 'goto'. | treectrl | 2006-11-10 | 1 | -3/+3 | |
| | ||||||
* | Added Tree_HeaderXXX macros for getting the position of the header. | treectrl | 2006-11-10 | 3 | -20/+31 | |
| | ||||||
* | Moved checks of tree->updateIndex into Tree_UpdateItemIndex. | treectrl | 2006-11-09 | 1 | -3/+2 | |
| | ||||||
* | Moved checks of tree->updateIndex into Tree_UpdateItemIndex. | treectrl | 2006-11-09 | 1 | -74/+111 | |
| | | | | | Removed lots of type-casts. Changed the drawing order of -itembackground colors in the whitespace region to match that of item drawing (center, left then right). | |||||
* | Moved checks of tree->updateIndex into Tree_UpdateItemIndex. | treectrl | 2006-11-09 | 1 | -24/+24 | |
| | | | | | Fixed [item bbox] not working when the widget was not mapped. Fixed [item bbox] not returning an error if the element name was invalid. | |||||
* | Fixed disclosure triangles being drawn with a white background under OSX. | treectrl | 2006-11-09 | 1 | -6/+2 | |
| | ||||||
* | Removed hundreds of type-casts and pointer copies. | treectrl | 2006-11-08 | 4 | -891/+770 | |
| | ||||||
* | Moved TreeCtrlColumnImage out of the global namespace. | treectrl | 2006-11-08 | 1 | -44/+39 | |
| | | | | Fixed clipping error on the drag image when a column header is wider than the window. | |||||
* | Code cleanup and comments added. | treectrl | 2006-11-08 | 1 | -68/+124 | |
| | ||||||
* | Attempt to avoid the white background behind the disclosure triangles on ↵ | treectrl | 2006-11-07 | 1 | -3/+29 | |
| | | | | OSX. Remains to be tested... | |||||
* | Declare TreeItem_GetElemRects, remove TreeStyle_ValidateElements. | treectrl | 2006-11-07 | 1 | -2/+6 | |
| | ||||||
* | Changed [dragimage add] to respect spans and locked columns. | treectrl | 2006-11-07 | 1 | -5/+103 | |
| | ||||||
* | Changed [item bbox] to respect spans. | treectrl | 2006-11-07 | 1 | -4/+110 | |
| | ||||||
* | TreeStyle_ValidateElements no longer used. | treectrl | 2006-11-07 | 1 | -7/+12 | |
| | ||||||
* | Sped up calculation of scroll increments when there is only a single range. | treectrl | 2006-11-07 | 1 | -37/+59 | |
| | ||||||
* | Remove COLUMN_LOCK-related code. | treectrl | 2006-11-07 | 6 | -654/+75 | |
| | ||||||
* | Remove COLUMN_SPAN-related code. | treectrl | 2006-11-07 | 3 | -305/+45 | |
| | ||||||
* | Remove NEW_SPAN_CODE-related code. | treectrl | 2006-11-07 | 5 | -163/+36 | |
| | ||||||
* | Keep an array of column indexes for each item that has at least one span > ↵ | treectrl | 2006-11-06 | 1 | -1/+11 | |
| | | | | | | 1. This is to avoid constantly recalculating the list of spans for displayed items. The list of spans is recalculated whenever [item span] changes a span, or whenever a column is created/deleted/moved or has its -lock or -visible option changed. Declare DStringAppendf. | |||||
* | Keep an array of column indexes for each item that has at least one span > ↵ | treectrl | 2006-11-06 | 1 | -3/+30 | |
| | | | | | | 1. This is to avoid constantly recalculating the list of spans for displayed items. The list of spans is recalculated whenever [item span] changes a span, or whenever a column is created/deleted/moved or has its -lock or -visible option changed. DumpDInfo now takes an index to indicate which kind of information to return. | |||||
* | Keep an array of column indexes for each item that has at least one span > ↵ | treectrl | 2006-11-06 | 1 | -115/+145 | |
| | | | | | | | | 1. This is to avoid constantly recalculating the list of spans for displayed items. The list of spans is recalculated whenever [item span] changes a span, or whenever a column is created/deleted/moved or has its -lock or -visible option changed. Use DStringAppendf in various places. Cleaned up the column-tracking code. DumpDInfo now takes an index to indicate which kind of information to return. | |||||
* | Keep an array of column indexes for each item that has at least one span > ↵ | treectrl | 2006-11-06 | 1 | -1/+17 | |
| | | | | 1. This is to avoid constantly recalculating the list of spans for displayed items. The list of spans is recalculated whenever [item span] changes a span, or whenever a column is created/deleted/moved or has its -lock or -visible option changed. | |||||
* | Keep an array of column indexes for each item that has at least one span > ↵ | treectrl | 2006-11-06 | 1 | -13/+276 | |
| | | | | | | 1. This is to avoid constantly recalculating the list of spans for displayed items. The list of spans is recalculated whenever [item span] changes a span, or whenever a column is created/deleted/moved or has its -lock or -visible option changed. TreeItem_OnScreen disabled since the display code tracks each column's visibility. | |||||
* | Added DStringAppendf to append a formatted string to a dynamic string. Use ↵ | treectrl | 2006-11-06 | 1 | -4/+33 | |
| | | | | it in AllocHax_Stats. | |||||
* | Fixed item background colors not drawing over the whole item in some cases. | treectrl | 2006-11-06 | 1 | -12/+20 | |
| | ||||||
* | 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. |