platform/upstream/glib.git
22 years agoprovide g_newa(ctype, count) on top of g_alloca() like we provide g_new()
Tim Janik [Wed, 14 Nov 2001 07:50:12 +0000 (07:50 +0000)]
provide g_newa(ctype, count) on top of g_alloca() like we provide g_new()

Wed Nov 14 07:34:24 2001  Tim Janik  <timj@gtk.org>

        * glib/galloca.h (g_newa): provide g_newa(ctype, count) on top of
        g_alloca() like we provide g_new() on top of g_malloc().

22 years agoadd API for chaining: g_signal_chain_from_overridden() and
Tim Janik [Wed, 14 Nov 2001 03:02:22 +0000 (03:02 +0000)]
add API for chaining: g_signal_chain_from_overridden() and

Tue Nov 13 23:18:10 2001  Tim Janik  <timj@gtk.org>

        * gsignal.[hc]: add API for chaining:
        g_signal_chain_from_overridden() and g_signal_override_class_closure(),
        implementation yet to come.

        * gtype.[hc], Makefile.am: provide G_LOG_DOMAIN as compile flag.

        * gparam.[hc]: s/g_param_get/g_param_spec_get/ for get_nick,
        get_name and get_blurb, to be consistent with the rest of the
        g_param_spec_*() functions.

        * gparamspecs.[hc]: got rid of bogus GClosure paramspec.
        G_TYPE_CLOSURE is a boxed type already.

22 years agomore docs.
Tim Janik [Wed, 14 Nov 2001 03:01:31 +0000 (03:01 +0000)]
more docs.

Wed Nov 14 03:19:49 2001  Tim Janik  <timj@gtk.org>

        * gobject/tmp/param_value_types.sgml: more docs.

22 years agoPatch from Andrew Taylor to improve tables and reduce relocations by using
Owen Taylor [Wed, 14 Nov 2001 02:32:45 +0000 (02:32 +0000)]
Patch from Andrew Taylor to improve tables and reduce relocations by using

Tue Nov 13 21:25:35 2001  Owen Taylor  <otaylor@redhat.com>

* glib/{gen-unicode-tables.pl,gunibreak.c,gunibreak.h,
gunichartables.h, gunicomp.h, gunidecomp.[ch],
guniprop.c}: Patch from Andrew Taylor to improve
tables and reduce relocations by using indices
rather than pointers. (#64433)

* tests/unicode-normalize.c (main): Fix for changes
to g_strsplit().

22 years agolist parameter and value types.
Tim Janik [Wed, 14 Nov 2001 01:08:19 +0000 (01:08 +0000)]
list parameter and value types.

Tue Nov 13 21:31:58 2001  Tim Janik  <timj@gtk.org>

        * gobject/tmp/param_value_types.sgml: list parameter and
        value types.

        * gobject/tmpl/gparamspec.sgml: more docs for g_param_spec*()
        functions.

        * gobject/*: section cleanups.

22 years agoAPI cleanups. remove g_type_check_flags(), provide g_type_test_flags() as
Tim Janik [Tue, 13 Nov 2001 21:49:13 +0000 (21:49 +0000)]
API cleanups. remove g_type_check_flags(), provide g_type_test_flags() as

Tue Nov 13 22:16:41 2001  Tim Janik  <timj@gtk.org>

        * gtype.[hc]: API cleanups.
        remove g_type_check_flags(), provide g_type_test_flags() as
        a *private* function.
        s/g_type_check_is_a/g_type_check_class_is_a/, private function.
        s/g_type_instance_is_a/g_type_check_instance_is_a/, also private.

22 years agofix standard type macros.
Tim Janik [Tue, 13 Nov 2001 19:02:40 +0000 (19:02 +0000)]
fix standard type macros.

Tue Nov 13 20:02:47 2001  Tim Janik  <timj@gtk.org>

        * gparam.h: fix standard type macros.

22 years agoparam spec updates.
Tim Janik [Tue, 13 Nov 2001 18:49:56 +0000 (18:49 +0000)]
param spec updates.

Tue Nov 13 19:49:16 2001  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/gparamspec.sgml: param spec updates.

22 years agoFix max_tokens == 1 case to match documentation. Add tests.
Darin Adler [Tue, 13 Nov 2001 00:02:30 +0000 (00:02 +0000)]
Fix max_tokens == 1 case to match documentation. Add tests.

* glib/gstrfuncs.c: (g_strsplit): Fix max_tokens == 1 case to
match documentation.
* tests/strfunc-test.c: (main): Add tests.

* tests/.cvsignore: Recently-added test.

22 years agoRemove excess listitem from long description.
Matthias Clasen [Mon, 12 Nov 2001 22:26:21 +0000 (22:26 +0000)]
Remove excess listitem from long description.

        * glib/tmpl/markup.sgml: Remove excess listitem from long
        description.

22 years agoG_TOKEN_ERROR is also an end of stream condition.
Tim Janik [Mon, 12 Nov 2001 14:11:30 +0000 (14:11 +0000)]
G_TOKEN_ERROR is also an end of stream condition.

Mon Nov 12 03:01:28 2001  Tim Janik  <timj@gtk.org>

        * glib/gscanner.c (g_scanner_eof): G_TOKEN_ERROR is also an end
        of stream condition.

22 years agoCorrected duplicate
Keld Jørn Simonsen [Sun, 11 Nov 2001 17:02:08 +0000 (17:02 +0000)]
Corrected duplicate

22 years agoAlso share/glib-2.0.
Tor Lillqvist [Sun, 11 Nov 2001 12:53:36 +0000 (12:53 +0000)]
Also share/glib-2.0.

2001-11-10  Tor Lillqvist  <tml@iki.fi>

* glib-zip.in (DEVZIP): Also share/glib-2.0.

22 years agoDocument GNormalizeMode enum.
Matthias Clasen [Sun, 11 Nov 2001 00:27:27 +0000 (00:27 +0000)]
Document GNormalizeMode enum.

        * glib/tmpl/unicode.sgml: Document GNormalizeMode enum.

        * glib/tmpl/spawn.sgml: Document GSpawnFlags flags.

        * glib/tmpl/error_reporting.sgml: Document GError struct.

        * glib/tmpl/main.sgml: Document GMainContext, GSource and
        GSourceCallbackFuncs structs.

22 years agoAdd a couple of languages that have LANG_* codes in newest headers, just
Tor Lillqvist [Fri, 9 Nov 2001 21:21:27 +0000 (21:21 +0000)]
Add a couple of languages that have LANG_* codes in newest headers, just

2001-11-09  Tor Lillqvist  <tml@iki.fi>

* glib/gwin32.c (g_win32_getlocale): Add a couple of languages
that have LANG_* codes in newest headers, just for completeness.

22 years ago*** empty log message ***
Wang Jian [Fri, 9 Nov 2001 06:37:04 +0000 (06:37 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Wang Jian [Thu, 8 Nov 2001 13:49:31 +0000 (13:49 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Wang Jian [Thu, 8 Nov 2001 13:48:55 +0000 (13:48 +0000)]
*** empty log message ***

22 years agoDon't define LANG_AZERI etc in case those aren't defined in the headers
Tor Lillqvist [Thu, 8 Nov 2001 06:47:33 +0000 (06:47 +0000)]
Don't define LANG_AZERI etc in case those aren't defined in the headers

2001-11-08  Tor Lillqvist  <tml@iki.fi>

* glib/gwin32.c: Don't define LANG_AZERI etc in case those aren't
defined in the headers (MSVC 5.0).
(g_win32_getlocale): Instead, surround uses of those with
#ifdef. Those MSVC 5.0 users that want to build a GLib that
recognizes those languages should download the Platform SDK and
use the headers from it.

2001-11-07  Peter Williams  <peterw@ximian.com>

* glib/gdir.c (g_dir_read_name): Return NULL when done reading.

23 years agoprovide G_CLOSURE_N_NOTIFIERS() for people that need to walk the notifier
Tim Janik [Wed, 7 Nov 2001 03:25:55 +0000 (03:25 +0000)]
provide G_CLOSURE_N_NOTIFIERS() for people that need to walk the notifier

Wed Nov  7 00:56:00 2001  Tim Janik  <timj@gtk.org>

        * gclosure.h: provide G_CLOSURE_N_NOTIFIERS() for people that need
        to walk the notifier list (puhh, black magic, stay-away-warning ;).

23 years agoUse -mwindows.
Tor Lillqvist [Tue, 6 Nov 2001 06:38:36 +0000 (06:38 +0000)]
Use -mwindows.

2001-11-06  Tor Lillqvist  <tml@iki.fi>

* glib/Makefile.am (gspawn_win32_helper_LDFLAGS): Use -mwindows.

23 years agoMinor edits.
Tor Lillqvist [Mon, 5 Nov 2001 20:40:14 +0000 (20:40 +0000)]
Minor edits.

2001-11-05  Tor Lillqvist  <tml@iki.fi>

* README.win32: Minor edits.

* glib-zip.in: Build separate runtime and developer packages.

* glib/libcharset/config.charset (os): Don't need to match mingw
after all, the charset.alias file isn't even used on Win32... (see
localcharset.c).

* glib/makefile.mingw.in: Add gdir.

* glib/glib.def: Add g_dir_* entry points.

23 years agowe need signal.h for G_BREAKPOINT().
Tim Janik [Mon, 5 Nov 2001 17:58:43 +0000 (17:58 +0000)]
we need signal.h for G_BREAKPOINT().

Mon Nov  5 18:59:08 2001  Tim Janik  <timj@gtk.org>

        * gobject.h:
        * gsignal.h: we need signal.h for G_BREAKPOINT().

23 years agoAdd check for dirent.h
Owen Taylor [Mon, 5 Nov 2001 01:47:31 +0000 (01:47 +0000)]
Add check for dirent.h

Sun Nov  4 20:45:21 2001  Owen Taylor  <otaylor@redhat.com>

* configure.in (CFLAGS): Add check for dirent.h

* glib/glib.h glib/Makefile.am: Add gdir.

* glib/gdir.c (g_dir_close): Couple of small tweaks
now that it is actually compiling...

23 years agoIndentation fixes, some rewriting of docs to conform to gtk-doc standard.
Owen Taylor [Mon, 5 Nov 2001 01:35:30 +0000 (01:35 +0000)]
Indentation fixes, some rewriting of docs to conform to gtk-doc standard.

Sun Nov  4 20:29:31 2001  Owen Taylor  <otaylor@redhat.com>

        * glib/gdir.[ch]: Indentation fixes, some rewriting of docs to
        conform to gtk-doc standard.

        * glib/gdir.[ch] (g_dir_close): Remove the boolean
        return value. What would you do if closing failed?
        What would the user do if you printed a warning
        message "closing directory %d failed"?

23 years agosimplified wrapper around dirent functions to improve portability of
Hans Breuer [Mon, 5 Nov 2001 01:15:38 +0000 (01:15 +0000)]
simplified wrapper around dirent functions to improve portability of

2001-11-04  Hans Breuer  <hans@breuer.org>

* glib/gdir.[hc] : (new files) simplified wrapper around dirent
functions to improve portability of downstream libs/apps
* glib/makefile.msc.in : use them
* glib/glib.def : export them
* config.h.win32.in : needing HAVE_DIRENT_H defined

23 years agoAdd a function g_pointer_type_register_static() to register a type derived
Owen Taylor [Sun, 4 Nov 2001 19:02:10 +0000 (19:02 +0000)]
Add a function g_pointer_type_register_static() to register a type derived

Sun Nov  4 14:01:23 2001  Owen Taylor  <otaylor@redhat.com>

        * gvaluetypes.[ch]: Add a function g_pointer_type_register_static()
        to register a type derived from G_TYPE_POINTER.

23 years agoOn Win32, create separate .exp file for module-test.o and link with that.
Tor Lillqvist [Sat, 3 Nov 2001 23:19:25 +0000 (23:19 +0000)]
On Win32, create separate .exp file for module-test.o and link with that.

2001-11-04  Tor Lillqvist  <tml@iki.fi>

* tests/Makefile.am: On Win32, create separate .exp file for
module-test.o and link with that. Otherwise the GNU linker doesn't
export the g_clash_func.

23 years agostatic correctness
Hans Breuer [Sat, 3 Nov 2001 16:51:10 +0000 (16:51 +0000)]
static correctness

2001-11-03  Hans Breuer  <hans@breuer.org>

* glib/giowin32.c : static correctness

* glib/gwin32.c : some more #if defined (SUBLANG_* ...
(g_win32_get_package_installation_subdirectory) use g_build_filename
instead of duplicating its logic

* glib/glib.def : removed duplicates, added mising, removed
compat cruft

23 years agogobject-query needs gmarshal.[hc,stings] so build it after them. Add
Hans Breuer [Sat, 3 Nov 2001 16:49:27 +0000 (16:49 +0000)]
gobject-query needs gmarshal.[hc,stings] so build it after them. Add

2001-11-03  Hans Breuer  <hans@breuer.org>

* makefile.msc.in : gobject-query needs gmarshal.[hc,stings]
so build it after them. Add gsourceclosure.obj.

* gobject.def : removed duplicates, added mising

23 years agoremove public signal.h include.
Tim Janik [Fri, 2 Nov 2001 18:56:51 +0000 (18:56 +0000)]
remove public signal.h include.

Fri Nov  2 19:54:16 2001  Tim Janik  <timj@gtk.org>

        * glib/gbacktrace.h (G_BREAKPOINT): remove public signal.h include.

23 years agoRecurse with may_block = FALSE, so we don't get into the pathology where
Owen Taylor [Fri, 2 Nov 2001 02:56:08 +0000 (02:56 +0000)]
Recurse with may_block = FALSE, so we don't get into the pathology where

Thu Nov  1 21:48:43 2001  Owen Taylor  <otaylor@redhat.com>

        * tests/mainloop-test.c (recurser_idle): Recurse
        with may_block = FALSE, so we don't get into
        the pathology where the recurser_idle recurses
        for 10 iterations, and the only thing that is
        running is the recurser idle, which adds
        another recursion for each of those 10 iterations
        and....

        * tests/mainloop-test.c (create_crawler): Fix race
        condition where a crawler source could be destroyed
        before it was added to the crawler array.

        * test/Makefile.am: Add mainloop-test back.

23 years agoUpdated Slovenian translation
Andraz Tori [Fri, 2 Nov 2001 00:21:50 +0000 (00:21 +0000)]
Updated Slovenian translation

23 years agoAdded ro (Romanian) to ALL_LINGUAS added
Marius Andreiana [Thu, 1 Nov 2001 13:45:55 +0000 (13:45 +0000)]
Added ro (Romanian) to ALL_LINGUAS added

2001-11-01  Marius Andreiana  <mandreiana@yahoo.com>

        * configure.in: Added ro (Romanian) to ALL_LINGUAS
* po/ro.po: added

23 years agofix to the locking so we don't hang
Havoc Pennington [Thu, 1 Nov 2001 00:01:50 +0000 (00:01 +0000)]
fix to the locking so we don't hang

2001-10-31  Havoc Pennington  <hp@redhat.com>

* glib/gmain.c (g_main_loop_run): fix to the locking so we don't
hang

23 years agoAdd gmodule-dyld.c
Dan Winship [Wed, 31 Oct 2001 16:53:25 +0000 (16:53 +0000)]
Add gmodule-dyld.c

* Makefile.am (EXTRA_DIST): Add gmodule-dyld.c

23 years agoMake --with-threads=none mean, that we want thread support, but no default
Sebastian Wilhelmi [Wed, 31 Oct 2001 15:40:52 +0000 (15:40 +0000)]
Make --with-threads=none mean, that we want thread support, but no default

2001-10-31  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* configure.in: Make --with-threads=none mean, that we want thread
support, but no default thread implementation. This also was the
original intention, but disapeared around 1998... So it doesn't
seem to be the most requested feature, but we went far to make it
possible in the code, so I resurrected this feature.

* INSTALL.in: Describe the --enable-gc-friendly, --disable-threads
and --with-threads options of configure.

23 years agoUse the right conditional (G_THREADS_ENABLED instead of G_THREAD_ENABLED).
Sebastian Wilhelmi [Wed, 31 Oct 2001 13:49:53 +0000 (13:49 +0000)]
Use the right conditional (G_THREADS_ENABLED instead of G_THREAD_ENABLED).

2001-10-31  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* glib/gmain.c (g_main_context_acquire, g_main_context_release,
g_main_context_wait): Use the right conditional (G_THREADS_ENABLED
instead of G_THREAD_ENABLED). Also remove wrong
return-statement. Unfortunately mainloop-test still does fail. Many
thanks to Andrea Fazekas <fazek@ludens.elte.hu> for spotting
this. (#63455)

23 years agoFix documentation. Document g_log_domain_glib, gunichar, gunichar2,
Matthias Clasen [Tue, 30 Oct 2001 23:56:30 +0000 (23:56 +0000)]
Fix documentation. Document g_log_domain_glib, gunichar, gunichar2,

        * gobject/gsourceclosure.c (g_source_set_closure): Fix documentation.
        * glib/tmpl/messages.sgml, glib/tmpl/unicode.sgml:
        Document g_log_domain_glib, gunichar, gunichar2, GUnicodeType,
        GUnicodeBreakType.

23 years agoshut up CVS
Sven Neumann [Tue, 30 Oct 2001 16:55:37 +0000 (16:55 +0000)]
shut up CVS

23 years agoNew file, used to build distribution packages for Windows.
Tor Lillqvist [Mon, 29 Oct 2001 22:33:34 +0000 (22:33 +0000)]
New file, used to build distribution packages for Windows.

2001-10-30  Tor Lillqvist  <tml@iki.fi>

* glib-zip.in: New file, used to build distribution packages for
Windows.

* configure.in: Expand it.

* Makefile.am: Distribute it.

* config.h.win32.in: Update to match currently produced config.h

23 years agoFix non-Intel/-Alpha version of the G_BREAKPOINT macro to include
Daniel Egger [Mon, 29 Oct 2001 18:49:28 +0000 (18:49 +0000)]
Fix non-Intel/-Alpha version of the G_BREAKPOINT macro to include

2001-10-29  Daniel Egger  <degger@fhm.edu>

* glib/gbacktrace.h: Fix non-Intel/-Alpha version of the
G_BREAKPOINT macro to include <signal.h> and use SIGTRAP.

* glib/gmessages.c: Conditionalise definition of args2
depending on the definition of HAVE_VSNPRINTF to avoid
compiler warning.

* gobject/testgruntime.c
* tests/patterntest.c: Include <string.h> to avoid warnings.

23 years agoDon't try to use PKG_CONFIG when we didn't find it. (#62944, Eric Lemings)
Owen Taylor [Mon, 29 Oct 2001 16:48:40 +0000 (16:48 +0000)]
Don't try to use PKG_CONFIG when we didn't find it. (#62944, Eric Lemings)

Mon Oct 29 11:29:37 2001  Owen Taylor  <otaylor@redhat.com>

        * m4macros/glib-2.0.m4: Don't try to use PKG_CONFIG
        when we didn't find it. (#62944, Eric Lemings)

        * m4macros/glib-2.0.m4: Fix problem with spaces around =
        sign in assignment. (#63209, Arkadiusz Miskiewicz)

23 years agoGenerate glib-mkenums from glib-mkenums.in, substituting in path to perl.
Owen Taylor [Mon, 29 Oct 2001 16:13:36 +0000 (16:13 +0000)]
Generate glib-mkenums from glib-mkenums.in, substituting in path to perl.

Mon Oct 29 11:05:15 2001  Owen Taylor  <otaylor@redhat.com>

* glib-mkenums.in: Generate glib-mkenums from glib-mkenums.in,
substituting in path to perl.  (#63093, Dan Winship)

* Makefile.am (bin_SCRIPTS): Remove hack to copy glib-mkenums
from srcdir.

Mon Oct 29 10:59:36 2001  Owen Taylor  <otaylor@redhat.com>

* configure.in: Check for path to Perl, add gobject/glib-mkenums

23 years agoDist ref-add.sin, ref-del.sin. (#63092, Dan Winship)
Owen Taylor [Mon, 29 Oct 2001 15:58:58 +0000 (15:58 +0000)]
Dist ref-add.sin, ref-del.sin. (#63092, Dan Winship)

Mon Oct 29 10:55:12 2001  Owen Taylor  <otaylor@redhat.com>

* glib/libcharset/Makefile.am (EXTRA_DIST): Dist
ref-add.sin, ref-del.sin. (#63092, Dan Winship)

23 years agoConditionalize thread related calls. (#63091)
Sebastian Wilhelmi [Mon, 29 Oct 2001 11:09:53 +0000 (11:09 +0000)]
Conditionalize thread related calls. (#63091)

2001-10-29  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* glib/gmain.c (g_main_loop_quit): Conditionalize thread related
calls. (#63091)

23 years agoAdd missing g_pattern_match_simple and g_pattern_spec_equal.
Tor Lillqvist [Sun, 28 Oct 2001 21:05:03 +0000 (21:05 +0000)]
Add missing g_pattern_match_simple and g_pattern_spec_equal.

2001-10-28  Tor Lillqvist  <tml@iki.fi>

* glib/glib.def: Add missing g_pattern_match_simple and
g_pattern_spec_equal.

* glib/gwin32.c (g_win32_get_package_installation_subdirectory):
Set separator correctly.

* glib/libcharset/config.charset (os): Match also mingw*.

* tests/testglib.c (main): (Win32): Print the lib/locale
subdirectory, as that is what actually gets used.

23 years agoversion of gettextize which uses glib's po/Makefile.in.in and
jacob berkman [Sun, 28 Oct 2001 16:34:24 +0000 (16:34 +0000)]
version of gettextize which uses glib's po/Makefile.in.in and

2001-10-28  jacob berkman  <jacob@ximian.com>

* glib-gettextize.in: version of gettextize which uses glib's
po/Makefile.in.in and po2tbl.sed.in, and no longer copies in intl/
or installs ChangeLog entries in po/ChangeLog

* configure.in (AC_OUTPUT): generate glib-gettextize

* Makefile.am (bin_SCRIPTS): install glib-gettextize

2001-10-28  jacob berkman  <jacob@ximian.com>

* Makefile.in.in: install Makefile.in.in and po2tbl.sed.in for use
with glib-gettextize by other packages

23 years agoRemove $(srcdir)/html before building HTML to prevent stale files. Dist GLIB_1_3_10
Owen Taylor [Fri, 26 Oct 2001 15:58:11 +0000 (15:58 +0000)]
Remove $(srcdir)/html before building HTML to prevent stale files. Dist

Fri Oct 26 11:42:50 2001  Owen Taylor  <otaylor@redhat.com>

* */Makefile.am: Remove $(srcdir)/html before building
HTML to prevent stale files. Dist all files in html/

23 years agoDon't default to win32 thread implementation on Cygwin. The gthread-win32
Tor Lillqvist [Fri, 26 Oct 2001 05:38:32 +0000 (05:38 +0000)]
Don't default to win32 thread implementation on Cygwin. The gthread-win32

2001-10-26  Tor Lillqvist  <tml@iki.fi>

* configure.in: Don't default to win32 thread implementation on
Cygwin. The gthread-win32 implementation really is for Win32 with
MS runtime only. Let configure find pthreads when configuring for
Cygwin.

23 years agoAdd ../* to PATH before running tests to find DLLs.
Tor Lillqvist [Thu, 25 Oct 2001 23:50:50 +0000 (23:50 +0000)]
Add ../* to PATH before running tests to find DLLs.

2001-10-26  Tor Lillqvist  <tml@iki.fi>

* tests/makefile.msc.in: Add ../* to PATH before running
tests to find DLLs.

23 years agoUpdate.
Tor Lillqvist [Thu, 25 Oct 2001 23:40:38 +0000 (23:40 +0000)]
Update.

2001-10-26  Tor Lillqvist  <tml@iki.fi>

* glib/glib.def: Update.

* tests/makefile.{mingw,msc}.in: Add ../* to PATH before running
tests to find DLLs. Separate the interactive tests, don't run them
in the check target.

* */makefile.msc.in: Include make.msc from GLib's build directory.

23 years agoUpdates.
Tor Lillqvist [Thu, 25 Oct 2001 22:59:20 +0000 (22:59 +0000)]
Updates.

2001-10-26  Tor Lillqvist  <tml@iki.fi>

* README.win32: Updates.

* tests/makefile.mingw.in
* tests/makefile.msc.in: Remove mainloop-test here, too.

gobject:

* makefile.mingw.in: When running glib-genmarshal, set PATH to
include ../glib.

23 years agoVersion 1.3.10, interface age, binary age = 0.
Owen Taylor [Thu, 25 Oct 2001 18:51:58 +0000 (18:51 +0000)]
Version 1.3.10, interface age, binary age = 0.

Wed Oct 24 11:10:54 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Version 1.3.10, interface age, binary age = 0.

        * NEWS: Updates

Thu Oct 25 12:01:41 2001  Owen Taylor  <otaylor@redhat.com>

        * tests/Makefile.am: Temporarily remove mainloop-test, since it
        prevents distcheck.

23 years agodocs on why the deprecated functions are deprecated.
Havoc Pennington [Thu, 25 Oct 2001 14:38:45 +0000 (14:38 +0000)]
docs on why the deprecated functions are deprecated.

2001-10-25  Havoc Pennington  <hp@pobox.com>

* glib/tmpl/string_utils.sgml: docs on why the deprecated
functions are deprecated.

23 years agoAdd g_strtod & co.
Alex Larsson [Wed, 24 Oct 2001 18:00:11 +0000 (18:00 +0000)]
Add g_strtod & co.

2001-10-24  Alex Larsson  <alexl@redhat.com>

* docs/reference/glib/glib-sections.txt:
Add g_strtod & co.

* docs/reference/glib/tmpl/string_utils.sgml:
Add docs for G_ASCII_DTOSTR_BUF_SIZE.

* glib/gstrfuncs.[ch]:
Added g_ascii_strtod, g_ascii_dtostr and g_ascii_formatd.

* tests/Makefile.am:
* tests/strtod-test.c:
Add tests for g_ascii_strtod & co.

23 years agoTypo: GLIB_MICRO_VERSION and GLIB_MINOR_VERSION were swapped.
Tor Lillqvist [Tue, 23 Oct 2001 20:19:50 +0000 (20:19 +0000)]
Typo: GLIB_MICRO_VERSION and GLIB_MINOR_VERSION were swapped.

2001-10-23  Tor Lillqvist  <tml@iki.fi>

* config.h.win32.in: Typo: GLIB_MICRO_VERSION and
GLIB_MINOR_VERSION were swapped.

23 years agoRemove G_HARDCODED_PATH_WRAPPER, Owen didn't like it.
Tor Lillqvist [Tue, 23 Oct 2001 09:26:54 +0000 (09:26 +0000)]
Remove G_HARDCODED_PATH_WRAPPER, Owen didn't like it.

2001-10-23  Tor Lillqvist  <tml@iki.fi>

* glib/gutils.h: Remove G_HARDCODED_PATH_WRAPPER, Owen didn't like
  it.

* glib/gutils.c: Instead, expand it on Win32 as
  _glib_get_locale_dir(), and #define GLIB_LOCALE_DIR as a call to
  it.

23 years agoAdd macros G_WIN32_DLLMAIN_FOR_DLL_NAME and G_HARDCODED_PATH_WRAPPER.
Tor Lillqvist [Mon, 22 Oct 2001 23:19:19 +0000 (23:19 +0000)]
Add macros G_WIN32_DLLMAIN_FOR_DLL_NAME and G_HARDCODED_PATH_WRAPPER.

2001-10-23  Tor Lillqvist  <tml@iki.fi>

* glib/gutils.h: Add macros G_WIN32_DLLMAIN_FOR_DLL_NAME and
G_HARDCODED_PATH_WRAPPER. These are used to avoid hardcoding path
names into Windows DLLs.

* glib/gutils.c: Use them for GLIB_LOCALEDIR.

* glib/gwin32.c (get_package_directory_from_module): Plug a small
memory leak. Minor code reordering.
(g_win32_get_package_installation_subdirectory):  Allow empty subdir.

23 years agoTypo.
Tor Lillqvist [Mon, 22 Oct 2001 22:24:11 +0000 (22:24 +0000)]
Typo.

2001-10-23  Tor Lillqvist  <tml@iki.fi>

* config.h.win32.in: Typo.

* glibconfig.h.win32.in: Minor update to correspond to what
configure now generates.

23 years agoIf we have built the MSVC import library, install it. Install the gcc
Tor Lillqvist [Mon, 22 Oct 2001 22:14:26 +0000 (22:14 +0000)]
If we have built the MSVC import library, install it. Install the gcc

2001-10-23  Tor Lillqvist  <tml@iki.fi>

* {glib,gmodule,gobject,gthread}/Makefile.am: (Win32): If we
have built the MSVC import library, install it. Install the
gcc import library. Also support uninstall.

23 years agoUpdates glib/po/da.po GLIB_1_3_9
Keld Jørn Simonsen [Sun, 21 Oct 2001 14:05:58 +0000 (14:05 +0000)]
Updates glib/po/da.po

Updates
glib/po/da.po

23 years agoNew translations from Norwegian
Keld Jørn Simonsen [Sat, 20 Oct 2001 21:42:37 +0000 (21:42 +0000)]
New translations from Norwegian
glade2/po/da.po glib/po/da.po libbonobo/po/da.po
libbonoboui/po/da.po libgnome/po/da.po libgnomecanvas/po/da.po
libgnomefilesel/po/da.po libgnomeprint/po/da.po
libgnomeui/po/da.po

23 years agoFix test for lib.exe. Can't set ms_librarian before calling AC_CHECK_PROG,
Tor Lillqvist [Fri, 19 Oct 2001 20:22:15 +0000 (20:22 +0000)]
Fix test for lib.exe. Can't set ms_librarian before calling AC_CHECK_PROG,

2001-10-19  Tor Lillqvist  <tml@iki.fi>

* configure.in: Fix test for lib.exe. Can't set ms_librarian
before calling AC_CHECK_PROG, as it doesn't actually check
anything if the result variable has been preset...

23 years agoUse another LOCK for g_prgname to avoid deadlocking. (#62606)
Sebastian Wilhelmi [Fri, 19 Oct 2001 08:09:22 +0000 (08:09 +0000)]
Use another LOCK for g_prgname to avoid deadlocking. (#62606)

2001-10-19  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* glib/gutils.c (g_set_prgname, g_get_prgname): Use another LOCK
for g_prgname to avoid deadlocking. (#62606)

23 years agoCheck also ac_cv_sizeof___int64 when requiring a 64-bit type.
Tor Lillqvist [Thu, 18 Oct 2001 21:07:29 +0000 (21:07 +0000)]
Check also ac_cv_sizeof___int64 when requiring a 64-bit type.

2001-10-19  Tor Lillqvist  <tml@iki.fi>

* configure.in: Check also ac_cv_sizeof___int64 when requiring a
64-bit type.

23 years agoFix a typo: to_codeset => from_codeset. (#58195, #55152)
Hidetoshi Tajima [Wed, 17 Oct 2001 16:58:26 +0000 (16:58 +0000)]
Fix a typo: to_codeset => from_codeset. (#58195, #55152)

* glib/gconvert.c (g_iconv_open):
Fix a typo: to_codeset => from_codeset.
(#58195, #55152)

23 years agofixed typo.
Sven Neumann [Mon, 15 Oct 2001 15:48:24 +0000 (15:48 +0000)]
fixed typo.

2001-10-15  Sven Neumann  <sven@gimp.org>

* glib/tmpl/random_numbers.sgml: fixed typo.

23 years agoTypo fixes.
Matthias Clasen [Sat, 13 Oct 2001 22:11:04 +0000 (22:11 +0000)]
Typo fixes.

        * glib-genmarshal.1, glib-mkenums.1: Typo fixes.

23 years agoUpdated Slovak translation.
Stanislav Visnovsky [Sat, 13 Oct 2001 17:11:48 +0000 (17:11 +0000)]
Updated Slovak translation.

2001-10-13  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

* sk.po: Updated Slovak translation.

23 years agoUpdated russian translation.
Valek Frob [Sat, 13 Oct 2001 11:37:12 +0000 (11:37 +0000)]
Updated russian translation.

23 years agomake struct _GPatternSpec and GMatchType private. (g_pattern_equal): new
Tim Janik [Sat, 13 Oct 2001 05:54:10 +0000 (05:54 +0000)]
make struct _GPatternSpec and GMatchType private. (g_pattern_equal): new

Fri Oct 12 18:24:02 2001  Tim Janik  <timj@gtk.org>

        * glib/gpattern.[hc]: make struct _GPatternSpec and GMatchType
        private.
        (g_pattern_equal): new function to return equality of two patterns
        (required because GPatternSpec is private now).
        (g_pattern_spec_new): fix bug wrg wildcard counting which produced
        incorrect pattern specs (discovered by Matthias Clasen).
        optimized code so we just keep one compiled pattern string now.
        correctly canonicalize patterns. reduce string walks, optimize
        decision about MATCH_ALL vs. MATCH_ALL_TAIL.
        (g_pattern_match_string): call just g_pattern_match() with NULL
        reversed string.
        (g_pattern_match): allow NULL reversed strings now, reverse_dup
        strings on demand.

        * tests/patterntest.c (test_compilation): added an extended testcase
        for pattern matching from Matthias Clasen <matthiasc@poet.de>.

Sat Oct 13 06:58:23 2001  Tim Janik  <timj@gtk.org>

        * glib/tmpl/patterns.sgml: amended documentation.

23 years agoUpdated Slovak translation.
Stanislav Visnovsky [Fri, 12 Oct 2001 16:56:11 +0000 (16:56 +0000)]
Updated Slovak translation.

2001-10-12  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

* sk.po: Updated Slovak translation.

23 years agocosmetic fixups.
Tim Janik [Fri, 12 Oct 2001 16:42:48 +0000 (16:42 +0000)]
cosmetic fixups.

Fri Oct 12 18:40:18 2001  Tim Janik  <timj@gtk.org>

        * cosmetic fixups.

23 years agoUpdates.
Matthias Clasen [Thu, 11 Oct 2001 20:40:55 +0000 (20:40 +0000)]
Updates.

       * glib/tmpl/patterns.sgml, glib/tmpl/shell.sgml: Updates.

23 years ago(ac_cv_sizeof_long_long): Avoid '==' and '-a' in 'test's.
Raja R Harinath [Thu, 11 Oct 2001 05:15:46 +0000 (05:15 +0000)]
(ac_cv_sizeof_long_long): Avoid '==' and '-a' in 'test's.

Please read the 'autoconf' manual on writing portable tests.

23 years agoRemove G_HAVE_GINT64 conditionalization.
Joshua N Pritikin [Thu, 11 Oct 2001 03:06:49 +0000 (03:06 +0000)]
Remove G_HAVE_GINT64 conditionalization.

* glib/gmessages.c glib/gtypes.h: Remove G_HAVE_GINT64
conditionalization.

23 years agoUn-conditionalize and require a 64-bit integer type.
Joshua N Pritikin [Thu, 11 Oct 2001 02:43:40 +0000 (02:43 +0000)]
Un-conditionalize and require a 64-bit integer type.

* configure.in: Un-conditionalize and require a 64-bit integer
type.

23 years agoFill in missing support for gint64 & guint64 (#59254).
Joshua N Pritikin [Thu, 11 Oct 2001 02:43:04 +0000 (02:43 +0000)]
Fill in missing support for gint64 & guint64 (#59254).

* glib-genmarshal.c gparamspecs.[ch] gtype.[ch] gvalue.h
gvaluecollector.h gvaluetypes.[ch]: Fill in missing support for
gint64 & guint64 (#59254).

* Unconditionalize same (compile with or without G_HAVE_INT64).

23 years agoFix order of *_PARAM_SPEC_ULONG defines.
Joshua N Pritikin [Wed, 10 Oct 2001 22:38:20 +0000 (22:38 +0000)]
Fix order of *_PARAM_SPEC_ULONG defines.

* gparamspecs.h (G_IS_PARAM_SPEC_FLAGS): Fix order of
*_PARAM_SPEC_ULONG defines.

23 years agoMore Unix compatibility: Add "lib" prefix in case the module name doesn't
Tor Lillqvist [Tue, 9 Oct 2001 20:40:19 +0000 (20:40 +0000)]
More Unix compatibility: Add "lib" prefix in case the module name doesn't

2001-10-09  Tor Lillqvist  <tml@iki.fi>

* gmodule-win32.c (_g_module_build_path): More Unix compatibility:
Add "lib" prefix in case the module name doesn't already have it,
except if it ends with ".dll" (in which case it probably already
is the name of an existing DLL). This is needed for instance for
the gdk-pixbuf loaders, which are called "lib*.dll", but
gdk-pixbuf-io calls g_module_build_path without the "lib" prefix.

23 years agoupdated Catalan file
Pablo Saratxaga [Mon, 8 Oct 2001 14:53:05 +0000 (14:53 +0000)]
updated Catalan file

23 years agodoc builds.
Tim Janik [Sat, 6 Oct 2001 09:25:09 +0000 (09:25 +0000)]
doc builds.

23 years agoDocument G_HOOK_FLAG_USER_SHIFT.
Matthias Clasen [Fri, 5 Oct 2001 20:53:02 +0000 (20:53 +0000)]
Document G_HOOK_FLAG_USER_SHIFT.

        * glib/tmpl/hooks.sgml: Document G_HOOK_FLAG_USER_SHIFT.

        * glib/tmpl/trash_stacks.sgml: Document trash stacks.

        * glib/tmpl/async_queues.sgml, glib/tmpl/caches.sgml,
        glib/tmpl/completion.sgml, glib/tmpl/patterns.sgml,
        glib/tmpl/numerical.sgml, glib/tmpl/random_numbers.sgml,
        glib/tmpl/relations.sgml, glib/tmpl/modules.sgml: Update.

23 years agoupdated Azeri and Basque files
Pablo Saratxaga [Fri, 5 Oct 2001 14:37:38 +0000 (14:37 +0000)]
updated Azeri and Basque files

23 years agoAvoid 'test -a'.
Raja R Harinath [Fri, 5 Oct 2001 01:36:56 +0000 (01:36 +0000)]
Avoid 'test -a'.

23 years agoUpdate.
Matthias Clasen [Fri, 5 Oct 2001 00:06:48 +0000 (00:06 +0000)]
Update.

* glib/tmpl/conversions.sgml: Update.

23 years agoUpdate.
Matthias Clasen [Thu, 4 Oct 2001 23:51:36 +0000 (23:51 +0000)]
Update.

        * glib/tmpl/patterns.sgml: Update.

23 years agoUpdate.
Matthias Clasen [Thu, 4 Oct 2001 22:26:23 +0000 (22:26 +0000)]
Update.

        * glib/tmpl/hooks.sgml, glib/tmpl/spawn.sgml,
        glib/tmpl/macros_misc.sgml: Update.

        * glib/tmpl/linked_lists_double.sgml, glib/tmpl/trees-binary.sgml,
        glib/glib-sections.txt: Document GCompareDataFunc.

23 years agoDocumentation update.
Matthias Clasen [Thu, 4 Oct 2001 22:23:03 +0000 (22:23 +0000)]
Documentation update.

        * glib/gwin32.c: Documentation update.

23 years agoadd config.charset
Havoc Pennington [Thu, 4 Oct 2001 19:33:01 +0000 (19:33 +0000)]
add config.charset

2001-10-04  Havoc Pennington  <hp@redhat.com>

* glib/libcharset/Makefile.am (EXTRA_DIST): add config.charset

23 years agoAdd missing G_HAVE_GINT64 conditionalization.
Owen Taylor [Thu, 4 Oct 2001 05:13:12 +0000 (05:13 +0000)]
Add missing G_HAVE_GINT64 conditionalization.

Thu Oct  4 01:10:52 2001  Owen Taylor  <otaylor@redhat.com>

        * gparamspecs.h: Add missing G_HAVE_GINT64 conditionalization.

23 years agoNew function (DLL entry point) to tuck away actual DLL name.
Tor Lillqvist [Wed, 3 Oct 2001 20:19:13 +0000 (20:19 +0000)]
New function (DLL entry point) to tuck away actual DLL name.

2001-10-03  Tor Lillqvist  <tml@iki.fi>

* glib/gutils.c (Win32) (DllMain): New function (DLL entry point)
to tuck away actual DLL name.
(GLIB_LOCALE_DIR) Use actual DLL name, instead of assuming one
naming convention for DLLs.

* glib/glib.def: g_string_append_printf.

23 years agoAdd support for G_TYPE_INT64 and storing it in GValue (Patch from Mathieu
Owen Taylor [Wed, 3 Oct 2001 20:14:21 +0000 (20:14 +0000)]
Add support for G_TYPE_INT64 and storing it in GValue (Patch from Mathieu

Wed Oct  3 16:02:24 2001  Owen Taylor  <otaylor@redhat.com>

* glib-genmarshal.c gparamspecs.[ch] gvalue.h
        gobject/gvaluetypes.[ch]: Add support for G_TYPE_INT64
and storing it in GValue (Patch from Mathieu Lacage, #59254.)

23 years agos/retrive/retrieve/
jacob berkman [Wed, 3 Oct 2001 19:46:05 +0000 (19:46 +0000)]
s/retrive/retrieve/

2001-10-03  jacob berkman  <jacob@ximian.com>

* gtype.c (type_iface_retrieve_holder_info_Wm):
(type_iface_vtable_init_Wm):
(type_iface_vtable_finalize_Wm):
(g_type_class_ref):

* gobject.c (g_object_get_property): s/retrive/retrieve/

23 years agos/retrive/retrieve/
jacob berkman [Wed, 3 Oct 2001 19:45:04 +0000 (19:45 +0000)]
s/retrive/retrieve/

2001-10-03  jacob berkman  <jacob@ximian.com>

* libgplugin_a.c: (gplugin_a_module_func):
* gmodule.h: s/retrive/retrieve/

23 years agodocumentation update. add documentation. update docs. Remove references to
Matthias Clasen [Tue, 2 Oct 2001 23:09:51 +0000 (23:09 +0000)]
documentation update. add documentation. update docs. Remove references to

        * glib/gstrfuncs.c, glib/giochannel.c: documentation update.
        * glib/gqueue.c: add documentation.
        * glib/tmpl/iochannel.sgml, glib/tmpl/macros_misc.sgml,
          glib/tmpl/queue.sgml: update docs.
        * glib/tmpl/modules.sgml, glib/tmpl/threads.sgml: Remove
          references to glib-config.

23 years agolet the compatibility definition point to the new name
Sven Neumann [Tue, 2 Oct 2001 12:13:14 +0000 (12:13 +0000)]
let the compatibility definition point to the new name

2001-10-02  Sven Neumann  <sven@gimp.org>

* glib/gstring.h (g_string_sprintfa): let the compatibility definition
point to the new name g_string_append_printf().

23 years agoMore markup fixes and completions.
Matthias Clasen [Mon, 1 Oct 2001 22:54:48 +0000 (22:54 +0000)]
More markup fixes and completions.

* glib/tmpl/iochannels.sgml, glib/tmpl/shell.sgml,
glib/tmpl/spawn.sgml, glib/tmpl/memory.sgml,
glib/tmpl/macros.sgml, glib/tmpl/completion.sgml,
glib/tmpl/main.sgml, glib/tmpl/messages.sgml,
glib/tmpl/misc_utils.sgml, glib/tmpl/threads.sgml,
glib/tmpl/trees-nary.sgml, glib/tmpl/string_utils.sgml:
More markup fixes and completions.

23 years agoConvert G_CONVERT_ERROR_NOT_ABSOLUTE_FILE_URI and
Alex Larsson [Mon, 1 Oct 2001 20:40:05 +0000 (20:40 +0000)]
Convert G_CONVERT_ERROR_NOT_ABSOLUTE_FILE_URI and

2001-10-01  Alex Larsson  <alexl@redhat.com>

* glib/gconvert.[ch]:
Convert G_CONVERT_ERROR_NOT_ABSOLUTE_FILE_URI and
G_CONVERT_ERROR_INVALID_URI to G_CONVERT_ERROR_BAD_URI.

* tests/uri-test.c:
Update tests