1. 08 May, 2000 1 commit
  2. 02 May, 2000 1 commit
    • NotZed's avatar
      And here too. · 1f7bdbf9
      NotZed authored
      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
      1f7bdbf9
  3. 26 Apr, 2000 2 commits
    • Michael Zucci's avatar
      Fix the changes to the tests · 10660e5e
      Michael Zucci authored
       - open for write should use O_CREAT|O_TRUNC as well
       - open for read should use mode 0
      
      svn path=/trunk/; revision=2649
      10660e5e
    • Dan Winship's avatar
      Update for the camel changes. · 75a19475
      Dan Winship authored
      	* 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
      75a19475
  4. 24 Apr, 2000 1 commit
    • NotZed's avatar
      Fixed for method movements. · 0c1a3816
      NotZed authored
      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
      0c1a3816
  5. 18 Apr, 2000 1 commit
  6. 17 Apr, 2000 1 commit
    • Dan Winship's avatar
      Remove the "session" field from CamelMimeMessage. Nothing uses it, about · 96b306af
      Dan Winship authored
      	* 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
      96b306af
  7. 16 Feb, 2000 1 commit
    • bertrand's avatar
      this routine replaces the _read_part routine and does not store the part · f926f10e
      bertrand authored
      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
      f926f10e
  8. 15 Feb, 2000 1 commit
    • bertrand's avatar
      include gmime-base64.h various compilation and runtime fixes. · a020ef51
      bertrand authored
      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
      a020ef51
  9. 24 Jan, 2000 1 commit
    • bertrand's avatar
      add recipient_list to the recipients, not recipients_list. I don't know · 98e15c6b
      bertrand authored
      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
      98e15c6b
  10. 26 Aug, 1999 1 commit
    • bertrand's avatar
      contruct the content from the buffer before calling CamelMedium · e826255b
      bertrand authored
      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
      e826255b
  11. 17 Aug, 1999 1 commit
    • bertrand's avatar
      return the number of bytes read. How can this have ever worked ? · 08752e1b
      bertrand authored
      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
      08752e1b
  12. 04 Aug, 1999 1 commit
  13. 01 Aug, 1999 1 commit
  14. 28 Jun, 1999 1 commit
    • bertrand's avatar
      now use CamelDataWrapper::contruct_form_stream to test message parsing · 1659afa3
      bertrand authored
      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
      1659afa3
  15. 21 Jun, 1999 1 commit
  16. 18 Jun, 1999 1 commit
  17. 30 May, 1999 3 commits
    • bertrand's avatar
      use new stream code instead of raw file * stuff. · 1c110659
      bertrand authored
      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
      1c110659
    • bertrand's avatar
      new class. Represents an abstract stream object. · b3cdb41a
      bertrand authored
      1999-05-30  bertrand  <Bertrand.Guiheneuf@inria.fr>
      
       	* camel/camel-stream.h: new class. Represents an
      	abstract stream object.
      
      svn path=/trunk/; revision=960
      b3cdb41a
    • Bertrand Guiheneuf's avatar
      sync · d32ba2a7
      Bertrand Guiheneuf authored
      svn path=/trunk/; revision=959
      d32ba2a7
  18. 27 May, 1999 2 commits
    • Bertrand Guiheneuf's avatar
      rewrite message obtained via parsing into a file. Actually, it works · 69912fc4
      Bertrand Guiheneuf authored
      
      	* 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
      69912fc4
    • Bertrand Guiheneuf's avatar
      sync · a8a38c7a
      Bertrand Guiheneuf authored
      svn path=/trunk/; revision=949
      a8a38c7a
  19. 26 May, 1999 1 commit
    • bertrand's avatar
      new func. Parses message header zone and returns a Glist of all header · 72c4a8de
      bertrand authored
      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
      72c4a8de