Commit Graph

1331 Commits

Author SHA1 Message Date
Tommaso Pecorella
d99d3907df core: fix optimized build broken in changeset 12922:d5736db31887 2017-06-12 17:03:08 +01:00
Ankit Deepak
a0dd906c6d bindings: Temporary update to 64-bit bindings to enable build 2017-06-11 13:36:31 -07:00
Stefano Avallone
543da6092a various: (fixes #2668) Make template classes use NS_LOG_* macros 2017-06-06 11:18:07 +02:00
Christoph Döpmann
652291722f core: (fixes #2658) Avoid unexpected TracedValue type conversions 2017-06-03 11:42:01 -07:00
Tommaso Pecorella
8dc24d2c1f minor doxygen updates 2017-05-10 02:17:58 +02:00
Alexander Krotov
2327498f91 core: Assert that probability is valid in EmpiricalRandomVariable::ValueCDF::ValueCDF 2017-04-07 20:27:21 +03:00
Alexander Krotov
e570129307 core: Check that CDF covers the whole distribution in EmpiricalRandomVariable::Validate 2017-04-07 20:23:34 +03:00
Alexander Krotov
bf762f52d6 core: Check that CDF is not empty in EmpiricalRandomVariable::Validate () 2017-04-07 20:22:02 +03:00
Alexander Krotov
596e49504e core: Mark members with m_ in EmpiricalRandomVariable class 2017-04-07 20:15:00 +03:00
Alexander Krotov
dd3a4d2a43 Use Vector{2,3}D.GetLength () 2017-04-05 10:56:05 +03:00
Alexander Krotov
67162e4935 core: Implement operator+ and operator- for Vector{2,3}D 2017-04-04 19:39:00 +03:00
Alexander Krotov
2d447bfeba core: Implement Vector{2,3}D::GetLength () 2017-04-04 19:31:26 +03:00
Alexander Krotov
ddf07b01ca core: Trim whitespace in vector.{cc,h} 2017-04-04 18:55:55 +03:00
Alexander Krotov
5c2f7376b6 core: s/a exponential/an exponential/ 2017-03-26 13:44:35 +03:00
Alexander Krotov
2b41368aac core: Change test case name from "order" to "invalid" 2017-03-23 12:15:19 +03:00
Alexander Krotov
7a5930ecbb core: Test skipping invalid command line arguments 2017-03-23 12:13:31 +03:00
Alexander Krotov
1a87bdd630 core: Fix order of command line argument parsing
It was accidentally reversed in b969c544fae1, so first arguments had
higher precedence than last.
2017-03-22 11:26:46 +03:00
Alexander Krotov
5060a4a671 core: Test order of command line argument parsing 2017-03-22 11:22:07 +03:00
Stefano Avallone
dfe1ed1619 traffic-control: Fix doxygen warnings 2017-03-09 17:17:35 +01:00
Stefano Avallone
9eff4d8251 Rescan python bindings 2017-03-08 18:02:19 +01:00
Stefano Avallone
6fef34be47 network: Convert Queue into a template class 2017-03-08 18:01:29 +01:00
Tommaso Pecorella
b289c489ae core: simplify ObjectBase indentation 2017-02-18 12:34:44 +01:00
Alexander Krotov
4011ea0c4e core: avoid unnecessary "ns3" in include path 2017-02-27 20:52:43 +03:00
Alexander Krotov
8af471427c core: Do not use `this' in nonmember function 2017-02-27 20:46:09 +03:00
Piyush Aggarwal
03dcf5fa45 core: clean up indenting (whitespace changes only) 2017-02-16 16:01:25 -08:00
Piyush Aggarwal
20c0d2f121 core: fix static code analysis warning (thanks to Natale Patriciello)
object-base.cc: fixed “value stored but never read” in

simulator.cc: false positive warning “called object pointer is null”.
The assignment in previous block should have been recognized.

object.cc: false positive.
2017-02-16 16:00:08 -08:00
Tom Henderson
e575508919 core: (fixes #2490) Change logging timestamp precision 2017-01-22 18:54:49 -08:00
Tommaso Pecorella
8f629f0d18 flow-monitor: doxygen updates (thanks to Robert Ammon) 2017-01-22 16:50:12 +01:00
Danilo Abrignani
5eb935c41f core: MakeEvent() and Schedule() to accept 6 arguments 2017-01-19 20:49:17 +01:00
Alexander Krotov
05d6ac4a56 core: implement operator < for Vector3D and Vector2D
Part of ongoing effort to stop comparing Ptrs, see bug #2595
2016-12-26 08:19:50 +03:00
Robert Ammon
5c28d36714 documentation: (fixes #2583) Correct doxygen warnings and errors 2016-12-18 07:10:25 -08:00
Alexander Krotov
5bd59266e9 core: expand tabs and remove trailing whitespace in int64x64.cc 2016-12-14 11:56:08 +03:00
Tommaso Pecorella
027deedd50 core: provide ParetoRandomVariable::GetScale implementation 2016-11-09 15:23:34 +01:00
Tommaso Pecorella
5c9b97d6d7 bindings: Rescan core bindings 2016-11-08 01:59:06 +01:00
Tommaso Pecorella
bec49d392d core: (fixes #2513) - Deprecates Mean attribute in ParetoRandomVariable 2016-11-08 01:42:06 +01:00
Tom Henderson
ca94d87ace core: Example and test cases for StringValue attribute parsing 2016-09-12 12:23:12 -07:00
Tommaso Pecorella
846709fff0 core: (fixes #2447) Attribute system doesn't complain in case of errors
Patch to AttributeHelper by Tommaso, extended to ObjectFactory by Peter
Barnes, and changed to use abort.h so that checks are made in all builds
2016-09-12 12:21:53 -07:00
Tom Henderson
b9e5595665 bindings: Rescan all bindings 2016-09-26 05:33:13 -07:00
Tommaso Pecorella
2c5f5dfd3e core: fix for pedantic compiler warnings introduced in changeset 7224ff0eb8d9 2016-09-12 23:03:16 +02:00
Peter D. Barnes, Jr.
4f64f9e28a core: (fixes #2344) Attribute names can't have spaces 2016-09-10 14:12:52 -07:00
Peter D. Barnes, Jr.
b46530a6b6 core: (fixes #2149) Deprecated Attributes and TraceSources
Patch based on earlier patch proposal from Natale Patriciello
2016-09-10 14:08:54 -07:00
Tom Henderson
4d677cb2e7 [build] Partial fix for warnings revealed by changeset 865b0fc5e241
'Enable -Wstrict-overflow for G++ >= 4.8.1' revealed some issues.
2016-09-04 21:56:48 -07:00
Peter D. Barnes, Jr.
18e8001aaa [core] Fix compilation errors from new NS_DEPRECATED function macro in r 12293 [57597d3fb31e]
Remove function macro and return to simple tag.  GCC can have the
attribute in front of the function declaration, matching Windows.
2016-09-03 18:13:21 -04:00
Peter D. Barnes, Jr.
2fa3c9bbc6 [des-metrics] Missing include. 2016-09-03 01:06:28 -04:00
Peter D. Barnes, Jr.
516b8b2ff9 [core] Document CommandLine feature request. 2016-09-03 00:56:53 -04:00
Peter D. Barnes, Jr.
d58a3b8863 [core] Improve GlobalValue documentation. 2016-09-03 00:52:50 -04:00
Peter D. Barnes, Jr.
ba7ae20fb5 [core] Fix compilation error introduced in r12295 [e1451373c0b6] 2016-09-02 23:12:36 -04:00
Peter D. Barnes, Jr.
c36606a7b9 [core] TypeId::LookupTraceSourceByName overload to return TraceSourceInformation 2016-09-02 22:49:14 -04:00
Peter D. Barnes, Jr.
8d7160380e DES Metrics implementation. 2016-09-02 22:40:07 -04:00
Peter D. Barnes, Jr.
38632b0e18 Add CommandLine to all examples 2016-05-27 01:24:32 -04:00