Commit Graph

243 Commits

Author SHA1 Message Date
enricoturri1966
78a0893d6a Fixed conflicts after merge with master 2020-03-25 14:41:47 +01:00
enricoturri1966
c8bffb7f2a Refactoring of toolbars' tooltip generation 2020-03-24 12:26:30 +01:00
bubnikv
4cd1243a79 Windows specific refactoring of Mouse3DController and RemovableDriveManager.
PrusaSlicer newly registers by Windows operating system for HID USB
plug / unplug notifications and for Volume attach / detach notifications,
and the background threads of the two respective services are waken up
on these Windows notifications.
The RemovableDriveManager also wakes up every 30 seconds to cope with
the drives ejected from Windows Explorer or from another application,
for example Cura, for which Windows OS does not send out notifications.
2020-03-13 14:19:14 +01:00
Enrico Turri
9a7d6507b9 Fixed conflict after merge with master 2020-03-11 13:16:15 +01:00
Enrico Turri
5ad274fd62 Fix of crash and/or assert when changing language 2020-03-11 12:19:52 +01:00
Enrico Turri
55306185b7 Fixed conflicts after merge with master 2020-03-09 16:03:15 +01:00
bubnikv
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
bubnikv
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
Enrico Turri
8c731efd53 Removed temporary debug output and clean up 2020-03-05 10:14:12 +01:00
Enrico Turri
467315f25c Added temporary debug output to investigate crash on MAC when closing using Command+Q 2020-03-04 14:19:15 +01:00
Enrico Turri
2a38f85772 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_canvas_manager 2020-03-03 11:10:59 +01:00
Lukas Matena
a29177d355 Fixing wxString::Format encoding mismatches (part 2) 2020-03-03 10:54:17 +01:00
Enrico Turri
d512f1814a Removed temporary debug output 2020-03-03 08:34:03 +01:00
Enrico Turri
5572e05356 Added temporary debug output 2020-03-02 15:22:41 +01:00
Enrico Turri
5407256c73 Fixed conflicts after merge with master 2020-03-02 11:35:03 +01:00
Enrico Turri
f61f6a98a5 GLCanvas3DManager moved from being a static member of _3DScene to be a normal member of GUI_App 2020-03-02 10:58:46 +01:00
bubnikv
e103034870 Updated printer profiles, bumped up version to 2.2.0-rc. 2020-02-29 10:53:18 +01:00
Lukas Matena
cbe780671a Fix of dark mode detection on macOS 10.12 and 10.13 2020-02-28 15:28:04 +01:00
bubnikv
ba18e18082 Various changes in handling of profile compatiblilities
and the "show incompatible profiles" option.

It was not able to select the incompatible Print profile, which is
possible now.
(see Cannot select incompatible printer profile #3715)

When the Printer profile derived from the Prusa3D system profile was
active or a system Prusa3D profile was active, and when the Print profile
with the removed "inherits" field was active (or any other profile
derived from the "-- default --" profile was active), then the filament
selector offered just the profiles with the removed "inherits" field
(or any other profile derived from the "-- default--") profile.
This behavior has been now changed, so that in this scenario the Filament selector
will offer the Prusa3D vendor profiles compatible with the active Print
and Printer profile as well as the user profiles.

Slicer was also changed to keep an incompatible preset selected
at its respective tab if its respective "Red flag" is enabled.
For example, if an incompatible Print preset is selected and a Printer
profile is switched to another one which is not compatible with the active
Print preset that was red already, the active Print preset is
not switched if the Print "Red flag" is active. However, if the Print profile
was compatible before the Printer profile is switched and now the Print
profile becomes incompatible, another compatible Print profile is selected.

A likely bug in wxWidgets was worked around when switching a Print preset
on Plater, if the last item in the Print preset was active and incompatible,
and another Print preset was selected by the user. On Windows, an CBN_EDITCHANGE
is sent just after combo box selection change event and the CBN_EDITCHANGE
holds an index of the combo box item, which will be removed by the 1st event,
therefore leading to an assert in wxWidgets on CBN_EDITCHANGE. The workaround
is to disable processing of CBN_EDITCHANGE on Windows for the Plater
preset selection combo boxes.
2020-02-27 11:44:12 +01:00
Lukas Matena
7df9c375e1 Several translation-related fixes
ConfigWizard name was missing translation macro in several places
Few typos corrected
Some string conversions fixed
Two strings were not marked for translation
2020-02-24 11:00:48 +01:00
bubnikv
b2055a63b5 Bumped up version to 2.2.0-beta
Changed the profile directory from PrusaSlicer-alpha to PrusaSlicer-beta
2020-02-21 18:44:53 +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
YuSanka
fe18940d37 Localization: New POT 2020-02-19 13:21:31 +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
6bf2a2a339 Forcing a print bed update after config or config bundle is loaded.
The solution is hackish, but a major refactoring would be needed
to avoid multiple refreshes of the print bed, and to avoid
expensive checks at Plater::on_config_change() every time
a config value changes at a parameter tab.
2020-01-24 15:16:36 +01:00
David Kocik
51ee282b83 Merge branch 'master' into dk_remote_devices 2019-12-19 08:58:11 +01:00
YuSanka
6bb0d1f72a Implemented function to get an icon name considering to OS color mode
For a Dark mode we start to looking of icons in folder "white"

Added missed "white" icons
2019-12-18 15:54:01 +01:00
David Kocik
9861e38dea eject button after export 2019-12-13 13:51:46 +01:00
David Kocik
b238399d9f linux eject 2019-12-13 13:51:46 +01:00
David Kocik
727a0a0179 eject button functionality 2019-12-13 13:51:46 +01:00
David Kocik
c63351a19e eject button functionality 2019-12-13 13:51:46 +01:00
David Kocik
81b8646a6d init call 2019-12-13 13:51:45 +01:00
David Kocik
5b29d727a9 windows registration for device notif(thru hidden app) - windows doesnt need update now 2019-12-13 13:51:45 +01:00
David Kocik
e10ae44932 last save path 2019-12-13 13:51:45 +01:00
David Kocik
f00a0f98c7 last path functions 2019-12-13 13:51:45 +01:00
David Kocik
1850952dfb linux eject 2019-12-13 13:51:45 +01:00
David Kocik
9c3a84c0f7 refactoring 2019-12-13 13:51:45 +01:00
David Kocik
994b2d16eb rdm update every 2 seconds 2019-12-13 13:51:45 +01:00
YuSanka
2934b79d06 Fixed crash on ConfigWizard opening after a language change
+ updated Creality.ini and PrusaResearch.ini
2019-12-09 13:02:48 +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
bubnikv
484e3f9df9 Profiles for the alpha are stored into the PrusaSlicer-alpha directory
to not mix with the current release.
2019-12-04 14:02:49 +01:00
Enrico Turri
15d49bbe9b Fixes into ENABLE_THUMBNAIL_GENERATOR_DEBUG 2019-12-03 12:44:20 +01:00
Enrico Turri
837b9b7ccc ENABLE_THUMBNAIL_GENERATOR -> ENABLE_THUMBNAIL_GENERATOR_PNG_TO_GCODE set as default 2019-11-25 10:30:31 +01:00
Vojtech Kral
73184864bb Fix: Rename DPI changed event to not clash with impl in wxwidgets 2019-11-11 17:10:29 +01:00
Enrico Turri
78112ac665 #3175 - Fixed compatibility with boost v 1.71 2019-11-11 11:21:08 +01:00
Enrico Turri
3141fe5e73 ENABLE_THUMBNAIL_GENERATOR -> Added ENABLE_THUMBNAIL_GENERATOR_DEBUG (disabled) 2019-11-07 09:01:28 +01:00
Enrico Turri
b8d4de6578 ENABLE_THUMBNAIL_GENERATOR -> Export thumbnails to gcode as png data in lines with max 80 characters length 2019-11-04 15:38:15 +01:00
Enrico Turri
9d5fe8eb36 ENABLE_THUMBNAIL_GENERATOR -> Export thumbnails to gcode: max length of gcode lines set to 80 characters 2019-11-04 14:00:26 +01:00
Enrico Turri
2c63b66c1d ENABLE_THUMBNAIL_GENERATOR -> Added missing include 2019-10-25 14:32:31 +02:00
Enrico Turri
6a1d44ff29 ENABLE_THUMBNAIL_GENERATOR -> Thumbnail data saved into gcode using base64 encoding + debug code to extract thumbnails from gcode 2019-10-25 12:18:10 +02:00