aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-iconv.c
Commit message (Collapse)AuthorAgeFilesLines
* AIX and IRIX are like Sun systems - they use ISO8859-1 rather than namesJeffrey Stedfast2002-01-261-2/+2
| | | | | | | | | 2002-01-25 Jeffrey Stedfast <fejj@ximian.com> * gal/util/e-iconv.c: AIX and IRIX are like Sun systems - they use ISO8859-1 rather than names like ISO-8859-1. svn path=/trunk/; revision=15478
* Changed the license announcement at the top of these files.Christopher James Lahey2001-10-271-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * gal/e-paned/e-hpaned.c, gal/e-paned/e-hpaned.h, gal/e-paned/e-paned.c, gal/e-paned/e-paned.h, gal/e-paned/e-vpaned.c, gal/e-paned/e-vpaned.h, gal/e-text/e-completion-match.c, gal/e-text/e-completion-match.h, gal/e-text/e-completion-test.c, gal/e-text/e-completion-view.c, gal/e-text/e-completion-view.h, gal/e-text/e-completion.c, gal/e-text/e-completion.h, gal/e-text/e-entry-test.c, gal/e-text/e-entry.c, gal/e-text/e-entry.h, gal/e-text/e-table-text-model.c, gal/e-text/e-table-text-model.h, gal/e-text/e-text-model-repos.c, gal/e-text/e-text-model-repos.h, gal/e-text/e-text-model-test.c, gal/e-text/e-text-model-uri.c, gal/e-text/e-text-model-uri.h, gal/e-text/e-text-model.c, gal/e-text/e-text-model.h, gal/e-text/e-text.c, gal/e-text/e-text.h, gal/util/e-bit-array.c, gal/util/e-bit-array.h, gal/util/e-cache.c, gal/util/e-cache.h, gal/util/e-iconv.c, gal/util/e-iconv.h, gal/util/e-sorter-array.c, gal/util/e-sorter-array.h, gal/util/e-sorter.c, gal/util/e-sorter.h, gal/util/e-text-event-processor-emacs-like.c, gal/util/e-text-event-processor-emacs-like.h, gal/util/e-text-event-processor-types.h, gal/util/e-text-event-processor.c, gal/util/e-text-event-processor.h, gal/util/e-util.c, gal/util/e-util.h, gal/util/e-xml-utils.c, gal/util/e-xml-utils.h, gal/widgets/color-group.c, gal/widgets/color-group.h, gal/widgets/color-palette.c, gal/widgets/color-palette.h, gal/widgets/e-canvas-utils.c, gal/widgets/e-canvas-utils.h, gal/widgets/e-canvas-vbox.c, gal/widgets/e-canvas-vbox.h, gal/widgets/e-canvas.c, gal/widgets/e-canvas.h, gal/widgets/e-categories-master-list-array.c, gal/widgets/e-categories-master-list-array.h, gal/widgets/e-categories-master-list-combo.c, gal/widgets/e-categories-master-list-combo.h, gal/widgets/e-categories-master-list-dialog-model.c, gal/widgets/e-categories-master-list-dialog-model.h, gal/widgets/e-categories-master-list-dialog.c, gal/widgets/e-categories-master-list-dialog.h, gal/widgets/e-categories-master-list.c, gal/widgets/e-categories-master-list.h, gal/widgets/e-categories.c, gal/widgets/e-categories.h, gal/widgets/e-colors.c, gal/widgets/e-colors.h, gal/widgets/e-cursors.c, gal/widgets/e-cursors.h, gal/widgets/e-font.c, gal/widgets/e-font.h, gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h, gal/widgets/e-hscrollbar.c, gal/widgets/e-hscrollbar.h, gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h, gal/widgets/e-printable.c, gal/widgets/e-printable.h, gal/widgets/e-reflow-model.c, gal/widgets/e-reflow-model.h, gal/widgets/e-reflow-sorted.c, gal/widgets/e-reflow-sorted.h, gal/widgets/e-reflow.c, gal/widgets/e-reflow.h, gal/widgets/e-scroll-frame.c, gal/widgets/e-scroll-frame.h, gal/widgets/e-selection-model-array.c, gal/widgets/e-selection-model-array.h, gal/widgets/e-selection-model-simple.c, gal/widgets/e-selection-model-simple.h, gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h, gal/widgets/e-unicode.c, gal/widgets/e-unicode.h, gal/widgets/e-vscrollbar.c, gal/widgets/e-vscrollbar.h, gal/widgets/gtk-combo-box.c, gal/widgets/gtk-combo-box.h, gal/widgets/gtk-combo-stack.c, gal/widgets/gtk-combo-stack.h, gal/widgets/gtk-combo-text.c, gal/widgets/gtk-combo-text.h, gal/widgets/test-color.c, gal/widgets/test-e-font.c, gal/widgets/test-e-font.h, gal/widgets/test-font-loading.c, gal/widgets/widget-color-combo.c, gal/widgets/widget-color-combo.h, gal/widgets/widget-pixmap-combo.c, gal/widgets/widget-pixmap-combo.h, src/e-table/e-table-sorted-variable.c, tests/test-define-views.c, tests/test-shortcut-bar.c, tests/test-table-1.c, tests/test-tree-1.c, tests/test-tree-2.c, tests/test-tree-3.c, tests/test-unicode.c: Changed the license announcement at the top of these files. svn path=/trunk/; revision=14158
* Fixed warnings here.Christopher James Lahey2001-10-261-1/+1
| | | | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * gal/util/e-iconv.c (e_iconv), gal/widgets/e-font.c (e_font_to_native), gal/widgets/e-unicode.c (e_utf8_from_iconv_string_sized, e_utf8_to_iconv_string_sized, e_utf8_from_gtk_string_sized, e_utf8_to_gtk_string_sized): Fixed warnings here. svn path=/trunk/; revision=14132
* Bumped version to 0.15.99.4 for e-iconv changes.52001-10-261-0/+5
| | | | | | | | | | | | | | | | | | | 2001-10-25 <NotZed@Ximian.com> * configure.in: Bumped version to 0.15.99.4 for e-iconv changes. * gal/widgets/e-unicode.c (e_utf8_from_iconv_string_sized): " (e_utf8_to_iconv_string_sized): " (e_utf8_from_gtk_string_sized): " (e_utf8_to_gtk_string_sized): " * gal/widgets/e-font.c (e_font_to_native): s/iconv/e_iconv/ * gal/util/e-iconv.c (e_iconv): Implement a wrapper for iconv() to make sure we link with and execute the right iconv to match the right iconv_open. (BLAH!) svn path=/trunk/; revision=14111
* 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