Commit Graph

46 Commits

Author SHA1 Message Date
Eduardo Almeida
2c4bcab296 clang-format formatting harmonization (merge split strings) 2025-03-11 22:09:09 +00:00
Eduardo Almeida
6ef966c4cf Replace Doxygen tags using \ with @ 2024-11-08 18:05:46 +00:00
André Apitzsch
8bc94a1cc3 Use SPDX license identifiers 2024-09-06 19:32:31 +00:00
Alberto Gallegos Ramonet
314c58ad69 energy: Adds energy namespace 2024-05-19 01:33:53 +00:00
Tommaso Pecorella
47768894aa doc: fix doxygen grouping 2024-02-16 16:33:27 +00:00
Eduardo Almeida
1f438ce6f4 Fix clang-tidy modernize-use-auto warnings 2023-09-18 00:36:46 +01:00
Eduardo Almeida
c5371d938c Fix clang-tidy readability-make-member-function-const warnings 2023-02-21 16:09:35 +00:00
Eduardo Almeida
9a0d17186b Fix clang-tidy readability-static-accessed-through-instance warnings 2023-01-29 18:11:10 +00:00
Eduardo Almeida
18225243f2 examples: Add missing return 0 2022-11-29 21:33:09 +00:00
Eduardo Almeida
7c182618ed Fix clang-tidy readability-redundant-string-cstr warnings 2022-10-28 16:05:20 +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
Eduardo Almeida
1b78ecc117 Fix clang-tidy readability-braces-around-statements warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
4af0fe4b85 Fix clang-tidy modernize-use-nullptr warnings 2022-10-07 11:48:10 +00:00
Peter D. Barnes, Jr
e461e54d5a Update Ptr validity checks to new Ptr<>::operator bool 2022-08-18 08:59:30 -07: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
Hossam Khader
d579d1816f build: add missing CMake entry for uan-ipv6-example 2022-02-15 18:15:50 +00: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
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
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
La Tuan Minh (GCI 2019)
55359e47ea uan: refactor uses of Time::GetSeconds 2020-04-02 15:46:13 -07:00
Alexander Krotov
00bb6fe7f6 Spellcheck 2018-06-27 10:50:27 +03:00
Hossam Khader
eac2a44773 uan: (fixes #2882): Examples for running raw, IPv4, IPv6, 6lowpan over UAN 2018-03-05 14:47:15 -06:00
Robert Ammon
9585a5a725 uan: Eliminate Visual Studio compiler warnings 2018-02-22 07:40:01 -08:00
Peter D. Barnes, Jr.
bfdb6ef10a [Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace? 2014-09-26 15:51:00 -07:00
Peter D. Barnes, Jr.
cd3da7143d [doxygen] Revert r10410, r10411, r10412 2014-03-05 17:06:59 -08:00
Peter D. Barnes, Jr.
b6b1371fd1 [doxygen] Uan module 2013-12-04 13:29:04 -08:00
Peter D. Barnes, Jr.
5a2488e6db [doxygen] Suppress "warning: Member NS_LOG_COMPONENT_DEFINE is not documented" 2013-11-14 16:58:56 -08:00
Vedran Miletić
f781366d2e Fix compilation with Clang 3.2 and newer versions, including Apple Clang 5.0
Clang 3.2 requires all class members to be used in the code; this patch either removes class members that are not used or adds NS_UNUSED/NS_UNUSED_GLOBAL around them. Thanks to Andrey Mazo and Tommaso Pecorella for review.
2013-10-20 12:46:27 +02:00
Tom Henderson
1071fd3d46 move gnuplot support from src/tools to src/stats 2013-06-18 13:16:51 -07:00
Vedran Miletić
71e380b55e Bug 1237 - code cleanups related to includes 2012-09-01 20:57:21 +02:00
Mitch Watrous
6a15bfc2a6 Replace src/uan usage of RandomVariable with RandomVariableStream 2012-08-14 13:12:00 -07:00
Mitch Watrous
190f314ba5 Replace src/application usage of RandomVariable with RandomVariableStream 2012-08-13 16:08:13 -07:00
Gustavo J. A. M. Carneiro
5620c694e8 Add parenthesis in while (packet = socket->Recv ()) to make clang++ (LLVM) happy 2012-02-22 13:58:51 +00:00
Vedran Miletić
fe0667def8 standardize emacs c++ mode comments 2011-08-02 17:42:33 -04:00
Vedran Miletic
7271e9fa6f bug 1203: Inconsistently named ifndef/define macros in ns-3 headers 2011-07-07 04:31:52 -04:00
Tom Henderson
2a2690a003 rerun check-style.py at default level to enforce space after function name 2011-05-22 23:18:47 -07:00
Andrea Sacco
575a1f4b05 UAN module code style cleanup 2011-05-04 17:26:02 +02:00
Mitch Watrous
8a8d425071 Split contrib module into config-store and tools 2011-03-24 09:23:44 -07:00
Mitch Watrous
28384516a2 Create separate module and test-module libraries 2011-03-18 10:58:21 -07:00
Mitch Watrous
dc1f90b0c5 Fix dependencies in various wscripts 2011-03-08 14:57:45 -08: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