Commit Graph
133 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro eb543e0d42 Re-enable the 'ns3' compatility python module, previously accidentally disabled 2011-09-01 17:28:10 +01:00
Tom Henderson 38d6da35a7 Bug 1253 - disable python bindings if static build selected 2011-08-31 06:23:28 -07:00
Gustavo J. A. M. Carneiro 5e8d5f0af8 Bug 1250 - waf configure do not check for Python.h (python-dev) 2011-08-25 19:24:06 +01:00
Gustavo J. A. M. Carneiro 22a6047f1b Bug 1240 - remove monolithic python bindings from waf 2011-08-18 16:53:15 +01:00
Gustavo J. A. M. Carneiro eb09115944 Bug 1224 - Ns-3-allinone fails to compile on Lion 2011-08-07 16:52:49 +01:00
Gustavo J. A. M. Carneiro 55b64af0fb Bump pybindgen version to pull another bug fix 2011-07-20 12:43:03 +01:00
Gustavo J. A. M. Carneiro 79aa17e773 Upgrade pybindgen 2011-07-19 19:49:51 +01:00
Gustavo J. A. M. Carneiro ef33b5f65b Bug 1200 again: fix pyext install path on fedora x86_64 2011-07-12 11:02:40 +01:00
Gustavo J. A. M. Carneiro 18b5fd647f Bug 1200 - ./waf install doesn't install Python bindings properly 2011-07-11 14:24:59 +01:00
Gustavo J. A. M. Carneiro ba71d825bf Bug 1200 - ./waf install doesn't install Python bindings properly 2011-07-05 19:16:47 +01:00
Gustavo J. A. M. Carneiro 995574d52b Bump required pybindgen version 2011-07-05 18:53:05 +01:00
Mathieu Lacage 986aa6b149 really require version 785 2011-04-15 20:51:42 +02:00
Mathieu Lacage e61b21214f early work to make python bindings work again with ns-3-time 2011-04-13 09:08:05 +02:00
Gustavo J. A. M. Carneiro 2ff92a57e9 Get pybindgen fix. 2011-04-04 19:44:35 +01:00
Gustavo J. A. M. Carneiro 626e16ba0c Python bindings: fix uninitialized value 2011-04-04 12:35:41 +01:00
Gustavo J. A. M. Carneiro 04b7872554 Tentatively switch to build modular bindings by default, to test them 2011-03-29 18:50:56 +01:00
Gustavo J. A. M. Carneiro 21a2176601 Make sure --python-scan ignores -test modules 2011-03-29 18:15:52 +01:00
Gustavo J. A. M. Carneiro 3ca07b03d9 Modular bindings: don't always generate compat ns3.py, only when needed 2011-03-28 15:31:13 +01:00
Gustavo J. A. M. Carneiro 645785539e Use the waf 'copy' tool to copy __init__.py files
They had to be renamed to work around waf limitations.

--HG--
rename : bindings/python/ns3/__init__.py => bindings/python/ns3__init__.py
rename : bindings/python/ns/__init__.py => bindings/python/ns__init__.py
2011-03-28 14:56:08 +01:00
Gustavo J. A. M. Carneiro a6d4d1f34e Modular bindings: add support for <module>.py and _<module>.so layout, for extending modules in Python 2011-03-27 23:35:55 +01:00
Gustavo J. A. M. Carneiro 9fabfdff27 ./waf --apiscan=all: now only scans modules that have bld.ns3_python_bindings() in their wscript 2011-03-22 15:56:41 +00:00
Gustavo J. A. M. Carneiro f1abc10ba4 ./waf --apiscan=all: don't scan modules ending in -test 2011-03-21 18:53:10 +00:00
Gustavo J. A. M. Carneiro f80d560a1e Make ./waf --apiscan=all skip the test modules 2011-03-21 18:16:41 +00:00
Gustavo J. A. M. Carneiro b7b073625d Modular bindings: before scanning a module, check that xxx-module.h exists, skip the scanning if it doesn't 2011-03-20 17:56:06 +00:00
Gustavo J. A. M. Carneiro ac1a6cccf8 Modular bindings: add support for the apiscan target 'all', that means scan all ns-3 modules 2011-03-20 15:41:43 +00:00
Gustavo J. A. M. Carneiro b349925829 Add OLSR modular bindings 2011-03-20 15:17:09 +00:00
Gustavo J. A. M. Carneiro 3498fbedc7 Bug 1076 - Waf gives an error if you enable only a single module 2011-03-20 13:01:40 +00:00
Gustavo J. A. M. Carneiro 8c24e9e0b6 Bug 1075 - Python examples fail when static built is enabled 2011-03-20 12:18:15 +00:00
Mitch Watrous dd0fa0fc12 Create separate module and test-module libraries
--HG--
rename : src/test/nsctcp/nsctcp-loss-test-suite.cc => src/test/ns3tcp/nsctcp-loss-test-suite.cc
2011-03-18 10:58:21 -07:00
Gustavo J. A. M. Carneiro bb6730f940 Modular bindings: handle module names with hyphens 2011-03-13 18:38:59 +00:00
Gustavo J. A. M. Carneiro 38441f79a6 Fix: The compat. ns3.py module is not needed when --bindings-type=both 2011-03-13 18:15:28 +00:00
Gustavo J. A. M. Carneiro c8248b0343 Modular bindings: waf dep. fix. 2011-03-13 17:56:59 +00:00
Gustavo J. A. M. Carneiro 0e8408201d Modular bindings: generate a compatibility 'ns3' module that imports the modular bindings 2011-03-13 16:03:33 +00:00
Gustavo J. A. M. Carneiro fec255857c Modular Python bindings work (many bug fixes, more modules tested) 2011-03-12 18:34:30 +00:00
Gustavo J. A. M. Carneiro 0da3be10bd Document in the --bindings-type waf option that modular bindings are experimental 2011-03-08 15:33:55 +00:00
Gustavo J. A. M. Carneiro fc478b2d43 merge
--HG--
rename : src/node/wscript => src/network/wscript
2011-03-08 12:46:53 +00:00
Gustavo J. A. M. Carneiro 0a70587e40 Fix Python scanning to allow apidefs to be placed on the right module instead of the main ns3module.cc file, for new-style modules 2011-01-31 19:03:19 +00:00
Gustavo J. A. M. Carneiro c0f567ef94 Start of work on modular Python bindings, unstable 2010-11-07 23:17:52 +00:00
Tom Henderson 401d4a29fc Help waf to guess release versions of nsc and pybindgen 2010-08-20 12:17:19 -07:00
Gustavo J. A. M. Carneiro 49a759b610 Update pybindgen version 2010-08-15 21:20:24 -07:00
Gustavo J. A. M. Carneiro e4e2cc0fd8 Update pybindgen version 2010-08-10 15:06:35 +01:00
Gustavo J. A. M. Carneiro d3fb19f20e Allow headers to be in subdirectories with respect to wscript 2010-07-02 12:45:09 -07:00
Gustavo J. A. M. Carneiro 92527842c8 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 1bdab52ab6 Fix Python bindings ns3.Object subclassing bug 2010-05-06 14:21:20 +01:00
Gustavo J. A. M. Carneiro c92bac4206 update pybindgen version 2010-04-21 08:39:57 -04:00
Gustavo J. A. M. Carneiro be6130a58b Upgrade pybindgen to fix the MI problem (bug #877) 2010-04-16 12:59:22 +01:00
Gustavo J. A. M. Carneiro b1c103c2e5 Add option to enable gcc precompiled header for compiling python bindings 2010-03-17 12:34:52 +00:00
Gustavo J. A. M. Carneiro 29f86f9565 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 6669e73972 Upgrade pybindgen to fix the any() bug (Python <= 2.4) 2010-02-03 18:09:25 +00:00
Gustavo J. A. M. Carneiro b8ce73b6c4 Upgrade waf from 1.5.9 to 1.5.11 2010-02-01 14:27:08 +00:00