Permalink
Commits on Sep 4, 2001
  1. Version 1.3.7

    Owen Taylor committed with Owen Taylor Sep 4, 2001
    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.
  2. Update. Don't mention pthreads.

    tml1024 committed with Tor Lillqvist Sep 4, 2001
    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.
Commits on Sep 3, 2001
  1. updates for 1.3.7 release.

    tim-janik committed with Tim Janik Sep 3, 2001
    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.
  2. Implement.

    Owen Taylor committed with Owen Taylor Sep 3, 2001
    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.
  3. Add closure_marshal/closure_callback fields to GSourceFuncs for use by

    Owen Taylor committed with Owen Taylor Sep 3, 2001
    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.
Commits on Sep 2, 2001
  1. Replace some uses of isspace() with g_ascii_isspace().

    Owen Taylor committed with Owen Taylor Sep 2, 2001
    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.
  2. Fix some variables that should have been static.

    Owen Taylor committed with Owen Taylor Sep 2, 2001
    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.
  3. Added Spanish translation by jos� antonio salgueiro

    Carlos Perell� Mar�n committed with Carlos Perelló Marín Sep 2, 2001
    2001-09-02  Carlos Perell� Mar�n <carlos@gnome-db.org>
    
    	* es.po: Added Spanish translation by jos� antonio salgueiro
    	<joseantsa@retemail.es>
Commits on Aug 30, 2001
  1. Add 'want_to_read' to GStaticRWLock to avoid calling g_cond_broadcast,

    Sebastian Wilhelmi committed with Sebastian Wilhelmi Aug 30, 2001
    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.
  2. Don't free cached_poll_array, when adding new poll's. This is taken care

    Sebastian Wilhelmi committed with Sebastian Wilhelmi Aug 30, 2001
    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.
  3. After being away for about five months, I'm back working on this... For

    tml1024 committed with Tor Lillqvist Aug 30, 2001
    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.
Commits on Aug 29, 2001
  1. "gboolean foo : 1" results in TRUE being -1 once assigned, use "guint…

    mitchfoo committed with Michael Natterer Aug 29, 2001
    … 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.
Commits on Aug 27, 2001
  1. Updated name of error from G_CONVERT_ERROR_NOT_LOCAL_FILE to

    Darin Adler committed Aug 27, 2001
    	* 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.
  2. Mon Aug 27 2001 Jens Finke <jens@gnome.org> - Changed package name to

    Jens Finke committed Aug 27, 2001
    * Mon Aug 27 2001 Jens Finke <jens@gnome.org>
    - Changed package name to glib2.
    - Updated source URL.
Commits on Aug 26, 2001
  1. New functions to convert between local pahtnames and file: uris.

    alexlarsson committed with Alexander Larsson Aug 26, 2001
    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.
Commits on Aug 25, 2001
  1. Implement and document g_ascii_isxxx.

    Alexander Larsson committed with Alexander Larsson Aug 25, 2001
    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
  2. Forgot changelog entry

    Alexander Larsson committed Aug 25, 2001
  3. New function, doing the same as g_convert but taking a GIConv argument.

    Alexander Larsson committed with Alexander Larsson Aug 25, 2001
    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.
Commits on Aug 24, 2001
  1. Fix bad indenting. I figured I should fix this since I just pointed Alex

    Darin Adler committed Aug 24, 2001
    	* 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.
  2. Modified Files: glib/ChangeLog glib/glib/giochannel.c

    Ron Steinke committed Aug 24, 2001
    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
  3. Patch from Darin Adler to restore Glib-1.2 handling of empty strings,…

    Owen Taylor committed with Owen Taylor Aug 24, 2001
    … 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().
Commits on Aug 23, 2001
  1. Patch from Josh Pritikin to fix reversed key and value destroy functi…

    Owen Taylor committed with Owen Taylor Aug 23, 2001
    …ons.
    
    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 >*/
  2. new macro.

    tim-janik committed with Tim Janik Aug 23, 2001
    Thu Aug 23 16:14:17 2001  Tim Janik  <timj@gtk.org>
    
            * glib/gmacros.h (G_GNUC_NO_INSTRUMENT): new macro.
Commits on Aug 21, 2001
  1. Very minor fix on content-type.

    Kwok-Koon Cheung committed Aug 21, 2001
  2. Added traditional Chinese translation.

    Kwok-Koon Cheung committed Aug 21, 2001
Commits on Aug 20, 2001
  1. added po to SUBDIRS

    Sven Neumann committed with Sven Neumann Aug 20, 2001
    2001-08-20  Sven Neumann  <sven@gimp.org>
    
    	* Makefile.am: added po to SUBDIRS
  2. Eliminate use of floating point when determining if the hash table needs

    Owen Taylor committed with Owen Taylor Aug 20, 2001
    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.
Commits on Aug 19, 2001
  1. Added missing \ character.

    Darin Adler committed Aug 19, 2001
            * 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.
  2. Added Tamil translation.

    Fatih Demir committed Aug 19, 2001
  3. add comment about shell quoting rules to the docs.

    havocp committed with Havoc Pennington Aug 19, 2001
    2001-08-19  Havoc Pennington  <hp@pobox.com>
    
    	* glib/gshell.c (g_shell_unquote): add comment about shell quoting
    	rules to the docs.
Commits on Aug 18, 2001
  1. add an object member to the structure. (weak_refs_notify): pass

    James Henstridge committed with James Henstridge Aug 18, 2001
    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.
Commits on Aug 16, 2001
  1. Modified Files: glib/ChangeLog glib/glib/giounix.c

    Ron Steinke committed Aug 16, 2001
    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 ()
  2. Modified Files: glib/ChangeLog glib/glib/giochannel.c glib/glib/gioun…

    Ron Steinke committed Aug 16, 2001
    …ix.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
Commits on Aug 15, 2001
  1. if __GNUC__ is defined, inline a test for an exact type match for

    tim-janik committed with Tim Janik Aug 15, 2001
    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().
  2. let the generated .pc files depend on config.status, so they get corr…

    tim-janik committed with Tim Janik Aug 15, 2001
    …ectly
    
    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.