wmayer
2aee1e8368
fixes 0003771: Memory leak in Part.Face.Surface
2019-01-23 22:38:51 +01:00
Michal Ulianko
2e2b8cba6a
py3.7 fix
...
PyUnicode_AsUTF8() returns const char* in py3.7 instead of char*. Making
changes to reflect that which should also be safe in
other Python versions.
2018-09-01 22:44:39 +02:00
wmayer
5572f55312
clear dict when invalidating Py object to fix possible cyclic references
2018-08-25 21:49:57 +02:00
wmayer
99ec96acd5
prepare for PyCXX 7.0
2018-04-18 19:20:50 +02:00
Unknown
e3eca59173
Misc. typo fixes
...
Various workbenches
2017-12-23 14:30:30 +01:00
wmayer
bf162ebde9
py3: partially revert of getattr -> getattro because getattro is only needed for the static callback function
...
issue 0000995
2017-06-03 10:51:05 +02:00
looooo
6ad7dc1217
py3: change of getattr -> getattro
...
issue 0000995
2017-06-03 10:51:05 +02:00
wmayer
fb7094bf31
use specialized exception classes
2017-04-28 18:49:11 +02:00
wmayer
7150e9ab23
replacement for PR 698
2017-04-27 23:05:40 +02: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
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
0dbc5d8041
remove deprecated macros
2016-11-09 16:58:54 +01: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
6b67d4a4e7
+ replace old C casts with static_cast in generated C++ code, remove unused parent structure of Python classes, support of -1 as return value of setCustomAttributes
2015-09-27 22:08:08 +02:00
Mateusz Skowroński
05f95c0506
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
Sebastian Hoogen
d49528b27e
issue #1700 replace PyExc_Exception
2014-09-17 11:15:57 +02:00
Sebastian Hoogen
af50cbf964
fixes #0001422 : Subclass Exception
...
inherit Base.FreeCADError form RuntimeError
inherit Part.OCCError from Base.FreeCADError
inherit OCCDomainError from Part.OCCError
inherit OCCRangeError from Part.OCCError
inherit OCCConstructionError from OCCDomainError
inherit OCCDimensionError from OCCDomainError
Added PY_CATCH_OCC macro
replace PyExc_Exception
use FreeCADError in makeWireString
catch exception in BSplineCurve.increasedegree
2014-09-17 11:15:56 +02:00
wmayer
f53c22417e
+ remove unneeded semicolons
2014-05-08 17:32:23 +02:00
wmayer
966b12813a
+ fix typos or documentation
2014-03-29 11:46:07 +01:00
wmayer
15f38e1a62
Fixes for MacOSX
2012-10-26 12:59:43 +02:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00