Commit Graph

67 Commits

Author SHA1 Message Date
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
Alexander Afanasyev 16d493eceb Add advisory "incomingFaceId" to missing data notifications
Change-Id: Ida1acdc7c86d1110a8586d4a396301b89c37229b
Refs: #3626
2022-05-19 12:22:36 -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
Junxiao Shi fadcde5921 full-sync: cleanup test cases
refs #4659

Change-Id: I5043c1ed7698b7cdf6fc3774f5bfa4b0c05ea204
2022-02-28 00:38:45 +00:00
Junxiao Shi 32ccfc4d1d **breaking** use Name TLV-VALUE as input to murmurHash3
Previously the library was using Name URI string, which is not guaranteed
to be stable and unique.

refs #4838

Change-Id: Ic5e29f11f1320f95a754fb5def03faeb4d89cc01
2022-01-09 21:26:22 +00: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
Saurab Dulal 32b97d7654 Prepare release 0.3.0
Change-Id: I193b7cde69fcab7d2757a7823a727121572b51ad
0.3.0
2020-12-31 15:00:05 -06: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
Ashlesh Gawande 8ab7572247 Consumer: react fast on sync Interest timeout
refs: #5124

Change-Id: Ic28cd6d10e59645c2a209c5efc446ef28b600462
2020-08-09 18:36:15 -07:00
Davide Pesavento 87d4e20b35 ci: enable code coverage
Change-Id: I1fb68bc05b1a4a75c249a11c87fd6139c1700e75
2020-08-09 12:56:45 -07:00
Ashlesh Gawande cbdc0122a4 **breaking** Consumer: change hello data callback to include sequence number
refs: #5122

Change-Id: Ief5cf9e9c542739613b54790e66209c66f4b6172
2020-08-05 21:35:51 -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
Alexander Afanasyev 89edd8f3a9 Rename VERSION to VERSION.info to avoid conflicts with modern STL
On case-insensitive file systems (e.g., macOS), inclusion of the new
standard <version> header resulted in unexpected inclusion of VERSION
file.

Change-Id: I156cb3a49d3ee2139c1c830eaa8b20be00c3fb98
2020-06-01 18:58:54 -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
Ashlesh Gawande 79c5baf1b9 **breaking** IBLT: make encoding endian safe
refs: #5076

Change-Id: I0bbe2c321d971128733b87acbdf06bcaaa8b0571
2020-03-05 17:45:24 -08:00
Ashlesh Gawande e23b53bd1b State: reset wire after adding names; fix tests when zlib is disabled
refs: #5083, #5077

Change-Id: I48f24ad53d676036f6b03cc0472be9bb5026016e
2020-02-22 15:10:58 -08:00
Eric Newberry 1c7cd5224f docs: restructure and update AUTHORS.md
refs #5078

Change-Id: I1c2fa18d57b7d405093329bf569932d3e610dad6
2020-02-05 19:26:51 -08:00
Ashlesh Gawande 5a895478e1 docs: prepare version 0.2.0 release notes
Change-Id: Ie9dd46dc474ff88542192687b2dcb39a4b8e78b0
0.2.0
2020-01-28 22:28:39 -08:00
Ashlesh Gawande 6a5157f45a replace hash2prefix/prefix2hash with boost::bimap
refs: #5065

Change-Id: I32f690f0a85d5129c56ac2cfda382facbdaaaa49
2020-01-25 17:50:27 -08:00
Davide Pesavento fa72bc10a2 build: upgrade waf to version 2.0.19
Change-Id: Ia69f6d07ac468ea756b5b96480eae34e45670964
2020-01-23 23:48:42 -05:00
Ashlesh Gawande d51690accf support various compression schemes
refs: #5061, #4917

Change-Id: Icba04b8693e40c4f065293b8d688ba32c63bd7bb
2020-01-18 19:45:34 -08:00
Ashlesh Gawande c7d14327bf PSync: react to NACK and make jitter shorter
Change-Id: If358d3f189f174e6f36b5d94c6d73d8fba358013
2019-11-11 16:43:23 -06: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
Ashlesh Gawande 584e120f3c PSync: use interest lifetime as initialRto in SegmentFetcher
refs: #4945

Change-Id: If9e3d268da3dbffda3f4a7d67039413954628d2b
2019-10-02 22:54:44 -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
Ashlesh Gawande 3cb0b1b408 wscript: add vnum and cnum
Change-Id: Ia863da08b2ef1f94261f1208535fc51232c19f64
2019-03-07 15:43:20 -08:00