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