2002-12-09 Chris Toshok <toshok@ximian.com>
* e-passwords.h: track changes to api (e_passwords_init is gone,
and several functions take the component name as an arg.)
* e-passwords.c (e_passwords_init): make this static, and allow
multiple calls. Also, it no longer takes the component name.
(e_passwords_shutdown): make this deal with the case where
e_passwords_init wasn't called (no hashtable), and it no longer
needs to free component_name.
(e_passwords_forget_passwords): call e_passwords_init.
(e_passwords_clear_component_passwords): take component_name as an
arg, and call e_passwords_init.
(password_path): take component_name as an arg.
(e_passwords_remember_password): same, and call e_passwords_init.
(e_passwords_forget_password): same.
(e_passwords_get_password): same.
(e_passwords_add_password): call e_passwords_init.
(e_passwords_ask_password): take component_name as an arg.
svn path=/trunk/; revision=19071
2002-12-07 Not Zed <NotZed@Ximian.com>
* e-msgport.c (e_mutex_cond_wait): Allow an e-mutex to be used
with standard condition variables.
svn path=/trunk/; revision=19055
2002-12-05 Jeffrey Stedfast <fejj@ximian.com>
* e-table-extras.c (ete_init): Add a "collate" sort callback that
uses the new g_collate_compare().
2002-12-05 Jeffrey Stedfast <fejj@ximian.com>
* gal/util/e-util.c (g_str_compare): Revert back to using just
strcmp - this fixes bug #33933 but reopens bug #26355.
(g_collate_compare): New function meant to address the sorting
required by bug #26335.
svn path=/trunk/; revision=19014
* e-lang-utils.c (e_get_language_list): If the language is
something like "fr_FR", return both "fr_FR" and "fr" in the list.
Oaf doesn't consider "fr_FR" to match a "-fr" translation.
svn path=/trunk/; revision=18926
2002-11-22 Not Zed <NotZed@Ximian.com>
* e-msgport.c (EMsgPort): Added an optional nspr pipe field.
(e_msgport_new): Init nspr pipe to null.
(e_msgport_destroy): close prfiledesc's if they're open.
(e_msgport_prfd): get the prfiledesc to wait asynchronously on.
(e_msgport_put): Write notify to nspr pipe if it exists.
(e_msgport_wait): poll nspr pipe fd if it is set, and the pipe fd
isn't.
(e_msgport_get): skim off a notify byte on the pr pipe if set.
(): Include config.h, and nspr stuff if HAVE_NSS is set.
svn path=/trunk/; revision=18893
2002-11-06 Chris Toshok <toshok@ximian.com>
* e-config-listener.c (e_config_listener_set_boolean): init err to
NULL so if there isn't an error we aren't left with an unitialized
GError. Fixes crash.
(e_config_listener_set_float): same.
(e_config_listener_set_long): same.
(e_config_listener_set_string): same.
svn path=/trunk/; revision=18593
2002-10-24 Rodrigo Moya <rodrigo@ximian.com>
Fixes#32764
* e-config-listener.c (add_key): store the value returned by
bonobo_event_source_client_add_listener, so that we can remove it
later, when freeing the key structure.
(free_key_hash): remove listener.
(e_config_listener_set_boolean):
(e_config_listener_set_float):
(e_config_listener_set_long):
(e_config_listener_set_string): only set the cache values if there's
no exception.
(e_config_listener_destroy): remove all keys before unrefing the db
component.
svn path=/trunk/; revision=18429
* ename/e-name-western.c: Cast chars to unsigned char before
passing to ctype macros since they are not defined on negative
numbers. Fixes parsing problems with names with accented
characters on Solaris. (At least part of #32146)
svn path=/trunk/; revision=18427
2002-10-20 Chris Toshok <toshok@ximian.com>
[ Fixes evolution bug #26355 ]
* gal/util/e-util.c (g_str_compare): use g_utf8_collate here
instead of strcmp.
* gal/e-text/Makefile.am (e_completion_test_LDADD): reorder so
that util comes before unicode.
svn path=/trunk/; revision=18400
2002-09-25 Rodrigo Moya <rodrigo@ximian.com>
* e-component-listener.c (ping_component_callback): added a comment
about the fix for #30918.
svn path=/trunk/; revision=18214
2002-09-23 Rodrigo Moya <rodrigo@ximian.com>
* e-component-listener.c (ping_component_callback): gtk_object_ref the
component listener before emitting the "component_died" signal, since
in most cases, the component listener will be destroyed in the
callbacks for that signal.
svn path=/trunk/; revision=18164
* gal/util/e-iconv.c: Make locale_charset a char *, not
const char *. Kills a warning in the !HAVE_CODESET case.
(e_iconv_init): No longer need to cast locale_charset to (char *)
while mangling it in the HAVE_CODESET case.
* gal/util/e-xml-utils.c: #include <stdlib.h> for free()
* gal/widgets/e-categories-master-list-array.c: Likewise
svn path=/trunk/; revision=18129
2002-09-17 Mike Kestner <mkestner@ximian.com>
* gal/util/e-iconv.c : apply patch for 27447 from Matt Avery for
a bug in the solaris iconv implementation.
svn path=/trunk/; revision=18100
2002-09-05 Rodrigo Moya <rodrigo@ximian.com>
* e-config-listener.c (e_config_listener_set_boolean,
e_config_listener_set_float, e_config_listener_set_long,
e_config_listener_set_string): update the local copy (if we've
got one) so that we don't return values if asked before getting
the change notification.
svn path=/trunk/; revision=17985
* e-time-utils.c (e_mktime_utc): New. Like mktime(3), but assumes
the input time is UTC.
(e_localtime_with_offset): New. Like localtime_r(3), but also
returns an offset from UTC.
svn path=/trunk/; revision=17971
2002-08-28 Jeffrey Stedfast <fejj@ximian.com>
* e-proxy.[c,h] (e_proxy_init): New convenience function to
initialise the proxy settings for soup to use.
svn path=/trunk/; revision=17896
2002-08-26 Peter Williams <peterw@ximian.com>
* e-dialog-utils.c (set_transient_for_gdk): If gdk_window_foreign_new
returned NULL, we're probably screwed, but try to avoid a segfault.
(Preemptive fix suggested by kmaraas).
svn path=/trunk/; revision=17866