#
337561 |
|
10-Aug-2018 |
kevans |
MFC r337549: libnv: Remove -I${SRCTOP}/sys
This should have been done as part of r336019 -- including ${SRCTOP}/sys is not a good business model for something that's build in legacy/bootstrap stages.
Beyond that, libnv seems to build quite alright as legacy, part of buildworld, and standalone without. Axe it.
Approved by: re (bdrewery)
|
#
336345 |
|
16-Jul-2018 |
kevans |
MFC r304908-r304909
r304908: Add cnv API.
cnv API is a set of functions for managing name/value pairs by cookie. The cookie can be obtained by nvlist_next(), nvlist_get_parent() or nvlist_get_pararr() function. This patch also includes unit tests.
Submitted by: Adam Starak <starak.adam@gmail.com>
r304909: Fix style issue in the cnv API. Remove unused arguments in a macro. Remove unused typedef.
|
#
313538 |
|
10-Feb-2017 |
ngie |
MFC r312452-r312512:
r312452-r312512:
- Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output
- Use .CURDIR:H instead of .CURDIR to simplify pathing in output, etc
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
298107 |
|
16-Apr-2016 |
gjb |
Merge the projects/release-pkg branch to head.
This allows packaging the base system with pkg(8), including but not limited to providing the ability to provide upstream binary update possibilities for non-tier-1 architectures.
This merge is a requirement of the 11.0-RELEASE, and as such, thank you to everyone that has tested the project branch.
Documentation in build(7) etc. is still somewhat sparse, but updates to those parts will follow.
Sponsored by: The FreeBSD Foundation
|
#
296129 |
|
26-Feb-2016 |
bdrewery |
Remove WARNS inherited fine by ../Makefile.inc.
Sponsored by: EMC / Isilon Storage Division
|
#
285139 |
|
04-Jul-2015 |
oshogbo |
Move the nvlist source and private includes from sys/kern to seperate directory sys/contrib/libnv.
The goal of this operation is to NOT install header files which shouldn't be used outside the nvlist library.
Approved by: pjd (mentor)
|
#
285129 |
|
04-Jul-2015 |
oshogbo |
Move nvlist documentation to the FreeBSD Kernel Developer's sections.
Approved by: pjd (mentor)
|
#
285063 |
|
02-Jul-2015 |
oshogbo |
Let the nv.h and dnv.h includes be only in sys directory.
Change consumers to include those files from sys. Add duplicated files to ObsoleteFiles.
Approved by: pjd (mentor)
|
#
284421 |
|
15-Jun-2015 |
bapt |
Revert r284417 it is not necessary anymore
|
#
284417 |
|
15-Jun-2015 |
bapt |
Enforce overwritting SHLIBDIR
Since METAMODE has been added, sys.mk loads bsd.mkopt.mk which ends load loading bsd.own.mk which then defines SHLIBDIR before all the Makefile.inc everywhere.
This makes /lib being populated again.
Reported by: many
|
#
282312 |
|
01-May-2015 |
oshogbo |
Add nvlist_flags() function, which returns nvlist's public flags.
Approved by: pjd (mentor)
|
#
282304 |
|
01-May-2015 |
oshogbo |
Sort MLINKS alphabetically.
Approved by: pjd (mentor)
|
#
282257 |
|
29-Apr-2015 |
oshogbo |
Remove the nvlist_.*[fv] functions.
Those functions are problematic, because there is no way to report memory allocation problems without complicating the API, so we can either abort or potentially return invalid results. None of which is acceptable.
In most cases the caller knows the size of the name, so he can allocate buffer on the stack and use snprintf(3) to prepare the name.
After some discussion the conclusion is to removed those functions, which also simplifies the API.
Discussed with: pjd, rstone Approved by: pjd (mentor)
|
#
279439 |
|
28-Feb-2015 |
rstone |
Move libnv into the kernel and hook it into the kernel build
Differential Revision: https://reviews.freebsd.org/D1883 Reviewed by: jfv MFC after: 1 month Sponsored by: Sandvine Inc.
|
#
279434 |
|
28-Feb-2015 |
rstone |
Add function to force an nvlist into the error state
Add an nvlist_set_error() function that can be used to force an nvlist into the error state. This is useful both for writing tests and for writing APIs that use nvlists internally.
Differential Revision: https://reviews.freebsd.org/D1878 Reviewed by: pjd, jfv MFC After: 1 month Sponsored by: Sandvine Inc.
|
#
277926 |
|
30-Jan-2015 |
pjd |
Add missing nvlist_get_parent(3) link.
Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org>
|
#
273752 |
|
27-Oct-2014 |
jmg |
fix typo, properly install a link to nv for nvlist_freev...
|
#
271241 |
|
07-Sep-2014 |
ngie |
Include src.opts.mk after SHLIBDIR has been defined so libnv is installed to /lib , not /usr/lib
MFC after: 3 days Approved by: rpaulo (mentor) Submitted by: antoine Pointyhat to: me Phabric: D739
|
#
269603 |
|
05-Aug-2014 |
ngie |
Integrate lib/libnv into the build/kyua
Rename all of the TAP test applications from <test> to <test>_test to match the convention described in the TestSuite wiki page
Phabric: D538 Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division
|
#
258065 |
|
12-Nov-2013 |
pjd |
Bring in libnv library for managing name/value pairs. The following types are currently supported:
- NV_TYPE_NULL - only name, no data; - NV_TYPE_BOOL - boolean (true or false); - NV_TYPE_NUMBER - 64bit unsigned integer; - NV_TYPE_STRING - C string; - NV_TYPE_NVLIST - nested nvlist; - NV_TYPE_DESCRIPTOR - file descriptor; - NV_TYPE_BINARY - binary data.
For detailed documentation and examples see nv(3) manual page.
Sponsored by: The FreeBSD Foundation
|