| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
This makes the code free of Coverity scan issues.
It is sometimes quite pedantic and expects/suggests some
coding habits, thus certain changes may look weird, but for a good
thing, I hope. The code is also tagged with Coverity scan
suppressions, to keep the code as is and hide the warning too.
Also note that Coverity treats g_return_if_fail(), g_assert() and
similar macros as unreliable, and it's true these can be disabled
during the compile time, thus it brings in other set of 'weird'
changes.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Evolution consists of entirely too many small utility libraries, which
increases linking and loading time, places a burden on higher layers of
the application (e.g. modules) which has to remember to link to all the
small in-tree utility libraries, and makes it difficult to generate API
documentation for these utility libraries in one Gtk-Doc module.
Merge the following utility libraries under the umbrella of libeutil,
and enforce a single-include policy on libeutil so we can reorganize
the files as desired without disrupting its pseudo-public API.
libemail-utils/libemail-utils.la
libevolution-utils/libevolution-utils.la
filter/libfilter.la
widgets/e-timezone-dialog/libetimezonedialog.la
widgets/menus/libmenus.la
widgets/misc/libemiscwidgets.la
widgets/table/libetable.la
widgets/text/libetext.la
This also merges libedataserverui from the Evolution-Data-Server module,
since Evolution is its only consumer nowadays, and I'd like to make some
improvements to those APIs without concern for backward-compatibility.
And finally, start a Gtk-Doc module for libeutil. It's going to be a
project just getting all the symbols _listed_ much less _documented_.
But the skeletal structure is in place and I'm off to a good start.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From ccc980da1fd84ebfca25cf8caf9a5d62333099fc Mon Sep 17 00:00:00 2001
From: Paul Menzel <paulepanter@users.sourceforge.net>
Date: Wed, 28 Sep 2011 10:18:18 +0200
Subject: [PATCH] Remove Ctrl + l () character from source files
The following commits
git show aac3f2c8
git show 1510304c
git show 13cabd9e
git show 350a7a33
git show 9b7cc54d
git show e6972011
git show 1d3a7938
git show 934524b9
git show b2954936
git show a7f677b5
git show 4369c400
git show d509f47a
git show a6d5818f
git show c3876df7
git show 4583098b
git show 2831ada5
git show 4e1bce59
git show 1609f699
git show 4e4c1676
git show d6fade43
among others(?) introduced several occurrences of Ctrl + l (). Probably this was caused by the used editor.
These control characters can be searched for using the following command [1].
$ git grep ^L
[1] http://unstableme.blogspot.com/2009/10/grep-and-print-control-characters-in.html
|
| |
|
| |
|
|
|
|
|
| |
As of GLib 2.28 all GObject virtual methods, including constructed(),
are safe to chain up to unconditionally. Remove unnecessary checks.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
The logic for working out what database to use should only be in one place.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Consolidate all marshalling specifications to e-util/e-marshal.list.
This reduces code duplication and makes it slightly easier to locate
unused marshallers.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=36583
|
|
|
|
| |
svn path=/trunk/; revision=35665
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
2007-11-14 Matthew Barnes <mbarnes@redhat.com>
** Remove trailing whitespace from source code.
svn path=/trunk/; revision=34537
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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-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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
2004-06-08 Chris Toshok <toshok@ximian.com>
* lib/e-cert-db.[ch]: quiet the compiler, and dobey.
svn path=/trunk/; revision=26259
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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
|