wmayer
2e13a6a5a1
Base: add overloaded method Matrix4D::isUnity()
2023-10-19 19:25:25 +02:00
wmayer
aa5bea4e2e
Base: add method XMLReader::isStartOfDocument()
2023-10-12 19:46:21 +02:00
Chris Hennes
9b11c36708
Base/Toponaming: Refactor to extract filters to new file
2023-10-10 11:28:30 -05:00
Chris Hennes
5b30bdc2f0
App/Toponaming: Linter cleanup of Base64 code
...
Does not address pointer arithmetic or array indexing complaints.
2023-10-10 10:19:44 -05:00
Chris Hennes
5975e3d51e
App/Toponaming: Add base64 encoding to XML
2023-10-10 10:19:43 -05:00
wmayer
a2c2e4fb16
Core: In XMLReader::readNextElement() support structure <element>data</element>
2023-10-09 15:06:45 +02:00
wmayer
ce3e6b9b24
Core: add method to XMLReader to access next element of an XML file
...
If the next element could be read-in successfully true is returned, and false otherwise.
2023-10-09 15:06:45 +02:00
wmayer
56820718c5
Core: Revert superfluous changes made with PR #9521
2023-10-09 15:06:45 +02:00
Abdullah Tahiri
e19ef9b8ce
Base: templates for type checking
...
=================================
Original idea of Werner:
https://github.com/FreeCAD/FreeCAD/pull/10643#issuecomment-1712966545
I really liked this syntax to avoid repetition and even explicit consideration of Types when type checking.
I thought it would be a pitty to get it lost.
2023-10-07 23:12:46 +02:00
sliptonic
aa82948b27
Merge pull request #9521 from AgCaliva/User/Document/Feature_level_units_selection_#7746
...
Adding "ProjectUnitSystem" support to project files.
2023-10-06 07:56:59 -05:00
wmayer
95f1e3c038
Base: replace calls of printf() with Console().DeveloperWarning()
...
and remove the assert(0) statement as this is an indication of a problem in the code but not serious enough to crash the application
2023-10-05 14:06:37 +02:00
AgCaliva
2212e68a30
merge master via cli
2023-10-04 13:28:48 -03:00
Jolbas
40228d9ef2
Matrix.decompose() fix
...
Fixes some errors when matrix has zero scale in one or two directions
2023-09-28 15:25:29 -05:00
Jolbas
2d8c280528
Create rotation from any matrix
...
To help find a matrix components a decompose method is added to Matrix class
2023-09-28 15:25:29 -05:00
wmayer
abbf544495
Base: use NoArgs in MatrixPy
2023-09-27 17:48:53 +02:00
AgCaliva
1f9bae0de7
Merge branch 'master' into User/Document/Feature_level_units_selection_#7746
2023-09-25 22:58:23 -03:00
Chris Hennes
730d471fb1
Update translations
2023-09-19 22:25:14 -05:00
AgCaliva
dacb2c43a4
Merge branch 'master' into User/Document/Feature_level_units_selection_#7746
2023-09-18 14:01:25 -03:00
wmayer
4f6ab508d7
Base: fix incorrect method names of Matrix class about diagonal and trace
2023-09-18 01:21:07 +02:00
wmayer
939984bf2c
Base: fix many lint warnings in Matrix class
2023-09-18 01:21:07 +02:00
AgCaliva
4a504437d3
merge master via cli
2023-09-16 02:12:58 -03:00
Chris Hennes
857ddacb6e
Update translations ( #10613 )
...
* Update translations
* Start: Remove Start.ts
2023-09-10 13:06:26 -05:00
AgCaliva
0859cf6555
Fix DOMDocument redefinition error
2023-09-08 09:12:52 -03:00
wmayer
9fc5c2d8e4
Base: fixes #10462 : mesh.unite() causes segementaion fault
2023-09-03 11:14:34 +02:00
Chris Hennes
118dc0c6c3
RE: Correct use of Wrapped_ParseTupleAndKeywords
2023-09-02 13:55:08 +02:00
luzpaz
9ed299a57a
Fix typos
2023-08-31 22:29:17 -05:00
AgCaliva
ad5cb33d72
Trying to solve header issues in windows.
2023-08-31 12:38:31 -03:00
AgCaliva
5f8426d7a7
fix parameter
2023-08-31 01:03:51 -03:00
AgCaliva
4062d9b06a
fix merge
2023-08-30 17:59:41 -03:00
AgCaliva
39dcb1da7b
Merge Master
2023-08-30 16:24:16 -03:00
AgCaliva
1f6545557d
Fixed working with tests
2023-08-29 14:41:58 -03:00
Chris Hennes
6bfafc62dc
Update translations
2023-08-29 07:38:09 -05:00
mosfet80
d453672ab8
[BASE] Removed dead code ( #10330 )
2023-08-28 10:41:20 -05:00
Chris Hennes
d8094b0d57
Merge pull request #10365 from chennes/wrapPyArgParseWithKeywords
...
Wrap PyArg_ParseTupleWithKeywords
2023-08-27 10:23:31 -05:00
wmayer
90bafb3a06
Base: add methods to get volume and get max/min points
2023-08-27 03:11:00 +02:00
Chris Hennes
29e53918ae
Base: Add clearer error message for missing nullptr
2023-08-26 16:11:03 -05:00
wmayer
bb13c179e9
Base: fix clang-tidy warnings in BoundBox.h
2023-08-26 21:03:58 +02:00
Chris Hennes
bf684e9583
Base: Add static_assert for keyword array size > 0
2023-08-26 12:32:29 -05:00
wmayer
d623e37e5e
Test: add more unit tests
2023-08-26 13:17:53 +02:00
Chris Hennes
3b79fd58b7
Base: Wrap PyArg_ParseTupleAndKeywords
2023-08-25 14:52:30 -05:00
Chris Hennes
ada736696e
Base: Add wrapper for PyArg_ParseTupleAndKeywords
...
Enable strict const-correctness for the keywords argument and address
several linter complaints related to using a C function in C++ code.
2023-08-25 14:49:28 -05:00
wmayer
010dca8303
Base: C++ core guidelines: init variables
2023-08-24 18:48:52 +02:00
wmayer
4fb07bcfd6
Base: modernize C++: use default member init
2023-08-23 19:51:44 +02:00
wmayer
db0f6534c3
Base: modernize C++: use equals default
2023-08-20 18:10:17 +02:00
wmayer
5f0ec490e6
Core: modernize C++: return braced init list
2023-08-19 11:35:41 +02:00
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
2bc90e6090
Base: modernize C++: return braced init list
2023-08-18 00:36:24 +02:00
Chris Hennes
28f396cc75
Update translations
...
Adds the ten units strings from Base as well.
2023-08-16 22:50:39 -05:00