Commit Graph

1816 Commits

Author SHA1 Message Date
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 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 cb635bd73d Disable script profiler in release build 2020-05-12 18:54:56 +02:00
Twan van Laarhoven cc56aec430 Settings filename 2020-05-12 18:54:04 +02:00
Twan van Laarhoven e7d0a2106d Fixed warnings 2020-05-12 17:49:42 +02:00
Twan van Laarhoven e6af772ebd Fix reading of symbols: perform after_reading for derived classes 2020-05-12 15:41:10 +02:00
Twan van Laarhoven e36dc69ca6 Fix: crash caused by keywords with empty parameter matches (partial fix for #33) 2020-05-12 14:45:54 +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 bc53730091 Update scrollbar on resize (and on startup) 2020-05-12 02:07:42 +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 9562103f7e Use whole program optimization 2020-05-11 00:54:26 +02:00
Twan van Laarhoven 9160a61d8e Added build target with static linking 2020-05-11 00:32:09 +02:00
Twan van Laarhoven 62a0aea3b8 Added some assertions 2020-05-11 00:31:42 +02:00
Twan van Laarhoven d90b73101b Implement scrolling ourselfs rather than relying on wxScrolledWindow 2020-05-10 17:05:31 +02:00
Twan van Laarhoven 99b8a31da0 (indentation) 2020-05-10 17:05:01 +02:00
Twan van Laarhoven e8eacac5e7 Expose more information about text layout. 2020-05-10 14:16:10 +02:00
Twan van Laarhoven 1c35183839 Consistent order of style property updates.
See #4 (which is mostly fixed by this commit)
2020-05-10 00:20:37 +02:00
Twan van Laarhoven 420c329bc4 Added "case-of" control structure 2020-05-09 18:41:30 +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 b4435e5e57 Themed checkboxes
Slightly larger items in (multiple) choice viewers
2020-05-06 02:47:02 +02:00
Twan van Laarhoven 6161feefc5 Don't use text cursor when hovering over labels in native look editor 2020-05-05 23:23:09 +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 30401964d5 Fix #10: find/replace was broken after tab index change.
Also: improve tab order to get a total order
2020-05-05 22:41:32 +02:00
Twan van Laarhoven cfd19220d5 Use unique_ptr 2020-05-05 22:36:00 +02:00
Twan van Laarhoven 302ec87cf2 Locale 2020-05-04 22:02:09 +02:00
Twan van Laarhoven c00d1f2236 Use script_nil instead of creating ScriptObjects with null pointers.
Fixes #18
2020-05-04 19:58:12 +02:00
Twan van Laarhoven 74230fefeb Fix #17: change &instrs[pos] to &instrs[0]+pos to avoid debug assertions when pos=instrs.size() 2020-05-04 13:22:44 +02:00
Twan van Laarhoven 177cc25487 Don't use wxToolBarToolBase::AddDropdownMenu, it is not supposed to be used and might not work in some ports. 2020-05-04 13:22:05 +02:00
Twan van Laarhoven 9f99bf4658 There is little point to a pool allocator with shared_ptr, since ref counters are still allocated as well. 2020-05-04 00:44:50 +02:00
Twan van Laarhoven 07fe2406e7 Don't allocate wxToolBarToolBase, that can lead to memory corruption and two days of debugging. 2020-05-04 00:43:58 +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 6c4277bd35 Fix #15, menu and toolbar icons on wxGTK 2020-05-01 12:55:43 +02:00
Twan van Laarhoven 1fb3f15aff Generate image for disabled toolbar buttons and menu items.
Fixes #13.

Removed IconMenu class, use add_menu_item/add_menu_item_tr instead.
Added _tr variants that automatically do locale translation
2020-05-01 03:26:02 +02:00
Twan van Laarhoven 8468c5bd93 Fix #9: Don't use wxWidgets' best size calculation for card and keyword lists. 2020-04-30 21:11:43 +02:00
Twan van Laarhoven 77e2ff8fd7 Fix #11: Gallery list best size: Invalidate cache and don't use DoGetBestClientSize
Revert "Cleanup: use DoGetBestClientSize"
This reverts commit 5700005243.

DoGetBestClient size is a nice idea, but it doesn't take scrollbars into account.
2020-04-30 20:35:12 +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 e74774138c Fix warnings and linker errors on gcc 2020-04-30 14:25:28 +02:00
Twan van Laarhoven 30391672ad Exception instead of warning 2020-04-30 14:25:18 +02:00