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 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 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 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
* 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
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
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 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 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-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 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-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-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-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-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-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-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-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 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