Gabriel Ferreira
3c604d5b2e
Update docs with CMake and ns3 wrapper
2021-12-01 12:29:56 -08:00
Peter D. Barnes, Jr
c631ccbac5
core: ( fixes #277 ) make Time::As() print with autoscaled unit
2020-12-22 07:08:14 -08:00
Mathew Bielejeski
cbf04e69e1
build: ( fix #259 , merge !411 ) Minimize rebuilds due to git repository update
...
* Add --enable-build-version option to control build version feature
* Disable build version when --enable-build-version is not specified
* Update getting started tutorial to reflect the new build option
2020-09-27 16:20:50 -07:00
Mathew Bielejeski
32e95f8228
Make build information accessible by programs by extracting data from the local git repository (or a standalone file if a git repository is not present).
...
Changes
* Adds a new class named Version to the core module
* Adds a template file to the core module named version-defines.h.in
* Adds --PrintVersion and --version arguments to the CommandLine class.
* Creates a new waf tool which queries the local git repository and extracts build information from itCreate a waf task to extract version information from git repository
2020-08-11 20:20:05 +00:00
Steven Smith
3a15ad78b8
core: Add test suite support for running examples as tests with comparison of output for regression testing
2020-05-26 21:42:16 +00:00
Peter D. Barnes, Jr
a0ab57db12
doc: fix doxy warnings on introspected-command-line.h
2020-05-20 13:08:27 -07:00
Peter D. Barnes, Jr
32d820e8c7
(minor) various bits of fix-ups
2020-05-11 18:19:19 -07:00
Peter Barnes
4df94a8377
core: (fixes 2916): Specialize CommandLine parsing of uint8_t
2020-05-05 15:57:26 +00:00
Peter D. Barnes, Jr
b23be18b3b
Use CommandLine cmd (__FILE__) instead of COMMANDLINE macro.
...
This in effect replaces commit 5e624d550
2020-05-01 14:42:53 -07:00
Peter D. Barnes, Jr
20f5e442ed
doc: Add CommandLine::Usage to the doxygen for every example
2020-04-27 16:20:09 -07:00
Peter D. Barnes, Jr
063d86c096
core: clear check-style -l3 errors
2020-03-25 15:18:01 -07:00
Peter D. Barnes, Jr
f9b25ac56a
core: CommandLine Callback typedef
2020-03-12 17:50:40 -07:00
Alexander Krotov
00bb6fe7f6
Spellcheck
2018-06-27 10:50:27 +03:00
Peter D. Barnes, Jr.
94e011240e
core: Use std::size_t for buffer size/len arguments
2018-05-22 15:10:10 -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.
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.
43ef986a4d
core: Visual Studio compiler warnings (based on Robert Ammon's patch)
2018-03-27 19:19:12 -07:00
Peter D. Barnes, Jr.
bc2ab59d4c
[doxy] core/model
2017-09-18 00:51:28 -07: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
Peter D. Barnes, Jr.
8d7160380e
DES Metrics implementation.
2016-09-02 22:40:07 -04:00
Peter D. Barnes, Jr.
cc9ea12573
core: refix problem with temporary variable
...
This amends r12238 (271042c52437)
2016-08-26 09:46:16 -07:00
Peter D. Barnes, Jr.
275d52f141
core: fix problem with temporary variable
...
With the upcoming des-metrics feature, the temporary string created
from argv[0] for the argument to Split triggers a bizarre overwrite.
Making the temporary explicit, with block scope as arg0, fixes this.
2016-08-04 13:17:00 -07:00
Peter D. Barnes, Jr.
08ff4e78cf
[core] Use standard arguments args, argv.
2016-06-16 16:11:31 -07:00
Peter D. Barnes, Jr.
7e2079057b
[Doxygen] Various in src/core
2014-12-18 15:12:35 -08:00
Peter D. Barnes, Jr.
a5c748e8ab
[Doxygen] CommandLine
2014-12-07 18:27:56 -08:00
Peter D. Barnes, Jr.
bfdb6ef10a
[Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace?
2014-09-26 15:51:00 -07:00
Peter D. Barnes, Jr.
06fe039cd9
Fix misspelled argument name; refactor to use LookupAttributeByName
2014-08-18 12:35:33 -07:00
Peter D. Barnes, Jr.
b8b676a8d7
CommandLine Attribute shorthand
2014-08-14 12:46:11 -07:00
Peter D. Barnes, Jr.
60505541ec
Sort output of the CommandLine::Print functions
2014-08-14 11:31:12 -07:00
Peter D. Barnes, Jr.
28ac4c7f40
[Bug 1653] Extension of CommandLine interface
...
Restore operator << (std::ostream, CommandLine) erroneously removed
in rev 10155.
2014-02-20 22:00:09 -08:00
Peter D. Barnes, Jr.
4a6adc5e51
Make CommandLine print boolean defaults as text.
...
And
- clarify the documentation
- make example arguments more explicit
- make "--boolArg" toggle the value, not set to true (this enables
toggle on default true values)
2013-08-07 10:36:45 -07:00
Alexander Afanasyev
47a985c9ca
[PATCH] core: Extending public interface of CommandLine class
2013-08-13 23:19:31 -07:00
Peter D. Barnes, Jr.
4b09ce3268
CommandLine callback example, show user defaults, code cleanup
2013-07-09 13:14:19 -07:00
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
Mitch Watrous
51b1212de9
Remove more log messages from operators and copy constructors
2012-12-14 14:07:33 -08:00
Maja Grubišić
5e6ad05194
Clean up function logging of core module.
2012-11-10 19:16:38 +01:00
Vedran Miletić
71e380b55e
Bug 1237 - code cleanups related to includes
2012-09-01 20:57:21 +02:00
Mathieu Lacage
aef38c492b
use new API. kill old one.
2011-08-03 10:04:56 -04:00
Josh Pelkey
86379fa5b5
core coding style changes
2011-05-13 14:52:27 -04:00
Mitch Watrous
a0ab62ad90
Move tests from core module to its test library and update CHANGES.html
2011-04-06 15:32:12 -07:00
Tom Henderson
df07734f32
merge src/simulator into src/core; move src/core to new module layout
2011-02-18 16:05:39 -08:00