Alexander Afanasyev
a6bd7da559
build: Remove unnecessary std::ref, causing compilation issues with Boost 1.70.0
...
Refs: #4923
Change-Id: Idba1abe89161b11b1ec80fdceac51e2b00ed507b
2019-04-26 10:49:02 -04:00
Alexander Afanasyev
99a7ce1363
core: Fix compilation error when privilege drop is not supported
...
Refs: #4833
Change-Id: I2ccc80b31eb5642d66b28e205143243e006f18ca
2019-02-05 14:38:19 -05:00
Alexander Afanasyev
77cddbc978
Prepare release 0.6.5
...
Change-Id: I2cc63230fd6b949cfae763a7a1cbeb03ea1d6400
Refs: #4821
2019-02-04 13:31:06 -05:00
Alexander Afanasyev
c38219e208
build: Upgrade waf build system to version 2.0.14
...
Version 2.0.6 had some strange issues with Python 3.7.2 on macOS with
Homebrew.
Change-Id: I1f61c343cbef37db0dbf3fe8b4b291afd84bc0f0
2019-01-30 05:32:53 -08:00
Alexander Afanasyev
407d569821
Prepare release 0.6.4
...
Change-Id: I5f72c2fbf2a2ec86c108a47b4c854b069267276b
2018-10-19 10:25:29 -04:00
Alexander Afanasyev
3c0c035609
rib: Avoid use of orphaned ValidationPolicyConfig
...
Change-Id: Id1fa969a2e4b3c88a21cacdbbeda32d17834fe6f
Refs: #4759
2018-10-17 12:00:17 -04:00
Alexander Afanasyev
a46d41df0e
Prepare release 0.6.3
...
Change-Id: I004e5609f26186ad270bbe5f2015052a7c2be89a
Refs: #4727
2018-09-18 08:52:46 -07:00
Alexander Afanasyev
782a1d1621
Prepare release 0.6.2
...
Change-Id: I50c8479efa4fff6244f50555d8ff552530bc4509
Refs: #4564
2018-05-03 15:00:14 -04:00
Alexander Afanasyev
ded17426c6
face: Configurable IP subnets for "local" TCP faces
...
Change-Id: Idaddfe4b2c304b552d2e132235f4c3d3e6c2ebcb
Refs: #4546
2018-04-11 19:23:41 -04:00
Alexander Afanasyev
e4d745d41f
core: Add IpAddressPredicate for white-/blacklisting IP address subnets
...
Change-Id: I9f67c4bcbc55e8a8de0bb70812c5562ba083c948
Refs: #4546
2018-04-10 19:28:07 -04:00
Alexander Afanasyev
3bdc1decf6
core: Add support for IPv6 subnets in Network::isValidCidr
...
This change effectively adds support for IPv6 subnets in white-/blacklists
of NetworkInterfacePredicate
Change-Id: I1962100329d398b4659c4d1a4a0975fa354af026
Refs: #4546
2018-04-09 19:25:14 +00:00
Alexander Afanasyev
0c63c63ed7
build: Fix build when std::to_string is not available
...
Change-Id: If34fcebe17bd7e3de23655680957fa6e0df27676
Refs: #4393
2017-12-05 11:27:41 -05:00
Alexander Afanasyev
84dd4ca348
Prepare release 0.6.0
...
Change-Id: I0a80e05ddf5e3b98544bf56575e13efae22ccb5b
Refs: #4275
2017-10-15 17:47:06 -04:00
Alexander Afanasyev
847de408cb
build: Add warning for non-virtual destructor and fix discovered issues
...
Change-Id: I1d67b9b63d84d8524580e80ac06c3efef860c56a
2017-09-22 15:00:29 -04:00
Alexander Afanasyev
b5220706c6
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: Id4d1d3f6cba6672ef04309b881bcff36a106f236
Refs: #4296
2017-09-22 15:00:03 -04:00
Alexander Afanasyev
38fb251c44
Update security section in sample config for V2 certificate
...
Change-Id: I50225d5019040a85e6df3584fb48b6b6386ed56d
Refs: #4276
2017-09-17 18:33:44 -07:00
Alexander Afanasyev
01bbd09ed8
tools: delete nfdId from 'nfdc status' output
...
refs #4089
Change-Id: I95f8a4346b2c4601acdc63daac20259b076a1d7e
2017-08-14 23:56:19 +00:00
Alexander Afanasyev
635bf20ef5
Remove use of deprecated code
...
Notably, faces/enable-local-control and faces/disable-local-control
management commands are removed in this commit.
Change-Id: I9ba45c9697eca418315c1c749a3c0c602a36f34e
Refs: #3988
2017-03-09 21:57:34 +00:00
Alexander Afanasyev
19e2e6d858
docs+build: Prepare release 0.5.1
...
Change-Id: If6c2cf06d604c6541bedec6cf87731f1f593eae4
Refs: #3859
2017-01-25 16:16:33 -05:00
Alexander Afanasyev
16320cd28b
ci: Fix macOS build with Travis-CI
...
Change-Id: Iabdfd71c4ba8b3c35f6de117da3b42b61cb1dc4e
2017-01-06 04:22:46 +00:00
Alexander Afanasyev
465056e9c6
ci: Fix bug with coverage report generation
...
Many files were missing from the report because the build path was
excluded.
Change-Id: Ia7ecdf4a81b8d37cff6c3fd14c5de3407648d91c
2016-12-30 16:19:46 -08:00
Alexander Afanasyev
2a00194316
tools: Add NDN-FCH stage (service to get "closest" NDN hub) to ndn-autoconfig
...
Change-Id: Ia2b0bf93d3d25b45713eeba58924e64871715bdb
Refs: #3800
2016-12-18 15:08:13 -08:00
Alexander Afanasyev
436f3bd9fe
build: Do not fail the build in debug mode when using deprecated declarations
...
The original motivation of this change was to avoid compilation failure
in debug mode on macOS 10.12.
Change-Id: I15437050555646b2458989f3788fce4c1e354e48
Refs: #3795
2016-10-13 16:42:59 -07:00
Alexander Afanasyev
67019110d7
docs+build: Prepare for version 0.5.0 release
...
Change-Id: I0f7fbd26d6d3f22c1d14ff10b53c1276abe0aa0c
Refs: #3762
2016-10-04 16:51:28 -07:00
Alexander Afanasyev
0fc97486ff
build: Do not fail build when -Winfinite-recursion warning is generated
...
Change-Id: I6370a0a5a938de15924f8e139ea34b32ed20e063
Refs: #3358
2016-09-13 18:33:15 +00:00
Alexander Afanasyev
6459e64f36
core: initialize Boost.Log backend through ndn-cxx
...
ndn-cxx logging facility and NFD logging both use Boost.Log.
When each of ndn-cxx and NFD adds a std::clog sink, messages are
appearing twice on OS X, resulting in scrambled log output.
This commit removes NFD's Boost.Log backend initialization and
let ndn-cxx logging facility initialize Boost.Log.
Change-Id: Ib25efe5c924d530424c275f9c8f168683f4ef039
Refs: #3761
2016-09-12 10:01:36 -07:00
Alexander Afanasyev
a269f47bc7
docs: Fix syntax for python3
...
Change-Id: I52fc914f462a87efae49115827163db09a5212d1
2016-08-31 18:59:55 -07:00
Alexander Afanasyev
3d1874af59
build: Adjust order of link flags
...
The previous order of flags (unintentionally) had `-lboost_log` flag
specified before `-lndn-cxx`. Incidentally, the order adjustment avoids
a symbol collision between the two libraries that prevented nfd-status
and nfdc from working on Ubuntu 14.04. A proper fix will follow (see #2859 ).
Change-Id: I68a5d37b013c1bf91b25e707a04ab1f66298a7f4
Refs: #3650
2016-06-19 12:30:15 -07:00
Alexander Afanasyev
6ca6cf7474
core: Specify fully-qualified namespaces in logging macros
...
Without the full specification, compilation may fail if the logging
used outside ::nfd namespace, e.g., in NFD tools.
Change-Id: I24d733acf920bc90521ac457ae1fe6c846a1fe3e
2016-06-17 16:24:01 -07:00
Alexander Afanasyev
67079664ae
ci: Add installation of openssl dependency
...
Change-Id: Iea19a3a617d770687b4f131a068601255a6c94cf
Refs: #3643
2016-06-15 12:36:08 -07:00
Alexander Afanasyev
e0d71b0bc0
build+tests: Correct detection of privilege elevation/drop and the corresponding test case
...
Change-Id: I005c2846474a00aeeb3e63a1e9761a3f8bc0a572
Refs: #3494 , #3632 , #3633
2016-05-25 19:07:11 -07:00
Alexander Afanasyev
6602b3b179
ci: Update Travis-CI to use Ubuntu Linux 14.04 (trusty) and OS X 10.9 VMs
...
Due to resource constraints, this commit also makes Travis-CI to build
only once (debug, without precompiled headers, with tests).
Change-Id: I65ec64bca545093efae384dd00b51bbeaf7d9b65
Refs: #3360
2016-04-26 18:43:19 -07:00
Alexander Afanasyev
58d479cd4a
docs+build: Prepare release of version 0.4.1
...
Change-Id: I03fc06c2b2f5be87e86a1fa1ab6eca83e8cc07a0
Refs: #3385
2016-03-24 14:00:09 -07:00
Alexander Afanasyev
8509398137
build: Fix detection of Boost.Log compile flags
...
Change-Id: Ifdd5c485930a0bc50c1cbd76525947b001b44822
Refs: #2513
2016-03-11 13:44:37 -08:00
Alexander Afanasyev
e6f0e91590
build: Update boost tool
...
Change-Id: I4255b617c3f6b9dab068114aa01caaf5e2c22569
Refs: #2513
2016-03-03 11:03:16 -08:00
Alexander Afanasyev
dd7e5da016
build: Fix compatibility with Python 3
...
Change-Id: I7a1b98c38c2ed3a147c7b0e6c7b79d2723f2a3ba
Refs: #3493
2016-03-03 08:39:39 -08:00
Alexander Afanasyev
965f23dd61
docs: Add licensing statements for NFD and third-party components
...
Change-Id: I544499af303d020a4275fa8782b2b71656c766be
Refs: #3133
2016-02-23 16:33:15 -08:00
Alexander Afanasyev
bc9ed49a55
tests: Customize environment to run test cases
...
This commit minimizes the impact of running unit tests on the host
system. In particular, the test cases will have its own public info and
TPM.
Change-Id: Ic6e78ebd80dea920806ca1898caa6a2eac30348b
2016-01-26 22:41:16 -08:00
Alexander Afanasyev
3152abac67
ci: Fix unit test execution with boost 1.60
...
Change-Id: I461e634e5cdf022fed76ca6b92759b18b1d4aed6
Refs: #3417
2016-01-18 22:44:38 +01:00
Alexander Afanasyev
da3ba96430
docs+build: Prepare release of version 0.4.0
...
Change-Id: I3af73fed66b44d708532bbda146376b7f7487d28
Refs: #3008
2015-12-29 20:39:40 -08:00
Alexander Afanasyev
5c47597be9
tools: Automatically start ndn-autoconfig in nfd-start, if enabled in autoconfig.conf
...
Change-Id: I09d3fff87f00ce8684e6e304e8327f9d03ca18bf
Refs: #2716
2015-12-28 14:15:50 -08:00
Alexander Afanasyev
f22ebaf7f1
tests+ci: Enable dual XML and HRF output of unit test results
...
This commit also makes unit tests to run against a debug build, to
ensure assertions are properly evaluated (based on suggestion
in I5f4419ea48d4eb333e9d107115ef3df4123f76e5).
Change-Id: I1bbf14f75aab155ed80a36fc4006f7a5d13f1289
Refs: #2252 , #2805
2015-12-21 13:50:29 -08:00
Alexander Afanasyev
bd916ad7fc
docs: Predefine missing DECL_FINAL macro in doxygen configuration file
...
Change-Id: Ic7e161bba091b49fe507f913259f53f44d49e862
2015-11-25 17:26:29 -08:00
Alexander Afanasyev
abb307c9c5
docs: Fix doxygen links in release notes and displayed version
...
Change-Id: Ic1ee22e2607f5ab11c38a9adcaabc27a602c65ae
Refs: #3252
2015-10-26 10:11:02 -07:00
Alexander Afanasyev
ba81830e81
docs+build: Prepare release of version 0.4.0 (beta2)
...
Change-Id: I9c9fe4a9f43d31be9e60fd743699f8729d1ccc4c
Refs: #3252
2015-10-22 11:34:58 -07:00
Alexander Afanasyev
b755e9d5a7
docs: Fixing doxygen warnings
...
Change-Id: Ic85f86f4de8224e2fa5d1c41f6afb0f367af5b37
Refs: #3210
2015-10-22 11:34:56 -07:00
Alexander Afanasyev
964d4598ef
tests: Fix compilation against boost 1.59
...
Change-Id: Id539021a6c317425b162be33d220e2a8fe574899
2015-10-09 13:03:19 -07:00
Alexander Afanasyev
f9572e8439
build: Fix compilation with boost 1.59
...
Change-Id: Ib2f72a770effa4a35ad6d21585ddc1043a89ac02
Refs: #3227
2015-10-01 16:20:58 -07:00
Alexander Afanasyev
687dba8614
docs+build: Prepare release of version 0.4.0
...
Change-Id: Ibd3129da74afa24a35115789a517e562f0a12639
Refs: #3178
2015-09-27 19:34:56 -07:00
Alexander Afanasyev
441ba2175e
daemon: Properly handle exception from NetworkMonitor when the platform doesn't support it
...
Change-Id: I713a6b6ebe4ac1e49f939325c7372954cb28e159
Refs: #3195
2015-09-17 16:50:56 -07:00
Alexander Afanasyev
435d705138
build: Fix compilation warnings/errors with clang-700.0.72 (apple LLVM 7.0.0)
...
Change-Id: Iedbebae03740a5d779c84e78d22b74dd9b9009f7
Refs: #3209
2015-09-17 15:10:25 -07:00
Alexander Afanasyev
483c43396c
Merge feature branch 'mgmt-refactoring'
...
Change-Id: I3f122ede5bcfbad40800d8dae440dfea887bb10e
Refs: #2107
2015-09-08 18:41:01 -07:00
Alexander Afanasyev
ecbf584299
mgmt refactoring: Correct ForwarderStatus publishing
...
Change-Id: I8207af814757b5f4ce3ea9b8bb66d7f5a369af2f
Refs: #2107
2015-09-08 17:25:23 -07:00
Alexander Afanasyev
2fc649bfc6
docs+build: Prepare release of version 0.3.4
...
Change-Id: I7e0276ce210cf5322fd5f3195821b3edee74fc64
Refs: #3132
2015-08-31 09:10:26 -07:00
Alexander Afanasyev
a714792b03
docs: Remove nrd manpage
...
Change-Id: Ib6185c5e32ccbe01ea3803e2e9fb50749ffc9bfe
Refs: #2489
2015-08-09 23:51:06 -07:00
Alexander Afanasyev
66c569ddcc
mgmt: Fix compilation and test cases when dropping privileges is not supported
...
Change-Id: I7da7eca3e5019dd5a7ed20b26f6e0c3260a03850
Refs: #3064 , #2447
2015-08-09 23:45:13 -07:00
Alexander Afanasyev
3f41ade02d
daemon: Reload face_system section of the config file when NIC configuration changes
...
The main desired effect of the reloading is re-creation of multicast
faces, e.g., when a new interface appears in the system.
Change-Id: I8384e5f96285ddca363981c92e1b6de39e0072ef
Refs: #2460
2015-08-07 12:17:14 -07:00
Alexander Afanasyev
a4527cc837
ci: Fix TravisCI script
...
Change-Id: Ic5d725eb825b7db71735f865852685830dacfffd
Refs: #3041
2015-07-15 22:39:20 +08:00
Alexander Afanasyev
b81cff966e
ci: Enable automatic dependency installation in Jenkins scripts
...
This commit also unifies TravisCI dependency installation using Jenkins
scripts.
Change-Id: Ia7bae2e2f31e781c07acea729d61fa07345760ab
Refs: #2843
2015-07-12 10:50:31 +08:00
Alexander Afanasyev
2666473042
docs+build: Prepare release of version 0.3.3
...
Change-Id: Ia53f820fb60e8a9ed5da0ac1667b8d10ef79c414
Refs: #2812
2015-07-01 11:23:12 -07:00
Alexander Afanasyev
dbe4f9fefe
tests: Fix compilation errors because of changes ndn-cxx library
...
Change-Id: I10fb7eb366a03c2e06e6d2efefdde8a9dd0da724
Refs: #2951
2015-06-28 11:24:51 -07:00
Alexander Afanasyev
692842d6ad
rib: Avoid deprecated nfd::CommandOptions::setSigningIdentity method
...
Change-Id: Id98538d96368c67ac1db939e0ad0fd43ec0c6ab9
Refs: #2893
2015-06-23 14:26:45 -07:00
Alexander Afanasyev
2d1b64066c
docs: Add missing item in the release notes for version 0.3.2
...
Change-Id: Iba4f70c2125a702905e11c1db7846495ef377a97
Refs: #2618
2015-05-12 21:15:06 -07:00
Alexander Afanasyev
ed808ab2c9
docs+build: Prepare release of version 0.3.2
...
Change-Id: I43223e09c2201c7d3185a3d8929a691ae963c5d1
Refs: #2618
2015-05-12 13:36:59 -07:00
Alexander Afanasyev
483d652d95
build: Disable precompiled headers on OS X with clang < 6.1.0
...
Change-Id: I4e88f35d6e649eb5b2eefef868ac29576e293877
Refs: #2804
2015-05-12 13:36:59 -07:00
Alexander Afanasyev
1c85221192
build: Update waf to version 1.8.9 (with custom patches)
...
https://github.com/cawka/waf/tree/2a098b1e9bc626c19cbd47c1f670758c17edf54c
Change-Id: I1e6c352f6ffa272e896391b983fee4cca7cdf8a6
Refs: #2792
2015-05-06 14:51:38 -07:00
Alexander Afanasyev
ce81230b09
build: Emulate std::to_string when it is missing
...
Change-Id: I4a08cf4abe7a2064a0c53d29582cbb761a1d131f
Refs: #2743
2015-04-14 23:37:03 -07:00
Alexander Afanasyev
cdb8f364c1
build: Tweak default pkg-config search paths
...
Change-Id: Id9b656104b00fd18c9302165b0eeeffd17f6c87a
Fixes : #2711
2015-03-31 17:19:35 -07:00
Alexander Afanasyev
e06b627f31
build: Update waf to version 1.8.8-dev (with custom patches)
...
https://github.com/cawka/waf/tree/8f714a523d3b8c66f2949aaa8db91d6f7be55e55
This patch also ensures that unused-local-typedef warning does not
generate errors.
Change-Id: I024438c338d0455df11508779c10a2737d25caab
Refs: #2209 , #2657
2015-03-26 14:36:02 -05:00
Alexander Afanasyev
8896478926
build: Update version number to 0.3.1
...
Change-Id: Ibbb64815f3d334c830bee734928813bbf99308bf
Refs: #2588
2015-03-03 20:10:59 -08:00
Alexander Afanasyev
58ad5d4dd7
docs: Prepare release notes for version 0.3.1
...
Change-Id: Ic7ff46a119f1dd5b898338ddc6673262aef026e0
Refs: #2588
2015-03-03 12:30:28 -08:00
Alexander Afanasyev
e84044e87d
tests: Fix segfault in TableNameTree test suite when all test logs are enabled
...
Change-Id: I0acb886d38a09b764cb3e324490a7c52b945d4fa
Refs: #2564
2015-02-27 11:31:19 -08:00
Alexander Afanasyev
4d384fcce5
tests: Revert changes to s_normalUid/s_normalGid in MgmtGeneralConfigSection test suite
...
If changes to s_normalUid/s_normalGid are not reverted, the subsequent call
to PrivilegeHelper::drop() will throw exception if test cases run by an
unprivileged user.
Change-Id: I27e8b159d61e1b5f6dd21879f36ed63667f5c045
Refs: #2521
2015-02-17 09:22:29 -08:00
Alexander Afanasyev
a4ff44ce6f
face: Update code to work with updated LocalControlHeader implementation
...
Change-Id: I3a73269ad30cfd8d7e366115aae08728f17c3b17
Refs: #2183
2015-02-16 11:40:06 -08:00
Alexander Afanasyev
90c20face8
face: Properly handle error conditions in UdpChannel::newPeer
...
Change-Id: Ia34eb738a6cc8977bbcba91f0055fe4623df4d32
Refs: #2516
2015-02-15 12:43:57 -08:00
Alexander Afanasyev
baba2535e1
face: Remove Tcp|UdpChannel::connect overloads that perform DNS resolution
...
Change-Id: Ib5da2a43d1e33654940aa42f568b6a604c171e3e
Refs: #2422
2015-02-15 12:43:57 -08:00
Alexander Afanasyev
c3ea5a7886
rib: Use only a forward declaration of RibManager in the header of Nrd class
...
Change-Id: I8a681dc9a75ac8cdabc289e685ec6a505cfb5aac
2015-02-15 12:43:57 -08:00
Alexander Afanasyev
2bda6f8d9c
daemon: Replace shared_ptr with unique_ptr in Nfd
...
Change-Id: I97d39ddb793abfe4552002c94778b95e6b96f869
Refs: #2496
2015-02-15 12:43:57 -08:00
Alexander Afanasyev
f08a7376e9
daemon+rib: Merge nrd and nfd into a single process (separate threads)
...
Change-Id: I41952d5b8ee29f109130c570e0d13ccad6970d2f
Refs: #2489
2015-02-15 12:43:49 -08:00
Alexander Afanasyev
63df436e5f
core: Make global random generator thread-local
...
Change-Id: Ib17ea05592445cf99af9726ef7799ead813ca0fe
Refs: #2489
2015-02-15 11:58:52 -08:00
Alexander Afanasyev
6b34ab9cec
core: Make logger thread-safe
...
Change-Id: Ic45dc0912da9c2e3f074d3f74921bfe33741bf63
Refs: #2489
2015-02-14 12:26:32 -08:00
Alexander Afanasyev
5d57f97fa7
core: Make global io_service and scheduler thread-local
...
Change-Id: I3d6b6cd3ca7a6e53b0dc0f4cae7a2f3270c7fd50
Refs: #2489
2015-02-14 12:25:19 -08:00
Alexander Afanasyev
9cfeecaa2f
core: Prevent exception throwing when dropping privileges is not supported and not requested
...
The exception still be thrown, if config file requests privilege dropping.
Change-Id: I856207958354410fa45da7ccc73b46b99f74d9e7
Refs: #2515
2015-02-12 16:44:24 -08:00
Alexander Afanasyev
6f570de8d7
core: Make PrivilegeHeper::drop|raise no-op operations on platforms that do not support drop/elevation of privileges
...
Change-Id: I13b53ba27cee59d58b816d060501499517e6dc37
2015-02-11 20:59:09 -08:00
Alexander Afanasyev
31367925c6
rib: Refactor initialization of NRD instance
...
This commit also makes Face used inside NRD be adaptive to nfd.conf.
More specifically, it will use the same unix socket path as specified in
face_system.unix section. If this section is not present, it will use
the same tcp port as specified in face_system.tcp section. If tcp
section is also absent, nrd will abort execution.
Change-Id: I48f75ddf972f259055cd61824e3c228ca1d6a639
Refs: #2496
2015-02-11 16:13:26 -08:00
Alexander Afanasyev
31c781e453
daemon: Refactor initialization of NFD instance
...
Change-Id: Ie4181a0b65e249c7067a11e941dcea77f010e4b1
Refs: #2496
2015-02-10 19:12:05 -08:00
Alexander Afanasyev
8269a05874
core: Allow customization of Logger and LoggerFactory
...
Change-Id: I48a8217ab4cfb34ce2993f11a26266723d8d2923
Refs: #2433
2015-02-10 19:12:04 -08:00
Alexander Afanasyev
95ff7112aa
tests: Fix compilation due to refactoring of EncodingImpl in ndn-cxx library
...
Change-Id: I3b96dd01fef810dfd2cd57d910a46f137a13879e
Refs: #2494
2015-02-10 19:11:33 -08:00
Alexander Afanasyev
c0273e3505
core: Extend ConfigFile to support passing a parsed ConfigSection
...
Change-Id: I955220c08d8e6ed07c77d82149f6ff3ae48b2b12
Refs: #2495
2015-02-09 13:33:45 -08:00
Alexander Afanasyev
3056e08c9e
docs: Update link to the right version of developer's guide
...
Change-Id: I6a39507df56141d648728bebc9f6305584ecb067
2015-02-03 16:00:31 -08:00
Alexander Afanasyev
7c10b3bdc8
docs: Prepare release notes for version 0.3.0
...
Change-Id: If0ae14cbf97ee3d9b92a3467d0b6592c10e66698
Refs: #2462 , #2352 , #2209
2015-02-02 19:21:57 -08:00
Alexander Afanasyev
ba3f79ec4f
tools: Ensure that ndn-autoconfig quits after successful discovery in non-daemon mode
...
Change-Id: Ifde24e1800faba630cafb7b04d034b916a6c069d
Refs: #2469
2015-02-02 15:37:20 -08:00
Alexander Afanasyev
e46279dc83
tools: Daemon mode for ndn-autoconfig (re-run detection when connectivity changes)
...
Change-Id: I3cb870b13ba60d255162862c7dd0053ec5b578c4
Refs: #2417
2015-01-31 21:16:39 -08:00
Alexander Afanasyev
748e9892da
build: Fix misdetection of privilege drop/elevation functions
...
Now detection uses an explicit code fragment
Change-Id: I209f8623f3db4f1c3574c09eb2770decc554a2e4
Refs: #2419
2015-01-28 15:43:59 -08:00
Alexander Afanasyev
bda8366ada
tools: ndn-autoconfig: Register also /localhop/nfd prefix towards the hub
...
Change-Id: Ia5f9ac5514470070160d32ed8883d3fa04d33e10
Refs: #2416
2015-01-28 14:17:46 -08:00
Alexander Afanasyev
2a655f70a1
tools: Refactoring ndn-autoconfig implementation
...
Change-Id: Ib92942ba40f04aaee83479177b9ba5d32a09af04
Refs: #2421
2015-01-28 14:17:10 -08:00
Alexander Afanasyev
262203b644
build: Support tools with multiple translation units
...
Change-Id: I95c7ec4c0923e59b2652c6bba4ed2c0f00aa71da
Refs: #2344
2015-01-27 18:14:10 -08:00
Alexander Afanasyev
49343f6fab
build: Add conditional compilation
...
Two conditionals are introduced in this commit:
- if <ifaddrs.h> is not available, NetworkInterface helper will always return
an empty set of interfaces
- If dropping/elevating effective user/group is not supported, an error
will be thrown if used (e.g., if general.user or general.group is
configured)
Both conditionals are necessary on Android platform.
Change-Id: Ib360e03514af97ed2d68032fbcbe279a8dc84682
2015-01-27 18:13:50 -08:00
Alexander Afanasyev
5d4c977f64
core: Use C version of snprintf
...
Change-Id: I7d6b6ce3bce7be2df8d004bbbf18bea43e8079d0
Refs: #2299
2015-01-27 11:05:45 -08:00
Alexander Afanasyev
76818632e0
build: Several updates of the build scripts
...
- Update of waf script (based on custom fork https://github.com/cawka/waf )
- Redesign the way default compile flags are determined.
This includes a small semantical change with flag processing:
* there are now "general" compiler and link flags. These are added (if
supported) even if CXXFLAGS and/or LINKFLAGS environmental variables
are set.
* optimization/debug-mode flags that are applied only if CXXFLAGS
and/or LINKFLAGS environmental variables are not set.
Change-Id: I6affeed08cc49bca28f076839e40ff790e57437b
Refs: #2209
2015-01-27 11:05:45 -08:00