Permalink
Commits on Feb 12, 2001
  1. Add check for gtk-doc version.

    Mon Feb 12 15:01:09 2001  Owen Taylor  <otaylor@redhat.com>
    
    	* configure.in (gtk_doc_min_version): Add check for gtk-doc version.
    Owen Taylor committed with Owen Taylor Feb 12, 2001
  2. The ultimate gtk-doc makefile.

    Mon Feb 12 12:42:45 2001  Owen Taylor  <otaylor@redhat.com>
    
    	* {glib,gobject}/Makefile.am: The ultimate gtk-doc makefile.
    Owen Taylor committed with Owen Taylor Feb 12, 2001
Commits on Feb 10, 2001
  1. gtypes.h Move GLIB_VAR definition from gutils.h to gtypes.h

    2001-02-10  Tor Lillqvist  <tml@iki.fi>
    
    	* gtypes.h
    	* gutils.h: Move GLIB_VAR definition from gutils.h to gtypes.h
    
    	* glib.def
    	* gmem.h: Mark glib_mem_profiler_table for export.
    tml1024 committed with Tor Lillqvist Feb 10, 2001
  2. Don't store address of local variable in hashtable.

    2001-02-10  Tor Lillqvist  <tml@iki.fi>
    
    	* gwin32.c (get_package_directory_from_module): Don't store
    	address of local variable in hashtable.
    tml1024 committed with Tor Lillqvist Feb 10, 2001
Commits on Feb 8, 2001
  1. Added tr to ALL_LINGUAS.

    Fatih Demir committed Feb 8, 2001
  2. ADded the Turkish translation fiels for glib HEAD

    Fatih Demir committed Feb 8, 2001
Commits on Feb 6, 2001
  1. .cvsignore updates

    .cvsignore updates
    Sebastian Wilhelmi committed Feb 6, 2001
Commits on Feb 4, 2001
  1. Remove glib_debug_objects.

    2001-02-04  Tor Lillqvist  <tml@iki.fi>
    
    	* gobject.def: Remove glib_debug_objects.
    tml1024 committed with Tor Lillqvist Feb 4, 2001
  2. Use "nn" for Nynorsk, as nn.po files are appearing now. If the sublan…

    …guage
    
    2001-02-04  Tor Lillqvist  <tml@iki.fi>
    
    	* gwin32.c (g_win32_getlocale): Use "nn" for Nynorsk, as nn.po
    	files are appearing now. If the sublanguage starts with '@', don't
    	use a '_' separator. South Africa is 'ZA', not 'SA'.
    tml1024 committed with Tor Lillqvist Feb 4, 2001
  3. s/glib_trap_/g_trap_/. add comments on g_trap_instance_signals,

    Sun Feb  4 07:38:32 2001  Tim Janik  <timj@gtk.org>
    
            * docs/debugging.txt: s/glib_trap_/g_trap_/. add comments on
            g_trap_instance_signals, g_trace_instance_signals and
            GRUNTIME_DEBUG.
    
            * gmem.c: s/glib_trap_/g_trap_/.
    
    Sun Feb  4 07:30:53 2001  Tim Janik  <timj@gtk.org>
    
            * gtype.[hc]: changed g_type_init() to take debugging flags
            initially, a combination of G_TYPE_DEBUG_OBJECTS and
            G_TYPE_DEBUG_SIGNALS. using the G_TYPE_ prefix is a bit odd
            here, but basically g_type_int() serves as initialization
            fucntion for all of GType, GObject, GSignal, so what the heck.
    
            * gobject.c: special case debugging code properly.
            changed glib_trap_object_ref to g_trap_object_ref.
    
            * gsignal.c: add signal emission debugging abilities, along with
            a new trap object g_trap_instance_signals.
    tim-janik committed with Tim Janik Feb 4, 2001
Commits on Feb 3, 2001
  1. Change order of libs, put progs_LDADD last. Needed for cygwin, says

    2001-02-04  Tor Lillqvist  <tml@iki.fi>
    
    	* tests/Makefile.am (thread_LDADD): Change order of libs,
    	put progs_LDADD last. Needed for cygwin, says jbdoll@kepri.re.kr.
    
    2001-02-04  Tor Lillqvist  <tml@iki.fi>
    
    	* Makefile.am (progs_LDADD): Change order of libs to libgobject
    	first, then libglib. Needed for cygwin, says jbdoll@kepri.re.kr.
    tml1024 committed with Tor Lillqvist Feb 3, 2001
Commits on Feb 1, 2001
  1. giochannel.h giowin32.c Stylistic cleanups. Use G_STRLOC in g_warning()

    2001-02-02  Tor Lillqvist  <tml@iki.fi>
    
    	* giochannel.h
    	* giowin32.c
    	* gmain.c: Stylistic cleanups. Use G_STRLOC in g_warning() calls.
    
    	* glib.def: Add missing functions.
    
    2001-01-31  Tor Lillqvist  <tml@iki.fi>
    
    	* glibconfig.h.win32.in: Corresponding change as below to
    	GStaticMutex.
    tml1024 committed with Tor Lillqvist Feb 1, 2001
  2. Added g_static_mutex_init to allow initialization of a GStaticMutex, …

    …that
    
    2001-02-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* gthread.c, gthread.h: Added g_static_mutex_init to allow
    	initialization of a GStaticMutex, that can not be initialized with
    	G_STATIC_MUTEX_INIT, for example in allocated structures.
    
    	* glib/tmpl/threads.sgml, glib/glib-sections.txt: Added
    	documentation for g_static_mutex_init().
    
    WCVS: ----------------------------------------------------------------------
    Sebastian Wilhelmi committed with Sebastian Wilhelmi Feb 1, 2001
Commits on Jan 31, 2001
  1. Remove useless check. (Mike Chen)

    Wed Jan 31 16:05:44 2001  Owen Taylor  <otaylor@redhat.com>
    
    	* gtree.c (g_tree_node_search): Remove useless check.
    	(Mike Chen)
    Owen Taylor committed with Owen Taylor Jan 31, 2001
  2. Fix problem with --disable-nls.

    Wed Jan 31 13:46:58 2001  Owen Taylor  <otaylor@redhat.com>
    
    	* acinclude.m4 glib-gettext.m4: Fix problem with --disable-nls.
    Owen Taylor committed with Owen Taylor Jan 31, 2001
  3. adapt to work with new CVS gtk-doc, leaving the old rules in place ca…

    …used
    
    Wed Jan 31 07:14:22 2001  Tim Janik  <timj@gtk.org>
    
            * gobject/Makefile.am: adapt to work with new CVS gtk-doc, leaving the old
            rules in place caused bogus recursions. main changes:
            - add to conditionalized section:
              all-local:
                    $(MAKE) scan
                    $(MAKE) templates
                    $(MAKE) sgml
                    $(MAKE) html.stamp
              html.stamp: sgml.stamp $(EXTRA_SGML_FILES)
                    $(MAKE) html
              DOC_STAMPS= html.stamp sgml.stamp
            - change:
              maintainer-clean-local: clean
              -     cd $(srcdir) && rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
              +     cd $(srcdir) && rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt $(DOC_STAMPS)
    
            * glib/Makefile.am (maintainer-clean-local): dito.
    
    Wed Jan 31 06:21:32 2001  Tim Janik  <timj@gtk.org>
    
            * gobject/tmpl/types.sgml: applied docu patch from Eric Lemings
            <eric.b.lemings@lmco.com>, did some more editing.
    
    Wed Jan 31 06:19:49 2001  Tim Janik  <timj@gtk.org>
    
            * gparam.h: gtk-doc sucks for not dealing with #define inside enums.
    
            * gtype.[hc]: added G_TYPE_FLAG_RESERVED_ID_BIT, a bit in the type
            number that's supposed to be left untouched (preserved mainly
            for the signal code).
    
            * *.c: added thread safety code, based on an old patch from sebastian.
            the remaining thread safety issues are now datalists on pspecs (to be
            solved im gdataset.c) and gvalue.c where locking concerns value exchange
            functionality only, and that's soon to be revised.
    tim-janik committed with Tim Janik Jan 31, 2001
Commits on Jan 30, 2001
  1. Call g_thread_impl_init(), as g_thread_init won't call it.

    2001-01-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* gthread/gthread-impl.c (g_thread_init_with_errorcheck_mutexes): Call
    	g_thread_impl_init(), as g_thread_init won't call it.
    
    
    	* glib/glib-sections.txt, glib/tmpl/threads.sgml: Added
    	g_static_mutex_free
    
    	* gthread.c, gthread.h: Added g_static_mutex_free to allow using
    	GStaticMutexes with limited lifetime without leaking.
    
    	* configure.in: GStaticMutex doesn't have to provide extra space
    	for debugging information for G_ERRORCHECK_MUTEXES, as then the
    	non-default implementation (runtime_mutex) is used anyway.
    Sebastian Wilhelmi committed with Sebastian Wilhelmi Jan 30, 2001
  2. Added debug information for g_mutex_free calls, if G_ERRORCHECK_MUTEX…

    …ES is
    
    2001-01-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* gthread.h (g_cond_wait): Added debug information for
    	g_mutex_free calls, if G_ERRORCHECK_MUTEXES is defined.
    
    	* gthread/gthread-impl.c (g_mutex_free_errorcheck_impl): Fixed it for
    	real. Sorry for this mess. It looked like a real obvious fix, so I
    	didn't check. Bad boy. Added some casts to quiet the compiler.
    Sebastian Wilhelmi committed with Sebastian Wilhelmi Jan 30, 2001
Commits on Jan 29, 2001
  1. Use the same GMutex structure as the configure-generated glibconfig.h

    2001-01-29  Tor Lillqvist  <tml@iki.fi>
    
    	* glibconfig.h.win32.in: Use the same GMutex structure as the
    	configure-generated glibconfig.h does.
    
    	* gstrfuncs.c (g_strsignal): Declare strsignal() on Cygwin, too,
    	says jbdoll@kepri.re.kr.
    tml1024 committed with Tor Lillqvist Jan 29, 2001
  2. hack this so it compiles, needs fixing for real.

    2001-01-29  Havoc Pennington  <hp@redhat.com>
    
    	* gthread-impl.c (g_mutex_free_errorcheck_impl): hack this so it
    	compiles, needs fixing for real.
    Havoc Pennington committed with Havoc Pennington Jan 29, 2001
  3. Broadcast the condition, if there are waiting readers, as all might read

    2001-01-29  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* gthread.c: Broadcast the condition, if there are waiting
    	readers, as all might read at the same time. Only signal the
    	writer thread, if there are no more readers.
    
    	* gthread/gthread-impl.c (g_mutex_free_errorcheck_impl): Add
            new check to errorcheck mutexes to abort, if a locked mutex is freed.
    Sebastian Wilhelmi committed with Sebastian Wilhelmi Jan 29, 2001
Commits on Jan 27, 2001
  1. Need <io.h> for open() and close().

    2001-01-27  Tor Lillqvist  <tml@iki.fi>
    
    	* gmodule.c: (Win32) Need <io.h> for open() and close().
    
    2001-01-27  Tor Lillqvist  <tml@iki.fi>
    
    	* makefile.msc.in: Don't try to compile gmarshal.c on its own.
    tml1024 committed with Tor Lillqvist Jan 27, 2001
Commits on Jan 25, 2001
  1. makefile.mingw.in Protect the rule to rebuild makefile.mingw if

    2001-01-25  Tor Lillqvist  <tml@iki.fi>
    
    	* makefile.mingw.in
    	* */makefile.mingw.in: Protect the rule to rebuild makefile.mingw
    	if makefile.mingw.in has changed with a check if said .in file
    	exists. (This rule is mainly a convenience for yours truly.)
    tml1024 committed with Tor Lillqvist Jan 25, 2001
  2. Typo.

    Tor Lillqvist committed Jan 25, 2001
  3. Socket support rewritten. It was utterly broken, and untested in fact…

    …. We
    
    2001-01-25  Tor Lillqvist  <tml@iki.fi>
    
    	* giowin32.c: Socket support rewritten. It was utterly broken, and
    	untested in fact. We still do use a thread for each socket being
    	watched, but instead of blocking in recv() (which of course was
    	plain stupid for sockets being liste()ed on), we block in
    	select(). The read method for sockets calls recv(). It is now
    	possible for the application to call accept(), recv() or send() in
    	the callback, just like on Unix. Tested with code kindly provided
    	by Andrew Lanoix.
    
    	Rename g_io_channel_win32_new_stream_socket() to
    	g_io_channel_win32_new_socket() as it isn't restricted to stream
    	sockets.
    
    	* gmain.c (g_poll): Related changes in the Win32 version of
    	g_poll(). When polling for messages, always do a PeekMessage()
    	first. We used to miss messages if several were posted between
    	calls to g_poll().
    
    	* giochannel.h: Improve Win32-related comments.
    
    	* gutf8.c: (Win32) Include <stdio.h> for sprintf.
    
    	* tests/gio-test.c: (Win32) Add tests for polling for Windows
    	messages.
    
    	* tests/makefile.mingw.in: Remove superfluous compilation command
    	line.
    tml1024 committed with Tor Lillqvist Jan 25, 2001
Commits on Jan 24, 2001
  1. Don't leak closure->notifiers.

    2001-01-24    <alexl@redhat.com>
    
    	* gclosure.c (g_closure_unref):
    	Don't leak closure->notifiers.
    alexlarsson committed with Alexander Larsson Jan 24, 2001
Commits on Jan 23, 2001
  1. Free the callback (g_source_set_callback): Initialize the callback

    2001-01-23    <alexl@redhat.com>
    
    	* gmain.c (g_source_callback_unref): Free the callback
    	(g_source_set_callback): Initialize the callback refcount
    alexlarsson committed with Alexander Larsson Jan 23, 2001
Commits on Jan 22, 2001
  1. Add Ukrainian translation

    Yuri Syrota committed Jan 22, 2001
Commits on Jan 20, 2001
  1. Even if g_get_codeset() is currently commented out from gutils.h, fix it

    2001-01-20  Tor Lillqvist  <tml@iki.fi>
    
    	* gutils.c (g_get_codeset): (Win32) Even if g_get_codeset() is
    	currently commented out from gutils.h, fix it to return the same
    	CP%d value as g_get_charset().
    tml1024 committed with Tor Lillqvist Jan 20, 2001
Commits on Jan 19, 2001
  1. Fix typo. Same here.

    2001-01-19  Kjartan Maraas  <kmaraas@gnome.org>
    
    	* gconvert.c: Fix typo.
    	* gfileutils.c: Same here.
    Kjartan Maraas committed with Kjartan Maraas Jan 19, 2001
  2. Added Norwegian translation.

    2001-01-18  Kjartan Maraas  <kmaraas@gnome.org>
    
    	* no.po: Added Norwegian translation.
    Kjartan Maraas committed with Kjartan Maraas Jan 19, 2001
Commits on Jan 17, 2001
  1. Add doc comments. (g_win32_get_package_installation_directory): Add one

    2001-01-17  Tor Lillqvist  <tml@iki.fi>
    
    	* gwin32.c (g_win32_getlocale, g_win32_error_message): Add doc
    	comments.
    	(g_win32_get_package_installation_directory): Add one parameter,
    	the name of a DLL in the package. Add possibility to use that to
    	deduce the installation directory if not entered into the
    	Registry. Make the return value dynamically allocated.
    	(g_win32_get_package_installation_subdirectory): New convenience
    	function.
    
    	* gutils.c (GLIB_LOCALE_DIR)
    	* gwin32.h: Adapt accordingly.
    
    	* testglib.c (main): Adapt tests accordingly.
    tml1024 committed with Tor Lillqvist Jan 17, 2001
  2. Optimize for size rather than speed by making _() always call

    Tue Jan 16 23:20:38 2001  Owen Taylor  <otaylor@redhat.com>
    
    	* gutils.c glibintl.h: Optimize for size rather than speed by
    	making _() always call _glib_gettext() instead of conditionally
    	calling gettext() or _glib_gettext_init. glib only uses translated
    	strings in slow error handling code anyways.
    
    	* glibintl.h: g'ify types.
    
    	* Makefile.am: include glibintl.h in _SOURCES
    Owen Taylor committed with Owen Taylor Jan 17, 2001
Commits on Jan 16, 2001
  1. Define ENABLE_NLS and GETTEXT_PACKAGE.

    2001-01-17  Tor Lillqvist  <tml@iki.fi>
    
    	* config.h.win32.in: Define ENABLE_NLS and GETTEXT_PACKAGE.
    
    	* makefile.mingw.in
    	* makefile.msc.in: Use the GNU intl library.
    
    	* gwin32.c (g_win32_get_package_installation_directory): New
    	function. To be used by various GLib-using packages to get their
    	installation directory, which should be stored in the Registry by
    	some installer.
    
    	* gwin32.h: Declare it.
    
    	* testglib.c (main): Test it.
    
    	* gutils.c: On Win32, define GLIB_LOCALE_DIR using
    	g_win32_get_package_installation_directory().
    
    	* glib.def: Update.
    tml1024 committed with Tor Lillqvist Jan 16, 2001
  2. Add @INTLIBS@.

    Mon Jan 15 21:39:06 2001  Owen Taylor  <otaylor@redhat.com>
    
    	* glib-2.0.pc.in (Libs) glib-config-2.0.in: Add @INTLIBS@.
    Owen Taylor committed with Owen Taylor Jan 16, 2001