Commit Graph

28 Commits

Author SHA1 Message Date
Gustavo J. A. M. Carneiro
2c7865d6f2 Disable Python support on the CygWin platform, at least until/if the problems are fixed. 2008-09-04 18:45:21 +01:00
Gustavo J. A. M. Carneiro
d801092405 Update PyBindGen, fixes compilation with python 2.4. 2008-09-04 14:15:32 +01:00
Gustavo J. A. M. Carneiro
9c48b2460c Fix build when ns3_module_*__local.py files are used. 2008-09-03 17:42:28 +01:00
Gustavo J. A. M. Carneiro
1ace78069a Fix compilation of Python bindings when libsqlite3 is not available (and so the class SqliteDataOutput is omitted). 2008-09-02 17:32:19 +01:00
Gustavo J. A. M. Carneiro
0adbfb8047 New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently. 2008-09-02 11:12:42 +01:00
Gustavo J. A. M. Carneiro
90c70d1a39 Require new PyBindGen (now ignores the badly scanned anonymous containers that cause problems on cygwin) and rescan API. 2008-08-29 14:56:24 +01:00
Gustavo J. A. M. Carneiro
c0ee4eb2a0 Pull in Mathieu's PyBindGen fix. 2008-08-26 22:20:30 +01:00
Gustavo J. A. M. Carneiro
abd6647112 New PyBindGen, fixes python wrapper identity issue. 2008-08-23 22:35:10 +01:00
Gustavo J. A. M. Carneiro
fd774c3fb6 New PyBindGen version and API rescan: adds missing copy constructors, and generates __copy__ methods so that python's copy.copy() works on our objects. 2008-08-19 17:48:09 +01:00
Gustavo J. A. M. Carneiro
433c4e2eea New pybindgen version, fixes a couple of bugs caught by regression testing. 2008-08-19 12:53:44 +01:00
Gustavo J. A. M. Carneiro
7c7b4e12fb Don't scan python bindings until the everything.h file to be scanned is generated. Closes #288. 2008-08-18 23:04:49 +01:00
Gustavo J. A. M. Carneiro
f051f8fb19 New PyBindGen version needed. 2008-08-18 16:03:31 +01:00
Gustavo J. A. M. Carneiro
2d872a846d Python: re-scan API; unblock python threads during Simulator::Run; new pybindgen brings improved thread safety for virtual methods. 2008-08-05 19:42:53 +01:00
Gustavo J. A. M. Carneiro
27df0a5c92 Python: use hash() as temporary workaround to check if two objects with different wrappers are underneath the same. 2008-08-01 23:11:42 +01:00
Gustavo J. A. M. Carneiro
91f0ef0320 Only generate everything.h if python bindings are enabled. Based on patch by Mathieu Lacage. Closes #260. 2008-07-26 15:23:41 +01:00
Gustavo J. A. M. Carneiro
c95c773d17 When generating the everything.h header file for Python, handle ns3 headers inside subdirectories properly. 2008-07-26 15:10:34 +01:00
Gustavo J. A. M. Carneiro
5a71f60c7a Define NS3_ASSERT_ENABLE and NS3_LOG_ENABLE, to make sure we pick up all definitions (such as the logging APIs) 2008-07-23 11:48:17 +01:00
Gustavo J. A. M. Carneiro
b9722796d7 Require new PyBindGen; make it work for Python 2.3. 2008-07-22 16:54:24 +01:00
Gustavo J. A. M. Carneiro
f890b8e138 Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read 2008-07-21 15:30:15 +01:00
Gustavo J. A. M. Carneiro
cfa12b46c4 Again, make Python depend only on scanned modules (last fix was incomplete). 2008-07-14 11:35:58 +01:00
Gustavo J. A. M. Carneiro
69dc042ec7 Make Python bindings depend only on NS-3 modules that have been API-scanned, not all modules. 2008-07-14 11:25:10 +01:00
Gustavo J. A. M. Carneiro
10ee9b9e01 Python: make helper class methods using attribute optional parameters work. 2008-07-13 17:55:48 +01:00
Gustavo J. A. M. Carneiro
1132bcbd99 If GtkConfigStore support is disabled, disable the python bindings for it, or else compilation fails. 2008-07-12 22:06:15 +01:00
Gustavo J. A. M. Carneiro
8356645d0a Make sure we don't trigger deprecation warnings while compiling the python bindings. 2008-07-11 19:32:22 +01:00
Gustavo J. A. M. Carneiro
a6ccafbed7 Fix a problem with callback proxies with zero or one parameters. 2008-07-09 18:33:16 +01:00
Gustavo J. A. M. Carneiro
fd2cdaf7ac Redirect the stderr of pybindgen to a log file (ns3modulegen.log). 2008-07-09 17:31:37 +01:00
Gustavo J. A. M. Carneiro
0f045371a3 The 'everything.h' header file is only used for Python bindings and should be generated into bindings/python/, not ns3/. 2008-07-09 14:58:02 +01:00
Gustavo J. A. M. Carneiro
5f994081d5 python bindings 2008-07-08 10:43:58 -07:00