Stefano Avallone
7e7f766ff0
core: Align Callback usage with signature (L309) in CommandLine class
2023-03-07 21:54:20 +00:00
Peter D. Barnes, Jr
aca3bd9638
core: ( fixes #863 ) override d'tor
2023-02-27 18:09:47 -08:00
Peter D. Barnes, Jr
1b514e6344
core: assert-example program
2023-02-27 19:52:40 +00:00
Peter D. Barnes, Jr
531f2d6d22
core: log-example
2023-02-27 09:52:25 -08:00
Tom Henderson
281b2383a9
core: main-random-variable-stream: avoid unused return value
2023-02-25 16:38:10 +00:00
Peter D. Barnes, Jr
f9b7fe4b94
core: main-random-variable-stream: enable Empirical and Deterministic
2023-02-13 16:31:28 -08:00
Peter D. Barnes, Jr
100762572e
core: empirical-random-variable-example: show cdf
2023-02-13 16:31:28 -08:00
Eduardo Almeida
971e5c15fa
Fix clang-tidy readability-container-size-empty warnings
2023-02-02 17:41:31 +00:00
Tommaso Pecorella
06d0ff20d0
doc: ( fixes #817 ) various fixes highlighted by doxygen 1.9.6
2023-01-26 15:32:58 +00:00
Peter D. Barnes, Jr
820c029e8b
doc: (void)' -> ()' in documentation
2023-01-05 23:47:13 +00:00
Eduardo Almeida
4930479af4
Remove enum / struct specifiers when declaring the variable's type
2022-12-05 19:05:45 +00:00
Eduardo Almeida
18225243f2
examples: Add missing return 0
2022-11-29 21:33:09 +00:00
Eduardo Almeida
b9562ba520
Fix formatting of braced-init-lists by adding trailing comma
2022-11-24 16:13:09 +00:00
Peter D. Barnes, Jr
0157675e40
core: command-line: char* buffers fixups
2022-10-29 05:42:54 +00:00
Eduardo Almeida
7c182618ed
Fix clang-tidy readability-redundant-string-cstr warnings
2022-10-28 16:05:20 +00:00
Gabriel Ferreira
870b7fb349
core: fix docs and formatting
2022-10-26 01:56:58 -03:00
Gabriel Ferreira
12373157a4
bindings, docs: pass strings via char* to CommandLine.AddValue
...
And supplement memory-management issues section
2022-10-25 23:17:55 -03:00
Peter D. Barnes, Jr
dd6579213c
core: command-line: handle char* buffers
...
This is needed to interface with cppy
2022-10-25 23:17:55 -03:00
Peter D. Barnes, Jr
9174178cc2
core: refactor example to show initial and final as a table
2022-10-26 00:04:43 +00:00
Eduardo Almeida
dfc6fb9d2d
Remove emacs comment from C++ files
2022-10-14 14:13:12 +00:00
Eduardo Almeida
e25ff966fe
Apply clang-format to codebase
2022-10-07 20:08:35 +00:00
Eduardo Almeida
ebb596910c
Fix remaining clang-tidy warnings
2022-10-07 11:48:11 +00:00
Eduardo Almeida
f87b53bbc5
Fix clang-tidy modernize-use-emplace warnings
2022-10-07 11:48:11 +00:00
Eduardo Almeida
4af0fe4b85
Fix clang-tidy modernize-use-nullptr warnings
2022-10-07 11:48:10 +00:00
Eduardo Almeida
be07b6487a
Fix clang-tidy modernize-use-override warnings
2022-10-07 11:48:10 +00:00
Eduardo Almeida
6bb6383562
Fix clang-tidy modernize-redundant-void-arg warnings
2022-10-07 11:48:10 +00:00
Eduardo Almeida
b34e5426a5
Add clang-tidy guards
2022-10-06 21:12:15 +00:00
Eduardo Almeida
3e39cb0724
Fix formatting of some files before clang-format application
2022-10-06 20:41:07 +00:00
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