Jaime van Kessel
b1ae25fb92
Removing containers now returns false if it was unable to remove containers
...
CURA-2196
2016-08-24 13:34:40 +02:00
Jaime van Kessel
9c895d2f31
Added more logging to container duplication
...
CURA-2162
2016-08-24 13:03:51 +02:00
Jaime van Kessel
cbb50eeec6
Added more logging to renaming
...
CURA-2165
2016-08-24 11:51:47 +02:00
Ghostkeeper
0c0871656b
Cache container registry before for loop
...
Slight performance increase. We should pay more attention to this kind of thing.
Contributes to issue CURA-2006.
2016-08-18 17:26:51 +02:00
Arjen Hiemstra
a14a80be56
Document and simplify the quality/quality changes code in ContainerManager
...
Contributes to CURA-2006
2016-08-11 17:50:54 +02:00
Arjen Hiemstra
2c0f0e8559
Move new_id in ContainerManager::duplicate into a general block
...
Saves duplication
Contributes to CURA-2006
2016-08-10 11:57:57 +02:00
Arjen Hiemstra
29c0cc3850
Fix ContainerManager::renameQuality to set a proper unique id
...
Contributes to CURA-2006
2016-08-10 11:57:04 +02:00
Arjen Hiemstra
ba2c60bb0d
Implement remove, rename, duplicate quality in containermanager
...
Contributes to CURA-2006
2016-08-10 11:03:33 +02:00
Arjen Hiemstra
b894e3888c
Introduce a quality_type metadata entry that can be used to distinguish qualities
...
Since we want the profile to be selected based on material and we have
profiles like "ABS Normal" and "PLA Normal" we need some way to make
sure we select the same.
Contributes to CURA-2006
2016-08-10 10:55:25 +02:00
Arjen Hiemstra
bc8c55f8fb
Properly return True in updateQualityChanges
...
Since it is declared as returning bool
Contributes to CURA-2006
2016-08-04 18:05:45 +02:00
Arjen Hiemstra
7b9c982c62
Properly fix machinemanager access
...
Contributes to CURA-2006
2016-08-04 18:04:32 +02:00
Arjen Hiemstra
324d1415d7
Fix updating active quality
...
Contributes to CURA-2006
2016-08-04 17:55:16 +02:00
Arjen Hiemstra
354a467d8e
Fix circular import bullcrap
...
Contributes to CURA-2006
2016-08-04 17:51:43 +02:00
Arjen Hiemstra
2ee2bc7348
Properly implement ContainerManager::createQualityChanges
...
Contributes to CURA-2006
2016-08-04 17:37:15 +02:00
Arjen Hiemstra
ec383b46b9
Emit blurSettings for ContainerManager::merge/clear user containers
...
Contributes to CURA-2006
2016-08-04 17:33:35 +02:00
Arjen Hiemstra
9ef709962f
Start implementing a createQualityChanges method in ContainerManager
...
It will be used to create the quality change containers from the
existing user containers.
Contributes to CURA-2006
2016-08-04 02:12:32 +02:00
Arjen Hiemstra
0934ae70a8
Introduce clearUserContainers and updateQualityChanges methods in ContainerManager
...
They are moved from MachineManager which is really getting too large and
complicated.
Contributes to CURA-2006
2016-08-04 02:11:35 +02:00
Arjen Hiemstra
95c3aa8251
Split ContainerManager::mergeContainer into a checking bit and a function that does the actual work
...
Contributes to CURA-2006
2016-08-04 02:10:28 +02:00
Arjen Hiemstra
570a67556a
Fix exporting and importing materials on OSX
...
OSX's file dialog is stupid and does not understand extensions with
a . in them. So instead just use everything after the last .
Fixes CURA-1987
2016-07-28 18:08:17 +02:00
Arjen Hiemstra
a7585a4b9a
Ignore default container types when creating name filters for containers
...
Contributes to CURA-342
2016-07-11 16:41:57 +02:00
Arjen Hiemstra
8e63016ef3
Add logging to explain why ContainerManager's methods do not complete successfully
...
Contributes to CURA-341
2016-07-07 12:07:16 +02:00
Arjen Hiemstra
1f6e99f641
Add methods to get name filters, import and export containers to ContainerManager
...
We should start replacing the other ways of import/export with this
since this uses the containerregistry provided contaienr types instead
of needing a different plugin type.
Contributes to CURA-341
2016-07-07 01:39:38 +02:00
Arjen Hiemstra
6e153414a4
Do not try to write to read-only containers
...
Contributes to CURA-341
2016-07-07 01:37:54 +02:00
Arjen Hiemstra
ce065d110d
Finish implementation of ContainerManager
...
Contributes to CURA-341
2016-07-05 16:45:23 +02:00
Arjen Hiemstra
ff9e4c9bb7
Add some more documentation to ContainerManager
...
Contributes to CURA-341
2016-07-05 16:44:13 +02:00
Arjen Hiemstra
ce3a5f7e48
Update references to moved classes so things work again
...
Contributes to CURA-342
2016-07-04 12:08:38 +02:00
Arjen Hiemstra
0e28b331fb
Move Cura setting related classes to cura/Settings
...
Contributes to CURA-342
2016-07-04 12:07:29 +02:00