Ghostkeeper
30321607d0
Remove Cubic Subdivision Radius from users' configuration
...
The setting no longer exists. This removes it from all instance containers and preference files.
Contributes to issue CURA-3427.
2017-05-11 15:30:24 +02:00
Ghostkeeper
22cfaddba5
Fix import
...
Oops.
The test passes again now.
Contributes to issue CURA-3427.
2017-05-11 14:35:54 +02:00
Ghostkeeper
833ad65507
Also rename test
...
Forgot that, sorry.
Contributes to issue CURA-3427.
2017-05-11 14:34:11 +02:00
Ghostkeeper
b57cb16f6d
Rename 24to25 to 25to26
...
The upgrade now upgrades profiles from the 2.5 format to 2.6, since we delayed the update for the 2.5 release.
Contributes to issue CURA-3427.
2017-05-11 14:32:45 +02:00
Ghostkeeper
99cb8bc169
Re-enable Version 2.4 to 2.5 upgrade
...
So that we can remove settings again, among which the Cubic Subdivision Radius setting.
Contributes to issue CURA-3427.
2017-05-11 14:29:25 +02:00
Ghostkeeper
5176b98f6e
Set the correct result in visible settings
...
Oops.
Contributes to issue CURA-3491.
2017-05-02 13:58:11 +02:00
Ghostkeeper
bb0e9c3fdc
Split interface line distance into two in user's profiles
...
This hasn't been deep-tested yet, but I assume that'll happen when the plug-in is reactivated in the source code.
Contributes to issue CURA-3491.
2017-05-02 12:36:25 +02:00
Jaime van Kessel
134425db90
Merge branch '2.5' of github.com:Ultimaker/Cura
2017-03-16 11:27:54 +01:00
Jaime van Kessel
a170624ff1
Disabled the 2.5 upgrader
2017-03-16 11:26:50 +01:00
Ghostkeeper
94c607e785
Also tests whether the upgrade didn't remove any good settings
...
It shouldn't remove any settings that are not set for removing.
It's now also using the actual _removed_settings property to make sure that the test upgrades for the simple case of another removed setting.
Contributes to issue CURA-3479.
2017-03-13 14:08:56 +01:00
Ghostkeeper
ad0d0bbd96
Add test for removing settings from instance containers
...
Currently only the happy path. I plan to add tests whether the rest of the settings are still intact.
Contributes to issue CURA-3479.
2017-03-13 13:49:19 +01:00
Ghostkeeper
d866216f0c
Add tests for removed settings from preferences files
...
Contributes to issue CURA-3479.
2017-03-13 13:39:10 +01:00
Ghostkeeper
14faf1abad
Use correct naming scheme for functions
...
It needs to start with 'test_' for pytest. But otherwise it needs to follow our naming conventions for function names.
Contributes to issue CURA-3479.
2017-03-13 12:49:48 +01:00
Ghostkeeper
ce50a6ebf1
Add tests for cfg_version
...
These test if the output of cfg_version is as expected.
Contributes to issue CURA-3479.
2017-03-13 12:44:18 +01:00
Ghostkeeper
f15990e89c
Implement version upgrade from 2.4 to 2.5
...
The version upgrade currently only removes the setting start_layers_at_same_position.
Contributes to issue CURA-3479.
2017-03-13 12:42:25 +01:00
Ghostkeeper
74d6d879f7
Implement version upgrade from 2.4 to 2.5
...
The version upgrade currently only removes the setting start_layers_at_same_position.
Contributes to issue CURA-3479.
2017-03-10 16:58:58 +01:00
Simon Edwards
4ab6b74930
Fixed a bunch of error which were reported by PyCharm's code analysis.
2017-02-26 21:05:09 +01:00
Simon Edwards
cf85831d87
Also check the upgrade plugins.
2017-01-17 20:56:28 +01:00
Simon Edwards
fb70eb6813
Merge branch 'master' into python_type_hinting
2017-01-17 08:42:55 +01:00
Simon Edwards
38a7ffa7da
Some fixes regarding submodules and imports.
2017-01-16 21:35:28 +01:00
Simon Edwards
22012bdb1c
Show the Z seam related settings after upgrade. CURA-2953
2016-12-14 13:52:07 +01:00
fieldOfView
9250520628
Fix variant before definition_changes
2016-12-14 13:08:18 +01:00
fieldOfView
dcae7575e4
Fix extraneous empty ("") container being added
2016-12-14 13:07:12 +01:00
fieldOfView
2c79efd8bd
Fix [containers] items must be strings
2016-12-14 13:01:32 +01:00
Simon Edwards
d4619da358
Merge branch 'master' into python_type_hinting
2016-12-13 14:39:35 +01:00
fieldOfView
5718ca7852
Make sure definition_changes containers are not upgraded to stacks
2016-12-13 12:04:04 +01:00
Simon Edwards
81ffc3ae4b
Import 'os' directly because we use it directly, even though it still works with out it.
...
CURA-2953
2016-12-08 15:10:52 +01:00
Arjen Hiemstra
d3f58a049b
Add missing ":"
2016-12-08 13:22:24 +01:00
Arjen Hiemstra
c212014d88
Fix VersionUpgrade to handle both formats of ContainerStack files
...
Contributes to CURA-3098
2016-12-08 13:16:37 +01:00
Simon Edwards
e1d7a9faec
Properly support the extrauder trains.
...
CURA-2953 Version upgrade 2.3 to 2.4
2016-12-06 17:03:35 +01:00
Simon Edwards
724cc99f59
Make things neater.
...
CURA-2953 Version upgrade 2.3 to 2.4
2016-12-05 13:31:24 +01:00
Simon Edwards
3d9c27a7f7
CURA-2953 Version upgrade 2.3 to 2.4
2016-12-05 11:00:33 +01:00
Simon Edwards
98a6568313
Merge branch 'master' into python_type_hinting
2016-11-22 11:15:04 +01:00
Simon Edwards
14afd9eab7
Heaps to changes to get the Cura code through the type checker (with minimal checking).
...
CURA-2917
2016-11-21 21:36:08 +01:00
Jaime van Kessel
1a2138de5a
Moved warning to VersionUpgradeManager
...
CURA-2883
2016-11-21 11:21:20 +01:00
Jaime van Kessel
ac708d54b6
Importing invalid filetypes now gives proper error messages
...
CURA-2883
2016-11-18 16:46:54 +01:00
Arjen Hiemstra
bfec96f584
Set encoding to utf-8 when writing files
...
Since we assume utf-8 in a lot of places.
Contributes to CURA-2692
2016-10-24 14:28:20 +02:00
Ghostkeeper
2d41a992f1
Remove splitting profiles for each material
...
The material is no longer listed in the profiles and no longer filtered for, so we don't need to create a new profile for each material.
Contributes to issues CURA-844 and CURA-2320.
2016-10-06 11:41:39 +02:00
Ghostkeeper
7d57e90260
Remove debug statements
...
Oops.
Contributes to issue CURA-844.
2016-09-29 13:24:15 +02:00
Ghostkeeper
d29c817289
Actually apply translated settings
...
Don't know when this changed or why it hasn't propped up until then...
Contributes to issue CURA-844.
2016-09-29 11:56:46 +02:00
Ghostkeeper
4ec380ffd9
Quality-changes now have a quality_type instead of referring to quality
...
This field was just renamed, I think for CURA-2320. This updates the name for the upgrade process.
Contributes to issue CURA-844.
2016-09-27 15:12:29 +02:00
Ghostkeeper
3f85ac264c
Properly serialise the machine instance name
...
Otherwise we get spaces and unescaped plusses in the file name of the user profile.
Contributes to issue CURA-844.
2016-09-21 17:34:22 +02:00
Ghostkeeper
ebb9507083
Add extension to new file
...
The upgrade plug-in can do this because he know that he's upgrading to version 2.3.
Contributes to issue CURA-844.
2016-09-21 17:34:22 +02:00
Ghostkeeper
7d41c1dcb3
Give canonical name to user settings
...
All user profiles are named Current settings, so we should just give it the same name as well.
Contributes to issue CURA-844.
2016-09-21 17:34:22 +02:00
Ghostkeeper
d962cad347
Ensure directory exists to store user profile in
...
Create it if it doesn't exist. Also fix up the directory to be absolute instead of relative.
Contributes to issue CURA-844.
2016-09-21 17:34:22 +02:00
Ghostkeeper
c1a593c3d8
Create new user profile upon upgrading machine instance
...
This defines a new configuration type: 'user', for the user profile.
Contributes to issue CURA-844.
2016-09-21 17:34:22 +02:00
Ghostkeeper
d391639b48
Translate Fan Speed Full At Layer to one-based counting
...
All layer counts should increment by 1.
Contributes to issue CURA-2314.
2016-09-16 16:50:27 +02:00
Ghostkeeper
ef3b6905b7
Translate skin overlap properly
...
From this dict it also gets updated in other places, such as the preferences.
Contributes to issue CURA-844.
2016-09-15 12:47:39 +02:00
Ghostkeeper
c223044541
Don't modify original dict while iterating over it
...
Just store the results in a new dict and return that one.
2016-09-15 12:47:39 +02:00
Ghostkeeper
5c5d188889
Remove support_area_smoothing setting
...
Contributes to issue CURA-2296.
2016-09-14 15:41:32 +02:00