Commit Graph

484 Commits

Author SHA1 Message Date
Brendan Hagan 087da12893 misc: get this crap building locally
Looks like my install via vcpkg sets up a different directory structure for hunspell
2022-06-14 20:04:15 -04:00
Twan van Laarhoven f9d9356d51 Fix #132, regex compilation issues for boost 1.76.
It looks like they switched to a different hash function that uses integer operations on characters.
2021-07-06 20:54:44 +02:00
Twan van Laarhoven 2872862b01 (cleanup) 2021-07-06 20:49:26 +02:00
Twan van Laarhoven b3220cc302 Add std::hash instance for String (for wxWidgets < 3.1) 2021-07-03 23:11:35 +02:00
Twan van Laarhoven c7377303cf Make templates localizable (Closes #100) 2020-10-03 14:38:39 +02:00
Twan van Laarhoven f2ae3ae43b Include unordered_map (fixes #104) 2020-10-02 23:37:24 +02: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 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 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 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 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 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