2001-12-17 JP Rosevear <jpr@ximian.com>
* e-pilot-map.c (e_pilot_map_clear): clear all info from the map
* e-pilot-map.h: add proto
svn path=/trunk/; revision=15177
2001-12-17 Christopher James Lahey <clahey@ximian.com>
From a patch by Dan Nguyen <dnn@austin.ibm.com>
* configure.in: Added configure check for %l and %k in strftime.
* gal/util/e-util.c, gal/util/e-util.h (e_strftime): New function.
Handles %l and %k even on platforms that don't support them by
translating to %I and %H.
svn path=/trunk/; revision=15146
2001-12-10 JP Rosevear <jpr@ximian.com>
* configure.in: use UTF-8 as the char set when testing pilot link
2001-12-10 JP Rosevear <jpr@ximian.com>
* e-pilot-util.c (e_pilot_utf8_to_pchar): use UTF-8 instead of
UTF8 as the source char set
(e_pilot_utf8_from_pchar): use UTF-8 instead of UTF8 as the
destination char set
svn path=/trunk/; revision=14995
* Makefile.am (libeutil_la_LIBADD): Remove `-lc'. It makes the
mailer do strange things when it calls `fork()', thus breaking
e.g. mail sending through sendmail.
svn path=/trunk/; revision=14694
2001-11-13 JP Rosevear <jpr@ximian.com>
* e-pilot-map.c (real_e_pilot_map_insert): only insert non-0 pids
into the pid map
(e_pilot_map_insert): remove and free old keys/values here -
including possibly orphaned keys
(e_pilot_map_remove_by_uid): only free things if they should have
been found
svn path=/trunk/; revision=14687
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