The NetBSD Project

CVS log for src/common/lib/libprop/prop_dictionary_util.3

[BACK] Up to [cvs.NetBSD.org] / src / common / lib / libprop

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jun 6 21:25:59 2020 UTC (4 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +148 -18 lines
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).

Revision 1.9.12.2: download - view: text, markup, annotated - select for diffs
Tue Apr 21 19:37:51 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.9.12.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.12.1: +0 -0 lines
Ooops, restore accidently removed files from merge mishap

Revision 1.9.12.1
Tue Apr 21 18:41:24 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.9: +1 -1 lines
Sync with HEAD

Revision 1.8.30.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:50:42 2017 UTC (7 years, 8 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +5 -5 lines
Sync with HEAD

Revision 1.8.26.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:51:38 2017 UTC (7 years, 9 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +5 -5 lines
Sync with HEAD

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Feb 12 16:00:53 2017 UTC (7 years, 11 months ago) by abhinav
Branches: MAIN
CVS tags: tls-maxphys-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, ad-namecache-base3, ad-namecache-base, ad-namecache
Branch point for: phil-wifi
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -5 lines
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.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Oct 17 09:24:54 2011 UTC (13 years, 3 months ago) by wiz
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, localcount-20160914, khorben-n900, bouyer-socketcan-base, agc-symver-base, agc-symver
Branch point for: pgoyette-localcount, bouyer-socketcan
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1 lines
Add missing Nd.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Aug 7 11:33:03 2011 UTC (13 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
prop_dictionary_get_dict: last argument is prop_dictionary_t *, not bool *

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Mar 27 22:45:30 2011 UTC (13 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: cherry-xenmp-base, cherry-xenmp
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
Fix a typo and a punctuation nit.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Mar 24 17:05:39 2011 UTC (13 years, 9 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +16 -3 lines
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 ...)

Revision 1.1.16.1: download - view: text, markup, annotated - select for diffs
Wed Sep 24 18:06:46 2008 UTC (16 years, 3 months ago) by bouyer
Branches: netbsd-4-0
CVS tags: netbsd-4-0-1-RELEASE
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +29 -29 lines
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.

Revision 1.1.4.1: download - view: text, markup, annotated - select for diffs
Wed Sep 24 18:05:48 2008 UTC (16 years, 3 months ago) by bouyer
Branches: netbsd-4
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +29 -29 lines
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.

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:26:46 2008 UTC (16 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +2 -2 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.2.8.2: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:02:58 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.2.8.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.8.1: +2 -2 lines
sync with head

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jun 2 09:27:04 2008 UTC (16 years, 7 months ago) by haad
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, rmind-uvmplock-base, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Fix typo.

OK by martin@.

Revision 1.2.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:28:47 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -8 lines
sync with head.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Apr 30 13:10:46 2008 UTC (16 years, 8 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -8 lines
Convert TNF licenses to new 2 clause variant

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Aug 16 16:31:00 2007 UTC (17 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Branch point for: yamt-pf42
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +29 -29 lines
boolean_t -> bool
TRUE -> true
FALSE -> false

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Thu Oct 26 05:02:13 2006 UTC (18 years, 2 months ago) by thorpej
Branches: newlock2
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +193 -0 lines
- 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.

Revision 1.1.2.1
Thu Oct 26 05:02:12 2006 UTC (18 years, 2 months ago) by thorpej
Branches: newlock2
FILE REMOVED
Changes since revision 1.1: +0 -193 lines
file prop_dictionary_util.3 was added on branch newlock2 on 2006-10-26 05:02:13 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Oct 26 05:02:12 2006 UTC (18 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-idlelwp-base8, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: newlock2, netbsd-4-0, netbsd-4
- 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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>