Commit Graph

40 Commits

Author SHA1 Message Date
YuSanka
5dff085b4f Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-06 08:51:13 +02:00
David Kocik
0c38f234d0 Notifications & warning dialog
notifications
dialog with warnings produced by slicing is shown before exporting
2020-08-03 15:49:25 +02:00
YuSanka
a1eeb569db Preset and PresetBundle are moved to the _libslic3r_ folder 2020-06-16 17:03:06 +02:00
Lukas Matena
edcaab8b0a Includes cleanup:
GUI_App.hpp      (should not include) MainFrame.hpp
MainFrame.hpp    Plater.hpp
ModelArrange.hpp Model.hpp
Slicing.hpp      PrintConfig.hpp
FillBase.hpp     PrintConfig.hpp
GUI_App.hpp      PrintConfig.hpp
OptionsGroup.hpp GUI_App.hpp
2020-05-27 14:01:47 +02:00
bubnikv
c261b6eda6 Yet another missing include that windows compiler did not mind. 2020-04-01 10:42:10 +02:00
bubnikv
6da3c1646e Slic3r::format(), Slic3r::GUI::format_wxstr():
wrappers around boost::format using C++17 variadic templates,
replacing the ugly and verbose
	(boost::format("template") % arg1 % arg2).str()
syntax.
The wrappers also implictely convert input parameters including the template
from wxString to UTF8.

The new format wrapper has been applied at multiple places as a start,
also some double macros _(L()) with new single macro _L().
2020-04-01 09:49:04 +02:00
Lukas Matena
ac501bdf8b Merge branch 'master' into dev 2020-03-24 21:51:05 +01:00
bubnikv
a099e2a0f2 Fixed formatting error in preset update from the net. 2020-03-12 09:42:25 +01:00
Lukas Matena
bffd07baa6 Fixed some more warnings 2020-03-03 15:53:26 +01:00
Lukas Matena
4949150313 Fixing wxString::Format encoding mismatches (part 3) 2020-03-03 10:54:17 +01:00
bubnikv
c5cb85c20a GUI::show_error() is now generalized for std::string and const char*
Fixed return type of std::string translate_utf8() with context
(incorrectly returned wxString, should return std::string).
Fixed double translation of BackgroundSlicingProcess::validate() in Plater.
2020-02-21 13:38:06 +01:00
David Kocik
14e51d167e updating preset bundle bug fix: if forced update - does not check snapshots 2020-02-05 12:44:59 +01:00
bubnikv
61301467fe Replaced unsafe use of dx_url.substr(0, 54) with boost::starts_with 2020-02-04 16:10:39 +01:00
David Kocik
7b45da5811 configuration updater
forced update dialog
check for updates button
check address when downloading bundles
2020-02-04 15:27:11 +01:00
bubnikv
1b3ddb2098 Fixed update logic to support newer index downloaded from the internet
than the index stored in the resources.
2019-12-10 17:49:09 +01:00
bubnikv
315b283cb8 Fix of an application update situation, where the profiles were
not updated correctly if the index installed in vendor directory
was the same as the one provided with the applicaton installation.
2019-12-05 11:05:18 +01:00
Vojtech Kral
340263933a WIP: ConfigWizard: 3rd party bundle installation roughly done 2019-09-17 13:20:06 +02:00
Vojtech Kral
4ff970ac6e Move ConfigWizard instance in GUI_App, lazy-initialized,
add filament/material installation item in Sidebar combo boxes
2019-09-17 13:20:06 +02:00
Vojtech Kral
638f565c80 PresetUpdater: Fix: Sanitize downloadedsemver, fix #2927
Use HTTPS for the slicer app version url
2019-09-16 18:02:14 +02:00
Vojtech Kral
079270f2ff ConfigWizard: Fix: Snapshot not being taken on user-requested Wizard run
If the user launched Wizard from the menu and checked the reset
checkbox, snapshot was not taken in case no new bundles were
to be installed from resources (ie. most of the time).

Snapshot is now taken as appropriate.
2019-08-20 12:00:23 +02:00
Vojtech Kral
3e204ecb80 Refactor: Move Semver from slice3r to libslic3r
A static symbol Slic3r::SEMVER is introduced, which holds
the running slicer's Semver object.

This is mainly done to make testing updater behaviour
_much_ easier. Additionaly to cleanup some questionable code
(Semver was being parsed multiple times / in multiple places
in the frontend.)
2019-08-19 17:04:14 +02:00
Vojtech Kral
4a9493f765 PresetUpdater: Fix index installation having broken incompatibility check
This fixes a problem where old slicer having found newer incompatible bundle
would not report an incompatibility.

The installed index check was performed too early before
bundle compatibility check. This fix moves the installed index check
to the point where a bundle would've been update (as it should be).
2019-08-19 17:04:14 +02:00
Vojtech Kral
2da36ef086 PresetUpdater: Fix: Index installed too early 2019-07-01 11:35:02 +02:00
Vojtech Kral
b233222d5a Updating: Index installation
Prevents cancelled updates from popping up repeatedly
on each application startup
2019-06-20 14:26:29 +02:00
Vojtech Kral
f10a7f6daa Fix double wizard on incompatible bundle, for real this time 2019-05-17 19:09:06 +02:00
Vojtech Kral
4bccb1a551 Updating: Add localized links 2019-05-14 13:30:55 +02:00
bubnikv
31edb6082e Harmonized the application naming. 2019-04-15 16:14:19 +02:00
Vojtech Kral
f8d8473571 PresetUpdater: Offer update even if bundle not found in index 2019-02-22 14:35:07 +01:00
Vojtech Kral
ebf0aa2866 Fix build: Missing include 2019-02-18 13:54:20 +01:00
Vojtech Kral
68427ced36 Fix build: Missing include 2019-02-18 12:33:32 +01:00
Vojtech Kral
7c18b063f5 PresetUpdater: Fix a race condition 2019-02-15 15:38:26 +01:00
Vojtech Kral
9763bb2ec3 PresetUpdater: Don't fail as hard if version not found in index #1821
GUI_App: Add OnExceptionInMainLoop handler
2019-02-15 15:38:13 +01:00
bubnikv
bde521db72 On Windows, system and hidden files are now ignored in all file
enumeration loops.
Should fix "desktop.ini still displaying error" #1761
2019-02-03 15:30:37 +01:00
bubnikv
818e0cde7f Fixed many errors in background processing synchronization and update.
Fixed couple of compiler warnings.
2018-12-22 10:02:42 +01:00
bubnikv
59537abf96 Updated SLA profiles.
Fixed the update downloader to ignore downloaded preset index if it is
older than the currently active one.
2018-12-20 17:44:24 +01:00
bubnikv
91ac484405 Removed some obsolete Perl bindings.
Removed libslic3r from the default include paths for all modules but
libslic3r. Now headers from libslic3r need to be included with an
explicit path (libslic3r/libslic3r.h etc)
Split the localization macros into I18N.{cpp,h}
2018-11-26 14:41:58 +01:00
YuSanka
35742e547c Fixed preset updating 2018-11-19 14:05:29 +01:00
YuSanka
582a942c47 Moved functions and variables (for fonts and labels color) to GUI_App
+ corrected Sidebar layouts
+ deleted get_preset_bundle
+ actions with tabs_list moved to GUI_App
2018-10-01 16:31:36 +02:00
YuSanka
5e78c95b54 Menu_bar and preset_tabs are in main window now 2018-09-21 01:35:25 +02:00
bubnikv
1260b8deb3 WIP: Moved sources int src/, separated most of the source code from Perl.
The XS was left only for the unit / integration tests, and it links
libslic3r only. No wxWidgets are allowed to be used from Perl starting
from now.
2018-09-19 11:02:24 +02:00