Commit Graph

181 Commits

Author SHA1 Message Date
Lukas Matena
c25cd59e7e Added a missing include for gcc 2020-09-15 16:40:57 +02:00
Vojtech Bubnik
f58ee46687 WIP Refactoring of exceptions:
1) All slicer's exceptions are now derived from Slic3r::Exception.
2) New exceptions are defined for slicing errors.
3) Exceptions are propagated to the Plater to show.
It remains to modify the slicing back-end to throw the new SlicingError
exceptions instead of std::runtime_error and to show the other exceptions
by a message dialog instead of a notification.
2020-09-14 18:03:22 +02:00
Yuri D'Elia
674cc646a0 Include PrintConfig for the definition of AuthorizationType 2020-09-11 16:51:05 +02:00
Yuri D'Elia
fc3b470ded Add missing forward declarations 2020-09-11 16:51:05 +02:00
Vojtech Bubnik
41d1c4dd26 Fixed launching of new slicer instances on Windows. 2020-09-09 11:41:23 +02:00
Vojtech Bubnik
1ee729d9ac Added networking support for SL1 Digest authorization.
Renamed login/password/authorization_type to printhost_user/printhost_password/printhost_authorization_type.
Added initialization of physical printer preset with default values.
2020-09-08 15:31:10 +02:00
Vojtech Bubnik
125218c996 Fix of a preceding merge 2020-09-08 14:25:10 +02:00
Vojtech Bubnik
9c9a215360 Fix of the previous merge, Windows specific. 2020-09-08 14:08:03 +02:00
Vojtech Bubnik
f348a2541a Merge branch 'vb_gcodeviewer_menu' 2020-09-08 13:51:02 +02:00
Vojtech Bubnik
651be5ad73 WIP Standalone G-code viewer 2020-09-08 13:33:43 +02:00
test
c79faa5e7e osx fix 2020-09-08 12:39:11 +02:00
Vojtech Bubnik
c70e2199ed osx fix 2020-09-08 11:49:02 +02:00
Vojtech Bubnik
c4c5a80a67 Another fix 2020-09-08 11:36:00 +02:00
Vojtech Bubnik
53367f7aeb Trying to fix spawn on OSX 2020-09-08 11:22:27 +02:00
Vojtech Bubnik
8e534d192d Improved logging of spawning a subprocess. 2020-09-08 09:57:17 +02:00
test
e3494aebb2 Fix on OSX 2020-09-07 22:00:01 +02:00
Vojtech Bubnik
c73cc699e9 Fixing Linux build 2020-09-07 17:41:16 +02:00
Vojtech Bubnik
642329a7fc Fix for OSX 2020-09-07 17:09:27 +02:00
Vojtech Bubnik
dd828005b4 Fix of previous commit, added symlinks to gcodeviewer on Linux & OSX 2020-09-07 16:56:22 +02:00
bubnikv
611bf4d59a WIP: G-code viewer menu, refactoring of starting a background process. 2020-09-07 15:59:45 +02:00
tamasmeszaros
8c5db5020b Move SLA import to libslic3r with png reading using libpng
Also fix flipped object issue
2020-08-27 23:14:42 +02:00
tamasmeszaros
26855a98e8 PNG image read with libpng 2020-08-27 23:14:42 +02:00
tamasmeszaros
eccab6a6d9 Don't use sla::EncodedRaster in SLAImport, revive opencsg sandbox 2020-08-27 23:14:42 +02:00
bubnikv
f67bb789c0 Clean-up of Shiny profiler integration, so that the intrusiver profiling
can be controlled per module.
2020-08-27 12:14:49 +02:00
YuSanka
e7f21d1e0e Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-08-06 17:02:48 +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
03e7a20e87 Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-07-21 09:47:29 +02:00
enricoturri1966
d1dba4c72c #4492 - Fixed application loosing focus when importing models 2020-07-10 10:20:57 +02:00
YuSanka
e54c3a74e5 Fixed includes 2020-06-24 09:20:04 +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
Lukas Matena
4fa702c570 Slight include cleanup 2020-05-26 13:45:36 +02:00
bubnikv
ccbfab56b4 ASCII folding applied over the matched string 2020-05-03 15:45:47 +02:00
Lukas Matena
2b86793943 Added missing namespace qualification for Slic3r::GUI::format in Http.cpp 2020-04-30 08:37:48 +02:00
bubnikv
5d1356203f Localization fixes. 2020-04-29 14:42:43 +02:00
tamasmeszaros
774aa1bab3 Merge branch 'tm_sl1_import_2' 2020-04-24 08:27:49 +02:00
tamasmeszaros
f930587f43 SLA archive import with miniz, marching square bugfixes
Fix compilation on Windows


Fix array subscript out of range error in MarchingSquares


Fix normals of mesh constructed from slices


Improve performance of mesh construction from slices
2020-04-23 19:12:07 +02:00
tamasmeszaros
4e4efeef31 Initial version of sl1 import with sla::Raster refactor. 2020-04-23 19:05:32 +02:00
tamasmeszaros
34008b5467 Add question box on PrusaSlicer start to accept detected CA store..
Fix compile
2020-04-22 17:14:09 +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
tamasmeszaros
d67b5abcae Merge branch 'tm_cert_store' 2020-03-25 11:07:06 +01:00
tamasmeszaros
b573013761 Search for openssl cert store on app init, if the store is not present.
fixes  #3851
2020-03-25 09:41:29 +01:00
Lukas Matena
ac501bdf8b Merge branch 'master' into dev 2020-03-24 21:51:05 +01:00
bubnikv
43c31730b6 Fix of Crash when trying to set up non-existent flashair (#3899)
fixed a typo in formatting text, throwing an exception.
2020-03-24 10:04:41 +01:00
bubnikv
a099e2a0f2 Fixed formatting error in preset update from the net. 2020-03-12 09:42:25 +01:00
Lukas Matena
18fd7fa45f Fixing build against wxWidgets 3.0
The wxString saga continues. wxWidgets 3.0 don't have the wxString::FromUTF8(const std::string&) overload, we must use the GUI::from_u8 helper
Also wxWidgets 3.0 don't allow to disable wxString->const char* conversion, so calling show_info(wxWindow*, wxString, const char*) was ambiguous
Several includes moved around
2020-03-04 10:34:59 +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