summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* CamelDataWrapper: Add construct_from_input_stream() method.Matthew Barnes2014-03-061-0/+3
| | | | | | | | | | | | | | | | Takes a GInputStream instead of a CamelStream. This will eventually replace the construct_from_stream() method. New functions: camel_data_wrapper_construct_from_input_stream_sync() camel_data_wrapper_construct_from_input_stream() camel_data_wrapper_construct_from_input_stream_finish() Also adapted subclass methods in: CamelMimePart CamelMultipartSigned
* Remove unused CAMEL_STORE_FOLDER_CREATE_EXCL.Matthew Barnes2014-03-031-1/+0
| | | | Not used, so not going to bump the libcamel soname over it.
* Update API documentation.Matthew Barnes2014-03-021-0/+2
|
* Remove CamelIMAPXStream.Matthew Barnes2014-02-233-39/+0
| | | | No longer used. We use CamelIMAPXInputStream now.
* Add CamelIMAPXInputStream.Matthew Barnes2014-02-232-1/+37
| | | | | | | | | | | Replaces the input side of CamelIMAPXStream. Currently derived from only GFilterInputStream to keep the code changes to a minimum until I can verify this works, but eventually would like to derive from GDataInputStream for reading and buffering whole lines. Unfortunately this requires switching all of IMAPX over at once, so this is a rather large commit.
* Add camel_imapx_stream_nstring_bytes().Matthew Barnes2014-02-231-1/+1
| | | | | | | | | | Replaces camel_imapx_stream_nstring_stream(). Produces a GBytes instead of a CamelStreamMem. GBytes works better than GOutputStream would because it can be reused without seeking to the beginning. This basically converts message fetching to use GIO streams directly.
* Add CamelIMAPXLogger.Matthew Barnes2014-02-233-0/+22
| | | | | | This is a GConverter that just echos data to standard output if the I/O debugging setting is enabled ('CAMEL_DEBUG=imapx:io'). Attaches to the GInputStream and GOutputStream.
* IMAPX: Add camel_imapx_server_ref_output_stream().Matthew Barnes2014-02-231-0/+1
| | | | | | | | Returns the GOutputStream for a CamelIMAPXServer, which is owned by either a GTcpConnection or a GSubprocess. The function doesn't actually return anything yet; just roughing in the API. Will make it work in subsequent commits.
* IMAPX: Add camel_imapx_server_ref_input_stream().Matthew Barnes2014-02-231-0/+1
| | | | | | | | Returns the GInputStream for a CamelIMAPXServer, which is owned by either a GTcpConnection or a GSubprocess. The function doesn't actually return anything yet; just roughing in the API. Will make it work in subsequent commits.
* CamelDataWrapper: Add GOutputStream-based methods.Matthew Barnes2014-02-231-0/+6
| | | | | | | | | | | | | | | | | | | | These will eventually replace their CamelStream-based counterparts. New functions: camel_data_wrapper_write_to_output_stream_sync() camel_data_wrapper_write_to_output_stream() camel_data_wrapper_write_to_output_stream_finish() camel_data_wrapper_decode_to_output_stream_sync() camel_data_wrapper_decode_to_output_stream() camel_data_wrapper_decode_to_output_stream_finish() Also added/adapted subclass methods in: CamelMimeMessage CamelMimePart CamelMultipart CamelMultipartSigned
* Update API documentation.Matthew Barnes2014-02-161-0/+1
|
* Add e_source_dup_secret_label().Matthew Barnes2014-02-131-0/+1
| | | | | Creates a label string based on the ESource's display name for use with SecretItem.
* ESource: Add functions for password management.Matthew Barnes2014-02-121-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Replaces the EAuthenticationSession password functions. Makes password management more accessible. There's been cases where I wanted to access the keyring from clients or just outside of the normal authenication workflow, and had to copy the schema for EDS passwords. All that's needed from the ESource is its UID, so these functions can be called on unsubmitted "scratch" sources as well as registered sources. This will make it possible to accept a password during account creation and preemptively store it in the keyring to avoid a system modal dialog when first connecting. New functions: e_source_store_password_sync() e_source_store_password() e_source_store_password_finish() e_source_lookup_password_sync() e_source_lookup_password() e_source_lookup_password_finish() e_source_delete_password_sync() e_source_delete_password() e_source_delete_password_finish()
* Add camel_mime_parser_init_with_bytes().Matthew Barnes2014-02-061-0/+1
| | | | | Convenience function creates a GMemoryInputStream from a GBytes and hands it off to camel_mime_parser_init_with_input_stream().
* Reimplement camel_mime_parser_init_with_fd().Matthew Barnes2014-02-051-1/+0
| | | | | | | | | Now creates a GUnixInputStream and hands it off to camel_mime_parser_init_with_input_stream(). Removed functions: camel_mime_parser_fd()
* Add camel_mime_parser_init_with_input_stream().Matthew Barnes2014-02-051-0/+1
| | | | | Similar to camel_mime_parser_init_with_stream(), but takes a GInputStream instead of a CamelStream.
* Update API documentation.Matthew Barnes2014-02-022-0/+2
|
* Add CamelNullOutputStream.Matthew Barnes2014-01-303-2/+23
| | | | GOutputStream subclass to eventually replace CamelStreamNull.
* Add camel_imapx_server_shutdown().Matthew Barnes2014-01-191-0/+1
| | | | | | | Lets CamelIMAPXStore explicitly tell its server to shut down command processing. Better than doing this implicitly from dispose(), since both the idle and parser threads now hold a reference to the server, and we no longer join with the idle thread.
* CamelStore: Remove noop_sync() method.Matthew Barnes2014-01-171-3/+0
| | | | | | | | | | No longer used. Removed functions: camel_store_noop_sync() camel_store_noop() camel_store_noop_finish()
* Update API documentation.Matthew Barnes2013-12-081-0/+1
|
* Restructuring documentation build.Tristan Van Berkom2013-12-0651-5118/+4789
| | | | | | | | This commit unifies the various EDS related reference manuals into a single 'eds' reference manual. This comprises libedataserver, libebackend, libebook, libebook-contacts, libedata-book, libecal, libedata-cal into a single reference manual. The camel and private reference manuals are left alone.
* CamelStore: Stop using the internal 'folder_lock'.Matthew Barnes2013-12-051-2/+0
| | | | | | | | | | | | | | | | Use camel_service_queue_task() instead of locking an internal mutex. This ensures methods are run in the order they were called, and also makes cancellation of a waiting method immediate instead of blocking until it acquires the mutex it's competing for. This requires flip-flopping some synchronous and asynchronous functions, so that the synchronous function calls its asynchronous counterpart with help from CamelAsyncClosure. Removed functions: camel_store_lock() camel_store_unlock()
* Add CAMEL_CHECK_LOCAL_GERROR.Matthew Barnes2013-12-051-0/+1
| | | | | | | | | | Same as CAMEL_CHECK_GERROR, but for direct GError pointers. Example: success = class->foo (object, some_data, &local_error); CAMEL_CHECK_LOCAL_GERROR (object, foo, success, local_error); return success;
* Add camel_service_queue_task().Matthew Barnes2013-12-051-0/+1
| | | | | | | | | | | | Adds a GTask to a queue of waiting tasks with the same source object. Queued tasks execute one at a time from a separate thread in the order they were added. This is primarily intended for use by CamelStore, CamelTransport and CamelFolder to achieve ordered invocation of synchronous class methods. This will finally fix Camel's long-standing (mis)use of mutexes as a dispatch mechanism, which doesn't preserve order and isn't cancellable.
* Deprecate ECancellable[Rec]Mutex.Matthew Barnes2013-12-041-0/+1
|
* Add CamelAsyncClosure.Matthew Barnes2013-12-012-0/+11
| | | | Identical to EAsyncClosure in libedataserver, for use in Camel.
* Remove unused camel_session_get_main_context().Matthew Barnes2013-11-301-2/+0
|
* Remove unused camel_service_get_session().Matthew Barnes2013-11-301-2/+0
|
* CamelIMAPXSettings: Remove unused "mobile-mode" property.Matthew Barnes2013-11-291-2/+0
| | | | | | | Not used by Evolution and not clear what this mode even means. Removing it makes a bunch of confusing complexity drop out, which is justication enough for me.
* CamelPOP3Settings: Remove unused "batch-fetch-count" property.Matthew Barnes2013-11-291-2/+0
| | | | Was tied to "mobile mode", no longer used.
* CamelPOP3Settings: Remove unused "mobile-mode" property.Matthew Barnes2013-11-291-2/+0
| | | | | | | Not used by Evolution and not clear what this mode even means. Removing it makes a bunch of confusing complexity drop out, which is justification enough for me.
* CamelFolder: Remove unused fetch_messages_sync() method.Matthew Barnes2013-11-291-4/+0
| | | | | | | | The method is not used by Evolution and was partially broken anyway. The boolean return value was overloaded to mean both whether an error occurred AND whether there were more messages to fetch. That's more than two possible states and would have required an additional "out" parameter to clarify, but I'm not going to bother with it.
* CamelSession: Add a "user-alert" signal.Matthew Barnes2013-11-271-1/+1
| | | | | | | | | | | | | | This replaces the interactive "alert_user()" method since the interactive aspect is no longer used and proved difficult for applications to handle correctly. New functions: camel_session_user_alert() Removed functions: camel_session_alert_user()
* CamelSession: Remove "check-junk" property.Matthew Barnes2013-11-241-2/+0
| | | | Evolution uses it but Camel doesn't. Move it to Evolution.
* Add camel_network_service_can_reach_sync().Matthew Barnes2013-11-221-0/+3
| | | | | | | | | | | | Just wrappers g_network_monitor_can_reach() using the service's own GSocketConnectable, but also updates the "host-reachable" property. External callers can use this to synchronously update the property, in case they need an up-to-date result to make a decision. Also adds equivalent asynchronous functions: camel_network_service_can_reach() camel_network_service_can_reach_finish()
* Update API documentation.Matthew Barnes2013-11-175-1/+83
|
* Makefile.am cleanups.Matthew Barnes2013-11-1710-119/+160
| | | | | - Remove trailing tabs. - Add terminators to multi-line lists.
* Fix distcheck error.Matthew Barnes2013-11-171-0/+1
|
* CamelSession: Remove "network-available" property.Matthew Barnes2013-11-141-2/+0
| | | | | | Too simplistic. Use CamelNetworkService's "host-reachable" property instead.
* Remove "CamelDisco" classes from documentation TOC.Matthew Barnes2013-11-131-7/+0
|
* Remove CamelDisco{Diary,Folder,Store}.Matthew Barnes2013-11-132-71/+0
| | | | These classes are no longer used.
* CamelService: Make "password" property thread-safe.Matthew Barnes2013-11-061-0/+1
| | | | | | New functions: camel_service_dup_password()
* CamelService: Make "display-name" property thread-safe.Matthew Barnes2013-11-061-0/+1
| | | | | | New functions: camel_service_dup_display_name()
* Remove unused camel_read/write_socket().Matthew Barnes2013-11-031-2/+0
|
* Add the other Camel services to API documentation.Matthew Barnes2013-11-034-592/+1398
| | | | | For developer convenience, and to help me stay disciplined about writing API documentation... even in provider modules.
* Convert IMAPX back to a loadable module.Matthew Barnes2013-10-312-35/+56
| | | | | | | | Since evolution-kolab is no longer active, convert the IMAPX provider back to a loadable module so that necessary changes can be made without affecting libcamel's public API. The IMAPX chapter of Camel's API documentation will remain, however.
* Add macros/functions to help name timeouts.Matthew Barnes2013-10-291-0/+6
| | | | | | | | | | | | | | | | The macros form a name for the timeout GSource implicitly. New macros: e_named_timeout_add() e_named_timeout_add_full() e_named_timeout_add_seconds() e_named_timeout_add_seconds_full() New functions (called by the macros): e_timeout_add_with_name() e_timeout_add_seconds_with_name()
* CamelIMAPXStoreSummary cleanups.Matthew Barnes2013-10-271-1/+0
| | | | | | | | | CamelIMAPXStoreSummary has no public or private members, so no reason to cast pointers to that type. Stick with plain (CamelStoreSummary *). Removed functions: camel_imapx_store_summary_new()
* Remove CamelIMAPXStoreNamespace.Matthew Barnes2013-10-271-1/+0
| | | | No longer used.