------------------------------------------------------------------------
r635 | jlam | 2012-11-04 01:27:30 +0000 (Sun, 04 Nov 2012) | 1 line
Changed paths:
   A /tags/5.0.23 (from /trunk:633)

Tagging as 5.0.23 release
------------------------------------------------------------------------
r633 | jlam | 2012-10-28 23:58:11 +0000 (Sun, 28 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleAura.lua

Avoid nil GUIDs.
------------------------------------------------------------------------
r632 | jlam | 2012-10-28 23:48:35 +0000 (Sun, 28 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleAura.lua

Avoid nil unit IDs.
------------------------------------------------------------------------
r630 | jlam | 2012-10-28 22:02:05 +0000 (Sun, 28 Oct 2012) | 3 lines
Changed paths:
   M /trunk/OvaleAura.lua
   M /trunk/OvaleCondition.lua

Cache aura values if available when updating auras on units.

Use the cached values in TickValue() script condition.
------------------------------------------------------------------------
r629 | jlam | 2012-10-28 22:01:50 +0000 (Sun, 28 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleAura.lua

Fix ticket 186 & re-enable CLEU event handler for *target unit IDs.
------------------------------------------------------------------------
r627 | jlam | 2012-10-27 03:04:45 +0000 (Sat, 27 Oct 2012) | 12 lines
Changed paths:
   M /trunk/OvaleAura.lua
   M /trunk/OvaleCompile.lua
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua

Major bug fix for aura-tracking.

- CLEU events don't fire properly when auras are not directly refreshed,
  e.g., refreshed by a spell other than the one that applies it.  Switch
  to using UNIT_AURA events instead for all "primary" unit IDs and only
  use the less accurate CLEU events for *target unit IDs.

- Fix missing detection of filtered buffs.

- Add new tables auraConditions & spellbookConditions that list conditions
  that refer to aura IDs or player's spell IDs.  These are used by the
  script compiler to tag spell IDs for further processing.
------------------------------------------------------------------------
r625 | jlam | 2012-10-26 05:25:06 +0000 (Fri, 26 Oct 2012) | 5 lines
Changed paths:
   M /trunk/Ovale.lua
   M /trunk/OvaleAura.lua
   M /trunk/OvaleCompile.lua
   M /trunk/OvaleData.lua

Filter out spells that we don't care about from the aura-tracking code.

This reduces the number of events for which Ovale updates auras.  Also fix
a bug in the compilation where missing spells weren't re-added to the
spellbook after reloading the UI or zoning into a new zone.
------------------------------------------------------------------------
r624 | jlam | 2012-10-26 05:24:52 +0000 (Fri, 26 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Add TickValue() script condition to get tick amounts of DoTs.
------------------------------------------------------------------------
r623 | jlam | 2012-10-26 05:24:38 +0000 (Fri, 26 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleData.lua

Return a usable tick length even if spell haste is unknown.
------------------------------------------------------------------------
r622 | jlam | 2012-10-26 05:24:23 +0000 (Fri, 26 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleState.lua

Remove the use of some temporary tables.
------------------------------------------------------------------------
r621 | jlam | 2012-10-25 14:48:44 +0000 (Thu, 25 Oct 2012) | 4 lines
Changed paths:
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleFuture.lua

Cache player level in OvaleData.

This avoids calling UnitLevel("player") except for player entering the
world.
------------------------------------------------------------------------
r620 | jlam | 2012-10-25 14:48:22 +0000 (Thu, 25 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleData.lua

Make local copies of global references.
------------------------------------------------------------------------
r618 | jlam | 2012-10-23 03:23:31 +0000 (Tue, 23 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleData.lua

needCompile is false/"quick"/true.
------------------------------------------------------------------------
r616 | jlam | 2012-10-23 03:08:52 +0000 (Tue, 23 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleCompile.lua

Add a warning when compiling the script if the spell ID is unknown.
------------------------------------------------------------------------
r615 | jlam | 2012-10-23 03:08:34 +0000 (Tue, 23 Oct 2012) | 4 lines
Changed paths:
   M /trunk/OvaleData.lua

Force a full compile if player gains new talents.

New talents could mean new spells in the spellbook, so reprocess the
entire script in case the new spells are referenced in the script.
------------------------------------------------------------------------
r613 | jlam | 2012-10-21 01:06:32 +0000 (Sun, 21 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleEnemies.lua

Print correct debugging statements even if strings are nil.
------------------------------------------------------------------------
r612 | jlam | 2012-10-21 01:06:15 +0000 (Sun, 21 Oct 2012) | 1 line
Changed paths:
   M /trunk/compiler.pl

Teach compiler.pl more methods in Frame and ActionButtonTemplate.
------------------------------------------------------------------------
r610 | jlam | 2012-10-19 16:05:36 +0000 (Fri, 19 Oct 2012) | 1 line
Changed paths:
   M /trunk/Ovale.lua

Fix bad search-and-replace.
------------------------------------------------------------------------
r608 | jlam | 2012-10-19 01:38:35 +0000 (Fri, 19 Oct 2012) | 1 line
Changed paths:
   M /trunk/Ovale.lua
   M /trunk/OvaleAura.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleEnemies.lua
   M /trunk/OvaleGUID.lua
   M /trunk/OvaleOptions.lua

Replace some commented out :Print() with :debugPrint().
------------------------------------------------------------------------
r607 | jlam | 2012-10-19 01:38:22 +0000 (Fri, 19 Oct 2012) | 9 lines
Changed paths:
   M /trunk/Ovale.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleOptions.lua

Add a debugging module to Ovale to selectively print debugging messages.

Add a new public method Ovale:debugPrint(flag, ...) that prints the
message if the debugging flag has been set.  The flag can be any string.
Flags may be toggled with: /ovale toggledebug <flag>.
Flags may be listed with: /ovale debugflags.

Add some debugging print statements for when a script compilation is
requested using a "compile" flag.
------------------------------------------------------------------------
r606 | jlam | 2012-10-19 01:38:00 +0000 (Fri, 19 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleCompile.lua

Use a more efficient method to replace constants with values.
------------------------------------------------------------------------
r604 | jlam | 2012-10-18 01:05:37 +0000 (Thu, 18 Oct 2012) | 15 lines
Changed paths:
   M /trunk/Ovale.lua
   M /trunk/OvaleCompile.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleFrame.lua

Split compilation into two phases: "quick" and "full".

The "quick" phase only compiles the parts of the script that may change as
a result of things that trigger recompilation.  This includes changing
SpellInfo(), AddCheckBox() and AddListItem().

The "full" phase compiles the entire script.  This has been modified to
also compile AddIcon() groups that may be disabled and storing their nodes
in Ovale.masterNodes.

At run-time, when a "quick" compile is requested, Ovale executes the quick
compile and then updates the status of each master node (corresponding to
an icon) as to whether the node is enabled or not.

OvaleFrame only shows icons for enabled master nodes.
------------------------------------------------------------------------
r603 | jlam | 2012-10-17 16:07:14 +0000 (Wed, 17 Oct 2012) | 1 line
Changed paths:
   M /trunk/compiler.pl

Teach compiler.pl about more AceAddon methods.
------------------------------------------------------------------------
r602 | jlam | 2012-10-17 02:12:34 +0000 (Wed, 17 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleBestAction.lua

Don't leak variables into global namespace.
------------------------------------------------------------------------
r600 | jlam | 2012-10-16 02:21:13 +0000 (Tue, 16 Oct 2012) | 11 lines
Changed paths:
   M /trunk/Ovale.lua
   M /trunk/OvaleAura.lua

Don't compile the script so often during combat.

The UPDATE_SHAPESHIFT_FORM event fires far more often than it should
according to the documentation.  It will fire even when the player's
shapeshift form or stance doesn't change.  Modify the OvaleAura to catch
UPDATE_SHAPESHIFT_FORM(S) and verify that the stance actually changed
before raising a new event Ovale_UpdateShapeshiftForm that may caught by
other Ovale modules that care about stances.

This should fix the problem where the script was compiling very often
during combat for some classes.
------------------------------------------------------------------------
r599 | jlam | 2012-10-16 01:20:32 +0000 (Tue, 16 Oct 2012) | 10 lines
Changed paths:
   M /trunk/Ovale.lua

Fix for ticket 176.

The Ovale icon bar is being shown/hidden improperly when the player is in
a pseudo-vehicle where the player is controlling something other than
himself.  Use UnitHasVehicleUI() instead of UnitInVehicle() to detect this
condition properly.  UnitHasVehicleUI() returns true if the player has a
vehicle action bar, which corresponds to the player not being able to use
his own abilities.

Analysis and fix from Galvin in ticket 176.
------------------------------------------------------------------------
r598 | sidoine | 2012-10-14 17:17:54 +0000 (Sun, 14 Oct 2012) | 1 line
Changed paths:
   M /trunk/defaut/Guerrier.lua

minor fixes for warrior script
------------------------------------------------------------------------
r596 | sidoine | 2012-10-14 13:46:10 +0000 (Sun, 14 Oct 2012) | 2 lines
Changed paths:
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua
   M /trunk/defaut/Chaman.lua
   M /trunk/defaut/Chasseur.lua
   M /trunk/defaut/Chevalier.lua
   M /trunk/defaut/Demoniste.lua
   M /trunk/defaut/Druide.lua
   M /trunk/defaut/Guerrier.lua
   M /trunk/defaut/Mage.lua
   M /trunk/defaut/Moine.lua
   M /trunk/defaut/Voleur.lua

updated simulationcraft scripts
better AOE support for shaman and warrior
------------------------------------------------------------------------
r594 | jlam | 2012-10-13 00:07:35 +0000 (Sat, 13 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Training dummies can have up to 2 health points.
------------------------------------------------------------------------
r592 | jlam | 2012-10-12 00:47:06 +0000 (Fri, 12 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Add more documentation for script conditions.
------------------------------------------------------------------------
r591 | jlam | 2012-10-12 00:46:52 +0000 (Fri, 12 Oct 2012) | 5 lines
Changed paths:
   M /trunk/Ovale.lua
   M /trunk/OvaleCompile.lua
   M /trunk/OvaleState.lua
   M /trunk/defaut/Moine.lua

Parameter "if_stance" means "only if in the given stance".

Use if_stance parameter in the monk script instead of hard-coding the
extra Chi generated by Jab and Expel Harm for monks in Stance of the
Fierce Tiger.
------------------------------------------------------------------------
r590 | jlam | 2012-10-12 00:46:34 +0000 (Fri, 12 Oct 2012) | 4 lines
Changed paths:
   M /trunk/Ovale.lua
   M /trunk/OvaleActionBar.lua
   M /trunk/OvaleAura.lua
   M /trunk/OvaleBestAction.lua
   M /trunk/OvaleCompile.lua
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleEnemies.lua
   M /trunk/OvaleEquipement.lua
   M /trunk/OvaleFrame.lua
   M /trunk/OvaleFuture.lua
   M /trunk/OvaleGUID.lua
   M /trunk/OvaleIcone.lua
   M /trunk/OvaleOptions.lua
   M /trunk/OvaleSpellDamage.lua
   M /trunk/OvaleState.lua
   M /trunk/OvaleSwing.lua

Use local references for global functions and constants.

This is a minor Lua optimization. It's also documentation for which WoW
API functions are used within each class module.
------------------------------------------------------------------------
r589 | jlam | 2012-10-12 00:46:16 +0000 (Fri, 12 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleBestAction.lua
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleState.lua

Use standard library function "tostring" instead of nilstring.
------------------------------------------------------------------------
r588 | jlam | 2012-10-11 02:08:39 +0000 (Thu, 11 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Conditions using testValue can't take "equal" as an operator.
------------------------------------------------------------------------
r586 | jlam | 2012-10-11 01:22:35 +0000 (Thu, 11 Oct 2012) | 4 lines
Changed paths:
   M /trunk/OvaleCondition.lua

Add EnergyRegen() and FocusRegen() conditions.

These correspond to the SimulationCraft action list properties
energy.regen and focus.regen, respectively.
------------------------------------------------------------------------
r585 | jlam | 2012-10-11 01:22:21 +0000 (Thu, 11 Oct 2012) | 6 lines
Changed paths:
   M /trunk/OvaleCondition.lua

Fix for ticket 179.

Add new condition "HasWeapon" to test for presence of a weapon in the
named slot (mainhand or offhand).

Also fix some yesno parameter descriptions.
------------------------------------------------------------------------
r584 | jlam | 2012-10-11 01:22:06 +0000 (Thu, 11 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Support monk statues (actually totems in-game) in totem conditions.
------------------------------------------------------------------------
r583 | jlam | 2012-10-11 01:21:53 +0000 (Thu, 11 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Word-wrap comments for readability.
------------------------------------------------------------------------
r582 | jlam | 2012-10-11 01:21:37 +0000 (Thu, 11 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleBestAction.lua

Fix trace when the best group element doesn't have params array.
------------------------------------------------------------------------
r581 | jlam | 2012-10-04 02:08:05 +0000 (Thu, 04 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Minor fixes to condition documentation.
------------------------------------------------------------------------
