Commit Graph

18 Commits

Author SHA1 Message Date
f88a35a9d3 AIX and IRIX are like Sun systems - they use ISO8859-1 rather than names
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
2002-01-25 23:41:52 +00:00
dc8927136a Changed the license announcement at the top of these files.
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
2001-10-26 18:33:33 +00:00
22cd779002 Fixed warnings here.
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
2001-10-26 11:07:44 +00:00
5
ac091e954d Bumped version to 0.15.99.4 for e-iconv changes.
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
2001-10-26 00:35:20 +00:00
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