aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test1.c
Commit message (Collapse)AuthorAgeFilesLines
* update for camelstream changesDan Winship2000-05-091-9/+15
| | | | svn path=/trunk/; revision=2926
* Fix for removal of camelmimebodypart, and changes to recipient stuff.NotZed2000-04-281-15/+12
| | | | | | | | | | | | 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-271-3/+3
| | | | | | | - open for write should use O_CREAT|O_TRUNC as well - open for read should use mode 0 svn path=/trunk/; revision=2649
* Update for the camel changes.Dan Winship2000-04-261-4/+3
| | | | | | | | | | * 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-241-2/+2
| | | | | | | | | | | | | | 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
* New tests/fixed tests.Michael Zucci2000-04-231-1/+1
| | | | svn path=/trunk/; revision=2559
* kill camel-logDan Winship2000-04-191-2/+1
| | | | svn path=/trunk/; revision=2487
* Remove the "session" field from CamelMimeMessage. Nothing uses it, aboutDan Winship2000-04-181-1/+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
* 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
* implemented. A lot of fixes too. Works now.bertrand2000-01-231-2/+2
| | | | | | | | | 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
* More work:Ettore Perazzoli1999-11-171-6/+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
* Address updateBertrand Guiheneuf1999-08-301-2/+2
| | | | svn path=/trunk/; revision=1147
* text parameter declared constbertrand1999-08-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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
* merge a lot of work. Rough ChangeLog will followBertrand Guiheneuf1999-08-011-16/+32
| | | | svn path=/trunk/; revision=1052
* Commit of all Netherlands changes.Bertrand Guiheneuf1999-06-191-11/+12
| | | | | | | | All mime stuff uses streams now, and it still works. Bertrand svn path=/trunk/; revision=981
* syncBertrand Guiheneuf1999-05-301-0/+1
| | | | 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
* new func. Parses message header zone and returns a Glist of all headerbertrand1999-05-271-3/+4
| | | | | | | | | | | | | | | 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-201-0/+8
svn path=/trunk/; revision=932