X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=ChangeLog.pre-2-6;h=cd6afb256a5b79f4232612ea18d1172d435eb362;hb=d6ed8e36e78373329315d743743c7480724e87ef;hp=6960f0346cb844f1a0c10c77863826d3e7ca5f0a;hpb=b27a17a4c076d1ab9eb2ce9fad560a2bc743153f;p=platform%2Fupstream%2Fglib.git diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 6960f03..cd6afb2 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,500 @@ +2001-05-22 Sebastian Wilhelmi + + * config.h.win32.in: Removed POSIX_*. Defined G_THREAD_SOURCE to + "gthread-win32.c". + + * glibconfig.h.win32.in: Define G_HAVE_ISO_VARARGS for gcc, don't + know about MSC. Define G_THREADS_IMPL_WIN32 instead of + G_THREADS_IMPL_POSIX and define the right static mutex macros and + types. + + * glib.def: g_thread_create renamed to g_thread_create_full. + + * gthread.c: memcpy is not necessary here. We can simply use + struct assignment. + + * gmessages.c: Fix compilation error on win32. Added + GFileDescriptor, wich is gint on Unix and FILE* on win32. + +2001-05-21 Andrew Lanoix + + *giowin32.c: G_IO_WIN32_WINDOWS_MESSAGES channels + not handled correctly in g_io_win32_check() + +Sun May 20 10:47:47 2001 Owen Taylor + + * configure.in: Fix some problems in writing out varargs + tests in configure.in + +Fri May 18 10:52:23 2001 Owen Taylor + + * configure.in gmessages.h: Use compile checks for ISO C99 and GNU + extension varargs macros syntax and store result in glibconfig.h + (G_HAVE_ISO_VARARGS, G_HAVE_GNUC_VARARGS) rather than relying + on checking predefined macros. + +2001-05-18 Michael Natterer + + * gmarkup.c: don't g_strdup()/g_free() all parsed attributes and + their values twice but simply copy the string pointers from the + GMarkupAttribute struct to the string arrays before passing them + to start_element(). + +2001-05-18 Sebastian Wilhelmi + + * gthread.c, gthread.h: Renamed g_thread_create to + g_thread_create_full and added macro g_thread_create, which omits + 'stack_size', 'bound' and 'priority' parameters. Also removed + 'bound' from GThread struct. + + * gthreadpool.h, gthreadpool.c: Adapted GThreadPool to the above + changes. GThreadPool lost the 'priority' and 'bound' + members. g_thread_pool_new the 'stack_size', 'bound' and + 'priority' parameters. + + * tests/mainloop-test.c, tests/thread-test.c, + tests/threadpool-test.c: Adapted to the above changes. + + * gmem.c (g_mem_profile): Fixed mutex deadlock. + +2001-05-17 Sebastian Wilhelmi + + * makefile.mingw.in: Add gpattern.o to objects. + + * glib.def: Export g_thread_exit as well. + + * Makefile.am: Fix BUILT_EXTRA_DIST exporting. + +Sun May 13 10:31:17 2001 Owen Taylor + + * glib/Makefile.am gobject/Makefile.am gmodule/Makefile.am: + Add inter-library dependencies. + + * acinclude.m4: Remove libtool macros. + + * autogen.sh: Require libtool-1.4, automake-1.4p1. + +2001-05-15 Havoc Pennington + + * configure.in (AC_OUTPUT): m4macros/Makefile + + * m4macros/Makefile.am, m4macros/glib-2.0.m4, + m4macros/glib-gettext.m4: + m4 files moved here on server, Makefile.am added + + This is so you can aclocal -I m4macros while avoiding acinclude.m4 + + * Makefile.am: add m4macros subdir, remove references to glib-2.0.m4 + +2001-05-14 Havoc Pennington + + * gutf8.c (g_utf8_get_char): fix docs; they said we validated + the UTF-8, but we can't possibly detect partial chars since + there's no length arg here, so trying to use this function + on invalid UTF-8 is a bad idea. + +Thu May 10 23:21:30 2001 Owen Taylor + + * gmessages.c (g_log_write_prefix): Avoid using stdio + to be as robust as possible in out-of-memory. + + * gmessages.c (g_log_default_handler): Remove some dead + code. + + * gutils.c (g_parse_debug_string): Fix to avoid mallocs. + +Fri May 11 18:25:23 2001 Tim Janik + + * gdataset.c: + (g_dataset_foreach): + (g_datalist_foreach): make these safe against removal of the + current element. + +2001-05-10 Havoc Pennington + + * gmessages.c (g_log_write_prefix): change env variable to + G_MESSAGES_PREFIXED, suggested by Tim + +Thu May 10 15:19:01 2001 Tim Janik + + * gscanner.c (g_scanner_key_hash): use g_str_hash() algorithm + to generate hashes. + + * gmem.c (standard_calloc): free() doesn't return a value + (Mark Murnane). + +2001-04-26 Havoc Pennington + + * configure.in: Get rid of --enable-msg-prefix + + * gmessages.c: make whether to prefix the messages with + appname/pid a runtime setting, not a compile-time setting. Change + default to include prefix for debug/warning/error type messages. + +2001-05-09 Sebastian Wilhelmi + + * gthread.c, gthread.h: Renamed 'value' and 'arg' to 'data' and + 'thread_func' to 'func' to make it more consistent with the rest + of GLib. + + * gthreadpool.c, gthreadpool.h: Moved 'stack_size' from the public + members of GThreadPool to the private ones. Renamed 'thread_func' + to 'func' as above. Moved up 'user_data' in g_thead_pool_new + argument list and in GThreadPool struct. + +Tue May 8 15:33:31 2001 Tim Janik + + * gcompletion.h: removed #include sneaked in by + sopwith in november. + +2001-05-08 Sebastian Wilhelmi + + * gmain.c, gthread.c, gthread.h: Moved func and arg members from + GRealThread to GThread, such that they can be accessed by the + user. + + * gthread.c, gthread.h: Due to popular demand (Tim being the + populus here ;-) threads now have a 'return value', which is + returned by g_thread_join and is either the return of the topmost + thread function or the value given to g_thread_exit. + + * gthreadpool.c, tests/mainloop-test.c, tests/thread-test.c: + Adapted to the above change. + +2001-01-06 Hans Breuer + + * glib.def : don't try to export g_strcpy, it is g_stpcpy; + updated and added some tweaking for functions which got + renamed recently, to avoid the update hassle if it can + simply be done compatible. Should vanish if there is a + stable version for win32. + +Fri May 4 11:49:18 2001 Owen Taylor + + * Released 1.3.5 + + * NEWS: Updated + + * configure.in (GLIB_MICRO_VERSION): Up version to 1.3.5, + interface/binary age 0. + +2001-05-04 Sven Neumann + + * ghash.c: fixed a typo in a comment. + + * gtree.[ch]: added new functions g_tree_new_full(), g_tree_replace(), + g_tree_steal() and g_tree_foreach() to adapt GTree to the GHashTable + API. Moved comments into the C file. + + * docs/reference/glib/glib-sections.txt + * docs/reference/glib/tmpl/glib-unused.sgml + * docs/reference/glib/tmpl/hash_tables.sgml + * docs/reference/glib/tmpl/linked_lists_double.sgml + * docs/reference/glib/tmpl/linked_lists_single.sgml + * docs/reference/glib/tmpl/macros_misc.sgml + * docs/reference/glib/tmpl/trees-binary.sgml: updated documentation + +Thu May 3 06:38:28 2001 Owen Taylor + + * g[s]list.c (g_[s]list_foreach) docs/Changes-2.0.txt: Make + foreach() safe against removal of the _current_ element. While + this could break some code, the new behavior is consistent with + the rest of GLib/GTK+ and probably is what people expect in most + cases. (Suggested by Paul Kuykendall, #50071) + +Wed May 2 11:10:22 2001 Owen Taylor + + * gutf8.c (g_utf8_to_ucs4_fast): Fix read past end of the string. + (#50404, fix from Jonas Borgström) + +Sun Apr 29 00:37:34 2001 Tim Janik + + * ghook.[hc]: made hook ids a gulong. + +2001-04-20 Dan Winship + + * configure.in: Add a check for the Darwin dynamic linker. Use + AC_TRY_LINK when checking for "nonposix getpwuid_r" so it notices + "no getpwuid_r" correctly. + + * testglib.c (main): Make template[] bigger to prevent an overrun. + Remove an unused variable. Initialize error to NULL. + + * tests/gio-test.c (main): Add a cast to prevent a warning when + size_t is a long. + + * tests/type-test.c (main): Add an #ifdef to prevent a warning + when G_HAVE_GINT64 is defined and G_GINT64_FORMAT isn't. + +2001-04-19 Sebastian Wilhelmi + + * ghash.c, ghash.h: Remove definition of g_hash_table_freeze and + g_hash_table_thaw. Instead added G_DISABLE_DEPRECATED-guarded + macros to ghash.h to go along the lines of the standard. + + * gscanner.c, gscanner.h: Dito for g_scanner_freeze_symbol_table + and g_scanner_thaw_symbol_table. + + * gutils.c, gutils.h: Dito for g_dirname. g_basename is still + defined in gutils.c, but declared ing gutils.h only + G_DISABLE_DEPRECATED-guarded. + + * configure.in: Removed bashism in test for the pkg-config + version. + + * configure.in: Rewrote test for multithread flag. Now uses + localtime_r, which hopefully has a consistent prototype across + different platforms. Also it uses a clever double EGREP trick + instead of compiling, which could give false positives. Thanks to + Dan Winship for the hint. + +Wed Apr 18 17:35:38 2001 Owen Taylor + + * gutils.c (_glib_gettext): Add missing static pointed + out by Michael Meeks. + +Wed Apr 18 09:37:07 2001 Owen Taylor + + * MAINTAINERS: Removed. Keeping README, README.cvs-commits + HACKING, and AUTHORS up to date is plenty without extra + random files that someone thought a module should have. + (Actually, I believe this was used for debbugs in the past.) + +Tue Apr 17 11:47:07 2001 Owen Taylor + + * Released 1.3.4 + + * NEWS: Updated + +Tue Apr 17 10:43:36 2001 Owen Taylor + + * gstrfuncs.c: Define _GNU_SOURCE for stpcpy + + * tests/mainloop-test.c (main): Wait for all threads + to start before beginning tests. + +2001-04-17 Sebastian Wilhelmi + + * gthreadpool.c (g_thread_pool_thread_proxy): Until now every + thread pool always had at least one tread waiting to avoid + switching overhead in case a new task would be added soon after + one finished. This however means a big waste of threads, if many + mostly inactive thread pools are involved. Now such a waiting + thread will only wait for half a second (This value is of course + very randomly picked) and go to the global threadpool afterwards. + +Mon Apr 16 12:04:52 2001 Owen Taylor + + * configure.in: Remove warnings about conflicts with the + stable version. + + * glib-2.0.m4: Fix some of the error text to be halfway + up to date. + + * README.in INSTALL.in: Add these to generate README, INSTAL + (as in the stable branch). Update. + + * HACKING: Update. + +2001-04-16 Havoc Pennington + + * gqsort.c: docs + + * gfileutils.c: docs + + * gwin32.c: docs fixes + + * gconvert.c: docs + + * guniprop.c: docs + + * gutf8.c: docs + +2001-04-16 Havoc Pennington + + * glib-2.0.m4: put AC_PATH_PROG(pkg-config) before "Checking for + glib" so the output looks right + +2001-03-23 Havoc Pennington + + * gutils.c (g_parse_debug_string): make GDebugKeys argument + const + +2001-04-14 Hans Breuer + + * glib.def : + * makefile.msc.in : updated + + * gpattern.c : include "gutils.h" to resolve the inline hassle + +2001-04-11 Alexander Larsson + + * glib-2.0.m4: Pass pkg-config options + before the other args so it works even if + POSIXLY_CORRECT is set. + +Mon Apr 9 18:57:44 2001 Tim Janik + + * configure.in: increment version to 1.3.4 (binary 0, interface 0). + +2001-04-05 Christian Rose + + * configure.in: Added sv to ALL_LINGUAS. + +Wed Apr 4 09:18:55 2001 Tim Janik + + * Released GLib-1.3.3. + +Tue Apr 3 20:22:59 2001 Tim Janik + + * NEWS: updates. + + * NEWS.pre-1-3: take over old news. + +Tue Apr 3 12:38:16 2001 Owen Taylor + + * glib-config-2.0.in: Exit with an error message that you + should use pkg-config instead. + + * configure.in (PACKAGE): Require pkg-config. + + * tests/Makefile.am (EXTRA_DIST): Add utf8.txt. + + * configure.in (GLIB_MICRO_VERSION): Up MICRO to 3, + leave interface/binary at 0. + +Tue Apr 3 13:46:22 2001 Tim Janik + + * glist.[hc]: added g_list_nth_prev() which walks ->prev instead + of ->next. + + * gpattern.[hc]: added shell-style pattern matching code from beast, + derived from the gtk_pattern_*() code, but with a couple of bug fixes + and a number of optimizations. + +2001-04-03 Sebastian Wilhelmi + + * gthreadpool.c: Added documentation. + + * gthreadpool.c: The global thread pool now also is seperated for + bound and unbound threads. Only threads with standard stack size + go to the global pool. g_thread_pool_new now protects the global + setup of inform_mutex etc. with a lock. Fixed some typos. Unlock + the queue after g_thread_pool_wakeup_and_stop_all in the proxy. + +2001-04-02 Sebastian Wilhelmi + + * gmain.c: Use the new GRealThread member "context" instead of a + GStaticPrivate to store the thread specific main loop context. + + * gthread.c: Added "context" member to GRealThread and updated + g_thread_create, g_thread_self and g_thread_cleanup accordingly. + + * gthread.c, gthread.h: Removed the functions + g_static_private_(get|set)_for_thread and adapted + g_static_private_(get|set) and g_static_private_free + accordingly. This fixes Bug #51435. + +2001-03-30 Sven Neumann + + * ghash.[ch] + * docs/reference/glib/tmpl/hash_tables.sgml: added new functions + g_hash_table_new_full, g_hash_table_replace, g_hash_table_steal and + g_hash_table_foreach_steal. Moved most docs out of the template + file into the C file. Please proofread the new documentation. + +2001-03-29 Tor Lillqvist + + * glib.def: Updates. + * tests/makefile.mingw.in + * tests/makefile.msc.in: Add module-test rules. + +Mon Mar 26 14:14:53 2001 Owen Taylor + + * Makefile.am (INCLUDES): -DG_DISABLE_DEPRECATED + + * gmain.h timeloop.c: Surround the cruftiest stuff with + #ifndef G_DISABLE_DEPRECATED. + + * gcompat.h gdate.h: Move compat defines back to + gdate.h, surround with #ifndef G_DISABLE_DEPRECATED. + Remove gcompat.h. + +Mon Mar 26 13:34:50 2001 Owen Taylor + + [ Patch from DindinX , added docs ] + + * gstrfuncs.c, gstrfuncs.h: Add g_stpcpy () for platform that don't + have stpcpy (). + * gstrfuncs.c (g_strjoin, g_strjoinv and g_strconcat): use + g_stpcpy () so these functions run much faster. + * config.h.win32.in, glib.def: add reference to g_stpcpy () + * configure.in: Add a test for the stpcpy () function. + +2001-03-20 Havoc Pennington + + * gutf8.c (g_utf8_strlen): rewrite, based on bug #52328 from + Anders + +2001-03-19 Havoc Pennington + + * gutf8.c (g_unichar_validate): added this function + +2001-03-18 Tor Lillqvist + + * gspawn-win32.c (SETUP_DEBUG): Add braces to silence gcc -Wall. + + * gspawn-win32-helper.c (write_no_error): Remove unused function. + + * tests/makefile.mingw.in (module-test.exe): Add rules for + building module-test. + +Wed Mar 14 18:46:54 2001 Tim Janik + + * gscanner.[hc]: removed archaic gpointer derived_data; relict and + added a GData member instead. + + * glist.[hc]: added g_list_remove_all(). + + * gslist.[hc]: added g_slist_remove_all(). + +Sat Mar 17 19:54:51 2001 Owen Taylor + + * timeloop.c: Reorder headers to make FreeBSD happy. + +2001-03-13 Tor Lillqvist + + From Edward M. Lee : + + * gdate.c (g_date_set_parse): add support for dates that in the + form "Wed Mar 14 2001". Running testgdate on cygwin requires this. + +Fri Mar 9 18:01:43 2001 Tim Janik + + * gscanner.[hc]: made config arg to g_scanner_new() const. + +2001-03-12 Tor Lillqvist + + * tests/Makefile.am (libmoduletestplugin_b_la_LIBADD, + libmoduletestplugin_b_la_LIBADD): Link with the libgmodule la only + on Win32. + +2001-03-10 Tor Lillqvist + + * glibconfig.h.win32.in: Define G_PLATFORM_WIN32 here, too. + + * tests/Makefile.am: Use the _LIBADD dependency on libglib only on + Win32. + +2001-03-09 Tor Lillqvist + + * README.win32: Update with some information about using configure + and libtool. + +2001-03-09 Hans Breuer + + * gobject/gobject.def : updated + 2001-03-08 Tor Lillqvist * glib.def @@ -80,7 +577,56 @@ Thu Feb 22 10:31:36 2001 Owen Taylor 2001-02-21 Tor Lillqvist - * gutils.c (g_path_is_absolute): Match also UNC paths on Win32. + * gutils.c (g_find_program_in_path): Implement on Win32. + + Cygwin support contributed by Stefan Ondrejicka + . Hopefully I got it all in while simultaneously + adding support for auto*/libtool for mingw. + + * Makefile.am: Changes for auto* support on Cygwin and Win32. Do + still distribute the hand-written makefiles and *.win32.in files, + though. Use GIO, GSPAWN and PLATFORMDEP macros set by configure. + Use -no-undefined. Pass -export-symbols glib.def to libtool. + + * configure.in: Define G_PLATFORM_WIN32 on both pure Win32 (mingw) + and Cygwin. Add AC_CYGWIN, AC_EXEEXT and AC_LIBTOOL_WIN32_DLL + calls for Cygwin and mingw support. Check for %I64u guint64 + format (in MS C library). Set G_MODULE_IMPL on mingw and + Cygwin. Use ac_object and ac_exeext. Set GIO, GSPAWN, PLATFORMDEP + and G_LIBS_EXTRA. Compile timeloop only on Unix. Define OS_WIN32 + automake conditional on Win32. + + * glib.h: Include gwin32.h also on Cygwin. + + * gfileutils.c (get_contents_posix): Use O_BINARY (defined as 0 on + Unix) for Cygwin's sake. + + * gtimer.c (GETTIME): Reduce #ifdefs, use a macro GETTIME(). + + * gconvert.c + * gthread.c + * gutf8.c + * gutils.c: For code needed both on Cygwin and native Win32, + test for G_PLATFORM_WIN32. + + * gmarkup.h: Use G_BEGIN_DECLS and G_END_DECLS. + + * gtypes.h: Refine GLIB_VAR definition. Also check for DLL_EXPORT + in case compiling a static library on Win32 or Cygwin. + + * gwin32.c: No on Cygwin. No need for ftruncate() or + dirent emulation on Cygwin. + (get_package_directory_from_module) Convert return value from + GetModuleFileName() to POSIX path on Cygwin. + + * tests/Makefile.am (progs_LDADD): Link with libglib, libgthread + and libgmodule as appropriate. Use -no-undefined. + + * gbacktrace.c: Move #ifdefs around a bit on Win32. + +2001-02-21 Tor Lillqvist + + * gshell.c (unquote_string_inplace): Make static. * gthread.h: Include gtypes.h to be sure to get GLIB_VAR definition, remove definition from here. @@ -93,11 +639,14 @@ Thu Feb 22 10:31:36 2001 Owen Taylor * Makefile.am (INCLUDES): Add -DGLIB_COMPILATION. * makefile.mingw.in: Remove install target, Windows isn't Unix. + (DEFINES): Add -DDLL_EXPORT. * testgdate.c * testgdateparser.c * testglib.c: Undefine GLIB_COMPILATION. + * testglib.c: Make some vars static. Add Cygwin path tests. + * glib.def: Updates. * .cvsignore