Permalink
Commits on Sep 26, 2000
  1. Add G_GNUC_PURE macro (but don't use it anywhere).

    Elliot Lee
    Elliot Lee committed Sep 26, 2000
    Add G_GNUC_PURE macro (but don't use it anywhere).
Commits on Sep 25, 2000
  1. Add a few missing G_GNUC_CONST's.

    Elliot Lee
    Elliot Lee committed Sep 25, 2000
    Add a few missing G_GNUC_CONST's.
  2. Missing piece of previous commit - add @ALLOCA@ to sources (normally

    Elliot Lee
    Elliot Lee committed Sep 25, 2000
    Missing piece of previous commit - add @ALLOCA@ to sources (normally expands to nothing).
  3. Remove empty SUBDIRS line, as that prevents make dist from working.

    Sebastian Wilhelmi Sebastian Wilhelmi
    Sebastian Wilhelmi authored and Sebastian Wilhelmi committed Sep 25, 2000
    2000-09-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* Makefile.am: Remove empty SUBDIRS line, as that prevents make
    	dist from working.
Commits on Sep 21, 2000
  1. Add gconvert.o. Use libiconv.

    tml1024 authored and Tor Lillqvist committed Sep 21, 2000
    2000-09-21  Tor Lillqvist  <tml@iki.fi>
    
    	* makefile.mingw.in: Add gconvert.o. Use libiconv.
    
    	* config.h.win32.in: Define HAVE_GETCWD.
    
    	* glib.def: Add new entry points.
    
    	* gthread/makefile.mingw.in: Use pthreads macros from ../build.
  2. The last released automake (1.4) still requires AM_PROG_LIBTOOL inste…

    Sebastian Wilhelmi Sebastian Wilhelmi
    Sebastian Wilhelmi authored and Sebastian Wilhelmi committed Sep 21, 2000
    …ad of
    
    2000-09-21  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* configure.in: The last released automake (1.4) still requires
    	AM_PROG_LIBTOOL instead of AC_PROG_LIBTOOL, so use that for the
    	time being.
Commits on Sep 19, 2000
  1. Test for the existence of getcwd, and use it only when found.

    Sebastian Wilhelmi Sebastian Wilhelmi
    Sebastian Wilhelmi authored and Sebastian Wilhelmi committed Sep 19, 2000
    2000-09-19  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* acconfig.h, configure.in, gutils.c: Test for the existence of
    	getcwd, and use it only when found.
    
    	* glib.h: Only use the gcc-variable-macro-argument-extension for
    	gcc >= 2.4. Both patches from Jonas Oberg <jonas@gnu.org>.
Commits on Sep 18, 2000
  1. Implement g_ucs4_to_utf8 which was in

    Owen Taylor Owen Taylor
    Owen Taylor authored and Owen Taylor committed Sep 18, 2000
    Mon Sep 18 10:58:21 2000  Owen Taylor  <otaylor@redhat.com>
    
    	* gutf8.c: Implement g_ucs4_to_utf8 which was in
Commits on Sep 17, 2000
  1. Sun Sep 17 2000 Elliot Lee <sopwith@redhat.com> Define g_alloca() as an

    Elliot Lee
    Elliot Lee committed Sep 17, 2000
    Sun Sep 17 2000 Elliot Lee <sopwith@redhat.com>
    	* glib.h configure.in: Define g_alloca() as an alloca-that-works-anywhere.
    	* gconvert.c: Fix warnings which could have caused problems on 64-bit platforms.
Commits on Sep 11, 2000
  1. Havoc Pennington's implementation of convenient character set conversion

    Owen Taylor Owen Taylor
    Owen Taylor authored and Owen Taylor committed Sep 11, 2000
    Sun Sep 10 12:37:40 2000  Owen Taylor  <otaylor@redhat.com>
    
    	* glib.h gconvert.c (g_convert): Havoc Pennington's implementation
    	of convenient character set conversion using iconv, with
    	the addition of GError. We probably need a fallback that
    	just does conversions between, say UTF-8,16,32 and ISO-8859-1
    	for targets without iconv at all.
    
    	Also add g_convert_with_fallback() to take care of conversions
    	where we accept some loss going to the target encoding.
  2. Add this function.

    Havoc Pennington Havoc Pennington
    Havoc Pennington authored and Havoc Pennington committed Sep 11, 2000
    2000-09-10  Havoc Pennington  <hp@redhat.com>
    
    	* gutf8.c (g_utf8_validate): Add this function.
Commits on Sep 10, 2000
  1. Add a missing g_return_if_fail().

    Owen Taylor Owen Taylor
    Owen Taylor authored and Owen Taylor committed Sep 10, 2000
    Sat Sep  9 18:50:42 2000  Owen Taylor  <otaylor@redhat.com>
    
    	* gstrfuncs.c (g_strescape): Add a missing g_return_if_fail().
  2. Move call to g_type_free_instance() here from g_object_do_finalize, s…

    Owen Taylor Owen Taylor
    Owen Taylor authored and Owen Taylor committed Sep 10, 2000
    …ince
    
    Sat Sep  9 20:04:13 2000  Owen Taylor  <otaylor@redhat.com>
    
    	* gobject.c (g_object_last_unref): Move call to
    	g_type_free_instance() here from g_object_do_finalize,
    	since g_type_free_instance() can unload the object's
    	implementation.
Commits on Sep 7, 2000
  1. for non-i386 and non-alpha, or non gcc, implement BREAKPOINT() as rai…

    tim-janik authored and Tim Janik committed Sep 7, 2000
    …se (5
    
    Mon Aug 21 03:57:46 2000  Tim Janik  <timj@gtk.org>
    
            * glib.h (G_BREAKPOINT): for non-i386 and non-alpha, or non gcc,
            implement BREAKPOINT() as raise (5 /* SIGTRAP */);
    
            * glib.h: provide user-definable switch G_IMPLEMENT_INLINES,
            to turn on compilation of inline function implementations provided
            in header files with extern linkage.
            wrap inline function implementations into ifdef __G_UTILS_C__, so we
            really only compile them for gutils.c and not also into arbitrary user
            code that wants to make use of G_IMPLEMENT_INLINES.
            adjusted comment apropriately.
    
            * gutils.c: to turn on compilation of inline functions, provide
            #define G_IMPLEMENT_INLINES 1 and #define __G_UTILS_C__.
  2. Some further makefile improvement.

    Owen Taylor Owen Taylor
    Owen Taylor authored and Owen Taylor committed Sep 7, 2000
    Thu Sep  7 12:35:35 2000  Owen Taylor  <otaylor@redhat.com>
    
            * Some further makefile improvement.
    
    	* Restore all the docs that mysteriously vanished earlier.
Commits on Sep 6, 2000
  1. docs

    Havoc Pennington Havoc Pennington
    Havoc Pennington authored and Havoc Pennington committed Sep 6, 2000
    2000-09-06  Havoc Pennington  <hp@redhat.com>
    
    	* gerror.c: docs
    
    	* docs/reference/glib/tmpl/error_reporting.sgml: docs
  2. Improve separation of generic non-generic parts and dependencies.

    Owen Taylor Owen Taylor
    Owen Taylor authored and Owen Taylor committed Sep 6, 2000
    Wed Sep  6 10:59:45 2000  Owen Taylor  <otaylor@redhat.com>
    
    	* gobject/Makefile.am glib/Makefile.am: Improve
    	separation of generic non-generic parts and dependencies.
  3. Some inline docs fixes.

    Owen Taylor Owen Taylor
    Owen Taylor authored and Owen Taylor committed Sep 6, 2000
    Wed Sep  6 10:28:34 2000  Owen Taylor  <otaylor@redhat.com>
    
    	* guniprop.c gunicode.h gutf8.c: Some inline docs fixes.
  4. s/G_MICROSEC/G_USEC_PER_SEC/

    Sebastian Wilhelmi Sebastian Wilhelmi
    Sebastian Wilhelmi authored and Sebastian Wilhelmi committed Sep 6, 2000
    2000-09-06  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* glib.h, gtimer.c, tests/thread-test.c:
    	s/G_MICROSEC/G_USEC_PER_SEC/
    
    	* gthread/gthread-posix.c, gthread/gthread-solaris.c:
    	s/G_MICROSEC/G_USEC_PER_SEC/ and s/G_NANOSEC/G_NSEC_PER_SEC/
  5. Removed G_G{U}{SHORT|INT|LONG}_FORMAT from glib.h, as they are really

    Sebastian Wilhelmi Sebastian Wilhelmi
    Sebastian Wilhelmi authored and Sebastian Wilhelmi committed Sep 6, 2000
    2000-09-06  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* glib.h: Removed G_G{U}{SHORT|INT|LONG}_FORMAT from glib.h, as
    	they are really superfluous.
  6. Split GObject docs away from the remainder of the docs.

    Owen Taylor Owen Taylor
    Owen Taylor authored and Owen Taylor committed Sep 6, 2000
    Wed Sep  6 00:30:09 2000  Owen Taylor  <otaylor@redhat.com>
    
    	* glib/* gobject/*: Split GObject docs away from
    	the remainder of the docs.
    
    	* glib/Makefile.am gobject/Makefile.am: Rework
    	to have reasonable dependencies. (No dependencies
    	on the files actually in the source directories,
    	so to get it going, you have to do 'make scan',
    	but after that, things should work OK.)
  7. Add gtk-doc checks for newly added docs/reference/ subdir.

    Owen Taylor Owen Taylor
    Owen Taylor authored and Owen Taylor committed Sep 6, 2000
    Tue Sep  5 20:16:27 2000  Owen Taylor  <otaylor@redhat.com>
    
    	* configure.in docs/Makefile.am: Add gtk-doc checks
    	for newly added docs/reference/ subdir.
  8. head -n 4 ChangeLog

    Owen Taylor
    Owen Taylor committed Sep 6, 2000
Commits on Sep 5, 2000
  1. Don't use a G_LOCK, as it isn't necessary.

    Sebastian Wilhelmi Sebastian Wilhelmi
    Sebastian Wilhelmi authored and Sebastian Wilhelmi committed Sep 5, 2000
    2000-09-05  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* gthread.c (g_thread_error_quark): Don't use a G_LOCK, as it
    	isn't necessary.
Commits on Sep 1, 2000
  1. .cvsignore updates

    Sebastian Wilhelmi
    Sebastian Wilhelmi committed Sep 1, 2000
    .cvsignore updates
  2. Use g_return_val_if_fail instead of g_return_if_fail, as the function…

    Sebastian Wilhelmi Sebastian Wilhelmi
    Sebastian Wilhelmi authored and Sebastian Wilhelmi committed Sep 1, 2000
    … now
    
    2000-09-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* gstring.c (g_string_free): Use g_return_val_if_fail instead of
    	g_return_if_fail, as the function now is supposed to return
    	something.
  3. Use GError to report errors as well.

    Sebastian Wilhelmi Sebastian Wilhelmi
    Sebastian Wilhelmi authored and Sebastian Wilhelmi committed Sep 1, 2000
    2000-09-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* gthread-solaris.c (g_thread_create_solaris_impl): Use GError to
    	report errors as well.
  4. Include gerror.h before it is used for some g_thread_* functions.

    Sebastian Wilhelmi Sebastian Wilhelmi
    Sebastian Wilhelmi authored and Sebastian Wilhelmi committed Sep 1, 2000
    2000-09-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* glib.h: Include gerror.h before it is used for some g_thread_*
    	functions.
    
    	* gthread.c, gthreadpool.c, glib.h: Enable error reporting for
    	thread creation, namly for g_thread_create, g_thread_pool_new,
    	g_thread_pool_push and g_thread_pool_set_max_threads.
    
    	* tests/thread-test.c, tests/threadpool-test.c: Adapted
    	accordingly.
    
    	* gthread-posix.c (g_thread_create_posix_impl): Use GError to
    	report errors.
  5. Added function g_propagte_error to hand over local errors to the calling

    Sebastian Wilhelmi Sebastian Wilhelmi
    Sebastian Wilhelmi authored and Sebastian Wilhelmi committed Sep 1, 2000
    2000-09-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* gerror.c, gerror.h (g_propagte_error): Added function
    	g_propagte_error to hand over local errors to the calling
    	function.
Commits on Aug 31, 2000
  1. glib.h glib.def New function, to make a GPollFD from a GIOChannel. Cr…

    tml1024 authored and Tor Lillqvist committed Aug 31, 2000
    …eates
    
    2000-08-31  Tor Lillqvist  <tml@iki.fi>
    
    	* glib.h
    	* glib.def
    	* giowin32.c (g_io_channel_win32_make_pollfd): New function, to
    	make a GPollFD from a GIOChannel. Creates the events and starts
    	the reader thread if necessary.
  2. glib.h No use for separate condition parameter.

    tml1024 authored and Tor Lillqvist committed Aug 31, 2000
    2000-08-31  Tor Lillqvist  <tml@iki.fi>
    
    	* glib.h
    	* giowin32.c (g_io_channel_win32_poll): No use for separate
    	condition parameter.
  3. Keep the check for non-NULL parameter.

    Tor Lillqvist
    Tor Lillqvist committed Aug 31, 2000
  4. Simplify, use GetSystemTimeAsFileTime().

    tml1024 authored and Tor Lillqvist committed Aug 31, 2000
    2000-08-31  Tor Lillqvist  <tml@iki.fi>
    
    	* gmain.c (g_get_current_time): (Win32): Simplify, use
    	GetSystemTimeAsFileTime().
Commits on Aug 27, 2000
  1. Hmm, the parameter to g_io_channel_win32_poll() should be a GPollFD a…

    tml1024 authored and Tor Lillqvist committed Aug 27, 2000
    …rray,
    
    2000-08-27  Tor Lillqvist  <tml@iki.fi>
    
    Hmm, the parameter to g_io_channel_win32_poll() should be
    a GPollFD array, not GIOChannel. That way the caller can know which
    channels cause the callback.
  2. New function, otherwise like g_io_channel_win32_wait_for_condition(),…

    tml1024 authored and Tor Lillqvist committed Aug 27, 2000
    … but
    
    2000-08-27  Tor Lillqvist  <tml@iki.fi>
    
    	* giowin32.c (g_io_channel_win32_poll): New function, otherwise
    	like g_io_channel_win32_wait_for_condition(), but accept several
    	GIOChannels.
    	(g_io_channel_win32_wait_for_condition): Call
    	g_io_channel_win32_poll().
    
    	* glib.h: Declare g_io_channel_win32_poll().
    
    	* gwin32.c (g_win32_error_message): Don't believe return value
    	from FormatMessage.