aboutsummaryrefslogtreecommitdiffstats
path: root/smime
Commit message (Collapse)AuthorAgeFilesLines
* Stop abusing forward declarations.Matthew Barnes2009-06-191-3/+6
|
* More code cleanup.Matthew Barnes2009-06-022-2/+2
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-2918-243/+243
|
* Remove trailing whitespace, again.Matthew Barnes2009-05-2918-18/+18
|
* Fix compiler warnings in smime.Matthew Barnes2009-05-261-2/+2
|
* Fix several types of pedantic compiler warnings.Matthew Barnes2009-05-174-5/+5
|
* Use Behdad's brilliant git.mk to generate .gitignore files.Matthew Barnes2009-05-024-0/+8
|
* Bug 580892 – Kill libgnomeui/gnome-app and gnome-app-helperMatthew Barnes2009-05-011-20/+19
| | | | | The only remaining case is widgets/test/test-dropdown-button.c, but this file will be removed when the kill-bonobo branch is merged.
* GN-bug #572348 - Removed deprecated Gtk+ symbolsMilan Crha2009-04-243-17/+253
| | | | Some still left, because those gone in kill-bonobo branch.
* Bug 577929 – Consolidate marshallersMatthew Barnes2009-04-233-16/+3
| | | | | | Consolidate all marshalling specifications to e-util/e-marshal.list. This reduces code duplication and makes it slightly easier to locate unused marshallers.
* ** Remove a bunch of juvenile comments. Source code should lookMatthew Barnes2009-04-121-2/+0
| | | | | | | | | | 2009-04-12 Matthew Barnes <mbarnes@redhat.com> ** Remove a bunch of juvenile comments. Source code should look professional, even if some developers are not. svn path=/trunk/; revision=37514
* ** Fix for bug #539002Milan Crha2009-04-072-1/+11
| | | | | | | | | | | | 2009-04-07 Milan Crha <mcrha@redhat.com> ** Fix for bug #539002 * gui/certificate-manager.c: (load_certs): Show all other certificates in a contact tab. svn path=/trunk/; revision=37500
* ** Fix for bug #529745Milan Crha2009-04-072-0/+9
| | | | | | | | | | | | 2009-04-07 Milan Crha <mcrha@redhat.com> ** Fix for bug #529745 * gui/certificate-manager.c: (import_your), (import_contact): Add more file types in a file filter. svn path=/trunk/; revision=37499
* ** Fix for bug #572975Milan Crha2009-02-253-15/+33
| | | | | | | | | | | | | | 2009-02-25 Milan Crha <mcrha@redhat.com> ** Fix for bug #572975 * gui/smime-ui.glade: Center dialogs. * gui/certificate-manager.c: (import_your), (import_contact), (import_ca): Destroy file chooser dialog early enough to not have hidden any other windows below it. svn path=/trunk/; revision=37333
* License changesSankarasivasubramanian Pasupathilingam2008-10-106-216/+160
| | | | svn path=/trunk/; revision=36583
* esthetic license header cleans, and fix e-pkcs12Michael Meeks2008-09-062-25/+0
| | | | svn path=/trunk/; revision=36264
* Change License from GPL to LGPL. 2nd batch.Sankarasivasubramanian Pasupathilingam2008-09-0310-129/+141
| | | | | | More changes to come. svn path=/trunk/; revision=36247
* License ChangesSankarasivasubramanian Pasupathilingam2008-08-2711-125/+166
| | | | svn path=/trunk/; revision=36116
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-2121-21/+21
| | | | svn path=/trunk/; revision=35665
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-068-20/+6
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* ** Fixes bug #534360Matthew Barnes2008-05-232-5/+12
| | | | | | | | | | | | 2008-05-22 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #534360 Migrate from deprecated GtkObject symbols to GObject equivalents. Touches over 150 files in all components; too many to list. svn path=/trunk/; revision=35526
* ** Fixes bug #513951Matthew Barnes2008-03-112-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-03-11 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #513951 * addressbook/gui/component/addressbook-component.c (ensure_sources): * addressbook/gui/component/addressbook-migrate.c (addressbook_migrate): * calendar/gui/cal-search-bar.c (cal_search_bar_construct): * calendar/gui/migration.c (create_calendar_sources), (create_task_sources), (migrate_calendars), (migrate_tasks), (create_memo_sources): * calendar/gui/e-memos.c (e_memos_setup_view_menus): * calendar/gui/tasks-component.c (ensure_sources): * calendar/gui/gnome-cal.c (gnome_calendar_setup_view_menus): * calendar/gui/calendar-component.c (ensure_sources): * calendar/gui/memos-component.c (ensure_sources): * mail/mail-config.c (gconf_mime_types_changed): Adapt to new meaning of xxx_component_peek_base_directory(). * addressbook/gui/component/addressbook-component.c (addressbook_component_init): * addressbook/gui/component/addressbook-migrate.c (create_groups): * calendar/gui/tasks-component.c (tasks_component_init): * calendar/gui/calendar-component.c (calendar_component_init): * calendar/gui/memos-component.c (memos_component_init): * composer/e-msg-composer.c (autosave_manager_query_load_orphans), (autosave_init_file): * e-util/e-mktemp.c (get_dir): * e-util/e-util.c (get_lock_filename): * mail/mail-component.c: * plugins/face/face.c (org_gnome_composer_face): * smime/lib/e-cert-db.c (initialize_nss): Use e_get_user_data_dir() instead of constructing the full path. * calendar/gui/migration.c (add_gw_esource): * composer/e-msg-composer.c (e_msg-composer_unrealize), (e_msg_composer_set_view_from), (e_msg_composer_set_view_replyto), (e_msg_composer_set_view_to), (e_msg_composer_set_view_postto), (e_msg_composer_set_view_cc), (e_msg_composer_set_view_bcc): * e-util/e-util.c (e_file_update_save_path), (e_file_get_save_path): Emit warnings if saving to GConf fails. * e-util/e-util.c (e_get_user_data_dir): New function returns the base directory for Evolution user data. This should be the /only/ place in the application where this directory is hard-coded. svn path=/trunk/; revision=35175
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-1511-200/+200
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* ** Fixes bug #437579Matthew Barnes2007-10-102-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-09 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #437579 * addressbook/conduit/address-conduit.c: * addressbook/gui/component/addressbook-config.c: * addressbook/gui/contact-editor/e-contact-editor.c: * addressbook/gui/widgets/eab-gui-util.c: * calendar/conduits/calendar/calendar-conduit.c: * calendar/conduits/memo/memo-conduit.c: * calendar/conduits/todo/todo-conduit.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/dialogs/memo-page.c: * calendar/gui/dialogs/task-page.c: * calendar/gui/e-day-view-layout.c: * calendar/gui/e-day-view-layout.h: * calendar/gui/print.c: * e-util/e-pilot-map.c: * e-util/e-plugin.c: * e-util/e-profile-event.c: * e-util/e-signature.c: * filter/filter-file.c: * mail/e-searching-tokenizer.c: * mail/em-folder-browser.c: * mail/em-format-html.c: * mail/em-format-view.c: * mail/em-format.c: * mail/em-mailer-prefs.c: * mail/em-mailer-prefs.h: * mail/mail-session.c: * mail/mail-session.h: * mail/mail-vfolder.c: * mail/message-list.c: * plugins/bbdb/bbdb.c: * plugins/bbdb/gaimbuddies.c: * plugins/calendar-http/calendar-http.c: * plugins/exchange-operations/exchange-user-dialog.c: * plugins/face/face.c: * shell/e-shell-window.c: * shell/e-shell.c: * smime/lib/e-cert-db.c: * tools/killev.c: * widgets/misc/e-cursors.c: * widgets/misc/e-spinner.c: * widgets/misc/e-unicode.c: * widgets/table/e-table-field-chooser-item.c: * widgets/table/e-table-header-item.c: * widgets/table/e-table-header-item.h: * widgets/table/e-table-header-utils.c: * widgets/table/e-table.c: * widgets/text/e-text.c: Fix various compiler warnings. Patch from Milan Crha. svn path=/trunk/; revision=34368
* Remove the --enable-file-chooser configure option.Matthew Barnes2007-09-142-24/+8
| | | | | | GtkFileChooser has been around since 2004. svn path=/trunk/; revision=34257
* ** Fix for bug #471791 Srinivasa Ragavan2007-09-102-1/+8
| | | | svn path=/trunk/; revision=34215
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-0222-28/+28
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* 2007-08-31 mcrha Fix for bug #378759Milan Crha2007-08-313-3/+11
| | | | svn path=/trunk/; revision=34144
* ** Fix for bug #455799Hiroyuki Ikezoe2007-08-044-12/+0
| | | | | | | | | | | | 2007-08-04 Hiroyuki Ikezoe <poincare@ikezoe.net> ** Fix for bug #455799 Remove all .cvsignore and update svn:ignore porperty in whole directories. svn path=/trunk/; revision=33945
* calendar/gui/dialogs/memo-page.glade:Andre Klapper2007-07-312-1/+6
| | | | | | | | | | | | | | | | | | | | | | | 2007-07-31 Andre Klapper <a9016009@gmx.de> * calendar/gui/dialogs/schedule-page.glade: calendar/gui/dialogs/memo-page.glade: calendar/gui/dialogs/meeting-page.glade: calendar/gui/dialogs/task-page.glade: calendar/gui/dialogs/task-details-page.glade: calendar/gui/dialogs/cal-prefs-dialog.glade: calendar/gui/dialogs/event-page.glade: calendar/gui/e-itip-control.glade: smime/gui/smime-ui.glade: filter/filter.glade: plugins/attachment-reminder/attachment-reminder.glade: plugins/imap-features/imap-headers.glade: plugins/exchange-operations/exchange-permissions-dialog.glade: plugins/publish-calendar/publish-calendar.glade: remove "window1" string from translation svn path=/trunk/; revision=33913
* Collect all the required package versions in one place and explicitlyMatthew Barnes2007-07-282-3/+7
| | | | | | | | | | | | | 2007-07-27 Matthew Barnes <mbarnes@redhat.com> * configure.in: Collect all the required package versions in one place and explicitly require GTK+ 2.10 or higher. (#380354) * Adapt various Makefile.am files. svn path=/trunk/; revision=33863
* Fix for version removal from installed files.Srinivasa Ragavan2007-06-032-1/+7
| | | | svn path=/trunk/; revision=33646
* Fix for bug #396645Srinivasa Ragavan2007-04-202-0/+43
| | | | svn path=/trunk/; revision=33437
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-202-1/+8
| | | | svn path=/trunk/; revision=33432
* ** Fixes bug #419524Matthew Barnes2007-03-2110-9/+15
| | | | | | | | | | | | | | | | | | | | | | | 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. * e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list): * mail/em-migrate.c (emm_setup_initial): * shell/e-component-registry.c (query_components): * shell/e-shell-settings-dialog.c (load_pages): * shell/e-shell-window-commands.c (command_quick_reference): * tools/killev.c (main): Use g_get_language_names() instead of gnome_i18n_get_language_list(). * e-util/e-util.c: Remove e_gettext(). * e-util/Makefile.am: Remove e-i18n.h. svn path=/trunk/; revision=33319
* Initialize a pointer to NULL and cast away a warning. bug #332101. FixKjartan Maraas2006-10-013-4/+11
| | | | | | | | | | | 2006-10-01 Kjartan Maraas <kmaraas@gnome.org> * lib/e-asn1-object.c: (build_from_der): Initialize a pointer to NULL and cast away a warning. bug #332101. * lib/e-pkcs12.c: (prompt_for_password), (nickname_collision): Fix some signed/unsigned warnings. bug #332101. svn path=/trunk/; revision=32840
* changed window focus. Fixes bug #266828.Andre Klapper2006-08-222-1/+6
| | | | | | | | | 2006-08-21 Andre Klapper <a9016009@gmx.de> * smime-ui.glade: changed window focus. Fixes bug #266828. svn path=/trunk/; revision=32620
* ** Fixes #334848Veerapuram Varadhan2006-07-313-3/+12
| | | | | | | | | * lib/e-pkcs12.c (prompt_for_password): * gui/component.c (smime_pk11_passwd), (smime_pk11_change_passwd): Do not pass NULL for the domain parameter of e_passwords_ask_password. svn path=/trunk/; revision=32451
* On Win32, NSS wants filenames in system codepage, so convert UTF-8Tor Lillqvist2006-06-152-1/+18
| | | | | | | | | 2006-06-15 Tor Lillqvist <tml@novell.com> * lib/e-cert-db.c (initialize_nss): On Win32, NSS wants filenames in system codepage, so convert UTF-8 filename to system codepage. svn path=/trunk/; revision=32157
* On Win32, don't bother to attempt looking in Unix paths like /usr/lib orTor Lillqvist2006-01-312-0/+14
| | | | | | | | | | | 2006-01-30 Tor Lillqvist <tml@novell.com> * lib/e-cert-db.c (install_loadable_roots): On Win32, don't bother to attempt looking in Unix paths like /usr/lib or /opt/mozilla for Mozilla's nssckbi module. If necessary, add code later to look up the installation path of Mozilla or Firefox from the Registry. svn path=/trunk/; revision=31382
* Remove unused code. Use #ifdef instead of #if some places. Add missingKjartan Maraas2006-01-308-11/+24
| | | | | | | | | | | | | | | | 2006-01-29 Kjartan Maraas <kmaraas@gnome.org> * gui/cert-trust-dialog.c: (ctd_response): * gui/certificate-viewer.c: (fill_in_general): * gui/component.c: * lib/e-cert-db.c: (initialize_nss), (default_nickname): * lib/e-cert-db.h: * lib/e-cert.c: (create_tbs_certificate_asn1_struct): * lib/e-pkcs12.c: (import_from_file_helper): Remove unused code. Use #ifdef instead of #if some places. Add missing header. svn path=/trunk/; revision=31368
* removed string "dialog1" from translation. Fixes bug 306118.Andre Klapper2006-01-272-1/+5
| | | | | | | | | | | | 2006-01-27 Andre Klapper <a9016009@gmx.de> * plugins/groupwise-features/proxy-listing.glade: * plugins/publish-calendar/publish-calendar.glade: * smime/gui/smime-ui.glade: * widgets/table/e-table-config.glade: * widgets/table/e-table-config-no-group.glade: removed string "dialog1" from translation. Fixes bug 306118. svn path=/trunk/; revision=31326
* Fix for 325748. Add an search path which can be automatically retrievedSimon Zheng2006-01-112-0/+9
| | | | | | | | | | 2006-01-11 Simon Zheng <simon.zheng@sun.com> Fix for 325748. * lib/e-cert-db.c: (install_loadable_roots): Add an search path which can be automatically retrieved when running configure. svn path=/trunk/; revision=31128
* use e_utf8_strftime() in evolution-data-server/Simon Zheng2006-01-102-0/+7
| | | | | | | | | | 2006-01-10 Simon Zheng <simon.zheng@sun.com> * lib/e-cert.c:use e_utf8_strftime() in evolution-data-server/ libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. svn path=/trunk/; revision=31121
* marked LDAP specific strings as not translatable. Fixes bug 273076.Andre Klapper2006-01-062-10/+14
| | | | | | | | 2006-01-06 Andre Klapper <a9016009@gmx.de> * lib/e-cert-c: marked LDAP specific strings as not translatable. Fixes bug 273076. svn path=/trunk/; revision=31086
* Do not set the sort column before the model is initialized. This is doneHarish Krishnaswamy2006-01-022-5/+8
| | | | | | | | | | | 2006-01-02 Harish Krishnaswamy <kharish@novell.com> * gui/certificate-manager.c: (initialize_yourcerts_ui): Do not set the sort column before the model is initialized. This is done later by the function unload_certs. Fixes #325472 (critical warning crasher). svn path=/trunk/; revision=31015
* lib/e-cert-db.c Use gstdio wrappers. Open file in binary mode.Tor Lillqvist2005-12-183-3/+11
| | | | | | | | | 2005-12-18 Tor Lillqvist <tml@novell.com> * lib/e-cert-db.c * lib/e-pkcs12.c: Use gstdio wrappers. Open file in binary mode. svn path=/trunk/; revision=30858
* gui/ca-trust-dialog.c (ca_trust_dialog_show) gui/cert-trust-dialog.cTor Lillqvist2005-12-187-5/+56
| | | | | | | | | | | | | 2005-12-18 Tor Lillqvist <tml@novell.com> * gui/ca-trust-dialog.c (ca_trust_dialog_show) * gui/cert-trust-dialog.c (cert_trust_dialog_show) * gui/certificate-manager.c (certificate_manager_config_control_new) * gui/certificate-viewer.c (certificate_viewer_show) * gui/e-cert-selector.c (e_cert_selector_new): Construct glade file pathname at run-time. svn path=/trunk/; revision=30857
* Add reserved field for an empty structure.Mengjie Yu2005-07-292-0/+8
| | | | | | | | | | | 2005-07-28 Mengjie Yu <meng-jie.yu@sun.com> * lib/e-cert-db.c: Add reserved field for an empty structure. Fixes #311837 svn path=/trunk/; revision=29923
* Use privsolib here, too. Link with libeutil and CERT_UI_LIBS. UseTor Lillqvist2005-07-202-1/+10
| | | | | | | | | 2005-07-20 Tor Lillqvist <tml@novell.com> * lib/Makefile.am: Use privsolib here, too. Link with libeutil and CERT_UI_LIBS. Use NO_UNDEFINED. svn path=/trunk/; revision=29812
* Use privsolib so the DLL gets installed in bindir on Win32. (See ChangeLogTor Lillqvist2005-07-202-1/+9
| | | | | | | | | | 2005-07-20 Tor Lillqvist <tml@novell.com> * gui/Makefile.am: Use privsolib so the DLL gets installed in bindir on Win32. (See ChangeLog entry in .. from 2005-06-18.) Link with libeshell. Use NO_UNDEFINED. svn path=/trunk/; revision=29811
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-17 Kaushal Kumar <kakumar@novell.com> * Retired GAL from Head. The relevant files have moved inside evolution. Thanks to JP Rosevear for performing the cvs surgery. The files have been moved in the following order. evolution/e-util <- gal/gal/util evolution/a11y <- gal/gal/a11y evolution/a11y/e-table <- gal/gal/a11y/e-table evolution/a11y/e-text <- gal/gal/a11y/e-text evolution/widgets/table <- gal/gal/e-table evolution/widgets/text <- gal/gal/e-text evolution/widgets/misc <- gal/gal/widgets evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps evolution/widgets/menus <- gal/gal/menus Following is the summary of changes done to fix the build:- - New files added to cvs repository, - a11y/e-table/Makefile.am - a11y/e-text/Makefile.am - widgets/table/Makefile.am - widgets/text/Makefile.am - widgets/misc/pixmaps/Makefile.am - iconv-detect.h - iconv-detect.c - Updated configure.in. - Updated all the relevant Makefile.am files. - Updated the include paths to replace all gal references. - Updated the marshal list to suit gal files requirements. svn path=/trunk/; revision=29522
* pull up missing merge from branchJP Rosevear2005-06-072-0/+19
| | | | | | | | | 2005-06-06 JP Rosevear <jpr@novell.com> * lib/e-cert-db.c (install_loadable_roots): pull up missing merge from branch svn path=/trunk/; revision=29462
* *gui/certificate-manager.c Changed cert to certificates Fixes #273075Sankar P2005-05-062-6/+12
| | | | | | | | | | 2005-05-06 Sankar P <psankar@novell.com> *gui/certificate-manager.c Changed cert to certificates Fixes #273075 svn path=/trunk/; revision=29290
* Copied Mozilla code to check if the nssckbi root certs module was too oldJeffrey Stedfast2005-04-011-21/+51
| | | | | | | | | | 2005-03-31 Jeffrey Stedfast <fejj@novell.com> * lib/e-cert-db.c (install_loadable_roots): Copied Mozilla code to check if the nssckbi root certs module was too old and if it was, delete/unload it. svn path=/trunk/; revision=29137
* add a11y name to Certificates Table Fixes #73914Li Yuan2005-03-302-0/+12
| | | | | | | | | | 2005-03-30 Li Yuan <li.yuan@sun.com> * gui/smime-ui.glade: add a11y name to Certificates Table Fixes #73914 svn path=/trunk/; revision=29126
* ** See bug #68592Not Zed2005-02-242-1/+16
| | | | | | | | | | | | | 2005-02-21 Not Zed <NotZed@Ximian.com> ** See bug #68592 * gui/certificate-manager.c (yourcerts_selection_changed): dont pass backup to handle_selection_changed. (certificate_manager_config_control_new): disable the backup buttons always. svn path=/trunk/; revision=28875
* Make mailer depend on libedataserverui.Hans Petter Jansson2005-02-244-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-23 Hans Petter Jansson <hpj@novell.com> * configure.in: Make mailer depend on libedataserverui. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * Makefile.am (eutilinclude_HEADERS) (libeutil_la_SOURCES): Remove e-passwords from here, it now lives in libedataserverui. * e-passwords.[ch]: Removed. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * gui/component/addressbook-view.c: * gui/component/addressbook.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * common/authentication.c: * gui/e-pub-utils.c: * gui/alarm-notify/alarm-notify.c: * gui/alarm-notify/notify-main.c: * gui/dialogs/url-editor-dialog.c: Include <libedataserverui/e-passwords.h>. * gui/itip-utils.c: Remove e-passwords.h include, it's not needed. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * mail-session.c: * mail-config.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * gui/component.c: * lib/e-cert-db.c: * lib/e-pkcs12.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * e-shell-window-commands.c: * e-shell.c: * main.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * camel-gw-listener.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * send-options.c: Include <libedataserverui/e-passwords.h>. svn path=/trunk/; revision=28871
* Install shared libraries to privlibdir.Hans Petter Jansson2005-02-103-2/+7
| | | | | | | | | | | | | | | | 2005-02-09 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/contact-editor/Makefile.am: * addressbook/gui/contact-list-editor/Makefile.am: * addressbook/util/Makefile.am: * filter/Makefile.am: * widgets/e-timezone-dialog/Makefile.am: * widgets/menus/Makefile.am: * widgets/misc/Makefile.am: * smime/lib/Makefile.am: * smime/gui/Makefile.am: Install shared libraries to privlibdir. svn path=/trunk/; revision=28762
* Set the border widths for the dialog internal container widgets to be HIGRodney Dawes2005-02-053-1/+13
| | | | | | | | | | | 2005-02-04 Rodney Dawes <dobey@novell.com> * gui/ca-trust-dialog.c (ca_trust_dialog_new): Set the border widths for the dialog internal container widgets to be HIG compliant * gui/smime-ui.glade: Set the vbox spacing to 12 for HIG compliance svn path=/trunk/; revision=28712
* don't remove the tree node if deleting the cert failed. (delete_your):Not Zed2005-01-202-6/+13
| | | | | | | | | | | 2004-11-23 Not Zed <NotZed@Ximian.com> * gui/certificate-manager.c (delete_ca): don't remove the tree node if deleting the cert failed. (delete_your): same. (delete_contact): same. Hoorah for code-reuse. svn path=/trunk/; revision=28456
* update to use G_DEFINE_TYPEJP Rosevear2004-10-142-14/+12
| | | | | | | | 2004-10-13 JP Rosevear <jpr@novell.com> * gui/e-cert-selector.c: update to use G_DEFINE_TYPE svn path=/trunk/; revision=27572
* dont try to deference NULL nickname or emailAddr on the cert.Not Zed2004-10-122-9/+17
| | | | | | | | | 2004-10-11 Not Zed <NotZed@Ximian.com> * gui/e-cert-selector.c (e_cert_selector_new): dont try to deference NULL nickname or emailAddr on the cert. svn path=/trunk/; revision=27542
* ** See bug #64420.Not Zed2004-09-042-1/+9
| | | | | | | | | | | 2004-09-03 Not Zed <NotZed@Ximian.com> ** See bug #64420. * lib/e-pkcs12.c (prompt_for_password): set the outptr after we've actually got a pointer for it allocated. svn path=/trunk/; revision=27139
* ** See bug #62963.Not Zed2004-08-182-2/+9
| | | | | | | | | | | 2004-08-16 Not Zed <NotZed@Ximian.com> ** See bug #62963. * gui/cert-trust-dialog.c (ctd_response): fix c99 syntax. Spotted by Vincent Noel <vnoel@cox.net> svn path=/trunk/; revision=26958
* Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0Carlos Garnacho Parro2004-08-132-6/+63
| | | | | | | | | 2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org> * gui/certificate-manager.c: Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0 svn path=/trunk/; revision=26895
* api change in e_passwords.Not Zed2004-08-123-6/+11
| | | | | | | | | 2004-08-10 Not Zed <NotZed@Ximian.com> * gui/component.c (smime_pk11_passwd, smime_pk11_change_passwd): * lib/e-pkcs12.c (prompt_for_password): api change in e_passwords. svn path=/trunk/; revision=26883
* Fixed to work for both LE and BE architectures.Jeffrey Stedfast2004-08-032-18/+20
| | | | | | | | | 2004-08-02 Jeffrey Stedfast <fejj@novell.com> * lib/e-pkcs12.c (prompt_for_password): Fixed to work for both LE and BE architectures. svn path=/trunk/; revision=26794
* [ fixes #61490 ]Chris Toshok2004-07-202-5/+11
| | | | | | | | | | | | | 2004-07-16 Chris Toshok <toshok@ximian.com> [ fixes #61490 ] * lib/e-cert-db.c (e_cert_db_import_pkcs12_file): un-ifdef this, as it's working.. (e_cert_db_export_pkcs12_file): and ifdef this one, since it's the function i meant to ifdef in the first place. svn path=/trunk/; revision=26675
* Fixes #56458JP Rosevear2004-06-172-360/+473
| | | | | | | | | | 2004-06-17 JP Rosevear <jpr@novell.com> Fixes #56458 * gui/smime-ui.glade: make the buttons vertical svn path=/trunk/; revision=26391
* ** See #59885.Not Zed2004-06-172-2/+13
| | | | | | | | | | | | 2004-06-17 Not Zed <NotZed@Ximian.com> ** See #59885. * lib/e-cert-db.c (e_cert_db_import_pkcs12_file): move the #if notyet stuff inside the function so the symbol is defined, since we call it eslewhere. i dunno if it actually works yet. svn path=/trunk/; revision=26373
* Added smime-marshal.list to EXTRA_DISTJeffrey Stedfast2004-06-162-0/+6
| | | | | | | | 2004-06-15 Jeffrey Stedfast <fejj@novell.com> * lib/Makefile.am: Added smime-marshal.list to EXTRA_DIST svn path=/trunk/; revision=26352
* quiet the compiler, and dobey.Chris Toshok2004-06-093-2/+16
| | | | | | | | 2004-06-08 Chris Toshok <toshok@ximian.com> * lib/e-cert-db.[ch]: quiet the compiler, and dobey. svn path=/trunk/; revision=26259
* set some columns resizable. (initialize_contactcerts_ui): same.Not Zed2004-05-282-0/+9
| | | | | | | | | | 2004-05-28 Not Zed <NotZed@Ximian.com> * gui/certificate-manager.c (initialize_yourcerts_ui): set some columns resizable. (initialize_contactcerts_ui): same. svn path=/trunk/; revision=26120
* ** See bugs #52061 & #52669.Not Zed2004-05-289-108/+508
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-28 Not Zed <NotZed@Ximian.com> ** See bugs #52061 & #52669. * gui/smime-ui.glade: added cert-trust-dialog and tweaked the ca-trust-dialog. * gui/ca-trust-dialog.c (ca_trust_dialog_show): Fix the %s in the label. Slack. (ca_trust_dialog_show): slight rearrangement. * gui/certificate-manager.c (add_contact_cert): fill out fields. * lib/e-cert.c (e_cert_get_usage): helper to get the usage of a cert. * gui/certificate-manager.c (edit_ca): use the right certdb, not the e-one. (add_user_cert): fill out missing columns. * lib/e-cert.c (e_cert_get_ca_cert): new method to find the ca cert of a cert. * gui/cert-trust-dialog.[ch]: peer cert trust editor. * gui/certificate-manager.c (edit_contact): implement. svn path=/trunk/; revision=26119
* add "Select certificate" title to the previously untitled dialog.Jon Oberheide2004-05-212-0/+6
| | | | | | | | | 2004-05-17 Jon Oberheide <jon@focalhost.com> * gui/e-cert-selector.c (e_cert_selector_new): add "Select certificate" title to the previously untitled dialog. svn path=/trunk/; revision=26026
* Don't crash when the user presses 'cancel'. Fixes #58733.James Willcox2004-05-202-0/+9
| | | | | | | | | | 2004-05-19 James Willcox <jwillcox@gnome.org> * lib/e-cert-db.c: (pk11_password): Don't crash when the user presses 'cancel'. Fixes #58733. svn path=/trunk/; revision=26005
* call SetPasswordFunc before calling authenticate - some nss calls canNot Zed2004-05-132-0/+7
| | | | | | | | | | 2004-05-13 Not Zed <NotZed@Ximian.com> * lib/e-cert-db.c (e_cert_db_login_to_slot): call SetPasswordFunc before calling authenticate - some nss calls can overwrite the setting. #52820. svn path=/trunk/; revision=25895
* [ fixes bug #52724 ]Chris Toshok2004-05-014-4/+53
| | | | | | | | | | | | | | | | | | | 2004-04-30 Chris Toshok <toshok@ximian.com> [ fixes bug #52724 ] * gui/ca-trust-dialog.c (ca_trust_dialog_set_trust): new function, set the toggle buttons' states. * gui/ca-trust-dialog.h (ca_trust_dialog_set_trust): add prototype. * gui/certificate-manager.c (edit_ca): flesh out the rest of the editing here. set the existing trust levels and get them back from the dialog when OK is clicked (and store them to the cert db.) svn path=/trunk/; revision=25726
* add BOOL:POINTER,POINTER,POINTER,POINTER for confirm_ca_cert_import.Chris Toshok2004-03-2511-49/+318
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-24 Chris Toshok <toshok@ximian.com> * lib/smime-marshal.list: add BOOL:POINTER,POINTER,POINTER,POINTER for confirm_ca_cert_import. * lib/e-cert-db.c (e_cert_db_class_init): initialize the confirm_ca_cert_import signal. (confirm_download_ca_cert): emit confirm_ca_cert_import and use the returned values. (handle_ca_cert_download): fix the ca trust foo. (e_cert_db_import_certs): pass the cerdb to handle_ca_cert_download since we need to emit something on that object. * lib/e-cert-db.h (struct _ECertDBClass): add confirm_ca_cert_import signal. * gui/smime-ui.glade: give names to the check buttons in the ca trust dialog. * gui/component.c (smime_confirm_ca_cert_import): new function, show the trust dialog. (smime_component_init): connect to "confirm_ca_cert_import" signal. * gui/certificate-viewer.c (fill_in_general): fix lots of uninitialized variable accesses. (certificate_viewer_show): don't show the dialog (or connect to the response signal.) that's the caller's job. * gui/certificate-manager.c (view_your): do the showing of the certificate_viewer here. (view_contact): same. (view_ca): same. (edit_ca): new function, pop up the ca trust dialog. we need more here though, to fill in the toggle buttons when bringing up the dialog, and also to save out the settings when the user clicks ok. (initialize_authoritycerts_ui): hook up the edit_ca button. * gui/Makefile.am (libevolution_smime_la_SOURCES): add ca-trust-dialog.[ch]. * gui/ca-trust-dialog.[ch]: new file implementing the ca trust dialog used for importing/editing ca trust levels. svn path=/trunk/; revision=25177
* [ fixes bug #52667 ]Chris Toshok2004-03-202-2/+8
| | | | | | | | | | | | 2004-03-19 Chris Toshok <toshok@ximian.com> [ fixes bug #52667 ] * gui/certificate-manager.c (import_ca): don't expand the CA tree by default. (populate_ui): same. svn path=/trunk/; revision=25133
* [ fixes bug #52829 ]Chris Toshok2004-03-205-4/+78
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-19 Chris Toshok <toshok@ximian.com> [ fixes bug #52829 ] * lib/smime-marshal.list: add BOOL:POINTER,POINTER for pk11_change_passwd. * lib/e-cert-db.c (e_cert_db_class_init): initialize the pk11_change_passwd signal. (e_cert_db_login_to_slot): emit "pk11_change_passwd" with old_passwd == NULL to initialize the database. * lib/e-cert-db.h: add pk11_change_passwd signal slot. * gui/component.c (smime_pk11_change_passwd): implement the portion of this that gets called with old_passwd == NULL (the only part that needs implementing yet, since we don't have a UI for changing the password.) (smime_component_init): hook up to the pk11_change_passwd signal on ECertDB. svn path=/trunk/; revision=25131
* Fix the border width setting for the button area, to be HIG-compliantRodney Dawes2004-03-113-3/+14
| | | | | | | | | | | 2004-03-10 Rodney Dawes <dobey@ximian.com> * gui/certificate-viewer.c (certificate_viewer_show): Fix the border width setting for the button area, to be HIG-compliant * gui/smime-ui.glade: Update some border widths for the cert viweer Remove dialog separators (This portion from William Jon McCann) svn path=/trunk/; revision=25016
* include config.hJeffrey Stedfast2004-02-262-0/+9
| | | | | | | | 2004-02-26 Jeffrey Stedfast <fejj@ximian.com> * gui/component.c: include config.h svn path=/trunk/; revision=24884
* fix includes for builddir != srcdirJP Rosevear2004-02-252-1/+7
| | | | | | | | 2004-02-24 JP Rosevear <jpr@ximian.com> * gui/Makefile.am: fix includes for builddir != srcdir svn path=/trunk/; revision=24859
* #include <config.h> (e_pkcs12_export_to_file): Hmm. I gather this needs toJeffrey Stedfast2004-02-126-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-11 Jeffrey Stedfast <fejj@ximian.com> * lib/e-pkcs12.c: #include <config.h> (e_pkcs12_export_to_file): Hmm. I gather this needs to be implemented. return FALSE here until someone implements this so gcc doesn't complain about control reaching the end of a non-void function. (handle_error): Same. * lib/e-cert-trust.c: And here. * lib/e-cert-db.c: Same. * lib/e-asn1-object.c: And here. * lib/e-cert.c: Here too. * gui/e-cert-selector.c: Same. * gui/certificate-viewer.c: Same. * gui/certificate-manager.c: #include <config.h> svn path=/trunk/; revision=24712
* Same.Jeffrey Stedfast2004-02-123-1/+16
| | | | | | | | | | | | 2004-02-11 Jeffrey Stedfast <fejj@ximian.com> * gui/e-cert-selector.c: Same. * gui/certificate-viewer.c: Same. * gui/certificate-manager.c: #include <config.h> svn path=/trunk/; revision=24711
* check certlist != NULL, CERT_LIST_EMPTY dereferences it. Bug #52457.Not Zed2004-01-082-1/+6
| | | | | | | | | 2004-01-07 Not Zed <NotZed@Ximian.com> * gui/e-cert-selector.c (ecs_find_current): check certlist != NULL, CERT_LIST_EMPTY dereferences it. Bug #52457. svn path=/trunk/; revision=24102
* oops, remove hardcoded test passwd :)Chris Toshok2004-01-062-1/+7
| | | | | | | | | 2004-01-05 Chris Toshok <toshok@ximian.com> * lib/e-cert-db.c (e_cert_db_login_to_slot): oops, remove hardcoded test passwd :) svn path=/trunk/; revision=24061
* new function, implement the password dialog for PK11 slot authentication.Chris Toshok2004-01-0611-240/+581
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-05 Chris Toshok <toshok@ximian.com> * gui/component.c (smime_pk11_passwd): new function, implement the password dialog for PK11 slot authentication. (smime_component_init): new function, initialize any gui related signals that the backend exposes. * gui/certificate-manager.c (import_your): use e_cert_db_import_pkcs12_file. (delete_your): new function, implement. (view_your): same. (backup_your): new function, stub out. (backup_all_your): same. (create_yourcerts_treemodel): new function. (initialize_yourcerts_ui): do all the sorting foo, and hook up all the signals. (ainitialize_contactcerts_ui): same. (initialize_authoritycerts_ui): same. (view_contact): treemodel -> streemodel. (view_ca): same. (delete_contact): same, and convert from the sort iter to the child iter before we remove. (delete_ca): same. (import_contact): call gtk_tree_view_expand_all. (import_ca): same. (add_user_cert): append to the child model, not the sort model. (add_contact_cert): same. (add_ca_cert): same. (unload_certs): implement the E_CERT_USER case, and fix the USER/CA stuff to use the sorted treemodels. (load_certs): remove spew. (populate_ui): expand all the tree views. * lib/.cvsignore: ignore the generated marshalling files. * lib/Makefile.am: add the marshalling foo. * lib/smime-marshal.list (BOOL): new file. * lib/e-cert-db.c (pk11_password): new function, emit the pk11_passwd signal. (initialize_nss): new function, split out all the nss init code here, and add all the PKCS12 cipers. (install_loadable_roots): new function, split this code out from the class_init. (e_cert_db_class_init): call initialize_nss() and install_loadable_roots(). also register our pk11_passwd signal. (e_cert_db_import_pkcs12_file): implement. (e_cert_db_login_to_slot): new function, implement. * lib/e-cert-db.h (struct _ECertDBClass): add pk11_passwd signal, and add prototype for e_cert_db_login_to_slot. * lib/e-pkcs12.c (input_to_decoder): remove spew. (prompt_for_password): fix this. (import_from_file_helper): fix fix fix, and remove spew. (write_export_file): nuke, we don't need this. svn path=/trunk/; revision=24058
* use <tt> markup around the fingerprints, and italicize the Not part ofChris Toshok2004-01-062-10/+64
| | | | | | | | | | | | | 2004-01-04 Chris Toshok <toshok@ximian.com> * gui/certificate-viewer.c (fill_in_general): use <tt> markup around the fingerprints, and italicize the Not part of certificate text. (fill_in_details): create a monospace text tag to be used in the field value textbuffer. (fields_selection_changed): use the text tag when inserting text. svn path=/trunk/; revision=24055
* if we get no matching certs, show empty menu rather than crashing. #51922.Not Zed2003-12-102-13/+20
| | | | | | | | | 2003-12-10 Not Zed <NotZed@Ximian.com> * gui/e-cert-selector.c (e_cert_selector_new): if we get no matching certs, show empty menu rather than crashing. #51922. svn path=/trunk/; revision=23898
* fix for C89JP Rosevear2003-12-064-8/+5
| | | | | | | | 2003-12-05 JP Rosevear <jpr@ximian.com> * lib/e-cert.c: fix for C89 svn path=/trunk/; revision=23655
* set the window title based on e_cert_get_window_title.Chris Toshok2003-12-054-6/+30
| | | | | | | | | | | | | 2003-12-04 Chris Toshok <toshok@ximian.com> * gui/certificate-viewer.c (certificate_viewer_show): set the window title based on e_cert_get_window_title. * lib/e-cert.c (e_cert_get_window_title): new function, for use with the certificate viewer. (create_asn1_struct): call e_cert_get_window_title. svn path=/trunk/; revision=23643
* add prototype for e_cert_get_asn1_struct.Chris Toshok2003-12-056-39/+937
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-04 Chris Toshok <toshok@ximian.com> * lib/e-cert.h: add prototype for e_cert_get_asn1_struct. * lib/e-cert.c (e_cert_dispose): unref the asn1 object. (get_int_value): copy and massage from mozilla source. (process_version): same. (process_serial_number_der): same. (get_default_oid_format): same. (get_oid_text): same. (process_raw_bytes): same. (process_sec_algorithm_id): same. (process_subject_public_key_info): same. (process_ns_cert_type_extensions): same. (process_key_usage_extensions): same. (process_extension_data): same. (process_single_extension): same. (process_extensions): same. (process_name): same. (create_tbs_certificate_asn1_struct): same. (create_asn1_struct): same. (e_cert_get_asn1_struct): new function. * lib/e-asn1-object.c (e_asn1_object_dispose): free the display name, value, and children. (e_asn1_object_init): assume it's a valid container unless we hear otherwise. (e_asn1_object_new_from_cert): nuke. (e_asn1_object_set_valid_container): implement. (e_asn1_object_append_child): same. (e_asn1_object_set_display_name): same. (e_asn1_object_set_display_value): same. * lib/e-asn1-object.h: add prototypes for e_asn1_object_set_valid_container, e_asn1_object_set_display_name, e_asn1_object_set_display_value, and e_asn1_object_append_child. * gui/certificate-viewer.c (populate_fields_tree): populate the tree from the asn structure. (hierarchy_selection_changed): blow away the old fields_tree content and populate it again. (fields_selection_changed): implement, set the text view's contents to the asn1 object's display_value. (fill_in_details): expand all nodes in the hierarchy tree. svn path=/trunk/; revision=23640
* add e-asn1-object.[ch]Chris Toshok2003-12-049-17/+623
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-03 Chris Toshok <toshok@ximian.com> * lib/Makefile.am (libessmime_la_SOURCES): add e-asn1-object.[ch] * gui/smime-ui.glade: rename the ca trust dialog, and give it a proper id. * gui/certificate-manager.c (yourcerts_selection_changed): just use @selection. (contactcerts_selection_changed): same. (authoritycerts_selection_changed): same. * gui/certificate-viewer.c (free_data): free the cert chain. (fill_in_general): move all the general tab stuff here. (hierarchy_selection_changed): new function. not finished. (fields_selection_changed): new function, unimplemented. (fill_in_details): new function, fill in the heirarchy and hook up signals and stuff. (certificate_viewer_show): call fill_in_general/fill_in_details. * lib/e-cert.c (e_cert_get_chain): new function. * lib/e-cert.h: add prototype for e_cert_get_chain. svn path=/trunk/; revision=23622
* grovel around at startup time for mozilla's pkcs11 module so we can getChris Toshok2003-12-042-0/+54
| | | | | | | | | | 2003-12-03 Chris Toshok <toshok@ximian.com> * lib/e-cert-db.c (e_cert_db_class_init): grovel around at startup time for mozilla's pkcs11 module so we can get the same default set of root certs. svn path=/trunk/; revision=23621
* make sure declarations precede logic for older compilers.Larry Ewing2003-11-303-2/+9
| | | | | | | | | | | | 2003-11-30 Larry Ewing <lewing@ximian.com> * lib/e-pkcs12.c (nickname_collision): make sure declarations precede logic for older compilers. * gui/Makefile.am (INCLUDES): don't define GTK_DISABLE_DEPRECATED it breakes on gtk-2.3 with gtk_option_menu_get_history. svn path=/trunk/; revision=23503
* mostly implement a viewer for certificates.Chris Toshok2003-11-2614-17/+1203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-26 Chris Toshok <toshok@ximian.com> * gui/certificate-viewer.[ch]: mostly implement a viewer for certificates. * gui/smime-ui.glade: fingerprints-sh1 -> fingerprints-sha1. * gui/certificate-manager.c (import_your): new function, use e-pkcs12 to implement it. (initialize_yourcerts_ui): hook up the import button. (view_contact): new function, bring up the certificate viewer. (initialize_contactcerts_ui): hook up the view button. (view_ca): new function, bring up the certificate viewer. (initialize_authoritycerts_ui): hook up the view button. * gui/Makefile.am (libevolution_smime_la_SOURCES): add certificate-viewer.[ch] * lib/e-cert.c (e_cert_dispose): free all the new cached foo. (e_cert_populate): populate all the new cached foo. (e_cert_get_issuer_cn): new function. (e_cert_get_issuer_org): same. (e_cert_get_issuer_org_unit): same. (e_cert_get_issued_on_time): same. (e_cert_get_issued_on): same. (e_cert_get_expires_on_time): same. (e_cert_get_expires_on): same. (e_cert_get_serial_number): same. (e_cert_get_sha1_fingerprint): same. (e_cert_get_md5_fingerprint): same. * lib/e-cert.h: add prototypes for lots more accessors. * lib/e-cert-db.c (e_cert_db_find_cert_by_key): fix typo. (e_cert_db_find_cert_by_email_address): call CERT_DestroyCertificate to free the cert. (default_nickname): new function. (e_cert_db_import_user_cert): implement. (e_cert_db_import_server_cert): add blurb. * lib/e-pkcs12.[ch]: new files. * lib/Makefile.am (libessmime_la_SOURCES): add e-pkcs12.[ch] svn path=/trunk/; revision=23486
* blahMichael Zucci2003-11-132-1/+313
| | | | svn path=/trunk/; revision=23324
* fix build temporarilyRadek Doulik2003-11-132-0/+2
| | | | svn path=/trunk/; revision=23318
* added cert_selector widget to be placed inside a dialog.Not Zed2003-11-133-1/+139
| | | | | | | | | | | | 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
* implement using the e-cert-trust foo. (e_cert_get_email): implement.Chris Toshok2003-11-139-102/+776
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ignore smime-ui.gladepChris Toshok2003-11-121-1/+1
| | | | svn path=/trunk/; revision=23293
* don't init NSS here. it's done in e_cert_db_peek.Chris Toshok2003-11-1210-76/+1656
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* add boilerplate.Chris Toshok2003-10-314-4/+39
| | | | | | | | | | | | | | | | 2003-10-30 Chris Toshok <toshok@ximian.com> * gui/certificate-manager.h: add boilerplate. * gui/certificate-manager.c (certificate_manager_config_control_new): return NULL if the NSS_InitReadWrite fails - we should probably give better status though, or return a GtkLabel with an error message.... * gui/Makefile.am (INCLUDES): use CERT_UI_CFLAGS. (TEST_LIBS): use CERT_UI_LIBS. svn path=/trunk/; revision=23140
* use CERT_UI_CFLAGS. (TEST_LIBS): use CERT_UI_LIBS.Chris Toshok2003-10-312-2/+7
| | | | | | | | | 2003-10-30 Chris Toshok <toshok@ximian.com> * tests/Makefile.am (INCLUDES): use CERT_UI_CFLAGS. (TEST_LIBS): use CERT_UI_LIBS. svn path=/trunk/; revision=23139
* initial checkinChris Toshok2003-10-313-0/+51
| | | | svn path=/trunk/; revision=23137
* add certificate-manager.hChris Toshok2003-10-292-1/+7
| | | | | | | | | 2003-10-28 Chris Toshok <toshok@ximian.com> * gui/Makefile.am (libevolution_smime_la_SOURCES): add certificate-manager.h svn path=/trunk/; revision=23112
* initial addition of s/mime foo.Chris Toshok2003-10-2412-0/+2396
2003-10-23 Chris Toshok <toshok@ximian.com> * lib/e-cert.[ch], lib/Makefile.am, gui/certificate-manager.[ch], gui/Makefile.am, gui/smime-ui.glade, Makefile.am: initial addition of s/mime foo. svn path=/trunk/; revision=23042