Tue Feb 26 14:56:31 2002 Owen Taylor <otaylor@redhat.com>
* glib-2.0.pc.in: Reorder @INTL_LIBS@ and @ICONV_LIBS@ in case
-lintl depends on -licon. (Miroslaw Dobrzanski-Neumann #72717)
Mon Feb 25 23:01:53 2002 Owen Taylor <otaylor@redhat.com>
* configure.in acconfig.h config.h.win32.in
glib/gconvert.c: Check for iconv_* in -liconv
as well as libiconv_* in -liconv since AIX ships
the system iconv in a separate library.
Patch from Miroslaw Dobrzanski-Neumann (#72569)
Mon Feb 25 21:58:01 2002 Owen Taylor <otaylor@redhat.com>
* glib/guniprop.c (g_unichar_toupper/lower): Account
for some characters having now uppercase/lowercase
equivalents in code, docs. (#65416)
Sun Feb 24 22:08:29 2002 Owen Taylor <otaylor@redhat.com>
* gtypemodule.[ch] (g_type_module_add_interface): Make
GInterfaceInfo paramter const to correspond to the
conventions for the g_type_add_interface() functions.
(#72461, Miroslaw Dobrzanski-Neumann)
2002-02-24 Tor Lillqvist <tml@iki.fi>
* README.win32: Edits.
* config.h.win32.in: Add (as undefined) HAVE_UNSETENV,
_FILE_OFFSET_BITS and _LARGE_FILES, just for completeness.
* glibconfig.h.win32.in: Add the gcc-2.95.x undef of
G_HAVE_ISO_VARARGS.
Sat Feb 23 14:54:13 2002 Owen Taylor <otaylor@redhat.com>
* glib/giochannel.h (struct _GIOChannel): Add a little bit
of padding.
* glib/gmain.h (struct _GSource): Add a little bit of padding.
Sat Feb 23 13:28:56 2002 Owen Taylor <otaylor@redhat.com>
* gtypeplugin.h (struct _GTypePluginClass): Add some
padding to the class.
* gclosure.h (struct _GClosure): Fix typo in comment.
* glib/gdebug.h: New header containing GTK_DEBUG-style debugging
support for GLib. Currently only the fatal_warnings debug option exists.
* glib/gmessages.c (g_log_msg_prefix_init): New one-shot function
for parsing G_MESSAGES_PREFIXED.
(_g_debug_init): New one-shot function for parsing G_DEBUG.
(g_log_write_prefix): Use g_log_msg_prefix_init().
(g_messages_init): Use g_log_msg_prefix_init() and _g_debug_init().
* glib/Makefile.am (libglib_1_3_la_SOURCES): Add gdebug.h.
* glib/Makefile.am (IGNORE_HFILES): Add gdebug.h.
* glib/running.sgml: Document the G_DEBUG environment variable.
* glib/tmpl/threads.sgml: Replace g_thread_wait() by
g_thread_join() in two places.
Wed Feb 20 22:55:15 2002 Owen Taylor <otaylor@redhat.com>
* gobject.c: Fix implicit conversions between void * and
function pointer (Miroslaw Dobrzanski-Neumann, #71963)
Fixes from Miroslaw Dobrzanski-Neumann (#71963)
* glib/giounix.c (g_io_channel_new_file): Fix trailing comma
in enum.
* configure.in: Check for unsetenv.
* test/uri-test.c: Fall back to trying putenv(VARNAME) if
unsetenv isn't present.
2002-02-20 Daniel Elstner <daniel.elstner@gmx.net>
* glib/gstring.[ch] (g_string_erase): Use gssize instead of gsize as type of the pos and len arguments. (#71964)
Sun Feb 16 22:08:48 2002 Tim Janik <timj@gtk.org>
* gobject.[hc]:
* gparam.[hc]: provide marshaller specific value_set_*_take_ownership()
variants.
* gvalue.h: shrink GValue's data contents to 2 unions.
* glib-genmarshal.c: fix release and realeas_check hackage by always
using _take_ownership() variants. directly access value contents if
G_ENABLE_DEBUG is not defined.
* gobject.h: add padding pointers to the class struct.
2002-02-19 Tor Lillqvist <tml@iki.fi>
* glib/gspawn-win32.c: Include <config.h> first here, too. Use
g_io_channel_read_chars() instead of (deprecated)
g_io_channel_read(). Set encoding to NULL for the channels used
for the pipes from the child.
* glib/giowin32.c (buffer_read): Do return G_IO_STATUS_EOF when
EOF has been reached. Otherwise, with the above change to
gspawn-win32.c, spawn-test hangs.
Mon Feb 18 20:18:23 2002 Owen Taylor <otaylor@redhat.com>
* glib/libcharset/Makefile.am (EXTRA_DIST): Remove
charset.alias from EXTRA_DIST; we don't want the
charset.alias from the make distcheck machine
on the target system!. (#70974, reported by
Ryan Lovett)
Mon Feb 18 12:40:36 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Turn off ISO varargs support for gcc-2.95
since it causes problems with ANSI and we we have GNUC
varargs. (#70024, reported by Morten Welinder, fix from
James Henstridge)
Sun Feb 17 11:37:06 2002 Owen Taylor <otaylor@redhat.com>
* 1.3.14
* glib/glibintl.h: Error out of config.h wasn't included
rather than including it, since config.h must be the
first thing included.
* glib/gconvert.c glib/gmarkup.c glib/gshell.c glib/gspawn.c
glib/gunibreak.c glib/gunidecomp.c glib/guniprop.c:
Include config.h as the first thing. (#71704, Morten
Welinder)
Sun Feb 17 18:15:22 2002 Owen Taylor <otaylor@redhat.com>
* gmodule.c (g_module_open): Fix typo when checking
if file + module_suffix exists. (Miroslaw Dobrzanski-Neumann,
#71801)
Fri Feb 15 10:41:51 2002 Owen Taylor <otaylor@redhat.com>
* NEWS: Updated.
* configure.in: Require autoconf-2.52, run AC_SYS_LARGEFILE.
(#71410, Sven Neumann)
* glib/giounix.c glib/giowin32.c glib/giochannel.[ch]:
Change offset type for g_io_channel_seek[_position] to
gint64.
2002-02-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/thread-test.c: Do not assume, that after
g_usleep(G_USEC_PER_SEC) the newly started thread began
running. Spotted by Miroslaw Dobrzanski-Neumann
<mne@mosaic-ag.com>. Make the test_g_static_rw_lock_thread threads
wait a random time. Make the test_g_static_rw_lock test run 5
seconds, not 1.
2002-02-14 Tor Lillqvist <tml@iki.fi>
* glib/gmessages.c (g_logv): Use the #if branch with
G_BREAKPOINT() also on Win32. Remove the separate __asm int 3 for
MSVC, G_BREAKPOINT() does exactly that.
2002-02-14 James Henstridge <james@daa.com.au>
* m4macros/glib-gettext.m4: add third argument to the AC_DEFINE
calls, so users of the macro don't need to add entries to
acconfig.h in their package.
2002-02-13 Havoc Pennington <hp@redhat.com>
* glib/gmain.c (g_main_context_check): never dispatch sources of
mixed priority, because while iterating over the dispatch array a
new source with more priority may be added, while a source with
less priority remains in the dispatch array
Wed Feb 13 06:29:51 2002 Tim Janik <timj@gtk.org>
* gvaluetransform.c: cosmetic cleanups, fixed [u]int64->string
conversions.
* ChangeLog: added entry from owen which went into the wrong
file.
2002-02-11 Darin Adler <darin@bentspoon.com>
* glib/gmessages.h: Use "if (expr) { } else" as I meant to in the
first place. The other form can trigger warnings in some compilers
* glib/gmessages.h: Use "if (expr) { } else" as I meant to in the
first place. The other form can trigger warnings in some compilers
that suspect a ";" after "if (expr)" is an error.