Commit Graph

1789 Commits

Author SHA1 Message Date
luzpaz
9ed299a57a Fix typos 2023-08-31 22:29:17 -05:00
Chris Hennes
6bfafc62dc Update translations 2023-08-29 07:38:09 -05:00
Chris Hennes
56d820892c App: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:20 -05:00
wmayer
423cc42ac8 Tests: add unit tests for:
* TopoShape::getElementTypeAndIndex
* ComplexGeoData::getTypeAndIndex

and fix crashes there when passing a null pointer
2023-08-25 19:23:18 +02:00
wmayer
fa12b433df App: refactor ComplexGeoData::getSubElementByName 2023-08-25 19:23:18 +02:00
wmayer
ee0fad4c90 App: modernize C++: use default member init 2023-08-23 19:51:44 +02:00
bdieterm
f6027d805c Core: escape filepath characters in FreeCAD.loadFile 2023-08-21 19:50:51 -04:00
luzpaz
ed9ff68935 Fix typos 2023-08-21 20:20:47 +02:00
Chris Hennes
34b660f44f Merge pull request #10269 from Ondsel-Development/core-doc-wide-vars
[Core] Custom Data Elements/Document-wide Variables
2023-08-21 09:22:22 -05:00
wmayer
3e35b5f606 App: modernize C++: use equals default 2023-08-20 18:10:17 +02:00
Ajinkya Dahale
07f6b103b9 [App] Use keyword arguments when adding properties to Document 2023-08-20 19:07:02 +05:30
Chris Hennes
09edbbebaf Merge pull request #10258 from chennes/translations20230814
Update translations
2023-08-18 08:52:13 -05:00
wmayer
93d878c0ca Lint: fix several issues discovered by clang-tidy 2023-08-18 08:44:49 -05:00
wmayer
8f08d8c7cd Lint: fix several issues discovered by clazy 2023-08-18 08:44:49 -05:00
wmayer
89bdd489b0 App: modernize C++: return braced init list 2023-08-18 00:36:24 +02:00
Chris Hennes
ddf8c47f40 App: clang-tidy cleanup of Expression::_renameObjectIdentifier 2023-08-17 15:59:45 +02:00
Chris Hennes
28f396cc75 Update translations
Adds the ten units strings from Base as well.
2023-08-16 22:50:39 -05:00
Djuro Drljaca
c311bab053 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
3e68d6fd50 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
8003606222 Expressions: Add Vector API expression functions (#10237) 2023-08-15 23:00:16 -05:00
wmayer
26f16f7410 App: modernize C++: use range-based for loop 2023-08-14 16:40:25 +02:00
Chris Hennes
6a7f47c959 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
9f456d712b modernize C++: use equals delete 2023-08-10 17:29:05 +02:00
marioalexis
594ebe54d8 App: Change indentation to 4 spaces in String*PyImp.cpp 2023-08-10 11:55:21 -03:00
marioalexis
cd521d77eb App: Fix crash and undefined behavior in StringHasherPy and StringIDPy 2023-08-10 11:55:21 -03:00
marioalexis
818a4f1cc8 App: Initialize StringHasher and StringID classes 2023-08-10 11:55:21 -03:00
Chris Hennes
d3c08a2da9 Update translations 2023-08-08 17:52:59 -06:00
wmayer
d150fa7164 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
68d22d864b modernize C++: move from boost::bind to std::bind 2023-08-08 17:36:13 +02:00
wmayer
0af4990817 modernize C++: make unique 2023-08-07 19:51:30 -06:00
wmayer
96aabe113e modernize C++: raw string literal 2023-08-07 19:51:15 -06:00
Paddle
61daaceb8f Add 'type' to MetadataPy, MetadataPyImp and addonmanager_metadata.py 2023-08-07 10:52:08 -06:00
Paddle
a0438de381 Add 'type' to MetaData 2023-08-07 10:52:08 -06:00
wmayer
f94b026456 modernize C++: use transparent functors 2023-08-07 16:08:35 +02:00
wmayer
89d529ab7b modernize C++: use using 2023-08-06 23:17:10 +02:00
wmayer
2a88c7c7df modernize C++: use bool literals 2023-08-06 01:35:39 +02:00
wmayer
d244dcf2da modernize C++: use nullptr 2023-08-05 11:23:12 -06:00
wmayer
bb23aaf3e9 Core: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
wmayer
5621a0089f Qt6 port:
Fix deprecation warnings with version 6.3 or 6.4
2023-08-04 21:23:14 -06:00
wmayer
6a726f6c88 Core: report the real error of a failed feature after a recompute 2023-08-04 18:47:44 -06:00
Chris Hennes
ea49b3fe78 GUI: Add prominent dev build indicators 2023-08-04 18:21:39 -06:00
luzpaz
16e083c8f3 Fix various typos 2023-08-04 19:46:12 +02:00
wmayer
3975f31f89 Misc: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
244676ddf0 App: modernize C++: use override 2023-08-04 17:09:53 +02:00
Yorik van Havre
ebc65ee713 Merged crowdin translations 2023-07-26 11:05:11 +02:00
luzpaz
6c72f80d55 Fix typos 2023-07-25 14:26:30 +02:00
sliptonic
20768ba7f9 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
6838740153 Update translations 2023-07-24 13:37:52 +00:00
Zheng, Lei
a5e350ad46 App: fix removing object while recomputing
Fixes #9912
2023-07-23 19:40:01 +00:00
Chris Hennes
343df86194 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