wmayer
df05840212
handle gimbal lock when converting between quaternion and Euler angles (issue #0004062 )
2019-07-22 16:31:42 +02:00
mwganson
3cc93d1961
[enable report view on warnings/erros] add reportoutputobserver class, manage report view visibility via QDocketWidget toggleViewAction() rather than directly with show(), remove unnecessary variables
2019-07-21 15:58:12 +02:00
mwganson
b20dd0da10
Show report view on all warnings or errors by default, can be disabled in preferences
2019-07-21 15:57:57 +02:00
Yorik van Havre
057c79c11c
Doxygen tweaks
2019-07-17 18:01:56 -03:00
Yorik van Havre
8048f93627
Cleanup in doxygen stuff
2019-07-15 23:20:52 -03:00
Abdullah Tahiri
1a401a6a50
MSVC2013 c++11 has make_unique pointer definition, so do not overload it.
2019-07-14 12:37:37 +02:00
Abdullah Tahiri
cf813ea89f
Clang complains of the specialisation after implicit instantiation with the inversed order
2019-07-14 12:37:37 +02:00
Abdullah Tahiri
3554cd9832
Base: Move std::make_unique to Base
2019-07-14 12:37:35 +02:00
Abdullah Tahiri
fb5e8b4df7
Part: GeometryDefaultExtensions template
...
========================================
Generalisation of code for a default geometry extension in the form of a template.
Default geometry extensions provide a standard interface for an extension having a single stored value (e.g. one int or one string).
Python implementation must be provided separatedly.
2019-07-14 12:37:31 +02:00
wmayer
3203ace267
simplify handling of static Python libs
2019-07-03 16:09:47 +02:00
wmayer
e0db5b62be
workaround in PyCXX classes due to removed support of old-style classes
2019-06-25 18:15:10 +02:00
wmayer
3789a26014
add define to inactivate some code blocks if needed
2019-06-03 18:40:45 +02:00
lo
9369816f3c
cmake: add option to disable linking of python extension modules to python-libraries
2019-05-24 14:37:33 +02:00
wmayer
81ae5688d4
replace raw string with normal C string to fix build failure
2019-05-23 23:28:33 +02:00
ezzieyguywuf
81bae31085
Added python virtual environment initialization, if present.
2019-05-22 13:53:47 +02:00
luz.paz
11f4f30a37
Misc. typo fixes
...
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller -L pard,wallthickness,commen,byteorder,alocation`
2019-05-17 13:19:36 +02:00
Bernd Hahnebach
aa67d56361
Units: add AngleOfFriction as another parameter with Angle unit
2019-04-30 07:41:56 +02:00
Abdullah Tahiri
95ad7dcee6
MSVC2013 constexpr to const
2019-04-24 17:56:37 +02:00
Abdullah Tahiri
875197f4a1
Base::Console avoid magic numbers and enable external string size checks
2019-04-24 17:56:37 +02:00
wmayer
cd4269e6af
rename BUILD_uSE_PCH to FREECAD_USE_PCH to be consistent with other build options
2019-04-15 13:31:31 +02:00
wmayer
8d5d25da2e
fix crash when checking an empty error message of an exception
2019-04-01 11:22:55 +02:00
wmayer
e4be0cb36e
fix VS2917 warnings: C4091, C4477, C4302, C4311
2019-03-23 16:35:40 +01:00
wmayer
ec86db4bfb
when saving parameters make sure document exists
2019-03-12 01:05:50 +01:00
wmayer
28b195d6e2
PVS issues:
...
consistently define copy constructor and assignment operator
remove superfluous casts
initialize member variables in constructor
avoid double assignment
2019-03-04 11:53:49 +01:00
wmayer
337c9c936f
fix various flaws detected by PVS
2019-03-01 22:52:41 +01:00
wmayer
bd89326d06
avoid using hard-code precision when writing double to streams
2019-02-23 14:58:41 +01:00
wmayer
a6a9c15c4c
disable commit e3793e6c
2019-02-19 22:28:46 +01:00
wmayer
e3793e6c88
use format options when using repr() on a quantity
2019-02-19 13:46:22 +01:00
wmayer
90c80f83fd
PVS: V522 There might be dereferencing of a potential null pointer 'Py::Vector2d().getCxxObject()'
2019-02-18 00:00:10 +01:00
wmayer
239c20b71f
PVS: V705 It is possible that 'else' block was forgotten or commented out, thus altering the program's operation logics.
2019-02-17 19:54:24 +01:00
wmayer
493a144080
PVS: The 'then' statement is equivalent to the 'else' statement.
2019-02-17 19:52:35 +01:00
wmayer
f581d5c8cb
PVS: V560 A part of conditional expression is always true
2019-02-17 13:56:48 +01:00
Bernd Hahnebach
57a0acffc0
Units: add various Material stress properties
2019-02-14 21:11:22 +01:00
wmayer
1a68b75a4b
fix possible infinite loop when transcoding from/to UTF-8
2019-02-14 11:06:30 +01:00
wmayer
1081403d21
Expose some standard units and quantities to Python
2019-02-12 15:12:19 +01:00
Mateusz Skowroński
317bcd59c9
Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] Thanks Clazy!
2019-02-11 15:39:14 +01:00
luz.paz
adae9071ed
Crowdin: Base/Exception.h uniformity fix
2019-01-30 11:08:03 -02:00
wmayer
dedaa80762
fixes 0003771: Memory leak in Part.Face.Surface
2019-01-23 22:38:51 +01:00
wmayer
ba14668e1a
add method multVec to MatrixPy class for better consistency
2019-01-22 15:57:10 +01:00
wmayer
be5796b2d0
add method restoreFinished and reimplement it in SketchObject
2018-12-29 15:27:32 +01:00
wandererfan
376a70bffc
Remove u8 literals for Win compatibility
2018-12-23 11:03:02 -02:00
wandererfan
60b9936a35
Use correct unicode symbols for DMS units
2018-12-23 11:03:02 -02:00
wandererfan
b5a3b7d3df
Use same symbol for display and edit.
...
- UnitsSchemaImperialCivil was sometimes displaying
degree symbol as "deg" and sometimes as "°"
2018-12-18 22:17:38 +01:00
wandererfan
bde252895f
Handle negative angles in UnitsSchemaImperialCivil
2018-12-18 22:17:38 +01:00
Yorik van Havre
91bb88fe18
add App.Units.setSchema() python method
2018-12-18 11:01:35 -02:00
wandererfan
00e6e376c9
Add ImperialCivil Units Schema
...
- units for civil engineering - ft, ft2, ft3, mph,
and angles as degrees/minutes/seconds
2018-12-06 08:57:17 -03:00
wmayer
7ceac311b3
add specialized exception type for bad graphs
2018-11-26 14:15:19 +01:00
wmayer
608d42d3cd
fix ViewProjMatrix::getProjectionMatrix
2018-11-20 19:21:15 +01:00
wmayer
ddb20468ad
some additions to pR 1794:
...
add a special XMLAttributeError class to indicate an error when accessing a missing attribute
in PropertyContainer::Restore make error handling more flexible
2018-11-19 19:07:56 +01:00
Abdullah Tahiri
9a34a93db1
Extension of XMLReader to facilitate partial restores
2018-11-19 11:31:10 +01:00