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. 15 Dec, 2002 1 commit
    • Owen Taylor's avatar
      Break _g_locale_charset() into two pieces - a fast "raw" piece, and a slow · ceb35b23
      Owen Taylor authored
      Sat Dec 14 20:11:41 2002  Owen Taylor  <otaylor@redhat.com>
      
              * glib/libcharset/{localcharset.[ch] libcharset-glib.patch}
              glib/gutf8.c: Break _g_locale_charset() into two pieces
              - a fast "raw" piece, and a slow "unalias pieces".
              Always call the "raw" piece, and call the unalias bit
              if it changes. Use a per-thread cache. (#79529)
      ceb35b23
  3. 13 May, 2002 1 commit
    • Owen Taylor's avatar
      Update from libcharset CVS. Includes additional encodings for Solaris · 893b73e2
      Owen Taylor authored
      Mon May 13 11:42:23 2002  Owen Taylor  <otaylor@redhat.com>
      
            		* glib/libcharset/*: Update from libcharset CVS.
              Includes additional encodings for Solaris (#80396,
              Qingjiang Yuan)
      
              * configure.in: Add getc_unlocked to CHECK_FUNCS().
      
              * glib/gmessages.c (strdup_convert): If
              g_convert_with_fallback() fails, print the error
              message to stderr the first time, then return
              the original string. (#78197)
      893b73e2
  4. 27 Nov, 2001 1 commit
    • Dan Winship's avatar
      Set this from libtool rather than hardcoding values for certain platforms. · 8049ab48
      Dan Winship authored
      	* configure.in (G_MODULE_LDFLAGS): Set this from libtool rather
      	than hardcoding values for certain platforms.
      
      	* glib/libcharset/config.charset: Add a rule for NetBSD.
      
      	* glib/libcharset/localcharset.c (_g_locale_get_charset_aliases):
      	If LIBCHARSET_ALIAS_DIR is set, look for charset.aliases there.
      
      	* tests/Makefile.am (TESTS_ENVIRONMENT): set LIBCHARSET_ALIAS_DIR
      	so we don't depend on charset.aliases having been installed
      8049ab48
  5. 27 Sep, 2001 1 commit
    • Owen Taylor's avatar
      Fixes for #58195, based on some ideas from Hidetosh Tajima. · b5fa5b98
      Owen Taylor authored
      Wed Sep 26 22:34:12 2001  Owen Taylor  <otaylor@redhat.com>
      
              Fixes for #58195, based on some ideas from Hidetosh Tajima.
      
              * aclibcharset.m4 glib/libcharset: Add Bruno Haible's
              portable-current charset detection code from libiconv.
      
              * glib/gutf8.c (g_utf8_get_charset_internal): Rewrite
              to use _g_locale_charset().
      
              * glib/gutf8.c (_g_charset_get_aliases): Private functions
              to get aliases from libcharset for a particular canonical
              name.
      
              * glib/gconvert.c: If loading a charset fails, try
              aliases to look for fallbacks.
      b5fa5b98