lp://staging/~jamesodhunt/libnih/iterators
- Get this branch:
- bzr branch lp://staging/~jamesodhunt/libnih/iterators
Branch merges
- Steve Langasek: Needs Fixing
-
Diff: 962 lines (+741/-8) (has conflicts)11 files modifiedChangeLog (+13/-0)
nih/hash.c (+62/-0)
nih/hash.h (+7/-0)
nih/list.c (+59/-0)
nih/list.h (+18/-0)
nih/tests/test_hash.c (+176/-2)
nih/tests/test_list.c (+154/-3)
nih/tests/test_tree.c (+170/-1)
nih/tree.c (+62/-0)
nih/tree.h (+18/-0)
po/libnih.pot (+2/-2)
- Scott James Remnant (Canonical): Pending requested
-
Diff: 952 lines (+738/-8)11 files modifiedChangeLog (+10/-0)
nih/hash.c (+62/-0)
nih/hash.h (+7/-0)
nih/list.c (+59/-0)
nih/list.h (+18/-0)
nih/tests/test_hash.c (+176/-2)
nih/tests/test_list.c (+154/-3)
nih/tests/test_tree.c (+170/-1)
nih/tree.c (+62/-0)
nih/tree.h (+18/-0)
po/libnih.pot (+2/-2)
Branch information
Recent revisions
- 1049. By James Hunt
-
* Changelog: Summary of new functions.
* nih/hash.c: New functions:
- nih_hash_foreach()
- nih_hash_count()
* nih/hash.h: Prototypes for new functions:
- nih_hash_foreach()
- nih_hash_count()
* nih/list.c: New functions:
- nih_list_foreach()
- nih_list_count()
* nih/list.h:
- Prototypes for new functions:
- nih_list_foreach()
- nih_list_count()
- New type: NihListHandler.
* nih/tree.c: New functions:
- nih_tree_foreach()
- nih_tree_count()
* nih/tree.h:
- Prototypes for new functions:
- nih_tree_foreach()
- nih_tree_count()
- New type: NihTreeHandler.
* nih/tests/test_hash. c:
- New functions:
- test_count()
- test_foreach_func () and supporting functions:
- hash_handler1()
- hash_handler2()
- hash_handler3()
- Updated main to call test_foreach_func() and test_count().
- Changed description for existing functions to make it clear that
NIH_HASH_FOREACH( ) is a macro.
* nih/tests/test_list. c:
- New functions:
- test_count()
- test_foreach_func() and supporting functions:
- list_handler1()
- list_handler2()
- list_handler3()
- Updated main to call test_foreach_func() and test_count().
- Changed description for existing functions to make it clear that
NIH_LIST_*() are macros.
* nih/tests/test_tree. c
- New functions:
- test_count()
- test_foreach_func () and supporting functions:
- tree_handler1()
- tree_handler2()
- tree_handler3()
- Updated main to call test_foreach_func() and test_count().
- Changed description for existing functions to make it clear that
NIH_TREE_FOREACH_ *() are macros. - 1047. By Scott James Remnant (Canonical)
-
* configure.ac: Bump version to 1.0.4
* NEWS: Begin new release - 1045. By Scott James Remnant (Canonical)
-
* nih-dbus-
tool/type. c (type_const, type_of): Add support for the
DBUS_TYPE_UNIX_FD type, with a C type of "int".
* nih-dbus-tool/tests/ test_type. c (test_const, test_of): Check the types
are correct.
* nih-dbus-tool/tests/ marshal_ factory. c: Generate function for
unix_fd testing
* nih-dbus-tool/tests/ marshal_ code.h: Add header for generated function
* nih-dbus-tool/tests/ test_marshal. c (test_marshal): Test the generator
and the generated function
* nih-dbus-tool/tests/ demarshal_ factory. c: Generate function for
unix_fd testing
* nih-dbus-tool/tests/ demarshal_ code.h: Add header for generated function
* nih-dbus-tool/tests/ test_demarshal. c (test_demarshal): Test the
generator and the generated code
* nih-dbus-tool/tests/ com.netsplit. Nih.Test. xml: Add methods, signal and
properties for testing.
* nih-dbus-tool/tests/ com.netsplit. Nih.Test_ impl.h: Add property
definition
* nih-dbus-tool/tests/ com.netsplit. Nih.Test_ impl.c (my_test_ unix_fd_ to_str)
(my_test_str_to_ unix_fd, my_test_ get_unix_ fd)
(my_test_set_unix_ fd): Test implementation.
* nih-dbus-tool/tests/ test_com. netsplit. Nih.Test_ object. c (test_unix_ fd_to_str)
(test_str_to_unix_ fd, test_new_unix_fd, test_get_unix_fd)
(test_set_unix_fd): Add methods to test the object implementation.
* nih-dbus-tool/tests/ test_com. netsplit. Nih.Test_ proxy.c (test_unix_ fd_to_str)
(test_unix_fd_to_str_ sync, test_str_ to_unix_ fd)
(test_str_to_unix_ fd_sync, test_new_unix_fd, test_get_unix_fd)
(test_get_unix_fd_ sync, test_set_unix_fd, test_set_ unix_fd_ sync): Add tests
for unix fds.
(test_get_all, test_get_all_sync): Add unix fd to tests.
* NEWS: Update - 1044. By Scott James Remnant (Canonical)
-
* configure.ac: Bump version to 1.0.3
* NEWS: Begin new release - 1042. By Scott James Remnant (Canonical)
-
* m4/libnih.m4 (NIH_WITH_
LOCAL_LIBNIH) : Add macro cribbed from the
Upstart configure.ac - 1041. By Scott James Remnant (Canonical)
-
* nih-dbus-
tool/Makefile. am (tests/ marshal_ code.c)
(tests/demarshal_ code.c, tests/interface _code.c)
(tests/method_ code.c, tests/signal_ code.c)
(tests/property_ code.c) : Support silent rules by using $(AM_V_GEN)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/libnih/1.0