Commit Graph

207 Commits

Author SHA1 Message Date
Vojtech Bubnik
d70d54d4d3 UndoRedo extension::
has_undo_snapshot(timestamp) to query whether one can undo to a snapshot
with a specific timestamp. Useful for notifications, that want to Undo
a specific operation, to verify whether such operation is still valid.
2020-12-14 16:22:40 +01:00
Vojtech Bubnik
57ba953b2e PresetUpdater - exceptions reformatted, not throwing an exception
on Linux when changing file attributes, as changing file attributes
may fail when writing onto FAT file system, which does not support
some of the common Unix file attributes.
2020-12-14 11:05:12 +01:00
David Kocik
03028bb23e Improved exception throwing at copy file in preset updater 2020-12-10 19:39:47 +01:00
David Kocik
8522c06812 cleanup 2020-12-10 11:02:46 +01:00
David Kocik
3523bb421f Ongoing uploads while exiting dialog
Ongoing uploads while exiting dialog

Ongoing uploads while exiting dialog
2020-12-10 11:02:46 +01:00
enricoturri1966
0d4123192f Removed GLCanvas3D from parameters of NotificationManager methods 2020-11-30 13:45:17 +01:00
tamasmeszaros
0a932ebfe3 Enable http digest authentication for CURL 2020-11-25 13:58:03 +01:00
Lukas Matena
ab6af3ff68 Fix of #5058 (failing build with wx3.0) 2020-11-04 11:58:45 +01:00
Vojtech Bubnik
7c571c1d9d Merge of pull request Add support for RepetierServer #4384 by @docbobo
with the following refactorings:

1) Removed the "printhost_slug" config from the Printer config
   and from all the Printer config related spots.
2) "printhost_slug" renamed to "printhost_port". Slug sounds nasty.
3) Improved error reporting of RepetierHost class.
4) Refactored for the new "Physical Printers"

Following refactorings were done independently of the Repetier pull request:
1) Removed PrintHost static print config.
2) Clean-up after conversion of print host configuration
   from Printer config to Physical Printer config.
3) Fixed some issues, where the Printer config was still queried for
   host configuration. Vojtech believes that this should not happen
   after the host configuration is converted to physical printers.

Vojtech still feels that more refactoring is needed in regard to porting
the host configuration from Printer profile to the new Physical Printer
profile.
2020-10-28 09:51:05 +01:00
Vojtech Bubnik
ebdf2acd03 Follow-up to
Use https in config update URLs

	http://files.prusa3d.com/* always redirects to HTTPS so use https scheme
    directly.

The pull request broke updates to those who installed configs with
http://, not https:// prefix.
2020-10-24 16:35:34 +02:00
Vojtech Bubnik
6531061d09 Support for naming slicer own threads for debugging.
The following threads are named with this commit:
slic3r_main, slic3r_BackgroundSlicingProcess,
slic3r_tbbpool_xx_yy where xx is a one based index of the TTB thread
and yy is the platform thread ID.
2020-10-22 13:54:15 +02:00
Vojtech Bubnik
acbf25681a Wifi Duet upload: Improved some string copying. 2020-10-21 14:42:08 +02:00
Lukas Matena
d0ad098661 Fix debug build 2020-10-20 17:55:32 +02:00
YuSanka
a4962b4fe6 Fixed a build 2020-10-20 17:23:57 +02:00
Lukas Matena
197d2b968c Tiny changes in the new Duet3D dsf support code 2020-10-19 17:23:13 +02:00
Lukas Matena
daeb618812 Merge branch 'add-duet-software-framework-support' of https://github.com/Duet3D/PrusaSlicer into Duet3D-add-duet-software-framework-support 2020-10-19 11:50:31 +02:00
Vojtěch Bubník
c59db4e7fe
Merge pull request #4213 from onovy/https
Use https in config update URLs
2020-10-17 21:13:43 +02:00
Vojtech Bubnik
dd2cd62a4f WIP Review of NotificationManager: Fixed some typos, added some comments. 2020-10-14 12:57:40 +02:00
Lukas Matena
f0de7f13fc Added a missing include 2020-10-12 17:52:48 +02:00
David Kocik
4b224359ef starting prusaslicer from gcode viewer and vice versa, by menus or by stl drop on icon. Bring gcode viewer forward after start. 2020-10-12 15:26:19 +02:00
bubnikv
b71e5c2763 Maybe one day we will be able to run PrusaGCodeViewer, but for now the Apple notarization
process refuses Apps with multiple binaries and Vojtech does not know any workaround.
Just run PrusaSlicer and give it a --gcodeviewer parameter.
2020-10-01 15:11:56 +02:00
Vojtech Bubnik
54976e29bb New class ModelConfig wrapping DynamicPrintConfig and a timestamp
to help with detecting "not changed" event when taking
Undo/Redo snapshot or synchronizing with the back-end.

Converted layer height profile and supports / seam painted areas
to the same timestamp controlled structure.
2020-09-24 15:34:13 +02:00
Vojtech Bubnik
056c46d01f Undo/Redo serialization extension:
If an object indicates a valid timestamp, then the timestamp
is relied upon to not serialize the object data if the timestamp
of the same object on the undo/redo stack matches.
2020-09-23 12:18:39 +02:00
Lukas Matena
4d5d1390f0 Added a missing include for gcc 2020-09-15 16:40:57 +02:00
Vojtech Bubnik
067cde85f1 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
ad20e369fa Include PrintConfig for the definition of AuthorizationType 2020-09-11 16:51:05 +02:00
Yuri D'Elia
776a775996 Add missing forward declarations 2020-09-11 16:51:05 +02:00
Vojtech Bubnik
e010d287c5 Fixed launching of new slicer instances on Windows. 2020-09-09 11:41:23 +02:00
Vojtech Bubnik
ce06fc6cb7 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
0a4debc98c Fix of a preceding merge 2020-09-08 14:25:10 +02:00
Vojtech Bubnik
ceaa61071a Fix of the previous merge, Windows specific. 2020-09-08 14:08:03 +02:00
Vojtech Bubnik
4e4b8ff5aa Merge branch 'vb_gcodeviewer_menu' 2020-09-08 13:51:02 +02:00
Vojtech Bubnik
946f51467f WIP Standalone G-code viewer 2020-09-08 13:33:43 +02:00
test
0f64b67ffa osx fix 2020-09-08 12:39:11 +02:00
Vojtech Bubnik
0fde670fd6 osx fix 2020-09-08 11:49:02 +02:00
Vojtech Bubnik
3c51581e92 Another fix 2020-09-08 11:36:00 +02:00
Vojtech Bubnik
77ba284a59 Trying to fix spawn on OSX 2020-09-08 11:22:27 +02:00
Vojtech Bubnik
663f17a0e3 Improved logging of spawning a subprocess. 2020-09-08 09:57:17 +02:00
test
620c85f264 Fix on OSX 2020-09-07 22:00:01 +02:00
Vojtech Bubnik
ae0e576c32 Fixing Linux build 2020-09-07 17:41:16 +02:00
Vojtech Bubnik
1221c67d7f Fix for OSX 2020-09-07 17:09:27 +02:00
Vojtech Bubnik
9473ae8fe2 Fix of previous commit, added symlinks to gcodeviewer on Linux & OSX 2020-09-07 16:56:22 +02:00
bubnikv
b0bedf33c0 WIP: G-code viewer menu, refactoring of starting a background process. 2020-09-07 15:59:45 +02:00
tamasmeszaros
769ee15475 Move SLA import to libslic3r with png reading using libpng
Also fix flipped object issue
2020-08-27 23:14:42 +02:00
tamasmeszaros
2bcd36d155 PNG image read with libpng 2020-08-27 23:14:42 +02:00
tamasmeszaros
19e1d877aa Don't use sla::EncodedRaster in SLAImport, revive opencsg sandbox 2020-08-27 23:14:42 +02:00
bubnikv
17170b81b5 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
a6dc3d37f5 Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-08-06 17:02:48 +02:00
David Kocik
b3f8ae5ca7 Notifications & warning dialog
notifications
dialog with warnings produced by slicing is shown before exporting
2020-08-03 15:49:25 +02:00
YuSanka
f138978fe7 Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-07-21 09:47:29 +02:00