Commit graph

555 commits

Author SHA1 Message Date
ole00
7685e70743 SLA: added pwmx format exporter
Pwmx format is used by Anycubic Photon Mono X printers.
File format structure and rle encoding implemented according to:
https://github.com/sn4k3/UVtools
https://github.com/ole00/pwmx_info
2022-02-12 12:55:22 +00:00
Lukas Matena
1a2120a43e Changed config folder to -alpha, version increased to 2.5.0-alpha0 2022-02-08 10:06:46 +01:00
Lukas Matena
cb5ff10a88 Merge branch 'master' into dev 2022-02-01 14:17:34 +01:00
Vojtech Bubnik
9dae482e12 Bumped up version to 2.4.1-beta1 2022-02-01 10:03:22 +01:00
enricoturri1966
8d94841fa3 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into dev 2022-01-29 09:17:30 +01:00
Oleksandra Yushchenko
ddb14fa7f9
MSW specific: Highlighted text for the default buttons in dialog. Related to https://github.com/prusa3d/PrusaSlicer/issues/7564 () 2022-01-28 17:16:04 +01:00
Vojtech Bubnik
a103336c8c Fix of Opening a previous version of PrusaSlicer damages configuration
PrusaSlicer writes its version into "version" field of PrusaSlicer.ini
on start, unfortunately it used to do it too early, before the
"configuration invalid, reconfigure" dialog was shown to the user.
If user refused, the version was still written into PrusaSlicer.ini,
which lead to a newer slicer thinking the configuration is outdated.
2022-01-28 11:31:22 +01:00
YuSanka
7111da2dbf Merge remote-tracking branch 'origin/master' into dev 2022-01-24 08:37:51 +01:00
YuSanka
fa9a0beec7 Follow-up to 1dffc40f - Save app_config every time a "restore_win_position" is changed
Fix for cases witch are described in https://github.com/prusa3d/PrusaSlicer/issues/2939#issuecomment-1017730712
2022-01-21 11:17:14 +01:00
enricoturri1966
c74ae1c513 Follow-up of dc75a59115 - Use a unique command and method to export to STL and OBJ - Added export to OBJ also for Export plater to STL commands 2022-01-19 14:23:03 +01:00
enricoturri1966
a9bd58639c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into dev 2022-01-17 08:05:41 +01:00
Lukas Matena
200cbd165f Changed texts in the new 'crashed when restoring position' dialog 2022-01-14 17:26:19 +01:00
Lukas Matena
c28615cfcb Bumped up version number to 2.4.1-alpha0 2022-01-14 12:09:52 +01:00
enricoturri1966
6201dad245 Tech ENABLE_COLOR_CLASSES set as default 2022-01-14 08:19:00 +01:00
enricoturri1966
a2dc1cd446 Fixed conflicts after merge with dev branch 2022-01-12 15:54:48 +01:00
YuSanka
ced6d26917 Merge remote-tracking branch 'origin/master' into dev 2022-01-12 15:05:31 +01:00
YuSanka
5a2925466d Follow-up to 1dffc40f32 - Fixed a message text.
+Improved context of the MessageDialogs. We can use hyperlinks now.
2022-01-12 11:19:59 +01:00
YuSanka
1dffc40f32 Follow-up to 010fbded1a - Save app_config before a place of potential crash + fixed non-MSW build 2022-01-11 14:22:40 +01:00
YuSanka
010fbded1a Added "Restore window position on start" option to the "Preferences > General"
+ added crash detection for the cases, when PrusaSlicer is started from secondary display

Possible fix for part of:
  - PrusaSlic3r freezing at startup (Win 10)
and
  - PrusaSlicer won't launch on secondary monitor. Nahimic?
2022-01-11 13:53:25 +01:00
YuSanka
2b66a81ee1 Preferences: Changed tooltip for the "Suppress to open hyperlink in browser"
+ Show "PrusaSlicer: Don't ask me again" dialog when "Remember my choice" is checked in "PrusaSlicer: Open hyperlink" dialog
+ Ignore suppress of hyperlink for menu items
+ Code refactoring for OptionsGroup::launch_browser() => use common wxGetApp().open_browser_with_warning_dialog().
2022-01-06 13:55:40 +01:00
YuSanka
b5c45762c9 Follow up to 229df98386 - fixed non-MSW builds 2022-01-04 17:16:16 +01:00
YuSanka
229df98386 MSW specific: Highlight a focused buttons
Fix for  - Button in focus is not highlighted anymore in PS 2.4 (accessibility issue)
2022-01-04 16:39:10 +01:00
enricoturri1966
34a640a4a9 Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into et_color_class 2022-01-03 09:33:05 +01:00
YuSanka
86657523e3 MSW specific: Highlight a focused buttons
Fix for  - Button in focus is not highlighted anymore in PS 2.4 (accessibility issue)
2021-12-23 19:09:27 +01:00
YuSanka
f2aeca3a71 Options from the "Preferences" dialog added to the Search
Some code refactoring:
* use GUI_App::open_preferences() on all places where it's needed
* Preferences Dialog is an attribute of a ManeFrame class and created just ones during the MainFrame creation now.
* Created class Highlighter. Use it in Preferences and Tab
2021-12-22 14:38:23 +01:00
enricoturri1966
d1822f3ca2 Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into et_color_class 2021-12-22 10:50:59 +01:00
enricoturri1966
cd4094743e Tech ENABLE_COLOR_CLASSES - 1st installment -> Introduction of classes ColorRGB and ColorRGBA to unify color data definition and manipulation 2021-12-22 10:45:35 +01:00
YuSanka
f83ba22a12 Fix for switch Dark/Light mode when preset settings are in separate dialog.
Set new color for title bar, tab bar and all scroll bars for settings dialog
2021-12-16 15:06:48 +01:00
Vojtech Bubnik
2dc461719f Importing newer config when starting the application:
Cache directory is newly deleted before it is imported from the newer
config location.

Linux specific: When asking for certificate directory, perform import
of configs first.
2021-12-15 16:09:22 +01:00
Vojtech Bubnik
b2bcf17dfa Fixed previous commit 2021-12-15 14:52:01 +01:00
Vojtech Bubnik
5ba9d59307 If taking configuration snapshot before importing newer configuration fails,
offer to stop importing configuration.
2021-12-15 14:27:25 +01:00
Vojtech Bubnik
56d50d7707 Delete existing vendors before importing newer vendors, as the existing
vendors may not be referenced by newer PrusaSlicer.ini imported.
2021-12-15 13:43:37 +01:00
YuSanka
ab245a97a4 Fix for - Dark-mode selection highlight 2021-12-15 13:24:40 +01:00
Vojtech Bubnik
12756e7979 Fixing previous commit on AppConfig and loading newer configuration. 2021-12-15 11:22:44 +01:00
Vojtech Bubnik
87880022fc Some improvements to copying of newer configuration to current folder:
1) Less context is kept in GUI_App.
2) Copying is not being done if loading current PrusaSlicer.ini fails
3) AppConfig (PrusaSlicer.ini) is saved first after the newer configuration is installed.
2021-12-15 11:09:34 +01:00
Vojtech Bubnik
b95a83aec1 Bugfix: Loading of AppConfig from an alternate locations. 2021-12-15 10:30:22 +01:00
YuSanka
14cb4a1314 Initialize fonts before first UI action 2021-12-15 09:50:19 +01:00
Vojtech Bubnik
b3d42df0f7 Bumped up version to release candidate,
changed the configuration directory from beta to final.
2021-12-14 14:49:32 +01:00
YuSanka
e2ac37e717 Follow-up 6d2efe29a4 - Call wxInitAllImageHandlers() before any UI actions to avoid "No image handler..." warnings.
+ Deleted unnecessary app_config->save() call
2021-12-14 14:56:38 +01:00
YuSanka
6d2efe29a4 Localization: Updated dictionaries for CS, DE, ES, FR, IT, NL, PL
+ GUI_App.cpp: Set language, color mode and initialization of image handlers before a call of check_older_app_config()
2021-12-14 14:13:44 +01:00
Vojtech Bubnik
021457d40f Fixed minor typo in wording. 2021-12-12 14:44:12 +01:00
Vojtech Bubnik
45038f2ccc Fix of PS 2.4.0 Beta 4: No image handler for type 15 defined.
On Linux, image handlers need to be initialized before showing
any PNG.
2021-12-11 16:59:21 +01:00
YuSanka
080e80a4d6 Localization: Next improvements: CS, IT, ES, DE, ES, FR 2021-12-10 17:28:36 +01:00
YuSanka
102ef9a024 Follow-up ea796aaa68
* Fixed builds for non-MSW platforms (We can't change the signature of the RichMessageDialog. It have to be completely the same as for wxRichMessageDialog)
* Texts of the message dialog are changed. Use InfoDialog instead of a RichMessageDialog.
* MsgDialog: Added SetButtonLabel() function
* InfoDialog: For constructor added is_marked_message and style parameter to allow to use marked text in the Dialog and set different style
2021-12-10 15:35:04 +01:00
David Kocik
ea796aaa68 Changed message about copying another configuration folder.
Added headline to RitchTextDialog.
2021-12-09 18:46:36 +01:00
David Kocik
091585076c Followup on 6490456ec4
Rename variable
2021-12-06 17:24:54 +01:00
David Kocik
6490456ec4 Do not perform config check if conf folder is redefined 2021-12-06 17:15:22 +01:00
Vojtech Bubnik
50da39d30b Windows specific: Only start the 3rd party updater application
if enabled in PrusaSlicer preferences.
2021-12-03 09:26:44 +01:00
YuSanka
efbf64fdea Added description line for the "Post-processing scripts".
ogStaticText id extended for SetPathEnd() function. It allows to use description line like a hyperlink
2021-12-02 15:18:05 +01:00
YuSanka
b78b91b72e Localization: Updated CZ, DE, ES, FR, IT and PL dictionaries.
+ Fixed some of phrases and updated POT-file
2021-12-01 13:07:25 +01:00