21762 Commits

Author SHA1 Message Date
Jaime van Kessel
26ba0e645a
Ensure that first start machine actions model gets initialized
CURA-6932
2019-10-28 16:33:08 +01:00
Jaime van Kessel
9906d454ce
Merge branch 'qml_speed_improvements' of github.com:Ultimaker/Cura into qml_speed_improvements 2019-10-28 16:08:04 +01:00
Jaime van Kessel
7204deac0c
Rename function to beter reflect what it does
CURA-6932
2019-10-28 16:07:35 +01:00
Ghostkeeper
95350cda51
Revert "Add a few process events to setActiveMachine to make it react more smooth"
This reverts commit 27701f765310bb58dc76373abe97a02f84ae5a2d. After discussion with Nallath we've decided that it wasn't that noticeable and could temporarily display wrong names in the interface. We've decided to undo it for now.

Contributes to issue CURA-6932.
2019-10-28 16:04:43 +01:00
Jaime van Kessel
4cc8bf5946
Create tooltips on demand instead of on creation.
This makes the loading of setting items a *lot* more faster, as each string
takes about 2.5 ms to create (and we load all of them in memory!).
2019-10-25 15:54:45 +02:00
Jaime van Kessel
5f2984b77e
Remove unused catalog
20ms faster is 20ms faster...
2019-10-25 15:49:05 +02:00
Jaime van Kessel
7f1cc84eb4
Simplify visible check for linkedSettings Icon
It was checking for a statement that is never True
2019-10-25 15:36:49 +02:00
Jaime van Kessel
27701f7653
Add a few process events to setActiveMachine to make it react more smooth 2019-10-25 15:28:17 +02:00
Jaime van Kessel
93e97c5dce
Add update timer to intentCategory model 2019-10-25 15:15:21 +02:00
Jaime van Kessel
f090b5898e
Small qml speed improvements for setting item 2019-10-25 15:09:31 +02:00
Jaime van Kessel
624b8d8741
Prevent unneeded re-evaluation of ActiveMachine ID property 2019-10-25 14:28:09 +02:00
Jaime van Kessel
11bf91ae38
Prevent type coercion in qml
This should speed things up a tiny bit
2019-10-25 13:52:45 +02:00
Jaime van Kessel
98275d2da0
Create first start model on demand
So if we don't use it, we don't spend any time on it.
2019-10-25 13:44:55 +02:00
Jaime van Kessel
552b456a69
Merge branch 'network-printer-selection-is-back' of github.com:Ultimaker/Cura 2019-10-25 12:49:18 +02:00
ChrisTerBeke
8f46c02e5d Fix MyPy issues 2019-10-25 12:35:03 +02:00
ChrisTerBeke
9a3ff527ac Bring back the printer selection dialog for networked printers 2019-10-25 12:25:41 +02:00
Nino van Hooff
8198762755 Do not require loaded view in PrevieStage to have a safeArea
CURA-6853
2019-10-25 11:59:42 +02:00
Jaime van Kessel
3491900bf1
Fix grammar in a comment 2019-10-25 11:06:01 +02:00
Jaime van Kessel
e805c3db05
Ensure material is selected on first opening of material manager 2019-10-25 11:05:38 +02:00
Jaime van Kessel
d905b8b8cc
Add extra reporting stage for splash screen
CURA-6823
2019-10-24 15:55:49 +02:00
Jaime van Kessel
de13317b9e
Merge pull request #6101 from iLyngklip/master
Create DisplayRemainingTimeOnLCD.py
2019-10-24 15:14:24 +02:00
Ghostkeeper
6e8ed3b605
Merge branch 'master' of https://github.com/eMotion-Tech/Cura into eMotion-Tech-master 2019-10-24 14:29:05 +02:00
Ghostkeeper
867283ffc3
Code style 2019-10-24 13:23:44 +02:00
Ghostkeeper
969b74e1f6
Prevent crash when sync list somehow contains None
I couldn't figure out how it could ever contain None, but we received logs from a user that indicate a crash here because that set contains None and that is not orderable. This is a hotfix to fail more gracefully instead of crashing the entire application.
2019-10-24 11:56:08 +02:00
ninovanhooff
b9b086a8c0
Merge pull request #6542 from Ultimaker/CURA-6793_performance
Performance improvements
2019-10-23 16:50:04 +02:00
ninovanhooff
f504ef8aef
Merge pull request #6570 from Ultimaker/CURA-6665_api_decorator
CURA-6665 Add @api decorator
2019-10-23 15:50:45 +02:00
Nino van Hooff
dd9e6e4abe Merge branch 'master' into CURA-6665_api_decorator 2019-10-23 15:42:32 +02:00
Nino van Hooff
5436e68ea4 Fix mypy warning
CURA-6665
2019-10-23 15:29:54 +02:00
ninovanhooff
9beea85482
Merge pull request #6566 from Ultimaker/CURA-6858_increase_sdk_ver_7_0
Change SDK version to 7.0.0
2019-10-23 11:54:49 +02:00
Ghostkeeper
fe70cb23bf
Remove overrides that didn't have any effect
This works due to our new test that tests for that case. A common failure case.
2019-10-23 11:01:01 +02:00
Nino van Hooff
a88887dbdb Change Backup (Drive) plugin version to 7.0
CURA-6858
2019-10-23 10:50:04 +02:00
Lipu Fei
08b1e0e9a8 @api checked for semantic versions
CURA-6665
2019-10-23 10:34:50 +02:00
Ghostkeeper
94eb76a844
Merge branch 'master' into CURA-6793_performance
Conflicts:
	cura/Machines/MaterialManager.py -> File was deleted in Master but I changed things for the lazy loading.
	cura/Machines/Models/BaseMaterialsModel.py -> I clarified documentation on a line above a place where a timer was added in between.

Contributes to issue CURA-6793.
2019-10-23 09:58:08 +02:00
Lipu Fei
33cf7491ef dos2unix Decorator.py
CURA-6665
2019-10-23 09:58:05 +02:00
Ghostkeeper
aed2346465
Don't sleep for extruder stacks
Contributes to issue CURA-6793.
2019-10-23 09:53:22 +02:00
Ghostkeeper
5b70d409ed
Improve documentation for lazy-loading background task
In particular the thread switching sleep was a bit mysterious.

Contributes to issue CURA_6793.
2019-10-23 09:46:44 +02:00
Ghostkeeper
f69360fb14
Make lazy-load container a protected inner class
Contributes to issue CURA-6793.
2019-10-23 09:42:43 +02:00
Ghostkeeper
f1e35907d2
Make MachineNodeLoadJob protected inner class
It should not be used outside of this class.

Contributes to issue CURA-6793.
2019-10-23 09:41:05 +02:00
Ghostkeeper
f3736f0576
Add typing for _machines
Contributes to issue CURA-6793.

Co-Authored-By: Jaime van Kessel <nallath@gmail.com>
2019-10-23 07:40:12 +00:00
Lipu Fei
b2afaf305d Add @api decorator
CURA-6665
2019-10-23 08:33:00 +02:00
Ghostkeeper
59e55dab5e
Fixes for consistency with other printers
Contributes to issue CURA-6814.
2019-10-22 17:23:32 +02:00
Ghostkeeper
fa00600655
Merge branch '4.3' of https://github.com/samirabaza/Cura into samirabaza-4.3 2019-10-22 16:58:30 +02:00
Lipu Fei
f2c66f8d3a Fix TestVariantNode
CURA-6921
2019-10-22 15:31:17 +02:00
Lipu Fei
66005f28f3 Fix typo in removing Alternate Skin Rotations 2019-10-22 15:00:51 +02:00
Lipu Fei
66bc20eab1 Revert incorrect material handling code in VariantNode
CURA-6921
2019-10-22 14:53:14 +02:00
Lipu Fei
b6d591c64c Add typing
CURA-6858
2019-10-22 14:14:14 +02:00
Lipu Fei
1f3a7c976f Remove deprecated MachineManager.activeMachineHasRemoteConnection
CURA-6858
2019-10-22 14:14:14 +02:00
Lipu Fei
38ee4bf208 Remove deprecated functions in MachineManager
CURA-6858
2019-10-22 14:11:40 +02:00
Lipu Fei
7544d049c5 Remove deprecated ExtruderManager.getExtruderName
CURA-6858
2019-10-22 14:11:40 +02:00
Lipu Fei
9c92e61699 Remove deprecated getChildNode and getContainer in ContainerNode
CURA-6858
2019-10-22 14:11:40 +02:00