6153 Commits

Author SHA1 Message Date
Alessandro Ranellucci
cf933c62d5
Revert "Expanding Slic3r::Log" 2018-11-23 19:59:13 +01:00
Alessandro Ranellucci
bff574bfa8
Merge pull request #4604 from slic3r/file-log
Expanding Slic3r::Log
2018-11-23 19:40:40 +01:00
Joseph Lenox
93518c9545
Include STL algorithm 2018-11-23 08:07:50 -06:00
Joseph Lenox
37f4497450 Allow for filtering additionally on topic name. 2018-11-22 23:31:13 -06:00
Joseph Lenox
4a39f30ab5 Add doxygen comments 2018-11-22 23:10:20 -06:00
Joseph Lenox
b538f33459 Call through to underlying method for static Log methods 2018-11-22 23:03:58 -06:00
Joseph Lenox
bd9b9cc416 refactor to only use log() and use locale converter to figure out the rest. 2018-11-22 23:03:10 -06:00
Joseph Lenox
86c776287e Implemented debug level filtering. 2018-11-22 22:53:11 -06:00
Joseph Lenox
0ccb9b046e starting to enhance Slic3r::Log; adding tests. 2018-11-22 20:33:19 -06:00
Joseph Lenox
af3b9e2a4a
add Coverity badge to README 2018-11-18 20:11:35 -06:00
Joseph Lenox
aa42487db4
Update README.md 2018-11-18 20:02:52 -06:00
Joseph Lenox
b736711a7b Renamed sample_compatible to be more descriptive of what it is
(an incompatible preset group that forces a reversion to - default -
2018-11-18 19:02:56 -06:00
Joseph Lenox
e234a3b208 Added test to catch regression where input list would be clobbered during filtering. 2018-11-18 19:02:56 -06:00
Joseph Lenox
148fa8e3f9 comment update 2018-11-18 19:02:56 -06:00
Joseph Lenox
34c22403e1 remove debug print in test. 2018-11-18 19:02:56 -06:00
Joseph Lenox
f84f658389 fix partial regression due to reversion 2018-11-18 19:02:56 -06:00
Joseph Lenox
bbbcd36113 When filtering default values out, it helps to not use the original source and clobber the compatibilty list. 2018-11-18 19:02:56 -06:00
Joseph Lenox
84ef996275 Fix spacing for readability. 2018-11-18 19:02:56 -06:00
Joseph Lenox
d3e4b3ae5f Add debug string translation for presets. 2018-11-18 19:02:56 -06:00
Joseph Lenox
17fd8e26cd Clear the preset name map list during load 2018-11-18 19:02:56 -06:00
Joseph Lenox
c8662bad0a fix typo; assert load sizes 2018-11-18 19:02:56 -06:00
Joseph Lenox
9306c25db2 Filter only when not loading printer presets. 2018-11-18 19:02:56 -06:00
Joseph Lenox
5f8075585c Move the incompatible to the file for consistency. 2018-11-18 19:02:56 -06:00
Joseph Lenox
fd455d75dc Finish refactor to put PresetChooser in its own class; wiring up through Plater. 2018-11-18 19:02:56 -06:00
Joseph Lenox
eb198e9408 add text and button back to sizer. 2018-11-18 19:02:56 -06:00
Joseph Lenox
7a0d4ac990 ramifications of Settings being a pointer instead of a reference. 2018-11-18 19:02:56 -06:00
Joseph Lenox
36336840ba prepend this-> to own variables. 2018-11-18 19:02:56 -06:00
Joseph Lenox
7a048c3f70 Convert Print& to weak_ptr; Settings& to Settings*. 2018-11-18 19:02:56 -06:00
Joseph Lenox
eb69998832 Fix adding presets to master preset list. 2018-11-18 19:02:56 -06:00
Joseph Lenox
52827f0d9b Finish refactor, made settings_default a const reference. 2018-11-18 19:02:56 -06:00
Joseph Lenox
3812f13cb5 Refactor preset setting update to its own method and call during load() 2018-11-18 19:02:56 -06:00
Joseph Lenox
88b4c54fc4 Ensure that the settings store gets updated. 2018-11-18 19:02:56 -06:00
Joseph Lenox
eda5ef3639 implement behavior when changing the preset. 2018-11-18 19:02:56 -06:00
Joseph Lenox
df20d5a8de Add private methods to get the selected preset name(s). 2018-11-18 19:02:56 -06:00
Joseph Lenox
378330d747 Start to set up the internal sizer as a wxFlexGridSizer 2018-11-18 19:02:56 -06:00
Joseph Lenox
c5e9ee9a46 Fix indent of comment 2018-11-18 19:02:56 -06:00
Joseph Lenox
b46828f42d Use \ instead of @ for doxygen comment 2018-11-18 19:02:56 -06:00
Joseph Lenox
35008baa80 select_preset_by_name returns whether or not it has an effect. 2018-11-18 19:02:56 -06:00
Joseph Lenox
3ab1ce27e5 Add tests to cover preset chooser behavior. 2018-11-18 19:02:56 -06:00
Joseph Lenox
870d8742a8 Removed ConfigOptionVectors::append, manipulate values directly. 2018-11-18 19:02:56 -06:00
Joseph Lenox
aa61f8daf1 add settings store to application 2018-11-18 19:02:56 -06:00
Joseph Lenox
97d6451dfe Add reference to Preset.hpp to Settings. 2018-11-18 19:02:56 -06:00
Joseph Lenox
b83e4116b4 Continued refactor of load and properly assign selected_printer_name. 2018-11-18 19:02:56 -06:00
Joseph Lenox
c369c8916a refactor test to ensure that the test actually performs select by name on load. 2018-11-18 19:02:56 -06:00
Joseph Lenox
230754cbbd Refactor test to associate presets on cut creation. 2018-11-18 19:02:56 -06:00
Joseph Lenox
7837e41f5a Use alias for preset_store 2018-11-18 19:02:56 -06:00
Joseph Lenox
3c0e40ac5d add alias for preset_store (shorten typing) 2018-11-18 19:02:56 -06:00
Joseph Lenox
e8f98e424f refactor: allow tests to attach a preset store to a PresetChooser (instead of pulling from SLIC3RAPP) 2018-11-18 19:02:56 -06:00
Joseph Lenox
4d23ea916e Call _on_select_preset from _on_change_combobox 2018-11-18 19:02:56 -06:00
Joseph Lenox
fd1a204538 stub out _on_select_preset and prompt_unsaved_changes() 2018-11-18 19:02:56 -06:00