Commit Graph

29854 Commits

Author SHA1 Message Date
Floriansimmer
4662503d42 Ci v2 (#7282)
* Github: Build and Test

Build and Test:
- ccache
- build
- Unittest
- install
- Unittest of install
- report

misc:
- use .clang-tidy file to configure Clang-tidy checks
- use use .pylintrc to configure Pylint checks
- Update changed-files Action
- better regex for file extension filter
- show enabled clang-tidy checks in Step Report
- show enabled Pylint Checks
- cpplint filter documentation
- modified cpplint filters recomended by https://github.com/sider/runners/blob/HEAD/images/cpplint/sider_recommended_CPPLINT.cfg
- fixed Branch filter for Clazy QT6 checks --> has only worked on pull requests
- fail the CI only on Build  errors, Unittest errors and misspellings

* Github: remove Codespell action as it is now integrated into the check workflow
2022-07-30 22:29:29 +02:00
Adrian Insaurralde Avalos
ecbd151b11 Remove unused conda files and PKGBUILD [skip ci] 2022-07-30 19:26:33 +02:00
Zheng, Lei
181d3f5536 Gui: fix ViewProviderLink transform with scale
Fixes FreeCAD/FreeCAD#7113
2022-07-30 19:12:03 +02:00
Uwe
a4708192b0 [App] Application: add a comment
- also some style fixes by MSVC
2022-07-30 19:09:32 +02:00
Uwe
e7dd0528ae [App] Application: revert init sorting
- apparently the order of initialization matters.
2022-07-30 18:59:51 +02:00
Uwe
790bf5363e [App] sort properties
- to quickly get an overview
2022-07-30 17:34:36 +02:00
wmayer
2e3f3bab7e Base: [skip ci] use Precision class in Rotation::makeRotationByAxes 2022-07-30 17:21:59 +02:00
wmayer
923de19044 Base: add Precision class 2022-07-30 17:16:28 +02:00
wmayer
bd5ef26536 Base: add Precision class
and move the Python binding from Part to Base module
2022-07-30 17:10:56 +02:00
Uwe
3811685826 [Gui] [skip CI] PropertyItem: some .clang spacing uniformication
- automatically done by MSVC
2022-07-30 15:32:08 +02:00
Uwe
548cab1fd8 [FEM] Elmer: add missing direct variant MUMPS
- also use capitalized wording to Umfpack as Elmer does
2022-07-30 14:40:10 +02:00
luz paz
69a4a49f3d PD: Remove unnecessary semicolons in FeatureHole.py
Discovered through github action check.  
[skip ci]
2022-07-30 13:17:18 +02:00
wmayer
84eb5fe9e2 App: fixes #7277: Write to network drive fails on Windows 2022-07-30 12:11:14 +02:00
luzpaz
82cdbebe97 PD: Fix 'testing inequality to None' syntax (#7279)
* PD: Fix 'testing inequality to None' syntax

- Substitute `is not None` for `!= None`
- Fix trailing whitespace
2022-07-30 04:01:40 +02:00
Uwe
1b5285bebd [Gui] move a NaviCube parameter to the NaviCube parameter group
- at the moment some NaviCube parameters are in the general View group, some in the dedicated NaviCube group
2022-07-30 00:50:12 +02:00
luzpaz
d35400aae3 Arch: Fix 'testing inequality to None' syntax (#7274)
* Arch: Fix 'testing inequality to None' syntax 

- Substitute `is not None` for `!= None`
-Trim trailing whitespace on touched files
2022-07-30 00:28:20 +02:00
luzpaz
1ef31f40f5 Draft: Fix 'testing inequality to None' syntax (#7275)
* Draft: Fix 'testing inequality to None' syntax 

- Substitute `is not None` for `!= None`
- Trim trailing whitespace on touched files
2022-07-30 00:26:56 +02:00
Uwe
6ea36b25ae [Part] [skip CI] SectionCutting: silence MSVC compiler warning
- also fix a typo
2022-07-30 00:20:30 +02:00
Benjamin Bræstrup Sayoc
79d4c1556f [TechDraw] Improve readability of DrawWeldSymbol.cpp 2022-07-29 14:39:21 -04:00
Benjamin Bræstrup Sayoc
811b85caeb [TechDraw] Improve readability of DrawViewSpreadsheet.cpp 2022-07-29 14:39:21 -04:00
wmayer
e48a3a8cea Mod: [skip ci] fix warning: [-Wreturn-std-move] 2022-07-29 18:55:10 +02:00
wmayer
54076efb64 Part: [skip ci] fix typo 2022-07-29 18:50:35 +02:00
Yorik van Havre
042d6df669 Arch: Removed leftover debug messages 2022-07-29 14:01:56 +02:00
wmayer
9b165e6fca App: fixes #7112: Addon manager does not work on windows with special characters in the username 2022-07-29 12:43:05 +02:00
mosfet80
d67ebd7058 Delete .log_errors
remove unused file
2022-07-29 10:53:31 +02:00
Uwe
505387d6fa [Travis] remove Travis
we are not using it anymore
2022-07-29 02:23:15 +02:00
Uwe
666fab995e [TD] silence a MSVC compiler warning
- as suggested here: https://forum.freecadweb.org/viewtopic.php?p=613409#p613409
2022-07-29 02:21:21 +02:00
Uwe
d4c60abf70 [Sketcher] fix icon name
- fix a FIXME, Sketcher_CreateEllipse depicts already the right thing, it just has to be renamed
2022-07-29 01:26:00 +02:00
Chris Hennes
700d282301 Addon Manager: pylint cleanup for install_to_toolbar 2022-07-28 15:58:33 -05:00
Chris Hennes
574bf49c61 Addon Manager: pylint cleanup of NetworkManager 2022-07-28 15:29:53 -05:00
Benjamin Bræstrup Sayoc
e8e1050620 [TechDraw] Make projection group test a unittest 2022-07-28 14:51:50 -04:00
Benjamin Bræstrup Sayoc
48661cd3c7 [TechDraw] Fix making template bug for tests 2022-07-28 14:51:50 -04:00
Benjamin Bræstrup Sayoc
6893938f2a [TechDraw] Make balloon test a unittest 2022-07-28 14:51:50 -04:00
Benjamin Bræstrup Sayoc
36f50665fe [TechDraw] Make section view test a unittest 2022-07-28 14:51:50 -04:00
Benjamin Bræstrup Sayoc
337b40f846 [TechDraw] Make view test a unittest 2022-07-28 14:51:50 -04:00
Benjamin Bræstrup Sayoc
cf8e3f8eda [TechDraw] Make dimension test a unittest 2022-07-28 14:51:50 -04:00
wmayer
b43784c6e2 Gui: [skip ci] mkae sure the tooltip in ActionGroup::onActivated() disappears again 2022-07-28 16:33:27 +02:00
Wanderer Fan
54ce3d0fc3 [TD]fix redraw does not paint all views 2022-07-28 09:16:03 -04:00
Wanderer Fan
0805d284d5 [TD]fix Symbol update on property change 2022-07-28 09:16:03 -04:00
wmayer
91cffca077 App: use namespace prefix for classes in Base 2022-07-28 14:18:12 +02:00
Yorik van Havre
76aeaab4b0 Arch: added ExclusionNames property to Shape2DViews 2022-07-28 14:09:41 +02:00
wmayer
9ad8486a25 Base: replace C macro with function and lambda expressions 2022-07-28 13:49:03 +02:00
marioalexis
eccf4fed96 Base: Clean up code and improve docstrings in Python Console module 2022-07-28 13:30:01 +02:00
Uwe
c14347ce41 * [.github] extend cpplintFilters with -readability/todo
The formatting of a Todo can be ignored
2022-07-28 03:07:06 +02:00
andrea
b420901697 Remove 2 deprecate PyCFunction 2022-07-28 01:50:15 +02:00
Chris Hennes
be2a8a679c Addon Manager: pylint cleanup of manage_python_dependcies.py 2022-07-27 15:58:12 -05:00
Chris Hennes
802993dc5d Addon Manager: Clean up Addon.py based on pylint 2022-07-27 15:40:03 -05:00
wmayer
b1856f3603 [.github] extend cpplintFilters with -build/include_order 2022-07-27 19:18:12 +02:00
wmayer
fc8842aea4 Fem: use 'using' instead of 'typedef' [modernize-use-using] 2022-07-27 19:11:05 +02:00
wmayer
d0791a9494 Base: help clazy with export macro 2022-07-27 19:09:56 +02:00