Commit Graph

18866 Commits

Author SHA1 Message Date
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
5d07b9739f Call e_sidebar_select_button() instead of switch_view().
* e-shell-window.c (e_shell_window_switch_to_component): Call
e_sidebar_select_button() instead of switch_view().

* e-sidebar.c (update_buttons): New helper function.
(e_sidebar_select_button): New.

svn path=/trunk/; revision=23299
2003-11-12 20:22:12 +00:00
f0427b1010 a canvas item does not inherit from gtkwidget
2003-11-12  JP Rosevear <jpr@ximian.com>

	* e-calendar-item.c (e_calendar_item_class_init): a canvas item
	does not inherit from gtkwidget

svn path=/trunk/; revision=23298
2003-11-12 20:17:38 +00:00
2ba68734fd new files (gal-a11y-e-cell-tree.c/h) added adding 2 new functions to add
2003-11-03  Tim Wo  <tim.wo@sun.com>

	* gal/a11y/e-table/Makefile.am: new files (gal-a11y-e-cell-tree.c/h)
	added
	* gal/a11y/e-table/gal-a11y-e-cell.h: adding 2 new functions to add or
	remove atk states
	* gal/a11y/e-table/gal-a11y-e-cell.c (eti_dispose): unref the state_set
	(eti_ref_state_set): new function
	(eti_class_init): create and initialize the state_set
	(eti_init): override the "ref_state_set" function in AtkObjectClass with
	"eti_ref_state_set"
	(gal_a11y_e_cell_add_state): adding a return value
	(gal_a11y_e_cell_remove_state): new function
	* gal/e-table/e-cell-tree.c: (e_cell_tree_class_init): register
	GalA11yECellText as the a11y implementation for ECellText.
	(e_cell_tree_view_get_subcell_view): new function to retrieve the cell_view
	of subcell in ECellTree
	* gal/e-table/e-cell-tree.h: adding 1 new function to retrieve the cell_view
	of subcell in ECellTree
	* gal/a11y/e-table/gal-a11y-e-cell-tree.c: new file. A11y implementation
	for ECellTree
	* gal/a11y/e-table/gal-a11y-e-cell-tree.h: new file. A11y implementation
	for ECellTree

svn path=/trunk/; revision=23296
2003-11-12 05:12:04 +00:00
325bccff55 Fixes #50808
2003-11-11  Bolian Yin <bolian.yin@sun.com>

        Fixes #50808

        * gui/goto.c (goto_dialog): set initial selection to current day.

svn path=/trunk/; revision=23295
2003-11-12 04:55:03 +00:00
fea61a8eea add smime/lib/e-cert-db.c
2003-11-11  Chris Toshok  <toshok@ximian.com>

	* POTFILES.in: add smime/lib/e-cert-db.c

svn path=/trunk/; revision=23294
2003-11-12 02:10:29 +00:00
f25b5e9db9 ignore smime-ui.gladep
svn path=/trunk/; revision=23293
2003-11-12 02:08:59 +00:00
4e1bce59fa don't init NSS here. it's done in e_cert_db_peek.
2003-11-11  Chris Toshok  <toshok@ximian.com>

	* tests/import-cert.c (main): don't init NSS here.  it's done in
	e_cert_db_peek.

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

	* gui/smime-ui.glade: set the initial sensitivity of the buttons
	here, and add the beginnings of the CA import dialog (where you
	assign trust levels to it.)

	* gui/certificate-manager.c (handle_selection_changed):
	sensitize/desensitize all the various buttons correctly when the
	GtkTreeView's selection changes.
	(yourcerts_selection_changed): new, selection change handler for
	the Your Certs tab.
	(initialize_yourcerts_ui): hook up the tree selection, and add a
	model column for the ECert.
	(contactcerts_selection_changed): new, selection change handler
	for the Contact Certs tab.
	(initialize_contactcerts_ui): hook up the tree selection, and add
	a model column for the ECert.
	(import_ca): new function.
	(delete_ca): new function.
	(authoritycerts_selection_changed): new, selection change handler
	for the Authority Certs tab.
	(create_authoritycerts_treemodel): new function for creating the
	authority cert tree model.  the other tabs will eventually use a
	separate function for this too, as unload_certs gets fleshed out.
	(initialize_authoritycerts_ui): hook up the tree selection, and
	add import/delete buttons.
	(destroy_key): dtor for the keys in our hashes.
	(destroy_value): dtor for the values in our hashes.
	(unload_certs): new function.  basically destroy/recreate the
	model and hash for the particular cert type/tab.
	(load_certs): use e_cert_get_cert_type.
	(populate_ui): use unload_certs as well as load_certs.
	(certificate_manager_config_control_new): call e_cert_db_peek
	,which will initialize all of NSS.  hook up all the widgets from
	libglade.

	* lib/e-cert.h: add prototypes for all the new methods, and add
	the ECertType enum.

	* lib/e-cert.c (e_cert_dispose): handle deletion from the DB here.
	(e_cert_new_from_der): new function.
	(e_cert_get_internal_cert): new function.
	(e_cert_get_raw_der): new function.
	(e_cert_get_issuer_name): new
	(e_cert_get_subject_name): new
	(e_cert_mark_for_deletion): new
	(e_cert_get_cert_type): new.
	(e_cert_is_ca_cert): nuke.

	* lib/e-cert-db.[ch]: new, partly implemented, derived from
	mozilla's nsNSSCertificateDB code.

svn path=/trunk/; revision=23292
2003-11-12 02:07:25 +00:00
747e7843d1 replace the foobar file
2003-11-12  Jakub Steiner <jimmac@ximian.com>

* about-box.png: replace the foobar file

svn path=/trunk/; revision=23291
2003-11-12 00:52:18 +00:00
3a018af3a1 remove libversit from the build.
2003-11-11  Chris Toshok  <toshok@ximian.com>

	* Makefile.am (SUBDIRS): remove libversit from the build.

	* configure.in (CERT_UI): change the libraries we link.
	(AC_OUTPUT): remove libversit/Makefile

	* libversit/*: nuke it all

svn path=/trunk/; revision=23290
2003-11-12 00:11:22 +00:00
b24eaafcb8 kill the right thing (kill_old_dataserver): rename and check the version
2003-11-11  JP Rosevear <jpr@ximian.com>

	* main.c (kill_dataserver): kill the right thing
	(kill_old_dataserver): rename and check the version correctly

2003-11-11  JP Rosevear <jpr@ximian.com>

	* configure.in: determine the e-d-s version, version the gettext
	files properly

svn path=/trunk/; revision=23288
2003-11-11 18:43:09 +00:00
6f57f92231 use a standard calendar status (backend_cal_opened_online): ditto
2003-11-11  JP Rosevear <jpr@ximian.com>

	* gui/calendar-offline-handler.c (backend_cal_opened_offline): use
	a standard calendar status
	(backend_cal_opened_online): ditto

	* gui/alarm-notify/alarm-queue.c (cal_opened_cb): ditto

	* gui/gnome-cal.c (client_cal_opened_cb): ditto

	* gui/e-tasks.c (cal_opened_cb): ditto

	* gui/e-itip-control.c (default_server_started_cb): ditto

	* gui/e-cal-model.c (cal_opened_cb): ditto

	* gui/comp-editor-factory.c (cal_opened_cb): ditto

svn path=/trunk/; revision=23286
2003-11-11 17:11:09 +00:00
4ea4ea5d28 load the calendar synchronously
2003-11-11  JP Rosevear <jpr@ximian.com>

	* conduits/todo/todo-conduit.c (start_calendar_server): load the
	calendar synchronously

	* conduits/calendar/calendar-conduit.c (start_calendar_server):
ditto

svn path=/trunk/; revision=23285
2003-11-11 17:03:36 +00:00
f7cc8f7cbd Fixes #50538
2003-11-11  Bolian Yin <bolian.yin@sun.com>

        Fixes #50538

        * e-calendar-item: make e_calendar_item_normalize_date public func.
           add "selection_preview_changed" signal.
           move some definition of constants to .h

svn path=/trunk/; revision=23284
2003-11-11 10:34:29 +00:00
59b0ca9123 Fixes #50538
2003-11-11  Bolian Yin <bolian.yin@sun.com>

        Fixes #50538

        * new files:
                widgets/ea-calendar-cell.[hc]

        * widgets/ea-calendar-item: impl. atk selection and atk table interface.        * widgets/Makefile.am : use shared object library (.so)

svn path=/trunk/; revision=23283
2003-11-11 10:33:43 +00:00
5a6f72675e Fixes # 50480
2003-11-11  Bolian Yin <bolian.yin@sun.com>

        Fixes # 50480

        * gal/a11y/e-table/gal-a11y-e-table-item: listen on "selection_model_removed" and "selection_model_added".

svn path=/trunk/; revision=23282
2003-11-11 03:42:58 +00:00
ad315e4a7d Fixes # 50480
2003-11-11  Bolian Yin  <bolian.yin@sun.com>

        Fixes # 50480

        * e-table-item: add two signals: "selection_model_removed" and "selection_model_added"

svn path=/trunk/; revision=23281
2003-11-11 03:42:17 +00:00
8e69b93f15 return boolean not ECalStatus (update_objects): ditto (process_item_fn):
2003-11-10  JP Rosevear <jpr@ximian.com>

	* importers/icalendar-importer.c (update_single_object): return
	boolean not ECalStatus
	(update_objects): ditto
	(process_item_fn): handle above returns

svn path=/trunk/; revision=23280
2003-11-11 02:38:28 +00:00
1c69704f65 new glade file for security related stuff.
2003-11-11  Not Zed  <NotZed@Ximian.com>

        * mail-security.glade: new glade file for security related stuff.

        * mail-config.glade: removed the message security dialogue, it
        gets opened automatically by the config code :(

svn path=/trunk/; revision=23277
2003-11-11 02:38:01 +00:00
e1b06f3408 (e_source_selector_new): Expand all the
nodes.

svn path=/trunk/; revision=23276
2003-11-11 02:06:48 +00:00
70a993e368 use proper change list free function name (post_sync): ditto
2003-11-10  JP Rosevear <jpr@ximian.com>

	* conduits/calendar/calendar-conduit.c
	(e_calendar_context_destroy): use proper change list free function
	name
	(post_sync): ditto

svn path=/trunk/; revision=23275
2003-11-11 01:46:52 +00:00