Commit Graph

128 Commits

Author SHA1 Message Date
Peter D. Barnes, Jr.
744b0617a5 CommandLine: add Usage message, simplify bool args
Accept obvious bool arguments:  --arg --arg=t --arg=true
Get program name from argv[0]
Example program
Doxygenate
2013-06-14 13:54:39 -07:00
Vedran Miletić
c0e64dac61 Fix Bug 1669 - ns-3 should support binding two and three (possibly more) arguments 2013-05-25 18:18:00 +02:00
Peter D. Barnes, Jr.
666bcc699f Merge Coverity fixes 2013-05-22 17:58:58 -07:00
Peter D. Barnes, Jr.
80b15ea83f [Coverity] Unchecked return value (CHECKED_RETURN) 2013-05-15 16:26:46 -04:00
Peter D. Barnes, Jr.
764cedd639 [Coverity] Unchecked dynamic_cast (FORWARD_NULL) 2013-05-15 15:47:58 -04:00
Peter D. Barnes, Jr.
2af3c22d07 [Coverity] Dereference before null check (REVERSE_INULL) 2013-05-15 14:00:06 -04:00
Peter D. Barnes, Jr.
51eb08677b [Coverity] Not restoring ostream format (STREAM_FORMAT_STATE) 2013-05-15 10:09:33 -04:00
Vedran Miletić
53ec6a479e Rename Start and DoStart methods to Initialize and DoInitialize
The goal of this patch is to allows us to differentiate the Start/Stop
functionality present in some classes from Initialize/Dispose functionality.
2013-04-19 22:39:55 +02:00
Vedran Miletić
6919cef0b3 Backed out changeset e1e45baa7046, adding comment to log.cc to prevent confusion 2013-04-13 14:33:02 +02:00
Vedran Miletić
e5cd4dbd4e Remove extra whitespace in some LogLevel labels 2013-04-13 13:44:13 +02:00
Mitch Watrous
bf393eb7d7 Bug 1563 - reduce valgrind test scope 2013-04-01 11:34:43 -07:00
Nicola Baldo
b69928a648 bug 1563: get rid of default argument value in AddTestCase 2013-03-22 13:14:38 +01:00
Mitch Watrous
ae7af15b04 Allow three speeds of test cases to be skipped 2013-03-19 13:14:12 -07:00
Tom Henderson
5d2eb34994 bug 1603: fix logging in static function 2013-03-17 22:10:16 -07:00
Mitch Watrous
602ad906c4 Fix typo 2013-03-14 16:20:54 -07:00
Mitch Watrous
e040356d56 Allow very slow test cases to be skipped 2013-03-14 14:54:45 -07:00
Tom Henderson
5aca64e824 remove logging from Time operators 2012-12-16 17:02:18 -08:00
Tom Henderson
f1734920c9 bug 954: back out changesets 1a2abe07b53d, 8934b7c0c1cb, and 8ef8d8bae350 2012-12-15 23:02:03 -08:00
Tom Henderson
5bceaed171 turn down logging verbosity 2012-12-15 11:32:58 -08:00
Mitch Watrous
51b1212de9 Remove more log messages from operators and copy constructors 2012-12-14 14:07:33 -08:00
Tom Henderson
53931dd4ca bug 1549: remove logging statements causing stack overflows 2012-12-12 22:43:49 -08:00
Mathieu Lacage
6fae6e5605 try to nail down some of the subtler aspects of calling Time::SetResolution 2012-12-12 04:50:46 -05:00
Mathieu Lacage
55e526d400 bug 954: avoid segfault upon startup due to recursion in TimeSet code to Simulator::Schedule 2012-12-12 04:10:25 -05:00
Peter D. Barnes, Jr.
cc6fe300ac bug 1531: Crash when using NS_LOG in destructors of static objects 2012-12-08 21:44:45 -08:00
Peter D. Barnes, Jr.
3086fb5c95 bug 954: Changing the simulation time resolution does not work well with attributes 2012-12-08 21:23:44 -08:00
Vedran Miletić
dab91377b3 Remove NS_LOG_FUNCTION stuff from ::GetTypeId() functions. 2012-11-13 15:02:39 +01:00
Maja Grubišić
5e6ad05194 Clean up function logging of core module. 2012-11-10 19:16:38 +01:00
Vedran Miletić
0622524b8e Change to C++-style includes in log.cc. 2012-11-09 21:14:59 +01:00
Tom Henderson
e8333efaf5 add license to file 2012-11-06 21:35:13 -08:00
Peter D. Barnes, Jr.
5576b89677 [Bug 1496] Print the LOG_LEVEL (severity) in NS_LOG messages. 2012-11-05 12:10:55 -08:00
Vedran Miletić
dd61b3dced Add logging to default-simulator-impl.cc and fix some outdated documentation. 2012-10-06 21:36:39 +02:00
Vedran Miletić
fd0ca6f1b1 Really fix bug 1345 - ns-3 should build with clang >= 3.0 (requires -Wno-deprecated due to sgi-hashmap.h) 2012-09-14 22:07:40 +02:00
Mitch Watrous
e2fec417ea Bug 1493 - test.py --list should show the test type 2012-09-12 14:59:21 -07:00
Mitch Watrous
5ef163d11a Bug 1284 - ./test.py performance tests do not exist 2012-09-10 17:15:07 -07:00
Mitch Watrous
6957990c9e lround is not a member of std namespace 2012-09-05 12:18:17 -07:00
Vedran Miletić
71e380b55e Bug 1237 - code cleanups related to includes 2012-09-01 20:57:21 +02:00
Tom Henderson
21738c603d update documentation: SeedManager->RngSeedManager 2012-08-30 20:30:52 -07:00
Tom Henderson
70a40a4dba Make bound use a default argument 2012-08-25 21:12:50 -07:00
Peter D. Barnes, Jr.
835940f8ec test-runner reports times in seconds, not ms 2012-08-24 15:03:13 -07:00
Peter D. Barnes, Jr.
e931a8f423 Document preferred usage of NS_LOG_FUNCTION() and
NS_LOG_FUNCTION_NOARGS()
2012-08-20 11:54:03 -07:00
Mitch Watrous
b1f7508525 Bug 1476: TestCase::GetName () should not be private 2012-07-24 17:11:01 -07:00
Mitch Watrous
73b5363a43 Bug 1464 - ConfigStore Save + Load => Could not set default value for ns3::UdpSocketImpl::IcmpCallback 2012-07-11 10:26:41 -07:00
Tom Henderson
53784d6370 helper to use config paths to assign streams 2012-07-10 21:52:31 -07:00
Mitch Watrous
1a637751d3 Port remaining RandomVariable implementations to RandomVariableStream 2012-07-10 21:47:16 -07:00
Mathieu Lacage
7fa5a5d5d8 initial patch to fix rng variability 2012-07-10 21:31:47 -07:00
Jaume Nin
c743ac2a5a Fixed valgrind errors in attribute system. Fixed typo in AttributeMap test. Fixed Get() method for elements not present in the map 2012-05-14 18:15:22 +02:00
Jaume Nin
8f44cc7392 fixed Resolver::DoArrayResolve after bug 1352 fix 2012-05-11 14:02:54 +02:00
Jaume Nin
a479c64051 Fixed bug 1352 (Object attribute map / vector issue) 2012-05-09 12:03:54 +02:00
Tom Henderson
4789d43a7a Remove Ns2CalendarScheduler event scheduler 2012-04-18 10:21:35 -07:00
Mathieu Lacage
9cbf9055ad support type specifier without brackets 2012-01-16 05:53:04 -08:00