Davide Pesavento
36b78ea6ee
ci: add build testing against named-data PPA
...
Change-Id: I42c0901dc152986706b0c7b7f908dff80c23064b
2023-11-25 23:11:24 -05:00
Davide Pesavento
7e9d7e4f9a
Switch to Face::getIoContext()
...
Change-Id: Ice05b0b8e9af4ed4651abcf6fc4ea6b84c34da7c
2023-11-11 15:00:03 -05:00
Davide Pesavento
816767b4c2
build: disable -Wnon-virtual-dtor compiler warning
...
See also named-data/NFD@0a05f7aea6
Change-Id: If93d766fa8ee2b0cb6a0eb8ff9febc2dc0a4cac0
2023-10-17 15:40:22 -04:00
Davide Pesavento
2ab04a2b9f
build: require boost >= 1.71.0
...
Refs: #5276
Change-Id: Ib62b24b041e21b2c017cd9c290f7d5dc09003d63
2023-09-15 22:08:22 -04:00
Davide Pesavento
b6e10dd86a
build: use python f-strings
...
Change-Id: I5a6537d263d8bd6297b0975f34c90dd76b9468cd
2023-09-11 21:41:24 -04:00
Davide Pesavento
4a9e0b194b
build: update waf to version 2.0.26
...
Change-Id: I8fa8a8906617769f7cc511848b9e64fd6a314334
2023-08-19 01:48:02 -04:00
Davide Pesavento
dd808b0bae
build: enable a few more compiler warnings
...
Refactor default-compiler-flags.py to reduce duplication
Change-Id: I40bf0b1d94356dcaac3bdfebd66af920ef3d5aff
2023-08-06 16:00:02 -04:00
Davide Pesavento
8148cd4a96
build: decrease level of debug information produced by default
...
Refs: #5279
Change-Id: Ie73909de8c51300abb00c873af722d730e6b70e1
2023-08-06 14:01:32 -04:00
Davide Pesavento
0df0e1c5b0
dissect: avoid deprecated overload of ndn::escape
...
Change-Id: Ifb9ffa1400b4109b4400f59367a079dac3a4e792
2023-04-25 15:50:05 -04:00
Davide Pesavento
003e45a9f3
build: fix detection of libpcap on Ubuntu 23.04
...
Beginning with version 1.10.2, pcap-config treats
unrecognized command-line options as an error.
Change-Id: Iba62d6d4586cf505c68032338048d04597baff96
2023-04-25 15:25:03 -04:00
Davide Pesavento
3653daedb6
tests: use std::optional
...
Change-Id: I53feb53061cd8374bc296b7dfd13175d7c7d4e37
2023-03-13 17:44:22 -04:00
Davide Pesavento
ad26607467
build: drop official support for Ubuntu 18.04 and macOS 10.15
...
Increase the minimum required version of clang to 7.0 on linux, because
older versions fail to compile libstdc++'s implementation of std::variant
Change-Id: I5cde13b8789fceb5715d5496aeed7f9050ec801d
2023-03-07 21:14:42 -05:00
Davide Pesavento
a22a742de4
build: switch source archive to xz compression
...
Change-Id: I8ec1968161aa6c85bf9ba7dd7859e81b160fabfb
2023-02-14 23:56:46 -05:00
Davide Pesavento
c2297b11d2
ci: adopt reusable workflows from named-data/actions
...
Change-Id: I372cc2fa1b26cede28982bbd88ca445eb08eef5c
2023-02-08 13:22:22 -05:00
Davide Pesavento
db9613e5fd
Minor README improvements; fix outdated URLs
...
Change-Id: Ia57f83892471ad85a2301ba4c8ab3df144581000
2023-01-21 02:22:27 -05:00
Davide Pesavento
3b4ee2f130
Prepare release 22.12
...
Refs: #5250
Change-Id: Icc0cfa76328fd4faef152edc3330fa2c95857668
2022-12-31 01:55:06 -05:00
Davide Pesavento
be4f1891bd
build: update waf to version 2.0.24
...
Change-Id: Ia27b29d77dd8b4d0714e4e724f5814eefacfe4d5
2022-12-02 20:33:45 -05:00
Davide Pesavento
d66fb491df
dissect: recognize TLV elements related to Certificate and SafeBag
...
And drop obsolete types
Change-Id: Iadf2a323a52cd12b93981b99d68103d934d5d508
2022-11-30 19:52:35 -05:00
Davide Pesavento
6f16856fc2
ci: add Xcode 14.1
...
Change-Id: I0dbc2eec5a50239415361292a0597ffa19b05ce1
2022-11-14 19:40:04 -05:00
Davide Pesavento
b61e3e2174
putchunks: use ndn-cxx's Segmenter
...
Change-Id: I2a2bdac2983cce45c6e6d8f5b41a5609b4a98c48
2022-11-11 14:38:52 -05:00
Davide Pesavento
3d7b03372b
build: link with lld if available
...
Change-Id: I14c83c7038abd5d1b58eee3d8a3b6db127ef4b58
2022-10-05 15:30:02 -04:00
Davide Pesavento
6b430e963a
tests: delete unused code
...
Change-Id: I305e9d1a46b69196ab89a0de8ddb90ee9ce263ad
2022-09-18 18:55:05 -04:00
Davide Pesavento
b97a1122e3
ci: refresh GitHub Actions matrix
...
* Add ubuntu-22.04, remove 18.04
* Add macos-12, remove 10.15
Change-Id: I66908bb493100d9c7a6edda2a72e3a536b81b337
2022-08-12 18:26:07 -04:00
Davide Pesavento
bd3642f31d
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: Id132b9ef8467a563694222ccc64a676cdc076e17
2022-08-12 18:19:31 -04:00
Davide Pesavento
423e58a503
build+ci: support macOS on arm64
...
Refs: #5135
Change-Id: I25a6a77eb6c60e00548704eaea88eb1ca2afc200
2022-08-12 15:51:42 -04:00
Davide Pesavento
f597d07ec9
build: support CentOS Stream 9, drop CentOS 8
...
Refs: #5181
Change-Id: I289930c9658137e1637357f81c762ebb331474c8
2022-07-08 17:52:51 -04:00
Davide Pesavento
832d2300ee
tests: remove unused KeyChainFixture::makeCert()
...
If similar functionality is needed in the future,
KeyChain::makeCertificate() should be used instead.
Change-Id: I918a957b70e1516db2b319bd0587d3daa62c18d1
2022-05-13 14:26:51 -04:00
Davide Pesavento
f36375232f
tests: expect a certificate name in KeyLocator
...
Refs: #5112
Change-Id: I0481f0f03671530d47d33d27416a33ab52ab3ae1
2022-04-20 17:05:06 -04:00
Davide Pesavento
824c45b503
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: I12ef24e809b5a500f5c237b29c603c0058ca73fc
2022-04-19 16:10:42 -04:00
Davide Pesavento
242d5063f7
dissect+peek: avoid deprecated ndn-cxx functions
...
Change-Id: Ibd9f8ad30e315f537d1560db823372af3d58d713
2022-03-12 16:08:34 -05:00
Davide Pesavento
96412a18d8
build: align minimum clang dependency with ndn-cxx
...
ndn-cxx requires clang 6 or later, so there's no point
supporting older versions in ndn-tools
Change-Id: I7be683abd4fce12c85187c0b5abf2ee288bbe908
2022-03-05 14:45:04 -05:00
Davide Pesavento
b04c52b044
build: raise minimum build requirements
...
* Hard-depend on gcc >= 7.4 and clang >= 5.0, which have
almost complete C++17 support
* Require Xcode 10 on macOS but recommend 11.3 or later
* Boost >= 1.65.1 is now a hard requirement
Change-Id: I76eb915b226e8f5dd5c5fdbde9b23befc2a37c90
2022-02-20 15:40:02 -05:00
Davide Pesavento
b3570c614a
build: switch to C++17
...
Change-Id: Id6217b5c993f3e4726e89773128b565e5f136bb6
2022-02-20 15:35:23 -05:00
Davide Pesavento
ebea9094a3
Prepare release 22.02
...
Change-Id: If7e6cb33fb658fa91549a2cbbd2e3f992e20103e
2022-02-18 11:30:32 -05:00
Davide Pesavento
5998428e9c
Avoid deprecated ndn-cxx functions
...
Change-Id: I5d9ac045740267db783ff724c938b659b49c40ee
2022-02-16 22:41:03 -05:00
Davide Pesavento
50882ebf1d
build: update waf to version 2.0.23
...
Change-Id: I2afeee792c0b6627d979c7c175862ae25507599b
2021-12-29 13:23:23 -05:00
Davide Pesavento
84eb4873c8
dissect-wireshark: recognize ForwardingHint
...
Refs: #4185
Change-Id: I42619aaedf7aa4dbb32d204c46c67a8df541a272
2021-12-20 21:11:22 -05:00
Davide Pesavento
38dca3952a
dissect-wireshark: update TLV type of IncomingFaceId
...
Refs: #5185
Change-Id: I9949f55b64882db61179aba4d5b3395f26c47533
2021-12-20 20:50:45 -05:00
Davide Pesavento
585e18a5e3
dissect-wireshark: minor cleanups
...
Change-Id: I4b62396b1ff574537f46df5c4f3489d54006b80e
2021-11-27 23:00:16 -05:00
Davide Pesavento
918652862c
dissect-wireshark: fix decoding of several fields
...
HopLimit and PitToken are not NonNegativeIntegers.
ApplicationParameters and Content are not strings but arbitrary bytes.
Recognize "None" values in NackReason and CachePolicyType.
Refs: #3197 , #4517
Change-Id: I18c55a638bf5985d8ec4a1f2a76dba7b7e4407ad
2021-11-27 22:46:54 -05:00
Davide Pesavento
89b52d4639
dissect-wireshark: recognize ParametersSha256DigestComponent
...
Refs: #4517
Change-Id: I385cdee9d30fb6b1832a0c366f8eb808488fbbaa
2021-11-27 22:46:17 -05:00
Davide Pesavento
200014a739
dissect-wireshark: remove support for obsolete TLV elements
...
Change-Id: I83cf827c89acb99784b4ab421feda76113de5c39
2021-11-27 21:25:45 -05:00
Davide Pesavento
79482ec462
dissect: add signed Interest fields and more name component types
...
Change-Id: Id009dbf254e17e7fc497385ca6868ae085abb82f
2021-11-24 21:07:36 -05:00
Davide Pesavento
2c8ec07ae5
ci: add macOS 11 Big Sur
...
Remove all traces of Travis CI
Change-Id: Ic0a802db8a2ec5dfef093321b3bc0a7c736b5a5c
2021-09-30 00:04:23 -04:00
Davide Pesavento
8c35390e61
ci: use gcovr 5.0 to generate code coverage reports
...
Change-Id: I680b476bb93cffff389071437e7a818f16b6334d
2021-08-30 19:10:36 -04:00
Davide Pesavento
c4343232bc
ci: restrict token permissions and add badges to README.md
...
Change-Id: I057fab1370f4f3941bf3fe1de9c6d99198e3bd71
2021-08-13 23:17:05 -04:00
Davide Pesavento
f8d9a531dd
Eradicate all uses of std::bind()
...
Change-Id: I6e1ccf2d87b76142e6d519c1a288d03022e4d167
2021-07-30 20:35:06 -04:00
Davide Pesavento
e8c82ef8a1
ci: add GitHub Actions
...
Change-Id: Ic7ed7356fef4af465843b44a5cefd0458c78774d
2021-07-30 19:50:03 -04:00
Davide Pesavento
7c4246ca67
putchunks: increase the default segment size to 8000 bytes
...
Change-Id: I16c2e21f168c77259d6bdc47b86fceb258521517
2021-03-12 20:00:32 -05:00
Davide Pesavento
f8a14d88cb
chunks: add --naming-convention option
...
Refs: #5109
Change-Id: I98170dd362663900900e9f792ffb5340ad96fe3a
2021-03-12 00:42:03 -05:00
Davide Pesavento
a420e97fed
dissect: no longer dissect Content element by default
...
Use the new -c/--content option to enable it
Change-Id: Id5692b53a0921918bb029ad653b9f5504ab5e4ab
2021-02-25 18:25:26 -05:00
Davide Pesavento
3f588caea2
dissect: do not try to dissect the TLV-VALUE of SignatureValue
...
Change-Id: Idd3fce801d7ca7f0bc8a8c8972ceea43c2735c18
2021-02-24 15:48:33 -05:00
Davide Pesavento
7ef5cf7f24
dissect: use Unicode characters to draw the TLV tree on the terminal
...
Change-Id: If92176528361cb57f5e5a0a31a9c501d7fff54e7
2021-01-29 00:20:24 -05:00
Davide Pesavento
9b1fd4b332
dissect: print offset of parsing error
...
Change-Id: I2209a16330e513b46abe2dfcc57ca780b3478b82
2021-01-26 22:16:02 -05:00
Davide Pesavento
6929b4344a
poke: change the short form of --freshness to -f
...
For consistency with ndnpingserver and ndnputchunks
Change-Id: I82afc6de29e207d65bf885b0acbabfc9da05a5a7
2021-01-26 17:07:58 -05:00
Davide Pesavento
814ad34909
poke+pingserver: remove deprecated command-line options
...
Change-Id: Ic5518f1ca54edcb4a4c4fbe16f96b207dc867ebf
2021-01-26 16:08:53 -05:00
Davide Pesavento
a0e6b60e8f
Cleanup includes in common.hpp
...
Change-Id: I1bb08a44726de5c880e6bc2f016506e6083e919b
2021-01-21 19:47:04 -05:00
Davide Pesavento
3047ba4741
ci+docs: CentOS renamed the PowerTools repo to lowercase
...
Change-Id: I3868d1763c5b9d060603e440627ad8990de3ae4e
2020-12-27 20:00:06 -05:00
Davide Pesavento
6677762595
tests: sync common testing infrastructure with ndn-cxx and NFD
...
And upgrade waf to version 2.0.21
Change-Id: Id713e0f3035badd97ca7fc03f76e50085b9a266c
2020-11-24 15:18:18 -05:00
Davide Pesavento
02ec47c8ac
ci: add clang 12 (dev snapshot) to Travis CI build matrix
...
Change-Id: I45266be56d700434b84aab5f5954828f5df1b598
2020-08-09 02:23:07 -04:00
Davide Pesavento
9a1b65d0da
ci: disable frames in lcov HTML coverage report
...
Change-Id: Ie7ecce199aefc37b95d721f1032ac69ebe3f8338
2020-08-06 17:27:58 -04:00
Davide Pesavento
352755871f
tests: avoid deprecated Data::getSignature()
...
Change-Id: Ica204fe6cd60f070b49f9ec5b72c0f68a32065d6
2020-07-27 18:02:03 -04:00
Davide Pesavento
d653afaf01
ci: add Xcode 11.6 and 12 to Travis CI build matrix
...
Change-Id: I14c9635b56dac2c7988734d72adf8c41c5c5540e
2020-07-01 22:35:25 -04:00
Davide Pesavento
b07d7a96da
build: align minimum build dependencies with ndn-cxx
...
* 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
Refs: #5087 , #5106
Change-Id: I88ef0e0f183736f19ac414a84baebb0e1073381b
2020-05-14 02:25:24 -04:00
Davide Pesavento
8a2907ea04
ci: avoid exceeding Travis time limit on arm64
...
Change-Id: I9c3802e07c49ed33460b6f2341950ad0b6bee71a
2020-04-16 00:02:23 -04:00
Davide Pesavento
d5c2447b3a
ci: build ndn-cxx with AddressSanitizer
...
Change-Id: I706ab29efe61c17511b87b477151d9a2a8e055bc
2020-04-01 18:28:51 -04:00
Davide Pesavento
fce3963fc0
ci: use https URL in git clone command
...
Change-Id: I35c7ffa2e03957084b74c2db183780a70b5aab27
2020-03-31 23:16:55 -04:00
Davide Pesavento
d8398820f1
ci: add CentOS 8 support; drop CentOS 7
...
Refs: #5040 , #5087
Change-Id: Ia680fecc41d16d21d7b03f117a30a2966cf46679
2020-03-29 21:39:11 -04:00
Davide Pesavento
a1a9d704ba
build: switch to python3
...
Refs: #5095
Change-Id: I7e7a3a5cd49d69c6e389060ccf8fe30599ebd876
2020-03-29 01:04:31 -04:00
Davide Pesavento
4ab5eed35d
tests: fix ndndump unit tests with latest ndn-cxx
...
Change-Id: Ib2a149266644cb40780e1c34b9885c70d31829b2
2020-03-12 20:50:04 -04:00
Davide Pesavento
9fa6a78e17
ci: update Travis configuration
...
* Add testing on arm64, ppc64le, and s390x with select compiler versions
* 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
* Workaround issue with missing /usr/local/opt/openssl on macOS
* Various cleanups
Change-Id: Ifc7224cf3e79c74225efefc278bcb547ac862698
2020-03-10 19:47:06 -04:00
Davide Pesavento
9b70f57f8d
build: upgrade waf to version 2.0.19
...
Change-Id: I5c4829bb8e80c27f57ad9b993c106445461f42a2
2020-01-15 01:05:26 -05:00
Davide Pesavento
7d14815aaf
build: increase version number
...
Refs: #5045
Change-Id: I95b8f09faafdebec9d734a7c6c3fcf7b52d4e25c
2020-01-15 01:03:41 -05:00
Davide Pesavento
6ab7f911e0
Prepare release 0.7
...
Refs: #5045
Change-Id: I8765d3b68f2703ea28739f2f5b893a48f17293bd
2020-01-13 21:26:06 -05:00
Davide Pesavento
a8600b0a6a
tests: avoid deprecated boost headers; define BOOST_TEST_MODULE
...
Change-Id: Ie1e731e0943e635be36d65ea0dc02c348c17f05a
2019-12-22 18:52:36 -05:00
Davide Pesavento
2cd6ae8495
build: pass pkg_config_path to check_cfg() when looking for libndn-cxx
...
Instead of modifying os.environ
Refs: #5042
Change-Id: Ic39e871be1a6da027383a1a7d54be4f6611df15b
2019-11-04 00:11:07 -05:00
Davide Pesavento
296b385c58
catchunks: add --no-version-discovery option
...
Refs: #5021
Change-Id: I37bb1f86c1a6d63ab28fbe116e75d1047c110217
2019-10-20 16:00:16 -04:00
Davide Pesavento
97a33b200d
catchunks: simplify internal options handling
...
Change-Id: I537a281f6c996c2544c145ab9cc01a54272c8efa
2019-10-18 12:51:10 -04:00
Davide Pesavento
32c0df2e9e
catchunks: silence new clang-10 warning "final-dtor-non-final-class"
...
Change-Id: I50052872199fb6ca621f4abe5ab2636735604373
2019-10-18 12:41:18 -04:00
Davide Pesavento
327fb4b0fd
dump: update test cases for packet format v0.3
...
Refs: #4567 , #4709
Change-Id: If14cfb8221182aa2c79add024108d5e3a21a189f
2019-10-14 19:01:27 -04:00
Davide Pesavento
cbef7b8393
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
* Output folding markers to improve readability of CI logs
Change-Id: I7e6105f100110c74d6e947612fd3df81f7cbf43c
2019-10-09 00:15:13 -04:00
Davide Pesavento
11c69910f3
dump: add missing include
...
Change-Id: I617a9580216e4c579eebac702309b3610a8c6dcf
2019-09-01 01:30:13 -04:00
Davide Pesavento
c214e073d8
peek: add --hop-limit option
...
Change-Id: I1d0179f498ce70166085e6934e015ff4c00b4858
2019-08-22 20:46:30 -04:00
Davide Pesavento
9602823383
peek: add --app-params and --app-params-file options
...
Change-Id: Ic1afb118d2e1a58d99d046e072a9df439e0020b3
2019-08-22 20:45:40 -04:00
Davide Pesavento
5e3773dd5a
catchunks: switch to RttEstimatorWithStats
...
Refs: #4887
Change-Id: I8d49eff6ff4a7dc9ff49ffacc0744e50695128d2
2019-08-22 15:35:08 -04:00
Davide Pesavento
50cf6db473
peek: change --link-file option to expect a raw binary file
...
Change-Id: I952ebc55616307a939c4ecb5ae4019e27b7342bb
2019-07-29 20:40:10 -04:00
Davide Pesavento
0d4b182304
pingserver: change the short form of --freshness to -f
...
-x is still accepted but will print a deprecation warning
Change-Id: Ibc2e9750006a450c85d19c432ec1a02416cdc174
2019-07-27 19:35:13 -04:00
Davide Pesavento
7de32c1f2d
poke: add --signing-info option
...
Supersedes --digest and --identity, which are now deprecated.
Change-Id: Ia4c57659874f134af0192aa1ca721ec1a58e7901
2019-07-27 16:53:46 -04:00
Davide Pesavento
0da1f44c79
chunks+peek+ping: use correct underlying type for time::milliseconds
...
Change-Id: I3f46f846401eccc0c11d3abcd1a5ebff89056f7d
2019-07-26 19:06:36 -04:00
Davide Pesavento
6a1396e2e0
poke: rename -f/--force option to -u/--unsolicited
...
The old name will still be accepted for some time,
but will print a deprecation warning if used.
This commit also improves --help output.
Change-Id: I2ebac82423a5276109f4b40b382312bd852419de
2019-07-26 19:05:45 -04:00
Davide Pesavento
6752d943ef
catchunks: remove previously deprecated options
...
Change-Id: I0a7154dfd8879337f40524261fc854807dbc3d22
2019-07-26 19:00:20 -04:00
Davide Pesavento
c5243b40f4
poke: don't respond if the Interest cannot be satisfied
...
Change-Id: I616e974ff041a4a2c9fd738e98c83c28a21a47de
2019-07-26 13:30:16 -04:00
Davide Pesavento
b3ae634086
poke: add --verbose option
...
Change-Id: I435f01cf6625bebbea40a0f808d8456fafb01fe1
2019-07-25 21:07:16 -04:00
Davide Pesavento
de01c81a92
poke: wait indefinitely if --timeout is not specified
...
Change-Id: I0051e65d27780d8b58a0c0febf3572b0c6a23e8c
2019-07-25 19:24:04 -04:00
Davide Pesavento
94dff006fc
poke: exit with status 3 on timeout
...
Change-Id: Idb021fe1fa1c3d40dbcfc87d4b1dadbea6cb28f6
2019-07-25 19:20:22 -04:00
Davide Pesavento
87434bef4b
poke: exit with status 5 if prefix registration fails
...
Change-Id: I2147570c37146011c9a4e8c024b74bcafdf18e4e
2019-07-25 19:04:23 -04:00
Davide Pesavento
e75861eddb
poke: code modernization and cleanup
...
Change-Id: Ia0d5f0b1bc495636f8fac127bec735cc35af66a7
2019-07-25 17:41:09 -04:00
Davide Pesavento
c1eb2fcf4b
ci: add Xcode 11 to Travis CI build matrix
...
Also reenable ASan on Linux with clang 9, it seems to be working now.
Change-Id: I7be5aef0e17dc42918ce991592f149a47dd85a6e
2019-07-17 15:44:33 -04:00
Davide Pesavento
ba56066683
catchunks: adapt to recent RttEstimator API changes
...
Refs: #4887
Change-Id: Ie39a1c5f7ad8b225397f41bb0f3c4d7c2a9cdb2a
2019-06-26 22:48:14 -04:00
Davide Pesavento
0353bae5f6
ci: add gcc-9 to Travis CI build matrix
...
Change-Id: I719ef56d484ca6a743afe2ddd7486a2f43f59ad3
2019-06-24 20:47:00 -04:00