aboutsummaryrefslogtreecommitdiffstats
path: root/embed
Commit message (Collapse)AuthorAgeFilesLines
...
* ephy-web-view: fix anchor links' URI updateXan Lopez2012-06-271-4/+5
| | | | | | Use again notify::uri, but do nothing if we receive it when the page is not loading (ie, before STARTED was reached). This fixes the difference in semantincs between WK1 and WK2.
* ephy-web-view: move the file monitoring code to its own class, EphyFileMonitor.Xan Lopez2012-06-274-183/+376
| | | | | Since the vast majority of the code was really independent from EphyWebView.
* ephy-web-view: stop using notify::uri in WebKit2Xan Lopez2012-06-271-0/+4
| | | | | | In WebKit2 notify::uri will come with the requested URI even before/during the STARTED status, so we cannot use it in the same way as we were using it in WebKit1, where the semantincs were different.
* ephy-web-view: small style and indentation fixesXan Lopez2012-06-271-17/+17
|
* Port geolocation permission request to WebKit2Carlos Garcia Campos2012-06-261-7/+40
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678614
* Port plugins about handler to WebKit2Carlos Garcia Campos2012-06-263-11/+105
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678625
* Port about handlers to WebKit2Carlos Garcia Campos2012-06-261-0/+22
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678616
* embed: Move about handlers to a new fileCarlos Garcia Campos2012-06-267-162/+227
| | | | | Leaving in ephy-request-about only the code specific to the soup feature implementation.
* ephy-download: remove _ephy_download_new() internal functionCarlos Garcia Campos2012-06-251-33/+33
| | | | | | | It makes the code a bit more complex. Since we always need a WebKitDownload we can just create a WebKitDownload in ephy_download_new_for_uri() can then use ephy_download_new_for_download() to create the EphyDownload.
* ephy-download: Pass suggested filename to define_destination_uri()Carlos Garcia Campos2012-06-251-9/+7
| | | | | Instead of getting it from the download to make define_destination_uri() function compatible with WebKit2.
* Por run javascript to WebKit2Carlos Garcia Campos2012-06-251-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678601
* Port printing to WebKit2Carlos Garcia Campos2012-06-251-3/+38
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678600
* ephy-web-view: add ephy_web_view_print_failed()Carlos Garcia Campos2012-06-251-16/+22
| | | | | Helper function to show an error messaage in the info bar when the print operation failed.
* Port hovering over link to WebKit2Carlos Garcia Campos2012-06-252-7/+16
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678599
* ephy-web-view: status message should be constCarlos Garcia Campos2012-06-254-5/+5
| | | | | In both ephy_web_view_set_link_message() and ephy_embed_utils_link_message_parse().
* Port history to WebKit2Carlos Garcia Campos2012-06-251-1/+1
| | | | | | | In WebKit2 the back forward list is a read-only object, so the code were the back forward list is modified hasn't been ported. https://bugzilla.gnome.org/show_bug.cgi?id=678594
* Add support for new windows in WebKit2Carlos Garcia Campos2012-06-252-6/+43
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678593
* Port web settings to WebKit2Carlos Garcia Campos2012-06-251-33/+65
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678592
* Port policy client to WebKit2Carlos Garcia Campos2012-06-251-2/+60
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678591
* Port web view loading progress and feedback to WebKit2Carlos Garcia Campos2012-06-242-18/+205
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678532
* ephy-web-view: Add ephy_web_view_load_failed()Carlos Garcia Campos2012-06-242-0/+19
| | | | To check whether the load operation in the web view failed.
* ephy-download: add EPHY_DOWNLOAD_ACTION_DO_NOTHINGDiego Escalante Urrelo2012-06-232-3/+9
| | | | | | | | | Add a new action instead of abusing NONE. NONE means nothing has been set, this will trigger AUTO when auto-downloads preference is TRUE. DO_NOTHING explicitely asks for no action to be taken. https://bugzilla.gnome.org/show_bug.cgi?id=676128
* Initial WebKit2 portCarlos Garcia Campos2012-06-2111-12/+369
| | | | It builds and basic functionality works.
* ephy-web-view: Use webkit_web_view_load_uri() instead of webkit_web_view_open()Carlos Garcia Campos2012-06-211-4/+4
| | | | | webkit_web_view_open() is deprecated in WebKit1 and webkit_web_view_load_uri() is compatible with WebKit2.
* Use WebKitWebView API to get/set the zoom level instead of g_object_get/setCarlos Garcia Campos2012-06-211-8/+4
| | | | | Also use always double instead of float so that it will be compatible with WebKit2 API.
* Include libsoup header explicitly when requiredCarlos Garcia Campos2012-06-214-3/+3
| | | | Instead of relying on webkit header to include it.
* ephy-embed: show a message popup when entering fullscreen modeClaudio Saavedra2012-06-202-0/+92
| | | | | | | | The message is different depending on whether we are entering HTML5 fullscreen mode or application fullscreen, since the keys used to leave either mode are different. https://bugzilla.gnome.org/show_bug.cgi?id=671195
* ephy-window: keep track of whether the downloads box is shownClaudio Saavedra2012-06-201-0/+1
| | | | | | We add it to EphyWebViewChrome and track it there. https://bugzilla.gnome.org/show_bug.cgi?id=671195
* ephy-web-view: remove unused EphyWebViewChrome elementsDiego Escalante Urrelo2012-06-152-11/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676904
* ephy-download: Simplify decide_action_from_mimeCarlos Garcia Campos2012-06-141-29/+16
| | | | | | Remove unused variables and fix memory leaks https://bugzilla.gnome.org/show_bug.cgi?id=676484
* e-file-helpers: Add ephy_file_create_data_uri_for_filename()Carlos Garcia Campos2012-06-142-41/+8
| | | | | | | It creates a data URI for the given filename. Use the new function when building error and applications pages. https://bugzilla.gnome.org/show_bug.cgi?id=677025
* Add a new mode for shell testing, EPHY_EMBED_SHELL_MODE_TESTXan Lopez2012-06-141-1/+2
| | | | | | For now the only difference is that no top-level window will be shown in this mode, but in the future it can be extended to behave in a manner appropriate for testing.
* ephy-web-view: fix GList leakPavel Vasin2012-06-121-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-web-view: fix use-after-free in get_file_content_as_base64()Dan Williams2012-06-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | image_type is owned by file_info, so we can't free file_info until after we're done with image_type. Fixes crash when error page is displayed. Valgrind trace: ==1916== Invalid read of size 1 ==1916== at 0x38CBA7B328: _IO_default_xsputn (in /lib64/libc-2.14.90.so) ==1916== by 0x38CBA4B3A7: vfprintf (in /lib64/libc-2.14.90.so) ==1916== by 0x38CBB084B0: __vasprintf_chk (in /lib64/libc-2.14.90.so) ==1916== by 0x38CDA8A44A: g_vasprintf (stdio2.h:199) ==1916== by 0x38CDA69B0C: g_strdup_vprintf (gstrfuncs.c:509) ==1916== by 0x38CDA69BAB: g_strdup_printf (gstrfuncs.c:535) ==1916== by 0x47EA57: ephy_web_view_load_error_page (ephy-web-view.c:1978) ==1916== by 0x47F6B2: load_error_cb (ephy-web-view.c:2119) ==1916== by 0x38E8E7753F: webkit_marshal_BOOLEAN__OBJECT_STRING_POINTER (in /usr/lib64/libwebkitgtk-3.0.so.0.11.0) ==1916== by 0x38CEA11381: g_closure_invoke (gclosure.c:777) ==1916== by 0x38CEA23132: signal_emit_unlocked_R (gsignal.c:3547) ==1916== by 0x38CEA2AEE1: g_signal_emit_valist (gsignal.c:3306) ==1916== Address 0x4f02040 is 0 bytes inside a block of size 10 free'd ==1916== at 0x4A0662E: free (vg_replace_malloc.c:366) ==1916== by 0x38CDA5513E: g_free (gmem.c:252) ==1916== by 0x38D1255908: _g_file_attribute_value_clear (gfileattribute.c:245) ==1916== by 0x38D125A078: g_file_info_finalize (gfileinfo.c:324) ==1916== by 0x38CEA1670F: g_object_unref (gobject.c:3018) ==1916== by 0x47EA05: ephy_web_view_load_error_page (ephy-web-view.c:1974) ==1916== by 0x47F6B2: load_error_cb (ephy-web-view.c:2119) ==1916== by 0x38E8E7753F: webkit_marshal_BOOLEAN__OBJECT_STRING_POINTER (in /usr/lib64/libwebkitgtk-3.0.so.0.11.0) ==1916== by 0x38CEA11381: g_closure_invoke (gclosure.c:777) ==1916== by 0x38CEA23132: signal_emit_unlocked_R (gsignal.c:3547) ==1916== by 0x38CEA2AEE1: g_signal_emit_valist (gsignal.c:3306) ==1916== by 0x38CEA2BE83: g_signal_emit_by_name (gsignal.c:3389) https://bugzilla.gnome.org/show_bug.cgi?id=677736
* ephy-embed: fix a comment typoClaudio Saavedra2012-06-111-1/+1
|
* ephy-web-view: chain up to the parent constructed virtual methodCarlos Garcia Campos2012-06-051-0/+3
| | | | To make sure constructed is called in WebKitWebView if present.
* e-download: document get_content_typeDiego Escalante Urrelo2012-05-271-0/+10
|
* embed: remove custom CSS styling for the overlay progressbarCosimo Cecchi2012-05-241-2/+2
| | | | | | | Now that the overlay progressbar is styled by the theme, we can just set the OSD style class on the overlay to get the same effect. https://bugzilla.gnome.org/show_bug.cgi?id=676660
* Fix memory leak in ephy_web_view_set_popups_allowedLubomír Sedlář2012-05-211-3/+3
| | | | | | | If ephy_embed_shell_get_embed_single () does not return a correct manager, a location string is leaked. https://bugzilla.gnome.org/show_bug.cgi?id=675888
* Add support for 'Do Not Track'Xan Lopez2012-05-191-0/+46
| | | | | | | If the org.gnome.Epiphany.web.do-not-track setting is enabled, we'll send the DNT: 1 header with every outbound request we make. See http://donottrack.us/ for more details.
* Move ephy-web-app-utils to lib/Xan Lopez2012-05-093-558/+1
| | | | | | We are going to use it in the profile migrator, so it needs to be there. Besides, this code just deals with plain data in the profile and application dir, so it makes sense for it to be here.
* Replace "system" with system languages when setting spelling dictionariesMartin Robinson2012-04-271-0/+19
| | | | | | | The string "system" is used as a placeholder for the default system languages in the preference listing of spelling dictionaries. Before sending this to WebKit to set the spelling dictionaries, we should fill in the actual default system languages.
* e-web-app-utils: use LOG and g_warning instead of g_printDiego Escalante Urrelo2012-04-221-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673348
* Also consider email inputs when looking for user/password formsGustavo Noronha Silva2012-04-211-1/+1
| | | | | | | | Some sites use email addresses for login purposes, and already adopted the email input type for the login forms. This means we should also consider email inputs as a possible username entry. https://bugzilla.gnome.org/show_bug.cgi?id=666326
* ephy-embed-single: introspection fixesXan Lopez2012-04-141-1/+1
|
* ephy-embed-event: introspection fixesXan Lopez2012-04-141-2/+2
|
* ephy-permission-manager: introspection fixesXan Lopez2012-04-141-5/+5
|
* ephy-embed-event: fix introspection warningXan Lopez2012-04-141-0/+6
|
* ephy-web-view: fix a few gtk-doc warningsXan Lopez2012-04-141-8/+6
|
* web-apps: s/StartupNotification/StartupNotify/ in desktop filesXan Lopez2012-04-111-1/+1
| | | | | | That's the correct name for the entry. https://bugzilla.gnome.org/show_bug.cgi?id=673865
* ephy-embed-single: do not handle ephy-embed-prefsDiego Escalante Urrelo2012-04-111-4/+0
| | | | | | | | | ephy-embed-prefs acts like a singleton. Instead of calling init and shutdown in EphyEmbedSingle instances handle it in ephy-main as a true init/shutdown API like ephy-file-helpers. https://bugzilla.gnome.org/show_bug.cgi?id=673273
* Revert "e-web-app-utils: whitespace nitpicks in casts"Xan Lopez2012-04-021-5/+5
| | | | | | | This reverts commit 0b05e95f4aea0ab11ab11828e0bcc0b920d6230e. Our codebase is not completely consistent here, but as a rule we don't do whitespaces in casts.
* e-web-app-utils: whitespace nitpicks in castsDiego Escalante Urrelo2012-04-011-5/+5
|
* e-web-app-utils: update and fix gtk-doc commentsDiego Escalante Urrelo2012-03-311-3/+17
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673022
* e-web-app-utils: sync var names in APIDiego Escalante Urrelo2012-03-312-10/+10
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673021
* e-web-app-utils: remove ephy-web-view includeDiego Escalante Urrelo2012-03-312-3/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673019
* e-web-app-utils: add ephy_web_application_existsAlexandre Mazari2012-03-312-0/+21
| | | | | | Signed-off-by: Diego Escalante Urrelo <diegoe@igalia.com> https://bugzilla.gnome.org/show_bug.cgi?id=658925
* ephy-encodings: reorder includesXan Lopez2012-03-311-3/+3
|
* ephy-web-app-utils: do not use the webview in the web app creation methodAlexandre Mazari2012-03-292-12/+10
| | | | | | | It's not really needed, will allow to reuse this code during profile migration. https://bugzilla.gnome.org/show_bug.cgi?id=658925
* Remove EphyHistory from the repository. It's unused now.Xan Lopez2012-03-206-1230/+1
|
* Replace EphyFaviconCache by WebKit's icon database cacheSergio Villar Senin2012-03-208-1012/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=648653
* Fix bookmarklet's titles when they are createdXan Lopez2012-03-162-14/+22
| | | | | | | | This was pretty much broken since the Gecko days. On top of that, catch the case where the bookmarklet title is in the child node of the anchor element, which we never got right before. https://bugzilla.gnome.org/show_bug.cgi?id=672194
* ephy-web-view: return an actual visit type instead of just '0'Xan Lopez2012-03-151-1/+1
|
* The security certificate code is a no-op, remove itXan Lopez2012-03-152-13/+0
|
* ephy-web-view: remove gtk-doc snippet for a private methodXan Lopez2012-03-151-7/+0
|
* ephy-web-view: use plain g_signal_connect alwaysXan Lopez2012-03-151-9/+9
| | | | I'm pretty sure there's no point in using the _object variant here.
* ephy-web-view: connect to WebView signals in just one placeXan Lopez2012-03-151-8/+12
|
* ephy-web-view: we already have a reference to the history serviceXan Lopez2012-03-151-1/+1
| | | | Don't request the global instance again.
* ephy-web-view: do not duplicate code for the uri->title fallbackXan Lopez2012-03-151-17/+14
|
* ephy-web-view: remove can_go_up/go_up codeXan Lopez2012-03-152-50/+2
| | | | We do not support this anymore in our UI.
* ephy-web-view: make ephy_web_view_clear_history privateXan Lopez2012-03-152-54/+47
| | | | It's only used by the class itself now.
* Automatically prefix existing absolute paths with file://Gustavo Noronha Silva2012-03-143-5/+17
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671792
* Revert "ephy-embed-single: remove some dead code"Xan Lopez2012-03-141-1/+53
| | | | | | | This reverts commit 08956cf8cd8040f8500c40b646a52b6f03ae5275. Bleh, the mostly useless popup code in EphyWebView needs this even if it's a no-op, so bring it back.
* ephy-embed-single: remove network statusXan Lopez2012-03-142-96/+0
| | | | We are not using it. Easy enough to bring it back if needed.
* ephy-embed-single: remove some dead codeXan Lopez2012-03-141-56/+1
|
* ephy-embed: do not pull in string.h for strcmpXan Lopez2012-03-141-2/+1
|
* ephy-embed: remove a few useless includesXan Lopez2012-03-141-8/+0
|
* ephy-web-view: also reset page visit type on load failedXan Lopez2012-03-141-0/+3
|
* ephy-web-view: style fixesXan Lopez2012-03-141-82/+79
|
* ephy-embed: remove history serviceXan Lopez2012-03-141-5/+0
| | | | EphyEmbed does not use it anymore.
* ephy-web-view: move history management to EphyWebViewXan Lopez2012-03-142-26/+21
|
* ephy-web-view: move zoom handling to EphyWebViewXan Lopez2012-03-142-81/+82
| | | | | Again, this only interacts with the view, so it does not need to be in EphyEmbed.
* ephy-web-view: let EphyWebView clear its own historyXan Lopez2012-03-142-15/+15
| | | | No point in doing it from EphyEmbed.
* ephy-web-view: get a reference to the history serviceXan Lopez2012-03-141-0/+3
| | | | We are going to move stuff from embed to webview, so we'll need this.
* history: remember visit typesXan Lopez2012-03-143-6/+62
| | | | | | | Instead of hardcoding all visits as 'TYPED' properly distinguish between bookmarks, following links and typing URIs in the entry. We'll use this to compute the frecency of history items.
* ephy-web-view: fix indentationXan Lopez2012-03-131-18/+14
|
* ephy-web-view: remove useless includesXan Lopez2012-03-131-4/+0
|
* ephy-web-view: move header to the new coding styleXan Lopez2012-03-131-32/+34
|
* ephy-web-view: remove stale codeXan Lopez2012-03-131-43/+0
|
* ephy-embed: cancel the pending history queries during finalizeClaudio Saavedra2012-03-131-1/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671901
* ephy-history-service: make the async API cancellableClaudio Saavedra2012-03-132-3/+3
| | | | | | | | | | | The main purpose of the cancellable API in ephy-history-service is to let the user notify when the results of the operation are no longer needed and the callback call can be omitted. Since performing a read operation, in such cases, makes no sense, we cancel them altogether. However, given the nature of the service, we don't cancel write operations. https://bugzilla.gnome.org/show_bug.cgi?id=671901
* ephy-web-view: share non-search-regex for testingDiego Escalante Urrelo2012-03-113-9/+47
| | | | | | Add ephy-embed-private.h https://bugzilla.gnome.org/show_bug.cgi?id=669548
* ephy-embed: do not add the homepage (about:blank) to the historyXan Lopez2012-03-081-0/+3
| | | | | Don't do it when it's loaded automatically through NewTab or NewWindow, but do it if the user actually types the URI.
* ephy-web-view: remember when we are loading the homepageXan Lopez2012-03-082-11/+37
| | | | And add a getter for the information.
* ephy-web-view: protect against pages with NULL URIXan Lopez2012-03-071-4/+6
| | | | | | | Some pages (like those opened with javascript:...) can have a NULL URI according to WebKit, so protect against that. https://bugzilla.gnome.org/show_bug.cgi?id=671555
* Move the host and urls views from embed to lib/widgetsXan Lopez2012-03-079-804/+1
| | | | | Since that's their natural place. Also create a base class to hold the common code they share.
* ephy-history-view: ellypsize the title and url columnsClaudio Saavedra2012-03-071-2/+6
|
* history-window: Add a view for the hostsClaudio Saavedra2012-03-075-0/+396
|
* Add a new view for the pages historyClaudio Saavedra2012-03-075-0/+403
| | | | | The current view is based in EphyNode, so it's not useful. GtkTreeView and GtkListStore subclasses are added for this purpose.
* ephy-embed: do not retrieve the legacy history instanceXan Lopez2012-03-071-3/+0
| | | | We are not using it anymore.
* ephy-history-service: add a "cleared" signal for the clear methodXan Lopez2012-03-071-3/+3
| | | | And use it in EphyEmbed instead of the legacy signal.
* Rename ephy_history_service_add_page to ephy_history_service_visit_urlXan Lopez2012-03-071-1/+1
| | | | Fits much better with the naming model in that class.
* Get rid of EphyBrowseHistoryXan Lopez2012-03-077-295/+40
| | | | | | It was a very thin wrapper on top of the history service, it does not seem to make much sense. For now move the two useful helper methods down to the service without further changes.
* ephy-web-view: also fallback to URI as title hereXan Lopez2012-03-071-3/+9
|
* ephy-browse-history: small cleanupXan Lopez2012-03-071-1/+1
|
* ephy-browse-history: style cleanupsXan Lopez2012-03-072-115/+45
|
* Remove the set_url_property history methodXan Lopez2012-03-071-6/+4
| | | | It's not really that useful.
* Store zoom levels per host, not per URLXan Lopez2012-03-073-17/+32
| | | | | | | | | | Zoom levels have always been stored per host in Epiphany, not per URL (otherwise you'd have to re-apply the zoom level again and again when visiting, say, every news entry in your favorite newspaper). Change things to work like that. Note: this changes the SQL table format for the history, so you'll need to re-migrate your history.
* Hook the new history to the URL entryXan Lopez2012-03-072-0/+6
| | | | | We now fetch the history from the SQL backend using a service thread, and merge the results with our old bookmark data.
* Use EphyBrowseHistory to store page titlesClaudio Saavedra2012-03-071-4/+3
|
* Use EphyBrowseHistory to set/get the zoom level for pagesClaudio Saavedra2012-03-071-39/+39
|
* Use the new EphyBrowseHistory to add a URI to the historyClaudio Saavedra2012-03-071-6/+1
|
* Add a EphyBrowseHistory instance to EphyEmbedClaudio Saavedra2012-03-071-0/+3
|
* Add a EphyBrowseHistory instance to EphyEmbedShellClaudio Saavedra2012-03-072-0/+29
|
* Add initial implementation of the browse history frontendClaudio Saavedra2012-03-073-0/+321
| | | | This will eventually replace the old EphyHistory class
* We need to be a bit smarter about this, and only dismiss it forXan Lopez2012-02-241-1/+1
| | | | | | | | user-initiated navigations. Revert for now. Revert "ephy-web-view: dismiss the "Remember password?" infobar on navigation" This reverts commit 2434fbfa4df95702de8e19e2484b23937113a8cd.
* ephy-web-view: fix loading of <domain>:<port> URIsXan Lopez2012-02-231-1/+76
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=670674
* ephy-embed-utils: fix loading of <IP address>:<port> URIsXan Lopez2012-02-231-7/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669461
* ephy-web-view: don't assume a embed-container in close-web-viewDiego Escalante Urrelo2012-02-221-9/+5
| | | | | | | | | The EphyWebView is not necessarily embedded in an EphyEmbedContainer. Simplify close_web_view_cb and make it smarter. It now handles EphyEmbedContainer and random toplevel widgets. https://bugzilla.gnome.org/show_bug.cgi?id=669737
* ephy-web-view: remove close-requested signalDiego Escalante Urrelo2012-02-222-17/+0
| | | | | | | | | WebKitWebView has a ::close-web-view signal for the same thing. The only user of this was ephy-window, for exactly the same thing that we are already doing in ephy-web-view, when handling ::close-web-view. https://bugzilla.gnome.org/show_bug.cgi?id=669737
* ephy-web-app-utils: be more careful listing applicationsDiego Escalante Urrelo2012-02-221-16/+17
| | | | | | Check if the .desktop file exists to prevent false positives. https://bugzilla.gnome.org/show_bug.cgi?id=669836
* Initialize variables that could be freed without being setGustavo Noronha Silva2012-02-201-2/+2
|
* Make inspector handling real-world compliantGustavo Noronha Silva2012-02-201-10/+30
| | | | | | | Destroy and recreate the inspector's WebView instead of reusing it, and make it always start windowed. https://bugzilla.gnome.org/show_bug.cgi?id=669835
* ephy-web-view: blank line nitpickDiego Escalante Urrelo2012-02-111-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669737
* ephy-web-app-utils: add EPHY_WEB_APP_ICON defineDiego Escalante Urrelo2012-02-092-2/+3
| | | | | | | Stands for "app-icon.png", which is of interest outside ephy-web-app-utils.c https://bugzilla.gnome.org/show_bug.cgi?id=669182
* Convert app names to the proper encoding before using them as filenamesClaudio Saavedra2012-02-081-12/+53
| | | | | | Also add proper conversion error handling where needed. https://bugzilla.gnome.org/show_bug.cgi?id=658028
* Allow toggling WebGL as a runtime GSettings switchMartin Robinson2012-02-031-0/+4
| | | | | | If WebGL is enabled in WebKitGTK+, this new GSettings switch disables and enables WebGL settings at runtime. WebGL is disabled by default currently because Epiphany may use Clutter in the future.
* Get rid of EPHY_STOCK_EPHYXan Lopez2012-01-271-1/+0
| | | | | | In 99% of the cases we were using it for gtk_window_set_icon_name, which does nothing in GNOME 3. In the couple of valid use cases, just use "web-browser" directly.
* ephy-embed-utils: load again stuff like 'localhost:3000"Xan Lopez2012-01-251-5/+16
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=668593
* Never append "http://" to an address with a schemeXan Lopez2012-01-242-3/+6
| | | | | It does not make sense. Fixes opening about: pages after normalizing all URLs again (and not only those without a scheme!).
* ephy-embed-utils: consider 'ephy-about' as a web schemeXan Lopez2012-01-241-0/+1
| | | | | Otherwise we'll fail to open about: pages in our policy decision mechanism.
* ephy-web-view: remove unused variableXan Lopez2012-01-241-6/+0
|
* ephy-web-view: dismiss the "Remember password?" infobar on navigationXan Lopez2012-01-241-1/+1
| | | | | Does not make much sense to keep it when the context for the action is gone.
* ephy-window: sync page actions with is-blank propertyDiego Escalante Urrelo2012-01-241-3/+42
| | | | | | | | Add ::is-blank property to EphyWebView and update EphyWindow to sync some of the page menu actions with it. There's no point in enabling save/reload/bookmark/etc on about:blank. https://bugzilla.gnome.org/show_bug.cgi?id=668105
* ephy-web-view: remove uneeded is_blank callsDiego Escalante Urrelo2012-01-241-4/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=668105
* ephy-web-view: only autosearch input without schemeDiego Escalante Urrelo2012-01-241-11/+18
| | | | | | | Create an autosearch from the user input only when it has no scheme at all. https://bugzilla.gnome.org/show_bug.cgi?id=551857
* ephy-embed-utils: mailto is not a web schemeDiego Escalante Urrelo2012-01-241-2/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=551857
* ephy-embed: reorder includesXan Lopez2012-01-231-3/+2
|
* ephy-embed: move the other statusbar id to the .c fileXan Lopez2012-01-232-2/+2
| | | | It's not used anywhere else.
* ephy-embed: remove unused defineXan Lopez2012-01-221-1/+0
|
* ephy-embed: the method to set the statusbar label can be private tooXan Lopez2012-01-222-17/+15
|
* ephy-embed: we can now make the statusbar methods privateXan Lopez2012-01-222-122/+116
|
* ephy-embed: stop listening to progress updates after disposeXan Lopez2012-01-201-6/+14
| | | | | | | | | | | | | | | | | | Similar to status message updates, otherwise we might end up updating dead widgets. This fixes: #0 0x00007ffff592b9c8 in g_logv (log_domain=0x7ffff66de0cf "Gtk", log_level=G_LOG_LEVEL_CRITICAL, format=0x7ffff59ade60 "%s: assertion `%s' failed", args1=0x7fffffffd588) at gmessages.c:758 #1 0x00007ffff592babc in g_log (log_domain=0x7ffff66de0cf "Gtk", log_level=G_LOG_LEVEL_CRITICAL, format=0x7ffff59ade60 "%s: assertion `%s' failed") at gmessages.c:792 #2 0x00007ffff592bafd in g_return_if_fail_warning (log_domain=0x7ffff66de0cf "Gtk", pretty_function=0x7ffff66e27f0 "gtk_widget_hide", expression=0x7ffff66df7e8 "GTK_IS_WIDGET (widget)") at gmessages.c:801 #3 0x00007ffff657c430 in gtk_widget_hide (widget=0x15ca190) at gtkwidget.c:3992 #4 0x00000000004703f6 in clear_progress_cb (embed=0x516450) at ../../embed/ephy-embed.c:525 #5 0x00007ffff5923c2c in g_timeout_dispatch (source=0x1bb9400, callback=0x4703d6 <clear_progress_cb>, user_data=0x516450) at gmain.c:3857 #6 0x00007ffff5921e83 in g_main_dispatch (context=0x524f70) at gmain.c:2513 #7 0x00007ffff5922b44 in g_main_context_dispatch (context=0x524f70) at gmain.c:3050 #8 0x00007ffff5922d27 in g_main_context_iterate (context=0x524f70, block=1, dispatch=1, self=0x629c90) at gmain.c:3121 #9 0x00007ffff5922deb in g_main_context_iteration (context=0x524f70, may_block=1) at gmain.c:3182 #10 0x00007ffff5b2705e in g_application_run (application=0x508000, argc=1, argv=0x7fffffffda78) at gapplication.c:1496 #11 0x000000000042d6e2 in main (argc=1, argv=0x7fffffffda78) at ../../src/ephy-main.c:472
* ephy-embed-shell: add missing annotationXan Lopez2012-01-201-1/+1
|
* ephy-embed: if there's a priv variable set, use itXan Lopez2012-01-191-39/+40
|
* ephy-embed: do not listen to status updates after disposeXan Lopez2012-01-191-1/+13
| | | | | | Otherwise we might crash updating a dead statusbar widget. https://bugzilla.gnome.org/show_bug.cgi?id=668171
* Remove Print Setup item from the super menu and embed it into print dialogCarlos Garcia Campos2012-01-181-3/+6
|
* Remove Print Preview item from the super menuXan Lopez2012-01-182-16/+0
| | | | | It's already accessible from the Print dialog itself, so there's really no need to duplicate it.
* ephy-web-view: remove unused methodXan Lopez2012-01-172-67/+0
|
* embed: add enter/leave events to the GtkOverlayCosimo Cecchi2012-01-171-0/+3
| | | | | So the floating bar can listen to enter-notify-event and move accordingly.
* embed: set the floating bar as no_show_allCosimo Cecchi2012-01-171-0/+1
| | | | | Since we want to show it on demand and we call show_all on the parent GtkPaned.
* Move the nautilus floating bar to lib/widgetsXan Lopez2012-01-171-3/+1
| | | | And fix a couple of warnings.
* floating-bar: import NautilisFloatingBar into EpiphanyCosimo Cecchi2012-01-171-37/+10
| | | | Yay for sharing code. It also helps theming.
* Add mnemonics for password/recovery infobarsJiro Matsuzawa2012-01-061-2/+2
| | | | | | | | | 'Store password' and 'Session recovery' infobars had no mnemonics in their buttons. Bug #667238 Signed-off-by: Diego Escalante Urrelo <descalante@igalia.com>
* ephy-embed-prefs: Hardcode enable-fullscreen to TRUEPhilippe Normand2012-01-041-0/+1
| | | | | | | | | This change is required for websites (like Youtube) using the new Javascript-based fullscreen API. Also bumped the WebKitGTK requirement to 1.7.3 in agreement with Xan. This release includes bug fixes related to fullscreen display of videos. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=665341
* e-download: add ephy_download_get_content_typeDiego Escalante Urrelo2011-12-212-3/+49
| | | | | | | | | | This new API gets the content-type of a download using GIO, or Soup if GIO is still not available for the download. GIO is our first option since its local guesses are more reliable. Soup can be cheated by servers or confused by still too incomplete downloads. Bug #662059
* ephy-embed-prefs: reorder includesXan Lopez2011-12-201-4/+4
|
* EphyEmbed: do not show the progressbar for about:blankClaudio Saavedra2011-12-161-0/+5
| | | | | Now that we've placed a timeout, about:blank shows an annoying complete progressbar shortly. We don't need it.
* EphyEmbed: Hide the statusbar in a timeout handlerClaudio Saavedra2011-12-161-1/+22
| | | | To allow it being displayed for a short while once it's complete.
* EphyEmbed: reset the alignment of the statusbar when hiddenClaudio Saavedra2011-12-161-2/+3
| | | | | | So that it shows to the left by default. The double get_parent() is ugly and we should probably hide the implementation details of the statusbar in a separate class.
* ephy-web-view: plug leakXan Lopez2011-12-151-3/+3
| | | | | | | | | | | | ==16675== 83 (64 direct, 19 indirect) bytes in 1 blocks are definitely lost in loss record 10,060 of 13,509 ==16675== at 0x4A074CD: malloc (vg_replace_malloc.c:236) ==16675== by 0x70C6F17: standard_malloc (gmem.c:85) ==16675== by 0x70C6FA0: g_malloc (gmem.c:159) ==16675== by 0x70DE86C: g_slice_alloc (gslice.c:1003) ==16675== by 0x70DE8AB: g_slice_alloc0 (gslice.c:1029) ==16675== by 0x6E2873D: soup_uri_new_with_base (soup-uri.c:177) ==16675== by 0x6E29468: soup_uri_new (soup-uri.c:398) ==16675== by 0x47D70F: load_status_cb (ephy-web-view.c:1906)
* Some indentation fixes.Claudio Saavedra2011-12-141-6/+4
| | | | Sorry 'bout that.
* Use an overlay progress bar for the loading progress.Claudio Saavedra2011-12-141-1/+32
| | | | | | The theming was done by Lapo Calamandrei. https://bugzilla.gnome.org/show_bug.cgi?id=665470
* Use a GtkOverlay for the statusbar instead of shipping GeditOverlayClaudio Saavedra2011-12-141-10/+27
| | | | | | | Instead of escaping the cursor, we align the overlay at the opposite side of the window. This is consistent with nautilus. https://bugzilla.gnome.org/show_bug.cgi?id=653996
* ephy-embed: small cleanupsXan Lopez2011-12-111-5/+3
|
* Remove last traces of dummy certificate managerXan Lopez2011-12-051-49/+0
| | | | | | There was no implementation, so it was just polluting the codebase. In the future we probably want a non-optional implementation in the "Page details" section, using the soup/glib-network APIs.
* Remove homepage preference from GSettingsXan Lopez2011-12-042-18/+5
| | | | | | | | Hardcode it to be "about:blank". The final step could be completely remove the rest of the code, but it might be useful for the future Overview page (if we consider it the new "homepage"). https://bugzilla.gnome.org/show_bug.cgi?id=665469
* Redesign of about:pagesTom Tryfonidis2011-12-011-1/+2
| | | | | | | The patch changes the design of about:plugins/memory pages making them similar to about:applications. https://bugzilla.gnome.org/show_bug.cgi?id=665136
* web view: fix icon namesSaleem Abdulrasool2011-12-011-4/+4
| | | | | | | | | | | | | The GTK+ 3.0 themes have a different name for the dialog icons (dialog-{information,error}) rather than the stock GTK+ icon names (gtk-dialog-{info,error}). Use the proper names. Additionally, ensure that icon_info is not NULL when performing the lookup, which will fail. This part of the change is to avoid a possible crash/segfault caused by the lookup without a valid icon_info. Bug: 665170 Signed-Off-By: Saleem Abdulrasool <compnerd@compnerd.org>
* ephy-request-about: fix a potential crasher if the css file is missingClaudio Saavedra2011-12-011-1/+4
| | | | And prevent the corresponding GError from leaking.
* webapps: ensure the webapps are shown in the shellClaudio Saavedra2011-12-011-6/+14
| | | | | | | Make sure the applications directory in XDG_DATA_HOME exists before creating a symlink for the application desktop file. https://bugzilla.gnome.org/show_bug.cgi?id=664751
* ephy-embed: disconnect statusbar timeout on disposeXan Lopez2011-11-301-7/+12
| | | | Otherwise we'll crash when we close windows/tabs too fast.
* Use SoupSession:ssl-use-system-ca-file propertyDan Winship2011-11-302-16/+4
| | | | | | | | Rather than copying glib-networking's logic for finding the system trusted CA file and then telling libsoup to use it, just use the new ssl-use-system-ca-file property. https://bugzilla.gnome.org/show_bug.cgi?id=633109
* Delay hiding the statusbar overlay when the status text changes.Martin Robinson2011-11-301-2/+23
| | | | | Delaying the statusbar hide prevents the overlay from flickering when moving the cursor over a series of links.
* fix string formatFunda Wang2011-09-281-1/+1
|
* Add translation context for a stringClaudio Saavedra2011-09-161-1/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=658900
* Fix documentation commentClaudio Saavedra2011-09-121-1/+1
|
* web apps: Remove G_DIRECTORY_SEPARATOR chars from filenamesClaudio Saavedra2011-09-121-0/+1
| | | | | | To avoid nasty surprises https://bugzilla.gnome.org/show_bug.cgi?id=658028
* Normalize the web app profile directory and desktop file namesClaudio Saavedra2011-09-121-8/+38
| | | | | | | | This is necessary to allow the shell to guess properly the location of the desktop file out of the WM_CLASS property in the application window. Also, append a sha1 checksum to the filenames to avoid collisions. https://bugzilla.gnome.org/show_bug.cgi?id=658010
* ephy-web-view: SoupURI construction can fail for invalid URIsXan Lopez2011-09-121-2/+4
| | | | Guard against that.
* ephy-web-view: remove unused and unimplemented methodXan Lopez2011-09-112-18/+0
|
* ephy-web-view: sort includesXan Lopez2011-09-111-14/+14
|
* ephy-web-view: use SoupURI for about: checkXan Lopez2011-09-111-4/+9
| | | | | Turns out the stuff after about: in a SoupURI will be the path, not the host. Guess it makes sense.
* Remove obsolete commentClaudio Saavedra2011-09-091-2/+1
|
* ephy-web-view: remove now unused parameter to sprintfXan Lopez2011-09-081-1/+1
| | | | Noticed by Luc Pionchon.
* ephy-web-view: do not mention the URL twice in error pagesXan Lopez2011-09-071-1/+1
| | | | Sounds repetitive.
* Revert "ephy-web-view: fix title for error pages"Xan Lopez2011-09-071-1/+1
| | | | | | This reverts commit b01497d86f8ed6d1f3ddbfc66d2c5c1354c9afb3. Xan, see me after class.
* Make about:applications prettierXan Lopez2011-09-073-8/+57
| | | | Thanks to Lapo Calamandrei for the CSS.
* ephy-web-view: fix title for error pagesXan Lopez2011-09-061-1/+1
| | | | Diego, talk to me after class.
* ephy-web-view: fix multiple deletes in about:applicationsXan Lopez2011-09-061-1/+3
| | | | | The URI changes to about:applications? after the first one, need to take that into account.
* Implement about:applicationsXan Lopez2011-09-064-4/+147
| | | | | | A really simple way to list and delete the existing Web Applications. Hopefully this will go completely away in 3.4 replaced with something in the shell itself.
* ephy-request-about: move this to embed/Xan Lopez2011-09-063-0/+238
| | | | We'll need to access embed/ data for about:applications.
* e-web-view: fix error pages for RTL localesVinicius Depizzol2011-09-051-2/+3
| | | | | | | | Remove hardcoded directions in the CSS definitions and make them simpler. Bug #314205 Signed-off-by: Diego Escalante Urrelo <descalante@igalia.com>
* e-web-view: use proper html for paragraphsDiego Escalante Urrelo2011-09-051-10/+11
| | | | Bug #314205
* e-web-view: better messages in error pagesDiego Escalante Urrelo2011-09-051-4/+15
| | | | | | Use better words to describe the situation, avoid techie terms. Bug #637903
* e-file-helpers: implement and use ephy_file_delete_dir_recursivelyDiego Escalante Urrelo2011-09-051-52/+1
| | | | | | | | | | Move the implementation from ephy-web-app-utils.c to ephy-file-helpers.c. The current one was not doing recursive delete, this caused the bug of private instances leaving their profile directories behind in /tmp. Bug #658201
* ephy-web-app-utils: fix include sortXan Lopez2011-09-041-0/+1
|
* ephy-web-app-utils: adjust includes to styleguideXan Lopez2011-09-041-2/+0
|
* ephy-web-app-utils: move the web app creation code hereXan Lopez2011-09-043-164/+183
|
* ephy-web-view: silence compiler warningXan Lopez2011-09-031-0/+1
|
* ephy-web-app-utils: rename ephy_delete_web_application to ↵Xan Lopez2011-09-032-3/+3
| | | | | | ephy_web_application_delete You know, use namespaces correctly and all that.
* Add ephy_web_application_get_profile_directory()Claudio Saavedra2011-09-023-9/+26
| | | | And factor out some code
* Move EPHY_WEB_APP_PREFIX declaration to a cleaner locationClaudio Saavedra2011-09-022-2/+2
|
* Add --delete--application command line option to delete WebAppsXan Lopez2011-09-023-1/+175
| | | | | | Plus the necessary code to implement some sort of UI to do this for the 3.2 time frame. Hopefully for 3.4 we'll have a GNOME-wide system to deal with applications.
* ephy-web-view: do not launch ephy with jhbuildXan Lopez2011-08-291-1/+1
| | | | Leftovers from testing.
* Add basic support for Web ApplicationsXan Lopez2011-08-292-0/+211
| | | | | | | | Allow to save any page as a "Web Application". A new .desktop file will be created, and added to the Shell as a new application. It will launch epiphany in application mode, with its own private profile (inheriting some data from the main profile, like the relevant domain cookies) and in a new process.
* e-web-view: use hostname in geolocation infobarDiego Escalante Urrelo2011-08-131-1/+4
| | | | | | | Instead of the full URI, make it more readable and use only the hostname. Bug #649164
* Use line-wrap in GtkInfoBar labelsDiego Escalante Urrelo2011-08-131-1/+2
| | | | | | | Otherwise we can end up with fixed width windows that exceed the display size when long sentences are displayed. Bug #649164
* Use g_markup_printf_escaped when printing urisDiego Escalante Urrelo2011-08-131-5/+5
| | | | | | | This covers GtkInfoBar in ephy-web-view.c, ephy-download-widget.c and also tooltips and labels in ephy-download-widget.c Bug #649164
* e-web-view: use ephy_string_get_host_nameDiego Escalante Urrelo2011-08-111-4/+4
| | | | Bug #655899
* e-window: use a css file for widget stylingAlexandre Mazari2011-07-301-15/+0
| | | | | | | | | | | | Replace local styling (used for the tab close button and embed's status frame) by a global css sheet loaded at window construction. This allows tweaking style properties without rebuilding. The css file is installed in $(pkgdatadir)/epiphany.css. Signed-off-by: Diego Escalante Urrelo <descalante@igalia.com> Bug #644805
* e-embed: remove useless e-file-chooser includeDiego Escalante Urrelo2011-07-301-1/+0
|
* Add an --application-mode flag and global modeXan Lopez2011-06-301-1/+2
| | | | | | | | | For now it's pretty much like a private instance, but: - A profile directory *must* be passed - Global passwords and cookies are accessed. In the future we'll likely restrict cookies to the ones for the web application domain, which we'll copy from the main cookies file.
* Use an enum for the global mode of the applicationXan Lopez2011-06-304-22/+30
| | | | In preparation to add a new mode for WebApps.
* Use GtkApplication's window tracking for EphyWindow tooXan Lopez2011-06-302-44/+0
| | | | | | | | Instead of our own home-grown system. I think we should subclass window_added in GtkApplication and do there the session & state stuff and get rid of ephy_session_add_window and ephy_state_add_window.
* Always use the EphyEmbedShell to know if we are a private instanceXan Lopez2011-06-302-2/+2
| | | | We can now get rid of the EphyFileHelpers method.
* Merge EphyApplication into Ephy(Embed)ShellXan Lopez2011-06-302-3/+83
| | | | | | | | | | | We want to use EphyApplication from embed/ too, so instead of following the EphyEmbedShell/EphyShell pattern just fold the code into the Shell itself. This makes sense since both classes have basically the same function, and we can easily leave the non-embed code in EphyShell and move to EphyEmbedShell the bits we want to be global. The better name would be EphyCoreApplication/EphyApplication for the resulting object, but we can do this later.
* ephy-embed-single: remove add-search-engine signalXan Lopez2011-06-282-27/+0
| | | | | It's not used anymore. If we ever reimplement this we can add it again.
* ephy-embed-prefs: stop trying to use the GNOME font settingsXan Lopez2011-06-181-37/+7
| | | | | | | | | | | | | | They are particularly ill-suited for us in GNOME 3: - font-name is Cantarell, which is not good as the sans-serif font in the web. - document-font-name, which we hoped would be a serif font, is "Sans 11". So just give up and set "sans" "serif" and use whatever the system is set up to do for that. In Fedora we will get DejaVu, which is not particularly great, so ideally we should add code to get better defaults.
* ephy-embed-prefs: plug a couple of leaksXan Lopez2011-06-161-1/+4
|
* Use the generic marshaler throughoutXan Lopez2011-06-146-19/+13
| | | | Just enough to get rid of ephy-marshal.h
* ephy-web-view: do not warn of modified forms for short text in input elementsXan Lopez2011-06-101-2/+23
| | | | | It's not likely the user is interested in saving this, and it's pretty common (eg, google.com).
* ephy-embed-utils: make URI normalization for about: genericXan Lopez2011-06-101-3/+3
|
* Use GtkOrientable interface instead of deprecated V/H widgetsClaudio Saavedra2011-06-093-7/+10
| | | | | | | | | | Gtk[HV]Box, Gtk[HV]Separator, Gtk[HV]Paned are deprecated in GTK+ 3.2, so let's use the GtkOrientable interface instead. GtkBox is likely to dissapear soon too, so a migration to GtkGrid might be necessary at some point. https://bugzilla.gnome.org/show_bug.cgi?id=652201
* use gtk_box_pack_start() with EphyEmbedClaudio Saavedra2011-06-091-1/+1
| | | | | | | Using gtk_container_add() is a bad idea because default fill/expand values can change, and they happened to do in GTK+ 3.1. https://bugzilla.gnome.org/show_bug.cgi?id=652201
* ephy-embed-single: set_network_status needs to notifyDiego Escalante Urrelo2011-06-051-0/+2
| | | | | | Otherwise ephy-window never finds out that the network-status has changed. Bug #624421
* Added about:plugins support.Sergio Villar Senin2011-06-014-5/+43
| | | | | | We are now able to show a page with the list of installed plugins. Bug #575498
* ephy-web-view: warn about unsubmitted forms on closeXan Lopez2011-06-011-0/+33
| | | | | | | Reimplement this again, hopefully a lot more accurately now with WebKit :) Bug #604986
* Add optional spell checking, enabled by defaultXan Lopez2011-05-231-0/+26
| | | | | | | Depends on WebKitGTK+ being built with spell check support, otherwise it won't do anything. Based on a patch by Diego Escalante.
* Slide out the status overlay when the mouse pointer goes close by.Alexandre Mazari2011-04-261-1/+6
| | | | | | | | | This introduces a GeditOverlayChild subclass, listening to parent overlay mouse events to define the escaping policy. The distance from which the widget "escapes" the mouse pointer can be set at construction time. https://bugzilla.gnome.org/show_bug.cgi?id=643909
* ephy-embed-prefs: plug a couple of leaksXan Lopez2011-04-241-1/+4
|
* Remove a few GCC 4.6.0 warningsXan Lopez2011-04-212-4/+0
|
* Better behaviour when openning new windows that are resized as tabsGustavo Noronha Silva2011-04-182-1/+39
| | | | | | | | | | When a new window is opened and given a specific size and position by javascript, the request should only be respected if the new window is being opened stand alone, and considered a popup. This fixes bad behaviour observed when the new window became a tab on an existing window and messed with its size. Bug #612155
* Move overlay statusbar to EphyEmbedXan Lopez2011-04-164-202/+187
| | | | | It's where it belongs, and it will make things easier for the following patches in this area.
* Rely on WebKit doing the check for mixed symbolsGustavo Noronha Silva2011-04-151-14/+0
| | | | | | | WebKit 1.4.0 checks if symbols are being mixed before loading a plugin. That is more robust, so we should rely on it. Bug #647096
* ephy-embed-prefs: auto-shrink images by defaultXan Lopez2011-04-121-1/+0
| | | | | This still has some issues, but until we figure them out I guess it's much better to turn the preference on than off.
* ephy-web-view: use new API for DOM eventsXan Lopez2011-03-191-2/+3
| | | | This requires WebKitGTK+ r81486, soon to be 1.3.13.
* Select the serif font as the default web font.Martin Robinson2011-03-121-4/+4
| | | | | | | To match the behavior of other browsers, the default web content font is the serif font, instead of the sans-serif font. Bug #644523.
* Improve the selection of the system serif font.Martin Robinson2011-03-121-5/+4
| | | | | | | | Instead of using the Gnome interface font as the default serif font, use the Gnome document font. The document font has an increased chance of being a serif font over the interface font. Bug #644521
* ephy-download: add the new EphyDownload objectDiego Escalante Urrelo2011-03-0810-2672/+1199
| | | | | | | | | | | | | | | | | EphyDownload is a wrapper object around WebKitDownload that handles common behavior in downloads: auto-destination, default action for the MIME type. It can be used to wrap a WebKitDownload coming from a WebKitView or to download a url: ephy_download_new_for_uri and ephy_download_new_for_download are provided. Its lifetime is not automagic like EphyEmbedPersist, so you have to unref it when you no longer need it. This new object replaces EphyEmbedPersist and enables us to use a single codepath for downloads in all Epiphany. Bug #618443
* ephy-embed: add a border and a little padding to the status frameXan Lopez2011-03-051-0/+18
| | | | Otherwise it blends a bit too effectively into clear backgrounds.
* ephy-embed: hide toplevel child widgetXan Lopez2011-02-211-2/+8
| | | | | | Since that's what we add to the overlay, its visible property will be in sync with the child container. Gets rid of bothering 1px visible leftover when statusbar is hidden.
* ephy-web-view: do not update statusbar text for webviews without embed objectSergio Villar Senin2011-02-161-1/+3
| | | | | | Fixes a crash when trying to open the WebInspector https://bugzilla.gnome.org/show_bug.cgi?id=642306
* Sync with latest GeditOverlay codeXan Lopez2011-02-161-3/+3
| | | | And adapt to the new API.
* ephy-web-view: do not update status after we are deadXan Lopez2011-02-121-17/+19
| | | | We now reach to the EphyEmbed, so this is dangerous.
* Sync with upstream GeditOverlay codeXan Lopez2011-02-121-1/+1
|
* Change packing order for gedit overlayXan Lopez2011-02-111-4/+4
| | | | | Seems GeditOverlay works better if we pack directly the scrollable widget on it, then pack the overlay in a scrolled window. Do that.
* Port floating statusbar to gedit's overlay widgetXan Lopez2011-02-114-97/+36
| | | | | | | | | | Works correctly in framed pages, and fixes a few bugs along the way (not to mention it should be more efficient since it does not redraw needlessly). The gedit code has been modified to get rid of the animation stuff we don't really need atm; we have coordinated with the gedit developers and hopefully both versions will be in sync again really soon.
* ephy-embed-single: Update to use direct-from-libsoup SoupCacheDan Winship2011-02-031-8/+10
| | | | | | and update configure.ac to require the corresponding libsoup https://bugzilla.gnome.org/show_bug.cgi?id=636861
* ephy-embed-single: make sure flash plugin is disabledCarlos Garcia Campos2011-01-111-3/+1
| | | | | | | | | There might be more than one plugin instance for flash. Iterate the whole list to be sure we have disabled all the possible instances. Bug #637959 Signed-off-by: Diego Escalante Urrelo <descalante@igalia.com>