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
2002-08-26 Rodrigo Moya <rodrigo@ximian.com>
* e-config-listener.c (e_config_listener_set_long): only set the key
if the value is different from what we've already read from the
database, to avoid extra change notifications.
(e_config_listener_set_string): likewise.
svn path=/trunk/; revision=17858
2002-08-22 JP Rosevear <jpr@ximian.com>
* e-time-utils.c (e_time_parse_date): if the year was two digits,
add the current century
svn path=/trunk/; revision=17833
2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
* e-config-listener.[ch]: new class for config database access and
monitoring.
* Makefile.am: added new files.
svn path=/trunk/; revision=17816
2002-08-14 Rodrigo Moya <rodrigo@ximian.com>
* e-component-listener.[ch]: new class for controlling a component,
to detect when it dies.
svn path=/trunk/; revision=17786
2002-08-07 Jeffrey Stedfast <fejj@ximian.com>
* gal/util/e-xml-utils.c (e_xml_save_file): Do slightly better
error handling for close() and loop until it closes successfully.
svn path=/trunk/; revision=17733
2002-08-06 Jeffrey Stedfast <fejj@ximian.com>
* gal/util/e-xml-utils.c (e_xml_save_file): Changed to handle
saving to a temp file first, this allows us to remove a lot of
duplicate code from everywhere.
svn path=/trunk/; revision=17725
2002-08-06 Jeffrey Stedfast <fejj@ximian.com>
* configure.in: Bumped version to 0.19.99.18
* gal/util/e-xml-utils.c (e_xml_save_file): New convenience
function to save an xmlDocPtr. Replaces xmlSaveFile because
xmlSaveFile isn't dependable.
svn path=/trunk/; revision=17718
* e-html-utils.c (is_citation): Remove the logic that assumes
"Rupert> " is a citation, since it misfires more often than it
hits.
svn path=/trunk/; revision=17696