aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ui-tests
Commit message (Collapse)AuthorAgeFilesLines
* Set G_LOG_DOMAIN in following files.Matthew Loper2000-05-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | addressbook/demo/Makefile.am addressbook/printing/Makefile.am camel/Makefile.am camel/providers/MH/Makefile.am camel/providers/maildir/Makefile.am camel/providers/mbox/Makefile.am camel/providers/nntp/Makefile.am camel/providers/pop3/Makefile.am camel/providers/sendmail/Makefile.am camel/providers/smtp/Makefile.am composer/Makefile.am e-util/Makefile.am filter/Makefile.am libibex/Makefile.am mail/Makefile.am shell/Makefile.am tests/Makefile.am tests/ui-tests/Makefile.am widgets/e-table/Makefile.am widgets/e-text/Makefile.am widgets/meeting-time-sel/Makefile.am widgets/shortcut-bar/Makefile.am svn path=/trunk/; revision=2756
* update for bonobo changesDan Winship2000-04-211-2/+2
| | | | svn path=/trunk/; revision=2524
* Remove the "session" field from CamelMimeMessage. Nothing uses it, aboutDan Winship2000-04-181-2/+1
| | | | | | | | | | | | * camel-mime-message.[ch]: Remove the "session" field from CamelMimeMessage. Nothing uses it, about half of the existing calls to camel_mime_message_new_with_session pass NULL, and there's no obvious reason for it to be there. * others: Use camel_mime_message_new instead of camel_mime_message_new_with_session svn path=/trunk/; revision=2479
* + * tests/ui-tests/.cvsignore: added filter.Matthew Loper2000-03-211-0/+1
| | | | | | | + + * addressbook/demo/.cvsignore: added test-addressbook. svn path=/trunk/; revision=2123
* add a field refering to a service associated to the efolder. In the casebertrand2000-03-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | 2000-03-12 bertrand <bertrand@helixcode.com> * shell/e-folder.h: add a field refering to a service associated to the efolder. In the case of distant folders, it is generally a server. * shell/e-service.c: New class. Models a service. A service is an object with an URI and a root folder. It genreally reporesents a distant folder. A service is generally a ressource shared amongst several folders. * shell/e-service.h: 2000-03-10 bertrand <bertrand@helixcode.com> * camel-service.h: cosmetic changes. svn path=/trunk/; revision=2100
* Commenting added. (on_url_data_requested): renamed fromMatthew Loper2000-03-051-111/+145
| | | | | | | | | | | * tests/ui-tests/message-browser.c: Commenting added. (on_url_data_requested): renamed from "on_url_requested", to reflect that a stream of data is what's actually being asked for. (hydrate_persist_stream_from_gstring): New function. (camel_stream_to_gstring): New function. (on_object_requested): Cleaned up. svn path=/trunk/; revision=2058
* More gramatically correct descriptions + more action rules.Michael Zucci2000-03-051-5/+23
| | | | svn path=/trunk/; revision=2055
* Add 3 test examplesBertrand Guiheneuf2000-03-053-0/+8554
| | | | svn path=/trunk/; revision=2042
* Message browser can now display attachment inline when BonoboBertrand Guiheneuf2000-03-051-6/+17
| | | | | | | | | | | compenent exist for the mime type. $(prefix)/share/mime-info/bonobo.keys must be modified for this to work, though. For example, to display application/svg attachments, the following lines must be added : application/svg bonobo-goad-id=embeddable:gill svn path=/trunk/; revision=2041
* laptop syncBertrand Guiheneuf2000-03-041-1/+92
| | | | svn path=/trunk/; revision=2038
* add bonobo to the build process.bertrand2000-03-042-4/+45
| | | | | | | | | | | | | | | 2000-03-04 bertrand <bertrand@helixcode.com> * tests/ui-tests/Makefile.am: add bonobo to the build process. * tests/ui-tests/message-browser.c (main): initialize Bonobo. Use bonobo_main. (get_gtk_html_contents_window): set signal handlers for url requests and objects requests. (on_object_requested): answer to object requests. svn path=/trunk/; revision=2037
* initialize gdkrgb. Push visual/colormap. (on_url_requested): in the casebertrand2000-03-041-0/+46
| | | | | | | | | | | | | | | | 2000-03-03 bertrand <bertrand@helixcode.com> * tests/ui-tests/message-browser.c (main): initialize gdkrgb. Push visual/colormap. (on_url_requested): in the case where a camel url is requested, write the camel stream to gtkhtml. * tests/ui-tests/Makefile.am (filter_LDADD): add gnomeprint in the lib list. Message browser shows inline images. Woohoo ! svn path=/trunk/; revision=2022
* add gnomeprint to be able to link with gtkhtmlBertrand Guiheneuf2000-03-031-1/+1
| | | | svn path=/trunk/; revision=2020
* Added test program.NotZed2000-03-014-1/+159
| | | | | | | | | | | | | 2000-02-29 NotZed <NotZed@HelixCode.com> * tests/ui-tests/Makefile.am (filter_LDADD): Added test program. * tests/ui-tests/filterdescription.xml, saveoptions.xml: Data files for test program. * tests/ui-tests/filter.c (main): Test program for filter ui. svn path=/trunk/; revision=1992
* + * tests/ui-tests/message-browser.c (on_link_clicked): stopMatthew Loper2000-02-221-23/+27
| | | | | | + sscanf() abuse. svn path=/trunk/; revision=1898
* 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-202-17/+6
| | | | | | | | * 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-142-60/+456
| | | | | | | | | | | + 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-142-60/+200
| | | | | | | | | | * 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
* misc autoconf/automake fixes.Bertrand Guiheneuf2000-02-111-6/+0
| | | | svn path=/trunk/; revision=1729
* remove test program build.Bertrand Guiheneuf2000-02-111-1/+1
| | | | svn path=/trunk/; revision=1728
* don't build thread related tests if evolution has been compiled with nobertrand2000-02-111-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-10 bertrand <Bertrand.Guiheneuf@aful.org> * tests/Makefile.am (THREAD_RELATED_TESTS): don't build thread related tests if evolution has been compiled with no thread support. * configure.in (have_pthread): allow user to enable/disable thread support at configure time (EXTRA_GNOME_CFLAGS): (EXTRA_GNOME_LIBS): thread support is directly included in this variable if enabled. No more EXTRA_GNOME_CFLAGS_THREADS Other special support should be added in EXTRA_GNOME_LIBS and EXTRA_GNOME_CFLAGS instead of redefining a new variable each time we want to add a new lib. (bonobo, ....) * camel/camel.c (camel_init): only try to initialize threads if we enabled threads support. * tests/ui-tests/Makefile.am (message_browser_LDADD): use EXTRA_GNOME_LIBS * configure.in (have_pthread): remove HAVE_PTHREADS variable. Define ENABLE_THREADS instead. * camel/Makefile.am: use ENABLE_THREADS not HAVE_PTHREADS to test if we build thread relateed code. * tests/Makefile.am: use EXTRA_GNOME_LIBS, not EXTRA_GNOME_LIBS_THREADS I need to be able to disable thread support to use Insure. svn path=/trunk/; revision=1725
* New test file; run message-browser on it, and it will crash.Matthew Loper2000-02-101-0/+17738
| | | | | | | * tests/ui-tests/test-multipart-alt.msg: New test file; run message-browser on it, and it will crash. svn path=/trunk/; revision=1719
* 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-092-0/+165
| | | | | | | | | | * 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
* Removed the old message composer test.Ettore Perazzoli1999-11-171-52/+0
| | | | svn path=/trunk/; revision=1396
* More work:Ettore Perazzoli1999-11-171-3/+0
| | | | | | | - Fixed some Camel API naming issues. - Moved the message composer stuff to the `composer' directory. svn path=/trunk/; revision=1395
* Here is my initial Evolution work: message composition widget and someEttore Perazzoli1999-11-063-12/+67
| | | | | | installation fixes for Camel. svn path=/trunk/; revision=1369
* Check pthreads.bertrand1999-09-221-1/+1
| | | | | | | | | | | | | 1999-09-21 bertrand <Bertrand.Guiheneuf@aful.org> * configure.in: Check pthreads. * camel/Makefile.am: camel-folder-pt-proxy.c is only compiled when pthreads are available. svn path=/trunk/; revision=1247
* More work on UID list in Mh provider.bertrand1999-09-081-3/+24
| | | | | | | | | | | | | | | | | 1999-09-08 bertrand <Bertrand.Guiheneuf@aful.org> * tests/ui-tests/store_listing.c (close_all): close all open folders and stores. (necessary for UID list saving ). * camel/providers/MH/mh-uid.c (mh_generate_uid_list): fix: store UID list in CamelMHFolder object. * camel/providers/MH/camel-mh-folder.c (_open): read or create UID list. (_close): save UID list. svn path=/trunk/; revision=1192
* re-enabled old CPU/Mem consumming method. Use ful for pop3 for instance.bertrand1999-09-061-25/+22
| | | | | | | | | | 1999-09-05 bertrand <Bertrand.Guiheneuf@aful.org> * tests/ui-tests/store_listing.c (show_folder_messages): re-enabled old CPU/Mem consumming method. Use ful for pop3 for instance. svn path=/trunk/; revision=1179
* use folder summary instead of opening all messages.bertrand1999-09-061-9/+36
| | | | | | | | | | | | | | | | | | | 1999-09-05 bertrand <Bertrand.Guiheneuf@aful.org> * tests/ui-tests/store_listing.c (show_folder_messages): use folder summary instead of opening all messages. * camel/providers/MH/camel-mh-folder.c (_create_summary): basic and highly non-efficient summary implementation. Should be seen as a proof of concept only. subfolder summary still has to be implemented. * camel/providers/maildir/camel-maildir-folder.c (_init_with_store): hasn't summary for the moment. * camel/providers/maildir/camel-maildir-folder.c cosmetic changes. svn path=/trunk/; revision=1178
* La tout n'est qu'ordre et beaute,Bertrand Guiheneuf1999-08-261-0/+5
| | | | | | Luxe, calme et voluptee. svn path=/trunk/; revision=1142
* Now has a popup menu on mailbox tree to allow easier tests. Implementedbertrand1999-08-162-11/+91
| | | | | | | | | | | | | | 1999-08-16 bertrand <Bertrand.Guiheneuf@aful.org> * tests/ui-tests/store_listing.c: Now has a popup menu on mailbox tree to allow easier tests. Implemented the copy stuff. Works well for the MH provider :))) * camel/providers/MH/camel-mh-folder.c (_copy_message_to): Test MH provider fast copy implemented. svn path=/trunk/; revision=1119
* moved the active list readjustment code here. Much saner, providers won'tbertrand1999-08-162-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-08-15 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-folder.c (camel_folder_expunge): moved the active list readjustment code here. Much saner, providers won't have to worry about that. * camel/providers/MH/camel-mh-folder.c (_expunge): no more active list readjustment stuff. * camel/camel-folder.h: the expunge virtual no more returns a list of expunged messages. Now providers only have to set the expunge flag on the expunged messages. * camel/camel-folder.c (camel_folder_get_message): moved the caching code here. Finally, I don't want providers to crash the libs with a bad message cache implementation. (_close): do not call the CamelFolder virtual expunge method directly, use camel_folder_expunge() instead. (camel_folder_expunge): added the want_list param. The client can decide if it wants the expunged message list or not. If yes, it'll have to unref the messages itself. svn path=/trunk/; revision=1117
* Implemented deletion/expunge mechanism.bertrand1999-08-152-10/+144
| | | | | | | | | | | | | | | | | | | | | | | | 1999-08-14 bertrand <Bertrand.Guiheneuf@aful.org> * tests/ui-tests/store_listing.c (delete_selected_messages): (expunge_selected_folders): Implemented deletion/expunge mechanism. * camel/camel-folder.c (_get_message): Added some debug info. * camel/providers/MH/camel-mh-folder.c (_expunge): implemented and tested. * camel/camel-mime-message.c (_set_flag): changed the old braindead implementation. boolean are inserted in the flag hash table casted as gpointers. * camel/camel-mime-message.c: indentation fix svn path=/trunk/; revision=1114
* default implementation to be called first by providers methods. It looksbertrand1999-08-141-1/+1
| | | | | | | | | | | | | | | | 1999-08-13 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-folder.c (_get_message): default implementation to be called first by providers methods. It looks in the folder message list (in memory) to see if the message has not already been retrieved, and in this case, returns the same CamelMimeMessage object Caching messages in folder kworks. Providers will have to do their job correctly. Enough for today. svn path=/trunk/; revision=1113
* remove stupid debug code. (add_mail_store): use camel_session_get_storebertrand1999-08-131-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | 1999-08-12 bertrand <Bertrand.Guiheneuf@aful.org> * tests/ui-tests/store_listing.c (show_folder_messages): remove stupid debug code. (add_mail_store): use camel_session_get_store instead of creating MH store directly. (main): load MH provider. * camel/camel-provider.c (camel_provider_register_as_module): register new provider. (camel_provider_get_for_protocol): Now, implementation is correct. * camel/camel-store.c (_finalize): * camel/camel-store.h (struct _CamelStore): further disabled url_name field use. URL will be generated dynamically. Ben dam don dieu, vla t'y pas que ya tout le bourier qui marche ! (Autoload store/protocol from URL works) svn path=/trunk/; revision=1108
* Message creation still consumes a lot ofbertrand1999-08-111-7/+10
| | | | | | | | | | | | | | | | | memory (maybe 2000k) and I really don't understand why. As soon as I get gtk working on SunOS, purify should hopefully give me the answer. 1999-08-11 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-service.c (_finalize): * camel/camel-stream-fs.c (_finalize): (_destroy): close file descriptor. * camel/camel-stream-mem.c (_finalize): * camel/camel-store.c (_finalize): * camel/camel-folder.c (_finalize): svn path=/trunk/; revision=1104
* implemented destructors.bertrand1999-08-111-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 1999-08-11 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-multipart.c (_finalize): * camel/camel-simple-data-wrapper.c (_finalize): * camel/camel-mime-part.c (_finalize): implemented destructors. * camel/gmime-content-field.c (gmime_content_field_ref): (gmime_content_field_unref): New reference mechanism for GMimeContentField objects. * camel/camel-data-wrapper.c (_finalize): Started implementing destructors. * camel/camel-mime-part.c (_construct_from_stream): * camel/gmime-content-field.c (gmime_content_field_write_to_stream): * camel/camel-multipart.c (_construct_from_stream): removed forgotten anarchic traces. Go away memory leaks! svn path=/trunk/; revision=1103
* Quick and (very) dirty hack to test Camel more easily.bertrand1999-08-113-28/+335
| | | | | | | | | | | | | | 1999-08-09 bertrand <Bertrand.Guiheneuf@aful.org> * tests/ui-tests/store_listing.c: * tests/ui-tests/store_listing.glade: Quick and (very) dirty hack to test Camel more easily. * camel/camel-folder.c (camel_folder_append_message): new method. svn path=/trunk/; revision=1102
* some test filesBertrand Guiheneuf1999-08-103-0/+359
svn path=/trunk/; revision=1101