X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=ChangeLog;h=6167276d603e252ca46935748ab098234882e8ee;hb=3feb9d4741201312fc3e454513a82624acaa2b4c;hp=8a7a42a5a60b3f235550e221631654a5fc38863d;hpb=f2a5aa6700b5a139472410226008b43544917d92;p=platform%2Fupstream%2Fglib.git diff --git a/ChangeLog b/ChangeLog index 8a7a42a..6167276 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,565 @@ -2006-11-15 Ryan Lortie +2007-11-28 Matthias Clasen + + * glib/gmarkup.c: + * glib/gerror.c: Add Since: tags to new API + +2007-11-28 Matthias Clasen + + * glib/gurifuncs.c: Some doc cleanups + +2007-11-28 Matthias Clasen + + * glib/gtestutils.c: Fix up some doc comments, avoid C99 comments + + * glib/gconvert.c: De-doc-commentify static functions to + shut up gtk-doc. + + * glib/gutils.c: Fix the glib_gettext doc comment. + +2007-11-28 Tor Lillqvist + + * config.h.win32.in: Update to match what configure produces. + +2007-11-28 Alexander Larsson + + * glib/gstring.c (g_string_append_uri_escaped): + Move this function before g_string_append_c so that + we avoid the plt call due to the undefinf of g_string_append_c + +2007-11-28 Emmanuele Bassi + + * gio/Makefile.am: Remove makegioalias.pl from the marshal files + and avoid it being cleaned up when running make clean. + +2007-11-28 Alexander Larsson + + * glib/glib.symbols: + Add in the new symbols + + * glib/gurifuncs.c: + Use the aliases framework + + * glib/glibintl.h: + * glib/gutils.c: + Make the alias stuff work now that glib_gettext + is exported to libgio. + +2007-11-27 Ryan Lortie + + * glib/ghash.c (g_hash_table_insert, g_hash_table_replace, + g_hash_table_insert_internal): insert/replace were identical except + for a single line. Replace both with a common function. + +2007-11-27 Alexander Larsson + + * gio/Makefile.am: + * gio/gurifuncs.[ch]: + * glib/Makefile.am: + * glib/gstring.[ch]: + * glib/gurifuncs.[ch]: + Moved gurifuncs from gio to glib + +2007-11-27 Alexander Larsson + + * gio/gfileinfo.[ch]: + * glib/gfileutils.[ch]: + Move g_format_file_size_for_display from gio to glib + +2007-11-27 Alexander Larsson + + * configure.in: + Allow configuration of gio-module-dir + + * gio-2.0.pc.in: + Export giomodules location as giomodule variable + +2007-11-26 Matthias Clasen + + * tests/markup-collect.c: Add some tests for invalid booleans + +2007-11-26 Ryan Lortie + + Add new function g_markup_collect_attributes (bug #496847). + + * glib/glib.symbols: add g_markup_collect_attributes + + * docs/reference/glib/glib-sections.txt: + * glib/gmarkup.h: + * glib/gmarkup.c: add g_markup_collect_attributes and new enumerated + type GMarkupCollectType. Add new error code + G_MARKUP_ERROR_MISSING_ATTRIBUTE that is thrown by the attribute + collector. + +2007-11-27 Tor Lillqvist + + * glib/win_iconv.c: Some improvements, being upstreamed. + (must_use_null_useddefaultchar): New function, checks for those + codepages for which one must pass a NULL lpUsedDefaultChar pointer + to WideCharToMultiByte(). + (kernel_wctomb): Use it. + (kernel_wctomb): Return with E2BIG immediately if bufsize is zero. + +2007-11-27 Tor Lillqvist + + * glib/gutils.c (_glib_get_locale_dir) [Win32]: Use either + lib/locale or share/locale depending on which one is in + GLIB_LOCALE_DIR. When the configury recognizes GNU gettext (based + on the _nl_msg_cat_cntr variable, eek), share/locale gets used. + + * glib-zip.in: Likewise, look for message catalogs either in + lib/locale or share/locale. + +2007-11-26 Matthias Clasen + + * gio/gfileattribute.c: Fix up a doc comment. + +2007-11-26 Alexander Larsson + + * Makefile.am: + * configure.in: + * gio-2.0-uninstalled.pc.in: + * gio-2.0.pc.in: + * gio-unix-2.0-uninstalled.pc.in: + * gio-unix-2.0.pc.in: + * gio/ + * docs/reference/gio + Merged gio-standalone into glib. + + * glib/glibintl.h: + * glib/gutils.c: + Export glib_gettext so that gio can use it + Add P_ (using same domain for now) + Add I_ as g_intern_static_string + +2007-11-26 Tor Lillqvist + + * glib/win_iconv.c: ISO8859-1 is CP28591, not CP1252. + +2007-11-26 Tor Lillqvist + + Implement #491549: On Windows, always use the native API for + character set conversions instead of GNU libiconv. Almost all + codesets supported by GNU libiconv exist as Windows codepages. + One missing feature is the "C99" and "JAVA" pseudo codesets, but I + doubt that is worth worrying about. + + * glib/win_iconv.c: New file. iconv() implementation for + Windows. Placed in the public domain by Yukihiro Nakadaira + . From + http://yukihiro.nakadaira.googlepages.com/win_iconv.zip, his + 2007-11-17 version. + + * glib/gconvert.c: Include win_iconv.c on Windows. + + * glib/Makefile.am: Add win_iconv.c to EXTRA_DIST. + + * configure.in: Bypass iconv checks on Windows. + +2007-11-25 Tor Lillqvist + + * glib/gtestutils.c: Add conditionals for non-Unix. Just g_error() + unless G_OS_UNIX for now. + +2007-11-25 Matthias Clasen + + * configure.in: Require gtk-doc 1.8. + + * glib/gasyncqueue.c: + * glib/gdate.c: + * glib/gfileutils.c: + * glib/gmain.c: + * glib/gmarkup.c: + * glib/gregex.c: + * glib/gtestutils.c: + * glib/gutils.c: Use gtk-doc abbreviations for + examples in doc comments. + +2007-11-24 Matthias Clasen + + * */Makefile.am: Replace INCLUDES by AM_CPPFLAGS, other + cleanups. + +2007-11-24 Matthias Clasen + + * tests/base64-test.c: Fix a memory overrun. + +2007-11-24 Matthias Clasen + + * glib/gutils.c: Remove leftover ENABLE_NLS #ifdefs. + +2007-11-23 Matthias Clasen + + * glib/gbase64.c (g_base64_encode): Don't refuse to encode + a single byte. (Milan Crha) + + * tests/base64-test.c: Test encoding short strings. + +2007-11-23 Matthias Clasen + + * glib/gi18n-lib.h: + * glib/gi18n.h: Define a two-argument macro C_() for marking + translatable strings with context and implement C_() and Q_() + using g_dpgettext(). (#142676, Morten Welinder) + + * glib/glib.symbols: + * glib/gstrfuncs.[hc]: Implement g_dpgettext(). + +2007-11-23 Matthias Clasen + + * glib/goption.c: Use g_print to print out --help text in + locale encoding. (#469551, Takao Fujiwara) + +2007-11-22 Matthias Clasen + + * glib/gkeyfile.c: Set length out param in list-returning functions + to 0 when returning NULL. (#498728, Christian Persch) + +2007-11-21 21:06:47 Tim Janik + + * Makefile.decl: initialize automake variables EXTRA_DIST and + TEST_PROGS for unconditional appending via += in other makefiles. + define recursive test targets: test, test-report, perf-report, + full-report, as described here: + http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html + + * Makefile.am: + * build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am: + * build/win32/Makefile.am, build/Makefile.am: + * docs/Makefile.am, docs/reference/Makefile.am: + * docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am: + * gmodule/Makefile.am, tests/Makefile.am: + * tests/refcount/Makefile.am, tests/gobject/Makefile.am: + * glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am: + * glib/tests/Makefile.am, glib/pcre/Makefile.am: + * glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am: + * gthread/Makefile.am, glib/Makefile.am: + include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments. + + * glib/tests/Makefile.am: removed example testing rules. + + * glib/tests/testing.c: conditionalized performance and slow tests. + + * glib/gtestutils.h: + * glib/gtestutils.c: work around g_test_config_vars not changing its + exported value after value assignments, aparently due to symbol aliases. + + * glib/gtester.c: fixed off-by-one error which produced junk in logs. + + * configure.in: check for python >= 2.4 and provide $PYTHON for scripts. + +Tue Nov 20 15:59:55 2007 +0100 Tim Janik + + Renamed gtestframework to gtestutils. + + * glib/glib.h: + * glib/Makefile.am: added gtestutils.h to public includes. + + * glib/gtestutils.c: include gtestutils.h. + + * glib/gtestutils.h: + * glib/glib.symbols: + * glib/tests/testing.c: renamed gtestframework to gtestutils. + + * glib/gtestframework.h: renamed to gtestutils.h. + + * glib/gtestframework.c: renamed to gtestutils.c. + +Tue Nov 20 15:29:34 2007 +0100 Tim Janik + + glib/gtestframework.c: g_test_init(): make warnings and criticals fatal for all test programs. + +Wed Nov 14 20:35:05 2007 +0100 Tim Janik + + gtestframework.c: added test API documentation by Sven Herzberg and Tim Janik. + +Wed Nov 14 19:10:28 2007 +0100 Tim Janik + + gtestframework.[hc]: implemented g_test_queue_destroy() and g_test_queue_unref(). + +Fri Nov 9 12:28:52 2007 +0100 Tim Janik + + Added g_test_bug() and related API. + + * gtester.c: handle G_TEST_LOG_MESSAGE and test test message API. + + * gtestframework.h, gtestframework.c: added test message API and convenience + API to send test messages about bug URLs. + +Fri Nov 9 11:35:11 2007 +0100 Tim Janik + + Added API to access test framework configuration. + + * gtestframework.h, gtestframework.c: export testing configuration to test + programs with g_test_quick(), g_test_perf(), g_test_verbose(), g_test_quiet(). + +Thu Nov 8 17:55:09 2007 +0100 Tim Janik + + gtester: implemented logic to handle failing tests, self tests, and validate XML reports. + + * gtester.c: terminate when tests failed. keep XML valid when test cases fail. + restart test binaries when tests fail, resuming after the last processed test. + support --gtester-selftest to run gtester itself as test program. + support --test-arg= to pass args along to test programs. added + main_selftest() which does a simplistic fixture test. fail if exit + code of test programs is not 0. + + * gtestframework.h: added G_TEST_LOG_SKIP_CASE test log message type. + + * gtestframework.c: support --GTestSkipCount= to skip a number of tests. + + * tests/Makefile.am: added test-report: for demonstration purposes. + added gtester-xmllint-check: and hooked it up into check:, this rule calls + gtester as test program, running it's selftest, and then uses xmllint to + validate the generate XML test log file. + +Thu Nov 8 14:51:37 2007 +0100 Tim Janik + + gtester: implemented XML logging. + + * glib/gtester.c: log test messages to XML output file. beautified normal test + result output. + + * glib/gtestframework.c: fixed GTimer leak. + + * glib/tests/Makefile.am: start gtester with --verbose. + +Thu Nov 8 12:33:31 2007 +0100 Tim Janik + + tests/Makefile.am: execute test programs with gtester, add test: to check: + +Thu Nov 8 12:18:51 2007 +0100 Tim Janik + + Fixed PLT symbol exports for gtestframework.h. + + * glib/glib.symbols: added all exported gtestframework.h symbols. + + * glib/gtestframework.c: include galias.h, galiasdef.c, define __G_TESTFRAMEWORK_C__. + +Thu Nov 8 11:31:12 2007 +0100 Tim Janik + + glib/gtester.c: fixed debugging flag. + +Wed Nov 7 17:56:26 2007 +0100 Tim Janik + + fixed bogus unistd.h include. + +Wed Nov 7 17:53:30 2007 +0100 Tim Janik + + Implemented test log IPC. + + * gtester.c: read and decode log messages from test binary child processes. + fixed GIOChannel and child watch handling to process all messages and avoid + hangs. pass --verbose and --quiet on to children, default to --quiet. + + * gtestframework.h: export g_test_log_type_name(). + + * gtestframework.c: send test log to --GTestLogFD= if given, removed + bogus -o-option. + +Tue Nov 6 20:07:44 2007 +0100 Tim Janik + + gtester.c: support test case listing through gtester. + +Tue Nov 6 20:01:06 2007 +0100 Tim Janik + + gtestframework.c: fixed testpath matches for automatic root suite. + +Tue Nov 6 19:50:33 2007 +0100 Tim Janik + + gtester.c: adapted to become a rudimentary test binary launcher. + + * gtester.c: increased read buffer size to match common unix pipe buffer size. + added argument parsing and usage. changed io handling to capture and replicate + stdout. fixed io handlers to be cleaned up when the child process exits (catch + G_IO_ERR | G_IO_HUP). we now use pending/iteration instead of a main loop + structure, to keep running until the child process exits and all io has been + processed. launch the test binaries given on the command line. don't quit when + a child couldn't be launched but --keep-going was specified. + +Tue Nov 6 17:11:37 2007 +0100 Tim Janik + + Integrated gtester program into build process. + + * Makefile.am: build and install gtester binary. + + * gtester.c: fixed up coding style and removed hard wired test coded. + +Tue Nov 6 16:12:32 2007 +0100 Sven Herzberg + + glib/gtester.c:Small -Wall fix + +Tue Nov 6 16:05:06 2007 +0100 Sven Herzberg + + glib/gtester.c:Implemented nonblocking reading properly now + +Mon Nov 5 13:53:23 2007 +0100 Sven Herzberg + + glib/gtester.c:Quit the application when the output is parsed completely, not just the process finished + +Mon Nov 5 12:00:16 2007 +0100 Sven Herzberg + + glib/gtester.c:Read the output of the child process + +Mon Nov 5 11:50:59 2007 +0100 Sven Herzberg + + glib/gtester.c:Use g_spawn_async_with_pipes() + +Mon Nov 5 11:50:08 2007 +0100 Sven Herzberg + + glib/gtester.c:Spawn a process async and quit gtester after the child process exited + +Mon Nov 5 11:30:45 2007 +0100 Sven Herzberg + + glib/gtester.c:Added a first revision of gtester + +Tue Nov 6 16:47:06 2007 +0100 Tim Janik + + Implemented test log serialization. + + * glib/gtestframework.h: added g_test_log*() API. + + * glib/gtestframework.c: implement test log serialization. + +Tue Nov 6 14:24:54 2007 +0100 Tim Janik + + Implemented test logging basics. + + * glib/gtestframework.c: added --debug-log and --verbose, implemented + test information logging. + + * testing.c: test g_test_maximized_result() and g_test_minimized_result(). + +Tue Nov 6 11:52:14 2007 +0100 Tim Janik + + Implemented g_test_timer*(). + + * gtestframework.c: implemented g_test_timer*(). + + * tests/testing.c: added a g_test_timer*() test. + +Mon Nov 5 18:28:24 2007 +0100 Tim Janik + + Implemented support for testpaths. + + * gtestframework.c: implemented g_test_add_vtable() and g_test_add_func(). + + * tests/testing.c: use g_test_add() and g_test_add_func() to majorly simplify main(). + +Mon Nov 5 15:56:42 2007 +0100 Tim Janik + + testing.c: added tests for the g_test_rand*() API. + +Mon Nov 5 15:55:38 2007 +0100 Tim Janik + + Implemented g_test_rand*(). + + * gtestframework.h: fixed g_assert_cmp*() to evaluate arguments only once. + added g_assert_cmpuint(). completed g_test_rand*() to cover bits, ints, + doubles and ranges. + + * gtestframework.c: fixed "--seed" option and implemented g_test_rand*(). + +Mon Nov 5 15:51:43 2007 +0100 Tim Janik + + testing.c: added tests for g_assert_cmphex() and forked test traps. + +Mon Nov 5 15:10:18 2007 +0100 Tim Janik + + Implemented g_test_trap_fork() API. + + * gtestframework.h: added g_assert_cmphex(). reworked g_test_trap*() API. + + * gtestframework.c: implemented g_test_trap_fork() API. + +Thu Nov 1 15:05:07 2007 +0100 Tim Janik + + * glib/gtestframework.c: + + that match a given test path. + (g_test_run_suite): run suite only if it matches the existing test paths. + + * glib/tests/testing.c: minor rename. + +Thu Nov 1 13:45:55 2007 +0100 Tim Janik + + GTest framework started. + + * glib/gtestframework.h: testing framework API as proposed on gtk-devel-list. + includes elaborate assertions, performance report functions, test traps, + test timer, test random numbers, teardoiwn garbage collection functions + and general test case / test suite management APIs. + + * glib/gtestframework.c: first test framework implementation. already covers + some test suite management APIs and assertion message implementations. + + * glib/tests/testing.c: test program for the testing framework. + + * glib/tests/Makefile.am: complie testing.c as test. run all tests as part of + make test:. + +Wed Oct 31 15:42:48 2007 +0100 Tim Janik + + glib/Makefile.am: build tests/ subdir after building libglib. + +Tue Oct 30 16:17:32 2007 +0100 Tim Janik + + Fixed up internal 'g_test*' names. + + * refcount/signals.c: + * refcount/objects.c: + * refcount/objects2.c: + * refcount/closures.c: + * refcount/properties.c: + * refcount/properties2.c: changed namespace prefix from g_test_* to my_test_* + to not clash with newly introduced g_test* API in glib. + +Tue Oct 30 14:41:26 2007 +0100 Tim Janik + + Added gtestframework.[hc] and glib/tests/. + +2007-11-20 Sven Neumann + + * glib/gerror.c (g_error_add_prefix): use g_strconcat() instead of + g_strjoin() to concatenate two strings. + +2007-11-19 Marco Barisione + + * glib/gregex.c: When the compilation of a pattern fails in the error + message use the character offset and not the byte offset. + + * glib/gregex.c: Pass an unsigned long instead of an int to + pcre_fullinfo() to avoid problems on 64-bit systems (#498113, Kouhei + Sutou) + +2007-11-19 10:30:33 Tim Janik + + * configure.in: updated version number to 2.15.0 for development. + +2007-11-18 Matthias Clasen + + * glib/gbase64.c: Documentation improvements. (#496518, + Stefan Schulze Frielinghaus) + +2007-11-18 Matthias Clasen + + * configure.in: Check whether assembler supports numerical local + labels. + + * glib/gatomic.c: Fix powerpc implementation of atomic ops for + platforms where the assembler doesn't support numerical local + labels. (#445362) + +2007-11-15 Ryan Lortie + + * docs/reference/glib/tmpl/markup.sgml: + * glib/gmarkup.h: + * glib/gmarkup.c: new flag G_MARKUP_PREFIX_ERROR_POSITION to cause the + parser to prepend location information (ie: "Error on line %d, char + %d:") to errors generated by the GMarkupParser callbacks. + + Closes #496046. + +2007-11-15 Ryan Lortie * docs/reference/glib/glib-sections.txt: * glib/glib.symbols: