Commit Graph

181 Commits

Author SHA1 Message Date
Eduardo Almeida
c69ffe0206 Reformat comments near closing braces to avoid issues with clang-format-18 2025-03-11 02:35:32 +00:00
Eduardo Almeida
730ea53f16 Remove ending comments in closing braces 2025-03-11 02:35:32 +00:00
Eduardo Almeida
f6e1ee4282 Convert ns-3 #include headers to quotes 2025-01-17 19:02:17 +00:00
André Apitzsch
f67ff99635 build: Limit scope of MPI definition and include directory 2024-12-07 18:38:56 +01:00
Eduardo Almeida
6ef966c4cf Replace Doxygen tags using \ with @ 2024-11-08 18:05:46 +00:00
Eduardo Almeida
5afa1fd7ef Use Time() constructor with integer values 2024-11-08 18:01:13 +00:00
Eduardo Almeida
3c706947a0 Use Time comparison functions rather than Time(0) 2024-11-08 18:01:00 +00:00
André Apitzsch
8bc94a1cc3 Use SPDX license identifiers 2024-09-06 19:32:31 +00:00
André Apitzsch
a5c42bc879 core: Use enum class for TestSuite::Type 2024-03-15 09:27:53 +01:00
André Apitzsch
e46d2a8024 core: Use enum class for TestCase::TestDuration and rename it to TestCase:Duration 2024-03-15 09:27:52 +01:00
Gabriel Ferreira
7806ff2e85 build: update LIBRARIES_TO_LINK lists with minimal sets 2023-12-15 13:24:29 -03:00
Tommaso Pecorella
808e3b4ec7 core: add a Simulator::GetStopEvent 2023-11-10 09:50:44 +00:00
Gabriel Ferreira
c77aba9cbc mpi: initialize MPI_Request with MPI_REQUEST_NULL
Fixes compatibility issue with Mpich
2023-10-06 22:16:41 -03:00
Eduardo Almeida
0306cae347 mpi: Remove lingering semicolon 2023-09-19 00:49:00 +01:00
Eduardo Almeida
1f438ce6f4 Fix clang-tidy modernize-use-auto warnings 2023-09-18 00:36:46 +01:00
Eduardo Almeida
aedd34ca8f Fix local #include headers by removing the "ns3/" prefix 2023-09-17 17:19:59 +01:00
Eduardo Almeida
ba859a0d66 Fix clang-tidy modernize-use-bool-literals warnings 2023-09-15 16:36:26 +00:00
Eduardo Almeida
60b159b817 mpi, spectrum: Add missing header guards to example files 2023-05-15 22:37:25 +01:00
Eduardo Almeida
a93c357141 Fix clang-tidy readability-simplify-boolean-expr warnings 2023-05-07 19:06:35 +01:00
Gabriel Ferreira
540f48c55a Fix additional typos 2023-03-20 02:14:44 +00:00
Peter D. Barnes, Jr
34b6c4f097 core: allow examples to return an error in examples-as-tests 2023-02-27 17:41:02 +00:00
Gabriel Ferreira
6f076416e7 Fix typos 2023-02-21 22:29:29 -03:00
Eduardo Almeida
c5371d938c Fix clang-tidy readability-make-member-function-const warnings 2023-02-21 16:09:35 +00:00
Eduardo Almeida
d3426db18d Fix typos 2023-02-09 15:36:32 +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
700543b01a doc: remove space before paren in code samples 2023-01-05 23:47:13 +00:00
Eduardo Almeida
9a2bf052b8 mpi: Include MPI headers with <> braces 2022-12-03 15:48:33 +00:00
Eduardo Almeida
b8fb0fcfc8 Fix clang-diagnostics-unused-but-set-variable warnings 2022-10-28 21:48:03 +01:00
Eduardo Almeida
85ade4e18d Fix Doxygen comment formatting and typos 2022-10-16 14:49:21 +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
e25ff966fe Apply clang-format to codebase 2022-10-07 20:08:35 +00:00
Peter D. Barnes, Jr
e461e54d5a Update Ptr validity checks to new Ptr<>::operator bool 2022-08-18 08:59:30 -07:00
Gabriel Ferreira
c5d0c8efb4 bindings: remove pybindgen bindings sources 2022-08-01 21:24:02 +00: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
Gabriel Ferreira
ea7ca9b690 build: include and link to globally searched libraries 2022-05-12 19:15:48 -03:00
Tom Henderson
c3506a4572 mpi: (postfix of #607, commit e6fbf39cf) Update reflogs 2022-04-06 15:32:09 -07:00
Peter D. Barnes, Jr
e6fbf39cf5 mpi: (fixes #607) call CommandLine correctly to generate docs 2022-04-03 14:10:10 -07:00
Gabriel Ferreira
e32c177e45 build: remove waf files, tests and references 2022-02-21 22:08:45 -03:00
Tom Henderson
4cbc131aa4 wifi: (#470 postfix) Align third-distributed.cc Wi-Fi config with third.cc 2022-02-15 15:32:23 -08:00
Tommaso Pecorella
2182bb0ece mpi: 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
Tommaso Pecorella
a8fc1b6235 doxygen: fix warnings in various modules 2022-01-05 00:22:31 -06:00
Peter Barnes
1d0c81dea4 core: pre-event hook, to facilitate chaining SimulatorImpls 2021-12-20 21:59:44 +00:00
Peter Barnes
8b0d0e7044 core: symbolic names for EventId reserved Uid values 2021-12-13 23:04:15 +00:00
Peter Barnes
c333dbc0cd core: forward ScheduleNow(...) to Schedule(0, ...) 2021-12-10 22:41:33 +00:00
Gabriel Ferreira
f6ef415392 build: CMake bugfixes
Fixes include:
- Handling of relative paths used as output directories
- Accepting comma separated lists of modules to enable/disable
- Echoing all CMake commands at the end of the execution of ns3 script
- More informative optional features summary output
- Replace absolute paths with relative paths in the printed CMake output for less verbose output
- Set debug build type on the CMake side to ensure ccmake doesn't crash
- Prefix INT64X64 with NS3 to indicate user switch
- Compiler version check
- Removal of verbose option
- Suppress empty enabled/disabled module tables

Features include:
- Test for installation/uninstallation of ns-3 as a CMake package
- Test importing ns-3 as a CMake package and use in a 3rd-party project
- Test to check VERSION usage
- ns3 option to enable/disable sanitizers
- Associate headers to libraries targets
2021-12-10 02:13:43 +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