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)
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
doc: descript aura button API 7d110e3d397a335d2dc0ffbf699acc487730d0d8 Vladyslav Bondarenko 2024-06-16 13:24:52
feat: add ldoc custom see tag handler d28dc9809939a99694d87cf1d0654eb0e2fcd314 Vladyslav Bondarenko 2024-06-16 13:23:24
feat: add optional xmlstarlet support b2db46335cb4aa461c45915d235c6d8d340a3dea Vladyslav Bondarenko 2024-06-16 09:57:27
fix: indent Chorus.xml with tabs and not spaces bf4091ab69c75aafa9256b0503b5addd316e214f Vladyslav Bondarenko 2024-06-16 09:39:28
fix: format generated XML with tabs and not spaces d0018a28b184add22ea69f86c8b334a72310004e Vladyslav Bondarenko 2024-06-16 09:26:54
doc: raid frame profile generator script 22deb6f002463583ef5fd5c1acfcfb5777329aa8 Vladyslav Bondarenko 2024-06-15 21:55:01
feat: add fallback offline label a621e23fe7dc5668f0525dcc2bc60d916c2a1c14 Vladyslav Bondarenko 2024-06-15 19:08:05
fix: add test mocks for background and backdrop 2b22abbcb266bb02bded0633301e1669ed1b040d Vladyslav Bondarenko 2024-06-15 19:07:40
fix: render raid target icon above health cb950c903e6fe0a8078ea06473ce3a01157e55cc Vladyslav Bondarenko 2024-06-15 19:06:13
fix: shift solo frames left 4ba54a74c54b3bc68411fa8882ebd08a93587a1d Vladyslav Bondarenko 2024-06-15 19:04:37
fix!: render raid frames correctly cdb44a8f8ed5a356651d7119f8fd9441dda2c058 Vladyslav Bondarenko 2024-06-15 19:01:13
fix: disable raid profiles for now 41ed89dc4f78561e90ba999d00e95e0b1dc3f2a8 Vladyslav Bondarenko 2024-06-15 05:52:14
feat!: add raid group profiles 57b4b36b800beaf6843bc3cfc954340d914b71fa Vladyslav Bondarenko 2024-06-14 22:19:47
feat!: prepare nightly release 0.8.0 e11a3bbdfad85e4c4716e4ecfd3e7f5b8f009058 Vladyslav Bondarenko 2024-06-14 15:33:18
fix: globalize string constants cc5893ba83f388c0a58b183321f63867b10248ad Vladyslav Bondarenko 2024-06-14 15:12:35
feat: always show player frame 1eb20501d74ee931691f02abc31a176569a7d299 Vladyslav Bondarenko 2024-06-14 14:34:42
feat: add header background to larger units ef000eebb9ef5a8211f6aff47e2a1c38a3badf4a Vladyslav Bondarenko 2024-06-14 13:54:04
feat: unknown unit level is rendered as red f830dfcf22bf2f8e5c087de8f42a89f6733f5269 Vladyslav Bondarenko 2024-06-14 13:51:34
Commit 4f3cd088299dc09f5207caeeddedfcca461d439e - build: allow either GNUmake or pdpmake to be used
There are different implementations of the `make` tool. Use the most
common subset of the features across different implementations. Tested
with GNU make (`gmake`) and Busybox make (`pdpmake`).
Author: Vladyslav Bondarenko
Author date (UTC): 2024-06-16 15:52
Committer name: Vladyslav Bondarenko
Committer date (UTC): 2024-06-16 15:52
Parent(s): 125835dbbef41528e4f545642f62e519e7e8f9fc
Signer:
Signing key: EFF9624877D25D02
Signing status: E
Tree: 6983345c6962778b960ecddbf93fb04c82153536
File Lines added Lines deleted
conf/FrameXML/UI.xsd 0 0
conf/lua-check/luacheckrc.lua 0 0
conf/lua-ldoc/ldoc.lua 0 0
conf/make/ChorusRaidFrameGenerator.mk 0 0
conf/make/src.mk 2 2
conf/make/xmlstarlet.mk 1 1
makefile 15 15
File conf/FrameXML/UI.xsd renamed from share/FrameXML/UI.xsd (similarity 100%)
File conf/lua-check/luacheckrc.lua renamed from etc/luacheckrc.lua (similarity 100%)
File conf/lua-ldoc/ldoc.lua renamed from etc/ldoc.lua (similarity 100%)
File conf/make/ChorusRaidFrameGenerator.mk renamed from ChorusRaidFrameGenerator.mk (similarity 100%)
File conf/make/src.mk renamed from src/Makefile (similarity 99%) (mode: 100644) (index de670ea..da7fb82)
6 6 # blunt approch is more portable and more easily understood by developers not # blunt approch is more portable and more easily understood by developers not
7 7 # familiar with the `make` tool. # familiar with the `make` tool.
8 8
9 LUAFILES += \
9 LUAFILES = \
10 10 ${srcdir}src/Chorus.lua \ ${srcdir}src/Chorus.lua \
11 11 ${srcdir}src/ChorusTest.lua \ ${srcdir}src/ChorusTest.lua \
12 12 ${srcdir}src/local.lua \ ${srcdir}src/local.lua \
 
... ... ${srcdir}src/ChorusPartyFrame.lua \
30 30 ${srcdir}src/ChorusGroupFrame.lua \ ${srcdir}src/ChorusGroupFrame.lua \
31 31 ${srcdir}src/ChorusFrame.lua ${srcdir}src/ChorusFrame.lua
32 32
33 XMLFILES += \
33 XMLFILES = \
34 34 ${srcdir}src/Chorus.xml \ ${srcdir}src/Chorus.xml \
35 35 ${srcdir}src/ChorusFont.xml \ ${srcdir}src/ChorusFont.xml \
36 36 ${srcdir}src/ChorusAuraButtonTemplate.xml \ ${srcdir}src/ChorusAuraButtonTemplate.xml \
File conf/make/xmlstarlet.mk renamed from xmlstarlet.mk (similarity 85%) (mode: 100644) (index 8ab088e..e7de3ee)
8 8
9 9 XMLSTARLET=xmlstarlet XMLSTARLET=xmlstarlet
10 10
11 CHECK_XML=${XMLSTARLET} val --err --list-bad --xsd ${srcdir}share/FrameXML/UI.xsd
11 CHECK_XML=${XMLSTARLET} val --err --list-bad --xsd ${srcdir}conf/FrameXML/UI.xsd
12 12
13 13 FORMAT_XML=${XMLSTARLET} fo --indent-tab --encode utf-8 --dropdtd FORMAT_XML=${XMLSTARLET} fo --indent-tab --encode utf-8 --dropdtd
File makefile renamed from GNUmakefile (similarity 76%) (mode: 100644) (index cabd189..47a90eb)
1 .POSIX:
2
3 .PRAGMA: posix_202x
4
1 5 # NAME must be in [a-z0-9] and must not contain special characters or # NAME must be in [a-z0-9] and must not contain special characters or
2 6 # delimiters. Otherwise, the game client will quietly ignore the add-on and not # delimiters. Otherwise, the game client will quietly ignore the add-on and not
3 7 # load it. # load it.
4 8 NAME=chorus NAME=chorus
5 VERSION=0.8.0
9 VERSION=0.8.0-16-g125835d
6 10
7 11 srcdir=./ srcdir=./
8 12
 
... ... LUA=lua
15 19 LUAFLAGS= LUAFLAGS=
16 20
17 21 LUACHECK=luacheck LUACHECK=luacheck
18 LUACHECKFLAGS=--config ${srcdir}etc/luacheckrc.lua
22 LUACHECKFLAGS=--config ${srcdir}conf/lua-check/luacheckrc.lua
19 23
20 24 LDOC=ldoc LDOC=ldoc
21 25 LDOCFLAGS= LDOCFLAGS=
22 26
23 27 # WARNING: XML encoding is significant, it's "UTF-8" and __not__ "UTF8". # WARNING: XML encoding is significant, it's "UTF-8" and __not__ "UTF8".
24 28 XMLLINT=xmllint XMLLINT=xmllint
25 XMLLINTFLAGS=--nonet --encode UTF-8 --schema ${srcdir}share/FrameXML/UI.xsd
29 XMLLINTFLAGS=--nonet --encode UTF-8 --schema ${srcdir}conf/FrameXML/UI.xsd
26 30
27 31 INSTALL=unzip -d ${DESTDIR}Interface/AddOns INSTALL=unzip -d ${DESTDIR}Interface/AddOns
28 32
29 33 LUAFILES= LUAFILES=
30 34 XMLFILES= XMLFILES=
31 35
32 # Use the source directory name as project name, if not yet set.
33 NAME ?= ${shell basename ${realpath ${srcdir}}}
34
35 # Use `git` to infer the project's current version, if not yet set.
36 VERSION ?= ${shell ${GIT} ${GITFLAGS} describe}
37
38 36 # Load the exact list of source snippets from a separate Makefile. # Load the exact list of source snippets from a separate Makefile.
39 37 # The order in which files are passed to the command line is important. # The order in which files are passed to the command line is important.
40 38 # File `src/Chorus.lua` must be loaded first by the tools. # File `src/Chorus.lua` must be loaded first by the tools.
41 include ${srcdir}src/Makefile
39 include ${srcdir}conf/make/src.mk
42 40
43 41 # Generate XML templates for raid frames. # Generate XML templates for raid frames.
44 include ${srcdir}ChorusRaidFrameGenerator.mk
42 include ${srcdir}conf/make/ChorusRaidFrameGenerator.mk
45 43
46 all: ${LUAFILES} ${XMLFILES} | check
44 all: ${LUAFILES} ${XMLFILES} check
47 45
48 dist: ${NAME}-${VERSION}.zip | check
46 dist: ${NAME}-${VERSION}.zip check
49 47
50 48 ${NAME}-${VERSION}.zip: doc/html/index.html doc/html/ldoc.css ${NAME}-${VERSION}.zip: doc/html/index.html doc/html/ldoc.css
51 49 ${GIT} ${GITFLAGS} archive --format=zip \ ${GIT} ${GITFLAGS} archive --format=zip \
 
... ... doc/html/index.html: ${LUAFILES}
64 62 test -d doc/ || mkdir doc/ test -d doc/ || mkdir doc/
65 63 test -d doc/html/ || mkdir doc/html/ test -d doc/html/ || mkdir doc/html/
66 64 ${LDOC} ${LDOCFLAGS} --dir=doc/html/ --all \ ${LDOC} ${LDOCFLAGS} --dir=doc/html/ --all \
67 --config=${srcdir}etc/ldoc.lua \
65 --config=${srcdir}conf/lua-ldoc/ldoc.lua \
68 66 --merge -X \ --merge -X \
69 67 --project=${NAME} \ --project=${NAME} \
70 68 --title='${NAME}-${VERSION}' \ --title='${NAME}-${VERSION}' \
 
... ... check-xml: ${XMLFILES}
86 84 check-lua: ${LUAFILES} check-lua: ${LUAFILES}
87 85 ${LUACHECK} ${LUACHECKFLAGS} $^ ${LUACHECK} ${LUACHECKFLAGS} $^
88 86
89 check: | check-lua check-xml
87 check: check-lua check-xml
90 88
91 89 clean: clean:
92 90 rm -f doc/html/index.html rm -f doc/html/index.html
93 91 rm -f doc/html/ldoc.css rm -f doc/html/ldoc.css
92
93 .PHONY: clean check check-lua check-xml install
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