Davide Pesavento
e9c69855c4
chunks: consolidate accounting of received data into onData()
...
Change-Id: Ib47381d3f69b482d60af8b07d002135944b17604
2017-11-04 20:24:08 -04:00
Davide Pesavento
b587cfd779
chunks: move getNextSegmentNo() to PipelineInterests base class
...
This hides the "excluded segment" logic from subclasses and
reduces code duplication.
Change-Id: I9f7b5b88e6010e4e16a0876e79fc2ecb9ff8dc00
2017-11-04 20:21:38 -04:00
Chavoosh Ghasemi
4d36ed5889
chunks: Print summary for all pipeline types
...
refs #4299
Change-Id: Ia8f7d2a57a030fef6e1d6b2d75c9d03af679a724
2017-10-31 23:17:31 +00:00
Davide Pesavento
1928024363
ci: add Xcode 9.0 to Travis-CI build matrix
...
Change-Id: I57cb563e442d81162f23dfb2561099851d668637
2017-10-20 01:51:49 -04:00
Alexander Afanasyev
eacd617151
Prepare release 0.5
...
Change-Id: I196869398c577fb0f1c702218a22bc90dd0d3716
Refs: #4275
ndn-tools-0.5
2017-10-17 09:57:47 -04:00
Alexander Afanasyev
11e74eb20f
build: Add -isystem and set specialized flags as a last configuration step
...
This change prevents global flags from interacting with library/feature
detection scripts.
Change-Id: Ib7b1d230f77668cad31cffdd18962cba41c856e9
Refs: #4296
2017-09-22 12:56:21 -04:00
Davide Pesavento
b5e06e6658
ci: add clang-5.0 build job to Travis-CI
...
Change-Id: I35807fe2befbea21579cb348dde914732269bbb1
2017-09-19 18:54:29 -04:00
Davide Pesavento
6f76afcf06
chunks: refactor Producer options handling
...
Change-Id: I10331ad9fa33cce1133bc3270cadf65b3e31c93b
2017-09-19 18:43:51 -04:00
Davide Pesavento
06807dcdb4
chunks: drop pointless init of virtual base from abstract class
...
Change-Id: I8d47dc5bdcb1d12f808d729d71a2bbdc0b87daf4
2017-09-19 15:54:52 -04:00
Davide Pesavento
887336ca8d
chunks: declare DiscoverVersion destructor virtual
...
The concrete subclasses are deleted polymorphically
through a unique_ptr<DiscoverVersion>.
Also add -Wnon-virtual-dtor to the default CXXFLAGS
to prevent this from happening in the future.
Change-Id: If00a99566a54c7af4cd27df6fe68dcdef4cb4e82
2017-09-19 15:25:23 -04:00
Klaus Schneider
7072e1604a
ndncatchunks: Reduce initial timeout of iterative version discovery
...
Reduce the default timeout to 300ms.
Provide a parameter '--discovery-timeout' to raise it, if necessary.
Reduce the number of timeouts for version discovery from 2 to 1.
refs: #4291
Change-Id: I459645ab074ed9b15a74baed39f45903fcb31ff1
2017-09-17 11:51:19 -07:00
Klaus Schneider
59ec95a15e
ndnputchunks: display some output by default.
...
Will display some messages without the need of the '-v' parameter.
'-v' still adds the additional output per incoming Interest.
Also adds '-q' flag to disable all output except errors.
refs: #4286
Change-Id: I81116182403cd3f3e9d9bd63be64c1ff3a4552ee
2017-09-15 22:21:02 -07:00
Davide Pesavento
0ebecab714
chunks: fix build with clang-5.0
...
Change-Id: Ic856ba6cf0437d935a65f1fd258b1bad16810701
2017-09-12 15:54:15 -04:00
Eric Newberry
6035cd5907
docs: change license boilerplate opener to /*
...
refs #4163
Change-Id: I8043bbb0d0675469b980522a027a3dbbe9294106
2017-08-28 02:07:34 -07:00
Davide Pesavento
07238e844c
ci: stop installing cryptopp/crypto++
...
Change-Id: I5c24e4e257f8ebf1550d0eaa1cfe6697d3f50a1c
Refs: #3946
2017-08-26 13:21:57 -04:00
Davide Pesavento
c07027069f
Fix compilation with Boost 1.65.0
...
Also sync default-compiler-flags.py with NFD
Change-Id: Ib39118567428e8fe2ac73f2b7cbd96fe1a9598b8
Refs: #4259 , #4248
2017-08-25 23:43:02 -04:00
Davide Pesavento
44660cf226
ci: use two parallel build jobs on Travis-CI
...
Change-Id: I734c5826f37e1027484ef9723933e8954dba00a8
2017-08-16 00:44:23 -04:00
Davide Pesavento
5485ca9ce2
ci: preserve PATH when running waf under sudo
...
Change-Id: I090dd49d1d8f78007b1b7684af7563fbedac770a
Refs: #4186
2017-08-13 21:58:39 -04:00
Davide Pesavento
bf28cd76ee
tests: remove obsolete makeLink helper function
...
This is a quick fix for a build error caused by the removal
of some deprecated functions from ndn-cxx.
Change-Id: I4df5bdd426743774b08f5966eed28a27f2af1279
Refs: #4055
2017-08-13 21:55:14 -04:00
Junxiao Shi
a5b60cc017
peek: transform Link into ForwardingHint
...
refs #4055
Change-Id: I7b06e1882809ec9edde8447d82db2257431504a3
2017-07-26 01:35:48 +00:00
Junxiao Shi
f860649549
chunks: switch to v2::ValidatorNull
...
refs #4089
Change-Id: If23ca4d202ad1b61ee1e56ba0e15a8750c184e03
2017-07-23 03:44:34 +00:00
Junxiao Shi
c9575a6aa3
tests: include ndn-cxx/net/ethernet.hpp
...
It has been renamed from ndn-cxx/util/ethernet.hpp.
refs #3940
Change-Id: I1a35d4f8bd1a188e023ba6ee12e7e4f8e179c2c4
2017-07-01 06:16:02 +00:00
Davide Pesavento
f085ed10e5
ci: greatly expand Travis-CI build matrix
...
Change-Id: I2455e2751db9cd4f660c38ad4696925b1fda5cd8
2017-06-30 14:59:52 -04:00
Davide Pesavento
1eecc17e16
ci: speed up Travis-CI osx jobs by upgrading only the packages we need
...
Change-Id: I624f06b456357235648ff75f5158e6d694be2cb3
2017-06-24 14:30:42 -04:00
Davide Pesavento
dd0e1959bb
build: sync default-compiler-flags.py with ndn-cxx
...
- explicitly require clang >= 3.4
- move -Og to basic debug flags (supported by clang since 4.0)
- use gold linker and enable linker optimizations
Change-Id: I26d8d6d6ea16b1878831cb3a7259541e147b8b0e
2017-06-24 13:37:13 -04:00
Ashlesh Gawande
70750cf10d
ci: check boost version change on OSX
...
refs #3321
Change-Id: I40d572c74257ddd104a2dcd803d8ea7dfb7d8fe7
2017-05-27 17:10:34 +00:00
Junxiao Shi
20b2297739
ping+tests: switch to ndn-cxx KeyChain v2
...
refs #4089
Change-Id: I21b3b09acdea9c1de61a14e2652b4fa763f2a7a0
2017-05-25 22:37:43 -07:00
Eric Newberry
bfd66ade98
tests: use new default value of ChildSelector
...
refs #3944
Change-Id: Ic233da39fb516e0ece871c16415398362f087868
2017-05-25 00:35:05 -07:00
Davide Pesavento
931dfe8a63
ci: improve lcov HTML output
...
In particular, demangle C++ symbols in the function coverage view.
Change-Id: I882a88fda77c468e26b935ad6088b4254e875151
2017-04-29 20:33:45 -04:00
Alexander Afanasyev
339161aca3
Prepare release 0.4
...
Change-Id: Id00ffc0edb4b3fa0bb4826f3e48af21e982955d4
ndn-tools-0.4
2017-01-22 12:02:58 -08:00
Davide Pesavento
958896e4c0
chunks: more cleanups to enhance code readability
...
Change-Id: I451d3c484dd476682ccb1be1f26535e18a34ab87
2017-01-20 15:56:36 -05:00
Davide Pesavento
92998fe2e1
chunks: respect common options in AIMD pipeline
...
Change-Id: Ic759950be9b6335efa2119c4cfbd22e3911b69ab
2017-01-20 15:55:54 -05:00
Eric Newberry
716ab60f05
build+ci: add code coverage support
...
This commit also adds GlobalConfigurationFixture to ensure that running
unit tests doesn't interact with system configuration (e.g., doesn't use
or alter user certificates).
Change-Id: I621ce14425a777c94d41b8132cd2858d91235b4d
Refs: #3808
2017-01-18 17:37:05 -08:00
Davide Pesavento
bf1c069b7f
chunks: code cleanups
...
* Introduce getSegmentFromPacket() helper function
* Use signed arithmetic for some quantities to avoid conversion issues
* Move start time handling to PipelineInterests base class
Change-Id: I275acac1ad93e4a72374d03fad0a1d7348d70976
2017-01-16 02:35:59 -05:00
Davide Pesavento
cd65c2c204
chunks: don't blindly call Scheduler::cancellAllEvents()
...
Instead, keep track of the event we schedule and cancel only that one.
Change-Id: I9a2ae73073537bb1b67bceef85670add741cd542
2017-01-15 16:47:01 -05:00
Alexander Afanasyev
dc304c21b7
ci: Fix macOS build with Travis-CI
...
Change-Id: Iabdfd71c4ba8b3c35f6de117da3b42b61cb1dc4e
2017-01-11 13:29:39 -08:00
Alexander Afanasyev
1b05b0a8fb
pib: Disable PIB tool by default, it needs refactoring
...
Change-Id: Ib441ba491428c2f7531ff27545d8eeee4c1efb69
2017-01-11 09:56:50 -08:00
Eric Newberry
59869d2d9c
build: derive version string at build-time
...
refs #2749
Change-Id: Id1d164ff4b1fd5c7e9440a241ab299661ed933c4
2017-01-08 22:33:46 -08:00
Eric Newberry
82ea0fa9a0
docs: add missing dependency libpcap-dev to INSTALL.md
...
refs #3623
Change-Id: If14220787aeb5dad9fc88f3dfa629118b222adda
2016-12-28 21:44:44 -07:00
Eric Newberry
9737aa886b
ci: speed up code-coverage jobs
...
refs #3809
Change-Id: Ia811a5ca79ba9aa30744aa2269f681528446445f
2016-12-28 01:20:24 -07:00
Eric Newberry
f162839c11
ping: remove potential divide-by-zero in StatisticsCollector
...
refs #3504
Change-Id: I38c1a5079e2884e53a4fff2311c98b553f42c2a3
2016-12-26 17:25:03 -07:00
Junxiao Shi
022bddf47d
dump: recognize LINUX_SLL link-type
...
refs #3061
Change-Id: Idf50a70f17a1c9ffedbed5697ca11070d35e95a3
2016-11-24 23:15:20 +00:00
Junxiao Shi
1c71bcdcd7
dump: minor error message fix
...
refs #3683
Change-Id: I40b89fcfb93e469006f24764786fc70331671b21
2016-11-24 04:00:42 +00:00
Junxiao Shi
5e384792db
dissect-wireshark: display Nonce value only
...
Previously, TLV-TYPE and TLV-LENGTH are incorrectly included in Nonce row.
refs #3107
Change-Id: I101c8d2962ddb81230c653ae95ff50e5f45a8c43
2016-11-24 03:59:06 +00:00
Junxiao Shi
3ebb9cb728
dissect: warn when specified file cannot be opened
...
refs #3539
Change-Id: Ife650100469e1123f0f6610a25422e98020f1f49
2016-11-23 14:58:55 +00:00
Zipeng Wang
574eeb05dd
dissect-wireshark: Add initial support for NDNLPv2 packet dissecting
...
Change-Id: I813bc4d600e69bef07d6b79a3a461b00941b1eb8
Refs: #3197
2016-11-18 12:28:36 +09:00
Eric Newberry
e16bc31651
build: load sanitizers last in wscript to prevent boost link failure
...
refs #3828
Change-Id: I52c93e8c75c4690314fdb4767a5427cf9f9c225a
2016-11-04 01:00:27 +00:00
Weiwei Liu
245d791ef7
chunks: AIMD congestion control
...
refs #3636
Change-Id: Ia5e601201219048eb5c745bba9627e4916dac31a
2016-11-01 21:26:01 -07:00
Eric Newberry
2547a5288d
ci: set Travis CI Xcode version and update NODE_LABELS to 10.11
...
refs #3833
Change-Id: I23c9f7aa0957ee445a591d20a5a1b5e87cdf9165
2016-10-31 16:05:51 -07:00
Davide Pesavento
6a2b3dab98
ci: ensure XML test reports do not clobber the output of previous runs
...
Change-Id: I5ad31d571d296b6cd85012786ab3d4370f98fbea
Refs: #3750
2016-10-15 04:10:37 +00:00