Commit Graph

1275 Commits

Author SHA1 Message Date
e18f1b8709 Composer could start with empty From 2012-09-05 16:43:58 +02:00
d89e767a1c Coding style and whitespace cleanup. 2012-09-01 08:06:32 -04:00
c85109fc32 Coding style and whitespace cleanup. 2012-08-19 14:17:55 -04:00
8248614e36 composer: Remove redundant tooltips.
These are defined in GtkhtmlEditor now (bug #681087).
2012-08-02 23:06:50 -04:00
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
6c05b09be1 Do not call g_object_notify() when property didn't change 2012-06-18 15:35:44 +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
2a39437ee9 Adapt to single-include E-D-S libraries. 2012-06-03 15:14:03 -04: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
89777f0726 Whitespace cleanups. 2012-05-13 09:15:42 -04:00
ecc1f7ae88 Bug #200683 - Composer subject spell checking 2012-05-09 19:50:33 +02: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
b4f895265d Add missing linker flags. 2012-03-03 14:11:12 -05: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
933ba0f066 Bug 670280 - Remove "Recent Documents" attachment feature
GTK's file chooser dialog provides one-click access to recently used
documents now, so we can remove the redundancy from Evolution's mail
composer main menu and calendar component editor main menu and leave
it at "Insert -> Attachment".
2012-02-17 08:38:02 -05:00
1600064022 Bug #591436 - Add -avoid-version to LDFLAGS 2012-02-15 11:22:21 +01: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
d41d432ccb EComposerHeaderTable: Rearrange initialization code.
Prefer GObjectClass.constructed() over GObjectClass.constructor().
2011-12-31 16:44:25 -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
06e45c8e87 Bug #664708 - Composer's headers preference is reset on From change 2011-11-29 14:48:51 +01: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
ff8b1650ea Port EComposerHeaderTable to GSettings 2011-10-13 17:44:28 +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
1f38f4d92c Simplify library dependency flags.
We have a confusing array of nearly-identical CFLAGS/LIBS definitions in
configure.ac.  Time to simplify.  Instead let's just have one definition
that includes all the libraries provided by Evolution-Data-Server (incl.
Camel).  That, in combination with GNOME_PLATFORM, gives us most of what
we need for compliation and linking, and we can sprinkle definitions for
additional library dependencies in Makefile.am's as needed.
2011-10-04 22:27:14 -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
75be8d7701 Bug 659486 - EAlert default response is ignored by EAlertDialog 2011-09-30 12:28:29 -04:00
31a6477e70 Prefer G_VALUE_INIT over memset().
G_VALUE_INIT is new in GLib 2.30.  More convenient than zero-filling a
statically declared GValue with memset().
2011-09-29 12:06:24 -04:00
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
53bc6ffc53 The EExtension framework is now in libebackend.
The EModule, EExtensible and EExtension classes as well as the
e_type_traverse() function have been moved to Evolution-Data-Server's
libebackend library to replace e-data-server-module.c.

Now Evolution-Data-Server modules use the same framework as Evolution.
2011-09-26 09:45:55 -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