Brendan Hagan
e0d9e84740
feat: restore locale level translations for other packages ( fixes #41 )
...
This is only a partial fix though, it basically restores the old behavior as a default. That doesn't help though with flipping the definitions to get stuff out of the UI Locale file though. So that'll have to come next for allowing wildcard resolutions to be done from the game(?) or maybe locale extension files?
2022-08-02 21:42:03 -04:00
Brendan Hagan
78227a30da
feat: add internal support for underlined text ( closes #29 )
2022-07-26 22:37:03 -04:00
Brendan Hagan
e0f5849a9c
misc: change default export_zoom to 100% ( fixes #26 )
2022-07-18 19:55:59 -04:00
Brendan Hagan
9fe75933dd
fix: use export zoom as a double to properly handle non-int scales
2022-07-09 14:48:05 -04:00
Brendan Hagan
9dbb65b109
fix: use canonical name for stylesheet settings ( fixes #8 )
2022-07-08 23:00:01 -04:00
Brendan Hagan
894d13fbdb
feat: restore ability to export using viewer rotation angle
2022-07-07 23:23:35 -04:00
Brendan Hagan
95fdaa776c
misc: throw internal image extension behind a preference setting
2022-07-04 01:57:32 -04:00
Brendan Hagan
616fe1aad7
feat: add internal storage scale option to preferences window
2022-07-04 00:52:53 -04:00
Brendan Hagan
4173d5017b
feat: revert hack for time card columns, use scripts instead
2022-06-20 21:06:27 -04:00
Brendan Hagan
15ad48a5be
feat: super sloppy way of adding more card list columns (created, modified, notes)
2022-06-15 23:08:33 -04:00
Brendan Hagan
66d7f7f583
feat: cleanup unused fields from zoom/export preference changes
2022-06-14 20:04:15 -04:00
Brendan Hagan
6df6aec42d
feat: uncouple export zoom from display zoom
2022-06-14 20:04:15 -04:00
Brendan Hagan
ab40f587fa
misc: export images at 400% scale instead of 100%
2022-06-14 20:04:15 -04:00
Twan van Laarhoven
c7377303cf
Make templates localizable ( Closes #100 )
2020-10-03 14:38:39 +02:00
Twan van Laarhoven
5b0979f58e
unordered_map for locale, and const functions where possible
2020-09-27 21:53:42 +02:00
Twan van Laarhoven
7725156225
Use enum class instead of global enum
2020-09-27 18:35:51 +02:00
Twan van Laarhoven
e7490486c4
Fix #84 : "menu_item" instead of "menu item" for symbol font localization
2020-09-27 15:24:26 +02:00
Twan van Laarhoven
a9077cd265
Disable auto replaces that match an empty string.
...
Some people are having problems with these suddenly showing up and making typing impossible. This doesn't fix the cause of the ARs appearing, but it at least prevents it from making MSE unusable.
2020-09-27 15:04:39 +02:00
Twan van Laarhoven
7a788c724d
Don't assert() check_tagged, that causes assert failures in debug mode for code that works in release
2020-09-27 14:02:29 +02:00
Twan van Laarhoven
04b239322e
Fix #90 : expand_keyword crashed when string ended with tags because of iterator out of bounds.
2020-09-27 01:12:45 +02:00
Twan van Laarhoven
0fc9480586
Make sure that after_reading is called when loading a Symbol. This fixes #68
2020-06-14 22:25:43 +02:00
Twan van Laarhoven
f97cf4236d
Fix #70 : overlapping keyword matches show reminder text for both keywords, now longest match is used
2020-06-10 00:00:38 +02:00
Twan van Laarhoven
688a25eb83
Fix #67
2020-06-02 19:48:43 +02:00
Twan van Laarhoven
ff86f928ee
No statistics for image fields
2020-06-01 14:20:18 +02:00
Twan van Laarhoven
4ff603d413
Allow ValueViewers to have a bounding box different from the Style's. This closes #64 .
2020-06-01 01:18:13 +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
31baa909d8
Fix #60 : Don't match keywords when the keyword is (partially) inside and <atom> tag
2020-05-29 00:46:30 +02:00
Twan van Laarhoven
279fdb0378
Fix #58 . Positions of the second match of a keyword were incorrectly counted from the end of the previous match instead of from the start of the string.
2020-05-27 02:12:32 +02:00
Twan van Laarhoven
22a7bce749
Fix #56 : Add default values to TextStyle::layout
2020-05-25 22:34:25 +02:00
Twan van Laarhoven
48dd5907e2
Fix warning
2020-05-24 22:06:24 +02:00
Twan van Laarhoven
386ddb40b9
Remove old code
2020-05-24 21:30:34 +02:00
Twan van Laarhoven
83448a1667
Fix #28 : correctly track dependencies on card_style._.content / ..layout
2020-05-23 13:57:04 +02:00
Twan van Laarhoven
22b1c2604b
Remove reader_pragma_handler hack
2020-05-22 01:23:53 +02:00
Twan van Laarhoven
be3e8b1e6b
Fix reflection of TextStyle::layout
2020-05-21 19:34:39 +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
6a299dfe41
Fix #48
2020-05-20 13:10:39 +02:00
Twan van Laarhoven
641acff92a
Add game and stylesheet version numbers to set files. Closes #39
2020-05-19 23:56:23 +02:00
Twan van Laarhoven
09139128e1
Fix in_tag and is_tag calls, fixes #47
2020-05-19 22:59:38 +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
e7c5a0fe32
Use '-' for negation in quick filter ( closes #43 )
2020-05-16 13:52:25 +02:00
Twan van Laarhoven
ab2adf7e70
In quick filter, treat ! and : as literal characters when inside quotes ( #43 )
2020-05-16 13:25:25 +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
dbb6d34bb3
Add <font:$family> tag, closes #24
2020-05-12 22:30:04 +02:00
Twan van Laarhoven
0c3712b61a
Cleanup: indentation of public/protected/private keywords
2020-05-12 21:57:37 +02:00
Twan van Laarhoven
86aec577a2
Use enum class
2020-05-12 21:29:11 +02:00
Twan van Laarhoven
7781a428f6
Add constant for escaped <
2020-05-12 21:10:01 +02:00
Twan van Laarhoven
cc56aec430
Settings filename
2020-05-12 18:54:04 +02:00
Twan van Laarhoven
e6af772ebd
Fix reading of symbols: perform after_reading for derived classes
2020-05-12 15:41:10 +02:00