Davide Pesavento
2f46d6543e
Avoid deprecated Boost.Asio interfaces
...
Change-Id: I00d285893ff61619f49dff8a8a55d0d0e2c309a7
2 years ago
Davide Pesavento
550d8c99ab
build: require boost >= 1.71.0
...
Refs: #5276
Change-Id: I0f179707020fc6e0908af8aeb1d535ca3cd81410
2 years ago
Davide Pesavento
e1005da0a2
docs: update list of supported platforms
...
Change-Id: Ic09db6ec9d84417ffc97f84a0e4bbf8dc6365955
2 years ago
Davide Pesavento
6028418380
net: NetworkMonitor: ignore AWDL interfaces on macOS
...
Refs: #5074
Change-Id: I5a97dfefda2a43c3dd4460e19725480bbf54835c
2 years ago
Davide Pesavento
5686c51b87
build: decouple handling of boost libs not needed by libndn-cxx
...
Refs: #5210
Change-Id: Ia8e3d80dd92b5e8a7bd7d79ea811332220a883ed
2 years ago
Davide Pesavento
c996742bad
build: use python f-strings
...
Change-Id: I17695613bb737ac4ba297468c5859ceb18bfdf96
2 years ago
Davide Pesavento
90d3a96dc2
encoding: simplify readVarNumber()
...
Change-Id: I53ee1ec43d701a95aa79d8ea9f71dd61dbe74615
2 years ago
Davide Pesavento
fffdd62715
Use Boost.Operators in more places
...
Change-Id: I7024c3e7d4c30c99ec7a895d484f227cb60fb356
2 years ago
Junxiao Shi
ce442c4c95
meta-info: prevent FreshnessPeriod overflow
...
refs #4997
Change-Id: I22ae27257fd79b539a8ac137f8b1871e1b988cf8
2 years ago
Davide Pesavento
ee97139dcd
build: update waf to version 2.0.26
...
Change-Id: Ica10b4eb8d8e0fd55739a5c4babc7e197aaac092
2 years ago
Davide Pesavento
03fdfb17a1
build: enable a few more compiler warnings
...
Refactor default-compiler-flags.py to reduce duplication
Change-Id: I059d4857ea6744ac791592c50d41a6ef8b8d60cc
2 years ago
Davide Pesavento
747cb45c16
util: add deprecated attribute to aliases documented as such
...
Change-Id: I334f0c3e072f773260d96f9cfe8f6029c256c41a
2 years ago
Davide Pesavento
9404892918
interest: improve code readability
...
And add more tests for decoding of malformed ForwardingHint
Change-Id: Ie7b043911769a0952300aa412fe7dbb893a464aa
2 years ago
Junxiao Shi
382de67df8
net: make FaceUri usable as container key
...
refs #4227
Change-Id: I4389fe6691ab2499c73e6ed83d4090b77fdbafca
2 years ago
Alexander Afanasyev
0af48fb516
interest: Match data to Interest regardless of FreshnessPeriod/MustBeFresh
...
When Data is received from the wire it should match Interest with
MustBeFresh even if the Data packet doesn't specify FreshnessPeriod.
Refs: #5270
Change-Id: I2ce4d23062f6346ebcd54e2e3e6e5de5a927e516
2 years ago
Davide Pesavento
12b8aaa9f2
build: decrease level of debug information produced by default
...
Refs: #5279
Change-Id: I5c96d3e58d507c5ab01e0ae79348be15e078ac9a
2 years ago
Junxiao Shi
502c4c3bd6
security: avoid ValidityPeriod under/overflow
...
refs #5176
Change-Id: I15f2225ea727b205798db29d14ef49a7565eb82e
2 years ago
Varun Patil
f81de71486
security: make HMAC compatible with OpenSSL 3
...
This is a temporary workaround until the internals
can be restructured to use EVP_MAC
Refs: #5251
Change-Id: I28854177a066a753a5cbacad591ee55f5c137622
2 years ago
Davide Pesavento
67bc114aa8
util: generalize and simplify time::{to,from}UnixTimestamp()
...
Change-Id: I1dc94365944b8efc03f32919d32d5df0a652b672
2 years ago
Davide Pesavento
699cca4ba0
encoding: declare Block operators as hidden friends
...
Change-Id: Ib6a0792110cb1627e691c66bf83adf27df065c46
2 years ago
Davide Pesavento
296c3a185d
interest+data: add string_view overloads for convenience
...
Also, explicitly declare the nullptr_t overloads as deleted, so that
users get a clear compilation error instead of a potentially confusing
"ambiguous overload" if they try to pass nullptr to these functions.
Change-Id: I399efcbd698a0d3f7e29219d21eb1a53a1d71070
2 years ago
Davide Pesavento
47ce2eed3a
Refactor and modernize namespace declarations
...
* Completely remove inline namespace v2
* Flatten some unnecessarily deep namespace nesting
* Move DummyClientFace, Segmenter, SegmentFetcher to namespace ndn
* Move all unit tests to namespace ndn::tests
Change-Id: I8bcfcf9fd669936a3277d2d5d505f765b4b05742
2 years ago
Davide Pesavento
21b7f1b379
encoding+lp+net: simplify with `if constexpr`
...
Change-Id: Ie2b45a502c59e5cb7181628e691f7aaaf7509d84
2 years ago
Davide Pesavento
581dd52b0d
lp: consistently use uint32_t for TLV types
...
Change-Id: I880043b634476eaaafa35b49f6b3f93210ae5ecf
2 years ago
Davide Pesavento
152ef44da9
Move BOOST_CONCEPT_ASSERT to unit tests where possible
...
Change-Id: I0c6ae494eb7be4ab2ff422ba6d866ead9e75f4eb
2 years ago
Davide Pesavento
3fdb02f62e
Use std::string_view in several APIs
...
Change-Id: I2c13b229162b247738cbf46d6bf71fc69d45816f
2 years ago
Davide Pesavento
a3651646a9
ndnsec: stop installing deprecated command aliases
...
Refs: #5163
Change-Id: Ia9f705529061a2ca2cb8bcbd1a9ef1d7a5ffae31
2 years ago
Davide Pesavento
23483c76d5
name: remove deprecated functions
...
Change-Id: I776c34c5a81ade92354aa8d974f5f380ae2715c4
2 years ago
Davide Pesavento
0910343957
mgmt: simplify StatusDataset implementation
...
Change-Id: Icf21cfd8bc47333461dadd06c347b723e77f5784
2 years ago
Davide Pesavento
187e9f99b2
Adopt more C++17 features throughout the codebase
...
Change-Id: I31af421d8a977ba2aae23afcda289ff53230897f
2 years ago
Davide Pesavento
eb87c28200
detail: stop importing std::function into ndn namespace
...
Change-Id: I536774e974627abbf4e8b868ebb948b90ea5d4a6
2 years ago
Davide Pesavento
869d1a3c36
util: remove obsolete backport of std::to_string
...
Change-Id: Ib2ba051b84032b227ce75f41e242af20b4a43c3c
2 years ago
Davide Pesavento
05ec0be21b
Use `inline` on all namespace-scope constants defined in headers
...
Change-Id: Ia6e68d3fe572f6c15978c77a646ac599fa47e575
2 years ago
Davide Pesavento
f6b458930f
util: remove ndn::optional, use std::optional directly
...
Change-Id: I503e8f250e80e0ff7708070effc2e84e3b38b3b7
2 years ago
Davide Pesavento
a2fbc35f12
util: remove ndn::variant, use std::variant directly
...
Change-Id: I374095f0f391454f3340bbf36785ccbebea2773a
2 years ago
Davide Pesavento
fcd3e44028
build: switch to C++17
...
Change-Id: I92039300ce845de0312dceccb94c128229ed60c4
2 years ago
Davide Pesavento
762548b15e
build: drop official support for Ubuntu 18.04 and macOS 10.15
...
Increase the minimum required version of clang on linux to 7.0 because
older versions fail to compile libstdc++'s implementation of std::variant
Change-Id: Id17d95c2869634622fc8775e085b74801a486e90
2 years ago
Davide Pesavento
02ed332ddd
docs: update several URLs to point to docs.named-data.net
...
Change-Id: If000753573c6a50130dc3101a411b6d482ccf3ed
2 years ago
Davide Pesavento
d09d52bdfa
tests: fix dangling-reference warning with gcc 13
...
Change-Id: I73531e291d9b3146f3778c21a262d328d98eb26b
3 years ago
Davide Pesavento
ae39daf4de
build: switch source archive to xz compression
...
And a few minor README improvements
Change-Id: I667860f46b19d1ec885fd81910a116581007ac8f
3 years ago
Davide Pesavento
a90b2cf762
ci: adopt reusable workflows from `named-data/actions`
...
Change-Id: Ib5b73ca2082cec8fc105a875f5c261a979db11c7
3 years ago
Davide Pesavento
535bd33223
util: add missing include for `std::set`
...
Change-Id: If18b2f6196e01949b380b41b42ae09e460310ba5
3 years ago
Davide Pesavento
81de5d98e9
Prepare release 0.8.1
...
Refs: #5250
Change-Id: I99931c1300cd752554aea764e9688d027b5de29e
3 years ago
Davide Pesavento
15fa994bf6
transport: replace a bunch of bools with a proper state machine
...
Change-Id: I42f74aebfd714cd8b3be7fcb3068228935482366
3 years ago
Davide Pesavento
67090837ab
build: update waf to version 2.0.24
...
Change-Id: Ifaa5d378f09434e2e9ea44ce99e1948e2b9be9f4
3 years ago
Davide Pesavento
90795be569
encoding: remove obsolete TLV-TYPE definitions
...
Also, consolidate all types in a single enum
Change-Id: I55c9d10de21183e17590bd2f73b51ae8b7c84304
3 years ago
Davide Pesavento
576c21ba33
docs: delete certificate spec
...
Moved to the NDN-packet-spec repo
3a74e13497
Change-Id: I57aec08aeb553d5eb6c5a7c368ba03b904b1e4ed
3 years ago
Davide Pesavento
ffddbbf745
encoding: recognize Ed25519 signature type
...
Refs: #5209
Change-Id: I96bcc7ac194ed6034a66580b0cdb7e95b3dd0c31
3 years ago
Davide Pesavento
09c064f1c5
Remove a few deprecated functions
...
Change-Id: I8f48aa0d084ffd1349750dfe04357ce900ab8dd6
3 years ago
Davide Pesavento
b5e95f9106
ci: skip headers check in code-coverage jobs
...
Change-Id: I73f5cc04cc4b8bf69db66e690d9d4117239a0961
3 years ago