Commit Graph

31243 Commits

Author SHA1 Message Date
Uwe
83cd5faabe [Robot] Gui: remove unused includes
- also some sorting
2022-12-07 05:08:56 +01:00
Uwe
3177d3eec2 [Robot] App: remove unused includes
- also some sorting
2022-12-07 03:27:09 +01:00
Uwe
6ab86b96c0 [Raytracing] remove unnecessary include 2022-12-07 03:10:29 +01:00
Ajinkya Dahale
f120851112 (Attempt to) fix compile issue in Raytracing
Currently in Manjaro/Arch/Linux there's this issue:
```
/.../src/Mod/Raytracing/App/LuxProject.cpp: In member function ‘virtual App::DocumentObjectExecReturn* Raytracing::LuxProject::execute()’:
/.../src/Mod/Raytracing/App/LuxProject.cpp:85:20: error: variable ‘std::ifstream file’ has initializer but incomplete type
   85 |     ifstream file (fi.filePath().c_str());
      |                    ^~
/.../src/Mod/Raytracing/App/LuxProject.cpp:89:20: error: variable ‘std::ofstream ofile’ has initializer but incomplete type
   89 |     ofstream ofile(tempName.c_str());
      |                    ^~~~~~~~
```

See https://stackoverflow.com/questions/50355130/variable-stdofstream-outfile-has-initializer-but-incomplete-type.

Also edit `Precompiled.h` as compile fix
2022-12-06 21:41:53 +01:00
Uwe
3336f3398b [Raytracing] attempt to fix compilation on Arch linux
by adding all used STL headers

- also uniform std handling (either using namespace and then omit or use it always and no namespace
2022-12-06 19:04:38 +01:00
Uwe
8b25b8a902 [Raytracing] Gui: remove unused includes
- also some sorting
2022-12-06 02:26:00 +01:00
Uwe
f345b85b2d [Raytracing] App: remove unused includes
- also some sorting
2022-12-06 02:00:57 +01:00
wmayer
baf230dcee Base: refactor NodeItem 2022-12-05 18:35:50 +01:00
wmayer
3cc94fabf5 Test: [skip ci] fix build failure when linking Python statically 2022-12-05 15:34:58 +01:00
wmayer
97283c6815 Base: Remove redundant 'else' and return Py::None() instead of Py::Object() to make it explicit that Python's 'None' is meant 2022-12-05 12:51:38 +01:00
wmayer
319b63cbda PD: remove parameter 'supportface' from ProfileBased::getUpToFace as it's not used any more 2022-12-05 12:46:52 +01:00
wmayer
3c7d30dd07 Gui: [skip ci] fix several warnings:
* -Wunused-variable
* -Wunused-lambda-capture
2022-12-05 12:22:22 +01:00
wmayer
9c82596ba9 Gui: [skip ci] fix warnings: [-Winconsistent-missing-override] 2022-12-05 12:02:45 +01:00
wmayer
1a56033e74 Core: [skip ci] ignore some code spell checks and filter all '_rc_.py' files 2022-12-05 10:12:49 +01:00
Yorik van Havre
7bd3d1b5df Merge pull request #7956 from adrianinsaval/unifyIcons
Unify application icon
2022-12-05 09:51:59 +01:00
Yorik van Havre
799407a936 Merge pull request #7927 from Roy-043/Arch-add-unit-test
Arch: add BuildingPart unit test
2022-12-05 09:47:23 +01:00
Uwe
ec7f62310e [Mesh] remove unused file
- unused since a while and also don't compile when adding them to CMake
2022-12-05 09:37:19 +01:00
Uwe
3c4dee6149 [Win installer] some uninstaller improvements
- remove two registry path deletions that were never performed since the paths do not exist
- remove registry key that stores the main window parameters (size and position) when the option to remove also the user settings is on (because this affects all FreeCAD installations)
- also change a name to uppercase (does not matter but Win 10 uses uppercase, so we should do the same to avoid confusions)
2022-12-05 03:39:46 +01:00
Adrian Insaurralde Avalos
41ee39c57f Unify application icon
was different in the windows executable, windows installer and WB templates
2022-12-04 21:21:47 -03:00
Uwe
aef629ece1 [Build] output point release version
- to Splashscreen, About, MainWindow and Console
2022-12-05 00:26:43 +01:00
Adrian Insaurralde Avalos
586ff73c99 remove unused files 2022-12-05 00:26:43 +01:00
Adrian Insaurralde Avalos
29937d2224 Unify version patch number management in cmake 2022-12-05 00:26:43 +01:00
Uwe
e2138996de [Path] A-F: remove unused includes
- also some sorting
2022-12-04 19:48:46 +01:00
berniev
7546ce8ab7 Simplify switch statement (modded) 2022-12-04 19:37:04 +01:00
Uwe
b78d484557 [Path] Gui: remove unused includes
- also some sorting
2022-12-04 19:35:52 +01:00
Uwe
134d2e00b1 [Path] P-End: remove unused includes
- also some sorting
2022-12-04 18:47:50 +01:00
Uwe
1a4babd936 [Mesh] Gui: ViewProvider*: remove unused includes
- also some sorting
2022-12-04 17:25:24 +01:00
Uwe
e89596bd86 [Mesh] Gui: So*: remove unused includes
- also some sorting
2022-12-04 16:38:28 +01:00
Uwe
3f05568ab9 [Mesh] Gui: R-Se: remove unused includes
- also some sorting
2022-12-04 15:34:05 +01:00
Ajinkya Dahale
06b30e1ec1 [Part] Add/change some methods in GeomBSplineCurve
Add `setPeriodic` to turn a b-spline periodic.
Allow `join` to join any bounded curve not just b-spline.
2022-12-04 08:17:20 +01:00
Ajinkya Dahale
54db25968d [Sketcher] Convert curves to splines before joining 2022-12-04 08:17:20 +01:00
Ajinkya Dahale
27f3f6756a [Sketcher] Join curves at common point 2022-12-04 08:17:20 +01:00
Ajinkya Dahale
01866dfbfc [Sketcher] Add methods and tools for joining curves
Algorithm to join b-splines:
The code simple concatenates the knots, poles, weights, and knot multiplicities
together, removing data on the connection point of the second curve. Some
further study is needed to see if/when it will give an exact/good connection.

Icon courtesy @bitacovir.
2022-12-04 08:17:20 +01:00
Uwe
f79c66dc33 [PD] Pad/pocket: fix wrong error message
- the error can also occur when the mode it not UpToFace (ToFirst or ToLast)
- also add note when Reversed checkbox is enabled since this is no obvious (as discussed in the forum)
- also some whitespace unification and include sorting
2022-12-04 05:37:11 +01:00
Uwe
d02871298a [PD] FeatureSketchBased: fix orthogonal check
- same fix as #7879
- also fix wording on an error message and improve a variable name
2022-12-04 05:31:51 +01:00
Uwe
d33429c8af [Mesh] Gui: A-P: remove unused includes
- also some sorting
2022-12-04 05:24:24 +01:00
Uwe
7a2d0037ff [TD] QGIView*: remove unused includes
- also some sorting
2022-12-04 04:21:01 +01:00
Uwe
75b8a4264d [TD] QGIL - QGIVE:remove unused includes
- also some sorting
2022-12-04 03:29:19 +01:00
Uwe
c585fc565b [TD] QGIA - QGIH:remove unused includes
- also some sorting
2022-12-04 03:10:56 +01:00
Uwe
c2ff5475c7 [TD] QGV*:remove unused includes
- also some sorting
2022-12-04 02:29:20 +01:00
Uwe
6dd2327711 [TD] QGC* - QGE:remove unused includes
- also some sorting
2022-12-04 02:16:43 +01:00
Uwe
3645edf142 [TD] QGIW* - QGT:remove unused includes
- also some sorting
2022-12-04 01:45:12 +01:00
luz paz
137a3640bf Path: remove leftover .zip archive in PathSimulator directory
Closes #7816
2022-12-03 18:10:34 -06:00
Chris Hennes
815a39b854 Gui: Temporarily disable tree icon height call 2022-12-03 17:08:17 -06:00
Zheng, Lei
790c6fb602 Base: fix Windows build issue 2022-12-03 17:08:17 -06:00
Zheng, Lei
5d0402321e Gui: fix transparency saving in PrefColorButton 2022-12-03 17:08:17 -06:00
Zheng, Lei
0cfec4061a Gui: support more parameter types in PrefComboBox
Using a user defined property 'prefType'
2022-12-03 17:08:17 -06:00
Zheng, Lei
b141f8f491 Gui: split out TreeParams into its own source files
Auto generated using TreeParams.py
2022-12-03 17:08:17 -06:00
Zheng, Lei
55f017f1dc Tools: add utility script for code generation using cog 2022-12-03 17:08:17 -06:00
Zheng, Lei
01f7782124 Base/App: add new signal interface to Parameter
Added new signal interface using boost::signals2 signalParamChanged.

Exposed to Python as ParameterGrpPy.AttachManager() to monitor changes
to all parameters, sub groups under the referring group.

Added new attribute for ParameterGrp(Py) to query the Parent and Manager
of the referring group.
2022-12-03 17:08:17 -06:00