| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
merging the gal-2 branch back to the trunk.
svn path=/trunk/; revision=18471
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-16 Jeffrey Stedfast <fejj@ximian.com>
* gal/widgets/e-unicode.c (e_utf8_from_gtk_string_sized): Don't
include the byte reserved for the nul in the outleft size.
(e_utf8_from_iconv_string_sized): Same.
(e_utf8_to_iconv_string_sized): Here too, but also make sure we
pad the end of the resulting string with enough nul bytes (4) so
that even multi-byte charsets are terminated correctly.
(e_utf8_to_gtk_string_sized): Again here.
svn path=/trunk/; revision=18377
|
|
|
|
|
|
|
|
|
| |
2002-09-25 Larry Ewing <lewing@ximian.com>
* gal/widgets/e-unicode.c: add the gtk2 keypad entries (resync
with gdk).
svn path=/trunk/; revision=18212
|
|
|
|
|
|
|
|
|
| |
2002-04-26 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-unicode.c: Include alloca.h here if it's
necessary.
svn path=/trunk/; revision=16601
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-09 Chris Toshok <toshok@ximian.com>
* configure.in: Bumped version number to 0.19.99.7
* gal/widgets/e-unicode.c (e_utf8_strstrcasedecomp): we want to
return o from here on success, not p, since p is incremented one
unicode character past the point where the substring begins.
(e_utf8_strstrcase): same.
svn path=/trunk/; revision=16000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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-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-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-06 Larry Ewing <lewing@ximian.com>
* gal/widgets/e-unicode.c (e_utf8_from_gtk_event_key): remove the
test condition and always work form the locale not he the font.
This has been tested and verified with owen.
svn path=/trunk/; revision=13487
|
|
|
|
|
|
|
|
| |
* gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized): Re-remove
evil utf8_to_gtk debug printf that Chris seems to have
accidentally re-added.
svn path=/trunk/; revision=12703
|
|
|
|
|
|
|
| |
* gal/widgets/e-unicode.c (e_utf8_from_locale_string_sized):
Use e_iconv_from_locale, not e_iconv_to_locale.
svn path=/trunk/; revision=12562
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-01 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the version number to 0.11.99.2 for new
e_utf8 functions.
* gal/widgets/e-unicode.c, gal/widgets/e-unicode.h
(e_utf8_is_ascii): Added this function. Reformatted.
svn path=/trunk/; revision=12557
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-01 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the version number to 0.111.99.1 for new
e_utf8 functions.
* gal/unicode/gunicollate.c (g_utf8_collate, g_utf8_collate_key):
Changed this from e_utf8_from_locale_string to
e_utf8_to_locale_string.
* gal/widgets/e-font.c, gal/widgets/e-font.h
(e_iconv_from_charset, e_iconv_to_charset): Added these functions
to the exported interface (renamed them as well from
e_iconv_from_encoding and e_iconv_to_encoding.)
* gal/widgets/e-unicode.c, gal/widgets/e-unicode.h
(e_utf8_from_iconv_string, e_utf8_from_iconv_string_sized,
e_utf8_to_iconv_string, e_utf8_to_iconv_string_sized,
e_utf8_from_charset_string, e_utf8_from_charset_string_sized,
e_utf8_to_charset_string, e_utf8_to_charset_string_sized): Added
these functions.
(e_utf8_from_locale_string, e_utf8_to_locale_string): Changed
these to use the new e_utf8_from_iconv_string and
e_utf8_to_iconv_string.
svn path=/trunk/; revision=12554
|
|
|
|
|
|
|
| |
* gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized):
Call gtk_widget_ensure_style before refering to widget's style.
svn path=/trunk/; revision=12381
|
|
|
|
|
|
|
|
|
|
| |
2001-08-07 Larry Ewing <lewing@ximian.com>
* gal/widgets/e-unicode.c (e_utf8_from_gtk_event_key): allow
toggling between converting from the gdkfont's charset or from the
locale charset for testing.
svn path=/trunk/; revision=11723
|
|
|
|
|
|
|
| |
* gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized): Remove the
debugging message here.
svn path=/trunk/; revision=11179
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-07 Gediminas Paulauskas <menesis@delfi.lt>
* gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized):
write what was converted to console, this function does not work
always.
(e_utf8_gtk_editable_get_chars),
(e_utf8_gtk_menu_item_new_with_label): removed some unneeded checks.
(e_xml_get_translated_utf8_string_prop_by_name): if i.e. "title"
was found, do not convert it to utf8 -- it already is. do this
only on "_title".
* gal/e-table/e-table-header-item.c: fix warning.
svn path=/trunk/; revision=9692
|
|
|
|
|
|
|
|
| |
2001-04-23 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-unicode.c: Added #include <stdlib.h>.
svn path=/trunk/; revision=9520
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: bump to 0.7.99.1, add gal/unicode/Makefile. gal no
longer internally depends on libunicode, although it will continue
to configure against it until gtkhtml/evolution are ported too.
* gal/Makefile.am (nonui_subdirs): add unicode
(libgal_la_LDFLAGS): remove $(UNICODE_LIBS)
(libgal_la_LIBADD): add unicode/*.lo
* gal/unicode/*: unicode handling code copied nearly verbatim from
glib 2.0, plus gal build glue.
* gal/e-text/Makefile.am (INCLUDES): Remove UNICODE_CFLAGS
(e_text_test_LDADD, e_entry_test_LDADD, e_text_model_test_LDADD,
e_completion_test_LDADD): remove -lunicode, add libunicode.la
* gal/e-text/e-text.c: Remove <unicode.h>, use gunicode functions.
* gal/widgets/Makefile.am (libwidgets_la_LDFLAGS): remove
UNICODE_LIBS
(INCLUDES): remove UNICODE_CFLAGS
(test_e_font_LDADD, test_font_loading_LDADD): add libunicode.la
* gal/widgets/e-unicode.h: #include <gal/unicode/gunicode.h>.
Remove some cruft.
* gal/widgets/e-unicode.c: remove <unicode.h>, use gunicode
functions. Add e_unicode_get_utf8 to replace some uses of
unicode_get_utf8, which isn't quite the same as any gunicode
function.
* gal/widgets/e-font.c: remove <unicode.h>, use gunicode functions
svn path=/trunk/; revision=9512
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-10 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-unicode.c, gal/widgets/e-unicode.h
(e_xml_get_translated_utf8_string_prop_by_name): New function to
translate a string and then convert it to utf8. Acts just like
e_xml_get_translated_string and then calls
e_utf_from_locale_string on it.
* gal/util/e-xml-utils.c: Changed e_xml_get_translated_string to
take a string with no underscore at the beginning and search for
both that prop and the same prop with the underscore prepended.
If it finds it without the underscore, it returns it. If it finds
it with the underscore, it translates.
* gal/util/e-xml-utils.c, gal/util/e-xml-utils.h: Reformatted
these a bit.
svn path=/trunk/; revision=9216
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
i18n fixes.
2001-04-10 Gediminas Paulauskas <menesis@delfi.lt>
* gal/widgets/e-unicode.c (e_utf8_*_*_string): if (!string) return NULL;
to avoid crashes in strlen(NULL). TODO: need g_strlen which does that.
2001-04-10 Gediminas Paulauskas <menesis@delfi.lt>
* e-table.c (et_real_construct): convert click_to_add_message locale->utf8.
svn path=/trunk/; revision=9214
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-04 Kjartan Maraas <kmaraas@gnome.org>
* gal/e-text/e-entry.c: Fix headers.
* gal/e-text/e-table-text-model.[ch]: Ditto.
* gal/e-text/e-table-text-model-uri.c: Ditto.
* gal/e-text/e-text-model-uri.[ch]: Ditto.
* gal/e-text/e-text-model.[ch]: Ditto.
* gal/e-text/e-text.[ch]: Ditto.
* gal/util/e-text-event-processor-emacs-like.[ch]: Ditto.
* gal/util/e-text-event-processor.[ch]: Same.
* gal/util/e-util.h: Ditto.
* gal/util/e-xml-utils.[ch]: Same here.
* gal/widgets/color-group.[ch]: Ditto.
* gal/widgets/color-palette.[ch]: Ditto.
* gal/widgets/e-canvas-utils.h: Ditto.
* gal/widgets/e-canvas-vbox.[ch]: Ditto.
* gal/widgets/e-canvas.[ch]: Ditto.
* gal/widgets/e-categories.h: Ditto.
* gal/widgets/e-colors.[ch]: Ditto.
* gal/widgets/e-cursors.c: Ditto.
* gal/widgets/e-gui-utils.c: Ditto
* gal/widgets/e-popup-menu.[ch]: Same.
* gal/widgets/e-reflow-sorted.c: Same.
* gal/widgets/e-reflow.[ch]: Same.
* gal/widgets/e-selection-model.c: Same
* gal/widgets/e-unicode.[ch]: Same.
* gal/widgets/gtk-combo-stack.[ch]: Same.
* gal/widgets/widget-color-combo.[ch]: Same.
* gal/widgets/widget-pixmap-combo.[ch]: Same.
svn path=/trunk/; revision=9168
|
|
|
|
|
|
|
|
|
| |
* gal/widgets/e-unicode.c (e_unichar_to_utf8): Rename this from
g_unichar_to_utf8 so that it doesn't conflict with the function of
that name exported by gnome-print (and so that it's consistent
with all of the other functions in the file).
svn path=/trunk/; revision=8679
|
|
|
|
| |
svn path=/trunk/; revision=8056
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-06 Christopher James Lahey <clahey@ximian.com>
* configure.in: Check for nl_langinfo (CODESET). Code taken from
glib 1.3 branch.
* gal/widgets/e-font.c, gal/widgets/e-font.h (e_locale_encoding):
Added e_locale_encoding, e_iconv_from_locale, and
e_iconv_to_locale.
* gal/widgets/e-unicode.c, gal/widgets/e-unicode.h: Added
e_utf8_from_locale_string, e_utf8_from_locale_string_sized,
e_utf8_to_locale_string, e_utf8_to_locale_string_sized.
svn path=/trunk/; revision=8032
|
|
|
|
|
|
|
|
|
|
| |
2001-02-05 Christopher James Lahey <clahey@helixcode.com>
* gal/widgets/e-font.c (e_font_to_native), gal/widgets/e-unicode.c
(e_utf8_from_gtk_string_sized, e_utf8_to_gtk_string_sized):
Changed the call to iconv to be char ** instead of const char **.
svn path=/trunk/; revision=7970
|
|
|
|
|
|
|
|
|
|
| |
2001-01-29 Not Zed <NotZed@Ximian.com>
* gal/widgets/e-unicode.c (e_utf8_xml1_decode): Always include +1
for the size. 0*2 == 0, so malloc returns NULL, which is not what
we want.
svn path=/trunk/; revision=7885
|
|
|
|
|
|
|
|
|
|
| |
2001-01-06 Christopher James Lahey <clahey@helixcode.com>
* gal/widgets/e-unicode.c (e_utf8_xml1_decode): Removed an unused
variable.
(e_utf8_from_gtk_string_sized): Made ib const here.
svn path=/trunk/; revision=7307
|
|
|
|
|
|
| |
fixed bug #857 (needs some more testing)
svn path=/trunk/; revision=7279
|
|
|
|
| |
svn path=/trunk/; revision=7225
|
|
|
|
|
|
|
|
| |
Work to get a Gtk-Doc infrastructure in place for Gal.
Miguel.
svn path=/trunk/; revision=6883
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
strings functions, but that will go away eventually.
* configure.in: Add a check for libiconv, which is required if
your system doesn't have iconv in libc, or has glibc 2.1.2. Bump
the gal version number to 0.2.99.3
* tests/Makefile.am (LDADD): add ICONV_LIBS
* gal/widgets/Makefile.am (libwidgets_la_LDFLAGS): Add ICONV_LIBS
* gal/widgets/e-unicode.c: Use iconv rather than libunicode for
iconv()ing.
(e_unicode_init): No longer needed
* gal/widgets/e-font.c: Use iconv rather than libunicode for
iconv()ing.
(e_iconv_{from,to}_gdk_font): renamed from e_uiconv...
* gal/widgets/test-e-font.c: No longer need to e_unicode_init().
svn path=/trunk/; revision=6719
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-09 Christopher James Lahey <clahey@helixcode.com>
* configure.in: Changed the gal version number and the gal so
number. Added check for bonobo.
* gal/Makefile.am: Added gal-view-menus.lo.
* gal/widgets/e-unicode.c: Removed some unused variables.
From gal/menus/ChangeLog:
2000-11-09 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Added gal-view-menus.c and gal-view-menus.h.
* gal-view-menus.c, gal-view-menus.h: New files to create the view
menus.
svn path=/trunk/; revision=6528
|
|
|
|
| |
svn path=/trunk/; revision=6498
|
|
|
|
| |
svn path=/trunk/; revision=5391
|
|
|
|
|
|
|
|
|
| |
2000-09-11 Christopher James Lahey <clahey@helixcode.com>
* e-unicode.c, e-unicode.h: Added e_utf8_gtk_editable_get_text and
e_utf8_gtk_editable_set_text.
svn path=/trunk/; revision=5316
|
|
|
|
| |
svn path=/trunk/; revision=5235
|
|
|
|
| |
svn path=/trunk/; revision=5194
|
|
|
|
| |
svn path=/trunk/; revision=5180
|
|
|
|
| |
svn path=/trunk/; revision=5154
|
|
|
|
| |
svn path=/trunk/; revision=5032
|
|
|
|
| |
svn path=/trunk/; revision=4997
|
|
svn path=/trunk/; revision=4977
|