6050 Commits

Author SHA1 Message Date
Joseph Lenox
18fd2b7dc2 Add default preset store (by string name) to Settings class. No save/load functionality. 2018-11-18 19:02:56 -06:00
Joseph Lenox
54d40bbc04 Implemented Preset::compatible and improved doxygen comment. 2018-11-18 19:02:56 -06:00
Joseph Lenox
8059bff31e Fix regression where what should have been the default constructor was used instead for the file load constructor. 2018-11-18 19:02:56 -06:00
Joseph Lenox
569bb43a1a Use options that are actually in the config, not ones you think might be in there. 2018-11-18 19:02:56 -06:00
Joseph Lenox
c2eec75244 Corrected expectations for preset loading test to match the file. 2018-11-18 19:02:56 -06:00
Joseph Lenox
dc3b420c09 Moved the basic preset store back to an array of vectors. 2018-11-18 19:02:56 -06:00
Joseph Lenox
49a1628dfb Add convenience constexpr functions for working with preset_t as an index. 2018-11-18 19:02:56 -06:00
Joseph Lenox
f9736b9e35 Splitting out the preset chooser to its own class from Plater for ease of testing purposes. 2018-11-18 19:02:56 -06:00
Joseph Lenox
98db954daa Compile Preset and PresetCooser (and its tests. 2018-11-18 19:02:56 -06:00
Joseph Lenox
9d641ff853 test default construction requirements for Presets. 2018-11-18 19:02:56 -06:00
Joseph Lenox
f18d590160 Defaults preset makes a new config from defaults. 2018-11-18 19:02:56 -06:00
Joseph Lenox
76be75431b Preset::config() returns a weak reference to the shared configuration. 2018-11-18 19:02:56 -06:00
Joseph Lenox
ef37a748ff Added grep method for containers (returns a new copy of the container that returns true for the lambda function). 2018-11-18 19:02:56 -06:00
Joseph Lenox
23793a6765 Finish implementing GUI::load_presets() 2018-11-18 19:02:56 -06:00
Joseph Lenox
0f76496b2e added test for preset; added constructor for default preset. 2018-11-18 19:02:56 -06:00
Joseph Lenox
d645f669bf AuiNotebook -> Notebook (mirroring change in main Slic3r) 2018-11-18 19:02:56 -06:00
Joseph Lenox
b869947f9a catch polymorph exception by reference instead of by value. 2018-11-18 19:02:56 -06:00
Joseph Lenox
cb8697f261 move wx includes into precomp guard. 2018-11-18 19:02:56 -06:00
Joseph Lenox
104089a3e3 Use std::array for the preset ini files. 2018-11-18 19:02:56 -06:00
Joseph Lenox
af791ccd97 Refactor to use wxFileName instead of boost::filesystem 2018-11-18 19:02:56 -06:00
Joseph Lenox
6e80e73a3a Implemented Preset::file_exists() 2018-11-18 19:02:56 -06:00
Joseph Lenox
2371334048 Moved external to public. 2018-11-18 19:02:56 -06:00
Joseph Lenox
292bfdcfb2 Implemented GUI::load_presets to check file existence. 2018-11-18 19:02:56 -06:00
Joseph Lenox
9812e6a81c Pass-through apply and a version of apply_only for Slic3r::Configs so that it can be used with shared_ptr versions. 2018-11-18 19:02:56 -06:00
Joseph Lenox
7553b2f19c Extend ConfigBase::apply_only to add an option to load from defaults if not found in remote config (and not crash). 2018-11-18 19:02:56 -06:00
Joseph Lenox
a9bd65a4e9 Add passthroughs for Slic3r::ConfigBase::has and diff 2018-11-18 19:02:56 -06:00
Joseph Lenox
cbc86b1d71 implement Slic3r::Config::read_ini as a passthrough to Slic3r::ConfigBase::load() 2018-11-18 19:02:56 -06:00
Joseph Lenox
844071073f Implement more of Preset class. 2018-11-18 19:02:56 -06:00
Joseph Lenox
81888af2cd Starting to make Slic3r::GUI::Preset work. 2018-11-18 19:02:56 -06:00
Joseph Lenox
ba57c5085b Use fixed tabs instead of closable tabs (and start automatically if tabs are being used from settings). Mirroring slic3r UI. 2018-11-18 19:02:56 -06:00
Joseph Lenox
2dd94ee672 Use either wxCombobox or wxChoice depending on underlying config choice. (port UI change from master)
#4462
2018-11-18 19:02:56 -06:00
Joseph Lenox
affa0d7553 Remove redundant includes, debug message. 2018-11-18 10:19:22 -06:00
Joseph Lenox
e01dd0bd42 Separate out include directories to cover each sublibrary to avoid triggering builds for (mostly static) sublibraries. 2018-11-17 14:56:05 -06:00
Joseph Lenox
950f6b35a8 limit builds on appveyor to master or cppgui 2018-11-17 11:37:20 -06:00
Joseph Lenox
3b0b3069ee
Refer to manual in README
Once the CLI changes are updated and changed, I believe it is preferable to link to an authoritative source of information (the Manual), instead of creating a duplicate that needs to be maintained separately. 

This is an application of the DRY principle (Don't Repeat Yourself).

To be merged after https://github.com/slic3r/Slic3r-Manual/pull/60 is merged.
2018-11-12 12:30:15 -06:00
Alessandro Ranellucci
1e4fb2d1b1 Warn about the need to restart Slic3r to make certain preferences effective 2018-11-10 23:00:47 +01:00
Alessandro Ranellucci
5712674940 Symlink OSX builds 2018-11-10 22:16:14 +01:00
Joseph Lenox
98f9bab8ba
Merge pull request #4580 from slic3r/osxbuild
Build on OSX with TravisCI
2018-11-10 14:49:57 -06:00
Alessandro Ranellucci
e3812db9ee More fixes to dylib relocation 2018-11-10 21:08:55 +01:00
Alessandro Ranellucci
72697ab2f8 Fix dylib relocation 2018-11-10 20:33:00 +01:00
Alessandro Ranellucci
936b83f3c7 Minor fix to codesigning 2018-11-10 20:17:40 +01:00
Joseph Lenox
26b2a1e0cd Go back to using regular Notebook instead of AuiNotebook for tabs. 2018-11-10 11:56:00 -06:00
Alessandro Ranellucci
f74b30dd5c Improve dylib relocation; disable building on 10.12; add package/osx/_tmp to .gitignore 2018-11-10 18:32:27 +01:00
Joseph Lenox
2fae745f56 Only deploy master branch with appveyor. 2018-11-10 11:16:06 -06:00
Joseph Lenox
6d858885ba Don't close preset editor tabs. 2018-11-10 10:47:51 -06:00
Joseph Lenox
59164f7bbb If tabs are used, make them fixed instead of appearing/disappearing.
Fixes #4462
2018-11-10 09:59:48 -06:00
Alessandro Ranellucci
4c965be686 Add Time::HiRes to coreperl modules 2018-11-10 16:44:29 +01:00
Joseph Lenox
703adba7e3 Associate correct events with the combobox->choice change. 2018-11-10 09:41:04 -06:00
Alessandro Ranellucci
942b6d6acd Add Thread::Semaphore to core Perl modules 2018-11-10 16:05:45 +01:00
Alessandro Ranellucci
3430f6cc0a Add Getopt::Long to core Perl modules 2018-11-10 15:15:35 +01:00