5159 Commits

Author SHA1 Message Date
Joseph Lenox
0ae15512fd initial test, see if Travis osx fails too. 2018-07-11 22:14:51 -05:00
Joseph Lenox
34b7987696 Admitting defeat vs: Travis for now 2018-07-11 22:14:51 -05:00
Joseph Lenox
3bf2841d3f try one last time to run gui tests on travis 2018-07-11 22:14:51 -05:00
Joseph Lenox
870c06e53c Test GUI functions on osx travis until I figure out what is up with linux. Run TestSlic3r on both. 2018-07-11 22:14:51 -05:00
Joseph Lenox
2861c8aa08 use xvfb-run instead of starting it by hand 2018-07-11 22:14:51 -05:00
Joseph Lenox
9dcaaf8ef8 refactor libslic3r dependencies 2018-07-11 22:14:51 -05:00
Joseph Lenox
e7d72c1b2c add all of the library dependencies that Slic3r needs to the test as well. 2018-07-11 22:14:51 -05:00
Joseph Lenox
464f696f9e Added a test with a tiny bit of meaning (cribbed from wxWidgets tests). 2018-07-11 22:14:51 -05:00
Joseph Lenox
0838fbb73d spliced test harness wxApp class from wxWidgets tests 2018-07-11 22:14:51 -05:00
Joseph Lenox
6b9891067b start xvfb on osx? 2018-07-11 22:14:51 -05:00
Joseph Lenox
fda1023276 Build and run tests. Also use correct location for catch header. 2018-07-11 22:14:51 -05:00
Joseph Lenox
c41c9e1d50 Detect if running on Travis 2018-07-11 22:14:51 -05:00
Joseph Lenox
9a13cf1238 Fetch Catch via cmake instead of clone + own. 2018-07-11 22:14:51 -05:00
Joseph Lenox
5bcf807909 Start building tests with Catch; also use ON/OFF syntax for build options.
testableframe borrowed from wxWidgets tests.
2018-07-11 22:14:51 -05:00
Joseph Lenox
333a27aada Make xs/gui name correct/consistent 2018-07-11 22:14:51 -05:00
Joseph Lenox
310d82ea2b Rename GUI.hpp to xsGUI.hpp 2018-07-11 22:14:51 -05:00
Joseph Lenox
c9ed2ca7c3 Renaming xs/../GUI.hpp to xsGUI.hpp to avoid conflicts 2018-07-11 22:14:51 -05:00
Joseph Lenox
7cbf4b6d5f stubbed out preset editor changes. 2018-07-11 22:14:51 -05:00
Joseph Lenox
ecdffcc08a Made ui_settings extern. 2018-07-11 22:14:51 -05:00
Joseph Lenox
b69b47b8e2 Last pieces of refactor 2018-07-11 22:14:51 -05:00
Joseph Lenox
1209da02d5 Fix typo. 2018-07-11 22:14:51 -05:00
Joseph Lenox
f0adf1c7ab What's that semicolon?!? 2018-07-11 22:14:51 -05:00
Joseph Lenox
04f5dbe419 settings to ui_settings 2018-07-11 22:14:51 -05:00
Joseph Lenox
586e911363 Cleanup of Settings usage/propagation 2018-07-11 22:14:51 -05:00
Joseph Lenox
c97a7cb42b Refactoring Settings store. 2018-07-11 22:14:51 -05:00
Joseph Lenox
590d66b59b Refactoring Settings store. 2018-07-11 22:14:51 -05:00
Joseph Lenox
a3d38494f0 Cleaning up settings to ui_settings 2018-07-11 22:14:51 -05:00
Joseph Lenox
8cf4d5fe40 Fix _update() signature. 2018-07-11 22:14:51 -05:00
Joseph Lenox
991c601d8f Fixed how bitmap was instantiated, forgot a } 2018-07-11 22:14:51 -05:00
Joseph Lenox
d4f73ff1aa Fixed some typos, working on getting code to build. 2018-07-11 22:14:51 -05:00
Joseph Lenox
b12b656bf7 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-07-11 22:14:51 -05:00
Joseph Lenox
4b92bb4ebf Match prototype for add_options_page 2018-07-11 22:14:51 -05:00
Joseph Lenox
2f74ea3a44 Add GUI.hpp to include list. 2018-07-11 22:14:51 -05:00
Joseph Lenox
e78d1fe802 Stubbed out more functions in PresetEditor 2018-07-11 22:14:51 -05:00
Joseph Lenox
6b4b59da74 Fixed signatures for on_save_preset and on_value_change function objects. 2018-07-11 22:14:51 -05:00
Joseph Lenox
ac03e67605 Added more functions to PresetEditor interface 2018-07-11 22:14:51 -05:00
Joseph Lenox
9650035463 Added LogChannel interface function (pure virtual) to PresetEditor 2018-07-11 22:14:51 -05:00
Joseph Lenox
21c2e4c58c Moved presets vector to public from private. 2018-07-11 22:14:51 -05:00
Joseph Lenox
af99159642 Quick reference macro to GUI with the cast applied so access is available 2018-07-11 22:14:51 -05:00
Joseph Lenox
745a1d6fb3 Bring in Preset reference file 2018-07-11 22:14:51 -05:00
Joseph Lenox
deba961bf7 finished removing local settings in favor of singleton ui_settings 2018-07-11 22:14:51 -05:00
Joseph Lenox
ce4330e868 Made Preset methods public (as originally intended), added == for wxString and std::string to let std::find behave nicely. 2018-07-11 22:14:51 -05:00
Joseph Lenox
8933e76719 Added comment for prompt_unsaved_changes 2018-07-11 22:14:51 -05:00
Joseph Lenox
a7ce242496 pages is PresetPage, not wxString 2018-07-11 22:14:51 -05:00
Joseph Lenox
ac62b78943 Added overriding and overridable options. 2018-07-11 22:14:51 -05:00
Joseph Lenox
f13fbf3cee Moved to C++14 syntax with string literals. 2018-07-11 22:14:51 -05:00
Joseph Lenox
650bcc8c4c Push GUI config/settings store out to a singleton unique_ptr that is instantiated during OnInit. 2018-07-11 22:14:51 -05:00
Joseph Lenox
f20128bf4a Require C++14 for GUI 2018-07-11 22:14:51 -05:00
Joseph Lenox
9d7d83990e Build statically and build in a subdirectory. 2018-07-11 22:14:51 -05:00
Joseph Lenox
8b36624329 Committing PresetEditor.cpp 2018-07-11 22:14:51 -05:00