marioalexis
3604a9de77
Base: Improve docstrings in CoordinateSystemPy.xml
2022-06-02 16:26:31 +02:00
marioalexis
bf472c51e3
Base: Improve docstrings in TypePy.xml
2022-06-02 16:25:55 +02:00
luz paz
a526451afd
Fix various typos
2022-06-01 18:03:40 -04:00
marioalexis
a8bc5ca35b
Base: Fix bad parse argument in AxisPyImp.cpp
2022-05-31 12:55:54 -04:00
marioalexis
aed7ab0367
Base: Improve docstrings in MatrixPy.xml
2022-05-31 11:48:04 +02:00
marioalexis
8c7849f25f
Base: Fix undefined behaviour in row/col functions and code clean up
2022-05-31 11:48:04 +02:00
marioalexis
d6981c228a
Base: Improve docstrings in RotationPy.xml
2022-05-29 10:34:59 +02:00
marioalexis
941ea70507
Base: Improve docstrings in PlacementPy.xml
2022-05-27 09:53:29 +02:00
marioalexis
41afe9d8ae
Base: Improve docstrings in AxisPy.xml
2022-05-26 23:31:18 +02:00
marioalexis
9bb56a98a9
Base: Prevent crash when trying to create badType instance
2022-05-24 13:28:14 +02:00
wmayer
bec323b793
Base: cosmetic changes
2022-05-12 17:49:55 +02:00
wmayer
4b483807c7
Base: replace several reinterpret_cast
2022-05-11 20:01:40 +02:00
Oliver Oxtoby
9e388ab0a8
Base: Remove extraneous bracket from string representation of kinematic viscosity units in MKS schema
2022-05-11 08:09:46 +02:00
wmayer
37611d6e02
Base: fixes #6802 : Raise an exception when using FileInfo::toStdWString() for other platforms than Windows
2022-05-09 14:21:10 +02:00
wmayer
80c900cf52
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
a6745b15c0
Base: fix a possible naming clash with 'timezone' with Py3.6 on Windows
2022-04-28 16:05:30 +02:00
Zheng, Lei
8bec44934b
Fix mixed line endings
2022-04-26 12:52:55 -05:00
0penBrain
6182059a0f
Core: partially revert 83233a7 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
b7860d20e6
[Core] Persistence: improve NotImplemented exception presentation to user
2022-04-08 10:55:31 +02:00
0penBrain
5cb11cb562
Fix typo
2022-04-08 10:55:31 +02:00
wmayer
568fbc3e35
Base: add method isEqual() to Base::Flags<> to simplify comparison
2022-04-05 19:09:14 +02:00
0penBrain
caa4784550
Base: fix quantity construction when unit as string is empty
2022-04-02 18:09:35 +02:00
wmayer
fa41fd82ab
Base: [skip ci] make Flags<>::testFlag a const method
2022-03-31 23:17:48 +02:00
wmayer
f62a6c8658
Base: fix possible Python type mismatch for Base::Vector2dPy
...
when using FreeCAD as a pure Python module.
See forum topic: https://forum.freecadweb.org/viewtopic.php?f=10&t=67617
2022-03-31 15:08:48 +02:00
Chris Hennes
b5c72abee4
Base: PR6497 move return statement to new line
2022-03-29 12:34:34 -05:00
wmayer
8c35e7776c
Base: [skip ci] optimize iteration over container with parameter group elements
2022-03-29 15:25:54 +02:00
wmayer
c01846c3e7
Base: fix handling of path separators in parameter group names
2022-03-29 14:54:03 +02:00
wmayer
d5fd3f996e
Base: make Parameter class less vulnerable for invalid user config files
2022-03-24 11:43:39 +01:00
wmayer
055793e12c
Base: [skip ci] remove several superfluous static_cast
2022-03-24 11:27:55 +01:00
wmayer
d21a60b294
All: modernize C++11
...
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
4183c45a01
Base: modernize C++11
...
* use nullptr
2022-03-23 16:57:25 +01:00
wmayer
585bcb8708
lgtm: [skip ci] FIXME comment
...
Change FIXME or remove it
2022-03-20 16:51:23 +01:00
wmayer
5edfc1ea42
Base: [skip ci] lgtm: Inconsistent definition of copy constructor and assignment ('Rule of Two')
2022-03-20 16:30:14 +01:00
wmayer
e50a475226
Base: [skip ci] cleaning up modules is only needed for leak detectors
2022-03-20 13:39:22 +01:00
wmayer
b3c31309d5
Base: [skip ci] fix build failure if PCH is enabled
2022-03-20 13:34:32 +01:00
Uwe
3907ca0a32
[Base] a compile for for MSVC
2022-03-19 15:02:19 +01:00
wmayer
58a766374f
Base: add method FileInfo::createDirectories() to also create parent directories of a given path
2022-03-19 13:56:06 +01:00
wmayer
e4d1ed8366
Base: rename BaseExceptionFreeCADError to PyExc_FC_GeneralError
2022-03-17 14:45:48 +01:00
wmayer
1f12dca2b4
Py: replace BaseExceptionFreeCADError with more suitable exception types
2022-03-17 13:54:23 +01:00
wmayer
a90a39a4c9
Base: add more custom Python exception types
2022-03-17 11:29:09 +01:00
wmayer
b13284a221
Base: let interpreter keep track of created modules
2022-03-13 22:34:01 +01:00
wmayer
b78dc894e1
Core: Fix several coverity issues:
...
* CID 350582: Big parameter passed by value
* CID 350639: Big parameter passed by value
* CID 305234: Uncaught exception
* CID 316529: Uncaught exception
* CID 350597: Uncaught exception
* CID 350623: Uncaught exception
* CID 332690: Uncaught exception
* CID 332700: Unchecked return value
* CID 350576: Uninitialized scalar field
* CID 350587: Uninitialized scalar variable
* CID 192606: Uninitialized scalar field
* CID 332699: Uninitialized pointer field
* CID 350561: Dereference null return value
* CID 350610: Dereference null return value
* CID 350567: Dereference after null check
2022-03-13 13:53:32 +01:00
wmayer
5fd93b7d3b
Fix several coverity issues:
...
* CID 350617: Dereference after null check
* CID 350585: Out-of-bounds read
* CID 350624: Resource leak
* CID 332701: Uncaught exception
* CID 350642: Uninitialized scalar field
* CID 350590: Uninitialized scalar field
* CID 350629: Uninitialized scalar variable
* CID 350602: Uninitialized scalar variable
* CID 350564: Uninitialized scalar variable
* CID 350548: Uninitialized scalar variable
2022-03-13 12:12:49 +01:00
wmayer
08b77bff08
Core/Mod: modernize C++11
...
* use nullptr
2022-03-09 21:55:31 +01:00
wmayer
18a7cc8d18
Base: [skip ci] change identation in Console.h
2022-03-09 01:04:16 +01:00
Uwe
6f746497c1
[Base] compile fix for Windows without PCH
2022-03-08 03:00:36 +01:00
wmayer
040b67634e
Base: [skip ci] Optimize includes to reduce compile time
2022-03-07 16:49:01 +01:00
wmayer
4a343ab31e
Base/App: fix warnings from code analysers:
...
* convert old-style-casts to explicit C++ casts where possible
* make some implicit conversions explicit
2022-03-06 23:49:30 +01:00
wmayer
985ad1c9d1
Base: [skip ci] revert copyright change
2022-03-06 22:20:35 +01:00
Stefan Brüns
4d63de1fe7
Base: Fix wrong character encoding for micro-siemens
...
Contrary to any other Unit with micro prefix (e.g. ug, uH, uF) the
string was created with a Latin1 encoding instead of UTF-8.
The problem can be verified with these python statements:
```
FreeCAD.Units.schemaTranslate(FreeCAD.Units.MicroSiemens, 0)
FreeCAD.Units.schemaTranslate(FreeCAD.Units.MicroGram, 0)
```
2022-03-06 11:20:09 -05:00