* 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
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
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
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
2001-10-06 Christopher James Lahey <clahey@ximian.com>
* ename/e-address-western.c (e_address_western_parse): Made this
refuse to parse more than 2047 characters of address.
svn path=/trunk/; revision=13484
2001-10-01 Rodrigo Moya <rodrigo@ximian.com>
* e-url.[ch]: added basic URI management functions
* Makefile.am: added BONOBO flags to make it compile with latest
Bonobo, which installs headers in a version-based directory
svn path=/trunk/; revision=13274
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
2001-09-28 <NotZed@Ximian.com>
* e-msgport.c (e_msgport_put): Write the pipe notification outside
the lock. This way if the pipe fills up because of too many
outstanding request, the queue isn't deadlocked. This only
happens wiht 4096 outstanding messages, so something is getting
VERY busy! Fixes#11121.
svn path=/trunk/; revision=13218
2001-09-24 Christopher James Lahey <clahey@ximian.com>
* e-categories-master-list-wombat.c (ecmlw_load, ecmlw_save): Make
the printouts here conditionally compiled out.
svn path=/trunk/; revision=13100
2001-09-21 <NotZed@Ximian.com>
* e-msgport.c (e_thread_destroy): Instead of using
pthread_cancel() which seems to have numerous implementation
issues, send a special quit message to the subordinate thread.
(thread_dispatch): When it gets a quit message, well, quit!
svn path=/trunk/; revision=13043
* e-gtk-utils.c (widget_realize_callback_for_backing_store): Use
->bin_window [instead of ->window] if the widget is a GtkLayout.
svn path=/trunk/; revision=12943
2001-09-17 Damon Chaplin <damon@ximian.com>
* e-time-utils.c (e_time_parse_date): only use 1 format, so we are
consistent everywhere. If we support multiple formats we have to
support that in e_time_parse_date_and_time() which means an explosion
of different formats. I don't think the alternatives are that useful,
anyway.
(e_time_parse_date_and_time): parse everything in one go, to avoid
i18n problems. Also only use '%p' if the locale has am/pm strings.
(e_time_parse_time): Only use '%p' if locale has am/pm strings.
svn path=/trunk/; revision=12924
2001-09-13 Jeffrey Stedfast <fejj@ximian.com>
* e-mktemp.c (e_mktemp_cleanup): Make sure the dir pointer is
non-NULL before using it.
svn path=/trunk/; revision=12807
* e-html-utils.c (e_text_to_html_full): Fix some broken calls to
check_size that could result in memory corruption displaying short
replies.
svn path=/trunk/; revision=12705
* e-mktemp.c (get_path): Fix the check for the case when mkdir()
returns EEXIST to check S_ISDIR on the right structure component.
Fixes bug #8775.
svn path=/trunk/; revision=12644
2001-08-28 Not Zed <NotZed@Ximian.com>
* e-categories-master-list-wombat.c (ecmlw_load): Dont call
g_print with a NULL string. See bug #7396.
svn path=/trunk/; revision=12498
2001-08-24 Jeffrey Stedfast <fejj@ximian.com>
* Makefile.am: Added e-mktemp.[c,h] to the build.
* e-mktemp.c (e_mktemp): A new wrapper around mktemp so that we
can keep track of temp files for later cleanup.
(e_mkstemp): Same but obviously for the mkstemp call.
(e_mkdtemp): And finally a mkdtemp wrapper.
svn path=/trunk/; revision=12460
* Makefile.am (libeutil_la_SOURCES): Added e-unicode-i18n.c and
e-unicode-i18n.h.
* e-unicode-i18n.[ch]: New files with two extra functions
(e_utf8_gettext, e_utf8_dgettext) and U_() macro.
Should be used instead of _() if we need UTF-8 string.
svn path=/trunk/; revision=12459
2001-08-09 Rodrigo Moya <rodrigo@ximian.com>
* e-categories-config.c (e_categories_config_get_icon_for): return
when there's no icon associated with the category
svn path=/trunk/; revision=11860
* e-bonobo-factory-util.c
(e_bonobo_generic_factory_multi_display_new): New function to
create a factory that creates separate component instances for
different displays.
svn path=/trunk/; revision=11686
* e-list-iterator.c (e_list_iterator_next): Made it so that
e_list_iterator_next goes to the first element if it's set to
NULL. This makes deleting the first element and then doing
e_list_iterator_next go to the new first element. Did the analogy
for e_list_iterator_prev for completeness and consistency's sakes.
Fixes Ximian bug #6057.
svn path=/trunk/; revision=11614
2001-08-01 Christopher James Lahey <clahey@ximian.com>
* e-categories-master-list-wombat.c (ecmlw_load): Fixed the load
statement here by just using array_from_string.
(ecmlw_save): Removed the part where we save the icons and colors
since that's handled in the array_to_string function. Fixes
Ximian bug #4451.
svn path=/trunk/; revision=11561
2001-07-20 Rodrigo Moya <rodrigo@ximian.com>
* e-categories-config.c (initialize_categories_config): use the 2
new category icons (16_category_suppliers.png and
16_category_time-and-expenses.png)
svn path=/trunk/; revision=11261
2001-07-17 Rodrigo Moya <rodrigo@ximian.com>
* e-categories-config.c (initialize_categories_config): generate
default configuration for icons-per-category the first time. And
use a global (for this file) Bonobo_ConfigDatabase
2001-07-16 Rodrigo Moya <rodrigo@ximian.com>
* e-categories-config.c (e_categories_config_get_icon_for):
(e_categories_config_get_icon_file_for):
(e_categories_config_set_icon_file_for): use GdkPixbuf to load images
svn path=/trunk/; revision=11189
2001-07-16 Federico Mena Quintero <federico@ximian.com>
* e-time-utils.c (parse_with_strptime): Generalized function for
trying a number of strptime() formats on a string.
(e_time_parse_time): Use parse_with_strptime().
(e_time_parse_date): New function, analogous to the previous one,
but uses a number of date formats.
svn path=/trunk/; revision=11138
2001-07-12 Jon Trowbridge <trow@ximian.com>
* e-html-utils.c: Added is_addr_char_no_pipes macro, which
specifically does not consider '|' ("pipe") to be a legal address
character.
(email_address_extract): Use is_addr_char_no_pipes when looking
for e-mail addresses to turn into HTML links. (Bug #3940)
svn path=/trunk/; revision=11029