Commit Graph

15071 Commits

Author SHA1 Message Date
Pascal de Bruijn
75381af263
PrusaGcodeviewer.desktop icon (#5555)
Linux: update PrusaGcodeviewer.desktop icon
2020-12-22 16:50:34 +01:00
YuSanka
034ca8ef57 Fixed a checking of the description lines existence before setting new value for them 2020-12-22 16:23:53 +01:00
Lukáš Hejl
81878a6f79 Fix of #5537 - GUI_App::post_init could be in some cases called before GUI_App::init_openg when GCode viewer is used.
The solution adds a status flag to GUI_App::init_openg and ensures that GUI_App::post_init isn't called before initialization in GUI_App::init_openg is done.
2020-12-22 12:28:00 +01:00
David Kocik
99f5dfbde7 Added error-checking for child.wait() call during removable drive ejection (to prevent #5507)
Mark Ejection as failed if the wait() function fails. It seems that it is not simply possible
to retrieve the exit code of the process in that case (although it usually finishes sucessfully).
2020-12-22 12:18:30 +01:00
YuSanka
6c399052c6 Fixed a crash on copy/paste, when ObjectList has no selection. Related to #5517 2020-12-22 10:42:47 +01:00
rtyr
ea327c2d8c
Creality 0.0.10
Parameter consistency improvements. Enabled conservative elephant foot compensation.
2020-12-21 15:21:26 +01:00
rtyr
f7d5032d0e
Bumped up version to 0.0.10 2020-12-21 15:20:29 +01:00
YuSanka
738c115ec1 Follow-up to 9d34d350a5: Missed one more translation for category, when checking selection on the left panel
+ Fixed a typo in CS and ES dictionaries
2020-12-21 14:28:50 +01:00
Lukáš Hejl
dc2e7aeb4e Fixed wrong generation of Adaptive Cubic and Support Cubic infill when infill extrusion width is set in percent. 2020-12-21 14:14:06 +01:00
Lukas Matena
78a3d8b63e Fixed ASCII folding for non-foldable non-ASCII characters
Problem: Add an object, name it using cyrilic, Slice, click Export: the proposed name is mangled. Affects all platforms, 2.2.0 was fine.

Cause: It is mangled during ASCII folding, which was broken with 28c0880 when it was generalized to be used from the fuzzy matcher.
    fold_to_ascii(wchar_t c, char *out) relies on narrowing char = wchar_t assignment, the old one used std::back_insert_iterator<std::wstring>.
    It is thus unable to leave a character alone even when it should (it should, right?).

Solution:
    1. Typed the fold_to_ascii function so it works on wchar_t only, which should mimic the old behaviour.
    2. Changed the respective call in fts_fuzzy_match.h. That function also works with wide char C-strings.

Cleanup:
    1. Removed the unused fold_utf8_to_ascii(const char *src) overload to avoid code duplication.
    2. Untemplated the fold_to_ascii(wchar_t c, std::back_insert_iterator<std::wstring>& out) function, it was never called with a different type.
    3. The function is now static in ASCIIFolding.cpp, nobody else needs to know.
2020-12-21 10:31:37 +01:00
Lukas Matena
1f5ac7d2f7 Fix of a crash on startup when creating physical printer profiles from 2.2 configs (#5513, #5074)
The issue is that opening the wxMessageDialog in GUI_App::check_printer_presets  fires wxEVT_IDLE event (on Linux at least).
At that point it is already bound to our lambda which will in turn call post_init prematurely.
The solution is to move the Bind at the very end of the initialization. The post_init that it calls assumes that init has been finished anyway.
2020-12-21 10:27:35 +01:00
Lukáš Hejl
181642b85b Fix of #5528 - Request re-slicing when bottom_solid_layers changes and spiral_vase is enabled. 2020-12-21 09:15:33 +01:00
Henner Zeller
79e041b961 Fix assignment of string literals to char*.
Fix some char *foo = "string literal" assignments that
really should be assigned to const char*.

(they also happen to be constexpr, but that only prevents
to assign something later to foo, but does not alter
the char* type).

Signed-off-by: Henner Zeller <h.zeller@acm.org>
2020-12-20 13:40:25 -08:00
rtyr
60efa0b0bf
Merge pull request #5500 from pmjdebruijn/creality_2
Small Creality Improvements
2020-12-20 17:14:45 +01:00
YuSanka
a19b5f2f3a Localization: Updated dictionaries CZ, DE, ES, FR, IT, NL, PL 2020-12-19 13:34:03 +01:00
David Kocik
593c397b19 Missing init() call at notification render 2020-12-19 09:22:40 +01:00
Pascal de Bruijn
71cb5d1469 Creality.ini: default to Generic PLA, and move defaults to common printer section 2020-12-18 18:55:29 +01:00
David Kocik
2fa5828023 Merge branch 'dk_hover_eject' into master 2020-12-18 15:49:21 +01:00
David Kocik
b5de1456a0 Keyboard shortcut at notification hover - eject sd 2020-12-18 15:48:59 +01:00
Lukas Matena
b0115dca60 Fixed encoding issue in ConfigWizard on Windows (#5422) 2020-12-18 15:35:30 +01:00
YuSanka
22acf3602c localization: Updated PrusaSlicer.pot 2020-12-18 13:59:53 +01:00
YuSanka
d49f85572b Added a missing translation macro 2020-12-18 13:28:24 +01:00
Lukas Matena
1cbe2bd87e Added a missing translation macro 2020-12-18 13:04:28 +01:00
Lukas Matena
8f3baeb1c9 Fix of #5410 (Ironing untick/tick bug)
This is a follow-up of commit b1b7a5a which fixed several similar bugs
2020-12-18 12:44:24 +01:00
YuSanka
8849aa77dc Decrease min height for ObjectList (related to #5462) 2020-12-18 11:31:14 +01:00
YuSanka
240dc8b697 Follow-up to 19b52da260: Fixed scale for view toolbar on HDPI (GTK3 specific) 2020-12-18 11:27:28 +01:00
enricoturri1966
d791720b5e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-18 09:03:45 +01:00
enricoturri1966
156019d9d0 Fixed color of shells in preview 2020-12-18 09:03:18 +01:00
YuSanka
19b52da260 Fix of #5501 - 3D Editor / Layer View widget DPI regression (Linux GTK3 specific) 2020-12-18 08:40:17 +01:00
Lukas Matena
5bd1a57650 Bumped up version number to 2.3.0-rc1 2020-12-17 18:07:35 +01:00
YuSanka
b22a38d1d1 Fix of "cut off text for filament type" (Related to #5444) 2020-12-17 16:51:51 +01:00
Lukas Matena
aa69730bc2 Revert recent changes in PresetUpdater error reporting
This reverts commits:
57ba953 ("PresetUpdater - exceptions reformatted, not throwing an exception")
03028bb ("Improved exception throwing at copy file in preset updater")
2020-12-17 16:08:51 +01:00
Lukas Matena
6e3b4b6fd8 Random seam: optimization and fix of a possible infinite loop 2020-12-17 15:48:25 +01:00
Pascal de Bruijn
33c36e6777 creality.ini: enable conservative elefant_foot_compensation
given the diversity of printers and bed types and a typical lack of
auto bed levelling, it will be impossible to get a good fit
for everyone by default.

A very conservative 0.1 for elefant_foot_compensation is unlikely
to cause overcompensation.

And I'd prefer to undercompensate as opposed to overcompensate
as a default.
2020-12-17 13:05:40 +01:00
Pascal de Bruijn
1cf97b9c93 Creality.ini: improve parameter consistency 2020-12-17 13:04:39 +01:00
enricoturri1966
ce32d68368 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-17 11:41:54 +01:00
enricoturri1966
b8fc1d3173 GCodeViewer - Fixed visualization of time estimates for silent mode 2020-12-17 11:41:41 +01:00
Vojtech Bubnik
ba9a9b4e7a Fixed buffer overflow in the OBJ parser.
Improved error reporting on OBJ parser.
2020-12-17 09:53:21 +01:00
david kocik
b1095adc18 follow up of commit c9da06e44a 2020-12-17 09:51:45 +01:00
Vojtech Bubnik
7df9f3e422 Improvements of OBJ parser robustness. 2020-12-17 09:17:07 +01:00
YuSanka
ddef084184 Localization: Updated CZ, DE, ES, FR, IT and PL dictionaries 2020-12-17 09:09:14 +01:00
YuSanka
19b7827511 Fix of #5103 and #4861 - ConfigWizard layout issues 2020-12-16 23:44:40 -08:00
YuSanka
64e68f418b Follow-up to 3eb63c93e1:
If value for "Extrusion Multiplier" is out of range, and "NO" is selected in warning message dialog, then set previous value instead of max limit value
2020-12-16 20:14:47 +01:00
David Kocik
642223dadc Merge branch 'dk_notifications' into master 2020-12-16 17:44:31 +01:00
David Kocik
99747f8f25 Changed requested time of rendering for timed notification to full duration. Commented unused code. 2020-12-16 17:43:51 +01:00
Lukas Matena
20aa8d65bf Fix through Netfabb notification - remove 'undo' hypertext for now and
refuse to fix when a gizmo is opened (because of missing updates)
This is a follow-up of 1249fdb
2020-12-16 17:33:55 +01:00
YuSanka
8b980d4b77 Localization: Updated PrusaSlicer.pot and CZ dictionary
+ Fixed some phrases.
2020-12-16 17:29:38 +01:00
rtyr
3f11877c8f
Added full_fan_speed_layer value for PETG. Increased support interface spacing for 0.6mm nozzle profiles. Updated firmware version. 2020-12-16 16:18:31 +01:00
Vojtech Bubnik
1dae057f15 Some refactoring of the fade out of notifications:
1) Use different wxWidgets call to get current time on Windows vs Unix
   for efficiency reasons.
2) Don't call this function multiple times in a single function, it is
   both expensive and not correct: One shall work with the same timestamp.
3) Added missing unbind of the new timer.
2020-12-16 16:15:58 +01:00
Vojtech Bubnik
08c4f674f7 Disabled "error" outputs
1) they should have been trace and
2) likely they should have been only enabled in debug mode and only
   through conditional compilation
2020-12-16 14:40:56 +01:00