1 2010-05-13 Alan McGovern <amcgovern@novell.com>
3 * src/gstring.c: Put in some null guards for the ctors
5 2010-05-11 Miguel de Icaza <miguel@novell.com>
7 * src/gunicode.c: Pull the Windows.h header when G_OS_WIN32 is
10 2010-05-11 Atsushi Enomoto <atsushi@ximian.com>
12 * Makefile.am : do not try to build test on windows (fails).
13 * src/glib.h : fix cygwin build, do not include unistd.h.
15 2010-05-10 Miguel de Icaza <miguel@novell.com>
17 * gfile-win32.c: Port this to use the Win32 APIs to get this
20 2010-05-07 Andrew Jorgensen <ajorgensen@novell.com>
22 * test/test.h: Fix some compiler warning that SUSE takes seriously.
24 2010-05-06 Alan McGovern <amcgovern@novell.com>
26 * src/gmarkup.c: Fix a parser issue when skipping the xml declaration.
28 2010-05-06 Jonathan Chambers <joncham@gmail.com>
30 * gfile-win32.c: Use __stat64 instead of _stat64.
32 2010-05-04 Jonathan Chambers <joncham@gmail.com>
34 * gspawn.c: Remove extern define for MSVC.
36 2010-05-03 Zoltan Varga <vargaz@gmail.com>
38 * src/glib.h: Include unistd.h on !windows for pid_t.
40 * gspawn.c: Add an extern define for environ on !apple platforms.
42 2010-05-02 Zoltan Varga <vargaz@gmail.com>
44 * src/glib.h: Include sys/types.h for pid_t.
46 2010-05-01 Zoltan Varga <vargaz@gmail.com>
48 * src/goutput.c (g_logv): Append a '\n' to the end of the string as glib does.
50 2010-04-28 Zoltan Varga <vargaz@gmail.com>
52 * configure.ac src/gspawn.c: Applied openbsd changes from Robert Nagy
55 2010-04-16 Miguel de Icaza <miguel@novell.com>
57 * src/gshell.c (g_shell_unquote): Implement this.
59 2010-04-25 Andreas Faerber <andreas.faerber@web.de>
61 * configure.ac: The iconv function may be libiconv_open.
62 Fixes linking with GNU libiconv.
64 Contributed under MIT/X11 license.
66 2010-04-23 Geoff Norton <gnorton@novell.com>
68 * configure.ac: The iconv function is iconv_open.
70 2010-04-19 Jonathan Pryor <jpryor@novell.com>
72 * src/glib.h: Rebase g_return_if_fail(), g_return_val_if_fail() in
73 terms of g_critical() instead of printf, and turn g_printerr() into
74 an actual function instead of a macro.
75 * src/goutput.c: Add Android support, sending g_print(), g_printerr(),
76 and g_log() messages to the Android system log.
78 2010-04-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
80 * test/ptrarray.c: new tests
81 * src/gptrarray.c: implemented g_ptr_array_remove_fast().
83 2010-04-10 Andreas Faerber <andreas.faerber@web.de>
85 * configure.ac: Add checks for libm and libdl.
86 * {src,test}/Makefile.am: Remove hardcoded library dependencies.
87 Fixes compilation on Haiku.
89 Contributed under MIT/X11 license.
91 2010-03-05 Zoltan Varga <vargaz@gmail.com>
93 * test/test.c (_GNU_SOURCE): Fix compilation if _GNU_SOURCE is already defined.
96 Thu Mar 4 16:34:37 CET 2010 Paolo Molaro <lupus@ximian.com>
98 * src/unicode-data.h: save 70 KB.
100 Thu Mar 4 16:18:34 CET 2010 Paolo Molaro <lupus@ximian.com>
102 * src/eglib-remap.h, src/glib.h: header file to remap the symbols
103 so there is no clash with system glib.
104 * src/Makefile.am: build static lib as well.
106 2010-03-04 Zoltan Varga <vargaz@gmail.com>
108 * configure.ac: Add a check for ISO varargs.
110 * test/test.c: Fix the build.
112 * src/glib.h src/goutput.c: Emit asserts through a g_assertion_message ()
113 function which is decorated with G_GNUC_NORETURN, to fix many warnings when using
116 Mon Mar 1 17:12:24 CET 2010 Paolo Molaro <lupus@ximian.com>
118 * src/unicode-data.h, src/gutf8.c: don't export private symbols.
120 2009-12-03 Zoltan Varga <vargaz@gmail.com>
122 * src/gmisc-unix.c (g_get_user_name): Avoid returning NULL if the env
125 2009-10-15 Andreia Gaita <avidigal@novell.com>
127 * src/gptrarray.c: implement g_ptr_array_remove_index_fast
128 * src/glib.h: fix g_ptr_array_remove_index_fast declaration
129 * test/ptrarray.c: new tests
131 2009-10-15 Andreia Gaita <avidigal@novell.com>
133 * src/garray.c: (g_array_remove_index_fast) only move 1 element
134 and not the whole shebang
136 2009-09-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
138 * test/queue.c: new tests.
139 * src/gqueue.c: fixed pop_head.
141 2009-09-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
143 * src/gqueue.c: add g_queue_push_tail.
145 2009-06-20 Zoltan Varga <vargaz@gmail.com>
147 * src/glib.h: Add GUINT32_FROM/TO_BE macros.
149 2009-06-09 Jonathan Chambers <joncham@gmail.com>
151 * CMakeLists.txt: Add start of CMake build.
152 * src/CMakeLists.txt: Add start of CMake build.
154 Contribution is licensed as MIT/X11.
156 2009-06-02 Bill Holmes <billholmes54@gmail.com>
158 * src/gpath.c (g_find_program_in_path): While searching on Windows
159 also try additional suffixes .exe, .cmd, .bat, and.com.
161 Contributed under MIT/X11 license.
163 2009-05-27 Geoff Norton <gnorton@novell.com>
165 * src/gfile-posix.c: Fix g_get_current_dir on amd64
167 2009-04-22 Jeffrey Stedfast <fejj@novell.com>
169 * src/gtimer-win32.c (g_timer_elapsed): Avoid re-querying freq by
170 just saving it in a static variable. Also modified microseconds
171 calculation to avoid overflow.
173 2009-04-05 Miguel de Icaza <miguel@novell.com>
175 * src/gpath.c: Avoid situations where we add the separator if one
176 of the elements is the separator.
178 2009-04-02 Miguel de Icaza <miguel@novell.com>
180 * src/gpath.c: If the first element is NULL, return an empty
183 2009-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
185 * src/gstr.c: use memset in g_strnfill.
187 2009-01-19 Bill Holmes <billholmes54@gmail.com>
189 * src/gstr.c (g_strnfill): Fixing a warning for MSVC.
191 Contributed under MIT/X11 license.
193 2009-02-05 Miguel de Icaza <miguel@novell.com>
195 * src/gstr.c: Add g_strnfill
197 * src/glib.h: Add g_list_previous
199 2009-01-19 Bill Holmes <billholmes54@gmail.com>
201 * gmisc-win32.c (g_path_is_absolute): Adding support for UNC
204 Contributed under MIT/X11 license.
206 2009-01-08 Bill Holmes <billholmes54@gmail.com>
208 * winconfig.h, src/gfile-posix.c :
209 Fixing the MSVC builds.
211 Contributed under MIT/X11 license.
213 2009-01-07 Miguel de Icaza <miguel@novell.com>
215 * src/gfile-posix.c: Move g_get_current_dir, as it is a
216 POSIX-esque feature, and some other systems do not have current
219 * src/glib.h (G_LOCK_DEFINE, G_LOCK_DEFINE_STATIC):
221 Embedded support from Paolo's work on quack.
223 * configure.ac: check for strtok_r, langinfo.h and iconv.h
225 * src/gpath.c (strtok_r): Add a strtok_r implementation if it is
226 not available on the target system.
228 2008-11-05 Bill Holmes <billholmes54@gmail.com>
230 * src/gutf8.c, src/unicode-data.h, src/gunicode.c :
231 Fixing the MSVC builds.
233 Contributed under MIT/X11 license.
235 2008-11-04 Atsushi Enomoto <atsushi@ximian.com>
237 * src/gutf8.c, src/gunicode.c, src/glib.h:
238 implemented g_unichar_type(), g_unichar_toupper(),
239 g_unichar_tolower(), g_unichar_totitle(), g_utf8_strup()
240 and g_utf8_strdown(). Fixed some surrogate pair bugs.
241 * TODO : removed implemented things.
242 * test/unicode.c, test/tests.h, test/utf8.c, test/Makefile.am:
245 2008-11-04 Atsushi Enomoto <atsushi@ximian.com>
247 * src/unicode-data.h : new header for some new unicode manipulation
250 2008-10-17 Miguel de Icaza <miguel@novell.com>
252 * Allow types to be defined on the eglib-config.h file, that could
253 be a platform specific generated type file.
255 * gtimer.c: split functionality in platforms.
257 2008-10-13 Bill Holmes <billholmes54@gmail.com>
259 * src/gdate-win32.c : Fix compiler errors for MSVC.
261 * src/gpath.c : Fix compiler errors for MSVC.
263 * src/gfile-posix.c : Adding declaration for mkstemp for the win 32
264 implementation in gfile-win32.c.
266 Contributed under MIT/X11 license.
268 2008-10-11 Miguel de Icaza <miguel@novell.com>
270 * gtimer.c: Same process.
272 * src/glib.h: Move g_strdup here, to consolidate all allocations
273 in this header, will help for merging the allocation work later.
275 * src/gpattern.c (compile_pattern): From Unity, use -1 in the enum
278 * src/gpath.c: Split this one as well.
280 * src/gmodule-win32.c, src/gmisc-unix.c, src/gmisc-win32.c,
281 src/gmodule-unix.c: split functionality in platforms.
283 * src/goutput.c (g_logv): On some platforms, before we abort we
284 want to flush the stdout/stderr.
286 2008-10-10 Miguel de Icaza <miguel@novell.com>
288 * Split functionality that is operating system specific into
289 -win32.c, -unix.c and -posix.c
291 * Use g_malloc everywhere, and g_free, so that these can be easily
292 overwritten consistently.
294 2008-09-16 Bill Holmes <billholmes54@gmail.com>
296 * src/gunicode.c : Fix a warning.
298 Contributed under MIT/X11 license.
300 2008-08-28 Bill Holmes <billholmes54@gmail.com>
302 * src/glib.h : Adding a c++ definition for G_BEGIN_DECLS.
304 Contributed under MIT/X11 license.
306 2008-08-27 Bill Holmes <billholmes54@gmail.com>
308 * glib.h, gunicode.c : Fixing some compiler errors.
310 Contributed under MIT/X11 license.
312 2008-08-20 Mike Voorhees <vernish13@gmail.com>
314 * Patch from Mike Voorhees to fix various problems with
315 g_utf8_validate compared to the glib implementation and unit tests
316 to ensure that there are no regressions.
318 From a mailing list post to mono-devel-list on August 19th, 2008
320 [Mono-dev] utf8 related patches. Please review.
322 2008-08-20 Mike Voorhees <vernish13@gmail.com>
324 * src/glib.h : Adding declarations for g_utf8_strlen, g_utf8_get_char,
325 and g_utf8_next_char.
327 * src/gunicode.c : Adding implementation for g_utf8_strlen, g_utf8_get_char,
328 and g_utf8_next_char.
330 * src/gunicode.c : Rewrote g_utf8_validate.
332 * test/utf8.c Adding tests for g_utf8_strlen, g_utf8_get_char,
333 g_utf8_next_char, and g_utf8_validate.
335 Contributed under MIT/X11 license.
337 2008-08-05 Andreas Faerber <andreas.faerber@web.de>
339 * autogen.sh: Suppress arguments warning for NOCONFIGURE.
341 Contributed under MIT/X11 license.
343 2008-08-04 Bill Holmes <billholmes54@gmail.com>
345 * test/tests.h, test/Makefile.am, test/memory.c : Adding memory tests to test
346 allocation routines return NULL when 0 size is passed in.
348 Contributed under MIT/X11 license.
350 2008-08-04 Bill Holmes <billholmes54@gmail.com>
352 * src/glib.h : Changing the allocation routines to return null if 0 size is
355 Contributed under MIT/X11 license.
357 2008-06-16 Zoltan Varga <vargaz@gmail.com>
359 * src/vasprintf.c (vasprintf): Applied patch from Michail Ushakov
360 <migelU@gmail.com>. Workaround broken vsnprintf on windows. Fixes
363 2008-06-11 Zoltan Varga <vargaz@gmail.com>
365 * src/goutput.c (g_log): Remove unnecessary and incorrect call to
366 g_strdup_printf (). Fixes #398918.
368 2008-05-01 Bill Holmes <billholmes54@gmail.com>
370 * src/glib.h : Adding declarations for g_ucs4_to_utf16 and g_utf16_to_ucs4.
372 * src/gutf8.c : Adding implementation for g_ucs4_to_utf16 and g_utf16_to_ucs4.
374 * test/utf8.c Adding tests for g_ucs4_to_utf16 and g_utf16_to_ucs4.
376 Contributed under MIT/X11 license.
378 2008-04-20 Geoff Norton <gnorton@novell.com>
380 * src/gspan.c: Fix the _NSGetEnviron define to prevent an impropoer
383 2008-03-19 Bill Holmes <billholmes54@gmail.com>
385 * src/gpath.c (g_path_is_absolute) : Adding a case for '/'
388 * src/gpath.c (g_get_user_name) : On Windows add a check for %USERNAME%
391 * src/gstr.c (g_strsplit, g_strsplit_set): Change to remove truncation
392 errors with MSVC build.
394 * src/gstr.c (g_filename_to_uri, g_filename_from_uri): Fixes to handle
397 * src/gstr.c (g_ascii_strncasecmp): Convert each character to lower case
400 * src/gunicode.c (g_get_charset): Implement for Windows.
402 Contributed under MIT/X11 license.
404 2008-03-12 Geoff Norton <gnorton@novell.com>
406 * src/gutf8.c: Implement g_ucs4_to_utf16 and g_utf16_to_ucs4 as
407 asserts. They're needed to build mono with eglib.
408 * src/gutil.h: Add a few missing function declarations to the header.
409 * src/gspawn.c: Some darwin implementations don't have crt_externs.h
410 So we'll just define _NSGetEnviron() ourselves.
411 * Makefile.am: Dont build test when cross compiling.
412 * configure.ac: Define CROSS_COMPILING when cross compiling.
413 Undefine _FORTIFY_SOURCE on arm-apple-darwin as the headers it
414 requires are not available.
416 2008-01-15 Andreas Faerber <andreas.faerber@web.de>
418 * configure.ac: Add default G_BREAKPOINT implementation.
419 Fix typo in breakpoint CPU output.
421 2007-12-23 Zoltan Varga <vargaz@gmail.com>
423 * src/glib.h: Include <limits.h>. Fixes #350482.
425 2007-11-21 Dick Porter <dick@ximian.com>
427 * src/gslist.c (g_slist_find_custom): Implement
429 * src/glist.c (g_list_find_custom): Implement
431 * test/list.c: Test g_list_find_custom()
433 * test/slist.c: Test g_slist_find_custom()
435 2007-11-20 Dick Porter <dick@ximian.com>
437 * src/gstr.c: Implement g_strsplit_set() and re-implement
438 g_strsplit() so it passes the additional tests. (g_strsplit()
439 should treat multi-char delimiters as just a single token, rather
440 than a set of delimiters.)
442 * src/gslist.c: Implement g_slist_index(), g_slist_nth() and
445 * test/string-util.c: Test g_strsplit_set() and more tests for
448 * test/slist.c: Test g_slist_nth() and
451 2007-11-06 Geoff Norton <gnorton@novell.com>
453 * configure.ac: Check for libiconv_open as the previous check was failing against
454 some versions of libiconv.
456 2007-11-06 Andreas Faerber <andreas.faerber@web.de>
458 * test/Makefile.am: Fix noinst_PROGRAMS for automake 1.6.3
459 Add support for VPATH
461 2007-11-06 Geoff Norton <gnorton@novell.com>
463 * configure.ac: Determing if glib-2.0 is installed and set HAVE_GLIB appropriately
464 * test/Makefile.am: Only build test-glib if glib-2.0 is available
466 2007-11-05 Geoff Norton <gnorton@novell.com>
468 * configure.ac: Check for getpwent_r and wether libiconv is needed to be linked.
469 Also look to see if we can use export-dynamic in the test suite.
470 * test/Makefile.am: Get LDFLAGS from configure instead of setting them.
471 * src/gerror.c: Implement g_clear_error.
472 * src/glib.h: Only use the format, ... convention is HAVE_C99_SUPPORT is available.
473 * src/gpath.c: Only use the getpwent_r codepath if getpwent_r is available.
474 * src/gspawn.c: Define environ to call _NSGetEnviron() on Apple.
475 * src/Makefile.am: Remove -Werror so we dont fail on different function declarations.
476 Portions of all of the above are from Andreas Faerber & Jonathan Chambers
478 2007-10-31 Jonathan Chambers <joncham@gmail.com>
480 * src/ghashtable.c: Add g_hash_table_foreach_steal.
481 * src/garray.c: Add g_array_remove_index_fast.
482 * src/gpath.c (g_path_is_absolute): Handle windows paths.
483 * src/glib.h: Add g_hash_table_foreach_steal and g_array_remove_index_fast
485 Contribution is licensed as MIT/X11.
487 2007-06-13 Jonathan Chambers <joncham@gmail.com>
489 * src/gunicode.c: Add g_unichar_isxdigit and g_unichar_xdigit_value.
490 * src/gmisc.c: Add g_win32_getlocale stub.
491 * src/glib.h: Add declarations of above functions,
492 GFreeFunc typedef, and CLAMP, GUINT_TO_LE, and threading
495 * test/string-util.c: Fix warning.
496 * test/utf8.c: Add test for g_unichar_xdigit_value.
498 Contribution is licensed as MIT/X11.
500 2007-05-05 Aaron Bockover <abockover@novell.com>
503 * src/glib.h: Added g_ascii_tolower implementation; make g_ascii_strdown
504 use it to do the transformation
506 * test/string-util.c: Added a test for g_ascii_strdown
508 2007-04-27 Jonathan Chambers <joncham@gmail.com>
510 * src/gstr.c: Fix off by one error in g_strdup allocation.
512 2007-04-27 Jonathan Chambers <joncham@gmail.com>
514 * src/eglib-config.hw: Forgot to add for msvc build.
515 * src/vasprintf: Forgot to add for msvc build.
517 2007-04-27 Jonathan Chambers <joncham@gmail.com>
519 * src/gstr.c: Fix off by one error for NULL terminator.
521 2007-04-27 Jonathan Chambers <joncham@gmail.com>
523 Combined patch from Michael Jerris <mike@jerris.com> and me.
524 * winconfig.h: Config file for msvc builds.
525 * configure.ac: Add AC_CHECK_HEADERS for getopt.h, sys/time.h,
526 sys/wait.h, and pwd.h.
528 * src/gspawn.c: Include config.h and use HAVE_* macros.
529 * src/eglib-config.h.in: Add inclusion guards.
530 * src/ghashtable.c: Fix warnings.
531 * src/gmisc.c: Windows implementation of g_getenv, g_setenv,
533 * src/gpath.c: Include config.h and use HAVE_* macros.
534 * src/gmarkup.c: Fix warnings.
535 * src/gptrarray.c: Fix warnings.
536 * src/gstr.c: Fix warnings and use HAVE_* macros.
537 * src/glib.h: Move macros to eglib-config.h and include it.
538 * src/gdate.c: Implement g_get_current_time on windows.
539 * src/gpattern.c: Fix warnings.
540 * src/gdir.c: Implement g_dir on windows.
541 * src/gfile.c: Implement mkstemp and g_file_test on windows.
542 * src/gtimer.c: Implement g_timer on windows.
543 * src/gmodule.c: Fix warnings.
544 * src/gunicode.c: Fix warnings.
545 * src/gutf8.c: Fix warnings.
547 * test/ptrarray.c: Fix warnings.
548 * test/string.c: Fix warnings.
549 * test/list.c: Fix warnings.
550 * test/pattern.c: Use HAVE_* macros.
551 * test/dir.c: Use HAVE_* macros.
552 * test/file.c: Use HAVE_* macros and use system specific files for tests.
553 * test/test.c: Fix warnings and use HAVE_* macros.
554 * test/timer.c: Use HAVE_* macros.
555 * test/string-util.c: Fix warnings.
556 * test/test.h: Supress warnings on msvc.
557 * test/module.c: Use HAVE_* macros.
558 * test/utf8.c: Fix warnings.
559 * test/spawn.c: Use HAVE_* macros.
560 * test/driver.c: Fix warnings and use HAVE_* macros.
561 * test/path.c: Use HAVE_* macros and use system specific files for tests.
562 * test/sizes.c: Fix warnings.
564 2007-04-24 Jonathan Chambers <joncham@gmail.com>
566 Patch from Michael Jerris <mike@jerris.com>
567 * src/gspawn.c: Start msvc build.
568 * src/gpath.c: Start msvc build.
569 * src/gmarkup.c: Start msvc build.
570 * src/gshell.c: Start msvc build.
571 * src/gstr.c: Start msvc build.
572 * src/glist.c: Start msvc build.
573 * src/glib.h: Start msvc build.
574 * src/gdate.c: Start msvc build.
575 * src/gpattern.c: Start msvc build.
576 * src/gdir.c: Start msvc build.
577 * src/gfile.c: Start msvc build.
578 * src/gtimer.c: Start msvc build.
579 * src/gmodule.c: Start msvc build.
580 * src/gunicode.c: Start msvc build.
582 2007-01-27 Robert Jordan <robertj@gmx.net>
584 * test/Makefile.am: Add linker option to be able to
585 load symbols from the main program.
586 * test/module.c: Clean-ups.
588 2007-01-26 Robert Jordan <robertj@gmx.net>
590 * configure.ac: Add PLATFORM_WIN32 conditional.
591 * src/Makefile.ac: Use PLATFORM_WIN32 conditional for psapi, iconv
592 * test/module.c, test/tests.h, test/Makefile.am: New test for gmodule.
593 * src/gmodule.h: Add G_MODULE_{IMPORT|EXPORT} defines.
594 * src/gmodule.c (g_module_symbol): Implement in-proc symbol lookup
596 * src/gmodule.c: Add GModule.main_module, consider it in
598 * src/gpath.c (g_get_home_dir): Add dummy Win32 implementation to
601 2006-11-03 Miguel de Icaza <miguel@novell.com>
603 * src/gpath.c (g_path_get_dirname): If the pathname starts with a
606 * test/string-util.c (test_strlcpy): Add new test.
608 * src/gunicode.c (g_filename_from_utf8): g_strlcpy needs the full
609 size, with the extra zero at the end; Fixes the stack trace
612 2006-10-30 Miguel de Icaza <miguel@novell.com>
614 * test/utf8.c (test_utf8_seq): Add new failing test.
616 2006-10-30 Atsushi Enomoto <atsushi@ximian.com>
618 * src/gutf8.c : several fixes:
619 - fixed incorrect mb_size clear and mb_remain computation.
620 - initialize items_written to 0 for error case.
621 - in utf8_to_utf16_len differentiate error messages completely.
622 - in g_utf8_to_utf16 use guchar instead of gchar.
623 * test/utf8.c : added test case string in test_utf8_seq() to
624 both test_utf8_to_utf16() and test_utf16_to_utf8().
626 2006-10-21 Miguel de Icaza <miguel@novell.com>
628 * src/gunicode.c (g_filename_from_utf8): Use g_strlcpy here.
630 * src/gmarkup.c (g_markup_parse_context_parse): Do not dereference
631 null values here. This gets things a little bit further in
632 corlib, but not too far.
634 * src/gdir.c (g_dir_read_name): Do not return . or ..
636 * src/gstr.c (g_ascii_xdigit_value): Make this into a function,
637 thanks to Paolo for pointing the problem with the double macro
640 * src/gmodule.c (g_module_open): Actually return NULL if we fail
641 to load the module (was hiding the real bug in the pinvoke tests).
643 (g_module_build_path): Do not prepend "lib" if the "lib" is part
646 * src/gstr.c (g_strsplit): this routine has some non-expected
647 behavior, if the string begins with the delimiter, it will return
648 an empty first string, unlike strtok
650 * src/gpath.c (g_path_get_dirname): Return "." as a dirname for
651 paths that do not contain a directory.
653 2006-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
655 * test/array.c: new test for insertion in the middle of other values.
656 * src/garray.c: fixed destination index.
658 2006-10-18 Miguel de Icaza <miguel@novell.com>
660 * src/gpath.c (g_build_path): Do not append terminator if the next
663 * src/gutf8.c (g_utf8_to_utf16): Include trailing zero as
665 (g_utf16_to_utf8): Include trailing zero as documented.
667 2006-10-17 Miguel de Icaza <miguel@novell.com>
669 * src/gstr.c (g_strdown): Actually move.
671 * src/gmarkup.c (g_markup_parse_context_parse): Accept dots in the
672 sequence, reset the state after a closing element.
674 * src/garray.c (g_array_insert_vals): Shift the elements the
677 (g_array_insert_vals): Should actually use the
678 number of elements to insert.
680 * test/array.c: Add new test case, this was happening in the JIT.
682 * Add _GNU_SOURCE at configure time, remove from sources.
684 * src/gstr.c (g_strsplit): Empty strings return a 0 value vector.
686 * src/glib.h (G_MAXINT64, G_MININT64): Add another set of macros
687 for the support stuff.
689 Move private prototypes elsewhere
691 * src/glib.h (g_thread_init): Adding missing brace
692 (g_list_next): remove ; from the macro definition.
694 2006-10-17 Miguel de Icaza <miguel@novell.com>
696 * src/gutf8.c: internal methods
698 * src/ghashtable.c: internal methods.
700 2006-10-16 Miguel de Icaza <miguel@novell.com>
702 * src/gerror.c (g_propagate_error): Implement.
704 * src/gstr.c (g_strjoinv, g_ascii_strncasecmp): implement.
706 * test/string-util.c (test_ascii_strncasecmp): test
708 2006-10-15 Miguel de Icaza <miguel@novell.com>
710 * configure.in: Fix detection of platforms the [3456] stuff does
711 not work inside autoconf.
713 * src/eglib-config.h.in: Make G_BREAKPOINT into a function-macro
715 * src/glib.h (offsetof): Mono sources depend on this, bring this
716 from the standard definition. Redefine G_STRUCT_OFFSET in terms
719 * src/glib.h (G_STRUCT_OFFSET): fix macro definition.
722 * src/sizes.c: Add test.
724 * src/gshell.c: Make it build
726 2006-10-14 Miguel de Icaza <miguel@novell.com>
728 * src/glib.h: add various _TO_LE and _FROM_LE macros.
730 * test/endian.c: tests for endian conversion macros.
732 2006-10-09 Miguel de Icaza <miguel@novell.com>
734 * src/gmodule.h: Move definitions of gmodule to gmodule.h because
735 Mono expects it there.
737 Mon Oct 9 12:59:16 CEST 2006 Paolo Molaro <lupus@ximian.com>
739 * src/ghashtable.c: s/to_prime/g_spaced_primes_closest/g
740 and put the array in readonly memory.
741 * src/gstr.c: fixed the build and made array const.
742 * src/gmodule.c: fixed thinko.
744 2006-10-08 Miguel de Icaza <miguel@novell.com>
746 * src/gstr.c (g_strdup): should allow NULL as an argument.
748 2006-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
750 * test/string-util.c:
753 * src/glib.h: implemented g_strescape.
755 2006-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
757 * test/string-util.c:
761 * src/glib.h: implemented g_strlcpy.
763 2006-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
765 * test/string-util.c:
768 * src/glib.h: implemented g_strdelimit.
770 2006-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
772 * test/spawn.c: add search path flag when running ls.
773 * src/gspawn.c: g_spawn_command_line_sync searches the program in the
774 PATH if it's not an absolute path.
776 2006-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
778 * test/string-util.c:
779 * src/glib.h: implement g_ascii_xdigit_value and tests.
781 2006-10-06 Miguel de Icaza <miguel@novell.com>
783 * src/gstr.c (g_ascii_strdown): Implement.
785 * str/glib.c (g_log_set_handler): empty.
787 (GMemVTable): define, empty, ignored.
790 * src/gunicode.c (g_convert): Add bytes_read, bytes_written
791 support; Small fixes to avoid valgrind errors.
793 (g_utf8_validate): Add, based on the libxml code.
795 gstr.c: implement g_strdown.
797 2006-10-05 Miguel de Icaza <miguel@novell.com>
799 * src/gunicode.c: Some work in progress to implement g_convert
800 (which is needed by g_locale_to_utf8).
802 2006-09-18 Miguel de Icaza <miguel@novell.com>
804 * test/string-util.c (test_filename_from_uri): tests for new
807 * src/gstr.c (g_filename_to_uri, g_filename_from_uri): implement.
809 2006-09-14 Atsushi Enomoto <atsushi@ximian.com>
811 * src/gutf8.c, test/utf8.c : EOL fix.
813 2006-09-04 Miguel de Icaza <miguel@novell.com>
815 * src/gmarkup.c: The leak fixing commit.
817 * src/gmarkup.c (g_markup_parse_context_end_parse): Add missing
819 (g_markup_parse_context_free): Implement.
820 (parse_attributes): Store the value, not the attribute name
822 Properly check the /> section.
823 (g_markup_parse_context_parse): When checking for error, use the
824 "error!=NULL && *error != NULL" upon return from callbacks,
825 it is only then that its valid to check for *error for error
827 (g_markup_parse_context_parse): Add comment processing.
829 Only release one element of the list.
831 * test/markup.c: Incorporate the kind of code that is used in Mono
832 for domain loading; Will test the rest later.
834 2006-09-01 Miguel de Icaza <miguel@novell.com>
836 * src/gmarkup.c (g_markup_parse_context_parse): Add text parsing
837 support, and end-element support; not tested yet.
839 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
841 * gutf8.c : bad allocation size. multiply sizeof gchar/gunichar2.
843 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
845 * gutf8.c : when error is null, utf8_to_utf16_len() and
846 utf16_to_utf8_len() could return -1, so return NULL for those
847 cases in g_utf8_to_utf16() and g_utf16_to_utf8().
849 2006-09-01 Miguel de Icaza <miguel@novell.com>
851 * src/gmarkup.c: Builds and does minimal parsing.
853 * test/markup.c: Sample test cases I have been using
855 2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
858 src/gerror.c : added g_set_error().
860 g_utf8_to_utf16() and g_utf16_to_utf8() implementation.
861 * src/glib.h : added all above, and some dependent bits.
862 * src/Makefile.am : added gutf8.c.
863 * TODO: removed above.
865 test/tests.h : added utf8 tests.
866 * test/utf8.c : test for g_utf8_to_utf16 and g_utf16_to_utf8.
867 It still needs more tests e.g. for multibytes.
869 2006-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
871 * src/gspawn.c: small touch-ups and make read/write EINTR-proof.
873 2006-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
875 * test/file.c: remove useless test.
877 * test/spawn.c: new g_spawn_async_with_pipes test.
878 * src/glib.h: Modified file.
879 * src/gspawn.c: implemented g_spawn_async_with_pipes. Needs fine tuning.
881 2006-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
883 * TODO: Modified file.
891 * src/gfile.c: implemented g_dir_*, unix version.
893 2006-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
896 * test/Makefile.am: Modified file.
898 * src/Makefile.am: Modified file.
900 * src/gpattern.c: implemented the 3 pattern matching functions used.
902 * test/ptrarray.c: fix the compare function to work with qsort.
907 * src/gpath.c: made valgrind happy.
909 2006-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
913 * src/gfile.c: implemented g_file_test. Changed the default mask to
916 2006-08-26 Raja R Harinath <rharinath@novell.com>
918 * src/sort.frag.h (digit): Declare here based on externally
919 provided typedef 'list_node'.
920 (MAX_DIGITS): Use 'sizeof (list_node)'.
921 * src/gslist.c (list_node): Declare instead of 'digit'.
922 * src/glist.c: Likewise.
924 * test/slist.c (verify_sort): Verify the length of the list too.
925 (test_slist_sort): Free the correct list.
926 * test/list.c: Likewise.
927 * src/sort.frag.h (MAX_DIGITS): Rename from N_DIGITS.
928 (combine_sort): Change 'max_pos' argument to more natural
930 (increment): Likewise. Use 'n_digits' to avoid reading at an
931 offset that hasn't been initialized.
932 (do_sort): Remove memset.
934 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
939 * src/gfile.c: implement g_file_open_tmp.
941 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
945 * src/gdate.c: New file.
946 * src/gfile.c: New file.
947 * src/Makefile.am: implemented g_file_get_contents and
951 * test/file.c: New file.
952 * test/Makefile.am: tests for the above.
954 2006-08-26 Raja R Harinath <rharinath@novell.com>
956 * src/sort.frag.h: Add copyright notice and some explanation.
957 (increment): Remove null check.
958 (combine_digits): Add 'list' argument to seed the summation.
959 (do_sort): Use the empty or singleton tail as the seed, rather
960 than calling 'increment'.
962 2006-08-25 Raja R Harinath <rharinath@novell.com>
964 * TODO: Remove 'List' entries.
965 * src/Makefile.am (libeglib_la_SOURCES): Add sort.frag.h.
966 * src/sort.frag.h: New. Implements a "generic" bottom-up "counting"
967 mergesort that works both on singly- and doubly-linked lists.
968 * src/gslist.c (g_slist_sort): Use it.
969 * src/glist.c (g_list_sort): Likewise.
970 * src/glib.h (g_slist_sort, g_list_sort): Declare.
971 * test/slist.c, test/list.c: Add basic testcases.
973 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
975 * src/gspawn.c: propagate errors from reads.
976 * src/gpath.c: an empty PATH is like a NULL one.
978 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
986 * src/Makefile.am: implemented GTimer.
988 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
995 * src/Makefile.am: initial implentation of g_spawn_command_line_sync.
996 Still need better error handling, but works for the most part.
998 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1000 * src/garray.c: grow faster so that the 'big' test does not crawl.
1002 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1005 * src/gqueue.c: plugged leaks.
1007 2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1010 * src/gpath.c: when PATH is not defined, the current dir is used.
1013 2006-08-25 Alp Toker <alp@atoker.com>
1015 * src/gstr.c: g_strv_length() should return guint, not gint
1016 * src/glib.h: Add g_strv_length() prototype
1018 2006-08-24 Miguel de Icaza <miguel@novell.com>
1020 * src/gpath.c (g_get_home_dir, g_get_tmp_dir, g_get_user_name,
1021 g_get_prgname, g_set_prgname): implemented.
1025 * src/gpath.c (g_get_current_dir): Implement.
1027 (g_find_program_in_path, g_path_is_absolute): implement.
1029 Add g_path_get_dirname, g_path_get_basename
1031 * src/gpath.c: Path routines
1033 2006-08-23 Miguel de Icaza <miguel@novell.com>
1035 * src/gerror.c: Implement.
1037 * src/glist.c (g_list_sort): Remove routine instead of hoping that
1038 it wont crash when we run it.
1040 2006-08-23 Raja R Harinath <rharinath@novell.com>
1042 * src/glist.c (g_list_insert_before): Avoid non-head declaration.
1044 * test/slist.c (test_slist_insert_before): Add.
1045 * src/gslist.c (g_slist_insert_before): Append if 'sibling' is null.
1047 * test/list.c (test_list_insert_before): Add test for return value
1048 of g_list_insert_before.
1049 * test/Makefile.am (test_eglib_LDADD): Refer to the .la file so as
1050 to rebuild test if eglib changes.
1051 * src/glist.c (new_node, disconnect_node): New helpers that
1052 maintain doubly-linked list invariants.
1053 (g_list_prepend, g_list_append): Express in terms of new_node.
1054 (g_list_insert_before): Likewise. Fix return value when inserting
1055 in the middle of the list.
1056 (g_list_concat): Reorganize to make more compact.
1057 (g_list_nth): Likewise.
1058 (g_list_nth_data): Don't segfault if 'n' is too large.
1059 (g_list_remove): Rewrite using _find and disconnect_node.
1060 (g_list_remove_link): Don't traverse list: use disconnect_node.
1061 (g_list_insert_sorted): Rewrite to make more compact. Use new_node.
1062 (g_list_copy): Likewise.
1063 (_prepend, _concat): Remove.
1064 * src/gslist.c (insert_after, find_prev, find_prev_link):
1066 (g_slist_copy): Simplify slightly, using insert_after.
1067 (g_slist_concat): Reorganize to make more compact.
1068 (g_slist_find): Likewise.
1069 (g_slist_insert_sorted): Likewise.
1070 (g_slist_remove): Rewrite using find_prev.
1071 (g_slist_remove_link): Rewrite using find_prev_link.
1072 (g_slist_remove_all, g_slist_insert_before): New.
1074 2006-08-21 Duncan Mak <duncan@a-chinaman.com>
1076 * src/gqueue.c: GQueue implementation.
1077 * src/glib.h: Add prototypes.
1078 * src/Makefile.am (libeglib_la_SOURCES): Include gqueue.c.
1081 * test/Makefile.am (SOURCES):
1082 * test/tests.h (DEFINE_TEST_GROUP_INIT_H): add tests for GQueue.
1084 2006-08-21 Aaron Bockover <abockover@novell.com>
1086 * src/gstr.c: fixed bug/invalid read/write on malloc-only case (no
1087 realloc/delimiter token not found); use memcpy instead of strncpy for
1090 * test/test.c (run_group): allow running specific tests under a group;
1091 added copied g_strsplit/g_strfreev from EGlib source as eg_strsplit
1092 and eg_strfreev to avoid performance skews in the driver
1094 * test/driver.c: allow user-specified group name to contain specific
1095 test to run under the group as 'group_name:test1,test2,...testN'
1097 * test/string-util.c: Added more g_strsplit tests
1105 * test/hashtable.c: make test names shorter (no need to prefix with
1106 the group since it runs under the group)
1108 2006-08-21 Miguel de Icaza <miguel@novell.com>
1110 * src/glib.h (g_hash_table_new_full): Add missing prototype.
1111 Replace g_free(x) with plain free, so it can be used as a function
1115 * src/ghashtable.c: Add rehashing.
1117 * test/hashtable.c: Add a bunch of extra tests.
1119 * src/goutput.c: Fix g_log so it actually formats the data.
1121 * src/ghashtable.c (g_hash_table_new): The glib test suite
1122 uncovered a bunch of bugs, the g_hash_table_new should actually
1125 (g_hash_table_remove, g_hash_table_foreach_remove): Fixed bugs
1128 2006-08-20 Aaron Bockover <abockover@novell.com>
1130 * src/gmisc.c: added g_setenv, g_getenv, g_unsetenv
1132 * src/gstr.c: added g_snprintf, g_sprintf, g_fprintf, g_printf
1134 * src/glib.h: added macros for above va_args printf functions
1136 * src/Makefile.am: added gmisc.c
1138 * test/whats-implemented: script to see what needs to be implemented
1140 2006-08-20 Chris Toshok <toshok@ximian.com>
1142 * test/array.c (test_array_big): add a test from the glib
1145 2006-08-20 Chris Toshok <toshok@ximian.com>
1147 * test/tests.h: add array tests to the mix.
1149 * test/array.c: a few array tests.
1151 * src/glib.h: add array prototypes.
1153 * src/garray.c: initial array foo.
1155 * test/Makefile.am (SOURCES): add array.c
1157 * src/Makefile.am (libeglib_la_SOURCES): add garray.c
1159 2006-08-19 Aaron Bockover <abockover@novell.com>
1161 * src/gstring.c: optimize and generalize reallocation by providing
1162 a GROW_IF_NECESSARY macro, do not use strcpy/strcat as they are
1163 very, very slow; GString is now much closer to GLib's implementation
1164 in terms of performance
1166 * test/string.c: added speed-specific tests to beat on reallocation code
1168 * test/test-both: run make if the test drivers don't exist
1170 2006-08-19 Jonathan Chambers <jonathan.chambers@gmail.com>
1172 * src/gmodule.c: Add gmodule support for windows and fix
1173 windows build. Contribution is licensed as MIT/X11.
1175 2006-08-19 Aaron Bockover <abockover@novell.com>
1177 * test/driver.c: Added --debug mode that allows for testing all paths
1178 of the driver without actually running real tests; runs only the 'fake'
1179 test, which does nothing; useful for running the driver through valgrind
1183 * test/fake.c: Added fake test for valgrinding the driver
1185 * test/ptrarray.c: update sort test
1187 2006-08-19 Aaron Bockover <abockover@novell.com>
1189 * test/test-both: added --help
1191 2006-08-19 Aaron Bockover <abockover@novell.com>
1193 * test/driver.c: added -n mode to show only raw global run times,
1194 which is useful for scripts (test-both --speed-compare)
1196 * test/test-both: added --speed-compare mode
1198 * test/README: updated with information on --speed-compare
1200 2006-08-19 Aaron Bockover <abockover@novell.com>
1202 * test/test.c: do not print times if -t is not passed
1204 * test/driver.c: removed use of GList from the driver to avoid skews due
1205 to performance differences between GLib and EGLib
1207 2006-08-19 Aaron Bockover <abockover@novell.com>
1209 * test/test.c: Perform iterations at the test level, only output one
1210 report for all iterations of tests in a group to produce more usable
1211 output; add timing for the tests and group; added get_timestamp for
1214 * test/test.h: Removed run_test as it should only be called from
1215 run_group, added get_timestamp
1217 * test/Makefile.am: Added -DDRIVER_NAME
1219 * test/test-both: simple script to run both drivers with the same options
1221 * test/driver.c: Iterations are now run at the test level, show a global
1222 status (OK/FAIL) indicator
1224 * test/README: Updated
1226 * configure.ac: Renamed from configure.in as configure.in naming
1227 convention is deprecated in favor of configure.ac
1229 * autogen.sh: s/configure.in/configure.ac/
1231 2006-08-19 Miguel de Icaza <miguel@novell.com>
1233 * Makefile.am: Removed MAINTAINERCLEANFILES that was too
1234 aggresive, it failed make distcheck and the resulting tarball was
1237 * src/glib.h: remove the various GPOINTER_TO_*, G*_TO_POINTER,
1238 GSIZE_FORMAT macros, and move them into src/eglib-config.h
1240 Moved also gssize and gsize to be arch specific. This should fix
1241 the 32/64 problems that Jon Chambers reported.
1243 * configure.in: test for pointer size, define the various values
1244 depending on 32 vs 32/64 worlds, might need further porting in the
1247 Change package name to eglib
1249 * test/slist.c, test/list.c, test/hashtable.c: Update tests to use
1252 * test/string-util.c: fix leak for valgrind tests.
1254 * test/tests.h: New size test, for testing datatypes.
1256 * test/sizes.c: New tests.
1258 2006-08-19 Aaron Bockover <abockover@novell.com>
1260 * test/README: Added quick guide on adding new tests/groups to the
1261 driver and some examples on how to perform various tests with the driver
1263 2006-08-18 Aaron Bockover <abockover@novell.com>
1265 * test/driver.c: Added getopt support and code timing, among other
1266 nice features to make testing/profiling easier
1268 * test/test.c: Add support for suppressing output (quiet) and
1269 define RESULT, FAILED, and OK
1272 * src/glist.c: Added g_list_nth_data implementation
1275 * test/string-util.c:
1279 * test/list.c: Use RESULT, FAILURE, and OK for tests
1281 2006-08-18 Miguel de Icaza <miguel@novell.com>
1283 * src/gstring.c (g_string_truncate): Implement truncate.
1284 (g_string_prepend): implement.
1286 Fix various bugs uncovered by new tests.
1288 * src/glib.h: introduce gssize type, the signed one. Important.
1290 * src/eglib-config.h (G_OS_): Add the G_OS_UNIX and G_OS_WIN32
1291 defines that we can use to check on the host OS.
1293 2006-08-18 Aaron Bockover <abockover@novell.com>
1296 * test/driver.c: Support pass/fail logging on tests to show group report
1298 2006-08-18 Aaron Bockover <abockover@novell.com>
1301 * test/test.h: Added result() to be used in place of g_strdup_printf(),
1302 it's shorter to write and allows the duped string to be freed safely;
1303 added license header to file
1305 * test/driver.c: Added license header to file
1307 * test/string-util.c:
1310 * test/list.c: Use result() in place of g_strdup_printf(), it's nicer
1312 2006-08-18 Aaron Bockover <abockover@novell.com>
1314 * src/gptrarray.c: Implemented g_ptr_array_sort
1316 * test/ptrarray.c: Added sort test
1318 * test/driver.c: Added --help; support running N iterations and allow
1319 selecting which test groups to run; uses the test group table in tests.h
1321 * test/tests.h: Added group table
1324 * test/test.c: Using a Group structure and table, removed run_groups
1325 as we only need run_group now
1327 * test/slist.h: Removed, not needed, tests/groups defined in tests.h
1329 2006-08-18 Miguel de Icaza <miguel@novell.com>
1331 * src/unicode.c: New file, to host unicode code, it will throw as
1332 this code is no longer used in the Mono runtime anyways.
1334 * src/glib.h: Use stdint.h types, a lot of the good stuff is
1337 2006-08-18 Duncan Mak <duncan@a-chinaman.com>
1339 * src/glist.c (g_list_remove, g_list_remove_link): Implemented.
1341 * src/gslist.c (g_slist_remove): Remember to set the next pointer
1342 to NULL when the item to remove is the first item in the list.
1344 2006-08-18 Duncan Mak <duncan@a-chinaman.com>
1346 * src/glist.c: Implemented. Missing remove,
1347 remove_link and insert_before.
1349 * test/list.c: Tests for GList.
1351 2006-08-17 Aaron Bockover <abockover@novell.com>
1353 * src/gptrarray.c: Implemented g_ptr_array_remove and
1354 g_ptr_array_remove_index
1356 * test/other: Removed, rewritten in Makefile.am
1358 * test/Makefile.am: Build test-eglib against local eglib and
1359 test-glib against GLib 2.0 (replaces 'other')
1361 * test/ptrarray.c: Added tests for g_ptr_array_remove and
1362 g_ptr_array_remove_index
1364 2006-08-17 Duncan Mak <duncan@a-chinaman.com>
1366 * src/gslist.c: Added MIT license.
1367 (g_slist_insert_sorted): Forgot the case where the data is
1368 appended to the end of the list.
1370 * test/slist.c (test_slist_insert_sorted): Fix the test.
1372 2006-08-17 Aaron Bockover <abockover@novell.com>
1374 * src/gptrarray.c: Added g_ptr_array_set_size implementation
1376 * test/ptrarray.c: Added test for g_ptr_array_set_size
1378 2006-08-17 Miguel de Icaza <miguel@novell.com>
1380 * src/glib.h: A handful of extra macros
1382 * configure.in, src/eglib-config.h.in: Set some system-specific
1383 settings that are probed at configure time.
1385 2006-08-17 Aaron Bockover <abockover@novell.com>
1387 * src/gptrarray.c: Added beginnings of GPtrArray (alloc, free, add, iterate)
1389 * src/glib.h: Added GPtrArray signatures
1391 * src/Makefile.am: Added gptrarray.c to build
1396 * test/Makefile.am: Add ptrarray tests for available functionality
1398 2006-08-17 Aaron Bockover <abockover@novell.com>
1401 * test/test.c: Added group iterator/test driver functionality
1403 * test/driver.c: Added groups to run using new test functionality
1407 * test/string-util.h: Test group definitions for string util/hashtable
1411 * test/hash.c: Added test definition table
1413 * test/Makefile.am: Added -Wall -Werror -D_FORTIFY_SOURCE=2
1415 * src/gstr.c: Added implementation for g_str_has_prefix, g_str_has_suffix
1417 * src/glib.h: Added missing function signatures
1419 * src/Makefile.am: added -D_FORTIFY_SOURCE=2
1421 2006-08-17 Duncan Mak <duncan@a-chinaman.com>
1423 * src/gslist.c (g_slist_remove_link): I misread the function
1424 signature. Re-implemented.
1425 (g_slist_delete_link): Implemented.
1426 (g_slist_reverse): Implemented.
1427 (g_slist_insert_sorted): Implemented.
1429 2006-08-17 Duncan Mak <duncan@a-chinaman.com>
1431 * src/gslist.c (g_slist_find):
1434 (g_slist_remove_link): Implemented.
1436 * test/slist.c: Tests for GSList.
1438 2006-08-17 Raja R Harinath <harinath@gmail.com>
1440 * src/gslist.c (g_slist_free_1): New. Free a single list node.
1441 (g_slist_free): Use it to free the list nodes. Don't free the
1442 data, since the list doesn't own it.
1443 (g_slist_append): Convert into a one-liner.
1444 (g_slist_foreach): Remove redundant null check.
1445 (g_slist_last): Actually return the last node.
1446 (g_slist_copy): Simplify.
1447 * src/gslist.h (g_slist_free_1): Add.
1449 2006-08-16 Duncan Mak <duncan@a-chinaman.com>
1453 * src/gslist.h: First attempt at implementing GSList, incomplete.
1455 * src/Makefile.am (libeglib_la_SOURCES): add gslist.c
1456 * src/glib.h: Add GFunc definition. #include the new gslist.h.
1458 2006-08-16 Miguel de Icaza <miguel@novell.com>
1460 * src/Makefile.am: Added -Wall,-Werror, corrected lots of
1463 * src/gstring.c: Gstring implementation.
1465 * test/str.c (test_gstring): string tests.
1467 2006-08-16 Aaron Bockover <abockover@novell.com>
1469 * src/gstr.c: Added g_strsplit implementation
1471 * test/driver.c: Run the split test
1473 * test/str.c: Added a test for g_strsplit
1477 * test/Makefile.am: Added MAINTAINERCLEANFILES
1479 2006-08-16 Miguel de Icaza <miguel@novell.com>
1481 * src/gouput.c: Implement some output routines, update missing
1484 * test: Add test driver, and initial tests.
1486 2006-08-15 Miguel de Icaza <miguel@novell.com>
1488 * src/ghashtable.c: Implement most of this, it is completely
1489 untested at this point.