GenevensiS
6bfb88b1b3
Merge pull request #27 from CajunAvenger/global-scope
...
add global scope
2024-10-05 00:18:39 +02:00
GenevensiS
0309f7d16c
Merge pull request #26 from G-e-n-e-v-e-n-s-i-S/get-mse-version
...
Add get_mse_version script function
2024-10-04 23:23:26 +02:00
GenevensiS
4e926e11e3
fix indent
2024-10-04 23:18:10 +02:00
GenevensiS
e461eed88f
Merge pull request #25 from G-e-n-e-v-e-n-s-i-S/get-card-stylesheet
...
Add get_card_stylesheet script function
2024-10-04 23:13:47 +02:00
GenevensiS
38ced7790f
Add get_mse_version script function
2024-10-04 22:58:11 +02:00
GenevensiS
ecb48aebf0
Add get_card_stylesheet script function
2024-10-04 22:41:06 +02:00
GenevensiS
fa15206ba5
Add resize_image script function
2024-10-03 17:51:49 +02:00
GenevensiS
564d345f99
Merge pull request #23 from CajunAvenger/arrow-alias
...
Add -> as alias for :=
2024-10-01 17:03:26 +02:00
cajun
f3cfbd0594
Update parser.cpp
2024-09-29 15:46:52 -05:00
cajun
ebc4c4fa8d
add global scope
2024-09-29 14:07:07 -05:00
GenevensiS
e72ee85525
Add exists_in_package script function ( #86 )
...
* add exists_in_package script function
* Update index.txt
2024-09-26 22:03:27 -04:00
GenevensiS
39dbdf1ab2
Merge pull request #18 from G-e-n-e-v-e-n-s-i-S/file-exists
...
Add exists_in_package script function
2024-09-26 15:22:15 +02:00
GenevensiS
fa021d81c8
Merge pull request #16 from G-e-n-e-v-e-n-s-i-S/console-width_of-fix
...
fix width_of invocation in console not working
2024-09-18 09:23:33 +02:00
GenevensiS
258679b3c3
fix width_of invocation in console not working
2024-09-18 09:16:57 +02:00
GenevensiS
4054443a72
add exists_in_package script function
2024-09-17 06:13:01 +02:00
GenevensiS
9b34ae5446
add get_card_styling function for export scripts
2024-09-16 08:59:55 +02:00
Brendan Hagan
8d78a66517
Merge pull request #53 from haganbmj/export_subdirectories
...
export scripts can write to subdirectories
2022-11-18 22:12:02 -05:00
Brendan Hagan
5ba9a33e18
misc: make export directory creation recursive
2022-11-18 21:58:33 -05:00
Djack Donovan
d9f79ef99b
export scripts can write to subdirectories
...
Allow export scripts to write files to new subdirectories
2022-11-18 21:52:49 -05:00
Djack Donovan
d1bac74eb9
Script: to_date accepts "now" as an argument
...
indentation fix
2022-11-18 21:40:12 -05:00
Brendan Hagan
05855b812a
feat: add ability to control zoom/angle on generated card image
2022-08-13 23:53:29 -04:00
Brendan Hagan
a1fda8c6cd
feat: barebones image width/height script functions
...
Ideally want a better way to make these properties or something.
2022-08-13 23:53:29 -04:00
Brendan Hagan
0b22b17153
feat: initial implementation for to_card_image() function ( closes #33 )
2022-08-13 23:53:29 -04:00
Brendan Hagan
132d8d9351
feat: add underline to panels and export
2022-07-26 22:37:57 -04:00
Brendan Hagan
52a918be39
misc: remove extra_data function
2022-07-14 17:33:22 -04:00
Brendan Hagan
4f7fa585f7
feat: expose extra_card and extra_card_style script accessible variables
2022-07-14 17:30:45 -04:00
Brendan Hagan
be2635f778
misc: apply canonical field name transformation
2022-06-21 23:17:28 -04:00
Brendan Hagan
6e077b0899
feat: add extra_data() function to expose extra card fields
2022-06-21 23:16:13 -04:00
Twan van Laarhoven
c7377303cf
Make templates localizable ( Closes #100 )
2020-10-03 14:38:39 +02:00
Twan van Laarhoven
5840f6c493
Fix type error in error handler
2020-09-27 01:10:36 +02:00
Twan van Laarhoven
1f75175943
Cleanup: rename ValueViewer::viewer -> parent; store CardP in ValueAction
2020-05-31 16:07:13 +02:00
Twan van Laarhoven
c9c708dfbe
Fix #63 : don't use reference arguments in openFileInPackage
2020-05-27 22:16:48 +02:00
Twan van Laarhoven
f0c0b51e6c
Fix #59 , fix #61 :
...
* Now a <nospellcheck>/<sym>/<atom> anywhere within a word disables the spellchecker.
* Consider single quotes to be a part of a word, for things like "doesn't". TODO: this will do the wrong thing for text in single quotes
2020-05-26 23:37:35 +02:00
Twan van Laarhoven
c9c7a958ae
Add exception handlers in places where scripts are invoked. This should lead to slightly nicer error messages.
2020-05-22 00:30:18 +02:00
Twan van Laarhoven
c8bf037815
Fix: correct line numbers for parse errors in included files
2020-05-22 00:24:05 +02:00
Twan van Laarhoven
1a0e17221b
Added StringView type (similar to std::string_view)
2020-05-21 19:29:42 +02:00
Twan van Laarhoven
7ac44fcff1
More strict matching of tags: <blah> doesn't count as <b> anymore
2020-05-17 23:51:36 +02:00
Twan van Laarhoven
b3ddb295fc
Rewrite of keyword matching code. This fixes #20
...
Uses new iterator based tagged string functions.
2020-05-17 22:00:59 +02:00
Twan van Laarhoven
0b653938cc
Use unordered_map in KeywordTrie
2020-05-16 21:57:28 +02:00
Twan van Laarhoven
5deaeeeb3e
Cleanup: use override specifier everywhere, and enable gcc warning to check for it.
2020-05-16 00:23:18 +02:00
Twan van Laarhoven
a7c47729c1
Clean up old style angle brackets in nested templates
2020-05-15 02:15:58 +02:00
Twan van Laarhoven
1f3a2c2519
Fix #35
2020-05-14 23:48:06 +02:00
Twan van Laarhoven
2b7bd252e4
Added <li>, <margin> and <align> tags
2020-05-14 21:32:22 +02:00
Twan van Laarhoven
0c3712b61a
Cleanup: indentation of public/protected/private keywords
2020-05-12 21:57:37 +02:00
Twan van Laarhoven
7781a428f6
Add constant for escaped <
2020-05-12 21:10:01 +02:00
Twan van Laarhoven
48dcdb8e59
Don't throw an exception when failing to load spellchecker file, instead show warning and continue.
...
Mitigates #25 somewhat
2020-05-12 18:59:33 +02:00
Twan van Laarhoven
cb635bd73d
Disable script profiler in release build
2020-05-12 18:54:56 +02:00
Twan van Laarhoven
3d6e3b3103
Use iterators instead of string positions
2020-05-12 02:09:10 +02:00
Twan van Laarhoven
62a0aea3b8
Added some assertions
2020-05-11 00:31:42 +02:00
Twan van Laarhoven
420c329bc4
Added "case-of" control structure
2020-05-09 18:41:30 +02:00