vrtc / chorus (public) (License: CC0) (since 2023-08-12) (hash sha1)
World of Warcraft add-on stub. The overall goal is to create a specialized raid frame.
List of commits:
Subject Hash Author Date (UTC)
fix: show death knight rune frame at player frame 9949a0bafac5d0f1ccbcd3f80b301977d4fa4e0f Vladyslav Bondarenko 2024-07-14 15:46:33
feat: prepare release 0.10.0 7b12ee714c95d94d9d34dd034fe7c1b27b29fa0e Vladyslav Bondarenko 2024-06-27 12:54:18
fix: raid profile toggle robustness 9cba01bac77db4d383c159136f904fec00f57d43 Vladyslav Bondarenko 2024-06-25 07:11:38
fix: cast bar update robustness e2e7910e0d96eb65aea9a2a3337fa50cecccc45f Vladyslav Bondarenko 2024-06-25 07:11:07
fix!: toggle raid frame 59503ee6ec8744f057e959c026cacb0e39ee62db Vladyslav Bondarenko 2024-06-23 07:58:42
feat!: prepare release 0.9.0 6b15c2a4567dae6b363d69fa84348aa2dbca7b74 Vladyslav Bondarenko 2024-06-18 22:41:56
fix: add UnitIsTapped to known globals list 9536f6ae6bb9f2e4ce1a668f3a55c2ad0a225cb7 Vladyslav Bondarenko 2024-06-18 22:40:45
feat: upgrade cast bar f050d4444480983bfe7475bdafbfeb2c291c3472 Vladyslav Bondarenko 2024-06-18 18:11:20
fix!: only update cast bar when it's visible 7c2081b92a1ec323911520a977c00f68078bae18 Vladyslav Bondarenko 2024-06-18 17:09:56
fix: cast bar always reports ongoing cast d69d60f524a7871053daa2d914badc59e1189e15 Vladyslav Bondarenko 2024-06-18 15:37:59
feat: color unit headers by reaction af87ae82144ba3e49bec3f3cc18919b502d46da8 Vladyslav Bondarenko 2024-06-18 15:19:21
feat: weigh priest effects 99341dd5c6cb03861fdfa802a1cde520887b29b5 Vladyslav Bondarenko 2024-06-18 14:01:45
feat: make cast bar prettier visually 8ef25268de9a70ce741f0e9b4c105d4969afe7ff Vladyslav Bondarenko 2024-06-18 14:01:03
doc: show todo and fixme annotations in the docs a880f593e674df82682c295375319b7a4cf13b20 Vladyslav Bondarenko 2024-06-18 11:58:53
fix: make raid frames protected c94bb2d05a404e2a1e802cf03daa6325cf38827b Vladyslav Bondarenko 2024-06-18 11:57:42
feat: cast bar shows instants and failures c08b3be1c0d8d63b298a71ddf7af734703ffcb42 Vladyslav Bondarenko 2024-06-16 20:42:42
feat: spell channel bar moves in reverse 64e0512304854e28df8ad94363a048fd997dc502 Vladyslav Bondarenko 2024-06-16 19:19:53
doc: valid references to github 6aba3821b71216c07d8f02b24f75006e556dca61 Vladyslav Bondarenko 2024-06-16 17:28:59
build: allow either GNUmake or pdpmake to be used 4f3cd088299dc09f5207caeeddedfcca461d439e Vladyslav Bondarenko 2024-06-16 15:52:32
doc: add minimal documentation 125835dbbef41528e4f545642f62e519e7e8f9fc Vladyslav Bondarenko 2024-06-16 15:34:58
Commit 9949a0bafac5d0f1ccbcd3f80b301977d4fa4e0f - fix: show death knight rune frame at player frame
Author: Vladyslav Bondarenko
Author date (UTC): 2024-07-14 15:46
Committer name: Vladyslav Bondarenko
Committer date (UTC): 2024-07-14 15:46
Parent(s): 3e716c1e9ee5b7761ad6de4245f5afe1ca54dea0
Signer:
Signing key: EFF9624877D25D02
Signing status: E
Tree: f21522ab8bcf33ee356dbb67b48eafb1c797eb87
File Lines added Lines deleted
src/ChorusFrame.lua 31 12
File src/ChorusFrame.lua changed (mode: 100644) (index e9efd2e..98614af)
... ... local UIParent = UIParent
6 6
7 7 local Chorus = Chorus local Chorus = Chorus
8 8
9 local function runeFrame()
10 local x = ((ChorusPlayerFrame:GetWidth() or 0) - (RuneFrame:GetWidth() or 0)) / 2
11 local y = -60
12 RuneFrame:SetPoint('TOPLEFT', ChorusPlayerFrame, 'TOPLEFT', x, y)
13 RuneFrame:SetPoint('CENTER', ChorusPlayerFrame, 'CENTER', 0, 0)
14 end
15
9 16 local function disableNativeFrames() local function disableNativeFrames()
10 17 local t = { local t = {
11 18 FocusFrame, FocusFrame,
 
... ... local function disableNativeFrames()
22 29 i = i + 1 i = i + 1
23 30 local e = t[i] local e = t[i]
24 31 if e then if e then
25 e:Hide()
26 e:HookScript('OnShow', function(self)
27 self:Hide()
28 end)
29 --[[ Post-hook hack ]]--
30 local v = e:GetScript('OnEvent')
31 e:SetScript('OnEvent', function(self, ...)
32 v(self, ...)
33 self:Hide()
32 e:UnregisterAllEvents()
33 e:SetScript('OnEvent', nil)
34 e:SetScript('OnUpdate', nil)
35 e:SetScript('OnShow', function(self1)
36 self1:Hide()
34 37 end) end)
38 e:SetScript('OnHide', nil)
39 e:Hide()
35 40 end end
36 41 end end
42
43 runeFrame()
37 44 end end
38 45
39 46 local function applyLayout(self) local function applyLayout(self)
 
... ... local function chorusFrameMain(self)
65 72 --[[ Wait for the game to finish loading completely, only then apply --[[ Wait for the game to finish loading completely, only then apply
66 73 changes. ]]-- changes. ]]--
67 74
68 self:SetScript('OnEvent', applyLayout)
75 local selfAddonName = GetAddOnInfo('chorus')
76 assert(selfAddonName ~= nil)
77 assert('string' == type(selfAddonName))
78 selfAddonName = strtrim(selfAddonName)
79 assert(string.len(selfAddonName) >= 1)
80 self:SetScript('OnEvent', function(self0, eventCategory, addonName)
81 if eventCategory == 'ADDON_LOADED' and selfAddonName == tostring(addonName) then
82 applyLayout(self0)
83 disableNativeFrames()
84 elseif eventCategory == 'PLAYER_LOGIN' then
85 applyLayout(self0)
86 disableNativeFrames()
87 end
88 end)
69 89
90 self:RegisterEvent('ADDON_LOADED');
70 91 self:RegisterEvent('PLAYER_LOGIN'); self:RegisterEvent('PLAYER_LOGIN');
71
72 disableNativeFrames()
73 92 end end
74 93
75 94 Chorus.chorusFrameMain = function(...) Chorus.chorusFrameMain = function(...)
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/vrtc/chorus

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/vrtc/chorus

Clone this repository using git:
git clone git://git.rocketgit.com/user/vrtc/chorus

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main