Commit Graph
1447 Commits
Author SHA1 Message Date
Davide Pesavento 6b78a53cf7 build: update waf to version 2.0.24
Change-Id: I57b597fb5933e46b55979ad6b1a62a7fd40c645d
2022-12-02 18:24:16 -05:00
Ikko Ashimine a68af8129e docs: fix typo in release-notes-22.02.rst
accomodate -> accommodate

Closes: https://github.com/named-data/NFD/pull/11
Change-Id: Ibad215a723cd51881760d2e43c05694a0e8928fe
2022-11-25 22:15:12 -05:00
Davide Pesavento a42efcb408 ci: add Xcode 14.1
Change-Id: I8415fb1375da16813a69fa7a03bf37a7b0efc8b7
2022-11-15 02:43:16 -05:00
Davide Pesavento aa9e3b2148 docs: fix capitalization in doxygen comments
Change-Id: Ibf5ee5119d12d60d382b0acef8dfd08277c18fcb
2022-10-29 21:45:24 -04:00
Davide Pesavento b83d3df256 mgmt: finalize migration to the new signed Interest format
Change-Id: I6d3fe1bd092fa80e185d36746a42c188ab00a60e
2022-10-13 09:45:33 -04:00
Davide Pesavento 6d6f207661 mgmt: rename extractRequester() and support signed Interest v0.3
Change-Id: I6bb6635896fa1b9fa54beb70b902c5a35831dc9c
2022-10-13 08:55:42 -04:00
Davide Pesavento 9bfdaef62d build: link with lld if available
Change-Id: Ie390c511c711508b6bb8c326a9a62fb1eca291c5
2022-10-05 17:38:44 -04:00
Davide Pesavento 20d94f67f8 Use inline on all namespace-scope constants defined in headers
Change-Id: Ic61f8d26f59fdc2895415ca47065c02d6eec28ed
2022-09-26 03:30:53 -04:00
Davide Pesavento 36184f6893 docs: restore exception handling in conf.py
Change-Id: Ie6408385e821e509e964bcea001a39f8cfdc5da0
2022-09-25 03:48:58 -04:00
Davide Pesavento 6cc9541220 docs: simplify conf.py and fix compatibility with upcoming Sphinx 6.0
Change-Id: Iacf4a72d30babc4a7c3fab0fea619a798eff2df1
2022-09-20 19:10:55 -04:00
Davide Pesavento 279af1ceac tests: fix UDP multicast transport tests with IPv6
A valid scope id is always required on the multicast address

Change-Id: Ic676fcde0ee50daf75eb38c137e3cb917f43699f
2022-08-29 20:18:32 -04:00
Teng Liang d94b7b3b24 face: reimplement EndpointId with std::variant
Refs: #5041
Change-Id: Ib8aced49a7aa14b137fb06de4a0ae8b979f07587
2022-08-24 19:38:47 -04:00
Davide Pesavento e541d1b250 build+ci: support macOS on arm64
Refs: #5135
Change-Id: I86f1955366df12cfb8b3e6f9d5e9f202778cc211
2022-08-18 20:50:05 -04:00
Davide Pesavento 4791fcb8ba ci: refresh GitHub Actions matrix
* Add ubuntu-22.04, remove 18.04
 * Add macos-12, remove 10.15

Change-Id: I775ea45661259ba1353e3f6ee0c602abee58acbd
2022-08-14 17:40:05 -04:00
Davide Pesavento 72517b5510 ci: auto-detect the OS instead of relying on NODE_LABELS
And remove WAF_JOBS: waf already defaults to the number of available
CPUs, which is appropriate in most cases, and we can always use the
built-in JOBS variable to override it where necessary.

Change-Id: I555dda0ccc48ee791271dbdaf4225cd1cfec4f3d
2022-08-13 18:50:55 -04:00
Davide Pesavento 20cafa8715 tests: minor code cleanups
Change-Id: I9759ba4b7eb467d4d1df4b379efad91bc4f5cc3a
2022-07-25 01:15:03 -04:00
Davide Pesavento 2150da8ee5 build+docs: support CentOS Stream 9, drop CentOS 8
Refs: #5181
Change-Id: I2d8bc595bad047ceaa78bd3729848491b843e83d
2022-07-08 18:18:51 -04:00
Davide Pesavento 990620ac3b nfdc: merge canonizer.hpp and find-face.hpp into face-helpers.hpp
Change-Id: I19ca5cbce8cab54e61eb7af0a32c33c3aa73faf1
2022-06-13 16:33:25 -04:00
Davide Pesavento a9b09b6994 build: make precompiled headers more useful
This can reduce the compilation time of a release
build (without tests) by more than 40%

Refs: #5212
Change-Id: I977aff0c0c7becbfee8a8b55605b81d0c014829b
2022-06-13 16:30:11 -04:00
Davide Pesavento 9a28c3f752 fw+table: workaround bogus doxygen warnings
Change-Id: I0a093658f4b27620ba9731a0640ca71c3d03360a
2022-06-11 21:52:05 -04:00
Davide Pesavento e422f9e1e9 Refactor and modernize namespace declarations
Move all unit tests to namespace nfd::tests

Delete unused header core/algorithm.hpp

Change-Id: I5591f0c5f3bb5db67f8b45fae95471f8a555ca68
2022-06-11 20:10:26 -04:00
Davide Pesavento a3a7a4e330 Use more C++17 features
Mainly structured bindings, inline variables, and class template
argument deduction, plus many more smaller things.

Change-Id: I810d17e0adb470426e4e30c898e03b3140ad052f
2022-06-04 20:26:02 -04:00
Davide Pesavento b7bfcb904a build: switch to C++17
Change-Id: Ie68020a04b7e20b74778b6d0370544ded55c5e26
2022-05-23 03:42:32 -04:00
Junxiao Shi 4b84a2c9be tests: expect certificate name in KeyLocator
Also, delete unused KeyChainFixture::makeCert function.

refs #5112

Change-Id: I59b1ca81fca0481a37126270c447f639080ec75f
2022-04-28 03:17:05 +00:00
Davide Pesavento 6153eafa62 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: I17ffb97c2dc9cd8db7c900fbbd4ab5f8f92184dd
2022-04-19 19:45:03 -04:00
Ashlesh Gawande 1ef93d0316 fw: add strategy parameters to configure exponential retx suppression
Supported by ASF, BestRoute, and Multicast strategies

Refs: #4924
Change-Id: I215d9212d90b93fa622cc65278703dc5198d0c9d
2022-04-08 00:27:27 -04:00
Davide Pesavento deb5427bb4 daemon+tests: avoid deprecated ndn-cxx functions
Change-Id: Idfa341629919d63fac140eda0b465f8f8abd38e6
2022-03-11 18:51:05 -05:00
Davide Pesavento 1b22a8c156 tests: drop redundant calls to Interest::setCanBePrefix(false)
Change-Id: I6afd1028ab370633c64a74ab4310396dab3c8a03
2022-03-07 21:23:23 -05:00
Davide Pesavento c52cd5eec1 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)

Change-Id: I5e41f2a70d6c510dcb889a083a51504121b4627d
2022-03-05 20:40:54 -05:00
Alexander Afanasyev 5006c1d6af Prepare release 22.02
Change-Id: Ie0d8db596c11c4f298755aa4b7fde5e616f32ceb
Refs: #5172, #5184
NFD-22.02
2022-02-17 16:07:18 -05:00
Davide Pesavento a599d2aac9 Convert to span and avoid deprecated ndn-cxx functions
Change-Id: I45c50527fe53498b53a3d951458bdff8e7d7778c
2022-02-16 18:52:43 -05:00
Junxiao Shi b98aa3aca6 face: handle error in TCP socket remote_endpoint
refs #5158

Change-Id: I67fa134cd01a80a4f91122bbdcfc64e089d8145e
2022-01-12 01:14:08 +00:00
Junxiao Shi 727b61087a table+fw: update ForwardingHint format
refs #5187

Change-Id: Ic8e32c83caeb60404f1b035a4f7e9841cc513f0b
2022-01-11 18:40:04 +00:00
Davide Pesavento 80111b72f9 face: adapt to API change in ndn::Transport
Change-Id: Ib424af03b7ec7d7bccce8d9498da6c593e16362f
2022-01-09 16:32:33 -05:00
Davide Pesavento 07da3fec95 build: update waf to version 2.0.23
Change-Id: I33bccd3f9aacdd22b690b6ff08fabd964dc022db
2021-12-29 19:14:42 -05:00
Alexander Afanasyev 5e02c04ca7 docs: Update sample nfd.conf to allow use of v0.3 Signed Interests
Change-Id: I72769d6caf52718b0e9ce4f6d3d8b0a29cf04925
2021-12-22 23:01:07 -05:00
Alexander Afanasyev c414ca5895 tools: Allow batch command processing by nfdc
Change-Id: Ia6f70fed88f2d4c918e2ca2b786222840dbd9076
Refs: #5169
2021-12-21 14:27:26 -05:00
Davide Pesavento f28a061c22 ci: add macOS 11 Big Sur
Remove all traces of Travis CI

Change-Id: Ie9ad527af4921c4f3c56903851200131ed0d5e87
2021-09-29 23:13:32 -04:00
Saurab Dulal af3ff5a8c6 fw: rename n-silent-timeouts to max-timeouts in AsfStrategy
Change-Id: Ie2790a4e1fd545aacf8b297d7ec33b204f2cdbfc
2021-09-19 19:45:25 -04:00
Davide Pesavento 2c61bad944 ci: use gcovr 5.0 to generate code coverage reports
Change-Id: Ib7284d1616f9bce527aa98ccbb32e58d0bfa9dfb
2021-08-30 22:40:35 -04:00
Davide Pesavento 4d030c3896 Add CITATION.cff
Remove duplicate/obsolete files. Use the corresponding
files in https://github.com/named-data/.github instead.

Change-Id: Ife0d7551dd44091a8343ea233072c22a03149a71
2021-08-30 21:48:42 -04:00
Davide Pesavento 13dae355cb ci: restrict token permissions and add badges to README.md
Change-Id: Ia7e254eefb6658aa5110a7fea5a6847cb257a84b
2021-08-13 15:40:54 -04:00
Davide Pesavento 8f0028de4e ci: add GitHub Actions
Change-Id: Idc715edf136550b088f89c19b581f5478b296653
2021-07-30 19:26:03 -04:00
Davide Pesavento 412c982a63 Reduce usage of std::bind()
C++14 lambdas are easier to read, easier to debug,
and can usually be better optimized by the compiler.

Change-Id: I294f275904f91942a8de946fe63e77078a7608a6
2021-07-02 00:21:05 -04:00
Philipp Moll a103334b1c fw: Add default HopLimit to Interest when missing
Refs: #5171
Change-Id: I5973811b5ca7c7cf5ff344872afa51b253b9cae8
2021-06-25 00:24:23 -04:00
Davide Pesavento 0498ce85b0 fw: reorder function params to make the strategy API more uniform
Also add a non-const overload of Face::getCounters to avoid const_cast

Refs: #5173
Change-Id: Iff0bfbdedb90e68a373090cf3f247d9a7501f58d
2021-06-14 14:18:03 -04:00
Davide Pesavento 7647cc7635 table: increase initial and minimum capacity of DeadNonceList
Change-Id: Iaec6299ed985fcf165e23d31a339a6cbf073b55d
2021-06-10 14:30:04 -04:00
Davide Pesavento e08cc4cd7e table: improve logging in DeadNonceList
Refs: #5165
Change-Id: I97f9e28af90d857b33808d385eb077380cafe00a
2021-06-09 03:03:32 -04:00
Varun Patil 67ad70fbd5 table: prevent duplicates in DeadNonceList
refs #5167

Change-Id: Ia7546f75b844cfa1d857a641b015fbc6e9dfaf3d
2021-06-07 16:18:02 -07:00
Davide Pesavento d69070ef50 ci+docs+tools: stop using deprecated ndnsec commands
Change-Id: If77f479b45581a9a70619c329e713524678e35fb
2021-06-04 18:50:52 -04:00