Commit Graph

117 Commits

Author SHA1 Message Date
Mathieu Lacage e61b21214f early work to make python bindings work again with ns-3-time 2011-04-13 09:08:05 +02:00
Mathieu Lacage 9c72e7f8c3 fix small bugs 2011-04-13 08:35:49 +02:00
Mathieu Lacage a53fd435a2 merge with HEAD
--HG--
rename : src/routing/aodv/test/aodv-regression.cc => src/aodv/test/aodv-regression.cc
rename : src/applications/onoff/onoff-application.cc => src/applications/model/onoff-application.cc
rename : src/core/int64x64-128.cc => src/core/model/int64x64-128.cc
rename : src/core/int64x64-128.h => src/core/model/int64x64-128.h
rename : src/core/int64x64-cairo.cc => src/core/model/int64x64-cairo.cc
rename : src/core/int64x64-cairo.h => src/core/model/int64x64-cairo.h
rename : src/core/int64x64-double.h => src/core/model/int64x64-double.h
rename : src/core/int64x64.cc => src/core/model/int64x64.cc
rename : src/core/int64x64.h => src/core/model/int64x64.h
rename : src/simulator/nstime.h => src/core/model/nstime.h
rename : src/simulator/time.cc => src/core/model/time.cc
rename : src/devices/csma/backoff.cc => src/csma/model/backoff.cc
rename : src/contrib/flow-monitor/flow-probe.h => src/flow-monitor/model/flow-probe.h
rename : src/internet-stack/rtt-estimator.cc => src/internet/model/rtt-estimator.cc
rename : src/internet-stack/rtt-estimator.h => src/internet/model/rtt-estimator.h
rename : src/devices/mesh/dot11s/hwmp-protocol.cc => src/mesh/model/dot11s/hwmp-protocol.cc
rename : src/routing/olsr/olsr-routing-protocol.cc => src/olsr/model/olsr-routing-protocol.cc
rename : src/devices/spectrum/waveform-generator.cc => src/spectrum/model/waveform-generator.cc
rename : src/devices/spectrum/waveform-generator.h => src/spectrum/model/waveform-generator.h
rename : src/contrib/stats/time-data-calculators.cc => src/stats/model/time-data-calculators.cc
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/devices/wifi/mac-low.cc => src/wifi/model/mac-low.cc
rename : src/devices/wimax/bs-uplink-scheduler-mbqos.cc => src/wimax/model/bs-uplink-scheduler-mbqos.cc
2011-04-13 08:26:47 +02:00
Mitch Watrous f7746f75e5 Move tests from core module to its test library and update CHANGES.html 2011-04-06 15:32:12 -07:00
Mitch Watrous 177eada818 Move tests from core module to its test library and update CHANGES.html 2011-04-06 12:20:27 -07:00
Mitch Watrous 39f9f7a252 Move tests from some modules to their test libraries 2011-03-25 12:55:27 -07: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
Josh Pelkey a8c0058b6b remove unknown wscript entry 2011-03-18 14:43:00 -04:00
Mathieu Lacage 5402054cac typos in email addresses 2011-03-17 10:03:56 +01: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 fc478b2d43 merge
--HG--
rename : src/node/wscript => src/network/wscript
2011-03-08 12:46:53 +00:00
Tom Henderson c26396ec5d merge src/simulator into src/core; move src/core to new module layout
--HG--
rename : src/core/abort.h => src/core/model/abort.h
rename : src/core/assert.h => src/core/model/assert.h
rename : src/core/attribute-accessor-helper.h => src/core/model/attribute-accessor-helper.h
rename : src/core/attribute-helper.h => src/core/model/attribute-helper.h
rename : src/core/attribute-list.cc => src/core/model/attribute-list.cc
rename : src/core/attribute-list.h => src/core/model/attribute-list.h
rename : src/core/attribute.cc => src/core/model/attribute.cc
rename : src/core/attribute.h => src/core/model/attribute.h
rename : src/core/boolean.cc => src/core/model/boolean.cc
rename : src/core/boolean.h => src/core/model/boolean.h
rename : src/core/breakpoint.cc => src/core/model/breakpoint.cc
rename : src/core/breakpoint.h => src/core/model/breakpoint.h
rename : src/simulator/cairo-wideint-private.h => src/core/model/cairo-wideint-private.h
rename : src/simulator/cairo-wideint.c => src/core/model/cairo-wideint.c
rename : src/simulator/calendar-scheduler.cc => src/core/model/calendar-scheduler.cc
rename : src/simulator/calendar-scheduler.h => src/core/model/calendar-scheduler.h
rename : src/core/callback.cc => src/core/model/callback.cc
rename : src/core/callback.h => src/core/model/callback.h
rename : src/core/command-line.cc => src/core/model/command-line.cc
rename : src/core/command-line.h => src/core/model/command-line.h
rename : src/core/config.cc => src/core/model/config.cc
rename : src/core/config.h => src/core/model/config.h
rename : src/core/default-deleter.h => src/core/model/default-deleter.h
rename : src/simulator/default-simulator-impl.cc => src/core/model/default-simulator-impl.cc
rename : src/simulator/default-simulator-impl.h => src/core/model/default-simulator-impl.h
rename : src/core/deprecated.h => src/core/model/deprecated.h
rename : src/core/double.cc => src/core/model/double.cc
rename : src/core/double.h => src/core/model/double.h
rename : src/core/empty.h => src/core/model/empty.h
rename : src/core/enum.cc => src/core/model/enum.cc
rename : src/core/enum.h => src/core/model/enum.h
rename : src/simulator/event-id.cc => src/core/model/event-id.cc
rename : src/simulator/event-id.h => src/core/model/event-id.h
rename : src/simulator/event-impl.cc => src/core/model/event-impl.cc
rename : src/simulator/event-impl.h => src/core/model/event-impl.h
rename : src/core/fatal-error.h => src/core/model/fatal-error.h
rename : src/core/fatal-impl.cc => src/core/model/fatal-impl.cc
rename : src/core/fatal-impl.h => src/core/model/fatal-impl.h
rename : src/core/global-value.cc => src/core/model/global-value.cc
rename : src/core/global-value.h => src/core/model/global-value.h
rename : src/simulator/heap-scheduler.cc => src/core/model/heap-scheduler.cc
rename : src/simulator/heap-scheduler.h => src/core/model/heap-scheduler.h
rename : src/simulator/high-precision-128.cc => src/core/model/high-precision-128.cc
rename : src/simulator/high-precision-128.h => src/core/model/high-precision-128.h
rename : src/simulator/high-precision-cairo.cc => src/core/model/high-precision-cairo.cc
rename : src/simulator/high-precision-cairo.h => src/core/model/high-precision-cairo.h
rename : src/simulator/high-precision-double.h => src/core/model/high-precision-double.h
rename : src/simulator/high-precision.cc => src/core/model/high-precision.cc
rename : src/simulator/high-precision.h => src/core/model/high-precision.h
rename : src/core/int-to-type.h => src/core/model/int-to-type.h
rename : src/core/integer.cc => src/core/model/integer.cc
rename : src/core/integer.h => src/core/model/integer.h
rename : src/simulator/list-scheduler.cc => src/core/model/list-scheduler.cc
rename : src/simulator/list-scheduler.h => src/core/model/list-scheduler.h
rename : src/core/log.cc => src/core/model/log.cc
rename : src/core/log.h => src/core/model/log.h
rename : src/simulator/make-event.cc => src/core/model/make-event.cc
rename : src/simulator/make-event.h => src/core/model/make-event.h
rename : src/simulator/map-scheduler.cc => src/core/model/map-scheduler.cc
rename : src/simulator/map-scheduler.h => src/core/model/map-scheduler.h
rename : src/core/names.cc => src/core/model/names.cc
rename : src/core/names.h => src/core/model/names.h
rename : src/simulator/ns2-calendar-scheduler.cc => src/core/model/ns2-calendar-scheduler.cc
rename : src/simulator/ns2-calendar-scheduler.h => src/core/model/ns2-calendar-scheduler.h
rename : src/simulator/nstime.h => src/core/model/nstime.h
rename : src/core/object-base.cc => src/core/model/object-base.cc
rename : src/core/object-base.h => src/core/model/object-base.h
rename : src/core/object-factory.cc => src/core/model/object-factory.cc
rename : src/core/object-factory.h => src/core/model/object-factory.h
rename : src/core/object-vector.cc => src/core/model/object-vector.cc
rename : src/core/object-vector.h => src/core/model/object-vector.h
rename : src/core/object.cc => src/core/model/object.cc
rename : src/core/object.h => src/core/model/object.h
rename : src/core/pointer.cc => src/core/model/pointer.cc
rename : src/core/pointer.h => src/core/model/pointer.h
rename : src/core/ptr.h => src/core/model/ptr.h
rename : src/core/random-variable.cc => src/core/model/random-variable.cc
rename : src/core/random-variable.h => src/core/model/random-variable.h
rename : src/simulator/realtime-simulator-impl.cc => src/core/model/realtime-simulator-impl.cc
rename : src/simulator/realtime-simulator-impl.h => src/core/model/realtime-simulator-impl.h
rename : src/core/ref-count-base.cc => src/core/model/ref-count-base.cc
rename : src/core/ref-count-base.h => src/core/model/ref-count-base.h
rename : src/core/rng-stream.cc => src/core/model/rng-stream.cc
rename : src/core/rng-stream.h => src/core/model/rng-stream.h
rename : src/simulator/scheduler.cc => src/core/model/scheduler.cc
rename : src/simulator/scheduler.h => src/core/model/scheduler.h
rename : src/core/simple-ref-count.h => src/core/model/simple-ref-count.h
rename : src/simulator/simulation-singleton.h => src/core/model/simulation-singleton.h
rename : src/simulator/simulator-impl.cc => src/core/model/simulator-impl.cc
rename : src/simulator/simulator-impl.h => src/core/model/simulator-impl.h
rename : src/simulator/simulator.cc => src/core/model/simulator.cc
rename : src/simulator/simulator.h => src/core/model/simulator.h
rename : src/core/singleton.h => src/core/model/singleton.h
rename : src/core/string.cc => src/core/model/string.cc
rename : src/core/string.h => src/core/model/string.h
rename : src/simulator/synchronizer.cc => src/core/model/synchronizer.cc
rename : src/simulator/synchronizer.h => src/core/model/synchronizer.h
rename : src/core/system-condition.h => src/core/model/system-condition.h
rename : src/core/system-mutex.h => src/core/model/system-mutex.h
rename : src/core/system-thread.h => src/core/model/system-thread.h
rename : src/core/system-wall-clock-ms.h => src/core/model/system-wall-clock-ms.h
rename : src/core/test.cc => src/core/model/test.cc
rename : src/core/test.h => src/core/model/test.h
rename : src/simulator/time-base.cc => src/core/model/time-base.cc
rename : src/simulator/time-base.h => src/core/model/time-base.h
rename : src/simulator/time.cc => src/core/model/time.cc
rename : src/simulator/timer-impl.h => src/core/model/timer-impl.h
rename : src/simulator/timer.cc => src/core/model/timer.cc
rename : src/simulator/timer.h => src/core/model/timer.h
rename : src/core/trace-source-accessor.cc => src/core/model/trace-source-accessor.cc
rename : src/core/trace-source-accessor.h => src/core/model/trace-source-accessor.h
rename : src/core/traced-callback.h => src/core/model/traced-callback.h
rename : src/core/traced-value.h => src/core/model/traced-value.h
rename : src/core/type-id.cc => src/core/model/type-id.cc
rename : src/core/type-id.h => src/core/model/type-id.h
rename : src/core/type-name.cc => src/core/model/type-name.cc
rename : src/core/type-name.h => src/core/model/type-name.h
rename : src/core/type-traits.h => src/core/model/type-traits.h
rename : src/core/uinteger.cc => src/core/model/uinteger.cc
rename : src/core/uinteger.h => src/core/model/uinteger.h
rename : src/simulator/unix-fd-reader.cc => src/core/model/unix-fd-reader.cc
rename : src/simulator/unix-fd-reader.h => src/core/model/unix-fd-reader.h
rename : src/core/unix-system-condition.cc => src/core/model/unix-system-condition.cc
rename : src/core/unix-system-mutex.cc => src/core/model/unix-system-mutex.cc
rename : src/core/unix-system-thread.cc => src/core/model/unix-system-thread.cc
rename : src/core/unix-system-wall-clock-ms.cc => src/core/model/unix-system-wall-clock-ms.cc
rename : src/core/vector.cc => src/core/model/vector.cc
rename : src/core/vector.h => src/core/model/vector.h
rename : src/simulator/wall-clock-synchronizer.cc => src/core/model/wall-clock-synchronizer.cc
rename : src/simulator/wall-clock-synchronizer.h => src/core/model/wall-clock-synchronizer.h
rename : src/simulator/watchdog.cc => src/core/model/watchdog.cc
rename : src/simulator/watchdog.h => src/core/model/watchdog.h
rename : src/core/win32-system-wall-clock-ms.cc => src/core/model/win32-system-wall-clock-ms.cc
rename : src/core/attribute-test-suite.cc => src/core/test/attribute-test-suite.cc
rename : src/core/callback-test-suite.cc => src/core/test/callback-test-suite.cc
rename : src/core/names-test-suite.cc => src/core/test/names-test-suite.cc
rename : src/core/ptr-test-suite.cc => src/core/test/ptr-test-suite.cc
rename : src/core/rng-test-suite.cc => src/core/test/rng-test-suite.cc
rename : src/core/traced-callback-test-suite.cc => src/core/test/traced-callback-test-suite.cc
rename : src/core/type-traits-test-suite.cc => src/core/test/type-traits-test-suite.cc
2011-02-18 16:05:39 -08:00
Mitch Watrous 77a31a142b Make core module not depend on simulator module
--HG--
rename : src/core/unix-fd-reader.cc => src/simulator/unix-fd-reader.cc
rename : src/core/unix-fd-reader.h => src/simulator/unix-fd-reader.h
2011-01-19 10:51:11 -08:00
Tom Goff 3c32946c3e bug 903: TapBridge doesn't close cleanly 2010-12-30 14:19:48 -08:00
Tom Henderson 48548b10e6 fix modularity issue with core module 2010-11-08 12:02:43 -08:00
Gustavo J. A. M. Carneiro c0f567ef94 Start of work on modular Python bindings, unstable 2010-11-07 23:17:52 +00:00
Mathieu Lacage 986234a5ad move int64x64 to src/core/
--HG--
rename : src/simulator/cairo-wideint-private.h => src/core/cairo-wideint-private.h
rename : src/simulator/cairo-wideint.c => src/core/cairo-wideint.c
rename : src/simulator/int64x64-128.cc => src/core/int64x64-128.cc
rename : src/simulator/int64x64-128.h => src/core/int64x64-128.h
rename : src/simulator/int64x64-cairo.cc => src/core/int64x64-cairo.cc
rename : src/simulator/int64x64-cairo.h => src/core/int64x64-cairo.h
rename : src/simulator/int64x64-double.h => src/core/int64x64-double.h
rename : src/simulator/int64x64.cc => src/core/int64x64.cc
rename : src/simulator/int64x64.h => src/core/int64x64.h
2010-08-25 17:16:56 +02:00
Quincy Tse a4a92dd740 bug 933: Flushing ostream and files on abnormal program exit 2010-06-22 15:44:10 +02:00
Mathieu Lacage 4ed3710454 get rid of last duplicated reference counting implementation 2009-12-08 19:56:24 +01:00
Mathieu Lacage eeff3b231e replace RefCountBase with SimpleRefCount<> to avoid duplicate refcounting implementations. 2009-11-12 13:01:01 +01:00
Mathieu Lacage 6dfd7ba493 Optimization: use a shared reference counter instead of a per-object counter in Object::Ref/Unref 2009-11-06 17:47:44 +01:00
Craig Dowell 5d3974da19 Refalgamize test framework to allow multiple test failures 2009-09-30 20:26:33 -07:00
Craig Dowell 429771edeb Remove and replace traced-callback unit tests (bug 675) 2009-09-29 20:45:27 -07:00
Craig Dowell 3d8e33fd33 Remove and replace Callback unit test, add examples to test.py 2009-09-25 14:10:28 -07:00
Craig Dowell 26b39bbf94 Remove and replace type traits unit test (bug 675)
--HG--
rename : src/core/type-traits-test.cc => src/core/type-traits-test-suite.cc
2009-09-24 23:48:35 -07:00
Craig Dowell abf87fd616 branch merge 2009-09-23 15:20:41 -07:00
Craig Dowell 212dbae460 Remove and replace attribute unit tests (bug 675)
--HG--
rename : src/core/attribute-test.cc => src/core/attribute-test-suite.cc
2009-09-23 15:20:23 -07:00
Aleksey Kovalenko 363449ada1 bug 687: Build failed with GSL in non-default location 2009-09-23 20:48:43 +04:00
Craig Dowell 3375d82344 test framework should probably work on all supported machines 2009-09-12 20:00:36 -07:00
Craig Dowell 9734679617 add test and validation framework 2009-09-12 19:44:17 -07:00
Mathieu Lacage d8757c710b introduce Vector2D and Vector3D
--HG--
rename : src/mobility/vector.cc => src/core/vector.cc
rename : src/mobility/vector.h => src/core/vector.h
2009-08-14 11:53:23 +02:00
Gustavo J. A. M. Carneiro 35656ecd49 Run unit tests as indenpendent WAF tasks 2009-06-12 12:33:37 +01:00
Gustavo J. A. M. Carneiro 0ae37b092c Upgrade to WAF 1.5.5 2009-04-20 17:39:54 +01:00
Craig Dowell 6ee42359ea don't use pthread option under cygwin 2009-03-27 09:58:04 -07:00
Craig Dowell eca3a96b66 branch merge 2009-01-27 12:39:43 -08:00
Gustavo J. A. M. Carneiro 366b1efdbc Don't use the flag -pthread on darwin to avoid warning message 2009-01-25 15:39:36 +00:00
Gustavo J. A. M. Carneiro 47f2e5ccd4 Fix 'no newline at the end of file' compilation error in the pthread test 2009-01-25 14:52:09 +00:00
Gustavo J. A. M. Carneiro 4c0ffdacf0 Detect pthread support by compiling a test program with the -pthread switch, not just check for the header file. 2009-01-24 19:25:33 +00:00
Gustavo J. A. M. Carneiro 92c88bfc85 librt is need not for threading primitives but for the real time scheduler 2009-01-24 18:47:47 +00:00
Craig Dowell f98bebb522 rename object-names.{cc,h} to names.{cc,h} per convention
--HG--
rename : src/core/object-names.cc => src/core/names.cc
rename : src/core/object-names.h => src/core/names.h
2009-01-22 23:07:34 -08:00
Craig Dowell be3d5ee6f0 add an object name service 2009-01-20 15:47:14 -08:00
Gustavo J. A. M. Carneiro b576592431 Upgrade to new WAF, work in progress 2008-12-29 13:28:54 +00:00
Mathieu Lacage d2f3cd2f5e bug 339: unconditional assert API. 2008-10-24 10:29:06 +02:00
Mathieu Lacage 99b0f7cda4 give attribute power to Callback. 2008-10-17 14:15:52 +02:00
Gustavo J. A. M. Carneiro b204c9b959 Detect the pthread.h header file and automatically disable components that cannot build without it. 2008-09-08 12:19:46 +01:00
Mathieu Lacage 5cd1e895a6 remove dead code. 2008-08-26 08:41:21 -07:00
Craig Dowell fc86ce9167 add system threads and synchronization primitives 2008-07-15 15:59:57 -07:00
Mathieu Lacage 7dfe08ef9d define NS_DEPRECATED 2008-07-09 20:11:16 -07:00
Mathieu Lacage f0cf30bdb7 get rid of Attribute class. Use AttributeValue subclasses directly. 2008-04-17 13:42:25 -07:00
Mathieu Lacage a91f98f532 Pointer class for primitive type pointer. 2008-04-09 11:46:04 -07:00