X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=ChangeLog.pre-2-10;h=7cdcb34d704c6e89d69a3182cada577c41cf2bc7;hb=f664bba3d49aab46172c776093c072a501aa9c9d;hp=a2efbea9c3c76e44f2be3f6bfd0cb1d39393137a;hpb=2da4b710cd773ed54a57f89b382fa0c37771d0ce;p=platform%2Fupstream%2Fglib.git diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index a2efbea..7cdcb34 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,470 @@ +2001-09-22 Hans Breuer + + * glib/giowin32.c : simply setting is_readable and is_writeable + to TRUE does make Gimp plug-ins work again. Still no API known + to request this info on Win32 (see #57690) + +2001-09-21 Hans Breuer + + * makefile.msc : added rule for glibconfig.h + + * glib/giowin32.c (g_io_channel_new_file) : always open + in binary mode (fix for #57695) + + * glib/glib.def : updated externals + + * glib/gwin32.c : re-added LANG_* and SUBLANG_* definitions, + which are missing from the msvc 5.0 win32 sdk + + * glib/makefile.msc.in : added gbsearcharry + +Thu Sep 20 20:33:45 2001 Owen Taylor + + * Rename g_mem_vtable_is_set() to g_mem_is_system_malloc(). + +2001-09-20 Tor Lillqvist + + * glib/gutils.c (g_path_is_absolute): (Win32:) Accept also forward + slashes. (But still don't accept them in the other functions + here. This is a thorny issue. Windows in fact does treat / like \ + on input (at least as local directory separators, dunno about + server/share separators). But GLib only has the one + G_DIR_SEPARATOR value, that apps should scan for, and use when + building pathnames. To properly fix this would require totally + abstracting pathnames, and don't having any path name scanning and + building in applications at all. Fat chance.) + (GLIB_LOCALE_DIR): Redefine only on "pure" Win32, not Cygwin. Use + subdirectory "share\locale", as on Unix. + + * glib/gwin32.c: Don't need to define those langiage and + sublanguage constants here, current mingw (w32api) headers have + them. + + * glib/glib.def: Add a few missing entry points. + + * tests/testglib.c (main): Use same name for DLL as libtool does. + Use G_DIR_SEPARATOR in g_path_get_basename tests. + +Wed Sep 19 16:35:22 2001 Owen Taylor + + * glib/gmain.c (g_main_context_find_source_by[_funcs]_user_data): + Fix handling of user data when locating sources. + (#60414, Katsuhiro Okuno) + +Wed Sep 19 14:17:31 2001 Owen Taylor + + Patch from Matthias Clasen (#59806) + + * configure.in: Check for vasprintf(). + + * glib/gmem.[ch]: Add g_mem_vtable_is_set() to be used + for efficiency hacks to avoid extra copies when not + needed. + + * glib/gstrfuncs.c: Use vasprintf() to implement + g_strdup_printf() when available. + + * glib/gmessages.c (g_logv): Avoid using + printf_string_upper_bound() when we have have vsnprintf. + + * glib/gmessages.c (printf_string_upper_bound): Don't + segfault when warning about positional parameters. + +Wzed Sep 19 14:05:27 2001 Owen Taylor + + * glib/{gcache.c,gmem.c,grel.c,gstring.c,gtimer.c,gtree}: + Patch from Darin Adler to remove GReal* structures in + favor of simple opaque typedefs in cases where there + were no non-private members. (#59693) + +Wed Sep 19 13:03:38 2001 Owen Taylor + + * glib/giochannel.c (g_io_channel_read/write_chars): Handle NUL + bytes_written, bytes_read. (Suggested by Joshua N Pritikin, #59550) + +Wed Sep 19 12:49:11 2001 Owen Taylor + + * glib/gutils.c (g_get_any_init): Handle failure of + sysconf and pick a fixed size buffer. (Happens on Cygwin + #60242) + +Wed Sep 19 11:23:41 2001 Owen Taylor + + * configure.in: Error out if gettext support is not found. (#59386) + +2001-09-19 Sebastian Wilhelmi + + * glib/gthread.h (GThreadFunctions): Add thread_equal function to + allow for platform defined function to compare two threads. + + * glib/gthread.c: Use g_thread_functions_for_glib_use.thread_equal + when non-NULL instead of ==. + +Wed Sep 19 10:44:25 2001 Tim Janik + + * Released 1.3.8. + +Tue Sep 18 22:57:33 2001 Tim Janik + + * configure.in (GLIB_MICRO_VERSION): up version number to 1.3.8, + interface age 0, binary age 0. + + * NEWS: updates. + +Tue Sep 18 18:23:02 2001 Owen Taylor + + Fixes for compilation on Solaris (#59026, Frank Belew) + + * glib/gqsort.c (g_qsort_with_data): Use g_alloca(). + + * glib/giochannel.c (g_io_channel_read_to_end): Fix use + of ternary on left-hand-side. + + * configure.in: Handle the ac_cv_working_alloca_h variable + set by autoconf-2.5x. + +Tue Sep 11 18:50:44 2001 Owen Taylor + + * m4macros/glib-gettext.m4 acinclude.m4: Remove commented + out sections for clarity. + +Tue Sep 18 18:19:33 2001 Tim Janik + + * tests/testglib.c: add simple test for g_path_get_basename(). + + * glib/gfileutils.c (g_file_open_tmp): + * glib/gstrfuncs.c (g_strerror): scratch erroneous usages + of "illegal". + +2001-09-18 Tor Lillqvist + + * glib/gmain.c + * glib/giowin32.c: Mark the _funcs tables for export. + + * glib/glib.def: Add here, too. + + * glib/gwin32.c (get_package_directory_from_module): No reason to + check for the module being in a bin or lib directory only when + module_name is non-NULL. + + * glib/gwin32.c (g_win32_get_package_installation_directory): + Check first in HKEY_CURRENT_USER, then in HKEY_LOCAL_MACHINE. + +2001-09-17 Darin Adler + + * tests/strfunc-test.c: (main): Change so that it works + on platforms where isalpha is a macro only, without the + corresponding function that the C standard requires. + Also eliminate the multiple lists of ctype functions. + + * tests/.cvsignore: Ignore the new test. + +2001-09-17 Tor Lillqvist + + * configure.in: Add variable for LT_CURRENT minus LT_AGE (the + suffix used by libtool on Win32 for DLLs). Set variables for the + compiled resource files on Windows. Handle the native Win32 + threads gmodule. + + * glib/Makefile.am + * gmodule/Makefile.am + * gobject/Makefile.am: (Win32) Add hacks to link in the object + file produced from the resource file. Use the lt-compile-resource + script from the build module. The non-hack way would be to teach + libtool, autoconf and automake about .rc files (which are a kind + of source code, after all, that gets compiled to object + files). But then there would be problems with those who don't have + bleeding edge auto* and libtool. + + * glib/glib.def + * gobject/gobject.def: Updates. + + * glib/glib.rc.in + * gmodule/gmodule.rc.in + * gobject/gobject.rc.in + * gthread/gthread.rc.in: Update InternalName and OriginalFilename to + match libtool's naming convention for DLLs. + + * glib/gutils.c: Ditto when constructing the DLL name in the + definition for GLIB_LOCALE_DIR. + + * glib/makefile.mingw.in + * gmodule/makefile.mingw.in + * gobject/makefile.mingw.in + * gthread/makefile.mingw.in: Update import library names. + +Fri Sep 14 20:34:27 2001 Matthias Clasen + + * glib/gconvert.c (g_filename_from_uri): Replace `is contains' + by `contains' in two error messages. (#60395) + +2001-09-10 Ron Steinke + + * glib/giochannel.h glib/giochannel.c: Added a length argument + to g_io_channel_[set,get]_line_term(), allowing embeded nulls + and binary safe line termination strings + + * glib/giochannel.c: Got rid of a compile warning in + g_io_channel_write_chars() + +Mon Sep 10 17:13:36 2001 Tim Janik + + * glib/gmessages.h: got rid of g_set_error_handler(), + g_set_warning_handler(), g_set_message_handler(). + +Mon Sep 10 11:42:58 2001 Owen Taylor + + * glib/gutf8.c glib/gstring.c glib/gfileutils.c glib/gmain.c: + Doc fixes. + +Sat Sep 8 17:14:51 2001 Owen Taylor + + * glib/gfileutils.[ch]: Add g_build_path(), + g_build_filename(), to create separated paths, + suppressing duplicate separators, from varargs + lists. + + * tests/strfunc-test.c: Add tests for g_build_path(), + g_build_filename(). + +Sat Sep 8 14:11:53 2001 Owen Taylor + + * glib/Makefile.am (libglib_1_3_la_SOURCES): Add + gbsearcharray.[ch]. + + * glib/glib-object.h: Remove include of gbsearcharray. + +Mon Sep 3 23:29:51 2001 Owen Taylor + + * Version 1.3.7 + + * Makefile.am (EXTRA_DIST): Distribute po/po2tbl.sed.in + + * Makefile.am: Remove references to glib.rc[.in] + + * NEWS: Various additions. + +2001-09-04 Tor Lillqvist + + * README.win32: Update. Don't mention pthreads. + + * build-dll: Remove, moved to the build module. + + * glibconfig.h.win32.in: Don't mention pthreds here, either. + + * glib/gstrfuncs.c: Mark the correct variable for export from DLL. + + * glib/giowin32.c (g_io_win32_msg_create_watch): Owen forgot to + rename the win32_watch_funcs variable here, too. + + * */makefile.mingw.in: Don't use version number in import library + name. Use whole version number in DLL name. Use build-dll from the + build module. + +Tue Sep 4 01:50:24 2001 Tim Janik + + * NEWS: updates for 1.3.7 release. + +Mon Aug 27 14:56:12 2001 Owen Taylor + + * glib/gmain.h: Add closure_marshal/closure_callback + fields to GSourceFuncs for use by g_source_set_closure(). + + * glib/gmain.c glib/giounix.c glib/giowin32.c + glib/gmain.h: Export the SourceFuncs vtables so GObject + can use them to figure out closure callbacks/marshallers + for the default source types. + +Sun Sep 2 13:05:53 2001 Owen Taylor + + * glib/gstrfuncs.c (g_strchomp): Replace some uses + of isspace() with g_ascii_isspace(). + + * glib/gutf8.c glib/gunicode.h glib/gstrfuncs.[ch]: Add + extra indirections to g_utf8_skip and g_ascii_table to + avoid great whopping copy relocs. + +Sun Sep 2 11:10:42 2001 Owen Taylor + + * glib/gen-unicode-tables.pl glib/gunicomp.h + glib/gunichartables.h glib/giounix.c: Fix some variables that + should have been static. + +2001-08-30 Sebastian Wilhelmi + + * glib/gthread.h, glib/gthread.c: Add 'want_to_read' to + GStaticRWLock to avoid calling g_cond_broadcast, when no one is + waiting. + + * glib/gmain.c (g_main_context_add_poll_unlocked): Don't free + cached_poll_array, when adding new poll's. This is taken care for + in g_main_context_iterate. + +2001-08-30 Tor Lillqvist + + After being away for about five months, I'm back working on + this... For now, still using same build setup for Win32. Probably + will change to not including version numbers in the import library + names, though. (But the DLL names would still include them, + possibly even also the micro version number.) That would be more + Unix-like. Also, will have to check out newest mingw tool versions + to see if the build-dll script now can be retired. + + * makefile.mingw + * makefile.msc: New files, no need to generate from .in as + they don't contain references to automake variables. + + * makefile.mingw.in + * makefile.msc.in: Removed. + + * glib.rc.in: Remove + * glib/glib.rc.in: Moved here. + + * Makefile.am + * glib/Makefile.am: Corresponding changes. + + * glib/glib.def: Fix typo, add new entries. + + * glib/gspawn-win32-helper.c: More debugging. Doesn't work + currently (or then it never has on Win2k, which I now use?) + + * glib/gstrfuncs.c + * glib/gstrfuncs.h: Mark g_ascii_table for export/import on Win32. + + * */makefile.mingw.in: Reflect new location of glib library. + +2001-08-30 Michael Natterer + + * glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1" + results in TRUE being -1 once assigned, use "guint foo : 1" + instead. + +2001-08-27 Darin Adler + + * glib/gconvert.h: + * glib/gconvert.c: (g_filename_from_uri): + Updated name of error from G_CONVERT_ERROR_NOT_LOCAL_FILE to + G_CONVERT_ERROR_NOT_ABSOLUTE_FILE_URI. + + * tests/.cvsignore: + * tests/uri-test.c: + Added a lot more test for the new URI functions, including a + number that seem to indicate some minor bugs. + +2001-08-26 Alex Larsson + + * glib/gconvert.[ch] (g_filename_from_uri, + g_filename_to_uri): New functions to convert + between local pahtnames and file: uris. + + * tests/Makefile.am: + * tests/uri-test.c: + Tests for the new functions. + +2001-08-25 Alexander Larsson + + * glib/gstrfuncs.[ch]: + * docs/reference/glib/glib-overrides.txt: + * docs/reference/glib/glib-sections.txt: + * docs/reference/glib/tmpl/string_utils.sgml: + Implement and document g_ascii_isxxx. + + * tests/strfunc-test.c: + Add tests for g_ascii_isxxx + + * glib/guniprop.c (g_unichar_ispunct): + include symbols, not just punctuation. + (g_unichar_isspace): Vertical tab is not + considered whitespace. + + * tests/shell-test.c: + Output errors on stderr + +2001-08-24 Alexander Larsson + + * glib/gconvert.[ch] (g_convert_with_iconv): + New function, doing the same as g_convert but taking + a GIConv argument. The old g_convert is just + a call to this with a newly opened GIConv. + +2001-08-24 Darin Adler + + * tests/shell-test.c: (check_string_result): Fix bad indenting. + I figured I should fix this since I just pointed Alex here to + look at this as an example. + +2001-08-24 Ron Steinke + + * glib/giochannel.c: Matthias Clasen's fix for + the buffer corruption bug by setting outbuf _after_ + the call to g_string_set_size() + + * glib/giochannel.c: kept the buffers from perpetually + growing by subtracting 1 from allocated_len in the calculation + of available space to account for the null at the end of the + buffer + + * glib/giochannel.c: fixed g_io_channel_write_chars() + to not write more than space_in_buf bytes for the UTF-8 case + +Fri Aug 24 11:15:46 2001 Owen Taylor + + * glib/gstrfuncs.c docs/Changes-2.0.txt: Patch from Darin + Adler to restore Glib-1.2 handling of empty strings, + and to fix off-by-one with @max_tokens. (#57663). + Doc improvements. + + * tests/strfunc-test.c: Change tests to correspond to + new behavior of g_strsplit(). + +Thu Aug 23 11:09:58 2001 Owen Taylor + + * glib/ghash.c (g_hash_table_foreach_remove_or_steal): + Patch from Josh Pritikin to fix reversed key and value destroy + functions. (#59433) + + * glib/giochannel.h (struct _GIOChannel): Mark structure + /*< private >*/ + +Thu Aug 23 16:14:17 2001 Tim Janik + + * glib/gmacros.h (G_GNUC_NO_INSTRUMENT): new macro. + +2001-08-21 Abel Cheung + + * configure.in: Added "zh_TW" to ALL_LINGUAS. + +2001-08-20 Sven Neumann + + * Makefile.am: added po to SUBDIRS + +Sun Aug 19 21:32:39 2001 Owen Taylor + + * glib/ghash.c: Eliminate use of floating point when + determining if the hash table needs to be resized, + and also factor out the test from g_hash_table_resize() + to save function calls for the common case. + (#59124) + + * glib/gmain.c (g_main_context_query): Document the + return value. + +2001-08-19 Darin Adler + + * glib/gshell.c: (g_shell_quote): Added missing \ character. + + * tests/shell-test.c: (check_string_result), (test_shell_unquote), + (main): Added tests for g_shell_quote and g_shell_unquote. + +2001-08-19 Fatih Demir + + * configure.in: Added "ta" to the languages list. + +2001-08-19 Havoc Pennington + + * glib/gshell.c (g_shell_unquote): add comment about shell quoting + rules to the docs. + 2001-08-16 Ron Steinke * glib/giounix.c: fixed an error in setting close_on_unref