Commit Graph

526 Commits

Author SHA1 Message Date
Gabriel Ferreira
b0e69fcbc8 bindings: use lru_cache to support older Python releases 2022-10-28 01:51:18 -03:00
Gabriel Ferreira
3ce922e41a bindings: handle development, candidate and release versions of ns-3 2022-10-28 01:50:49 -03: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
106f44af88 bindings: add more include directories of third-party libraries 2022-10-23 22:29:21 -03:00
Gabriel Ferreira
655b64205e bindings: extract linked libraries and add their include directories 2022-10-20 19:53:08 +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
a25e553fa2 build, bindings: check if cppyy is available at runtime and format cmake 2022-08-05 01:17:00 -03:00
Gabriel Ferreira
857363f05b bindings: fix lock file search 2022-08-04 02:08:05 -03:00
Gabriel Ferreira
36df81be90 bindings: replace pybindgen bindings support with cppyy bindings 2022-08-01 21:24:02 +00:00
Gabriel Ferreira
8ecec24191 bindings: fix formatting with uncrustify 2022-06-18 17:57:06 -03:00
Gabriel Ferreira
60e1e4032c fixing dead links 2022-06-18 17:57:05 -03:00
Tom Henderson
8378bc9c4b bindings: Add file to track required pybindgen version 2022-04-19 09:59:27 -07:00
Gabriel Ferreira
e32c177e45 build: remove waf files, tests and references 2022-02-21 22:08:45 -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
Stefano Avallone
942f57c762 bindings: Use C++17 to scan bindings, too 2021-11-21 20:39:10 +01:00
Tom Henderson
11e5476566 bindings: Remove stale file
This file predates the modular Python bindings code and is no longer used.
2021-09-09 17:44:26 -07:00
Tom Henderson
23cf8ce224 bindings: Update pybindgen version 2021-05-31 19:53:11 -07:00
Gabriel Arrobo
b2b1b08bf2 build: Enabled to run python scripts located in the contrib directory 2021-04-12 15:36:42 -07:00
Gabriel Arrobo
0ef0690969 build (fixes #360): Search relative path for bindings in src and contrib dir 2021-04-12 15:36:42 -07:00
Tom Henderson
b3051bc350 bindings: Update pybindgen version 2021-03-12 12:21:57 -08:00
Tom Henderson
f183790c0c bindings: Remove obsolete references to gccxmlparser 2021-03-10 09:41:53 -08:00
Tom Henderson
433fb603eb bindings: Update pybindgen version 2020-12-21 12:47:15 -08:00
Tom Henderson
de9771c6aa bindings: Update pybindgen version 2020-11-27 09:34:50 -08:00
Tom Henderson
81a173927c bindings: Update required pygccxml version 2020-10-08 13:32:06 -07:00
Tom Henderson
7a76d5fb8c bindings: Print out more helpful error message 2020-10-08 11:58:48 -07:00
Tom Henderson
f7871790c3 bindings: Update pybindgen version 2020-10-08 10:37:29 -07:00
Tom Henderson
87966d99d2 bindings: Update pybindgen version 2020-05-09 13:18:50 -07:00
Tom Henderson
d7791793bd bindings: Update pybindgen version 2020-02-09 14:49:39 -08:00
Tom Henderson
cac2d19263 bindings: Update pybindgen version 2019-09-29 18:00:26 -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
2b10629465 bindings: Update package version numbers for API scanning 2019-08-12 16:41:07 -07:00
Alexander Krotov
8a9409426d Partially update python bindings generation code for Python 3 2019-08-10 17:03:53 +03:00
Micolaj Chwalisz
c189ab5ce1 visualizer: Python 3 compatibility fixes 2019-04-24 13:35:47 -07:00
Tom Henderson
5396fc911e build: (fixes #15) Fix build erroneous order constraint warnings
Patch based on original suggestion from ita1024 on updated constraints
2019-04-21 11:52:53 -07:00
Tom Henderson
59ac9554e3 bindings: Update pybindgen version 2018-10-02 12:04:23 -07:00
Ankit Deepak
fe69e16ab1 bindings: (partial fix #2451) Generate ILP32 bindings from LP64 2018-07-21 16:13:14 -07:00
Alexander Krotov
8d1b7b1391 Spellcheck the rest of ns-3 2018-06-28 12:51:39 +03:00
Tom Henderson
c681150e81 build: (fixes #2908) Check if pybindgen version exists before use 2018-04-11 13:46:07 -07:00
Mathias Ettinger
eecd507025 build: (fixes #2863) pygccxml version check compatibility with Python3 2018-03-05 21:10:36 -08:00
Tom Henderson
05ab57f865 bindings: (partial fix #2451) Handle std::_Ios_Openmode typedef
std::_Ios_Openmode is a typedef of std::ios_base::openmode bitmask type.
This mapping needs to be provided to the type handler.  The previous
mapping was for std::ios::openmode (ios is a subclass of ios_base),
but the use of subclass here no longer works.  Thanks to Gustavo
Carneiro for a hint of where to address this issue in the bindings.
2018-01-05 09:19:45 -08:00
Tom Henderson
e0f6baf998 bindings: Updates corresponding to project use of CastXML 2017-09-18 13:46:16 -07:00
Ankit Deepak
0cfaf415f4 bindings: Replace gccxml usage with castxml 2017-07-06 11:49:29 -07:00
Tom Henderson
c694902493 bindings: (fixes #2742) Handle pybindgen release versions 2017-05-25 08:02:44 -07:00
Robert Ammon
e3f5259c9c bindings: (fixes #2563) Pybindgen version can be >= required vers. 2016-11-30 20:13:49 -08:00
Tom Henderson
d9ef56874d bindings: (fixes #2526) Update pybindgen version. 2016-10-19 16:17:33 -07:00
Tom Henderson
47bf798bdc bindings: Update pybindgen version 2016-09-25 14:23:07 -07:00
Tom Henderson
660bb7b592 bindings: (fixes #2395) Upgrade pybindgen for Python >=3.5 fix 2016-05-03 17:59:47 -07:00
Gustavo Carneiro
91ae3bb10b bindings: Improve custom support for callback forward declarations 2016-02-26 06:55:11 -08:00
Tom Henderson
78b873d46c bindings: Update pybindgen version 2016-02-08 12:29:52 -08:00
Tom Henderson
8aa4c425e1 pybindgen required version is now a string literal, not a tuple 2015-09-21 10:21:07 -07:00