87a912f721689fff88258b118bf1aba9420d386c
[mono.git] / eglib / ChangeLog
1 2006-10-14  Miguel de Icaza  <miguel@novell.com>
2
3         * src/glib.h: add various _TO_LE and _FROM_LE macros.
4
5         * test/endian.c: tests for endian conversion macros.
6
7 2006-10-09  Miguel de Icaza  <miguel@novell.com>
8
9         * src/gmodule.h: Move definitions of gmodule to gmodule.h because
10         Mono expects it there.
11
12 Mon Oct 9 12:59:16 CEST 2006 Paolo Molaro <lupus@ximian.com>
13
14         * src/ghashtable.c: s/to_prime/g_spaced_primes_closest/g
15         and put the array in readonly memory.
16         * src/gstr.c: fixed the build and made array const.
17         * src/gmodule.c: fixed thinko.
18
19 2006-10-08  Miguel de Icaza  <miguel@novell.com>
20
21         * src/gstr.c (g_strdup): should allow NULL as an argument.
22
23 2006-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
24
25         * test/string-util.c:
26         * TODO:
27         * src/gstr.c:
28         * src/glib.h: implemented g_strescape.
29
30 2006-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
31
32         * test/string-util.c:
33         * configure.ac:
34         * TODO:
35         * src/gstr.c:
36         * src/glib.h: implemented g_strlcpy.
37
38 2006-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
39
40         * test/string-util.c:
41         * TODO:
42         * src/gstr.c:
43         * src/glib.h: implemented g_strdelimit.
44
45 2006-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
46
47         * test/spawn.c: add search path flag when running ls.
48         * src/gspawn.c: g_spawn_command_line_sync searches the program in the
49         PATH if it's not an absolute path.
50
51 2006-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
52
53         * test/string-util.c:
54         * src/glib.h: implement g_ascii_xdigit_value and tests.
55
56 2006-10-06  Miguel de Icaza  <miguel@novell.com>
57
58         * src/gstr.c (g_ascii_strdown): Implement.
59
60         * str/glib.c (g_log_set_handler): empty.
61         (g_printerr): empty.
62         (GMemVTable): define, empty, ignored.
63         (G_USEC_PER_SEC) :-)
64
65         * src/gunicode.c (g_convert): Add bytes_read, bytes_written
66         support;   Small fixes to avoid valgrind errors. 
67         
68         (g_utf8_validate): Add, based on the libxml code.
69
70         gstr.c: implement g_strdown. 
71
72 2006-10-05  Miguel de Icaza  <miguel@novell.com>
73
74         * src/gunicode.c: Some work in progress to implement g_convert
75         (which is needed by g_locale_to_utf8).    
76
77 2006-09-18  Miguel de Icaza  <miguel@novell.com>
78
79         * test/string-util.c (test_filename_from_uri): tests for new
80         methods.
81
82         * src/gstr.c (g_filename_to_uri, g_filename_from_uri): implement. 
83
84 2006-09-14  Atsushi Enomoto  <atsushi@ximian.com>
85
86         * src/gutf8.c, test/utf8.c : EOL fix.
87
88 2006-09-04  Miguel de Icaza  <miguel@novell.com>
89
90         * src/gmarkup.c: The leak fixing commit.
91         
92         * src/gmarkup.c (g_markup_parse_context_end_parse): Add missing
93         method. 
94         (g_markup_parse_context_free): Implement. 
95         (parse_attributes): Store the value, not the attribute name
96         twice. 
97         Properly check the /> section.
98         (g_markup_parse_context_parse): When checking for error, use the
99         "error!=NULL && *error != NULL" upon return from callbacks,
100         it is only then that its valid to check for *error for error
101         conditions. 
102         (g_markup_parse_context_parse): Add comment processing.
103
104         Only release one element of the list.
105
106         * test/markup.c: Incorporate the kind of code that is used in Mono
107         for domain loading;  Will test the rest later. 
108
109 2006-09-01  Miguel de Icaza  <miguel@novell.com>
110
111         * src/gmarkup.c (g_markup_parse_context_parse): Add text parsing
112         support, and end-element support; not tested yet.
113
114 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
115
116         * gutf8.c : bad allocation size. multiply sizeof gchar/gunichar2.
117
118 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
119
120         * gutf8.c : when error is null, utf8_to_utf16_len() and
121           utf16_to_utf8_len() could return -1, so return NULL for those
122           cases in g_utf8_to_utf16() and g_utf16_to_utf8().
123
124 2006-09-01  Miguel de Icaza  <miguel@novell.com>
125
126         * src/gmarkup.c: Builds and does minimal parsing.
127
128         * test/markup.c: Sample test cases I have been using
129
130 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
131
132         * src/gerror.h,
133           src/gerror.c : added g_set_error().
134         * src/gutf8.c :
135           g_utf8_to_utf16() and g_utf16_to_utf8() implementation.
136         * src/glib.h : added all above, and some dependent bits.
137         * src/Makefile.am : added gutf8.c.
138         * TODO: removed above.
139         * test/Makefile.am,
140           test/tests.h : added utf8 tests.
141         * test/utf8.c : test for g_utf8_to_utf16 and g_utf16_to_utf8.
142           It still needs more tests e.g. for multibytes.
143
144 2006-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
145
146         * src/gspawn.c: small touch-ups and make read/write EINTR-proof.
147
148 2006-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
149
150         * test/file.c: remove useless test.
151
152         * test/spawn.c: new g_spawn_async_with_pipes test.
153         * src/glib.h: Modified file.
154         * src/gspawn.c: implemented g_spawn_async_with_pipes. Needs fine tuning.
155
156 2006-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
157
158         * TODO: Modified file.
159         * test/tests.h:
160         * test/pattern.c:
161         * test/dir.c:
162         * test/Makefile.am:
163         * src/Makefile.am:
164         * src/glib.h:
165         * src/gdir.c:
166         * src/gfile.c: implemented g_dir_*, unix version.
167
168 2006-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
169
170         * src/glib.h:
171         * test/Makefile.am: Modified file.
172         * test/tests.h:
173         * src/Makefile.am: Modified file.
174         * test/pattern.c:
175         * src/gpattern.c: implemented the 3 pattern matching functions used.
176
177         * test/ptrarray.c: fix the compare function to work with qsort.
178
179         * test/file.c:
180         * test/path.c:
181         * src/gspawn.c:
182         * src/gpath.c: made valgrind happy.
183
184 2006-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
185
186         * test/file.c:
187         * src/glib.h:
188         * src/gfile.c:  implemented g_file_test. Changed the default mask to
189         .XXXXXX. Add tests.
190
191 2006-08-26  Raja R Harinath  <rharinath@novell.com>
192
193         * src/sort.frag.h (digit): Declare here based on externally
194         provided typedef 'list_node'.
195         (MAX_DIGITS): Use 'sizeof (list_node)'.
196         * src/gslist.c (list_node): Declare instead of 'digit'.
197         * src/glist.c: Likewise.
198
199         * test/slist.c (verify_sort): Verify the length of the list too.
200         (test_slist_sort): Free the correct list.
201         * test/list.c: Likewise.
202         * src/sort.frag.h (MAX_DIGITS): Rename from N_DIGITS.
203         (combine_sort): Change 'max_pos' argument to more natural
204         'n_digits'.
205         (increment): Likewise.  Use 'n_digits' to avoid reading at an
206         offset that hasn't been initialized.
207         (do_sort): Remove memset.
208
209 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
210
211         * TODO:
212         * test/file.c:
213         * src/glib.h:
214         * src/gfile.c: implement g_file_open_tmp.
215
216 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
217
218         * TODO:
219         * src/glib.h:
220         * src/gdate.c: New file.
221         * src/gfile.c: New file.
222         * src/Makefile.am: implemented g_file_get_contents and
223         g_get_current_time.
224
225         * test/tests.h:
226         * test/file.c: New file.
227         * test/Makefile.am: tests for the above.
228
229 2006-08-26  Raja R Harinath  <rharinath@novell.com>
230
231         * src/sort.frag.h: Add copyright notice and some explanation.
232         (increment): Remove null check.
233         (combine_digits): Add 'list' argument to seed the summation.
234         (do_sort): Use the empty or singleton tail as the seed, rather
235         than calling 'increment'.
236
237 2006-08-25  Raja R Harinath  <rharinath@novell.com>
238
239         * TODO: Remove 'List' entries.
240         * src/Makefile.am (libeglib_la_SOURCES): Add sort.frag.h.
241         * src/sort.frag.h: New.  Implements a "generic" bottom-up "counting"
242         mergesort that works both on singly- and doubly-linked lists.
243         * src/gslist.c (g_slist_sort): Use it.
244         * src/glist.c (g_list_sort): Likewise.
245         * src/glib.h (g_slist_sort, g_list_sort): Declare.
246         * test/slist.c, test/list.c: Add basic testcases.
247
248 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
249
250         * src/gspawn.c: propagate errors from reads.
251         * src/gpath.c: an empty PATH is like a NULL one.
252
253 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
254
255         * test/tests.h:
256         * test/timer.c:
257         * test/Makefile.am:
258         * TODO:
259         * src/glib.h:
260         * src/gtimer.c:
261         * src/Makefile.am: implemented GTimer.
262
263 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
264
265         * test/tests.h:
266         * test/Makefile.am:
267         * test/spawn.c:
268         * src/gspawn.c:
269         * src/glib.h:
270         * src/Makefile.am: initial implentation of g_spawn_command_line_sync.
271         Still need better error handling, but works for the most part.
272
273 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
274
275         * src/garray.c: grow faster so that the 'big' test does not crawl.
276
277 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
278
279         * test/shell.c:
280         * src/gqueue.c: plugged leaks.
281
282 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
283
284         * test/path.c:
285         * src/gpath.c: when PATH is not defined, the current dir is used.
286         See execvp(3).
287
288 2006-08-25  Alp Toker  <alp@atoker.com>
289
290         * src/gstr.c: g_strv_length() should return guint, not gint
291         * src/glib.h: Add g_strv_length() prototype
292         
293 2006-08-24  Miguel de Icaza  <miguel@novell.com>
294
295         * src/gpath.c (g_get_home_dir, g_get_tmp_dir, g_get_user_name,
296         g_get_prgname, g_set_prgname): implemented.
297
298         * test/ Fix leaks.
299         
300         * src/gpath.c (g_get_current_dir): Implement.
301
302         (g_find_program_in_path, g_path_is_absolute): implement.
303         
304         Add g_path_get_dirname, g_path_get_basename
305
306         * src/gpath.c: Path routines
307
308 2006-08-23  Miguel de Icaza  <miguel@novell.com>
309
310         * src/gerror.c: Implement. 
311
312         * src/glist.c (g_list_sort): Remove routine instead of hoping that
313         it wont crash when we run it.
314
315 2006-08-23  Raja R Harinath  <rharinath@novell.com>
316
317         * src/glist.c (g_list_insert_before): Avoid non-head declaration.
318
319         * test/slist.c (test_slist_insert_before): Add.
320         * src/gslist.c (g_slist_insert_before): Append if 'sibling' is null.
321
322         * test/list.c (test_list_insert_before): Add test for return value
323         of g_list_insert_before.
324         * test/Makefile.am (test_eglib_LDADD): Refer to the .la file so as
325         to rebuild test if eglib changes.
326         * src/glist.c (new_node, disconnect_node): New helpers that
327         maintain doubly-linked list invariants.
328         (g_list_prepend, g_list_append): Express in terms of new_node.
329         (g_list_insert_before): Likewise.  Fix return value when inserting
330         in the middle of the list.
331         (g_list_concat): Reorganize to make more compact.
332         (g_list_nth): Likewise.
333         (g_list_nth_data): Don't segfault if 'n' is too large.
334         (g_list_remove): Rewrite using _find and disconnect_node.
335         (g_list_remove_link): Don't traverse list: use disconnect_node.
336         (g_list_insert_sorted): Rewrite to make more compact.  Use new_node.
337         (g_list_copy): Likewise.
338         (_prepend, _concat): Remove.
339         * src/gslist.c (insert_after, find_prev, find_prev_link):
340         New helpers.
341         (g_slist_copy): Simplify slightly, using insert_after.
342         (g_slist_concat): Reorganize to make more compact.
343         (g_slist_find): Likewise.
344         (g_slist_insert_sorted): Likewise.
345         (g_slist_remove): Rewrite using find_prev.
346         (g_slist_remove_link): Rewrite using find_prev_link.
347         (g_slist_remove_all, g_slist_insert_before): New.
348
349 2006-08-21  Duncan Mak  <duncan@a-chinaman.com>
350
351         * src/gqueue.c: GQueue implementation.
352         * src/glib.h: Add prototypes.
353         * src/Makefile.am (libeglib_la_SOURCES): Include gqueue.c.
354
355         * test/queue.c:         
356         * test/Makefile.am (SOURCES):
357         * test/tests.h (DEFINE_TEST_GROUP_INIT_H): add tests for GQueue.
358
359 2006-08-21  Aaron Bockover  <abockover@novell.com>
360
361         * src/gstr.c: fixed bug/invalid read/write on malloc-only case (no
362         realloc/delimiter token not found); use memcpy instead of strncpy for
363         better performance
364
365         * test/test.c (run_group): allow running specific tests under a group;
366         added copied g_strsplit/g_strfreev from EGlib source as eg_strsplit
367         and eg_strfreev to avoid performance skews in the driver
368         
369         * test/driver.c: allow user-specified group name to contain specific
370         test to run under the group as 'group_name:test1,test2,...testN'
371
372         * test/string-util.c: Added more g_strsplit tests
373
374         * test/slist.c:
375         * test/ptrarray.c:
376         * test/fake.c:
377         * test/string.c:
378         * test/list.c:
379         * test/array.c:
380         * test/hashtable.c: make test names shorter (no need to prefix with
381         the group since it runs under the group)
382
383 2006-08-21  Miguel de Icaza  <miguel@novell.com>
384
385         * src/glib.h (g_hash_table_new_full): Add missing prototype.
386         Replace g_free(x) with plain free, so it can be used as a function
387         argument. 
388         Add ABS
389
390         * src/ghashtable.c: Add rehashing. 
391
392         * test/hashtable.c: Add a bunch of extra tests.
393
394         * src/goutput.c: Fix g_log so it actually formats the data. 
395
396         * src/ghashtable.c (g_hash_table_new): The glib test suite
397         uncovered a bunch of bugs, the g_hash_table_new should actually
398         have parameters.
399
400         (g_hash_table_remove, g_hash_table_foreach_remove): Fixed bugs
401         uncovered. 
402
403 2006-08-20  Aaron Bockover  <abockover@novell.com>
404
405         * src/gmisc.c: added g_setenv, g_getenv, g_unsetenv
406
407         * src/gstr.c: added g_snprintf, g_sprintf, g_fprintf, g_printf
408
409         * src/glib.h: added macros for above va_args printf functions
410
411         * src/Makefile.am: added gmisc.c
412
413         * test/whats-implemented: script to see what needs to be implemented
414
415 2006-08-20  Chris Toshok  <toshok@ximian.com>
416
417         * test/array.c (test_array_big): add a test from the glib
418         documentation.
419
420 2006-08-20  Chris Toshok  <toshok@ximian.com>
421
422         * test/tests.h: add array tests to the mix.
423
424         * test/array.c: a few array tests.
425
426         * src/glib.h: add array prototypes.
427
428         * src/garray.c: initial array foo.
429
430         * test/Makefile.am (SOURCES): add array.c
431
432         * src/Makefile.am (libeglib_la_SOURCES): add garray.c
433
434 2006-08-19  Aaron Bockover  <abockover@novell.com>
435
436         * src/gstring.c: optimize and generalize reallocation by providing
437         a GROW_IF_NECESSARY macro, do not use strcpy/strcat as they are 
438         very, very slow; GString is now much closer to GLib's implementation
439         in terms of performance
440
441         * test/string.c: added speed-specific tests to beat on reallocation code
442
443         * test/test-both: run make if the test drivers don't exist
444
445 2006-08-19  Jonathan Chambers  <jonathan.chambers@gmail.com>
446
447         * src/gmodule.c: Add gmodule support for windows and fix
448         windows build. Contribution is licensed as MIT/X11.
449         
450 2006-08-19  Aaron Bockover  <abockover@novell.com>
451
452         * test/driver.c: Added --debug mode that allows for testing all paths
453         of the driver without actually running real tests; runs only the 'fake'
454         test, which does nothing; useful for running the driver through valgrind
455
456         * test/Makefile.am:
457         * test/tests.h:
458         * test/fake.c: Added fake test for valgrinding the driver
459
460         * test/ptrarray.c: update sort test
461
462 2006-08-19  Aaron Bockover  <abockover@novell.com>
463
464         * test/test-both: added --help
465
466 2006-08-19  Aaron Bockover  <abockover@novell.com>
467
468         * test/driver.c: added -n mode to show only raw global run times,
469         which is useful for scripts (test-both --speed-compare)
470
471         * test/test-both: added --speed-compare mode
472
473         * test/README: updated with information on --speed-compare
474
475 2006-08-19  Aaron Bockover  <abockover@novell.com>
476
477         * test/test.c: do not print times if -t is not passed
478
479         * test/driver.c: removed use of GList from the driver to avoid skews due
480         to performance differences between GLib and EGLib
481         
482 2006-08-19  Aaron Bockover  <abockover@novell.com>
483
484         * test/test.c: Perform iterations at the test level, only output one
485         report for all iterations of tests in a group to produce more usable
486         output; add timing for the tests and group; added get_timestamp for
487         easy code timing
488
489         * test/test.h: Removed run_test as it should only be called from 
490         run_group, added get_timestamp
491
492         * test/Makefile.am: Added -DDRIVER_NAME 
493
494         * test/test-both: simple script to run both drivers with the same options
495
496         * test/driver.c: Iterations are now run at the test level, show a global
497         status (OK/FAIL) indicator
498
499         * test/README: Updated
500
501         * configure.ac: Renamed from configure.in as configure.in naming 
502         convention is deprecated in favor of configure.ac
503
504         * autogen.sh: s/configure.in/configure.ac/
505
506 2006-08-19  Miguel de Icaza  <miguel@novell.com>
507
508         * Makefile.am: Removed MAINTAINERCLEANFILES that was too
509         aggresive, it failed make distcheck and the resulting tarball was
510         not buildable.
511
512         * src/glib.h: remove the various GPOINTER_TO_*, G*_TO_POINTER,
513         GSIZE_FORMAT macros, and move them into src/eglib-config.h
514
515         Moved also gssize and gsize to be arch specific.   This should fix
516         the 32/64 problems that Jon Chambers reported. 
517
518         * configure.in: test for pointer size, define the various values
519         depending on 32 vs 32/64 worlds, might need further porting in the
520         future. 
521
522         Change package name to eglib
523
524         * test/slist.c, test/list.c, test/hashtable.c: Update tests to use
525         FAILURE macro.
526
527         * test/string-util.c: fix leak for valgrind tests.
528
529         * test/tests.h: New size test, for testing datatypes.
530
531         * test/sizes.c: New tests.
532         
533 2006-08-19  Aaron Bockover  <abockover@novell.com>
534
535         * test/README: Added quick guide on adding new tests/groups to the 
536         driver and some examples on how to perform various tests with the driver
537
538 2006-08-18  Aaron Bockover  <abockover@novell.com>
539
540         * test/driver.c: Added getopt support and code timing, among other 
541         nice features to make testing/profiling easier
542
543         * test/test.c: Add support for suppressing output (quiet) and
544         define RESULT, FAILED, and OK
545
546         * src/glib.h:
547         * src/glist.c: Added g_list_nth_data implementation
548
549         * test/slist.c:
550         * test/string-util.c:
551         * test/ptrarray.c:
552         * test/string.c:
553         * test/hashtable.c:
554         * test/list.c: Use RESULT, FAILURE, and OK for tests
555
556 2006-08-18  Miguel de Icaza  <miguel@novell.com>
557
558         * src/gstring.c (g_string_truncate): Implement truncate. 
559         (g_string_prepend): implement. 
560
561         Fix various bugs uncovered by new tests. 
562
563         * src/glib.h: introduce gssize type, the signed one.  Important. 
564
565         * src/eglib-config.h (G_OS_): Add the G_OS_UNIX and G_OS_WIN32
566         defines that we can use to check on the host OS.
567
568 2006-08-18  Aaron Bockover  <abockover@novell.com>
569
570         * test/test.[ch]:
571         * test/driver.c: Support pass/fail logging on tests to show group report
572
573 2006-08-18  Aaron Bockover  <abockover@novell.com>
574
575         * test/test.c: 
576         * test/test.h: Added result() to be used in place of g_strdup_printf(),
577         it's shorter to write and allows the duped string to be freed safely;
578         added license header to file
579
580         * test/driver.c: Added license header to file
581
582         * test/string-util.c:
583         * test/ptrarray.c:
584         * test/string.c:
585         * test/list.c: Use result() in place of g_strdup_printf(), it's nicer
586
587 2006-08-18  Aaron Bockover  <abockover@novell.com>
588
589         * src/gptrarray.c: Implemented g_ptr_array_sort
590
591         * test/ptrarray.c: Added sort test
592         
593         * test/driver.c: Added --help; support running N iterations and allow
594         selecting which test groups to run; uses the test group table in tests.h
595         
596         * test/tests.h: Added group table
597         
598         * test/test.h:
599         * test/test.c: Using a Group structure and table, removed run_groups
600         as we only need run_group now
601
602         * test/slist.h: Removed, not needed, tests/groups defined in tests.h
603
604 2006-08-18  Miguel de Icaza  <miguel@novell.com>
605
606         * src/unicode.c: New file, to host unicode code, it will throw as
607         this code is no longer used in the Mono runtime anyways.
608         
609         * src/glib.h: Use stdint.h types, a lot of the good stuff is
610         replicated by glib.
611
612 2006-08-18  Duncan Mak  <duncan@a-chinaman.com>
613
614         * src/glist.c (g_list_remove, g_list_remove_link): Implemented. 
615
616         * src/gslist.c (g_slist_remove): Remember to set the next pointer
617         to NULL when the item to remove is the first item in the list.
618         
619 2006-08-18  Duncan Mak  <duncan@a-chinaman.com>
620
621         * src/glist.c: Implemented. Missing remove,
622         remove_link and insert_before.
623
624         * test/list.c: Tests for GList.
625
626 2006-08-17  Aaron Bockover  <abockover@novell.com>
627
628         * src/gptrarray.c: Implemented g_ptr_array_remove and 
629         g_ptr_array_remove_index
630
631         * test/other: Removed, rewritten in Makefile.am
632
633         * test/Makefile.am: Build test-eglib against local eglib and 
634         test-glib against GLib 2.0 (replaces 'other')
635
636         * test/ptrarray.c: Added tests for g_ptr_array_remove and
637         g_ptr_array_remove_index
638
639 2006-08-17  Duncan Mak  <duncan@a-chinaman.com>
640
641         * src/gslist.c: Added MIT license.
642         (g_slist_insert_sorted): Forgot the case where the data is
643         appended to the end of the list.
644
645         * test/slist.c (test_slist_insert_sorted): Fix the test.        
646
647 2006-08-17  Aaron Bockover  <abockover@novell.com>
648
649         * src/gptrarray.c: Added g_ptr_array_set_size implementation
650
651         * test/ptrarray.c: Added test for g_ptr_array_set_size
652
653 2006-08-17  Miguel de Icaza  <miguel@novell.com>
654
655         * src/glib.h: A handful of extra macros
656
657         * configure.in, src/eglib-config.h.in: Set some system-specific
658         settings that are probed at configure time.
659
660 2006-08-17  Aaron Bockover  <abockover@novell.com>
661
662         * src/gptrarray.c: Added beginnings of GPtrArray (alloc, free, add, iterate)
663
664         * src/glib.h: Added GPtrArray signatures
665
666         * src/Makefile.am: Added gptrarray.c to build
667
668         * test/ptrarray.c:
669         * test/tests.h:
670         * test/driver.c:
671         * test/Makefile.am: Add ptrarray tests for available functionality
672
673 2006-08-17  Aaron Bockover  <abockover@novell.com>
674         
675         * test/test.h: 
676         * test/test.c: Added group iterator/test driver functionality
677         
678         * test/driver.c: Added groups to run using new test functionality
679         
680         * test/slist.h:
681         * test/hashtable.h:
682         * test/string-util.h: Test group definitions for string util/hashtable
683
684         * test/slist.c:
685         * test/str.c: 
686         * test/hash.c: Added test definition table 
687
688         * test/Makefile.am: Added -Wall -Werror -D_FORTIFY_SOURCE=2
689
690         * src/gstr.c: Added implementation for g_str_has_prefix, g_str_has_suffix
691
692         * src/glib.h: Added missing function signatures
693
694         * src/Makefile.am: added -D_FORTIFY_SOURCE=2 
695
696 2006-08-17  Duncan Mak  <duncan@a-chinaman.com>
697
698         * src/gslist.c (g_slist_remove_link): I misread the function
699         signature. Re-implemented.
700         (g_slist_delete_link): Implemented.
701         (g_slist_reverse): Implemented.
702         (g_slist_insert_sorted): Implemented.
703
704 2006-08-17  Duncan Mak  <duncan@a-chinaman.com>
705
706         * src/gslist.c (g_slist_find): 
707         (g_slist_length):
708         (g_slist_remove):
709         (g_slist_remove_link): Implemented.
710
711         * test/slist.c: Tests for GSList.
712
713 2006-08-17  Raja R Harinath  <harinath@gmail.com>
714
715         * src/gslist.c (g_slist_free_1): New.  Free a single list node.
716         (g_slist_free): Use it to free the list nodes.  Don't free the
717         data, since the list doesn't own it.
718         (g_slist_append): Convert into a one-liner.
719         (g_slist_foreach): Remove redundant null check.
720         (g_slist_last): Actually return the last node.
721         (g_slist_copy): Simplify.
722         * src/gslist.h (g_slist_free_1): Add.
723
724 2006-08-16  Duncan Mak  <duncan@a-chinaman.com>
725
726         * src/gslist.c:
727
728         * src/gslist.h: First attempt at implementing GSList, incomplete.
729
730         * src/Makefile.am (libeglib_la_SOURCES): add gslist.c
731         * src/glib.h: Add GFunc definition. #include the new gslist.h.
732
733 2006-08-16  Miguel de Icaza  <miguel@novell.com>
734
735         * src/Makefile.am: Added -Wall,-Werror, corrected lots of
736         mistakes.
737
738         * src/gstring.c: Gstring implementation.
739
740         * test/str.c (test_gstring): string tests.
741
742 2006-08-16  Aaron Bockover  <abockover@novell.com>
743
744         * src/gstr.c: Added g_strsplit implementation
745
746         * test/driver.c: Run the split test
747
748         * test/str.c: Added a test for g_strsplit
749
750         * Makefile.am:
751         * src/Makefile.am:
752         * test/Makefile.am: Added MAINTAINERCLEANFILES
753
754 2006-08-16  Miguel de Icaza  <miguel@novell.com>
755
756         * src/gouput.c: Implement some output routines, update missing
757         progress. 
758
759         * test: Add test driver, and initial tests. 
760
761 2006-08-15  Miguel de Icaza  <miguel@novell.com>
762
763         * src/ghashtable.c: Implement most of this, it is completely
764         untested at this point.
765