Commit Graph

14 Commits

Author SHA1 Message Date
6
6e9c98ceef Want to check nn not in for end of list condition.
2001-10-16    <NotZed@Ximian.com>

        * gal/util/e-iconv.c (flush_entry): Want to check nn not in for
        end of list condition.

svn path=/trunk/; revision=13699
2001-10-16 19:44:09 +00:00
063f8d21af work around broken behavior in some iconv implementions that require the
2001-10-13  Larry Ewing  <lewing@ximian.com>

	* gal/util/e-iconv.c (e_iconv_open): work around broken behavior
	in some iconv implementions that require the length arguments to
	be valid pointers event if both buffers are NULL.

svn path=/trunk/; revision=13665
2001-10-14 01:08:07 +00:00
f5b66ae847 Added special case for iso-10646-1 -> ucs-2be encoding since its not
2001-10-14  Not Zed  <NotZed@Ximian.com>

	* gal/util/e-iconv.c: Added special case for iso-10646-1 ->
	ucs-2be encoding since its not always available.

svn path=/trunk/; revision=13663
2001-10-13 18:56:38 +00:00
71f512b570 (flush_entry): free the conv string and make sure we remove all the the
2001-10-12  Larry Ewing  <lewing@ximian.com>

	(flush_entry): free the conv string and make sure we remove all
	the the items not all but the last one.

svn path=/trunk/; revision=13652
2001-10-13 04:05:00 +00:00
2d46a24438 fix the test for "cp".
2001-10-12  Larry Ewing  <lewing@ximian.com>

	* gal/util/e-iconv.c (e_iconv_charset_name): fix the test for
	"cp".

svn path=/trunk/; revision=13651
2001-10-13 02:39:27 +00:00
b6d1043499 Fix for Debian systems which apparently can use a ';' as a codeset
2001-10-12  Jeffrey Stedfast  <fejj@ximian.com>

	* gal/util/e-iconv.c (e_iconv_init): Fix for Debian systems which
	apparently can use a ';' as a codeset terminator? Cleaned up the
	code in the process, the parser is a little nicer now.

svn path=/trunk/; revision=13650
2001-10-13 02:29:25 +00:00
8a59f7a4e9 (e_iconv_charset_name): fix microsoft fix.
2001-10-12  Larry Ewing  <lewing@ximian.com>

(e_iconv_charset_name): fix microsoft fix.

svn path=/trunk/; revision=13649
2001-10-13 02:22:35 +00:00
35ee1586fc tweak the conversion routine slightly for microsoft charsets.
2001-10-12  Larry Ewing  <lewing@ximian.com>

	* gal/util/e-iconv.c (e_iconv_charset_name): tweak the conversion
	routine slightly for microsoft charsets.

svn path=/trunk/; revision=13648
2001-10-13 02:13:20 +00:00
2
d3f0028320 Fix case of some entries to work with solaris, incl adding UTF-8.
2001-10-12    <NotZed@Ximian.com>

        * gal/util/e-iconv.c: Fix case of some entries to work with
        solaris, incl adding UTF-8.
        (e_iconv_init): Dont down-case the name, only the key.
        (e_iconv_charset_name): Use capitals for ISO and CP for Solaris's
        iconv to work.
        (e_iconv_open): If we can't convert, say we're not busy, so it
        gets re-used next open, spit out a warning.

svn path=/trunk/; revision=13638
2001-10-12 22:27:22 +00:00
1534d99bbd Changed the crash fix to just return -1.
2001-10-12  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-iconv.c (e_iconv_open): Changed the crash fix to just
	return -1.

svn path=/trunk/; revision=13629
2001-10-12 21:32:42 +00:00
2025fe2753 Fixed a crash here for NULL ofrom.
2001-10-12  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-iconv.c (e_iconv_open): Fixed a crash here for NULL
	ofrom.

svn path=/trunk/; revision=13622
2001-10-12 15:54:04 +00:00
d80806e8e8 Left in some test code, shit.
svn path=/trunk/; revision=13606
2001-10-11 23:15:12 +00:00
25e7651b80 missed locale.h for some system that requires it.
svn path=/trunk/; revision=13605
2001-10-11 23:02:20 +00:00
1
736e73548c bumped revision to .1
2001-10-11    <NotZed@Ximian.com>

	* configure.in: bumped revision to .1

	* gal/widgets/test-font-loading.c (print_gdk_font_name): Close
	iconv when done.

	* gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized): Close
	iconv when dont with it.
	(e_utf8_from_charset_string_sized): Changed for e_iconv api
	changes.
	(e_utf8_to_charset_string_sized): "
	(e_utf8_from_gtk_string_sized): Close iconv when done with it.
	(e_utf8_from_locale_string_sized): "
	(e_utf8_to_locale_string_sized): "

	* gal/widgets/e-font.c (e_locale_encoding): Removed.
	(e_iconv_from_charset): Removed.
	(e_iconv_to_charset): Removed.
	(e_iconv_from_locale): Removed.
	(e_iconv_to_locale): Removed.
	(e_iconv_from_gdk_font): Changd to use new e-iconv apis.
	(e_iconv_to_gdk_font): "
	(e_font_unref): Close iconv's when done with them.
	(translate_encoding): Removed.
	(get_locale_charset): Removed.
	(e_gdk_font_encoding): Fix for api changes.

	* gal/util/e-iconv.c: New stuff to commonify/fix up some problems
	with the iconv cache/conversion stuff inside e-font.

svn path=/trunk/; revision=13601
2001-10-11 22:07:28 +00:00