X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=ChangeLog.pre-2-2;h=9d0bd156b871914680a211540077f489dc2be9f0;hb=b99e2343e58654d19f88a4d57a1dbf605862146f;hp=739b926907c2280622fc0ef06c142cd82e95321e;hpb=3a86505c77f967e891a68082b0bc28bd045f1192;p=platform%2Fupstream%2Fglib.git diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 739b926..9d0bd15 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,674 @@ +Fri Feb 8 23:52:27 2002 Owen Taylor + + * gobject/gvaluetransform.c: Register transformations for + gint64, guint64. (#70780, patch from Andy Wingo) + + * configure.in: Handle missing G_GINT64_FORMAT, + G_GUINT64_FORMAT ... harder to require GNU libc than GCC. + + * NEWS: Some cleanups that I had setting around. + +2002-02-08 Darin Adler + + * glib/gconvert.h: Make hostname parameter const char *. + * glib/gconvert.c: (g_unescape_uri_string): Added a new + "ASCII must not be escaped" feature, and some missing error + checking. + (is_escalphanum): New. + (is_escalpha): New. + (hostname_validate): New. + (g_filename_from_uri): Don't allow hostnames to include + escaped ASCII, validate hostnames with the new + hostname_validate. + (g_filename_to_uri): Validate hostnames with the new + hostname_validate. + + * tests/uri-test.c: Updated tests to reflect the hostname + validation changes above. + + * glib/gdate.c: (g_date_fill_parse_tokens): Remove the + include and do isdigit -> g_ascii_isdigit. + +Fri Feb 8 12:32:14 2002 Owen Taylor + + * tests/hash-test.c (second_hash_test): Fix access to + freed memory in test case (Miroslaw Dobrzanski-Neumann). + Re-enable and debug some commented out code. + +2002-02-08 Michael Natterer + + * glib/gdir.c: g_dir_open: added g_return_val_if_fail() to prevent + us from calling opendir(NULL) (which simply crashes). + +2002-02-08 Sebastian Wilhelmi + + * glib/gfileutils.c (g_file_test): Extended documentation. + +2002-02-07 Sebastian Wilhelmi + + * glib/gfileutils.c (g_file_test): Do not follow symbolic links + for G_FILE_TEST_SYMLINK. Also fixed the correct "OR"-behaviour for + G_FILE_TEST_IS_EXECUTABLE and G_FILE_TEST_EXISTS. (#60048) + +2002-02-07 Changwoo Ryu + + * configure.in (ALL_LINGUAS): Added "ko". + +Wed Feb 6 14:44:18 2002 Owen Taylor + + * glib/gmain.c (g_main_context_prepare): Handle + NULL entries (already dispatched) in pending_dispatches array + (pointed out by Manish Singh) + +Tue Feb 5 17:13:02 2002 Owen Taylor + + * glib/gmain.c (g_main_context_prepare): Unref pending + dispatches when discarding them. + +2002-02-04 Sebastian Wilhelmi + + * glib/gthread.c (g_thread_create_full): Delay allocation until + after all g_return_val_if_fail (). + + * glib/gthread.h: Make depth member guint for cosmetic reasons. + + * glib/gthread.c: (g_static_rec_mutex_unlock_full): depth should + be unsigned. All that spotted by Jörgen Viksell + + +2002-02-02 Manish Singh + + * glib/gmain.c + * glib/gtree.c: remove references to deprecated functions in docs + and warning message. + +2002-01-31 jacob berkman + + * glib-gettextize.in: + * m4macros/glib-gettext.m4 (AM_GLIB_GNU_GETTEXT): remove + references to po2tbl + +2002-01-29 Matthias Clasen + + * glib/gmarkup.c (g_markup_parse_context_parse): Change the + order in which some error conditions are checked to improve + error messages. (#69646) + +Tue Jan 29 15:04:31 2002 Owen Taylor + + * 1.3.13 + + * tests/shell-test.c: Workaround for MSVC bugs. (#61064) + +Tue Jan 29 14:06:22 2002 Owen Taylor + + * NEWS: Update to include last change. + +2002-01-21 Jeffrey Stedfast + + * glib/gconvert.c (open_converter): Rewritten to cache iconv + conversion descriptors. On at least some Unix systems like + Solaris, iconv_open() must dlopen the necessary charset modules in + order to setup the descriptor. This can take a major toll on + performace if you are constantly opening and closing conversion + descriptors for the same charset conversions over and over. + (g_convert_with_fallback): Use close_converter() rather than + g_iconv_close() since open_converter() now caches iconv + descriptors. + +Tue Jan 29 11:18:44 2002 Owen Taylor + + * NEWS: Updated. + + * configure.in: Micro == 13, binary age, interface age 0. + [ binary breakage was return type of g_signal_connect_object(), + probably could have used binary age == 0, but a little safer not to.] + + * configure.in: Remove configure warning. + +2002-01-28 Havoc Pennington + + * glib/gmarkup.c (add_attribute): NULL-terminate + context->attr_values so g_strfreev() is safe. + Would previously crash if parsing was ended prior + to ending the start tag. + (g_markup_parse_context_parse): add a couple assertions + +2002-01-28 Havoc Pennington + + * glib/gmacros.h: get rid of warning here + +Mon Jan 28 17:56:10 2002 Owen Taylor + + * glib/gmacros.h: Only use __FUNCTION__, __PRETTY_FUNCTION__ for + G_GNUC_FUNCTION, G_GNUC_PRETTY_FUNCTION, G_STRLOC when __GNUC__ < + 3, since in 3.0.3 the semantics of these functions were changed in + an incompatible way. (#69097) + +2002-01-28 Ron Steinke + + * glib/giochannel.c: Some documentation fixes/elaborations + I really should have gotten in a long time ago + +2002-01-24 Sven Neumann + + * glib/gutf8.c (g_utf8_to_utf16): removed an empty line in the + inline documentation that confused gtk-doc. + +2002-01-23 Laszlo Peter + + * glib/gmessages.c (g_printf_string_upper_bound): return 1 more + for the trailing '\0' when using vsnprintf. (#69474) + +2002-01-23 Tor Lillqvist + + * glib/gconvert.c: (strdup_len): Not used on Windows, don't even + compile it then. + + (acceptable): Improve comments for the _acceptable_ table: put + each ASCII char above the hex number for it. + + (g_escape_file_uri): On Windows, turn backslashes in the file name + into plain ("forward") slashes. + + (g_filename_from_uri): On Windows, don't return the hostname + "localhost", because we can not be 100% sure it will be recognized + in all cases anyway, so simpler to turn it into a null + hostname. + + Change slashes in the filename into backslashes, as that is the + more canonical separator. + + Recognize drive letters (either followed by a colon or a vertical + bar, as used by some browsers), and if the filename part starts + with a such, don't include any (back)slash. + + Don't drop any extra leading slash in the filename on Unix. + + (g_filename_to_uri): On Windows, if the hostname is "localhost", + don't use it, for consistency with g_filename_from_uri(). + + * tests/uri-test.c: Change accordingly, so that all tests pass on + Windows. Unix, too, I hope, though I couldn't check that now. + + (main): Unset the G_BROKEN_FILENAMES environment variable on Unix, + as some tests require that filenames are in UTF-8. Is unsetenv() + portable? + + These changes should fix bugs #59387, #59652, #59657 and #59658. + +2002-01-22 Sebastian Wilhelmi + + * configure.in: Get the right multithread option for GCC 3.0 and + later on AIX. (#67583) + +2002-01-21 Jeffrey Stedfast + + * glib/gconvert.c (g_convert_with_fallback): If g_convert fails, + set bytes_written to 0 and close the iconv descriptor that was + opened a few lines above. On a successful return, calculate + bytes_written to be outp - dest instead of outp - str. + +2002-01-16 Sven Neumann + + * acinclude.m4 + * m4macros/glib-gettext.m4: removed the --disable-nls option. You + can't disable Native Language Support since we rely on it. + + * configure.in: nicer --help output. + +Tue Jan 8 11:33:28 2002 Owen Taylor + + * docs/Makefile.am (EXTRA_DIST): Add text files to EXTRA_DIST. + (#68239, Matthias Clasen) + +2002-01-07 Zbigniew Chyla + + * configure.in (ALL_LINGUAS): Added pl. + +2002-01-05 Hans Breuer + + * glibconfig.h.win32.in + msvc_recommended_pragmas.h (new file) : moved warning to + error pragmas to their own file to not force 'good practice' + programming in downstream libs and apps. Instead the new header + will be used by -FImsvc_recommended_pragmas.h in gnome/cvs + makefile.msc + * */makefile.msc.in : use -FImsvc_recommended_pragmas.h + + * makefile.am : add msvc_recommended_pragmas.h to EXTRA_DIST + +2001-12-31 Tor Lillqvist + + * glib/gutils.c (g_get_any_init): (Win32) Use longer buffer for + user name. + +Sat Dec 29 15:07:21 2001 Owen Taylor + + * glib/gspawn.c (script_execute): Copy trailing NULL + into new ARGV array. (#67673) + +2001-12-28 Sven Neumann + + * glib/gmessages.c: only include printf_string_upper_bound() if + HAVE_C99_VSNPRINTF is not defined. + +2001-12-27 Duarte Loreto + + * configure.in: Added portuguese to ALL_LINGUAS + +Sat Dec 22 12:08:56 2001 Owen Taylor + + * configure.in: 1.3.12, binary, interface age 0. + + * NEWS: Updated. + +2001-12-21 Tor Lillqvist + + * config.h.win32.in: Add (undefined) HAVE_C99_VSNPRINTF. + + * glibconfig.h.win32.in: Add definition of G_HAVE_GROWING_STACK. + + * tests/Makefile.am: Rename the progs_LDADD, thread_LDADD and + module_LDADD Make macros to progs_ldadd, thread_ldadd and + module_ldadd. Newer automakes reserve macros named *_LDADD for + the use as LDADDs for targets it knows. + + * glib/giowin32.c: (struct _GIOWin32Watch): 'callback' wasn't used + here, either. + +2001-12-21 Matthias Clasen + + * glib/gfileutils.c (g_file_get_contents): Remove FIXME. (#67063) + +2001-12-19 Mark McLoughlin + + * glib/gscanner.c: (g_scanner_unexp_token): fix segfaults. + +2001-12-20 Michael Meeks + + * glib/giounix.c (struct _GIOUnixWatch): kill 'callback' + +Wed Dec 19 23:09:07 2001 Owen Taylor + + * glib/gconvert.c (g_iconv_open): SGML doc fix. + +Tue Dec 18 21:11:10 2001 Tim Janik + + * configure.in: add configure check to determine G_HAVE_GROWING_STACK. + +2001-12-16 Havoc Pennington + + * glib/gfileutils.c (get_contents_regfile): use g_try_malloc and + return error on not-enough-memory + (get_contents_stdio): ditto + +2001-12-17 Matthias Clasen + + * glib/gspawn.c, glib/gspawn-win32.c: Use , not . + +2001-12-15 Matthias Clasen + + * glib/gshell.c, glib/gspawn.c, glib/gspawn-win32.c, glib/gerror.c, + glib/gfileutils.c, glib/ghash.c, glib/gmain.c, glib/gasyncqueue.c, + glib/gtree.c: Minor markup fixes. + +2001-12-14 Havoc Pennington + + * glib/gshell.c (g_shell_parse_argv): note on how to free returned + vector + +2001-12-08 Havoc Pennington + + * glib/gspawn.c (fork_exec_with_pipes): include argv[0] in error + message about failure to exec + +2001-12-13 Matthias Clasen + + * glib/gconvert.c, glib/giochannel.c, glib/gmain.c, + glib/gwin32.c: Revert mistaken change: it is UNIX, not Unix. + +Thu Dec 13 05:37:51 2001 Tim Janik + + * glib/gbsearcharray.[hc]: API revamp to shorten GValueArray + structure. + +2001-12-12 Matthias Clasen + + This fixes #60543: + + * glib/gutils.c (g_snprintf, g_vsnprintf): Switch to C99-[v]snprintf(). + + * tests/strfunc-test.c: Add some tests for g_snprintf(). + +2001-12-12 Matthias Clasen + + * glib/gconvert.c, glib/grand.c, glib/ghash.c, + glib/gthreadpool.c, glib/gtree.c: Documentation fixes. + +Mon Dec 10 14:08:39 2001 HideToshi Tajima + + * glib/libcharset/config.charset (os): + add ISO8859-3 for Solaris. (#66174) + +2001-12-10 Sven Neumann + + * gobject/gvalue.c (g_value_register_transform_func): perform an exact + match on the two types instead of using transform_func_lookup(). + +2001-12-09 Christopher Blizzard + + * glib/gmessages.h: Add pragma that will prevent warnings when you + are not using -std=99 and newer gcc compilers. Patch from Red + Hat's gtk+ 1.2 rpm. + +2001-12-06 Darin Adler + + * glib/gmacros.h: Do the same for "pure". + +2001-12-06 Matthias Clasen + + The following patch corrects some function attributes. (#61780) + + * glib/ghash.h (g_int_equal, g_int_hash): These are not const. + + * glib/glibintl.h (_glib_gettext): Add G_GNUC_FORMAT(1). + + * glib/gmacros.h: Use reserved symbols in function attribute macros. + +2001-12-06 Matthias Clasen + + The following patch avoids manual printf()-format parsing + if a C99-conforming vsnprintf() is available. (#55106) + + * acinclude.m4 (AC_FUNC_VSNPRINTF_C99): New macro to test for a + C99 conforming vsnprintf. + + * configure.in: Use AC_FUNC_VSNPRINTF_C99. + + * glib/gmessages.c (g_printf_string_upper_bound): Use C99 vsnprintf(). + +2001-12-05 Sven Neumann + + * glib/gtree.c (g_tree_foreach): mention the fact that the tree is + traversed in sorted order. + +2001-12-03 Manish Singh + + * tests/module-test.c: g_module_symbol takes a gpointer *, not just + a gpointer + + * tests/libmoduletestplugin_a.c: here too + +2001-11-29 Havoc Pennington + + * glib/gtree.c (g_tree_foreach): + * glib/ghash.c (g_hash_table_foreach): + + Add notes about how you shouldn't modify these data structures as + you iterate over them. + +Thu Nov 29 11:16:03 2001 Owen Taylor + + * HACKING: Update (#65721, Dave Neary) + +2001-11-28 Sebastian Wilhelmi + + * glib/gdate.c: Fixed wrong order in conversion. + +Wed Nov 28 18:34:22 2001 Owen Taylor + + * glib/gmain.[ch]: Rename (private) GSource.id and + id parameter to g_main_context_find_source_by_id() + to avoid problems with Objective C where 'id' is + a keyword. (#65616) + +2001-11-28 Daniel Elstner + + * glib/gutf8.c (utf8_skip_data): In order to avoid infinite loops + on invalid UTF-8 strings, change the skip count for 0xfe and 0xff + from 0 to 1. + +2001-11-28 Sebastian Wilhelmi + + * configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes + #65624. + +2001-11-28 Tor Lillqvist + + * glibconfig.h.win32.in: Add GLIB_SIZEOF_SIZE_T here, too. + +2001-11-27 Dan Winship + + * configure.in (G_MODULE_LDFLAGS): Set this from libtool rather + than hardcoding values for certain platforms. + + * glib/libcharset/config.charset: Add a rule for NetBSD. + + * glib/libcharset/localcharset.c (_g_locale_get_charset_aliases): + If LIBCHARSET_ALIAS_DIR is set, look for charset.aliases there. + + * tests/Makefile.am (TESTS_ENVIRONMENT): set LIBCHARSET_ALIAS_DIR + so we don't depend on charset.aliases having been installed + +2001-11-26 Matthias Clasen + + * glib/gnode.c (g_node_traverse): Implement G_LEVEL_ORDER correctly. + + * tests/node-test.c: Add a testcase for G_LEVEL_ORDER implementation. + + * glib/gtree.h: Mark g_tree_traverse() as deprecated. (#65343) + + * glib/gtree.c (g_tree_traverse): Explain the deprecation in + some detail. + +Mon Nov 26 09:42:24 2001 Tim Janik + + * configure.in: provide GLIB_SIZEOF_SIZE_T. + +2001-11-26 Jesus Bravo Alvarez + + * configure.in: Added gl (Galician) to ALL_LINGUAS + +2001-11-23 Hans Breuer + + * glib/makefile.msc.in : added -Zm400 to DEPCFLAGS to avoid : + gunidecomp.h(5846) : fatal error C1076: compiler limit : + internal heap limit reached; use /Zm to specify a higher limit + + * glibconfig.h.win32.in : added recommended pragma list for + msvc again. They are an invaluable help of letting the + compiler catch bugs. + +Thu Nov 22 13:56:55 2001 Owen Taylor + + * Version 1.3.11 + +Thu Nov 22 13:14:18 2001 Owen Taylor + + * configure.in (GLIB_MICRO_VERSION): Version 11, + interface, binary age 0. + + * NEWS: Updated. + + * tests/Makefile.am (libmoduletestplugin_[ab]_la_LDFLAGS): + Add dummy -rpath argument. On some (but not all) platforms, + libtool will only build a convenience library without this. + (#63486, Dan Winship) + + * Makefile.am (EXTRA_DIST): Add README.in, INSTALL.in - + autoconf-2.5x checks for 'make dist' in the tarball + when you make distcheck. + + * glib/Makefile.am (EXTRA_DIST): Distribute + makefile.msc/mingw.in, glib.rc.in. + + * tests/patterntest.c: Include string.h. + + * glib/gpattern.c (g_utf8_reverse): doc parsing fix. + +Thu Nov 22 02:50:18 2001 Tim Janik + + * NEWS: merged with gobject/NEWS. + +2001-11-21 Tor Lillqvist + + * glib/makefile.mingw.in (DEFINES): Set G_LOG_DOMAIN as in + Makefile.am. + +Tue Nov 20 20:54:25 2001 Owen Taylor + + * glib/gunidecomp.[ch] glib/gen-unicode-tables.pl: Patch + from Andrew Taylor to optimize the decomposition table + to eliminate relocations and save space. (#64982) + +2001-11-18 Hans Breuer + + * glib/glib.def : + * glib/makefile.msc.in : remove g_log_domain_glib usage/export + + * tests/makefile.msc.in : add iochannel-test + +Sat Nov 17 17:21:57 2001 Owen Taylor + + * glib/Makefile.am glib/*.c glib/gmessages.h: Get + rid of g_log_domain_glib variable in favor of just + using a string constant. + +Sat Nov 17 14:10:35 2001 Owen Taylor + + * glib/gbsearcharray.h: Include gtypes.h not gobject/gtype.h + + * glib/glib-object.h gobject/*.h: Prevent headers from + being included directly except when compiling GObject. + + * gobject/gvaluecollector.h: Include glib-object.h so that + this file can be included directly, since we don't + include it _from_ glib-object.h. + + * gobject/gtype.c: Remove struct _GValue hack since we + now include glib/gvaluecollector.h which simply pulls in + glib-object.h. + +2001-11-15 Matthias Clasen + + * glib/giochannel.c: Documentation fixes. + +2001-11-15 Takayuki KUSANO + + * configure.in: Added "ja" to ALL_LINGUAS. + +2001-11-15 Michael Meeks + + * glib/giounix.c (g_io_channel_unix_new): set the fd + before using it. + +2001-11-15 Tor Lillqvist + + * tests/makefile.{mingw,msc}.in (TESTS): Add back mainloop-test + here, too. + + * tests/Makefile.am: Remove leftover comment that claimed + mainloop-test is removed. + +2001-11-14 Matthias Clasen + + * glib/gpattern.c: add UTF-8 support. + + * tests/patterntest.c: add UTF-8 and equality tests. + +Wed Nov 14 07:34:24 2001 Tim Janik + + * glib/galloca.h (g_newa): provide g_newa(ctype, count) on top of + g_alloca() like we provide g_new() on top of g_malloc(). + +Tue Nov 13 21:25:35 2001 Owen Taylor + + * glib/{gen-unicode-tables.pl,gunibreak.c,gunibreak.h, + gunichartables.h, gunicomp.h, gunidecomp.[ch], + guniprop.c}: Patch from Andrew Taylor to improve + tables and reduce relocations by using indices + rather than pointers. (#64433) + + * tests/unicode-normalize.c (main): Fix for changes + to g_strsplit(). + +2001-11-12 Darin Adler + + * glib/gstrfuncs.c: (g_strsplit): Fix max_tokens == 1 case to + match documentation. + * tests/strfunc-test.c: (main): Add tests. + + * tests/.cvsignore: Recently-added test. + +Mon Nov 12 03:01:28 2001 Tim Janik + + * glib/gscanner.c (g_scanner_eof): G_TOKEN_ERROR is also an end + of stream condition. + +2001-11-10 Tor Lillqvist + + * glib-zip.in (DEVZIP): Also share/glib-2.0. + +2001-11-09 Tor Lillqvist + + * glib/gwin32.c (g_win32_getlocale): Add a couple of languages + that have LANG_* codes in newest headers, just for completeness. + +2001-11-08 Wang Jian + + * configure.in(ALL_LINGUAS): Added zh_CN for Simplified Chinese. + +2001-11-08 Tor Lillqvist + + * glib/gwin32.c: Don't define LANG_AZERI etc in case those aren't + defined in the headers (MSVC 5.0). + (g_win32_getlocale): Instead, surround uses of those with + #ifdef. Those MSVC 5.0 users that want to build a GLib that + recognizes those languages should download the Platform SDK and + use the headers from it. + +2001-11-07 Peter Williams + + * glib/gdir.c (g_dir_read_name): Return NULL when done reading. + +2001-11-06 Tor Lillqvist + + * glib/Makefile.am (gspawn_win32_helper_LDFLAGS): Use -mwindows. + +2001-11-05 Tor Lillqvist + + * README.win32: Minor edits. + + * glib-zip.in: Build separate runtime and developer packages. + + * glib/libcharset/config.charset (os): Don't need to match mingw + after all, the charset.alias file isn't even used on Win32... (see + localcharset.c). + + * glib/makefile.mingw.in: Add gdir. + + * glib/glib.def: Add g_dir_* entry points. + +Sun Nov 4 20:45:21 2001 Owen Taylor + + * configure.in (CFLAGS): Add check for dirent.h + + * glib/glib.h glib/Makefile.am: Add gdir. + + * glib/gdir.c (g_dir_close): Couple of small tweaks + now that it is actually compiling... + +Sun Nov 4 20:29:31 2001 Owen Taylor + + * glib/gdir.[ch]: Indentation fixes, some rewriting of docs to + conform to gtk-doc standard. + + * glib/gdir.[ch] (g_dir_close): Remove the boolean + return value. What would you do if closing failed? + What would the user do if you printed a warning + message "closing directory %s failed"? + 2001-11-04 Hans Breuer * glib/gdir.[hc] : (new files) simplified wrapper around dirent @@ -130,7 +801,7 @@ Mon Oct 29 10:55:12 2001 Owen Taylor * glib/libcharset/config.charset (os): Match also mingw*. - * tests/testglib.c (main): (Win32): Print the lib/locale + * tests/testglib.c (main): (Wibn32): Print the lib/locale subdirectory, as that is what actually gets used. Wed Oct 24 11:10:54 2001 Owen Taylor