r44

Details

  • Filename
    LibDialog-1.0-r44.zip
  • Uploaded by
  • Uploaded
    Sep 30, 2011
  • Size
    12.74 KB
  • Downloads
    110
  • MD5
    457ec096715ef87678b35b0017b4790c

Supported WoW Retail Versions

  • 4.2.0

Changelog

2011-09-30  James D. Callahan III  <darkenelf@gmail.com>

[04b147d883ce] [tip]
* LibDialog-1.0.lua

Initial LuaDoc API documentation.

[81938c7d02ca]
* .docmeta:

Changed .docmeta

[4d617f7a8eba]
* LibDialog-1.0.lua

Use unvalued references instead of table lookups.

[24d45aa6142b]
* .docmeta:

Added .docmeta file

2011-09-29  James D. Callahan III  <darkenelf@gmail.com>

[4b7913140ba1]
* LibDialog-1.0.lua

Replaced remaining occurrences of IsActive with ActiveDialog.

[265f911ae259]
* LibDialog-1.0.lua

Renamed lib:IsActive() to lib:ActiveDialog() and made its return value be the dialog which is found rather than true. Within lib:Spawn(), check to see if there is already an active dialog with the same delegate and data; if so, cancel it.

[efe950eb3bf2]
* LibDialog-1.0.lua

Look for dialog member "no_cancel_on_escape" instead of "cancel_ignores_escape"

[f74a40bc66d4]
* LibDialog-1.0.lua

When a dialog is spawned whose delegate has delegate names listed in a cancels_on_spawn table, cancel all active dialogs which match the named delegates.

[5adb751dca40]
* LibDialog-1.0.lua

When spawning a dialog with a delegate which is marked as exclusive, cancel any active dialogs which are also exclusive.

[0d6273c69174]
* LibDialog-1.0.lua

Call _RecycleWidget() on the dialog within it's OnHide script so lib:IsActive() will return false if called from code called from the delegate's on_hide

[ccf52c5b5bbc]
* LibDialog-1.0.lua

If the proposed widget-to-be-recycled isn't in the active list, do not add it to the heap.

[a4a05eee8789]
* LibDialog-1.0.lua

Unified common delegate-finding code into _FindDelegate()

[115b304beed3]
* LibDialog-1.0.lua

Added library Dismiss method to dismiss the specified dialog, optionally also by data.

[5aa72ab7d1cd]
* LibDialog-1.0.lua

Added IsActive() library method: Determines whether or not the specified dialog is active, optionally taking its data into account.

[ba2d41963874]
* LibDialog-1.0.lua

Reset edit box letters and bytes limits to unlimited upon release. Changed button on_click behavior: Only hide the dialog if the handler returns nil or false, and pass the dialog as "self" instead of the button - also pass an optional reason for firing the handler (default is "clicked").

[8e119ba03528]
* LibDialog-1.0.lua

Dialogs register for the DISPLAY_SIZE_CHANGED event and resize when it's fired. Removed some debug prints.

[90d6e7ad81d8]
* LibDialog-1.0.lua

Added dialog support for OnEvent handler: If the dialog_prototype has a method which matches the name of the event which fired, that method will be called.

[5af92dbeb2f4]
* LibDialog-1.0.lua

Added delegate OnUpdate support.

2011-09-27  James D. Callahan III  <darkenelf@gmail.com>

[fe407ab72934]
* LibDialog-1.0.lua

Do not require a button click handler to create a button from the delegate - text will suffice; the button will merely hide the dialog when clicked.

[b5254f48db66]
* LibDialog-1.0.lua

Proper value awareness for CheckButtons. Hide dialog on button press.

[55c3a7499605]
* LibDialog-1.0.lua

Ensure that dialogs always have an appropriate minimum width. Do not force the library user to input a text field on the delegate: instead, set it to an empty string and assume the user will fill it in later, perhaps in the delegate's on_show handler.

[f42429e0164b]
* LibDialog-1.0.lua

Mark newly-created dialogs as new - if the is_new field is present on a dialog, manually run its on_show and remove the is_new field; newly-created frames never fire their OnShow script handler.

[f69690770663]
* LibDialog-1.0.lua

Account for EditBox widths when resizing the dialog.

[eabbc14b8b1d]
* LibDialog-1.0.lua

When recycling a CheckButton, set the parent for its container to nil - not that of the CheckButton.

[bb7214c274f5]
* LibDialog-1.0.lua

Ensure proper cleanup of widgets on release. Added support for a dialog icon.

[3de2c2471741]
* LibDialog-1.0.lua

Multitude of layout tweaks - dialogs look much cleaner now.

2011-09-23  James D. Callahan III  <darkenelf@gmail.com>

[af340618c1ab]
* LibDialog-1.0.lua

Added support for multiple CheckButtons.

[a8a2c2b7e182]
* LibDialog-1.0.lua

Added support for multiple EditBoxes.

2011-09-22  James D. Callahan III  <darkenelf@gmail.com>

[0969fd6ae6c6]
* LibDialog-1.0.lua

Layout tweaks and proper button anchoring.

[de6ce940e8b2]
* LibDialog-1.0.lua

Don't directly set the width when the dialog has three buttons - use the bigger value between the current width and the required width.