7a711ae53e
bug 269: revert parts of 9e763021e045 and add comments to avoid getting these again.
Mathieu Lacage
2008-08-03 09:14:07 -07:00
1e654fa962
merge
Gustavo J. A. M. Carneiro
2008-08-01 23:15:00 +01:00
27df0a5c92
Python: use hash() as temporary workaround to check if two objects with different wrappers are underneath the same.
Gustavo J. A. M. Carneiro
2008-08-01 23:11:42 +01:00
af0efdeab3
branch merge
Tom Henderson
2008-08-01 07:40:22 -07:00
b157853a0c
OLSR: HELLO messages hold time should be 3 times hello interval, not hello interval.
Gustavo J. A. M. Carneiro
2008-07-28 16:06:46 +01:00
91f0ef0320
Only generate everything.h if python bindings are enabled. Based on patch by Mathieu Lacage. Closes#260.
Gustavo J. A. M. Carneiro
2008-07-26 15:23:41 +01:00
c95c773d17
When generating the everything.h header file for Python, handle ns3 headers inside subdirectories properly.
Gustavo J. A. M. Carneiro
2008-07-26 15:10:34 +01:00
5e24aed9dd
When python scanning API, remove again the NS3_LOG_ENABLE define; it is no longer needed.
Gustavo J. A. M. Carneiro
2008-07-25 16:54:29 +01:00
fbf681955e
Make the LogComponent* utility functions available for optimized builds as well, albeit as noops. Closes#258.
Gustavo J. A. M. Carneiro
2008-07-25 16:51:40 +01:00
565483bc09
hg ignore the pybindgen checkout dir
Gustavo J. A. M. Carneiro
2008-07-24 17:24:01 +01:00
2aceead32f
merge
Gustavo J. A. M. Carneiro
2008-07-24 11:41:56 +01:00
ca2fef3bd8
Make the new NetDevice APIs pure virtual methods, by Mathieu's insistence.
Gustavo J. A. M. Carneiro
2008-07-24 11:41:15 +01:00
732b7994de
Add empty implementation of Simulator::SetImplementation, to make Python bindings work.
Gustavo J. A. M. Carneiro
2008-07-24 11:37:56 +01:00
f573eaa47a
Add helper waf proxy script
Gustavo J. A. M. Carneiro
2008-07-24 11:27:57 +01:00
c51f635cfb
fix supidity in mtu stuff
Craig Dowell
2008-07-23 18:29:13 -07:00
dbb7f0f738
begin sorting out mtu woes
Craig Dowell
2008-07-23 17:09:12 -07:00
0ad768c938
Make PacketSink multitasking for TCP (closes bug 244)
Raj Bhattacharjea
2008-07-23 16:09:17 -04:00
5a71f60c7a
Define NS3_ASSERT_ENABLE and NS3_LOG_ENABLE, to make sure we pick up all definitions (such as the logging APIs)
Gustavo J. A. M. Carneiro
2008-07-23 11:48:17 +01:00
b9722796d7
Require new PyBindGen; make it work for Python 2.3.
Gustavo J. A. M. Carneiro
2008-07-22 16:54:24 +01:00
f890b8e138
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro
2008-07-21 15:30:15 +01:00
fd2cf07d30
python scanning: remove redundant incref/decref_method annotations
Gustavo J. A. M. Carneiro
2008-07-21 11:43:05 +01:00
d711e853d0
more details for 3.2 release notes
Tom Henderson
2008-07-20 07:59:21 -07:00
9c8ee223b3
make simulator implementation replaceable via global default value
Craig Dowell
2008-07-18 21:51:31 -07:00
a303c4bfad
Add release notes.
Gustavo J. A. M. Carneiro
2008-07-18 12:12:43 +01:00
ae074d9e03
No need to make NetDevice::SendFrom pure virtual; instead just give a fatal error if used in runtime (it's only used by the learning bridge, anyway, so...).
Gustavo J. A. M. Carneiro
2008-07-18 11:41:22 +01:00
0632b05ed9
merge
Gustavo J. A. M. Carneiro
2008-07-18 11:23:29 +01:00
06a4d72721
merge
Gustavo J. A. M. Carneiro
2008-07-18 11:12:31 +01:00
b1af5815b0
factor simulator into interface and (multiple) implementation pieces
Craig Dowell
2008-07-17 23:52:59 -07:00
d369fc0c61
fix darwin build break
Unknown
2008-07-17 18:57:08 -07:00
e567e5fec5
fix darwin build break
Craig Dowell
2008-07-17 18:45:58 -07:00
4144eccd4f
merge
Gustavo J. A. M. Carneiro
2008-07-17 17:58:14 +01:00
f7fc598240
A couple of attribute python unit tests
Gustavo J. A. M. Carneiro
2008-07-17 17:57:18 +01:00
4914c4afcb
Add NS_LOG_FUNCTION calls in arp implementation
Tom Henderson
2008-07-16 22:33:51 -07:00
8cc54510ba
Don't run python unit tests if python bindings not enabled. Closes#254.
Gustavo J. A. M. Carneiro
2008-07-16 17:44:42 +01:00
a8d461f29e
Remove some useless code
Gustavo J. A. M. Carneiro
2008-07-16 16:17:21 +01:00
c33568c079
New API considering comments from Craig: NetDevice->Node uses two callbacks; Node->ProtocolHandlers uses a single API with a promiscuous flag.
Gustavo J. A. M. Carneiro
2008-07-16 16:06:50 +01:00
ccb5ec4d4d
merge
Gustavo J. A. M. Carneiro
2008-07-16 14:33:44 +01:00
6b9023ebf4
merge
Gustavo J. A. M. Carneiro
2008-07-16 10:46:51 +01:00
ef5b621566
Patch WAF to make output redirection work again (Utils.get_term_cols() bug)
Gustavo J. A. M. Carneiro
2008-07-16 10:45:13 +01:00
db748a0000
add system threads and synchronization primitives
Craig Dowell
2008-07-15 15:59:57 -07:00
2ca65219de
Add csma-bridge example ported to Python.
Gustavo J. A. M. Carneiro
2008-07-14 15:41:51 +01:00
65d4f0972c
Rescan API
Gustavo J. A. M. Carneiro
2008-07-14 11:42:49 +01:00
41fab0b441
merge
Gustavo J. A. M. Carneiro
2008-07-14 11:39:41 +01:00
cfa12b46c4
Again, make Python depend only on scanned modules (last fix was incomplete).
Gustavo J. A. M. Carneiro
2008-07-14 11:35:58 +01:00
ff82231ef4
merge
Gustavo J. A. M. Carneiro
2008-07-14 11:29:31 +01:00
6afc4f8d7f
Again, make Python depend only on scanned modules (last fix was incomplete).
Gustavo J. A. M. Carneiro
2008-07-14 11:29:13 +01:00
f1e627aec7
merge
Gustavo J. A. M. Carneiro
2008-07-14 11:25:59 +01:00
69dc042ec7
Make Python bindings depend only on NS-3 modules that have been API-scanned, not all modules.
Gustavo J. A. M. Carneiro
2008-07-14 11:25:10 +01:00
d1a7261479
merge
Gustavo J. A. M. Carneiro
2008-07-14 11:12:30 +01:00
2aff99d749
Add mixed-wireless example ported to Python.
Gustavo J. A. M. Carneiro
2008-07-13 18:08:48 +01:00
10ee9b9e01
Python: make helper class methods using attribute optional parameters work.
Gustavo J. A. M. Carneiro
2008-07-13 17:55:48 +01:00
1132bcbd99
If GtkConfigStore support is disabled, disable the python bindings for it, or else compilation fails.
Gustavo J. A. M. Carneiro
2008-07-12 22:06:15 +01:00
90e5f8cf0e
Add WAF option --pyrun, to make it easier to run Python programs.
Gustavo J. A. M. Carneiro
2008-07-12 19:33:29 +01:00
7fb6a81b59
merge
Gustavo J. A. M. Carneiro
2008-07-11 19:32:45 +01:00
8356645d0a
Make sure we don't trigger deprecation warnings while compiling the python bindings.
Gustavo J. A. M. Carneiro
2008-07-11 19:32:22 +01:00
9b8db57a00
Check that the compiler accepts -Wno-error=deprecated-declarations before using it
Gustavo J. A. M. Carneiro
2008-07-11 19:24:33 +01:00
9d5d168444
Rescan APIs
Gustavo J. A. M. Carneiro
2008-07-11 18:39:19 +01:00
7dce1174ba
merge
Gustavo J. A. M. Carneiro
2008-07-11 18:15:52 +01:00
6911a69356
Add compilation flag -Wno-error=deprecated-declarations, or else the NS_DEPRECATED macro becomes useless.
Gustavo J. A. M. Carneiro
2008-07-11 11:36:59 +01:00
14beae6e8d
Remove tcp-2way as a regression test
Raj Bhattacharjea
2008-07-10 21:32:33 -04:00
fb17731cab
more cleanups based on bug 249.
Mathieu Lacage
2008-07-09 19:52:15 -07:00
c3a8ec5555
Add David Evensky's tcp-2way regression test
Raj Bhattacharjea
2008-07-09 17:04:29 -04:00
be9e5ced39
Add some additional TCP dox about RFC compliance
Raj Bhattacharjea
2008-07-09 14:10:18 -04:00
ee19e57741
Rescan API; fix and enable the socket unit test, as it now works.
Gustavo J. A. M. Carneiro
2008-07-09 18:50:28 +01:00
1f1ffe7372
merge
Gustavo J. A. M. Carneiro
2008-07-09 18:36:10 +01:00
5f9b651ba8
Don't re-declare pure virtual methods from the parent Socket class. Fixes bug #249.
Gustavo J. A. M. Carneiro
2008-07-09 18:34:42 +01:00
a6ccafbed7
Fix a problem with callback proxies with zero or one parameters.
Gustavo J. A. M. Carneiro
2008-07-09 18:33:16 +01:00
fd2cdaf7ac
Redirect the stderr of pybindgen to a log file (ns3modulegen.log).
Gustavo J. A. M. Carneiro
2008-07-09 17:31:37 +01:00
3ff7e83dd0
Upgrade to a patched WAF 1.4.2; needed for redirecting stderr of command-output objects.
Gustavo J. A. M. Carneiro
2008-07-09 17:31:01 +01:00
0f045371a3
The 'everything.h' header file is only used for Python bindings and should be generated into bindings/python/, not ns3/.
Gustavo J. A. M. Carneiro
2008-07-09 14:58:02 +01:00
3d6e4532ae
avoid direct access to Object::m_tid. Use ObjectBase::GetInstanceTypeId instead.
Mathieu Lacage
2008-07-08 14:27:45 -07:00
5f994081d5
python bindings
Gustavo J. A. M. Carneiro
2008-07-08 10:43:58 -07:00