In gmcs:
[mono.git] / eglib / ChangeLog
index 8f46f2fbf2378c0c3c2dc15a43b67f63e8584e42..786350347f7723b3ab0b9a03d11934789c1b5b12 100644 (file)
@@ -1,3 +1,153 @@
+2007-01-27  Robert Jordan  <robertj@gmx.net>
+
+       * test/Makefile.am: Add linker option to be able to
+       load symbols from the main program.
+       * test/module.c: Clean-ups.
+
+2007-01-26  Robert Jordan  <robertj@gmx.net>
+
+       * configure.ac: Add PLATFORM_WIN32 conditional.
+       * src/Makefile.ac: Use PLATFORM_WIN32 conditional for psapi, iconv
+       * test/module.c, test/tests.h, test/Makefile.am: New test for gmodule.
+       * src/gmodule.h: Add G_MODULE_{IMPORT|EXPORT} defines.
+       * src/gmodule.c (g_module_symbol): Implement in-proc symbol lookup
+       for Win32.
+       * src/gmodule.c: Add GModule.main_module, consider it in
+       g_module_close ().
+       * src/gpath.c (g_get_home_dir): Add dummy Win32 implementation to
+       fix the build.
+
+2006-11-03  Miguel de Icaza  <miguel@novell.com>
+
+       * src/gpath.c (g_path_get_dirname): If the pathname starts with a
+       "/", return the "/".
+
+       * test/string-util.c (test_strlcpy): Add new test.
+
+       * src/gunicode.c (g_filename_from_utf8): g_strlcpy needs the full
+       size, with the extra zero at the end;  Fixes the stack trace
+       issue. 
+
+2006-10-30  Miguel de Icaza  <miguel@novell.com>
+
+       * test/utf8.c (test_utf8_seq): Add new failing test.
+
+2006-10-30  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * src/gutf8.c : several fixes:
+         - fixed incorrect mb_size clear and mb_remain computation.
+         - initialize items_written to 0 for error case.
+         - in utf8_to_utf16_len differentiate error messages completely.
+         - in g_utf8_to_utf16 use guchar instead of gchar.
+       * test/utf8.c : added test case string in test_utf8_seq() to
+         both test_utf8_to_utf16() and test_utf16_to_utf8().
+
+2006-10-21  Miguel de Icaza  <miguel@novell.com>
+
+       * src/gunicode.c (g_filename_from_utf8): Use g_strlcpy here. 
+
+       * src/gmarkup.c (g_markup_parse_context_parse): Do not dereference
+       null values here.   This gets things a little bit further in
+       corlib, but not too far.
+
+       * src/gdir.c (g_dir_read_name): Do not return . or ..
+
+       * src/gstr.c (g_ascii_xdigit_value): Make this into a function,
+       thanks to Paolo for pointing the problem with the double macro
+       expansion. 
+
+       * src/gmodule.c (g_module_open): Actually return NULL if we fail
+       to load the module (was hiding the real bug in the pinvoke tests).
+
+       (g_module_build_path): Do not prepend "lib" if the "lib" is part
+       of the call.
+
+       * src/gstr.c (g_strsplit): this routine has some non-expected
+       behavior, if the string begins with the delimiter, it will return
+       an empty first string, unlike strtok
+
+       * src/gpath.c (g_path_get_dirname): Return "." as a dirname for
+       paths that do not contain a directory.
+
+2006-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * test/array.c: new test for insertion in the middle of other values.
+       * src/garray.c: fixed destination index.
+
+2006-10-18  Miguel de Icaza  <miguel@novell.com>
+
+       * src/gpath.c (g_build_path): Do not append terminator if the next
+       string is empty.
+
+       * src/gutf8.c (g_utf8_to_utf16): Include trailing zero as
+       documented.
+       (g_utf16_to_utf8): Include trailing zero as documented.
+
+2006-10-17  Miguel de Icaza  <miguel@novell.com>
+
+       * src/gstr.c (g_strdown): Actually move.
+
+       * src/gmarkup.c (g_markup_parse_context_parse): Accept dots in the
+       sequence, reset the state after a closing element.
+
+       * src/garray.c (g_array_insert_vals): Shift the elements the
+       correct amount.
+
+       (g_array_insert_vals): Should actually use the
+       number of elements to insert.
+
+       * test/array.c: Add new test case, this was happening in the JIT. 
+
+       * Add _GNU_SOURCE at configure time, remove from sources.
+       
+       * src/gstr.c (g_strsplit): Empty strings return a 0 value vector.
+
+       * src/glib.h (G_MAXINT64, G_MININT64): Add another set of macros
+       for the support stuff.
+       
+       Move private prototypes elsewhere
+
+       * src/glib.h (g_thread_init): Adding missing brace
+       (g_list_next): remove ; from the macro definition.
+
+2006-10-17  Miguel de Icaza  <miguel@novell.com>
+
+       * src/gutf8.c: internal methods
+
+       * src/ghashtable.c: internal methods.
+
+2006-10-16  Miguel de Icaza  <miguel@novell.com>
+
+       * src/gerror.c (g_propagate_error): Implement.
+
+       * src/gstr.c (g_strjoinv, g_ascii_strncasecmp): implement.
+
+       * test/string-util.c (test_ascii_strncasecmp): test
+
+2006-10-15  Miguel de Icaza  <miguel@novell.com>
+
+       * configure.in: Fix detection of platforms the [3456] stuff does
+       not work inside autoconf.
+
+       * src/eglib-config.h.in: Make G_BREAKPOINT into a function-macro
+
+       * src/glib.h (offsetof): Mono sources depend on this, bring this
+       from the standard definition.  Redefine G_STRUCT_OFFSET in terms
+       of this. 
+       
+       * src/glib.h (G_STRUCT_OFFSET): fix macro definition. 
+       fix typo.
+
+       * src/sizes.c: Add test.
+
+       * src/gshell.c: Make it build
+       
+2006-10-14  Miguel de Icaza  <miguel@novell.com>
+
+       * src/glib.h: add various _TO_LE and _FROM_LE macros.
+
+       * test/endian.c: tests for endian conversion macros.
+
 2006-10-09  Miguel de Icaza  <miguel@novell.com>
 
        * src/gmodule.h: Move definitions of gmodule to gmodule.h because