Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: BigWigsMods/oRA3
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v9.2.3
Choose a base ref
...
head repository: BigWigsMods/oRA3
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Oct 25, 2022

  1. Copy the full SHA
    21ff0db View commit details
  2. Copy the full SHA
    06bdf8c View commit details
  3. Alert: Add Evoker spells

    nebularg committed Oct 25, 2022
    Copy the full SHA
    bcba99f View commit details
  4. Copy the full SHA
    c84e678 View commit details

Commits on Oct 26, 2022

  1. Update TOC for 10.0.0

    nebularg committed Oct 26, 2022
    Copy the full SHA
    ef99104 View commit details

Commits on Oct 31, 2022

  1. Copy the full SHA
    e3c7571 View commit details

Commits on Nov 15, 2022

  1. bump toc

    funkydude committed Nov 15, 2022
    Copy the full SHA
    34dfd08 View commit details
  2. Copy the full SHA
    5b134c0 View commit details
  3. Copy the full SHA
    7af4b6f View commit details
  4. Consumables: Update runes

    Closes #108
    nebularg committed Nov 15, 2022
    Copy the full SHA
    b049d12 View commit details
  5. Copy the full SHA
    1c487d6 View commit details
  6. Invite: Tweak whisper checks

    nebularg committed Nov 15, 2022
    Copy the full SHA
    5dfa38e View commit details
  7. Zone: Fix list

    nebularg committed Nov 15, 2022
    Copy the full SHA
    9a67546 View commit details
  8. Copy the full SHA
    7fad337 View commit details
  9. Copy the full SHA
    3174f3d View commit details
  10. Copy the full SHA
    a9c4b3f View commit details
  11. Rework raid buffs to only show available

    Consumables was hardcoded for showing three, but ReadyCheck was suppose to
    be limiting and has been wonky for awhile.
    nebularg committed Nov 15, 2022
    Copy the full SHA
    bf8fca3 View commit details

Commits on Nov 18, 2022

  1. Add Evoker

    nebularg committed Nov 18, 2022
    Copy the full SHA
    045abe2 View commit details

Commits on Dec 13, 2022

  1. Alerts: Dragonflight updates

    - Fix Mass Return spam
    - Add Portal: Valdrakken
    - Add Feral Hide Drums
    - Add S.A.V.I.O.R. and Arclight Vital Correctors
    nebularg committed Dec 13, 2022
    Copy the full SHA
    d297ca5 View commit details
  2. Consumables: Update for Dragonflight

    Closes #121
    nebularg committed Dec 13, 2022
    Copy the full SHA
    f71dabd View commit details
  3. Copy the full SHA
    7f49202 View commit details

Commits on Feb 2, 2023

  1. Copy the full SHA
    57ce26e View commit details
  2. bump toc

    funkydude committed Feb 2, 2023
    Copy the full SHA
    ac23c66 View commit details

Commits on Feb 5, 2023

  1. Copy the full SHA
    c9271fb View commit details
  2. Copy the full SHA
    3e78f0d View commit details

Commits on Mar 4, 2023

  1. Copy the full SHA
    7a532fb View commit details
  2. Copy the full SHA
    e7393cc View commit details
  3. Copy the full SHA
    e606624 View commit details

Commits on Mar 9, 2023

  1. ReadyCheck: Fix missing raid buffs

    Fixes #131
    nebularg committed Mar 9, 2023
    Copy the full SHA
    b30c52f View commit details

Commits on Mar 22, 2023

  1. bump toc

    funkydude committed Mar 22, 2023
    Copy the full SHA
    aa60029 View commit details

Commits on May 3, 2023

  1. bump toc

    funkydude committed May 3, 2023
    Copy the full SHA
    48dc2a2 View commit details

Commits on May 10, 2023

  1. Copy the full SHA
    3770432 View commit details

Commits on Jul 12, 2023

  1. bump toc

    funkydude committed Jul 12, 2023
    Copy the full SHA
    7cd4d16 View commit details

Commits on Sep 14, 2023

  1. bump toc

    funkydude committed Sep 14, 2023
    Copy the full SHA
    7789c9b View commit details

Commits on Nov 8, 2023

  1. bump toc

    funkydude committed Nov 8, 2023
    Copy the full SHA
    bc625a6 View commit details

Commits on Nov 10, 2023

  1. Cooldowns: Update for 10.0

    nebularg committed Nov 10, 2023
    Copy the full SHA
    04e1cf6 View commit details
  2. Cooldowns: Update for 10.2

    nebularg committed Nov 10, 2023
    Copy the full SHA
    cf98a45 View commit details
  3. 10.2 combat log workaround

    nebularg committed Nov 10, 2023
    Copy the full SHA
    447d47e View commit details
  4. Copy the full SHA
    51064bd View commit details

Commits on Nov 11, 2023

  1. Copy the full SHA
    ad941c4 View commit details

Commits on Nov 12, 2023

  1. Copy the full SHA
    65afa74 View commit details

Commits on Nov 22, 2023

  1. Copy the full SHA
    67b58b4 View commit details

Commits on Jan 16, 2024

  1. bump toc

    funkydude committed Jan 16, 2024
    Copy the full SHA
    7b75aae View commit details
  2. Update workflow

    funkydude committed Jan 16, 2024
    Copy the full SHA
    8f80c23 View commit details
  3. Copy the full SHA
    be15058 View commit details

Commits on Jan 26, 2024

  1. Alerts: Throttle CC breaks

    nebularg committed Jan 26, 2024
    Copy the full SHA
    8606a9c View commit details
  2. Gear: Update GetItemStats usage

    Resolves #137
    nebularg committed Jan 26, 2024
    Copy the full SHA
    464cebd View commit details

Commits on Feb 11, 2024

  1. Copy the full SHA
    dae54f7 View commit details

Commits on May 8, 2024

  1. bump toc

    funkydude committed May 8, 2024
    Copy the full SHA
    6c2e401 View commit details

Commits on May 12, 2024

  1. Copy the full SHA
    8964bb3 View commit details
2 changes: 1 addition & 1 deletion .github/workflows/build-classic.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ jobs:

steps:
- name: Checkout addon
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ jobs:

steps:
- name: Checkout addon
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ jobs:

steps:
- name: Checkout addon
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run luacheck
uses: BigWigsMods/actions/luacheck@master
137 changes: 22 additions & 115 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -14,6 +14,11 @@ ignore = {
"432/self", -- Shadowing an upvalue argument
}
globals = {
-- Addons
"ElvUI",
"LibStub",
"Tukui",

-- wow std api
"abs",
"acos",
@@ -83,135 +88,72 @@ globals = {
"tremove",
"wipe",

-- framexml
"AuraUtil",
"CopyTable",
"getprinthandler",
"hash_SlashCmdList",
"setprinthandler",
"tContains",
"tDeleteItem",
"tInvert",
"tostringall",
"UIPanelWindows",
-- FrameXML
"CanOpenPanels",
"ChatTypeInfo",
"CopyTable",
"FriendsFrame",
"GameFontNormal",
"GameTooltip",
"GameTooltip_Hide",
"GetUIPanel",
"GetUIPanelWidth",
"SecondsToTime",
"SlashCmdList",
"UIPanelWindows",
"UIParent",
"tContains",

-- everything else
"AlertFrame",
-- API
"Ambiguate",
"BNGetFriendIndex",
"BNInviteFriend",
"BNIsSelf",
"BNSendWhisper",
"BasicMessageDialog",
"BossBanner",
"C_AddOns",
"C_BattleNet",
"C_CVar",
"C_ChatInfo",
"C_EncounterJournal",
"C_FriendList",
"C_GuildInfo",
"C_Item",
"C_Map",
"C_PaperDollInfo",
"C_PartyInfo",
"C_RaidLocks",
"C_Scenario",
"C_Spell",
"C_Timer",
"C_TradeSkillUI",
"C_UIWidgetManager",
"ChatFrame_ImportAllListsToHash",
"ChatTypeInfo",
"CheckInteractDistance",
"CinematicFrame_CancelCinematic",
"CollapseFactionHeader",
"C_UnitAuras",
"CombatLogGetCurrentEventInfo",
"CombatLog_String_GetIcon",
"CreateFrame",
"DemoteAssistant",
"DoReadyCheck",
"EJ_GetCreatureInfo",
"EJ_GetEncounterInfo",
"EJ_GetTierInfo",
"ElvUI",
"EnableAddOn",
"ExpandFactionHeader",
"FlashClientIcon",
"FriendsFrame",
"GameFontHighlight",
"GameFontNormal",
"GameTooltip",
"GameTooltip_Hide",
"GetAddOnDependencies",
"GetAddOnEnableState",
"GetAddOnInfo",
"GetAddOnMetadata",
"GetAddOnOptionalDependencies",
"GetAverageItemLevel",
"GetBattlefieldStatus",
"GetCVarBool",
"GetChannelDisplayInfo",
"GetChannelName",
"GetDetailedItemLevelInfo",
"GetDifficultyInfo",
"GetExpansionLevel",
"GetFactionInfo",
"GetFramesRegisteredForEvent",
"GetGuildInfo",
"GetGuildRosterInfo",
"GetInstanceInfo",
"GetInventoryItemLink",
"GetInventoryItemQuality",
"GetItemCount",
"GetItemSpell",
"GetItemStats",
"GetLFGMode",
"GetLocale",
"GetMaxBattlefieldID",
"GetMaxLevelForLatestExpansion",
"GetNumAddOns",
"GetNumDisplayChannels",
"GetNumFactions",
"GetNumGroupMembers",
"GetNumGuildMembers",
"GetNumSubgroupMembers",
"GetPartyAssignment",
"GetPlayerFacing",
"GetProfessionInfo",
"GetProfessions",
"GetRaidDifficultyID",
"GetRaidRosterInfo",
"GetRaidTargetIndex",
"GetReadyCheckStatus",
"GetReadyCheckTimeLeft",
"GetRealZoneText",
"GetRealmName",
"GetSpecialization",
"GetSpecializationInfoByID",
"GetSpecializationRole",
"GetSpecializationRoleByID",
"GetSpellBookItemName",
"GetSpellBookItemTexture",
"GetSpellCharges",
"GetSpellCooldown",
"GetSpellDescription",
"GetSpellInfo",
"GetSpellLink",
"GetSpellTabInfo",
"GetSpellTexture",
"GetSubZoneText",
"GetTexCoordsForRole",
"GetTexCoordsForRoleSmallCircle",
"GetTime",
"GetTrackedAchievements",
"GuildControlGetNumRanks",
"GuildControlGetRankName",
"InCombatLockdown",
"IsAddOnLoadOnDemand",
"IsAddOnLoaded",
"IsAltKeyDown",
"IsControlKeyDown",
"IsEncounterInProgress",
"IsEveryoneAssistant",
@@ -220,60 +162,31 @@ globals = {
"IsInGuild",
"IsInInstance",
"IsInRaid",
"IsItemInRange",
"IsLoggedIn",
"IsPartyLFG",
"IsShiftKeyDown",
"IsSpellKnown",
"IsTestBuild",
"LFGDungeonReadyPopup",
"LibStub",
"LoadAddOn",
"LoggingCombat",
"MovieFrame",
"ObjectiveTrackerFrame",
"PlaySound",
"PlaySoundFile",
"PlayerHasToy",
"PromoteToAssistant",
"RaidBossEmoteFrame",
"RaidNotice_AddMessage",
"RaidWarningFrame",
"RolePollPopup",
"SecondsToTime",
"SendChatMessage",
"SetEveryoneIsAssistant",
"SetPortraitToTexture",
"SetRaidDifficulties",
"SetRaidTarget",
"SlashCmdList",
"StopSound",
"Tukui",
"UIErrorsFrame",
"UIParent",
"UninviteUnit",
"UnitAffectingCombat",
"UnitAura",
"UnitCanAttack",
"UnitCastingInfo",
"UnitChannelInfo",
"UnitClass",
"UnitDetailedThreatSituation",
"UnitEffectiveLevel",
"UnitClassBase",
"UnitExists",
"UnitFactionGroup",
"UnitGUID",
"UnitGetTotalAbsorbs",
"UnitGroupRolesAssigned",
"UnitHealth",
"UnitHealthMax",
"UnitInBattleground",
"UnitInParty",
"UnitInRaid",
"UnitInRange",
"UnitInVehicle",
"UnitIsConnected",
"UnitIsCorpse",
"UnitIsDead",
"UnitIsDeadOrGhost",
"UnitIsFeignDeath",
@@ -286,11 +199,5 @@ globals = {
"UnitIsVisible",
"UnitLevel",
"UnitName",
"UnitPlayerControlled",
"UnitPosition",
"UnitPower",
"UnitPowerMax",
"UnitRace",
"UnitSetRole",
"WorldFrame",
}
32 changes: 11 additions & 21 deletions libs/CallbackHandler-1.0/CallbackHandler-1.0.lua
Original file line number Diff line number Diff line change
@@ -1,32 +1,22 @@
--[[ $Id: CallbackHandler-1.0.lua 1186 2018-07-21 14:19:18Z nevcairiel $ ]]
local MAJOR, MINOR = "CallbackHandler-1.0", 7
--[[ $Id: CallbackHandler-1.0.lua 26 2022-12-12 15:09:39Z nevcairiel $ ]]
local MAJOR, MINOR = "CallbackHandler-1.0", 8
local CallbackHandler = LibStub:NewLibrary(MAJOR, MINOR)

if not CallbackHandler then return end -- No upgrade needed

local meta = {__index = function(tbl, key) tbl[key] = {} return tbl[key] end}

-- Lua APIs
local tconcat = table.concat
local assert, error, loadstring = assert, error, loadstring
local setmetatable, rawset, rawget = setmetatable, rawset, rawget
local securecallfunction, error = securecallfunction, error
local setmetatable, rawget = setmetatable, rawget
local next, select, pairs, type, tostring = next, select, pairs, type, tostring

-- Global vars/functions that we don't upvalue since they might get hooked, or upgraded
-- List them here for Mikk's FindGlobals script
-- GLOBALS: geterrorhandler

local xpcall = xpcall

local function errorhandler(err)
return geterrorhandler()(err)
end

local function Dispatch(handlers, ...)
local index, method = next(handlers)
if not method then return end
repeat
xpcall(method, errorhandler, ...)
securecallfunction(method, ...)
index, method = next(handlers, index)
until not method
end
@@ -39,7 +29,7 @@ end
-- UnregisterName - name of the callback unregistration API, default "UnregisterCallback"
-- UnregisterAllName - name of the API to unregister all callbacks, default "UnregisterAllCallbacks". false == don't publish this API.

function CallbackHandler:New(target, RegisterName, UnregisterName, UnregisterAllName)
function CallbackHandler.New(_self, target, RegisterName, UnregisterName, UnregisterAllName)

RegisterName = RegisterName or "RegisterCallback"
UnregisterName = UnregisterName or "UnregisterCallback"
@@ -67,13 +57,13 @@ function CallbackHandler:New(target, RegisterName, UnregisterName, UnregisterAll

if registry.insertQueue and oldrecurse==0 then
-- Something in one of our callbacks wanted to register more callbacks; they got queued
for eventname,callbacks in pairs(registry.insertQueue) do
local first = not rawget(events, eventname) or not next(events[eventname]) -- test for empty before. not test for one member after. that one member may have been overwritten.
for self,func in pairs(callbacks) do
events[eventname][self] = func
for event,callbacks in pairs(registry.insertQueue) do
local first = not rawget(events, event) or not next(events[event]) -- test for empty before. not test for one member after. that one member may have been overwritten.
for object,func in pairs(callbacks) do
events[event][object] = func
-- fire OnUsed callback?
if first and registry.OnUsed then
registry.OnUsed(registry, target, eventname)
registry.OnUsed(registry, target, event)
first = nil
end
end
Loading