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.0.8
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 Dec 6, 2020

  1. Copy the full SHA
    c317294 View commit details

Commits on Dec 7, 2020

  1. Copy the full SHA
    588e81b View commit details
  2. Gear: Fix wrist enchants

    nebularg committed Dec 7, 2020
    Copy the full SHA
    ce9cec6 View commit details
  3. Copy the full SHA
    d2f309f View commit details
  4. Alerts: Update CC spells

    nebularg committed Dec 7, 2020
    Copy the full SHA
    fe58180 View commit details

Commits on Dec 9, 2020

  1. Copy the full SHA
    ae5a7f9 View commit details
  2. Copy the full SHA
    5febf22 View commit details
  3. Copy the full SHA
    d27923f View commit details

Commits on Dec 10, 2020

  1. Copy the full SHA
    fae165c View commit details

Commits on Jan 2, 2021

  1. Copy the full SHA
    aad4f9a View commit details

Commits on Jan 6, 2021

  1. Copy the full SHA
    38eb0b3 View commit details
  2. Copy the full SHA
    1e325d0 View commit details

Commits on Jan 7, 2021

  1. Copy the full SHA
    6cef95c View commit details

Commits on Jan 14, 2021

  1. Update LibDialog-1.0

    nebularg committed Jan 14, 2021
    Copy the full SHA
    b8e0b19 View commit details
  2. Copy the full SHA
    f8f30fb View commit details

Commits on Jan 17, 2021

  1. Copy the full SHA
    aeb6394 View commit details

Commits on Jan 28, 2021

  1. Copy the full SHA
    095e5af View commit details

Commits on Mar 9, 2021

  1. bump toc

    funkydude committed Mar 9, 2021
    Copy the full SHA
    6d23aba View commit details

Commits on Mar 24, 2021

  1. Tweak

    funkydude committed Mar 24, 2021
    Copy the full SHA
    2c4d605 View commit details

Commits on Mar 27, 2021

  1. Copy the full SHA
    1be9dd9 View commit details

Commits on May 20, 2021

  1. Update workflow

    nebularg committed May 20, 2021
    Copy the full SHA
    5cd9cfc View commit details

Commits on Jun 29, 2021

  1. Bump toc

    funkydude committed Jun 29, 2021
    Copy the full SHA
    2ab6a85 View commit details

Commits on Jun 30, 2021

  1. Copy the full SHA
    4dfc0d4 View commit details
  2. Copy the full SHA
    bf9c17c View commit details

Commits on Feb 23, 2022

  1. bump toc

    funkydude committed Feb 23, 2022
    Copy the full SHA
    ad5f4cc View commit details

Commits on Jun 1, 2022

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

    funkydude committed Jun 1, 2022
    Copy the full SHA
    47d4cba View commit details
  3. Workflow: Fix fetch-depth

    funkydude committed Jun 1, 2022
    Copy the full SHA
    7f185e7 View commit details

Commits on Sep 8, 2022

  1. bump toc

    funkydude committed Sep 8, 2022
    Copy the full SHA
    3d864a7 View commit details
  2. Add attributes file

    funkydude committed Sep 8, 2022
    Copy the full SHA
    4692014 View commit details
  3. Unify line endings

    funkydude committed Sep 8, 2022
    Copy the full SHA
    e070ee1 View commit details

Commits on Sep 10, 2022

  1. Copy the full SHA
    4c4ce58 View commit details

Commits on Sep 11, 2022

  1. Fixes for Dragonflight

    funkydude committed Sep 11, 2022
    Copy the full SHA
    3688a0a View commit details

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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
38 changes: 38 additions & 0 deletions .github/workflows/build-classic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Package Classic

on:
push:
branches:
- classic
tags:
- '**-classic'

env:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }}
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}

jobs:
build:
runs-on: ubuntu-latest

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

- name: Run luacheck
uses: BigWigsMods/actions/luacheck@master
with:
args: -q

- name: Package Classic
uses: BigWigsMods/packager@master
with:
args: -g classic

- name: Package BC Classic
uses: BigWigsMods/packager@master
with:
args: -g bcc
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
name: Package addon
name: Package Retail

on:
push:
branches:
- master
tags:
- '*'
- '!**-classic'

jobs:
build:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags') == true || (!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]'))

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

- name: Run luacheck
uses: BigWigsMods/actions/luacheck@master
with:
args: -q

- name: Package
- name: Package Retail
uses: BigWigsMods/packager@master
env:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
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@v2
uses: actions/checkout@v4

- name: Run luacheck
uses: BigWigsMods/actions/luacheck@master
138 changes: 23 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,134 +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",
"GetNumAddOns",
"GetMaxLevelForLatestExpansion",
"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",
@@ -219,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",
@@ -285,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