Commit Graph

186 Commits

Author SHA1 Message Date
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
Tommaso Pecorella
47768894aa doc: fix doxygen grouping 2024-02-16 16:33:27 +00:00
Eduardo Almeida
fc380a750d click, energy, internet, internet-apps: Add missing "deprecated.h" header 2024-01-27 14:40:35 +00:00
Alessio Bugetti
6155ed728e internet: (fixes #896) Standardize End System Model attributes across IPv4 and IPv6 2024-01-27 02:33:56 +00:00
Gabriel Ferreira
7806ff2e85 build: update LIBRARIES_TO_LINK lists with minimal sets 2023-12-15 13:24:29 -03:00
Gabriel Ferreira
8f6a3413a4 style: apply black and isort 2023-11-20 21:30:01 -03:00
Gabriel Ferreira
dcad34924f build: (fixes #498) explain why features failed to be enabled 2023-11-19 12:35:50 -03:00
Gabriel Ferreira
842871c6dc bindings: (fixes #796) Gracefully exit when bindings are unavailable 2023-11-03 01:28:26 +00:00
Eduardo Almeida
1f438ce6f4 Fix clang-tidy modernize-use-auto warnings 2023-09-18 00:36:46 +01:00
Eduardo Almeida
1ae0d7ea22 Fix clang-tidy warnings (detected by clang-tidy-18) 2023-09-17 22:10:09 +00:00
Eduardo Almeida
aedd34ca8f Fix local #include headers by removing the "ns3/" prefix 2023-09-17 17:19:59 +01:00
Eduardo Almeida
aa43850bac click: Fix Doxygen warnings 2023-08-08 18:02:14 +00:00
Eduardo Almeida
bbdffa5aef click: Remove unused private variables of Ipv4ClickRouting 2023-08-08 18:02:14 +00:00
Eduardo Almeida
ac79693f7d click: Move static functions to top of file 2023-08-08 18:02:14 +00:00
Eduardo Almeida
f9f46f933e click: Remove conditional compilation guards 2023-08-08 18:02:14 +00:00
Eduardo Almeida
3de318090a click: Remove non-implemented functions 2023-07-13 15:00:39 +00:00
Eduardo Almeida
74fc0d48f6 click: Fix internet stack helper operator=() 2023-07-13 15:00:39 +00:00
Eduardo Almeida
89170f7aab click: Cache call to Simulator::Now() 2023-06-13 15:27:25 +00:00
Eduardo Almeida
e60ce44a98 click: (fixes #918) Fix call to static method 2023-06-13 15:27:25 +00:00
Eduardo Almeida
f7a17e856b brite, click: Fix clang-tidy warnings 2023-06-09 11:39:01 +00:00
Gabriel Ferreira
ec9d26acd9 bindings: package ns-3 as a pip wheel
Includes:
- Python examples to test Brite, Click and Openflow
- CI jobs for manylinux packaging of pip wheel
- Support for Linux distributions with lib and lib64 directories
- Configuration of RPATH not to require setting LD_LIBRARY_PATH

Signed-off-by: Gabriel Ferreira <gabrielcarvfer@gmail.com>
2023-05-29 22:36:32 -03:00
Eduardo Almeida
42d6eea6de Remove emacs lines from Python and C++ files 2023-05-23 16:20:52 +00:00
Eduardo Almeida
6ea0a8975e Remove unnecessary enum specifier 2023-05-13 19:51:45 +00:00
Tommaso Pecorella
303113a80f internet: remove unused SetTcp (needed by NSC) 2023-04-28 00:44:45 +02:00
Gabriel Ferreira
d9924eced9 internet: reuse routing callbacks in Ipv4L3Protocol::Receive and Ipv6L3Protocol::Receive
Saves up 31 million allocations in wifi-he-network --simulationTime=0.25 --frequency=5 --useRts=0 --minExpectedThroughput=6 --maxExpectedThroughput=844
2023-04-08 14:11:37 -03:00
Gabriel Ferreira
540f48c55a Fix additional typos 2023-03-20 02:14:44 +00:00
Tom Henderson
df20f5f5e8 doc: Fix errors found by codespell and aspell 2023-03-09 11:45:15 -08:00
Gabriel Ferreira
7193cce35b build: fetch dependencies for Brite, Click and Openflow
Signed-off-by: Gabriel Ferreira <gabrielcarvfer@gmail.com>
2023-02-15 14:44:45 +00:00
Gabriel Ferreira
279369bade click: forward declare simclick_node_t
Signed-off-by: Gabriel Ferreira <gabrielcarvfer@gmail.com>
2023-02-03 17:49:45 +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
175be782d1 click: Fix clang-tidy warnings 2022-10-29 14:37:46 +01:00
Eduardo Almeida
219d958ee4 core, click, tap-bridge: Fix clang-tidy readability-string-compare warnings 2022-10-28 16:31:10 +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
Gabriel Ferreira
60e1e4032c fixing dead links 2022-06-18 17:57:05 -03:00
Gabriel Ferreira
0f8f7125cd click: additional search suffixes for Click libraries
Fixes https://gitlab.com/nsnam/ns-3-dev/-/issues/670
2022-06-07 12:48:34 -03:00
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00
Gabriel Ferreira
c7553687d7 build: enable colorized CMake and g++/clang++ when using ns3 2022-04-02 21:11:16 -03:00
Gabriel Ferreira
cbb7628473 build, docs: fixes find_external_library header search paths and docs
Includes:
- search for headers in the library directory when using find_external_library
- prevent module processing (brite, click and openflow) from continuing if ${dependency_name}_FOUND is not set
2022-03-25 23:30:04 -03:00
Gabriel Ferreira
fbebb61a6f build: refactoring CMake and ns3
Includes:
- summarize ns3 commands on top-level --help
- add --quiet as a post-positional argument
- refactor verbose variable names
- aggregate ./ns3 --check-config|profile|version into ./ns3 show config|profile|version
- remove ns3 --check deprecated option
- set VERBOSE environment variable when building/running with -v/--verbose
  https://gitlab.com/nsnam/ns-3-dev/-/issues/590#note_870520212
- enable verbose Makefiles when NS3_VERBOSE is enabled
  https://gitlab.com/nsnam/ns-3-dev/-/issues/590
- introduce default build profile and refactor others
  https://gitlab.com/nsnam/ns-3-dev/-/issues/591
- use "-Og" in "CMAKE_BUILD_TYPE=Debug"/"ns3 -d debug"
- add back FindPython3 and fallback to FindPythonInterp if needed
- redirect pybindgen apiscan output to apiscan.log
- enable CMAKE_FIND_DEBUG_MODE with NS3_VERBOSE and CMake >= 3.17
- add search path logging to find_external_library
  Requires NS3_VERBOSE=ON. This is an anternative to CMAKE_FIND_DEBUG_MODE=true available in CMake >= 3.17
- remove C support
- reduce Int128 checks
- fuse Boost Units Quantity and SI header checks
- replace not found messages with skipping
2022-03-13 21:23:47 +00:00
Gabriel Ferreira
e32c177e45 build: remove waf files, tests and references 2022-02-21 22:08:45 -03:00
Tom Henderson
5367f1fed7 bindings: Rescan APIs of most modules 2022-02-16 15:59:27 -08:00
Gabriel Ferreira
ce68f89109 click: add missing library 2022-02-11 16:13:07 -03:00
Gabriel Ferreira
da72879f4c build: better emulate find_package behavior and replace FindSQLite3
Includes:
- refactoring of find_external_library with argument parsing
2022-01-29 16:03:08 -03: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