Home | History | Annotate | Download | only in libprop
History log of /src/common/lib/libprop/prop_dictionary_util.3
RevisionDateAuthorComments
 1.10  06-Jun-2020  thorpej Improvements to the problib(3) API:

==> Provide a much more complete set of setters and getters for different
value types in the prop_array_util(3) and prop_dictionary_util(3)
functions.

==> Overhaul the prop_data(3), prop_number(3), and prop_string(3) APIs
to be easier to use and less awkwardly named, Deprecate the old
awkward names, and produce link-time warnings when they are referenced.

==> Deprecate mutable prop_data(3) and prop_string(3) objects. The old
APIs that support them still exist, but will now produce link-time
warnings when used.

==> When the new prop_string(3) API is used, strings are internally
de-duplicated as a memory footprint optimization.

==> Provide a rich set of bounds-checked gettter functions in and a
corresponding set of convenience setters in the prop_number(3) API.

==> Add a new prop_bool_value(3) function that is equivalent to
prop_bool_true(3), but aligned with the new "value" routines in
prop_data(3), prop_string(3), and prop_number(3).
 1.9  12-Feb-2017  abhinav branches: 1.9.12;
Use .Fn to refer a function name instead of Nm.
Also, use Xr to refer problib(3) in the HISTORY section instead of Nm.

While parsing the man pages, any .Nm occurrence gets replaced by the
value specified in the NAME section. Referencing individual function
names with .Nm was causing makemandb(8) to replicate the complete
NAME section for every such occurrence. This was leading to an
ugly looking snippet in apropos(1)'s output when searched for
any of these man pages.
 1.8  17-Oct-2011  wiz branches: 1.8.26; 1.8.30;
Add missing Nd.
 1.7  07-Aug-2011  jmcneill prop_dictionary_get_dict: last argument is prop_dictionary_t *, not bool *
 1.6  27-Mar-2011  wiz Fix a typo and a punctuation nit.
 1.5  24-Mar-2011  bouyer Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quick&dirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@ and tech-net@ (long thread, but not much about
libquota itself ...)
 1.4  02-Jun-2008  haad Fix typo.

OK by martin@.
 1.3  30-Apr-2008  martin branches: 1.3.2;
Convert TNF licenses to new 2 clause variant
 1.2  16-Aug-2007  thorpej branches: 1.2.8;
boolean_t -> bool
TRUE -> true
FALSE -> false
 1.1  26-Oct-2006  thorpej branches: 1.1.2; 1.1.4; 1.1.16;
- Add prop_dictionary_all_keys(). Takes a snapshot of a dictionary's
keys and returns them in an array. This effectively allows a caller
to mutate a dictionary while iterating over it (really, you iterate
over the array of keys instead of the dictionary itself).
- Add a slew of utility functions that make it more convenient (in some
circumstances, anyway) to get/set values in a dictionary.
 1.1.16.1  24-Sep-2008  bouyer pullup the following revisions, requested by joerg in ticket 904
(the previous processing of 904 was incomplete):
common/lib/libprop/prop_array.3 1.5
common/lib/libprop/prop_bool.3 1.3
common/lib/libprop/prop_data.3 1.4
common/lib/libprop/prop_dictionary.3 1.8
common/lib/libprop/prop_dictionary_util.3 1.2
common/lib/libprop/prop_ingest.3 1.3
common/lib/libprop/prop_number.3 1.7
common/lib/libprop/prop_object.3 1.6
common/lib/libprop/prop_string.3 1.4
boolean_t -> bool
TRUE -> true
FALSE -> false
Fixes PR lib/38013.
 1.1.4.1  24-Sep-2008  bouyer pullup the following revisions, requested by joerg in ticket 904
(the previous 904 processing was incomplete):
common/lib/libprop/prop_array.3 1.5
common/lib/libprop/prop_bool.3 1.3
common/lib/libprop/prop_data.3 1.4
common/lib/libprop/prop_dictionary.3 1.8
common/lib/libprop/prop_dictionary_util.3 1.2
common/lib/libprop/prop_ingest.3 1.3
common/lib/libprop/prop_number.3 1.7
common/lib/libprop/prop_object.3 1.6
common/lib/libprop/prop_string.3 1.4
boolean_t -> bool
TRUE -> true
FALSE -> false
Fixes PR lib/38013.
 1.1.2.2  26-Oct-2006  thorpej - Add prop_dictionary_all_keys(). Takes a snapshot of a dictionary's
keys and returns them in an array. This effectively allows a caller
to mutate a dictionary while iterating over it (really, you iterate
over the array of keys instead of the dictionary itself).
- Add a slew of utility functions that make it more convenient (in some
circumstances, anyway) to get/set values in a dictionary.
 1.1.2.1  26-Oct-2006  thorpej file prop_dictionary_util.3 was added on branch newlock2 on 2006-10-26 05:02:13 +0000
 1.2.8.2  04-Jun-2008  yamt sync with head
 1.2.8.1  18-May-2008  yamt sync with head.
 1.3.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.8.30.1  21-Apr-2017  bouyer Sync with HEAD
 1.8.26.1  20-Mar-2017  pgoyette Sync with HEAD
 1.9.12.2  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.9.12.1  21-Apr-2020  martin Sync with HEAD

RSS XML Feed