Commit Graph

159 Commits

Author SHA1 Message Date
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00
Eduardo Almeida
201676fca7 Remove "using namespace std;" from codebase 2022-05-26 17:14:03 -07:00
Gabriel Ferreira
6473b7ec98 build: rollback linking to globally searched libraries 2022-05-13 18:50:55 -03:00
Gabriel Ferreira
6f5d788e44 stats: fixes for SQLite stats and its example
- Hold string references between binds in sqlite-data-output.cc
- Unref sqlite object to close the file and prevent leakage
- Build wifi-example-sim once for the wifi-example-db.sh script
- Add the missing return 0
2022-05-13 15:34:49 -03:00
Gabriel Ferreira
ea7ca9b690 build: include and link to globally searched libraries 2022-05-12 19:15:48 -03:00
Eduardo Almeida
9d9dfc71a5 stats: Replace POSIX semaphore with STL 2022-05-04 19:04:31 +01:00
Tom Henderson
a614114865 bindings: Rescan all APIs 2022-04-18 15:30:35 -07:00
Eduardo Almeida
a4d174f8bf core (fixes #565): Change TypeId constructor to accept std::string 2022-02-25 12:08:10 +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
Tommaso Pecorella
fb3b80f271 stats: doxygen fixes 2022-01-30 12:06:53 -06:00
Gabriel Ferreira
6564afda68 build: move sqlite checking back to macros_and_definitions 2022-01-28 14:08:53 -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
ff3b511384 build: Bugfixes and refactoring of ns3 and CMake
Including:
- add missing command for introspected doxygen
- run get_version.sh before running doxygen
- use find_package(Doxygen) to get the doxygen executable
- silence python and sqlite find_package warnings
- return cmake returncode if configuration fails
- require GTK3 3.22
- link all libraries to print-introspected-doxygen
- replace shell with use_shell for variable name
- revert wrong changes to propagation of return codes and add test
- disable pch when ccache is found
- make --enable-sudo a post-build step and a runtime option
- add docs subparser
- add enable-sudo option
- refactor positional argument values
- fix --check option and add shell option
- replace --no-task-lines with --quiet
- replace --nowaf with --no-build
- replace --run --run-no-build with run (--no-build)
- replace ns3 documentation related arguments with targets
- document test-ns3.py
- export include directories used by ns3 libraries
- refactor CMake documentation dependency checking and behavior
- add --allow-run-as-root for running MPI examples on the CI
2022-01-09 02:48:53 -03:00
Tommaso Pecorella
247a597f43 doxygen: fix warnings in various modules 2022-01-07 12:13:17 -06:00
Tom Henderson
447bf043d1 stats: Simplify dia figures 2021-12-28 08:29:37 -08:00
Peter Barnes
0e685cbdbb Use [[maybe_unused]] attribute directly, instead of NS_UNUSED 2021-12-21 10:32:43 +00:00
Tom Henderson
aad79536bf bindings: Rescan all APIs 2021-12-18 16:41:52 -08: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
Gabriel Arrobo
6b9b30f470 stats: Remove unused variables from stats module 2021-11-27 09:25:15 -08:00
Tom Henderson
4a661dc399 bindings: Rescan all APIs 2020-12-30 14:21:24 -08:00
Tom Henderson
6002d927bc bindings: Rescan all APIs 2020-12-21 21:18:58 -08:00
Peter D. Barnes, Jr
aeba34fa0a stats: Time logging changes 2020-12-13 10:51:11 -08:00
Tom Henderson
9bfa3bd724 bindings: Rescan all APIs 2020-10-03 14:21:45 -07:00
Pasquale Imputato
3766889b74 stats: (fixes #197) Avoid writing stats-config.h 2020-09-16 08:30:49 -07:00
Tom Henderson
8c6fb7d420 bindings: Rescan all APIs 2020-09-05 13:04:28 -07:00
Peter Barnes
8fa4956898 Move Histogram from flow-monitor to stats 2020-08-21 16:26:33 +00:00
Tom Henderson
700fb009c5 stats: (fixes #228) Disable bindings for SQLite options when not enabled
Further work on patch originally started by Tommaso Pecorella in the tracker
2020-06-21 08:09:58 -07:00
Tom Henderson
b7ca218cdf stats: Restore include guards; fix Doxygen groups 2020-06-21 08:08:34 -07:00
Steven Smith
dded72e02e build: (fixes #217) Guard compilation of example used as a test
* Added documentation to ExampleAsTestSuite on the need for this guarding
* Updated with Peter's patch for examples-as-test placeholders in wscripts
2020-06-08 09:35:50 -07:00
Tom Henderson
5eea3c0270 bindings: Rescan all APIs 2020-06-07 11:38:26 -07:00
Tom Henderson
e99ae43138 bindings: rescan all APIs 2020-05-11 22:07:00 -07: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
Tom Henderson
8f1bc91395 stats: fix forward declaration 2020-03-11 20:07:35 -07:00
Tommaso Pecorella
57aabffff0 stats: add missing template required by clang-11 2020-03-10 16:41:21 +00:00
Natale Patriciello
1453620d60 stats: SqliteDataOutput uses SqliteOutput as backend 2020-03-09 10:08:42 +01:00
Natale Patriciello
4b1e3516cc stats: Added sqlite output interface
The new class can used as a C++ interface towards the SQlite library.
It should support all the major version of the library.
2020-03-09 10:08:42 +01:00
Tom Henderson
80839b33e4 bindings: Rescan all APIs 2019-08-12 17:00:41 -07:00
Tom Henderson
0258405cc6 build: Upgrade scripts to Python 3 (many changes due to Ankit Deepak) 2019-08-12 16:55:34 -07:00
Tom Henderson
3a7f6a1c06 bindings: Rescan all APIs 2018-11-14 11:53:21 -08:00
Stefano Avallone
96b8d1d7a5 Rescan python bindings 2018-09-18 15:50:27 +02:00
Tom Henderson
9deaad5ae7 rescan bindings 2018-08-09 10:14:27 -07:00
Tom Henderson
0b9893a908 Rescan all Python bindings 2018-07-21 16:14:09 -07:00
Tom Henderson
6366804af7 Rescan all Python bindings 2018-07-15 12:36:05 -07:00
Alexander Krotov
00bb6fe7f6 Spellcheck 2018-06-27 10:50:27 +03:00
Tom Henderson
7d9b54aac9 rescan bindings 2018-05-28 22:00:09 -07:00
Tom Henderson
c2a9b2e56b bindings: Rescan all bindings 2018-03-14 20:38:59 -07:00
Tom Henderson
cd9040655f documentation: (partial fix #2887) TracedValueCallback signatures 2018-03-10 08:43:58 -08:00