Commit Graph

194 Commits

Author SHA1 Message Date
Peter D. Barnes, Jr
0157675e40 core: command-line: char* buffers fixups 2022-10-29 05:42:54 +00:00
Eduardo Almeida
f8516626df core, config-store, stats: Fix clang-tidy modernize-use-override warnings 2022-10-28 21:47:54 +01:00
Eduardo Almeida
1884baab7d Fix clang-tidy modernize-use-nullptr errors 2022-10-28 21:47:54 +01:00
Eduardo Almeida
7c182618ed Fix clang-tidy readability-redundant-string-cstr warnings 2022-10-28 16:05:20 +00:00
Gabriel Ferreira
0d6916f431 core: fix leak in CommandLineCharStarTestCase 2022-10-26 16:39:23 -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
3ee7fde2c6 core: command-line: better test args 2022-10-26 00:04:43 +00: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
bfb737a0d9 Remove unnecessary [[maybe_unused]] specifiers 2022-10-24 11:58:49 +00:00
Eduardo Almeida
b048f70912 Fix the [[maybe_unused]] specifier placement to always come after the variable name 2022-10-24 11:58:49 +00:00
Eduardo Almeida
95e95f8904 Fix clang-tidy warnings in brite, click, mpi, openflow, p2p, visualizer 2022-10-14 16:58:17 +00:00
Eduardo Almeida
dfc6fb9d2d Remove emacs comment from C++ files 2022-10-14 14:13:12 +00:00
Eduardo Almeida
453dd70612 core, internet, sixlowpan: Declare unused variables as [[maybe_unused]] 2022-10-14 13:51:50 +00:00
Gabriel Ferreira
19433392de core: rework RUNNING_ON_VALGRIND to support Windows in int64x64 tests 2022-10-10 20:09:59 -03: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
1b78ecc117 Fix clang-tidy readability-braces-around-statements 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
bdf80a8f85 Fix clang-tidy bugprone-too-small-loop-variable warnings (fixes #758) 2022-10-06 10:56:47 +00:00
Stefano Avallone
3e20515664 core: Use std::function to implement callbacks 2022-09-02 19:04:38 +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
Tommaso Pecorella
1dfc512dba doc: fix doxygen warnings 2022-07-16 21:47:32 -05:00
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00
Stefano Avallone
ceb714e175 core: Make all usual accessors available to AttributeContainerValue 2022-05-30 16:13:05 +00:00
Eduardo Almeida
201676fca7 Remove "using namespace std;" from codebase 2022-05-26 17:14:03 -07:00
Stefano Avallone
ca59097075 core: Use std::optional to return an optional value 2022-05-14 08:48:00 -07:00
Eduardo Almeida
85ad3961fc core: Replace SystemThread class with STL 2022-05-04 19:04:09 +01:00
Peter D. Barnes, Jr
5be17e1f21 core: (fixes #487) Refactor double to int64x64 conversion test for platforms with less than 64 bit mantissa 2022-04-03 12:12:32 -07:00
Eduardo Almeida
a4d174f8bf core (fixes #565): Change TypeId constructor to accept std::string 2022-02-25 12:08:10 +00:00
Tommaso Pecorella
8ac0116193 core: doxygen fixes 2022-01-30 12:06:53 -06:00
Gabriel Ferreira
33f2ee841b doc: update ns3 API 2022-01-19 16:25:03 -03:00
Peter Barnes
0e685cbdbb Use [[maybe_unused]] attribute directly, instead of NS_UNUSED 2021-12-21 10:32:43 +00:00
Peter Barnes
6f319e48fc core: (bugzilla 2203) MakeEvent from a lambda 2021-12-17 17:23:45 +00:00
Stefano Avallone
6ec6fc2eb6 core: Add an attribute value storing a std::tuple 2021-12-06 10:49:40 +01:00
Gabriel Ferreira
3c604d5b2e Update docs with CMake and ns3 wrapper 2021-12-01 12:29:56 -08:00
Peter D. Barnes, Jr
09d2a6e9c6 build: (fixes #52) Fix and standardize boost detection 2021-06-17 12:09:25 -07:00
Tommaso Pecorella
e2f1ff084b core: fix doxygen warnings 2021-05-01 00:19:55 +02:00
Chappidi Yoga Satwik
854ca2ed34 core (fixes #349): Warn about Config::SetDefault() of deprecated attribute 2021-03-01 09:25:33 -08:00
Tommaso Pecorella
d2d5459888 core: fix trickle-timer compilation on clang gt 10 2021-02-07 10:12:44 +00:00
Tommaso Pecorella
457142a618 core: Trickle timer implementation 2021-02-06 04:47:50 +00:00
Tom Henderson
d1de97b68b core: Default to deterministic seed for random variable stream test 2021-01-31 20:40:50 -08:00
Tom Henderson
84ead2465d core: (fixes #302) Fix NormalRandomVariable cache values
Credit to Peter Barnes for finding bug and suggesting solution.  Also
affected the GammaRandomVariable (also fixed in this pach).
2020-12-28 13:38:49 -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