1. 30 Sep, 2006 1 commit
  2. 04 Apr, 2006 1 commit
    • Matthias Clasen's avatar
      Move short_month_names and long_month_names to bss. · b58fb2bd
      Matthias Clasen authored
      2006-04-04  Matthias Clasen  <mclasen@redhat.com>
      
              * glib/gdate.c: Move short_month_names and long_month_names
              to bss.
      
              * glib/gspawn-win32.c (g_spawn_error_quark):
              * glib/gspawn.c (g_spawn_error_quark):
              * glib/gshell.c (g_shell_error_quark):
              * glib/gmarkup.c (g_markup_error_quark):
              * glib/goption.c (g_option_error_quark):
              * glib/gkeyfile.c (g_key_file_error_quark):
              * glib/giochannel.c (g_io_channel_error_quark):
              * glib/gfileutils.c (g_file_error_quark):
              * glib/gconvert.c (g_convert_error_quark):
              * glib/gbookmarkfile.c (g_bookmark_file_error_quark):
              * glib/gthread.c (g_thread_error_quark): No point in making
              the error path fast by caching quarks.
      
              * glib/gbookmarkfile.c: Make the parser struct const.
      b58fb2bd
  3. 14 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · 608a31b9
      Matthias Clasen authored
      2005-03-13  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in galias.h:
      
      	* glib/glib.symbols: Group symbols by header and source file.
      	* glib/makegalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegalias.pl -def
      	* glib/Makefile.am (galiasdef.c): Add a rule to generate this
      	file.
      	* glib/*.c: Include galias.h after the other GLib headers,
      	include galiasdef.c at the bottom.
      608a31b9
  4. 16 Sep, 2004 1 commit
  5. 01 Aug, 2004 1 commit
  6. 30 Mar, 2003 1 commit
    • Matthias Clasen's avatar
      Optimize the common cases (init == NULL or init == "") a bit. replace uses · 6710fd6e
      Matthias Clasen authored
      2003-03-30  Matthias Clasen  <maclas@gmx.de>
      
      	* glib/gstring.c (g_string_new): Optimize the common cases
      	(init == NULL or init == "") a bit.
      	* glib/gmarkup.c, glib/gmessages.c, glib/gscanner.c,
      	glib/gshell.c, glib/gspawn-win32-helper.c, glib/gspawn-win32.c,
      	glib/gspawn.c, gobject/gvaluetransform.c: replace uses of
      	g_string_new ("") by g_string_new (NULL).  (#106973, Morten Welinder)
      6710fd6e
  7. 04 Dec, 2002 1 commit
  8. 28 Feb, 2002 1 commit
  9. 25 Feb, 2002 1 commit
  10. 17 Feb, 2002 1 commit
    • Owen Taylor's avatar
      1.3.14 · 57d9c092
      Owen Taylor authored
      Sun Feb 17 11:37:06 2002  Owen Taylor  <otaylor@redhat.com>
      
              * 1.3.14
      
              * glib/glibintl.h: Error out of config.h wasn't included
              rather than including it, since config.h must be the
              first thing included.
      
              * glib/gconvert.c glib/gmarkup.c glib/gshell.c glib/gspawn.c
              glib/gunibreak.c glib/gunidecomp.c glib/guniprop.c:
              Include config.h as the first thing. (#71704, Morten
              Welinder)
      57d9c092
  11. 16 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      Minor markup fixes. · a52e2986
      Matthias Clasen authored
      
              * glib/gshell.c, glib/gspawn.c, glib/gspawn-win32.c, glib/gerror.c,
              glib/gfileutils.c, glib/ghash.c, glib/gmain.c, glib/gasyncqueue.c,
              glib/gtree.c: Minor markup fixes.
      
              * glib/tmpl/caches.sgml: GCs are cached by GTK, not by GDK.
      a52e2986
  12. 14 Dec, 2001 1 commit
    • Havoc Pennington's avatar
      note on how to free returned vector · 4a298b0f
      Havoc Pennington authored
      2001-12-14  Havoc Pennington  <hp@pobox.com>
      
      	* glib/gshell.c (g_shell_parse_argv): note on how to free returned
      	vector
      
      2001-12-08  Havoc Pennington  <hp@pobox.com>
      
      	* glib/gspawn.c (fork_exec_with_pipes): include argv[0] in error
      	message about failure to exec
      4a298b0f
  13. 19 Aug, 2001 2 commits
  14. 09 Mar, 2001 1 commit
    • Tor Lillqvist's avatar
      Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. · 31c5b189
      Tor Lillqvist authored
      2001-02-21  Tor Lillqvist  <tml@iki.fi>
      
      	Cygwin support contributed by Stefan Ondrejicka
      	<ondrej@idata.sk>. Hopefully I got it all in while simultaneously
      	adding support for auto*/libtool for mingw.
      
      	* Makefile.am: Changes for auto* support on Cygwin and Win32. Do
      	still distribute the hand-written makefiles and *.win32.in files,
      	though. Use GIO, GSPAWN and PLATFORMDEP macros set by configure.
      	Use -no-undefined. Pass -export-symbols glib.def to libtool.
      
      	* configure.in: Define G_PLATFORM_WIN32 on both pure Win32 (mingw)
      	and Cygwin. Add AC_CYGWIN, AC_EXEEXT and AC_LIBTOOL_WIN32_DLL
      	calls for Cygwin and mingw support.  Check for %I64u guint64
      	format (in MS C library). Set G_MODULE_IMPL on mingw and
      	Cygwin. Use ac_object and ac_exeext.  Set GIO, GSPAWN, PLATFORMDEP
      	and G_LIBS_EXTRA. Compile timeloop only on Unix. Define OS_WIN32
      	automake conditional on Win32.
      
      	* glib.h: Include gwin32.h also on Cygwin.
      
      	* gfileutils.c (get_contents_posix): Use O_BINARY (defined as 0 on
      	Unix) for Cygwin's sake.
      
      	* gtimer.c (GETTIME): Reduce #ifdefs, use a macro GETTIME().
      
      	* gconvert.c
      	* gthread.c
      	* gutf8.c
      	* gutils.c: For code needed both on Cygwin and native Win32,
      	test for G_PLATFORM_WIN32.
      
      	* gmarkup.h: Use G_BEGIN_DECLS and G_END_DECLS.
      
      	* gtypes.h: Refine GLIB_VAR definition. Also check for DLL_EXPORT
      	in case compiling a static library on Win32 or Cygwin.
      
      	* gwin32.c: No <direct.h> on Cygwin. No need for ftruncate() or
      	dirent emulation on Cygwin.
      	(get_package_directory_from_module) Convert return value from
      	GetModuleFileName() to POSIX path on Cygwin.
      
      	* tests/Makefile.am (progs_LDADD): Link with libglib, libgthread
      	and libgmodule as appropriate. Use -no-undefined.
      
      	* gbacktrace.c: Move #ifdefs around a bit on Win32.
      
      	* gshell.c (unquote_string_inplace): Make static.
      31c5b189
  15. 16 Jan, 2001 1 commit
    • Owen Taylor's avatar
      Add gettext support. · b8796462
      Owen Taylor authored
      Mon Jan 15 21:12:49 2001  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in acconfig.h glibintl.h gutils.c
      	po/{Makefile.in.in,POTFILES.in,po2tbl.in}: Add gettext
      	support.
      
      	* glib-gettext.m4 acinclude.m4: Clean up the GTK+ gettext macros
      	some more and put them in this file, though they also need
      	to be included in acinclude.m4 due to the brokeness of
      	aclocal.
      
      	* gspawn.c gspawn-win32.c gutf8.c gconvert.c gfileutils.c
      	gshell.c: Remove dummy _() #defines, include glibintl.m4.
      b8796462
  16. 09 Oct, 2000 1 commit
    • Havoc Pennington's avatar
      Add new files. · 8e3a3eef
      Havoc Pennington authored
      2000-10-09  Havoc Pennington  <hp@redhat.com>
      
              * Makefile.am, tests/Makefile.am: Add new files.
      
      	* tests/spawn-test.c, tests/shell-test.c: new tests for
      	the shell/spawn stuff
      
      	* gutils.c (g_find_program_in_path): convert a relative
      	program name into an absolute pathname to an existing
      	executable
      
      	* gspawn.h, gspawn.c: New fork/exec API
      
      	* gshell.h, gshell.c: Shell-related utilities, at the moment
      	simply routines to parse argv and quote/unquote strings
      
      	* guniprop.c (g_unichar_isspace): Return TRUE for the
      	ASCII space characters isspace() returns TRUE for.
      
      	* gfileutils.c (g_file_get_contents): Convenience function
      	to slurp entire file into a string and return it. Partially
      	written by Joel Becker.
      	(g_file_test): file test function
      8e3a3eef