Commit Graph

1688 Commits

Author SHA1 Message Date
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
Eduardo Almeida
e3c5c9831a Remove unnecessary casts to double for hard-coded numbers 2022-12-07 17:40:15 +00:00
Peter D. Barnes, Jr
fec6a2c1d7 core: use maybe_unused instead of `(void)' cast 2022-12-06 08:34:47 +00:00
Eduardo Almeida
4e3a97e1fa core: Fix implicit bool conversion in attribute-test-suite.cc 2022-12-05 23:11:31 +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
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
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
Eduardo Almeida
219d958ee4 core, click, tap-bridge: Fix clang-tidy readability-string-compare warnings 2022-10-28 16:31:10 +01:00
Gabriel Ferreira
0d6916f431 core: fix leak in CommandLineCharStarTestCase 2022-10-26 16:39:23 -03: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
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
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
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
087e71393e core: Fix clang-tidy modernize-use-nullptr warnings 2022-10-10 23:31:12 -03:00
Gabriel Ferreira
19433392de core: rework RUNNING_ON_VALGRIND to support Windows in int64x64 tests 2022-10-10 20:09:59 -03:00
Gabriel Ferreira
cf96b77c12 core: trim short program name for Windows compatibility 2022-10-10 20:09:59 -03:00
Gabriel Ferreira
d88afc4379 core: replace 32-bit lround (Windows) with llround in Time constructor 2022-10-10 20:09:59 -03:00
Gabriel Ferreira
529d30b0da core: handle sigaction on Windows 2022-10-10 20:09:59 -03:00