Carl Miller, Jr
cb3766ea82
include unordered map
...
Add unordered_map include directives to src/util/io/reader.hpp and ./writer.hpp to prevent an early compile-time error on Mac OS 10.14 “Mojave”.
2020-10-02 01:23:10 -04:00
Twan van Laarhoven
628f497586
size_t == unsigned int in 32 bit builds
2020-09-28 02:05:19 +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
e14fe1f40e
Use template specialization instead of name concatenation so that reflection of enums works for enums that are inside another class or namespace.
2020-09-27 18:34:46 +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
cf19bc76c3
Fix #98 : tab traversal in native look editors. Use bounding_box instead of style.left/top/etc.
2020-09-27 14:44:55 +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
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