Commit Graph

93 Commits

Author SHA1 Message Date
Gustavo J. A. M. Carneiro aea9e883e1 Update pybindgen version 2010-08-10 15:06:35 +01:00
Gustavo J. A. M. Carneiro 0338e82c40 Allow headers to be in subdirectories with respect to wscript 2010-07-02 12:45:09 -07:00
Gustavo J. A. M. Carneiro d2d68087d6 python-scan: avoid possible deadlock passing list of modules to the api scanner process 2010-06-13 16:34:15 +01:00
Gustavo J. A. M. Carneiro ce0dabd900 Fix Python bindings ns3.Object subclassing bug 2010-05-06 14:21:20 +01:00
Gustavo J. A. M. Carneiro 70feac23e4 update pybindgen version 2010-04-21 08:39:57 -04:00
Gustavo J. A. M. Carneiro cbfc1009da Upgrade pybindgen to fix the MI problem (bug #877) 2010-04-16 12:59:22 +01:00
Gustavo J. A. M. Carneiro 478d8f35dd Add option to enable gcc precompiled header for compiling python bindings 2010-03-17 12:34:52 +00:00
Gustavo J. A. M. Carneiro ecc1df19d5 Realign Python ns3.Object constructors with C++
The Python constructors are now parameter oriented instead of attribute oriented.
The main motivation for this change is that Python bindings become broken with new Object types being introduced that do not have a default constructor (constructor without parameters).  Another reason is to shorten the gap between C++ and Python, API-wise--the more similar they are, the less confusing it becomes.
2010-03-17 11:18:55 +00:00
Gustavo J. A. M. Carneiro 07c268b53a Upgrade pybindgen to fix the any() bug (Python <= 2.4) 2010-02-03 18:09:25 +00:00
Gustavo J. A. M. Carneiro c20ea3edb3 Upgrade waf from 1.5.9 to 1.5.11 2010-02-01 14:27:08 +00:00
Gustavo J. A. M. Carneiro 668e97a7dc Upgrade to a newer pybindgen version with support for multiple-inheritance 2010-02-01 13:04:34 +00:00
Gustavo J. A. M. Carneiro 34675800d5 Improved detection of apidefs to use for python (Bug 734) 2009-11-22 18:27:14 +00:00
Gustavo J. A. M. Carneiro 3aecea3a7f Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version. 2009-11-18 12:03:43 +00:00
Gustavo J. A. M. Carneiro 1a742a3c02 Upgrade pybindgen to fix bug #723 2009-10-17 00:30:07 +01:00
Gustavo J. A. M. Carneiro 3c16533c21 Put back the configure check to disable python bindings in cygwin, due to our inability to install gccxml in cygwin. 2009-09-25 12:15:27 +01:00
Gustavo J. A. M. Carneiro 16835e0b5d Python: allow multiple api definitions directories, one per data model. 2009-09-22 16:13:42 +01:00
Gustavo J. A. M. Carneiro d40fbea6de Python bindings rescan 2009-09-16 15:03:25 +01:00
Gustavo J. A. M. Carneiro acf666912b Switch to the official pybindgen 0.12 release 2009-09-10 11:41:33 +01:00
Gustavo J. A. M. Carneiro 43ea214b4f Re-scan Python bindings and use newer PyBindGen. 2009-08-31 11:31:32 +01:00
Gustavo J. A. M. Carneiro 1fd46789b4 Bug #594: cygwin won't build. 2009-06-17 11:26:36 +01:00
Gustavo J. A. M. Carneiro 522b2711da Pull in new pybindgen version for bug fixes 2009-05-28 17:13:44 +01:00
Mathieu Lacage d103e5418c Don't allow pybindgen version greater than our requested version, to avoid python scanning generating backward incompatible API defs. 2009-05-24 11:39:41 +01:00
Mathieu Lacage 2296cdca9d enable python+static build on osx 2009-05-05 14:55:23 +02:00
Gustavo J. A. M. Carneiro 7197fc0d27 Fix Python bindings build with gcc < 4 2009-04-30 10:57:30 +01:00
Mathieu Lacage 5dff0e0ca6 enable static builds, even when python is enabled 2009-04-22 17:22:41 +02:00
Mathieu Lacage 7eda961b1f Backed out changeset 4d9d3ff807a9
Does not work on x86-64.
2009-04-22 13:59:10 +02:00
Mathieu Lacage b00c5e751e enable static libns3 builds for python module 2009-04-22 13:06:22 +02:00
Gustavo J. A. M. Carneiro 62add283d4 Upgrade to WAF 1.5.4 2009-04-13 23:10:37 +01:00
Gustavo J. A. M. Carneiro 199680e76e Add code that, when waf is updated in a future version, makes sure python bindings are re-generated whenever the optional features set changes. 2009-04-06 13:05:59 +01:00
Gustavo J. A. M. Carneiro a4c4aec51c Check if the compiler *really* supports -fvisibility=hidden. 2009-03-04 11:34:51 +00:00
Gustavo J. A. M. Carneiro 70e5e8cb52 Compile python bindings with -fvisibility=hidden, when possible. Closes #515. 2009-03-03 18:51:16 +00:00
Gustavo J. A. M. Carneiro d1b501f370 Python: wrap std::ostream/ofstream, for ascii tracing. 2009-02-18 12:23:08 +00:00
Gustavo J. A. M. Carneiro 92b5bc7309 Try to guess pybindgen location (more #478) 2009-01-24 15:28:54 +00:00
Gustavo J. A. M. Carneiro 796dee6f9e On native win32, we cannot use -D_DEBUG when compiling Python extensions 2009-01-17 16:58:42 +00:00
Gustavo J. A. M. Carneiro 5ef24fc287 Remove the last remnants of local pybindgen handling (allinone takes care of pybindgen now) 2009-01-16 17:18:49 +00:00
Gustavo J. A. M. Carneiro 46a0667585 Add dependency annotations for the task that generates Python bindings 2009-01-14 11:17:41 +00:00
Gustavo J. A. M. Carneiro 7568facca0 Bug 467: waf configure enables python after detecting pybindgen is missing 2009-01-12 18:45:03 +00:00
Gustavo J. A. M. Carneiro fdaf129f60 Don't build or fetch NSC/pybindgen, those tasks are now moved to ns-3-allinone 2009-01-11 23:26:34 +00:00
Gustavo J. A. M. Carneiro 9ae3c42512 Upgrade WAF; fix Darwin (OSX) build problems. 2009-01-11 17:51:20 +00:00
Gustavo J. A. M. Carneiro 95de4dafdb correct dependency problem 2008-12-31 11:15:45 +00:00
Gustavo J. A. M. Carneiro 46a6c1b7c7 Convert warning to Logs.warn (waf api change) 2008-12-29 16:54:53 +00:00
Gustavo J. A. M. Carneiro 8022254256 Fix --python-scan 2008-12-29 15:48:34 +00:00
Gustavo J. A. M. Carneiro f19d54fddd Upgrade to new WAF, work in progress 2008-12-29 13:28:54 +00:00
Gustavo J. A. M. Carneiro ca92874e34 Fix nsc/python-scan task descriptions 2008-12-04 11:34:01 +00:00
Gustavo J. A. M. Carneiro d474f1933a Bug 289: CommandLine::AddValue is not wrapped 2008-11-26 12:11:11 +00:00
Gustavo J. A. M. Carneiro 885330d035 Work around #define ECHO in a system header file included by Python.h on Mac OS X (bug #413) 2008-11-24 12:39:50 +00:00
Gustavo J. A. M. Carneiro dfa88263cc fix --with-pybindgen path handling bug 2008-11-19 18:23:22 +00:00
Gustavo J. A. M. Carneiro 9af50e6d5b Add a --with-pybindgen option, to allow external pybindgen to be used instead of fetching it from the network 2008-11-19 17:32:37 +00:00
Gustavo J. A. M. Carneiro afe55f740e Fix build of Python bindings with Python 2.6 2008-11-18 15:12:12 +00:00
Gustavo J. A. M. Carneiro f804bb190a Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
This commit will change a lot the scanned API definitions, once, but should allow much more stable scanning in the future, as right now only types were being sorted, but free functions can jump up or down when different people on different machines scan the API.  Well, no more will that happen in the future, I hope.
2008-11-08 15:00:28 +00:00