Twan van Laarhoven
|
c9c708dfbe
|
Fix #63: don't use reference arguments in openFileInPackage
|
2020-05-27 22:16:48 +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
|
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
|
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
|
1a0e17221b
|
Added StringView type (similar to std::string_view)
|
2020-05-21 19:29:42 +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
|
a0f077e3b6
|
Fix gcc build
|
2020-05-18 00:31:46 +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
|
cba96d6f23
|
Fix #46
|
2020-05-16 20:35:57 +02:00 |
|
Twan van Laarhoven
|
6b6306fc86
|
Don't use wxMkDir, it shows stupid error messages
|
2020-05-16 20:12:04 +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
|
3ea5ea9573
|
Fix missing carret in card filter box
Add Ctrl+K as a shortcut for card/keyword filter
|
2020-05-15 02:08:55 +02:00 |
|
Twan van Laarhoven
|
44c4acc2f5
|
Remove unused string functions
|
2020-05-14 23:51:43 +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
|
dbb6d34bb3
|
Add <font:$family> tag, closes #24
|
2020-05-12 22:30:04 +02:00 |
|
Twan van Laarhoven
|
ed45c7efb8
|
Cleanup
|
2020-05-12 22:25:55 +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
|
e7d0a2106d
|
Fixed warnings
|
2020-05-12 17:49:42 +02:00 |
|
Twan van Laarhoven
|
42b5b10074
|
Update url for issues
|
2020-05-12 02:15:57 +02:00 |
|
Twan van Laarhoven
|
a3951ae345
|
Use iterators instead of Char*
|
2020-05-12 02:10:38 +02:00 |
|
Twan van Laarhoven
|
3d6e3b3103
|
Use iterators instead of string positions
|
2020-05-12 02:09:10 +02:00 |
|
Twan van Laarhoven
|
7cf5531efd
|
Fix #31
|
2020-05-11 21:36:22 +02:00 |
|
Twan van Laarhoven
|
b57d9b7615
|
Enable 64 bit static build and fix linker error
|
2020-05-11 01:54:21 +02:00 |
|
Twan van Laarhoven
|
0a0dd72e36
|
Fix null dereference when stylesheets are missing, added an error message
|
2020-05-09 13:33:41 +02:00 |
|
Twan van Laarhoven
|
968b8eabca
|
Add "Save as directory"
|
2020-05-09 13:26:33 +02:00 |
|
Twan van Laarhoven
|
8f6423a96e
|
Fix intrusive_ptr and IntrusiveFromThis on gcc, fixes #21
|
2020-05-08 22:29:52 +02:00 |
|
Twan van Laarhoven
|
2d171732a0
|
Add Select All functionality, closes #19
|
2020-05-08 02:19:04 +02:00 |
|
Twan van Laarhoven
|
8b25815f72
|
Re-enabled intrusive_ptr
|
2020-05-07 22:25:02 +02:00 |
|
Twan van Laarhoven
|
360f8d71ad
|
Fix: check starting_age <= age, instead of starting_age < age. Otherwise we can get into an infinite loop.
|
2020-05-07 02:56:43 +02:00 |
|
Twan van Laarhoven
|
26f35893ae
|
Remove our own atomic type in favor of std::atomic
|
2020-05-07 02:17:14 +02:00 |
|
Twan van Laarhoven
|
e005d47d56
|
Use std::enable_shared_from_this instead of thisP parameters.
|
2020-05-06 22:59:10 +02:00 |
|
Twan van Laarhoven
|
6434532dfb
|
GetMember is not reading. So don't try to fix-up "read" data when getting a member.
Fixes #3
|
2020-05-05 23:11:24 +02:00 |
|
Twan van Laarhoven
|
b1595c9179
|
(small clean up)
|
2020-05-02 16:12:15 +02:00 |
|
Twan van Laarhoven
|
6edba0c5c0
|
Move buffering to Reader
|
2020-05-02 01:04:35 +02:00 |
|
Twan van Laarhoven
|
06471e5231
|
Use Base::reflect instead of reflect_impl for reflecting base properties, made reflect_impl private.
This should fix #8
|
2020-04-30 17:40:36 +02:00 |
|
Twan van Laarhoven
|
a1d54f36fc
|
Use LocalFileName class for file names inside a package.
|
2020-04-30 00:20:32 +02:00 |
|
Twan van Laarhoven
|
d64dee7834
|
Fix: images were not being loaded from zip files.
wxImage::LoadFile requires the file to be seekable to peek at the header.
We work around this by buffering the header in a wrapper class.
|
2020-04-28 22:46:34 +02:00 |
|
Twan van Laarhoven
|
5f615b3117
|
Fix #5. Use our own function instead of wxRemoveFile, because the latter shows an error when the file doesn't exist.
|
2020-04-28 21:25:05 +02:00 |
|
Twan van Laarhoven
|
a8b7699ac3
|
Revert changes to spec_sort
|
2020-04-27 17:21:24 +02:00 |
|
Twan van Laarhoven
|
f4b2a4316f
|
Fix: don't run after_reading multiple times when there are included files
|
2020-04-27 14:23:26 +02:00 |
|
Twan van Laarhoven
|
af7e8c9d39
|
Switch (back) to our own Color type instead of using wxColour.
The reason is that wxColour's default constructor creates an invalid color (what is that even?). It is nicer to just have default be transparent.
|
2020-04-26 21:41:35 +02:00 |
|