wmayer
560cab6f31
clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors
2024-05-29 13:37:07 +02:00
Chris Hennes
063499a9d4
Merge pull request #14202 from bgbsww/bgbsww-toponamingFixSubShapeBinder
...
Toponaming fix sub shape binder and restore multishape tests
2024-05-27 11:19:31 -05:00
Chris Hennes
65f3965717
Merge pull request #14082 from Ondsel-Development/issue_13522_fix_read_lock
...
Core: Add read lock to fix for possible race conditions reading/writing config files
2024-05-27 10:41:23 -05:00
Chris Hennes
73ae4102e6
Update translations
...
Arch->BIM is a WIP
2024-05-25 19:11:51 -05:00
Zheng, Lei
3c112b466d
Toponaming: Missing code for shapebinder
2024-05-23 09:47:25 -04:00
Chris Hennes
0e0fce5678
Merge pull request #13906 from Rexbas/align-camera
...
Align camera to faces and edges
2024-05-20 11:28:24 -05:00
FEA-eng
14a7ca99cd
Base: Add moment unit
2024-05-16 12:51:37 -05:00
Bas Ruigrok
4c45f38574
App: Add getCameraAlignmentDirection() to GeoFeature
2024-05-13 19:01:38 +02:00
PaddleStroke
5f4dd814ea
Core: Add getRootObjectsIgnoreLinks and fix bugs in tree.cpp and AssemblyObject.cpp, CommandInsertLink.py, UtilsAssembly.py
2024-05-13 17:58:34 +02:00
Chris Hennes
bd7abe5521
Merge pull request #13907 from wwmayer/issue_13898
...
Fix memory leaks with PySequence_GetItem
2024-05-13 10:53:00 -05:00
Chris Hennes
0e3042a4e9
Merge pull request #13963 from bgbsww/bgbsww-toponamingMissingPartDesignTests2
...
Toponaming: missing code bits in App
2024-05-12 19:30:04 -05:00
Chris Hennes
9fead3682d
Update translations
2024-05-12 17:06:56 -05:00
bgbsww
53ad95b382
Toponaming: bring in missing code fragments in App
2024-05-12 17:21:49 -04:00
Ronny Standtke
afb9ce29c6
include translations of the FreeCAD App
2024-05-09 21:21:16 +02:00
wmayer
58988a7482
Core: Fix memory leaks with PySequence_GetItem
2024-05-08 23:40:27 +02:00
wmayer
9934eb3b37
Measure: Fix memory leaks
2024-05-08 20:01:54 +02:00
bgbsww
9fc744fbe3
Fix tests, slip in TNP defense
2024-05-07 13:42:21 -04:00
bgbsww
3ee0530ac2
Toponaming/Part: Fix fillet/pad bug, add tests
2024-05-07 09:40:48 -04:00
Chris Hennes
a5d8aaa21c
Update translations
...
Also removes Web from translation scripts.
2024-05-06 18:17:53 +02:00
wmayer
65dbd776fb
Core: Fix crash when loading a file with v0.21 that was created with v0.22
...
In v0.22 a version number -1 is added to the material files to distinguish between old and new project file.
But v0.21 doesn't know about this version number and interprets it as number of elements instead.
Because this value is assigned to an unsigned type the value becomes 2**32 - 1. Now trying to create a container of this size requires > 280 GB
of RAM. On most systems FreeCAD new handler will jump in and raises a memory exception to stop the allocation. But an other systems with
plenty of RAM it's tried to allocate the memory and then may crash at some point.
This PR fixes this regression. It puts the version number to the MaterialList XML element as an optional attribute.
With this change FreeCAD v0.22 is still able to load projects that have been created prior to this change.
Additionally FreeCAD v0.21 can again load project files without crashing.
For more details see: https://forum.freecad.org/viewtopic.php?t=87268
2024-05-06 17:56:25 +02:00
wmayer
281230c520
Core: Fix possible race conditions when reading or writing config file
2024-05-06 13:24:17 +02:00
bgbsww
920032c5a0
Lint corrections
2024-05-03 12:07:02 -04:00
bgbsww
b80d628c69
Merge branch 'main' into bgbsww-toponamingMissingAppMethods
2024-05-02 22:43:36 -04:00
bgbsww
4a0df0ea6d
Test for changed Sketches avoiding TNP
2024-05-01 20:29:26 -04:00
Zheng, Lei
56e32b9c98
Methods to support Toponaming element maps
2024-05-01 18:02:04 -04:00
wmayer
2ea6bc17b6
Fix various compiler warnings:
...
* fix -Wunused-parameter
* fix -Wunused-function
* fix -Wunused-private-field
* fix -Wunused-variable
* fix -Winconsistent-missing-override
2024-04-30 16:59:31 +02:00
liukaiwen
8e5213efd8
fix precompile on lastest unified measurement
2024-04-29 13:42:40 -05:00
CalligaroV
767b2bd5e4
App/Toponaming: import SubObjectT dependencies for SubShapeBinder
...
* Fixed a mistake made in getSubObjectListFlatten()
* Applied modifications according to review comments
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com >
2024-04-29 11:42:18 -05:00
CalligaroV
3109301e52
App/Toponaming: import SubObjectT dependencies for SubShapeBinder
...
* Formatted and refactored code imported for the DocumentObject class
* Formatted and refactored code imported for the SubObjectT class
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com >
2024-04-29 11:42:18 -05:00
CalligaroV
2721918d10
App/Toponaming: import SubObjectT dependencies for SubShapeBinder
...
* Added test for SubObjectT::hasSubObject()
* Added test for SubObjectT::hasSubElement()
* Added test for SubObjectT::normalize()
* Added test for SubObjectT::normalized()
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com >
2024-04-29 11:42:18 -05:00
Zheng, Lei
b6ae0912fe
App/Toponaming: import SubObjectT dependencies for SubShapeBinder
...
* Added SubObjectT methods normalize(), normalized(), hasSubObject() and hasSubElement()
* Updated DocumentObject::getSubObjectList()
* Applied modifications to make the code compile
2024-04-29 11:42:18 -05:00
WandererFan
dd09bd2b53
Merge pull request #9750 from hlorus/gsoc2023_measure
...
GSoC 2023: Unified Measurement Facility
2024-04-29 12:41:54 -04:00
WandererFan
d4270d2275
Merge pull request #13644 from wwmayer/default_material
...
Gui: expose ViewProviderGeometryObject::getUserDefinedMaterial() to Python
2024-04-29 12:28:25 -04:00
Chris Hennes
f07a4fe074
Merge pull request #13665 from wwmayer/fix_memory_leak2
...
Core: fix possible memory leaks when using parser
2024-04-29 11:14:11 -05:00
hlorus
e5fee7be14
[App] Add registration functions for unified measurement facility
2024-04-29 09:27:22 -04:00
wmayer
88893f7524
Core: fix possible memory leaks when using parser
2024-04-26 21:42:34 +02:00
wmayer
d86390cbc3
App: Change default constructor of Material class to use DEFAULT instead of STEEL
2024-04-26 15:06:30 +02:00
wmayer
ecc0da8036
App: Create PropertyMaterialList with a single material element
2024-04-25 17:04:36 +02:00
wmayer
29017e869a
App: Add class CleanupProcess to allow to free resources when closing the application
2024-04-25 15:44:22 +02:00
Chris Hennes
ead426c6eb
Update translations
...
Note: Web and Start omitted
2024-04-24 13:58:21 -05:00
Zheng, Lei
903d72b96e
App: fix linked copy on change group out of scope problem
...
Fixes FreeCAD/FreeCAD#13481
2024-04-24 08:09:53 -05:00
Chris Hennes
f8014e0e30
Merge pull request #13520 from wwmayer/fix_material
...
Fix further material issues
2024-04-22 11:16:44 -05:00
Chris Hennes
9101454c4d
Merge pull request #13495 from wwmayer/material_colors
...
Support to customize all material colors
2024-04-22 11:09:05 -05:00
farley
789bbeedf6
Core: Fix searching model tree does not work for numbers #12723 ( #13377 )
...
* Fix problem #12723 : Searching model tree does not work for numbers
- Modify ExpressionTokenizer::perform
- Add tests tokenizeCompletion
2024-04-22 10:55:42 -05:00
mosfet80
18004ed845
App: clean
...
Clean GeoFeatureGroupExtension.cpp
2024-04-20 11:29:00 +02:00
mosfet80
c6f2c8b370
Update Application.cpp
...
removed commented code
2024-04-20 08:54:02 +02:00
wmayer
38090de37c
App: use std::lround() to fix linter warnings
2024-04-19 13:07:10 +02:00
wmayer
331bdacd83
App: Add setPackedRGB() and getPackedRGB() to Color class
2024-04-19 11:13:59 +02:00
mosfet80
d21dc9b62c
[App] clean
...
removed dead code
2024-04-18 23:06:47 -05:00
Chris Hennes
b985f6339e
Base/Toponaming: Correct string hasher output
2024-04-18 13:25:57 -05:00