| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
so that apps can use this construct safely:
obj = prop_dictionary_get(dict, "value");
if (! prop_number_equals_integer(obj, 5)) {
...
}
Suggested by Iain Hibbert.
|
|
workaround, and properly marked with XXXGCC -Wuninitialized.
|
|
|
|
- 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.
|
|
|
|
|
|
|
|
|
|
|
|
ABI change, and we ought to explicitly state that this is a fixed-width
type, since that what it needs to be for binary plist support.
|
|
a sorted array. Using a tree puts the linkage into the key symbol itself,
allowing us to avoid having to allocate memory with a mutex held.
|
|
|
|
|
|
|
|
to / from the kernel using ioctls.
|
|
adavantage of the immutability of these objects:
Statically allocate a TRUE object and a FALSE object, and simply return
references to those objects for create and copy operations.
|
|
|
|
with the "fw-path" property, we only have one copy of the "fw-path" string
as a dictionary key.
|
|
interact.
|
|
|
|
|
|
|
|
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.
|
|
|
|
in sys/sys/types.h -- also need to test _STANDALONE.
Fixes a build problem for vax.
|
|
instead of leaving random garbage in there.
Should we just use "memset(pd, 0, sizeof(*pd));" instead?
Fixes boot problems on evbppc/WALNUT with new proplib.
|
|
converting to/from an XML external representation (based on Apple XML
property lists). Works in the kernel and user space.
|
|
back to libc.
|
|
Same binaries are generated.
|
|
in src/common. Move it to sys/lib/libkern/arch/sh3.
|
|
in libkern. Required for new code coming soon.
|
|
|
|
|
|
for that. This way we pass the lib/libc/string/strrchr regression tests.
|
|
Ideally some of the loops need de-unrolling as well (and in adler32.c).
Makes the i386 install floppies fit.
|
|
instead of just if _KERNEL was defined.
Fixes sbmips bootblocks build problems.
Thanks to Valeriy Ushakov for showing me where the problem was.
|
|
kernel behavior before src/common where 0 was a valid dest addr.
This should fix the macppc (and other OEA ppc) silent-death-on-DIAGNOSTIC
issue, and possibly other DIAGNOSTIC failures.
XXX it might be worth thinking about an API where 0 is allowed in
documented cases and not allowed otherwise.
|
|
I'm not sure if idempotent versions need to be defined for big endian,
as the man page says in that case they are defined idempotent macros.
PR port-arm/32734
|
|
for during the merge of kernel and libc versions. Fix to match
e.g. i386 code.
|
|
Note, that we cannot fix this properly because it will break the zlib.h API.
|
|
limits.h to guess what a four byte type is, just use uint32_t.
|
|
|
|
|
|
|
|
- add z_ptrdiff_t
- add NetBSD ifdefs.
|
|
|
|
|