Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension plugin support #162

Merged
merged 93 commits into from
Feb 16, 2021
Merged
Changes from 1 commit
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
b675a89
Modified symbols test-sib
Jun 8, 2020
7af1549
Added symbol styles
Jun 8, 2020
9e058ab
Trying to implement new symbols
Jun 8, 2020
b2cbf42
Changed attributes to Dictionaries
Jun 9, 2020
960b8c8
Solved libmei function call
Jun 9, 2020
a35769a
Correcting dictionaries
Jun 9, 2020
edf045d
Added creation of defined attributes
Jun 9, 2020
f77b1d5
Started with articulations in test-sib
Jun 9, 2020
96b542d
Symbol 52 seems to be a second heel
Jun 9, 2020
e4c4bc6
Added generic modifier export
Jun 9, 2020
c36c1c3
Extract symbol tests
Jun 15, 2020
8c1415c
Reduce redundant/unnecessary code
th-we Jun 15, 2020
db550dd
Text rewrite: Extremely dirty WIP
th-we Jun 15, 2020
67a7ae8
Added tests for every symbol
Jun 15, 2020
1a9e2cf
Load symbolStyles in DoExport()
Jun 15, 2020
43a3594
Fixed mordent test after changing order of symbols in test-sib
Jun 15, 2020
b00aef9
WIP: Make something work
th-we Jun 15, 2020
a08cbce
Reduce redundant/unnecessary code
th-we Jun 15, 2020
d60c15a
Added init of symbol styles to InitGlobals()
Jun 15, 2020
1e6483f
Fixed error in test-sib and added test to check for artics
Jun 15, 2020
fa82059
Text rewrite: Make most things work and cleanup
th-we Jun 15, 2020
87135af
Add text.sib test file (without the actual test code)
th-we Jun 15, 2020
51947fa
Add DataToMEI()
th-we Jun 16, 2020
be680d3
Merge remote-tracking branch 'private/dev_interalSymbols' into dev-ex…
th-we Jun 16, 2020
0c308f6
Prevent spaces at the end of single flag rend attributes
Jun 16, 2020
f7ddf43
Merge branch 'dev-extensions' into HEAD
th-we Jun 16, 2020
9da5205
Merge branch 'wip/text-rewrite' into dev-extensions
Jun 17, 2020
d8d8b50
WIP: text tests... not finished!!!
Jun 17, 2020
413c9e2
Added simple more tests and fixed tempo test
Jun 29, 2020
5153a7d
Started with SymbolHandler adjustments according to TextHandlers
Jun 29, 2020
67cca7d
Merged Modifier & Control Events, created Handler + Symbol Map
Jun 29, 2020
8d32d26
Renamed HandleControlEvents to HandleControlEvent
Jun 30, 2020
f83c8d6
Added Pedal to symbol.sib
Jun 30, 2020
0ad5b88
Changed to SetMethod-Dictionaries and renaming
Jun 30, 2020
b640f59
Using DataToMEI as element factory
Jun 30, 2020
3eee3d7
Add extension detection (no functionality yet)
th-we Jul 3, 2020
df369a5
Add Dialog for extension selection
th-we Jul 3, 2020
c5e4cf9
Draft of extension API
th-we Jul 6, 2020
46e2f8a
Implement extension initialization
th-we Jul 6, 2020
1276b3e
Make extensions work
th-we Jul 7, 2020
db6e9c5
Move initialization of libmei to InitGlobals
Jul 7, 2020
ed093c3
Added simple more tests and fixed tempo test
Jun 29, 2020
1df4619
Merge remote-tracking branch 'origin/test-text' into test-text
Jul 21, 2020
5ecb6bd
Added front matter to test-sib
Jul 27, 2020
3d01a6a
Added reference to MeiFactory in SymbolHandlers
Jul 27, 2020
a1931cd
Renamed TextStyles in TextHandler
Jul 27, 2020
fc618b9
Check for front matter
Jul 27, 2020
4da727a
Check for plain text in measure 2
Jul 27, 2020
501780b
Added tests for text formatting
Jul 27, 2020
d22b6f3
Merge branch 'test-text' into dev-extensions
Jul 27, 2020
4520c1f
Added plain text to output
Jul 27, 2020
d3b08a7
Don't put an <anchoredText> in <tempo>
Jul 27, 2020
16f5a65
Corrected errors in formatting tests
Jul 27, 2020
f31b594
Merge branch 'extension-api-draft' into dev-extensions
th-we Aug 1, 2020
1c55c16
Support extension initialization without showing dialog
th-we Aug 1, 2020
dd5689d
Rename DataToMei to MeiFactory
th-we Aug 1, 2020
854fb93
Replace GenerateFormattedString() with AddFormattedText()
th-we Aug 1, 2020
f2bfcb4
Initialize text handlers in InitGlobals()
th-we Aug 1, 2020
bad3041
Fix text export
th-we Sep 14, 2020
7ec011c
Follow convention to always use Self._property: prefix for global var…
th-we Sep 14, 2020
0e63cb1
Merge pull request #9 from th-we/pr/text-handlers
Sep 14, 2020
de80cae
Updated documentation
Sep 15, 2020
bd53c32
Add text to extensions test & AddFormattedText() available to extensions
Sep 15, 2020
5f7a921
More detailed extension documentation
th-we Sep 16, 2020
fa29b17
Remove unused XMLIdToObjectMap
th-we Sep 15, 2020
2174588
Update re-generated libmei
th-we Sep 15, 2020
09b0c07
Change position of <symbolMap> according to schema
th-we Sep 15, 2020
2391fc4
Fix schema validation problems
th-we Sep 15, 2020
62cfd4a
Deleted doubled function descriptions
Sep 22, 2020
9205f1e
Merge pull request #12 from th-we/pr/extension-doc
Sep 22, 2020
2689419
Added application info for chosen extensions
Sep 22, 2020
1505764
Fixed storage of extension name
Sep 30, 2020
b75c474
Improved readability
Oct 5, 2020
34c96ce
Merge pull request #13 from th-we/dev_extAppInfo
Oct 12, 2020
3423443
Merge branch 'develop' into dev-extensions
th-we Feb 4, 2021
896d436
Branch-independent links in extension documentation
th-we Feb 1, 2021
f41682c
Remove dead code
th-we Feb 4, 2021
fed5a4a
Use better name for ControlEvent function and expose it for extensions
th-we Feb 4, 2021
466e798
Update extension documentation and improve some argument names
th-we Feb 4, 2021
3974fd0
Added basic fermata test
Feb 2, 2021
652e4ce
Checking number of exported fermatas in fermata test
Feb 2, 2021
d962e54
WIP fermatas
th-we Feb 4, 2021
6885f81
WIP fermatas
th-we Feb 4, 2021
8370541
Make fermata/@shape work
th-we Feb 4, 2021
be0e888
fermata/@form tests
th-we Feb 4, 2021
b2938c4
Implement fermata/@form
th-we Feb 4, 2021
f65e5e0
Proper defaults for output file name and folder
th-we Feb 4, 2021
8b93ba8
Close all files before exporting test folder
th-we Feb 5, 2021
19a107f
Trigger mocha tests from ManuScript
th-we Feb 5, 2021
f7fc603
Add a message to example extension
th-we Feb 5, 2021
8edba69
Cosmetics (comments and indentation)
th-we Feb 5, 2021
50240d0
Improve extensions documentation
th-we Feb 5, 2021
9079cc4
Make HandleModifier() fail gracefully when not finding a matching event
th-we Feb 5, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change position of <symbolMap> according to schema
  • Loading branch information
th-we committed Sep 16, 2020
commit 09b0c07666d7d4b31155f17daff8019676173e66
3 changes: 2 additions & 1 deletion src/ExportGenerators.mss
Original file line number Diff line number Diff line change
Expand Up @@ -1828,7 +1828,8 @@ function GenerateSmuflAltsym (glyphnum, glyphname) {
if (Self._property:SymbolTable = null)
{
symbolTable = libmei.SymbolTable();
libmei.AddChild(Self._property:MainScoreDef, symbolTable);
scoreDef = Self._property:MainScoreDef;
libmei.AddChildAtPosition(scoreDef, symbolTable, 0);
Self._property:SymbolTable = symbolTable;
}
symbolTable = Self._property:SymbolTable;
Expand Down