Commit graph

18275 commits

Author SHA1 Message Date
Ghostkeeper
a36aa3f17b
Merge branch '4.0' 2019-01-30 12:53:18 +01:00
Ghostkeeper
14300e745f
Use Doxygen-style comments for documentation
According to our style. Not just single line comments without anything else.

Contributes to issue CURA-6159.
2019-01-30 12:52:58 +01:00
Remco Burema
dbec607d36
Merge pull request #5234 from Ultimaker/CURA-6070_add_adhesion_warning
CURA-6070 Add adhesion warning message back
2019-01-29 16:12:53 +01:00
Ghostkeeper
232498980c
Merge branch '4.0'
Conflicts:
	cura/GlobalStacksModel.py -> CuraContainerRegistry being used in stead of ContainerRegistry, but imports were reordered.
	plugins/CuraDrive/src/DrivePluginExtension.py -> Typing being solved in two ways.
2019-01-28 16:45:45 +01:00
Ghostkeeper
9d8cf5ddde
Apply division by zero prevention to the denominator
Rather than the numerator, which could not cause a division by zero exception.
2019-01-28 16:40:45 +01:00
Ghostkeeper
25b18dee7a
Fix type errors
Nothing really changed but it should be more type-safe now for the messages it creates and the build plate temperature.
2019-01-28 16:14:01 +01:00
Ghostkeeper
371585a0ba
Fix error if layer number ends up out of range
It normally doesn't go out of range, but some defensive coding just in case it does. And to fix a typing error of course.
2019-01-28 15:54:34 +01:00
Ian Paschal
3dcb6b9c37
Merge pull request #5235 from Ultimaker/fix_configured_connection_types
Fix configured connection types
2019-01-28 15:46:39 +01:00
Ghostkeeper
4a91425bf9
Upgrade nwa3d files to setting version 7
This was merged into 4.0 and then into master, but when merging into master it was not upgraded to version 7.
2019-01-28 15:31:09 +01:00
Jaime van Kessel
bc8a08bb44 Add documentation to the configuredConnectionTypes 2019-01-28 14:57:24 +01:00
Jaime van Kessel
f723cdc8a3 Fix typing issues 2019-01-28 14:47:03 +01:00
Lipu Fei
e2e856a5cd Add adhesion warning message back
CURA-6070
2019-01-28 14:41:57 +01:00
Jaime van Kessel
3774fdbd02 Refactored the "connection_type" metadata entry so it can support multiple types.
After a lot of discussion and finding out what the hell was going on,
we figured out we made a pretty big derp by only setting a single connection_type
in the metadata of the machine. What it's actually doing is describing what connection types
have been configured (and not just randomly displaying whatever output device set the value last)
2019-01-28 14:29:41 +01:00
Lipu Fei
87bdd10dab Merge remote-tracking branch 'origin/4.0' 2019-01-28 14:03:51 +01:00
Ghostkeeper
12d3af8d93
Fix type error
The typing was added by Nallath just now but it is giving an error for me.
The private access is allowed here because we're implementing it in the same class, even though it is a different instance.

This fixes the type error a bit more strictly than what lfei just did at the same time as me.
2019-01-28 13:50:32 +01:00
Lipu Fei
54ce6a3676 Fix typing 2019-01-28 13:40:42 +01:00
Ghostkeeper
c5eb3b0e25
Allow floating point in bed temperature
This is consistent with the hotend temperature. Only we round it just before outputting it to g-code because the g-code doesn't support it.
This fixes a typing error that my IDE gave me.
2019-01-28 13:35:22 +01:00
Simon Edwards
72b98285b1
Merge pull request #5216 from Ultimaker/CL-1188_hide_print_job_on_unavailable_printer
CL-1188 hide print job on unavailable printer
2019-01-28 11:08:21 +01:00
Lipu Fei
d7434ed14c
Merge pull request #5224 from Ultimaker/CURA-6141_info_long_material_name_line_split
Cura 6141 info long material name line split
2019-01-28 09:13:17 +01:00
Lipu Fei
1f21eed14f Add Text.NativeRendering for Labels
CURA-6141
2019-01-28 09:05:43 +01:00
Lipu Fei
c6ff8149f6 Remove colon according to design
CURA-6141
2019-01-28 09:04:08 +01:00
Lipu Fei
71b2787d0d Use Label
CURA-6141
2019-01-28 08:48:02 +01:00
Remco Burema
3d413ceb2c MaterialInfo: Tweak text-alignment/layout. [CURA-6141] 2019-01-26 11:43:15 +01:00
Remco Burema
e7ff70870f MaterialInfo: Also replace HTML-text with QML-elements for 'by line-type'. [CURA-6141] 2019-01-26 11:25:38 +01:00
Jaime van Kessel
ad5a6a4153 Added missing typing 2019-01-25 14:09:41 +01:00
Jaime van Kessel
67a63e7954 Add test for gcodeListDecorator
It's super simple, but hey, it's also easy to write.
2019-01-25 14:04:53 +01:00
Jaime van Kessel
c7e3b1dcaf Addded test for removing machine action 2019-01-25 14:00:26 +01:00
Jaime van Kessel
76cfb19dfb Removed unused function & added more typing 2019-01-25 13:52:41 +01:00
Jaime van Kessel
0fded58988 Add / fix typing 2019-01-25 13:35:24 +01:00
Ghostkeeper
33abbd4c89
Merge branch '4.0' 2019-01-25 12:03:38 +01:00
Ghostkeeper
91dc3713ae
Initialise idle count properly
This is a field so it should always get initialised in the __init__ function.

Fixes #5218.
2019-01-25 12:03:21 +01:00
Simon Edwards
064e61c262
Merge pull request #5215 from Ultimaker/CL-1175_context_menu_for_cant_print_jobs
CL-1175 Context menu for cant print jobs
2019-01-25 10:53:15 +01:00
Remco Burema
7fdbb11f49 MaterialInfo: Put height and fonts by QML-elements for 'by material-type'. [CURA-6141] 2019-01-24 21:56:57 +01:00
Remco Burema
654cd8e645 MaterialInfo: Begin replace HTML-text with QML-elements for 'by material-type'. [CURA-6141] 2019-01-24 18:08:02 +01:00
Ghostkeeper
41c840adbc
Cast plug-in path of self to str
Because it can't be None.
2019-01-24 17:34:22 +01:00
Ghostkeeper
d535008e08
Don't repeat the plug-in name
If it changes, this will crash Cura.
2019-01-24 17:31:08 +01:00
Ian Paschal
e7151390f7 Label printers without connection to "unreachable"
Contributes to CL-1188
2019-01-24 10:24:55 +01:00
Ian Paschal
673734ee12 Show print job context menu if state == "error"
Contributes to CL-1175
2019-01-24 09:52:56 +01:00
Ghostkeeper
cbed8038e9
Don't say that creating a profile needs to provide a 'new' name
It's weird to ask for a new name if the profile is completely new.

Made together with a change in Uranium for CURA-6086.
2019-01-23 17:35:33 +01:00
Ian Paschal
5d2a914180 Always show context menu for print jobs
Contributes to CL-1175
2019-01-23 15:54:11 +01:00
Ian Paschal
4438f0d9a3 Add dark mode to new context menu
Contributes to CL-1212
2019-01-23 15:34:28 +01:00
Ian Paschal
f5379dda55 Fix improperly removed method 2019-01-23 14:48:38 +01:00
Ian Paschal
e19323d38b Fix mising theme key 2019-01-23 14:47:59 +01:00
Ian Paschal
9de3fb9bb4
Merge pull request #5187 from Ultimaker/CL-1165_missing_cloud_info
CL-1165 missing cloud info
2019-01-23 12:12:12 +01:00
Ian Paschal
e204696b61 Add dark theme
Contributes to CL-1165
2019-01-23 12:10:06 +01:00
Ian Paschal
1097f16011 Add theme (and dark mode)
Contributes to CL-1165
2019-01-23 12:08:20 +01:00
Ian Paschal
32072e3bfe Merge remote-tracking branch 'origin/4.0' into CL-1165_missing_cloud_info 2019-01-23 12:05:06 +01:00
Ian Paschal
776410e5d9
Merge pull request #5208 from Ultimaker/CL-1212_monitor_dark_theme
CL-1212 Monitor tab dark theme
2019-01-23 11:37:19 +01:00
Diego Prado Gesto
551111bd60 Close the configuration panel when the user syncs with a configuration 2019-01-23 11:24:28 +01:00
Jaime van Kessel
aac82a0852 Merge branch '4.0' of github.com:Ultimaker/Cura 2019-01-23 11:18:27 +01:00