Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 08/21/2006 04:13:29
Module Name: src
Committed By: thorpej
Date: Mon Aug 21 04:13:29 UTC 2006
Modified Files:
src/common/include/prop: Makefile prop_array.h prop_dictionary.h
prop_object.h proplib.h
src/common/lib/libprop: Makefile.inc prop_array.3 prop_array.c
prop_bool.c prop_data.c prop_dictionary.3 prop_dictionary.c
prop_number.c prop_object.3 prop_object.c prop_object_impl.h
prop_string.c
src/distrib/sets/lists/base: shl.mi
src/distrib/sets/lists/comp: mi
src/lib/libprop: Makefile shlib_version
Added Files:
src/common/include/prop: prop_ingest.h
src/common/lib/libprop: prop_ingest.3 prop_ingest.c
Log Message:
Several changes to proplib:
- Arrays can now be externalized and internalized in the same way
dictionaries can.
- Add new "externalize to file" and "internalize from file" functions
to make reading a property list from a file and writing a property
list to a file more convenient.
- Many assertions in the object implementations are gone. Instead,
calling an accessor for one object type with a different object type
as an argument will return a suitable "invalid" value.
- prop_object_type() now returns a new PROP_TYPE_UNKNOWN value if called
with a NULL object.
- Externalized property lists now contain a reference to the Apple XML
plist DTD.
- Add a new prop_ingest(3) facility, which provides a convenient way to
translate a dictionary into an arbitrary binary representation.
To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/common/include/prop/Makefile
cvs rdiff -r1.2 -r1.3 src/common/include/prop/prop_array.h \
src/common/include/prop/proplib.h
cvs rdiff -r1.3 -r1.4 src/common/include/prop/prop_dictionary.h \
src/common/include/prop/prop_object.h
cvs rdiff -r0 -r1.1 src/common/include/prop/prop_ingest.h
cvs rdiff -r1.2 -r1.3 src/common/lib/libprop/Makefile.inc \
src/common/lib/libprop/prop_data.c src/common/lib/libprop/prop_string.c
cvs rdiff -r1.3 -r1.4 src/common/lib/libprop/prop_array.3 \
src/common/lib/libprop/prop_array.c src/common/lib/libprop/prop_bool.c \
src/common/lib/libprop/prop_dictionary.3 \
src/common/lib/libprop/prop_number.c src/common/lib/libprop/prop_object.3 \
src/common/lib/libprop/prop_object.c \
src/common/lib/libprop/prop_object_impl.h
cvs rdiff -r1.8 -r1.9 src/common/lib/libprop/prop_dictionary.c
cvs rdiff -r0 -r1.1 src/common/lib/libprop/prop_ingest.3 \
src/common/lib/libprop/prop_ingest.c
cvs rdiff -r1.364 -r1.365 src/distrib/sets/lists/base/shl.mi
cvs rdiff -r1.910 -r1.911 src/distrib/sets/lists/comp/mi
cvs rdiff -r1.5 -r1.6 src/lib/libprop/Makefile
cvs rdiff -r1.3 -r1.4 src/lib/libprop/shlib_version
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.