1. 26 Mar, 2001 1 commit
    • Dan Winship's avatar
      Add missing accessor. · c92c8b1f
      Dan Winship authored
      	* camel-url.c (camel_url_get_param): Add missing accessor.
      
      svn path=/trunk/; revision=8943
      c92c8b1f
  2. 25 Mar, 2001 2 commits
  3. 09 Jan, 2001 1 commit
    • Dan Winship's avatar
      Kill off a long-hated Camel kludge: "empty" URLs and · 0d54c483
      Dan Winship authored
      	query_auth_types_generic.
      
      	* camel-url.c: Remove "empty" from CamelURL.
      	(camel_url_new): No longer set it.
      	(camel_url_to_string): Treat "" as equivalent to NULL for
      	authmech. (Unrelated change, but it simplifies some stuff with the
      	new config dialog.)
      
      	* camel-service.c (camel_service_new): Remove url->empty check: if
      	the URL isn't valid, we don't create the service.
      	(camel_service_query_auth_types): No longer need to switch between
      	generic and connected variants.
      
      	* providers/smtp/camel-smtp-transport.c (query_auth_types):
      	* providers/pop3/camel-pop3-store.c (query_auth_types):
      	* providers/nntp/camel-nntp-store.c (nntp_store_query_auth_types):
      	* providers/imap/camel-imap-store.c (query_auth_types):
      	* camel-remote-store.c (remote_query_auth_types): Remove generic
      	version, rename connected version.
      
      svn path=/trunk/; revision=7327
      0d54c483
  4. 08 Aug, 2000 1 commit
    • Not Zed's avatar
      Only retry another uid if we had a name clash, otherwise fail. · a7943ce5
      Not Zed authored
      2000-08-07  Not Zed  <NotZed@HelixCode.com>
      
              * providers/mh/camel-mh-folder.c (mh_append_message): Only retry
              another uid if we had a name clash, otherwise fail.
      
      2000-08-04  Not Zed  <NotZed@HelixCode.com>
      
              * camel-url.c (camel_url_set_protocol):
              (camel_url_set_host):
              (camel_url_set_path):
              (camel_url_set_port): Url editing functions.
      
      2000-08-02  Not Zed  <NotZed@HelixCode.com>
      
              * providers/mh/camel-mh-summary.c (camel_mh_summary_sync): Expunge
              from the end, so the index isn't messed up when you remove a
              message.
      
              * providers/mh/camel-mh-folder.c (mh_append_message): Fix a bug
              where it would never open an output file/uid.
      
              * providers/mbox/camel-mbox-store.c (rename_folder):
              Implementation for mbox as well.
      
              * camel-store.c (camel_store_rename_folder): New method to rename folders.
              (rename_folder): Default implementation.
      
              * providers/mh/camel-mh-store.c (delete_folder): Implement this.
              (rename_folder): Implement a rename operation.
      
      svn path=/trunk/; revision=4590
      a7943ce5
  5. 30 May, 2000 1 commit
    • Not Zed's avatar
      Init filter_from to NULL, for exception case. (mbox_get_message_by_uid): · 631dda8a
      Not Zed authored
      2000-05-30  Not Zed  <NotZed@HelixCode.com>
      
              * providers/mbox/camel-mbox-folder.c (mbox_append_message): Init
              filter_from to NULL, for exception case.
              (mbox_get_message_by_uid): Cast off_t to long int for diagnostics.
      
              * camel-url.c (camel_url_hash): Hash funciton for using camel
              url's as hash keys.
              (camel_url_equal): equal function for same.
      
              * camel-session.c (camel_session_finalise): Free cached services.
              (camel_session_init): Init service cache.
              (service_cache_remove): destroy callback to remove a service from
              the cache.
      
              * camel-store.c (get_folder_internal): Remove the extra ref of the
              folder.  That seems the right behaviour ...?
              (camel_store_get_type): Doh, actually call store init, so the
              cache works.
              (cache_folder): strdup the folder name!  no wonder it never found
              it again.
      
      svn path=/trunk/; revision=3298
      631dda8a
  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. 04 May, 2000 1 commit
    • Dan Winship's avatar
      New function to replace camel_provider_scan. Returns a list of either (a) · ba6b73fe
      Dan Winship authored
              * camel-session.c (camel_session_list_providers): New function to
              replace camel_provider_scan. Returns a list of either (a) all
              currently-loaded providers, or (b) all available providers.
      
              * camel-url.[ch]: Add an "empty" flag to CamelURL (indicating that
              it contains only a protocol).
      
              * camel-service.c (camel_service_query_auth_types): Make this take
              a CamelException (since it may have to try to connect to the
              server, and it might not able to.)
      
              * providers/pop3/camel-pop3-store.c: add KPOP (Kerberized POP)
              support. This is mostly so I have two kinds of authmech to play
              with instead of just one. (But it does actually work.)
      
              * providers/smtp/camel-smtp-transport.c (query_auth_types): update
              for prototype change, but disable the functionality, since it
              doesn't really support any auth types yet.
              (camel_smtp_transport_get_type): add an object init function to
              set the service url_flags.
      
      svn path=/trunk/; revision=2797
      ba6b73fe
  8. 27 Apr, 2000 1 commit
    • Dan Winship's avatar
      expose these routines. · e5d2b62b
      Dan Winship authored
      	* camel-url.[ch] (camel_url_encode, camel_url_decode): expose
      	these routines.
      
      svn path=/trunk/; revision=2661
      e5d2b62b
  9. 06 Apr, 2000 1 commit
    • Dan Winship's avatar
      the URL RFC says the port must be numeric, so we don't want to do · 2e4a5463
      Dan Winship authored
      	* g_url_new really wanted to take a CamelException. So, rename
      	Gurl to CamelURL, g_url_* to camel_url_* (with camel_url_new
      	taking an exception), and url-util.[ch] to camel-url.[ch]. Also
      	force url->port to be numeric and remove camel_service_getport. (I
      	was confused before: the URL RFC says the port must be numeric, so
      	we don't want to do getportbyname.)
      
      svn path=/trunk/; revision=2300
      2e4a5463
  10. 09 Mar, 2000 1 commit
  11. 03 Jan, 2000 1 commit
  12. 14 Dec, 1999 1 commit
  13. 05 Nov, 1999 1 commit
  14. 23 Oct, 1999 1 commit
  15. 03 Aug, 1999 1 commit
    • bertrand's avatar
      Multipart Mime message parsing works with plain text parts. Woohooo :)))) · e9c6d892
      bertrand authored
      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
      e9c6d892
  16. 01 Aug, 1999 1 commit
  17. 15 Jul, 1999 2 commits
  18. 24 Apr, 1999 2 commits
    • bertrand's avatar
      s/new_g_url/g_url_new · e309ab57
      bertrand authored
      1999-04-24  bertrand <Bertrand.Guiheneuf@inria.fr>
      
      	* camel/url-util.[ch]: s/new_g_url/g_url_new
      
      svn path=/trunk/; revision=875
      e309ab57
    • bertrand's avatar
      URL rewritten completely. Error handling not implemented in public · 0a2e9eef
      bertrand authored
      1999-04-24  bertrand <Bertrand.Guiheneuf@inria.fr>
      
      	* camel/url-util.c (new_g_url): URL
      	rewritten completely. Error handling not
      	implemented in public functions.
      	But URL scan works pretty well :)))
      
      svn path=/trunk/; revision=874
      0a2e9eef
  19. 23 Apr, 1999 2 commits
    • bertrand's avatar
      I needed the url functions to use GString, and I wanted a more general · 427646ed
      bertrand authored
      1999-04-24 bertrand <Bertrand.Guiheneuf@inria.fr>
      
      	* camel/url-util.[ch]: I needed the url
      	functions to use GString, and I wanted a more
      	general scheme so I finally started rewriting
      	the whole thing from scratch.
      	No more code from gzilla :(
      
      svn path=/trunk/; revision=872
      427646ed
    • bertrand's avatar
      Utility functions to parse URLs. Stolen shamelessly from gzilla · f30be523
      bertrand authored
      1999-04-23  bertrand <Bertrand.Guiheneuf@inria.fr>
      
      	* camel/url-util.[ch]:
      	Utility functions to parse URLs.
      	Stolen shamelessly from gzilla (www.gzilla.com)
      	written by Raph Levien <raph@acm.org>
      
      	* camel/Makefile.am: added url-util.[ch]
      	compilation.
      
      svn path=/trunk/; revision=871
      f30be523
  20. 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