Commit Graph

112 Commits

Author SHA1 Message Date
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
e32c177e45 build: remove waf files, tests and references 2022-02-21 22:08:45 -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
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
Gabriel Ferreira
33f2ee841b doc: update ns3 API 2022-01-19 16:25:03 -03:00
Tommaso Pecorella
ee6b3cb0af visualizer: fix doxygen warnings 2022-01-05 20:58:23 -06: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
3c604d5b2e Update docs with CMake and ns3 wrapper 2021-12-01 12:29:56 -08:00
Gabriel Ferreira
9c876c7f5a CMake buildsystem 2021-12-01 12:29:55 -08:00
Tom Henderson
4e9afa965d bindings: Rescan all APIs 2021-09-27 11:18:37 -07:00
Tom Henderson
667715cac4 bindings: Rescan all APIs 2021-06-24 16:35:40 -07: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
Ouassim Karrakchou
8dfe7a2c1c visualizer: (fix #201) Add missing dependencies 2020-05-16 11:14:40 +02:00
Tom Henderson
e99ae43138 bindings: rescan all APIs 2020-05-11 22:07:00 -07:00
Tom Henderson
81db931bdc bindings: rescan all APIs 2020-02-17 13:11:04 -08:00
Tom Henderson
54593cee1b rescan all APIs 2020-02-11 18:14:45 -08:00
Tom Henderson
468f217d26 bindings: Rescan all APIs 2020-01-12 11:17:22 -08:00
Parth Pratim (GCI 2018)
60cfa6d3c8 visualizer: (fixes #72) Modify and use old configuration of CanvasEllipse 2019-10-18 18:13:38 -07:00
Tom Henderson
80839b33e4 bindings: Rescan all APIs 2019-08-12 17:00:41 -07:00
Tom Henderson
109f1f909a visualizer: (fixes #70) Update configuration of GooCanvas.CanvasEllipse 2019-07-17 10:09:58 -07:00
Tom Henderson
8c39f4d43a visualizer: Additional print function portability 2019-04-24 13:35:47 -07:00
Tinghui Wang
fe51d8c7c7 visualizer: Fix AttributeError X11Display object has no get_primary_monitor
In operating systems with older version of X server, such as
Ubuntu 16.04 or Xming 6.9 for windows, `get_primary_monitor` does
not exist in the `X11Display` object acquired by
`Gdk.Display.get_default()`. To solve the problem, alternative
method is provided to acquire the scale factor and the geometry
of the primary monitor.
2019-04-24 13:35:47 -07:00
Tinghui Wang
fab81fc3af visualizer: Fix circular imports in Python2 2019-04-24 13:35:47 -07:00
Micolaj Chwalisz
c189ab5ce1 visualizer: Python 3 compatibility fixes 2019-04-24 13:35:47 -07:00
Tom Henderson
3a7f6a1c06 bindings: Rescan all APIs 2018-11-14 11:53:21 -08: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
Stefano Avallone
96b8d1d7a5 Rescan python bindings 2018-09-18 15:50:27 +02:00
Tom Henderson
6011b1d962 visualizer: workaround for get_bounds() TypeError 2018-08-15 12:27:15 -07:00
Gustavo Carneiro
6ae76066e7 pyviz: more fixes to make it work with PyGObject3 2018-08-15 12:27:09 -07:00
Gustavo Carneiro
326a892be0 pyviz detection features 2018-08-15 12:27:05 -07:00
Gustavo Carneiro
dbfed2516a Improve instructions for enabling visualizer on examples 2018-08-15 12:26:27 -07:00
Gustavo Carneiro
a949de4fa6 more pyviz porting fixes 2018-08-15 12:26:01 -07:00
Gustavo Carneiro
909b02fed1 WIP: Porting PyViz to Gobject Introspection and Gtk 3 2018-08-15 12:25:34 -07: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
8d1b7b1391 Spellcheck the rest of ns-3 2018-06-28 12:51:39 +03:00
Matthew Bradbury
76868196cd visualizer: (fixes #1210) Pyviz visualizer bounds are hardcoded 2018-06-07 11:18:22 -07: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
ab8735f403 bindings: Update all 32-bit bindings 2017-09-27 21:42:46 -07:00
Tom Henderson
7f00a95f65 bindings: Rescan all 64-bit bindings 2017-09-27 18:51:23 -07:00
Tom Henderson
625e117ce0 visualizer: Fix indentation problems from changeset 12843 2017-05-10 07:06:03 -07:00
Robert Ammon
850e4cc02e visualizer: Correct doxygen warnings 2017-04-26 06:51:40 -07:00
Stefano Avallone
8a3e1b1d34 visualizer: Rescan python bindings 2017-03-09 11:26:15 +01:00
Tom Henderson
df4dd9df4d bindings: Rescan all bindings 2016-09-27 22:18:47 -07:00