Commit Graph

1575 Commits

Author SHA1 Message Date
9eebb95097 Bug #685262 - Attachments disappear when dragged in message preview 2012-10-17 15:41:46 +02:00
890f31bd07 Bug 685786 - EWebView: Signal handlers never disconnected
Both EWebView and EMailDisplay listen for "changed" signals from a
GSettings instance, passing itself as the 'user_data' to the signal
handler e_web_view_update_fonts().  But in both cases the signal
handler was left connected after EWebView and EMailDisplay were
finalized, resulting in the signal handler receiving a dangling pointer.

Not using g_signal_connect_object() here because of the unresolved
reference leak issue in GObject.  The GSettings instance is likely
cached internally and lives well beyond EWebView and EMailDisplay.
2012-10-13 20:37:32 -04:00
446cd75900 EWebView cleanups. 2012-10-13 20:34:51 -04:00
79719fdd7c Bug 678750 - Use geocode-glib instead of geoclue 2012-10-03 22:07:28 -04:00
becfa99e06 Bug #678408 - WebKit renders frames with plain/text parts too small
Workaround for a WebKit bug [0] which appeared in 1.9.x series.
When message is loaded, the content is zoomed in and out to force
WebKit to recalculate and redraw the iframe so that the content
is correctly visible

[0] https://bugs.webkit.org/show_bug.cgi?id=89553
2012-09-19 11:04:02 +02:00
8e88f65fbe Bug #683949 - Cannot create new LDAP Addressbook 2012-09-14 11:20:08 +02:00
14e9bf1673 Make sure selection in ECalendar is visible
The GtkStyle's GTK_STATE_ACTIVE background color can match background
color of GTK_STATE_NORMAL, when there is not visible selected days
in the calendar, thus fallback to GTK_STATE_SELECTED colors in that
case.
2012-09-11 15:15:48 +02:00
7ca22018a9 Revert "Adjust for webkit 1.9.90 API change."
This reverts commit 485704419b.

WebKit reverted its API break in 1.9.91, so revert our workaround.
2012-09-06 15:55:38 -04:00
f568645ff6 Bug #679382 - Saving attachments takes too long, maxes CPU usage 2012-09-06 14:34:46 +02:00
d89e767a1c Coding style and whitespace cleanup. 2012-09-01 08:06:32 -04:00
485704419b Adjust for webkit 1.9.90 API change. 2012-08-24 16:47:00 -04:00
0ee1a173d5 Disconnect signal handler from 'candidate' on its free 2012-08-22 19:34:49 +02:00
2167e37071 EAttachment: Minor code rearrangement. 2012-08-19 14:21:22 -04:00
c85109fc32 Coding style and whitespace cleanup. 2012-08-19 14:17:55 -04:00
582ba50c50 Bug 681882 - Account signature not selected in new composer window 2012-08-16 01:08:36 -04:00
967b238b77 Remove all references to JavaScriptCore and use of JavaScript
JavaScript is disabled in EWebView, so any attempt to evaluate
a JavaScript code will fail. We are using DOM bindings
instead to interact with the document.

This commit removes some helper functions created in the early
days of WebKit port which are not used anymore and also fixes
mail-to-task plugin, which was relying on some JavaScript.
2012-08-08 19:39:27 +02:00
b24af8b9cd Bug #681400 - Fix build against WebKitGtk+ 1.9.6 2012-08-08 17:50:41 +02:00
83c97e53c0 Bug #681279 - Reply on selection doesn't work 2012-08-08 13:48:25 +02:00
ad9390872f Bug #678408 - Mail view is very small for some mails 2012-08-07 15:57:24 +02:00
07be2453e0 Remove all GDK threads usage.
According to [1], we don't need to worry about GDK's global lock since
we don't call gdk_threads_init() or gdk_threads_set_lock_functions().

The GDK threads API is being aggressively deprecated by GTK+ developers
so let's just abandon it entirely.  I've never really understood when
you're supposed to use it or not use it anyway, so it's good to be rid
of this confusion.

[1] https://mail.gnome.org/archives/desktop-devel-list/2012-August/msg00005.html
2012-08-05 22:12:26 -04:00
cdc45d0ef2 ESourceConfigDialog: Implement EAlertSink. 2012-08-03 11:40:13 -04:00
0c1e731785 ESourceConfig: Enable remote resource creation. 2012-08-03 11:40:13 -04:00
58ab353af7 Bug 681075 - Add tooltips to signature editor toolbar 2012-08-02 23:06:50 -04:00
a456ef68fd Bug #680666 - Contacts/Tasks/Memos preview pane does not follow theme colors 2012-08-02 11:11:41 +02:00
436a31953e Fix some memory leaks 2012-08-01 22:15:28 +02:00
de207fd8d8 EWebView: Remove a stray newline causing build failures. 2012-07-27 13:01:59 -04:00
440e43d289 Bug #679404 - Read colors for message preview from Gtk theme 2012-07-27 12:13:20 +02:00
b059a3c2ee G_GNUC_CONST leads to 'statement with no effect' compiler warning 2012-07-19 08:58:24 +02:00
fb9ecaeaa7 Remove unused e_date_edit_have_time(). 2012-07-18 10:54:28 -04:00
63e74f2171 EDateEdit cleanups. 2012-07-18 10:54:28 -04:00
76bc1fd79f Bug #678783 - Crash under e_attachment_set_file_info() 2012-07-13 14:23:17 +02:00
3ade9a67e9 e_web_view_update_fonts(): Fix memory corruption.
Boxed GdkColors are allocated with the slice allocator, not malloc().

This has been causing me frequent and random Evolution crashes.
2012-07-07 08:41:46 -04:00
6a8a66986d Bug 678946 - Port entry in Account Assistant is unset
Reverts part of commit 6c05b09be1.
2012-07-04 17:18:22 -04:00
99a875edae Bug #515004 - Allow toggling between text and HTML view of mail 2012-06-26 13:40:59 +02:00
cc8bf823ec Coding style and whitespace cleanup. 2012-06-24 20:31:43 -04:00
f960fd2dff Reduce usage of g_type_class_peek_parent().
G_DEFINE_TYPE macros define a static "parent_class" variable.
2012-06-24 20:31:42 -04:00
18420e7750 Bug 678634 - Criticals warnings when creating new book/cal
This required some reworking of assumptions I made early on when I first
wrote ESourceConfig, before I thought up the whole "collection" concept.

Not all ESourceConfigBackends will use a fixed parent UID, specifically
collection backends.  In fact we may use multiple instances of the same
ESourceConfigBackend subclass if, for example, a user has two different
Exchange Web Services accounts configured.  We would need to show both
EWS account (or "collection") names in the "Type" combo box.

For the moment collection-based ESourceConfigBackends are not listed
when creating a new calendar or address book since we lack support for
creating new resources on a remote server.  A D-Bus interface for that
is in the works.
2012-06-23 19:02:01 -04:00
6c05b09be1 Do not call g_object_notify() when property didn't change 2012-06-18 15:35:44 +02:00
031c40a517 Bug #764467 - URL popup shows all Copy options 2012-06-18 13:42:39 +02:00
88a372b27e Fix some memory leaks 2012-06-18 13:42:39 +02:00
a3048b477f ESourceConfig: Lock down name when editing a collection member. 2012-06-15 08:22:52 -04:00
503b211d3d ESourceConfig: Add "collection-source" property.
This is a read-only property, set when editing an existing data source
which is a collection member.  We'll use this to lock down certain UI
elements.
2012-06-15 08:22:52 -04:00
ca63481992 Move ECalSourceConfig to /widgets/misc.
ECalSourceConfig drags in no additional dependencies, and although we do
publish a libevolution-calendar.so, this keeps all the ESource config UI
in one place so it can more easily be moved to Evolution-Data-Server.
2012-06-14 15:43:27 -04:00
2a4a12c470 Move EBookSourceConfig to /widgets/misc.
EBookSourceConfig drags in no additional dependencies, and allows us to
delay publishing a libevolution-addressbook.so since 3rd party packages
will need to subclass EBookSourceConfig.

The address book source code will need to be flattened into a single
library before we could publish a libevolution-addressbook.so anyway.
That would be a good thing to do regardless -- Evolution has way too
many internal libraries -- but it's out of scope at the moment.
2012-06-14 13:40:11 -04:00
2636ac8a2c Bug #677631 - Some HTML links don't work 2012-06-12 18:29:35 +02:00
4f549de56d Bug #677706 - Crash in spell_entry_recheck_all() 2012-06-12 10:32:47 +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
47bad29c3a Fix a couple distcheck errors. 2012-06-04 15:15:39 -04:00
2a39437ee9 Adapt to single-include E-D-S libraries. 2012-06-03 15:14:03 -04:00
26e7480340 Adapt modules/calendar to the new ESource API. 2012-06-02 23:00:40 -04:00