1. 10 Apr, 2004 1 commit
    • Tor Lillqvist's avatar
      glib/giowin32.c glib/gmain.c glib/gstrfuncs.c Decorating variable · 9b408061
      Tor Lillqvist authored
      2004-04-10  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/giowin32.c
      	* glib/gmain.c
      	* glib/gstrfuncs.c
      	* glib/gthread.c: Decorating variable definitions with
      	__declspec(dllexport) causes problems on Cygwin build, and isn't
      	really needed for a native Win32 build with mingw or MSVC, so
      	remove. (#138402, Roger Leigh)
      
      	* glib/libcharset/localcharset.c: Use Win32-specific code also on
      	Cygwin.
      	* tests/uri-test.c: Don't assume that local filenames are in UTF-8
      	on Cygwin, either. (#138412, Roger Leigh)
      9b408061
  2. 26 Feb, 2004 1 commit
  3. 28 Jan, 2004 1 commit
  4. 27 Nov, 2003 1 commit
    • Tim Janik's avatar
      handle NULL arguments gracefully. · 5d49a7ca
      Tim Janik authored
      Thu Nov 27 17:04:08 2003  Tim Janik  <timj@gtk.org>
      
              * glib/gstrfuncs.c (g_strconcat): handle NULL arguments
              gracefully.
      
              * glib/gmacros.h: defined G_STRFUNC, which (pretty) prints the
              current function (since G_STRLOC and G_GNUC_*FUNCTION became
              unusable with gcc-3.0).
      5d49a7ca
  5. 26 Nov, 2003 1 commit
  6. 05 Nov, 2003 1 commit
    • Matthias Clasen's avatar
      New headers defining common gettext-support macros. · 2807b4e6
      Matthias Clasen authored
      Wed Nov  5 22:05:19 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* glib/gi18n-lib.h:
      	* glib/gi18n.h: New headers defining common gettext-support
      	macros.
      
      	* glib/Makefile.am (glibsubinclude_HEADERS): Add gi18n.h
      	and gi18n-lib.h.
      
      	* glib/gstrfuncs.h:
      	* glib/gstrfuncs.c (g_strip_context): Auxiliary function for
      	the implementation of Q_().
      2807b4e6
  7. 01 Jul, 2003 1 commit
  8. 05 Jun, 2003 1 commit
  9. 30 May, 2003 1 commit
  10. 27 May, 2003 1 commit
  11. 05 May, 2003 1 commit
    • Matthias Clasen's avatar
      Some doc fixes. (#111805) · 8e80b63b
      Matthias Clasen authored
      2003-05-05  Matthias Clasen  <maclas@gmx.de>
      
      	* glib/gstrfuncs.c (g_ascii_dtostr):
      	(g_ascii_formatd):
      	(g_ascii_strtod): Some doc fixes.  (#111805)
      8e80b63b
  12. 26 Feb, 2003 1 commit
  13. 05 Dec, 2002 1 commit
  14. 04 Dec, 2002 1 commit
  15. 29 Nov, 2002 1 commit
  16. 28 Nov, 2002 3 commits
    • Matthias Clasen's avatar
      Adjust to changed parameter names. · 97489993
      Matthias Clasen authored
      
      	* glib/gtimer.c (g_time_val_add): Adjust to changed parameter names.
      
      	* glib/gutils.c (g_get_application_name): Mark as 2.2. addition.
      
      	* glib/gstrfuncs.c (g_ascii_strtoull): Mark as 2.0.7 addition.
      
      	* glib/tmpl/main.sgml: Write something about GSourceDummyMarshal.
      
      	* glib/tmpl/date.sgml:
      	* glib/tmpl/string_utils.sgml: Remove redundant docs.
      
      	* glib/glib-sections.txt: Add g_ascii_strtoull and
      	g_get_application_name.
      97489993
    • Matthias Clasen's avatar
      Move some docs inline, and add deprecation information. To see the list of · 803bae66
      Matthias Clasen authored
      	* glib/gutils.c:
      	* glib/gtree.c:
      	* glib/gstring.c:
      	* glib/gstrfuncs.c:
      	* glib/giochannel.c: Move some docs inline, and add deprecation
      	information. To see the list of affected functions, grep for
      	"Deprecated:".
      
      	* glib/tmpl/strings.sgml:
      	* glib/tmpl/string_utils.sgml:
      	* glib/tmpl/misc_utils.sgml: Move some docs inline.
      803bae66
    • Matthias Clasen's avatar
      Mark 2.2 API additions. · a69dc4b6
      Matthias Clasen authored
      a69dc4b6
  17. 26 Nov, 2002 1 commit
  18. 21 Nov, 2002 1 commit
    • Matthias Clasen's avatar
      Include a printf implementation supporting C99 snprintf and SUS · bc54ea6e
      Matthias Clasen authored
      	positional parameters:  (#79488)
      
      	* glib/gstrfuncs.c:
      	* glib/gspawn-win32.c:
      	* glib/gscanner.c:
      	* glib/gconvert.c:
      	* glib/gbacktrace.c: Use _g_printf wrappers.
      
      	* glib/gutils.c (g_vsnprintf): Simplify, since we can assume C99
      	snprintf semantics now.
      
      	* glib/gmessages.c (printf_string_upper_bound): No longer needed,
      	since we can assume C99 snprintf semantics now.
      	(g_logv): Simplify.
      
      	* acinclude.m4 (AC_FUNC_PRINTF_UNIX98): New macro to check wether
      	printf supports SUS positional parameters.
      
      	* configure.in: New option --enable-included-printf to force
      	compilation of trio; otherwise trio is compiled if the system
      	printf misses either C99 snprintf semantics of SUS positional
      	parameters.
      
      	* glib/Makefile.am (SUBDIRS): Conditionally compile trio.
      	(libglib_2_0_la_SOURCES): Add gprintf.c and gprintfint.h.
      	(glibsubinclude_HEADERS): Add gprintf.h.
      
      	* glib/gprintfint.h: New private wrapping either system printf
      	or trio printf variants in _g_printf wrappers for use inside glib.
      
      	* glib/gprintf.h: New public header declaring g_printf variants.
      	* glib/gprintf.c: Corresponding implementations.
      
      	* glib/trio/*: New directory, containing the trio-1.9 sources.
      
      	* glib/tmpl/string_utils.sgml: Add note on including gprintf.h,
      	move some docs inline.
      
      	* glib/glib-sections.txt: Add g_printf, g_vprintf, g_fprintf,
      	g_vfprintf, g_sprintf, g_vsprintf.
      bc54ea6e
  19. 19 Nov, 2002 1 commit
  20. 06 Nov, 2002 1 commit
  21. 12 Oct, 2002 1 commit
    • Tim Janik's avatar
      fix comment. (g_ascii_strtoull): new function, acting like strtoull(3) in · f650a78e
      Tim Janik authored
      Sat Oct 12 21:30:41 2002  Tim Janik  <timj@gtk.org>
      
              * merged up from glib-2-0:
      
              * glib/gstrfuncs.c (g_ascii_strtod): fix comment.
              (g_ascii_strtoull): new function, acting like strtoull(3) in the C
              locale.
      
              * glib/gscanner.[hc]: fix 32bit issues with integer parsing and
              support storing 64bit values in GTokenValue by
              using g_ascii_strtoull().
      f650a78e
  22. 14 May, 2002 1 commit
  23. 28 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Remove warning about g_print, etc, encoding. · 90d93042
      Owen Taylor authored
      Thu Mar 28 18:22:53 2002  Owen Taylor  <otaylor@redhat.com>
      
              * README: Remove warning about g_print, etc, encoding.
      
              * NEWS: Updates.
      
              * glib/gmessages.c (g_log_default_handler): Use %lu
              (plus a cast) when printing out pid_t arguments.
              (#76770, Morten Welinder)
      
              * glib/gstrfuncs.c (g_strdup_vprintf): Check the
              result of vasprintf(), return NULL on failure.
              (#76802, Akira Tagoh)
      
              * tests/testglib.c (TEST): Supress a warning with
              some GCC versions.
      90d93042
  24. 11 Mar, 2002 1 commit
    • Matthias Clasen's avatar
      Add a note about g_strreverse() and UTF-8. · 33468087
      Matthias Clasen authored
      	* glib/tmpl/string_utils.sgml: Add a note about g_strreverse() and UTF-8.
      
      	* glib/gstrfuncs.c (g_strtod):
      	(g_ascii_strtod):
      	(g_ascii_dtostr):
      	(g_ascii_formatd): Doc formatting fixes.
      33468087
  25. 08 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Final updates for 2.0.0 · cef5d28c
      Owen Taylor authored
      Fri Mar  8 10:20:46 2002  Owen Taylor  <otaylor@redhat.com>
      
              * NEWS: Final updates for 2.0.0
      
              * glib/gstrfuncs.c: Convert the results of strerror()
              and strsignal() to UTF-8.
      
              * glib/gconvert.c glib/gdir.c glib/giochannel.c glib/giounix.c
              glib/giowin32.c: Use g_strerror(), not strerror().
      cef5d28c
  26. 10 Feb, 2002 1 commit
  27. 13 Nov, 2001 1 commit
  28. 24 Oct, 2001 1 commit
    • Alexander Larsson's avatar
      Add g_strtod & co. · 3c39c8fc
      Alexander Larsson authored
      2001-10-24  Alex Larsson  <alexl@redhat.com>
      
      	* docs/reference/glib/glib-sections.txt:
      	Add g_strtod & co.
      
      	* docs/reference/glib/tmpl/string_utils.sgml:
      	Add docs for G_ASCII_DTOSTR_BUF_SIZE.
      
      	* glib/gstrfuncs.[ch]:
      	Added g_ascii_strtod, g_ascii_dtostr and g_ascii_formatd.
      
      	* tests/Makefile.am:
      	* tests/strtod-test.c:
      	Add tests for g_ascii_strtod & co.
      3c39c8fc
  29. 02 Oct, 2001 1 commit
  30. 29 Sep, 2001 1 commit
  31. 27 Sep, 2001 1 commit
  32. 26 Sep, 2001 2 commits
  33. 25 Sep, 2001 1 commit
    • Owen Taylor's avatar
      Version 1.3.9 (binary, interface == 0) · d75fde16
      Owen Taylor authored
      Tue Sep 25 11:34:22 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in: Version 1.3.9 (binary, interface == 0)
      
      	* glib/gstrfuncs.c (g_ascii_strdown): Change g_ascii_strup/strdown
      	to take a 'len' argument to match g_utf8_strup/strdown. This
      	hopefully will also make it more obvious that they duplicate
      	the string rather than acting like g_strup/strdown.
      	(Suggestion from Matthias Clasen, #59550)
      d75fde16
  34. 21 Sep, 2001 1 commit
  35. 19 Sep, 2001 1 commit
    • Owen Taylor's avatar
      Patch from Matthias Clasen (#59806) · 5c12c0ac
      Owen Taylor authored
      Wed Sep 19 14:17:31 2001  Owen Taylor  <otaylor@redhat.com>
      
      	Patch from Matthias Clasen (#59806)
      
      	* configure.in: Check for vasprintf().
      
      	* glib/gmem.[ch]: Add g_mem_vtable_is_set() to be used
      	for efficiency hacks to avoid extra copies when not
      	needed.
      
      	* glib/gstrfuncs.c: Use vasprintf() to implement
      	g_strdup_printf() when available.
      
      	* glib/gmessages.c (g_logv): Avoid using
      	printf_string_upper_bound() when we have have vsnprintf.
      
      	* glib/gmessages.c (printf_string_upper_bound): Don't
      	segfault when warning about positional parameters.
      5c12c0ac
  36. 18 Sep, 2001 1 commit
    • Tim Janik's avatar
      add simple test for g_path_get_basename(). · 71075ee0
      Tim Janik authored
      Tue Sep 18 18:19:33 2001  Tim Janik  <timj@gtk.org>
      
              * tests/testglib.c: add simple test for g_path_get_basename().
      
              * glib/gfileutils.c (g_file_open_tmp):
              * glib/gstrfuncs.c (g_strerror): scratch erroneous usages
              of "illegal".
      71075ee0
  37. 04 Sep, 2001 1 commit
    • Tor Lillqvist's avatar
      Update. Don't mention pthreads. · 07741c07
      Tor Lillqvist authored
      
      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.
      07741c07