1 2006-08-19 Aaron Bockover <abockover@novell.com>
3 * test/driver.c: added -n mode to show only raw global run times,
4 which is useful for scripts (test-both --speed-compare)
6 * test/test-both: added --speed-compare mode
8 * test/README: updated with information on --speed-compare
10 2006-08-19 Aaron Bockover <abockover@novell.com>
12 * test/test.c: do not print times if -t is not passed
14 * test/driver.c: removed use of GList from the driver to avoid skews due
15 to performance differences between GLib and EGLib
17 2006-08-19 Aaron Bockover <abockover@novell.com>
19 * test/test.c: Perform iterations at the test level, only output one
20 report for all iterations of tests in a group to produce more usable
21 output; add timing for the tests and group; added get_timestamp for
24 * test/test.h: Removed run_test as it should only be called from
25 run_group, added get_timestamp
27 * test/Makefile.am: Added -DDRIVER_NAME
29 * test/test-both: simple script to run both drivers with the same options
31 * test/driver.c: Iterations are now run at the test level, show a global
32 status (OK/FAIL) indicator
34 * test/README: Updated
36 * configure.ac: Renamed from configure.in as configure.in naming
37 convention is deprecated in favor of configure.ac
39 * autogen.sh: s/configure.in/configure.ac/
41 2006-08-19 Miguel de Icaza <miguel@novell.com>
43 * Makefile.am: Removed MAINTAINERCLEANFILES that was too
44 aggresive, it failed make distcheck and the resulting tarball was
47 * src/glib.h: remove the various GPOINTER_TO_*, G*_TO_POINTER,
48 GSIZE_FORMAT macros, and move them into src/eglib-config.h
50 Moved also gssize and gsize to be arch specific. This should fix
51 the 32/64 problems that Jon Chambers reported.
53 * configure.in: test for pointer size, define the various values
54 depending on 32 vs 32/64 worlds, might need further porting in the
57 Change package name to eglib
59 * test/slist.c, test/list.c, test/hashtable.c: Update tests to use
62 * test/string-util.c: fix leak for valgrind tests.
64 * test/tests.h: New size test, for testing datatypes.
66 * test/sizes.c: New tests.
68 2006-08-19 Aaron Bockover <abockover@novell.com>
70 * test/README: Added quick guide on adding new tests/groups to the
71 driver and some examples on how to perform various tests with the driver
73 2006-08-18 Aaron Bockover <abockover@novell.com>
75 * test/driver.c: Added getopt support and code timing, among other
76 nice features to make testing/profiling easier
78 * test/test.c: Add support for suppressing output (quiet) and
79 define RESULT, FAILED, and OK
82 * src/glist.c: Added g_list_nth_data implementation
89 * test/list.c: Use RESULT, FAILURE, and OK for tests
91 2006-08-18 Miguel de Icaza <miguel@novell.com>
93 * src/gstring.c (g_string_truncate): Implement truncate.
94 (g_string_prepend): implement.
96 Fix various bugs uncovered by new tests.
98 * src/glib.h: introduce gssize type, the signed one. Important.
100 * src/eglib-config.h (G_OS_): Add the G_OS_UNIX and G_OS_WIN32
101 defines that we can use to check on the host OS.
103 2006-08-18 Aaron Bockover <abockover@novell.com>
106 * test/driver.c: Support pass/fail logging on tests to show group report
108 2006-08-18 Aaron Bockover <abockover@novell.com>
111 * test/test.h: Added result() to be used in place of g_strdup_printf(),
112 it's shorter to write and allows the duped string to be freed safely;
113 added license header to file
115 * test/driver.c: Added license header to file
117 * test/string-util.c:
120 * test/list.c: Use result() in place of g_strdup_printf(), it's nicer
122 2006-08-18 Aaron Bockover <abockover@novell.com>
124 * src/gptrarray.c: Implemented g_ptr_array_sort
126 * test/ptrarray.c: Added sort test
128 * test/driver.c: Added --help; support running N iterations and allow
129 selecting which test groups to run; uses the test group table in tests.h
131 * test/tests.h: Added group table
134 * test/test.c: Using a Group structure and table, removed run_groups
135 as we only need run_group now
137 * test/slist.h: Removed, not needed, tests/groups defined in tests.h
139 2006-08-18 Miguel de Icaza <miguel@novell.com>
141 * src/unicode.c: New file, to host unicode code, it will throw as
142 this code is no longer used in the Mono runtime anyways.
144 * src/glib.h: Use stdint.h types, a lot of the good stuff is
147 2006-08-18 Duncan Mak <duncan@a-chinaman.com>
149 * src/glist.c: Implemented. Missing remove,
150 remove_link and insert_before.
152 * test/list.c: Tests for GList.
154 2006-08-17 Aaron Bockover <abockover@novell.com>
156 * src/gptrarray.c: Implemented g_ptr_array_remove and
157 g_ptr_array_remove_index
159 * test/other: Removed, rewritten in Makefile.am
161 * test/Makefile.am: Build test-eglib against local eglib and
162 test-glib against GLib 2.0 (replaces 'other')
164 * test/ptrarray.c: Added tests for g_ptr_array_remove and
165 g_ptr_array_remove_index
167 2006-08-17 Duncan Mak <duncan@a-chinaman.com>
169 * src/gslist.c: Added MIT license.
170 (g_slist_insert_sorted): Forgot the case where the data is
171 appended to the end of the list.
173 * test/slist.c (test_slist_insert_sorted): Fix the test.
175 2006-08-17 Aaron Bockover <abockover@novell.com>
177 * src/gptrarray.c: Added g_ptr_array_set_size implementation
179 * test/ptrarray.c: Added test for g_ptr_array_set_size
181 2006-08-17 Miguel de Icaza <miguel@novell.com>
183 * src/glib.h: A handful of extra macros
185 * configure.in, src/eglib-config.h.in: Set some system-specific
186 settings that are probed at configure time.
188 2006-08-17 Aaron Bockover <abockover@novell.com>
190 * src/gptrarray.c: Added beginnings of GPtrArray (alloc, free, add, iterate)
192 * src/glib.h: Added GPtrArray signatures
194 * src/Makefile.am: Added gptrarray.c to build
199 * test/Makefile.am: Add ptrarray tests for available functionality
201 2006-08-17 Aaron Bockover <abockover@novell.com>
204 * test/test.c: Added group iterator/test driver functionality
206 * test/driver.c: Added groups to run using new test functionality
210 * test/string-util.h: Test group definitions for string util/hashtable
214 * test/hash.c: Added test definition table
216 * test/Makefile.am: Added -Wall -Werror -D_FORTIFY_SOURCE=2
218 * src/gstr.c: Added implementation for g_str_has_prefix, g_str_has_suffix
220 * src/glib.h: Added missing function signatures
222 * src/Makefile.am: added -D_FORTIFY_SOURCE=2
224 2006-08-17 Duncan Mak <duncan@a-chinaman.com>
226 * src/gslist.c (g_slist_remove_link): I misread the function
227 signature. Re-implemented.
228 (g_slist_delete_link): Implemented.
229 (g_slist_reverse): Implemented.
230 (g_slist_insert_sorted): Implemented.
232 2006-08-17 Duncan Mak <duncan@a-chinaman.com>
234 * src/gslist.c (g_slist_find):
237 (g_slist_remove_link): Implemented.
239 * test/slist.c: Tests for GSList.
241 2006-08-17 Raja R Harinath <harinath@gmail.com>
243 * src/gslist.c (g_slist_free_1): New. Free a single list node.
244 (g_slist_free): Use it to free the list nodes. Don't free the
245 data, since the list doesn't own it.
246 (g_slist_append): Convert into a one-liner.
247 (g_slist_foreach): Remove redundant null check.
248 (g_slist_last): Actually return the last node.
249 (g_slist_copy): Simplify.
250 * src/gslist.h (g_slist_free_1): Add.
252 2006-08-16 Duncan Mak <duncan@a-chinaman.com>
256 * src/gslist.h: First attempt at implementing GSList, incomplete.
258 * src/Makefile.am (libeglib_la_SOURCES): add gslist.c
259 * src/glib.h: Add GFunc definition. #include the new gslist.h.
261 2006-08-16 Miguel de Icaza <miguel@novell.com>
263 * src/Makefile.am: Added -Wall,-Werror, corrected lots of
266 * src/gstring.c: Gstring implementation.
268 * test/str.c (test_gstring): string tests.
270 2006-08-16 Aaron Bockover <abockover@novell.com>
272 * src/gstr.c: Added g_strsplit implementation
274 * test/driver.c: Run the split test
276 * test/str.c: Added a test for g_strsplit
280 * test/Makefile.am: Added MAINTAINERCLEANFILES
282 2006-08-16 Miguel de Icaza <miguel@novell.com>
284 * src/gouput.c: Implement some output routines, update missing
287 * test: Add test driver, and initial tests.
289 2006-08-15 Miguel de Icaza <miguel@novell.com>
291 * src/ghashtable.c: Implement most of this, it is completely
292 untested at this point.