aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-web-view.c
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-2946/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evolution consists of entirely too many small utility libraries, which increases linking and loading time, places a burden on higher layers of the application (e.g. modules) which has to remember to link to all the small in-tree utility libraries, and makes it difficult to generate API documentation for these utility libraries in one Gtk-Doc module. Merge the following utility libraries under the umbrella of libeutil, and enforce a single-include policy on libeutil so we can reorganize the files as desired without disrupting its pseudo-public API. libemail-utils/libemail-utils.la libevolution-utils/libevolution-utils.la filter/libfilter.la widgets/e-timezone-dialog/libetimezonedialog.la widgets/menus/libmenus.la widgets/misc/libemiscwidgets.la widgets/table/libetable.la widgets/text/libetext.la This also merges libedataserverui from the Evolution-Data-Server module, since Evolution is its only consumer nowadays, and I'd like to make some improvements to those APIs without concern for backward-compatibility. And finally, start a Gtk-Doc module for libeutil. It's going to be a project just getting all the symbols _listed_ much less _documented_. But the skeletal structure is in place and I'm off to a good start.
* Coding style and whitespace cleanup.Matthew Barnes2012-11-111-14/+21
|
* Bug #683877 - No more contextual menus for linksMilan Crha2012-11-091-115/+83
|
* Bug #685262 - Attachments disappear when dragged in message previewMilan Crha2012-10-171-0/+11
|
* Bug 685786 - EWebView: Signal handlers never disconnectedMatthew Barnes2012-10-141-0/+6
| | | | | | | | | | | | 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.
* EWebView cleanups.Matthew Barnes2012-10-141-78/+91
|
* Bug #678408 - WebKit renders frames with plain/text parts too smallDan Vrátil2012-09-191-11/+8
| | | | | | | | | 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
* Revert "Adjust for webkit 1.9.90 API change."Matthew Barnes2012-09-071-5/+0
| | | | | | This reverts commit 485704419b11685e4753024dabec53d1668aaa9d. WebKit reverted its API break in 1.9.91, so revert our workaround.
* Adjust for webkit 1.9.90 API change.Dominique Leuenberger2012-08-251-0/+5
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-201-1/+1
|
* Remove all references to JavaScriptCore and use of JavaScriptDan Vrátil2012-08-091-216/+6
| | | | | | | | | | 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.
* Bug #681400 - Fix build against WebKitGtk+ 1.9.6Dan Vrátil2012-08-081-2/+11
|
* Bug #681279 - Reply on selection doesn't workDan Vrátil2012-08-081-19/+70
|
* Bug #678408 - Mail view is very small for some mailsMilan Crha2012-08-071-0/+9
|
* Bug #680666 - Contacts/Tasks/Memos preview pane does not follow theme colorsDan Vrátil2012-08-021-8/+3
|
* Fix some memory leaksDan Vrátil2012-08-021-0/+1
|
* EWebView: Remove a stray newline causing build failures.Matthew Barnes2012-07-281-2/+1
|
* Bug #679404 - Read colors for message preview from Gtk themeDan Vrátil2012-07-271-1/+18
|
* e_web_view_update_fonts(): Fix memory corruption.Matthew Barnes2012-07-071-10/+8
| | | | | | Boxed GdkColors are allocated with the slice allocator, not malloc(). This has been causing me frequent and random Evolution crashes.
* Bug #515004 - Allow toggling between text and HTML view of mailDan Vrátil2012-06-261-3/+2
|
* Coding style and whitespace cleanup.Matthew Barnes2012-06-251-2/+2
|
* Reduce usage of g_type_class_peek_parent().Matthew Barnes2012-06-251-6/+4
| | | | G_DEFINE_TYPE macros define a static "parent_class" variable.
* Do not call g_object_notify() when property didn't changeMilan Crha2012-06-181-0/+27
|
* Bug #764467 - URL popup shows all Copy optionsDan Vrátil2012-06-181-16/+19
|
* Fix some memory leaksDan Vrátil2012-06-181-0/+3
|
* Bug #677631 - Some HTML links don't workDan Vrátil2012-06-131-0/+5
|
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-041-1/+1
|
* Bug #671585 - Add support for smooth scrolling devicesMilan Crha2012-05-151-1/+21
|
* Whitespace cleanups.Matthew Barnes2012-05-131-4/+3
|
* Fix displaying icons in EWebView alertsDan Vrátil2012-05-031-30/+8
|
* Bug #675347 - No 'Retrieving message...' in preview panelDan Vrátil2012-05-031-2/+2
|
* Bug #674060 - Preview panel on folder change not updatedDan Vrátil2012-04-271-1/+1
|
* Bug #674701 - Clicking address in preview composes to default accountMilan Crha2012-04-261-0/+9
|
* Bug #674272 - Contacts preview differs with mailer running and notDan Vrátil2012-04-231-1/+32
| | | | | | This splits the giant EMailRequest to individual EFileRequest, EStockRequest, EHTTPRequest and EMailRequest, making the first two available globally from e-utils, the othe two are loaded only with mailer, since no other component uses them.
* Handle default e-mail fonts with multiword names correctlyDan Vrátil2012-04-161-2/+2
|
* Use link colors from GtkStyleContextDan Vrátil2012-04-131-0/+35
|
* EWebView: Make antialiasing settings optional.Matthew Barnes2012-04-121-25/+38
| | | | | | Check if the "org.gnome.settings-daemon.plugins.xsettings" schema is available before creating a GSettings object for it, to avoid a hard dependency on gnome-settings-daemon.
* Bug #673108 - Font settings and monospace fonts don't workDan Vrátil2012-04-121-13/+146
|
* Whitespace cleanup.Matthew Barnes2012-04-021-19/+19
| | | | | Replace 8-space indentation with tab characters, and various other automated cleanups.
* WebKit port - port widgetsDan Vrátil2012-03-291-468/+934
|
* Move EAlert* and e-xml-utils references from other part of the code to ↵Srinivasa Ragavan2012-03-031-2/+2
| | | | libevolution-utils.
* The EExtension framework is now in libebackend.Matthew Barnes2011-09-261-1/+1
| | | | | | | | 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.
* Coding style and whitespace cleanup.Matthew Barnes2011-09-041-1/+2
|
* Coding style and whitespace cleanup.Matthew Barnes2011-08-131-45/+49
|
* Bug #655669 - Can't save inline pictures embedded in HTML MailsMilan Crha2011-08-091-1/+52
|
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-271-1/+4
|
* Coding style and whitespace cleanup.Matthew Barnes2011-05-221-5/+8
|
* Bug #601541 - Add 'Copy Image' Option On Inline Email ImagesMilan Crha2011-05-161-1/+110
|
* EWebView: Fix icon retrieval when showing EAlerts.Matthew Barnes2011-04-141-1/+13
| | | | Need to convert the icon filename to a URI for use in <img> tags.
* EWebView: Implement the EAlertSink interfaceMatthew Barnes2011-04-131-7/+116
| | | | Shows alerts directly in the HTML area, similar to GtkInfoBar.
* Restore lockdown integration.Matthew Barnes2011-03-281-0/+26
| | | | | | | | | | | | | With lockdown settings available through GSettings, widgets can handle lockdown integration themselves without having to use EShellSettings. Also fixed a few places where printing or save-to-disk actions were either not properly wired up or not responding to lockdown settings, but much more work needs done. Attachments, for example, are not honoring the disable-save-to-disk setting at all. This too requires the recently-added gsettings-desktop-schemas dependency.
* Bug 644066 - Text selection is cleared when right-clicking on a linkMatthew Barnes2011-03-071-5/+6
|
* Coding style and whitespace cleanup.Matthew Barnes2011-03-061-1/+2
|
* Bug #641374 - "Send new mail to..." popup action doesn't workMilan Crha2011-02-281-1/+17
|
* Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-02-251-7/+3
|
* Replace EBinding with GBinding.Matthew Barnes2010-10-141-7/+12
| | | | | | GObject now does property bindings itself. Requires GLib >= 2.26.
* GObject boilerplate cleanup.Matthew Barnes2010-08-251-3/+8
| | | | | | | Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over manual GType registration. This is just a start... lots more to do.
* Bug #621903 - Crash on HTML message print previewMilan Crha2010-06-241-0/+6
|
* Bug 604262 - "Copy Email Address" should also copy to primary clipboardMatthew Barnes2010-06-241-0/+4
|
* Some post-merge cleanup.Matthew Barnes2010-05-271-10/+0
|
* Merge branch 'express2'Matthew Barnes2010-05-271-0/+10
|\
| * Merge gnome-2-30 into express2 to get bugfixesFederico Mena Quintero2010-04-101-0/+2
| |\ | | | | | | | | | | | | | | | Note that express2 got some documentation for EExtensible and friends, and that documentation is not in gnome-2-30 yet. We need to cherry-pick those commits into gnome-2-30 and elsewhere.
| | * [win32] Be consistent in disabling the lockdown options.Fridrich Strba2010-04-081-0/+2
| | |
| * | Minor EMailReader cleanup.Matthew Barnes2010-04-071-4/+17
| | | | | | | | | | | | | | | | | | | | | Add a load_string() method to EWebView. Have EMailDisplay override load_string() and check that the formatter is not busy before loading the string. Have EMailReader call e_web_view_load_string() directly on the EMailDisplay instance, and eliminate update_webview_content().
| * | Add an extension to configure EWebView.Matthew Barnes2010-04-071-42/+167
| |/ | | | | | | | | | | | | | | | | Make EWebView extensible and register an extension to automatically bind every EWebView instance to the appropriate EShellSettings. Conflicts: widgets/misc/e-web-view.c
* | Camel is now GObject-based.Matthew Barnes2010-04-241-2/+2
| |
* | Only #include Camel's top-level header.Matthew Barnes2010-04-031-2/+1
| |
* | Miscellaneous cleanup bits from WebKit branch.Matthew Barnes2010-04-021-27/+58
| |
* | Minor EMailReader cleanup.Matthew Barnes2010-03-261-4/+17
| | | | | | | | | | | | | | Add a load_string() method to EWebView. Have EMailDisplay override load_string() and check that the formatter is not busy before loading the string. Have EMailReader call e_web_view_load_string() directly on the EMailDisplay instance, and eliminate update_webview_content().
* | Add an extension to configure EWebView.Matthew Barnes2010-03-231-44/+167
| | | | | | | | | | Make EWebView extensible and register an extension to automatically bind every EWebView instance to the appropriate EShellSettings.
* | [win32] Be consistent in disabling the lockdown options.Fridrich Strba2010-03-211-0/+2
|/
* Revert some bad assumptions I made in EPluginUI.Matthew Barnes2010-03-161-3/+3
| | | | | | | | | We can't require the use of EUIManager everywhere because we don't control all the UI manager instances -- the most compelling example being the composer, whose UI manager comes from GtkhtmlEditor. Instead, EPluginUI will check the instance type and pick an appropriate "load_from_string" function.
* Shell and UI manager cleanups.Matthew Barnes2010-03-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Replace the EVO_EXPRESS environment variable with an --express command line option. (Note, this adds a new translatable string for --help.) Add an EUIManager class with an "express-mode" property and custom load functions that use our new "express" preprocessor. This replaces the UI manager functions in e-utils.c. (Also going to see if I can get GTK+ to add an "add_ui_from_string" method to GtkUIManagerClass that we can override. Then we could just call gtk_ui_manager_add_ui_from_string() and the preprocessor would automatically do its thing and chain up.) Add an "express-mode" read-only GObject property to EShell. Add e_shell_configure_ui_manager() to e-shell-utils.c. For now this just creates a one-way property binding: EShell:express-mode -> EUIManager:express-mode Call this immediately after e_ui_manager_new(). (EUIManager can't do this itself because it lives too low in the dependency hierarchy and doesn't know about EShell.)
* Bug 609042 - Convert quoted-printing to UTF-8 when copying to clipboardMatthew Barnes2010-02-171-1/+1
|
* Improve clipboard behavior.Matthew Barnes2010-01-181-12/+231
| | | | | | | | | | | | | | | | | | | | | Add "copy-target-list" and "paste-target-list" to the ESelectable interface. These are underutilized for the moment, but will eventually be used to help integrate drag-and-drop support into ESelectable. Add cut and paste support to EWebView, along with a new "editable" property and new clipboard signals "copy-clipboard", "cut-clipboard" and "paste-clipboard". In EFocusTracker, listen for "owner-changed" signals from the default clipboard as another trigger to update actions, particularly the Paste action. (Unfortunately this doesn't work for EWebView since GtkHtml implements its own clipboard.) In EMsgComposer, convert GtkhtmlEditor's clipboard methods to empty stubs, since EFocusTracker will now trigger EWebView's clipboard actions. Also, intercept EWebView::paste-clipboard signals and improve the interaction between the HTML editor and the attachment bar based on use cases in bug #603715.
* Remove dead assignments found by clang.Matthew Barnes2010-01-161-2/+0
|
* Bug 606250 - Remove usage of deprecated GTK+ symbolsMatthew Barnes2010-01-081-3/+3
| | | | Several GtkWidget macros were recently deprecated.
* Introduce ESelectable and EFocusTracker.Matthew Barnes2009-12-261-7/+71
| | | | | | | | | | | | | | | | | | EFocusTracker tracks the input focus within a window and helps keep the sensitivity of "selectable" actions in the main menu up-to-date. Selectable actions include Cut, Copy, Paste, Select All and Delete. EFocusTracker has built-in support for widgets that implement the GtkEditable interface such as GtkEntry and GtkTextView. It also supports custom widgets that implement the ESelectable interface, which is a subset of GtkEditable and can apply to anything that displays selectable content (esp. tree views and ETables). This commit integrates EFocusTracker with EShellWindow, CompEditor, EMsgComposer, and ESignatureManager. It also bumps the GtkHTML requirement to 2.29.5 to utilize the new GtkhtmlEditor:html constructor property.
* Prefer EWebView calls over direct GtkHTML calls.Matthew Barnes2009-11-181-0/+24
|
* Remove some redundancy from EABContactDisplay.Matthew Barnes2009-11-181-1/+1
|
* EWebView popup menu enhancements.Matthew Barnes2009-11-141-19/+435
| | | | Bumps the GtkHtml dependency to 3.29.2 for gtk_html_unselect_all().
* Build with GTK_DISABLE_DEPRECATED and fix resulting breakage.Matthew Barnes2009-10-021-1/+3
|
* Bug 594863 - Message body doesn't allow right click pop up menuMatthew Barnes2009-09-131-1/+4
|
* Finish killing Bonobo.Matthew Barnes2009-09-091-0/+1110