Commit Graph

393 Commits

Author SHA1 Message Date
Peter D. Barnes, Jr.
2807d164ca core: Correct class specification for fallback Demangle implementation. 2018-05-22 14:58:09 -07:00
Peter D. Barnes, Jr.
8e2b2d99a7 core: refactor SystemPath::MakeDirectories
Addition of bool makeDirErr is preparation for a Windows clause
2018-04-13 17:02:12 -07:00
Peter D. Barnes, Jr.
ff8b44d9ff core: (re)fix log-macros-disabled.h compilation broken by r13461 (eb9262b0)
This alters  r13474 (d623d9)
and reverts  r13482 (4d42c9)

Now includes explanation of why two versions are necessary.
2018-04-12 14:51:29 -07:00
Peter D. Barnes, Jr.
7ccef2f46b core: fix log-macros-disabled.h compilation broken by r13461 (eb9262b0) 2018-04-10 22:43:00 -07:00
Peter D. Barnes, Jr.
8c84b8be73 core: bug 2461: CommandLine should handle non-option arguments 2018-04-05 17:32:03 -07:00
Peter D. Barnes, Jr.
5b57d9286e core: refactor DesMetrics to accept new argument vector from CommandLine 2018-04-05 17:26:49 -07:00
Peter D. Barnes, Jr.
e8f3f26eb0 core: command-line: minor docs and white space 2018-04-05 17:25:58 -07:00
Peter D. Barnes, Jr.
042d2e38e5 core: bug 2901: Add CommandLine::Parse (const std::vector<std::string>> args); 2018-04-03 14:49:27 -07:00
Peter D. Barnes, Jr.
975a287288 core: Enable NS_LOG_FUNCTION to log the contents of vectors. 2018-04-03 14:45:16 -07:00
Peter D. Barnes, Jr.
43ef986a4d core: Visual Studio compiler warnings (based on Robert Ammon's patch) 2018-03-27 19:19:12 -07:00
Natale Patriciello
230e12df61 core: Added move operator for Time type 2018-02-25 11:36:01 +01:00
Peter D. Barnes, Jr.
cb6b8c6c00 core: allow floating point time strings 2018-02-23 15:16:10 -08:00
Peter D. Barnes, Jr.
9280ea4a36 core: (fixes #2766) Modify int64x64 log to avoid stack overflow 2017-11-03 17:05:40 -07:00
Peter D. Barnes, Jr.
bc2ab59d4c [doxy] core/model 2017-09-18 00:51:28 -07:00
Peter D. Barnes, Jr.
acba76fba1 [core] Implement operator< (EventId,EventId) 2017-09-17 21:31:33 -07:00
Alexander Krotov
8d13ef312d core: spelling fixes 2017-08-16 19:00:22 +03:00
Alexander Krotov
f296244b84 core: Spellcheck 2017-07-19 15:19:46 +03:00
Tommaso Pecorella
d99d3907df core: fix optimized build broken in changeset 12922:d5736db31887 2017-06-12 17:03:08 +01: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
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
Stefano Avallone
dfe1ed1619 traffic-control: Fix doxygen warnings 2017-03-09 17:17:35 +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
bec49d392d core: (fixes #2513) - Deprecates Mean attribute in ParetoRandomVariable 2016-11-08 01:42:06 +01: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
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