Commit Graph

662 Commits

Author SHA1 Message Date
Peter D. Barnes, Jr
fda68d305a docs: Fix formulas, use consistent outline for RandomVariableStreams 2023-02-13 16:31:28 -08:00
Peter D. Barnes, Jr
c9769a47f2 docs: reduce duplication in RandomVariableStream 2023-02-13 16:31:28 -08:00
Peter D. Barnes, Jr
bf8b442aeb core: refactor GetInteger() in the random variable streams 2023-02-13 16:31:28 -08:00
Peter D. Barnes, Jr
ce4026523a core: enable environment variable for Windows 2023-02-11 17:18:04 +00:00
Eduardo Almeida
d3426db18d Fix typos 2023-02-09 15:36:32 +00:00
Eduardo Almeida
971e5c15fa Fix clang-tidy readability-container-size-empty warnings 2023-02-02 17:41:31 +00:00
Peter D. Barnes, Jr
1df846296e core: fix error when log label is longer than minimum 2023-01-27 16:15:16 +00:00
Peter D. Barnes, Jr
e12f062188 core: (fixes #857): Handle default levels when log component is merely mentioned. 2023-01-27 16:15:16 +00:00
Eduardo Almeida
45ae14cadc core: Fix unused variable warning of no-op NS_ASSERT macros 2023-01-26 19:10:15 +00:00
Tommaso Pecorella
06d0ff20d0 doc: (fixes #817) various fixes highlighted by doxygen 1.9.6 2023-01-26 15:32:58 +00:00
Tommaso Pecorella
e312d69ab3 core: (fixes #578): test-runner exits if no TestSuite is specified 2023-01-24 19:53:49 +00:00
André Apitzsch
16e725fd96 core: Add missing library in system-path.cc
fixes error: use of undeclared identifier 'memset'; did you mean 'wmemset'?
2023-01-18 20:58:20 -08:00
Peter Barnes
d547cf4a02 util: SplitString function to split a string on a delimiter 2023-01-06 02:00:19 +00:00
Peter D. Barnes, Jr
0951dbc128 core: cache parsing of environment variables 2023-01-05 15:49:31 -08:00
Eduardo Almeida
e3b8bc49b5 Fix casing of classes, structs and enums to start with an uppercase letter 2022-12-28 18:15:44 +00:00
Tommaso Pecorella
edbb411762 core: remove deprecated RefCountBase 2022-12-13 02:02:46 +01:00
Peter D. Barnes, Jr
ebb5647905 core: simplify paren grouping 2022-12-08 17:59:47 +00:00
Tommaso Pecorella
7f53029020 core: (fixes #819) disable deprecation warnings for Object registration 2022-12-08 00:32:09 +01:00
Peter D. Barnes, Jr
fec6a2c1d7 core: use maybe_unused instead of `(void)' cast 2022-12-06 08:34:47 +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
b9562ba520 Fix formatting of braced-init-lists by adding trailing comma 2022-11-24 16:13:09 +00:00
Tom Henderson
40ec1d7a21 Remove NS_DEPRECATED_3_35 methods 2022-11-12 17:07:29 -08:00
Tom Henderson
6d4eff6961 Remove NS_DEPRECATED_3_34 methods 2022-11-12 17:07:29 -08:00
Tom Henderson
89a6e7f370 core: add deprecated for ns-3.37 2022-11-02 07:02:14 -07:00
Gabriel Ferreira
ae5d44ce62 core: fix system-path.cc formatting 2022-10-29 09:18:53 -03:00
Peter D. Barnes, Jr
0157675e40 core: command-line: char* buffers fixups 2022-10-29 05:42:54 +00:00
Gabriel Ferreira
8a0eba7c03 core: fix nullptr comparison in system-path.cc 2022-10-29 02:32:29 -03: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
Eduardo Almeida
219d958ee4 core, click, tap-bridge: Fix clang-tidy readability-string-compare warnings 2022-10-28 16:31:10 +01:00
Gabriel Ferreira
870b7fb349 core: fix docs and formatting 2022-10-26 01:56:58 -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
8cef417ee1 core: (fixes #782) command-line: fix GetDefault 2022-10-26 00:04:43 +00:00
Peter D. Barnes, Jr
68557ec32a core: command-line: clarify UserItemParse args 2022-10-26 00:04:43 +00:00
Peter D. Barnes, Jr
dc2e494e33 core: command-line: handle hard-coded options first 2022-10-26 00:04:43 +00:00
Peter D. Barnes, Jr
8361ff2111 core: command-line: update doxy 2022-10-26 00:04:43 +00:00
Peter D. Barnes, Jr
f0bce295fa core: command-line: make more methods const 2022-10-26 00:04:43 +00:00
Peter D. Barnes, Jr
fc9fb7937c core: command-line: refactor and modernize 2022-10-26 00:04:43 +00:00
Peter D. Barnes, Jr
95428c2882 core: command-line: pass strings by const ref 2022-10-26 00:04:43 +00:00
Peter D. Barnes, Jr
2dbcce2ddb core: command-line: remove obsolete include 2022-10-26 00:04:43 +00:00
Eduardo Almeida
f50b180a1f core, build: Fix filesystem library support detection 2022-10-25 20:36:05 +01:00
Eduardo Almeida
223dbf0277 core: Adjust clang-format guards of external files 2022-10-24 21:21:39 +01:00
Eduardo Almeida
df1dedfc9f Revert "Convert tabs to spaces in files largely copied from elsewhere"
This reverts commit 6854e62de8.
2022-10-24 21:21:39 +01: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
Tommaso Pecorella
2c1bb6f032 core:fix int->double conversion in Time 2022-10-22 14:29:33 +02:00
Tommaso Pecorella
482730e5f9 core: fix undefined behavior in Time::SetResolution()
Credits to Tolik Zinovyev <tolik@bu.edu> for finding the issue
and proposing a first patch.
2022-10-22 09:56:23 +02:00
Eduardo Almeida
7c96289305 core: Fix inconsistent formatting between clang-format 14 and 16 2022-10-17 13:43:08 +01:00
Eduardo Almeida
85ade4e18d Fix Doxygen comment formatting and typos 2022-10-16 14:49:21 +01:00
Eduardo Almeida
f0709d9799 core: Fix breakpoint.cc 2022-10-15 20:50:57 +01:00