aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagGNUMERIC_0_69nobody2001-08-0530-30072/+0
| | | | | | 'GNUMERIC_0_69'. svn path=/tags/GNUMERIC_0_69/; revision=11675
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-231-1/+1
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* Force thread usage and clean up the configure aspect thereof.Peter Williams2000-06-261-5/+0
| | | | svn path=/trunk/; revision=3734
* Reverted removal of e_setup_base_dir.Christopher James Lahey2000-06-031-0/+1
| | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * tests/test-movemail.c: Reverted removal of e_setup_base_dir. svn path=/trunk/; revision=3399
* Don't call e_setup_base_dir.Christopher James Lahey2000-06-021-1/+0
| | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * tests/test-movemail.c (main): Don't call e_setup_base_dir. svn path=/trunk/; revision=3362
* Added widgets/e-paned/Makefile.Christopher James Lahey2000-05-251-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added widgets/e-paned/Makefile. * tests/ui-tests/message-browser.c: Switched from GtkPaned to EPaned. * widgets/Makefile.am: Added e-paned directory. * widgets/e-paned/, widgets/e-paned/.cvsignore, widgets/e-paned/Makefile.am, widgets/e-paned/e-hpaned.c, widgets/e-paned/e-hpaned.h, widgets/e-paned/e-paned.c, widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c, widgets/e-paned/e-vpaned.h: New widget based completely on GtkPaned from 1.4. This will be more advanced soon. From calendar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added libepaned.a. * gui/gnome-cal.c: Switched from GtkPaned to EPaned. From mail/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * folder-browser.c: Switched from GtkPaned to EPaned. From shell/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * e-shell-view.c: Switched from GtkPaned to EPaned. From widgets/shortcut-bar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * test-shortcut-bar.c: Switched from GtkPaned to EPaned. svn path=/trunk/; revision=3191
* A little vfolder test.Michael Zucci2000-05-203-4/+197
| | | | svn path=/trunk/; revision=3137
* update for camelstream changesDan Winship2000-05-093-16/+22
| | | | svn path=/trunk/; revision=2926
* ignore the .pure directoryChris Toshok2000-05-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | * addressbook/backend/ebook/.cvsignore, addressbook/contact-editor/.cvsignore, addressbook/gui/component/.cvsignore, addressbook/gui/minicard/.cvsignore, addressbook/printing/.cvsignore, calendar/cal-client/.cvsignore, calendar/gui/.cvsignore, calendar/pcs/.cvsignore, filter/.cvsignore, mail/.cvsignore, shell/.cvsignore, tests/.cvsignore, widgets/e-table/.cvsignore, widgets/e-text/.cvsignore, widgets/meeting-time-sel/.cvsignore, widgets/shortcut-bar/.cvsignore, wombat/.cvsignore: ignore the .pure directory svn path=/trunk/; revision=2812
* And here too.NotZed2000-05-034-5/+8
| | | | | | | | | | | | | 2000-05-02 NotZed <NotZed@HelixCode.com> * tests/test13.c: And here too. * tests/test2.c (main): REmoved gmime-utils.h * tests/Makefile.am (LDADD): Add libeutil to default link line. (test_movemail_LDADD): Fixed order for libutil linking. svn path=/trunk/; revision=2761
* Set G_LOG_DOMAIN in following files.Matthew Loper2000-05-032-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixed for sync search api revert.Michael Zucci2000-05-021-52/+39
| | | | svn path=/trunk/; revision=2725
* update for camel provider changes.Dan Winship2000-05-015-26/+0
| | | | svn path=/trunk/; revision=2694
* Fix for removal of camelmimebodypart, and changes to recipient stuff.NotZed2000-04-282-27/+25
| | | | | | | | | | | | 2000-04-27 NotZed <NotZed@HelixCode.com> * tests/test10.c: Fix for removal of camelmimebodypart, and changes to recipient stuff. * tests/test1.c: Fix for removal of camelmimebodypart, and changes to recipient stuff. svn path=/trunk/; revision=2672
* Fix the changes to the testsMichael Zucci2000-04-273-7/+7
| | | | | | | - open for write should use O_CREAT|O_TRUNC as well - open for read should use mode 0 svn path=/trunk/; revision=2649
* + * tests/.cvsignore: Added test13.Matthew Loper2000-04-271-0/+1
| | | | | | | | | | | + + * default_user/.cvsignore: New file. + + * src/libical/.cvsignore: added icalversion.h. + + * src/libical/icalversion.h: autogenerated file removed from cvs. svn path=/trunk/; revision=2639
* Update for the camel changes.Dan Winship2000-04-264-18/+11
| | | | | | | | | | * tests: Update for the camel changes. * Makefile.am (SUBDIRS): Remove tests. They aren't terribly useful/interesting any more for the most part, and they frequently don't compile. svn path=/trunk/; revision=2636
* Fixed for method movements.NotZed2000-04-244-5/+5
| | | | | | | | | | | | | | 2000-04-24 NotZed <NotZed@HelixCode.com> * tests/test13.c (main): Fixed for method movements. * tests/test3.c (main): Removed from build, data-wrapper-repository removed. * tests/test2.c (main): Changed to use construct_from_stream. * tests/test1.c (main): Chagned to use construct_from_stream. svn path=/trunk/; revision=2578
* Of course, it just crashes ...NotZed2000-04-242-5/+2
| | | | | | | | | | | | 2000-04-23 NotZed <NotZed@HelixCode.com> * tests/test10.c: Removed some unecessary includes. From Ali Abdin <aliabdin@aucegypt.edu> (create_sample_mime_message): Changed for date api change. * tests/Makefile.am (noinst_PROGRAMS): Put test10 back. svn path=/trunk/; revision=2573
* New tests/fixed tests.Michael Zucci2000-04-233-2/+130
| | | | svn path=/trunk/; revision=2559
* ignore test-urlSeth Alves2000-04-211-0/+1
| | | | svn path=/trunk/; revision=2546
* Merged from NEW_PARSER branch.Michael Zucci2000-04-211-11/+11
| | | | svn path=/trunk/; revision=2533
* Fixed some headers.NotZed2000-04-211-14/+13
| | | | | | | | | | | | 2000-04-20 NotZed <NotZed@HelixCode.com> * tests/test11.c: Fixed some headers. * tests/Makefile.am (noinst_PROGRAMS): Removed test9. (noinst_PROGRAMS): Removed test12, temporarirly (nntp not being built). svn path=/trunk/; revision=2532
* update for bonobo changesDan Winship2000-04-211-2/+2
| | | | svn path=/trunk/; revision=2524
* kill camel-logDan Winship2000-04-1910-24/+1
| | | | svn path=/trunk/; revision=2487
* Remove the "session" field from CamelMimeMessage. Nothing uses it, aboutDan Winship2000-04-184-5/+4
| | | | | | | | | | | | * 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
* New program to test CamelURLDan Winship2000-04-182-0/+38
| | | | | | * tests/test-url.c: New program to test CamelURL svn path=/trunk/; revision=2473
* add test12Chris Toshok2000-04-153-1/+67
| | | | | | | | | | * tests/.cvsignore: add test12 * tests/test12.c (main): add test for nntp stuff. * tests/Makefile.am (noinst_PROGRAMS): same. svn path=/trunk/; revision=2446
* Fix compilation with builddir != srcdir (again).Ettore Perazzoli2000-04-151-0/+2
| | | | svn path=/trunk/; revision=2441
* remove test-formatterDan Winship2000-04-152-92/+0
| | | | svn path=/trunk/; revision=2440
* + + * tests/.cvsignore: Added test-movemail. + + * art/.cvsignore: NewMatthew Loper2000-04-011-0/+1
| | | | | | | | | | | | | | | | + + * tests/.cvsignore: Added test-movemail. + + * art/.cvsignore: New file. + + * pcs/.cvsignore: Added *.lo. + + * .cvsignore: Added evolution.pot. + sparkly clean svn path=/trunk/; revision=2276
* make it put mail in ~ instead of always /home/danw. (oops :)Dan Winship2000-03-291-12/+27
| | | | | | also add an option to delete the mail off the server svn path=/trunk/; revision=2214
* new test program. Can be used to copy POP mail into your evolution inbox.Dan Winship2000-03-282-1/+159
| | | | | | | * tests/test-movemail.c: new test program. Can be used to copy POP mail into your evolution inbox. svn path=/trunk/; revision=2208
* This test is basically now invalid.NotZed2000-03-282-41/+57
| | | | | | | | | | | 2000-03-27 NotZed <NotZed@HelixCode.com> * tests/test9.c (main): This test is basically now invalid. * tests/test11.c (main): Fix for async search api. Probably works. Removed camel-mbox-*.h headers, should be private. svn path=/trunk/; revision=2200
* make this build (but not work)Seth Alves2000-03-271-2/+7
| | | | svn path=/trunk/; revision=2186
* update for summary format changesDan Winship2000-03-261-9/+4
| | | | svn path=/trunk/; revision=2163
* + * 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
* Try move messages with gnome in the subject ot the Gnome folder.Michael Zucci2000-03-041-3/+26
| | | | svn path=/trunk/; revision=2027
* 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
* don't forget to set the state to 0 after 3. (my_read_encode): don't forgetbertrand2000-03-031-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-03-02 bertrand <bertrand@helixcode.com> * camel-stream-b64.c (my_read_encode): don't forget to set the state to 0 after 3. (my_read_encode): don't forget to encode, even in state 3. * camel-simple-data-wrapper.c: static functions are prefixed with my_ instead of _ * camel-multipart.c: static functions are prefixed with my_ instead of _ (my_write_to_stream): commented. (my_write_to_stream): warning in case the boudary is set but is a zero length string. * camel-mime-part.c (camel_mime_part_encoding_from_string): remove debug trace. * camel-mime-part.c: Replaced all static functions with name begining with _ by the same name begining with "my_" to prevent the possible conflicts with system symbols Dan warned us about. Mime mail generation works now, at least with b64 encoding. QP needs to be done now. svn path=/trunk/; revision=2016
* 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
* + * tests/Makefile.am: changed references to libibex.a toMatthew Loper2000-02-221-2/+2
| | | | | | + libibex.la. svn path=/trunk/; revision=1896
* + * libical/src/libical/.cvsignore: Added *.lo, *.la, and .libs.Matthew Loper2000-02-221-0/+1
| | | | | | | | | | | | + * libical/src/libicalss/.cvsignore: same. + + * tests/.cvsignore: Added test11. + + * filter/.cvsignore: New file. + + * libibex/.cvsignore: Added mkindex. svn path=/trunk/; revision=1895
* 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
* Add "authenticator" to CamelSession and update things to use it.Dan Winship2000-02-222-2/+20
| | | | svn path=/trunk/; revision=1890
* update for CamelSession changesDan Winship2000-02-222-3/+12
| | | | svn path=/trunk/; revision=1889
* Changed dependencies on libibex.la to libibex.a. In test9_LDADD, placedMatthew Loper2000-02-211-3/+3
| | | | | | | | * tests/Makefile.am: Changed dependencies on libibex.la to libibex.a. In test9_LDADD, placed libcamelmbox.la before libibex.la, as the former requires the latter. svn path=/trunk/; revision=1871
* 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
* Use a relative path to the mbox provider module.NotZed2000-02-192-2/+7
| | | | | | | | | 2000-02-18 NotZed <NotZed@HelixCode.com> * tests/test11.c (main): Use a relative path to the mbox provider module. svn path=/trunk/; revision=1857
* 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
* Modification in the automake/libtool building process so thatBertrand Guiheneuf2000-02-181-0/+2
| | | | | | | | | | camel and tests at least compile. Current libtool doen't seem to support lib dependancy unless the lib is installed. Removed the dependancy on libex in mbox and added it to the other Makefile.am that link with libcamel. svn path=/trunk/; revision=1838
* 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
* include camel.h for camel_initDan Winship2000-02-171-1/+1
| | | | svn path=/trunk/; revision=1818
* this routine replaces the _read_part routine and does not store the partbertrand2000-02-162-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | 2000-02-15 bertrand <bertrand@helixcode.com> * camel/camel-multipart.c (_localize_part): this routine replaces the _read_part routine and does not store the part in a buffer. (_set_input_stream): use the set_input_stream instead of the construct_from_stream. each bodypart is given an input stream. * camel/camel-mime-part-utils.c: include the data-wrapper-repository header. (camel_mime_part_construct_content_from_stream): use the set_input_stream instead of the construct_from_stream method. * camel/camel-seekable-substream.c (_set_bounds): cur position is set to 0 not to inf_bound. Sync svn path=/trunk/; revision=1790
* Add the unicode libraries as well.Miguel de Icaza2000-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-14 Miguel de Icaza <miguel@gnu.org> * camel/providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): Add the unicode libraries as well. * camel/camel-provider.c (camel_provider_register_as_module): Add error reporting here. Desire to use Solaris increases. Hair loss in the last two hours: 5,400. * camel/providers/mbox/camel-mbox-provider.c (camel_mbox_get_provider): Renamed function. * camel/camel.h: All include files use camel/ now here. * camel/providers/mbox/Makefile.am: Drop all the dynamism from Camel, and make this a standard library. * configure.in: set the UNICODE_LIBS variable here. 2000-02-14 Miguel de Icaza <miguel@gnu.org> * folder-browser.c (folder_browser_load_folder): New routine, loads a camel folder. (folder_browser_set_uri): redo. * session.c: new file. Implements SessionStores to keep track of a Session/Store tuple. svn path=/trunk/; revision=1783
* include gmime-base64.h various compilation and runtime fixes.bertrand2000-02-151-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-15 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-mime-part.c: include gmime-base64.h various compilation and runtime fixes. (_set_input_stream): store the input substream for the content object. * camel/camel-data-wrapper.h: declare the set/get function on input/output stream. * camel/camel-mime-part.c (_get_content_object): don't use a temporary mem stream. * camel/camel-seekable-substream.c (_seek): (_eos): (_read): the substream can be unlimited in length * camel/camel-data-wrapper.c (camel_data_wrapper_class_init): set the get/set_input/output_stream methods. * camel/camel-multipart.c (_construct_from_stream): camel_stream_seek -> camel_seekable_stream_seek work on the new parser scheme. temporary sync to laptop. svn path=/trunk/; revision=1781
* Add libunicode to CFLAGS/LIBS.NotZed2000-02-142-0/+90
| | | | | | | | | | | | | | | | 2000-02-14 NotZed <notzed@zedzone.helixcode.com> * configure.in (EXTRA_GNOME_CFLAGS): Add libunicode to CFLAGS/LIBS. 2000-02-13 NotZed <notzed@zedzone.helixcode.com> * configure.in: Added check for libunicode. * Makefile.am (SUBDIRS): Added libibex. * tests/test11.c (main): New test, tests search api. svn path=/trunk/; revision=1774
* + * 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-112-6/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* + * tests/test-formatter.c (convert_to_html_and_print): Use theMatthew Loper2000-02-091-4/+19
| | | | | | | | | | | + buffer length of the stream to create strings which are then + printed, rather than printing the stream (which might not have a + trailing \0) directly. + + * camel/camel-formatter.c (str_tolower): New function; makes a + string lowercase. svn path=/trunk/; revision=1698
* + * tests/test-formatter.c (convert_to_html_and_print): Fixed callMatthew Loper2000-02-091-4/+9
| | | | | | | + to 'camel_formatter_mime_message_to_html' to contain correct + params. svn path=/trunk/; revision=1697
* + * tests/test-formatter.c (print_usage_and_quit): New function,Matthew Loper2000-02-081-0/+15
| | | | | | | | | | | | + which gives usage information. + + * camel/camel-formatter.c: made the 'stream' a member of the + CamelFormatter class, so that streams don't have to be explicitly + sent as a param where a CamelFormatter is also sent.. + (handle_text_plain): Use 'encode_entities' to change '<' to + '&gt;', etc. svn path=/trunk/; revision=1687
* Chut.Bertrand Guiheneuf2000-02-031-0/+2
| | | | svn path=/trunk/; revision=1665
* + * tests/test-formatter.c: New file; intended to test theMatthew Loper2000-02-022-1/+58
| | | | | | | | | | | + CamelFormatter class. + + * camel/camel-formatter.c: Lots of cleanup, commenting, some new + functions, and a really basic skeleton for getting bonobo objects + into the html. + (encode_entities): New function, stolen from Daniel Velliard. svn path=/trunk/; revision=1660
* cvs shutupMathieu Lacage2000-01-261-0/+3
| | | | svn path=/trunk/; revision=1639
* converted all gint64 variables into guint32.bertrand2000-01-251-3/+3
| | | | | | | | | | | | | | | | 2000-01-24 bertrand <bertrand@helixcode.com> * camel/camel-stream-fs.[ch]: converted all gint64 variables into guint32. * camel/camel-stream-fs.c (_read): fix stupid bug. (_write): ditto. * camel/camel-exception.c (camel_exception_new): don't forget to clean the exception when creating it. svn path=/trunk/; revision=1621
* add recipient_list to the recipients, not recipients_list. I don't knowbertrand2000-01-242-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-01-24 bertrand <bertrand@helixcode.com> * camel/camel-recipient.c (camel_recipient_table_add_list): add recipient_list to the recipients, not recipients_list. I don't know what that variable was doing here. 2000-01-23 bertrand <bertrand@helixcode.com> * camel/camel-store.c (camel_store_get_session): added a public get_session method. * camel/providers/mbox/camel-mbox-summary.c (camel_mbox_save_summary): (camel_mbox_load_summary): load/save message sizes in the summary file * camel/providers/mbox/camel-mbox-summary.h: added a size field to the message information structure. * camel/providers/mbox/camel-mbox-utils.c (parsed_information_to_mbox_summary): copy message size to the mbox summary information too. * camel/camel-stream-fs.c (_seek): updated to work with bounded fs streams. (_write): ditto. (_read): ditto. * camel/camel-stream-fs.h (struct ): added the cur_pos, inf_bound and sup_bound members to allow for bounded fs stream. * camel/camel-stream-fs.c (_set_bounds): new func. (_init_with_fd_and_bounds): idem. (_init_with_name_and_bounds): idem. New functions to allow the usage of bounded fs streams. The bounded fs stream allow, for example, to make a stream from a message stored in an mbox file. svn path=/trunk/; revision=1620
* use the real summary file path instead of a stupid hardcoded one. Fixesbertrand2000-01-231-2/+21
| | | | | | | | | | | | | | | | | 2000-01-22 bertrand <bertrand@helixcode.com> * camel/providers/mbox/camel-mbox-folder.c (_check_get_or_maybe_generate_summary_file): use the real summary file path instead of a stupid hardcoded one. Fixes yet another bug. * camel/providers/mbox/camel-mbox-utils.c (parsed_information_to_mbox_summary): don't forget to copy the date too. Fix a very annoying bug. * camel/providers/mbox/camel-mbox-folder.c (_append_message): implemented. A lot of fixes too. Works now. (_get_uid_list): implemented. svn path=/trunk/; revision=1609
* implemented. A lot of fixes too. Works now.bertrand2000-01-232-4/+52
| | | | | | | | | 2000-01-22 bertrand <bertrand@helixcode.com> * camel/providers/mbox/camel-mbox-folder.c (_append_message): implemented. A lot of fixes too. Works now. svn path=/trunk/; revision=1608
* test the mbox provider.bertrand2000-01-221-2/+6
| | | | | | | | | | | | | | | | | | | | | | 2000-01-21 bertrand <bertrand@helixcode.com> * tests/test10.c: test the mbox provider. * camel/camel-folder.c (_set_name): if camel_folder_get_mode returns an exception, return it instead of overriding it with a new one. (camel_folder_is_open): make the is_open method public. (_set_name): use the is_open instead of get_mode. (_set_name): set the fullname even in the case where the folder has no parent. (_set_name): use %c, not %d to add the separator char into the full path. svn path=/trunk/; revision=1606
* add exception handling everywhere in the store related functionsbertrand2000-01-222-1/+52
| | | | | | | | | | | | | | | | 2000-01-21 bertrand <bertrand@helixcode.com> * camel/camel-store.c: add exception handling everywhere in the store related functions arguments. * camel/providers/mbox/camel-mbox-folder.c: idem * camel/providers/mbox/camel-mbox-folder.h: idem * camel/providers/mbox/camel-mbox-store.h: idem * camel/providers/mbox/Makefile.am (libcamelmbox_la_SOURCES): added camel-mbox-provider.c to the mbox provider sources. svn path=/trunk/; revision=1605
* added camel-mbox-provider.c to the mbox provider sources.bertrand2000-01-221-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-01-21 bertrand <bertrand@helixcode.com> * camel/providers/mbox/Makefile.am (libcamelmbox_la_SOURCES): added camel-mbox-provider.c to the mbox provider sources. * camel/providers/mbox/camel-mbox-provider.c: provider registration code. * camel/providers/mbox/camel-mbox-folder.c (_get_message_count): implemented (_append_message): implemented * camel/providers/mbox/camel-mbox-parser.c (initialize_buffer): use \0 to mark the end of the buffer. (read_next_buffer_chunk): ditto. (read_header): test the presence of a \0 instead of reading the eof field (read_message_begining): idem. (camel_mbox_parse_file): idem. Remove the eof field from the parser structure. (read_next_buffer_chunk): removed some nasty bugs again. svn path=/trunk/; revision=1604
* implemented.bertrand2000-01-201-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-01-19 bertrand <bertrand@helixcode.com> * camel/providers/mbox/camel-mbox-folder.c (_get_message_count): implemented. * camel/providers/mbox/camel-mbox-summary.c (camel_mbox_save_summary): (camel_mbox_load_summary): save/load the next uid. * camel/providers/mbox/camel-mbox-parser.c (camel_mbox_parse_file): Compute the next available uid. * camel/providers/mbox/camel-mbox-folder.c (_create): (_check_get_or_maybe_generate_summary_file): Set and use the next_uid field properly. * camel/providers/mbox/camel-mbox-summary.h: added an extra field to store the next available uid. * camel/providers/mbox/camel-mbox-folder.c (_check_get_or_maybe_generate_summary_file): routine called when the folder is opened. Reads or creates the summary file. (_create): initialize the internal summary structure. (_close): save the summary file on closing. (_init_with_store): initialize mbox specific folder members. svn path=/trunk/; revision=1597
* tests for summary and parsing process of mbox files.bertrand2000-01-191-4/+28
| | | | | | | | | | | | | | | | | | | | | | | 2000-01-18 bertrand <bertrand@helixcode.com> * tests/test9.c: tests for summary and parsing process of mbox files. * camel/providers/mbox/camel-mbox-parser.c (camel_mbox_parse_file): do not use case insensitive comp to detect message separators. Kill some nasty bugs in netscape file parsing, * camel/providers/mbox/camel-mbox-utils.c (parsed_information_to_mbox_summary): don't use g_array_append but write directly inside the array data instead. Better performance and bug fix. * camel/providers/mbox/camel-mbox-summary.c (camel_mbox_load_summary): fix the name and bugs. * camel/camel-folder-summary.h: update the class method definition to match the public defs. svn path=/trunk/; revision=1592
* summary file read/write routines.bertrand2000-01-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-01-18 bertrand <bertrand@helixcode.com> * camel/providers/mbox/camel-mbox-summary.c (camel_mbox_save_summary): (mbox_load_summary): summary file read/write routines. * camel/providers/mbox/camel-mbox-utils.c (parsed_information_to_mbox_summary): routine to construct the summary after the mbox file has been parsed and the x-evolution fields inserted. * camel/providers/mbox/camel-mbox-utils.c (camel_mbox_write_xev): dont use the x_evolution field but rather the uid to determine the presence of "X-Evolution" in the mail. * camel/providers/mbox/camel-mbox-parser.c (camel_mbox_parse_file): parse the status and uid values if the x-evolution has been found. * camel/providers/mbox/camel-mbox-utils.c (camel_mbox_xev_parse_header_content): return the parsed status field correctly. * camel/providers/mbox/camel-mbox-utils.h: fixed bad prototype. * camel/providers/mbox/camel-mbox-parser.c (camel_mbox_parse_file): parse and store the "To:" header. * camel/providers/mbox/camel-mbox-parser.h: added a "to" field * camel/camel-folder-summary.c: create the arrays here. * camel/camel-folder-summary.h: the list of summary information is no longer a GList but rather a GArray. Parsing/summary/sync-check is here. Needs testing and integration with the rest of the folder code. svn path=/trunk/; revision=1589
* test for the mbox utils. (copy_file_chunk): fixed a nasty bug.bertrand2000-01-172-2/+61
| | | | | | | | | | | | | | | | | | | 2000-01-17 bertrand <bertrand@helixcode.com> * tests/test9.c (main): test for the mbox utils. (copy_file_chunk): fixed a nasty bug. (camel_mbox_write_xev): create the copy file descriptor with the proper arguments. Exceptions implememnted. (camel_mbox_write_xev): changed the way bytes are counted. No more uses the message size cause it did not take into account the message separators characters. (camel_mbox_write_xev): hopefully fixed the last bugs. works ok now. Summary information / X-Evolution header generation should all work ok now. svn path=/trunk/; revision=1579
* remove non updated tests from the build process.bertrand2000-01-131-1/+0
| | | | | | | | | | | | | | | | | | 2000-01-12 bertrand <bertrand@helixcode.com> * tests/Makefile.am (noinst_PROGRAMS): remove non updated tests from the build process. * camel/Makefile.am : remove the rfc2047 related files from the build process as for the moment, nothing has been decided concerning unicode. * Makefile.am (evolution_msg_composer_LDADD): use $(EXTRA_GNOME_LIBS_THREADS) to link with gthread svn path=/trunk/; revision=1564
* shut up cvs action -migArturo Espinosa2000-01-071-0/+2
| | | | svn path=/trunk/; revision=1543
* Lots of reorganization to get the Evolution shell to begin its life. ItArturo Espinosa2000-01-061-1/+2
| | | | | | | | | Lots of reorganization to get the Evolution shell to begin its life. It also includes a new evolution widget from Damon. Miguel. svn path=/trunk/; revision=1536
* Removed the old message composer test.Ettore Perazzoli1999-11-171-52/+0
| | | | svn path=/trunk/; revision=1396
* More work:Ettore Perazzoli1999-11-172-9/+12
| | | | | | | - Fixed some Camel API naming issues. - Moved the message composer stuff to the `composer' directory. svn path=/trunk/; revision=1395
* Added streaming capability to CamelDataWrapper. This makes it possible, forEttore Perazzoli1999-11-171-3/+49
| | | | | | | example, to build multipart messages out of files that are on disk without loading them in memory. svn path=/trunk/; revision=1394
* Here is my initial Evolution work: message composition widget and someEttore Perazzoli1999-11-064-13/+68
| | | | | | installation fixes for Camel. svn path=/trunk/; revision=1369
* missing filesBertrand Guiheneuf1999-10-141-0/+78
| | | | svn path=/trunk/; revision=1329
* A lot of changes. The thread proxy mechanismbertrand1999-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is now functional. The signal proxy needs to be tested though. The thread proxy folder is being implemented. A rough summary : 1999-10-13 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-folder.c (camel_folder_close): the folder->close method is now asynchronous. * camel/camel-folder-pt-proxy.c (_folder_open_cb): (_open): (_folder_open_cb): (_open): open/close method implemented in the thread proxy folder. More to come. * camel/camel-exception.c (camel_exception_xfer): new utility func. * camel/camel-marshal-utils.c: some new marshallers * camel/camel-folder-pt-proxy.c: Some explanations on the thread proxy system. 1999-10-11 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-marshal-utils.c: camel/camel-marshal-utils.h: Handles operation marshalling. * camel/camel-thread-proxy.c: camel/camel-thread-proxy.h: new files. Generic proxy system. * camel/camel-folder-pt-proxy.c moved all proxy related code in dedicated files. (camel_folder_pt_proxy_init): removed proxy initialisation code (_finalize): removed proxy finalization code * camel/camel-exception.c (camel_exception_new): (camel_exception_set): (camel_exception_free): New funcs. svn path=/trunk/; revision=1328
* weekly commitBertrand Guiheneuf1999-10-091-7/+7
| | | | svn path=/trunk/; revision=1322
* Added corba-like exception system to CamelFolder. The exception system isBertrand Guiheneuf1999-09-241-4/+4
| | | | | | | | | * Added corba-like exception system to CamelFolder. The exception system is not finished but I wanted the async and event implementation to get this right from the beginning. svn path=/trunk/; revision=1256
* Check pthreads.bertrand1999-09-222-5/+4
| | | | | | | | | | | | | 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
* changed names to follow camel style.bertrand1999-09-061-1/+2
| | | | | | | | | | | | 1999-09-06 bertrand <Bertrand.Guiheneuf@aful.org> * camel/md5-utils.h: * camel/md5-utils.c: changed names to follow camel style. ` svn path=/trunk/; revision=1184
* 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
* Address updateBertrand Guiheneuf1999-08-301-2/+2
| | | | svn path=/trunk/; revision=1147
* text parameter declared constbertrand1999-08-294-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-08-28 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-mime-part.c (camel_mime_part_set_text): text parameter declared const * camel/camel-mime-part-utils.c (camel_mime_part_store_stream_in_buffer): actually test correctly nb_bytes_read_chunk is >0 * camel/gstring-util.c: * camel/gmime-content-field.c: * camel/providers/MH/camel-mh-folder.c: * camel/camel-stream-fs.c: include string.h * camel/camel-stream-mem.c (_write): return the numver of written bytes. * camel/camel-stream-buffered-fs.c (_eos): return sthg * camel/camel-stream.c (default_camel_seek): return something. * Started to work on new recipient code. * fixed various leaks. svn path=/trunk/; revision=1146
* contruct the content from the buffer before calling CamelMediumbertrand1999-08-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-08-26 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-mime-part.c (_get_content_object): contruct the content from the buffer before calling CamelMedium implementation. (_construct_from_stream): Do not construct the content by default, just store the content bytes in a temporary buffer. Content will be constructed only at caller request (when calling CamelMedium::get_content_object) Providers with better access to the messages (mbox/MH ...) will have to provider lighter implementation, that is shall not read content at all unless the caller asks for it (again with get_content). * camel/camel-mime-part-utils.c: new file, groups mime-part related utils. Meant to be used by providers subclassing MimeMessage. (camel_mime_part_construct_headers_from_stream): (camel_mime_part_construct_content_from_stream): no more useless temporary hash table. * camel/camel-mime-part.c (_construct_from_stream): calls mime-part-utils functions now. * camel/gmime-utils.c (_store_header_pair_from_string): do not use hash table to store header, use an array instead. svn path=/trunk/; revision=1145
* now descend from CamelMedium.bertrand1999-08-261-15/+22
| | | | | | | | | | | 1999-08-25 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-mime-part.c: now descend from CamelMedium. * tests/test1.c (main): all headers must be strdup'ed (main): unref created objects svn path=/trunk/; revision=1143
* La tout n'est qu'ordre et beaute,Bertrand Guiheneuf1999-08-262-0/+7
| | | | | | Luxe, calme et voluptee. svn path=/trunk/; revision=1142
* return the number of bytes read. How can this have ever worked ?bertrand1999-08-181-0/+4
| | | | | | | | | | | | | | | | 1999-08-17 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-stream.c (camel_stream_read): return the number of bytes read. How can this have ever worked ? (camel_stream_flush): don't return anything. * camel/gmime-utils.c (get_header_table_from_stream): mem leak fixed. + various other mem leaks. svn path=/trunk/; revision=1120
* 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-132-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* new file. MH provider registration stuff.bertrand1999-08-122-1/+24
| | | | | | | | | | | | | | | | | | | 1999-08-12 bertrand <Bertrand.Guiheneuf@aful.org> * camel/providers/MH/camel-mh-provider.c: new file. MH provider registration stuff. * camel/camel-provider.c (camel_provider_register_as_module): load a provider from a shared object (plugin). (camel_provider_register): register a provider "by hand". Used for statically defined providers. * tests/test7.c: new test. tests providers loading framework. Providers modules loading Works !!! :)))) svn path=/trunk/; revision=1105
* 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-104-1/+359
| | | | svn path=/trunk/; revision=1101
* fix. In MH, message number is not related to message position in folder.bertrand1999-08-091-2/+2
| | | | | | | | | | 1999-08-08 bertrand <Bertrand.Guiheneuf@aful.org> * camel/providers/MH/camel-mh-folder.c (_get_message): fix. In MH, message number is not related to message position in folder. svn path=/trunk/; revision=1097
* util func. (_get_message_count): implemented.bertrand1999-08-091-1/+1
| | | | | | | | | | 1999-08-08 bertrand <Bertrand.Guiheneuf@aful.org> * camel/providers/MH/camel-mh-folder.c (_is_a_message_file): util func. (_get_message_count): implemented. svn path=/trunk/; revision=1096
* encoder test.Robert Brady1999-08-061-0/+50
| | | | | | | | | | | 1999-08-06 Robert Brady <rwb197@ecs.soton.ac.uk> * tests/test6.c: encoder test. * camel/gmime-rfc2047.c: Fixed decoder bug : sequence ?= is not always the terminator for an encoded-string. svn path=/trunk/; revision=1091
* added real test for MH folder provider. All tested things seem to work OKbertrand1999-08-061-6/+20
| | | | | | | | | 1999-08-06 bertrand <Bertrand.Guiheneuf@aful.org> * tests/test4.c (main): added real test for MH folder provider. All tested things seem to work OK :) svn path=/trunk/; revision=1089
* test for RFC2047 decoder.Robert Brady1999-08-062-0/+65
| | | | | | | | | | 1998-08-06 Robert Brady <rwb197@ecs.soton.ac.uk> * tests/test5.c: test for RFC2047 decoder. * camel/gmime-rfc2047.c: Improved RFC2047 decoder. svn path=/trunk/; revision=1088
* add debug information (_list_subfolders): test if first char in folderbertrand1999-08-061-4/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-08-06 bertrand <Bertrand.Guiheneuf@aful.org> * camel/providers/MH/camel-mh-folder.c (_exists): add debug information (_list_subfolders): test if first char in folder name is not '.' before adding it to the folder list. * camel/camel-store.c (_init): disable session check temporarily (_get_separator): (_get_folder): new static func. Fixed several oddities in class definition. * camel/providers/MH/camel-mh-store.c (camel_mh_store_get_type): parent type is CAMEL_STORE_TYPE not CAMEL_FOLDER_TYPE * camel/camel-store.c: prent class is CamelServiceClass not GtkObjectClass * camel/url-util.c : cosmetic changes + use of const when possible. (find_host): fix a bug: when there is no host and no port don't skip the '/' all static find_* func are now named _func_* (g_url_free): destructor func. cache field has been disabled. Constructing the url string won't be too slow and will occur rarely enough that we do not need to add complexity to this code. * camel/providers/MH/camel-mh-store.c: parent class is CamelStorClass not GtkObjectClass svn path=/trunk/; revision=1087
* forgotten fileBertrand Guiheneuf1999-08-061-0/+23
| | | | svn path=/trunk/; revision=1084
* test mh provider.bertrand1999-08-061-3/+13
| | | | | | | | | | | | 1999-08-05 bertrand <Bertrand.Guiheneuf@aful.org> * tests/test4.c: test mh provider. * camel/providers/MH/camel-mh-folder.c (_get_message): implemented svn path=/trunk/; revision=1083
* Fixed copyright issue. ;)Robert Brady1999-08-051-2/+2
| | | | svn path=/trunk/; revision=1078
* There is a probleme here. We can not allow mime part content-type fieldBertrand Guiheneuf1999-08-031-1/+1
| | | | | | | | | | | | | | | | | | * camel/camel-mime-part.c (_set_content_object): There is a probleme here. We can not allow mime part content-type field and content_object mime-type to be different. I thus chosed to set mime part object content field to be freed (if necessary) and set to be a pointer to content_object mime type field. (_construct_from_stream): set content_object mime type to be the same as mime_part's one. This is necessary because we use _set_content_type. This two things are a bit hackish ansd may need to be redesigned. svn path=/trunk/; revision=1071
* Multipart Mime message parsing works with plain text parts. Woohooo :))))bertrand1999-08-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Making it work with other types is now just a matter of writing the various data wrappers. And display them will just be a matter of writing the good bonobo components. 1999-08-03 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-simple-data-wrapper.c (_construct_from_stream): more debugging output + nb_bytes_read is now a signed int to avoid bug when eos is encountered. * camel/camel-mime-part.c (_construct_from_stream): sync to data_wrapper_repository function name changes. Use default "text/plain" type when conten-type field is not found. (following RFC 2046 spec). * camel/data-wrapper-repository.c (data_wrapper_repository_set_data_wrapper_type): (data_wrapper_repository_get_data_wrapper_type): change function name prefix (s/data_wrapper/data_wrapper_repository/) * camel/camel-multipart.c (_read_part): add `\n` at eol but not before boundary. * camel/gmime-utils.c (get_header_table_from_stream): correct implementation of end of stream detection. svn path=/trunk/; revision=1070
* Adding missing filesBertrand Guiheneuf1999-08-011-0/+28
| | | | svn path=/trunk/; revision=1053
* merge a lot of work. Rough ChangeLog will followBertrand Guiheneuf1999-08-013-24/+43
| | | | svn path=/trunk/; revision=1052
* now use CamelDataWrapper::contruct_form_stream to test message parsingbertrand1999-06-291-23/+2
| | | | | | | | | | | | | | | | | 1999-06-28 bertrand <Bertrand.Guiheneuf@inria.fr> * tests/test2.c (main): now use CamelDataWrapper::contruct_form_stream to test message parsing * camel/camel-data-wrapper.c: * camel/camel-data-wrapper.h: construct_from_stream no longer has maximimum size arg. * camel/camel-mime-part.c (_construct_from_stream): new. Construct the mime_part from a stream. svn path=/trunk/; revision=1003
* syncBertrand Guiheneuf1999-06-221-1/+1
| | | | svn path=/trunk/; revision=983
* Commit of all Netherlands changes.Bertrand Guiheneuf1999-06-192-26/+21
| | | | | | | | All mime stuff uses streams now, and it still works. Bertrand svn path=/trunk/; revision=981
* Chut \!Bertrand Guiheneuf1999-06-121-0/+4
| | | | svn path=/trunk/; revision=977
* use new stream code instead of raw file * stuff.bertrand1999-05-311-6/+7
| | | | | | | | | | | | | | | | | | 1999-05-31 bertrand <Bertrand.Guiheneuf@inria.fr> * tests/test2.c (main): use new stream code instead of raw file * stuff. * camel/gmime-utils.c (get_header_table_from_stream): new func. Will replace get_header_table_from_file and will be used to parse headers from files as well as from memory buffers. * camel/camel-stream-fs.c: CamelStream Subclass. File system based stream. svn path=/trunk/; revision=961
* new class. Represents an abstract stream object.bertrand1999-05-311-4/+3
| | | | | | | | | 1999-05-30 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-stream.h: new class. Represents an abstract stream object. svn path=/trunk/; revision=960
* syncBertrand Guiheneuf1999-05-303-4/+7
| | | | svn path=/trunk/; revision=959
* remove leading and trailing spaces in recipient addresses.Bertrand Guiheneuf1999-05-301-1/+1
| | | | | | | | | | | | | | | | | * camel/camel-mime-message.c (_set_recipient_list_from_string): remove leading and trailing spaces in recipient addresses. * camel/gmime-utils.c (_store_header_pair_from_gstring): remove leading and trailing spaces from header values. * camel/gstring-util.c (g_string_trim): new func: remove leading or trailng chars from a specified char set. (g_string_split): allow trimming of substrings. * tests/test1.c (main): remove gtk_main call svn path=/trunk/; revision=958
* rewrite message obtained via parsing into a file. Actually, it worksBertrand Guiheneuf1999-05-281-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | * tests/test2.c (main): rewrite message obtained via parsing into a file. Actually, it works pretty well :)) * camel/camel-mime-message.c (_set_recipient_list_from_string): create recipient list form a comma separated string. (_parse_header_pair): added recipient lists parsing. * camel/camel-mime-part.c (_parse_header_pair): new (protected) method. Parse a head pair and decides what to do with it. (_add_header): Call in _parse_header_pair * camel/camel-mime-message.c (_parse_header_pair): overload header parsing MimePart mthod. * camel/gstring-util.c (g_string_split): new func: split a gstring into a GList of substring. svn path=/trunk/; revision=950
* syncBertrand Guiheneuf1999-05-281-8/+28
| | | | svn path=/trunk/; revision=949
* new func. Parses message header zone and returns a Glist of all headerbertrand1999-05-273-5/+43
| | | | | | | | | | | | | | | 1999-05-26 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/gmime-utils.c (get_header_lines_from_file): new func. Parses message header zone and returns a Glist of all header lines. * tests/test2.c: tests message parsing * camel/gmime-utils.c (write_header_table_to_file): new func to write a table of headers. svn path=/trunk/; revision=948
* recipient list printingBertrand Guiheneuf1999-05-211-2/+10
| | | | | | | | | * camel/camel-mime-message.c (_write_to_file): recipient list printing * tests/test1.c (main): more tests. svn path=/trunk/; revision=936
* syncBertrand Guiheneuf1999-05-211-2/+6
| | | | svn path=/trunk/; revision=935
* test if content exists before calling its write_to method.bertrand1999-05-201-6/+20
| | | | | | | | | | | | | 1999-05-19 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-mime-part.c (_write_to_file): test if content exists before calling its write_to method. * camel/camel-mime-message.c (_write_to_file): bugs fix. First test of mime_message framework. svn path=/trunk/; revision=934
* syncBertrand Guiheneuf1999-05-201-0/+6
| | | | svn path=/trunk/; revision=933
* missing files 2Bertrand Guiheneuf1999-05-202-0/+21
svn path=/trunk/; revision=932