Commit Graph

66 Commits

Author SHA1 Message Date
Gustavo J. A. M. Carneiro
c2985053a3 Pull pybindgen revno 582 for increased stability of the generated python files with multiple developers doing the scanning. 2008-10-02 17:30:38 +01:00
Gustavo J. A. M. Carneiro
03e1a6bae5 Exit WAF after processing --python-scan to avoid incorrect builds, since WAF does not handle well files being generated into the source dir instead of the build dir 2008-10-02 17:15:09 +01:00
Gustavo J. A. M. Carneiro
d607ae00f3 Need to acquire the Python GIL also in ~PythonEventImpl, as it may be called at any time from the C++ code, from any thread. 2008-09-27 15:32:04 +01:00
Gustavo J. A. M. Carneiro
8e454b058b Get newer pybindgen, for stl containers support 2008-09-27 15:26:27 +01:00
Gustavo J. A. M. Carneiro
9866cc1ce3 merge 2008-09-27 15:17:37 +01:00
Gustavo J. A. M. Carneiro
79e685df92 Allow interrupting PyBindGen fetching, via Ctrl-C, for the impatient developers. 2008-09-27 15:06:38 +01:00
Gustavo J. A. M. Carneiro
a2f945ddda Add missing Python GIL locking in PythonEventImpl::Notify 2008-09-17 15:47:07 +01:00
Gustavo J. A. M. Carneiro
808a874b45 Problem of Python bindings in MinGW has been fixed 2008-09-09 12:13:23 +01:00
Gustavo J. A. M. Carneiro
e1f187d38a Detect the pthread.h header file and automatically disable components that cannot build without it. 2008-09-08 12:19:46 +01:00
Gustavo J. A. M. Carneiro
8b080ef574 Python bindings generation does not need to depend on the 'everything.h' file, only API scanning and compilation of the generated sources. 2008-09-08 11:20:17 +01:00
Gustavo J. A. M. Carneiro
dcce81147d Use the information provided by conf.report_optional_feature() to enable/disable python bindings for optional APIs 2008-09-06 19:24:32 +01:00
Gustavo J. A. M. Carneiro
80ba473c52 For better consistency, option --nsc becomes --enable-nsc, --python-disable becomes --disable-python. 2008-09-06 14:46:01 +01:00
Unknown
f4ea04de0b apply MTU/FrameSize treatment to point-to-point 2008-09-05 15:18:20 -07:00
Gustavo J. A. M. Carneiro
453dd8a294 Add a summary of optional features at the end of the configuration stage. 2008-09-05 18:16:29 +01:00
Gustavo J. A. M. Carneiro
6e375eee8e New pybindgen, should fix bug #308. 2008-09-05 16:47:15 +01:00
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
Mathieu Lacage
51d62156f5 merge with HEAD 2008-09-03 10:42:18 -07: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
Mathieu Lacage
cd39d96f2b bug 282: remove Ipv4L4Demux 2008-09-02 17:20:32 -07:00
Mathieu Lacage
39daae1374 implement promisc mode 2008-09-02 13:37:59 -07:00
Mathieu Lacage
5788fe5e8f move GetBssid down to MacLow 2008-09-02 13:08:47 -07:00
Mathieu Lacage
8f7b450103 bug 274: bridge must detect compatibility of devices with bridging mode 2008-09-02 11:28:03 -07:00
Mathieu Lacage
87dc4f304d catch KeyError exception to avoid failing when sqlite or gtk are not installed 2008-09-02 10:44:28 -07: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
7570be25c5 Python: fix constructor wrapper name for templated ns3::Objects. 2008-08-31 22:33:23 +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
Mathieu Lacage
3ba086cef6 bug 273: fix python bindings. 2008-08-25 15:16:35 -07: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
0717db6ed0 Rescan Python bindings 2008-08-18 16:02:54 +01:00
Gustavo J. A. M. Carneiro
a128c2f70a Python: fix bad parameter passed into pybindgen. 2008-08-18 16:00:47 +01:00
Gustavo J. A. M. Carneiro
0335beed14 Python: ignore TracedCallback classes for the time being: they were never usable and were triggering pybindgen generate code compilation problems. 2008-08-18 16:00:10 +01:00
Mathieu Lacage
b591ee4053 bug 275: Queue::Peek should return Ptr<const Packet> 2008-08-11 10:40:31 -07:00
Gustavo J. A. M. Carneiro
39f080feba Rescan API (due to wifi changes to support bridging) 2008-08-08 10:49:18 +01:00
Mathieu Lacage
29151f4ec2 remove Node::GetFirstApplication checked in changeset 38b8549b1ad3 by mistake. 2008-08-07 10:13:54 -07:00
Gustavo J. A. M. Carneiro
161adc2a4e Bug #270: Simulator::RunOneEvent 2008-08-06 11:37:52 +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
Mathieu Lacage
89cb48c524 bug 252: make python bindings compile 2008-07-28 08:59:05 -07: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
5e24aed9dd When python scanning API, remove again the NS3_LOG_ENABLE define; it is no longer needed. 2008-07-25 16:54:29 +01:00
Gustavo J. A. M. Carneiro
ca2fef3bd8 Make the new NetDevice APIs pure virtual methods, by Mathieu's insistence. 2008-07-24 11:41:15 +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