Commit Graph

29875 Commits

Author SHA1 Message Date
Uwe
c2eee172eb [App] [skip CI] Document: some .clang style fixes
- for better readability
2022-07-31 17:14:43 +02:00
berniev
d6bd08248f App: Use https 2022-07-31 17:11:14 +02:00
Uwe
4a030cd949 [FEM] remove unneeded checks for Python 3
since we only support Python >=3, these checks can go
2022-07-31 15:36:54 +02:00
Uwe
c5a7e13172 [Part] ViewProvider: 2 to M: remove unused includes 2022-07-31 15:36:20 +02:00
Uwe
6de14cd3a0 [Part] ViewProvider: P to T: remove unused includes 2022-07-31 14:55:19 +02:00
luz paz
bf030f76aa Fix various 'testing inequality to None' syntax issues
Substitute `is not None` for `!= None`
2022-07-31 14:11:48 +02:00
berniev
ba5c312a58 remove redundant void from Base 2022-07-31 14:10:34 +02:00
wmayer
9ddbecb864 Fem: implement a selection observer to notify a ViewProviderFemPostObject when its selection status has changed 2022-07-31 14:01:23 +02:00
wmayer
08d9d73e18 Gui: [skip ci] modernize QuantitySpinBox class 2022-07-31 13:59:28 +02:00
berniev
85170b2879 remove redundant void 2022-07-31 10:27:44 +02:00
Uwe
474981d7b6 [Test] remove unnecessary Python check
we only support Python 3
2022-07-31 05:28:47 +02:00
Uwe
6943408cb2 [Spreadsheet] remove unnecessary Python check
we only support Python 3
2022-07-31 05:28:19 +02:00
Uwe
4dd623466d [PD] remove unnecessary Python check
we only support Python 3
2022-07-31 05:27:45 +02:00
Uwe
d1332def5c [Path] remove unnecessary Python check
we only support Python 3
2022-07-31 05:27:03 +02:00
Uwe
0c02c28cf4 [SCAD] remove unnecessary Python 3 check
we only support Python 3
2022-07-31 05:26:03 +02:00
Uwe
bb667b516f [FEM] Elmer: fix small number property handling
- use an expression as discussed: https://forum.freecadweb.org/viewtopic.php?p=613897#p613897
2022-07-31 05:19:45 +02:00
luz paz
aec90797b4 Fix various 'testing inequality to None' syntax issues
Substitute `is not None` for `!= None`
2022-07-30 22:41:31 -04:00
Chris Hennes
0f1d9e35e7 Addon Manager: Add other_files download for wiki macros 2022-07-30 21:31:26 -05:00
Uwe
f532fa9a1b [FEM] Elmer: fix eigenmode results for point filter
Elmers' eigenmode results have a different result name
2022-07-31 04:30:31 +02:00
Uwe
5107590917 [FEM] add missing eigenfrequcy calculation for Elmer
- while for CCX we output the eigenfrequency, for Elmer the user had to perform the calculation of a sqrt of the complex result.
This is inconvenient and error-prone and also requires the knowledge where the result is output by Elmer and in what format. (cast me more than an hour to find this out)
Therefore perform the calculation for the user and output the result.
2022-07-31 02:31:26 +02:00
Uwe
cbf3de264f [FEM] utils: remove unused import 2022-07-31 02:08:16 +02:00
Floriansimmer
9bdd6d9ce9 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
522a7b3225 Remove unused conda files and PKGBUILD [skip ci] 2022-07-30 19:26:33 +02:00
Zheng, Lei
c443b8de53 Gui: fix ViewProviderLink transform with scale
Fixes FreeCAD/FreeCAD#7113
2022-07-30 19:12:03 +02:00
Uwe
8d41fdb1c4 [App] Application: add a comment
- also some style fixes by MSVC
2022-07-30 19:09:32 +02:00
Uwe
0fc5e7405e [App] Application: revert init sorting
- apparently the order of initialization matters.
2022-07-30 18:59:51 +02:00
Uwe
35e50597f4 [App] sort properties
- to quickly get an overview
2022-07-30 17:34:36 +02:00
wmayer
8abd40a788 Base: [skip ci] use Precision class in Rotation::makeRotationByAxes 2022-07-30 17:21:59 +02:00
wmayer
b4719a3fb3 Base: add Precision class 2022-07-30 17:16:28 +02:00
wmayer
7628569b43 Base: add Precision class
and move the Python binding from Part to Base module
2022-07-30 17:10:56 +02:00
Uwe
ed009d500c [Gui] [skip CI] PropertyItem: some .clang spacing uniformication
- automatically done by MSVC
2022-07-30 15:32:08 +02:00
Uwe
52b2bc6e38 [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
ca52b33763 PD: Remove unnecessary semicolons in FeatureHole.py
Discovered through github action check.  
[skip ci]
2022-07-30 13:17:18 +02:00
wmayer
fb49e0da89 App: fixes #7277: Write to network drive fails on Windows 2022-07-30 12:11:14 +02:00
luzpaz
ef3324fa9e 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
ef81bdfd42 [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
673181a747 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
95070bded4 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
922f6b83d6 [Part] [skip CI] SectionCutting: silence MSVC compiler warning
- also fix a typo
2022-07-30 00:20:30 +02:00
Benjamin Bræstrup Sayoc
abaee2d0fe [TechDraw] Improve readability of DrawWeldSymbol.cpp 2022-07-29 14:39:21 -04:00
Benjamin Bræstrup Sayoc
692838bd53 [TechDraw] Improve readability of DrawViewSpreadsheet.cpp 2022-07-29 14:39:21 -04:00
wmayer
8fb716643c Mod: [skip ci] fix warning: [-Wreturn-std-move] 2022-07-29 18:55:10 +02:00
wmayer
fc72a7979b Part: [skip ci] fix typo 2022-07-29 18:50:35 +02:00
Yorik van Havre
a5c64777b1 Arch: Removed leftover debug messages 2022-07-29 14:01:56 +02:00
wmayer
c5a0f64f19 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
94bdb5aa28 Delete .log_errors
remove unused file
2022-07-29 10:53:31 +02:00
Uwe
634fb31410 [Travis] remove Travis
we are not using it anymore
2022-07-29 02:23:15 +02:00
Uwe
40e9759070 [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
6c7cf1c276 [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
ff98d4f4f1 Addon Manager: pylint cleanup for install_to_toolbar 2022-07-28 15:58:33 -05:00