Commit Graph

31244 Commits

Author SHA1 Message Date
Uwe
e5cb1b24cd [Start] remove unused includes
- also some sorting
2022-12-07 05:09:18 +01:00
Uwe
30c5f71413 [Robot] Gui: remove unused includes
- also some sorting
2022-12-07 05:08:56 +01:00
Uwe
c9f42ebcd7 [Robot] App: remove unused includes
- also some sorting
2022-12-07 03:27:09 +01:00
Uwe
1844f2e084 [Raytracing] remove unnecessary include 2022-12-07 03:10:29 +01:00
Ajinkya Dahale
d08ccbfb77 (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
c6c273eddf [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
6f0afb4d0b [Raytracing] Gui: remove unused includes
- also some sorting
2022-12-06 02:26:00 +01:00
Uwe
10d6e4b892 [Raytracing] App: remove unused includes
- also some sorting
2022-12-06 02:00:57 +01:00
wmayer
ffb97abfbe Base: refactor NodeItem 2022-12-05 18:35:50 +01:00
wmayer
7bd0394f13 Test: [skip ci] fix build failure when linking Python statically 2022-12-05 15:34:58 +01:00
wmayer
60ae885471 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
69aba3abe1 PD: remove parameter 'supportface' from ProfileBased::getUpToFace as it's not used any more 2022-12-05 12:46:52 +01:00
wmayer
633fb4488a Gui: [skip ci] fix several warnings:
* -Wunused-variable
* -Wunused-lambda-capture
2022-12-05 12:22:22 +01:00
wmayer
ab41f7d091 Gui: [skip ci] fix warnings: [-Winconsistent-missing-override] 2022-12-05 12:02:45 +01:00
wmayer
313525a012 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
f948e5db4d Merge pull request #7956 from adrianinsaval/unifyIcons
Unify application icon
2022-12-05 09:51:59 +01:00
Yorik van Havre
faf2360cf9 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
1cec428e0e [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
1cfa8b5366 [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
c9455541ee Unify application icon
was different in the windows executable, windows installer and WB templates
2022-12-04 21:21:47 -03:00
Uwe
9869a2c3d7 [Build] output point release version
- to Splashscreen, About, MainWindow and Console
2022-12-05 00:26:43 +01:00
Adrian Insaurralde Avalos
a482e2421e remove unused files 2022-12-05 00:26:43 +01:00
Adrian Insaurralde Avalos
95fcf171b8 Unify version patch number management in cmake 2022-12-05 00:26:43 +01:00
Uwe
75dc8f9410 [Path] A-F: remove unused includes
- also some sorting
2022-12-04 19:48:46 +01:00
berniev
87c3b58f44 Simplify switch statement (modded) 2022-12-04 19:37:04 +01:00
Uwe
feeb479641 [Path] Gui: remove unused includes
- also some sorting
2022-12-04 19:35:52 +01:00
Uwe
836c1be75d [Path] P-End: remove unused includes
- also some sorting
2022-12-04 18:47:50 +01:00
Uwe
113dce72d7 [Mesh] Gui: ViewProvider*: remove unused includes
- also some sorting
2022-12-04 17:25:24 +01:00
Uwe
10aff43462 [Mesh] Gui: So*: remove unused includes
- also some sorting
2022-12-04 16:38:28 +01:00
Uwe
e3ee7d549a [Mesh] Gui: R-Se: remove unused includes
- also some sorting
2022-12-04 15:34:05 +01:00
Ajinkya Dahale
4d2837a6c2 [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
36ff50088e [Sketcher] Convert curves to splines before joining 2022-12-04 08:17:20 +01:00
Ajinkya Dahale
deea97e654 [Sketcher] Join curves at common point 2022-12-04 08:17:20 +01:00
Ajinkya Dahale
c5aceb0182 [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
59c1741559 [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
3ded221646 [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
69d4d284e8 [Mesh] Gui: A-P: remove unused includes
- also some sorting
2022-12-04 05:24:24 +01:00
Uwe
020ced9859 [TD] QGIView*: remove unused includes
- also some sorting
2022-12-04 04:21:01 +01:00
Uwe
98a0172700 [TD] QGIL - QGIVE:remove unused includes
- also some sorting
2022-12-04 03:29:19 +01:00
Uwe
8b5fc633a9 [TD] QGIA - QGIH:remove unused includes
- also some sorting
2022-12-04 03:10:56 +01:00
Uwe
20ae6041e8 [TD] QGV*:remove unused includes
- also some sorting
2022-12-04 02:29:20 +01:00
Uwe
8231c77cb3 [TD] QGC* - QGE:remove unused includes
- also some sorting
2022-12-04 02:16:43 +01:00
Uwe
b18668e615 [TD] QGIW* - QGT:remove unused includes
- also some sorting
2022-12-04 01:45:12 +01:00
luz paz
d46e2b3569 Path: remove leftover .zip archive in PathSimulator directory
Closes #7816
2022-12-03 18:10:34 -06:00
Chris Hennes
848e6cc2f3 Gui: Temporarily disable tree icon height call 2022-12-03 17:08:17 -06:00
Zheng, Lei
7dc14634cd Base: fix Windows build issue 2022-12-03 17:08:17 -06:00
Zheng, Lei
26e38309c8 Gui: fix transparency saving in PrefColorButton 2022-12-03 17:08:17 -06:00
Zheng, Lei
61a4bf5719 Gui: support more parameter types in PrefComboBox
Using a user defined property 'prefType'
2022-12-03 17:08:17 -06:00
Zheng, Lei
41dcee396d Gui: split out TreeParams into its own source files
Auto generated using TreeParams.py
2022-12-03 17:08:17 -06:00
Zheng, Lei
ea4405eaaa Tools: add utility script for code generation using cog 2022-12-03 17:08:17 -06:00