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
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-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
* main.c: Added a new "-c" command-line arg.
(idle_cb): If the arg is specified, open the component with that
id/alias.
* e-shell.c (impl_Shell_createNewView): New, implementation for
the Shell::createNewView() CORBA method.
(e_shell_class_init): Install.
(e_shell_create_window): Get a component_id arg.
* e-shell-window.c (e_shell_window_new): Get a component_id arg
and create the window with that component activated if not NULL.
* Evolution-Shell.idl (createNewView): Remove.
(createNewWindow): New.
svn path=/trunk/; revision=23274
* e-shell-window.c (struct _ComponentView): New member
"component_alias".
(component_view_new): Get a new "alias" arg, set the member in the
struct accordingly.
(component_view_free): Free ->component_alias.
(setup_widgets): Pass the alias from the ComponentInfo to
e_component_view().
(switch_view): New utility function.
(sidebar_button_selected_callback): Use it.
(e_shell_window_switch_to_component): New public function.
(e_shell_window_new): Switch to the component whose id is in the
/apps/evolution/shell/view_defaults/component_id GConf key.
* apps_evolution_shell.schemas: Removed view_defaults/folder_path.
New key view_defaults/component_id.
* e-component-registry.c (component_info_free): Free ->alias.
(component_info_new): Get an "alias" arg and set the member
accordingly.
(query_components): Remove debugging messages. Get an
"evolution:component_alias" property from the component and set
the alias from that.
* e-component-registry.h (struct _EComponentInfo): New member
"alias".
svn path=/trunk/; revision=23265
2003-11-10 Not Zed <NotZed@Ximian.com>
* em-format-html.c (em_format_html_multipart_signed_sign): changed
for cipher context api changes.
* em-format.c (emf_multipart_signed): ditto.
2003-11-07 Not Zed <NotZed@Ximian.com>
* mail-config.glade: added security_information_dialog (probably
temporarily in this file).
* em-format.c (em_format_is_attachment): also treat pkcs7-mime as
non-attachment.
(emf_application_xpkcs7mime): no longer need to worry about
scanning the part.
svn path=/trunk/; revision=23243
2003-11-10 Not Zed <NotZed@Ximian.com>
* camel-smime-context.c (sm_verify_cmsg): split out the CMSMessage
verification code so it can be used from enveloped or externally
signed data.
* camel-cipher-context.c (camel_cipher_verify): only take a
mimepart, internally handle multiparts and the hash.
2003-11-07 Not Zed <NotZed@Ximian.com>
* camel-cipher-context.c: make ciphervalidity a public structure,
added encrypt status.
(camel_cipher_decrypt): changed to return a ciphervalidity. fixed
implementations.
(camel_cipher_validity_*): Fixed implementations to match new
structure, some of this is now redundant.
2003-11-06 Not Zed <NotZed@Ximian.com>
* camel-smime-context.c (camel_smime_context_describe_part):
implement.
svn path=/trunk/; revision=23242
* ename/*: Removed. No longer used by evolution except via
evolution-data-server.
* Makefile.am (SUBDIRS): Remove ename
svn path=/trunk/; revision=23232
* message-list.c: Don't #include e-name-western.h, since the code
that uses it is commented out, and we want to remove the local
copy, but we don't want to make the mailer depend on the e-d-s
copy if it's not even going to be using it.
svn path=/trunk/; revision=23230
2003-11-07 JP Rosevear <jpr@ximian.com>
* gui/widgets/Makefile.am: make sure the marshal header is in the
source list
* gui/component/select-names/Makefile.am: ditto
* gui/contact-editor/Makefile.am: ditto
* gui/contact-list-editor/Makefile.am: ditto
svn path=/trunk/; revision=23219
2003-11-07 JP Rosevear <jpr@ximian.com>
* Makefile.am: make sure the marshal stuff is in the sources and
remove the built files when disting
svn path=/trunk/; revision=23218