2009-05-18 Miguel de Icaza <miguel@novell.com>
[mono.git] / eglib / ChangeLog
1 2009-04-22  Jeffrey Stedfast  <fejj@novell.com>
2
3         * src/gtimer-win32.c (g_timer_elapsed): Avoid re-querying freq by
4         just saving it in a static variable. Also modified microseconds
5         calculation to avoid overflow.
6
7 2009-04-05  Miguel de Icaza  <miguel@novell.com>
8
9         * src/gpath.c: Avoid situations where we add the separator if one
10         of the elements is the separator.
11
12 2009-04-02  Miguel de Icaza  <miguel@novell.com>
13
14         * src/gpath.c: If the first element is NULL, return an empty
15         string. 
16
17 2009-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
18
19         * src/gstr.c: use memset in g_strnfill.
20
21 2009-01-19  Bill Holmes  <billholmes54@gmail.com>
22
23         * src/gstr.c (g_strnfill):  Fixing a warning for MSVC.
24
25         Contributed under MIT/X11 license.
26
27 2009-02-05  Miguel de Icaza  <miguel@novell.com>
28
29         * src/gstr.c: Add g_strnfill
30
31         * src/glib.h: Add g_list_previous
32
33 2009-01-19  Bill Holmes  <billholmes54@gmail.com>
34
35         * gmisc-win32.c (g_path_is_absolute):  Adding support for UNC
36           paths on Windows.
37
38         Contributed under MIT/X11 license.
39
40 2009-01-08  Bill Holmes  <billholmes54@gmail.com>
41
42         * winconfig.h, src/gfile-posix.c :
43           Fixing the MSVC builds.
44
45         Contributed under MIT/X11 license.
46
47 2009-01-07  Miguel de Icaza  <miguel@novell.com>
48
49         * src/gfile-posix.c: Move g_get_current_dir, as it is a
50         POSIX-esque feature, and some other systems do not have current
51         directories. 
52
53         * src/glib.h (G_LOCK_DEFINE, G_LOCK_DEFINE_STATIC): 
54
55         Embedded support from Paolo's work on quack.
56         
57         * configure.ac: check for strtok_r, langinfo.h and iconv.h
58         
59         * src/gpath.c (strtok_r): Add a strtok_r implementation if it is
60         not available on the target system.
61
62 2008-11-05  Bill Holmes  <billholmes54@gmail.com>
63
64         * src/gutf8.c, src/unicode-data.h, src/gunicode.c :
65           Fixing the MSVC builds.
66
67         Contributed under MIT/X11 license.
68
69 2008-11-04  Atsushi Enomoto  <atsushi@ximian.com>
70
71         * src/gutf8.c, src/gunicode.c, src/glib.h:
72           implemented g_unichar_type(), g_unichar_toupper(),
73           g_unichar_tolower(), g_unichar_totitle(), g_utf8_strup()
74           and g_utf8_strdown(). Fixed some surrogate pair bugs.
75         * TODO : removed implemented things.
76         * test/unicode.c, test/tests.h, test/utf8.c, test/Makefile.am:
77           added new tests.
78
79 2008-11-04  Atsushi Enomoto  <atsushi@ximian.com>
80
81         * src/unicode-data.h : new header for some new unicode manipulation
82           functions.
83
84 2008-10-17  Miguel de Icaza  <miguel@novell.com>
85
86         * Allow types to be defined on the eglib-config.h file, that could
87         be a platform specific generated type file.
88
89         * gtimer.c: split functionality in platforms.
90
91 2008-10-13  Bill Holmes  <billholmes54@gmail.com>
92
93         * src/gdate-win32.c : Fix compiler errors for MSVC.
94
95         * src/gpath.c : Fix compiler errors for MSVC.
96
97         * src/gfile-posix.c : Adding declaration for mkstemp for the win 32
98           implementation in gfile-win32.c.
99
100         Contributed under MIT/X11 license.
101
102 2008-10-11  Miguel de Icaza  <miguel@novell.com>
103
104         * gtimer.c: Same process.
105
106         * src/glib.h: Move g_strdup here, to consolidate all allocations
107         in this header, will help for merging the allocation work later. 
108
109         * src/gpattern.c (compile_pattern): From Unity, use -1 in the enum
110         for MatchType.
111
112         * src/gpath.c: Split this one as well.
113
114         * src/gmodule-win32.c, src/gmisc-unix.c, src/gmisc-win32.c,
115         src/gmodule-unix.c: split functionality in platforms.
116         
117         * src/goutput.c (g_logv): On some platforms, before we abort we
118         want to flush the stdout/stderr.
119
120 2008-10-10  Miguel de Icaza  <miguel@novell.com>
121
122         * Split functionality that is operating system specific into
123         -win32.c, -unix.c and -posix.c 
124
125         * Use g_malloc everywhere, and g_free, so that these can be easily
126         overwritten consistently.
127
128 2008-09-16  Bill Holmes  <billholmes54@gmail.com>
129
130         * src/gunicode.c : Fix a warning.
131
132         Contributed under MIT/X11 license.
133
134 2008-08-28  Bill Holmes  <billholmes54@gmail.com>
135
136         * src/glib.h : Adding a c++ definition for G_BEGIN_DECLS.
137
138         Contributed under MIT/X11 license.
139
140 2008-08-27  Bill Holmes  <billholmes54@gmail.com>
141
142         * glib.h, gunicode.c : Fixing some compiler errors.
143
144         Contributed under MIT/X11 license.
145
146 2008-08-20  Mike Voorhees <vernish13@gmail.com>
147
148         * Patch from Mike Voorhees to fix various problems with
149         g_utf8_validate compared to the glib implementation and unit tests
150         to ensure that there are no regressions.
151
152         From a mailing list post to mono-devel-list on August 19th, 2008
153
154         [Mono-dev] utf8 related patches. Please review.
155
156 2008-08-20  Mike Voorhees  <vernish13@gmail.com>
157
158         * src/glib.h : Adding declarations for g_utf8_strlen, g_utf8_get_char,
159         and g_utf8_next_char.
160
161         * src/gunicode.c : Adding implementation for g_utf8_strlen, g_utf8_get_char,
162         and g_utf8_next_char.
163
164         * src/gunicode.c : Rewrote g_utf8_validate.
165
166         * test/utf8.c Adding tests for g_utf8_strlen, g_utf8_get_char,
167         g_utf8_next_char, and g_utf8_validate.
168
169         Contributed under MIT/X11 license.
170         
171 2008-08-05  Andreas Faerber  <andreas.faerber@web.de>
172
173         * autogen.sh: Suppress arguments warning for NOCONFIGURE.
174         
175         Contributed under MIT/X11 license.
176
177 2008-08-04  Bill Holmes  <billholmes54@gmail.com>
178
179         * test/tests.h, test/Makefile.am, test/memory.c : Adding memory tests to test
180           allocation routines return NULL when 0 size is passed in.
181
182         Contributed under MIT/X11 license.
183
184 2008-08-04  Bill Holmes  <billholmes54@gmail.com>
185
186         * src/glib.h : Changing the allocation routines to return null if 0 size is
187           passed in.
188
189         Contributed under MIT/X11 license.
190
191 2008-06-16  Zoltan Varga  <vargaz@gmail.com>
192
193         * src/vasprintf.c (vasprintf): Applied patch from Michail Ushakov 
194         <migelU@gmail.com>. Workaround broken vsnprintf on windows. Fixes
195         #400445.
196
197 2008-06-11  Zoltan Varga  <vargaz@gmail.com>
198
199         * src/goutput.c (g_log): Remove unnecessary and incorrect call to 
200         g_strdup_printf (). Fixes #398918.
201
202 2008-05-01  Bill Holmes  <billholmes54@gmail.com>
203
204         * src/glib.h : Adding declarations for g_ucs4_to_utf16 and g_utf16_to_ucs4.
205
206         * src/gutf8.c : Adding implementation for g_ucs4_to_utf16 and g_utf16_to_ucs4.
207
208         * test/utf8.c Adding tests for g_ucs4_to_utf16 and g_utf16_to_ucs4.
209
210         Contributed under MIT/X11 license.
211
212 2008-04-20  Geoff Norton  <gnorton@novell.com>
213
214         * src/gspan.c: Fix the _NSGetEnviron define to prevent an impropoer
215         pointer dereference.
216
217 2008-03-19  Bill Holmes  <billholmes54@gmail.com>
218
219         * src/gpath.c (g_path_is_absolute) : Adding a case for '/'
220           on Windows.
221         
222         * src/gpath.c (g_get_user_name) : On Windows add a check for %USERNAME%
223           when %USER% fails.
224
225         * src/gstr.c (g_strsplit, g_strsplit_set):  Change to remove truncation
226           errors with MSVC build.
227
228         * src/gstr.c (g_filename_to_uri, g_filename_from_uri):  Fixes to handle
229           Windows paths.
230
231         * src/gstr.c (g_ascii_strncasecmp):  Convert each character to lower case
232           before comparing.
233
234         * src/gunicode.c (g_get_charset):  Implement for Windows.
235
236         Contributed under MIT/X11 license.
237
238 2008-03-12  Geoff Norton  <gnorton@novell.com>
239
240         * src/gutf8.c: Implement g_ucs4_to_utf16 and g_utf16_to_ucs4 as
241         asserts.  They're needed to build mono with eglib.
242         * src/gutil.h: Add a few missing function declarations to the header.
243         * src/gspawn.c: Some darwin implementations don't have crt_externs.h
244         So we'll just define _NSGetEnviron() ourselves.
245         * Makefile.am: Dont build test when cross compiling.
246         * configure.ac: Define CROSS_COMPILING when cross compiling.
247         Undefine _FORTIFY_SOURCE on arm-apple-darwin as the headers it 
248         requires are not available.
249
250 2008-01-15  Andreas Faerber  <andreas.faerber@web.de>
251
252         * configure.ac: Add default G_BREAKPOINT implementation.
253         Fix typo in breakpoint CPU output.
254
255 2007-12-23  Zoltan Varga  <vargaz@gmail.com>
256
257         * src/glib.h: Include <limits.h>. Fixes #350482.
258
259 2007-11-21  Dick Porter  <dick@ximian.com>
260
261         * src/gslist.c (g_slist_find_custom): Implement
262
263         * src/glist.c (g_list_find_custom): Implement
264
265         * test/list.c: Test g_list_find_custom()
266
267         * test/slist.c: Test g_slist_find_custom()
268
269 2007-11-20  Dick Porter  <dick@ximian.com>
270
271         * src/gstr.c: Implement g_strsplit_set() and re-implement
272         g_strsplit() so it passes the additional tests. (g_strsplit()
273         should treat multi-char delimiters as just a single token, rather
274         than a set of delimiters.)
275
276         * src/gslist.c: Implement g_slist_index(), g_slist_nth() and
277         g_slist_nth_data().
278
279         * test/string-util.c: Test g_strsplit_set() and more tests for
280         g_strsplit().
281
282         * test/slist.c: Test g_slist_nth() and
283         g_slist_index().
284
285 2007-11-06  Geoff Norton  <gnorton@novell.com>
286
287         * configure.ac: Check for libiconv_open as the previous check was failing against 
288         some versions of libiconv.
289
290 2007-11-06  Andreas Faerber  <andreas.faerber@web.de>
291
292         * test/Makefile.am: Fix noinst_PROGRAMS for automake 1.6.3
293                             Add support for VPATH
294
295 2007-11-06  Geoff Norton  <gnorton@novell.com>
296
297         * configure.ac: Determing if glib-2.0 is installed and set HAVE_GLIB appropriately
298         * test/Makefile.am: Only build test-glib if glib-2.0 is available
299
300 2007-11-05  Geoff Norton  <gnorton@novell.com>
301
302         * configure.ac: Check for getpwent_r and wether libiconv is needed to be linked.
303         Also look to see if we can use export-dynamic in the test suite.
304         * test/Makefile.am: Get LDFLAGS from configure instead of setting them.
305         * src/gerror.c: Implement g_clear_error.
306         * src/glib.h: Only use the format, ... convention is HAVE_C99_SUPPORT is available.
307         * src/gpath.c: Only use the getpwent_r codepath if getpwent_r is available.
308         * src/gspawn.c: Define environ to call _NSGetEnviron() on Apple.
309         * src/Makefile.am: Remove -Werror so we dont fail on different function declarations.
310                 Portions of all of the above are from Andreas Faerber & Jonathan Chambers
311         
312 2007-10-31  Jonathan Chambers <joncham@gmail.com>
313         
314         * src/ghashtable.c: Add g_hash_table_foreach_steal.
315         * src/garray.c: Add g_array_remove_index_fast.
316         * src/gpath.c (g_path_is_absolute): Handle windows paths.
317         * src/glib.h: Add g_hash_table_foreach_steal and g_array_remove_index_fast
318         
319         Contribution is licensed as MIT/X11.
320
321 2007-06-13  Jonathan Chambers <joncham@gmail.com>
322         
323         * src/gunicode.c: Add g_unichar_isxdigit and g_unichar_xdigit_value.
324         * src/gmisc.c: Add g_win32_getlocale stub.
325         * src/glib.h: Add declarations of above functions,
326         GFreeFunc typedef, and CLAMP, GUINT_TO_LE, and threading
327         macros.
328         
329         * test/string-util.c: Fix warning.
330         * test/utf8.c: Add test for g_unichar_xdigit_value.
331         
332         Contribution is licensed as MIT/X11.
333
334 2007-05-05  Aaron Bockover  <abockover@novell.com>
335
336         * src/gstr.c:
337         * src/glib.h: Added g_ascii_tolower implementation; make g_ascii_strdown
338         use it to do the transformation
339
340         * test/string-util.c: Added a test for g_ascii_strdown
341
342 2007-04-27  Jonathan Chambers <joncham@gmail.com>
343         
344         * src/gstr.c: Fix off by one error in g_strdup allocation.
345
346 2007-04-27  Jonathan Chambers <joncham@gmail.com>
347         
348         * src/eglib-config.hw: Forgot to add for msvc build.
349         * src/vasprintf: Forgot to add for msvc build.
350
351 2007-04-27  Jonathan Chambers <joncham@gmail.com>
352         
353         * src/gstr.c: Fix off by one error for NULL terminator.
354
355 2007-04-27  Jonathan Chambers <joncham@gmail.com>
356         
357         Combined patch from Michael Jerris <mike@jerris.com> and me.
358         * winconfig.h: Config file for msvc builds.
359         * configure.ac: Add AC_CHECK_HEADERS for getopt.h,  sys/time.h,
360         sys/wait.h, and pwd.h.
361         
362         * src/gspawn.c: Include config.h and use HAVE_* macros.
363         * src/eglib-config.h.in: Add inclusion guards.
364         * src/ghashtable.c: Fix warnings.
365         * src/gmisc.c: Windows implementation of g_getenv, g_setenv,
366         and g_unsetenv.
367         * src/gpath.c: Include config.h and use HAVE_* macros.
368         * src/gmarkup.c: Fix warnings.
369         * src/gptrarray.c: Fix warnings.
370         * src/gstr.c: Fix warnings and use HAVE_* macros.
371         * src/glib.h: Move macros to eglib-config.h and include it.
372         * src/gdate.c: Implement g_get_current_time on windows.
373         * src/gpattern.c: Fix warnings.
374         * src/gdir.c: Implement g_dir on windows.
375         * src/gfile.c: Implement mkstemp and g_file_test on windows.
376         * src/gtimer.c: Implement g_timer on windows.
377         * src/gmodule.c: Fix warnings.
378         * src/gunicode.c: Fix warnings.
379         * src/gutf8.c: Fix warnings.
380         
381         * test/ptrarray.c: Fix warnings.
382         * test/string.c: Fix warnings.
383         * test/list.c: Fix warnings.
384         * test/pattern.c: Use HAVE_* macros.
385         * test/dir.c: Use HAVE_* macros.
386         * test/file.c: Use HAVE_* macros and use system specific files for tests.
387         * test/test.c: Fix warnings and use HAVE_* macros.
388         * test/timer.c: Use HAVE_* macros.
389         * test/string-util.c: Fix warnings.
390         * test/test.h: Supress warnings on msvc.
391         * test/module.c: Use HAVE_* macros.
392         * test/utf8.c: Fix warnings.
393         * test/spawn.c: Use HAVE_* macros.
394         * test/driver.c: Fix warnings and use HAVE_* macros.
395         * test/path.c: Use HAVE_* macros and use system specific files for tests.
396         * test/sizes.c: Fix warnings.
397
398 2007-04-24  Jonathan Chambers <joncham@gmail.com>
399         
400         Patch from Michael Jerris <mike@jerris.com>
401         * src/gspawn.c: Start msvc build.
402         * src/gpath.c: Start msvc build.
403         * src/gmarkup.c: Start msvc build.
404         * src/gshell.c: Start msvc build.
405         * src/gstr.c: Start msvc build.
406         * src/glist.c: Start msvc build.
407         * src/glib.h: Start msvc build.
408         * src/gdate.c: Start msvc build.
409         * src/gpattern.c: Start msvc build.
410         * src/gdir.c: Start msvc build.
411         * src/gfile.c: Start msvc build.
412         * src/gtimer.c: Start msvc build.
413         * src/gmodule.c: Start msvc build.
414         * src/gunicode.c: Start msvc build.
415
416 2007-01-27  Robert Jordan  <robertj@gmx.net>
417
418         * test/Makefile.am: Add linker option to be able to
419         load symbols from the main program.
420         * test/module.c: Clean-ups.
421
422 2007-01-26  Robert Jordan  <robertj@gmx.net>
423
424         * configure.ac: Add PLATFORM_WIN32 conditional.
425         * src/Makefile.ac: Use PLATFORM_WIN32 conditional for psapi, iconv
426         * test/module.c, test/tests.h, test/Makefile.am: New test for gmodule.
427         * src/gmodule.h: Add G_MODULE_{IMPORT|EXPORT} defines.
428         * src/gmodule.c (g_module_symbol): Implement in-proc symbol lookup
429         for Win32.
430         * src/gmodule.c: Add GModule.main_module, consider it in
431         g_module_close ().
432         * src/gpath.c (g_get_home_dir): Add dummy Win32 implementation to
433         fix the build.
434
435 2006-11-03  Miguel de Icaza  <miguel@novell.com>
436
437         * src/gpath.c (g_path_get_dirname): If the pathname starts with a
438         "/", return the "/".
439
440         * test/string-util.c (test_strlcpy): Add new test.
441
442         * src/gunicode.c (g_filename_from_utf8): g_strlcpy needs the full
443         size, with the extra zero at the end;  Fixes the stack trace
444         issue. 
445
446 2006-10-30  Miguel de Icaza  <miguel@novell.com>
447
448         * test/utf8.c (test_utf8_seq): Add new failing test.
449
450 2006-10-30  Atsushi Enomoto  <atsushi@ximian.com>
451
452         * src/gutf8.c : several fixes:
453           - fixed incorrect mb_size clear and mb_remain computation.
454           - initialize items_written to 0 for error case.
455           - in utf8_to_utf16_len differentiate error messages completely.
456           - in g_utf8_to_utf16 use guchar instead of gchar.
457         * test/utf8.c : added test case string in test_utf8_seq() to
458           both test_utf8_to_utf16() and test_utf16_to_utf8().
459
460 2006-10-21  Miguel de Icaza  <miguel@novell.com>
461
462         * src/gunicode.c (g_filename_from_utf8): Use g_strlcpy here. 
463
464         * src/gmarkup.c (g_markup_parse_context_parse): Do not dereference
465         null values here.   This gets things a little bit further in
466         corlib, but not too far.
467
468         * src/gdir.c (g_dir_read_name): Do not return . or ..
469
470         * src/gstr.c (g_ascii_xdigit_value): Make this into a function,
471         thanks to Paolo for pointing the problem with the double macro
472         expansion. 
473
474         * src/gmodule.c (g_module_open): Actually return NULL if we fail
475         to load the module (was hiding the real bug in the pinvoke tests).
476
477         (g_module_build_path): Do not prepend "lib" if the "lib" is part
478         of the call.
479
480         * src/gstr.c (g_strsplit): this routine has some non-expected
481         behavior, if the string begins with the delimiter, it will return
482         an empty first string, unlike strtok
483
484         * src/gpath.c (g_path_get_dirname): Return "." as a dirname for
485         paths that do not contain a directory.
486
487 2006-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
488
489         * test/array.c: new test for insertion in the middle of other values.
490         * src/garray.c: fixed destination index.
491
492 2006-10-18  Miguel de Icaza  <miguel@novell.com>
493
494         * src/gpath.c (g_build_path): Do not append terminator if the next
495         string is empty.
496
497         * src/gutf8.c (g_utf8_to_utf16): Include trailing zero as
498         documented.
499         (g_utf16_to_utf8): Include trailing zero as documented.
500
501 2006-10-17  Miguel de Icaza  <miguel@novell.com>
502
503         * src/gstr.c (g_strdown): Actually move.
504
505         * src/gmarkup.c (g_markup_parse_context_parse): Accept dots in the
506         sequence, reset the state after a closing element.
507
508         * src/garray.c (g_array_insert_vals): Shift the elements the
509         correct amount.
510
511         (g_array_insert_vals): Should actually use the
512         number of elements to insert.
513
514         * test/array.c: Add new test case, this was happening in the JIT. 
515
516         * Add _GNU_SOURCE at configure time, remove from sources.
517         
518         * src/gstr.c (g_strsplit): Empty strings return a 0 value vector.
519
520         * src/glib.h (G_MAXINT64, G_MININT64): Add another set of macros
521         for the support stuff.
522         
523         Move private prototypes elsewhere
524
525         * src/glib.h (g_thread_init): Adding missing brace
526         (g_list_next): remove ; from the macro definition.
527
528 2006-10-17  Miguel de Icaza  <miguel@novell.com>
529
530         * src/gutf8.c: internal methods
531
532         * src/ghashtable.c: internal methods.
533
534 2006-10-16  Miguel de Icaza  <miguel@novell.com>
535
536         * src/gerror.c (g_propagate_error): Implement.
537
538         * src/gstr.c (g_strjoinv, g_ascii_strncasecmp): implement.
539
540         * test/string-util.c (test_ascii_strncasecmp): test
541
542 2006-10-15  Miguel de Icaza  <miguel@novell.com>
543
544         * configure.in: Fix detection of platforms the [3456] stuff does
545         not work inside autoconf.
546
547         * src/eglib-config.h.in: Make G_BREAKPOINT into a function-macro
548
549         * src/glib.h (offsetof): Mono sources depend on this, bring this
550         from the standard definition.  Redefine G_STRUCT_OFFSET in terms
551         of this. 
552         
553         * src/glib.h (G_STRUCT_OFFSET): fix macro definition. 
554         fix typo.
555
556         * src/sizes.c: Add test.
557
558         * src/gshell.c: Make it build
559         
560 2006-10-14  Miguel de Icaza  <miguel@novell.com>
561
562         * src/glib.h: add various _TO_LE and _FROM_LE macros.
563
564         * test/endian.c: tests for endian conversion macros.
565
566 2006-10-09  Miguel de Icaza  <miguel@novell.com>
567
568         * src/gmodule.h: Move definitions of gmodule to gmodule.h because
569         Mono expects it there.
570
571 Mon Oct 9 12:59:16 CEST 2006 Paolo Molaro <lupus@ximian.com>
572
573         * src/ghashtable.c: s/to_prime/g_spaced_primes_closest/g
574         and put the array in readonly memory.
575         * src/gstr.c: fixed the build and made array const.
576         * src/gmodule.c: fixed thinko.
577
578 2006-10-08  Miguel de Icaza  <miguel@novell.com>
579
580         * src/gstr.c (g_strdup): should allow NULL as an argument.
581
582 2006-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
583
584         * test/string-util.c:
585         * TODO:
586         * src/gstr.c:
587         * src/glib.h: implemented g_strescape.
588
589 2006-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
590
591         * test/string-util.c:
592         * configure.ac:
593         * TODO:
594         * src/gstr.c:
595         * src/glib.h: implemented g_strlcpy.
596
597 2006-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
598
599         * test/string-util.c:
600         * TODO:
601         * src/gstr.c:
602         * src/glib.h: implemented g_strdelimit.
603
604 2006-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
605
606         * test/spawn.c: add search path flag when running ls.
607         * src/gspawn.c: g_spawn_command_line_sync searches the program in the
608         PATH if it's not an absolute path.
609
610 2006-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
611
612         * test/string-util.c:
613         * src/glib.h: implement g_ascii_xdigit_value and tests.
614
615 2006-10-06  Miguel de Icaza  <miguel@novell.com>
616
617         * src/gstr.c (g_ascii_strdown): Implement.
618
619         * str/glib.c (g_log_set_handler): empty.
620         (g_printerr): empty.
621         (GMemVTable): define, empty, ignored.
622         (G_USEC_PER_SEC) :-)
623
624         * src/gunicode.c (g_convert): Add bytes_read, bytes_written
625         support;   Small fixes to avoid valgrind errors. 
626         
627         (g_utf8_validate): Add, based on the libxml code.
628
629         gstr.c: implement g_strdown. 
630
631 2006-10-05  Miguel de Icaza  <miguel@novell.com>
632
633         * src/gunicode.c: Some work in progress to implement g_convert
634         (which is needed by g_locale_to_utf8).    
635
636 2006-09-18  Miguel de Icaza  <miguel@novell.com>
637
638         * test/string-util.c (test_filename_from_uri): tests for new
639         methods.
640
641         * src/gstr.c (g_filename_to_uri, g_filename_from_uri): implement. 
642
643 2006-09-14  Atsushi Enomoto  <atsushi@ximian.com>
644
645         * src/gutf8.c, test/utf8.c : EOL fix.
646
647 2006-09-04  Miguel de Icaza  <miguel@novell.com>
648
649         * src/gmarkup.c: The leak fixing commit.
650         
651         * src/gmarkup.c (g_markup_parse_context_end_parse): Add missing
652         method. 
653         (g_markup_parse_context_free): Implement. 
654         (parse_attributes): Store the value, not the attribute name
655         twice. 
656         Properly check the /> section.
657         (g_markup_parse_context_parse): When checking for error, use the
658         "error!=NULL && *error != NULL" upon return from callbacks,
659         it is only then that its valid to check for *error for error
660         conditions. 
661         (g_markup_parse_context_parse): Add comment processing.
662
663         Only release one element of the list.
664
665         * test/markup.c: Incorporate the kind of code that is used in Mono
666         for domain loading;  Will test the rest later. 
667
668 2006-09-01  Miguel de Icaza  <miguel@novell.com>
669
670         * src/gmarkup.c (g_markup_parse_context_parse): Add text parsing
671         support, and end-element support; not tested yet.
672
673 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
674
675         * gutf8.c : bad allocation size. multiply sizeof gchar/gunichar2.
676
677 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
678
679         * gutf8.c : when error is null, utf8_to_utf16_len() and
680           utf16_to_utf8_len() could return -1, so return NULL for those
681           cases in g_utf8_to_utf16() and g_utf16_to_utf8().
682
683 2006-09-01  Miguel de Icaza  <miguel@novell.com>
684
685         * src/gmarkup.c: Builds and does minimal parsing.
686
687         * test/markup.c: Sample test cases I have been using
688
689 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
690
691         * src/gerror.h,
692           src/gerror.c : added g_set_error().
693         * src/gutf8.c :
694           g_utf8_to_utf16() and g_utf16_to_utf8() implementation.
695         * src/glib.h : added all above, and some dependent bits.
696         * src/Makefile.am : added gutf8.c.
697         * TODO: removed above.
698         * test/Makefile.am,
699           test/tests.h : added utf8 tests.
700         * test/utf8.c : test for g_utf8_to_utf16 and g_utf16_to_utf8.
701           It still needs more tests e.g. for multibytes.
702
703 2006-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
704
705         * src/gspawn.c: small touch-ups and make read/write EINTR-proof.
706
707 2006-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
708
709         * test/file.c: remove useless test.
710
711         * test/spawn.c: new g_spawn_async_with_pipes test.
712         * src/glib.h: Modified file.
713         * src/gspawn.c: implemented g_spawn_async_with_pipes. Needs fine tuning.
714
715 2006-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
716
717         * TODO: Modified file.
718         * test/tests.h:
719         * test/pattern.c:
720         * test/dir.c:
721         * test/Makefile.am:
722         * src/Makefile.am:
723         * src/glib.h:
724         * src/gdir.c:
725         * src/gfile.c: implemented g_dir_*, unix version.
726
727 2006-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
728
729         * src/glib.h:
730         * test/Makefile.am: Modified file.
731         * test/tests.h:
732         * src/Makefile.am: Modified file.
733         * test/pattern.c:
734         * src/gpattern.c: implemented the 3 pattern matching functions used.
735
736         * test/ptrarray.c: fix the compare function to work with qsort.
737
738         * test/file.c:
739         * test/path.c:
740         * src/gspawn.c:
741         * src/gpath.c: made valgrind happy.
742
743 2006-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
744
745         * test/file.c:
746         * src/glib.h:
747         * src/gfile.c:  implemented g_file_test. Changed the default mask to
748         .XXXXXX. Add tests.
749
750 2006-08-26  Raja R Harinath  <rharinath@novell.com>
751
752         * src/sort.frag.h (digit): Declare here based on externally
753         provided typedef 'list_node'.
754         (MAX_DIGITS): Use 'sizeof (list_node)'.
755         * src/gslist.c (list_node): Declare instead of 'digit'.
756         * src/glist.c: Likewise.
757
758         * test/slist.c (verify_sort): Verify the length of the list too.
759         (test_slist_sort): Free the correct list.
760         * test/list.c: Likewise.
761         * src/sort.frag.h (MAX_DIGITS): Rename from N_DIGITS.
762         (combine_sort): Change 'max_pos' argument to more natural
763         'n_digits'.
764         (increment): Likewise.  Use 'n_digits' to avoid reading at an
765         offset that hasn't been initialized.
766         (do_sort): Remove memset.
767
768 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
769
770         * TODO:
771         * test/file.c:
772         * src/glib.h:
773         * src/gfile.c: implement g_file_open_tmp.
774
775 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
776
777         * TODO:
778         * src/glib.h:
779         * src/gdate.c: New file.
780         * src/gfile.c: New file.
781         * src/Makefile.am: implemented g_file_get_contents and
782         g_get_current_time.
783
784         * test/tests.h:
785         * test/file.c: New file.
786         * test/Makefile.am: tests for the above.
787
788 2006-08-26  Raja R Harinath  <rharinath@novell.com>
789
790         * src/sort.frag.h: Add copyright notice and some explanation.
791         (increment): Remove null check.
792         (combine_digits): Add 'list' argument to seed the summation.
793         (do_sort): Use the empty or singleton tail as the seed, rather
794         than calling 'increment'.
795
796 2006-08-25  Raja R Harinath  <rharinath@novell.com>
797
798         * TODO: Remove 'List' entries.
799         * src/Makefile.am (libeglib_la_SOURCES): Add sort.frag.h.
800         * src/sort.frag.h: New.  Implements a "generic" bottom-up "counting"
801         mergesort that works both on singly- and doubly-linked lists.
802         * src/gslist.c (g_slist_sort): Use it.
803         * src/glist.c (g_list_sort): Likewise.
804         * src/glib.h (g_slist_sort, g_list_sort): Declare.
805         * test/slist.c, test/list.c: Add basic testcases.
806
807 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
808
809         * src/gspawn.c: propagate errors from reads.
810         * src/gpath.c: an empty PATH is like a NULL one.
811
812 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
813
814         * test/tests.h:
815         * test/timer.c:
816         * test/Makefile.am:
817         * TODO:
818         * src/glib.h:
819         * src/gtimer.c:
820         * src/Makefile.am: implemented GTimer.
821
822 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
823
824         * test/tests.h:
825         * test/Makefile.am:
826         * test/spawn.c:
827         * src/gspawn.c:
828         * src/glib.h:
829         * src/Makefile.am: initial implentation of g_spawn_command_line_sync.
830         Still need better error handling, but works for the most part.
831
832 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
833
834         * src/garray.c: grow faster so that the 'big' test does not crawl.
835
836 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
837
838         * test/shell.c:
839         * src/gqueue.c: plugged leaks.
840
841 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
842
843         * test/path.c:
844         * src/gpath.c: when PATH is not defined, the current dir is used.
845         See execvp(3).
846
847 2006-08-25  Alp Toker  <alp@atoker.com>
848
849         * src/gstr.c: g_strv_length() should return guint, not gint
850         * src/glib.h: Add g_strv_length() prototype
851         
852 2006-08-24  Miguel de Icaza  <miguel@novell.com>
853
854         * src/gpath.c (g_get_home_dir, g_get_tmp_dir, g_get_user_name,
855         g_get_prgname, g_set_prgname): implemented.
856
857         * test/ Fix leaks.
858         
859         * src/gpath.c (g_get_current_dir): Implement.
860
861         (g_find_program_in_path, g_path_is_absolute): implement.
862         
863         Add g_path_get_dirname, g_path_get_basename
864
865         * src/gpath.c: Path routines
866
867 2006-08-23  Miguel de Icaza  <miguel@novell.com>
868
869         * src/gerror.c: Implement. 
870
871         * src/glist.c (g_list_sort): Remove routine instead of hoping that
872         it wont crash when we run it.
873
874 2006-08-23  Raja R Harinath  <rharinath@novell.com>
875
876         * src/glist.c (g_list_insert_before): Avoid non-head declaration.
877
878         * test/slist.c (test_slist_insert_before): Add.
879         * src/gslist.c (g_slist_insert_before): Append if 'sibling' is null.
880
881         * test/list.c (test_list_insert_before): Add test for return value
882         of g_list_insert_before.
883         * test/Makefile.am (test_eglib_LDADD): Refer to the .la file so as
884         to rebuild test if eglib changes.
885         * src/glist.c (new_node, disconnect_node): New helpers that
886         maintain doubly-linked list invariants.
887         (g_list_prepend, g_list_append): Express in terms of new_node.
888         (g_list_insert_before): Likewise.  Fix return value when inserting
889         in the middle of the list.
890         (g_list_concat): Reorganize to make more compact.
891         (g_list_nth): Likewise.
892         (g_list_nth_data): Don't segfault if 'n' is too large.
893         (g_list_remove): Rewrite using _find and disconnect_node.
894         (g_list_remove_link): Don't traverse list: use disconnect_node.
895         (g_list_insert_sorted): Rewrite to make more compact.  Use new_node.
896         (g_list_copy): Likewise.
897         (_prepend, _concat): Remove.
898         * src/gslist.c (insert_after, find_prev, find_prev_link):
899         New helpers.
900         (g_slist_copy): Simplify slightly, using insert_after.
901         (g_slist_concat): Reorganize to make more compact.
902         (g_slist_find): Likewise.
903         (g_slist_insert_sorted): Likewise.
904         (g_slist_remove): Rewrite using find_prev.
905         (g_slist_remove_link): Rewrite using find_prev_link.
906         (g_slist_remove_all, g_slist_insert_before): New.
907
908 2006-08-21  Duncan Mak  <duncan@a-chinaman.com>
909
910         * src/gqueue.c: GQueue implementation.
911         * src/glib.h: Add prototypes.
912         * src/Makefile.am (libeglib_la_SOURCES): Include gqueue.c.
913
914         * test/queue.c:         
915         * test/Makefile.am (SOURCES):
916         * test/tests.h (DEFINE_TEST_GROUP_INIT_H): add tests for GQueue.
917
918 2006-08-21  Aaron Bockover  <abockover@novell.com>
919
920         * src/gstr.c: fixed bug/invalid read/write on malloc-only case (no
921         realloc/delimiter token not found); use memcpy instead of strncpy for
922         better performance
923
924         * test/test.c (run_group): allow running specific tests under a group;
925         added copied g_strsplit/g_strfreev from EGlib source as eg_strsplit
926         and eg_strfreev to avoid performance skews in the driver
927         
928         * test/driver.c: allow user-specified group name to contain specific
929         test to run under the group as 'group_name:test1,test2,...testN'
930
931         * test/string-util.c: Added more g_strsplit tests
932
933         * test/slist.c:
934         * test/ptrarray.c:
935         * test/fake.c:
936         * test/string.c:
937         * test/list.c:
938         * test/array.c:
939         * test/hashtable.c: make test names shorter (no need to prefix with
940         the group since it runs under the group)
941
942 2006-08-21  Miguel de Icaza  <miguel@novell.com>
943
944         * src/glib.h (g_hash_table_new_full): Add missing prototype.
945         Replace g_free(x) with plain free, so it can be used as a function
946         argument. 
947         Add ABS
948
949         * src/ghashtable.c: Add rehashing. 
950
951         * test/hashtable.c: Add a bunch of extra tests.
952
953         * src/goutput.c: Fix g_log so it actually formats the data. 
954
955         * src/ghashtable.c (g_hash_table_new): The glib test suite
956         uncovered a bunch of bugs, the g_hash_table_new should actually
957         have parameters.
958
959         (g_hash_table_remove, g_hash_table_foreach_remove): Fixed bugs
960         uncovered. 
961
962 2006-08-20  Aaron Bockover  <abockover@novell.com>
963
964         * src/gmisc.c: added g_setenv, g_getenv, g_unsetenv
965
966         * src/gstr.c: added g_snprintf, g_sprintf, g_fprintf, g_printf
967
968         * src/glib.h: added macros for above va_args printf functions
969
970         * src/Makefile.am: added gmisc.c
971
972         * test/whats-implemented: script to see what needs to be implemented
973
974 2006-08-20  Chris Toshok  <toshok@ximian.com>
975
976         * test/array.c (test_array_big): add a test from the glib
977         documentation.
978
979 2006-08-20  Chris Toshok  <toshok@ximian.com>
980
981         * test/tests.h: add array tests to the mix.
982
983         * test/array.c: a few array tests.
984
985         * src/glib.h: add array prototypes.
986
987         * src/garray.c: initial array foo.
988
989         * test/Makefile.am (SOURCES): add array.c
990
991         * src/Makefile.am (libeglib_la_SOURCES): add garray.c
992
993 2006-08-19  Aaron Bockover  <abockover@novell.com>
994
995         * src/gstring.c: optimize and generalize reallocation by providing
996         a GROW_IF_NECESSARY macro, do not use strcpy/strcat as they are 
997         very, very slow; GString is now much closer to GLib's implementation
998         in terms of performance
999
1000         * test/string.c: added speed-specific tests to beat on reallocation code
1001
1002         * test/test-both: run make if the test drivers don't exist
1003
1004 2006-08-19  Jonathan Chambers  <jonathan.chambers@gmail.com>
1005
1006         * src/gmodule.c: Add gmodule support for windows and fix
1007         windows build. Contribution is licensed as MIT/X11.
1008         
1009 2006-08-19  Aaron Bockover  <abockover@novell.com>
1010
1011         * test/driver.c: Added --debug mode that allows for testing all paths
1012         of the driver without actually running real tests; runs only the 'fake'
1013         test, which does nothing; useful for running the driver through valgrind
1014
1015         * test/Makefile.am:
1016         * test/tests.h:
1017         * test/fake.c: Added fake test for valgrinding the driver
1018
1019         * test/ptrarray.c: update sort test
1020
1021 2006-08-19  Aaron Bockover  <abockover@novell.com>
1022
1023         * test/test-both: added --help
1024
1025 2006-08-19  Aaron Bockover  <abockover@novell.com>
1026
1027         * test/driver.c: added -n mode to show only raw global run times,
1028         which is useful for scripts (test-both --speed-compare)
1029
1030         * test/test-both: added --speed-compare mode
1031
1032         * test/README: updated with information on --speed-compare
1033
1034 2006-08-19  Aaron Bockover  <abockover@novell.com>
1035
1036         * test/test.c: do not print times if -t is not passed
1037
1038         * test/driver.c: removed use of GList from the driver to avoid skews due
1039         to performance differences between GLib and EGLib
1040         
1041 2006-08-19  Aaron Bockover  <abockover@novell.com>
1042
1043         * test/test.c: Perform iterations at the test level, only output one
1044         report for all iterations of tests in a group to produce more usable
1045         output; add timing for the tests and group; added get_timestamp for
1046         easy code timing
1047
1048         * test/test.h: Removed run_test as it should only be called from 
1049         run_group, added get_timestamp
1050
1051         * test/Makefile.am: Added -DDRIVER_NAME 
1052
1053         * test/test-both: simple script to run both drivers with the same options
1054
1055         * test/driver.c: Iterations are now run at the test level, show a global
1056         status (OK/FAIL) indicator
1057
1058         * test/README: Updated
1059
1060         * configure.ac: Renamed from configure.in as configure.in naming 
1061         convention is deprecated in favor of configure.ac
1062
1063         * autogen.sh: s/configure.in/configure.ac/
1064
1065 2006-08-19  Miguel de Icaza  <miguel@novell.com>
1066
1067         * Makefile.am: Removed MAINTAINERCLEANFILES that was too
1068         aggresive, it failed make distcheck and the resulting tarball was
1069         not buildable.
1070
1071         * src/glib.h: remove the various GPOINTER_TO_*, G*_TO_POINTER,
1072         GSIZE_FORMAT macros, and move them into src/eglib-config.h
1073
1074         Moved also gssize and gsize to be arch specific.   This should fix
1075         the 32/64 problems that Jon Chambers reported. 
1076
1077         * configure.in: test for pointer size, define the various values
1078         depending on 32 vs 32/64 worlds, might need further porting in the
1079         future. 
1080
1081         Change package name to eglib
1082
1083         * test/slist.c, test/list.c, test/hashtable.c: Update tests to use
1084         FAILURE macro.
1085
1086         * test/string-util.c: fix leak for valgrind tests.
1087
1088         * test/tests.h: New size test, for testing datatypes.
1089
1090         * test/sizes.c: New tests.
1091         
1092 2006-08-19  Aaron Bockover  <abockover@novell.com>
1093
1094         * test/README: Added quick guide on adding new tests/groups to the 
1095         driver and some examples on how to perform various tests with the driver
1096
1097 2006-08-18  Aaron Bockover  <abockover@novell.com>
1098
1099         * test/driver.c: Added getopt support and code timing, among other 
1100         nice features to make testing/profiling easier
1101
1102         * test/test.c: Add support for suppressing output (quiet) and
1103         define RESULT, FAILED, and OK
1104
1105         * src/glib.h:
1106         * src/glist.c: Added g_list_nth_data implementation
1107
1108         * test/slist.c:
1109         * test/string-util.c:
1110         * test/ptrarray.c:
1111         * test/string.c:
1112         * test/hashtable.c:
1113         * test/list.c: Use RESULT, FAILURE, and OK for tests
1114
1115 2006-08-18  Miguel de Icaza  <miguel@novell.com>
1116
1117         * src/gstring.c (g_string_truncate): Implement truncate. 
1118         (g_string_prepend): implement. 
1119
1120         Fix various bugs uncovered by new tests. 
1121
1122         * src/glib.h: introduce gssize type, the signed one.  Important. 
1123
1124         * src/eglib-config.h (G_OS_): Add the G_OS_UNIX and G_OS_WIN32
1125         defines that we can use to check on the host OS.
1126
1127 2006-08-18  Aaron Bockover  <abockover@novell.com>
1128
1129         * test/test.[ch]:
1130         * test/driver.c: Support pass/fail logging on tests to show group report
1131
1132 2006-08-18  Aaron Bockover  <abockover@novell.com>
1133
1134         * test/test.c: 
1135         * test/test.h: Added result() to be used in place of g_strdup_printf(),
1136         it's shorter to write and allows the duped string to be freed safely;
1137         added license header to file
1138
1139         * test/driver.c: Added license header to file
1140
1141         * test/string-util.c:
1142         * test/ptrarray.c:
1143         * test/string.c:
1144         * test/list.c: Use result() in place of g_strdup_printf(), it's nicer
1145
1146 2006-08-18  Aaron Bockover  <abockover@novell.com>
1147
1148         * src/gptrarray.c: Implemented g_ptr_array_sort
1149
1150         * test/ptrarray.c: Added sort test
1151         
1152         * test/driver.c: Added --help; support running N iterations and allow
1153         selecting which test groups to run; uses the test group table in tests.h
1154         
1155         * test/tests.h: Added group table
1156         
1157         * test/test.h:
1158         * test/test.c: Using a Group structure and table, removed run_groups
1159         as we only need run_group now
1160
1161         * test/slist.h: Removed, not needed, tests/groups defined in tests.h
1162
1163 2006-08-18  Miguel de Icaza  <miguel@novell.com>
1164
1165         * src/unicode.c: New file, to host unicode code, it will throw as
1166         this code is no longer used in the Mono runtime anyways.
1167         
1168         * src/glib.h: Use stdint.h types, a lot of the good stuff is
1169         replicated by glib.
1170
1171 2006-08-18  Duncan Mak  <duncan@a-chinaman.com>
1172
1173         * src/glist.c (g_list_remove, g_list_remove_link): Implemented. 
1174
1175         * src/gslist.c (g_slist_remove): Remember to set the next pointer
1176         to NULL when the item to remove is the first item in the list.
1177         
1178 2006-08-18  Duncan Mak  <duncan@a-chinaman.com>
1179
1180         * src/glist.c: Implemented. Missing remove,
1181         remove_link and insert_before.
1182
1183         * test/list.c: Tests for GList.
1184
1185 2006-08-17  Aaron Bockover  <abockover@novell.com>
1186
1187         * src/gptrarray.c: Implemented g_ptr_array_remove and 
1188         g_ptr_array_remove_index
1189
1190         * test/other: Removed, rewritten in Makefile.am
1191
1192         * test/Makefile.am: Build test-eglib against local eglib and 
1193         test-glib against GLib 2.0 (replaces 'other')
1194
1195         * test/ptrarray.c: Added tests for g_ptr_array_remove and
1196         g_ptr_array_remove_index
1197
1198 2006-08-17  Duncan Mak  <duncan@a-chinaman.com>
1199
1200         * src/gslist.c: Added MIT license.
1201         (g_slist_insert_sorted): Forgot the case where the data is
1202         appended to the end of the list.
1203
1204         * test/slist.c (test_slist_insert_sorted): Fix the test.        
1205
1206 2006-08-17  Aaron Bockover  <abockover@novell.com>
1207
1208         * src/gptrarray.c: Added g_ptr_array_set_size implementation
1209
1210         * test/ptrarray.c: Added test for g_ptr_array_set_size
1211
1212 2006-08-17  Miguel de Icaza  <miguel@novell.com>
1213
1214         * src/glib.h: A handful of extra macros
1215
1216         * configure.in, src/eglib-config.h.in: Set some system-specific
1217         settings that are probed at configure time.
1218
1219 2006-08-17  Aaron Bockover  <abockover@novell.com>
1220
1221         * src/gptrarray.c: Added beginnings of GPtrArray (alloc, free, add, iterate)
1222
1223         * src/glib.h: Added GPtrArray signatures
1224
1225         * src/Makefile.am: Added gptrarray.c to build
1226
1227         * test/ptrarray.c:
1228         * test/tests.h:
1229         * test/driver.c:
1230         * test/Makefile.am: Add ptrarray tests for available functionality
1231
1232 2006-08-17  Aaron Bockover  <abockover@novell.com>
1233         
1234         * test/test.h: 
1235         * test/test.c: Added group iterator/test driver functionality
1236         
1237         * test/driver.c: Added groups to run using new test functionality
1238         
1239         * test/slist.h:
1240         * test/hashtable.h:
1241         * test/string-util.h: Test group definitions for string util/hashtable
1242
1243         * test/slist.c:
1244         * test/str.c: 
1245         * test/hash.c: Added test definition table 
1246
1247         * test/Makefile.am: Added -Wall -Werror -D_FORTIFY_SOURCE=2
1248
1249         * src/gstr.c: Added implementation for g_str_has_prefix, g_str_has_suffix
1250
1251         * src/glib.h: Added missing function signatures
1252
1253         * src/Makefile.am: added -D_FORTIFY_SOURCE=2 
1254
1255 2006-08-17  Duncan Mak  <duncan@a-chinaman.com>
1256
1257         * src/gslist.c (g_slist_remove_link): I misread the function
1258         signature. Re-implemented.
1259         (g_slist_delete_link): Implemented.
1260         (g_slist_reverse): Implemented.
1261         (g_slist_insert_sorted): Implemented.
1262
1263 2006-08-17  Duncan Mak  <duncan@a-chinaman.com>
1264
1265         * src/gslist.c (g_slist_find): 
1266         (g_slist_length):
1267         (g_slist_remove):
1268         (g_slist_remove_link): Implemented.
1269
1270         * test/slist.c: Tests for GSList.
1271
1272 2006-08-17  Raja R Harinath  <harinath@gmail.com>
1273
1274         * src/gslist.c (g_slist_free_1): New.  Free a single list node.
1275         (g_slist_free): Use it to free the list nodes.  Don't free the
1276         data, since the list doesn't own it.
1277         (g_slist_append): Convert into a one-liner.
1278         (g_slist_foreach): Remove redundant null check.
1279         (g_slist_last): Actually return the last node.
1280         (g_slist_copy): Simplify.
1281         * src/gslist.h (g_slist_free_1): Add.
1282
1283 2006-08-16  Duncan Mak  <duncan@a-chinaman.com>
1284
1285         * src/gslist.c:
1286
1287         * src/gslist.h: First attempt at implementing GSList, incomplete.
1288
1289         * src/Makefile.am (libeglib_la_SOURCES): add gslist.c
1290         * src/glib.h: Add GFunc definition. #include the new gslist.h.
1291
1292 2006-08-16  Miguel de Icaza  <miguel@novell.com>
1293
1294         * src/Makefile.am: Added -Wall,-Werror, corrected lots of
1295         mistakes.
1296
1297         * src/gstring.c: Gstring implementation.
1298
1299         * test/str.c (test_gstring): string tests.
1300
1301 2006-08-16  Aaron Bockover  <abockover@novell.com>
1302
1303         * src/gstr.c: Added g_strsplit implementation
1304
1305         * test/driver.c: Run the split test
1306
1307         * test/str.c: Added a test for g_strsplit
1308
1309         * Makefile.am:
1310         * src/Makefile.am:
1311         * test/Makefile.am: Added MAINTAINERCLEANFILES
1312
1313 2006-08-16  Miguel de Icaza  <miguel@novell.com>
1314
1315         * src/gouput.c: Implement some output routines, update missing
1316         progress. 
1317
1318         * test: Add test driver, and initial tests. 
1319
1320 2006-08-15  Miguel de Icaza  <miguel@novell.com>
1321
1322         * src/ghashtable.c: Implement most of this, it is completely
1323         untested at this point.
1324
1325
1326