aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-html-utils.c
Commit message (Collapse)AuthorAgeFilesLines
* Add support for converting e-mail addresses to links. (is_email_address):Jon Trowbridge2001-03-311-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-30 Jon Trowbridge <trow@ximian.com> * e-html-utils.c (e_text_to_html_full): Add support for converting e-mail addresses to links. (is_email_address): Added. Identifies e-mail addresses. (email_address_extract): Added. Extracts a copy of the e-mail address from the text. * e-html-utils.h (E_TEXT_TO_HTML_CONVERT_ADDRESSES): Added. * e-url.c (e_url_shroud): Added. Copy a url, replacing any plaintext passwords with a single *. (e_url_equal): Compare two urls, taking into account that they may or may not be shrouded. 2001-03-30 Jon Trowbridge <trow@ximian.com> * camel-mime-message.c (camel_mime_message_set_source): Shrould our source URL before putting it into X-Evolution-Source. 2001-03-30 Jon Trowbridge <trow@ximian.com> * mail-display.c (mail_text_write): Add (commented-out) E_TEXT_TO_HTML_CONVERT_ADDRESSES. * mail-config.c (mail_config_get_account_by_source_url): Call e_url_equal to compare URLs. svn path=/trunk/; revision=9050
* Remove #include <glib.h> Shuffle some headers. Remove #includeKjartan Maraas2001-03-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * e-corba-utils.h: Remove #include <glib.h> * e-dialog-widgets.c: Shuffle some headers. * e-dialog-widgets.h: Remove #include <libgnomeui/gnome-propertybox.h> * e-gtk-utils.c: #include <gtk/gtksignal.h> * e-gtk-utils.h: Replace #include <gtk/gtk.h> * e-gui-utils.c: Replace #include <gnome.h> * e-html-utils.c: Shuffle headers. * e-iterator.c: Replace #include <gtk/gtk.h> * e-iterator.h: Replace #include <gtk/gtk.h> * e-list-iterator.c: Remove #include <gtk/gtk.h> * e-list-iterator.h: Replace #include <gtk/gtk.h> * e-list.c: Remove #include <gtk/gtk.h> * e-list.h: Replace #include <gtk/gtk.h> * e-memory.c: #include <string.h> and <stdlib.h> * e-msgport.c: Move around some includes. s/%d/%ld/g in a printf() call to fix a warning. * e-pilot-map.c: #include <string.h>. Replace #include <gnome.h> * e-pilot-util.c: Remove #include <gnome.h> * e-sexp.c: Remove #include <glib.h> * e-sexp.h: Replace #include <gtk/gtk.h> * e-time-utils.c: #include <string.h> * md5-utils.c: Shuffle headers. * test-ename-western-gtk.c: Replace #include <gnome.h> * test-ename-western.c: Same here. svn path=/trunk/; revision=9016
* new function, extracted from e_text_to_html, added color parameterRadek Doulik2001-03-211-2/+49
| | | | | | | | | | | | | | | | 2001-03-20 Radek Doulik <rodo@ximian.com> * e-html-utils.c (e_text_to_html_full): new function, extracted from e_text_to_html, added color parameter 2001-03-19 Radek Doulik <rodo@ximian.com> * e-html-utils.c (e_text_to_html): support mark citation * e-html-utils.h (E_TEXT_TO_HTML_MARK_CITATION): added E_TEXT_TO_HTML_MARK_CITATION svn path=/trunk/; revision=8847
* Fix a bit: [mailto:foo] shouldn't grab the ']'Dan Winship2001-03-151-1/+1
| | | | | | | * e-html-utils.c (url_extract): Fix a bit: [mailto:foo] shouldn't grab the ']' svn path=/trunk/; revision=8736
* Fix an off-by-one in the "is this for real?" check so that "http:// "Dan Winship2001-03-071-1/+1
| | | | | | | * e-html-utils.c (url_extract): Fix an off-by-one in the "is this for real?" check so that "http:// " won't get URLified svn path=/trunk/; revision=8581
* make sure we actually make enough space for "&nbsp;".Larry Ewing2000-12-131-1/+1
| | | | | | | | | 2000-12-13 Larry Ewing <lewing@helixcode.com> * e-html-utils.c (e_text_to_html): make sure we actually make enough space for "&nbsp;". svn path=/trunk/; revision=6964
* Deal properly with URLs at the end of the buffer. (The old code wouldDan Winship2000-10-261-0/+2
| | | | | | | | * e-html-utils.c (e_text_to_html): Deal properly with URLs at the end of the buffer. (The old code would append a "&#0;" to the text.) svn path=/trunk/; revision=6169
* If unicode_get_utf8 returns -1, assume it was actually undeclaredDan Winship2000-10-191-54/+8
| | | | | | | * e-html-utils.c (e_text_to_html): If unicode_get_utf8 returns -1, assume it was actually undeclared iso-8859-1 text. svn path=/trunk/; revision=6002
* Email should now display correctly in GtkHTMLLauris Kaplinski2000-09-011-13/+35
| | | | svn path=/trunk/; revision=5154
* Little teeny bug fix in e_text_to_html tab expansion.Peter Williams2000-08-221-1/+1
| | | | svn path=/trunk/; revision=4905
* Fix a crash with tab expansion in e_text_to_htmlPeter Williams2000-08-111-0/+2
| | | | svn path=/trunk/; revision=4736
* If converting both spaces and newlines, then convert tabs too. The joys ofDan Winship2000-08-111-3/+28
| | | | | | | * e-html-utils.c (e_text_to_html): If converting both spaces and newlines, then convert tabs too. The joys of pseudo-<PRE>. svn path=/trunk/; revision=4695
* Fix warnings.Dan Winship2000-07-111-3/+4
| | | | | | * e-html-utils.c: Fix warnings. svn path=/trunk/; revision=4048
* add ")" to the set of characters to back up over at the end of a potentialDan Winship2000-06-291-1/+1
| | | | | | | * e-html-utils.c (url_extract): add ")" to the set of characters to back up over at the end of a potential URL. svn path=/trunk/; revision=3778
* Got rid of some warnings.Christopher James Lahey2000-05-071-2/+1
| | | | | | | | | | | | 2000-05-06 Christopher James Lahey <clahey@helixcode.com> * e-html-utils.c: Got rid of some warnings. * e-util.c, e-util.h: Added e_read_file which takes a filename and returns a newly allocated string containing the contents of that file. svn path=/trunk/; revision=2828
* Moved here from the mailer, since it's of general use, and the composerDan Winship2000-04-281-0/+247
* e-html-utils.c (e_text_to_html): Moved here from the mailer, since it's of general use, and the composer needs it too. svn path=/trunk/; revision=2662