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

22 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.

22 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()

22 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.

22 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.

22 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().

22 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.

22 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.

22 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().

22 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.

22 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.

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

22 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

22 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.

22 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

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

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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>

22 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.

22 years agoDon't free cached_poll_array, when adding new poll's. This is taken care
Sebastian Wilhelmi [Thu, 30 Aug 2001 13:25:34 +0000 (13:25 +0000)]
Don't free cached_poll_array, when adding new poll's. This is taken care

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

* glib/gmain.c (g_main_context_add_poll_unlocked): Don't free
cached_poll_array, when adding new poll's. This is taken care for
in g_main_context_iterate.

22 years agoAfter being away for about five months, I'm back working on this... For
Tor Lillqvist [Thu, 30 Aug 2001 05:09:11 +0000 (05:09 +0000)]
After being away for about five months, I'm back working on this... For

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

After being away for about five months, I'm back working on
this...  For now, still using same build setup for Win32. Probably
will change to not including version numbers in the import library
names, though. (But the DLL names would still include them,
possibly even also the micro version number.) That would be more
Unix-like. Also, will have to check out newest mingw tool versions
to see if the build-dll script now can be retired.

* makefile.mingw
* makefile.msc: New files, no need to generate from .in as
they don't contain references to automake variables.

* makefile.mingw.in
* makefile.msc.in: Removed.

* glib.rc.in: Remove
* glib/glib.rc.in: Moved here.

* Makefile.am
* glib/Makefile.am: Corresponding changes.

* glib/glib.def: Fix typo, add new entries.

* glib/gspawn-win32-helper.c: More debugging. Doesn't work
currently (or then it never has on Win2k, which I now use?)

* glib/gstrfuncs.c
* glib/gstrfuncs.h: Mark g_ascii_table for export/import on Win32.

* */makefile.mingw.in: Reflect new location of glib library.

22 years ago"gboolean foo : 1" results in TRUE being -1 once assigned, use "guint foo
Michael Natterer [Wed, 29 Aug 2001 23:11:17 +0000 (23:11 +0000)]
"gboolean foo : 1" results in TRUE being -1 once assigned, use "guint foo

2001-08-30  Michael Natterer  <mitch@gimp.org>

* glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1"
results in TRUE being -1 once assigned, use "guint foo : 1"
instead.

22 years agoUpdated name of error from G_CONVERT_ERROR_NOT_LOCAL_FILE to
Darin Adler [Mon, 27 Aug 2001 18:01:08 +0000 (18:01 +0000)]
Updated name of error from G_CONVERT_ERROR_NOT_LOCAL_FILE to

* glib/gconvert.h:
* glib/gconvert.c: (g_filename_from_uri):
Updated name of error from G_CONVERT_ERROR_NOT_LOCAL_FILE to
G_CONVERT_ERROR_NOT_ABSOLUTE_FILE_URI.

* tests/.cvsignore:
* tests/uri-test.c:
Added a lot more test for the new URI functions, including a
number that seem to indicate some minor bugs.

22 years agoMon Aug 27 2001 Jens Finke <jens@gnome.org> - Changed package name to
Jens Finke [Mon, 27 Aug 2001 14:36:02 +0000 (14:36 +0000)]
Mon Aug 27 2001 Jens Finke <jens@gnome.org> - Changed package name to

* Mon Aug 27 2001 Jens Finke <jens@gnome.org>
- Changed package name to glib2.
- Updated source URL.

22 years agoNew functions to convert between local pahtnames and file: uris.
Alex Larsson [Sun, 26 Aug 2001 21:39:47 +0000 (21:39 +0000)]
New functions to convert between local pahtnames and file: uris.

2001-08-26  Alex Larsson  <alexl@redhat.com>

* glib/gconvert.[ch] (g_filename_from_uri,
g_filename_to_uri): New functions to convert
between local pahtnames and file: uris.

* tests/Makefile.am:
* tests/uri-test.c:
Tests for the new functions.

22 years agoImplement and document g_ascii_isxxx.
Alexander Larsson [Sat, 25 Aug 2001 22:29:40 +0000 (22:29 +0000)]
Implement and document g_ascii_isxxx.

2001-08-25  Alexander Larsson  <alla@lysator.liu.se>

* glib/gstrfuncs.[ch]:
* docs/reference/glib/glib-overrides.txt:
* docs/reference/glib/glib-sections.txt:
* docs/reference/glib/tmpl/string_utils.sgml:
Implement and document g_ascii_isxxx.

* tests/strfunc-test.c:
Add tests for g_ascii_isxxx

* glib/guniprop.c (g_unichar_ispunct):
include symbols, not just punctuation.
(g_unichar_isspace): Vertical tab is not
considered whitespace.

* tests/shell-test.c:
Output errors on stderr

22 years agoForgot changelog entry
Alexander Larsson [Sat, 25 Aug 2001 22:27:29 +0000 (22:27 +0000)]
Forgot changelog entry

22 years agoNew function, doing the same as g_convert but taking a GIConv argument.
Alexander Larsson [Sat, 25 Aug 2001 03:22:16 +0000 (03:22 +0000)]
New function, doing the same as g_convert but taking a GIConv argument.

2001-08-24  Alexander Larsson  <alla@lysator.liu.se>

* glib/gconvert.[ch] (g_convert_with_iconv):
New function, doing the same as g_convert but taking
a GIConv argument. The old g_convert is just
a call to this with a newly opened GIConv.

22 years agoFix bad indenting. I figured I should fix this since I just pointed Alex
Darin Adler [Fri, 24 Aug 2001 20:50:56 +0000 (20:50 +0000)]
Fix bad indenting. I figured I should fix this since I just pointed Alex

* tests/shell-test.c: (check_string_result): Fix bad indenting.
I figured I should fix this since I just pointed Alex here to
look at this as an example.

22 years agoModified Files: glib/ChangeLog glib/glib/giochannel.c
Ron Steinke [Fri, 24 Aug 2001 20:02:41 +0000 (20:02 +0000)]
Modified Files: glib/ChangeLog glib/glib/giochannel.c

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

        * glib/giochannel.c: Matthias Clasen's fix for
        the buffer corruption bug by setting outbuf _after_
        the call to g_string_set_size()

        * glib/giochannel.c: kept the buffers from perpetually
        growing by subtracting 1 from allocated_len in the calculation
        of available space to account for the null at the end of the
        buffer

        * glib/giochannel.c: fixed g_io_channel_write_chars()
        to not write more than space_in_buf bytes for the UTF-8 case

22 years agoPatch from Darin Adler to restore Glib-1.2 handling of empty strings, and
Owen Taylor [Fri, 24 Aug 2001 15:27:23 +0000 (15:27 +0000)]
Patch from Darin Adler to restore Glib-1.2 handling of empty strings, and

Fri Aug 24 11:15:46 2001  Owen Taylor  <otaylor@redhat.com>

        * glib/gstrfuncs.c docs/Changes-2.0.txt: Patch from Darin
        Adler to restore Glib-1.2 handling of empty strings,
        and to fix off-by-one with @max_tokens. (#57663).
        Doc improvements.

        * tests/strfunc-test.c: Change tests to correspond to
        new behavior of g_strsplit().

22 years agoPatch from Josh Pritikin to fix reversed key and value destroy functions.
Owen Taylor [Thu, 23 Aug 2001 15:24:35 +0000 (15:24 +0000)]
Patch from Josh Pritikin to fix reversed key and value destroy functions.

Thu Aug 23 11:09:58 2001  Owen Taylor  <otaylor@redhat.com>

        * glib/ghash.c (g_hash_table_foreach_remove_or_steal):
        Patch from Josh Pritikin to fix reversed key and value destroy
        functions. (#59433)

        * glib/giochannel.h (struct _GIOChannel): Mark structure
        /*< private >*/

22 years agonew macro.
Tim Janik [Thu, 23 Aug 2001 14:13:32 +0000 (14:13 +0000)]
new macro.

Thu Aug 23 16:14:17 2001  Tim Janik  <timj@gtk.org>

        * glib/gmacros.h (G_GNUC_NO_INSTRUMENT): new macro.

22 years agoVery minor fix on content-type.
Kwok-Koon Cheung [Tue, 21 Aug 2001 05:20:09 +0000 (05:20 +0000)]
Very minor fix on content-type.

22 years agoAdded traditional Chinese translation.
Kwok-Koon Cheung [Tue, 21 Aug 2001 05:10:34 +0000 (05:10 +0000)]
Added traditional Chinese translation.

22 years agoadded po to SUBDIRS
Sven Neumann [Mon, 20 Aug 2001 19:23:43 +0000 (19:23 +0000)]
added po to SUBDIRS

2001-08-20  Sven Neumann  <sven@gimp.org>

* Makefile.am: added po to SUBDIRS

22 years agoEliminate use of floating point when determining if the hash table needs
Owen Taylor [Mon, 20 Aug 2001 01:37:50 +0000 (01:37 +0000)]
Eliminate use of floating point when determining if the hash table needs

Sun Aug 19 21:32:39 2001  Owen Taylor  <otaylor@redhat.com>

* glib/ghash.c: Eliminate use of floating point when
determining if the hash table needs to be resized,
and also factor out the test from g_hash_table_resize()
to save function calls for the common case.
(#59124)

* glib/gmain.c (g_main_context_query): Document the
        return value.

22 years agoAdded missing \ character.
Darin Adler [Sun, 19 Aug 2001 17:28:07 +0000 (17:28 +0000)]
Added missing \ character.

        * glib/gshell.c: (g_shell_quote): Added missing \ character.

        * tests/shell-test.c: (check_string_result), (test_shell_unquote),
        (main): Added tests for g_shell_quote and g_shell_unquote.

22 years agoAdded Tamil translation.
Fatih Demir [Sun, 19 Aug 2001 11:32:26 +0000 (11:32 +0000)]
Added Tamil translation.

22 years agoadd comment about shell quoting rules to the docs.
Havoc Pennington [Sun, 19 Aug 2001 05:52:40 +0000 (05:52 +0000)]
add comment about shell quoting rules to the docs.

2001-08-19  Havoc Pennington  <hp@pobox.com>

* glib/gshell.c (g_shell_unquote): add comment about shell quoting
rules to the docs.

22 years agoadd an object member to the structure. (weak_refs_notify): pass
James Henstridge [Sat, 18 Aug 2001 03:07:48 +0000 (03:07 +0000)]
add an object member to the structure. (weak_refs_notify): pass

2001-08-17  James Henstridge  <james@daa.com.au>

* gobject.c (WeakRefStack): add an object member to the structure.
(weak_refs_notify): pass wstack->object as extra argument to
notify functions.
(g_object_weak_ref): set wstack->object when initialising
WeakRefStack.

* gobject.h (GWeakNotify): add second argument to prototype which
gives the pointer to where the object that is being disposed of
was.

22 years agoModified Files: glib/ChangeLog glib/glib/giounix.c
Ron Steinke [Thu, 16 Aug 2001 23:50:13 +0000 (23:50 +0000)]
Modified Files: glib/ChangeLog glib/glib/giounix.c

Modified Files:
glib/ChangeLog glib/glib/giounix.c

        * glib/giounix.c: fixed an error in setting close_on_unref
        in g_io_channel_new_file ()

22 years agoModified Files: glib/ChangeLog glib/glib/giochannel.c glib/glib/giounix.c
Ron Steinke [Thu, 16 Aug 2001 23:02:53 +0000 (23:02 +0000)]
Modified Files: glib/ChangeLog glib/glib/giochannel.c glib/glib/giounix.c

Modified Files:
glib/ChangeLog glib/glib/giochannel.c glib/glib/giounix.c
glib/glib/giochannel.h glib/glib/glib.def
glib/docs/reference/ChangeLog
glib/docs/reference/glib/glib-sections.txt

* glib/giochannel.c glib/glib.def glib/giochannel.h: Added
new functions g_io_channel_[set,get]_close_on_unref ()

* glib/giochannel.c: glib/giochannel.h: Documentation fixes

* glib/giochannel.c: Fixed g_io_channel_write_chars ()
so that bytes_written is always set to an appropriate
value when it returns

* glib/giounix.c: changed g_io_channel_get_flags () to
set the is_readable and is_writeable flags cached
by the channel

* docs/reference/glib/glib-sections.txt: Added
declarations for g_io_channel_[set,get]_close_on_unref

22 years agoif __GNUC__ is defined, inline a test for an exact type match for
Tim Janik [Wed, 15 Aug 2001 09:19:52 +0000 (09:19 +0000)]
if __GNUC__ is defined, inline a test for an exact type match for

Wed Jul 18 19:42:31 2001  Tim Janik  <timj@gtk.org>

        * gtype.h: if __GNUC__ is defined, inline a test for an exact type
        match for instances and classes in G_TYPE_CHECK_INSTANCE_TYPE() and
        G_TYPE_CHECK_CLASS_TYPE() before calling g_type_instance_is_a().

22 years agolet the generated .pc files depend on config.status, so they get correctly
Tim Janik [Wed, 15 Aug 2001 09:11:23 +0000 (09:11 +0000)]
let the generated .pc files depend on config.status, so they get correctly

Wed Aug 15 11:09:56 2001  Tim Janik  <timj@gtk.org>

        * Makefile.am: let the generated .pc files depend on config.status,
        so they get correctly remade.

22 years agoMon Aug 14 2001 Jens Finke <jens@gnome.org> - Updated to match gpp
Jens Finke [Tue, 14 Aug 2001 21:41:16 +0000 (21:41 +0000)]
Mon Aug 14 2001 Jens Finke <jens@gnome.org> - Updated to match gpp

* Mon Aug 14 2001 Jens Finke <jens@gnome.org>
- Updated to match gpp standard:
 - removed all hardcoded paths, use rpm macros instead
 - changed Copyright to License
 - removed explicit docdir definition
 - added 'Requires' to devel package
 - added paths to 'configure' and 'make' calls
 - moved %changelog section to the end of the file
 - updated files section to match changes in glib-2.0

22 years agofix g_return_if_fail, g_assert and friends to have a body for
Tim Janik [Sun, 12 Aug 2001 19:08:13 +0000 (19:08 +0000)]
fix g_return_if_fail, g_assert and friends to have a body for

Sun Aug 12 21:05:13 2001  Tim Janik  <timj@gtk.org>

        * glib/gmessages.h: fix g_return_if_fail, g_assert and friends to
        have a body for G_DISABLE_CHECKS and G_DISABLE_ASSERT.
        fixes #58873.

22 years agoModified Files: ChangeLog glib/giochannel.c
Ron Steinke [Sun, 12 Aug 2001 15:03:36 +0000 (15:03 +0000)]
Modified Files: ChangeLog glib/giochannel.c

Modified Files:
ChangeLog glib/giochannel.c

        * glib/giochannel.c: safer handling of errno, fixed
        a bug in an assert

22 years agoFind test case for srcdir != builddir, miscellaneous cleanups.
Owen Taylor [Sun, 12 Aug 2001 14:12:02 +0000 (14:12 +0000)]
Find test case for srcdir != builddir, miscellaneous cleanups.

Sun Aug 12 10:09:00 2001  Owen Taylor  <otaylor@redhat.com>

        * tests/iochannel-test.c (main): Find test case for
        srcdir != builddir, miscellaneous cleanups.

        * tests/Makefile.am (EXTRA_DIST): Distribute casefold.txt,
        casemap.txt iochannel-test-infile.

        * glib-2.0-uninstalled.pc.in: Fix for move of glib files
        into subdir. (Pointed out by Steve Baker)

22 years agoSet GPATH to fix srcdir != builddir problems with GNU make.
Owen Taylor [Sun, 12 Aug 2001 14:04:13 +0000 (14:04 +0000)]
Set GPATH to fix srcdir != builddir problems with GNU make.

Sun Aug 12 10:03:42 2001  Owen Taylor  <otaylor@redhat.com>

* */Makefile.am: Set GPATH to fix srcdir != builddir
        problems with GNU make.

22 years agofix INT and FLOAT warnings for invalid token values.
Tim Janik [Sun, 12 Aug 2001 01:00:47 +0000 (01:00 +0000)]
fix INT and FLOAT warnings for invalid token values.

Sat Aug  4 01:04:08 2001  Tim Janik  <timj@gtk.org>

        * glib/gscanner.c (g_scanner_unexp_token): fix INT and FLOAT warnings
        for invalid token values.

22 years agodocument value arrays.
Tim Janik [Sun, 12 Aug 2001 00:56:22 +0000 (00:56 +0000)]
document value arrays.

Sun Aug 12 02:24:36 2001  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/value_arrays.sgml: document value arrays.

22 years agofix preallocation logic, support DISABLE_MEM_POOLS properly, group value
Tim Janik [Sun, 12 Aug 2001 00:55:38 +0000 (00:55 +0000)]
fix preallocation logic, support DISABLE_MEM_POOLS properly, group value

Sun Aug 12 02:07:10 2001  Tim Janik  <timj@gtk.org>

        * gvaluearray.[hc]: fix preallocation logic, support DISABLE_MEM_POOLS
        properly, group value allocations.
        (g_value_array_new): fix semantic of n_prealloced argument, so it's
        really just about preallocation space.

22 years agoModified Files: glib/ChangeLog glib/glib/giochannel.c
Ron Steinke [Fri, 10 Aug 2001 14:56:37 +0000 (14:56 +0000)]
Modified Files: glib/ChangeLog glib/glib/giochannel.c

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

        * glib/giochannel.c: Fixed a "sense of comparison" bug,
        added an assert to check when g_io_channels_read_chars ()
        is looping endlessly due to encoded_read_buf being corrupted.

22 years agoSeparate out log entry for gobject changes into the correct ChangeLog. Sorry.
Sven Neumann [Mon, 6 Aug 2001 21:30:58 +0000 (21:30 +0000)]
Separate out log entry for gobject changes into the correct ChangeLog. Sorry.

22 years agoadded new function g_nullify_pointer().
Sven Neumann [Mon, 6 Aug 2001 20:55:11 +0000 (20:55 +0000)]
added new function g_nullify_pointer().

2001-08-06  Sven Neumann  <sven@gimp.org>

* glib/gutils.[ch]: added new function g_nullify_pointer().

* gobject/gobject.[ch]:
added new functions g_object_[add|remove]_weak_pointer().

22 years agoModified Files: glib/ChangeLog glib/glib/giochannel.h
Ron Steinke [Sun, 5 Aug 2001 20:26:09 +0000 (20:26 +0000)]
Modified Files: glib/ChangeLog glib/glib/giochannel.h

Modified Files:
glib/ChangeLog glib/glib/giochannel.h glib/glib/giochannel.c
glib/glib/glib.def glib/docs/reference/glib/glib-sections.txt

        * glib/giochannel.c glib/giochannel.c glib/glib.def
        docs/reference/glib/glib-sections.txt: Added new functions
        g_io_channel_[read,write]_unichar ()

        * glib/giochannel.h: Finally remembered to remove the
        old error message G_IO_CHANNEL_ERROR_PCHAR_FLUSH

        * glib/giochannel.c: Some fixes to g_io_channel_fill_buffer ()
        and g_io_channel_write_chars ()

22 years agoModified Files: glib/ChangeLog glib/glib/giochannel.c glib/glib/giounix.c
Ron Steinke [Sun, 5 Aug 2001 16:48:42 +0000 (16:48 +0000)]
Modified Files: glib/ChangeLog glib/glib/giochannel.c glib/glib/giounix.c

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

        * glib/giochannel.c: Replaced the local use_buf variable with a macro
        in most places. This allows us to check some things without worrying
        whether we have allocated the read buffers yet, and allows us to allocate
        the buffers later in some cases.

        * glib/giochannel.c: Introduced a MAX_CHAR_SIZE macro, which is
        supposed to be greater than or equal to the length in bytes
        of the longest character in any encoding. This is necessary
        to get the minimum buffer size for successful writing.

        * glib/giochannel.c: Fixed g_io_channel_set_encoding () so
        that it just prints a warning if partial_write_buf isn't
        empty instead of failing.

        * glib/giochannel.c: Fixed several functions so they can accept
        NULL parameters for pointers to return values.

        * glib/giochannel.c: Altered the error handling for
        g_io_channel_read_chars () to only return an error if
        it doesn't have any buffered data.

        * glib/giochannel.c: Rewrote g_io_channel_write_chars ()
        to fix the error handling and remove duplicate sections
        of code.

        * glib/giounix.c: Fixed g_io_channel_new_file () to
        call fstat () to set the is_seekable flag, in case someone
        uses it on a FIFO.

22 years agoInclude stddef.h so that we use the system's definition of NULL. (#54730)
Owen Taylor [Sun, 5 Aug 2001 12:37:37 +0000 (12:37 +0000)]
Include stddef.h so that we use the system's definition of NULL. (#54730)

Sun Aug  5 08:25:30 2001  Owen Taylor  <otaylor@redhat.com>

* glib/gmacros.h: Include stddef.h so that we use
the system's definition of NULL. (#54730)

22 years agoHacky script to fix up your .msc.in files on windows. Dunno if this is a
Alexander Larsson [Sat, 4 Aug 2001 15:49:55 +0000 (15:49 +0000)]
Hacky script to fix up your .msc.in files on windows. Dunno if this is a

2001-08-04  Alexander Larsson   <alexl@redhat.com>

* win32-fixup.pl:
Hacky script to fix up your .msc.in files on windows.
Dunno if this is a good solution yet.

* build/win32/module.defs:
Back down libiconv version to 1.3, since that is what tor distributes.

* glib/glib.def:
Update

* gobject/makefile.msc.in:
build gobject-query.exe and gmarshal.strings, add libiconv dependency to linklines.

* gobject/marshal-genstrings.pl:
New file. perl script to generate gmarshal.strings.

22 years agoModified Files: glib/ChangeLog glib/glib/giochannel.c
Ron Steinke [Fri, 3 Aug 2001 20:42:06 +0000 (20:42 +0000)]
Modified Files: glib/ChangeLog glib/glib/giochannel.c

Modified Files:
glib/ChangeLog glib/glib/giochannel.c
glib/tests/iochannel-test.c

        * glib/giochannel.c: Fixed g_io_channel_seek_position()
        so that G_SEEK_CUR can be used with UTF-8 encoding

        * glib/giochannel.c: Changed test to decide whether
        use_buf is encoded_read_buf or read_buf from
        "if (channel->do_encode)" to "if (channel->encoding)" to
        fix bug 58472

        * tests/iochannel-test.c: Fixed so it doesn't output
        double newlines

        * glib/giochannel.c: Fixed g_io_channel_fill_buffer()
        so that encoded_read_buf is created for UTF-8 encoding

22 years agoRe-checkin.
Darin Adler [Fri, 3 Aug 2001 19:27:35 +0000 (19:27 +0000)]
Re-checkin.

22 years agoImprove strfunc test to test the split function in a way that demonstrates
Darin Adler [Fri, 3 Aug 2001 19:25:53 +0000 (19:25 +0000)]
Improve strfunc test to test the split function in a way that demonstrates

* tests/.cvsignore:
* tests/strfunc-test.c: (strv_check), (main):
Improve strfunc test to test the split function in a way that
demonstrates its idiosyncrasies.

22 years agobeautified configure help output.
Sven Neumann [Fri, 3 Aug 2001 16:00:23 +0000 (16:00 +0000)]
beautified configure help output.

2001-08-03  Sven Neumann  <sven@gimp.org>

* configure.in: beautified configure help output.

* glib/gtree.c: changed help for g_tree_insert(); it was misleading.

22 years agoFix computation (Fix from Cesar Rincon)
Owen Taylor [Fri, 3 Aug 2001 14:22:21 +0000 (14:22 +0000)]
Fix computation (Fix from Cesar Rincon)

Fri Aug  3 10:20:10 2001  Owen Taylor  <otaylor@redhat.com>

* glib/guniprop.c (g_unichar_xdigit_value): Fix computation
(Fix from Cesar Rincon)

22 years agoMade g_utf8_find_prev_char able to return the first character of a string.
Christopher James Lahey [Fri, 3 Aug 2001 05:52:28 +0000 (05:52 +0000)]
Made g_utf8_find_prev_char able to return the first character of a string.

2001-08-01  Christopher James Lahey  <clahey@ximian.com>

* glib/gutf8.c (g_utf8_find_prev_char): Made g_utf8_find_prev_char
able to return the first character of a string.

22 years agoadded convenience macro g_signal_connect_after().
Sven Neumann [Wed, 1 Aug 2001 12:14:12 +0000 (12:14 +0000)]
added convenience macro g_signal_connect_after().

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

        * gsignal.h: added convenience macro g_signal_connect_after().

22 years agoModified Files: glib/ChangeLog glib/glib/giochannel.h
Ron Steinke [Tue, 31 Jul 2001 23:12:22 +0000 (23:12 +0000)]
Modified Files: glib/ChangeLog glib/glib/giochannel.h

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

        * glib/giochannel.h: Committed this file, which is where
        the changes in my previous changelog entry happened,
        not giochannel.c

22 years agodeclare gboolean vtable_set static.
Sven Neumann [Tue, 31 Jul 2001 08:01:04 +0000 (08:01 +0000)]
declare gboolean vtable_set static.

2001-07-31  Sven Neumann  <sven@gimp.org>

* glib/gmem.c: declare gboolean vtable_set static.

22 years agoModified Files: glib/docs/reference/glib/glib-sections.txt
Ron Steinke [Mon, 30 Jul 2001 22:54:08 +0000 (22:54 +0000)]
Modified Files: glib/docs/reference/glib/glib-sections.txt

Modified Files:
  glib/docs/reference/glib/glib-sections.txt
  glib/tests/iochannel-test.c glib/ChangeLog

        * glib/giochannel.c docs/reference/glib/glib-sections.txt
        tests/iochannel-test.c: removed G_IO_CHANNEL_*_LINE_TERM macros

        * glib/giochannel.c put /*<public>*/ and /*<private>*/ tags in
        the GIOChannel structure

22 years ago#undef inline before testing whether it works to avoid false positives.
Sebastian Wilhelmi [Mon, 30 Jul 2001 09:02:37 +0000 (09:02 +0000)]
#undef inline before testing whether it works to avoid false positives.

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

* configure.in: #undef inline before testing whether it works to
avoid false positives. Patch from Garry R. Osgood
<grosgood@rcn.com>. Fixes bug #58272.

22 years agobuild the library name ourselfs ... so we can load the library specified
Sebastian Wilhelmi [Mon, 30 Jul 2001 08:52:20 +0000 (08:52 +0000)]
build the library name ourselfs ... so we can load the library specified

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

* gmodule/gmodule.c (parse_libtool_archive): build the library
name ourselfs ... so we can load the library specified and not
mangle any name not beggining in 'lib'. Patch from Michael Meeks
<michael@ximian.com>.

22 years agoMatthias Classen's patch to give g_io_channel_flush() the correct sense
Ron Steinke [Sun, 29 Jul 2001 17:43:20 +0000 (17:43 +0000)]
Matthias Classen's patch to give g_io_channel_flush() the correct sense

        * glib/giochannel.c: Matthias Classen's patch to give
        g_io_channel_flush() the correct sense when testing
        whether the buffer is empty
        * glib/giounix.c: Matthias Classen's patch to set
        the mode of a file created with g_io_channel_new_file()

22 years agoif __GNUC__ is defined, inline a test for an exact type match for
Tim Janik [Sun, 29 Jul 2001 16:02:45 +0000 (16:02 +0000)]
if __GNUC__ is defined, inline a test for an exact type match for

Wed Jul 18 19:42:31 2001  Tim Janik  <timj@gtk.org>

        * gtype.h: if __GNUC__ is defined, inline a test for an exact type
        match for instances and classes in G_TYPE_CHECK_INSTANCE_TYPE() and
        G_TYPE_CHECK_CLASS_TYPE() before calling g_type_instance_is_a().

Sun Jul 29 16:08:17 2001  Tim Janik  <timj@gtk.org>

        * glib/gscanner.[hc]: removed deprecated g_scanner_stat_mode().

        * glib/gscanner.c (g_scanner_msg_handler): by default, print scanner
        errors and warnings to stderr.

22 years agoUpdate for de.po.
Christian Meyer [Sun, 29 Jul 2001 05:43:04 +0000 (05:43 +0000)]
Update for de.po.

22 years agoupdated externals
Hans Breuer [Sat, 28 Jul 2001 22:55:38 +0000 (22:55 +0000)]
updated externals

2001-07-29  Hans Breuer  <hans@breuer.org>

* gobject.def : updated externals

22 years agoUse G_GNUC_EXTENSION instead of __extension__. Patch from Pavel Roskin
Sebastian Wilhelmi [Fri, 27 Jul 2001 10:46:13 +0000 (10:46 +0000)]
Use G_GNUC_EXTENSION instead of __extension__. Patch from Pavel Roskin

2001-07-27  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* glib/gtypes.h: Use G_GNUC_EXTENSION instead of
__extension__. Patch from Pavel Roskin <proski@gnu.org>.

22 years agoUpdate location of pkgconfig from sourceforge.net to new location at
Darin Adler [Thu, 26 Jul 2001 20:11:42 +0000 (20:11 +0000)]
Update location of pkgconfig from sourceforge.net to new location at

* configure.in:
* m4macros/glib-2.0.m4:
Update location of pkgconfig from sourceforge.net to new
location at freedeskop.org.

22 years agoadded a "release_check" to the OutArgument structure, which, if present,
Michael Natterer [Thu, 26 Jul 2001 10:36:01 +0000 (10:36 +0000)]
added a "release_check" to the OutArgument structure, which, if present,

2001-07-26  Michael Natterer  <mitch@convergence.de>

* gobject/glib-genmarshal.c: added a "release_check" to the
OutArgument structure, which, if present, gets integrated in the
marshaller code and protects us from stuff like
g_object_unref(NULL) on marshaller return values.

22 years agofix unconditional check of first GParamSpec in
Padraig O'Briain [Mon, 23 Jul 2001 17:08:24 +0000 (17:08 +0000)]
fix unconditional check of first GParamSpec in

* gobject/gobjectnotifyqueue.c: fix unconditional check of
first GParamSpec in g_object_notify_queue_thaw(); prevent
property notification being lost

22 years agofixed g_io_channel_seek_position() so that G_SEEK_CUR works for UTF-8
Ron Steinke [Mon, 23 Jul 2001 16:49:59 +0000 (16:49 +0000)]
fixed g_io_channel_seek_position() so that G_SEEK_CUR works for UTF-8

        * glib/giochannel.c: fixed g_io_channel_seek_position() so that
        G_SEEK_CUR works for UTF-8 channel encoding, and unallocated
        converters are not flushed after the seek; fixed
        g_io_channel_get_buffer_condition() so that G_IO_IN is only
        set if the read buffer contains at least one full character

22 years agoremoved glib.def from EXTRA_DIST ... ... and added it here.
Sven Neumann [Mon, 23 Jul 2001 11:44:04 +0000 (11:44 +0000)]
removed glib.def from EXTRA_DIST ... ... and added it here.

2001-07-23  Sven Neumann  <sven@gimp.org>

        * Makefile.am: removed glib.def from EXTRA_DIST ...
        * glib/Makefile.am: ... and added it here.

22 years agomake the code actually have an effect (Use |= to set bits). Not absolutely
Hans Breuer [Sun, 22 Jul 2001 21:15:22 +0000 (21:15 +0000)]
make the code actually have an effect (Use |= to set bits). Not absolutely

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

* glib/giochannel.c (g_io_channel_get_buffer_condition) : make
the code actually have an effect (Use |= to set bits). Not
absolutely sure if is the right one.

* glib/giowin32.c (g_io_win32_<check|prepare>) : don't modify
watch->condition but restored the previous behaviour.
Now gio-test as well as The Gimp work again ...

22 years agoset the corresponding p(ermission)mode of the file when creating,
Hans Breuer [Sat, 21 Jul 2001 17:26:01 +0000 (17:26 +0000)]
set the corresponding p(ermission)mode of the file when creating,

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

* glib/giowin32.c (g_io_channel_new_file) : set the
corresponding p(ermission)mode of the file when creating,
otherwise a wronly file couldn't be overwritten (at least
not on Win9x).

22 years agointial implementation of new API functions. Not sure if it behaves as
Hans Breuer [Sat, 21 Jul 2001 13:15:58 +0000 (13:15 +0000)]
intial implementation of new API functions. Not sure if it behaves as

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

* glib/giowin32.c : intial implementation of new API functions.
Not sure if it behaves as intended ...

* glib.def : removed, glib/glib.def is the file used since moved
* glib/glib.def : updated

* tests/makefile.msc : added iochannel-test

22 years agoModified Files: glib/ChangeLog glib/glib.def glib/glib/giochannel.c
Ron Steinke [Fri, 20 Jul 2001 20:14:37 +0000 (20:14 +0000)]
Modified Files: glib/ChangeLog glib/glib.def glib/glib/giochannel.c

     Modified Files:
  glib/ChangeLog glib/glib.def glib/glib/giochannel.c
  glib/glib/giochannel.h glib/glib/giounix.c
  glib/glib/giowin32.c
  glib/docs/reference/glib/glib-sections.txt
  glib/tests/iochannel-test.c glib/tests/unicode-collate.c
  glib/tests/unicode-normalize.c
     Added Files:
  glib/tests/iochannel-test-infile

        * glib/giochannel.c: API changes, fixes to
        error handling, some internal restructuring
        * glib/giochannel.h: API changes, documentation for
        elements in GIOChannel structure
        * glib/giounix.c: Matched API changes, implemented
        backend to set is_readable, is_writeable, is_seekable
        flags, added a test to catch large values of count
        for which the behavior of write() is undefined
        * glib/giowin32.c: Changed to match new prototypes for
        io_close() and io_seek(), removed references to
        G_IO_STATUS_INTR, set is_seekable flag in channel
        creation functions
        * glib.def: Renamed g_channel_error_quark() and
        g_channel_error_from_errno() to g_io_channel_error_quark() and
        g_io_channel_error_from_errno(); added new functions
        g_io_channel_get_buffered() and g_io_channel_set_buffered()
        * docs/reference/glib/glib-sections.txt: Modified iochannel
        section to reflect new functions and API changes
        * tests/iochannel-test.c: Fixed to work with API changes
        * tests/iochannel-test-infile: New file; input file
        for iochannel-test
        * tests/unicode-collate.c tests/unicode-normalize.c:
        Changed G_IO_FILE_MODE_READ to "r" to match API change

22 years agoglib/ChangeLog: modified for changes in glib-genmarshal.c
Ron Steinke [Fri, 20 Jul 2001 19:14:49 +0000 (19:14 +0000)]
glib/ChangeLog: modified for changes in glib-genmarshal.c

  glib/ChangeLog: modified for changes in glib-genmarshal.c

22 years agoModified to create header files which use G_[BEGIN,END]_DECLS instead of
Ron Steinke [Fri, 20 Jul 2001 19:11:41 +0000 (19:11 +0000)]
Modified to create header files which use G_[BEGIN,END]_DECLS instead of

  * gobject/glib-genmarshal.c: Modified to create header files which
use G_[BEGIN,END]_DECLS instead of #ifdef __cplusplus ...

22 years agos/size_t/gsize/ to match prototypes.
Owen Taylor [Fri, 20 Jul 2001 18:12:10 +0000 (18:12 +0000)]
s/size_t/gsize/ to match prototypes.

Fri Jul 20 14:11:29 2001  Owen Taylor  <otaylor@redhat.com>

* glib/gutf8.c glib/gunidecomp.c: s/size_t/gsize/ to match
prototypes.

22 years agomake it compile again
Hans Breuer [Fri, 20 Jul 2001 17:13:52 +0000 (17:13 +0000)]
make it compile again

2001-07-20  Hans Breuer  <hans@breuer.org>

* glib/glib/giowin32.c : make it compile again

* glib/glib.def : updated exports

* glib/makefile.msc.in :
* glib/makefile.mingw.in :
* tests/makefile.msc.in : reflect glib move

* tests/mainloop-test.c : #include <io.h> for _pipe()

* tests/gio-test.c : casts for strict compiler settings

* makefile.msc.in : new master makefile reflecting the glib
move. The '.in' isn't really needed anymore, because there
is no version number in it

22 years agoreflect glib move
Hans Breuer [Fri, 20 Jul 2001 17:01:30 +0000 (17:01 +0000)]
reflect glib move

2001-07-20  Hans Breuer  <hans@breuer.org>

* makefile.msc.in : reflect glib move

22 years agoupdated externals
Hans Breuer [Fri, 20 Jul 2001 16:58:00 +0000 (16:58 +0000)]
updated externals

2001-07-20  Hans Breuer  <hans@breuer.org>

* gobject.def : updated externals

* makefile.msc.in : reflect glib move

22 years agoFix memory leak and dubious list manipulation. (Found by Ron Koerner,
Owen Taylor [Thu, 19 Jul 2001 20:17:03 +0000 (20:17 +0000)]
Fix memory leak and dubious list manipulation. (Found by Ron Koerner,

Thu Jul 19 16:05:21 2001  Owen Taylor  <otaylor@redhat.com>

* glib/gcompletion.c (g_completion_complete): Fix memory
leak and dubious list manipulation. (Found by
Ron Koerner, #53408)

* glib/gfileutils.c (get_contents_stdio): Call fclose()
on FILE * on error. (#57057)