Commit Graph

9271 Commits

Author SHA1 Message Date
93e367ea5f Fix of saving the 3DConnexion status on OSX.
Fixes 2.2.0 RC2 - 3Dconnexion settings not saved / Zoom digital (#3791)
2020-03-09 10:36:55 +01:00
72006a01d8 Improved error reporting and error handling when loading
vendor config bundles into installation wizard.
2020-03-07 16:31:14 +01:00
f9f961d6ad Fixed localization of "Save preset as" dialog message. 2020-03-07 14:21:05 +01:00
3105b131d6 Fixed crash on switching the application language.
This crash was caused by the RemovableDriveManager and 3DConnexion
detection services not being stopped correctly.
The fix executes all the tasks of the MainFrame at the language switch,
that are normally performed on application shut down.
2020-03-07 12:24:53 +01:00
375d93310d Polished the new "detach preset from the system preset" messages. 2020-03-07 10:26:40 +01:00
a58a3d878c Fixed crash on removable device plug in event due to recent
RemovableDriveManager refactoring.
2020-03-07 10:17:58 +01:00
a6e8fd2fb1 Fixed update of UI values, related on parent preset, when preset is detached from system 2020-03-06 19:15:37 +01:00
872e629df5 Merge branch 'ys_detach_btn' 2020-03-06 17:41:43 +01:00
731dfdd2ff WIP Detaching of system profiles and user profiles derived from system profiles. 2020-03-06 17:41:00 +01:00
332ab1f728 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-03-06 17:39:36 +01:00
572940c71d Localization: "\t" symbols are deleted from community translations (ko, nl, pt_br, tr, zc_CN(TW)),
fixed some phrases
2020-03-06 17:34:06 +01:00
1ed94fe8f9 Copyright year incremented (AboutDialog, manifests) 2020-03-06 16:06:21 +01:00
69adcf5005 Fixed encoding in error messages sent from the backend 2020-03-06 16:06:21 +01:00
4ab8d47f78 keyboard and file menu shortcuts for save to sd card and eject 2020-03-06 15:35:47 +01:00
5d616c7304 Link libcurl and wxWidgets to libslic3r_gui
Also enhance and remove duplicate CURL search in cmake
2020-03-06 15:16:46 +01:00
c0f0be9ab8 Fixed uninitialized "Connected" flag of the Mouse3DController
after refactoring.
2020-03-06 15:12:39 +01:00
f2fce0f262 Refactoring of RemovableDriveManager:
1) On Windows and Linux, the device enumeration now runs at a background
   thread, while it ran on the UI thread on idle, which may have been
   blocking on some rare Windows setups, see GH #3515 #3733 #3746 #3766
2) On OSX, the device enumeration now relies on OS callback, no
   polling is required.
3) Refactored for cleaner interface.
2020-03-06 15:10:58 +01:00
f7b08ca8a9 Refactoring of RemovableDriveManager
1) On Windows and Linux, polling of removable drives is done at a background
   thread, not at a UI thread.
2) On OSX, there is no polling, but a OS notification callback.
3) Refactored for clarity of the RemovableDriveManager interface.
2020-03-06 14:49:21 +01:00
408f041076 Fixed uninitialized "Connected" flag of the Mouse3DController
after refactoring.
2020-03-06 14:44:06 +01:00
15559af285 Merge branch 'master' into ys_detach_btn 2020-03-06 14:40:28 +01:00
306de82493 Fixed :
* the editing of extruder color from PresetComboBox,
when incompatible filament preset is selected and red flag is shown.

*OSX specific bug : empty icons for PresetComboBox had non-scaled width
2020-03-06 14:22:14 +01:00
4c67dc3e01 Fix of #3765 - relaxed empty layer detection 2020-03-05 15:27:00 +01:00
b6402671c4 Fix of #3769 - wipe into infill 2020-03-05 15:26:52 +01:00
378db9fbda Reduced ram used by GCodeTimeEstimator by removing unused data from GCodeTimeEstimator::Block 2020-03-05 14:58:03 +01:00
48006e50d4 Fix of #3775 - wrong background color in ErrorDialog on macOS Sierra 2020-03-05 13:21:26 +01:00
fd88644755 Reduced ram used by GCodeTimeEstimator by removing unused redundant data from GCodeTimeEstimator::Block::Trapezoid 2020-03-05 12:16:58 +01:00
b849a2e73c Added a missing include 2020-03-05 12:00:23 +01:00
4500fe7d3d Fixed conflicts after merge with master 2020-03-05 10:41:11 +01:00
8c731efd53 Removed temporary debug output and clean up 2020-03-05 10:14:12 +01:00
c8ebadd1ac Merge remote-tracking branch 'remotes/origin/vb_3dconnexion_refactoring' 2020-03-05 09:56:06 +01:00
6f597f246a Merge pull request #3778 from sckunkle/master
Fix double space message.
2020-03-05 09:41:43 +01:00
a8f9bd0781 Fixed 2 bugs :
1. "Revert" buttons on the bar don't work for a "Compatible printers" and a "Compatible prints profiles".
   And cause a crash if they are pressed in Print(SLA) Settings.

2. A label of a "Compatible printers" option is always black in Filament(Materials) Settings Tab
2020-03-05 08:16:31 +01:00
7b4830a827 Localization:
- Deleted redundant whitespaces before semicolons.
- All "\t" extracted from the phrases (The PhraseApp used to the translations "doesn't see" it, and as a result all translations missed them)
2020-03-05 07:49:05 +01:00
745396dc49 Fix double space message. 2020-03-04 13:33:25 -06:00
073d2e19cb Attempt to fix crash on MAC when closing using Command+Q 2020-03-04 15:19:48 +01:00
467315f25c Added temporary debug output to investigate crash on MAC when closing using Command+Q 2020-03-04 14:19:15 +01:00
40fbb770ee Implemented "Detach preset from system" button 2020-03-04 13:47:35 +01:00
612b82ae56 Reduced ram used by GCodeAnalyzer by replacing doubles with floats into GCodeAnalyzer::GCodeMove 2020-03-04 13:21:03 +01:00
6512c7bb99 Fixed some compilation warnings. 2020-03-04 13:06:21 +01:00
c8ea454d07 WIP: Fixed some compilation issues on OSX, fixed some "override" vs. "virtual"
warnings.
2020-03-04 12:48:04 +01:00
30c432c561 WIP 3Dconnexion refactoring: Fixing compilation on OSX 2020-03-04 12:18:59 +01:00
289d8a8a1c Disabled the 3DConnexion mouse scroll wheel spurious events filtering
on other platforms than Windows.
2020-03-04 11:55:47 +01:00
248dc04892 Reworked the 3DConnexion interfacing code to run the device
enumeration / connect / disconnect and read out at the background
thread only.
2020-03-04 11:36:36 +01:00
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
7d65841d87 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_canvas_manager 2020-03-04 09:39:00 +01:00
bffd07baa6 Fixed some more warnings 2020-03-03 15:53:26 +01:00
bcf0a6c5c9 Removed SLA unused code
Mostly the dead-ends that were tried when hollowing was being implemented
2020-03-03 15:53:26 +01:00
35b59a3e13 Include cleanup in Plater, GLCanvas3D and GLGizmosManager 2020-03-03 15:53:26 +01:00
0e734239ba Include cleanup in several files
src/slic3r/Config/Snapshot.cpp
src/slic3r/Config/Snapshot.hpp
src/slic3r/Config/Version.cpp
src/slic3r/Config/Version.hpp
src/slic3r/GUI/2DBed.cpp
src/slic3r/GUI/3DBed.cpp
src/slic3r/GUI/3DScene.cpp
src/slic3r/GUI/3DScene.hpp
src/slic3r/GUI/AboutDialog.cpp
src/slic3r/GUI/AboutDialog.hpp
src/slic3r/GUI/AppConfig.cpp
src/slic3r/GUI/BackgroundSlicingProcess.cpp
src/slic3r/GUI/BackgroundSlicingProcess.hpp
2020-03-03 15:47:02 +01:00
f26de2e1ac Fixed several warnings
The biggest difference is changing PresetCollection::m_idx_selected from int to size_t, which fixed many warnings at once.
2020-03-03 15:47:02 +01:00