| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Not used, so not going to bump the libcamel soname over it.
|
| | |
|
| |
|
|
| |
No longer used. We use CamelIMAPXInputStream now.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| | |
|
| |
|
|
|
| |
Creates a label string based on the ESource's display name for use with
SecretItem.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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()
|
| |
|
|
|
| |
Convenience function creates a GMemoryInputStream from a GBytes
and hands it off to camel_mime_parser_init_with_input_stream().
|
| |
|
|
|
|
|
|
|
| |
Now creates a GUnixInputStream and hands it off to
camel_mime_parser_init_with_input_stream().
Removed functions:
camel_mime_parser_fd()
|
| |
|
|
|
| |
Similar to camel_mime_parser_init_with_stream(), but takes a
GInputStream instead of a CamelStream.
|
| | |
|
| |
|
|
| |
GOutputStream subclass to eventually replace CamelStreamNull.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
No longer used.
Removed functions:
camel_store_noop_sync()
camel_store_noop()
camel_store_noop_finish()
|
| | |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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()
|
| |
|
|
|
|
|
|
|
|
| |
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;
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
| |
Identical to EAsyncClosure in libedataserver, for use in Camel.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
| |
Was tied to "mobile mode", no longer used.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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()
|
| |
|
|
| |
Evolution uses it but Camel doesn't. Move it to Evolution.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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()
|
| | |
|
| |
|
|
|
| |
- Remove trailing tabs.
- Add terminators to multi-line lists.
|
| | |
|
| |
|
|
|
|
| |
Too simplistic.
Use CamelNetworkService's "host-reachable" property instead.
|
| | |
|
| |
|
|
| |
These classes are no longer used.
|
| |
|
|
|
|
| |
New functions:
camel_service_dup_password()
|
| |
|
|
|
|
| |
New functions:
camel_service_dup_display_name()
|
| | |
|
| |
|
|
|
| |
For developer convenience, and to help me stay disciplined about writing
API documentation... even in provider modules.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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()
|
| |
|
|
| |
No longer used.
|