5700 Commits

Author SHA1 Message Date
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
88d24b763b Differentiate between small perimeters and external perimeters in verbose gcode. 2018-06-15 15:09:17 -05:00
Joseph Lenox
4e89f2f806
Make xs/gui name correct/consistent 2018-06-15 10:58:32 -05:00
Joseph Lenox
b8a094e18f
Rename GUI.hpp to xsGUI.hpp 2018-06-15 10:42:21 -05:00
Joseph Lenox
695bf7d293
Renaming xs/../GUI.hpp to xsGUI.hpp to avoid conflicts 2018-06-15 10:42:00 -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
Oekn5w
c058ae91d2 Moved resetting parameter of thumbnail generation to on_thumbnail_made (#4443) 2018-06-08 21:51:49 -05:00
Ahmed Samir
1527cfbb26 Allow to set shell thickness for top/bottom layers (#4430)
* Fix a warning in PresetEditor line 806.

* Remove min_shell_thickness from the if condition in  LayerRegion.cpp

* Add missing line in spiral vase check.

* Add initial set top shell thickness.

* Add minimum shell thickness for top/bottom layers.

* Some refactoring.

* Some Fixes.

* revert last change.

* a fix.

* Some refactoring.

* Some fix in calculating solid layers count.

* Refactoring in LayerRegion.cpp, Object.pm and PresetEditor.pm
2018-06-06 19:26:03 -05:00
Joseph Lenox
ba4a313897 Build statically and build in a subdirectory. 2018-06-06 18:25:36 -05:00
Joseph Lenox
f59b6bea42 Committing PresetEditor.cpp 2018-06-06 18:22:50 -05:00
Joseph Lenox
109fdce8c8 refactored to accept a t_config_option_keys for initializer. 2018-06-05 22:39:48 -05:00
Joseph Lenox
832c0eb101 Stubbing out the various editors for print/material/printer 2018-06-05 22:39:12 -05:00
Joseph Lenox
31ba88eaa4 Fixed typo (missing &) in update 2018-06-05 19:47:39 -05:00
Benjamin Landers
ff3234d8f0 Fixes related to Face Rotation (#4437)
* Adjust size of icon to match others

* Make the rotate button disabled if a face is not selected

* Fix color issue
2018-06-04 20:29:15 -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