Davide Pesavento
fd1e940648
Switch to Face::getIoContext() and simplify some code
...
Change-Id: Iba49171f6e59ead02283e8f975219ab97fcbeb00
2023-11-13 15:40:41 -05:00
Davide Pesavento
5849ee7582
build: require boost >= 1.71.0
...
Refs: #5276
Change-Id: I6eaae86beb89e00adf3891deb87816a1f176fdd6
2023-11-12 20:00:21 -05:00
Davide Pesavento
cd77aabaa9
build: update waf to version 2.0.26
...
Change-Id: I786be093be266ccd1720cc5c7752b00323ee09b6
2023-08-21 02:42:11 +00:00
Davide Pesavento
eed3209c8d
build: sync default build flags with ndn-cxx
...
Refactor default-compiler-flags.py to reduce duplication
Change-Id: I71b9255caed4d9262d73155c392a202ec7674e71
2023-08-21 02:42:00 +00:00
Davide Pesavento
5110a8a4ee
build: align minimum build requirements with ndn-cxx
...
Change-Id: Ia28aabc9e496f7467fa58525cde97d44ad159003
2023-08-21 02:41:43 +00:00
Davide Pesavento
907675bd06
tests: fix sync prefix test if SVS support is disabled
...
Amends a2599dafa9
Change-Id: I21b4379ad83f2241ad6749759ac3a95d98929a17
2023-08-02 20:11:12 -04:00
Davide Pesavento
658fd85bc7
Avoid using deprecated ndn-cxx type aliases
...
Change-Id: I55fd500377698adc8035113bdff2d64091a36e07
2023-05-10 22:15:03 -04:00
Davide Pesavento
070ee3b52d
Add missing include
...
Change-Id: Ia350ad412e931c96b963595019f361a6f0181c4e
2023-03-16 22:36:36 -04:00
Davide Pesavento
e0ad5808e3
tests: fix two dangling-reference warnings with gcc 13
...
Change-Id: Iccb9045eaa468f4af7782dc466bd8a28a53ffa73
2023-02-20 21:10:03 -05:00
Davide Pesavento
fa54ee99b4
ci: adopt reusable workflows from named-data/actions
...
Switch source archive (tarball) to xz compression
Change-Id: I3e1963bc1f101b7815f1919b4a16da973261f158
2023-02-20 04:22:42 -05:00
Davide Pesavento
1e9faf1d1b
build: bump ndn-cxx, ChronoSync, PSync dependencies
...
Also fix a few outdated URLs in docs
Change-Id: I4269ca53f55433568e8fd93eec497697c01b3c6d
2023-01-21 16:04:50 -05:00
Davide Pesavento
1b640fd092
docs: improve formatting and document structure
...
Change-Id: I530d58f2700eb264855843021db32f568d373a1d
2023-01-05 04:02:02 -05:00
Davide Pesavento
fcef058206
build: update waf to version 2.0.24
...
Change-Id: I2b367680138454e51c7aa82d3b93de70d4573d12
2022-12-06 15:08:05 -05:00
Davide Pesavento
65ee992149
lsdb: use ndn-cxx's Segmenter
...
This commit also makes lld the preferred linker on Linux
Change-Id: I178ca7d28ad21d8a1e3f3daf99f80206e8b1c54e
2022-11-20 22:08:09 -05:00
Davide Pesavento
69904fcb73
tests: fix compatibility with signed Interests in v0.3 format
...
Change-Id: I52bd2bfb5d9551614e2cf012b19b966d84306368
2022-10-14 09:45:34 -04:00
Davide Pesavento
1954a0c5ce
communication: adapt to API changes in PSync
...
Pass the KeyChain instance to psync::FullProducer
Change-Id: Ia97356dc364c7bdaf6dc80ad57fa351eeabe997d
2022-09-30 16:40:24 -04:00
Davide Pesavento
d1cb063482
docs: simplify conf.py and fix compatibility with upcoming Sphinx 6.0
...
Change-Id: Ib68b2cf40c9b3e74251bb87aa76ca18b7e371f3c
2022-09-25 14:11:23 -04:00
Davide Pesavento
ede5963845
build+ci: support CentOS Stream 9 and macOS/arm64
...
This commit also syncs the CI config and scripts with ndn-cxx
Change-Id: Ie46b1d4b299bc95b03aa05d48efe366e1c72d54d
2022-08-26 20:35:44 -04:00
Davide Pesavento
c1d0e8e34d
build: migrate to C++17
...
Change-Id: Ic9f09efd20b608bfcb713fd319834b2666cf6242
2022-06-29 15:04:57 -04:00
Davide Pesavento
8de8a8b37a
tests: sync common testing infrastructure with ndn-cxx
...
Change-Id: I1e5cdcda8f6d3d9f9addc7a9f17359aedef9db7e
2022-05-12 01:26:43 -04:00
Davide Pesavento
583473a76f
ci: require gcovr 5.1 for code coverage reports
...
Stop passing `-j`, it wasn't very useful and it's broken in gcovr 5.1
Change-Id: I265b23eb21a5c229b8ce7b4099b342cecd4925a3
2022-04-20 13:23:06 -04:00
Davide Pesavento
e28d8756ce
Avoid deprecated ndn-cxx functions
...
Change-Id: I763368c2ea12902b4ea400f92c23b17ad5a5628e
2022-03-19 03:55:25 -04:00
Davide Pesavento
d1f1df802c
build: align minimum build dependencies with ndn-cxx
...
* boost 1.65.1
* gcc 7.4
* clang 6.0
* Xcode 10.0 (11.3 or later recommended)
Also improve some test cases
Change-Id: Ib81d082a19e61940fa6f1d89204ea8de8ed57940
2022-03-12 16:40:37 -05:00
Davide Pesavento
ea94f83039
build: update waf to version 2.0.23
...
Change-Id: I0d8a12968548fcf183cd2183a53b27690e13237c
2022-01-02 18:46:23 -05:00
Davide Pesavento
cf14807f7d
ci: add code coverage reporting via gcovr
...
Change-Id: Idc442d4e960360f0c82bcfda0bc8c97004b5d0aa
2021-11-06 19:38:01 -04:00
Davide Pesavento
7bc3d438e7
Improve error handling and reporting
...
Change-Id: I41a58409c1d488ab2038ae534851e1ab59c6d952
2021-10-26 23:11:04 -04:00
Davide Pesavento
ba8a4ed2d2
ci: replace Travis with GitHub Actions
...
Change-Id: I6316bc7872fe25644dceafb1e2e2119c9c6e5ac3
2021-10-13 21:58:29 -04:00
Davide Pesavento
7ae8b08fc2
build+docs: align minimum requirements with ndn-cxx/NFD
...
* Recommend boost >= 1.65.1 and gcc >= 7.4.0
* Require clang >= 4.0, or Xcode >= 9.0 on macOS
* Silence an ABI-related diagnostic message from gcc on armv7
* Update waf to version 2.0.21
* Make graphviz optional for building documentation
* Sync sphinx configuration
Change-Id: Ib271da841cd12e7595ae83d75bd0fc681f8c231f
2021-10-13 21:57:36 -04:00
Davide Pesavento
22520e68f5
Fix build with BOOST_FILESYSTEM_NO_DEPRECATED
...
Change-Id: Ibdd3e7c4de0e8a0a4d6ae08c26386ea780f97f57
2021-06-08 22:16:52 -04:00
Davide Pesavento
6184c2088b
Use InterestSigner instead of deprecated CommandInterestSigner
...
Change-Id: Idb2f1ee7fe99981c229b4a587ebcf671b876e624
2021-05-17 02:28:03 -04:00
Davide Pesavento
6002e6ab4b
tests: explicitly set CanBePrefix in one more place
...
Refs: #4582
Change-Id: I000d09a0a936db873d50129b66cadfd21a621200
2021-03-17 15:37:32 -04:00
Davide Pesavento
d90338d230
Replace remaining uses of BOOST_THROW_EXCEPTION with NDN_THROW
...
Change-Id: I0c149acbe5607d928cdf9e8d73813d5e74ca45d0
2021-01-08 11:50:43 -05:00
Davide Pesavento
e4edb3952c
Add missing include
...
Fixes compilation with gcc 10
Change-Id: I54f0808c7519b8bf1a668f05c4d09d4ca3d3b11f
2020-12-06 14:05:45 -05:00
Davide Pesavento
d8d6bbcbe6
tests: fix range-loop-construct warning with clang 10 and later
...
Change-Id: I69a40705201f07147dccb21b3aea2db4f384b24e
2020-11-24 21:38:44 -05:00
Davide Pesavento
4a90b9ae52
ci: disable frames in lcov HTML coverage report
...
Change-Id: I82d521b75b9e05aa56f12c19a0b159e2ef966a6d
2020-08-09 02:21:46 -04:00
Davide Pesavento
a122abf5f6
ci: update Travis configuration
...
* Add testing on arm64, ppc64le, and s390x with select compiler versions
* Drop clang 3.9
* Reenable ASan on Linux with clang 7, the upstream bug has been fixed
* Add clang 11 (development branch)
* Drop Xcode 9.2 (macOS 10.12 is no longer supported)
* Replace Xcode 11 with 11.3 and 11.4
* Various cleanups
Change-Id: I7c27cb7765961eb5b057406b0a69d6e40b0e4ca8
2020-05-01 02:51:34 -04:00
Davide Pesavento
4b9d30f8e2
src: fix -Wrange-loop-construct warning with clang 10
...
Change-Id: Ife00440ffa456c6ad2119fc656a34681327e0ab3
2020-05-01 02:48:34 -04:00
Davide Pesavento
f6be8e37f6
build+ci: switch to python3
...
Also in this commit:
* Sync CI scripts with other projects
* Modernize docs/conf.py
* Replace redmine_issue extension with sphinx.ext.extlinks
* Minor updates to docs/doxygen.conf.in
* Cleanup README.md and INSTALL.rst
Refs: #5095
Change-Id: I614e876e6aed73659f4f4cea01813f4604599263
2020-04-30 19:45:26 -04:00
Davide Pesavento
fd021d5e3d
build: upgrade waf to version 2.0.19
...
Change-Id: I34f4e78b109012f44aab597e2990a95dde9162ca
2020-02-24 00:42:41 -05:00
Davide Pesavento
cb065f1773
tests: sync common test infrastructure with ndn-cxx
...
Change-Id: I6f2ee4b5b644d6fddcebbe1158b1dd9ad2159417
2019-12-27 01:03:34 -05:00
Davide Pesavento
f75bfdaa34
build: pass pkg_config_path to check_cfg()
...
Instead of modifying os.environ
Refs: #5042
Change-Id: Ibc17cf8f310ccd058ebacc3151fa6b4e3d355319
2019-11-10 18:34:13 -05:00
Davide Pesavento
d21d83d892
ci: upgrade Travis config to Ubuntu 18.04
...
Also in this commit:
* Drop clang 3.8 (no easy way to install it on 18.04)
* Add clang 10 (trunk)
* Drop Xcode 8.3
* Upgrade Xcode 10.2 to 10.3
* Add Xcode 11
Change-Id: I5b18eee860dd5e92ec51ae832998b57aa7681854
2019-10-01 01:00:02 -04:00
Davide Pesavento
cf22053914
ci: add gcc-9 to Travis CI build matrix
...
Change-Id: I9c7d2c42390f1314e57745c7459962dd98788f8a
2019-06-25 13:43:17 -04:00
Davide Pesavento
af7a2113e4
Follow ndn::Scheduler API changes
...
Switch from ndn::EventId to ndn::scheduler::EventId
and simplify some code.
Refs: #4883
Change-Id: Ifbd3b00da441ca0a277900265f8f6e31fdcebf2a
2019-03-20 08:01:58 -07:00
Davide Pesavento
0b0eddd60c
ci: update .travis.yml and jenkins scripts
...
Change-Id: I315196cb9d8e96f46e706a78c2d15d856a0a8d8b
2019-03-19 14:42:15 -04:00
Davide Pesavento
0da3eab4da
Add systemd unit file
...
Refs: #4594
Change-Id: I415bafa14902e9d43be4891f66349192e12b9166
2019-02-22 13:50:37 -06:00
Davide Pesavento
e3c741da9a
main: fix error handling and normalize exit codes
...
Change-Id: I3b6d6dd1f5a8fac3ec4998bd81af80a232350337
2019-01-30 23:45:32 -05:00
Davide Pesavento
5859ed3dfb
Use the official markdown version of the GPLv3
...
Change-Id: I5de645c2b29c29e2927e19b12831c0b336ad54b7
2019-01-29 19:49:09 -05:00
Davide Pesavento
e556991595
build: various updates
...
* Upgrade waf to 2.0.14
* Sync default compiler flags with ndn-cxx
Change-Id: I9e5bbbc7c13d1770e6ac0b0b5f5c0fbe17f89f23
2019-01-29 19:39:06 -05:00
Davide Pesavento
a08dc3f1f1
build: require gcc >= 5.3 and switch to C++14
...
Change-Id: I93c8fc238cc2654346bbc69a9d8ea83d1c0b099e
Refs: #3076 , #4462
2018-06-06 16:27:47 -04:00
Davide Pesavento
437adfeed6
ci: expand Travis-CI build matrix
...
Change-Id: I6ef5a461eaed9d66bed12189cde28cab30e55df8
2018-01-11 18:57:47 -05:00
Davide Pesavento
6ebfd7c182
build+ci: enable code-coverage reporting
...
This required changing the CI scripts to run the
unit tests against the debug version of NLSR.
Also sync default-compiler-flags.py with NFD.
Change-Id: I31f37e3dfef2c1237393512e0c238f5e6bcbe525
2017-08-31 13:49:13 -04:00
Davide Pesavento
813df80e20
ci: sync CI scripts with NFD
...
Notable changes include:
- support WAF_JOBS env var
- use two parallel build jobs on Travis-CI
- use "limited builds" for code-coverage and Travis-CI
- upgrade Travis-CI osx from xcode8.2 to xcode8.3
- enable ASan on Travis-CI
Change-Id: I4101499ebc590478d67ec8134c0395c4aafb8fb6
2017-08-26 17:06:00 -04:00
Davide Pesavento
0bd37314fe
ci: speed up Travis-CI osx jobs by upgrading only the packages we need
...
Synchronize the rest of the file with NFD.
Change-Id: If2f5fba0eb614a881b51396b15a5a30e7939f728
2017-08-26 17:06:00 -04:00
Davide Pesavento
6a81b77260
ci: preserve PATH when running waf under sudo
...
Change-Id: I85bdc5b69de2c2c7b8c0dc5a7aa2927b495e2168
Refs: #4186
2017-08-26 17:06:00 -04:00
Davide Pesavento
c58cc7f596
build+ci: enable AddressSanitizer and LeakSanitizer for unit tests
...
Refs: #2589 , #4206
Change-Id: Ie9770134ff87fce438029b97c9ed61dbef3a71a3
2017-08-16 12:35:52 -07:00
Davide Pesavento
87911dacd5
src: use ndn::nfd::ROUTE_ORIGIN_NLSR instead of a magic number
...
Change-Id: I88dc8e8bc5893820085f305abb52bfd1b654dfcd
Refs: #3903
2017-02-21 22:13:25 -05:00