29201 Commits

Author SHA1 Message Date
j.spijker@ultimaker.com
d275ad37f8 Remove user and channel
Even though we had to patch these recipes, the user/channel
shouldn't be necesary any more because of the order in which
our remotes are defined in the conan-config repo. It will
first look into our own remotes, before going over to
conan-center-index.

Once the packages upstream are fixed for us, then we can use
the conan-center-index packages again, without changing the
code.

Contributes to CURA-9365
2022-06-21 07:52:27 +02:00
j.spijker@ultimaker.com
a31124673b Compile libffi and mpdecimal statically on Windows
Contributes to CURA-9365
2022-06-19 19:08:24 +02:00
j.spijker@ultimaker.com
0fb8d62825 Use patched recipes for cpython, mpdecimal, tk, tcl
Once upstream recipes are fixed these can be removed again.
export the changes for now
```
# Export patched conan-center-index recipes, I will open PR's for all of those
git clone https://github.com/jellespijker/conan-center-index.git
pushd .
cd conan-center-index

git checkout fix_tcl_recipe_env_info
conan export recipes/tcl/all tcl/8.6.10@ultimaker/testing

git checkout fix_tk_recipe_env_info
conan export recipes/tk/all tk/8.6.10@ultimaker/testing

git checkout fix_mpdecimale_recipe_not_use_msys
conan export recipes/mpdecimal/2.5.x mpdecimal/2.5.1@ultimaker/testing

git checkout add_3_10_4_version_cpython
conan export recipes/cpython/all cpython/3.10.4@ultimaker/testing
```

Contributes to CURA-9365
2022-06-19 14:59:36 +02:00
j.spijker@ultimaker.com
05191af96f set mpdecimal cxx option to false on windows
the combination of compiling it shared and with cxx is invalid
on Windows. We don't use the cxx capabilities of mpdecimal

Contributes to CURA-9365
2022-06-19 14:34:26 +02:00
j.spijker@ultimaker.com
74bd183869 Use cpython 3.10.4
See branch in fork conan-center-index
https://github.com/jellespijker/conan-center-index/tree/add_3_10_4_version_cpython

Contributes to CURA-9365
2022-06-19 14:03:16 +02:00
j.spijker@ultimaker.com
23501a8fdb Update README
- Add banners
- remove old chat channels
- Mention ExtensiveSupportLogging plugin

Contributes to CURA-9365
2022-06-18 20:01:42 +02:00
j.spijker@ultimaker.com
229e548e1d Add Conan generated deps graph for documentation
Contributes to CURA-9365
2022-06-18 17:20:45 +02:00
j.spijker@ultimaker.com
bfa5c440bf Use Conan CPython
This should make things more agnostic.
although technically not needed for Uranium
and already implicitly defined as a requirement
of pyArcus. I think it is good to include this
requirement here as well. For Unit Testing etc.

Contributes to CURA-9365
2022-06-18 16:49:34 +02:00
j.spijker@ultimaker.com
ac6f939db3 Use Conan CPython package
Now all our deps are compiled with the same flags.
This should help to make it more agnostic over the
systems.

Contributes to CURA-9365
2022-06-18 16:44:07 +02:00
j.spijker@ultimaker.com
dce96a6abd Add a custom export-pkg option
Repo's such as fdm_materials and cura-binary-data don't
need to build we can just export pre-build binaries
and files with the recipe

Contributes to CURA-9365
2022-06-18 14:44:46 +02:00
j.spijker@ultimaker.com
0713960482 Fixed couple of mistakes in conandata
Contributes to CURA-9365
2022-06-18 11:51:41 +02:00
j.spijker@ultimaker.com
29ddfe1352 Make the entrypoint and icon path relative from source
Contributes to CURA-9365
2022-06-18 11:39:49 +02:00
j.spijker@ultimaker.com
dfc0f9b31f Use UMBaseConanfile for reusable functions
Added a recipe in the conan-ultimaker-index repo,
which contains a conanrecipe that can be loaded
as a python_requires.

This allows us to reuse python code over multiple
recipes, see: https://docs.conan.io/en/latest/extending/python_requires.html

Contributes to CURA-9365
2022-06-18 11:35:20 +02:00
j.spijker@ultimaker.com
4c1262d9d3 Add conan generated files to the .gitignore
Contributes to CURA-9365
2022-06-18 00:31:45 +02:00
j.spijker@ultimaker.com
eb8e119e5c Using node-semver to validate version in conandata
Still not sure if this is the best approach.

Contributes to CURA-9365
2022-06-18 00:29:15 +02:00
j.spijker@ultimaker.com
17d1d95217 Add the conan-package workflow
Contributes to CURA-9365
2022-06-17 18:15:14 +02:00
j.spijker@ultimaker.com
aaed543a22 Add entrypoint info to conandata
With the new PyCharmRunEnv generate conan
should automatically create a pycahrm run
target, setting the paths correctly.

Usage as: `conan instal ....... -g PyCharmRunEnv`

Contributes to CURA-9365
2022-06-17 18:12:22 +02:00
Jelle Spijker
f6aa409701 Merge remote-tracking branch 'origin/5.1' into CURA-9365_fix_building_cura_main 2022-06-17 10:01:04 +02:00
j.spijker@ultimaker.com
f9447edf47 Remove materials before import
This ensures that there won't be any old materials present
if they're deleted between versions.

Contributes to CURA-9365
2022-06-17 08:22:30 +02:00
j.spijker@ultimaker.com
e6bfea7c81 import fdm_materials
Contributes to CURA-9365
2022-06-17 07:59:05 +02:00
j.spijker@ultimaker.com
8d03f0c665 Use Cura source folder for pyinstaller
Contributes to CURA-9365
2022-06-17 07:33:08 +02:00
j.spijker@ultimaker.com
2044ff2d6a import the fdm_materials
Contributes to CURA-9365
2022-06-17 07:32:18 +02:00
j.spijker@ultimaker.com
cd3bb71f6f Use semver compatible range modifier
https://docs.conan.io/en/latest/versioning/version_ranges.html

It won't match build metadata otherwise.

The order of search for matching versions is as follows:

First, the local conan storage is searched for matching versions, unless the --update flag is provided to conan install.
If a matching version is found, it is used in the dependency graph as a solution.
If no matching version is locally found, it starts to search in the remotes, in order. If some remote is specified with -r=remote, then only that remote will be used.
If the --update parameter is used, then the existing packages in the local conan cache will not be used, and the same search of the previous steps is carried out in the remotes. If new matching versions are found, they will be retrieved, so subsequent calls to install will find them locally and use them.

Contributes to CURA-9365
2022-06-17 07:19:53 +02:00
j.spijker@ultimaker.com
6cbc9aaa38 Use only pip in conan requirements
No longer download and mess with sources from
other repo's.

Created Conan packages for cura-binary-data,
fdm_materials and uranium.

Charon is installed with pip. I had to create
a separate requirement file for that since
you can't mix and match git and hashes.

Contributes to CURA-9365
2022-06-16 19:55:56 +02:00
Casper Lamboo
50a3511496
Merge pull request #12542 from Ultimaker/CURA-8849_intent_selection_fixes
[CURA-8849] Intent selection fixes
2022-06-16 15:55:32 +02:00
j.delarago
9dff733345 Remove todos that are no longer applicable
Remove debug print statement

CURA-9321
2022-06-16 15:32:33 +02:00
j.delarago
1a464051d4 On initial startup, when assigning your first printer the ActiveIntentQualitiesModel.py would not be updated. Causing an error unsupported configuration to show.
Fixed by updating the model when the globalContainer is changed as well.

CURA-8849
2022-06-16 14:27:13 +02:00
j.delarago
cc58b362fc Add text wrapping for very long custom profile names.
CURA-8849
2022-06-16 14:19:39 +02:00
j.delarago
0fb2b46677 Intent button was showing when only a single intent is available.
This was caused by visible being overridden.

CURA-8849
2022-06-16 14:05:39 +02:00
j.delarago
1e0236e317 Remove left margins which don't align with the intended design.
CURA-8849
2022-06-16 13:56:46 +02:00
j.delarago
689547f125 We are using recommendedResolutionSelector._previousResolution to see if the resolution had changed before highlighting the resolution selector. This updates when intents change but not when qualities change.
I tried updating when the qualities change but this was updating before this line
if(recommendedResolutionSelector._previousResolution !== Cura.MachineManager.activeQualityType)
which caused this always to resolve as true

The solution was to update _previousResolution after we select an item in the drop down.

CURA-8849
2022-06-16 13:49:30 +02:00
j.delarago
1e5f6bce72 Increase margins on warning to match design
CURA-8849
2022-06-16 13:23:50 +02:00
j.delarago
7d8fdf8bdd Items in intent selection settings column were not filling width, the result of this was any item with more than one child would have these children squished together.
Fix is to have the children fill their width

CURA-8849
2022-06-16 13:12:36 +02:00
Joey de l'Arago
88168bc0e1
Merge pull request #12532 from Ultimaker/PP-116_clean-up-DD-variant-profile
Pp 166 clean up dd variant profile
2022-06-16 11:08:50 +02:00
Jelle Spijker
b8a4243e26 Merge branch 'main' into CURA-9365_fix_building_cura_main 2022-06-16 10:48:41 +02:00
Jaime van Kessel
ac32f3b625
Merge pull request #12530 from Ultimaker/CURA-8610_save_required_packages_metadata
[CURA-8610] save required packages metadata
2022-06-16 10:47:06 +02:00
j.delarago
8c92ebfccd Add missing import
CURA-8849
2022-06-16 10:41:06 +02:00
Jelle Spijker
d9b9959346 Merge branch 'main' into CURA-9365_fix_building_cura_main 2022-06-16 09:54:20 +02:00
j.spijker@ultimaker.com
8ce661b062 Add GitVersion
Contributes to CURA-9365
2022-06-16 09:54:03 +02:00
Jaime van Kessel
d30afb6647
Merge pull request #12534 from StuSerious/main
Enhance CITATION.cff
2022-06-16 09:29:10 +02:00
j.spijker@ultimaker.com
b364f512d8 Use string as type for body
Contributes to CURA-9365
2022-06-16 07:16:47 +02:00
j.spijker@ultimaker.com
377fdf27e8 Add a notify reusable workflow
For now it just contains a slack hook
but in the future, it could contain
other channels.

Contributes to CURA-9365
2022-06-16 07:04:47 +02:00
j.spijker@ultimaker.com
81b3cc44ce Also build latest on CURA-8160
Contributes to CURA-9365
2022-06-16 06:39:03 +02:00
j.spijker@ultimaker.com
215f487978 Workaround for no remote atm
Our Free tier server has reached it's limit.
This should ensure that we don't use or
ultimaker server. Once the new infrastructure
is in place we should revert this

Contributes to CURA-9365
2022-06-16 06:36:50 +02:00
Jelle Spijker
09a52d93d6 Revert "Allow for a bool to only build from local cache"
This reverts commit e1fcca3d9cf6f40859cafb7875d9fed93ebcfaf0.
2022-06-16 06:23:05 +02:00
Jelle Spijker
5b143234b5 Revert "Allow for a bool to only build from local cache"
This reverts commit ce790c9da971f28fc6c135d6890fc0c9e409afe2.
2022-06-16 06:23:05 +02:00
j.spijker@ultimaker.com
ce790c9da9 Allow for a bool to only build from local cache
This is a workaround to allow further development of this Action
until we have the JFrog server up and running.

Contributes to CURA-9365
2022-06-16 06:18:47 +02:00
j.spijker@ultimaker.com
e1fcca3d9c Allow for a bool to only build from local cache
This is a workaround to allow further development of this Action
until we have the JFrog server up and running.

Contributes to CURA-9365
2022-06-16 06:14:05 +02:00
j.spijker@ultimaker.com
d64e20c71d No need to check hash on build tool
Contributes to CURA-9365
2022-06-15 19:58:34 +02:00
j.spijker@ultimaker.com
e717c6572c Fixed wrong word seperator
Contributes to CURA-9365
2022-06-15 19:55:55 +02:00