aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-iconv.c
Commit message (Collapse)AuthorAgeFilesLines
* Want to check nn not in for end of list condition.62001-10-171-1/+1
| | | | | | | | | 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
* work around broken behavior in some iconv implementions that require theLarry Ewing2001-10-141-1/+6
| | | | | | | | | | 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
* Added special case for iso-10646-1 -> ucs-2be encoding since its notNot Zed2001-10-141-0/+10
| | | | | | | | | 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
* (flush_entry): free the conv string and make sure we remove all the theLarry Ewing2001-10-131-1/+2
| | | | | | | | | 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
* fix the test for "cp".Larry Ewing2001-10-131-2/+4
| | | | | | | | | 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
* Fix for Debian systems which apparently can use a ';' as a codesetJeffrey Stedfast2001-10-131-11/+13
| | | | | | | | | | 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
* (e_iconv_charset_name): fix microsoft fix.Larry Ewing2001-10-131-2/+7
| | | | | | | | 2001-10-12 Larry Ewing <lewing@ximian.com> (e_iconv_charset_name): fix microsoft fix. svn path=/trunk/; revision=13649
* tweak the conversion routine slightly for microsoft charsets.Larry Ewing2001-10-131-2/+4
| | | | | | | | | 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
* Fix case of some entries to work with solaris, incl adding UTF-8.22001-10-131-19/+23
| | | | | | | | | | | | | | 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
* Changed the crash fix to just return -1.Christopher James Lahey2001-10-131-4/+4
| | | | | | | | | 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
* Fixed a crash here for NULL ofrom.Christopher James Lahey2001-10-121-0/+4
| | | | | | | | | 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
* Left in some test code, shit.Michael Zucci2001-10-121-2/+0
| | | | svn path=/trunk/; revision=13606
* missed locale.h for some system that requires it.Michael Zucci2001-10-121-0/+2
| | | | svn path=/trunk/; revision=13605
* bumped revision to .112001-10-121-0/+416
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