773 Commits

Author SHA1 Message Date
Joseph Lenox
aa85c50b46 add all of the library dependencies that Slic3r needs to the test as well. 2018-06-21 23:15:07 -05:00
Joseph Lenox
cdb9d61aef Added a test with a tiny bit of meaning (cribbed from wxWidgets tests). 2018-06-21 23:05:33 -05:00
Joseph Lenox
1d4df82c92 spliced test harness wxApp class from wxWidgets tests 2018-06-21 23:03:00 -05:00
Joseph Lenox
953317c602 Build and run tests. Also use correct location for catch header. 2018-06-21 22:06:19 -05:00
Joseph Lenox
dd993042b7 Detect if running on Travis 2018-06-21 22:04:44 -05:00
Joseph Lenox
29b6aa23e8 Fetch Catch via cmake instead of clone + own. 2018-06-21 21:51:54 -05:00
Joseph Lenox
94736231d6 Start building tests with Catch; also use ON/OFF syntax for build options.
testableframe borrowed from wxWidgets tests.
2018-06-21 21:48:54 -05:00
Ahmed Samir
354b6230bd Adding missing file in CMakeLists.txt fixing the linker error. (#4451) 2018-06-18 16:29:20 -05:00
Joseph Lenox
4e89f2f806
Make xs/gui name correct/consistent 2018-06-15 10:58:32 -05:00
Joseph Lenox
8340654183 stubbed out preset editor changes. 2018-06-14 23:16:30 -05:00
Joseph Lenox
ec2582c4e4 Made ui_settings extern. 2018-06-14 17:10:44 -05:00
Joseph Lenox
e15e628645
Last pieces of refactor 2018-06-14 12:17:01 -05:00
Joseph Lenox
5fb873c381
Fix typo. 2018-06-14 12:02:52 -05:00
Joseph Lenox
b32f7132b9
What's that semicolon?!? 2018-06-14 11:41:12 -05:00
Joseph Lenox
33b5b7c003
settings to ui_settings 2018-06-14 11:29:23 -05:00
Joseph Lenox
3ac6cbdbfd
Cleanup of Settings usage/propagation 2018-06-14 11:07:19 -05:00
Joseph Lenox
b249b75be8
Refactoring Settings store. 2018-06-14 09:25:22 -05:00
Joseph Lenox
cc0ee1931f
Refactoring Settings store. 2018-06-14 09:24:37 -05:00
Joseph Lenox
c6639786b7
Cleaning up settings to ui_settings 2018-06-14 09:24:03 -05:00
Joseph Lenox
32f440ea65 Fix _update() signature. 2018-06-13 23:14:34 -05:00
Joseph Lenox
759428fef7 Fixed how bitmap was instantiated, forgot a } 2018-06-13 23:00:34 -05:00
Joseph Lenox
e9df376f9b Fixed some typos, working on getting code to build. 2018-06-13 22:50:52 -05:00
Joseph Lenox
cbc026e4ed Update now takes an argument, added accessor functions to get the type as both a preset enum and integer (index into vector)
Stubbed in more functions.
2018-06-13 22:46:12 -05:00
Joseph Lenox
9e068d5d65 Match prototype for add_options_page 2018-06-13 22:36:58 -05:00
Joseph Lenox
c70ecd68ba Add GUI.hpp to include list. 2018-06-13 22:35:15 -05:00
Joseph Lenox
4fc9a09bc9 Stubbed out more functions in PresetEditor 2018-06-13 22:26:51 -05:00
Joseph Lenox
8e5d2595d6 Fixed signatures for on_save_preset and on_value_change function objects. 2018-06-13 22:26:21 -05:00
Joseph Lenox
f2d0dae357 Added more functions to PresetEditor interface 2018-06-13 22:25:44 -05:00
Joseph Lenox
1b8e880c84 Added LogChannel interface function (pure virtual) to PresetEditor 2018-06-13 22:24:58 -05:00
Joseph Lenox
80bc61d833 Moved presets vector to public from private. 2018-06-13 22:24:06 -05:00
Joseph Lenox
93039e13fc Quick reference macro to GUI with the cast applied so access is available 2018-06-13 22:20:57 -05:00
Joseph Lenox
d95d7f8d55 Bring in Preset reference file 2018-06-13 22:19:36 -05:00
Joseph Lenox
2b6e64756e finished removing local settings in favor of singleton ui_settings 2018-06-13 22:17:25 -05:00
Joseph Lenox
9d9781acd5 Made Preset methods public (as originally intended), added == for wxString and std::string to let std::find behave nicely. 2018-06-13 22:08:22 -05:00
Joseph Lenox
97acd95341 Added comment for prompt_unsaved_changes 2018-06-13 22:07:16 -05:00
Joseph Lenox
d8d7119f47 pages is PresetPage, not wxString 2018-06-13 22:06:49 -05:00
Joseph Lenox
a9b6946066 Added overriding and overridable options. 2018-06-13 21:32:47 -05:00
Joseph Lenox
82836f1ec3 Moved to C++14 syntax with string literals. 2018-06-13 21:31:42 -05:00
Joseph Lenox
bd35919804 Push GUI config/settings store out to a singleton unique_ptr that is instantiated during OnInit. 2018-06-13 21:00:17 -05:00
Joseph Lenox
7cdeb7b454 Require C++14 for GUI 2018-06-13 20:48:45 -05:00
Joseph Lenox
f59b6bea42 Committing PresetEditor.cpp 2018-06-06 18:22:50 -05:00
Joseph Lenox
832c0eb101 Stubbing out the various editors for print/material/printer 2018-06-05 22:39:12 -05:00
Joseph Lenox
8eb7f952ea Moved PresetEditor into Dialogs subdir 2018-06-04 16:26:55 -05:00
Joseph Lenox
451d202be5 Properly initialize the toolbar state on start 2018-06-04 16:25:06 -05:00
Joseph Lenox
e83a6c4779 Changed small_font to be a function; avoids initialization segfault (calling wxSystemSettings before wx is initialized). 2018-06-04 16:19:17 -05:00
Joseph Lenox
d20c0f48ca workaround: avoid requiring c++14 just yet. 2018-05-21 22:01:35 -05:00
Joseph Lenox
7cb17d4fb2 Stubbed out more of PresetEditor and Preset 2018-05-21 20:56:55 -05:00
Joseph Lenox
e329a3ea88 Require C++14 support for gui compile (because string literals are really really useful). 2018-05-21 20:47:01 -05:00
Joseph Lenox
d74712ef7d Moved Preset to its own header. 2018-05-21 16:28:44 -05:00
Joseph Lenox
c5653a1435 Log otherwise uncaught exceptions so we have an idea where it came from. 2018-05-17 22:36:43 -05:00