Commit Graph
257 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro 7dcaa0b651 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 a37d7f920f 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 869e918573 For better consistency, option --nsc becomes --enable-nsc, --python-disable becomes --disable-python. 2008-09-06 14:46:01 +01:00
craigdo@ns-test 522c4b80e3 apply MTU/FrameSize treatment to point-to-point 2008-09-05 15:18:20 -07:00
Gustavo J. A. M. Carneiro c9204c386f 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 abc71c2da5 New pybindgen, should fix bug #308. 2008-09-05 16:47:15 +01:00
Gustavo J. A. M. Carneiro 834aa053eb 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 42b6b7f2a3 Update PyBindGen, fixes compilation with python 2.4. 2008-09-04 14:15:32 +01:00
Mathieu Lacage bc9ddc37da merge with HEAD 2008-09-03 10:42:18 -07:00
Gustavo J. A. M. Carneiro 282a4d9c8c Fix build when ns3_module_*__local.py files are used.
--HG--
extra : transplant_source : %CD%FAY7%0C%8Fl%98%25%0D%02%5C%A0MG%8F%F3%10%00N
2008-09-03 17:42:28 +01:00
Mathieu Lacage debc5565e7 bug 282: remove Ipv4L4Demux 2008-09-02 17:20:32 -07:00
Mathieu Lacage 59e6ca152a implement promisc mode 2008-09-02 13:37:59 -07:00
Mathieu Lacage f5c90de8c2 move GetBssid down to MacLow 2008-09-02 13:08:47 -07:00
Mathieu Lacage 83d5287e80 bug 274: bridge must detect compatibility of devices with bridging mode 2008-09-02 11:28:03 -07:00
Mathieu Lacage c3c7f68cc2 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 ccfbdb0575 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 0479738e6d 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 4b0018f349 Python: fix constructor wrapper name for templated ns3::Objects. 2008-08-31 22:33:23 +01:00
Gustavo J. A. M. Carneiro d207d172da 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 e0d4eb7e45 Pull in Mathieu's PyBindGen fix. 2008-08-26 22:20:30 +01:00
Mathieu Lacage ed4324cb4a bug 273: fix python bindings. 2008-08-25 15:16:35 -07:00
Gustavo J. A. M. Carneiro b816aebc68 New PyBindGen, fixes python wrapper identity issue. 2008-08-23 22:35:10 +01:00
Gustavo J. A. M. Carneiro 2f01408db6 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 17f113e82a 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 7a8337e201 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 df255302f5 New PyBindGen version needed. 2008-08-18 16:03:31 +01:00
Gustavo J. A. M. Carneiro 7d4ab5def7 Rescan Python bindings 2008-08-18 16:02:54 +01:00
Gustavo J. A. M. Carneiro 27e27d16e2 Python: fix bad parameter passed into pybindgen. 2008-08-18 16:00:47 +01:00
Gustavo J. A. M. Carneiro 40ceb26ae3 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 9d3ae9dc41 bug 275: Queue::Peek should return Ptr<const Packet> 2008-08-11 10:40:31 -07:00
Gustavo J. A. M. Carneiro 5666d8cbf3 Rescan API (due to wifi changes to support bridging) 2008-08-08 10:49:18 +01:00
Mathieu Lacage 5af2eb3f49 remove Node::GetFirstApplication checked in changeset 38b8549b1ad3 by mistake. 2008-08-07 10:13:54 -07:00
Gustavo J. A. M. Carneiro 7aa146106f Bug #270: Simulator::RunOneEvent
--HG--
extra : transplant_source : %B0u%24%87v%8077%BA%94X%3E%2B%EE%21T%5E%5DZ%27
2008-08-06 11:37:52 +01:00
Gustavo J. A. M. Carneiro c6795fea8b 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 76473105e5 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 179b69e9d3 bug 252: make python bindings compile 2008-07-28 08:59:05 -07:00
Gustavo J. A. M. Carneiro 7c3206a589 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 48cb7695cb 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 3b80a1abfc 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 a76c709ef8 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 50b884c4bc 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 fd4fa128c6 Require new PyBindGen; make it work for Python 2.3. 2008-07-22 16:54:24 +01:00
Gustavo J. A. M. Carneiro 2d8befef63 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 1609dccea8 python scanning: remove redundant incref/decref_method annotations 2008-07-21 11:43:05 +01:00
Gustavo J. A. M. Carneiro 90a520d862 New API considering comments from Craig: NetDevice->Node uses two callbacks; Node->ProtocolHandlers uses a single API with a promiscuous flag. 2008-07-16 16:06:50 +01:00
Gustavo J. A. M. Carneiro 7bd581dfdf Rescan API 2008-07-14 11:42:49 +01:00
Gustavo J. A. M. Carneiro 362021f56c 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 82fc6db406 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 453ed1e996 Python: make helper class methods using attribute optional parameters work. 2008-07-13 17:55:48 +01:00
Gustavo J. A. M. Carneiro 5d0f3c1258 If GtkConfigStore support is disabled, disable the python bindings for it, or else compilation fails. 2008-07-12 22:06:15 +01:00