1. 08 Nov, 2004 2 commits
    • Matthias Clasen's avatar
      Make g_io_channel_ref(), g_main_context_ref(), g_hook_ref(), · c83e5260
      Matthias Clasen authored
      2004-11-08  Matthias Clasen  <mclasen@redhat.com>
      
      	* glib/gasyncqueue.[hc]:
      	* glib/ghook.[hc]:
      	* glib/gmain.[hc]:
      	* glib/giochannel.[hc]: Make g_io_channel_ref(),
      	g_main_context_ref(), g_hook_ref(), g_async_queue_ref()
      	return the passed in pointer. (#151663, Manish Singh)
      c83e5260
    • Matthias Clasen's avatar
      Initialize child_watch_count to 1, so that we don't miss the very first · 06312387
      Matthias Clasen authored
      2004-11-08  Matthias Clasen  <mclasen@redhat.com>
      
      	* glib/gmain.c: Initialize child_watch_count to 1, so
      	that we don't miss the very first child if it exits
      	before we set up the child watch. In that case we had
      	previously source->count == child_watch_count == 0,
      	causing g_child_watch_check() to skip the waitpid()
      	call.  (#154827, Gustavo Carneiro)
      
      	* glib/gmain.c (g_child_watch_source_init_single)
      	(g_child_watch_source_init_multi_threaded): Use sigaction()
      	instead of signal().  (#136867, Jonas Jonsson, patch by
      	Archana Shah)
      06312387
  2. 07 Nov, 2004 1 commit
  3. 06 Nov, 2004 1 commit
  4. 05 Nov, 2004 5 commits
  5. 04 Nov, 2004 8 commits
  6. 03 Nov, 2004 2 commits
  7. 02 Nov, 2004 7 commits
  8. 01 Nov, 2004 5 commits
    • Tor Lillqvist's avatar
      Implement correctly also on Unix systems without lstat(). (#157038, Morten · f171eae2
      Tor Lillqvist authored
      2004-11-01  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/gstdio.c (g_lstat): Implement correctly also on Unix
      	systems without lstat(). (#157038, Morten Welinder)
      f171eae2
    • Ray Strode's avatar
      don't return an error if we come across a value with invalid utf8 or if we · 0a5580d8
      Ray Strode authored
      2004-11-01  Ray Strode <rstrode@redhat.com>
      
      	* glib/gkeyfile.c:
      	(g_key_file_get_locale_string): don't return an
      	error if we come across a value with invalid utf8 or
      	if we don't find a translated string. Just fallback
      	to the untranslated string (Mark McLoughlin, bug
      	#156790).
      
      	* glib/gkeyfile.c:
      	(g_key_file_init), (g_key_file_clear): track the
      	actual start GKeyFileGroup rather than just its name
      	(g_key_file_parse_group): allow add_group() to
      	update the start group.
      	(g_key_file_remove_group_node): update the start
      	group if it gets removed (Mark McLoughlin, bug
      	#156790).
      
      	* glib/gkeyfile.c:
      	(g_key_file_parse_string_as_value): Don't escape
      	tabs and spaces in the middle of key values.
      0a5580d8
    • Matthias Clasen's avatar
      glib/gdebug.h glib/gutils.c gobject/gtype.c gthread/gthread-posix.c · 286d84fc
      Matthias Clasen authored
      2004-11-01  Matthias Clasen  <mclasen@redhat.com>
      
      	* glib/gconvert.c:
      	* glib/gdebug.h
      	* glib/gutils.c
      	* gobject/gtype.c
      	* gthread/gthread-posix.c
      	* tests/timeloop-closure.c
      	* tests/timeloop.c: Fix sparse warnings.  (#157014, Kjartan Maraas)
      286d84fc
    • Matthias Clasen's avatar
      Documentation updates. · 938f1a9a
      Matthias Clasen authored
      938f1a9a
    • Matthias Clasen's avatar
      Handle conflicts between options in different groups. (#156808) · 57f85072
      Matthias Clasen authored
      2004-11-01  Matthias Clasen  <mclasen@redhat.com>
      
      	Handle conflicts between options in different groups. (#156808)
      
      	* glib/goption.c (g_option_context_parse): When a long option does not
      	match exactly, try to parse it as --group-option.
      	(g_option_context_add_group): Warn if a group name conflict occurs.
      
      	* glib/goption.c (print_help): Print out the effective options, ie
      	don't print shadowed short options, and for long options print
      	--group-option instead of --option if appropriate.
      57f85072
  9. 31 Oct, 2004 3 commits
  10. 30 Oct, 2004 2 commits
  11. 29 Oct, 2004 4 commits
    • Hans Breuer's avatar
      updated [and finally fixed my script to produce ready to go de-in(ed) · aa410ede
      Hans Breuer authored
      2004-10-29  Hans Breuer  <hans@breuer.org>
      
      	* glibconfig.h */makefile.msc.in : updated [and finally fixed my
      	script to produce ready to go de-in(ed) files, w/o autotools]
      
      	* */*.rc.in : updated copyrights to 2004
      
      	* glib/gutils.c : some CSIDL_* defines lacking from older SDK;
      	use the same fallback mecahnism as on *NIX where ever applicable
      aa410ede
    • Matthias Clasen's avatar
      Add G_OPTION_REMAINING · dd028d11
      Matthias Clasen authored
      2004-10-29  Matthias Clasen  <mclasen@redhat.com>
      
      	* glib/glib-sections.txt: Add G_OPTION_REMAINING
      dd028d11
    • Matthias Clasen's avatar
      Update. · eca5c5ea
      Matthias Clasen authored
      eca5c5ea
    • Matthias Clasen's avatar
      Add tests for the handling of non-option arguments, "--" and · a9fa61a1
      Matthias Clasen authored
      2004-10-29  Matthias Clasen  <mclasen@redhat.com>
      
      	* tests/option-test.c: Add tests for the handling of
      	non-option arguments, "--" and G_OPTION_REMAINING.
      
      	* glib/goption.[hc]: #define G_OPTION_REMAINING, which is
      	a special long option name, which can be used for an option
      	in the main group which collects the non-option arguments.
      	It must be of type G_OPTION_ARG_STRING_ARRAY or
      	G_OPTION_ARG_FILENAME_ARRAY. If the main group doesn't contain
      	an option whose name is G_OPTION_REMAINING, the non-option
      	arguments are left behind in argv as before.
      a9fa61a1