Commit Graph

1746 Commits

Author SHA1 Message Date
wmayer
c05091885e App: modernize C++: use override 2023-08-04 17:09:53 +02:00
Yorik van Havre
51d8f94f10 Merged crowdin translations 2023-07-26 11:05:11 +02:00
luzpaz
e2c17cc616 Fix typos 2023-07-25 14:26:30 +02:00
sliptonic
ef4ca26382 Merge pull request #9594 from wwmayer/issue_9549_new
Part: fixes #9549: Part Fuse not working inside Part container
2023-07-24 10:16:51 -05:00
Chris Hennes
dd40387478 Update translations 2023-07-24 13:37:52 +00:00
Zheng, Lei
369b51e9ab App: fix removing object while recomputing
Fixes #9912
2023-07-23 19:40:01 +00:00
Chris Hennes
6bb8174669 App/Toponaming: Fix Python 3.11 compile issue
Need to ensure the Qt 'slots' macro is undefined by including FCConfig.h.
2023-07-23 19:38:20 +00:00
Ajinkya Dahale
17e265259c [Core] Use FCBak extension with timestamp by default 2023-07-23 19:37:10 +00:00
Chris Hennes
73689f269c App/Toponaming: Tweak ComplexGeoData destructor 2023-07-17 10:24:29 -05:00
Chris Hennes
6a9efd6731 App/Toponaming: Add tests for findTagInElementName
Also apply clang-tidy to that function, and fix an error with the postfix return.
2023-07-15 22:47:08 -05:00
Chris Hennes
7e250c4f8a Merge pull request #9780 from chennes/toponamingComplexGeoDataDressing
Toponaming: ComplexGeoData dressing
2023-07-15 16:37:09 -05:00
Chris Hennes
aae9cc84d9 PD: prevent MSVC from defining min/max 2023-07-15 07:45:38 -05:00
luzpaz
3110980e6e Fix various typos 2023-07-15 11:17:45 +02:00
Chris Hennes
66f6350fd3 App/Toponaming: Basic tests and linter issues 2023-07-14 23:03:18 -05:00
Chris Hennes
8ec1ae3319 App/Toponaming: ComplexGeoData realthunder original
Minor modifications to make it compile with previous refactorings.
The only substantial change to the original is moving the
getElementHistory function from ComplexGeoData to MappedName so
that the dehash function can remain private.
2023-07-14 23:03:18 -05:00
bdieterm
d6de5ceb09 fix function name in doxygen annotation 2023-07-10 09:23:59 -05:00
Chris Hennes
e1ca567172 Apply translations 2023-07-09 18:09:53 -05:00
luzpaz
055447a702 Fix various typos 2023-07-01 10:08:21 +00:00
Chris Hennes
cfbe6e702d App/Toponaming: Compilation cleanup after #9175
Also fixes some trailing whitespace issues
2023-06-16 09:14:57 -05:00
Pesc0
c65f049d20 [Toponaming] create ElementMap class (#9175)
* Copypaste ElementMap
* Add MappedNameRef
* Fix missing include
* Copypaste `findTagInElementName`
* fix error introduced _somewhere_
* refactor toponaming constants
* Move `findTagInElementName` in `MappedName`
* reintroduce workaround to compile ElementMap
* Added missing functions copied from complexgeodata
* fix last compile errors, reorder and format files
* remove recursive refs to ComplexGeoData
* Add more comments
* fixed comments and added tests
* added FIXME, make functions private, misc fixes
* Move static functions from complexGeoData to PostfixStringReferences. Rename to ElementNamingUtils
* Fix broken includes due to previous change
* Revert constants from string to const char*
* added childmap tests and made hasher public
* Make functions private
* Added remaining tests
* removed bool return from `erase` functions
* fix missing appexport

Co-authored-by: John Dupuy <jdupuy98@gmail.com>
2023-06-15 09:05:24 -05:00
Chris Hennes
05b85d0ddc Sync translations 2023-06-04 14:11:21 -05:00
Connor Worrell
6a6295c0a6 [App] Expression parser allow multi unit inputs (2'2") 2023-05-31 19:49:28 -04:00
Chris Hennes
452067c43c Update translations 2023-05-21 19:13:11 -05:00
Chris Hennes
2798528b8f Update translations 2023-05-18 07:49:08 -05:00
Chris Hennes
fd78b3d5d0 Merge pull request #9148 from chennes/toponamingStringHasher
App/Toponaming: String hasher
2023-05-15 20:14:43 -05:00
wmayer
ec23d2ce66 App: expose function getParent() to Python 2023-05-15 23:40:25 +02:00
wmayer
92de5cbb44 App: add method DocumentObject::getFirstParent() 2023-05-13 17:48:29 +02:00
Zheng, Lei
0535fd77b7 App: renable StringHasher IndexedName optimization
The benifit of StringHasher optimization for IndexedName is most evident
on boolean operation of primitive/dumb shape array, e.g. those imported
from STEP, because those shape elements are not encoded, henced mapped
in as plain IndexedName. The optimization split the integer from the
IndexedName to only store the type name to reduce redundancy.
2023-05-11 14:34:36 -05:00
Chris Hennes
faa8ebf9a7 App/Toponaming: Minor StringHasher cleanup from review 2023-05-11 14:34:36 -05:00
Chris Hennes
5c119307b8 App/Toponaming: StringHasher tests, commenting, and cleanup 2023-05-11 14:34:36 -05:00
Chris Hennes
8c208d5441 App/Toponaming: Stubs of tests for StringHasher 2023-05-11 14:34:36 -05:00
Chris Hennes
e3dfd3536d App/Toponaming: Unit tests for StringIDRef 2023-05-11 14:34:35 -05:00
Chris Hennes
ed7d79b0f5 App/Toponaming: Minor refactoring and tests for StringID 2023-05-11 14:34:35 -05:00
Chris Hennes
cc7effcfc7 App/Toponaming: Lint and compilation cleanup 2023-05-11 14:34:35 -05:00
Chris Hennes
178c8ee56b App/Toponaming: Add original StringHasher
Also includes StringIDPy. This is realthunder's original code, it does not compile in the current codebase yet.
2023-05-11 14:34:35 -05:00
Chris Hennes
e30a768e0a Merged crowdin translations 2023-05-06 11:56:32 -05:00
Chris Hennes
1c79477451 GUI: Don't have report view message tell users to see report view 2023-05-06 18:19:08 +02:00
Chris Hennes
1b2bbbf06b Update translations 2023-04-29 11:10:27 -05:00
Ronny Standtke
ded6c101e0 changed Z-axis rotation so that it is readable by default 2023-04-24 18:40:49 -04:00
luzpaz
38a01939e0 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
Chris Hennes
842026e2f2 Merge pull request #9311 from ronnystandtke/i18n_origin
added i18n for the origin
2023-04-20 15:40:15 -05:00
Chris Hennes
0fbe1fce87 Merge pull request #9317 from ronnystandtke/i18n_for_axes_and_planes
added i18n for axes and planes
2023-04-20 15:37:46 -05:00
Yorik van Havre
faf98925f6 Merged crowdin translations 2023-04-20 14:04:19 +02:00
Yorik van Havre
0fd764454d Updated ts files 2023-04-20 13:53:35 +02:00
Ronny Standtke
af422d0364 added i18n for axes and planes 2023-04-19 14:43:45 +02:00
Ronny Standtke
53dfcff8bb added i18n for the origin 2023-04-18 20:29:04 +02:00
wmayer
712ad544a5 App: fix some lint warnings 2023-04-07 12:41:46 +02:00
berniev
38f4f3a2fc simplifying a function
Dramatic simplification of legacy code by separating code and data and applying some later C++.
Function removed from Application.cpp as it was in a anonymous namespace and could not easily be subjected to unit testing.
Added ProgramOptionsUtilities.h
2023-04-07 12:37:05 +02:00
0penBrain
8dcbd7080e Expression: use a precision that ensures no floating point issue 2023-04-05 19:51:51 +02:00
wmayer
03b58bb289 Core: make the init scripts more robust against invalid package.xml files
See also: https://forum.freecad.org/viewtopic.php?t=77170
2023-03-28 10:49:21 +02:00