1. 21 Feb, 2010 1 commit
  2. 21 Apr, 2009 2 commits
  3. 05 May, 2008 1 commit
    • Michael Natterer's avatar
      #define __GLIB_H_INSIDE__ around including everything. · e0aa9d8a
      Michael Natterer authored
      2008-05-05  Michael Natterer  <mitch@imendio.com>
      
      	* glib/glib.h: #define __GLIB_H_INSIDE__ around including
      	everything.
      
      	* glib/*.h: check for that define instead of __G_LIB_H__ if
      	G_DISABLE_SINGLE_INCLUDES is defined.
      
      	* glib/gdatasetprivate.h: #include <glib.h> instead of
      	<glib/gdataset.h>
      
      
      svn path=/trunk/; revision=6875
      e0aa9d8a
  4. 14 Mar, 2008 1 commit
    • Michael Natterer's avatar
      make it possible to disable single-file includes by defining · f4bb21aa
      Michael Natterer authored
      2008-03-14  Michael Natterer  <mitch@imendio.com>
      
      	* glib/*.h: make it possible to disable single-file includes by
      	defining G_DISABLE_SINGLE_INCLUDES when building against GLib.
      	Approved by Tim Janik.
      
      	* glib/glib.h: include <glib/gslice.h>.
      
      	* glib/gi18n.h
      	* glib/gi18n-lib.h
      	* glib/gprintf.h: include <glib.h> so the above works when these
      	files are included without including <glib.h> first.
      
      
      svn path=/trunk/; revision=6713
      f4bb21aa
  5. 25 Apr, 2007 1 commit
  6. 13 May, 2006 1 commit
  7. 11 May, 2006 1 commit
    • Bastien Nocera's avatar
      add documentation for G_OPTION_ARG_INT64 · 93ec25ad
      Bastien Nocera authored
      2006-05-11  Bastien Nocera  <hadess@hadess.net>
      
      	* glib/tmpl/option.sgml: add documentation for G_OPTION_ARG_INT64
      
      2006-05-11  Bastien Nocera  <hadess@hadess.net>
      
      	* glib/goption.c: (parse_int64), (parse_arg), (free_changes_list):
      	* glib/goption.h:
      	* tests/option-test.c: (arg_test6), (main): add an int64 type for
      	GOption (G_OPTION_ARG_INT64) (#341237)
      93ec25ad
  8. 27 Mar, 2006 1 commit
  9. 12 Jul, 2005 1 commit
    • Matthias Clasen's avatar
      Add and implement a new flag to turn off the automatic <groupname>- · 58dd4814
      Matthias Clasen authored
      2005-07-12  Matthias Clasen  <mclasen@redhat.com>
      
      	* glib/goption.h (G_OPTION_FLAG_NOALIAS):
      	* glib/goption.c: Add and implement a new flag
      	to turn off the automatic <groupname>- prefixing
      	for conflict resolution of long option names. (#171840,
      	Adam McLaurin)
      
      	All optional callback arguments  (#308886, Pawel
      	Sliwowski)
      
      	* glib/goption.h (G_OPTION_FLAG_OPTIONAL_ARG):
      	* glib/goption.c: Add and implement a new flag
      	to indicate that a callback *optionally* takes another
      	argument.
      
      	* tests/option-test.c: Add tests for optional arguments.
      58dd4814
  10. 18 Jun, 2005 1 commit
  11. 23 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Don't mark g_option_error_quark() as const, to be consistent with all the · ea23032e
      Matthias Clasen authored
      2004-11-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* glib/goption.h: Don't mark g_option_error_quark() as const,
      	to be consistent with all the other error_quark functions.
      	(technically they are const, but since these are called only
      	in error paths, giving the compiler better optimization
      	opportunities doesn't matter much)
      ea23032e
  12. 04 Nov, 2004 1 commit
  13. 29 Oct, 2004 1 commit
    • 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
  14. 27 Sep, 2004 1 commit
  15. 19 Aug, 2004 1 commit
  16. 03 Aug, 2004 1 commit
  17. 02 Aug, 2004 2 commits
    • Anders Carlsson's avatar
      Move GTranslateFunc to gtypes.h · 24784330
      Anders Carlsson authored
      2004-08-03  Anders Carlsson  <andersca@gnome.org>
      
      	* glib/goption.h:
      	* glib/gtypes.h:
      	Move GTranslateFunc to gtypes.h
      24784330
    • Anders Carlsson's avatar
      Add GOption. · deee47ed
      Anders Carlsson authored
      2004-08-02  Anders Carlsson  <andersca@gnome.org>
      
      	* glib/Makefile.am:
      	* glib/glib.h:
      	* glib/goption.c:
      	* glib/goption.h:
      	* tests/.cvsignore:
      	* tests/Makefile.am:
      	* tests/option-test.c:
      	Add GOption.
      deee47ed