2001-10-30 Damon Chaplin <damon@ximian.com>
* e-time-utils.c (e_time_parse_date): added a 2nd format, with the
weekday and the date. We need this so we can try to parse DATE values
in the ECalendarTable.
svn path=/trunk/; revision=14457
2001-10-29 Christopher James Lahey <clahey@ximian.com>
* ename/e-name-western.c (e_name_western_fixup): Added French
conjunction.
* e-host-utils.c: Don't define gethost_mutex unless we need it.
svn path=/trunk/; revision=14373
2001-10-29 Christopher James Lahey <clahey@ximian.com>
* ename/e-name-western.c (e_name_western_fixup): Check for
compound first names here (X & Y).
svn path=/trunk/; revision=14329
2001-10-28 JP Rosevear <jpr@ximian.com>
* e-pilot-map.c (e_pilot_map_remove_by_pid): make sure to free the
keys as well
(e_pilot_map_remove_by_uid): ditto
svn path=/trunk/; revision=14315
2001-10-28 Christopher James Lahey <clahey@ximian.com>
* gal/util/e-text-event-processor-emacs-like.c
(e_text_event_processor_emacs_like_event): Return 1 from the
button_release event.
svn path=/trunk/; revision=14273
2001-10-27 JP Rosevear <jpr@ximian.com>
* e-pilot-map.h: update proto
* e-pilot-map.c (e_pilot_map_lookup_pid): touch the nodes if
indicated and found
(e_pilot_map_lookup_uid): ditto
svn path=/trunk/; revision=14208
2001-10-26 JP Rosevear <jpr@ximian.com>
* e-pilot-map.c (real_e_pilot_map_insert): take an extra param on
whether to mark touched
(map_sax_start_element): use above
(e_pilot_map_insert): ditto
(e_pilot_map_write): pass in extra info to foreach call
(map_write_foreach): if we are in touched only mode, write out the
map only if its been touched
* e-pilot-map.h: add new member
svn path=/trunk/; revision=14196
* configure.in: Bump up to 0.15.99.5.
* gal/util/e-util.c
(e_marshal_INT__POINTER_POINTER_POINTER_POINTER_POINTER): pass
`args[4]' as the fourth argument instead of `args[3]' again.
(e_marshal_INT__POINTER_POINTER_POINTER_BOOL): New.
svn path=/trunk/; revision=14175
2001-10-26 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text-test.c, gal/util/e-i18n.h,
gal/widgets/e-hsv-utils.c, gal/widgets/e-hsv-utils.h: Changed the
license announcement at the top of these files.
svn path=/trunk/; revision=14169
2001-10-26 JP Rosevear <jpr@ximian.com>
* e-pilot-map.c (map_sax_start_element): add archived records
with pilot id of 0
(map_write_foreach): use the uid map for writing
(e_pilot_map_write): write using the uid map
svn path=/trunk/; revision=14147
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-22 Christopher James Lahey <clahey@ximian.com>
* gal/util/e-text-event-processor-emacs-like.c
(control_keys): Make C-w not do anything here.
(e_text_event_processor_emacs_like_event): Make C-A-* not do
anything here.
svn path=/trunk/; revision=13889
* e-passwords.c (e_passwords_get_password): Pass a
CORBA_Environment to bonobo_config_get_string so it doesn't g_warn
on error. (Since the "error" is most likely just that the password
isn't cached.)
(e_passwords_remember_password, e_passwords_get_password,
e_passwords_add_password): Change "if (foo) { entire function; }"
to "if (!foo) return;"
* e-html-utils.c (special_chars): Don't allow single quote or
backtick in email addresses, or pipes following URLs.
svn path=/trunk/; revision=13887
2001-10-18 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the version number to 0.15.99.1.
* gal/util/e-util.c, gal/util/e-util.h (e_write_file_mkstemp): New
function to create a unique file.
(e_write_file): Check the return value of close here.
svn path=/trunk/; revision=13772
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 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-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-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-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-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 Chris Toshok <toshok@ximian.com>
* e-passwords.h: new parameter to e_passwords_init, and add
prototype for e_passwords_clear_component_passwords.
* e-passwords.c (e_passwords_init): copy off the component name.
(e_passwords_shutdown): free/NULL the component name.
(e_passwords_clear_component_passwords): new function. remove the
subtree rooted at /Passwords/<ComponentName>.
(e_passwords_remember_password): use component_name when building
up the path.
(e_passwords_get_password): same.
(e_passwords_add_password): remove/free the currently stored
session password for this key if there is one, before adding the
new one.
svn path=/trunk/; revision=13637
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 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-11 Chris Toshok <toshok@ximian.com>
* e-passwords.h: change prototype for e_passwords_get_password.
* e-passwords.c (e_passwords_get_password): remove 'const' from
return type - the return type is now allocated and must be freed
by the caller.
svn path=/trunk/; revision=13608
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 Chris Toshok <toshok@ximian.com>
* e-passwords.c (e_passwords_init): open the bonobo config db for
our passwords.
(e_passwords_shutdown): sync and unref the bonobo db, and clear
out the per session hash.
(e_passwords_forget_passwords): remove the bonobo config db
/Passwords path, and free up the session hash (but don't destroy
it).
(e_passwords_remember_password): remove the key/value from the
session hash, after inserting it into the bonobo db.
(e_passwords_get_password): look up a session password for the
uri, and if it's not there, consult the bonobo db.
(e_passwords_ask_password): quiet gcc's warnings, and only consult
the toggle button state if we actaully created it.
svn path=/trunk/; revision=13598
2001-10-11 Christopher James Lahey <clahey@ximian.com>
Based on patches from Fredrik Nilsson <jymdman@home.se>.
* gal/util/e-util.c (e_format_number): Made this work properly for
numbers with a full set of 0s for one of the grouping elements.
svn path=/trunk/; revision=13586
2001-10-11 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-table-text-model.c (e_table_text_model_insert,
e_table_text_model_insert_length, e_table_text_model_delete),
gal/e-text/e-text-model.c (e_text_model_real_insert,
e_text_model_real_insert_length): Use e_strdup_append_strings here
instead of g_strdup_printf because printf("%.*s") is locale
dependent on some systems.
* gal/util/e-util.c (e_strdup_append_strings): New function to
append a bunch of strings with optional lengths.
svn path=/trunk/; revision=13581