Commit Graph

16020 Commits

Author SHA1 Message Date
Tom Henderson
38ec28bf50 documentation: Update obsolete links in manual 2021-12-20 21:42:33 -08:00
Peter Barnes
1d0c81dea4 core: pre-event hook, to facilitate chaining SimulatorImpls 2021-12-20 21:59:44 +00:00
Gabriel Ferreira
715232ea96 build: fix dependency checks for the test module
And formatting fixes
2021-12-19 11:43:47 -03:00
Tom Henderson
aad79536bf bindings: Rescan all APIs 2021-12-18 16:41:52 -08:00
Eduardo Almeida
1b6a5c0508 Update coding style for deleted constructors and operators 2021-12-18 16:41:52 -08:00
Eduardo Almeida
96ec88cd59 core: Remove NonCopyable class 2021-12-18 16:41:39 -08:00
Eduardo Almeida
4ebdc0c6c6 Mark deleted ctors and operator= with delete keyword 2021-12-18 15:22:44 -08:00
Stefano Avallone
a4626d178a wifi: Set TXOP holder when receiving a Trigger Frame 2021-12-18 18:36:27 +01:00
Eduardo Almeida
158bf67696 editorconfig: Add rules for trim trailing whitespaces, CMake and ns3 script 2021-12-17 17:52:01 -08:00
Tommaso Pecorella
da7e53148b CI: fix Yaml for clang tests 2021-12-18 01:42:46 +00:00
Tommaso Pecorella
9b1b8feb81 CI: fix Yaml for clang tests 2021-12-18 01:32:44 +00:00
Tommaso Pecorella
98e3168d7e CI: fix Yaml for clang tests 2021-12-18 01:26:40 +00:00
Tom Henderson
f5bd038b86 build: Update minimum compiler versions to g++-8, clang++-6, Apple Clang 11 2021-12-17 17:18:58 -08:00
Tom Henderson
fa64e1e008 ci: Remove unsupported Fedora 31, 32 2021-12-17 15:55:50 -08:00
Tom Henderson
9588ad7fe6 internet: Update Python bindings 2021-12-17 15:46:55 -08:00
Tommaso Pecorella
2d3389005b internet: further NSC cleanup 2021-12-17 13:59:48 -08:00
Chandrakant jena
0510f36078 internet: change NS_ASSERT to NS_TEST_ASSERT* in tests 2021-12-17 19:45:36 +01:00
Peter D. Barnes, Jr
9c5fec6697 Define NS_DEPRECATED_3_36 2021-12-17 17:24:11 +00:00
Peter D. Barnes, Jr
ccb21e8887 Use C++-14 [[deprecated (msg)]], convert NS_DEPRECATED to function macro 2021-12-17 17:24:11 +00:00
Peter Barnes
6f319e48fc core: (bugzilla 2203) MakeEvent from a lambda 2021-12-17 17:23:45 +00:00
Stefano Avallone
a36733d8b1 doc: Document the TrafficControlHelper::Uninstall method 2021-12-17 17:49:34 +01:00
Stefano Avallone
3bbdd7bb59 traffic-control: Trace packets dropped by the traffic control layer 2021-12-17 17:47:22 +01:00
Stefano Avallone
7fd2d476ba traffic-control: Allow to disable flow control for devices supporting it 2021-12-17 17:47:07 +01:00
Peter Barnes
4dc0ec0682 core: (fixes #141) Print parent attributes from CommandLine --PrintAttributes 2021-12-17 01:04:14 +00:00
Peter Barnes
dd1d254a9f core: html-encode in CommandLine::PrintDoxygenUsage 2021-12-16 23:32:15 +00:00
Gabriel Ferreira
9d9f765ba6 build: additional CMake and ns3 bugfixes 2021-12-16 02:29:59 +00:00
Eduardo Almeida
bb46bcce1a build: Remove remaining NSC references from waf_workaround_fakeconfig.cmake 2021-12-15 15:10:55 +00:00
Gabriel Ferreira
a21a8fb7ab build: Remove unsupported flag NO_SOURCE_PERMISSIONS 2021-12-14 17:15:59 +00:00
Tommaso Pecorella
73fd4b87a4 build: fix Ubuntu 18.04 CI scripts 2021-12-14 00:28:16 +01:00
Peter Barnes
8b0d0e7044 core: symbolic names for EventId reserved Uid values 2021-12-13 23:04:15 +00:00
Gabriel Ferreira
69d4cce61b build: Fix ns3 --help 2021-12-13 18:16:33 +00:00
Tommaso Pecorella
532dadb1c3 build: update CI scripts to use gcc-8 2021-12-13 18:01:35 +01:00
Gabriel Ferreira
91e1ffbd87 doc: Remove ns3 verbose references 2021-12-11 12:04:15 -03:00
Gabriel Ferreira
eda1c6af51 build: Stop manually refreshing the cmake cache to speed up build 2021-12-11 12:04:15 -03:00
Gabriel Ferreira
f61eb31909 build: Exempt paths to external libraries from the ns3 modules check 2021-12-10 21:21:42 -03:00
Peter Barnes
c333dbc0cd core: forward ScheduleNow(...) to Schedule(0, ...) 2021-12-10 22:41:33 +00:00
Tom Henderson
2c19b5b453 internet: Remove Network Simulation Cradle (NSC) 2021-12-10 09:07:03 -08:00
Gabriel Ferreira
b26b2b8a17 build: Set default build type in the CMake cache if not specified 2021-12-10 00:16:45 -03: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
Ryan Mast
0e32b5304b build: Add ns3:: namespace to exported CMake targets 2021-12-09 19:18:00 +00:00
Tommaso Pecorella
deaec64d36 core: remove NS_TEST_*_INTERNAL 2021-12-09 01:25:52 +00:00
Stefano Avallone
d40173fb50 wifi: (fixes #500) Clear PHY RX event if switching channel in IDLE and CCA_BUSY state (patch from Ohad Klausner) 2021-12-07 12:02:08 +01:00
Stefano Avallone
d0765540ad wifi: (fixes #483) Cancel EndOfMpdu events when cancelling all events 2021-12-07 09:45:04 +01:00
Tom Henderson
48d8bf45f8 Add wifi model subheader on changes across releases 2021-12-07 09:45:04 +01:00
Stefano Avallone
88078de14e wifi: Update documentation 2021-12-07 09:45:04 +01:00
Stefano Avallone
bd7ebdd4cf wifi: Switch to the new PHY methods to set the operating channel 2021-12-07 09:45:04 +01:00
Stefano Avallone
1c8cdac51c wifi: Add new PHY methods to set the operating channel 2021-12-07 09:45:04 +01:00
Stefano Avallone
068914a18c wifi: Move channels definition from WifiPhy to WifiPhyOperatingChannel
This allows to resolve circular dependency (WifiPhy includes WifiPhyOperatingChannel
and not viceversa) and to provide a default value for the last argument of FindFirst,
which is now public because it can be useful for other components.
2021-12-07 09:45:04 +01:00
Stefano Avallone
6ec6fc2eb6 core: Add an attribute value storing a std::tuple 2021-12-06 10:49:40 +01:00
Gabriel Ferreira
d860f02187 build: Prevent ns3 from searching generators with --run-no-build 2021-12-06 00:44:06 -03:00