Commit Graph

122 Commits

Author SHA1 Message Date
Peter D. Barnes, Jr
e461e54d5a Update Ptr validity checks to new Ptr<>::operator bool 2022-08-18 08:59:30 -07:00
Gabriel Ferreira
c5d0c8efb4 bindings: remove pybindgen bindings sources 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
6473b7ec98 build: rollback linking to globally searched libraries 2022-05-13 18:50:55 -03:00
Gabriel Ferreira
ea7ca9b690 build: include and link to globally searched libraries 2022-05-12 19:15:48 -03:00
Tom Henderson
a614114865 bindings: Rescan all APIs 2022-04-18 15:30:35 -07: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
ff3b511384 build: Bugfixes and refactoring of ns3 and CMake
Including:
- add missing command for introspected doxygen
- run get_version.sh before running doxygen
- use find_package(Doxygen) to get the doxygen executable
- silence python and sqlite find_package warnings
- return cmake returncode if configuration fails
- require GTK3 3.22
- link all libraries to print-introspected-doxygen
- replace shell with use_shell for variable name
- revert wrong changes to propagation of return codes and add test
- disable pch when ccache is found
- make --enable-sudo a post-build step and a runtime option
- add docs subparser
- add enable-sudo option
- refactor positional argument values
- fix --check option and add shell option
- replace --no-task-lines with --quiet
- replace --nowaf with --no-build
- replace --run --run-no-build with run (--no-build)
- replace ns3 documentation related arguments with targets
- document test-ns3.py
- export include directories used by ns3 libraries
- refactor CMake documentation dependency checking and behavior
- add --allow-run-as-root for running MPI examples on the CI
2022-01-09 02:48:53 -03: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
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
Tommaso Pecorella
4aef3a52c1 config-store: (fixes #443) do not save obsolete attributes 2021-08-27 12:54:58 +00:00
Tom Henderson
667715cac4 bindings: Rescan all APIs 2021-06-24 16:35:40 -07:00
Tommaso Pecorella
03d7ffe186 config-store: fix doxygen update mishap 2021-05-29 18:25:29 +00:00
Tommaso Pecorella
19e698d01d config-store: doxygen updates 2021-05-29 18:08:44 +00:00
Tommaso Pecorella
3f8a2afdc8 build: partially rev. a455a427 (-Wno-parentheses)
This fixes #339. "-Wno-parentheses" is still needed by GTK+3.22
2021-01-20 20:26:37 +00:00
Tommaso Pecorella
a455a42713 build: remove warning suppression 2021-01-15 03:41:23 +00:00
Tommaso Pecorella
2e8fdf5edb config-store: amend 21b5a3b7 - fix lib detection 2020-12-29 22:08:58 +00:00
Tommaso Pecorella
21b5a3b73f config-store: check for gtk+-3.0 > 3.2 2020-12-27 13:29:31 +00:00
Tommaso Pecorella
fda2c4f87d config-store: GtkConfig bug fixes 2020-12-25 00:19:20 +00:00
Tommaso Pecorella
b6478609ff config-store: Fix GTK deprecations 2020-12-24 21:24:18 +00:00
Tom Henderson
6002d927bc bindings: Rescan all APIs 2020-12-21 21:18:58 -08:00
Tom Henderson
9bfa3bd724 bindings: Rescan all APIs 2020-10-03 14:21:45 -07:00
Jared Dulmage
7514b453f0 config-store: (merges !93) Address review comments for RawTextConfig MR
- Added documentation to raw-text-config.h
- Fixed abort conditions in raw-text-config.cc, RawTextConfigLoad::Strip
- Fixed formatting of ParseLine block in load functions
- Added value.clear() after setting attribute
- Added --load option to config-store-save example, removed config-store-load
- Updated comments, doxygen docs, and example help text.
2020-09-20 15:53:05 -07:00
Jared Dulmage
411c776f03 Copyright and contact to Caliola Engineering, LLC 2020-09-20 15:47:25 -07:00
Jared Dulmage
a8c8965d4d Changes according to MR 93 feedback
-- Added GPL license to config-store-load.cc example
-- Enclosed all if-condition code in braces
-- Changed ASSERT checks on inputs in raw-text-config.cc to ABORT checks
2020-09-20 15:47:25 -07:00
Jared Dulmage
416457f0a5 Added usage string and filename command-line argument 2020-09-20 15:47:25 -07:00
Jared Dulmage
8c3e44642c Amended comments to main to reflect intent of this example 2020-09-20 15:47:25 -07:00
Jared Dulmage
9040da4a9c Address comments in NS-3 merge request 93
There were a number of constructive comments on the original
merge request.

1.  Prior checks in RawTextConfigLoad::Strip ensured the value string
was entirely enclosed in quotation marks.  The original MR removed
those checks.  This revision reintroduces those checks.  Assert
messages have been improved with more information.
2.  RawTextConfigLoad::ParseString was not checking for an empty
line before accessing the first element.
3.  RawTextConfigLoad::ParseString was improved to better handle
whitespace prior to the final value field.

A new config-store-load example was created to allow one to check
a hand-edited config-store raw text file to test the new features.
2020-09-20 15:47:25 -07:00
Jared Dulmage
a65112aa5d Add features for human-editable RawTextConfig files
Features include: ignore # (hash) prefixed comment lines,
ignore blank lines, allow multi-line values.  The latter
feature is particularly useful for entering large arrays
of values that may be set to a container structure.
2020-09-20 15:47:25 -07:00
Tom Henderson
8c6fb7d420 bindings: Rescan all APIs 2020-09-05 13:04:28 -07:00
Tom Henderson
5eea3c0270 bindings: Rescan all APIs 2020-06-07 11:38:26 -07:00
Tom Henderson
e99ae43138 bindings: rescan all APIs 2020-05-11 22:07:00 -07:00
Peter D. Barnes, Jr
b23be18b3b Use CommandLine cmd (__FILE__) instead of COMMANDLINE macro.
This in effect replaces commit 5e624d550
2020-05-01 14:42:53 -07:00
Peter D. Barnes, Jr
5e624d5504 doc: Use the new COMMANDLINE macro in every example 2020-04-27 16:20:09 -07:00
Tom Henderson
80839b33e4 bindings: Rescan all APIs 2019-08-12 17:00:41 -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
f2fa869597 build: (fixes #17) Fix string type consistency issue 2019-01-13 21:01:43 -08:00
Tom Henderson
99fa3f9578 build: (fixes #2637) macOS SDK headers in non-standard place 2018-11-13 11:12:00 -08:00
Stefano Avallone
96b8d1d7a5 Rescan python bindings 2018-09-18 15:50:27 +02:00
Tom Henderson
1483459c44 config-store: (workaround for #2978) disable deprecation warning 2018-08-29 18:54:57 -07:00
Tom Henderson
3c93b566dd config-store: Update API definitions 2018-08-16 14:09:40 -07:00
Tom Henderson
c20d72be39 Align wscript with commit 13738:e47d8f1fc8db 2018-08-15 17:06:31 -07:00
Gustavo Carneiro
326a892be0 pyviz detection features 2018-08-15 12:27:05 -07:00
Gustavo Carneiro
909b02fed1 WIP: Porting PyViz to Gobject Introspection and Gtk 3 2018-08-15 12:25:34 -07:00
Tom Henderson
ad79870ba6 build: (fixes #2936) Disable -Wparentheses with GTK+ and gcc-8 2018-08-06 21:55:21 -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