45 Commits

Author SHA1 Message Date
Remco Burema
0232b4f639 Upgrade SDK version to 8.0.0 for Cura 5.0 2022-04-20 10:57:38 +02:00
Remco Burema
8aa071056b
Now unused API field only took integers originally.
We want to keep it this way so people can still make plugins work for older versions of Cura, like 3.6, where the 'api' field with just a single major version, instead of the 'supported_sdk_versions', which can be either a version-string like '7.6.0' or a list of version strings.
2021-06-17 11:15:33 +02:00
Remco Burema
04002056ae
Update SDK/API from 7.5.0 to 7.6.0 for 4.10
CURA-8320
2021-06-15 16:08:07 +02:00
Ghostkeeper
08be77adad
Increment SDK version to 7.5.0
The Cura 4.9 release will have expanded functionality. If you have a plug-in that uses this functionality, marking it as using SDK 7.5.0 will notify older Cura releases that they can't use that plug-in.
2021-04-06 13:28:08 +02:00
Kostas Karmas
03dc8d00fe Up the SDK version to 7.4.0
In preparation for release of the 4.8.

CURA-7795
2020-10-22 11:29:25 +02:00
Kostas Karmas
bd54ef8d5a Update the SDK version to 7.3.0 for 4.7
CURA-7641
2020-08-07 11:12:27 +02:00
Nino van Hooff
89f0970a88 Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
Nino van Hooff
bb2a176e36 Convert doxygen to rst for VersionUpgrades 40+ 2020-05-28 16:21:49 +02:00
Jaime van Kessel
de7e3f824d
Move the getCfgVersion to base version upgrade
They can still be overridden, but in the current situation they were
all the same...
2020-04-22 11:30:35 +02:00
Nino van Hooff
7302e8ba7f Update missed sdk versions from 7.1 to 7.2.0 for Cura 4.6
CURA-7383
2020-04-21 11:46:12 +02:00
Ghostkeeper
6f707f3149
Bump SDK version number of Cura 4.5 to 7.1
We've added new things to our API. This allows plug-in developers to use them.

Contributes to issue CURA-7205.
2020-02-10 10:45:07 +01:00
Ghostkeeper
824dd59e76
Code style: Spaces around binary operators 2019-12-23 16:22:16 +01:00
Dimitriovski
74d919a5d2 Prevent deleting comments from Start/End G-codes by changing the comment_prefixes in ConfigParser
CURA/6994
2019-12-03 14:40:54 +01:00
Jaime van Kessel
ad85e29c0a
Fix stupid identation issue 2019-11-04 13:11:46 +01:00
Jaime van Kessel
aa5b788b59
Fix issue with profiles getting added to non creality printers in upgrade 2019-11-04 11:30:48 +01:00
Nino van Hooff
c62ff262ed Change SDK version to 7.0.0
CURA-6858
2019-10-21 14:51:34 +02:00
Lipu Fei
bbde75491d Fix version number in upgrade from 4.1 to 4.2 2019-09-13 10:52:41 +02:00
Jaime van Kessel
e9862fb348
Move version upgrade for intents from 4.1-4.2 to 4.3-4.4
CURA-6599
2019-09-10 10:57:25 +02:00
Ghostkeeper
20201c65e6
Merge branch 'master' into feature_intent
Conflicts:
	resources/bundled_packages/cura.json -> 4.1 to 4.2 upgrade package added simultaneously
	tests/TestMachineManager.py -> Due to changes in conftest.py
	tests/conftest.py -> Simultaneously expanding the magic mocks to have some correct properties
2019-08-13 14:43:28 +02:00
Ghostkeeper
e5ebbdd62f
Remove debugging statements
Contributes to issue CURA-6696.
2019-07-31 14:34:07 +02:00
Ghostkeeper
65b28f228b
Fix missing comma
Otherwise it would concatenate the two strings, leading to both of them effectively missing from the set.
2019-07-31 14:22:23 +02:00
Ghostkeeper
5cf4cd03cf
Fix importing profiles for CR10s
It was somehow missing from this list. An oversight.

Fixes #6083.
2019-07-31 14:18:44 +02:00
Jaime van Kessel
ee05dc7b47 Minor codestyle fixes 2019-07-19 10:55:22 +02:00
Jaime van Kessel
b8d27b9ce3 Fix definition_changes not being updated properly
CURA-6667
2019-07-19 10:53:11 +02:00
Jaime van Kessel
7d446722a9 Remove the max-z-speed-override
CURA-6625
2019-07-03 16:13:21 +02:00
Lipu Fei
7f824b06bb Fix typing 2019-07-03 09:09:23 +02:00
Ghostkeeper
bb6e9da526
Fix upgrading custom quality profiles for Creality printers
Quite a lot of logic necessary... Oh well.

Contributes to issue CURA-6554.
2019-07-02 16:39:56 +02:00
Ghostkeeper
d5da6e34be
Add version upgrade for Creality printers and CreawsomeMod
This should work for both.

Contributes to issue CURA-6554.
2019-07-02 16:00:06 +02:00
Ghostkeeper
aea5e50401
Stacks are upgraded to a higher version number
So indicate to the plug-in metadata that they are.
2019-06-19 13:14:02 +02:00
Ghostkeeper
91767cf81f
Fix merge conflict 2019-06-19 13:12:42 +02:00
Ghostkeeper
5ab1881a21
Merge branch 'master' into feature_intent
Conflicts:
	plugins/VersionUpgrade/VersionUpgrade41to42/VersionUpgrade41to42.py -> There is a new version upgrade in master, so the old one is sort of obsolete. We may have to move this part to a new version upgrade for 4.3.
	plugins/VersionUpgrade/VersionUpgrade41to42/__init__.py
2019-06-19 13:10:36 +02:00
Lipu Fei
d1e7648f0e Fix merge conflicts 2019-06-18 09:45:06 +02:00
Lipu Fei
927135e0da Fix typing
CURA-6460
2019-06-17 13:44:08 +02:00
Lipu Fei
42b1e4f8f6 Fix typing
CURA-6311
2019-06-17 08:48:15 +02:00
Ghostkeeper
a55cc6fade
Also remove removed keys from visible settings
It's listed among the setting keys that you explicitly made visible.

Contributes to issue CURA-6460.
2019-06-12 13:36:40 +02:00
Ghostkeeper
056afdde5f
Merge branch 'rename_minimum_diameter' into CURA-6460_remove_square_tower
Conflicts:
	plugins/VersionUpgrade/VersionUpgrade41to42/VersionUpgrade41to42.py -> Change there that needed to be merged here, but we had changed lines around it.
2019-06-12 13:34:59 +02:00
Ghostkeeper
2fb722b287
Apply changed visible settings to preferences file
Otherwise the change will not be made to the actual file, just in memory.

Contributes to issue CURA-6311.
2019-06-12 13:32:43 +02:00
Ghostkeeper
a82e4bbb0b
Remove setting from 'values' category
Oops.

Contributes to issue CURA-6311.
2019-06-12 13:31:30 +02:00
Ghostkeeper
cf9f97e897
Merge branch 'rename_minimum_diameter' into CURA-6460_remove_square_tower
Conflicts:
	plugins/VersionUpgrade/VersionUpgrade41to42/VersionUpgrade41to42.py -> Both had a version upgrade implementation.
	plugins/VersionUpgrade/VersionUpgrade41to42/__init__.py -> Both had a version upgrade implementation.
2019-06-12 13:03:05 +02:00
Ghostkeeper
5fcb59d9fc
Also rename setting in list of visible settings
Yeah, that's why the preferences file had a setting version number...

Contributes to issue CURA-6311.
2019-06-12 12:55:33 +02:00
Ghostkeeper
4f954f18bd
Remove unnecessary updating of main version number
Contributes to issue CURA-6311.
2019-06-11 17:45:08 +02:00
Ghostkeeper
489b9c4c53
Add version upgrade for version 4.1 to 4.2
This is necessary for the renamed setting.

Contributes to issue CURA-6311.
2019-06-11 17:44:04 +02:00
Lipu Fei
9911f98deb Add version upgrade 4.1 to 4.2
CURA-6460
2019-06-06 13:11:56 +02:00
Jaime van Kessel
728d8c3141 Add test for VersionUpgrade41to42 2019-06-03 16:22:54 +02:00
Jaime van Kessel
7cc4ac741c Add version upgrade that adds empty intent profile to the stacks
CURA-6534
2019-06-03 11:49:03 +02:00