Commit Graph

38 Commits

Author SHA1 Message Date
Eduardo Almeida
f9f46f933e click: Remove conditional compilation guards 2023-08-08 18:02:14 +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
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
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00
Gabriel Ferreira
e32c177e45 build: remove waf files, tests and references 2022-02-21 22:08:45 -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
Gabriel Ferreira
113c3744fc build: CMake and ns3 fixes and improvements
Includes:
- fix python warnings and wrap pkgconfig_interface_include_directories in quotes to treat it as a string
- prevent failure when Python is not found
- refactor python bindings checks and error messages
- export 3rd-party include directories and linked libraries
    - Adding a NS3_REEXPORT_THIRD_PARTY_LIBRARIES option to always export include directories and libraries used by a module, making it automatically available to 3rd-party modules
    - Making NS3_REEXPORT_THIRD_PARTY_LIBRARIES option enabled by default
- replace colliding shortcuts with list of non-ambiguous shortcuts
- remove unnecessary code blocks from click
- warn users that doxygen target requires examples and tests
    - These are used to generate introspected documentation and guarantee proper dependency checking and build order
2022-01-27 17:28:38 -03: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
Gabriel Ferreira
9c876c7f5a CMake buildsystem 2021-12-01 12:29:55 -08:00
Tom Henderson
938a096b46 click: Align examples with wifi API changes in commit 7c89eaf6 2020-10-28 21:34:07 -07:00
Sebastien Deronne
bd1ad3994a wifi: Decouple standard and frequency band 2020-09-03 18:43:43 +00:00
Peter D. Barnes, Jr
b23be18b3b Use CommandLine cmd (__FILE__) instead of COMMANDLINE macro.
This in effect replaces commit 5e624d550
2020-05-01 14:42:53 -07:00
Peter D. Barnes, Jr
5e624d5504 doc: Use the new COMMANDLINE macro in every example 2020-04-27 16:20:09 -07:00
Sébastien Deronne
79310da82f wifi: Cleanup usage of SupportedPcapDataLinkTypes 2017-11-21 12:29:15 +01:00
Lalith Suresh
a893350e83 click: fixes Bug 2290 - cannot run click examples from test.py 2016-02-10 13:31:30 +01:00
Tom Henderson
b04d1388a9 Fix click examples from commit ae504de1efb0 2016-02-07 09:07:37 -08:00
Tom Henderson
e476598d18 wifi: Bindings and examples for commit 7c60a9f8f271 2016-02-05 19:45:20 -08:00
Sébastien Deronne
4f54ca4f1e wifi: (fixes #2116 and #2213) Refactor helpers and APIs 2016-02-05 21:48:25 +01:00
Sascha Alexander Jopen
ddfd9131e8 Allow Click defines to be handled from ns-3 2013-02-07 10:47:31 +01:00
Mitch Watrous
261dc3b45a Replace more instances of RandomVariable with RandomVariableStream 2012-08-20 19:08:45 -07:00
Lalith Suresh
4d28b1334a remove the enabling of missing log components 2011-08-31 06:30:13 -07:00
John Abraham
b0095351f7 Bug 1236: click-internet-stack-helper.cc:293:12: error: variable "result" set but not used 2011-08-09 11:36:18 -04:00
Ruben Merz
bf2fb045e3 Fix typo in ns-3-click example 2011-07-04 22:53:11 +02:00
Ruben Merz
8ac6392e07 ns-3-click support for promisc mode 2011-05-27 18:23:09 +02:00
Ruben Merz
eba4bec44d Click file modifications to reflect on Click changes to FromSimDevice argument order 2011-06-28 19:04:37 +01:00
Lalith Suresh
d1d7bcb63a Fixes ARP issue in nsclick-ip-router.click and static route in nsclick-routing-node2.click 2011-06-01 17:34:53 +01:00
Lalith Suresh
6733131dd7 Corrects topology description in nsclick-routing.cc example 2011-06-01 17:06:46 +01:00
Lalith Suresh
9b43459eee Adds Simulator::Destroy () to nsclick-simple-lan.cc and nsclick-raw-wlan.cc 2011-05-23 10:54:41 -04:00
Lalith Suresh
fa59efdf02 Click module coding style cleanup 2011-05-02 16:24:20 +01:00
Lalith Suresh
8e654a5f94 Fixes Click test suite, updates it to use ClickInternetStackHelper, and fixes sanity check in Ipv4ClickRouting 2011-03-28 19:46:05 +01:00
Lalith Suresh
19ae044602 Runs 'check-style.py --level=3 -i' on src/click/* 2011-03-28 10:29:02 +01:00
Lalith Suresh
4a52471c5e Corrects wscript for Click examples 2011-03-19 16:54:00 +00:00
Mitch Watrous
9959a29036 Fix dependencies in various wscripts 2011-03-18 13:21:02 -07:00
Lalith Suresh
9bfcd30731 Fixes Click examples breakage 2011-03-06 20:04:16 +00:00
Tom Henderson
18f2715506 remove src/helper module 2011-03-05 11:47:37 -08:00
Lalith Suresh
1ae8c1b656 Moves devices/* and routing/* to src/ 2011-03-04 01:26:54 +00:00