Uwe
ea0c3e8598
[Base] fix a -Wunused CI compiler warning
2022-07-09 16:23:04 +02:00
0penBrain
95a98669a4
Gui: implement temporary blocker for console observer
2022-07-05 13:35:18 +02:00
Uwe
96cb9dce0b
[Base] Tools2D.h: a simplification and code style unification
2022-07-03 15:54:33 +02:00
ChenOrange
06edc2db9b
Vector2d:fix rotate bug
2022-07-03 14:52:27 +02:00
wmayer
6820e0a9ec
Py3: properly port to Py3.11
2022-07-02 19:36:27 +02:00
Uwe
7bf9f30c5f
[Base] UnitsSchemaInternal: improve code readability
2022-07-02 05:15:11 +02:00
wmayer
1ae55905ba
Py: make FreeCAD to compile with Py3.11
2022-07-01 17:54:50 +02:00
wmayer
c7c43fcf4b
Core: fix minor issues:
...
+ fix issues found by clang's clazy tool
+ fix cppcoreguidelines-pro-type-member-init
* Make sure that all class members are initialized in the constructor
2022-06-30 16:31:16 +02:00
wmayer
a427c1e99e
Base: [skip ci] fix slight regression caused with d162d9371
2022-06-30 13:13:00 +02:00
Uwe
0c797ae6a8
[Base] remove unused MSC code
...
this part was initially part of #7036 but then accidentally reverted
2022-06-28 00:58:12 +02:00
mosfet80
d162d9371c
Remove old msc ver. Freecad 0.20 require 64 bit and windows 7 or higher. For this reason, msc libraries less than 1800 will no longer be used. ( #7036 )
...
* remove msc<1800
2022-06-28 00:42:33 +02:00
wmayer
6b6df27df8
C++ core guidelines:
...
* ES.87: Don’t add redundant == or != to conditions
2022-06-25 17:38:57 +02:00
marioalexis
14668197d1
Base: Minor changes in some Python docstrings
2022-06-25 17:12:06 +02:00
wmayer
c955372ecf
cppcoreguidelines-pro-type-union-access
...
According to https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md using union for type-punning is undefined behaviour.
Replace it with std::memcpy
2022-06-24 14:29:50 +02:00
marioalexis
89803987a1
Base: Use PyObject_IsTrue in combination with conditional ternary operator
2022-06-22 19:50:03 -04:00
ShuffleWire
4de0e8244e
Base: add Const attribute to many MatrixPy methods
...
multiply(), determinant(), isOrthogonal(),
submatrix(), analyze() also get the const attribute
2022-06-22 19:16:38 -04:00
wmayer
7de8a14b37
Base: add Const attribute to MatrixPy::inverse()
2022-06-22 13:49:11 +02:00
marioalexis
82da0065c4
Base: Add function to get Python object types for SWIG interfaces
2022-06-21 21:01:37 -04:00
marioalexis
b310a3e503
Base: Fix wrong function name in RotationPy documentation.
2022-06-20 02:12:16 +02:00
marioalexis
f64916dc5e
Base: Set angle in Rotation::inverse function
2022-06-19 15:44:05 +02:00
Uwe
6b09da9ab6
[Base] remove unnecessary Boolean comparisons
2022-06-19 15:17:50 +02:00
marioalexis
4b1004b33a
Base: Improve docstrings in BoundBoxPy.xml
2022-06-13 08:42:40 -04:00
wmayer
741fdc53c7
Base: unset flag to skip leading whitespaces when copying a file
2022-06-13 08:43:58 +02:00
marioalexis
0c6c3e5211
Base: Improve docstrings in PersistencePy.xml
2022-06-08 00:52:19 +02:00
marioalexis
67c506d39e
Base: Improve docstrings in VectorPy.xml
2022-06-04 15:39:05 +02:00
wmayer
f37574e809
Base: raise TypeError if Vector is multiplied with unsupported type
2022-06-04 13:21:04 +02:00
wmayer
0d6b5b7f30
Base: use const char*
2022-06-04 13:20:07 +02:00
wmayer
f7f85464a3
Base: include header in PCH
2022-06-04 13:18:08 +02:00
wmayer
31047be9fb
Base: improve initialization according to cpp core guidelines
2022-06-04 13:17:27 +02:00
wmayer
ca9355b5cb
Base: remove redundant void
2022-06-04 13:14:55 +02:00
wmayer
fc7f3f4e3d
Base: avoid const_cast in FileInfo
2022-06-04 13:13:36 +02:00
marioalexis
ee4f4e8cb7
Base: Improve docstrings in CoordinateSystemPy.xml
2022-06-02 16:26:31 +02:00
marioalexis
297e3520ec
Base: Improve docstrings in TypePy.xml
2022-06-02 16:25:55 +02:00
luz paz
a0c0b2616c
Fix various typos
2022-06-01 18:03:40 -04:00
marioalexis
79a5cde3b5
Base: Fix bad parse argument in AxisPyImp.cpp
2022-05-31 12:55:54 -04:00
marioalexis
35c872d4f2
Base: Improve docstrings in MatrixPy.xml
2022-05-31 11:48:04 +02:00
marioalexis
98cb5d50af
Base: Fix undefined behaviour in row/col functions and code clean up
2022-05-31 11:48:04 +02:00
marioalexis
8e1a23eadf
Base: Improve docstrings in RotationPy.xml
2022-05-29 10:34:59 +02:00
marioalexis
914de33bf2
Base: Improve docstrings in PlacementPy.xml
2022-05-27 09:53:29 +02:00
marioalexis
0791001787
Base: Improve docstrings in AxisPy.xml
2022-05-26 23:31:18 +02:00
marioalexis
e76e4acb0f
Base: Prevent crash when trying to create badType instance
2022-05-24 13:28:14 +02:00
wmayer
cbc0bfc24d
Base: cosmetic changes
2022-05-12 17:49:55 +02:00
wmayer
b39c6f62b4
Base: replace several reinterpret_cast
2022-05-11 20:01:40 +02:00
Oliver Oxtoby
105b63bf5e
Base: Remove extraneous bracket from string representation of kinematic viscosity units in MKS schema
2022-05-11 08:09:46 +02:00
wmayer
79f8798011
Base: fixes #6802 : Raise an exception when using FileInfo::toStdWString() for other platforms than Windows
2022-05-09 14:21:10 +02:00
wmayer
cd65de7e44
Base: fix conversion from Placement to Matrix
...
See also: https://forum.freecadweb.org/viewtopic.php?f=3&t=61000
2022-04-29 13:45:50 +02:00
wmayer
8427d446e0
Base: fix a possible naming clash with 'timezone' with Py3.6 on Windows
2022-04-28 16:05:30 +02:00
Zheng, Lei
3ef438eaf0
Fix mixed line endings
2022-04-26 12:52:55 -05:00
0penBrain
78e1174018
Core: partially revert 4ab37fc that introduced composed units
...
Parser shall only deal with atomic units or it breaks other composed units
Fixes #6735
2022-04-13 03:45:39 +02:00
0penBrain
a2beab798b
[Core] Persistence: improve NotImplemented exception presentation to user
2022-04-08 10:55:31 +02:00