Commit Graph

171 Commits

Author SHA1 Message Date
André Apitzsch
30ab8f4900 visualizer: Fix import error if Gdk 4.0 is available 2024-11-20 21:12:13 +00:00
André Apitzsch
bd18fc28fb visualizer: Replace deprecated Gtk.TextView.modify_font 2024-11-20 21:12:13 +00:00
André Apitzsch
84d6c8880d visualizer: Replace deprecated pkg_resources 2024-11-20 21:12:13 +00:00
André Apitzsch
78264e09e5 visualizer: Fix 'SyntaxWarning: invalid escape sequence' 2024-11-20 21:12:13 +00:00
Eduardo Almeida
6ef966c4cf Replace Doxygen tags using \ with @ 2024-11-08 18:05:46 +00:00
André Apitzsch
55c2fe7253 build, core, doc, vis: Add license information to third-party files 2024-10-27 13:34:42 +00:00
Tommaso Pecorella
9b1a8030e9 visualizer: document python variable 2024-09-07 15:36:25 +02:00
André Apitzsch
8bc94a1cc3 Use SPDX license identifiers 2024-09-06 19:32:31 +00:00
André Apitzsch
9b6027b535 visualizer: Drop compatibility for Python < 3.7
Since Python 3.7 `threading` is always available.
2024-06-26 12:27:44 +00:00
Gabriel Ferreira
4a0091ba6c bindings: Remove injected namespaces 2024-05-19 10:08:50 +00:00
Eduardo Almeida
79186a8b8b Fix clang-tidy bugprone-branch-clone warnings 2024-05-11 02:56:07 +01:00
Gabriel Ferreira
02d2c11d9c visualizer: (fixes #1074) Remove tricks used in cppyy 2 2024-05-03 18:21:11 +00:00
Gabriel Ferreira
3ed75b7e9e test, utils, visualizer: document missing functions and variables in scripts
Silences warnings on Doxygen > 1.9.7.
2024-01-28 17:56:41 +00:00
André
85d03d2353 Fix Python Black formatting (detected by Black 24.1.0) 2024-01-26 12:10:44 +00:00
Gabriel Ferreira
7806ff2e85 build: update LIBRARIES_TO_LINK lists with minimal sets 2023-12-15 13:24:29 -03:00
Gabriel Ferreira
8f6a3413a4 style: apply black and isort 2023-11-20 21:30:01 -03:00
Gabriel Ferreira
af98671fbe style: apply style changes in preparation for black and isort 2023-11-20 21:30:01 -03:00
Gabriel Ferreira
e7f998b4aa visualizer: move comments and update spellchecking exemptions 2023-11-20 21:30:01 -03:00
Tommaso Pecorella
808e3b4ec7 core: add a Simulator::GetStopEvent 2023-11-10 09:50:44 +00:00
Gabriel Ferreira
0d8eaac1ba visualizer: (fixes #959) fix label positioning in PyViz 2023-11-05 00:15:38 -03:00
Gabriel Ferreira
842871c6dc bindings: (fixes #796) Gracefully exit when bindings are unavailable 2023-11-03 01:28:26 +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
b8d8c64e0e visualizer: Restore ipython support
Changes are based on [1].

Dropped compatibility code for ipython versions < 5.0.0.

[1] 68e4f4bbec/plugins/ipython_view.py
2023-08-07 17:07:42 +00:00
Gabriel Ferreira
c199a3d796 visualizer: fix pip packaging stubs and import statements 2023-07-03 12:55:44 -03: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
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
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
Tommaso Pecorella
06d0ff20d0 doc: (fixes #817) various fixes highlighted by doxygen 1.9.6 2023-01-26 15:32:58 +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
Gabriel Ferreira
aee234645a build: remove bindings dependency on the lock, add opt-in installation 2022-10-12 13:13:11 -03:00
Gabriel Ferreira
f957f3996e visualizer: dereference cppyy's smartptr to get the real netdevice 2022-10-11 19:52:28 -03:00
André Apitzsch
3a5fa97271 visualizer: Improve module import 2022-10-11 18:36:15 -03:00
André Apitzsch
e10586ee02 visualizer: Fix warning when using wayland
'window [..] is a temporary window without parent, application will not be able to position it on screen'
2022-10-11 18:36:15 -03:00
André Apitzsch
b44f4911fc visualizer: Remove unavailable GTK dialog flag 2022-10-11 18:36:15 -03:00
André Apitzsch
783dd68270 visualizer: Remove deprecated GTK stock images 2022-10-11 18:36:15 -03:00
André Apitzsch
45dc0ed604 visualizer: Remove Python 2 compatibility code 2022-10-11 18:36:15 -03:00
André Apitzsch
3480f0324d visualizer: Replace deprecated stock icon
https://lazka.github.io/pgi-docs/#Gtk-3.0/constants.html#Gtk.STOCK_MEDIA_PLAY
2022-10-11 18:31:40 -03:00
André Apitzsch
8a4ac80069 visualizer: Remove gnomedesktop dependency 2022-10-11 18:31:40 -03:00