aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ui-tests/message-browser.c
Commit message (Collapse)AuthorAgeFilesLines
* A lot of changes in the way the parsing works. I am too lazyBertrand Guiheneuf2000-02-221-0/+28
| | | | | | | | | | to find all the changes. Important notice, I added uggly hacks to camel-formatter.c and message-browser so that I could test b64 decoding. Saving streams works. Have to implement qp now. svn path=/trunk/; revision=1893
* When a link is clicked, indicate the link with a dialog.Matthew Loper2000-02-201-10/+11
| | | | | | | * tests/ui-tests/message-browser.c (on_link_clicked): When a link is clicked, indicate the link with a dialog. svn path=/trunk/; revision=1864
* minor cleanup.Matthew Loper2000-02-201-17/+5
| | | | | | | | * tests/ui-tests/message-browser.c: minor cleanup. * tests/ui-tests/.cvsignore: added message-browser. svn path=/trunk/; revision=1858
* Call camel_data_wrapper_set_input_stream, rather thanMatt Loper2000-02-191-81/+201
| | | | | | | | | | | | 2000-02-18 Matt Loper <matt@helixcode.com> * tests/ui-tests/message-browser.c (filename_to_camel_msg): Call camel_data_wrapper_set_input_stream, rather than camel_data_wrapper_construct_from_stream. For the whole message, allow someone to see the header ("to", "from", etc.). Clicking on tree items to see their elements, now works also. svn path=/trunk/; revision=1845
* revamped so that it uses the output stream of the data wrapperbertrand2000-02-171-21/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-17 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-formatter.c (handle_text_plain): revamped so that it uses the output stream of the data wrapper (handle_text_html): ditto. * camel/camel-simple-data-wrapper.h: * camel/camel-simple-data-wrapper.c (camel_simple_data_wrapper_new): use (void) instead of (). (_get_output_stream): simple implementation. A lot of small fixes so that the new parser scheme works properly. Simple implementation of the stream though. Changed vette-formatter files so that they work with the new scheme. The new parser is now in a usable state. Still needs some work but the infrastructure is here. /me is happy. svn path=/trunk/; revision=1822
* + * tests/ui-tests/test-multipart-mixed.msg: New rfc822 file, whichMatthew Loper2000-02-141-60/+79
| | | | | | | | | | | + crashes message-browser. + + * tests/ui-tests/message-browser.c (get_gtk_html_window): Takes a + CamelMimeMessage as a param, rather than a filename. + (main): Puts our windows in an hpane rather than a vbox. Also + opens a file dlg box if a filename wasn't given as a first param. svn path=/trunk/; revision=1771
* + * tests/ui-tests/message-browser.c (handle_tree_item): Expand treeMatthew Loper2000-02-141-31/+90
| | | | | | | | | | | | | | | | | | | | | | + items. + (mime_message_to_html): New function; translates a + CamelMimeMessage into two strings (one for the header, and one for + the body). + (get_gtk_html_window): New function; fills out a window with + html. The html is taken from a processed rfc822 file, via a + CamelFormatter. + + * camel/camel-formatter.c: Added assertions. + (handle_text_html): Don't call text_to_html on something that's + already html. + (multipart_foreach): function deleted. + + * mail/html-stream.c (html_stream_new): Second param of + gtk_html_begin should be "", not NULL. + (html_stream_new): gtk_html_parse() is deprecated, so the call was + removed. svn path=/trunk/; revision=1766
* HTMLStreamClass's parent changed to CamelStreamClass, not CamelStream.Matthew Loper2000-02-141-59/+198
| | | | | | | | | | * mail/html-stream.h: HTMLStreamClass's parent changed to CamelStreamClass, not CamelStream. * tests/ui-tests/message-browser.c: Added preliminary support for the viewing of messages via gtkhtml. Lots of commenting. svn path=/trunk/; revision=1765
* show the containers and the containees (get_message_tree_ctrl): callbertrand2000-02-101-25/+47
| | | | | | | | | | | 2000-02-09 bertrand <Bertrand.Guiheneuf@aful.org> * tests/ui-tests/message-browser.c (handle_tree_item): show the containers and the containees (get_message_tree_ctrl): call handle_tree_item on the message itself svn path=/trunk/; revision=1714
* show the item.bertrand2000-02-101-1/+2
| | | | | | | | | 2000-02-09 bertrand <Bertrand.Guiheneuf@aful.org> * tests/ui-tests/message-browser.c (handle_tree_item): show the item. svn path=/trunk/; revision=1713
* set the mime type to "mime/message". --- THIS IS NOT THE CONTENT TYPE ---bertrand2000-02-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2000-02-09 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-mime-message.c (camel_mime_message_init): set the mime type to "mime/message". --- THIS IS NOT THE CONTENT TYPE --- * camel/camel-mime-body-part.c (camel_mime_body_part_init): set the mime type to "body-part". --- THIS IS NOT THE CONTENT TYPE --- * camel/camel-data-wrapper.c (camel_data_wrapper_set_mime_type): mime_type is const. (_set_input_stream): really set the input stream (_set_output_stream): really set the output stream various other typo fixes. * tests/ui-tests/message-browser.c: various typo fixes in the ctree construction. svn path=/trunk/; revision=1712
* various typo fixes in the ctree construction.bertrand2000-02-101-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-09 bertrand <Bertrand.Guiheneuf@aful.org> * tests/ui-tests/message-browser.c: various typo fixes in the ctree construction. * camel/string-utils.c (string_trim): fix braindead trailing trim bug. * camel/gmime-content-field.c (gmime_content_field_construct_from_string): strip the leading and trailing quotes when constructing the content field. This should be done in a more generic RFC822 approach, but this fixes a bug that prevent matt from analysing some multipart messages. * camel/camel-data-wrapper.h: reorganize the deprecated and new methods. * camel/providers/mbox/camel-mbox-folder.c (_check_get_or_maybe_generate_summary_file): Use "From " as the message separating string. * camel/providers/mbox/camel-mbox-folder.c (_append_message): set the mode when creating the mbox file. * camel/providers/mbox/camel-mbox-utils.c (camel_mbox_write_xev): ditto * camel/providers/mbox/camel-mbox-summary.c (camel_mbox_save_summary): ditto svn path=/trunk/; revision=1711
* Minor cleanup.Matthew Loper2000-02-101-13/+6
| | | | | | | * tests/ui-tests/message-browser.c (print_usage_and_quit): Minor cleanup. svn path=/trunk/; revision=1710
* New file; shows a message in tree format, where multipart's have multipleMatthew Loper2000-02-091-0/+155
* tests/ui-tests/message-browser.c: New file; shows a message in tree format, where multipart's have multiple leaves. * camel/camel-formatter.c: Changed references from 'multipart/alternate' to 'multipart/alternative'. svn path=/trunk/; revision=1700