Fix ticket 268 - LastEstimatedDamage not acounting for DamageMultiplier.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@971 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Change WeaponDamage() condition to return normalized weapon damage.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@972 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Organize the Ovale configuration panel into logical units.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@973 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Remove unused "latency correction" option.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@974 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Fix ticket 264 - update throttling functionality

Missed changes in r758 that broke the existing throttling code. This makes
the "update interval" option work again, defaulting to 0.1s == 100ms.

Expose option to set the update interval to throttle the refresh rate.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@975 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Push more debugging output out of OvaleOptions into the relevant modules.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@976 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Cache computed values of custom functions when evaluating the script.

* Split out parsing AddFunction statements into its own function.

* Functions declared using AddFunction compile into a new node type. The
  new node type "customfunction" has a single child node that points to
  the master node for the function.

* Give the script an age depending on how many times it has been
  evaluated. Cache the computed values of custom function so that
  subsequent calls to the same function within the same script pull from
  the cached values instead of re-computing from scratch.

This fixes ticket 271 in the right way.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@977 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Update copyright information for correctness.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@978 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Raise events in OvaleAura when auras are added, refreshed or deleted.

The events are:

    Ovale_AuraAdded
    Ovale_AuraRefreshed
    Ovale_AuraDeleted

and the arguments for these events are:

    unit GUID, aura spell ID, caster GUID

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@979 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Major changes to OvaleFuture to properly handle spellcast event sequence.

* Fix long-standing bug regarding UNIT_SPELLCAST_* events.  The proper
  order order of events is actually:

	SENT > START > SUCCEEDED (cast-time spells)
	SENT > SUCCEEDED (instant-cast spells)

  Save the target, spell and lineID info from the SENT event to identify
  later events regarding the same spellcast.

* Save the most recent spellcast information in Ovale.lastSpellcast, which
  includes a snapshot of the stats that are active for that spellcast.
  Copy this snapshot information into DoT auras applied by the spellcast.
  This assumes that the DoT being applied was caused by the most recent
  spellcast.

* Auras changes that are simultaneous with a spellcast actually occur
  slightly after the UNIT_SPELLCAST_SUCCEEDED event and before the CLEU
  SPELL_DAMAGE (or other spell result) event.  Capture new snapshots and
  adjust the spellcast snapshot information accordingly to ensure
  accuracy.

This should fix the following tickets:

* Ticket 260 where target.Debuff*() and Last*() script conditions don't
  always show the same player stats for the same spell.  Both now pull
  from the same source so they show the same information.

* Ticket 262 where the DebuffComboPoints() condition was always returning
  zero since previously OvaleAura didn't have access to combo point
  information.  The combo point information is now saved with the
  spellcast snapshot that is copied into the DoT aura.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@980 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Improve latency measurement by using the correct events for timestamps.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@981 d5049fe3-3747-40f7-a4b5-f36d6801af5f