1 2006-08-18 Aaron Bockover <abockover@novell.com>
4 * test/driver.c: Support pass/fail logging on tests to show group report
6 2006-08-18 Aaron Bockover <abockover@novell.com>
9 * test/test.h: Added result() to be used in place of g_strdup_printf(),
10 it's shorter to write and allows the duped string to be freed safely;
11 added license header to file
13 * test/driver.c: Added license header to file
18 * test/list.c: Use result() in place of g_strdup_printf(), it's nicer
20 2006-08-18 Aaron Bockover <abockover@novell.com>
22 * src/gptrarray.c: Implemented g_ptr_array_sort
24 * test/ptrarray.c: Added sort test
26 * test/driver.c: Added --help; support running N iterations and allow
27 selecting which test groups to run; uses the test group table in tests.h
29 * test/tests.h: Added group table
32 * test/test.c: Using a Group structure and table, removed run_groups
33 as we only need run_group now
35 * test/slist.h: Removed, not needed, tests/groups defined in tests.h
37 2006-08-18 Miguel de Icaza <miguel@novell.com>
39 * src/unicode.c: New file, to host unicode code, it will throw as
40 this code is no longer used in the Mono runtime anyways.
42 * src/glib.h: Use stdint.h types, a lot of the good stuff is
45 2006-08-18 Duncan Mak <duncan@a-chinaman.com>
47 * src/glist.c: Implemented. Missing remove,
48 remove_link and insert_before.
50 * test/list.c: Tests for GList.
53 2006-08-17 Aaron Bockover <abockover@novell.com>
55 * src/gptrarray.c: Implemented g_ptr_array_remove and
56 g_ptr_array_remove_index
58 * test/other: Removed, rewritten in Makefile.am
60 * test/Makefile.am: Build test-eglib against local eglib and
61 test-glib against GLib 2.0 (replaces 'other')
63 * test/ptrarray.c: Added tests for g_ptr_array_remove and
64 g_ptr_array_remove_index
66 2006-08-17 Duncan Mak <duncan@a-chinaman.com>
68 * src/gslist.c: Added MIT license.
69 (g_slist_insert_sorted): Forgot the case where the data is
70 appended to the end of the list.
72 * test/slist.c (test_slist_insert_sorted): Fix the test.
74 2006-08-17 Aaron Bockover <abockover@novell.com>
76 * src/gptrarray.c: Added g_ptr_array_set_size implementation
78 * test/ptrarray.c: Added test for g_ptr_array_set_size
80 2006-08-17 Miguel de Icaza <miguel@novell.com>
82 * src/glib.h: A handful of extra macros
84 * configure.in, src/eglib-config.h.in: Set some system-specific
85 settings that are probed at configure time.
87 2006-08-17 Aaron Bockover <abockover@novell.com>
89 * src/gptrarray.c: Added beginnings of GPtrArray (alloc, free, add, iterate)
91 * src/glib.h: Added GPtrArray signatures
93 * src/Makefile.am: Added gptrarray.c to build
98 * test/Makefile.am: Add ptrarray tests for available functionality
100 2006-08-17 Aaron Bockover <abockover@novell.com>
103 * test/test.c: Added group iterator/test driver functionality
105 * test/driver.c: Added groups to run using new test functionality
109 * test/string-util.h: Test group definitions for string util/hashtable
113 * test/hash.c: Added test definition table
115 * test/Makefile.am: Added -Wall -Werror -D_FORTIFY_SOURCE=2
117 * src/gstr.c: Added implementation for g_str_has_prefix, g_str_has_suffix
119 * src/glib.h: Added missing function signatures
121 * src/Makefile.am: added -D_FORTIFY_SOURCE=2
123 2006-08-17 Duncan Mak <duncan@a-chinaman.com>
125 * src/gslist.c (g_slist_remove_link): I misread the function
126 signature. Re-implemented.
127 (g_slist_delete_link): Implemented.
128 (g_slist_reverse): Implemented.
129 (g_slist_insert_sorted): Implemented.
131 2006-08-17 Duncan Mak <duncan@a-chinaman.com>
133 * src/gslist.c (g_slist_find):
136 (g_slist_remove_link): Implemented.
138 * test/slist.c: Tests for GSList.
140 2006-08-17 Raja R Harinath <harinath@gmail.com>
142 * src/gslist.c (g_slist_free_1): New. Free a single list node.
143 (g_slist_free): Use it to free the list nodes. Don't free the
144 data, since the list doesn't own it.
145 (g_slist_append): Convert into a one-liner.
146 (g_slist_foreach): Remove redundant null check.
147 (g_slist_last): Actually return the last node.
148 (g_slist_copy): Simplify.
149 * src/gslist.h (g_slist_free_1): Add.
151 2006-08-16 Duncan Mak <duncan@a-chinaman.com>
155 * src/gslist.h: First attempt at implementing GSList, incomplete.
157 * src/Makefile.am (libeglib_la_SOURCES): add gslist.c
158 * src/glib.h: Add GFunc definition. #include the new gslist.h.
160 2006-08-16 Miguel de Icaza <miguel@novell.com>
162 * src/Makefile.am: Added -Wall,-Werror, corrected lots of
165 * src/gstring.c: Gstring implementation.
167 * test/str.c (test_gstring): string tests.
169 2006-08-16 Aaron Bockover <abockover@novell.com>
171 * src/gstr.c: Added g_strsplit implementation
173 * test/driver.c: Run the split test
175 * test/str.c: Added a test for g_strsplit
179 * test/Makefile.am: Added MAINTAINERCLEANFILES
181 2006-08-16 Miguel de Icaza <miguel@novell.com>
183 * src/gouput.c: Implement some output routines, update missing
186 * test: Add test driver, and initial tests.
188 2006-08-15 Miguel de Icaza <miguel@novell.com>
190 * src/ghashtable.c: Implement most of this, it is completely
191 untested at this point.