1 2006-08-18 Aaron Bockover <abockover@novell.com>
3 * test/driver.c: Added getopt support and code timing, among other
4 nice features to make testing/profiling easier
6 * test/test.c: Add support for suppressing output (quiet) and
7 define RESULT, FAILED, and OK
10 * src/glist.c: Added g_list_nth_data implementation
17 * test/list.c: Use RESULT, FAILURE, and OK for tests
19 2006-08-18 Miguel de Icaza <miguel@novell.com>
21 * src/eglib-config.h (G_OS_): Add the G_OS_UNIX and G_OS_WIN32
22 defines that we can use to check on the host OS.
24 2006-08-18 Aaron Bockover <abockover@novell.com>
27 * test/driver.c: Support pass/fail logging on tests to show group report
29 2006-08-18 Aaron Bockover <abockover@novell.com>
32 * test/test.h: Added result() to be used in place of g_strdup_printf(),
33 it's shorter to write and allows the duped string to be freed safely;
34 added license header to file
36 * test/driver.c: Added license header to file
41 * test/list.c: Use result() in place of g_strdup_printf(), it's nicer
43 2006-08-18 Aaron Bockover <abockover@novell.com>
45 * src/gptrarray.c: Implemented g_ptr_array_sort
47 * test/ptrarray.c: Added sort test
49 * test/driver.c: Added --help; support running N iterations and allow
50 selecting which test groups to run; uses the test group table in tests.h
52 * test/tests.h: Added group table
55 * test/test.c: Using a Group structure and table, removed run_groups
56 as we only need run_group now
58 * test/slist.h: Removed, not needed, tests/groups defined in tests.h
60 2006-08-18 Miguel de Icaza <miguel@novell.com>
62 * src/unicode.c: New file, to host unicode code, it will throw as
63 this code is no longer used in the Mono runtime anyways.
65 * src/glib.h: Use stdint.h types, a lot of the good stuff is
68 2006-08-18 Duncan Mak <duncan@a-chinaman.com>
70 * src/glist.c: Implemented. Missing remove,
71 remove_link and insert_before.
73 * test/list.c: Tests for GList.
76 2006-08-17 Aaron Bockover <abockover@novell.com>
78 * src/gptrarray.c: Implemented g_ptr_array_remove and
79 g_ptr_array_remove_index
81 * test/other: Removed, rewritten in Makefile.am
83 * test/Makefile.am: Build test-eglib against local eglib and
84 test-glib against GLib 2.0 (replaces 'other')
86 * test/ptrarray.c: Added tests for g_ptr_array_remove and
87 g_ptr_array_remove_index
89 2006-08-17 Duncan Mak <duncan@a-chinaman.com>
91 * src/gslist.c: Added MIT license.
92 (g_slist_insert_sorted): Forgot the case where the data is
93 appended to the end of the list.
95 * test/slist.c (test_slist_insert_sorted): Fix the test.
97 2006-08-17 Aaron Bockover <abockover@novell.com>
99 * src/gptrarray.c: Added g_ptr_array_set_size implementation
101 * test/ptrarray.c: Added test for g_ptr_array_set_size
103 2006-08-17 Miguel de Icaza <miguel@novell.com>
105 * src/glib.h: A handful of extra macros
107 * configure.in, src/eglib-config.h.in: Set some system-specific
108 settings that are probed at configure time.
110 2006-08-17 Aaron Bockover <abockover@novell.com>
112 * src/gptrarray.c: Added beginnings of GPtrArray (alloc, free, add, iterate)
114 * src/glib.h: Added GPtrArray signatures
116 * src/Makefile.am: Added gptrarray.c to build
121 * test/Makefile.am: Add ptrarray tests for available functionality
123 2006-08-17 Aaron Bockover <abockover@novell.com>
126 * test/test.c: Added group iterator/test driver functionality
128 * test/driver.c: Added groups to run using new test functionality
132 * test/string-util.h: Test group definitions for string util/hashtable
136 * test/hash.c: Added test definition table
138 * test/Makefile.am: Added -Wall -Werror -D_FORTIFY_SOURCE=2
140 * src/gstr.c: Added implementation for g_str_has_prefix, g_str_has_suffix
142 * src/glib.h: Added missing function signatures
144 * src/Makefile.am: added -D_FORTIFY_SOURCE=2
146 2006-08-17 Duncan Mak <duncan@a-chinaman.com>
148 * src/gslist.c (g_slist_remove_link): I misread the function
149 signature. Re-implemented.
150 (g_slist_delete_link): Implemented.
151 (g_slist_reverse): Implemented.
152 (g_slist_insert_sorted): Implemented.
154 2006-08-17 Duncan Mak <duncan@a-chinaman.com>
156 * src/gslist.c (g_slist_find):
159 (g_slist_remove_link): Implemented.
161 * test/slist.c: Tests for GSList.
163 2006-08-17 Raja R Harinath <harinath@gmail.com>
165 * src/gslist.c (g_slist_free_1): New. Free a single list node.
166 (g_slist_free): Use it to free the list nodes. Don't free the
167 data, since the list doesn't own it.
168 (g_slist_append): Convert into a one-liner.
169 (g_slist_foreach): Remove redundant null check.
170 (g_slist_last): Actually return the last node.
171 (g_slist_copy): Simplify.
172 * src/gslist.h (g_slist_free_1): Add.
174 2006-08-16 Duncan Mak <duncan@a-chinaman.com>
178 * src/gslist.h: First attempt at implementing GSList, incomplete.
180 * src/Makefile.am (libeglib_la_SOURCES): add gslist.c
181 * src/glib.h: Add GFunc definition. #include the new gslist.h.
183 2006-08-16 Miguel de Icaza <miguel@novell.com>
185 * src/Makefile.am: Added -Wall,-Werror, corrected lots of
188 * src/gstring.c: Gstring implementation.
190 * test/str.c (test_gstring): string tests.
192 2006-08-16 Aaron Bockover <abockover@novell.com>
194 * src/gstr.c: Added g_strsplit implementation
196 * test/driver.c: Run the split test
198 * test/str.c: Added a test for g_strsplit
202 * test/Makefile.am: Added MAINTAINERCLEANFILES
204 2006-08-16 Miguel de Icaza <miguel@novell.com>
206 * src/gouput.c: Implement some output routines, update missing
209 * test: Add test driver, and initial tests.
211 2006-08-15 Miguel de Icaza <miguel@novell.com>
213 * src/ghashtable.c: Implement most of this, it is completely
214 untested at this point.