Commit Graph

40439 Commits

Author SHA1 Message Date
hlorus
47fd87af51 [Gui] Add command and task for unified measurement facility 2024-04-29 09:27:22 -04:00
hlorus
36d16b2243 [Measure] Add features, viewproviders and preferences for unified measurement facility 2024-04-29 09:27:22 -04:00
hlorus
832a0653fa [Sketcher] Add handlers for unified measurement facility 2024-04-29 09:27:22 -04:00
hlorus
4f5dd40fa7 [PD] Add handlers for unified measurement facility 2024-04-29 09:27:22 -04:00
hlorus
f4c90c07f1 [Part] Add handlers for unified measurement facility 2024-04-29 09:27:22 -04:00
hlorus
2acf5ccab0 [App] Add registration functions for unified measurement facility 2024-04-29 09:27:22 -04:00
hlorus
ce36dcc379 [Part] Move VectorAdapter into own file in PartGui 2024-04-29 09:27:22 -04:00
hlorus
c054fe64b3 [Part] Move ArcEngine into own file in Gui module 2024-04-29 09:27:22 -04:00
hlorus
cb0e5b6f9c [Base] Expose type's "getModuleName" method 2024-04-29 09:27:22 -04:00
Reqrefusion
1e697c3369 Correction of some line colors 2024-04-29 15:44:39 +03:00
Reqrefusion
72be35c304 Making Technical Drawing icons more compatible with Part Design and Assembly icons Continue
Another overlooked logo was combined and hidden lines were made into dash lines
2024-04-29 15:18:37 +03:00
Kacper Donat
c4569561f5 Fix issues with wrong color for preference page tooltips 2024-04-29 13:06:48 +02:00
paullee
9e5fdc9c73 [ArchWall] fix onChanged() length to support ArchSketch 2024-04-29 10:30:09 +02:00
Furgo
60ea786551 Arch: Add HeightPropagate tooltip info (#13584) 2024-04-29 10:27:10 +02:00
Reqrefusion
e0964efb77 Making Technical Drawing icons more compatible with Part Design and Assembly icons
It is aimed to provide integrity by including the shape used in other workbenches in technical drawing icons. For the hidden line, color variation was used instead of dashed. The reason for this is to comply with the art guide. I think the dashed line looks better.
2024-04-28 23:59:51 +03:00
Chris Hennes
5327232570 Start: Invert sense of checkbox 2024-04-28 12:57:42 -05:00
Chris Hennes
3a9547c235 Start: Create 'First Start' screen 2024-04-28 12:57:00 -05:00
Chris Hennes
2aad8ab334 Tests: Ensure MSVC has M_PI
Somewhere in the test suite GTest is including cmath (or something related) and not declaring this, so later includes of it by the tests are being ignored.
2024-04-28 12:56:21 -05:00
Chris Hennes
332f6f7631 Gui: Add missing GuiExport to PreferencePack 2024-04-28 12:56:21 -05:00
Brad Collette
33e82c3d21 refactor Sanity
Logic is more modular with many more unit tests.
Reduced dependence on GUI
Cleaner template structure
2024-04-27 17:28:15 -05:00
wmayer
ed77603af9 PD: Fixes crash if sub-element name of reference axis is empty
This fixes #13656
2024-04-27 07:43:40 +02:00
bgbsww
fa8f29aed4 Toponaming/Part: Fix all getBaseTopoShape calls. Tests and missing code. 2024-04-26 21:15:11 -05:00
Chris Hennes
6174a9bb2e Start: Correct card size calculation
Fixes #13671.
2024-04-26 20:21:26 -05:00
wmayer
bff1efd665 FEM: Make sure that points and normals array have equal size as otherwise a crash may occur 2024-04-26 23:30:20 +02:00
Roy-043
dd882862bf Gui: Clarify cache directory as read-only in prefs, add Browse tooltip
Fixes #13608.
2024-04-26 23:10:05 +02:00
wmayer
499e73f337 Core: fix possible memory leaks when using parser 2024-04-26 21:42:34 +02:00
wmayer
1365a939e9 App: Change default constructor of Material class to use DEFAULT instead of STEEL 2024-04-26 15:06:30 +02:00
Roy-043
d92f74ef01 Merge pull request #13633 from Roy-043/Draft-revert-Draft-WB-changes-from-13294
Draft: revert Draft WB changes from #13294
2024-04-26 10:46:05 +02:00
wmayer
5753fe12c4 Gui: Fix MainWindowPy::removeWindow
See https://forum.freecad.org/viewtopic.php?t=87097
2024-04-26 10:10:25 +02:00
Patryk Skowroński
a4b151e7ff Fix for removeMarkups() 2024-04-25 21:40:39 -05:00
wmayer
e591b95228 Gui: expose ViewProviderGeometryObject::getUserDefinedMaterial() to Python 2024-04-25 17:56:58 +02:00
wmayer
e85954e8a3 App: Create PropertyMaterialList with a single material element 2024-04-25 17:04:36 +02:00
wmayer
a644f75d53 Material: Fix several memory leaks caused by cyclic references
The class MaterialLibrary has a shared pointer to its Material objects and the class Material has a shared pointer to the MaterialLibrary.
The class MaterialManager owns all MaterialLibrary and Material objects in static containers. To resolve the cyclic references the method
cleanup() has been added.

The class ModelLibrary has a shared pointer to its Model objects and the class Model has a shared pointer to the ModelLibrary.
The class ModelManager owns all ModelLibrary and Model objects in static containers. To resolve the cyclic references the method
cleanup() has been added.

The Materials module registers a function to App::CleanupProcess that calls the above cleanup() methods.
NOTE: This registration is only done in debug mode mainly to satisfy memory checkers
2024-04-25 15:47:09 +02:00
wmayer
5f46ee4f14 Material: Fix two direct memory leaks in ModelLoader::addToTree and ModelLoader::loadLibrary 2024-04-25 15:45:15 +02:00
wmayer
200d9eeb84 App: Add class CleanupProcess to allow to free resources when closing the application 2024-04-25 15:44:22 +02:00
WandererFan
53020def86 Merge pull request #13639 from wwmayer/fix_techdraw_issue
TD: Fix compiler warning
2024-04-25 09:18:37 -04:00
wmayer
8210e99b0c Base: Fix memory leak in Quantity::parse
If an exception is thrown then the allocated buffer won't be cleaned up. To make this exception-safe the class
StringBufferCleaner is added using the RAII idiom
2024-04-25 14:34:02 +02:00
wmayer
fada9ed82c TD: Fix compiler warning
Warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
2024-04-25 10:46:24 +02:00
Roy-043
52fcdda6cf Merge pull request #13612 from cjmayo/draft-byteCount
Draft: Fix QImage object has no attribute 'byteCount'
2024-04-25 09:20:10 +02:00
Roy-043
7407eee427 Draft: revert Draft WB changes from #13294
Revert the Draft WB related changes of #13294.
2024-04-24 21:27:04 +02:00
Chris Mayo
b509511f44 Start: Allow system Microsoft GSL to be used 2024-04-24 14:23:21 -05:00
Chris Hennes
1ec93fdbc2 Update translations
Note: Web and Start omitted
2024-04-24 13:58:21 -05:00
Chris Hennes
c20d4b31c1 Merge pull request #13604 from wwmayer/fix_new_start_page
Start: Fix new start page
2024-04-24 13:57:36 -05:00
Zheng, Lei
0e2447129c App: fix linked copy on change group out of scope problem
Fixes FreeCAD/FreeCAD#13481
2024-04-24 08:09:53 -05:00
wmayer
839c1bd801 Start: Fix memory leak
* Set parent object to FileCardDelegate so that it will be destroyed if the list view is destroyed
* Inside FileCardDelegate::paint() delete the widget
2024-04-24 15:00:15 +02:00
WandererFan
a389403cdc Merge pull request #13219 from Ondsel-Development/TD_Insert
TechDraw: Unify Insert View tools (View, ProjGroup, Sheet, Arch, svg, image)
2024-04-24 08:24:26 -04:00
wmayer
bfe81650c2 Start: make compound widget in FileCardDelegate::paint() more flexible for Qt style sheets 2024-04-24 10:29:12 +02:00
wmayer
54f6d00833 Start: Add QApplication to PreCompiled.h 2024-04-24 08:22:35 +02:00
Bas Ruigrok
24657494c9 Start: Fix migration script 2024-04-23 19:03:22 -05:00
Roy-043
5b169de058 Gui: DlgSettingsDocument.ui change url to https 2024-04-24 01:22:41 +02:00