Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   thorpej
Date:           Sat Jun  6 21:26:00 UTC 2020

Modified Files:
        src/common/include/prop: prop_array.h prop_bool.h prop_data.h
            prop_dictionary.h prop_number.h prop_string.h
        src/common/lib/libprop: prop_array.3 prop_array_util.3
            prop_array_util.c prop_bool.3 prop_bool.c prop_data.3 prop_data.c
            prop_dictionary.3 prop_dictionary.c prop_dictionary_util.3
            prop_dictionary_util.c prop_number.3 prop_number.c prop_object.3
            prop_object_impl.h prop_string.3 prop_string.c proplib.3
        src/distrib/sets/lists/base: shl.mi
        src/distrib/sets/lists/comp: mi
        src/distrib/sets/lists/tests: mi
        src/lib/libprop: Makefile shlib_version
        src/tests/lib/libprop: Makefile
Added Files:
        src/tests/lib/libprop: t_proplib.c
Removed Files:
        src/tests/lib/libprop: t_basic.c

Log Message:
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).


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/common/include/prop/prop_array.h \
    src/common/include/prop/prop_dictionary.h
cvs rdiff -u -r1.4 -r1.5 src/common/include/prop/prop_bool.h
cvs rdiff -u -r1.3 -r1.4 src/common/include/prop/prop_data.h \
    src/common/include/prop/prop_string.h
cvs rdiff -u -r1.6 -r1.7 src/common/include/prop/prop_number.h
cvs rdiff -u -r1.14 -r1.15 src/common/lib/libprop/prop_array.3
cvs rdiff -u -r1.10 -r1.11 src/common/lib/libprop/prop_array_util.3
cvs rdiff -u -r1.5 -r1.6 src/common/lib/libprop/prop_array_util.c \
    src/common/lib/libprop/prop_dictionary_util.c
cvs rdiff -u -r1.7 -r1.8 src/common/lib/libprop/prop_bool.3
cvs rdiff -u -r1.18 -r1.19 src/common/lib/libprop/prop_bool.c
cvs rdiff -u -r1.8 -r1.9 src/common/lib/libprop/prop_data.3 \
    src/common/lib/libprop/proplib.3
cvs rdiff -u -r1.15 -r1.16 src/common/lib/libprop/prop_data.c
cvs rdiff -u -r1.19 -r1.20 src/common/lib/libprop/prop_dictionary.3
cvs rdiff -u -r1.41 -r1.42 src/common/lib/libprop/prop_dictionary.c
cvs rdiff -u -r1.9 -r1.10 src/common/lib/libprop/prop_dictionary_util.3 \
    src/common/lib/libprop/prop_object.3 src/common/lib/libprop/prop_string.3
cvs rdiff -u -r1.11 -r1.12 src/common/lib/libprop/prop_number.3
cvs rdiff -u -r1.31 -r1.32 src/common/lib/libprop/prop_number.c
cvs rdiff -u -r1.33 -r1.34 src/common/lib/libprop/prop_object_impl.h
cvs rdiff -u -r1.13 -r1.14 src/common/lib/libprop/prop_string.c
cvs rdiff -u -r1.890 -r1.891 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.2331 -r1.2332 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.841 -r1.842 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.20 -r1.21 src/lib/libprop/Makefile
cvs rdiff -u -r1.10 -r1.11 src/lib/libprop/shlib_version
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libprop/Makefile
cvs rdiff -u -r1.4 -r0 src/tests/lib/libprop/t_basic.c
cvs rdiff -u -r0 -r1.1 src/tests/lib/libprop/t_proplib.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index