Commit Graph

1700 Commits

Author SHA1 Message Date
ecd4e2f295 Bug #632176 - Force user name on Google calendar/address book 2010-11-08 17:57:46 +01:00
1f17dab6b0 Move calendar preferences to the calendar module.
Continue replacing the use of calendar-config functions with GObject
property bindings to EShellSettings properties.
2010-11-04 14:19:50 -04:00
a2e309c2a1 Rename CalUnits to EDurationType.
And move the definition to e-util-enums.h so we get a GType for it.
2010-11-04 14:18:34 -04:00
fd75cdf708 Add missing libeshell.la to LIBADD in pst-import plugin 2010-11-04 11:24:58 +01:00
7d20b8fd5f Utilize the new ESourceSelector:primary-selection property. 2010-11-01 14:46:03 -04:00
831d6dca44 Kill mail_append_mail().
Use e_mail_folder_append_message() instead.
2010-10-30 21:01:11 -04:00
709a0807d3 Bug #632280 - Backup file name should include date (YYYYMMDD) 2010-10-29 17:07:00 +02:00
9662ac73cc Bug 631731 - Remove status icon from mail notifier 2010-10-27 15:08:32 -04:00
8854c727c1 Bug 632903 - Support libnotify-0.7 2010-10-22 18:54:27 -04:00
c881b5bc5e Simplify EActivity.
With unintrusive error dialogs gone, we can cut some unnecessary bits
out of EActivity.

I'm also adding a new enum property called "state", which is one of:

    E_ACTIVITY_RUNNING
    E_ACTIVITY_WAITING
    E_ACTIVITY_CANCELLED
    E_ACTIVITY_COMPLETED

The state of an activity must be explicitly changed.  In particular,
when the user cancels an activity the state should be set only after
confirming the operation has been cancelled and not when cancellation
is requested (e.g. after receiving a G_IO_ERROR_CANCELLED, not when
the GCancellable emits "cancelled").  EActivityBar and EActivityProxy
widgets have been updated to make this distinction clearer in the UI.

E_ACTIVITY_WAITING will be used when activities have to be queued and
dispatched in sequence, which I haven't written yet.
2010-10-22 14:21:22 -04:00
8da37ea812 Bug 632641 - Handle combo box text API going away 2010-10-20 15:08:16 -04:00
ae478d1e3c Collect mail enum types in e-mail-enums.h.
And generate GTypes for each of them in e-mail-enumtypes.[ch].

Also, the glib-gen.mak script forced me to add a <mail/e-mail.h>
top-level header, which really isn't a bad idea anyway.

TODO: We should do this for calendar and addressbook too.
2010-10-18 14:31:16 -04:00
ec170e47fd Move more account utilities to e-account-utils.c. 2010-10-18 12:32:38 -04:00
35e55a8d6e Send errors to an EAlertSink instead of the task bar.
This marks the end of unintrusive error dialogs, which were too
unintrusive.  We now show errors directly in the main window using
the EAlert / EAlertSink framework.
2010-10-18 12:32:37 -04:00
f7f4014e22 Bug #630518 - Hides calendar parts from multipart/alternative 2010-10-18 13:15:39 +02:00
d4e5485e02 Bug 632127 - Composer is editable while sending message 2010-10-14 16:32:29 -04:00
1e663aa132 Replace EBinding with GBinding.
GObject now does property bindings itself.

Requires GLib >= 2.26.
2010-10-14 07:12:52 -04:00
ed45d23b84 Remove mail_tools_folder_to_url().
Use camel_folder_get_uri() instead.
2010-10-12 13:59:00 -04:00
4118d671d4 Composer: Show cancellable operations and errors inline.
'Send' and 'Save Draft' are now asynchronous and run outside of
Evolution's MailMsg infrastructure.

Add an EActivityBar to the composer window so these asynchronous
operations can be tracked and cancelled even in the absense of a main
window.  Also add an EAlertBar to the composer window so error messages
can be shown directly in the window.

Instead of calling e_alert_dialog_run_for_args(), call e_alert_submit()
and pass the EMsgComposer as the widget argument.  The EMsgComposer will
decide whether to show an EAlertDialog or use the EAlertBar, depending
on the GtkMessageType of the alert.
2010-10-12 13:59:00 -04:00
a06e4484b8 Give MailSession a permanent home.
Global variables in shared libraries are a bad idea.  EMailBackend now
owns the MailSession instance, which is actually now EMailSession.

Move the blocking utility functions in mail-tools.c to e-mail-session.c
and add asynchronous variants.  Same approach as Camel.

Replace EMailReader.get_shell_backend() with EMailReader.get_backend(),
which returns an EMailBackend.  Easier access to the EMailSession.
2010-10-12 13:58:59 -04:00
1c6f2d154e Bug #631320 - GtkObject is gone in GTK3 2010-10-06 19:26:08 +02:00
5bde5537b6 Bug #616250 - Restore and Backup options aren't fully descriptive 2010-10-04 16:18:01 +02:00
9675f18d91 Coding style and whitespace cleanup. 2010-10-03 13:29:20 -04:00
75b078e997 Kill em_utils_temp_save_part().
Rewrite the last usage of it in itip-formatter.c to use EAttachments
instead.  This also allowed me to kill mail_save_part() in mail-ops.c.

I may need to reevaluate the EAttachment API at some point for all these
fringe EAttachment uses we're accumulating.  Having to asynchronously
"load" an EAttachment whose content is already in memory kinda sucks.
2010-09-30 13:55:38 -04:00
e41b4083a6 camel_operation_new() now returns a GCancellable pointer. 2010-09-29 09:33:36 -04:00
c7b1343774 Bug #629799 - Crash importing a mail with an ics attachment 2010-09-29 11:32:30 +02:00
07bc66e30c Bug #630294 - Shouldn't send invitation reply when has no organizer 2010-09-29 11:20:13 +02:00
29fcf7f35f Bug #629972 - [backup-restore] Problems restoring old data 2010-09-29 09:57:36 +02:00
31b57ed038 Adapt to Camel API changes. 2010-09-28 11:35:55 -04:00
a91eeb6471 Pass GCancellable to Camel. 2010-09-28 11:35:55 -04:00
f1df51436d Bug #629737 - [publish-calendar] Could not find widget 'file_label' 2010-09-21 18:11:21 +02:00
afe6f502c3 Use new GDK keysym names if available.
In GTK+ 2.21.8, the keysym names were renamed from GDK_* to GDK_KEY_*.

I've added backward-compatibility macors to gtk-compat.h, which can be
dumped as soon as we require GTK+ >= 2.22.0.
2010-09-17 18:39:59 -04:00
797cd19606 Bug #611154 - problem in accessing folder property 2010-09-16 09:51:38 +05:30
64f53f1a53 Increase safety on Windows
Call SetDllDirectory() to reduce risk of DLL hijacking, and call SetProcessDEPPolicy() to reduce risk of rogue code execution.
2010-09-15 16:49:01 +02:00
5310e4a0b1 Adapt to CamelOperation API changes. 2010-09-14 23:48:02 -04:00
c7f5d54cb7 Kill the subject-thread plugin.
All this time I never realized the subject-thread plugin was nothing
more than a stupid checkbox.  The actual thread-by-subject code lives
in the core mail library.
2010-09-14 14:56:15 -04:00
70127d9cb8 Bug #624321 - Reply requested today does not work.
Do not check for the "reply_within" if it is not the "convenient" option.
0 can be an option too.
2010-09-14 10:04:30 +05:30
c23de2688e Convert plugin-manager to an EExtension.
How ironic.
2010-09-13 08:28:59 -04:00
cd53ba9900 Coding style cleanups. 2010-09-13 08:28:58 -04:00
d74e3a57dd Bug #627812 - GW shouldn't use global folder tree.
Groupwise shouldn't use global folder tree for UI.
2010-09-13 10:17:32 +05:30
b7abc64e9d Bug #629132 - set_attachments: assertion failed.
[mail-to-task] CRITICAL **: set_attachments: assertion `status.uris != NULL' failed
Uri was actually a path.
2010-09-13 09:48:27 +05:30
ebcce86769 Coding style and whitespace cleanups. 2010-09-11 14:14:04 -04:00
bc9ece413f Re-work my GtkDialog:has-separator workaround.
If we're using GTK+ 2.21.8 (where gtk_dialog_set_has_separator() is
deprecated but the property is still present and defaults to TRUE), we
still need to set the property to FALSE.  So instead use g_object_set()
up through GTK+ 2.90.6, after which the property itself is gone.
2010-09-11 09:03:45 -04:00
ec49cd00de No more blinking status icon.
GTK+ came to its senses and dropped support for it.  Thank goodness.
2010-09-11 00:30:54 -04:00
a6e137295f Work around deprecation of gtk_dialog_set_has_separator()
Unfortunately the default value for this property is TRUE (bzzt, WRONG!)
so we can't just remove the function outright until we require GTK+ 2.22.
It was deprecated in GTK+ 2.21.8.
2010-09-11 00:30:54 -04:00
a96676f446 Bug #626579 - [bbdb] Crash in free_gaim_body() (gaimbuddies.c) 2010-09-10 12:00:06 +02:00
101305e1c7 Various memory leaks 2010-09-07 18:39:46 +02:00
3eded6b690 Bug #628694 - Customize options for local calendar are missing 2010-09-03 15:17:00 +02:00
035fbcd841 Composer autosave cleanups.
This simplifies the async autosave logic and improves error handling.

Hoping this will solve bug #616987 but I've yet to reproduce it myself.
2010-08-30 14:26:00 -04:00
ecf3434da0 GObject boilerplate cleanup.
Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over
manual GType registration.

This is just a start... lots more to do.
2010-08-24 14:37:02 -04:00