Commit Graph

1854 Commits

Author SHA1 Message Date
Sébastien Deronne
6dfd7f10f0 core: Extend attribute container serialization test for a vector of tuples 2024-06-17 18:13:20 +00:00
Sébastien Deronne
03e3633fc6 core: Fix typo in attribute container test suite 2024-06-17 18:13:20 +00:00
Kakadus1
781f96eb94 core: Replace TYPE_NAME_GET_DEFINE with TYPENAMEGET_DEFINE 2024-06-04 20:43:50 +00:00
André Apitzsch
1e2c304973 core: Add deprecated for ns-3.43 2024-06-04 18:21:11 +00:00
pagmatt
bf97cbf1d3 core: Add Vector dot product 2024-05-24 17:23:26 -07:00
pagmatt
4670d4fd61 core: Add TestVector iterator 2024-05-24 17:23:26 -07:00
Stefano Avallone
34b4cf1a30 wifi: Use custom Shuffle implementation instead of std::shuffle
std::shuffle implementation is not guaranteed to return the same
permutation across different libraries
2024-05-24 13:24:48 +00:00
Stefano Avallone
556e901e92 core: Add a function to shuffle ranges of elements 2024-05-24 13:24:48 +00:00
Tolik Zinovyev
c2480dedde core: simplify code, add asserts, remove undefined behavior around int64x64-128. 2024-05-24 12:22:06 +00:00
Gabriel Ferreira
7711e5290e bindings: Remove CreateObject/GetObject tricks 2024-05-19 10:08:50 +00:00
Gabriel Ferreira
4a0091ba6c bindings: Remove injected namespaces 2024-05-19 10:08:50 +00:00
Gabriel Ferreira
95f959932b core: Additional MatrixArray utilities
New features include determinant, Frobenius norm, identity matrix, matrix page copies and matrix page joining
2024-05-16 23:08:11 -03:00
Gabriel Ferreira
01138ef2d7 (fixes #161) Deprecate EventId::IsRunning() and replace it with EventId::IsPending() 2024-05-14 12:40:54 -03:00
Stefano Avallone
2bddd81ec4 core: Initialize EnumValue::m_value
Avoid UB errors (spotted by sanitizers) such as "runtime error: load of
value 52428820, which is not a valid value for type 'WifiPhyBand'
2024-05-14 06:56:46 +00:00
Tommaso Pecorella
d6f2faebc8 core: add Vector scalar multiplication 2024-05-12 19:57:34 +02:00
Eduardo Almeida
79186a8b8b Fix clang-tidy bugprone-branch-clone warnings 2024-05-11 02:56:07 +01:00
Tom Henderson
ddb530c956 core, tests: Reset default values for every TestCase 2024-05-10 00:39:54 +00:00
Stefano Avallone
5840590ed1 core: Inline AttributeContainerValue::CopyFrom to fix build issue in optimized mode 2024-05-09 10:16:35 +02:00
Stefano Avallone
ae7e7f370f core: Add an assert to trickle timer test to fix build issue in optimized mode 2024-05-08 23:21:55 +02:00
Eduardo Almeida
ea058843e9 core: Add ns-3 version to deprecated message 2024-04-26 18:27:22 +00:00
Gabriel Ferreira
a9fb22a442 core: Move Time::StaticInit call to helper constructor 2024-04-21 17:02:07 +00:00
Gabriel Ferreira
3005ac54ef core: Allow bool<std::string> callback functions 2024-04-21 17:02:07 +00:00
Gabriel Ferreira
36b43d9cbf core: Fix TimerImpl maybe uninitialized issue 2024-04-21 17:02:07 +00:00
Gabriel Ferreira
20d013154d core, wifi: Fix MakeEvent stack overflow 2024-04-21 17:02:07 +00:00
Gabriel Ferreira
150fb0e1ce Enable pedantic checks for C++ conformance 2024-04-21 17:02:07 +00:00
Gabriel Ferreira
b4b1bbd739 core: Add missing <tuple> header 2024-04-21 17:02:07 +00:00
André Apitzsch
78f2c1fe94 core: Remove unused int-to-type.h 2024-03-28 10:13:57 +01:00
André Apitzsch
399ff3cccb core: Move TimerImpl to namespace internal 2024-03-28 10:13:57 +01:00
André Apitzsch
9e25d8ef7e core: Refactor TimerImpl with variadic templates 2024-03-28 09:45:52 +01:00
Tommaso Pecorella
fa5c41b30f core: (fixes #1052) silence maybe-uninitialized warning in gcc 13.1 2024-03-27 00:41:26 +01:00
Tommaso Pecorella
41921f6e81 core: add macro to silence 'maybe uninitialized' warnings 2024-03-27 00:41:26 +01:00
Tommaso Pecorella
2c5a7c4f12 core: remove unnecessary 'using' 2024-03-27 00:41:26 +01:00
Eduardo Almeida
0fd0a38b78 core: Move deprecated example snippet to NS_DEPRECATED() macro Doxygen 2024-03-25 14:23:14 +00:00
Eduardo Almeida
44c48b2591 core: Fix Doxygen formatting of NS_DEPRECATED() macro 2024-03-25 14:23:14 +00:00
André Apitzsch
1fcf7c4c4b core: Move EventMemberImplObjTraits to namespace internal 2024-03-22 18:11:33 +00:00
André Apitzsch
f80f94178c core: Refactor MakeEvent with variadic templates
`std::enable_if_t` is used to fix "call to 'MakeEvent' is ambiguous"
errors.
2024-03-22 18:11:33 +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
Tommaso Pecorella
bb3cbdd28f core: allow multiple aggregation of an object 2024-03-15 02:53:15 +00:00
Tom Henderson
df984cf4b0 core: Log failures to connect trace source 2024-03-14 23:25:27 +00:00
Tolik Zinovyev
e05447e04a core: delete int64x64_t::int64x64_t(int128_t). 2024-03-14 11:15:45 +00:00
Tommaso Pecorella
b0696dd8fe core: (fixes #1049) add error message to ObjectFactory::Create 2024-03-13 17:59:40 +00:00
Tommaso Pecorella
d1aa4aa6fb core: fix test in Apple clang 15.0.0 (Xcode 15.3) 2024-03-08 01:59:25 +01:00
Tommaso Pecorella
6fb9855af5 doc: align documentation and classes to match and remove warnings. 2024-02-21 12:29:26 -06:00
Tom Henderson
27aa41e454 core: Add assert and debugging message to catch ObjectFactory errors 2024-02-17 01:16:42 +00:00
Tommaso Pecorella
47768894aa doc: fix doxygen grouping 2024-02-16 16:33:27 +00:00
Tommaso Pecorella
7f830d7295 core: remove redefinition of std::filesystem 2024-02-13 21:47:22 +01:00
Eduardo Almeida
82153c2964 build, core: (fixes #790) Remove experimental filesystem 2024-02-13 21:47:22 +01:00
Tommaso Pecorella
f9c57ac182 core: Add deprecated for ns-3.42 2024-02-13 08:04:52 -06:00
André Apitzsch
7b717ff485 core: Get doublings in trickle-timer the elegant way 2024-02-10 23:24:36 +00:00