wmayer
cced2698f9
fix crash due to GIL
2017-02-18 08:19:25 +01:00
wmayer
cdbfee565a
issue #2902 : track attribute objects in parent structure to notify about changes
2017-02-14 16:38:38 +01:00
wmayer
f95587fc7a
issue #0002902 : replace members of PyObjectBase with a PyDictObject
2017-02-14 13:09:09 +01:00
wmayer
d0e6253041
issue #0002902 : PyObjectBase notification chain can lead to unexpected changes to document
2017-02-14 00:32:30 +01:00
wmayer
a7539e2c97
fix various warnings
2017-02-02 20:42:56 +01:00
wmayer
b0b68b7c7b
fix -Wunused-variable
2017-01-27 16:10:19 +01:00
looooo
a88afb33af
py3: add PyMOD_INIT_FUNC
...
from: py3: ported module init to python3, wwmayer
2017-01-25 10:16:06 +01:00
wmayer
4c4862890d
partially revert changes of issue #0002858 and add IsEqual method
2017-01-22 15:33:26 +01:00
wmayer
152e6b63f3
issue #0002867 : AttachExtension crash
2017-01-19 21:48:17 +01:00
wmayer
170145f846
fixes #0002858 : Vector2d Equality Incorrect
2017-01-15 16:34:14 +01:00
wmayer
e0a89c17d2
fix & suppress warnings of generated code
2016-12-30 13:31:31 +01:00
wmayer
a0af969a47
recreate lexer files without deprecated register keyword
2016-12-29 23:18:23 +01:00
wmayer
3992b70fed
suppress -Wself-assign in generated code
2016-12-29 21:44:23 +01:00
wmayer
0cb4a6680b
suppress -Wdeprecated-register
2016-12-29 21:02:34 +01:00
Kurt Kremitzki
61465e3a98
Handle right and left hand scalar-vector multiplication
2016-12-28 13:20:03 +01:00
wmayer
f4793a61dc
fix whitespaces
2016-12-21 17:08:36 +01:00
Bernd Hahnebach
5fd2d75ce3
Base: units, code formating
2016-12-21 11:27:41 -02:00
vdwalts
59ac40a584
Base: Units for FEM, new heat and heat flux functions
2016-12-21 11:27:41 -02:00
kgoao
93b7aceb0e
FEM: FemConstraintHeatflux: Add DFLUX option to heat flux constraint
2016-12-21 11:27:41 -02:00
wmayer
743b83e853
Add switch to select between Qt4 and Qt5
2016-12-13 15:53:13 +01:00
wmayer
6cfaf916f8
remove superfluous Qt includes
2016-12-13 15:40:49 +01:00
wmayer
bb81365cb6
move Hat and Dyadic product to Matrix class
2016-12-04 17:05:58 +01:00
WandererFan
efb7f14866
DPG improvements
...
eliminate orientation matrix
remove appl logic from dialog
add 3D/Front buttons
2016-12-04 15:25:47 +01:00
wmayer
9735744b46
declare some PyCXX functions for export, add PyCXX wrapper for Vector2dPy class
2016-11-24 15:25:48 +01:00
wmayer
04fd872531
fix build problems on Linux/OSX
2016-11-22 16:16:48 +01:00
wmayer
78a6da83b0
add Python wrappers for Geom2d classes
2016-11-22 14:09:19 +01:00
wmayer
a5537a992f
add simple Python wrapper for Vector2d class
2016-11-21 22:01:34 +01:00
wmayer
2d8e70085e
rename 2d tool classes to be consistent with 3d classes
2016-11-21 14:29:51 +01:00
Yorik van Havre
bf0d37bf28
Doc: Fixes in doxygen docs for Draft,Arch, FEM
2016-11-17 17:04:09 -02:00
Yorik van Havre
6a2eed229d
Doc: small adjustments to doxygen docs
2016-11-15 16:17:58 -02:00
wmayer
0dbc5d8041
remove deprecated macros
2016-11-09 16:58:54 +01:00
wmayer
ff2a361928
fix several gcc warnings
2016-11-08 14:31:08 +01:00
wmayer
47b41a7883
fixes #0002460 : Use keyword 'explicit' for Quantity constructor
2016-11-05 23:21:42 +01:00
Stefan Tröger
0ae9346b3c
Extenions: Drop virtual inheritance
...
Due to problems onthe windows platform the virtual inheritance approach must be dropped. NExt to the already reimplemented proeprty interface the Type interface is reimplemented too. This change allows to revert some earlier changes.
2016-10-08 12:48:34 +02:00
Stefan Tröger
89bbb81521
Extension: Fix order-of-initialisation crash
...
FreeCADs property system utilises some pointer math to calculate the offset between
property and base class. Due to virtual inheritance of th ePropertyContainer the memory
layout has been changed to rather random, which has lead to crashes dependend on the
order of object initialisation.
The solution is to not make PropertyContaner virtual but a class below, Base::Persitance.
Then the memory layout is random for Persistance, but it is perfectly aligned for the
base class chains from PropertyContainer onwards as well as from Extension onwards.
Hence the proeprty system was changed to take the offset always from those two.
2016-10-08 12:48:34 +02:00
Stefan Tröger
3e1ba47d61
Extensions: Handle new dynamic_cast's
2016-10-08 12:48:34 +02:00
Stefan Tröger
6fa964c53f
Extensions: Introduce classes and port App groups
2016-10-08 12:48:34 +02:00
wmayer
2af6bb6e49
replace deprecated auto_ptr with unique_ptr
2016-09-22 13:01:20 +02:00
wmayer
1e6dcabefc
fix -Wextra in FreeCADGui
2016-09-21 20:54:52 +02:00
wmayer
39e589a4d7
fix -Wextra in FreeCADBase
2016-09-21 15:02:02 +02:00
wmayer
70be035caf
fix possible crashes in Tools::escapedUnicodeFromUtf8
2016-09-14 15:18:19 +02:00
Yorik van Havre
515f2efb1d
Implemented python method ParameterGrpPy::GetContents() : lists all the parameters inside a group
2016-09-03 19:49:59 -03:00
wmayer
a3fe1f2e77
fx wrong cast
2016-09-03 14:58:03 +02:00
wmayer
fb892d35de
fix Coverity issues
2016-09-03 14:51:28 +02:00
wmayer
cb9be09512
Coverity issues:
...
129643
129654
129689
129714
2016-08-16 14:05:52 +02:00
wmayer
af4ef2fa7f
Coverity issues:
...
129202: replace dynamic_cast with static_cast
129421, 129422: fix Py_Return macro
128928: Unchecked return value
129488, 129490: uninitialized scalar variable
129567, 129661: uninitialized scalar field
129665: uninitialized pointer field
2016-08-15 21:28:41 +02:00
wmayer
4d77921111
use a stricter tolerance to check for equal points
...
add method IsEqual to Vector3 class to support user-defined tolerance
2016-08-15 14:09:26 +02:00
wmayer
af86618b9e
adjust fix for BSD for time info from commit 2665a5d
2016-08-12 14:03:16 +02:00
wmayer
61b62ee314
add class QuantityFormat to control user string of Quantity
...
do some code refactoration to reduce duplicate code
2016-08-06 19:06:29 +02:00
wmayer
f8dc307820
fix bug in factor for Pa in units system
2016-08-05 13:57:27 +02:00