Commit Graph

18786 Commits

Author SHA1 Message Date
d182d3473e Handle "" as a request for a full dirscan as well (not just NULL). Makes
2003-11-14  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/local/camel-mbox-store.c (get_folder_info): Handle ""
	as a request for a full dirscan as well (not just NULL). Makes it
	consistant with other stores.
	(scan_dir): Set the fi->flags appropriately.

	* providers/local/camel-mbox-folder.c
	(camel_mbox_folder_get_full_path): Removed temporary hack.

svn path=/trunk/; revision=23356
2003-11-14 18:11:11 +00:00
d9a3bd550f Only set OK to sensitive if the selected node is not a store node.
2003-11-14  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-selection.c (folder_selected_cb): Only set OK to
	sensitive if the selected node is not a store node.

	* em-folder-tree-model.c: Moved the store_hash and uri_hash from
	EMFolderTreePrivate into here instead.

	* em-folder-tree.c: Updated for above changes.

svn path=/trunk/; revision=23355
2003-11-14 17:29:06 +00:00
02031fc95a Update
2003-11-14  JP Rosevear <jpr@ximian.com>

	* MAINTAINERS: Update

svn path=/trunk/; revision=23354
2003-11-14 16:32:52 +00:00
0217b6c0dd Updated. (emfv_popup_copy): Updated.
2003-11-14  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-view.c (emfv_popup_move): Updated.
	(emfv_popup_copy): Updated.

	* em-folder-tree.c (emft_popup_copy): Updated.
	(emft_popup_move): Updated.

	* em-folder-selection.c (create_dialog): New convenience function
	to construct the dialog contents for all three public functions.
	(em_folder_selection_run_dialog): Now longer takes a caption arg.
	(em_folder_selection_run_dialog_uri): Same.
	(em_select_folder): Here too.

svn path=/trunk/; revision=23353
2003-11-14 16:20:17 +00:00
8b11b6d449 Fixes 45776 enable the usage of the "alt".
2003-11-14  Andrew Wu <yang.wu@sun.com>

        Fixes 45776
        * gal/util/e-text-event-processor-emacs-like.c (e_text_event_processor_emacs_like_event):
        enable the usage of the "alt".

svn path=/trunk/; revision=23351
2003-11-14 10:17:23 +00:00
edf5fa2abb Fix for 50800 connect "e_cell_combo_list_button_press" to gtklist.
2003-11-14  Andrew Wu <yang.wu@sun.com>
       Fix for 50800
       * gal/e-table/e-cell-combo.c (e_cell_combo_init):
       connect "e_cell_combo_list_button_press" to gtklist.
       (e_cell_combo_list_button_press):
       deal with the "click" event.
       (e_cell_combo_selection_changed):
       delete the action to selection changed.

svn path=/trunk/; revision=23350
2003-11-14 10:12:31 +00:00
724be060d1 Fix for 50681 send a event to the right cell to pop up something.
2003-11-12  Andrew Wu <yang.wu@sun.com>
        Fix for 50681
        * gal/e-table/e-table-item.c (eti_event):
        send a event to the right cell to pop up something.

svn path=/trunk/; revision=23349
2003-11-14 10:07:26 +00:00
6cf20bbeba Return TRUE for all cells, for now.
2003-11-13  Hans Petter Jansson  <hpj@ximian.com>

	* gui/contact-list-editor/e-contact-list-model.c
	(contact_list_is_cell_editable): Return TRUE for all cells, for now.

	* gui/widgets/e-addressbook-table-adapter.c (card_modified_cb):
	Renamed to contact_modified_cb ().
	(addressbook_set_value_at): Port to use EContact instead of ECard.
	(addressbook_is_cell_editable): Ditto.
	(addressbook_append_row): Ditto.

	* gui/widgets/e-minicard-label.c (e_minicard_label_set_property):
	Make not editable, ever, and add a comment to this effect.
	(e_minicard_label_realize): Ditto.

	* gui/widgets/e-minicard.c (e_minicard_set_property): Ditto.
	(add_field): Ditto.

svn path=/trunk/; revision=23348
2003-11-14 00:38:47 +00:00
dbf9e56e63 Use em_folder_tree_get_model() since an emft is not a GtkTreeView.
2003-11-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-component.c (mail_component_get_tree_model): Use
	em_folder_tree_get_model() since an emft is not a GtkTreeView.

	* em-folder-tree.c (em_folder_tree_get_model): New function to get
	the tree model.

svn path=/trunk/; revision=23347
2003-11-13 23:42:49 +00:00
f67ed4d34c Use em_folder_tree_get_model() since an emft is not a GtkTreeView.
2003-11-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-component.c (mail_component_get_tree_model): Use
	em_folder_tree_get_model() since an emft is not a GtkTreeView.

	* em-folder-tree.c (em_folder_tree_get_model): New function to get
	the tree model.

svn path=/trunk/; revision=23346
2003-11-13 23:42:38 +00:00
2ab12b5d87 Rewritten to use EMFolderTRee.
2003-11-13  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-selection.c: Rewritten to use EMFolderTRee.

svn path=/trunk/; revision=23345
2003-11-13 23:32:37 +00:00
b4d89f6bbc oops, put the mempool stuff back, we don't use e-memory afterall. Damn
2003-11-14  Not Zed  <NotZed@Ximian.com>

        * camel-mime-parser.c (SCAN_BUF): oops, put the mempool stuff
        back, we don't use e-memory afterall.  Damn plane hacking.

svn path=/trunk/; revision=23344
2003-11-13 23:20:50 +00:00
2699c4c41f Remove mempool code, we use the stuff in e-util. (PRESERVE_HEADERS): new
2003-11-13  Not Zed  <NotZed@Ximian.com>

        * camel-mime-parser.c: Remove mempool code, we use the stuff in
        e-util.
        (PRESERVE_HEADERS): new compile option, if on, we preserve headers
        and folding exactly rather than unfolding all input.  THIS BREAKS
        EVERYTHING right now, so don't turn it on.

        * camel-gpg-context.c (gpg_decrypt): reset the input memstream
        before passing it to the gpg engine.

        * tests/smime/pgp-mime.c (main): redirect /dev/null to stdin so it
        doesn't hang waiting for input.
        (main): removed from build - this tests multipart/signed
        explictly, but now the details of this is handled directly by the
        cipher context.

        * tests/smime/pgp.c (main): fixes for api changes.
        (main): redirect /dev/null to stdin so it doesn't hang waiting for
        input.

        * tests/message/test1.c (main): update for api changes.

        * camel-smime-context.c (sm_verify): look at the content object's
        mime type, not the container's type.

svn path=/trunk/; revision=23343
2003-11-13 23:17:31 +00:00
cac6efa61f Remove spurious puts()s.
svn path=/trunk/; revision=23342
2003-11-13 22:47:02 +00:00
c4652e9705 Updated for function name changes in mail-component.c
2003-11-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-vfolder.c (vfolder_load_storage): Updated for function name
	changes in mail-component.c

	* mail-offline-handler.c: Updated for function name changes in
	mail-component.c

	* mail-account-gui.c (add_new_store): Fixed to not use EStorage.
	(mail_account_gui_save): Updated for function name changes.

	* em-account-prefs.c (account_delete_clicked): Updated for
	function name changes.
	(account_able_clicked): Same.
	(account_able_toggled): Same.

	* mail-component.c: Renamed mail_component_*storage*() functions
	to mail_component_*store*() since we are no longer dealing with
	storages, but instead with CamelStore's.
	(create_view_widget): If the user selects a store node, don't try
	to open it as a folder.

svn path=/trunk/; revision=23341
2003-11-13 22:33:14 +00:00
f3fe0dd7a3 Updated for function name changes in mail-component.c
2003-11-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-vfolder.c (vfolder_load_storage): Updated for function name
	changes in mail-component.c

	* mail-offline-handler.c: Updated for function name changes in
	mail-component.c

	* mail-account-gui.c (add_new_store): Fixed to not use EStorage.
	(mail_account_gui_save): Updated for function name changes.

	* em-account-prefs.c (account_delete_clicked): Updated for
	function name changes.
	(account_able_clicked): Same.
	(account_able_toggled): Same.

	* mail-component.c: Renamed mail_component_*storage*() functions
	to mail_component_*store*() since we are no longer dealing with
	storages, but instead with CamelStore's.
	(create_view_widget): If the user selects a store node, don't try
	to open it as a folder.

svn path=/trunk/; revision=23340
2003-11-13 22:33:02 +00:00
5c8d360c98 Remove type="toggle" from the "ToggleOffline"
verb; I'm not sure why it was there in the first place and it was
causing BonoboUI to spew warnings.

svn path=/trunk/; revision=23339
2003-11-13 22:19:12 +00:00
28f389fbf0 Ooops, add missing closing </popups> tag.
svn path=/trunk/; revision=23338
2003-11-13 22:05:32 +00:00
3a3ad909d7 (DEVELOPMENT_WARNING): Define.
svn path=/trunk/; revision=23337
2003-11-13 21:51:00 +00:00
36528e37e9 If the user selects a store node, don't try to open it as a folder.
2003-11-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-component.c (create_view_widget): If the user selects a
	store node, don't try to open it as a folder.

svn path=/trunk/; revision=23336
2003-11-13 21:46:05 +00:00
0f99b321bc (impl_sendAndReceive): New, implementation for
Evolution.Component.sendAndReceive.
(mail_component_class_init): Install.

svn path=/trunk/; revision=23335
2003-11-13 21:35:13 +00:00
5880c00dd2 New.
* e-shell.c (e_shell_send_receive): New.

* Evolution-Component.idl (Component.sendAndReceive): New.

* evolution.xml: Add back send/receive command and toolbar button.

svn path=/trunk/; revision=23334
2003-11-13 21:32:39 +00:00
1627a08174 Modified to not use EStorage* functions. I don't even think it *needs* to
2003-11-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-vfolder.c (context_rule_removed): Modified to not use
	EStorage* functions. I don't even think it *needs* to remove the
	folder from the mail-component, the mail-component should just
	pick it up automagically via CamelStore events.

svn path=/trunk/; revision=23333
2003-11-13 19:43:50 +00:00
79b40b20dd fixed a build issue
svn path=/trunk/; revision=23332
2003-11-13 19:27:03 +00:00
fd244132ad New folder-tree widget that replaces the shell's folder-tree widget.
2003-11-13  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-tree.[c,h]: New folder-tree widget that replaces the
	shell's folder-tree widget.

	* em-folder-tree-model.[c,h]: New source files subclassing
	GtkTreeStore for handling the mess that is drag&drop.

	* em-folder-selection-button.c: Ported to use EMFolderTree.

	* em-folder-selection.c: Ported to use EMFolderTree.

	* em-folder-selector.c: Ported to use EMFolderTree.

	* mail-component.c: Ported to use EMFolderTree.

	* mail-offline-handler.c (storage_go_online): Updated to not pass
	a storage argument.

	* mail-folder-cache.c: Removed storage stuff.

	* mail-send-recv.c (receive_update_got_store): Don't do EStorage*
	stuff anymore.

svn path=/trunk/; revision=23331
2003-11-13 19:02:07 +00:00
4e093efda9 remove dead file
2003-11-13  JP Rosevear <jpr@ximian.com>

	* POTFILES.in: remove dead file

svn path=/trunk/; revision=23328
2003-11-13 15:43:57 +00:00
87bf984862 New. (impl_requestCreateItem): New. (tasks_component_class_init): Install.
* gui/tasks-component.c (impl__get_userCreatableItems): New.
(impl_requestCreateItem): New.
(tasks_component_class_init): Install.

* gui/calendar-component.c (impl__get_userCreatableItems): New.
(impl_requestCreateItem): New, for now just a stub.
(calendar_component_class_init): Install into the EPV.

svn path=/trunk/; revision=23327
2003-11-13 13:49:01 +00:00
4c1f563a18 (ensure_menu_items): Reverse
the list so we get the items in the same order they were given to
us [since we are using g_slist_prepend() to build the list].

svn path=/trunk/; revision=23326
2003-11-13 13:42:35 +00:00
23ff4e713b (impl__get_userCreatableItems): New, implementation for the
userCreatableItems property.
(impl_requestCreateItem): New, implementation for the
requestCreateItem method.
(addressbook_component_class_init): Install.

svn path=/trunk/; revision=23325
2003-11-13 13:38:24 +00:00
d4213cf4e4 blah
svn path=/trunk/; revision=23324
2003-11-13 12:42:31 +00:00
63c51cf724 (GNOME.Evolution.Component.UnknownType):
New exception.

svn path=/trunk/; revision=23323
2003-11-13 11:56:29 +00:00
51baaabff6 Add "NewPopup" popup back.
svn path=/trunk/; revision=23322
2003-11-13 11:55:27 +00:00
54dd1725f9 (impl__get_userCreatableItems): New,
implementation for the Component.userCreatableItems attribute.
(impl_requestCreateItem): New, implementation for the
Component.requestCreateItem() method.
(mail_component_class_init): Install.

svn path=/trunk/; revision=23321
2003-11-13 11:55:12 +00:00
92d3c8fd83 (impl__get_userCreatableItems): New.
(impl_requestCreateItem): New, for now just a stub.
(calendar_component_class_init): Install into the EPV.

svn path=/trunk/; revision=23320
2003-11-13 11:49:16 +00:00
9cc6ce2525 (em_junk_sa_test_spamd): rename em_junk_sa_spamd_tested to
em_junk_sa_tested, always set em_junk_sa_tested

svn path=/trunk/; revision=23319
2003-11-13 11:33:26 +00:00
da01ce03ba fix build temporarily
svn path=/trunk/; revision=23318
2003-11-13 11:14:14 +00:00
30b6cddec9 new helper function, use it before any call to spamassassin, spamc and
2003-11-13  Radek Doulik  <rodo@ximian.com>

	* em-junk-filter.c (em_junk_sa_is_available): new helper function,
	use it before any call to spamassassin, spamc and sa-learn
	(em_junk_sa_test_spamd): first test if spamassassin is available

svn path=/trunk/; revision=23317
2003-11-13 11:09:08 +00:00
d697d3d420 don't call CAMEL_IS_VJUNK_FOLDER, it was added by mistake
2003-11-13  Radek Doulik  <rodo@ximian.com>

	* mail-folder-cache.c (folder_changed): don't call
	CAMEL_IS_VJUNK_FOLDER, it was added by mistake

svn path=/trunk/; revision=23316
2003-11-13 10:25:01 +00:00
6de80c0ea8 Add a component_alias
of "calendar" for the calendar and "tasks" for the tasks.

svn path=/trunk/; revision=23315
2003-11-13 06:00:11 +00:00
7a5ecfbb6c New signal "component_changed". (class_init): Install. (switch_view):
* e-shell-window.c: New signal "component_changed".
(class_init): Install.
(switch_view): Emit.
(e_shell_window_new): Call
e_user_creatable_items_handler_attach_menus() to attach the
"New..."  menus.
(e_shell_window_peek_current_component_id): New.
(e_shell_window_peek_shell): Add precondition.
(e_shell_window_peek_current_component_id): Likewise.
(e_shell_window_peek_bonobo_ui_component): Likewise.

* e-user-creatable-items-handler.c: New.
* e-user-creatable-items-handler.h: New.

* e-shell-window.h: #include <bonobo/bonobo-ui-component.h>.

* e-shell.c (struct _EShellPrivate): Add member
user_creatable_items_handler.
(e_shell_get_user_creatable_items_handler): Remove.
(e_shell_peek_user_creatable_items_handler): New.

* Evolution-Component.idl (GNOME.Evolution.RequestCreateItem): New
method.
(GNOME.Evolution.creatableItems): New attribute.

* e-shell-user-creatable-items-handler.c: Remove.
* e-shell-user-creatable-items-handler.h: Remove.

svn path=/trunk/; revision=23314
2003-11-13 05:56:14 +00:00
35b15cb051 use malloc0 for the pobject memory.
2003-11-13  Not Zed  <NotZed@Ximian.com>

        * em-format-html.c (em_format_html_add_pobject): use malloc0 for
        the pobject memory.

svn path=/trunk/; revision=23313
2003-11-13 05:23:29 +00:00
8e302d84a4 implement the key selector popup using e-cert-selector.
2003-11-12  Not Zed  <NotZed@Ximian.com>

        * mail-account-gui.c (smime_sign_key_select)
        (smime_encrypt_key_select, smime_encrypt_key_selected)
        (smime_sign_key_selected): implement the key selector popup using
        e-cert-selector.

2003-11-11  Not Zed  <NotZed@Ximian.com>

        * em-format-html.c (efh_application_xpkcs7mime): output icons of the status.
        (em_format_html_add_pobject): Changed to take a size specificier,
        return the pobject, and re-ordered args to be more consistent with
        puri stuff.
        (em_format_html_remove_pobject): handle the free callback if set.

        * em-format.c (emf_application_xpkcs7mime): moved this to
        em-format-html since it needs to do icon stuff.

svn path=/trunk/; revision=23312
2003-11-13 03:57:54 +00:00
61b1ec94ba look at the content object's mime type, not the container's type.
2003-11-13  Not Zed  <NotZed@Ximian.com>

        * camel-smime-context.c (sm_verify): look at the content object's
        mime type, not the container's type.

2003-11-11  Not Zed  <NotZed@Ximian.com>

        * camel-cipher-context.c (camel_cipher_validity_set_valid): take
        into account the @valid argument and set validity properly.
        (camel_cipher_validity_clone): new method to copy validities.

        * camel-smime-context.c (sm_signing_cmsmessage): removed a todo.

svn path=/trunk/; revision=23311
2003-11-13 03:52:12 +00:00
ea99b0cfb4 remove a declaration of a deleted func.
2003-11-13  Bolian Yin <bolian.yin@sun.com>

        * e-calendar-item.c: remove a declaration of a deleted func.

svn path=/trunk/; revision=23310
2003-11-13 03:33:53 +00:00
73aa156068 added cert_selector widget to be placed inside a dialog.
2003-11-12  Not Zed  <NotZed@Ximian.com>

        * gui/smime-ui.glade: added cert_selector widget to be placed
        inside a dialog.

        * gui/e-cert-selector.[ch]: new class to allow user to select a
        certificate for signing or encrypting.

svn path=/trunk/; revision=23309
2003-11-13 03:19:07 +00:00
bdba680ed5 implement using the e-cert-trust foo. (e_cert_get_email): implement.
2003-11-12  Chris Toshok  <toshok@ximian.com>

	* lib/e-cert.c (e_cert_get_cert_type): implement using the
	e-cert-trust foo.
	(e_cert_get_email): implement.

	* lib/e-cert.h: add UNKNOWN cert type.

	* gui/smime-ui.glade: fix capitalization of "Import" on the
	contact certificate page.

	* gui/certificate-manager.c (import_contact): new function.
	implement email cert importing.
	(delete_contact): new function.
	(unload_certs): implement for E_CERT_CONTACT.
	(certificate_manager_config_control_new): get the contact cert
	action buttons from libglade.

	* lib/e-cert-db.c (handle_ca_cert_download): mostly implement the
	trust settings correctly.  this still needs work pending the CA
	trust dialog's completion.
	(e_cert_db_delete_cert): fix the ifdef'ed code.
	(e_cert_db_import_user_cert): remove the ifdef'ed body of this,
	since it was copied from the CA code.

	* lib/Makefile.am (libessmime_la_SOURCES): add e-cert-trust.[ch]

	* lib/e-cert-trust.[ch]: new files, basically c&p nsNSSCertTrust
	from mozilla's PSM.

svn path=/trunk/; revision=23308
2003-11-13 02:23:52 +00:00
7e734202c2 Use non-deprecated gtk_menu_shell_append ().
2003-11-12  Hans Petter Jansson  <hpj@ximian.com>

	* gui/calendar-component.c (add_popup_menu_item): Use non-deprecated
	gtk_menu_shell_append ().

svn path=/trunk/; revision=23306
2003-11-12 22:31:47 +00:00
025d857b12 Merge some missed files.
svn path=/trunk/; revision=23304
2003-11-12 21:58:27 +00:00
8e1251fa17 merged spam filtering branch
svn path=/trunk/; revision=23302
2003-11-12 21:13:05 +00:00
8187001a14 Add component_alias of "contacts".
Add
component_alias of "contacts".

svn path=/trunk/; revision=23301
2003-11-12 20:47:14 +00:00