Eduardo Almeida
fcb90b1ef6
Add clang-format guards to protect code formatting
2022-10-06 20:38:36 +00:00
Eduardo Almeida
0b2e26f3b7
core: Fix clang-tidy misc-redundant-expression warning in length-example.cc
2022-10-01 12:44:59 +00:00
Peter D. Barnes, Jr
e461e54d5a
Update Ptr validity checks to new Ptr<>::operator bool
2022-08-18 08:59:30 -07:00
Tommaso Pecorella
5e551a2180
core: ( fixes #416 ) remove librt checks
2022-08-05 01:42:12 +00:00
Gabriel Ferreira
4e1d606af5
bindings: fix segmentation violation in python scripts
...
And move sample-rng-plot.py code to a main function
2022-08-02 00:27:47 -03:00
Gabriel Ferreira
b45b583f10
ci: switch pybindgen CI to cppyy
2022-08-01 21:24:02 +00:00
Gabriel Ferreira
36df81be90
bindings: replace pybindgen bindings support with cppyy bindings
2022-08-01 21:24:02 +00:00
Gabriel Ferreira
820dbeab66
doc: fix wrong uses of ns3 run
2022-07-06 10:06:41 -03:00
Tom Henderson
b6a5ee8151
Run utils/trim-trailing-whitespace.py on codebase
2022-06-05 21:01:11 -07:00
Gabriel Ferreira
6473b7ec98
build: rollback linking to globally searched libraries
2022-05-13 18:50:55 -03:00
Eduardo Almeida
f4d296baaa
core: Replace SystemCondition class with STL
2022-05-04 19:04:20 +01:00
Eduardo Almeida
85ad3961fc
core: Replace SystemThread class with STL
2022-05-04 19:04:09 +01:00
Gabriel Ferreira
e32c177e45
build: remove waf files, tests and references
2022-02-21 22:08:45 -03:00
Gabriel Ferreira
8ac52d83cf
build: versioning and find_external_library fixes
...
Includes:
- Producing version.cache file if --enable-build-version/NS3_ENABLE_BUILD_VERSION=ON
- Consume version.cache file if the git commit history is not available
- Crash the configuration if neither the git commit history or version.cache file are
available when NS3_ENABLE_BUILD_VERSION=ON
- Warn user to reconfigure the project with NS3_ENABLE_BUILD_VERSION=ON to check
the version
- Only try to remove duplicates if there is a list in find_external_library
2022-02-05 23:46:06 +00:00
Tommaso Pecorella
8ac0116193
core: doxygen fixes
2022-01-30 12:06:53 -06:00
Gabriel Ferreira
41aacec626
build: CMake refactoring
...
Includes:
- refactor build_lib and build_lib_example macros
- unify src and contrib macros
- replace macro with function not to leak definitions
- parse list of arguments
- different cmake-format file for modules to list one item per line
2022-01-28 10:20:18 -03:00
Gabriel Ferreira
33f2ee841b
doc: update ns3 API
2022-01-19 16:25:03 -03:00
Peter Barnes
6f319e48fc
core: (bugzilla 2203) MakeEvent from a lambda
2021-12-17 17:23:45 +00:00
Gabriel Ferreira
a893eba7e3
build: Fix CMake and ns3 script bugs, add a test suite and fix formatting
2021-12-05 21:53:49 +00:00
Gabriel Ferreira
3c604d5b2e
Update docs with CMake and ns3 wrapper
2021-12-01 12:29:56 -08:00
Gabriel Ferreira
9c876c7f5a
CMake buildsystem
2021-12-01 12:29:55 -08:00
Mathew Bielejeski
2cea1e4ccd
core: (merges !434 ) Length class to support length values with units
2020-12-02 20:05:29 -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
Peter Barnes
35350ab51d
core: ( fixes #210 ): add simulation time and node printers to NS_FATAL...
2020-09-03 08:04:02 +00: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
Peter Barnes
0c4ace3b18
ShowProgress burnin
2020-06-02 15:50:09 +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
b7deb42a65
core: refactor EmpricialRandomVariable and provide example
2020-05-12 21:25:08 +00:00
Peter Barnes
1e2c2ad12d
Murmur3
2020-05-05 15:47:30 +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
5e624d5504
doc: Use the new COMMANDLINE macro in every example
2020-04-27 16:20:09 -07:00
Peter D. Barnes, Jr
fddf3eaac4
doc: various doxygen fixups in core
2020-04-10 17:30:25 -07:00
Peter D. Barnes, Jr
2fb2ed1689
doc: use \pname{} instead of \p when referring to arguments.
2020-04-10 17:30:25 -07:00
Peter D. Barnes, Jr
b98955f20a
core: check-style for core/{examples,helper,test}
2020-03-27 16:40:58 -07:00
Gabriel Arrobo
dba4333f85
Fix various typos
2019-03-30 20:30:18 -07:00
Peter D. Barnes, Jr.
1edcd5ecd4
core: periodically show progress by elapsed simulation time, executed event count
2018-10-19 01:09:56 -04:00
Peter D. Barnes, Jr.
4ed3987151
core: refactor LogTimePrinter, LogNodePrinter
2018-10-19 00:48:53 -04:00
Peter D. Barnes, Jr.
ce1c923feb
core: Remove obsolete example from wscript as well
2018-05-23 14:24:14 -07:00
Peter D. Barnes, Jr.
f9468d72f7
core: Remove obsolete example.
2018-05-22 16:03:09 -07:00
Peter D. Barnes, Jr.
1f8a38d95a
core: Add CommandLine to some examples
2018-05-22 14:56:27 -07:00
Peter D. Barnes, Jr.
57b7a245d4
core: example main-test-sync: use thread and chrono, instead of sleep and usleep
2018-04-16 12:51:49 -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.
e8f3f26eb0
core: command-line: minor docs and white space
2018-04-05 17:25:58 -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
Tommaso Pecorella
eb8063fae5
python: fix examples for python 3.6
2018-03-06 14:16:20 -06:00
Peter D. Barnes, Jr.
6149707c0c
[doxy] core/examples
2017-09-17 21:18:44 -07:00
Tom Henderson
90a897f20b
core: Update rng example to current API
2017-08-01 20:01:53 -07:00
Tom Henderson
e575508919
core: ( fixes #2490 ) Change logging timestamp precision
2017-01-22 18:54:49 -08: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