X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=ChangeLog.pre-2-12;h=cfe668bdb1a63a3f88de02f4544e98c90cc7d44b;hb=ac3ffd179436ca181783de8e50e7e910aaa5b956;hp=f0413f5960bd095c197825ae77a10d1544525412;hpb=653c662f0f2712796991a2764c79b11e7ceb1ccb;p=platform%2Fupstream%2Fglib.git diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index f0413f5..cfe668b 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,347 @@ +2004-09-09 Matthias Clasen + + * glib/gmessages.c (g_return_if_fail_warning): Strip the + prefix "IA__" from function names, since that is what + GTK+ uses for the PLT-reduction aliases. + +Thu Sep 9 13:52:26 2004 Owen Taylor + + * glib/gmessages.c (g_return_if_fail_warning): + Include implementation of g_return_if_fail_internal(). + +Thu Sep 9 10:37:41 2004 Owen Taylor + + * glib/gmessages.h (g_return_[val_]if_fail): Use + a helper function to reduce code size; omit FILE/LINE + when we have __PRETTY_FUNCTION__. + +2004-09-09 Matthias Clasen + + * glib/gutils.c (g_get_home_dir): Remove a misleading comment. + +Thu Sep 9 00:10:40 2004 Matthias Clasen + + * glib/gstrfuncs.h: + * glib/gstrfuncs.c (g_strv_length): Add a function to + calculate the length of a NULL-terminated string + array. (#150455, Tim-Philipp Müller) + + * tests/strfunc-test.c (main): Add a test for g_strv_length(). + +2004-09-08 Tor Lillqvist + + * glib/gutils.c (guess_category_value): On Win32, as last resort + call g_win32_getlocale() to get the current thread locale. There + usually aren't any POSIXish LANG or LC_* environment variables + present on Windows machines. + + * glib/glib.def: Add g_get_language_names. + +2004-09-07 Matthias Clasen + + * glib/gutils.h: + * glib/gutils.c (g_get_language_names): Add a function to + return a list of applicable locale names. (#95587, + Hidetoshi Tajima) + (guess_category_value, compute_locale_variants): + (explode_locale, unalias_lang, read_aliases): Helper + functions for g_get_language_names() + + * tests/testglib.c (main): Show the results of + g_get_language_names() + +Sun Sep 5 01:46:11 2004 Matthias Clasen + + * glib/glib.def: + * glib/gmessages.h: + * glib/gmessages.c (g_log_set_default_handler): New + function to install an alternate default log + handler. (#66387, Darin Adler) + +2004-09-03 Tor Lillqvist + + * glib/glib.def: Update. + +Wed Sep 1 20:22:39 2004 Matthias Clasen + + * glib/gdate.h: + * glib/gdate.c (g_date_get_iso8601_week_of_year): Add + a function to calculate the ISO 8601 week number of + a date. (#92579, Niklas Lundell) + +2004-09-01 Anders Carlsson + + * glib/goption.c: (g_option_context_parse): + Set program name before calling the pre-parse hooks. + +2004-09-01 Anders Carlsson + + * glib/goption.c: (g_option_context_free), (print_help), + (g_option_context_parse): + Handle option contexts without a main group. + + * tests/option-test.c: (empty_test2), (main): + Add test case for that. + +2004-08-30 Anders Carlsson + + * glib/goption.c: (g_option_context_parse): + Set prgname to if argc and argv are NULL. + + * tests/option-test.c: (empty_test1), (main): + Add test case for that. + +Sun Aug 29 23:58:38 2004 Matthias Clasen + + * glib/ghash.c (g_hash_table_lookup): Point to + g_hash_table_lookup_extended() for differentiation between + not-found and value-is-NULL. (#150960, Morten Welinder) + +2004-08-27 Matthias Clasen + + Fix #151193, Stepan Kasal: + + * glib/gfileutils.c (g_file_error_from_errno): + * glib/gfileutils.h (enum GFileError): Add G_FILE_ERROR_NOSYS. + +Fri Aug 27 00:45:41 2004 Matthias Clasen + + * glib/goption.c (g_option_context_parse): Set the program name + from argv[0], noticed by Masatake YAMATO. + +2004-08-26 Tor Lillqvist + + * tests/testglib.c (main): Test the new XDG basedir functions. + +2004-08-25 Tor Lillqvist + + * glib/gwin32.c (g_win32_get_windows_version): New + function. Returns the Windows version code like GetVersion(), + except that one can pretend to be running on Win9x by setting the + G_WIN32_PRETEND_WIN9X environment variable. This is mainly for + debugging purposed. + + * glib/gwin32.h: Declare it. Define macros G_WIN32_WINDOWS_IS_NT_BASED + and G_WIN32_HAVE_WIDECHAR_API to test Windows features at run-time. + +2004-08-25 Matthias Clasen + + * configure.in: Post-release version bump. + + * === Released 2.5.2 === + +Wed Aug 25 00:25:08 2004 Matthias Clasen + + * NEWS: Update for 2.5.2 + +2004-08-25 Tor Lillqvist + + Win32 equivalences of the XDG folders + + * glib/gutils.c (get_special_folder): New function, calls + SHGetSpecialFolderLocation() to get path to places like the My + Documents folder. + (g_get_any_init): Use CSIDL_PROFILE as HOME if not + overridden by env vars. + (g_get_user_data_dir): Use CSIDL_PERSONAL. + (g_get_user_config_dir): Use CSIDL_APPDATA. + (g_get_user_cache_dir): Use CSIDL_INTERNET_CACHE. Debatable... + (g_get_system_data_dirs): Use CSIDL_COMMON_APPDATA and + CSIDL_COMMON_DOCUMENTS. + (g_get_system_config_dirs): Use CSIDL_COMMON_APPDATA. + + * configure.in: Add -lole32 to G_LIBS_EXTRA for mingw. + + * glib/glib.def: Add the new functions. + +Mon Aug 23 16:16:35 2004 Manish Singh + + * glib/goption.c (g_option_group_add_entries): remove unused + variable. + +Mon Aug 23 01:35:18 2004 Matthias Clasen + + * glib/gutils.c (g_get_user_cache_dir): + * glib/gutils.c (g_get_user_config_dir): + * glib/gutils.c (g_get_user_data_dir): Don't call g_get_home_dir() + while holding the g_utils_global lock, simply use g_home_dir. + (#150695, Jody Goldberg) + +2004-08-21 Tor Lillqvist + + * glib/giowin32.c (g_io_win32_finalize): Tell select_thread to + break out of its loop. Prevents a thread leak. (#147392, Peter + Zelezny) + + * glib/gunicollate.c (g_utf8_collate_key): Guard against bogus + return value from strxfrm(). For instance Microsoft's strxfrm() + returns INT_MAX on errors. (#141124) + +2004-08-19 Tor Lillqvist + + * glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key): Correct + source and destination charset parameter order in g_convert() + call. (#150394, possibly also #141124) + +2004-08-20 Jon K Hellan + + * glib/goption.h: Remove trailing commas. + +2004-08-17 Matthias Clasen + + * configure.in: Check for all four values of the + visibility attribute; gcc 2.96 seems to miss + "default". (#150379, Vincent Noel) + +2004-08-16 Christian Rose + + * configure.in: Added "bs" to ALL_LINGUAS. + +2004-08-11 Ray Strode + + * docs/reference/glib/glib-sections.txt: + * glib/gutils.[ch] (g_get_user_data_dir), + (g_get_user_config_dir), (g_get_user_cache_dir), + (g_get_system_data_dirs), (g_get_system_config_dirs): + Add new XDG basedir API (bug 139973). + +2004-08-10 Matthias Clasen + + * glib/gmacros.h: Remove G_GNUC_INTERNAL from here. + * configure.in: Check whether the visibility attribute + works and define G_HAVE_GNUC_VISIBILITY and + G_GNUC_INTERNAL in glibconfig.h correspondingly. + +Mon Aug 9 17:37:56 2004 Matthias Clasen + + * glib/gmacros.h (G_GNUC_INTERNAL): Define empty if gcc is too old. + +2004-08-06 Hans Breuer + + * glib/makefile.msc.in glib/glib.def : updated + + * glib/gutils.c : avoid 'inconsitent dll linkage' by not + defining extern char** environ with msvc + +2004-08-06 Matthias Clasen + + * m4macros/glib-gettext.m4: Require ngettext. (#123847, + Danilo Segan) + +Thu Aug 5 20:53:00 2004 Ray Strode + + * glib/gutils.h (g_get_codeset): strdup result so caller + doesn't free internally managed memory. + +2004-08-04 Tor Lillqvist + + * glib/glib.def: Add glib_check_version. + + * config.h.win32.in: Update to match what configure produces. Add + the G_ATOMIC_*. Define G_ATOMIC_I486 when compiling with gcc. Move + HAVE_INT64_AND_I64 to where the configure script puts it. Add + HAVE_INTTYPES_H_WITH_UINTMAX. Define intmax_t as __int64 for MSVC. + +Tue Aug 3 16:19:44 2004 Matthias Clasen + + * glib/goption.c: Mark user visible strings for translation. + +Tue Aug 3 15:50:55 2004 Matthias Clasen + + * glib/goption.[hc]: Pedantically use g types throughout. + +Tue Aug 3 14:58:20 2004 Matthias Clasen + + * glib/gutils.h: + * glib/gutils.c (glib_check_version): New function to + check the version of GLib at runtime. (#149175, Michael Natterer) + +2004-08-03 Anders Carlsson + + * glib/goption.h: + * glib/gtypes.h: + Move GTranslateFunc to gtypes.h + +2004-08-02 Anders Carlsson + + * glib/Makefile.am: + * glib/glib.h: + * glib/goption.c: + * glib/goption.h: + * tests/.cvsignore: + * tests/Makefile.am: + * tests/option-test.c: + Add GOption. + +2004-08-02 Matthias Clasen + + * glib/gmacros.h: Add a G_GNUC_INTERNAL macro to mark function + declarations as internal and avoid PLT indirections for + them. (#145465, Arjan van de Ven) + + * glib/gunicodeprivate.h: + * glib/gthreadinit.h: + * glib/gmessages.h: + * glib/gdebug.h: + * glib/gconvert.c: Use G_GNUC_INTERNAL for _g_charset_get_aliases(), + _g_debug_init(), _g_log_fallback_handler(), _g_mem_thread_init(), + _g_messages_thread_init(), _g_convert_thread_init(), + _g_rand_thread_init(), _g_main_thread_init(), _g_atomic_thread_init(), + _g_mem_thread_private_init(), _g_messages_thread_private_init(), + _g_utf8_normalize_wc() and _g_unichar_combining_class(). + + * glib/gatomic.c: Include gthreadinit.h here to see the declaration + for _g_atomic_thread_init(). + +Sun Aug 1 13:19:18 2004 Manish Singh + + * tests/uri-test.c: move newline printing from run_from_uri_tests() + to run_roundtrip_tests(). + +2004-08-01 Matthias Clasen + + * Post-release version bump + + * === Released 2.5.1 === + +Sat Jul 31 23:17:05 2004 Matthias Clasen + + * NEWS: Updates. + +Sat Jul 31 20:33:07 2004 Matthias Clasen + + * tests/shell-test.c: Include a test involving consecutive + backslashes followed by a non-escaped doublequote. + + * glib/gshell.c (tokenize_command_line): Count consecutive + backslashes mod 2 to detect escaped doubleqotes. (#127306) + +2004-07-30 Matthias Clasen + + * glib/gconvert.c (g_unescape_uri_string): Don't validate + for UTF-8 here. (#148420, Robert Ögren) + + * tests/uri-test.c (run_roundtrip_tests): Add tests for + roundtrip compatibility. Going from filename to uri and + back should always give you the same filename back. + +2004-07-28 Matthias Clasen + + * tests/markups/valid-{9,10,11}.gmarkup: + * tests/markups/fail-{37,38,39}.gmarkup: Tests for handling + of whitespace inside tags. + + * glib/gmarkup.c (enum GMarkupParseState): Add + STATE_AFTER_ATTRIBUTE_NAME and STATE_AFTER_CLOSE_TAG_NAME. + (g_markup_parse_context_parse): Accept whitespace between + attribute names, '=' and attribute values and between + close tag name and '>'. (#148646, Hiroyuki Ikezoe) + +Tue Jul 27 02:01:31 2004 Matthias Clasen + + * glib/gstrfuncs.c (g_strsplit_set): s/g_strsplit/g_strsplit_set/ + as well. + Sat Jul 24 17:50:07 2004 Soeren Sandmann * glib/gstrfuncs.c (g_strsplit_set):