Commit Graph

1676 Commits

Author SHA1 Message Date
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
Gabriel Ferreira
10673c56e9 core: capture example-as-tests return code directly from ns3 2022-10-10 20:09:59 -03:00
Gabriel Ferreira
83099b7bda core: add win32-fd-reader 2022-10-10 20:09:59 -03:00
Gabriel Ferreira
14c4221f15 core: rename unix-fd-reader.h to fd-reader.h 2022-10-10 20:09:59 -03:00
Eduardo Almeida
e25ff966fe Apply clang-format to codebase 2022-10-07 20:08:35 +00:00
Tommaso Pecorella
b0c841f63f core, lte: Fix Doxygen warnings 2022-10-07 20:02:16 +00:00
Eduardo Almeida
ebb596910c Fix remaining clang-tidy warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
afb0f160d4 Fix clang-tidy performance-faster-string-find warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
c1e7757315 Fix clang-tidy readability-isolate-declaration warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
f65238a0db Fix clang-tidy readability-string-compare 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