platform/upstream/glib.git
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

23 years agoRename g_string_printfa() to g_string_append_printf(). (#61041, Havoc
Owen Taylor [Mon, 1 Oct 2001 20:27:04 +0000 (20:27 +0000)]
Rename g_string_printfa() to g_string_append_printf(). (#61041, Havoc

Mon Oct  1 16:01:24 2001  Owen Taylor  <otaylor@redhat.com>

* glib/gstring.[ch] glib/grel.c: Rename g_string_printfa()
to g_string_append_printf(). (#61041, Havoc Pennington.)

23 years agoRename g_string_printfa(). to g_string_append_printf().
Owen Taylor [Mon, 1 Oct 2001 20:26:11 +0000 (20:26 +0000)]
Rename g_string_printfa(). to g_string_append_printf().

Mon Oct  1 15:59:46 2001  Owen Taylor  <otaylor@redhat.com>

        * glib/tmpl/strings.sgml docs/glib-sections.txt: Rename
        g_string_printfa(). to g_string_append_printf().

23 years agoMove all *_error_quark() unctions to the 'Private' sections. (#61472)
Matthias Clasen [Mon, 1 Oct 2001 18:57:18 +0000 (18:57 +0000)]
Move all *_error_quark() unctions to the 'Private' sections. (#61472)

* glib/glib-sections.txt: Move all *_error_quark()
unctions to the 'Private' sections. (#61472)

23 years agoDocumentation cleanups. (#61487)
Tor Lillqvist [Mon, 1 Oct 2001 18:54:27 +0000 (18:54 +0000)]
Documentation cleanups. (#61487)

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

* glib/gwin32.c: Documentation cleanups. (#61487)

23 years agomake third argument a gboolean. (g_scanner_add_symbol,
Matthias Clasen [Mon, 1 Oct 2001 18:23:20 +0000 (18:23 +0000)]
make third argument a gboolean. (g_scanner_add_symbol,

* glib/gscanner.h (GScannerMsgFunc): make third argument a gboolean.
(g_scanner_add_symbol, g_scanner_remove_symbol,
g_scanner_foreach_symbol): mark these
G_DISABLE_DEPRECATED. (#61469)

* glib/gscanner.c (g_scanner_msg_handler): make third argument gboolean. (#61468)

23 years agomake third argument a gboolean. (g_scanner_add_symbol,
Matthias Clasen [Mon, 1 Oct 2001 18:21:57 +0000 (18:21 +0000)]
make third argument a gboolean. (g_scanner_add_symbol,

* glib/gscanner.h (GScannerMsgFunc): make third argument a gboolean.
(g_scanner_add_symbol, g_scanner_remove_symbol,
g_scanner_foreach_symbol): mark these
G__DISABLE_DEPRECATED. (#61469)

* glib/gscanner.c (g_scanner_msg_handler): make third argument gboolean. (#61468)

23 years agodocument allowed uses for 'out' parameters.
Matthias Clasen [Mon, 1 Oct 2001 18:19:02 +0000 (18:19 +0000)]
document allowed uses for 'out' parameters.

* glib/tmpl/macros.sgml (G_CONST_RETURN): document
allowed uses for 'out' parameters.

23 years agoconsistently refer to GTK+.
Matthias Clasen [Mon, 1 Oct 2001 18:11:58 +0000 (18:11 +0000)]
consistently refer to GTK+.

* glib/tmpl/caches.sgml, glib/tmpl/datalist.sgml,
glib/tmpl/hash_tables.sgml, glib/tmpl/messages.sgml,
glib/tmpl/misc_utils.sgml: consistently refer to GTK+.

* glib/tmpl/error_reporting.sgml, glib/tmpl/fileutils.sgml,
glib/tmpl/windows.sgml, glib/tmpl/modules.sgml,
glib/tmpl/linked_lists_single.sgml, glib/tmpl/trees-nary.sgml,
glib/tmpl/trees-binary.sgml, glib/tmpl/timers.sgml: Markup fixes.

23 years agoglib/gconvert.c glib/gspawn-win32.c some minor documentation fixes.
Sven Neumann [Mon, 1 Oct 2001 17:35:18 +0000 (17:35 +0000)]
glib/gconvert.c glib/gspawn-win32.c some minor documentation fixes.

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

* glib/gconvert.c
* glib/gspawn-win32.c
* glib/gspawn.c: some minor documentation fixes.

23 years agoglib/tmpl/arrays.sgml,glib/tmpl/arrays_byte.sgml
Matthias Clasen [Sun, 30 Sep 2001 22:49:01 +0000 (22:49 +0000)]
glib/tmpl/arrays.sgml,glib/tmpl/arrays_byte.sgml
glib/tmpl/arrays_pointer.sgml, glib/tmpl/caches.sgml,
glib/tmpl/datalist.sgml, glib/tmpl/date.sgml,
glib/tmpl/datasets.sgml, glib/tmpl/type_conversion.sgml,
glib/tmpl/memory.sgml, glib/tmpl/hash_tables.sgml:
Markup fixes and a few additions.

23 years agoAdd build/win32/dirent/Makefile to the list of makefiles
Alexander Larsson [Sun, 30 Sep 2001 01:08:36 +0000 (01:08 +0000)]
Add build/win32/dirent/Makefile to the list of makefiles

2001-09-29  Alexander Larsson  <alla@lysator.liu.se>

* configure.in:
Add build/win32/dirent/Makefile to the list of makefiles

23 years agoglib/gwin32.c glib/gwin32.h Remove own implementation of dirent functions.
Tor Lillqvist [Sat, 29 Sep 2001 23:19:24 +0000 (23:19 +0000)]
glib/gwin32.c glib/gwin32.h Remove own implementation of dirent functions.

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

* glib/gwin32.c
* glib/gwin32.h
* glib/glib.def: Remove own implementation of dirent
functions. Instead, gcc (mingw) users should go ahead and use the
<dirent.h> included with the mingw gcc, and the dirent functions
included in libmingw32, while MSVC users can use the same (public
domain) code, extracted from mingw-runtime sources and placed in
build/win32/dirent.[ch].

* glib/gwin32.c (get_package_directory_from_module,
g_win32_get_package_installation_directory): Use static lock to
protect static hash table.

23 years agoUpdated.
Fatih Demir [Sat, 29 Sep 2001 11:05:33 +0000 (11:05 +0000)]
Updated.

23 years agocast the string size to gulong and use %lu for printing to avoid 64bit
George Lebl [Sat, 29 Sep 2001 09:42:20 +0000 (09:42 +0000)]
cast the string size to gulong and use %lu for printing to avoid 64bit

Sat Sep 29 02:33:14 2001  George Lebl <jirka@5z.com>

* tests/testglib.c (main): cast the string size to gulong and use %lu
  for printing to avoid 64bit issues

* glib/gstrfuncs.[ch] (g_ascii_strncasecmp): Change the 'n' argument
  to gsize instead guint.

23 years agoglib/tmpl/macros.sgml, glib/tmpl/macros_misc.sgml,
Matthias Clasen [Sat, 29 Sep 2001 00:21:16 +0000 (00:21 +0000)]
glib/tmpl/macros.sgml, glib/tmpl/macros_misc.sgml,
glib/tmpl/scanner.sgml: Additions and markup fixes.

23 years agoFix macros from libcharset to work with autoconf-2.5x. (From Laszlo
Owen Taylor [Fri, 28 Sep 2001 23:44:46 +0000 (23:44 +0000)]
Fix macros from libcharset to work with autoconf-2.5x. (From Laszlo

Fri Sep 28 19:41:32 2001  Owen Taylor  <otaylor@redhat.com>

* glib/libcharset/* configure.in: Fix macros from libcharset
to work with autoconf-2.5x. (From Laszlo Peter.)

23 years agoglib/gstring.c: Fix inline docs for g_string_prepend_unichar.
Matthias Clasen [Fri, 28 Sep 2001 21:39:26 +0000 (21:39 +0000)]
glib/gstring.c: Fix inline docs for g_string_prepend_unichar.

23 years agoFix inline docs for g_string_prepend_unichar.
Matthias Clasen [Fri, 28 Sep 2001 21:38:02 +0000 (21:38 +0000)]
Fix inline docs for g_string_prepend_unichar.

* glib/gstring.c: Fix inline docs for g_string_prepend_unichar.

23 years agoDocumented some functions, markup fixes. New file. Add entity for
Matthias Clasen [Fri, 28 Sep 2001 21:33:14 +0000 (21:33 +0000)]
Documented some functions, markup fixes. New file. Add entity for

* glib/tmpl/warnings.sgml, glib/tmpl/linked_lists_double.sgml,
glib/tmpl/completion.sgml, glib/tmpl/strings.sgml: Documented
some functions, markup fixes.
* glib/tmpl/patterns.sgml: New file.
* glib/glib-docs.sgml: Add entity for patterns.sgml.

23 years agoAdding double quotes around values in test expression
Kwok-Koon Cheung [Fri, 28 Sep 2001 21:03:02 +0000 (21:03 +0000)]
Adding double quotes around values in test expression

23 years agoUpdated Slovak translation.
Stanislav Visnovsky [Fri, 28 Sep 2001 14:13:15 +0000 (14:13 +0000)]
Updated Slovak translation.

2001-09-28  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

* sk.po: Updated Slovak translation.

23 years agofix typo (#if->#ifdef) so it compiles again.
Manish Singh [Thu, 27 Sep 2001 22:22:02 +0000 (22:22 +0000)]
fix typo (#if->#ifdef) so it compiles again.

*  glib/grand.c (g_rand_new): fix typo (#if->#ifdef) so it compiles again.

-Yosh

23 years agoWhen the sublangid is SUBLANG_DEFAULT, return the locale of the language's
Bruno Haible [Thu, 27 Sep 2001 22:07:00 +0000 (22:07 +0000)]
When the sublangid is SUBLANG_DEFAULT, return the locale of the language's

2001-09-24  Bruno Haible  <haible@clisp.cons.org>

* glib/gwin32.c (g_win32_getlocale): When the sublangid is
SUBLANG_DEFAULT, return the locale of the language's main country,
not a country-neutral locale. E.g. "en_US" instead of "en". Add
handling of LANG_SORBIAN. Fix typo for SUBLANG_CHINESE_SIMPLIFIED
(China == CN, CH == Switzerland). Ignore empty environment
variable values.

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

* glib/makefile.{mingw,msc}.in: Add localcharset.o. Just copy the
source file from libcharset and compile in this directory.

* glib/giochannel.c: Mark rest of g_set_error strings for
translation, too.

* glib/giowin32.c: Add some debugging output functions, call them
when debugging.
(create_events, g_io_win32_msg_write): Free message fetched with
g_win32_error_message ().
(g_io_win32_check): Indentation fixes.
(g_io_win32_fd_read,g_io_win32_sock_read): Don't always return
G_IO_STATUS_NORMAL. Do return G_IO_STATUS_EOF if we got 0 bytes,
like on Unix. This helps making the test programs run
successfully.

* glib/gmain.c (g_poll): Return the code ifdeffed out with
TEST_WITHOUT_THIS. Can't remember why it was ifdeffed out. Things
seem to work as previously with the code in place. Especially
spawn-test didn't work with the code ifdeffed out (Bug#61067).

* glib/grand.c (g_rand_new): Don't try to use /dev/urandom unless
on Unix.

* glib/gspawn-win32-helper.c (WinMain): Remove Sleep(10000)
accidentally left in.

gthread:

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

* gthread-win32.c: Use an extra level of indirection for GMutex.
It is now a pointer either to a pointer to a CRITICAL_SECTION
struct, or to a mutex HANDLE. This is needed in case the user
defines G_ERRORCHECK_MUTEXES. G_MUTEX_SIZE must correctly reflect
the size of *GMutex, but this used to vary depending on whether we
at run-time chose to use CRITICAL_SECTIONs or mutexes.
(g_mutex_free_win32_cs_impl, g_cond_free_win32_impl): Call
DeleteCriticalSection() when done with it.

* gthread-impl.c (g_thread_init_with_errorcheck_mutexes): Call
g_thread_impl_init() before accessing
g_thread_functions_for_glib_use_default, as the
g_thread_impl_init() function might modify it.

po:

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

* POTFILES.in: Add iochannel.c and giowin32.c.

* sv.po: Remove a bogus fuzziness indicator.

23 years agoUse gssize to match the header. (Reported by Elliot Lee.)
Owen Taylor [Thu, 27 Sep 2001 19:14:36 +0000 (19:14 +0000)]
Use gssize to match the header. (Reported by Elliot Lee.)

Thu Sep 27 14:26:57 2001  Owen Taylor  <otaylor@redhat.com>

* glib/gstrfuncs.c (g_ascii_strup/down): Use gssize to
match the header. (Reported by Elliot Lee.)

23 years agoOops, actually commit the configure.in change I thought I did in my
Tor Lillqvist [Thu, 27 Sep 2001 06:11:48 +0000 (06:11 +0000)]
Oops, actually commit the configure.in change I thought I did in my
previous commit:

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

* configure.in: Retract my change earlier today. Don't preset
autoconf variables in a try to match both mingw and MSVC. Instead,
he who packages a prebuilt GLib developer distribution for Win32
runs configure twice: once for mingw, once for MSVC, and then uses
diff -D on the glibconfig.h files to generate a suitably ifdeffed
glibconfig.h for distribution that suits both compilers. (Ditto
for config.h, although that file wouldn't be distributed in a
developer package, but in a source package for Win32 users who
want to build GLib but can't use configure.)

----------------------------------------------------------------------
----------------------------------------------------------------------

23 years agoFixes for #58195, based on some ideas from Hidetosh Tajima.
Owen Taylor [Thu, 27 Sep 2001 02:49:05 +0000 (02:49 +0000)]
Fixes for #58195, based on some ideas from Hidetosh Tajima.

Wed Sep 26 22:34:12 2001  Owen Taylor  <otaylor@redhat.com>

        Fixes for #58195, based on some ideas from Hidetosh Tajima.

        * aclibcharset.m4 glib/libcharset: Add Bruno Haible's
        portable-current charset detection code from libiconv.

        * glib/gutf8.c (g_utf8_get_charset_internal): Rewrite
        to use _g_locale_charset().

        * glib/gutf8.c (_g_charset_get_aliases): Private functions
        to get aliases from libcharset for a particular canonical
        name.

        * glib/gconvert.c: If loading a charset fails, try
        aliases to look for fallbacks.

23 years agoglib/gmem.c (g_mem_is_system_malloc): Return !vtable_set.
Matthias Clasen [Wed, 26 Sep 2001 22:00:17 +0000 (22:00 +0000)]
glib/gmem.c (g_mem_is_system_malloc): Return !vtable_set.
docs/reference/glib/glib-sections.txt: Add g_mem_is_system_malloc.

23 years agoRetract my change earlier today. Don't preset autoconf variables in a try
Tor Lillqvist [Wed, 26 Sep 2001 20:35:51 +0000 (20:35 +0000)]
Retract my change earlier today. Don't preset autoconf variables in a try

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

* configure.in: Retract my change earlier today. Don't preset
autoconf variables in a try to match both mingw and MSVC. Instead,
he who packages a prebuilt GLib developer distribution for Win32
runs configure twice: once for mingw, once for MSVC, and then uses
diff -D on the glibconfig.h files to generate a suitably ifdeffed
glibconfig.h for distribution that suits both compilers. (Ditto
for config.h, although that file wouldn't be distributed in a
developer package, but in a source package for Win32 users who
want to build GLib but can't use configure.)

* glibconfig.h.win32.in
* config.h.win32.in: Generated by using diff -D as described above.

* tests/makefile.mingw.in (.c.exe): Correct name of gthread (import)
library.

gthread:
2001-09-26  Tor Lillqvist  <tml@iki.fi>

* makefile.mingw.in: Fix couple of typos.

* gthread.def: Add g_thread_init_with_errorcheck_mutexes.

23 years agoFix distclean to remove some extra files. #60993, Ben Gertzfield
Owen Taylor [Wed, 26 Sep 2001 19:37:08 +0000 (19:37 +0000)]
Fix distclean to remove some extra files. #60993, Ben Gertzfield

Wed Sep 26 15:33:37 2001  Owen Taylor  <otaylor@redhat.com>

* Makefile.am po/Makefile.in.in: Fix distclean to
remove some extra files. #60993, Ben Gertzfield

23 years agoPatch from Andrew Taylor to make much of the unicode table data const so
Owen Taylor [Wed, 26 Sep 2001 18:39:54 +0000 (18:39 +0000)]
Patch from Andrew Taylor to make much of the unicode table data const so

Wed Sep 26 14:37:52 2001  Owen Taylor  <otaylor@redhat.com>

* glib/gen-unicode-tables.pl glib/guniprop.c
  glib/{gunibreak,gunichartables,gunidecomp}.h:
Patch from Andrew Taylor to make much of the unicode
table data const so that it can be made read-only
and shared.

23 years agoCopy if !g_mem_is_system_malloc, not the other way around. (Found by James
Owen Taylor [Wed, 26 Sep 2001 16:42:10 +0000 (16:42 +0000)]
Copy if !g_mem_is_system_malloc, not the other way around. (Found by James

Wed Sep 26 12:41:05 2001  Owen Taylor  <otaylor@redhat.com>

* glib/gstrfuncs.c (g_strdup_vprintf): Copy if
!g_mem_is_system_malloc, not the other way around.
(Found by James Antill.)

23 years agoUse memset; might be faster if someone used this for a biiig string.
Owen Taylor [Wed, 26 Sep 2001 15:26:44 +0000 (15:26 +0000)]
Use memset; might be faster if someone used this for a biiig string.

Wed Sep 26 11:00:31 2001  Owen Taylor  <otaylor@redhat.com>

* glib/gstrfuncs.c (g_strnfill): Use memset; might be
faster if someone used this for a biiig string.
(Suggestion from Jakub Jelinek)

23 years agoOne-line fix, wrong variable name was leftover.
Tor Lillqvist [Wed, 26 Sep 2001 06:23:25 +0000 (06:23 +0000)]
One-line fix, wrong variable name was leftover.

23 years agoMove the Win32 check closer to the start, after the BeOS checks. Preset
Tor Lillqvist [Wed, 26 Sep 2001 06:20:31 +0000 (06:20 +0000)]
Move the Win32 check closer to the start, after the BeOS checks. Preset

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

* configure.in: (Win32:) Move the Win32 check closer to the start,
after the BeOS checks. Preset some autoconf variables so that
configure won't find those few headers and functions that gcc
(mingw) pretends to implement (even if the actual C library
doesn't), but MSVC doesn't. This because I want the same config.h
and glibconfig.h to be usable both from gcc and MSVC (as they use
the same C library). Some other minor hackery for this purpose.

* glibconfig.h.win32.in
* config.h.win32.in: Use versions generated by configure (and
hand-edited slightly).

23 years agoUse gboolean for return value of GTraverseFunc.
Darin Adler [Tue, 25 Sep 2001 23:15:53 +0000 (23:15 +0000)]
Use gboolean for return value of GTraverseFunc.

* glib/gtree.h: Use gboolean for return value of GTraverseFunc.

23 years agoupdated Catalan file
Pablo Saratxaga [Tue, 25 Sep 2001 19:58:56 +0000 (19:58 +0000)]
updated Catalan file

23 years agoglib/glib-section.txt: Add a missing SECTION endtag. (#61126)
Matthias Clasen [Tue, 25 Sep 2001 18:13:12 +0000 (18:13 +0000)]
glib/glib-section.txt: Add a missing SECTION endtag. (#61126)

23 years agoVersion 1.3.9 (binary, interface == 0)
Owen Taylor [Tue, 25 Sep 2001 15:55:39 +0000 (15:55 +0000)]
Version 1.3.9 (binary, interface == 0)

Tue Sep 25 11:34:22 2001  Owen Taylor  <otaylor@redhat.com>

* configure.in: Version 1.3.9 (binary, interface == 0)

* glib/gstrfuncs.c (g_ascii_strdown): Change g_ascii_strup/strdown
to take a 'len' argument to match g_utf8_strup/strdown. This
hopefully will also make it more obvious that they duplicate
the string rather than acting like g_strup/strdown.
(Suggestion from Matthias Clasen, #59550)

23 years agoCorrected the array size (cough, cough). Pointed out by
Sebastian Wilhelmi [Tue, 25 Sep 2001 07:17:50 +0000 (07:17 +0000)]
Corrected the array size (cough, cough). Pointed out by

2001-09-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* gthread-impl.c: Corrected the array size (cough, cough). Pointed
out by gpablo@intersystems.com.ar. Fixes #61065.

23 years agoMore Win32 automake macros. For .def files: GLIB_DEF, GMODULE_DEF,
Tor Lillqvist [Tue, 25 Sep 2001 06:03:23 +0000 (06:03 +0000)]
More Win32 automake macros. For .def files: GLIB_DEF, GMODULE_DEF,

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

* configure.in: More Win32 automake macros. For .def files:
GLIB_DEF, GMODULE_DEF, GOBJECT_DEF and GTHREAD_DEF. For .exp
files: TESTGMODULE_EXP (for programs that need to export symbols,
just testgmodule here). A new conditional, MS_LIB_AVAILABLE to
test whether the Microsoft librarian ("ar") is available to build
MS import libraries.

* glib/Makefile.am
* gmodule/Makefile.am: Use above. New rule to build MS import
library.

* glib/makefile.msc.in
* tests/makefile.msc.in
* tests/makefile.mingw.in: Use same DLL and import library names as
libtool.

gmodule:
2001-09-25  Tor Lillqvist  <tml@iki.fi>

* makefile.mingw.in: Fix missing end @ in @LT_CURRENT@.

* makefile.msc.in: Use same DLL and import library names as
libtool.

gobject:
2001-09-25  Tor Lillqvist  <tml@iki.fi>

* Makefile.am: Use new macros for .def file, and check for
MS_LIB_AVAILABLE, new rule to build MS import library.

* makefile.msc.in: Use same DLL and import library names as
libtool.

gthread:
2001-09-25  Tor Lillqvist  <tml@iki.fi>

* Makefile.am: Use new macros for .def file, and check for
MS_LIB_AVAILABLE, new rule to build MS import library.

* makefile.msc.in: Use same DLL and import library names as
libtool.

23 years agoglib/gutf8.c, glib/gunibreak.c, glib/gunicollate.c,
Matthias Clasen [Mon, 24 Sep 2001 21:28:57 +0000 (21:28 +0000)]
glib/gutf8.c, glib/gunibreak.c, glib/gunicollate.c,
glib/gunidecomp.c, glib/guniprop.c: Inline doc consistency fixes.

23 years agoAdded "sk" to ALL_LINGUAS. Added Slovak translation.
Stanislav Visnovsky [Mon, 24 Sep 2001 14:29:20 +0000 (14:29 +0000)]
Added "sk" to ALL_LINGUAS. Added Slovak translation.

2001-09-24  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

* configure.in: Added "sk" to ALL_LINGUAS.
* po/sk.po: Added Slovak translation.

23 years agoUpdated ta.po
Fatih Demir [Sun, 23 Sep 2001 21:55:36 +0000 (21:55 +0000)]
Updated ta.po

23 years agoupdated Azeri file
Pablo Saratxaga [Sun, 23 Sep 2001 17:44:44 +0000 (17:44 +0000)]
updated Azeri file

23 years agoUpdated Slovenian translation
Andraz Tori [Sat, 22 Sep 2001 23:27:22 +0000 (23:27 +0000)]
Updated Slovenian translation

23 years agoUpdated Slovenian translation
Andraz Tori [Sat, 22 Sep 2001 21:57:57 +0000 (21:57 +0000)]
Updated Slovenian translation

23 years agosimply setting is_readable and is_writeable to TRUE does make Gimp
Hans Breuer [Sat, 22 Sep 2001 19:40:58 +0000 (19:40 +0000)]
simply setting is_readable and is_writeable to TRUE does make Gimp

2001-09-22  Hans Breuer  <hans@breuer.org>

* glib/giowin32.c : simply setting is_readable and is_writeable
to TRUE does make Gimp plug-ins work again. Still no API known
to request this info on Win32 (see #57690)

23 years agoadded rule for glibconfig.h
Hans Breuer [Fri, 21 Sep 2001 19:48:59 +0000 (19:48 +0000)]
added rule for glibconfig.h

2001-09-21  Hans Breuer  <hans@breuer.org>

* makefile.msc : added rule for glibconfig.h

* glib/giowin32.c (g_io_channel_new_file) : always open
in binary mode

* glib/glib.def : updated externals

* glib/gwin32.c : re-added LANG_* and SUBLANG_* definitions,
which are missing from the msvc 5.0 win32 sdk

* glib/makefile.msc.in : added gbsearcharry

23 years agoupdated externals
Hans Breuer [Fri, 21 Sep 2001 19:47:26 +0000 (19:47 +0000)]
updated externals

2001-09-21  Hans Breuer  <hans@breuer.org>

* gobject.def : updated externals

23 years agoRename g_mem_vtable_is_set() to g_mem_is_system_malloc().
Owen Taylor [Fri, 21 Sep 2001 00:34:12 +0000 (00:34 +0000)]
Rename g_mem_vtable_is_set() to g_mem_is_system_malloc().

Thu Sep 20 20:33:45 2001  Owen Taylor  <otaylor@redhat.com>

* Rename g_mem_vtable_is_set() to g_mem_is_system_malloc().

23 years agoAccept also forward slashes. (But still don't accept them in the other
Tor Lillqvist [Thu, 20 Sep 2001 05:41:52 +0000 (05:41 +0000)]
Accept also forward slashes. (But still don't accept them in the other

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

* glib/gutils.c (g_path_is_absolute): (Win32:) Accept also forward
slashes. (But still don't accept them in the other functions
here. This is a thorny issue. Windows in fact does treat / like \
on input (at least as local directory separators, dunno about
server/share separators). But GLib only has the one
G_DIR_SEPARATOR value, that apps should scan for, and use when
building pathnames. To properly fix this would require totally
abstracting pathnames, and don't having any path name scanning and
building in applications at all. Fat chance.)
(GLIB_LOCALE_DIR): Redefine only on "pure" Win32, not Cygwin. Use
subdirectory "share\locale", as on Unix.

* glib/gwin32.c: Don't need to define those langiage and
sublanguage constants here, current mingw (w32api) headers have
them.

* glib/glib.def: Add a few missing entry points.

* tests/testglib.c (main): Use same name for DLL as libtool does.
Use G_DIR_SEPARATOR in g_path_get_basename tests.

23 years agoPatch from Matthias Clasen (#59806)
Owen Taylor [Wed, 19 Sep 2001 20:39:56 +0000 (20:39 +0000)]
Patch from Matthias Clasen (#59806)

Wed Sep 19 14:17:31 2001  Owen Taylor  <otaylor@redhat.com>

Patch from Matthias Clasen (#59806)

* configure.in: Check for vasprintf().

23 years agoFix handling of user data when locating sources. (#60414, Katsuhiro Okuno)
Owen Taylor [Wed, 19 Sep 2001 20:39:21 +0000 (20:39 +0000)]
Fix handling of user data when locating sources. (#60414, Katsuhiro Okuno)

Wed Sep 19 16:35:22 2001  Owen Taylor  <otaylor@redhat.com>

* glib/gmain.c (g_main_context_find_source_by[_funcs]_user_data):
Fix handling of user data when locating sources.
(#60414, Katsuhiro Okuno)

23 years agoPatch from Matthias Clasen (#59806)
Owen Taylor [Wed, 19 Sep 2001 18:43:22 +0000 (18:43 +0000)]
Patch from Matthias Clasen (#59806)

Wed Sep 19 14:17:31 2001  Owen Taylor  <otaylor@redhat.com>

Patch from Matthias Clasen (#59806)

* configure.in: Check for vasprintf().

* glib/gmem.[ch]: Add g_mem_vtable_is_set() to be used
for efficiency hacks to avoid extra copies when not
needed.

* glib/gstrfuncs.c: Use vasprintf() to implement
g_strdup_printf() when available.

* glib/gmessages.c (g_logv): Avoid using
printf_string_upper_bound() when we have have vsnprintf.

* glib/gmessages.c (printf_string_upper_bound): Don't
segfault when warning about positional parameters.

23 years agoPatch from Darin Adler to remove GReal* structures in favor of simple
Owen Taylor [Wed, 19 Sep 2001 18:08:19 +0000 (18:08 +0000)]
Patch from Darin Adler to remove GReal* structures in favor of simple

Wed Sep 19 14:05:27 2001  Owen Taylor  <otaylor@redhat.com>

* glib/{gcache.c,gmem.c,grel.c,gstring.c,gtimer.c,gtree}:
Patch from Darin Adler to remove GReal* structures in
favor of simple opaque typedefs in cases where there
were no non-private members. (#59693)

23 years agoHandle NUL bytes_written, bytes_read. (Suggested by Joshua N Pritikin,
Owen Taylor [Wed, 19 Sep 2001 17:06:14 +0000 (17:06 +0000)]
Handle NUL bytes_written, bytes_read. (Suggested by Joshua N Pritikin,

Wed Sep 19 13:03:38 2001  Owen Taylor  <otaylor@redhat.com>

* glib/giochannel.c (g_io_channel_read/write_chars): Handle NUL
bytes_written, bytes_read. (Suggested by Joshua N Pritikin, #59550)

23 years agoHandle failure of sysconf and pick a fixed size buffer. (Happens on Cygwin
Owen Taylor [Wed, 19 Sep 2001 16:52:20 +0000 (16:52 +0000)]
Handle failure of sysconf and pick a fixed size buffer. (Happens on Cygwin

Wed Sep 19 12:49:11 2001  Owen Taylor  <otaylor@redhat.com>

* glib/gutils.c (g_get_any_init): Handle failure of
sysconf and pick a fixed size buffer. (Happens on Cygwin
#60242)

23 years agoError out if gettext support is not found. (#59386)
Owen Taylor [Wed, 19 Sep 2001 15:40:38 +0000 (15:40 +0000)]
Error out if gettext support is not found. (#59386)

Wed Sep 19 11:23:41 2001  Owen Taylor  <otaylor@redhat.com>

* configure.in: Error out if gettext support is not found. (#59386)

23 years agoUpdated Norwegian (bokmål) translation.
Kjartan Maraas [Wed, 19 Sep 2001 15:09:02 +0000 (15:09 +0000)]
Updated Norwegian (bokmål) translation.

2001-09-19  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian (bokmål) translation.

23 years agoAdd thread_equal function to allow for platform defined function to
Sebastian Wilhelmi [Wed, 19 Sep 2001 12:46:39 +0000 (12:46 +0000)]
Add thread_equal function to allow for platform defined function to

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

* glib/gthread.h (GThreadFunctions): Add thread_equal function to
allow for platform defined function to compare two threads.

* glib/gthread.c: Use g_thread_functions_for_glib_use.thread_equal
when non-NULL instead of ==.

* gthread/gthread-posix.c: Add g_thread_equal_posix_impl and
add to the function vector g_thread_functions_for_glib_use_default.

* gthread/gthread-solaris.c, gthread/gthread-win32.c: Add NULL
as equal function, as on those two platforms you don't need an
equal function.

23 years agoReleased 1.3.8. GLIB_1_3_8
Tim Janik [Wed, 19 Sep 2001 08:58:31 +0000 (08:58 +0000)]
Released 1.3.8.

Wed Sep 19 10:44:25 2001  Tim Janik  <timj@gtk.org>

        * Released 1.3.8.

23 years agodistcheck updates
Tim Janik [Wed, 19 Sep 2001 02:12:32 +0000 (02:12 +0000)]
distcheck updates

23 years agoCorrect InternalName and OriginalFilename to match what we actually
Tor Lillqvist [Wed, 19 Sep 2001 01:00:52 +0000 (01:00 +0000)]
Correct InternalName and OriginalFilename to match what we actually

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

* gthread.rc.in: Correct InternalName and OriginalFilename to
match what we actually produce.

23 years agoCorrect InternalName and OriginalFilename to match what we actually
Tor Lillqvist [Wed, 19 Sep 2001 01:00:17 +0000 (01:00 +0000)]
Correct InternalName and OriginalFilename to match what we actually

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

* {gmodule,gobject,gthread.rc.in}: Correct InternalName and
OriginalFilename to match what we actually produce.

23 years agoCorrect InternalName and OriginalFilename to match what we actually
Tor Lillqvist [Wed, 19 Sep 2001 00:59:37 +0000 (00:59 +0000)]
Correct InternalName and OriginalFilename to match what we actually

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

* gobject.rc.in: Correct InternalName and OriginalFilename to
match what we actually produce.

* gmodule.rc.in: Correct InternalName and OriginalFilename to
match what we actually produce.

* gthread.rc.in: Correct InternalName and OriginalFilename to
match what we actually produce.

23 years agoup version number to 1.3.8, interface age 0, binary age 0.
Tim Janik [Tue, 18 Sep 2001 23:38:06 +0000 (23:38 +0000)]
up version number to 1.3.8, interface age 0, binary age 0.

Tue Sep 18 22:57:33 2001  Tim Janik  <timj@gtk.org>

        * configure.in (GLIB_MICRO_VERSION): up version number to 1.3.8,
        interface age 0, binary age 0.

        * NEWS: updates.

Tue Sep 18 23:09:02 2001  Tim Janik  <timj@gtk.org>

        * gparam.[hc]: rename *nick and *blurb fields to catch
        direct accesses in third party code.
        provide g_param_get_nick(), g_param_get_blurb() and
        g_param_get_name() accessors.

23 years agoFixes for compilation on Solaris (#59026, Frank Belew)
Owen Taylor [Tue, 18 Sep 2001 22:28:32 +0000 (22:28 +0000)]
Fixes for compilation on Solaris (#59026, Frank Belew)

Tue Sep 18 18:23:02 2001  Owen Taylor  <otaylor@redhat.com>

        Fixes for compilation on Solaris (#59026, Frank Belew)

        * glib/gqsort.c (g_qsort_with_data): Use g_alloca().

        * glib/giochannel.c (g_io_channel_read_to_end): Fix use
        of ternary on left-hand-side.

        * configure.in: Handle the ac_cv_working_alloca_h variable
        set by autoconf-2.5x.

Tue Sep 11 18:50:44 2001  Owen Taylor  <otaylor@redhat.com>

        * m4macros/glib-gettext.m4 acinclude.m4: Remove commented
        out sections for clarity.

23 years agoadd simple test for g_path_get_basename().
Tim Janik [Tue, 18 Sep 2001 16:33:20 +0000 (16:33 +0000)]
add simple test for g_path_get_basename().

Tue Sep 18 18:19:33 2001  Tim Janik  <timj@gtk.org>

        * tests/testglib.c: add simple test for g_path_get_basename().

        * glib/gfileutils.c (g_file_open_tmp):
        * glib/gstrfuncs.c (g_strerror): scratch erroneous usages
        of "illegal".

23 years agoglib/gmain.c Mark the _funcs tables for export.
Tor Lillqvist [Mon, 17 Sep 2001 22:39:57 +0000 (22:39 +0000)]
glib/gmain.c Mark the _funcs tables for export.

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

* glib/gmain.c
* glib/giowin32.c: Mark the _funcs tables for export.

* glib/glib.def: Add here, too.

* glib/gwin32.c (get_package_directory_from_module): No reason to
check for the module being in a bin or lib directory only when
module_name is non-NULL.

* glib/gwin32.c (g_win32_get_package_installation_directory):
Check first in HKEY_CURRENT_USER, then in HKEY_LOCAL_MACHINE.

* gmodule/Makefile.am: On Win32, pass a dummy -rpath flag to
libtool when building libgplugin_[ab].la, otherwise libtool
doesn't create a DLL, but a static archive.

23 years agoChange so that it works on platforms where isalpha is a macro only,
Darin Adler [Mon, 17 Sep 2001 15:27:04 +0000 (15:27 +0000)]
Change so that it works on platforms where isalpha is a macro only,

* tests/strfunc-test.c: (main): Change so that it works
on platforms where isalpha is a macro only, without the
corresponding function that the C standard requires.
Also eliminate the multiple lists of ctype functions.

* tests/.cvsignore: Ignore the new test.

23 years agoFix a typo and change documentation for g_ascii_isdigit and
Darin Adler [Mon, 17 Sep 2001 15:26:48 +0000 (15:26 +0000)]
Fix a typo and change documentation for g_ascii_isdigit and

* glib/tmpl/string_utils.sgml: Fix a typo and change
documentation for g_ascii_isdigit and g_ascii_isxdigit
to reflect the fact that the standard isdigit and
isxdigit are already locale-independent.

23 years agoAdd variable for LT_CURRENT minus LT_AGE (the suffix used by libtool on
Tor Lillqvist [Mon, 17 Sep 2001 00:41:39 +0000 (00:41 +0000)]
Add variable for LT_CURRENT minus LT_AGE (the suffix used by libtool on

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

* configure.in: Add variable for LT_CURRENT minus LT_AGE (the
suffix used by libtool on Win32 for DLLs). Set variables for the
compiled resource files on Windows. Handle the native Win32
gthread stuff.

* glib/Makefile.am
* gmodule/Makefile.am
* gobject/Makefile.am: (Win32) Add minor hacks to link in the object
file produced from the resource file. Use the lt-compile-resource
script from the build module. The non-hack way would be to teach
libtool, autoconf and automake about .rc files (which are a kind
of source code, after all, that gets compiled to object
files). But then there would be problems for those who wouldn't have
bleeding edge auto* and libtool.

* glib/glib.def
* gobject/gobject.def: Updates.

* glib/glib.rc.in
* gmodule/gmodule.rc.in
* gobject/gobject.rc.in
* gthread/gthread.rc.in: Update InternalName and OriginalFilename to
match libtool's naming convention for DLLs.

* glib/gutils.c: Ditto when constructing the DLL name in the
definition for GLIB_LOCALE_DIR.

* glib/makefile.mingw.in
* gmodule/makefile.mingw.in
* gobject/makefile.mingw.in
* gthread/makefile.mingw.in: Update import library names.

23 years agoglib/gconvert.c (g_filename_from_uri): Replace `is contains'
Matthias Clasen [Fri, 14 Sep 2001 19:29:35 +0000 (19:29 +0000)]
glib/gconvert.c (g_filename_from_uri): Replace `is contains'
by `contains' in two error messages. (#60395)

23 years agoUpdated Swedish translation.
Christian Rose [Tue, 11 Sep 2001 19:22:05 +0000 (19:22 +0000)]
Updated Swedish translation.

2001-09-11  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

23 years agoModified Files: glib/ChangeLog glib/glib/giochannel.h
Ron Steinke [Mon, 10 Sep 2001 23:59:33 +0000 (23:59 +0000)]
Modified Files: glib/ChangeLog glib/glib/giochannel.h

Modified Files:
glib/ChangeLog glib/glib/giochannel.h glib/glib/giochannel.c

* glib/giochannel.h glib/giochannel.c: Added a length argument
to g_io_channel_[set,get]_line_term(), allowing embeded nulls
and binary safe line termination strings

* glib/giochannel.c: Got rid of a compile warning in
g_io_channel_write_chars()

23 years agoremoved extraneous GObject* returns from a couple functions that are very
Tim Janik [Mon, 10 Sep 2001 18:32:52 +0000 (18:32 +0000)]
removed extraneous GObject* returns from a couple functions that are very

Mon Sep 10 20:31:37 2001  Tim Janik  <timj@gtk.org>

        * gobject.[hc]: removed extraneous GObject* returns from a
        couple functions that are very unlikely to be used in nested.
        changed gpointer->GObject* for a couple return values/arguments.
        this fixes #50206.

23 years agogot rid of g_set_error_handler(), g_set_warning_handler(),
Tim Janik [Mon, 10 Sep 2001 18:03:31 +0000 (18:03 +0000)]
got rid of g_set_error_handler(), g_set_warning_handler(),

Mon Sep 10 17:13:36 2001  Tim Janik  <timj@gtk.org>

        * glib/gmessages.h: got rid of g_set_error_handler(),
        g_set_warning_handler(), g_set_message_handler().

Wed Sep  5 05:24:07 2001  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/gboxed.sgml: documented some functions.

        * gobject/tmpl/objects.sgml: some fixups.

Mon Sep 10 19:27:47 2001  Tim Janik  <timj@gtk.org>

        * gtype.[hc]:
        g_type_add_interface*(): implement the ability to add an interface to
        a type whose parents already conform to this interface.
        such "overriding" interfaces, when initialized, are not just initialized
        with 0, but with a copy of the interface they override.
        g_type_interface_peek_parent(): new function, return the interface
        that this interface "overrides", if any.

        * testgruntime.c: test new interface stuff.

23 years agoRemoved is_refcounted and GBoxedInitFunc from
Alex Larsson [Mon, 10 Sep 2001 16:48:42 +0000 (16:48 +0000)]
Removed is_refcounted and GBoxedInitFunc from

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

* gobject/gboxed.[ch]:
* gobject/gsourceclosure.c:
Removed is_refcounted and GBoxedInitFunc from
g_boxed_type_register_static().

23 years agoDoc fixes.
Owen Taylor [Mon, 10 Sep 2001 15:50:26 +0000 (15:50 +0000)]
Doc fixes.

Mon Sep 10 11:42:58 2001  Owen Taylor  <otaylor@redhat.com>

        * glib/gutf8.c glib/gstring.c glib/gfileutils.c glib/gmain.c:
        Doc fixes.

23 years agoUpdate.
Owen Taylor [Mon, 10 Sep 2001 15:50:02 +0000 (15:50 +0000)]
Update.

Mon Sep 10 11:37:02 2001  Owen Taylor  <otaylor@redhat.com>

        * glib/glib-sections.txt: Update.

23 years agoAdd g_build_path(), g_build_filename(), to create separated paths,
Owen Taylor [Mon, 10 Sep 2001 13:30:41 +0000 (13:30 +0000)]
Add g_build_path(), g_build_filename(), to create separated paths,

Sat Sep  8 17:14:51 2001  Owen Taylor  <otaylor@redhat.com>

        * glib/gfileutils.[ch]: Add g_build_path(),
        g_build_filename(), to create separated paths,
        suppressing duplicate separators, from varargs
        lists.

        * tests/strfunc-test.c: Add tests for g_build_path(),
        g_build_filename().

23 years agoMove gbsearcharray.[ch] to glib as a private ininstalled header.
Owen Taylor [Sat, 8 Sep 2001 18:23:04 +0000 (18:23 +0000)]
Move gbsearcharray.[ch] to glib as a private ininstalled header.

Sat Sep  8 14:13:57 2001  Owen Taylor  <otaylor@redhat.com>

       * gobject/Makefile.am: Move gbsearcharray.[ch] to glib
       as a private ininstalled header.

23 years agoAdd gbsearcharray.[ch].
Owen Taylor [Sat, 8 Sep 2001 18:21:27 +0000 (18:21 +0000)]
Add gbsearcharray.[ch].

Sat Sep  8 14:11:53 2001  Owen Taylor  <otaylor@redhat.com>

       * glib/Makefile.am (libglib_1_3_la_SOURCES): Add
       gbsearcharray.[ch].

       * glib/glib-object.h: Remove include of gbsearcharray.

Sat Sep  8 14:13:57 2001  Owen Taylor  <otaylor@redhat.com>

       * gobject/Makefile.am: Move gbsearcharray.[ch] to glib
       as a private ininstalled header.

Sat Sep  8 14:13:44 2001  Owen Taylor  <otaylor@redhat.com>

       * glib/Makefile.am (IGNORE_HFILES): Add
       gbsearcharray.h.

       * gobject/Makefile.am (IGNORE_HFILES): Remove
       gbsearcharray.h.

23 years agoUpdated Norwegian nynorsk translation
Roy-Magne Mo [Wed, 5 Sep 2001 22:29:06 +0000 (22:29 +0000)]
Updated Norwegian nynorsk translation

23 years agoTake DESTDIR into account in install/uninstall
Ross Golder [Wed, 5 Sep 2001 21:55:59 +0000 (21:55 +0000)]
Take DESTDIR into account in install/uninstall

23 years agoRevert last change to Makefile.in.in - no this is not the Makefile.in.in
Owen Taylor [Wed, 5 Sep 2001 13:28:24 +0000 (13:28 +0000)]
Revert last change to Makefile.in.in - no this is not the Makefile.in.in

Wed Sep  5 09:27:34 2001  Owen Taylor  <otaylor@redhat.com>

        * Revert last change to Makefile.in.in - no this
        is not the Makefile.in.in from gettext.

23 years agoUpdated from gettext-0.10.35, to fix broken DESTDIR handling
Ross Golder [Wed, 5 Sep 2001 10:04:08 +0000 (10:04 +0000)]
Updated from gettext-0.10.35, to fix broken DESTDIR handling

23 years agoforgotten ChangeLog entry.
Matthias Clasen [Wed, 5 Sep 2001 07:50:58 +0000 (07:50 +0000)]
forgotten ChangeLog entry.

23 years agogobject.c (g_object_base_class_finalize): typo fix.
Matthias Clasen [Tue, 4 Sep 2001 21:17:43 +0000 (21:17 +0000)]
gobject.c (g_object_base_class_finalize): typo fix.

23 years agoVersion 1.3.7 GLIB_1_3_7
Owen Taylor [Tue, 4 Sep 2001 06:01:06 +0000 (06:01 +0000)]
Version 1.3.7

Mon Sep  3 23:29:51 2001  Owen Taylor  <otaylor@redhat.com>

* Version 1.3.7

* Makefile.am (EXTRA_DIST): Distribute po/po2tbl.sed.in

        * Makefile.am: Remove references to glib.rc[.in]

* NEWS: Various additions.

23 years agoUpdate. Don't mention pthreads.
Tor Lillqvist [Tue, 4 Sep 2001 05:09:35 +0000 (05:09 +0000)]
Update. Don't mention pthreads.

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

* README.win32: Update. Don't mention pthreads.

* build-dll: Remove, moved to the build module.

* glibconfig.h.win32.in: Don't mention pthreds here, either.

* glib/gstrfuncs.c: Mark the correct variable for export from DLL.

* glib/giowin32.c (g_io_win32_msg_create_watch): Owen forgot to
rename the win32_watch_funcs variable here, too.

* */makefile.mingw.in: Don't use version number in import library
name. Use whole version number in DLL name. Use build-dll from the
build module.

23 years agoupdates for 1.3.7 release.
Tim Janik [Mon, 3 Sep 2001 23:46:04 +0000 (23:46 +0000)]
updates for 1.3.7 release.

Tue Sep  4 01:50:24 2001  Tim Janik  <timj@gtk.org>

        * NEWS: updates for 1.3.7 release.

Tue Sep  4 01:49:18 2001  Tim Janik  <timj@gtk.org>

        * gsourceclosure.c: make closure_callback_funcs static,
        added some g_return_if_fail() statements.

23 years agoImplement.
Owen Taylor [Mon, 3 Sep 2001 22:13:16 +0000 (22:13 +0000)]
Implement.

Mon Aug 27 14:55:27 2001  Owen Taylor  <otaylor@redhat.com>

* gsourceclosure.[ch] (g_source_set_closure): Implement.

* gsourceclosure.[ch]: Add GType's for GIOChannel, GIOCondition.

Mon Aug 27 14:56:12 2001  Owen Taylor  <otaylor@redhat.com>

* glib/gmain.h: Add closure_marshal/closure_callback
fields to GSourceFuncs for use by g_source_set_closure().

* glib/gmain.c glib/giounix.c glib/giowin32.c
  glib/gmain.h: Export the SourceFuncs vtables so GObject
can use them to figure out closure callbacks/marshallers
for the default source types.

23 years agoAdd closure_marshal/closure_callback fields to GSourceFuncs for use by
Owen Taylor [Mon, 3 Sep 2001 22:12:51 +0000 (22:12 +0000)]
Add closure_marshal/closure_callback fields to GSourceFuncs for use by

Mon Aug 27 14:56:12 2001  Owen Taylor  <otaylor@redhat.com>

* glib/gmain.h: Add closure_marshal/closure_callback
fields to GSourceFuncs for use by g_source_set_closure().

* glib/gmain.c glib/giounix.c glib/giowin32.c
  glib/gmain.h: Export the SourceFuncs vtables so GObject
can use them to figure out closure callbacks/marshallers
for the default source types.

Mon Aug 27 14:55:27 2001  Owen Taylor  <otaylor@redhat.com>

* gsourceclosure.[ch] (g_source_set_closure): Implement.

* gsourceclosure.[ch]: Add GType's for GIOChannel, GIOCondition.

23 years agoReplace some uses of isspace() with g_ascii_isspace().
Owen Taylor [Sun, 2 Sep 2001 17:14:23 +0000 (17:14 +0000)]
Replace some uses of isspace() with g_ascii_isspace().

Sun Sep  2 13:05:53 2001  Owen Taylor  <otaylor@redhat.com>

        * glib/gstrfuncs.c (g_strchomp): Replace some uses
        of isspace() with g_ascii_isspace().

        * glib/gutf8.c glib/gunicode.h glib/gstrfuncs.[ch]: Add
        extra indirections to g_utf8_skip and g_ascii_table to
        avoid great whopping copy relocs.

23 years agoFix some variables that should have been static.
Owen Taylor [Sun, 2 Sep 2001 15:44:21 +0000 (15:44 +0000)]
Fix some variables that should have been static.

Sun Sep  2 11:10:42 2001  Owen Taylor  <otaylor@redhat.com>

        * glib/gen-unicode-tables.pl glib/gunicomp.h
        glib/gunichartables.h glib/giounix.c: Fix some variables that
        should have been static.

23 years agoAdded Spanish translation by josé antonio salgueiro
Carlos Perelló Marín [Sun, 2 Sep 2001 06:46:40 +0000 (06:46 +0000)]
Added Spanish translation by josé antonio salgueiro

2001-09-02  Carlos Perelló Marín <carlos@gnome-db.org>

* es.po: Added Spanish translation by josé antonio salgueiro
<joseantsa@retemail.es>

23 years agoAdd 'want_to_read' to GStaticRWLock to avoid calling g_cond_broadcast,
Sebastian Wilhelmi [Thu, 30 Aug 2001 14:19:20 +0000 (14:19 +0000)]
Add 'want_to_read' to GStaticRWLock to avoid calling g_cond_broadcast,

2001-08-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* glib/gthread.h, glib/gthread.c: Add 'want_to_read' to
GStaticRWLock to avoid calling g_cond_broadcast, when no one is
waiting.