Commit Graph

122 Commits

Author SHA1 Message Date
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
567a105f23 Fix of OSX compilation - forward declaration of Semver 2019-12-05 13:06:02 +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
YuSanka
857c71582f Localization improvements:
* fixed "\n" at the end of phrases
 + updated list of files to localization
 + new PrusaSlicer.pot
 + Japanese localization
2019-12-04 11:14:13 +01:00
tamasmeszaros
b9454e28a4 Follow up, unify boost::thread usage. 2019-11-07 12:58:18 +01:00
Enrico Turri
644d7e2cca Added missing include 2019-11-04 14:28:18 +01:00
Stephan
6c7917aa90 * fix compile error and removed json includes 2019-11-04 12:53:48 +01:00
Stephan Reichhelm
b6eeabf75a + add FlashAir support for host upload 2019-11-04 12:53:48 +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
bubnikv
0eea5fc0ac Merge remote-tracking branch 'remotes/origin/master' into dev 2019-09-12 10:19:09 +02:00
tamasmeszaros
b1cdd65b8a Add new config values to SL1 zip file config.ini
All requested config values are written into SL1 ini file inside the zip

* TIme.hpp and Time.cpp is now part of libslic3r instead of libslic3r_gui
* Updated time manipulation function: separate timestamp_local_str and timestamp_utc_str
* timestamp_utc_str is used in header_slic3r_generated(). Gcode now contains UTC timestamps
2019-09-11 13:10:23 +02:00
Lukas Matena
080792f9ed Fixed some more warnings, moved function to get ExtrusionRole name into ExtrusionEntity.hpp
So it can be called from wherever it may be needed
2019-09-06 15:55:07 +02:00
Vojtech Kral
cf93ee09d2 Refactor a few more catch(...) instances 2019-08-27 10:37:34 +02:00
bubnikv
d023d3fe36 Fix of a missing parameter. 2019-08-23 13:44:07 +02:00
bubnikv
184134e1c2 Merge remote-tracking branch 'remotes/origin/lm_sla_gizmo_snapshots_supports' 2019-08-23 12:56:47 +02:00
bubnikv
f9e6bc033f Fixed time stamps for the configuration snapshots
(local / UTC time functions were mixed up)
2019-08-23 10:02:45 +02:00
Lukas Matena
354571dad9 Recalculate SLA supports after undo/redo in case SLA gizmo was active and had supports when the snapshot was taken 2019-08-23 01:42:59 +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
369a08d2c0 Refactor catch(...) handlers in Http, OctoPrint, PrintHost, and Serial 2019-08-19 17:04:14 +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
tamasmeszaros
a02e218ccd Merge branch 'master' into tm_clang_mingw 2019-08-16 16:37:02 +02:00
tamasmeszaros
a02a929b17 more clang warnings enabled, performance measuring
Succesfull build on mingw-w64


fix sandboxes


Mingw fixes and full parallel support tree gen.
2019-08-16 16:17:37 +02:00
Vojtech Kral
82971f923b Comment out stale implementation in Serial, fix #2150 2019-08-02 15:20:52 +02:00
Lukas Matena
b6e278cfc3 SLA gizmo now uses the new separate undo/redo stack for manual editing mode 2019-07-29 13:07:49 +02:00
bubnikv
4a3f64c4d2 New Undo / Redo stack for the gizmos. The Gizmo specific stack is
entered with Plater::enter_gizmos_stack(), and left with
Plater::enter_gizmos_stack(). Other than that, the 2nd Undo / Redo
stack is transparent to the user of the Plater.

WIP: Currently the Gizmo stack takes a snapshot of the whole scene on
Plater::enter_gizmos_stack(). While it should work, it may be cheaper
to modify the Undo/Redo stack to only take a snapshot of the gizmos
in the Gizmo mode.
2019-07-26 13:44:33 +02:00
YuSanka
ba998a20e9 Fix for 0592ae65ee 2019-07-24 12:32:38 +02:00
YuSanka
9aeb100de5 Completed setting of the item focus in ObjectList after undo/redo 2019-07-24 11:25:04 +02:00
YuSanka
a8029bf57c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-07-23 16:18:14 +02:00
YuSanka
08bda3885e Added SETTINGS_SELECTED_ON_SIDEBAR flag to undo/redo 2019-07-23 16:17:37 +02:00
Lukas Matena
393b6612fb Fixed a missing include in UndoRedo.cpp 2019-07-23 09:40:07 +02:00
bubnikv
a211156a15 Fixed compilation on clang. 2019-07-22 17:26:06 +02:00
bubnikv
10d3600a23 Undo / Redo refactoring: Moved the snapshot flags definition
to SnapshotData
2019-07-22 17:00:50 +02:00
bubnikv
53c06f5a84 Refactoring of the Undo / Redo stack interface:
The Snapshot specific data, which is fully provided from the outside
of the Undo / Redo stack is now stored as an StackData structure.
The StackData structure may be extended with small size data,
like the cursor position in the side bar.
2019-07-22 16:52:47 +02:00
bubnikv
5945c13ae6 Undo / Redo. Workaround for the Wipe tower. 2019-07-19 15:29:04 +02:00
bubnikv
1f727bca37 Memory statistics (total memory, memory usage, Undo / Redo stack size)
into the System INfo dialog.
2019-07-19 11:12:38 +02:00
bubnikv
f4fa4ff6e4 Adding a generic bitmap "flags" attrib to the Undo / Redo snapshot.
using this new "flags" attrib to store & recover the "Layers editing active"
flag and restoring the "Layers editing" tool state.
2019-07-19 10:29:06 +02:00
bubnikv
fb23d8e6fa Fix of osx builds 2019-07-18 18:19:40 +02:00
bubnikv
e103460386 Storing the active printer technology onto the Undo / Redo stack,
remembering the last selected Printer profile for the SLA and FDM
technologies separately, and activating them on Undo / Redo.

When switching the technologies, user is asked whether to discard
the modified profiles or not.
2019-07-18 17:41:47 +02:00
bubnikv
dcb1875e40 Undo / Redo memory conservation strategy: Release recoverable data
starting from the objects of lowest ObjectID.
(convex hulls are recoverable as well as the indexed triangle sets
inside the TriangleMeshes or the triangle connectivity information).

Now the top most snapshot (the temp one taken before Undo jump) will
never be released.
2019-07-18 11:51:06 +02:00
bubnikv
5e5eb8cfb2 Fix after merge 2019-07-17 16:00:09 +02:00
bubnikv
5a24b6af21 Merge remote-tracking branch 'remotes/origin/master' into vb_undo_redo2 2019-07-17 15:54:57 +02:00
bubnikv
d30229cc5f WIP: Undo / Redo memory limiting by releasing the least recently
used snapshots. Memory limit set to 10% of physical system memory.
2019-07-17 15:48:53 +02:00
Enrico Turri
96681151a9 Framework to serialize gizmos into undo/redo stack
Serialization into undo/redo of Cut gizmo

Refactoring of GLGizmosManager
2019-07-17 08:38:48 +02:00
bubnikv
7ccaa43bcc Fix of compilation on clang 2019-07-05 20:09:30 +02:00
bubnikv
445cd20919 Undo / Redo fixes 2019-07-05 19:06:19 +02:00
bubnikv
472623d350 Fixed includes on OSX 2019-07-05 10:46:42 +02:00
bubnikv
7dfc50e795 Trying to fix some Linux & OSX compilation issues. 2019-07-04 23:34:18 +02:00