r86

Details

  • Filename
    LibQTip-1.0-r86.zip
  • Uploaded by
  • Uploaded
    May 24, 2009
  • Size
    12.33 KB
  • Downloads
    31
  • MD5
    ce1ddc1b9bd9c760ee2ab61428465a8a

Supported WoW Versions

  • 3.1.0

Changelog

------------------------------------------------------------------------
r86 | torhal | 2009-05-24 05:43:40 +0000 (Sun, 24 May 2009) | 2 lines
Changed paths:
   M /trunk/LibQTip-1.0.lua

Fixed debug substitutions.
Placed upgrade code in debug comment block to stop it from breaking addons using older versions of the lib...
------------------------------------------------------------------------
r84 | torhal | 2009-05-24 02:29:54 +0000 (Sun, 24 May 2009) | 7 lines
Changed paths:
   M /trunk/LibQTip-1.0.lua

Upvalued AcquireTable and ReleaseTable
In lablePrototype:SetupCell(): Added checks for new (optional) parameters passed from SetCell() - padding and maxwidth.
If maxwidth is less than the length of the text in the cell, the text will wrap to the next line.
Fixed dangling letter clipping (bottoms of g, y, etc being cut off).
AcquireTable() and ReleaseTable() are now used for a tooltip's columns, lines, and colspans - less GC!
In LayoutColspans(), _SetCell(), and CreateLine(): Renamed "self" parameter to "tooltip".
Upped MINOR to 18
------------------------------------------------------------------------
r83 | torhal | 2009-05-23 04:58:49 +0000 (Sat, 23 May 2009) | 15 lines
Changed paths:
   M /trunk/LibQTip-1.0.lua

Added tableHeap, AcquireTable(), ReleaseTable() - at the moment only used in CreateLine() for line.cells
In AcquireTooltip(): Renamed the tip variable to tooltip for consistency.
In InitializeTooltip(): Renamed the self parameter to tooltip.
In tipPrototype:Clear(): Use ReleaseTable() on line.cells then set line.cells to nil.
Hand-merged Elkano's changes to the r77 version:
Relocated and grouped related functions and variables.
Renamed SetTipSize() to SetTooltipSize() and reworked it to not be a member method of tipPrototype.
Renamed FinalizeTooltip() to ReleaseTooltip() and relocated into it some code from tipPrototype:Release().
Removed the tooltip parameter from providerPrototype:AcquireCell(), as it was unused.
In tipPrototype:Clear(): Check if cell is non-nil before calling ReleaseCell().
In AcquireCell(): Rename self parameter to tooltip, set cell._provider as provider parameter.
In ReleaseCell(): Remove self parameter and all relevant checks.
In _SetCell(): Remove cell._provider assignment, as this is now done in AcquireCell().
In CreateLine(): Check for self.lines[lineNum] before acquiring a new line.

------------------------------------------------------------------------
r82 | adirelle | 2009-05-22 10:07:58 +0000 (Fri, 22 May 2009) | 2 lines
Changed paths:
   M /trunk/LibQTip-1.0.lua

Do not forget oldminor may be nil.

------------------------------------------------------------------------
r81 | adirelle | 2009-05-22 09:07:57 +0000 (Fri, 22 May 2009) | 3 lines
Changed paths:
   M /trunk/LibQTip-1.0.lua

Reset auto-hiding on release (so we recycle the timer frame).
Properly recycle frame lineHeap and columnHeap when upgrading from version prior to minor 14.

------------------------------------------------------------------------
r80 | torhal | 2009-05-22 04:31:45 +0000 (Fri, 22 May 2009) | 4 lines
Changed paths:
   M /trunk/LibQTip-1.0.lua

Re-instated the frameHeap. The lineHeap and columnHeap are no more.
Added tipPrototype:AddSeparator() - allows the addition of a separator line with optional height, r, g, b, and alpha arguments.
Reworked tipPrototype:SetAutoHideDelay() to use the frameHeap, and release self.autoHideTimerFrame when done.

------------------------------------------------------------------------
r78 | torhal | 2009-05-21 05:21:44 +0000 (Thu, 21 May 2009) | 2 lines
Changed paths:
   M /trunk/LibQTip-1.0.lua

In AutoHideTimerFrame_OnUpdate(): Changed behavior from hiding the parent to having the library release the parent.

------------------------------------------------------------------------
r77 | elkano | 2009-05-18 08:15:05 +0000 (Mon, 18 May 2009) | 1 line
Changed paths:
   M /trunk/LibQTip-1.0.lua

...and pushed minor for that
------------------------------------------------------------------------
r76 | elkano | 2009-05-18 08:14:40 +0000 (Mon, 18 May 2009) | 1 line
Changed paths:
   M /trunk/LibQTip-1.0.lua

fixed parenting for column and line frames fixing scaling problems
------------------------------------------------------------------------
r75 | torhal | 2009-05-17 06:11:37 +0000 (Sun, 17 May 2009) | 1 line
Changed paths:
   M /trunk/LibQTip-1.0.lua

Removed tipPrototype:GetTipSize() - completely unnecessary. Not upping library version until I'm ready to tag.
------------------------------------------------------------------------
r74 | adirelle | 2009-05-15 07:35:38 +0000 (Fri, 15 May 2009) | 2 lines
Changed paths:
   M /trunk/LibQTip-1.0.lua

Library minor version has to be manually increased.

------------------------------------------------------------------------
r73 | torhal | 2009-05-12 21:27:49 +0000 (Tue, 12 May 2009) | 1 line
Changed paths:
   M /trunk/LibQTip-1.0.lua

Added tipPrototype:GetTipSize()
------------------------------------------------------------------------
r71 | torhal | 2009-05-09 07:55:47 +0000 (Sat, 09 May 2009) | 1 line
Changed paths:
   M /trunk/LibQTip-1.0.toc

Updated Author section and added Credits for TOC.
------------------------------------------------------------------------
r70 | aesirrising | 2009-05-09 02:20:10 +0000 (Sat, 09 May 2009) | 1 line
Changed paths:
   M /trunk/LibQTip-1.0.toc

TOC Interface updated to 30100
------------------------------------------------------------------------
r68 | torhal | 2009-05-09 01:53:58 +0000 (Sat, 09 May 2009) | 3 lines
Changed paths:
   M /trunk/LibQTip-1.0.lua

Merged in Elkano's scrollable branch.
Upvalued heavily-used globals.
Fixed two accidental globals/bugs in scrollable code. (tip as reference instead of self)
------------------------------------------------------------------------
r67 | adirelle | 2009-05-04 06:09:20 +0000 (Mon, 04 May 2009) | 2 lines
Changed paths:
   M /trunk/LibQTip-1.0.lua

Added optional auto-hiding feature.

------------------------------------------------------------------------

Additional Files

Type Name Size Uploaded Game Version Downloads
11.14 KB May 24, 2009 3.1.0 4