Aapo
9050afbe28
CXX, Objects.hxx: Python 3.9 Unicode compilation warning fixes suggested by wmayer on the FC forum.
2020-12-23 13:51:52 +01:00
wmayer
58dccfea48
PyCXX: In Python 3.9 Unicode API are being deprecated
...
Taken from https://sourceforge.net/p/cxx/code/430/
2020-12-22 13:05:59 +01:00
wmayer
113fc7f1c3
PyCXX: harmonize PyCXX with Python C API
2020-11-30 16:02:54 +01:00
wmayer
7be81376f4
PyCXX: [skip ci] fix SeqBase<>::max_size() by returning the max. value of a Py_ssize_t instead of -1
2020-11-26 10:17:25 +01:00
wmayer
527cf37afd
PyCXX: [skip ci] avoid MSVC build failure (still needs a proper fix)
2020-11-25 22:11:32 +01:00
wmayer
2ba2e23a98
PyCXX: harmonize PyCXX with Python C API
2020-11-25 14:35:59 +01:00
wmayer
88fd77b31d
Porting Py3.8/Py3.9:
...
Since Py3.3: 'Py_ssize_t PyUnicode_GetSize(PyObject*)' is deprecated [-Wdeprecated-declarations]
Since Py3.9: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations]
Since Py3.9: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
2020-06-12 17:51:33 +02:00
wmayer
4742d035f0
Python: [skip ci] tp_print slot has been replaced with tp_vectorcall_offset in Py3.8
2020-06-07 12:53:47 +02:00
wmayer
9fa56345cf
core system
...
force strict ISO C++ (-Wpedantic)
TODO: still a lot of variadic macros are not valid ISO C++
2019-09-18 01:01:14 +02:00
Yorik van Havre
a6334a4bfd
Cleanup in doxygen stuff
2019-07-15 23:20:52 -03:00
wmayer
2830652a39
workaround in PyCXX classes due to removed support of old-style classes
2019-06-25 18:15:10 +02:00
wmayer
447294f8a0
fixes #0003993 : Memory leak with Python3
2019-06-24 14:30:12 +02: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
1cd894bacc
fix -Wcast-function-type
2018-08-19 13:11:08 +02:00
wmayer
5e484d0a92
disable Py::Exception(const std::string&) constructor as it will be removed in future PyCXX versions
2018-04-29 11:00:28 +02:00
wmayer
d6c883d699
disable Py::Exception(const std::string&) constructor as it will be removed in future PyCXX versions
2018-04-18 19:45:07 +02:00
wmayer
75c2f9ddbf
fix compiler warnings with Py3
2018-04-16 13:51:04 +02:00
wmayer
729cfd8155
py3: fox compiler warnings
...
issue 0000995
2017-06-04 00:17:57 +02:00
looooo
433bf1947f
py3: CXX: remaining diff:
...
win: exernalize missing CXX-functions
define PYCXX_PYTHON_2TO3
2017-05-27 20:00:57 -03:00
wmayer
84775f9875
comment out unused variables to fix warnings created by clang
2016-12-18 14:20:27 +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
a5537a992f
add simple Python wrapper for Vector2d class
2016-11-21 22:01:34 +01:00
wmayer
b13efc182d
fix -Wextra in MeshPart
2016-09-24 00:42:52 +02:00
wmayer
39e589a4d7
fix -Wextra in FreeCADBase
2016-09-21 15:02:02 +02:00
wmayer
87a079143e
add comment to missing function in original PyCXX sources
2016-08-10 13:22:28 +02:00
wmayer
5f8fefdf1a
upgrade PyCXX from v6.2.5 to v6.2.8
2016-08-10 11:55:23 +02:00
wmayer
c124fe115e
fix -Wmismatched-new-delete
2016-08-10 10:04:37 +02:00
Yorik van Havre
30abbabb58
Little fixes to allow pycxx to compile with python3
2014-10-05 17:31:17 -03:00
Yorik van Havre
29cadd9681
Patched PyCXX 6.2.5 with original FreeCAD changes made in 6.2.0
2014-09-24 18:19:26 -03:00
Yorik van Havre
f5e87dd358
Fixed relativepaths in PyCXX
2014-09-24 18:19:25 -03:00
Yorik van Havre
97296606f6
Upgraded PyCXX to version 6.2.5
2014-09-24 18:19:25 -03:00
jriegel
d0d832896a
Merge remote-tracking branch 'refs/remotes/origin/jriegel/NewWinBuild' into jriegel/review-NewLibPack
...
Conflicts:
src/3rdParty/salomesmesh/CMakeLists.txt
2014-08-27 15:39:00 +02:00
wmayer
a50743041b
+ fix -Wnull-conversion, -Woverloaded-virtual, -Wlogical-not-parentheses, -Wsometimes-uninitialized
2014-08-26 19:14:13 +02:00
jriegel
d46e0d0cb6
some type clearification
2014-08-21 17:59:33 +02:00
jriegel
b3be299994
Remove all hardcoded INT types out of PyCXX to make X64 warning free
2014-08-14 09:13:53 +02: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