Subject | Hash | Author | Date (UTC) |
---|---|---|---|
build: minor patch to appease static analysis | 7c3af6a2309236acd2d2de3eccfe550d296aba39 | Vladyslav Bondarenko | 2024-01-26 00:45:50 |
fix: hide cast bar when unit is absent | 1d439ef7752b03dad32f5bff1a40e60db1e7d2b2 | Vladyslav Bondarenko | 2024-01-25 14:40:53 |
fix!: toggle group frames correctly when in combat | d206255d8aa9c6fd1fa6cbbc591192269a2ffd47 | Vladyslav Bondarenko | 2024-01-24 22:36:19 |
feat: add unit frame borders that are color coded | fb8e310e827c1cbdafa6ff2bc7760ef8fc617a16 | Vladyslav Bondarenko | 2024-01-24 20:23:43 |
fix: typo in src/ChorusUnitFrameTemplate.lua | 62ccfd2a62ce4ec8d9be7658663d06c9d39f743a | Vladyslav Bondarenko | 2024-01-24 18:57:02 |
fix: single frame toggles every group frame | 44d20820afb80aa381c2cfb1272123ba9a8e6156 | Vladyslav Bondarenko | 2024-01-24 18:47:12 |
build: migrate to make and adoc | 1e410bff214b6a32cd13343d3b7e521afa0cf93f | Vladyslav Bondarenko | 2024-01-23 14:42:21 |
doc: note the need to backport GetSpellName | 8dac49bb037de94b2980a45b91152691d9c5b98b | Vladyslav Bondarenko | 2024-01-23 14:24:44 |
feat: show remaining aura charges | beedf659895a3ecdd0df97e14e63d87f534d0bbc | Vladyslav Bondarenko | 2024-01-23 14:24:01 |
fix: remove aura button overlay and artwork gap | d0785edceabe16095e6e56aa42d88fb25bca3eb7 | Vladyslav Bondarenko | 2024-01-21 22:35:02 |
Release 0.6 | d76ca463e13d1a47b68541f33faa9c44ec745347 | Vladyslav Bondarenko | 2023-09-12 02:02:46 |
fix!: Show arena as party | 1c7d9c4c80948486eacd0c0eaa8f785a1efaa5ae | Vladyslav Bondarenko | 2023-09-11 23:51:47 |
fix: Filter out aura events | 193d8864ae6ca3a2f6bf3e6ed2260e06722e47fc | Vladyslav Bondarenko | 2023-09-11 21:14:26 |
feat: Arrange all solo frames in one column | 5d1f55b456efee534b970ed3ec80c5aeb334baa8 | Vladyslav Bondarenko | 2023-09-11 19:31:46 |
fix!: Show arena as party | 6b1ac51958c213e1e06ef4c43b2e01a7ef0d1e01 | Vladyslav Bondarenko | 2023-09-11 17:06:51 |
feat: Add arrow graphics to aura tooltip button | 16b016797a6bc7bb65d5cab8caa7dc8beeb4b48d | Vladyslav Bondarenko | 2023-09-11 16:35:40 |
feat: Add arrow graphics to aura tooltip button | 12129625fc1277c77974cc9a2b63b3cfc592cdf6 | Vladyslav Bondarenko | 2023-09-11 16:35:40 |
fix: Improve small raid layout | a4e48cb4e4b198d141abd4ce3914e71f5155f502 | Vladyslav Bondarenko | 2023-09-07 06:55:19 |
fix!: Simplify aura sorting algorithm | a2a294f60cee50ab51d044139f50d784bb8f3455 | Vladyslav Bondarenko | 2023-09-07 01:49:15 |
feat!: Add raid frame with 25 small buttons | 5bdc57423adeb4137bc796932657cf64f22ef8ad | Vladyslav Bondarenko | 2023-09-01 01:12:15 |
File | Lines added | Lines deleted |
---|---|---|
.gitignore | 2 | 0 |
Makefile | 15 | 5 |
bin/validate-lua.sh | 0 | 1 |
bin/validate-xml.sh | 0 | 1 |
etc/luacheckrc.lua | 8 | 0 |
share/FrameXML/UI.xsd | 0 | 0 |
src/ChorusAuraTooltipFrameTemplate.xml | 0 | 2 |
src/ChorusUnitButtonTemplate.lua | 1 | 1 |
File .gitignore changed (mode: 100644) (index d7f81b3..5c40e6e) | |||
1 | 1 | *.rock | *.rock |
2 | *.swo | ||
2 | 3 | *.swp | *.swp |
3 | 4 | *.zip | *.zip |
4 | 5 | *~ | *~ |
6 | local/ |
File Makefile changed (mode: 100644) (index 369095c..ea69137) | |||
1 | # NAME must be in [a-z0-9] and must not contain special characters or | ||
2 | # delimiters. Otherwise, the game client will quietly ignore the add-on and not | ||
3 | # load it. | ||
1 | 4 | NAME=chorus | NAME=chorus |
2 | 5 | VERSION=0.6.1 | VERSION=0.6.1 |
3 | 6 | ||
... | ... | LUACHECK=luacheck | |
15 | 18 | LUACHECKFLAGS=--config ${srcdir}etc/luacheckrc.lua | LUACHECKFLAGS=--config ${srcdir}etc/luacheckrc.lua |
16 | 19 | ||
17 | 20 | XMLLINT=xmllint | XMLLINT=xmllint |
18 | XMLLINTFLAGS=--schema ${srcdir}share/xml/FrameXML/UI.xsd | ||
21 | XMLLINTFLAGS=--nonet --schema ${srcdir}share/FrameXML/UI.xsd | ||
19 | 22 | ||
20 | 23 | INSTALL=unzip -d ${DESTDIR}Interface/AddOns | INSTALL=unzip -d ${DESTDIR}Interface/AddOns |
21 | 24 | ||
25 | # Use the source directory name as project name, if not yet set. | ||
26 | NAME?=${shell basename ${realpath ${srcdir}}} | ||
27 | # Use `git` to infer the project's current version, if not yet set. | ||
28 | VERSION?=${shell ${GIT} ${GITFLAGS} describe} | ||
29 | |||
30 | sinclude ${srcdir}local/Makefile | ||
31 | |||
22 | 32 | all: | check | all: | check |
23 | 33 | ||
24 | 34 | dist: ${NAME}-${VERSION}.zip | check | dist: ${NAME}-${VERSION}.zip | check |
25 | 35 | ||
26 | 36 | ${NAME}-${VERSION}.zip: | ${NAME}-${VERSION}.zip: |
27 | ${GIT} ${GITFLAGS} archive --format=zip --prefix=${NAME}/ --format=zip --output=${NAME}-${VERSION}.zip HEAD | ||
37 | ${GIT} ${GITFLAGS} archive --format=zip --prefix=${NAME}/ --format=zip --output=$@ HEAD | ||
28 | 38 | ||
29 | 39 | install: ${NAME}-${VERSION}.zip | install: ${NAME}-${VERSION}.zip |
30 | ${INSTALL} ${NAME}-${VERSION}.zip | ||
40 | ${INSTALL} $< | ||
31 | 41 | ||
32 | 42 | check-xml: | check-xml: |
33 | 43 | ${XMLLINT} --noout ${XMLLINTFLAGS} ${srcdir}src/*.xml | ${XMLLINT} --noout ${XMLLINTFLAGS} ${srcdir}src/*.xml |
34 | 44 | ||
35 | 45 | check-lua: | check-lua: |
36 | ${LUACHECK} ${LUACHECKFLAGS} ${srcdir}src/ ${srcdir}local/ | ||
46 | ${LUACHECK} ${LUACHECKFLAGS} ${srcdir}src/ | ||
37 | 47 | ||
38 | check: check-lua check-xml | ||
48 | check: | check-lua check-xml |
File bin/validate-lua.sh deleted (index 9a92507..0000000) | |||
1 | luacheck --config etc/luacheckrc.lua src/ |
File bin/validate-xml.sh deleted (index 5854e2d..0000000) | |||
1 | xmllint --noout --schema share/xml/FrameXML/UI.xsd src/*.xml |
File etc/luacheckrc.lua changed (mode: 100644) (index 3340081..2564b9a) | |||
... | ... | stds.framexml = { | |
128 | 128 | 'PlayerFrameSpellBar', | 'PlayerFrameSpellBar', |
129 | 129 | 'PowerBarColor', | 'PowerBarColor', |
130 | 130 | 'RAID_CLASS_COLORS', | 'RAID_CLASS_COLORS', |
131 | 'RegisterStateDriver', | ||
131 | 132 | 'RegisterUnitWatch', | 'RegisterUnitWatch', |
132 | 133 | 'RuneFrame', | 'RuneFrame', |
133 | 134 | 'SecureButton_GetAttribute', | 'SecureButton_GetAttribute', |
... | ... | stds.chorus = { | |
153 | 154 | 'ChorusFocusFrame', | 'ChorusFocusFrame', |
154 | 155 | 'ChorusFrame', | 'ChorusFrame', |
155 | 156 | 'ChorusGroupFrame', | 'ChorusGroupFrame', |
157 | 'ChorusGroupSecureHandler', | ||
156 | 158 | 'ChorusPartyFrame', | 'ChorusPartyFrame', |
157 | 159 | 'ChorusPlayerFrame', | 'ChorusPlayerFrame', |
158 | 160 | 'ChorusRaidFrame', | 'ChorusRaidFrame', |
... | ... | stds.chorus = { | |
163 | 165 | --and saves the variables to a file, to make this name set | --and saves the variables to a file, to make this name set |
164 | 166 | --exact. ]]-- | --exact. ]]-- |
165 | 167 | 'Chorus', | 'Chorus', |
168 | 'ChorusFocusFrameHealthFrame', | ||
169 | 'ChorusFocusFrameUnitNameFrame', | ||
166 | 170 | 'ChorusLuacheckrcDump', | 'ChorusLuacheckrcDump', |
171 | 'ChorusPlayerFrameHealthFrame', | ||
172 | 'ChorusPlayerFrameUnitNameFrame', | ||
173 | 'ChorusTargetFrameHealthFrame', | ||
174 | 'ChorusTargetFrameUnitNameFrame', | ||
167 | 175 | 'ChorusUnitGroupRoleMap', | 'ChorusUnitGroupRoleMap', |
168 | 176 | }, | }, |
169 | 177 | } | } |
File share/FrameXML/UI.xsd renamed from share/xml/FrameXML/UI.xsd (similarity 100%) |
File src/ChorusAuraTooltipFrameTemplate.xml changed (mode: 100644) (index 5079fab..27ddc8d) | |||
80 | 80 | <Attributes> | <Attributes> |
81 | 81 | <Attribute name="useparent-unit" type="boolean" value="true"/> | <Attribute name="useparent-unit" type="boolean" value="true"/> |
82 | 82 | </Attributes> | </Attributes> |
83 | <KeyValues> | ||
84 | </KeyValues> | ||
85 | 83 | </Frame> | </Frame> |
86 | 84 | <Button name="ChorusAuraTooltipFrameToggleButtonTemplate" virtual="true" enableMouse="true" inherits="SecureActionButtonTemplate"> | <Button name="ChorusAuraTooltipFrameToggleButtonTemplate" virtual="true" enableMouse="true" inherits="SecureActionButtonTemplate"> |
87 | 85 | <Size> | <Size> |
File src/ChorusUnitButtonTemplate.lua changed (mode: 100644) (index 42a9a46..786b1e6) | |||
... | ... | local function contextMenuToggle(self, unitDesignation, buttonDesignation, butto | |
49 | 49 | ||
50 | 50 | local offsetX = self:GetWidth() / 2 | local offsetX = self:GetWidth() / 2 |
51 | 51 | local offsetY = self:GetHeight() | local offsetY = self:GetHeight() |
52 | local contextMenu = nil | ||
52 | local contextMenu | ||
53 | 53 | if UnitIsUnit('target', unitDesignation) then | if UnitIsUnit('target', unitDesignation) then |
54 | 54 | contextMenu = TargetFrameDropDown | contextMenu = TargetFrameDropDown |
55 | 55 | elseif UnitIsUnit('focus', unitDesignation) then | elseif UnitIsUnit('focus', unitDesignation) then |