Commit Graph

31 Commits

Author SHA1 Message Date
Gabriel Ferreira
7711e5290e bindings: Remove CreateObject/GetObject tricks 2024-05-19 10:08:50 +00:00
Gabriel Ferreira
4a0091ba6c bindings: Remove injected namespaces 2024-05-19 10:08:50 +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
Gabriel Ferreira
8f6a3413a4 style: apply black and isort 2023-11-20 21:30:01 -03:00
Gabriel Ferreira
842871c6dc bindings: (fixes #796) Gracefully exit when bindings are unavailable 2023-11-03 01:28:26 +00:00
Gabriel Ferreira
32e7a62a97 bindings: explicitly instantiate AddValue<double> for Cppyy 3 compatibility 2023-05-29 22:36:32 -03:00
Gabriel Ferreira
5cd9069cd2 bindings: add Python-based UdpEchoServer application to python-unit-tests.py 2022-11-27 16:09:31 +00:00
Tommaso Pecorella
a9223622da network: make addresses ConvertTo public and simplify python scripts 2022-11-25 01:36:26 +00:00
Gabriel Ferreira
12373157a4 bindings, docs: pass strings via char* to CommandLine.AddValue
And supplement memory-management issues section
2022-10-25 23:17:55 -03:00
Gabriel Ferreira
4e1d606af5 bindings: fix segmentation violation in python scripts
And move sample-rng-plot.py code to a main function
2022-08-02 00:27:47 -03:00
Gabriel Ferreira
36df81be90 bindings: replace pybindgen bindings support with cppyy bindings 2022-08-01 21:24:02 +00:00
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07: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
Tom Henderson
e74c32d529 Update Python unit tests (update API, add copyright) 2021-01-19 18:15:44 -08:00
Alexander Krotov
00bb6fe7f6 Spellcheck 2018-06-27 10:50:27 +03:00
Robert Ammon
f25f9dc730 utils: Doxygen updates for utils directory 2017-02-24 09:23:49 -08:00
alina & Gustavo Carneiro
a320abac57 Bug 1350 - Simulator.ScheduleWithContext Python binding missing 2012-02-14 17:45:50 +00:00
Gustavo J. A. M. Carneiro
cd2952dcea Fix the python unit tests: now we need to import the applications module 2012-02-14 16:03:50 +00:00
Gustavo J. A. M. Carneiro
913d2d9767 Update python unit tests to new API 2011-07-20 16:02:19 +01:00
Gustavo J. A. M. Carneiro
ce0dabd900 Fix Python bindings ns3.Object subclassing bug 2010-05-06 14:21:20 +01:00
Tom Henderson
f2804fd500 src/ and utils/ changes for IPv4 routing rework 2009-05-28 21:37:25 -07:00
Mathieu Lacage
5cdcf130a5 rename attribute from Position to PositionAllocator to avoid conflict with Position attribute defined in ns3::MobilityModel 2009-04-16 10:55:42 +02:00
Gustavo J. A. M. Carneiro
d474f1933a Bug 289: CommandLine::AddValue is not wrapped 2008-11-26 12:11:11 +00:00
Mathieu Lacage
8ae791d954 remove broken test 2008-10-20 12:37:43 +02:00
Gustavo J. A. M. Carneiro
fe8cbc9a0f A more pythonic wrapper for ns3.TypeId.LookupByNameFailSafe 2008-10-15 15:55:09 +01:00
Gustavo J. A. M. Carneiro
8a664200e5 New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators. 2008-10-06 17:39:35 +01:00
Gustavo J. A. M. Carneiro
abd6647112 New PyBindGen, fixes python wrapper identity issue. 2008-08-23 22:35:10 +01:00
Gustavo J. A. M. Carneiro
27df0a5c92 Python: use hash() as temporary workaround to check if two objects with different wrappers are underneath the same. 2008-08-01 23:11:42 +01:00
Gustavo J. A. M. Carneiro
f7fc598240 A couple of attribute python unit tests 2008-07-17 17:57:18 +01:00
Gustavo J. A. M. Carneiro
ee19e57741 Rescan API; fix and enable the socket unit test, as it now works. 2008-07-09 18:50:28 +01:00
Gustavo J. A. M. Carneiro
5f994081d5 python bindings 2008-07-08 10:43:58 -07:00