Commit Graph

16023 Commits

Author SHA1 Message Date
5a5eec6a63 Make sure the folder-browser is not NULL or we'll crash.
2002-12-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (check_send_configuration): Make sure the
	folder-browser is not NULL or we'll crash.

svn path=/trunk/; revision=19115
2002-12-13 22:51:35 +00:00
33f5b6f67d Fix the colour code to get a guint32 rgb correctly (I think - can't test
2002-12-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-preferences.c (mail_preferences_construct): Fix the colour
	code to get a guint32 rgb correctly (I think - can't test because
	the shell keeps crashing, yay).

svn path=/trunk/; revision=19114
2002-12-13 22:05:16 +00:00
d5749529a8 Don't re-use cell renderers - I'm not sure this is actually safe to do.
2002-12-13  Jeffrey Stedfast  <fejj@ximian.com>

	* message-tag-followup.c (construct): Don't re-use cell renderers
	- I'm not sure this is actually safe to do.

svn path=/trunk/; revision=19113
2002-12-13 19:36:18 +00:00
25a94bfe0c Get rid of unneeded CamelObject casts. (user_message_response): Don't
2002-12-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-session.c: Get rid of unneeded CamelObject casts.
	(user_message_response): Don't unref the dialog object after we've
	destroyed it.

	* mail-display.c (write_data_to_file): Don't unref the dialog
	object after we've destroyed it.

	* mail-callbacks.c: Same here.

	* component-factory.c: Here too.

	* message-tag-editor.c: Added MESSAGE_TAG_EDITOR_GET_CLASS macros.

svn path=/trunk/; revision=19112
2002-12-13 18:52:35 +00:00
d08474c3a5 [ fixes bug #35394 ]
2002-12-13  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #35394 ]

	* e-shell-shared-folder-picker-dialog.c (setup_name_selector):
	return the SelectNames corba interface too.
	(show_dialog): unref the corba interface when closing the dialog.

svn path=/trunk/; revision=19111
2002-12-13 18:10:37 +00:00
9aa9ba33ce cleaned up some const'ness
svn path=/trunk/; revision=19110
2002-12-13 16:20:41 +00:00
f27f9efb53 Setup double-click here.
2002-12-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (mail_accounts_tab_construct): Setup
	double-click here.

svn path=/trunk/; revision=19109
2002-12-13 02:16:27 +00:00
f6232508a1 Use an easier method for getting the iter.
2002-12-12  Jeffrey Stedfast  <fejj@ximian.com>

	* rule-editor.c (cursor_changed): Use an easier method for getting
	the iter.

svn path=/trunk/; revision=19108
2002-12-13 02:14:17 +00:00
64e851be73 oops, I had changed the glade code but forgot to commit
svn path=/trunk/; revision=19107
2002-12-13 00:34:03 +00:00
dc41429125 New custom function for creating the source_list widget. (get_widget):
2002-12-12  Jeffrey Stedfast  <fejj@ximian.com>

	* vfolder-rule.c (vfolder_editor_sourcelist_new): New custom
	function for creating the source_list widget.
	(get_widget): Removed the source_list creation code.

	* rule-editor.c (rule_editor_construct): Listen to row-activated
	for double-click events. Also, removed the model creation code out
	of here.
	(rule_editor_treeview_new): Moved the treeview and model creation
	code into here instead, and made the glade widgets into custom
	widgets.

svn path=/trunk/; revision=19106
2002-12-13 00:32:28 +00:00
1229557d37 don't shadow a parameter
svn path=/trunk/; revision=19105
2002-12-12 22:47:36 +00:00
159b10f3d9 Get rid of the ETable #ifdef's - we won't ever be using ETable.
2002-12-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (account_delete_clicked): Get rid of the ETable
	#ifdef's - we won't ever be using ETable.
	(account_default_clicked): Same.
	(account_able_clicked): Here too.
	(mail_accounts_load): And here.
	(mail_accounts_treeview_new): Renamed from etable_new since we
	won't ever be using an etable.
	(mail_accounts_tab_construct): And finally here.

svn path=/trunk/; revision=19104
2002-12-12 16:26:16 +00:00
a2ce61bbf1 GtkTreeStore wrapper. not built yet
2002-12-11  Mike Kestner  <mkestner@ximian.com>

	* e-storage-set-store.[ch] : GtkTreeStore wrapper. not built yet

svn path=/trunk/; revision=19101
2002-12-12 05:33:22 +00:00
57918de62e Removed Marquette from the listing, it is no longer listed by METAR. This
* Locations: Removed Marquette from the listing, it is no longer listed by METAR.  This is per bug 29693.

* Locations.h: Removed Marquette from the listing, it is no longer listed by METAR.

svn path=/trunk/; revision=19100
2002-12-12 00:11:58 +00:00
166b98d328 cast a-warning a-way.
2002-12-12  Not Zed  <NotZed@Ximian.com>

        * folder-browser.c (my_folder_browser_init): cast a-warning a-way.

        * mail-composer-prefs.c (spell_setup): Terminate list_store_set
        with -1.

        * mail-accounts.c (mail_accounts_etable_new): clist -> gtktreeview
        stuff.  Yes, this is not an etable.
        (mail_accounts_tab_construct): Same.
        (mail_accounts_load): Same.
        (account_cursor_change): Same.
        (account_able_clicked): And this.
        (account_default_clicked): Same.
        (account_delete_clicked): Guess?
        (account_edit_clicked): And here too.

svn path=/trunk/; revision=19099
2002-12-11 23:44:39 +00:00
cf5946baf7 New function to handle a lot of the filtering/etc that was done in
2002-12-11  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (mail_format_data_wrapper_write_to_stream): New
	function to handle a lot of the filtering/etc that was done in
	mail_format_get_data_wrapper_text(). This is the first step toward
	getting rid of e-text-to-html crap and using my tohtml stream
	filter instead.
	(mail_format_get_data_wrapper_text): Use the new function.
	(mail_format_raw_message): Use camel streams to write the content
	to gtkhtml rather than using get_data_wrapper_text() and then
	converting that to html and then writing it to the gtkhtml stream.

svn path=/trunk/; revision=19098
2002-12-11 16:52:40 +00:00
8d8578a64d check for null or blank view names
2002-12-10  Gilbert Fang  <gilbert.fang@sun.com>

	* gal-define-views-dialog.c (gdvd_button_new_dialog_callback):
	check for null or blank view names

svn path=/trunk/; revision=19096
2002-12-11 05:51:47 +00:00
d7abc97346 Fonts aren't set the way they were, and I had missed a tidbit in there.
Also this is fixed in the 12 branch.

svn path=/trunk/; revision=19094
2002-12-11 01:17:01 +00:00
782555acd2 change directory server description.
2002-12-10  Aaron Weber  <aaron@ximian.com>

	* C/config-prefs.sgml: change directory server description.

svn path=/trunk/; revision=19090
2002-12-10 19:39:53 +00:00
13e9ed127f change word from "Resend" to "redirect".
2002-12-10  Aaron Weber  <aaron@ximian.com>

	* C/preface.sgml: change word from "Resend" to "redirect".

svn path=/trunk/; revision=19089
2002-12-10 19:21:43 +00:00
1de04ce7bd Use camel-url-scanner instead of regex.
2002-12-10  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-filter-tohtml.c (html_convert): Use camel-url-scanner
	instead of regex.

svn path=/trunk/; revision=19087
2002-12-10 17:40:34 +00:00
2dd7fb3a14 new function.
2002-12-10  Rodrigo Moya <rodrigo@ximian.com>

	* e-config-listener.[ch] (e_config_listener_remove_dir): new function.

svn path=/trunk/; revision=19086
2002-12-10 17:03:03 +00:00
0350336eca language is a treeview now. Not sure what to do with it yet, but get rid
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 11:09:27 +00:00
6d87926c24 Removed the g_assert_not_reached(). If you hit the close button on your
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-10 11:06:13 +00:00
c29a83e4f6 fix parameter list for e_trie_search
svn path=/trunk/; revision=19082
2002-12-10 04:24:49 +00:00
a39c3ef6fb oops, forgot to add the pattern_id arg to e_trie_add
svn path=/trunk/; revision=19081
2002-12-10 04:20:53 +00:00
62398da200 EMemChunk, duh
svn path=/trunk/; revision=19080
2002-12-10 04:17:11 +00:00
74d6e5e8d5 s/E_MemChunk/EMemChunk/
svn path=/trunk/; revision=19079
2002-12-10 04:13:28 +00:00
c8e8b1dbd6 GObject-ize this.
2002-12-09  Chris Toshok  <toshok@ximian.com>

	* gui/search/e-addressbook-search-dialog.[ch]: GObject-ize this.

svn path=/trunk/; revision=19078
2002-12-10 04:03:22 +00:00
ed25ea4d31 Fixed to not be fooled in the case where the address is followed
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-10 03:44:17 +00:00
bdd9cae5e9 rework this to be faster and deal more correctly with the ellipsis.
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 23:30:30 +00:00
d2971bf645 New code to scan for patterns (used only for url pattern matching atm, but
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 23:18:31 +00:00
3b74718def New implementation of an Aho-Corasick trie.
2002-12-09  Jeffrey Stedfast  <fejj@ximian.com>

	* e-trie.c: New implementation of an Aho-Corasick trie.

svn path=/trunk/; revision=19074
2002-12-09 23:16:38 +00:00
1c7ced323f pass "Mail" to e_passwords_*. (do_get_pass): same. (main_forget_password):
2002-12-09  Chris Toshok  <toshok@ximian.com>

	* mail-session.c (pass_response): pass "Mail" to e_passwords_*.
	(do_get_pass): same.
	(main_forget_password): same.
	(mail_session_get_password): same.
	(mail_session_remember_password): same.
	(mail_session_forget_password): same.

	* mail-config.c (mail_config_write_on_exit): pass "Mail" to
	e_passwords_*.

	* main.c (main): e_passwords_init is gone.

svn path=/trunk/; revision=19073
2002-12-09 21:50:22 +00:00
267c9dec5c pass "Addressbook" to e_passwords*. (addressbook_authenticate): same.
2002-12-09  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook.c (load_uri_auth_cb): pass
	"Addressbook" to e_passwords*.
	(addressbook_authenticate): same.

svn path=/trunk/; revision=19072
2002-12-09 21:40:28 +00:00
2efdf9ac4a track changes to api (e_passwords_init is gone, and several functions take
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-09 21:39:41 +00:00
3bb567307b Fixes #35003
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 21:26:53 +00:00
4f476ec48a remove PENDING_PORT_WORK. (addressbook_search_activated): same.
2002-12-09  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook.c (search_cb): remove
	PENDING_PORT_WORK.
	(addressbook_search_activated): same.
	(addressbook_query_changed): same.

	* gui/component/Makefile.am (libevolution_addressbook_la_LIBADD):
	add libfilter.la back in.

svn path=/trunk/; revision=19069
2002-12-09 21:24:20 +00:00
79178c27f2 Forgot to commit this new file.
svn path=/trunk/; revision=19067
2002-12-09 18:56:58 +00:00
109dab31b4 #define MINICARD_CONTROL_ID.
svn path=/trunk/; revision=19063
2002-12-09 17:19:36 +00:00
6897409481 OK, final typo.
svn path=/trunk/; revision=19061
2002-12-09 15:59:49 +00:00
7d43831d30 Updated Spanish translation by Fco. Javier Fernandez <serrador@arrakis.es>
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-09 15:00:11 +00:00
f4f96ef264 connect ::response to gtk_widget_destroy so the dialog goes away.
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-09 01:04:39 +00:00
cca7f7dd64 this uses pango now. (addressbook_height): same.
2002-12-08  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-addressbook-reflow-adapter.c (text_height): this
	uses pango now.
	(addressbook_height): same.

svn path=/trunk/; revision=19058
2002-12-09 01:01:38 +00:00
24b06cb2a4 Use a bag instead of a hashtable to track the cache streams.
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-09 00:28:06 +00:00
c43c83145a Allow an e-mutex to be used with standard condition variables.
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-09 00:23:58 +00:00
84fabde6ba lots of stuff, add 2 e-text widgets, 1 readonly, the other writable (that
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-08 21:44:08 +00:00
0bf2d899d8 Fix for bug #33295
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-07 18:44:46 +00:00
70b1993d5e use e_card_set_book instead of basically duplicating its code here.
2002-12-06  Chris Toshok  <toshok@ximian.com>

	* backend/ebook/e-book.c (e_book_commit_card): use e_card_set_book
	instead of basically duplicating its code here.
	(e_book_add_card): same.

svn path=/trunk/; revision=19052
2002-12-07 05:17:39 +00:00
2e2fa87f50 change to a more gconf-like path (with underscores, etc.) (ecmlw_save):
2002-12-06  Chris Toshok  <toshok@ximian.com>

	* e-categories-master-list-wombat.c (ecmlw_load): change to a more
	gconf-like path (with underscores, etc.)
	(ecmlw_save): same.

svn path=/trunk/; revision=19051
2002-12-07 05:15:26 +00:00