Chris Hennes
15c7aabe27
App: clang-tidy cleanup of Expression::_renameObjectIdentifier
2023-08-17 15:59:45 +02:00
Djuro Drljaca
8c25886da2
Keep the label of a variable in expression on spreadsheet alias rename ( #10222 )
...
Fixes #5800
2023-08-16 21:35:58 -05:00
Jonas Bähr
34b176c1db
Remove C++ escaping from *Py.xml templates
...
Now all escaping required for the C++ code generation is done when the
.cpp/.h files are generated. Previously, only newlines were escaped
automatically. This was a) inconsistent and b) leaked c++ details into
the xml data.
In addition, the escaping is now done in one central place, harmonizing
the three previous implementations.
Pre-existing c++ escape sequences in the XML files have been replaced by
their literal equivalent so that the resulting python doc sting remains
unchanged.
2023-08-16 13:17:25 +02:00
Daniel-Khodabakhsh
a9ac5b8398
Expressions: Add Vector API expression functions ( #10237 )
2023-08-15 23:00:16 -05:00
wmayer
4991475341
App: modernize C++: use range-based for loop
2023-08-14 16:40:25 +02:00
Chris Hennes
edda57292c
Merge pull request #10146 from marioalexis84/app-string_hasher_py
...
App: Fix crash and undefined behavior in StringHasherPy and StringIDPy
2023-08-13 13:45:06 -07:00
wmayer
7fe0d5b9a6
modernize C++: use equals delete
2023-08-10 17:29:05 +02:00
marioalexis
0987f94185
App: Change indentation to 4 spaces in String*PyImp.cpp
2023-08-10 11:55:21 -03:00
marioalexis
04bd0b2d20
App: Fix crash and undefined behavior in StringHasherPy and StringIDPy
2023-08-10 11:55:21 -03:00
marioalexis
6acb55b643
App: Initialize StringHasher and StringID classes
2023-08-10 11:55:21 -03:00
Chris Hennes
3bad74fe7d
Update translations
2023-08-08 17:52:59 -06:00
wmayer
948cbfccd9
modernize C++: avoid bind
...
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
wmayer
52e1c7c33b
modernize C++: move from boost::bind to std::bind
2023-08-08 17:36:13 +02:00
wmayer
ec73caa40e
modernize C++: make unique
2023-08-07 19:51:30 -06:00
wmayer
c2e17824fa
modernize C++: raw string literal
2023-08-07 19:51:15 -06:00
Paddle
8f8a799726
Add 'type' to MetadataPy, MetadataPyImp and addonmanager_metadata.py
2023-08-07 10:52:08 -06:00
Paddle
5cd2fa71da
Add 'type' to MetaData
2023-08-07 10:52:08 -06:00
wmayer
b6f331f4fa
modernize C++: use transparent functors
2023-08-07 16:08:35 +02:00
wmayer
dbad96d43e
modernize C++: use using
2023-08-06 23:17:10 +02:00
wmayer
7a3106d31b
modernize C++: use bool literals
2023-08-06 01:35:39 +02:00
wmayer
9f99285d59
modernize C++: use nullptr
2023-08-05 11:23:12 -06:00
wmayer
702f3b4ddd
Core: modernize C++: redundant void arg
2023-08-05 16:50:31 +02:00
wmayer
7d0926d0b3
Qt6 port:
...
Fix deprecation warnings with version 6.3 or 6.4
2023-08-04 21:23:14 -06:00
wmayer
cf5e6825aa
Core: report the real error of a failed feature after a recompute
2023-08-04 18:47:44 -06:00
Chris Hennes
12f7dff7a6
GUI: Add prominent dev build indicators
2023-08-04 18:21:39 -06:00
luzpaz
57b9442df7
Fix various typos
2023-08-04 19:46:12 +02:00
wmayer
b8a7849dd3
Misc: modernize C++: use override
2023-08-04 17:09:53 +02:00
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