Commit Graph

119 Commits

Author SHA1 Message Date
David Carter
902af79514 Material: Material handling enhancements
Rework of the material handling system.

This first part concntrates on a rework of the material cards.
Rather than use a fixed list of possible properties, properties can
be defined separately in their own files and mixed to provide a
complete list of possible properties. Properties can be inherited.

The cards then provide values for the properties. These can also
be inherited allowing for small changes in cards as required.

The new property definitions are more extensive than previously.
2 and 3 dimensional arrays of properties can be defined. Values
are obtained by calling an API instead of reading from a dictionary.

For compatibility, a Python dictionary of values can be obtained
similar to how it was done previously, but this is considered a
deprecated API and won't support the newer advanced features.

The editor is completely reworked. It will be able to edit older format
material cards, but can only save them in the new format.

For testing during the development phase, a system preference can
specifiy wether the old or new material editors are to be used. This
option will be removed before release.
2023-09-25 11:04:01 -04:00
luzpaz
5e434e66c4 Ignore scanning src/Mod/Import/App/SCL_output in codespell
Follow-up to #10644   
`src/Mod/Import/App/SCL_output` is auto-generated and should be skipped by codespell.

ref: https://github.com/FreeCAD/FreeCAD/pull/10644#issuecomment-1713362858
2023-09-11 16:45:07 +02:00
Chris Hennes
604414f6b2 Add yaml-cpp dependency to sub_lint.yml 2023-09-02 08:43:16 -05:00
Chris Hennes
17c72a72f0 Update action.yml to use LibPack 0.21 V2.10 2023-09-01 13:00:26 -04:00
Kacper Donat
12b69703a9 GitHub: Better layout and description for Problem template
This commit updates description of Problem report issue template to be
more descriptive and to include what kinds of issues could be reported.
Field with description is moved to be second one so it will be rendered
on the top of issue instead of near the end.

Fixes #10448
2023-09-01 09:04:53 -04:00
Chris Hennes
ffbcca9292 CI: Fix syntax in labeler 2023-08-31 23:27:06 -05:00
luzpaz
0e7fc780bf labels.yml: Add Assembly workbench auto-tag back in
In lieu of #10427 which kickstarted Assembly development, we can add auto-tag assembly wb PRs again.
2023-08-31 21:43:25 -05:00
Chris Hennes
0f66b71878 CI: Add new test targets 2023-08-28 09:20:29 -05:00
Chris Hennes
2e6b8e2dfd Add libyaml-cpp-dev to Ubuntu 22.04 LTS CI 2023-08-27 00:22:40 -05:00
Chris Hennes
5cc46b2df3 Add libyaml-cpp-dev to Ubuntu 20.04 LTS CI 2023-08-27 00:22:40 -05:00
mosfet80
037c6827d9 Update ccache into action.yml 2023-08-27 00:22:30 -05:00
mosfet80
62b825ff4f Update labeler.yml
Switch to Node.js 16 by default.
version 3 is no longer maintained
2023-08-27 00:22:20 -05:00
Chris Hennes
2025ed1152 Remove the PR template text
Closes https://github.com/FreeCAD/FreeCAD/discussions/10196 and https://github.com/FreeCAD/FreeCAD/discussions/10195
2023-08-13 13:38:12 -07:00
sliptonic
4f3729b872 Remove the version select in the github issue template.
We already ask for the full version info so this is redundant.
Also, it requires updating every time there's a new version.
2023-08-05 09:45:48 -06:00
mosfet80
ec5ab6bc13 Update microsoft / setup-msbuild into sub_buildWindows.yml
microsoft/setup-msbuild from 1.1 to 1.3
2023-06-23 11:49:42 -04:00
0penBrain
b132a1e717 CI: typo + minor improvement 2023-05-14 21:47:40 +02:00
0penBrain
1a78d8b121 CI: report both failed and errored Python tests in summary 2023-05-14 21:47:40 +02:00
Chris Hennes
786630bff5 GitHub: Adjust Issue templates
As discussed in the developer meeting
2023-05-07 14:53:49 -05:00
0penBrain
b70558730b CI: improve code separation in C++ tests mechanism 2023-04-29 16:30:52 -05:00
Chris Hennes
a39c8ce8c3 Tests: Add Sketcher unit tests to CI
Co-authored-by: 0penBrain <48731257+0penBrain@users.noreply.github.com>
2023-04-27 07:49:42 -05:00
0penBrain
1c71b934f2 CI: fix failing unit test reported as passed in summary, fixes #9170 2023-04-26 18:05:14 +02:00
0penBrain
8e7f602d48 CI: remove pivy patching on Ubuntu 22.04 workflow
Problems have been fixed upstream
2023-04-13 14:56:38 +02:00
0penBrain
9aa23216ff CI: move libpack dir instead of copying it 2023-04-10 15:21:49 +02:00
0penBrain
cfcc9ffa4e CI: initial release of Windows build workflow 2023-04-03 19:40:52 +02:00
0penBrain
d61e539ef8 CI: fix a bug in cleaner when time has no decimal of seconds 2023-03-27 19:59:52 +02:00
0penBrain
c7a3fd0504 CI: remove trailing whitespace checks in Pylint
As they are already checked globally before
2023-03-26 19:45:19 +02:00
0penBrain
36e929a962 CI: enable CI cleaning for real 2023-03-26 17:53:34 +02:00
0penBrain
0f8ab2b161 CI: fix bug with codespell returning code being 65 when errors are found 2023-03-25 16:40:00 +01:00
0penBrain
c224882548 CI: limit to strictly needed when bash command is allowed to fail 2023-03-25 16:40:00 +01:00
0penBrain
3cf8a9c95f CI: update licencing texts 2023-03-23 15:39:41 +01:00
0penBrain
66a25cc488 CI: introduce cleanup workflow 2023-03-23 10:49:22 +01:00
0penBrain
775332e535 CI: minor improvements in texts 2023-03-17 19:50:12 +00:00
Uwe
de7d061f33 [Lint] remove checks for line endings
- there is no need to check for certain OS line endings, git handles them well apparently
2023-03-16 06:24:25 +01:00
Chris Hennes
d3c14f9cea CI: Run the C++ test suite as part of the GitHub CI
Refactors the tests to rename them to runPythonTests and runCPPTests.
2023-03-15 18:34:39 +00:00
0penBrain
3e8b6cb7be CI: Install dependencies + run Cmake before Cpp lints (needed for Clang tools)
+ Reorganize tests in logical order
2023-02-25 09:50:23 +01:00
0penBrain
ceb45a9a1b CI: improve tests reporting (extract failed tests + uncaught tracebacks) 2023-02-17 08:08:40 -06:00
0penBrain
27b5c17cf3 CI: add crash dumps to log artifacts for Linux builds 2023-02-17 08:08:40 -06:00
0penBrain
e6a23b2251 CI: uniformize sed usage 2023-02-17 08:08:40 -06:00
0penBrain
f3c06c3a55 CI: improve reporting for line endings check 2023-02-17 08:08:40 -06:00
0penBrain
33bf8f2f02 CI: fix a bug in getting codespell problem count 2023-02-17 08:08:40 -06:00
0penBrain
e9233d29c8 CI: improve Prepare reporting by using 'continue-on-error' for silent failing 2023-02-17 08:08:40 -06:00
0penBrain
5da1446704 CI: improve Lint reporting by using 'continue-on-error' for silent failing 2023-02-17 08:08:40 -06:00
0penBrain
9d50f4496b CI: Improve Cmake build reporting, print built targets (and only this) 2023-02-17 08:08:40 -06:00
0penBrain
4e0004fb67 CI: Improve Cmake configure reporting, print full config (and only this) 2023-02-17 08:08:40 -06:00
0penBrain
e68b47f501 CI: print Cmake configure error log only in case it failed 2023-02-17 08:08:40 -06:00
0penBrain
5a2f7970c2 CI: add specific timeouts to test actions 2023-02-17 08:08:40 -06:00
0penBrain
96f82821ba CI: improve logging for configure, build and install steps
* Line buffering for stdout and stderr to better preserve log order
 * Full log now contains both stdout and stderr to keep errors in context
2023-02-13 11:27:26 +01:00
0penBrain
e49677b6b5 CI: factorize CMake install step in Linux builds 2023-02-13 11:27:26 +01:00
0penBrain
5d2e3af349 CI: factorize CMake build step in Linux builds 2023-02-13 11:27:26 +01:00
0penBrain
5b426d74a8 CI: factorize CMake configuration in Linux builds 2023-02-13 11:27:26 +01:00