Commit Graph

819 Commits

Author SHA1 Message Date
ae1f880dd8 Trust attachments from ~/.kde and ~/.kde4.
This came about from a mailing list thread entitled:

   Sending photos from digKam: "Skipping suspicious attachment"

Apparently KDE still uses dot-folders quite heavily, despite having
helped draft the XDG Base Directory Specification.
2012-07-02 11:02:56 -04:00
137eec97eb Bug #617557 - Can close composer while message is sending 2012-06-26 12:02:36 +02:00
0c2a0824be Bug #678304 - Save Draft prevents Evolution's quit 2012-06-18 12:25:35 +02:00
5b8340563c Mail formatter rewrite
All mail-parsing and formatting code has been moved to em-format.
Parsing is handeled by EMailParser class, formatting by EMailFormatter.
Both classes have registry which hold extensions - simple classes
that do actual parsing and formatting. Each supported mime-type
has it's own parser and formatter extension class.
2012-06-06 15:27:19 +02:00
f78795f4df Adapt composer to the new ESource API. 2012-06-02 23:00:40 -04:00
53a3d2f4e1 Use g_simple_async_result_set_check_cancellable().
Always call it immediately after g_simple_async_result_new().
2012-05-13 09:40:23 -04:00
3fbbdd80ac Bug #674248 - Lost new lines from text/plain 2012-04-19 09:22:36 +02:00
e3295b4d11 Bug 673895 - "Send To..." doesn't work anymore
Our hidden file/directory blacklist went a little too far.  Evolution
was blacklisting its own temporary files.  This changes the blacklist
function to trust the user's own XDG Base Directories.
2012-04-11 09:44:11 -04:00
299521f02c Whitespace cleanup.
Replace 8-space indentation with tab characters, and various other
automated cleanups.
2012-04-01 23:15:38 -04:00
9ed9a99bad EMFormat: Add "session" as a constructor property.
Pass it in instead of digging it out of EShellSettings.
2012-03-31 15:48:01 -04:00
a269411bac WebKit port - port addressbook, calendar and update composer to keep working with GtkHtml 2012-03-28 18:39:13 +02:00
da3bd3696e Bug #665106 - Memory leak from composer setup when opening Preferences 2012-03-16 12:06:18 +01:00
14f82dde34 Move EAlert* and e-xml-utils references from other part of the code to libevolution-utils. 2012-03-03 09:02:33 -05:00
78cd0d0a73 Bug #617557 - Can lost message after send failed 2012-03-01 09:43:47 +01:00
23f5773903 Coding style and whitespace cleanup. 2012-02-20 10:04:25 -05:00
61ae36351b Introduce libemail-engine and libemail-utils.
These libraries are bound for E-D-S so they live at the lowest layer of
Evolution for now -- even libeutil can link to them (but please don't).

This is the first step toward moving mail handing to a D-Bus service.
2012-01-18 23:48:47 -05:00
70b27af74e Move gtkhtml data encoding/decoding to e-composer-private.c.
Simplify the algorithms, trading efficiency for readability.
2011-12-31 14:57:30 -05:00
a7abe3ac59 Composer cleanups. 2011-12-31 14:40:06 -05:00
832bea90bf Composer: "mailto" blacklist touch ups. 2011-11-30 07:16:08 -06:00
f6f46ce7fc Use e_restore_window() and "org.gnome.evolution.window".
Apply it to all windows with persistent size and/or position.
2011-11-27 18:03:45 -06:00
e64d6fe05c Miscellaneous cleanups. 2011-11-22 20:43:04 -05:00
0c83b9b25d Miscellaneous cleanups. 2011-11-22 14:50:09 -05:00
c75f58d01b Fix compiler warnings. 2011-11-22 14:34:11 -05:00
c7a08c2272 Migrate most of the composer to GSettings 2011-10-13 18:11:35 +02:00
126aa2398a Prefer g_simple_async_result_take_error().
Slightly more efficient and convenient than:

    g_simple_async_result_set_from_error (simple, error);
    g_error_free (error);

One less GError to copy and destroy.
2011-10-06 09:37:01 -04:00
938505da18 Let GtkFileChooser track its own last-used-folder.
GtkFileChooser in GTK+ 3.2 now keeps track of the last-used-folder
itself, even across applications, so get out of its way and let it
handle it.
2011-10-06 08:16:21 -04:00
224f26b84d GtkApplication has some new EShell-like features.
I pushed a few EShell features up to GtkApplication for GTK+ 3.2,
so we can now trim off the redundancies in EShell.

1) GtkApplication has a new "window-added" signal which replaces
   EShell's own "window-created" signal.

2) GtkApplication has a new "window-removed" signal which replaces
   EShell's own "window-destroyed" signal.

3) gtk_application_get_windows() now returns a list of windows sorted
   by most recently focused, replacing e_shell_get_watched_windows().

4) GtkApplication now provides enough hooks to subclasses that we can
   remove e_shell_watch_window() and call gtk_application_add_window()
   directly.
2011-10-06 08:16:21 -04:00
273b10a5ba Bug #657374 - mailto: attachment parameter can lead to accidental data exfiltration
Through warning on attaching Hidden/security files by mailto command.
2011-10-04 12:08:43 +05:30
e2b6ff7a6c Miscellaneous cleanups from the account-mgmt branch.
Reducing diff noise so I can see important changes easier when comparing
branches.  A few API changes, but nothing that affects functionality.
2011-09-27 09:31:13 -04:00
5817e1ffb9 Reverting the previous commit. 2011-09-15 18:18:12 +05:30
1544ad3a69 Bug #657374 - mailto: attachment parameter can lead to accidental data exfiltration
Through warning on attaching Hidden/security files by mailto command.
2011-09-15 18:03:53 +05:30
b93fe51d70 Bug 635347 - Message lacks ID when submitted for sending 2011-09-13 12:25:03 -04:00
1864d169f2 Bug #657611 - Hidden error of invalid attendee on send 2011-09-07 16:19:06 +02:00
fcbbdfbd18 Coding style and whitespace cleanup. 2011-09-04 07:34:32 -04:00
f59681796d Coding style and whitespace cleanup. 2011-08-13 11:27:51 -04:00
ceb9b91bd9 Bug #656290 - "Always carbon-copy (cc) to:" option not honored 2011-08-12 13:20:43 +02:00
8d7534b4a0 Bug 653568 - Forward as Redirect doesn't work
X-Evolution-Account and X-Evolution-Transport headers were not getting
set in redirected messages.
2011-07-10 13:35:34 -04:00
ae834b3a2f EMsgComposer: Minor cleanups. 2011-07-10 13:34:21 -04:00
f014ab82c8 Coding style and whitespace cleanups. 2011-06-08 13:14:48 -04:00
7b8e5681e4 Bug #651039 - Always update signature in composer on account change 2011-05-25 11:21:07 +02:00
b23b4df2df Revert "Correct garbled mailto: uris passed in through GApplication interface"
This reverts commit 94d5fb1b66.

Wrong solution.  See bug #650491.
2011-05-22 12:40:31 -04:00
cb97c2dc8f Coding style and whitespace cleanup. 2011-05-21 17:56:06 -04:00
94d5fb1b66 Correct garbled mailto: uris passed in through GApplication interface 2011-05-16 12:40:40 +02:00
ba8f1f78f4 Add e_activity_handle_cancellation().
Convenience function for use in GAsyncReadyCallback functions.

This acknowledges the cancellation, so that the activity's description
changes from "(cancelling)" to "(cancelled)" and the description appears
crossed out in the UI for a moment before disappearing.
2011-05-11 12:59:29 -04:00
8a186c3588 Coding style cleanups. 2011-05-08 13:37:20 -04:00
4cfb84c573 Whitespace and coding style cleanups. 2011-05-07 18:48:38 -04:00
397aeade05 Adapt to CamelService changes. 2011-04-21 07:45:45 -04:00
c6fd77460f Coding style and whitespace cleanup. 2011-03-05 12:34:28 -05:00
7c993081e4 Bug #641805 - Clicking links in mail composer opens URL twice 2011-02-28 17:59:40 +01:00
1301cf02ef Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedly 2011-02-25 16:20:41 +01:00