Commit Graph

420 Commits

Author SHA1 Message Date
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 63668c6661 scan monolithic bindings 2011-04-15 21:13:19 +02:00
Mathieu Lacage 986aa6b149 really require version 785 2011-04-15 20:51:42 +02:00
Mathieu Lacage 46c61cfe24 define PYTHON_SCAN 2011-04-15 13:35:08 +02:00
Mathieu Lacage 3796f1ec18 define PYTHON_SCAN 2011-04-15 13:34:57 +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 65d073efbc Rescan old python bindings 2011-04-01 17:45:26 +01:00
Gustavo J. A. M. Carneiro 0b3afd8125 Python bindings: don't try to wrap Test* classes 2011-03-31 17:47:20 +01:00
Gustavo J. A. M. Carneiro 650632f474 Modular bindings: add the std::ios::openmode constants 2011-03-30 18:44:36 +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 7edccc6b59 API rescan 2011-03-29 18:16:08 +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 cd245017f8 Add placeholder files to keep ns/ns3 directories alive 2011-03-28 18:01:31 +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 168efa0be8 Modular bindings: fix binding code generation when the module does not use ns3::Object 2011-03-24 17:01:06 +00:00
Mitch Watrous 75bd7b7605 Split contrib module into config-store and tools
--HG--
rename : src/contrib/attribute-default-iterator.cc => src/config-store/model/attribute-default-iterator.cc
rename : src/contrib/attribute-default-iterator.h => src/config-store/model/attribute-default-iterator.h
rename : src/contrib/attribute-iterator.cc => src/config-store/model/attribute-iterator.cc
rename : src/contrib/attribute-iterator.h => src/config-store/model/attribute-iterator.h
rename : src/contrib/config-store.cc => src/config-store/model/config-store.cc
rename : src/contrib/config-store.h => src/config-store/model/config-store.h
rename : src/contrib/display-functions.cc => src/config-store/model/display-functions.cc
rename : src/contrib/display-functions.h => src/config-store/model/display-functions.h
rename : src/contrib/file-config.cc => src/config-store/model/file-config.cc
rename : src/contrib/file-config.h => src/config-store/model/file-config.h
rename : src/contrib/gtk-config-store.cc => src/config-store/model/gtk-config-store.cc
rename : src/contrib/gtk-config-store.h => src/config-store/model/gtk-config-store.h
rename : src/contrib/model-node-creator.cc => src/config-store/model/model-node-creator.cc
rename : src/contrib/model-node-creator.h => src/config-store/model/model-node-creator.h
rename : src/contrib/model-typeid-creator.cc => src/config-store/model/model-typeid-creator.cc
rename : src/contrib/model-typeid-creator.h => src/config-store/model/model-typeid-creator.h
rename : src/contrib/raw-text-config.cc => src/config-store/model/raw-text-config.cc
rename : src/contrib/raw-text-config.h => src/config-store/model/raw-text-config.h
rename : src/contrib/xml-config.cc => src/config-store/model/xml-config.cc
rename : src/contrib/xml-config.h => src/config-store/model/xml-config.h
rename : src/contrib/flow-id-tag.cc => src/network/utils/flow-id-tag.cc
rename : src/contrib/flow-id-tag.h => src/network/utils/flow-id-tag.h
rename : src/contrib/average.h => src/tools/model/average.h
rename : src/contrib/delay-jitter-estimation.cc => src/tools/model/delay-jitter-estimation.cc
rename : src/contrib/delay-jitter-estimation.h => src/tools/model/delay-jitter-estimation.h
rename : src/contrib/event-garbage-collector.cc => src/tools/model/event-garbage-collector.cc
rename : src/contrib/event-garbage-collector.h => src/tools/model/event-garbage-collector.h
rename : src/contrib/gnuplot.cc => src/tools/model/gnuplot.cc
rename : src/contrib/gnuplot.h => src/tools/model/gnuplot.h
2011-03-24 09:23:44 -07:00
Mitch Watrous 3555dd2eda Rescan bindings 2011-03-22 16:12:36 -07:00
Gustavo J. A. M. Carneiro e54f4a50fd Modular bindings: fix 'import_from_module' with module names with dashes 2011-03-22 17:27:25 +00: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 73af9226ae Modular bindings: bug fixes, more verbose scanning 2011-03-20 15:08:20 +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 a8f09c04df Bindings api rescan 2011-03-15 12:17:06 +01: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 afc9ece749 Modular bindings: add the Callback<...> type handlers 2011-03-13 15:28:57 +00:00
Gustavo J. A. M. Carneiro de8032fe68 merge 2011-03-12 18:35:56 +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
Josh Pelkey e61b344083 python scan 2011-03-11 16:20:25 -05:00
Gustavo J. A. M. Carneiro 0fefea8148 Modular python scan: fix module detection of template class instantiation 2011-03-11 15:55:38 +00:00
Gustavo J. A. M. Carneiro 898ebebf9b Rescan BridgeNetDevice API changes. 2011-03-11 11:29:58 +00:00
Mitch Watrous 8307f6338f Make mesh, dot11s, and flame modules create only one module
--HG--
rename : src/mesh/model/dot11s/helper/dot11s-installer.cc => src/mesh/helper/dot11s/dot11s-installer.cc
rename : src/mesh/model/dot11s/helper/dot11s-installer.h => src/mesh/helper/dot11s/dot11s-installer.h
rename : src/mesh/model/flame/helper/flame-installer.cc => src/mesh/helper/flame/flame-installer.cc
rename : src/mesh/model/flame/helper/flame-installer.h => src/mesh/helper/flame/flame-installer.h
rename : src/mesh/model/dot11s/model/airtime-metric.cc => src/mesh/model/dot11s/airtime-metric.cc
rename : src/mesh/model/dot11s/model/airtime-metric.h => src/mesh/model/dot11s/airtime-metric.h
rename : src/mesh/model/dot11s/model/dot11s-mac-header.cc => src/mesh/model/dot11s/dot11s-mac-header.cc
rename : src/mesh/model/dot11s/model/dot11s-mac-header.h => src/mesh/model/dot11s/dot11s-mac-header.h
rename : src/mesh/model/dot11s/model/dot11s.h => src/mesh/model/dot11s/dot11s.h
rename : src/mesh/model/dot11s/model/hwmp-protocol-mac.cc => src/mesh/model/dot11s/hwmp-protocol-mac.cc
rename : src/mesh/model/dot11s/model/hwmp-protocol-mac.h => src/mesh/model/dot11s/hwmp-protocol-mac.h
rename : src/mesh/model/dot11s/model/hwmp-protocol.cc => src/mesh/model/dot11s/hwmp-protocol.cc
rename : src/mesh/model/dot11s/model/hwmp-protocol.h => src/mesh/model/dot11s/hwmp-protocol.h
rename : src/mesh/model/dot11s/model/hwmp-rtable.cc => src/mesh/model/dot11s/hwmp-rtable.cc
rename : src/mesh/model/dot11s/model/hwmp-rtable.h => src/mesh/model/dot11s/hwmp-rtable.h
rename : src/mesh/model/dot11s/model/hwmp-tag.cc => src/mesh/model/dot11s/hwmp-tag.cc
rename : src/mesh/model/dot11s/model/hwmp-tag.h => src/mesh/model/dot11s/hwmp-tag.h
rename : src/mesh/model/dot11s/model/ie-dot11s-beacon-timing.cc => src/mesh/model/dot11s/ie-dot11s-beacon-timing.cc
rename : src/mesh/model/dot11s/model/ie-dot11s-beacon-timing.h => src/mesh/model/dot11s/ie-dot11s-beacon-timing.h
rename : src/mesh/model/dot11s/model/ie-dot11s-configuration.cc => src/mesh/model/dot11s/ie-dot11s-configuration.cc
rename : src/mesh/model/dot11s/model/ie-dot11s-configuration.h => src/mesh/model/dot11s/ie-dot11s-configuration.h
rename : src/mesh/model/dot11s/model/ie-dot11s-id.cc => src/mesh/model/dot11s/ie-dot11s-id.cc
rename : src/mesh/model/dot11s/model/ie-dot11s-id.h => src/mesh/model/dot11s/ie-dot11s-id.h
rename : src/mesh/model/dot11s/model/ie-dot11s-metric-report.cc => src/mesh/model/dot11s/ie-dot11s-metric-report.cc
rename : src/mesh/model/dot11s/model/ie-dot11s-metric-report.h => src/mesh/model/dot11s/ie-dot11s-metric-report.h
rename : src/mesh/model/dot11s/model/ie-dot11s-peer-management.cc => src/mesh/model/dot11s/ie-dot11s-peer-management.cc
rename : src/mesh/model/dot11s/model/ie-dot11s-peer-management.h => src/mesh/model/dot11s/ie-dot11s-peer-management.h
rename : src/mesh/model/dot11s/model/ie-dot11s-peering-protocol.cc => src/mesh/model/dot11s/ie-dot11s-peering-protocol.cc
rename : src/mesh/model/dot11s/model/ie-dot11s-peering-protocol.h => src/mesh/model/dot11s/ie-dot11s-peering-protocol.h
rename : src/mesh/model/dot11s/model/ie-dot11s-perr.cc => src/mesh/model/dot11s/ie-dot11s-perr.cc
rename : src/mesh/model/dot11s/model/ie-dot11s-perr.h => src/mesh/model/dot11s/ie-dot11s-perr.h
rename : src/mesh/model/dot11s/model/ie-dot11s-prep.cc => src/mesh/model/dot11s/ie-dot11s-prep.cc
rename : src/mesh/model/dot11s/model/ie-dot11s-prep.h => src/mesh/model/dot11s/ie-dot11s-prep.h
rename : src/mesh/model/dot11s/model/ie-dot11s-preq.cc => src/mesh/model/dot11s/ie-dot11s-preq.cc
rename : src/mesh/model/dot11s/model/ie-dot11s-preq.h => src/mesh/model/dot11s/ie-dot11s-preq.h
rename : src/mesh/model/dot11s/model/ie-dot11s-rann.cc => src/mesh/model/dot11s/ie-dot11s-rann.cc
rename : src/mesh/model/dot11s/model/ie-dot11s-rann.h => src/mesh/model/dot11s/ie-dot11s-rann.h
rename : src/mesh/model/dot11s/model/peer-link-frame.cc => src/mesh/model/dot11s/peer-link-frame.cc
rename : src/mesh/model/dot11s/model/peer-link-frame.h => src/mesh/model/dot11s/peer-link-frame.h
rename : src/mesh/model/dot11s/model/peer-link.cc => src/mesh/model/dot11s/peer-link.cc
rename : src/mesh/model/dot11s/model/peer-link.h => src/mesh/model/dot11s/peer-link.h
rename : src/mesh/model/dot11s/model/peer-management-protocol-mac.cc => src/mesh/model/dot11s/peer-management-protocol-mac.cc
rename : src/mesh/model/dot11s/model/peer-management-protocol-mac.h => src/mesh/model/dot11s/peer-management-protocol-mac.h
rename : src/mesh/model/dot11s/model/peer-management-protocol.cc => src/mesh/model/dot11s/peer-management-protocol.cc
rename : src/mesh/model/dot11s/model/peer-management-protocol.h => src/mesh/model/dot11s/peer-management-protocol.h
rename : src/mesh/model/flame/model/flame-header.cc => src/mesh/model/flame/flame-header.cc
rename : src/mesh/model/flame/model/flame-header.h => src/mesh/model/flame/flame-header.h
rename : src/mesh/model/flame/model/flame-protocol-mac.cc => src/mesh/model/flame/flame-protocol-mac.cc
rename : src/mesh/model/flame/model/flame-protocol-mac.h => src/mesh/model/flame/flame-protocol-mac.h
rename : src/mesh/model/flame/model/flame-protocol.cc => src/mesh/model/flame/flame-protocol.cc
rename : src/mesh/model/flame/model/flame-protocol.h => src/mesh/model/flame/flame-protocol.h
rename : src/mesh/model/flame/model/flame-rtable.cc => src/mesh/model/flame/flame-rtable.cc
rename : src/mesh/model/flame/model/flame-rtable.h => src/mesh/model/flame/flame-rtable.h
rename : src/mesh/model/dot11s/test/dot11s-test-suite.cc => src/mesh/test/dot11s/dot11s-test-suite.cc
rename : src/mesh/model/dot11s/test/hwmp-proactive-regression-test-0-1.pcap => src/mesh/test/dot11s/hwmp-proactive-regression-test-0-1.pcap
rename : src/mesh/model/dot11s/test/hwmp-proactive-regression-test-1-1.pcap => src/mesh/test/dot11s/hwmp-proactive-regression-test-1-1.pcap
rename : src/mesh/model/dot11s/test/hwmp-proactive-regression-test-2-1.pcap => src/mesh/test/dot11s/hwmp-proactive-regression-test-2-1.pcap
rename : src/mesh/model/dot11s/test/hwmp-proactive-regression-test-3-1.pcap => src/mesh/test/dot11s/hwmp-proactive-regression-test-3-1.pcap
rename : src/mesh/model/dot11s/test/hwmp-proactive-regression-test-4-1.pcap => src/mesh/test/dot11s/hwmp-proactive-regression-test-4-1.pcap
rename : src/mesh/model/dot11s/test/hwmp-proactive-regression.cc => src/mesh/test/dot11s/hwmp-proactive-regression.cc
rename : src/mesh/model/dot11s/test/hwmp-proactive-regression.h => src/mesh/test/dot11s/hwmp-proactive-regression.h
rename : src/mesh/model/dot11s/test/hwmp-reactive-regression-test-0-1.pcap => src/mesh/test/dot11s/hwmp-reactive-regression-test-0-1.pcap
rename : src/mesh/model/dot11s/test/hwmp-reactive-regression-test-1-1.pcap => src/mesh/test/dot11s/hwmp-reactive-regression-test-1-1.pcap
rename : src/mesh/model/dot11s/test/hwmp-reactive-regression-test-2-1.pcap => src/mesh/test/dot11s/hwmp-reactive-regression-test-2-1.pcap
rename : src/mesh/model/dot11s/test/hwmp-reactive-regression-test-3-1.pcap => src/mesh/test/dot11s/hwmp-reactive-regression-test-3-1.pcap
rename : src/mesh/model/dot11s/test/hwmp-reactive-regression-test-4-1.pcap => src/mesh/test/dot11s/hwmp-reactive-regression-test-4-1.pcap
rename : src/mesh/model/dot11s/test/hwmp-reactive-regression-test-5-1.pcap => src/mesh/test/dot11s/hwmp-reactive-regression-test-5-1.pcap
rename : src/mesh/model/dot11s/test/hwmp-reactive-regression.cc => src/mesh/test/dot11s/hwmp-reactive-regression.cc
rename : src/mesh/model/dot11s/test/hwmp-reactive-regression.h => src/mesh/test/dot11s/hwmp-reactive-regression.h
rename : src/mesh/model/dot11s/test/hwmp-simplest-regression-test-0-1.pcap => src/mesh/test/dot11s/hwmp-simplest-regression-test-0-1.pcap
rename : src/mesh/model/dot11s/test/hwmp-simplest-regression-test-1-1.pcap => src/mesh/test/dot11s/hwmp-simplest-regression-test-1-1.pcap
rename : src/mesh/model/dot11s/test/hwmp-simplest-regression.cc => src/mesh/test/dot11s/hwmp-simplest-regression.cc
rename : src/mesh/model/dot11s/test/hwmp-simplest-regression.h => src/mesh/test/dot11s/hwmp-simplest-regression.h
rename : src/mesh/model/dot11s/test/hwmp-target-flags-regression-test-0-1.pcap => src/mesh/test/dot11s/hwmp-target-flags-regression-test-0-1.pcap
rename : src/mesh/model/dot11s/test/hwmp-target-flags-regression-test-1-1.pcap => src/mesh/test/dot11s/hwmp-target-flags-regression-test-1-1.pcap
rename : src/mesh/model/dot11s/test/hwmp-target-flags-regression-test-2-1.pcap => src/mesh/test/dot11s/hwmp-target-flags-regression-test-2-1.pcap
rename : src/mesh/model/dot11s/test/hwmp-target-flags-regression-test-3-1.pcap => src/mesh/test/dot11s/hwmp-target-flags-regression-test-3-1.pcap
rename : src/mesh/model/dot11s/test/hwmp-target-flags-regression.cc => src/mesh/test/dot11s/hwmp-target-flags-regression.cc
rename : src/mesh/model/dot11s/test/hwmp-target-flags-regression.h => src/mesh/test/dot11s/hwmp-target-flags-regression.h
rename : src/mesh/model/dot11s/test/pmp-regression-test-0-1.pcap => src/mesh/test/dot11s/pmp-regression-test-0-1.pcap
rename : src/mesh/model/dot11s/test/pmp-regression-test-1-1.pcap => src/mesh/test/dot11s/pmp-regression-test-1-1.pcap
rename : src/mesh/model/dot11s/test/pmp-regression.cc => src/mesh/test/dot11s/pmp-regression.cc
rename : src/mesh/model/dot11s/test/pmp-regression.h => src/mesh/test/dot11s/pmp-regression.h
rename : src/mesh/model/dot11s/test/regression.cc => src/mesh/test/dot11s/regression.cc
rename : src/mesh/model/flame/test/flame-regression-test-0-1.pcap => src/mesh/test/flame/flame-regression-test-0-1.pcap
rename : src/mesh/model/flame/test/flame-regression-test-1-1.pcap => src/mesh/test/flame/flame-regression-test-1-1.pcap
rename : src/mesh/model/flame/test/flame-regression-test-2-1.pcap => src/mesh/test/flame/flame-regression-test-2-1.pcap
rename : src/mesh/model/flame/test/flame-regression.cc => src/mesh/test/flame/flame-regression.cc
rename : src/mesh/model/flame/test/flame-regression.h => src/mesh/test/flame/flame-regression.h
rename : src/mesh/model/flame/test/flame-test-suite.cc => src/mesh/test/flame/flame-test-suite.cc
rename : src/mesh/model/flame/test/regression.cc => src/mesh/test/flame/regression.cc
2011-03-08 11:58:49 -08:00
Gustavo J. A. M. Carneiro ae512e85d9 Copy a bug fix from ns3modulescan.py into ns3modulescan-modular.py 2011-03-08 15:35:51 +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