1. 18 Oct, 2000 1 commit
    • Not Zed's avatar
      No, we must not encode the headers here. These interfaces ARE raw · 229f78b9
      Not Zed authored
      2000-10-18  Not Zed  <NotZed@HelixCode.com>
      
      	* camel-mime-part.c (add_header): No, we must not encode the
      	headers here.  These interfaces ARE raw interfaces as they are
      	defined in camel_medium.  Also removed a bogus/meaningless FIXME.
      	(set_header): Likewise here, we must not.
      	(process_header): Removed another bogus comment.
      
      	* camel-object.c (shared_is_of_type): Comment out the spitting of
      	a big warning when we're trying to determine types from code.
      
      	* providers/mbox/camel-mbox-summary.c
      	(message_info_new_from_parser): Only call ibex funcitons if we
      	have an index.
      
      	* providers/mh/camel-mh-summary.c (camel_mh_summary_add): Only
      	call ibex functions if we have an index.
      	(remove_summary): Likewise.
      	(camel_mh_summary_check): Likewise.
      
      	* providers/nntp/camel-nntp-store.c (nntp_store_get_folder):
      	get_folder -> flags argument.
      
      	* providers/vee/camel-vee-store.c (vee_get_folder): create->flags.
      
      	* providers/pop3/camel-pop3-store.c (get_folder): Changed create
      	-> flags.
      
      	* providers/imap/camel-imap-store.c (get_folder): Added flags
      	argument.
      
      	* providers/mh/camel-mh-folder.c (camel_mh_folder_new): Added
      	flags argument, and fixed code appropriately.
      
      	* providers/mh/camel-mh-store.c (get_folder): Added flags argument.
      
      	* camel-folder-search.c (message_body_contains): Perform a regex
      	match on the contents of messages.  This wont quite work yet as
      	message contents are encoded when written to a stream.
      	(build_match_regex): Converts a number of strings into a regex
      	matching pattern, escaping special chars.
      	(match_message): match a single message from a folder, by uid.
      	Slow.
      	(search_body_contains): Changed to support matching where no index
      	is supplied.  Matches are performed by retrieving message
      	contents, etc.
      	() WTF?  camel should not be including any widget headers.
      
      	* providers/mbox/camel-mbox-folder.c (camel_mbox_folder_new):
      	Added flags argument.
      	(mbox_refresh_info): Changed into a NOP, the refresh info code
      	moved into the new function.
      	(camel_mbox_folder_new): If we have an index requested, build one,
      	otherwise, remove an old one, or just dont do anything.
      
      	* providers/mbox/camel-mbox-store.c (get_folder): Changed create
      	to flags, changed code to suit.
      
      	* camel-store.c (camel_store_get_folder): Changed create to flags.
      	(get_folder_internal): And here.
      	(get_folder): And here too.
      
      	* camel-store.h (camel_store_get_folder): Change the create
      	argument to be a flags argument.
      
      svn path=/trunk/; revision=5978
      229f78b9
  2. 10 Aug, 2000 1 commit
  3. 07 Jun, 2000 1 commit
  4. 19 May, 2000 1 commit
    • NotZed's avatar
      > searchpart = strchr(namepart, '?'); · 2ce4eb74
      NotZed authored
      2000-05-19  NotZed  <NotZed@HelixCode.com>
      
              * camel-simple-data-wrapper.c (construct_from_stream): If we
              already have been constructed, unref our content.
              (write_to_stream): Check we've been constructued, and change for
              stream api changes.
      
              * camel-mime-parser.c: Removed exception stuff.
      
              * md5-utils.c (md5_get_digest_from_stream): repaired.
      
              * camel-mime-message.c: Remove exception from write_to_stream, and
              fix, and fix formatting.
      
              * providers/sendmail/camel-sendmail-transport.c (_send_internal):
              Fix for stream changes.
      
              * providers/pop3/camel-pop3-store.c (camel_pop3_command): Fixes
              for stream changes.
      
              * providers/mbox/camel-mbox-folder.c, and elsewhere, fix all
              stream api changes.
              (mbox_append_message): Use stream_close() now its back.
              (mbox_append_message): unref the from filter.
      
              * camel-stream-mem.c: And here.
      
              * camel-stream-fs.[ch]: Here too.
      
              * camel-stream-filter.c: Likewise.  This is getting tedious.
      
              * camel-stream-buffer.c (stream_write): Fix a few little problems.
              (stream_close): Reimplmeent.
              (camel_stream_buffer_read_line): Slightly more efficient version,
              that also only allocates the right amount of memory for strings.
      
              * camel-seekable-substream.c: Likewise.
      
              * camel-seekable-stream.[ch]: Remove exceptions, fix formatting,
              changes for stream (re)fixes.  set_bounds returns an error.
      
              * camel-stream.[ch]: Remove exceptions.  Make flush and reset return
              an error code, repair all the screwed up formatting, and put back
              close.
      
              * camel-mime-part-utils.c
              (camel_mime_part_construct_content_from_parser): And here.
      
              * camel-mime-part.c (camel_mime_part_set_content): And this too.
              (write_to_stream): Fixed for stream changes.
      
              * camel.h: Fixed.
      
              * providers/vee/camel-vee-folder.c (vee_search_by_expression):
              Implement.  Performs an intersection of the two searches.
              (camel_vee_folder_finalise): Unref search folders.
              (vee_append_message): Implement append.
      
      svn path=/trunk/; revision=3142
      2ce4eb74
  5. 08 May, 2000 1 commit
    • Dan Winship's avatar
      Use CamelException to signal failure. (camel_stream_write_strings): · 65ec43cb
      Dan Winship authored
      	* camel-stream.c (camel_stream_read, camel_stream_write,
      	camel_stream_flush, camel_stream_reset, camel_stream_printf,
      	camel_stream_write_to_stream): Use CamelException to signal
      	failure.
      	(camel_stream_write_strings): Remove. camel_stream_printf is more
      	useful in most of the places that used this.
      	(camel_stream_write_string): Change from macro to function to
      	prevent problems with double-evaluation.
      
      	* camel-seekable-stream.c (camel_seekable_stream_seek,
      	camel_seekable_stream_set_bounds): Use CamelException.
      	(reset): Update.
      
      	* camel-seekable-substream.c, camel-stream-buffer.c,
      	camel-stream-filter.c, camel-stream-fs.c, camel-stream-mem.c:
      	Update.
      
      	* camel-stream-fs.c: Remove the virtual init functions and move
      	the code into the creator functions. Add CamelExceptions to
      	creation functions that could fail.
      
      	* camel-data-wrapper.c (camel_data_wrapper_write_to_stream): Use
      	CamelException.
      	* camel-mime-message.c, camel-mime-part.c, camel-multipart.c
      	(write_to_stream): Update.
      
      	* camel-mime-parser.c: add an exception to the mime parser private
      	data and pass that to stream functions as needed.
      
      	* gmime-content-field.c, md5-utils.c: Update (badly) for stream
      	changes.
      
      	* camel-exception.h (camel_exception_is_set): convenience macro.
      
      	* providers/Makefile.am: disable SMTP for now
      
      	* providers/mbox/camel-mbox-folder.c (mbox_append_message): Pass
      	CamelException to the functions that now need it. Check the
      	exception after calling camel_stream_flush, and fail if it fails.
      	(mbox_get_message_by_uid): More updates.
      
      	* providers/pop/camel-pop3-folder.c,
      	providers/pop/camel-pop3-store.c,
      	providers/sendmail/camel-sendmail/transport.c: Update.
      
      svn path=/trunk/; revision=2924
      65ec43cb
  6. 07 May, 2000 1 commit
    • Dan Winship's avatar
      Make camel not leak like a sieve. · 580d8858
      Dan Winship authored
      	* camel-object.c: New subclass of GtkObject which is now the base
      	of the Camel object hierarchy. Currently the only difference
      	between CamelObject and GtkObject is that CamelObjects don't start
      	out floating.
      
      	* *.h: Move a bunch of typedefs to camel-types.h. Standardize on
      	using <camel/foo.h> in header files rather than <foo.h>, "foo.h",
      	or "camel/foo.h". Remove some unneeded includes.
      
      	* camel-address.c, camel-data-wrapper.c, camel-folder-search.c,
      	camel-folder-summary.c, camel-folder.c, camel-mime-filter.c,
      	camel-mime-parser.c, camel-service.c, camel-session.c,
      	camel-stream.c: These are now subclasses of CamelObject.
      
      	* camel-data-wrapper.c (set_output_stream):
      	* camel-medium.c (set_content_object):
      	* camel-seekable-substream.c
      	(init_with_seekable_stream_and_bounds):
      	* providers/mbox/camel-mbox-folder.c (mbox_get_message_by_uid):
      	remove gtk_object_sink calls.
      
      	* camel-stream-buffer.c (init_vbuf):
      	* camel-stream-filter.c (camel_stream_filter_new_with_stream):
      	ref the original stream.
      
      	* camel-folder-summary.c (camel_folder_summary_finalise): unref
      	the filters when finalizing.
      
      	* camel-mime-part-utils.c
      	(simple_data_wrapper_construct_from_parser,
      	camel_mime_part_construct_content_from_parser):
      	* camel-mime-part.c (camel_mime_part_set_content): Unref objects
      	that are created only to be handed off to other objects. If
      	they're going to be needed later, they will have been additionally
      	ref'ed by the object that needs them.
      
      	* providers/pop3/camel-pop3-folder.c (get_message_by_number):
      	unref the message stream after creating the data from it.
      
      	* camel-stream.c, camel-stream-buffer.c, camel-stream-filter.c,
      	camel-stream-fs.c, camel-stream-mem.c: Remove camel_stream_close,
      	since its semantics are dubious (what happens when you close a
      	stream other people still have references on?).
      
      	* providers/nntp/camel-nntp-store.c:
      	* providers/smtp/camel-smtp-transport.c:
      	* providers/pop3/camel-pop3-store.c:
      	replace camel_stream_close calls with gtk_object_unref.
      
      	* providers/mbox/camel-mbox-folder.c:
      	* providers/nntp/camel-nntp-folder.c:
      	* providers/sendmail/camel-sendmail-transport.c:
      	replace camel_stream_close with camel_stream_flush +
      	gtk_object_unref
      
      svn path=/trunk/; revision=2882
      580d8858
  7. 26 Apr, 2000 1 commit
    • NotZed's avatar
      Big cleanup of camel-stream-*, got rid of 3 classes, improved the interfaces, · c93a2e37
      NotZed authored
      and fixed at least one problem (end of stream never happening in certain
      cases).  Things that can fail now have a way of saying they failed too.
      
      So much for taking ANZAC day off to get drunk!
      
      2000-04-26  NotZed  <NotZed@HelixCode.com>
      
      	* camel-seekable-substream.c (stream_seek): Changed to have
      	absolute seek semantics, not relative to the bounds.
      
      	* camel-seekable-stream.c (reset): When we reset, seek to the
      	start of the bound, if there is one.
      	(stream_tell): Make tell virtual.
      
      	* camel-stream-filter.c (do_available): Removed.
      
      	* camel-stream-buffer.c: Remove leading _'s from static functions.
      	(stream_read): Renamed from read().  Fancy that conflicting!  (my
      	boo!)  Others too.
      
      	* providers/pop3/camel-pop3-folder.c (get_message_by_number):
      	Changed to stream_mem interface.
      
      	* providers/mbox/camel-mbox-folder.c (_get_message_by_uid): Fixed
      	for streamfs interface changes, and implement a failure case.
      	(_append_message): Changed for fs stream interface change.
      
      	* camel-multipart.c (print_part): Iterate rahter than callback.  I
      	hate glists's interface (hence, move this to write_to_stream).
      	(write_to_stream): Return an error (yuck, this is a royal PITA to
      	do with the stream write interface).
      
      	* camel-mime-message.c: Removed leading _ from static names.
      
      	* camel-mime-part.h: construct_from_parser() now returns an error
      	code.
      
      	* camel-mime-part-utils.c
      	(camel_mime_part_construct_content_from_parser): Changed to use a
      	camel-data-wrapper instead of a camel-simple-data-wrapper (no
      	change needed elsewhere?).
      	(simple_data_wrapper_construct_from_parser): Fixes for stream-mem
      	interface changes.
      
      	* camel-simple-data-wrapper.[ch],
      	camel-simple-data-wrapper-stream.[ch],
      	camel-stream-data-wrapper.[ch], removed.  Fixed including of these
      	files.
      
      	* camel-mime-part.c (camel_mime_part_set_text): Remove the use of
      	the camel-simple-data-wrapper-stream, just use a mem stream.
      	(write_to_stream): Renamed from my_*
      	(construct_from_stream): Return an error on error.
      
      	* camel-stream-mem.c (camel_stream_mem_new*): Remove mode
      	parameter.
      
      	* camel-stream-mem.h (enum CamelStreamMemMode): Removed.  It
      	wasn't used at all.
      
      	* camel-data-wrapper.h: Add camel_data_wrapper_new() to create
      	these.
      	(write_to_stream, construct_from_stream): Return an error
      	indicator for success.  Fixed all methods to match (ICK).
      
      	* Makefile.am (libcamel_la_SOURCES): Remove
      	camel-simple-data-wrapper.c, camel-simple-data-wrapper-stream.c,
      	camel-stream-data-wrapper.c.  Obsoleted by code re-use!
      
      	* camel-data-wrapper.c (construct_from_stream): Change the default
      	implementation to just set the output stream == construction
      	stream.  Well, this lets me get rid of both simple-data-wrapper
      	and stream-data-wrapper (unused anyway), and
      	simple-data-wrapper-stream in one hit.  CamelDataWrapper is now
      	also a concrete class.
      	(write_to_stream): Use camel_stream_write_to_stream() to
      	calculate/return values (and save code).
      	Include <errno.h> for obvious reasons.
      
      	* camel-stream.c (eos): Provide a default implementation of .eos().
      	(camel_stream_write_to_stream): Make it return an error code on
      	error.
      	(camel_stream_printf): Changed to return the number of bytes
      	written/error.
      	(camel_stream_available): Removed.
      
      	* camel-stream-fs.h (enum CamelStreamFsMode): Removed.  Changed to
      	use unix modes and so forth (wasn't used for anything but new file
      	creation and didn't work well either).
      
      	* camel-stream-fs.c: Removed leading _'s for names.  And removed
      	some virtual method 'documentation'.
      	(destroy): Dont try and close a closed/error fd.  Only report
      	error if close returns -1.  Moved all the code to finalise(), and
      	killed this function.
      	(init_with_fd): Properly setup the seek offset, if it is a
      	valid and seekable file descriptor.
      	(init_with_fd_and_bounds): Use off_t for bounds, set bounds on the
      	seekable stream.
      	(init_with_name): Return error codes.
      	(init_with_name_and_bounds): Ditto.
      	(camel_stream_fs_new_with_name): REturn NULL object if it failed.
      	(camel_stream_fs_new_with_name_and_bounds): Return NULL object on
      	failure.  Changed with_name* api's to take unix open style args
      	and flags.
      	(read): The bounded stream bounds checking seemed off, simplified
      	code a bit.
      	(write): Implement bounds checking for writing, the comment was
      	wrong, it could make sense to bound writing.  Cleaned up a little.
      	(available): Gone.
      	(eos): Removed.  Use CamelStream's implementation now.
      	(close): Reset the fd to -1, provide a warning for bad usage.
      	(seek): Cleaned up.  Changed the behaviour a little, the returned
      	offset is the absolute position in the file, even in bounded
      	streams.
      	(seek): Seek from end mirrors lseek() behaviour (reverse seeking).
      
      2000-04-25  NotZed  <NotZed@HelixCode.com>
      
      	* camel-stream-fs.h (struct _CamelStreamFs): Moved bounds and eof
      	indicator to other parent classes.
      
      	* camel-stream.c (camel_stream_printf): New utility
      	function.  Obvious use.
      
      	* camel-stream-mem.c: Removed leading _'s from static func's.
      	(camel_stream_mem_new_with_byte_array): Fixed for api changes, set
      	the owner for the byte array to us.
      	: Removed A bunch of gtk doc stuff for static (implementation) functions.
      	(available): Removed.
      	(write): Fixed the write implementation so that seek() works on a
      	seekable memory stream, as expected.  Seeking past the end of the
      	buffer has unix semantics (filling with 0).
      	(available): Removed.
      	(write): Implement seekable stream bounded stream.
      	(read): Implement seekable stream bounded stream.
      	(close): Dont free the stream_mem if we're not the owner.
      	(seek): Allow to seek beyond the end of memory area,
      	implement bounds checking.
      	(seek): Set errno on bad policy.
      
      	* camel-stream-mem.h (struct _CamelStreamMem): Changed position to off_t.
      	(new_with_buffer): Changed len to be a size_t.
      	(set_buffer, set_byte_array): New interface functions.
      	(struct _CamelStreamMem): Removed position, it is stored in the
      	superclass.
      
      	* camel-stream.h: Removed some of the seemingly random
      	whitespace.  Removed the available method (its not
      	impelemented/useful enough).
      
      	* camel-seekable-substream.c
      	(init_with_seekable_stream_and_bounds): Remove the data_available
      	stuff, it hasn't been properly implemented/finished, and may never
      	work (unfortunately *sigh).
      	(reemit_parent_signal): Removed part of the above change.
      	(set_bounds): Removed (moved to seekable-stream).
      	: Fixed up some of the generally unreadable indenting (sorry,
      	wrapping at 80 characters with
      	camels_really_long_function_names()
      	just_doesnt_work_very_well_does_it().
      	(available): Removed.
      	(stream_seek): Fixup for object changes.  Make sure we return -1
      	if the parent stream can't seek.
      
      	* camel-seekable-stream.c (ccamel_seekable_stream_set_bounds): New
      	function to bound any seekable stream.
      	: Removed _'s.
      	(camel_seekable_stream_class_init): Implement an init function, to
      	setup the stream bounds to unbound.
      
      	* camel-seekable-stream.h (CamelSeekableStreamClass): New virtual
      	method set_bounds for seekable streams.
      	(CAMEL_STREAM_UNBOUND): New define for no bound.
      
      	* camel-seekable-substream.h (struct _CamelSeekableSubstream):
      	Removed sup_bound and inf_bound, moved to CamelSeekableStream (and
      	renamed, and changed to off_t's).
      	(new_with_seekable_stream_and_bounds): Use off_t as the bounds.
      	(CamelSeekableSubstreamClass): Uh, why was the intialiser virtual?
      	Removed.
      
      	* camel-seekable-stream.[ch] (CamelSeekableStreamClass): Changed seek
      	to accept an off_t as the offset.
      	(struct _CamelSeekableStream): Renamed cur_pos to position and
      	changed it to an off_t type.
      	(enum CamelStreamSeekPolicy): Set to match the SEEK_* constants
      	from lseek().
      	(get_current_position): Renamed to tell().
      
      	* camel-stream-buffer.h: Commented out set_vbuf - never implemented.
      
      svn path=/trunk/; revision=2624
      c93a2e37
  8. 27 Mar, 2000 1 commit
  9. 09 Mar, 2000 1 commit
  10. 19 Feb, 2000 1 commit
    • Dan Winship's avatar
      New header with the typedefs for all camel classes. Now the class headers · e72c45d3
      Dan Winship authored
      	* camel/camel-types.h: New header with the typedefs for all camel
      	classes. Now the class headers can just include this and the
      	header for the parent type. This makes it possible for
      	CamelService to include a CamelSession without creating an
      	#include loop.
      
      	* camel/*:
      	* composer/e-msg-composer-attachment-bar.h:
      	* mail/folder-browser.c:
      	* mail/message-list.c: frob #includes to match the new reality
      
      svn path=/trunk/; revision=1850
      e72c45d3
  11. 25 Jan, 2000 1 commit
    • bertrand's avatar
      parent class is now CamelSeekableStream idem idem idem idem (_seek): · 50e5c22f
      bertrand authored
      2000-01-24  bertrand  <bertrand@helixcode.com>
      
      	* camel/camel-seekable-stream.c:
      	* camel/camel-seekable-stream.h:
      
      	* camel/camel-simple-data-wrapper-stream.h:  parent class is now
      	CamelSeekableStream
      	* camel/camel-stream-buffered-fs.h: idem
      	* camel/camel-stream-buffered-fs.c: idem
      	* camel/camel-stream-mem.h: idem
      	* camel/camel-stream-mem.c: idem
      	(_seek): change declaration
      	* camel/camel-stream-fs.c: parent class is now
      	CamelSeekableStream
      	(_seek): change declaration
      
      	* camel/camel-stream-fs.h: parent class is now
      	CamelSeekableStream
      
      Major compatible change in the stream hierarchy.
      Removed the seek method from the general streams
      so that we can use them as "DataSources".
      
      svn path=/trunk/; revision=1622
      50e5c22f
  12. 03 Jan, 2000 1 commit
  13. 14 Dec, 1999 1 commit
  14. 17 Nov, 1999 1 commit
    • Ettore Perazzoli's avatar
      More work: · 9663037f
      Ettore Perazzoli authored
      - Fixed some Camel API naming issues.
      - Moved the message composer stuff to the `composer' directory.
      
      svn path=/trunk/; revision=1395
      9663037f
  15. 23 Oct, 1999 1 commit
  16. 29 Aug, 1999 1 commit
  17. 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
  18. 02 Aug, 1999 1 commit
  19. 01 Aug, 1999 2 commits
    • Bertrand Guiheneuf's avatar
      new memory buffer based stream. · c54abe88
      Bertrand Guiheneuf authored
      	* camel/camel-stream-mem.c:
      	* camel/camel-stream-mem.h:
      	new memory buffer based stream.
      
      	* camel/camel-stream-fs.c (_seek):
      	implementation for file system based stream.
      
      	* camel/camel-stream.c (camel_stream_seek):
      	new method.
      
      	* camel/camel-stream-fs.c (camel_stream_fs_class_init):
      	pass CamelStreamFsClass instead of CamelStreamClass.
      
      svn path=/trunk/; revision=1056
      c54abe88
    • Bertrand Guiheneuf's avatar
      merge a lot of work. Rough ChangeLog will follow · cac0ba57
      Bertrand Guiheneuf authored
      svn path=/trunk/; revision=1052
      cac0ba57
  20. 15 Jul, 1999 1 commit
    • Miguel de Icaza's avatar
      Implemented base64 encoder based on CamelStreams. Should the · fce26238
      Miguel de Icaza authored
      1999-07-13  Miguel de Icaza  <miguel@gnu.org>
      
      	* camel/gmime-base64.c (gmime_encode_base64): Implemented base64
      	encoder based on CamelStreams.  Should the encoder/decoder be a
      	Stream itself?
      
      	* camel/gmime-utils.c: include config.h here.
      	* camel/url-util.c: ditto.
      	* camel/gstring-util.c: ditto.
      	* camel/gmime-content-field.c: ditto.
      	* camel/camel-stream.c: ditto.
      	* camel/camel-stream-fs.c: ditto.
      	* camel/camel-store.c: ditto.
      	* camel/camel-simple-data-wrapper.c: ditto.
      	* camel/camel-session.c: ditto.
      	* camel/camel-service.c: ditto.
      	* camel/camel-mime-part.c: ditto.
      	* camel/camel-mime-message.c: ditto.
      	* camel/camel-log.c: ditto.
      	* camel/camel-data-wrapper.c: ditto
      	* camel/camel-folder.c: ditto.
      
      	* camel/camel-stream.c (camel_stream_write): Moved api
      	documentation to the places that they document.
      	(camel_stream_class_init): Virtual classes do not need to have a
      	default implementation.  So null them all.
      	(camel_stream_write): Return value from write.
      	(camel_stream_available): implement.
      	(camel_stream_write_strings): documented.
      
      	* devel-docs/query/virtual-folder-in-depth.sgml: Small
      	reformatting
      
      1999-06-28  bertrand  <Bertrand.Guiheneuf@inria.fr>
      
      	* tests/test2.c (main): now use
      	CamelDataWrapper::contruct_form_stream to test
      
      svn path=/trunk/; revision=1024
      fce26238
  21. 30 May, 1999 2 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
  22. 25 Apr, 1999 3 commits
    • bertrand's avatar
      initialize folder object. · d224d1aa
      bertrand authored
      1999-04-25  bertrand <Bertrand.Guiheneuf@inria.fr>
      
      	* camel/camel-session.c (camel_session_get_store_from_provider):
      	initialize folder object.
      
      	* camel/camel-store.c (init): new method.
      	called by session object at instantiation time.
      
      	* camel/camel-store.h (struct _CamelStore):
      	new fields : session and url_name
      
      svn path=/trunk/; revision=879
      d224d1aa
    • bertrand's avatar
      new method to set the default provider for a protocol. · f9595bb2
      bertrand authored
      1999-04-25  bertrand <Bertrand.Guiheneuf@inria.fr>
      
      	* camel/camel-session.c (camel_session_set_provider):
      	new method to set the default provider for a protocol.
      	(camel_session_get_store_from_provider):
      	new method to instantiate a folder from a provider.
      
      	* camel/camel-provider.h: s/GString/gchar/g
      	+ typo fix.
      
      svn path=/trunk/; revision=878
      f9595bb2
    • Bertrand Guiheneuf's avatar
      start session object · 8fa0292a
      Bertrand Guiheneuf authored
      svn path=/trunk/; revision=877
      8fa0292a
  23. 21 Apr, 1999 2 commits
    • bertrand's avatar
      more test implementation. · ed6323e9
      bertrand authored
      1999-04-22  bertrand <Bertrand.Guiheneuf@inria.fr>
      
      	* camel/providers/MH/camel-mh-store.c:
      	more test implementation.
      
      	* camel/camel-store.c (camel_store_get_type): typo fix
      
      A lot of small adds and corrections.
      
      svn path=/trunk/; revision=867
      ed6323e9
    • bertrand's avatar
      start test provider. · b23f36ba
      bertrand authored
      1999-04-21  bertrand <Bertrand.Guiheneuf@inria.fr>
      
      	* camel/providers/MH/camel-mh-folder.c (camel_mh_folder_get_type):
      	start test provider.
      
      svn path=/trunk/; revision=864
      b23f36ba
  24. 18 Apr, 1999 2 commits
    • bertrand's avatar
      implemented (partially) have to write CamelStore before finishing it. · b6df9d55
      bertrand authored
      1999-04-18   bertrand <Bertrand.Guiheneuf@inria.fr>
      
      	* camel/camel-folder.c:
      	(camel_folder_create): implemented (partially)
      	have to write CamelStore before finishing it.
      
      	* camel/camel-folder.h (CamelFolder): added full_name field
      	(CamelFolderClass): added set/get_full_name methods
      
      Some more work
      
      svn path=/trunk/; revision=853
      b6df9d55
    • bertrand's avatar
      some work log system for camel some utilities for GString objects · 0057293c
      bertrand authored
      1999-04-18  bertrand <Bertrand.Guiheneuf@inria.fr>
      
      	* camel/camel-folder.c: some work
      	* camel/camel-log.c: log system for camel
      	* camel/gstring-util.c: some utilities for GString objects
      
      
      Work on obmail translation.
      
      Bertrand
      
      svn path=/trunk/; revision=851
      0057293c