22793 Commits

Author SHA1 Message Date
Jaime van Kessel
9c0e6f9338
Apply suggestions from code review
Codestyle!
2020-02-24 16:57:37 +01:00
Nino van Hooff
94e9753b6c Update cura/CrashHandler.py
Import Any and re-order if-statements for efficiency

CURA-7245
2020-02-24 16:26:32 +01:00
Nino van Hooff
2cd6149ef0
Update cura/CrashHandler.py
Add typing to pruneSensitiveData

Co-Authored-By: Jaime van Kessel <nallath@gmail.com>
2020-02-24 16:14:12 +01:00
Nino van Hooff
62dfadecdf Prune all sensitive data before sending it to Sentry
CURA-7245
2020-02-24 15:27:17 +01:00
Tim Kuipers
9bcae15d39 lil: optimize parsing gcode arg letter
CURA-7066
2020-02-24 14:56:06 +01:00
Tim Kuipers
efafc37e49 fix E-values after G92 when parsing gcode
CURA-7066
2020-02-24 14:55:58 +01:00
Tim Kuipers
5653c8c9ae Avoid showing infinitely wide lines in gcode
lines less than zero wide are displayed as very wide; prevent negative extrusion lines from being generated in the first place

CURA-7066
2020-02-24 14:55:42 +01:00
Ghostkeeper
f918f39fc2
Don't use a newline at the beginning of the sync message
Again, this breaks stuff. See the previous commit.

Contributes to issue CURA-7201.
2020-02-24 14:33:10 +01:00
Ghostkeeper
633bdac21a
Don't start message with a newline
That breaks a couple of things:
* It messes up the layout of the message.
* The translations need to have this newline in as well, or they won't be accepted by gettext.
* The x-test translation puts 'xxxx' before the translation, so this one won't compile any more.

Contributes to issue CURA-7201.
2020-02-24 14:21:39 +01:00
Ghostkeeper
0dfa65bb6d
Disable Polish translation for 4.5
These translations weren't updated this round, so we'll disable them from the interface. The files are still available if someone else wants to translate them.

Contributes to issue CURA-7201.
2020-02-24 14:17:21 +01:00
Jaime van Kessel
610dc7f115
Merge branch '4.5' of github.com:Ultimaker/Cura into 4.5 2020-02-24 13:55:00 +01:00
Ghostkeeper
526f275a42
Merge branch '4.5' 2020-02-24 13:38:36 +01:00
Ghostkeeper
d521c245c5
Update translations for zh_TW
These are supplied by the community translator, Heh Ji, via e-mail.

Contributes to issue CURA-7201.
2020-02-24 13:35:05 +01:00
Ghostkeeper
08826b8971
Merge branch '4.5' 2020-02-24 13:17:45 +01:00
Ghostkeeper
734e912048
Merge branch 'CURA-7201_translations_4.5' into 4.5 2020-02-24 13:17:22 +01:00
Ghostkeeper
bb6e421936
Merge branch '4.5' 2020-02-24 13:15:43 +01:00
Ghostkeeper
adee26e63d
Merge branch '4.5' of https://github.com/Patola/Cura into Patola-4.5 2020-02-24 13:14:58 +01:00
Ghostkeeper
92e520b230
Fix translation with an argument
There are multiple issues with that line:
* Other languages might have the application name before their version of 'About'. The previous line can't account for those languages because the application name is always appended at the end.
* The old one was trying to translate CuraApplication.applicationDisplayName which can't be statically determined.
* The old one had no explanation towards the translator.
2020-02-24 13:09:29 +01:00
Jaime van Kessel
239a8ea3db
Revert speedup 2020-02-24 13:07:59 +01:00
Jaime van Kessel
b86658996b
Revert "Chop up the render function to make it a bit more readable"
This reverts commit 61a605d02be0d0f34893fa5d544111a3b0d49132.
2020-02-24 12:45:13 +01:00
konskarm
069384e588
Merge pull request #7152 from Ultimaker/CURA-7231_no_layers_to_show_msg
Cura 7231 no layers to show msg
2020-02-24 12:02:06 +01:00
Dimitriovski
3e13507156
Merge branch '4.5' of github.com:Ultimaker/Cura 2020-02-24 11:03:21 +01:00
Dimitriovski
9282423db1
Added lifetime=0 to the sync_message to make it stay there 2020-02-24 10:59:41 +01:00
Thomas Karl Pietrowski
2ddb44a047
CMake: Fixing warning about path conversion
According to what I found in the docs[1], there is no "DIRECTORY" available as <type>.
Therefore, correcting it to "PATH", which is according to the docs correct.

At the moment I'm getting the following error[2]:
-----------
CMake Warning (dev) at CMakeLists.txt:8 (set):
  implicitly converting 'DIRECTORY' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:9 (set):
  implicitly converting 'DIRECTORY' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.
---------------
[1] https://cmake.org/cmake/help/v3.6/command/set.html
[2] https://launchpadlibrarian.net/464670600/buildlog_ubuntu-focal-amd64.cura_1%3A4.5~202002121434~rev4433~pkg330~ubuntu20.04.1_BUILDING.txt.gz
2020-02-22 18:34:21 +01:00
John Hryb
9aa6887b02 Update ColorMix.py
Updates based on review.
2020-02-22 11:58:19 -05:00
Ghostkeeper
6dd799d042
Remove superfluous bracket
As found by Vandrasc.

Contributes to issue CURA-7201.
2020-02-21 16:49:45 +01:00
Ghostkeeper
3161a6ac08
Fixes discovered by PoEdit
Some inconsistencies with the ellipses, mostly.
There was also one line that was missing from every language. This happened because the Lionbridge import script I made doesn't properly process those.
Smartling also displayed the wrong texts to the translator sometimes. The translator didn't understand that they had to use singular for some texts, so those had to be corrected. I could correct them for every language except Turkish, so those lines are now wrong.

Contributes to issue CURA-7201.
2020-02-21 16:47:38 +01:00
Tim Kuipers
c1d87fa474 Pop-up checkbox to never show [No layers to show] ever again, because the user ain't no noob
CURA-7231
2020-02-21 15:07:57 +01:00
Tim Kuipers
0a10a1220f Don't show 'no layer data' msg when Slice Automatically is enabled
CURA-7231
2020-02-21 15:07:26 +01:00
Ghostkeeper
b413fc3fd8
Update translations from Lionbridge for 4.5
These are the new translations that we got from the translation service.

Contributes to issue CURA-7201.
2020-02-21 13:30:47 +01:00
Jaime van Kessel
27777c759c
Prevent zip bombs in the g-codegz reader
CURA-7227
2020-02-20 16:38:41 +01:00
skriDude
05f050eccc
fixed support layer height 2020-02-20 15:27:33 +01:00
Ghostkeeper
4cb239a97f
Merge branch '4.5' 2020-02-19 11:41:07 +01:00
Ghostkeeper
ed17cfafb7
Reduce minimum value warning for Anti-Ooze Retracted Position
For BAM and filled materials the default would give a warning position since for a filament switch it needs to retract more than for the normal print.

Done as a 5 minute fix.
2020-02-19 11:40:44 +01:00
Cláudio 'Patola' Sampaio
8735ac062a Updated pt_BR strings for Cura 4.5 2020-02-19 08:33:24 +01:00
Ghostkeeper
2eab2c0f3d
Merge branch 'master' of https://github.com/zxc8027/Cura into zxc8027-master 2020-02-18 11:13:30 +01:00
Ghostkeeper
829f9b5b8c
Merge branch 'patch-1' of https://github.com/PurpleHullPeas/Cura into PurpleHullPeas-patch-1 2020-02-18 09:09:52 +01:00
Jaime van Kessel
238dd733ea
Merge branch '4.5' of github.com:Ultimaker/Cura 2020-02-17 17:01:38 +01:00
Ghostkeeper
e52dc56a64
Prevent crashing on PermissionError when importing http.server (#7095)
* Fix PermissionError when importing http.server

Instead of crashing, now it'll just not start the server. This means that you won't be able to receive the response from the log-in so you won't be able to log in. The browser gives an error that it can't find the page on localhost. But at least it doesn't crash.

Fixes crash CURA-3Q.

* Log an error when the HTTP server can't be started

Contributes to crash CURA-3Q.

* Indicate that types are optional

Attempt to fix the typing issue with MyPy. I can't run this locally so the CI server will have to tell me if this fixed it.

Contributes to Sentry issue CURA-3Q.
2020-02-17 17:01:11 +01:00
jos@mauk.cc
a53b1fc1d9 HMS434 update
support settings
toolchange settings
2020-02-17 15:28:38 +01:00
MaukCC
3c6f31b81f
Merge pull request #3 from Ultimaker/master
update
2020-02-17 15:27:39 +01:00
Ghostkeeper
5af4acc49e
Remove trailing spaces 2020-02-17 15:25:17 +01:00
Dimitriovski
a4a076ea5c
Removed the user input from the CrashHandler as we are not using it for sending that data to Sentry
CURA-7223
2020-02-17 12:02:52 +01:00
Jaime van Kessel
769fc8fd37
Fix crashing when material could not be found
See CURA-3M in sentry. It most commonly happens with the anycubic,
since it had some weird stuff with it suddenly supporting materials.

This change will make it so that no crash happens. Old profiles will still have
an empty material. This isn't really an issue, since the interface will mark this
as an error (prompting users to switch).
2020-02-17 10:57:24 +01:00
Zachary Cook
1b72577f88
Added check for stdout being defined. 2020-02-14 13:02:56 -05:00
Nino van Hooff
507459660e Refactor: rename CloudPackageManager to CloudApiClient 2020-02-14 16:33:24 +01:00
PurpleHullPeas
939f761843
Fixing default bed temperature for MP Mini Delta
The stock Monoprice Mini Delta 3D printer has trouble reaching 60 C. Setting the bed temperature to 40 C so that it doesn't confuse newcomers to the hobby when the printer sits forever waiting for the bed to reach a temperature that it cannot attain.
2020-02-13 20:20:55 -06:00
Ghostkeeper
089561dd22
Merge branch 'infill_mesh_shell_defaults' 2020-02-13 13:12:35 +01:00
Ghostkeeper
a776f54e7f
Fix making settings visible if the default was 0
If the default was 0, then the if statement would evaluate as False and it would not make them visible until you closed and re-opened the panel.

Contributes to issue CURA-7211.
2020-02-13 13:09:57 +01:00
Ghostkeeper
3b235d5536
Make settings visible too after adding them
Contributes to issue CURA-7211.
2020-02-13 13:08:32 +01:00