| #
a792b843 |
| 06-Jun-2020 |
thorpej <thorpej@NetBSD.org> |
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.
==
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).
show more ...
|
| #
6947118a |
| 10-Oct-2009 |
bad <bad@NetBSD.org> |
Implement prop_array_externalize_to_pref(), prop_array_copyin(), prop_dictionary_externalize_to_pref() and prop_dictionary_copyin() as discussed in the thread: http://mail-index.netbsd.org/tech-kern/
Implement prop_array_externalize_to_pref(), prop_array_copyin(), prop_dictionary_externalize_to_pref() and prop_dictionary_copyin() as discussed in the thread: http://mail-index.netbsd.org/tech-kern/2009/07/29/msg005594.html
Bump libprop shlib minor.
show more ...
|
| #
46edb91e |
| 11-Jan-2009 |
christos <christos@NetBSD.org> |
bump shared libraries.
|
| #
664f3946 |
| 15-Sep-2008 |
haad <haad@NetBSD.org> |
Bump libprop minor number, I forgot to do it when I have added prop_array_add_* routines. In version 1.2 of prop_array_util.c.
Pointed by bad@.
|
| #
c6726d68 |
| 05-Mar-2008 |
cube <cube@NetBSD.org> |
Bump libprop's minor after addition of prop_dictionary_make_immutable.
|
| #
26d4f904 |
| 26-Oct-2006 |
thorpej <thorpej@NetBSD.org> |
- 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,
- 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.
show more ...
|
| #
8f6016c4 |
| 12-Oct-2006 |
thorpej <thorpej@NetBSD.org> |
Bump libprop version to 0.4.
|
| #
d21620b2 |
| 21-Aug-2006 |
thorpej <thorpej@NetBSD.org> |
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 readi
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.
show more ...
|
| #
434b7a76 |
| 05-Jul-2006 |
thorpej <thorpej@NetBSD.org> |
Add kernel and user space parts of a protocol for sending property lists to / from the kernel using ioctls.
|
| #
3e69f1b2 |
| 18-May-2006 |
thorpej <thorpej@NetBSD.org> |
- Add prop_array_equals(), prop_dictionary_equals(), and prop_dictionary_keysym_equals(), and prop_object_equals() functions. - Use realloc() where it makes sense. There will be more changes in th
- Add prop_array_equals(), prop_dictionary_equals(), and prop_dictionary_keysym_equals(), and prop_object_equals() functions. - Use realloc() where it makes sense. There will be more changes in this area. - Add a _prop_object_type structure that is used internally to keep information about the object types. Decreases the footprint of the objects slightly by replacing several pointers with just one.
show more ...
|
| #
144348e7 |
| 27-Apr-2006 |
thorpej <thorpej@NetBSD.org> |
Support for building proplib in userspace.
|