2002-12-10 Not Zed <NotZed@Ximian.com>
* mail-composer-prefs.c (mail_composer_prefs_construct): language
is a treeview now. Not sure what to do with it yet, but get rid
of one warning anyway.
(mail_composer_prefs_construct): Same for sig_clist, but setup
model.
(sig_fill_clist): Change to use a gtktreeview instead of a clist.
(sig_selection_changed): New method to handle signature selection
changes with the new widgets.
(sig_delete): clist -> treeview.
(mail_composer_prefs_new_signature): Same.
(sig_edit): ditto.
(sig_current_sig): removed.
(sig_row_unselect): Removed.
(sig_row_select): Removed, now redundant.
(spell_select_lang): Removed, redundant.
(spell_set_ui_language): New implementation using list model more
effectively.
(spell_get_language_str): Same here.
(spell_set_ui_language): Removed this too, merged into
spell_set_ui, it was just wasting stack space.
(spell_language_selection_changed): renemd from
spell_language_select_row, converted to gtktreeview, etc.
(spell_language_unselect_row): Removed.
(spell_language_enable): Redone to use tree model.
(spell_language_button_press): Removed, i dont think this is
needed anymore.
(spell_setup): dont hook onto redundant signals.
* mail-config-factory.c (config_control_factory_cb): ignore
mail-font-prefs in a different way (so we dont assert)
svn path=/trunk/; revision=19084
2002-12-10 Not Zed <NotZed@Ximian.com>
* e-multi-config-dialog.c (impl_response): Removed the
g_assert_not_reached(). If you hit the close button on your
window it would abort, treat same as close.
svn path=/trunk/; revision=19083
2002-12-09 Jeffrey Stedfast <fejj@ximian.com>
* camel-url-scanner.c (camel_url_addrspec_end): Fixed to not be
fooled in the case where the address is followed immediately by a
period.
(camel_url_web_end): Made more robust.
(camel_url_scanner_scan): Oops. We need to set the match->pattern
string pointer to the correct pattern before executing the
start/end methods (as some of them rely on this info).
svn path=/trunk/; revision=19077
2002-12-09 Chris Toshok <toshok@ximian.com>
* e-clipped-label.[ch]: rework this to be faster and deal more
correctly with the ellipsis.
svn path=/trunk/; revision=19076
2002-12-09 Jeffrey Stedfast <fejj@ximian.com>
* camel-url-scanner.c: New code to scan for patterns (used only
for url pattern matching atm, but we may find other uses for this
and thus rename it? I dunno). Uses ETrie.
svn path=/trunk/; revision=19075
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-06 Rodrigo Moya <rodrigo@ximian.com>
Fixes#35003
* gui/misc.[ch] (get_uri_without_password): new function for
removing the password from the CalClient's uris.
* gui/gnome-cal.c (client_cal_opened_cb): use the URI returned by
get_uri_without_password for messages.
(backend_error_cb): likewise.
(backend_died_cb): likewise.
(gnome_calendar_open): likewise.
(open_error, method_error, permission_error): likewise.
* gui/e-tasks.c (e_tasks_open): hide the password from the URI
being displayed in messages.
(backend_error_cb): likewise.
svn path=/trunk/; revision=19070
2002-12-09 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
* es.po: Updated Spanish translation by Fco. Javier Fernandez <serrador@arrakis.es>
svn path=/trunk/; revision=19060
2002-12-08 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog):
connect ::response to gtk_widget_destroy so the dialog goes away.
* gui/widgets/e-minicard-label.c (e_minicard_label_construct):
don't use font_gdk anymore on EText. it doesn't exist.
svn path=/trunk/; revision=19059
2002-12-07 Not Zed <NotZed@Ximian.com>
* camel-data-cache.c (data_cache_init): Use a bag instead of a
hashtable to track the cache streams.
(data_cache_finalise): Same.
(free_busy): No longer needed.
(data_cache_expire): use bag instead of hashtable.
(stream_finalised): No longer required.
(camel_data_cache_add): objectbagise
(camel_data_cache_get): "
(camel_data_cache_remove): "
(data_cache_path): Set the now expired date before running expiry,
so it plays better with multiple threads. Still a couple of
harmless races.
2002-12-06 Not Zed <NotZed@Ximian.com>
* providers/local/camel-spool-store.c (scan_dir): folders ->
object bag.
(get_folder_info_mbox): folders -> object bag.
* providers/local/camel-mh-store.c (folder_info_new): folders ->
object bag.
* providers/local/camel-maildir-store.c (scan_dir): folders ->
object bag.
* providers/local/camel-local-store.c (rename_folder): folders ->
object bag.
* camel-private.h (CamelStorePrivate): Remove 'cache' lock,
handled by the objectbag.
* providers/imap/camel-imap-store.c (copy_folder): Removed.
(imap_store_refresh_folders): folders -> object bag.
(get_folder_counts): folders -> object bag.
* camel-vee-store.c (vee_get_folder): changes for folders
objectbag.
(vee_get_folder_info): Change to use folders objectbag. Also,
dont refresh the base folder if we're in FAST mode.
(build_info): Removed, no longer needed.
(vee_rename_folder): Fixed for folders objectbag.
* camel-store.c (camel_store_init): init the folders objectbag.
(camel_store_finalize): Destroy the folders object bag.
(folder_matches):
(folder_finalize): Removed, now handled implicitly by the
objectbag.
(camel_store_get_folder): object bag changes.
(camel_store_delete_folder): "
(get_subfolders): Removed, now handled without a callback.
(camel_store_rename_folder): Changed to use object bag of folders.
(trash_add_folder): Removed.
(init_trash): use folders object bag.
(copy_folder_cache):
(sync_folder): Removed, no longer needed. Weird arsed code anyway.
(store_sync): Use folder object bag instead of hashtable.
(camel_store_unsubscribe_folder): "
(camel_store_init): remove cache_lock init, no longer used.
(camel_store_finalize): Same for cleanup.
2002-12-05 Not Zed <NotZed@Ximian.com>
* camel-store.h (struct _CamelStore): change folders from a
hashtable into a CamelObjectBag.
* camel-object.c (camel_object_ref): Use type_lock instead of
class lock for ref counting.
(camel_object_unref): Use type_lock instead of class lock for
unref.
(camel_object_unref): If the object is 'bagged', then also look
hooks, and remove it from any bags.
(camel_object_bag_new):
(camel_object_bag_destroy):
(camel_object_bag_add):
(camel_object_bag_get):
(camel_object_bag_remove_unlocked):
(camel_object_bag_list):
(camel_object_bag_abort):
(camel_object_bag_remove): New functions to implement a utility
object which can manage a 'bag' of weakly ref'd children in an
atomic & threadsafe way.
svn path=/trunk/; revision=19056
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-08 Chris Toshok <toshok@ximian.com>
* tests/test-text.c: lots of stuff, add 2 e-text widgets, 1
readonly, the other writable (that uses the uri model..)
* gal/e-text/e-text.[ch]: lots of pango changes. we don't do
*anything* with gdk/e fonts now. everything is pango. There are
still some issues while editting but display should more or less
work properly now, and without all the performance problems.
* gal/e-text/e-completion-view.c (e_completion_view_expose_event):
use gtk_widget_send_expose instead of gtk_widget_event so we don't
get the annoying gtk warning.
* gal/e-text/e-entry.c (e_entry_dispose): make sure both the gdk
and gtk grabs are removed.
(e_entry_class_init): fill_color_gdk is a boxed type, not pointer.
* gal/e-text/e-text-model-uri.h (E_TYPE_TEXT_MODEL_URI): oops,
this should be e_text_model_uri_get_type, not
e_text_model_get_type.
svn path=/trunk/; revision=19054
2002-12-07 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #33295
* e-msg-composer-attachment.c: Change the parent_class to a
GObjectClass pointer instead of a GtkObjectClass pointer.
(e_msg_composer_attachment_edit): Ref the attachment object so
that if the attachment is removed while it is still being edited,
the attachment object will still exist and therefor foil the
user's attempt to make Evolution crash when they close the
properties dialog for this attachment.
(close_cb): Unref the attachment object.
svn path=/trunk/; revision=19053
2002-12-06 Hans Petter Jansson <hpj@ximian.com>
* cal-client/cal-query.c (cal_query_done_status_enum_get_type):
Implement GType for this enumeration.
(cal_query_class_init): Use the enumeration instead of the
abstract one.
* cal-client/cal-query.h: Add type macro and proto for enum.
svn path=/trunk/; revision=19050
2002-12-06 Hans Petter Jansson <hpj@ximian.com>
* gui/component-factory.c (): Pass the env argument to
bonobo_control_set_property ().
* gui/e-meeting-model.c (class_init): We're no longer derived from
GtkObject, so use GObject class methods instead. destroy->finalize.
(destroy): Zapped.
(finalize): Implement based on old destroy ().
svn path=/trunk/; revision=19048
2002-12-06 Hans Petter Jansson <hpj@ximian.com>
* GNOME_Evolution_WombatNOLDAP.server.in.in: It appears that
Ettore's @LIBEXECDIR@ change didn't make it in for this file.
Fixed that.
svn path=/trunk/; revision=19047
2002-12-05 Chris Toshok <toshok@ximian.com>
* e-shell-config-default-folders.c: use "contacts",
"contacts/ldap" as the accepted contacts types, so it'll allow
both normal and ldap contact folders.
svn path=/trunk/; revision=19037
2002-12-05 Jeffrey Stedfast <fejj@ximian.com>
* gui/component/select-names/e-select-names.etspec: Use collate
for sorting rather than the normal string sort. This fixes bug
#26335 without causing bug #33933 :-)
svn path=/trunk/; revision=19015
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