aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-passwords.c
Commit message (Collapse)AuthorAgeFilesLines
* Coding style and whitespace cleanup.Matthew Barnes2013-01-111-5/+10
|
* e-passwords: Remove unused function parameters.Matthew Barnes2012-12-171-8/+3
|
* e-passwords: Remove unused functions.Matthew Barnes2012-12-171-91/+0
| | | | | | | e_passwords_cancel() e_passwords_clear_passwords() e_passwords_forget_passwords() e_passwords_shutdown()
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-0/+890
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Make mailer depend on libedataserverui.Hans Petter Jansson2005-02-241-951/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Set the border widths for the dialog containers to be HIG compliant FixRodney Dawes2005-02-051-2/+6
| | | | | | | | | | 2005-02-04 Rodney Dawes <dobey@novell.com> * e-passwords.c (ep_ask_password): Set the border widths for the dialog containers to be HIG compliant Fix the padding/spacing on the internal vbox to be HIG compliant svn path=/trunk/; revision=28711
* removed, code moved into camel-net-utils.[ch].Not Zed2004-12-031-1/+1
| | | | | | | | | | | | | | | | 2004-11-16 Not Zed <NotZed@Ximian.com> * e-host-utils.[ch]: removed, code moved into camel-net-utils.[ch]. 2004-11-15 Not Zed <NotZed@Ximian.com> * e-trie.[ch], e-memory.[ch], e-sexp.[ch], e-msgport.[ch]: Moved to eds/libedataserver. * e-path.[ch]: removed & deleted. svn path=/trunk/; revision=28050
* add mnemonic for label. add description for password dialog.Mengjie Yu2004-12-011-0/+4
| | | | | | | | | 2004-12-01 Mengjie Yu <meng-jie.yu@sun.com> * e-config.c: (ec_rebuild):add mnemonic for label. * e-passwords.c: (ep_ask_password):add description for password dialog. svn path=/trunk/; revision=28028
* Use "%s" as the formatter argument and msg->prompt as a printf-styleJeffrey Stedfast2004-10-141-1/+1
| | | | | | | | | | 2004-10-07 Jeffrey Stedfast <fejj@novell.com> * e-passwords.c (ep_ask_password): Use "%s" as the formatter argument and msg->prompt as a printf-style argument rather than using it as the format string. Fixes bug #67622. svn path=/trunk/; revision=27566
* return cancelled if we're in an offline state.Not Zed2004-08-301-0/+21
| | | | | | | | | 2004-08-27 Not Zed <NotZed@Ximian.com> * e-passwords.c (e_passwords_ask_password): return cancelled if we're in an offline state. svn path=/trunk/; revision=27074
* Don't call gtk_dialog_set_has_separator on Gtk Message Dialog with GTK+ >=Frédéric Crozat2004-08-251-0/+3
| | | | | | | | | * e-dialog-utils.c: (e_notice): * e-passwords.c: (ep_ask_password): Don't call gtk_dialog_set_has_separator on Gtk Message Dialog with GTK+ >= 2.4.0. svn path=/trunk/; revision=27018
* ** See bug #61840, and others.Not Zed2004-08-121-204/+528
| | | | | | | | | | | | | | | | 2004-08-10 Not Zed <NotZed@Ximian.com> ** See bug #61840, and others. * e-passwords.c: Lots of changes. The api is now fully multi-thread safe, all calls are serialised internally, even recursive main-loop calls. Small api changes to the ask_password call to add some new features required by the mailer and to clean up some of the names. (e_passwords_cancel): new procedure to cancel any outstanding password requests, for when we need to go uninteractive. svn path=/trunk/; revision=26878
* Remove separator from dialogs per HIG.William Jon McCann2004-03-101-0/+1
| | | | | | | | | | | 2004-03-04 William Jon McCann <mccann@jhu.edu> * e-dialog-utils.c (e_notice, e_notice_with_xid, save_ok): * e-request.c (e_request_string): * e-passwords.c (e_passwords_ask_password): Remove separator from dialogs per HIG. svn path=/trunk/; revision=25003
* (e_passwords_remember_password): Removed debuggingEttore Perazzoli2003-04-061-2/+0
| | | | | | | message that would spit out the actual password, albeit in encoded form. svn path=/trunk/; revision=20682
* Delete all Passwords-* sections. Should make this work.Not Zed2003-04-021-1/+15
| | | | | | | | | 2003-04-02 Not Zed <NotZed@Ximian.com> * e-passwords.c (e_passwords_forget_passwords): Delete all Passwords-* sections. Should make this work. svn path=/trunk/; revision=20631
* define in terms of privincludedir.Dan Winship2003-02-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (eutilincludedir, etc): define in terms of privincludedir. * ename/Makefile.am (libenameincludedir): Likewise * e-account.c: Fix warnings * e-account-list.c: Likewise * e-config-listener.c: Likewise * e-gui-utils.c: Likewise. * e-lang-utils.c: Likewise * e-msgport.c: Likewise * e-passwords.c: Likewise * e-categories-config.c (e_categories_config_open_dialog_for_entry): Use g_object_get/_set rather than gtk_ * e-url.c (e_uri_new): Use g_ascii_strdown instead of deprecated g_strdown. svn path=/trunk/; revision=19771
* New.Dan Winship2003-01-071-1/+2
| | | | | | | | | * e-config-listener.c (e_config_listener_remove_value): New. * e-passwords.c (e_passwords_get_password): Don't look at the passwords hash until calling e_passwords_init(). svn path=/trunk/; revision=19253
* track changes to api (e_passwords_init is gone, and several functions takeChris Toshok2002-12-101-24/+36
| | | | | | | | | | | | | | | | | | | | | | | | 2002-12-09 Chris Toshok <toshok@ximian.com> * e-passwords.h: track changes to api (e_passwords_init is gone, and several functions take the component name as an arg.) * e-passwords.c (e_passwords_init): make this static, and allow multiple calls. Also, it no longer takes the component name. (e_passwords_shutdown): make this deal with the case where e_passwords_init wasn't called (no hashtable), and it no longer needs to free component_name. (e_passwords_forget_passwords): call e_passwords_init. (e_passwords_clear_component_passwords): take component_name as an arg, and call e_passwords_init. (password_path): take component_name as an arg. (e_passwords_remember_password): same, and call e_passwords_init. (e_passwords_forget_password): same. (e_passwords_get_password): same. (e_passwords_add_password): call e_passwords_init. (e_passwords_ask_password): take component_name as an arg. svn path=/trunk/; revision=19071
* add e-password.h (libeutil_la_SOURCES): add e-password.cChris Toshok2002-11-131-88/+56
| | | | | | | | | | | | 2002-11-12 Chris Toshok <toshok@ximian.com> * Makefile.am (eutilinclude_HEADERS): add e-password.h (libeutil_la_SOURCES): add e-password.c * e-passwords.[ch]: port this to gnome2's gnome-config-private. svn path=/trunk/; revision=18727
* Don't leak the base64 encoded password buffer.Jeffrey Stedfast2002-04-201-11/+14
| | | | | | | | | 2002-04-19 Jeffrey Stedfast <fejj@ximian.com> * e-passwords.c (e_passwords_get_password): Don't leak the base64 encoded password buffer. svn path=/trunk/; revision=16551
* Clear the password in bonobo-conf as well. Fixes ximian 14893.Dan Winship2001-11-201-18/+31
| | | | | | | * e-passwords.c (e_passwords_forget_password): Clear the password in bonobo-conf as well. Fixes ximian 14893. svn path=/trunk/; revision=14754
* Fixing the license text.Ettore Perazzoli2001-10-281-1/+0
| | | | svn path=/trunk/; revision=14212
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-271-2/+2
| | | | | | (instead of version 2 or any later version). svn path=/trunk/; revision=14190
* Pass a CORBA_Environment to bonobo_config_get_string so it doesn't g_warnDan Winship2001-10-231-55/+61
| | | | | | | | | | | | | | | * e-passwords.c (e_passwords_get_password): Pass a CORBA_Environment to bonobo_config_get_string so it doesn't g_warn on error. (Since the "error" is most likely just that the password isn't cached.) (e_passwords_remember_password, e_passwords_get_password, e_passwords_add_password): Change "if (foo) { entire function; }" to "if (!foo) return;" * e-html-utils.c (special_chars): Don't allow single quote or backtick in email addresses, or pipes following URLs. svn path=/trunk/; revision=13887
* new parameter to e_passwords_init, and add prototype forChris Toshok2001-10-131-4/+43
| | | | | | | | | | | | | | | | | | | | 2001-10-12 Chris Toshok <toshok@ximian.com> * e-passwords.h: new parameter to e_passwords_init, and add prototype for e_passwords_clear_component_passwords. * e-passwords.c (e_passwords_init): copy off the component name. (e_passwords_shutdown): free/NULL the component name. (e_passwords_clear_component_passwords): new function. remove the subtree rooted at /Passwords/<ComponentName>. (e_passwords_remember_password): use component_name when building up the path. (e_passwords_get_password): same. (e_passwords_add_password): remove/free the currently stored session password for this key if there is one, before adding the new one. svn path=/trunk/; revision=13637
* change prototype for e_passwords_get_password.Chris Toshok2001-10-121-2/+3
| | | | | | | | | | | | 2001-10-11 Chris Toshok <toshok@ximian.com> * e-passwords.h: change prototype for e_passwords_get_password. * e-passwords.c (e_passwords_get_password): remove 'const' from return type - the return type is now allocated and must be freed by the caller. svn path=/trunk/; revision=13608
* open the bonobo config db for our passwords. (e_passwords_shutdown): syncChris Toshok2001-10-121-51/+100
| | | | | | | | | | | | | | | | | | | | 2001-10-11 Chris Toshok <toshok@ximian.com> * e-passwords.c (e_passwords_init): open the bonobo config db for our passwords. (e_passwords_shutdown): sync and unref the bonobo db, and clear out the per session hash. (e_passwords_forget_passwords): remove the bonobo config db /Passwords path, and free up the session hash (but don't destroy it). (e_passwords_remember_password): remove the key/value from the session hash, after inserting it into the bonobo db. (e_passwords_get_password): look up a session password for the uri, and if it's not there, consult the bonobo db. (e_passwords_ask_password): quiet gcc's warnings, and only consult the toggle button state if we actaully created it. svn path=/trunk/; revision=13598
* Make this dup the strings it's passed. (*) Add lots of docs.Dan Winship2001-10-051-6/+50
| | | | | | | | * e-passwords.c (e_passwords_add_password): Make this dup the strings it's passed. (*) Add lots of docs. svn path=/trunk/; revision=13409
* New, copied/renamed from mailer and gnome-libs.Dan Winship2001-10-021-0/+102
| | | | | | | * e-passwords.c (e_passwords_ask_password): New, copied/renamed from mailer and gnome-libs. svn path=/trunk/; revision=13261
* copy/rename the mail specific password stuff here.Chris Toshok2001-09-301-0/+344
2001-09-30 Chris Toshok <toshok@ximian.com> * e-passwords.c: copy/rename the mail specific password stuff here. * e-passwords.h: same. svn path=/trunk/; revision=13252