1 2006-08-19 Aaron Bockover <abockover@novell.com>
3 * test/README: Added quick guide on adding new tests/groups to the
4 driver and some examples on how to perform various tests with the driver
6 2006-08-18 Aaron Bockover <abockover@novell.com>
8 * test/driver.c: Added getopt support and code timing, among other
9 nice features to make testing/profiling easier
11 * test/test.c: Add support for suppressing output (quiet) and
12 define RESULT, FAILED, and OK
15 * src/glist.c: Added g_list_nth_data implementation
22 * test/list.c: Use RESULT, FAILURE, and OK for tests
24 2006-08-18 Miguel de Icaza <miguel@novell.com>
26 * src/gstring.c (g_string_truncate): Implement truncate.
27 (g_string_prepend): implement.
29 Fix various bugs uncovered by new tests.
31 * src/glib.h: introduce gssize type, the signed one. Important.
33 * src/eglib-config.h (G_OS_): Add the G_OS_UNIX and G_OS_WIN32
34 defines that we can use to check on the host OS.
36 2006-08-18 Aaron Bockover <abockover@novell.com>
39 * test/driver.c: Support pass/fail logging on tests to show group report
41 2006-08-18 Aaron Bockover <abockover@novell.com>
44 * test/test.h: Added result() to be used in place of g_strdup_printf(),
45 it's shorter to write and allows the duped string to be freed safely;
46 added license header to file
48 * test/driver.c: Added license header to file
53 * test/list.c: Use result() in place of g_strdup_printf(), it's nicer
55 2006-08-18 Aaron Bockover <abockover@novell.com>
57 * src/gptrarray.c: Implemented g_ptr_array_sort
59 * test/ptrarray.c: Added sort test
61 * test/driver.c: Added --help; support running N iterations and allow
62 selecting which test groups to run; uses the test group table in tests.h
64 * test/tests.h: Added group table
67 * test/test.c: Using a Group structure and table, removed run_groups
68 as we only need run_group now
70 * test/slist.h: Removed, not needed, tests/groups defined in tests.h
72 2006-08-18 Miguel de Icaza <miguel@novell.com>
74 * src/unicode.c: New file, to host unicode code, it will throw as
75 this code is no longer used in the Mono runtime anyways.
77 * src/glib.h: Use stdint.h types, a lot of the good stuff is
80 2006-08-18 Duncan Mak <duncan@a-chinaman.com>
82 * src/glist.c: Implemented. Missing remove,
83 remove_link and insert_before.
85 * test/list.c: Tests for GList.
88 2006-08-17 Aaron Bockover <abockover@novell.com>
90 * src/gptrarray.c: Implemented g_ptr_array_remove and
91 g_ptr_array_remove_index
93 * test/other: Removed, rewritten in Makefile.am
95 * test/Makefile.am: Build test-eglib against local eglib and
96 test-glib against GLib 2.0 (replaces 'other')
98 * test/ptrarray.c: Added tests for g_ptr_array_remove and
99 g_ptr_array_remove_index
101 2006-08-17 Duncan Mak <duncan@a-chinaman.com>
103 * src/gslist.c: Added MIT license.
104 (g_slist_insert_sorted): Forgot the case where the data is
105 appended to the end of the list.
107 * test/slist.c (test_slist_insert_sorted): Fix the test.
109 2006-08-17 Aaron Bockover <abockover@novell.com>
111 * src/gptrarray.c: Added g_ptr_array_set_size implementation
113 * test/ptrarray.c: Added test for g_ptr_array_set_size
115 2006-08-17 Miguel de Icaza <miguel@novell.com>
117 * src/glib.h: A handful of extra macros
119 * configure.in, src/eglib-config.h.in: Set some system-specific
120 settings that are probed at configure time.
122 2006-08-17 Aaron Bockover <abockover@novell.com>
124 * src/gptrarray.c: Added beginnings of GPtrArray (alloc, free, add, iterate)
126 * src/glib.h: Added GPtrArray signatures
128 * src/Makefile.am: Added gptrarray.c to build
133 * test/Makefile.am: Add ptrarray tests for available functionality
135 2006-08-17 Aaron Bockover <abockover@novell.com>
138 * test/test.c: Added group iterator/test driver functionality
140 * test/driver.c: Added groups to run using new test functionality
144 * test/string-util.h: Test group definitions for string util/hashtable
148 * test/hash.c: Added test definition table
150 * test/Makefile.am: Added -Wall -Werror -D_FORTIFY_SOURCE=2
152 * src/gstr.c: Added implementation for g_str_has_prefix, g_str_has_suffix
154 * src/glib.h: Added missing function signatures
156 * src/Makefile.am: added -D_FORTIFY_SOURCE=2
158 2006-08-17 Duncan Mak <duncan@a-chinaman.com>
160 * src/gslist.c (g_slist_remove_link): I misread the function
161 signature. Re-implemented.
162 (g_slist_delete_link): Implemented.
163 (g_slist_reverse): Implemented.
164 (g_slist_insert_sorted): Implemented.
166 2006-08-17 Duncan Mak <duncan@a-chinaman.com>
168 * src/gslist.c (g_slist_find):
171 (g_slist_remove_link): Implemented.
173 * test/slist.c: Tests for GSList.
175 2006-08-17 Raja R Harinath <harinath@gmail.com>
177 * src/gslist.c (g_slist_free_1): New. Free a single list node.
178 (g_slist_free): Use it to free the list nodes. Don't free the
179 data, since the list doesn't own it.
180 (g_slist_append): Convert into a one-liner.
181 (g_slist_foreach): Remove redundant null check.
182 (g_slist_last): Actually return the last node.
183 (g_slist_copy): Simplify.
184 * src/gslist.h (g_slist_free_1): Add.
186 2006-08-16 Duncan Mak <duncan@a-chinaman.com>
190 * src/gslist.h: First attempt at implementing GSList, incomplete.
192 * src/Makefile.am (libeglib_la_SOURCES): add gslist.c
193 * src/glib.h: Add GFunc definition. #include the new gslist.h.
195 2006-08-16 Miguel de Icaza <miguel@novell.com>
197 * src/Makefile.am: Added -Wall,-Werror, corrected lots of
200 * src/gstring.c: Gstring implementation.
202 * test/str.c (test_gstring): string tests.
204 2006-08-16 Aaron Bockover <abockover@novell.com>
206 * src/gstr.c: Added g_strsplit implementation
208 * test/driver.c: Run the split test
210 * test/str.c: Added a test for g_strsplit
214 * test/Makefile.am: Added MAINTAINERCLEANFILES
216 2006-08-16 Miguel de Icaza <miguel@novell.com>
218 * src/gouput.c: Implement some output routines, update missing
221 * test: Add test driver, and initial tests.
223 2006-08-15 Miguel de Icaza <miguel@novell.com>
225 * src/ghashtable.c: Implement most of this, it is completely
226 untested at this point.