Eduardo Almeida
79186a8b8b
Fix clang-tidy bugprone-branch-clone warnings
2024-05-11 02:56:07 +01:00
Tommaso Pecorella
808e3b4ec7
core: add a Simulator::GetStopEvent
2023-11-10 09:50:44 +00:00
Eduardo Almeida
48eac52ccc
visualizer: ( fixes #969 ) Remove non-implemented method VisualSimulatorImpl::GetSim()
2023-10-27 20:55:32 +00:00
Eduardo Almeida
1f438ce6f4
Fix clang-tidy modernize-use-auto warnings
2023-09-18 00:36:46 +01:00
Eduardo Almeida
1ae0d7ea22
Fix clang-tidy warnings (detected by clang-tidy-18)
2023-09-17 22:10:09 +00:00
André Apitzsch
36f8d798d3
visualizer: Remove useless PySys_SetArgv() call
...
No arguments are passed, so this call is not needed.
This also fixes a Python 3.11 deprecation warning.
2023-06-15 20:29:12 +00:00
Eduardo Almeida
a93c357141
Fix clang-tidy readability-simplify-boolean-expr warnings
2023-05-07 19:06:35 +01:00
Eduardo Almeida
c5371d938c
Fix clang-tidy readability-make-member-function-const warnings
2023-02-21 16:09:35 +00:00
Eduardo Almeida
971e5c15fa
Fix clang-tidy readability-container-size-empty warnings
2023-02-02 17:41:31 +00:00
Eduardo Almeida
9a0d17186b
Fix clang-tidy readability-static-accessed-through-instance warnings
2023-01-29 18:11:10 +00:00
Eduardo Almeida
7169b068d9
visualizer: Fix clang-tidy modernize-use-override warnings
2022-12-03 02:05:34 +00:00
Eduardo Almeida
1884baab7d
Fix clang-tidy modernize-use-nullptr errors
2022-10-28 21:47:54 +01:00
Eduardo Almeida
7c182618ed
Fix clang-tidy readability-redundant-string-cstr warnings
2022-10-28 16:05:20 +00:00
Eduardo Almeida
85ade4e18d
Fix Doxygen comment formatting and typos
2022-10-16 14:49:21 +01:00
Eduardo Almeida
33ff238ccb
doc, visualizer: Remove obsolete defines
2022-10-15 20:16:21 +00:00
Tommaso Pecorella
e1d1d1bc00
visualizer: fix missing semicolon
2022-10-15 01:43:40 +02: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
André Apitzsch
45dc0ed604
visualizer: Remove Python 2 compatibility code
2022-10-11 18:36:15 -03:00
Eduardo Almeida
e25ff966fe
Apply clang-format to codebase
2022-10-07 20:08:35 +00:00
Gabriel Ferreira
60e1e4032c
fixing dead links
2022-06-18 17:57:05 -03:00
Tom Henderson
b6a5ee8151
Run utils/trim-trailing-whitespace.py on codebase
2022-06-05 21:01:11 -07:00
Gabriel Ferreira
4aedba2f00
build: CMake refactoring and fixes
...
Includes:
- fix int64x64 parsing order, remove cached entries in macros-and-definitions and in the docs
- update launch.json scratch names
- add a ctest entry per executable
- forward POSIX signal in ns3 (to get segmentation fault)
- prioritize Ninja generator instead of Makefiles
- add tests for unused utils source files
- remove dummy file and add tests to check for unused source files
- add missing examples and clean up unnecessary definitions
- missing feature entry for LTE used by pybindgen
- refactor CMake related filenames
- fix python libraries and include directories bindings
- fix brite example name
- Keep C++ compiler and flags when refreshing
- Disable precompiled headers when Ccache is found
- Mark find_external_library headers as advanced
- consolidate auxiliary files: build-status.py, _cache.py and .lock-waf_sys.platform_build files are merged into .lock-ns3_sys.platform_build
- scan .cc sources used in bindings and update docs
2022-02-21 22:18:42 -03:00
Gabriel Ferreira
9342082c53
bindings, build: fix bindings and visualizer build
...
Includes:
- scan python scripts
- run python scripts from ns3
- replace visualizer file copy with configure_file to prevent cmake refreshes
- replace ns__init__.py file copy with configure_file to prevent cmake refreshes
- fix bindings scanning with cmake
- pass include directories to modulegen for castxml consumption
- add missing parameters of Recv in python-unit-tests.py
- change apiscan targets from apiscan-module to libmodule-apiscan
- change bindings targets from module-bingings to libmodule-bindings
- scanning and bindings build tests
- scan scratch python scripts
- replace FindPython3 with FindPython to be compatible with CMake 3.10
- do not export private visual-simulator-impl.h
- do not export udp-socket-impl.h
- use .so suffix for bindings on Mac instead of .dylib
2022-01-26 01:53:28 -03:00
Tommaso Pecorella
ee6b3cb0af
visualizer: fix doxygen warnings
2022-01-05 20:58:23 -06:00
Peter D. Barnes, Jr
ffd792bb7d
visualizer: Remove uses of GetSeconds
2020-12-09 20:47:40 -08:00
Tommaso Pecorella
9299029350
visualizer: Ensure that PacketMetadata are enabled.
2020-06-10 10:49:19 +00:00
Tommaso Pecorella
27484f8280
visualizer: Use ConnectFailSafe
...
Devices are not guaranteed to be in the simulation. Connect might fail.
2020-06-10 10:25:43 +00:00
Micolaj Chwalisz
c189ab5ce1
visualizer: Python 3 compatibility fixes
2019-04-24 13:35:47 -07:00
Alexander Krotov
c8a500f5a8
Remove duplicate semicolons
2018-11-07 16:54:53 +03:00
Peter D. Barnes, Jr.
05cb0757bc
core: Simulator::GetEventCount()
2018-10-19 00:59:43 -04:00
Robert Ammon
850e4cc02e
visualizer: Correct doxygen warnings
2017-04-26 06:51:40 -07:00
Peter D. Barnes, Jr.
a50af0a233
[core] Document the meaning of Simulator context.
...
Use a symbol Simulator::NO_CONTEXT instead of hardcoded value.
2016-07-01 16:07:30 -07:00
Peter D. Barnes, Jr.
4d180f672c
Clarify that Time arguments to Schedule are all delays wrt Now.
2015-07-21 12:20:12 -07:00
Tommaso Pecorella
adb81dc26d
SetGroupName for visualizer module
2015-03-29 16:46:05 +02:00
Peter D. Barnes, Jr.
c1b266efad
Standardize EventId arguments as id.
...
This facilitates reuse of doxygen docs.
2014-11-17 15:49:59 -08:00
Peter D. Barnes, Jr.
ee641c723b
[Doxygen] Remove inappropriate uses of @internal
2014-11-03 12:33:13 -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.
d75ff3559e
doxygen] Suppress "warning: Member NS_OBJECT_ENSURE_REGISTERED is not documented"
2013-11-14 16:58:28 -08:00
Peter D. Barnes, Jr.
bc13311955
doxygenate simulator group
2013-06-11 16:45:49 -07:00
Vedran Miletić
71e380b55e
Bug 1237 - code cleanups related to includes
2012-09-01 20:57:21 +02:00
Gustavo J. A. M. Carneiro
cfa7c17fa4
Bug 1410 - Assert in DefaultSimulatorImpl breaks Visualizer module
2012-06-06 18:41:58 +01:00
Gustavo J. A. M. Carneiro
17c1bad598
Python threading fixes
2012-04-24 17:29:28 +01:00
Gustavo J. A. M. Carneiro
44d30f6ea9
Make pyviz build again
2012-03-26 17:30:12 +01:00
Gustavo J. A. M. Carneiro
ce9b1a836d
Bug 1179 - Add LTE trace hooks for supporting visualizer
2012-02-20 18:16:12 +00:00
Mitch Watrous
5931a6e4f6
Make ns3tcp, ns3wifi, and visualizer modules not be built if not appropriate
2011-06-01 17:01:55 -07: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
Tom Henderson
34688f76ec
rerun check-style.py with uncrustify-0.58
2011-05-22 22:28:15 -07:00
Mitch Watrous
25405009bf
Make some more modules show up on doxygen modules page
2011-05-18 17:24:04 -07:00