46 Commits
Author SHA1 Message Date
Davide Pesavento 60e5043d0c Switch to Face::getIoContext()
Change-Id: I56ea53ce8db3a3f24abe958065b9251eb025fbf7
2023-11-11 18:35:05 -05:00
Davide Pesavento 690272d427 build: require boost >= 1.71.0
Refs: #5276
Change-Id: Ia1014604d6933ca0042cecbaa25e8df2e7e2356c
2023-09-23 20:33:42 -04:00
Davide Pesavento 0b272e0e69 build: more accurate dependencies on Boost libraries
See also named-data/ndn-cxx@5686c51b87

Change-Id: I0ff9b60ae9a5e51f597d16221bbe1d97afc9704a
2023-09-23 20:22:01 -04:00
Davide Pesavento 9dea7a2334 build: update waf to version 2.0.26
Change-Id: I3e8d2fe200ae8502bbc3ce423a611a0d95245c83
2023-08-19 02:04:03 -04:00
Davide Pesavento 822c579cb6 build: sync default build flags with ndn-cxx
Change-Id: I74812a748fd65151a462c3a1f0beb8dcf3241c28
2023-08-16 15:06:23 -04:00
Davide Pesavento 88b7bbd797 build: align minimum build requirements with ndn-cxx
Change-Id: I717d0a2ade24bfd6884f54209f06944601e8fe1a
2023-04-26 15:48:02 -04:00
Davide Pesavento 46bac78888 ci: adopt reusable workflows from named-data/actions
Switch source archive (tarball) to xz compression and
mention using gerrit for code review in the README

Change-Id: Ie69de065311737f6fe48976fbab5f896f3960e06
2023-02-23 20:01:25 -05:00
Davide Pesavento ec8f854672 Prepare release 0.4.0
Change-Id: I361b0a37f48c729b31ea6a61aefb513c8d3d670f
2023-01-18 23:10:24 -05:00
Davide Pesavento 36651f17f3 docs: improve formatting and document structure
Change-Id: I4b0b4cc3eae000aa1c988c5d308c3f78052ad96d
2023-01-05 04:07:05 -05:00
Davide Pesavento 59f6fabe50 build: update waf to version 2.0.24
Change-Id: I3b7226af85fa686d33866899a9c2e487313fc842
2022-12-02 20:36:32 -05:00
Davide Pesavento b68f28497e Use ndn-cxx's Segmenter in SegmentPublisher
This commit also makes lld the preferred linker on Linux

Change-Id: I3a66f2e79a5378d005046c61a8ec2d49345508d6
2022-11-17 19:07:04 -05:00
Davide Pesavento 03426efa2c Minor code cleanups
Change-Id: I2b67216754ba30563a65a2697e6801e363986da1
2022-09-25 14:06:26 -04:00
Davide Pesavento c45a4eaef4 **breaking** Add KeyChain parameter to the producer API
Applications must be able to specify the KeyChain instance to use

Change-Id: If5054dbb8c00e2d18af8bf6a9199ded7266688f3
2022-09-25 14:04:36 -04:00
Davide Pesavento e010c78946 docs: simplify conf.py and fix compatibility with upcoming Sphinx 6.0
Change-Id: Id1ba3c27d4b1d295eb334f875931b56c0adcfc1b
2022-09-25 03:12:53 -04:00
Davide Pesavento da1a4d36a0 build+ci: support macOS on arm64
This commit also syncs the CI config and scripts with ndn-cxx

Change-Id: I0403bfcf211e41e15fa59bbbee4cbd1966d9c708
2022-08-19 19:54:33 -04:00
Davide Pesavento c407dee7bd build: migrate to C++17
Change-Id: Ic66b1703fc7d1d51d61c442de859e0921c0bdd7a
2022-07-27 01:50:24 -04:00
Davide Pesavento f278438bc7 build: support CentOS Stream 9
Change-Id: I8864a856b4f777110cea37528d963e9eb77ed973
2022-07-09 19:58:53 -04:00
Davide Pesavento 0ba5eb6d6c 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: Ie567fc8cf6ed70783c8f4f46983fe0d3a61e3d71
2022-04-19 18:05:16 -04:00
Davide Pesavento f6fd2fbd34 Convert to span and avoid deprecated ndn-cxx functions
Change-Id: I260639ef4c13e6a492b29d3b976cca0ae29876cb
2022-03-18 21:00:36 -04:00
Davide Pesavento 85a73d2b75 build: align minimum build dependencies with ndn-cxx
* gcc 7.4
 * clang 6.0
 * Xcode 10.0 (11.3 or later recommended)

Change-Id: I365e7b1e2c9b081e512f511bf5beee2487cfc361
2022-03-16 20:08:16 -07:00
Davide Pesavento e51936f8c6 build: update waf to version 2.0.23
Change-Id: I259ccd62d04ced56eb8dedab612de02789ba2971
2022-01-02 18:44:21 -05:00
Davide Pesavento f078fb5134 ci: add code coverage reporting via gcovr
Change-Id: I246bb21b55c40182184f849dedd27be81be202b1
2021-11-05 16:08:44 -04:00
Davide Pesavento 51189595bd docs: various fixes and cleanups
Change-Id: Ib20f89395bf7864e04080c0e69aec93ab8099a47
2021-10-03 17:40:04 -04:00
Davide Pesavento 8dce194d9a ci: replace Travis with GitHub Actions
Change-Id: Id9f6bc462115c1c49f02b8b75d65304f777e0ffd
2021-10-02 22:31:26 -04:00
Davide Pesavento 9f14dcd319 ci: don't use deprecated ndnsec commands
Change-Id: Ie85898f91fa44a22d87bb79aec7ebe4a7e5ef42e
2021-06-04 13:41:43 -04:00
Davide Pesavento 75496288d0 build: make graphviz optional for building documentation
Change-Id: I779e69037ecef1d49e035a572a843ef3a861e614
2021-04-26 00:06:26 -04:00
Davide Pesavento bb55addec0 ci: compile-check installed headers
Script copied from ndn-cxx with minor modifications

Change-Id: Ib2e82e97161078d653f965c769de149cc28c60dd
2021-02-10 13:50:23 -05:00
Davide Pesavento eeca59e0c3 Centralize/deduplicate some constants
Change-Id: I80c542abbf6d4978261c0f7e839bef2fb1fa3a91
2021-01-15 16:06:06 -05:00
Davide Pesavento db7895644a Move non-public classes and functions to psync::detail namespace
CompressionScheme, CompressionError, and MissingDataInfo, which are
public types, are instead moved to a new header PSync/common.hpp

Change-Id: If1b8cb037cb321ff32c080c67df9dc3689223c00
2020-12-30 18:27:28 -05:00
Davide Pesavento aafef2bd91 bloom-filter: code cleanup
Change-Id: I72cec068778d26c62b05060030013f148ef7c5da
2020-12-23 21:04:05 -05:00
Davide Pesavento b60398c5fc Replace remaining uses of BOOST_THROW_EXCEPTION with NDN_THROW
Minor formatting improvements in examples/README.md

Change-Id: Ib8f605074b9ee07c8dea2e9ea2bf04892251d945
2020-12-18 00:07:06 -05:00
Davide Pesavento f91d1dfe15 tests: sync common testing infrastructure with ndn-cxx
Also upgrade waf to version 2.0.21

Change-Id: Ibfd3386772d48df287b6be73e6d778d3661abe86
2020-11-25 14:50:41 -05:00
Davide Pesavento 87d4e20b35 ci: enable code coverage
Change-Id: I1fb68bc05b1a4a75c249a11c87fd6139c1700e75
2020-08-09 12:56:45 -07:00
Davide Pesavento 042dfb3ec5 build: align minimum build dependencies with ndn-cxx
* Recommend 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 Travis CI job matrix

Refs: #5087, #5106
Change-Id: I659aa617dad0ed7eb23967215c37586ef168d88c
2020-07-23 21:07:16 -04:00
Davide Pesavento 5653b640d4 ci: update Travis configuration
* Add testing on arm64, ppc64le, and s390x with select compiler versions
   (s390x is allowed to fail due to bug #4818)
 * Drop all versions of gcc < 7 and clang < 5
 * Add clang 11 (development branch)
 * Reenable ASan on Linux with clang 7, the upstream bug has been fixed
 * Drop Xcode 9.2 (macOS 10.12 is no longer supported)
 * Upgrade Xcode 11 to 11.3

Change-Id: Ia67057c9583ef67af3b11378849ec0f226b2b715
2020-04-04 19:28:24 -04:00
Davide Pesavento 133067f1c0 build+ci: switch to python3
Also in this commit:
 * Sync CI scripts with other projects
 * Modernize docs/conf.py
 * Fix typo in docs/doxygen.conf.in
 * Cleanup README.md

Refs: #5095
Change-Id: If95b6f00e4f48a102054b47e14e9c021da069e71
2020-04-04 19:02:40 -04:00
Davide Pesavento 5b3cf7621c tests: use BOOST_REQUIRE and Name::at() to prevent out-of-bound accesses
Various other cleanups

Change-Id: Ie099e618b12b7b6cf36c32be96d753221f14a8b6
2020-04-04 19:00:12 -04:00
Davide Pesavento fa72bc10a2 build: upgrade waf to version 2.0.19
Change-Id: Ia69f6d07ac468ea756b5b96480eae34e45670964
2020-01-23 23:48:42 -05:00
Davide Pesavento 34f7eea5b6 build: pass pkg_config_path to check_cfg() when looking for libndn-cxx
Instead of modifying os.environ

Refs: #5042
Change-Id: If6ac10e5f83a48fa85d9b1dec1a2ae1a59d686ac
2019-11-09 17:33:45 -05:00
Davide Pesavento f9adc5a7d3 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: Ib845d45f7d86d1f8302786618b516b2534875e4e
2019-09-26 00:55:06 -04:00
Davide Pesavento f09816e8e5 Add missing include
Change-Id: Ifbeca78661c70f02f39690c9efe4bdd023503909
2019-09-01 01:38:27 -04:00
Davide Pesavento fd1e807274 ci: add gcc-9 to Travis CI build matrix
Change-Id: I8329ac47487db5f81f20aa09391a636c9452dc74
2019-06-23 19:47:02 -04:00
Davide Pesavento 17b266c3a0 Add "PSYNC_" prefix to access specifier macros to avoid conflicts
Also, sync boost.py waf tool with ndn-cxx

Change-Id: I75ed79725706313c3e64913de0fac17e2c182b8c
2019-04-07 02:02:08 -04:00
Davide Pesavento d143784452 Follow ndn::Scheduler API changes
And some code cleanups

Refs: #4883
Change-Id: Ifca73d336579211cf137fd6afe905fb562291800
2019-03-20 11:58:36 -04:00
Davide Pesavento 1526fee9d3 ci: update jenkins scripts and add .travis.yml
Change-Id: I1c5c743a310da5a32b462b69f76c97dfcdc822a9
2019-03-18 19:31:55 -04:00
Davide Pesavento da27849979 build: various updates
* Upgrade waf to 2.0.14
 * Sync default compiler flags with ndn-cxx
 * Remove unused pch waf tool
 * Simplify compilation of unit-tests

Change-Id: I2aa21454dd5d691ad2093923582443e5f8329ba7
2019-01-30 10:26:31 -05:00