1 2006-10-21 Miguel de Icaza <miguel@novell.com>
3 * src/gstr.c (g_ascii_xdigit_value): Make this into a function,
4 thanks to Paolo for pointing the problem with the double macro
7 * src/gmodule.c (g_module_open): Actually return NULL if we fail
8 to load the module (was hiding the real bug in the pinvoke tests).
10 (g_module_build_path): Do not prepend "lib" if the "lib" is part
13 * src/gstr.c (g_strsplit): this routine has some non-expected
14 behavior, if the string begins with the delimiter, it will return
15 an empty first string, unlike strtok
17 * src/gpath.c (g_path_get_dirname): Return "." as a dirname for
18 paths that do not contain a directory.
20 2006-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
22 * test/array.c: new test for insertion in the middle of other values.
23 * src/garray.c: fixed destination index.
25 2006-10-18 Miguel de Icaza <miguel@novell.com>
27 * src/gpath.c (g_build_path): Do not append terminator if the next
30 * src/gutf8.c (g_utf8_to_utf16): Include trailing zero as
32 (g_utf16_to_utf8): Include trailing zero as documented.
34 2006-10-17 Miguel de Icaza <miguel@novell.com>
36 * src/gstr.c (g_strdown): Actually move.
38 * src/gmarkup.c (g_markup_parse_context_parse): Accept dots in the
39 sequence, reset the state after a closing element.
41 * src/garray.c (g_array_insert_vals): Shift the elements the
44 (g_array_insert_vals): Should actually use the
45 number of elements to insert.
47 * test/array.c: Add new test case, this was happening in the JIT.
49 * Add _GNU_SOURCE at configure time, remove from sources.
51 * src/gstr.c (g_strsplit): Empty strings return a 0 value vector.
53 * src/glib.h (G_MAXINT64, G_MININT64): Add another set of macros
54 for the support stuff.
56 Move private prototypes elsewhere
58 * src/glib.h (g_thread_init): Adding missing brace
59 (g_list_next): remove ; from the macro definition.
61 2006-10-17 Miguel de Icaza <miguel@novell.com>
63 * src/gutf8.c: internal methods
65 * src/ghashtable.c: internal methods.
67 2006-10-16 Miguel de Icaza <miguel@novell.com>
69 * src/gerror.c (g_propagate_error): Implement.
71 * src/gstr.c (g_strjoinv, g_ascii_strncasecmp): implement.
73 * test/string-util.c (test_ascii_strncasecmp): test
75 2006-10-15 Miguel de Icaza <miguel@novell.com>
77 * configure.in: Fix detection of platforms the [3456] stuff does
78 not work inside autoconf.
80 * src/eglib-config.h.in: Make G_BREAKPOINT into a function-macro
82 * src/glib.h (offsetof): Mono sources depend on this, bring this
83 from the standard definition. Redefine G_STRUCT_OFFSET in terms
86 * src/glib.h (G_STRUCT_OFFSET): fix macro definition.
89 * src/sizes.c: Add test.
91 * src/gshell.c: Make it build
93 2006-10-14 Miguel de Icaza <miguel@novell.com>
95 * src/glib.h: add various _TO_LE and _FROM_LE macros.
97 * test/endian.c: tests for endian conversion macros.
99 2006-10-09 Miguel de Icaza <miguel@novell.com>
101 * src/gmodule.h: Move definitions of gmodule to gmodule.h because
102 Mono expects it there.
104 Mon Oct 9 12:59:16 CEST 2006 Paolo Molaro <lupus@ximian.com>
106 * src/ghashtable.c: s/to_prime/g_spaced_primes_closest/g
107 and put the array in readonly memory.
108 * src/gstr.c: fixed the build and made array const.
109 * src/gmodule.c: fixed thinko.
111 2006-10-08 Miguel de Icaza <miguel@novell.com>
113 * src/gstr.c (g_strdup): should allow NULL as an argument.
115 2006-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
117 * test/string-util.c:
120 * src/glib.h: implemented g_strescape.
122 2006-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
124 * test/string-util.c:
128 * src/glib.h: implemented g_strlcpy.
130 2006-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
132 * test/string-util.c:
135 * src/glib.h: implemented g_strdelimit.
137 2006-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
139 * test/spawn.c: add search path flag when running ls.
140 * src/gspawn.c: g_spawn_command_line_sync searches the program in the
141 PATH if it's not an absolute path.
143 2006-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
145 * test/string-util.c:
146 * src/glib.h: implement g_ascii_xdigit_value and tests.
148 2006-10-06 Miguel de Icaza <miguel@novell.com>
150 * src/gstr.c (g_ascii_strdown): Implement.
152 * str/glib.c (g_log_set_handler): empty.
154 (GMemVTable): define, empty, ignored.
157 * src/gunicode.c (g_convert): Add bytes_read, bytes_written
158 support; Small fixes to avoid valgrind errors.
160 (g_utf8_validate): Add, based on the libxml code.
162 gstr.c: implement g_strdown.
164 2006-10-05 Miguel de Icaza <miguel@novell.com>
166 * src/gunicode.c: Some work in progress to implement g_convert
167 (which is needed by g_locale_to_utf8).
169 2006-09-18 Miguel de Icaza <miguel@novell.com>
171 * test/string-util.c (test_filename_from_uri): tests for new
174 * src/gstr.c (g_filename_to_uri, g_filename_from_uri): implement.
176 2006-09-14 Atsushi Enomoto <atsushi@ximian.com>
178 * src/gutf8.c, test/utf8.c : EOL fix.
180 2006-09-04 Miguel de Icaza <miguel@novell.com>
182 * src/gmarkup.c: The leak fixing commit.
184 * src/gmarkup.c (g_markup_parse_context_end_parse): Add missing
186 (g_markup_parse_context_free): Implement.
187 (parse_attributes): Store the value, not the attribute name
189 Properly check the /> section.
190 (g_markup_parse_context_parse): When checking for error, use the
191 "error!=NULL && *error != NULL" upon return from callbacks,
192 it is only then that its valid to check for *error for error
194 (g_markup_parse_context_parse): Add comment processing.
196 Only release one element of the list.
198 * test/markup.c: Incorporate the kind of code that is used in Mono
199 for domain loading; Will test the rest later.
201 2006-09-01 Miguel de Icaza <miguel@novell.com>
203 * src/gmarkup.c (g_markup_parse_context_parse): Add text parsing
204 support, and end-element support; not tested yet.
206 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
208 * gutf8.c : bad allocation size. multiply sizeof gchar/gunichar2.
210 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
212 * gutf8.c : when error is null, utf8_to_utf16_len() and
213 utf16_to_utf8_len() could return -1, so return NULL for those
214 cases in g_utf8_to_utf16() and g_utf16_to_utf8().
216 2006-09-01 Miguel de Icaza <miguel@novell.com>
218 * src/gmarkup.c: Builds and does minimal parsing.
220 * test/markup.c: Sample test cases I have been using
222 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
225 src/gerror.c : added g_set_error().
227 g_utf8_to_utf16() and g_utf16_to_utf8() implementation.
228 * src/glib.h : added all above, and some dependent bits.
229 * src/Makefile.am : added gutf8.c.
230 * TODO: removed above.
232 test/tests.h : added utf8 tests.
233 * test/utf8.c : test for g_utf8_to_utf16 and g_utf16_to_utf8.
234 It still needs more tests e.g. for multibytes.
236 2006-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
238 * src/gspawn.c: small touch-ups and make read/write EINTR-proof.
240 2006-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
242 * test/file.c: remove useless test.
244 * test/spawn.c: new g_spawn_async_with_pipes test.
245 * src/glib.h: Modified file.
246 * src/gspawn.c: implemented g_spawn_async_with_pipes. Needs fine tuning.
248 2006-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
250 * TODO: Modified file.
258 * src/gfile.c: implemented g_dir_*, unix version.
260 2006-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
263 * test/Makefile.am: Modified file.
265 * src/Makefile.am: Modified file.
267 * src/gpattern.c: implemented the 3 pattern matching functions used.
269 * test/ptrarray.c: fix the compare function to work with qsort.
274 * src/gpath.c: made valgrind happy.
276 2006-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
280 * src/gfile.c: implemented g_file_test. Changed the default mask to
283 2006-08-26 Raja R Harinath <rharinath@novell.com>
285 * src/sort.frag.h (digit): Declare here based on externally
286 provided typedef 'list_node'.
287 (MAX_DIGITS): Use 'sizeof (list_node)'.
288 * src/gslist.c (list_node): Declare instead of 'digit'.
289 * src/glist.c: Likewise.
291 * test/slist.c (verify_sort): Verify the length of the list too.
292 (test_slist_sort): Free the correct list.
293 * test/list.c: Likewise.
294 * src/sort.frag.h (MAX_DIGITS): Rename from N_DIGITS.
295 (combine_sort): Change 'max_pos' argument to more natural
297 (increment): Likewise. Use 'n_digits' to avoid reading at an
298 offset that hasn't been initialized.
299 (do_sort): Remove memset.
301 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
306 * src/gfile.c: implement g_file_open_tmp.
308 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
312 * src/gdate.c: New file.
313 * src/gfile.c: New file.
314 * src/Makefile.am: implemented g_file_get_contents and
318 * test/file.c: New file.
319 * test/Makefile.am: tests for the above.
321 2006-08-26 Raja R Harinath <rharinath@novell.com>
323 * src/sort.frag.h: Add copyright notice and some explanation.
324 (increment): Remove null check.
325 (combine_digits): Add 'list' argument to seed the summation.
326 (do_sort): Use the empty or singleton tail as the seed, rather
327 than calling 'increment'.
329 2006-08-25 Raja R Harinath <rharinath@novell.com>
331 * TODO: Remove 'List' entries.
332 * src/Makefile.am (libeglib_la_SOURCES): Add sort.frag.h.
333 * src/sort.frag.h: New. Implements a "generic" bottom-up "counting"
334 mergesort that works both on singly- and doubly-linked lists.
335 * src/gslist.c (g_slist_sort): Use it.
336 * src/glist.c (g_list_sort): Likewise.
337 * src/glib.h (g_slist_sort, g_list_sort): Declare.
338 * test/slist.c, test/list.c: Add basic testcases.
340 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
342 * src/gspawn.c: propagate errors from reads.
343 * src/gpath.c: an empty PATH is like a NULL one.
345 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
353 * src/Makefile.am: implemented GTimer.
355 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
362 * src/Makefile.am: initial implentation of g_spawn_command_line_sync.
363 Still need better error handling, but works for the most part.
365 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
367 * src/garray.c: grow faster so that the 'big' test does not crawl.
369 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
372 * src/gqueue.c: plugged leaks.
374 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
377 * src/gpath.c: when PATH is not defined, the current dir is used.
380 2006-08-25 Alp Toker <alp@atoker.com>
382 * src/gstr.c: g_strv_length() should return guint, not gint
383 * src/glib.h: Add g_strv_length() prototype
385 2006-08-24 Miguel de Icaza <miguel@novell.com>
387 * src/gpath.c (g_get_home_dir, g_get_tmp_dir, g_get_user_name,
388 g_get_prgname, g_set_prgname): implemented.
392 * src/gpath.c (g_get_current_dir): Implement.
394 (g_find_program_in_path, g_path_is_absolute): implement.
396 Add g_path_get_dirname, g_path_get_basename
398 * src/gpath.c: Path routines
400 2006-08-23 Miguel de Icaza <miguel@novell.com>
402 * src/gerror.c: Implement.
404 * src/glist.c (g_list_sort): Remove routine instead of hoping that
405 it wont crash when we run it.
407 2006-08-23 Raja R Harinath <rharinath@novell.com>
409 * src/glist.c (g_list_insert_before): Avoid non-head declaration.
411 * test/slist.c (test_slist_insert_before): Add.
412 * src/gslist.c (g_slist_insert_before): Append if 'sibling' is null.
414 * test/list.c (test_list_insert_before): Add test for return value
415 of g_list_insert_before.
416 * test/Makefile.am (test_eglib_LDADD): Refer to the .la file so as
417 to rebuild test if eglib changes.
418 * src/glist.c (new_node, disconnect_node): New helpers that
419 maintain doubly-linked list invariants.
420 (g_list_prepend, g_list_append): Express in terms of new_node.
421 (g_list_insert_before): Likewise. Fix return value when inserting
422 in the middle of the list.
423 (g_list_concat): Reorganize to make more compact.
424 (g_list_nth): Likewise.
425 (g_list_nth_data): Don't segfault if 'n' is too large.
426 (g_list_remove): Rewrite using _find and disconnect_node.
427 (g_list_remove_link): Don't traverse list: use disconnect_node.
428 (g_list_insert_sorted): Rewrite to make more compact. Use new_node.
429 (g_list_copy): Likewise.
430 (_prepend, _concat): Remove.
431 * src/gslist.c (insert_after, find_prev, find_prev_link):
433 (g_slist_copy): Simplify slightly, using insert_after.
434 (g_slist_concat): Reorganize to make more compact.
435 (g_slist_find): Likewise.
436 (g_slist_insert_sorted): Likewise.
437 (g_slist_remove): Rewrite using find_prev.
438 (g_slist_remove_link): Rewrite using find_prev_link.
439 (g_slist_remove_all, g_slist_insert_before): New.
441 2006-08-21 Duncan Mak <duncan@a-chinaman.com>
443 * src/gqueue.c: GQueue implementation.
444 * src/glib.h: Add prototypes.
445 * src/Makefile.am (libeglib_la_SOURCES): Include gqueue.c.
448 * test/Makefile.am (SOURCES):
449 * test/tests.h (DEFINE_TEST_GROUP_INIT_H): add tests for GQueue.
451 2006-08-21 Aaron Bockover <abockover@novell.com>
453 * src/gstr.c: fixed bug/invalid read/write on malloc-only case (no
454 realloc/delimiter token not found); use memcpy instead of strncpy for
457 * test/test.c (run_group): allow running specific tests under a group;
458 added copied g_strsplit/g_strfreev from EGlib source as eg_strsplit
459 and eg_strfreev to avoid performance skews in the driver
461 * test/driver.c: allow user-specified group name to contain specific
462 test to run under the group as 'group_name:test1,test2,...testN'
464 * test/string-util.c: Added more g_strsplit tests
472 * test/hashtable.c: make test names shorter (no need to prefix with
473 the group since it runs under the group)
475 2006-08-21 Miguel de Icaza <miguel@novell.com>
477 * src/glib.h (g_hash_table_new_full): Add missing prototype.
478 Replace g_free(x) with plain free, so it can be used as a function
482 * src/ghashtable.c: Add rehashing.
484 * test/hashtable.c: Add a bunch of extra tests.
486 * src/goutput.c: Fix g_log so it actually formats the data.
488 * src/ghashtable.c (g_hash_table_new): The glib test suite
489 uncovered a bunch of bugs, the g_hash_table_new should actually
492 (g_hash_table_remove, g_hash_table_foreach_remove): Fixed bugs
495 2006-08-20 Aaron Bockover <abockover@novell.com>
497 * src/gmisc.c: added g_setenv, g_getenv, g_unsetenv
499 * src/gstr.c: added g_snprintf, g_sprintf, g_fprintf, g_printf
501 * src/glib.h: added macros for above va_args printf functions
503 * src/Makefile.am: added gmisc.c
505 * test/whats-implemented: script to see what needs to be implemented
507 2006-08-20 Chris Toshok <toshok@ximian.com>
509 * test/array.c (test_array_big): add a test from the glib
512 2006-08-20 Chris Toshok <toshok@ximian.com>
514 * test/tests.h: add array tests to the mix.
516 * test/array.c: a few array tests.
518 * src/glib.h: add array prototypes.
520 * src/garray.c: initial array foo.
522 * test/Makefile.am (SOURCES): add array.c
524 * src/Makefile.am (libeglib_la_SOURCES): add garray.c
526 2006-08-19 Aaron Bockover <abockover@novell.com>
528 * src/gstring.c: optimize and generalize reallocation by providing
529 a GROW_IF_NECESSARY macro, do not use strcpy/strcat as they are
530 very, very slow; GString is now much closer to GLib's implementation
531 in terms of performance
533 * test/string.c: added speed-specific tests to beat on reallocation code
535 * test/test-both: run make if the test drivers don't exist
537 2006-08-19 Jonathan Chambers <jonathan.chambers@gmail.com>
539 * src/gmodule.c: Add gmodule support for windows and fix
540 windows build. Contribution is licensed as MIT/X11.
542 2006-08-19 Aaron Bockover <abockover@novell.com>
544 * test/driver.c: Added --debug mode that allows for testing all paths
545 of the driver without actually running real tests; runs only the 'fake'
546 test, which does nothing; useful for running the driver through valgrind
550 * test/fake.c: Added fake test for valgrinding the driver
552 * test/ptrarray.c: update sort test
554 2006-08-19 Aaron Bockover <abockover@novell.com>
556 * test/test-both: added --help
558 2006-08-19 Aaron Bockover <abockover@novell.com>
560 * test/driver.c: added -n mode to show only raw global run times,
561 which is useful for scripts (test-both --speed-compare)
563 * test/test-both: added --speed-compare mode
565 * test/README: updated with information on --speed-compare
567 2006-08-19 Aaron Bockover <abockover@novell.com>
569 * test/test.c: do not print times if -t is not passed
571 * test/driver.c: removed use of GList from the driver to avoid skews due
572 to performance differences between GLib and EGLib
574 2006-08-19 Aaron Bockover <abockover@novell.com>
576 * test/test.c: Perform iterations at the test level, only output one
577 report for all iterations of tests in a group to produce more usable
578 output; add timing for the tests and group; added get_timestamp for
581 * test/test.h: Removed run_test as it should only be called from
582 run_group, added get_timestamp
584 * test/Makefile.am: Added -DDRIVER_NAME
586 * test/test-both: simple script to run both drivers with the same options
588 * test/driver.c: Iterations are now run at the test level, show a global
589 status (OK/FAIL) indicator
591 * test/README: Updated
593 * configure.ac: Renamed from configure.in as configure.in naming
594 convention is deprecated in favor of configure.ac
596 * autogen.sh: s/configure.in/configure.ac/
598 2006-08-19 Miguel de Icaza <miguel@novell.com>
600 * Makefile.am: Removed MAINTAINERCLEANFILES that was too
601 aggresive, it failed make distcheck and the resulting tarball was
604 * src/glib.h: remove the various GPOINTER_TO_*, G*_TO_POINTER,
605 GSIZE_FORMAT macros, and move them into src/eglib-config.h
607 Moved also gssize and gsize to be arch specific. This should fix
608 the 32/64 problems that Jon Chambers reported.
610 * configure.in: test for pointer size, define the various values
611 depending on 32 vs 32/64 worlds, might need further porting in the
614 Change package name to eglib
616 * test/slist.c, test/list.c, test/hashtable.c: Update tests to use
619 * test/string-util.c: fix leak for valgrind tests.
621 * test/tests.h: New size test, for testing datatypes.
623 * test/sizes.c: New tests.
625 2006-08-19 Aaron Bockover <abockover@novell.com>
627 * test/README: Added quick guide on adding new tests/groups to the
628 driver and some examples on how to perform various tests with the driver
630 2006-08-18 Aaron Bockover <abockover@novell.com>
632 * test/driver.c: Added getopt support and code timing, among other
633 nice features to make testing/profiling easier
635 * test/test.c: Add support for suppressing output (quiet) and
636 define RESULT, FAILED, and OK
639 * src/glist.c: Added g_list_nth_data implementation
642 * test/string-util.c:
646 * test/list.c: Use RESULT, FAILURE, and OK for tests
648 2006-08-18 Miguel de Icaza <miguel@novell.com>
650 * src/gstring.c (g_string_truncate): Implement truncate.
651 (g_string_prepend): implement.
653 Fix various bugs uncovered by new tests.
655 * src/glib.h: introduce gssize type, the signed one. Important.
657 * src/eglib-config.h (G_OS_): Add the G_OS_UNIX and G_OS_WIN32
658 defines that we can use to check on the host OS.
660 2006-08-18 Aaron Bockover <abockover@novell.com>
663 * test/driver.c: Support pass/fail logging on tests to show group report
665 2006-08-18 Aaron Bockover <abockover@novell.com>
668 * test/test.h: Added result() to be used in place of g_strdup_printf(),
669 it's shorter to write and allows the duped string to be freed safely;
670 added license header to file
672 * test/driver.c: Added license header to file
674 * test/string-util.c:
677 * test/list.c: Use result() in place of g_strdup_printf(), it's nicer
679 2006-08-18 Aaron Bockover <abockover@novell.com>
681 * src/gptrarray.c: Implemented g_ptr_array_sort
683 * test/ptrarray.c: Added sort test
685 * test/driver.c: Added --help; support running N iterations and allow
686 selecting which test groups to run; uses the test group table in tests.h
688 * test/tests.h: Added group table
691 * test/test.c: Using a Group structure and table, removed run_groups
692 as we only need run_group now
694 * test/slist.h: Removed, not needed, tests/groups defined in tests.h
696 2006-08-18 Miguel de Icaza <miguel@novell.com>
698 * src/unicode.c: New file, to host unicode code, it will throw as
699 this code is no longer used in the Mono runtime anyways.
701 * src/glib.h: Use stdint.h types, a lot of the good stuff is
704 2006-08-18 Duncan Mak <duncan@a-chinaman.com>
706 * src/glist.c (g_list_remove, g_list_remove_link): Implemented.
708 * src/gslist.c (g_slist_remove): Remember to set the next pointer
709 to NULL when the item to remove is the first item in the list.
711 2006-08-18 Duncan Mak <duncan@a-chinaman.com>
713 * src/glist.c: Implemented. Missing remove,
714 remove_link and insert_before.
716 * test/list.c: Tests for GList.
718 2006-08-17 Aaron Bockover <abockover@novell.com>
720 * src/gptrarray.c: Implemented g_ptr_array_remove and
721 g_ptr_array_remove_index
723 * test/other: Removed, rewritten in Makefile.am
725 * test/Makefile.am: Build test-eglib against local eglib and
726 test-glib against GLib 2.0 (replaces 'other')
728 * test/ptrarray.c: Added tests for g_ptr_array_remove and
729 g_ptr_array_remove_index
731 2006-08-17 Duncan Mak <duncan@a-chinaman.com>
733 * src/gslist.c: Added MIT license.
734 (g_slist_insert_sorted): Forgot the case where the data is
735 appended to the end of the list.
737 * test/slist.c (test_slist_insert_sorted): Fix the test.
739 2006-08-17 Aaron Bockover <abockover@novell.com>
741 * src/gptrarray.c: Added g_ptr_array_set_size implementation
743 * test/ptrarray.c: Added test for g_ptr_array_set_size
745 2006-08-17 Miguel de Icaza <miguel@novell.com>
747 * src/glib.h: A handful of extra macros
749 * configure.in, src/eglib-config.h.in: Set some system-specific
750 settings that are probed at configure time.
752 2006-08-17 Aaron Bockover <abockover@novell.com>
754 * src/gptrarray.c: Added beginnings of GPtrArray (alloc, free, add, iterate)
756 * src/glib.h: Added GPtrArray signatures
758 * src/Makefile.am: Added gptrarray.c to build
763 * test/Makefile.am: Add ptrarray tests for available functionality
765 2006-08-17 Aaron Bockover <abockover@novell.com>
768 * test/test.c: Added group iterator/test driver functionality
770 * test/driver.c: Added groups to run using new test functionality
774 * test/string-util.h: Test group definitions for string util/hashtable
778 * test/hash.c: Added test definition table
780 * test/Makefile.am: Added -Wall -Werror -D_FORTIFY_SOURCE=2
782 * src/gstr.c: Added implementation for g_str_has_prefix, g_str_has_suffix
784 * src/glib.h: Added missing function signatures
786 * src/Makefile.am: added -D_FORTIFY_SOURCE=2
788 2006-08-17 Duncan Mak <duncan@a-chinaman.com>
790 * src/gslist.c (g_slist_remove_link): I misread the function
791 signature. Re-implemented.
792 (g_slist_delete_link): Implemented.
793 (g_slist_reverse): Implemented.
794 (g_slist_insert_sorted): Implemented.
796 2006-08-17 Duncan Mak <duncan@a-chinaman.com>
798 * src/gslist.c (g_slist_find):
801 (g_slist_remove_link): Implemented.
803 * test/slist.c: Tests for GSList.
805 2006-08-17 Raja R Harinath <harinath@gmail.com>
807 * src/gslist.c (g_slist_free_1): New. Free a single list node.
808 (g_slist_free): Use it to free the list nodes. Don't free the
809 data, since the list doesn't own it.
810 (g_slist_append): Convert into a one-liner.
811 (g_slist_foreach): Remove redundant null check.
812 (g_slist_last): Actually return the last node.
813 (g_slist_copy): Simplify.
814 * src/gslist.h (g_slist_free_1): Add.
816 2006-08-16 Duncan Mak <duncan@a-chinaman.com>
820 * src/gslist.h: First attempt at implementing GSList, incomplete.
822 * src/Makefile.am (libeglib_la_SOURCES): add gslist.c
823 * src/glib.h: Add GFunc definition. #include the new gslist.h.
825 2006-08-16 Miguel de Icaza <miguel@novell.com>
827 * src/Makefile.am: Added -Wall,-Werror, corrected lots of
830 * src/gstring.c: Gstring implementation.
832 * test/str.c (test_gstring): string tests.
834 2006-08-16 Aaron Bockover <abockover@novell.com>
836 * src/gstr.c: Added g_strsplit implementation
838 * test/driver.c: Run the split test
840 * test/str.c: Added a test for g_strsplit
844 * test/Makefile.am: Added MAINTAINERCLEANFILES
846 2006-08-16 Miguel de Icaza <miguel@novell.com>
848 * src/gouput.c: Implement some output routines, update missing
851 * test: Add test driver, and initial tests.
853 2006-08-15 Miguel de Icaza <miguel@novell.com>
855 * src/ghashtable.c: Implement most of this, it is completely
856 untested at this point.