Commit Graph

1251 Commits

Author SHA1 Message Date
Twan van Laarhoven 5840f6c493 Fix type error in error handler 2020-09-27 01:10:36 +02:00
Twan van Laarhoven c07a8ff8f6 Fix: autoreplace could go out of bounds 2020-06-21 13:51:20 +02:00
Twan van Laarhoven 27d7180432 GetDefaultMember::handle is not called with longs or uint64_t, only size_t 2020-06-20 16:25:43 +02:00
guy 516f36a9d2 Added changes for building on Catalina 2020-06-15 00:23:33 -04: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 a7336d66e1 Card list sorting is now handled per window (closes #71) 2020-06-14 21:43:33 +02:00
Twan van Laarhoven 8c26eb5b47 Image slice window now always uses "size to fit" as default sizing type 2020-06-10 01:14:16 +02:00
Twan van Laarhoven 053449d5d4 Correct ascending/descending arrows when sorting card and keyword lists 2020-06-10 00:47:58 +02:00
Twan van Laarhoven d27193cdd7 Removed old code 2020-06-10 00:24:13 +02:00
Twan van Laarhoven 92118f8bf1 Updated about window: added license info and updated author list 2020-06-10 00:16:23 +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 c22fd8b708 fix: return statement in all control paths 2020-06-01 22:29:04 +02:00
Twan van Laarhoven 02933aecf9 Fix gcc build 2020-06-01 14:54:41 +02:00
Twan van Laarhoven ff86f928ee No statistics for image fields 2020-06-01 14:20:18 +02:00
Twan van Laarhoven f9d18ac3c8 Fix potential crash when there are errors in a statistics script 2020-06-01 14:11:40 +02:00
Twan van Laarhoven 7952a889c9 Call ev.Skip() for unhandled char events in card editor. Fixes #65 (and maybe also #53) 2020-06-01 13:47:44 +02:00
Twan van Laarhoven 36c1c2541a Fix height of multi line text boxes and TextCtrls 2020-06-01 13:33:53 +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 e9305c7554 Use smart pointer 2020-05-31 16:16:34 +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 c9c708dfbe Fix #63: don't use reference arguments in openFileInPackage 2020-05-27 22:16:48 +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 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 dc336e20f0 Fix #57 2020-05-25 22:51:10 +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 221a8e99e5 Fix #55 2020-05-25 22:13:12 +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 e570fa8346 Disable scrollbars for dropdown lists. wxGTK doesn't support them at all, we would have to do it manually. For now disabling scrolling mostly fixes #51 2020-05-23 14:58:54 +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 d97cfce85d Fix #50 2020-05-23 12:46:21 +02:00
Twan van Laarhoven b2e6f03c29 --help text for script files 2020-05-23 00:20:11 +02:00
Twan van Laarhoven 4ed586ddfe Fix crash in 64 bit build, because size_t can't be used with a %d format string 2020-05-22 19:45:18 +02:00
Twan van Laarhoven 9922e39feb Fix locale errors 2020-05-22 19:02:31 +02:00
Twan van Laarhoven 8192bd9613 fix: don't use cannonical name form when generating choice images, use it only for indexing 2020-05-22 16:17:33 +02:00
Twan van Laarhoven 22b1c2604b Remove reader_pragma_handler hack 2020-05-22 01:23:53 +02:00
Twan van Laarhoven 173f702ffa Warn about missing ':' in reader 2020-05-22 01:20:48 +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 8b91cd8804 Message box when there are exceptions when creating a set, because there is no console yet 2020-05-22 00:26:51 +02:00
Twan van Laarhoven cbab6481a1 When reading, don't add items to a vector before they are read. This avoids nullptrs in the list of fields, cards, etc. when exceptions are thrown 2020-05-22 00:25:55 +02:00
Twan van Laarhoven 749de23eb0 Fix error when using saveAs 2020-05-22 00:25:35 +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 4bd29f0eda Add override keyword 2020-05-21 20:01:23 +02:00
Twan van Laarhoven 1bb61ea9ac Fix gcc build 2020-05-21 19:53:56 +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