aboutsummaryrefslogtreecommitdiffstats
path: root/embed
Commit message (Collapse)AuthorAgeFilesLines
* uri-tester: define ad check types hereXan Lopez2013-03-223-190/+29
| | | | And get rid of ad-block.[c,h], which we only used for the enum.
* ephy-adblock-manager: remove, this is unused nowXan Lopez2013-03-222-199/+0
|
* Makefile.am: remove WebKit2 conditional build bits from embed/Xan Lopez2013-03-221-16/+0
|
* ephy-web-view: remove some remaining non WebKit2 bitsXan Lopez2013-03-221-361/+0
|
* ephy-embed-utils: remove non WebKit2 bitsXan Lopez2013-03-221-5/+0
|
* ephy-embed-event: remove non WebKit2 bitsXan Lopez2013-03-221-6/+0
|
* ephy-embed-prefs: remove non WebKit2 bitsXan Lopez2013-03-222-241/+0
|
* ephy-download: remove non WebKit2 bitsXan Lopez2013-03-222-121/+1
|
* ephy-about-handler: add license, G_{BEGIN,END}_DECLS, etcXan Lopez2013-03-221-5/+22
|
* ephy-about-handler: remove non WebKit2 bitsXan Lopez2013-03-221-51/+0
|
* ephy-embed: remove non WebKit2 bitsXan Lopez2013-03-212-387/+0
|
* ephy-embed-shell: remove non WebKit2 bitsXan Lopez2013-03-212-56/+0
|
* Move the clear cache method to EphyEmbedShellXan Lopez2013-03-214-13/+14
| | | | EphyEmbedSingle is almost dead!
* ephy-web-view: remove non WebKit2 bitsXan Lopez2013-03-212-867/+4
| | | | A couple of TODO features have been left guarded by #if 0 blocks.
* ephy-embed-single: remove non WebKit2 bitsXan Lopez2013-03-212-218/+0
|
* ephy-web-view: disable modified forms check in WebKit2Xan Lopez2013-03-201-0/+3
| | | | | | | | | | This code is causing some problems because the check happens in a sync call right before a WebView is destroyed. There seems to be a race condition and some times the method call will hang for seconds waiting for a dead process on the other side. We'll figure it out for 3.8.1, but for now disable it since it's causing more harm than good.
* ephy-web-view: actually move signal handler disconnects to disposeXan Lopez2013-03-191-30/+30
|
* ephy-web-view: disconnect form auth signal handler or disposeXan Lopez2013-03-191-45/+47
| | | | | The signal can (somewhat easily) be emitted on the shell after the web view dies.
* ephy-embed-prefs: Implement user style sheet setting in WebKit2Carlos Garcia Campos2013-03-191-6/+60
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679372
* embed: Use a custom WebKitWebViewGroup for all ephy web viewsCarlos Garcia Campos2013-03-194-19/+44
| | | | | Create all ephy web views with the global group that shares all the global settings.
* ephy-embed: Remove TODO comments about missing send-request signalCarlos Garcia Campos2013-03-171-4/+1
| | | | | It's already implemented and used in the web extension to implement ad-blocker and Do Not Track.
* web-extension: Do not use C++ commentsCarlos Garcia Campos2013-03-171-1/+1
| | | | Forgot to fix this before landing the prefilled forms patch.
* web-extension: Implement Do Not Track in WebKit2Carlos Garcia Campos2013-03-152-9/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=695343
* web-extension: Implement pre-filled forms in WebKit2Carlos Garcia Campos2013-03-156-51/+669
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=684439
* Move the code to crate the remember passwords info bar widget to its own ↵Carlos Garcia Campos2013-03-141-39/+54
| | | | | | | function This will allow to use it for WebKit2 when pre-filled forms are implemented.
* Do not use ephy-auth-data in ephy-embed-single for WebKit2Carlos Garcia Campos2013-03-141-6/+19
| | | | It will be used by the web extension to implement the pre-filled forms.
* ephy-embed-single: also initialize nspluginwrapper plugins in WebKit2Xan Lopez2013-03-131-0/+4
| | | | Should not be as important as in WebKit1, but no reason to not do it.
* ephy-embed-shell: set bus watch id to zeroXan Lopez2013-03-131-1/+3
| | | | | | Since dispose can run multiple times. Patch by Carlos García Campos <cgarcia@igalia.com>
* ephy-web-extension: fix coding styleXan Lopez2013-03-131-3/+3
| | | | Patch by Carlos García Campos <cgarcia@igalia.com>
* Set the disk cache directory depending on the ephy mode in WebKit2Carlos Garcia Campos2013-03-131-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=695345
* ephy-web-view: cast object to the right typeXan Lopez2013-03-131-1/+1
|
* Fix download tests in WK2Manuel Rego Casasnovas2013-03-131-0/+1
| | | | | | Modify ephy_download_dispose to disconnect WebKitDownload from all the handlers. https://bugzilla.gnome.org/show_bug.cgi?id=694579
* Add EphyFormAuthDataCache to ephy-form-auth-dataCarlos Garcia Campos2013-03-123-129/+10
| | | | And use it in EphyEmbedSingle to cache the form auth data.
* lib: Move auth data query/store methods from ephy-profile-utils to a new fileCarlos Garcia Campos2013-03-122-20/+20
| | | | Move to ephy-form-auth-data and renamed accordingly.
* Move find_username_and_password_elements to ephy-web-dom-utilsCarlos Garcia Campos2013-03-121-66/+4
| | | | | | Renamed as ephy_web_dom_utils_find_form_auth_elements(). Also fixed possible memory leaks in case of multiple auth input fields found. It now returns a boolean indicating whther form auth elements were found.
* Port to wk2 webview's snapshotting APIClaudio Saavedra2013-03-121-2/+52
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=695347
* Using webkit_web_view_load_request() after webkit_uri_request_set_uri() in WK2Manuel Rego Casasnovas2013-03-121-1/+2
| | | | | | | | As now we are able to modify the request with webkit_uri_request_set_uri() it is better to use webkit_web_view_load_request() than webkit_web_view_load_uri(). This will allow to call ephy_web_view_load_request() with a modified request. https://bugzilla.gnome.org/show_bug.cgi?id=695446
* Show an error page when the WebProcess crashesXan Lopez2013-03-112-1/+48
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693832
* ephy-embed-shell: add a ::web-view-created signalXan Lopez2013-03-112-1/+21
| | | | | | | Emitted every time we create an EphyWebView anywhere. This will be useful in our tests. https://bugzilla.gnome.org/show_bug.cgi?id=695300
* Fix missing call to webkit_uri_request_set_uri in WK2Manuel Rego Casasnovas2013-03-091-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=695446
* web-extension: Implement adblocker in WebKit2Carlos Garcia Campos2013-03-072-4/+57
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=695307
* Do not build adblock files in libephyembed for WebKit2Carlos Garcia Campos2013-03-073-8/+28
| | | | The required files will be built in the web extension.
* Add support for DNS prefetching when using WebKit2Carlos Garcia Campos2013-03-061-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=684445
* uri-tester: Receive the base data dir as construct property instead of using ↵Carlos Garcia Campos2013-03-063-29/+41
| | | | | | | | | ephy_dot_dir() This removes the dependency of ephy-file-helpers from uri-tester, that will make easier to use it from a WebKit2 web extension https://bugzilla.gnome.org/show_bug.cgi?id=695205
* uri-tester: Use GFile intead of WebKitDownload to retrieve the filtersCarlos Garcia Campos2013-03-061-29/+33
| | | | | | | It removes the WebKit dependency from uri-tester that will allow us to use it also from a WebKit2 web extension. https://bugzilla.gnome.org/show_bug.cgi?id=695198
* ephy-web-view: fix compiler warningsXan Lopez2013-03-061-2/+0
|
* ephy-embed-single: fix compiler warningXan Lopez2013-03-061-1/+1
|
* Implement get best web app icon in WebKit2Manuel Rego Casasnovas2013-03-061-14/+72
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=694091
* incognito: show about:incognito instead of the overviewClaudio Saavedra2013-03-052-10/+17
| | | | | | | | The overview shouldn't be shown in an incognito window as it reveals information about the browsing activity of the user. Also, a welcome page indicating the scope of the incognito window is better. https://bugzilla.gnome.org/show_bug.cgi?id=694200
* ephy-about-handler: add a about:incognito handlerClaudio Saavedra2013-03-052-0/+43
| | | | | | | This shows a welcome message for incognito windows. Artwork by Jakub Steiner. https://bugzilla.gnome.org/show_bug.cgi?id=694200
* ephy-embed-single: cache form data using libsecretClaudio Saavedra2013-03-051-60/+36
| | | | | | | | | | Not only migrate this to libsecret, but also cache the data from the EPHY_FORM_PASSWORD_SCHEMA schema instead of using the GKR-compatibility one. Since we haven't migrated yet the passwords from GKR secrets to the new EPHY_FORM_PASSWORD_SCHEMA schema, the cache will be empty for now. https://bugzilla.gnome.org/show_bug.cgi?id=679918
* ephy-profile-utils: migrate ephy_profile_utils_store/query_form_auth_data() ↵Claudio Saavedra2013-03-051-28/+16
| | | | | | | | | | | | | | | | to libsecret We add a new SecretSchema that is specific to epiphany and intended solely to store passwords for webforms. This is a better approach than hacking the server url in order to store the names of the forms in it. These methods are only used by EphyWebView to store the passwords and to retrieve the password when there is a cache match and by one of the early stages of password migration in the profile-migrator. If only this patch is applied, it is likely that only newly saved patchs will work properly, but others will remain intact. https://bugzilla.gnome.org/show_bug.cgi?id=679918
* ephy-web-view: remove unused methodXan Lopez2013-03-022-44/+0
|
* Implement get web app title in WebKit2Manuel Rego Casasnovas2013-03-021-0/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=694144
* Rename ephy_web_dom_has_modified_forms to ephy_web_dom_utils_has_modified_formsManuel Rego Casasnovas2013-03-012-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=694659
* Create ephy-web-dom-utils for sharing DOM bindings code between WK1 and WK2Manuel Rego Casasnovas2013-02-283-117/+17
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=694659
* Fix WebKit1 buildGustavo Noronha Silva2013-02-241-0/+4
|
* web-extensions: Create the web extension proxy asynchronouslyCarlos Garcia Campos2013-02-232-21/+69
| | | | | | | | And watch the web extension also to clear the proxy if the extension vanishes, normally due to a web process crash, and create the proxy again when the web process is re-spawned. https://bugzilla.gnome.org/show_bug.cgi?id=694519
* ephy-embed-prefs: fix a couple of warningsXan Lopez2013-02-221-1/+3
|
* ephy-web-view: do not use deprecated GtkInfo methodsXan Lopez2013-02-221-1/+1
|
* ephy-web-view: get rid of a compiler warningXan Lopez2013-02-221-2/+0
|
* ephy-embed: use g_strcmp0 instead of checking manually for null stringsXan Lopez2013-02-221-1/+1
|
* web-extension: Use a different service name for every web process extensionCarlos Garcia Campos2013-02-212-2/+10
|
* Fix a crash when deciding whether to switch to overview modeCarlos Garcia Campos2013-02-211-1/+1
| | | | It seems that URI might be NULL in some cases.
* Fix loading HTTP auth protected pages from the overviewCarlos Garcia Campos2013-02-201-4/+11
| | | | | | | | | | | The switch between overview and normal web page happens when the page load is committed, in case of HTTP auth protected pages we never switch to web page mode because authentication happens before the load is committed. In WebKit2 the auth dialog is attached to the web view, so we need to show the web view before the load is committed to show the auth dialog. https://bugzilla.gnome.org/show_bug.cgi?id=694268
* ephy-web-view: Update to the latest WebKit2 API changesCarlos Garcia Campos2013-02-201-5/+1
| | | | | | Use webkit_web_view_get_tls_info() instead of webkit_uri_response_get_https_status() that has been recently removed from the WebKit2 GTK+ API.
* embed: Implement unsubmitted modified forms warning in WebKit2Carlos Garcia Campos2013-02-197-7/+279
| | | | | | Installing a web extension to access the DOM. https://bugzilla.gnome.org/show_bug.cgi?id=684437
* Do not install headersXan Lopez2013-02-151-5/+0
| | | | Since there are no extensions, we don't need to do this anymore.
* Remove EphyPermissionManagerXan Lopez2013-02-155-517/+3
| | | | | This was also a no-op. The only thing the popup code is doing is checking the GSetting, so just do that.
* ephy-embed-single: remove open_window methodXan Lopez2013-02-143-66/+3
| | | | | | It's also been a no-op for a long time. The problem of allowing the popup manager to create windows from embed/ is still left to be solved.
* ephy-embed-single: remove ::handle-content signalXan Lopez2013-02-133-47/+2
| | | | It was meant for extensions, which we don't have anymore.
* ephy-embed-single: remove clear http auth cache methodXan Lopez2013-02-132-21/+0
| | | | It's been unimplemented for ages.
* ephy-web-view: remove dead declarationsXan Lopez2013-02-131-3/+0
| | | | GCC, you need to warn me about these.
* Remove EphyWebView::visibilityXan Lopez2013-02-131-59/+0
| | | | | | This once was likely used to toggle the visibility of popups, but it's now a no-op. When we re-introduce that feature we can do something similar again.
* ephy-web-view: a few more type checks for public methodsXan Lopez2013-02-131-2/+25
|
* ephy-web-view: only extract title from address if address is not NULLXan Lopez2013-02-131-1/+1
|
* ephy-embed-utils: protect against NULL address in methodXan Lopez2013-02-131-0/+4
|
* Fix the build with WebKit2Carlos Garcia Campos2013-02-132-0/+17
|
* Only load pages when their tab is switched to upon session restoreGustavo Noronha Silva2013-02-126-5/+168
| | | | | | | | | | | | | Firefox has led the way implementing this behaviour to improve the experience of restoring a session with lots of tabs. By delaying the loading of pages to when the user shows interest in them, the time it takes for the browser to become usable is diminished, and less pages are loaded in parallel, which improves load time for the first pages the user sees. It also has the advante of displaying less HTTP Basic Auth dialogs, when the user has many tabs pointed to the same server. https://bugzilla.gnome.org/show_bug.cgi?id=675302
* ephy-web-view: fix the docs for a couple of signalsClaudio Saavedra2013-02-121-4/+4
|
* ephy-embed-shell: add EPHY_EMBED_SHELL_MODE_INCOGNITOClaudio Saavedra2013-02-083-3/+7
| | | | | | | | | | Since we need to differenciate between incognito and private mode in order to enable restoring closed tabs only for the latter case. Add a macro for the cases in which either mode should behave in the same way to simplify the change. https://bugzilla.gnome.org/show_bug.cgi?id=128184
* The inspector has moved to starting attached, so follow the changeGustavo Noronha Silva2013-02-071-9/+10
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693177
* Set a document basename when printing to a fileDavid King2013-01-231-0/+15
| | | | | | | Bump GTK+ dependency to 3.5.4, where the new print-to-file support was added to GtkPrintSettings. https://bugzilla.gnome.org/show_bug.cgi?id=692337
* ephy-enbed: Check URI is ephy-about:overview instead of about:overviewCarlos Garcia Campos2013-01-111-2/+2
| | | | | To set the overview mode or not because ephy_web_view_get_address() returns the internal URI, not the one exposed to the UI.
* ephy-web-view: Do not convert ephy-about URIs in ↵Carlos Garcia Campos2013-01-111-11/+7
| | | | | | | ephy_web_view_location_changed() We handle ephy-about URIs intetnally, they are converted to about: when needed.
* Don't use DOM bindings to delete a web application from about:applicationsCarlos Garcia Campos2013-01-112-92/+12
| | | | | | | | Use a different form for every web application with a hidden value containing the application id. Then use the policy client to ignore any form submission from about:applications and delete the application instead, reloading the about:applications page. This solution will work for WebKit2 too.
* ephy-web-view: Strip the query from the URL for about:applicationsCarlos Garcia Campos2013-01-111-0/+11
| | | | | | | When a web application is deleted from about:applications, the form submitted reloads the page adding hidden fields to the URI. https://bugzilla.gnome.org/show_bug.cgi?id=691417
* ephy-web-view: Do not update the URL when changed during committed stateCarlos Garcia Campos2013-01-111-1/+4
| | | | | | Similar to what we do in WebKit2, do not update the URL when view uri changes while loading, because we already update the URL manually when the load is committed.
* ephy-web-view: Remove special case for plugins in get_title_from_address()Carlos Garcia Campos2013-01-111-2/+0
| | | | The title is already set by the plugins HTML in the about handler.
* ephy-web-view: Don't change is_blank property depending on the titleCarlos Garcia Campos2013-01-111-7/+2
| | | | | | | | | In WebKit1 the notify::title signal is emitted twice for every load, first with NULL to reset the title and then with the actual title. A NULL title doesn't necessarily means the page is about:blank, and the property is updated already by ephy_web_view_set_address. https://bugzilla.gnome.org/show_bug.cgi?id=691416
* e-embed: hide progress for about and ephy-aboutDiego Escalante Urrelo2013-01-051-1/+2
| | | | | | The progressbar should only react to pages, not special locations. https://bugzilla.gnome.org/show_bug.cgi?id=685747
* e-embed: only add one statusbar timeout at a timeDiego Escalante Urrelo2013-01-051-1/+3
| | | | | | | Otherwise the statusbar can disappear even if it has a valid message being displayed. https://bugzilla.gnome.org/show_bug.cgi?id=685747
* e-embed: use an overlay for the overviewDiego Escalante Urrelo2013-01-051-16/+10
| | | | | | This permits reusing elements of EphyEmbed more easily. https://bugzilla.gnome.org/show_bug.cgi?id=685747
* e-embed-prefs: remove spaces in Accept-LanguageDiego Escalante Urrelo2013-01-051-1/+1
| | | | | | | | | | | Some servers, like Babel, do not correctly sanitize the string in this header. They expect strings without spaces, even though the RFC includes them. Chrome and Firefox do not use spaces, presumably because many more websites break when using them. https://bugzilla.gnome.org/show_bug.cgi?id=671652
* ephy-shell: There can be two widgets for the same download in WebKit2Carlos Garcia Campos2013-01-041-0/+1
| | | | | | | | In WebKit2 WebKitWebContext::download-started signal is always emitted, even for downloads started manually. We only want to create a new download when the download operation has been started by WebKit. https://bugzilla.gnome.org/show_bug.cgi?id=678993
* ephy-download: Make EphyDownload:window a construct only propertyCarlos Garcia Campos2013-01-043-49/+32
| | | | | | | | It's always set right after the download object is created and it doesn't have any effect when it's set after the download has been added to the embed shell. This way we can make sure that when the download is added to the embed shell the parent window has already been set if there's any.
* Fix build with WebKit2Carlos Garcia Campos2012-12-202-0/+2
|
* Use new libsoup APIsXan Lopez2012-12-192-16/+3
| | | | Drops dependency on libsoup-gnome, we now depend on libsoup 2.41.3
* embed: move the OSD style class to the progressbarCosimo Cecchi2012-12-171-2/+2
| | | | | | <xan> cosimoc: ok, sure, go ahead Fixes black scrollbars showing up.
* Define the names of the history and bookmarks files in just one placeXan Lopez2012-12-121-1/+2
|
* Handle a bit more gracefully the self-launch detectionXan Lopez2012-12-123-1/+50
| | | | | | | Check whether the app that will launch a given download is actually the browser itself, and do nothing *before* going ahead. Seems better than actually launching and then aborting on startup through UUID hacks.
* e-web-view: enable back/forward mouse buttonsDiego Escalante Urrelo2012-12-121-0/+11
| | | | | | | | | Based on nautilus' (nautilus-window.c) button numbers and the bugzilla reports by users. Thank you Vincas Dargis and Joe Barnett for the previous patches. https://bugzilla.gnome.org/show_bug.cgi?id=337852
* ephy-embed: Remove references to SoupPasswordManagerDan Winship2012-12-121-10/+0
| | | | | | Epiphany gets its http-authentication-password-saving support via WebKit now, so remove the old SoupPasswordManager stuff (which is a no-op in libsoup master anyway).
* ephy-embed: fix registration of EphyRequestAboutDan Winship2012-12-111-1/+1
| | | | | The way it was before is supposed to still work (and so needs to be fixed in libsoup), but this way is more right anyway.
* e-embed: document ::overview-modeDiego Escalante Urrelo2012-12-111-0/+5
|
* e-embed-shell: fix spacing in a commentDiego Escalante Urrelo2012-12-111-1/+1
|
* e-download: remove useless includeDiego Escalante Urrelo2012-12-111-2/+0
|
* Add missing NULL-check when getting the WebView's URIMario Sanchez Prada2012-12-111-3/+4
| | | | | | We need to check the URI is valid before asking the WebKitFaviconDatabase for the associated icon, since it must happen that it's NULL even if priv->address is not (e.g. after a load error has occurred).
* e-embed-shell: remove the embed_shell globalDiego Escalante Urrelo2012-12-114-17/+17
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683614
* e-web-view: remove unused varDiego Escalante Urrelo2012-12-091-1/+0
| | | | | | | | ephy-web-view.c: In function '_ephy_web_view_update_icon': ephy-web-view.c:1088:12: warning: unused variable 'object' [-Wunused-variable] https://bugzilla.gnome.org/show_bug.cgi?id=689932
* Port EphyWebView to WebKit2GTK+ favicons API.Mario Sanchez Prada2012-12-041-62/+66
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679370
* Initialize the favicon database from WebKit2GTK+ as soon as possible.Mario Sanchez Prada2012-12-041-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679370
* Fix a ton of 'warning: function declaration isn’t a prototype'Xan Lopez2012-11-052-2/+2
| | | | | | | | | New warning flags have been added to gnome-common recently, and we were getting this a lot. Turns out in C 'foo ()' is not the same than 'foo (void)'; the first just means that no information is given about the number of arguments, the second means the function has exactly zero arguments, so add the 'void' thing all over the place when needed.
* ephy-web-view: do not automatically download embedded objects in WebKit2Carlos Garcia Campos2012-10-161-9/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683635
* ephy-web-view: add FIXME for WebKit2Xan Lopez2012-10-161-0/+2
|
* ephy-web-view: do not automatically download embedded objectsXan Lopez2012-10-161-0/+20
| | | | | | | | Only download mime types we cannot handle when they belong to the main resource. Prevents us from downloading garbage present in <object> files, among other things. https://bugzilla.gnome.org/show_bug.cgi?id=683635
* ephy-web-view: remove handling of Content-Disposition 'attachment'Xan Lopez2012-10-161-25/+0
| | | | | WebKit already does exactly the same thing automatically, no need to handle it here.
* ephy-embed-prefs: Honor smooth scrolling settingCarlos Garcia Campos2012-10-091-0/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679048
* ephy-embed-prefs: Port user agent to WebKit2Carlos Garcia Campos2012-10-081-9/+56
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=684443
* ephy-overview: very minor style fixesXan Lopez2012-10-031-3/+1
|
* ephy-overview: also set shadow style as IN hereXan Lopez2012-10-031-1/+1
|
* ephy-embed: set shadow type IN for scrolled windowXan Lopez2012-10-031-0/+2
| | | | As requested by the GNOME designers.
* ephy-embed: small cleanupXan Lopez2012-10-031-8/+10
| | | | We access the priv struct a bunch of times here, create a variable for it.
* uri-tester: make it compile wth WebKit2Xan Lopez2012-10-031-0/+6
| | | | Still won't work, though, needs to be ported.
* adblock: get rid of AdBlock interfaceXan Lopez2012-10-036-270/+135
| | | | | | | No need for this now, just make EphyAdBlock a concrete class implementing the adblock functionality. https://bugzilla.gnome.org/show_bug.cgi?id=681657
* adblock: we don't use the edit rules stuff anymore, remove itXan Lopez2012-10-035-54/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=681657
* Move adblock extension to embed/Xan Lopez2012-10-035-1/+1154
| | | | | | No reason for it to be in src/ now. https://bugzilla.gnome.org/show_bug.cgi?id=681657
* ephy-adblock-manager: use new coding styleXan Lopez2012-10-032-67/+70
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=681657
* Add adblock GSetting, use itXan Lopez2012-10-021-1/+33
| | | | | | | org.gnome.epiphany.web.enable-adblock, controls whether adblock is enabled (globally). https://bugzilla.gnome.org/show_bug.cgi?id=681657
* ephy-web-view: Use webkit_web_view_is_loading() in WebKit2Carlos Garcia Campos2012-09-271-8/+6
|
* ephy-web-view: remove ephy_web_view_is_loading_homepage()Claudio Saavedra2012-09-172-14/+0
| | | | | | | It's unused and its usage is redundant with the ephy_web_view_is_history_frozen() https://bugzilla.gnome.org/show_bug.cgi?id=683796
* ephy-web-view: freeze history on homepage loadClaudio Saavedra2012-09-171-22/+22
| | | | | | And remove redundant check. https://bugzilla.gnome.org/show_bug.cgi?id=683796
* ephy-web-view: do not save history visits for no-show-addressesClaudio Saavedra2012-09-171-0/+6
| | | | | | | | We don't show these addresses in the location entry because they are very special to epiphany. There is no reason to store them in the history. https://bugzilla.gnome.org/show_bug.cgi?id=683796
* ephy-embed-utils: add ephy_embed_utils_is_no_show_address()Claudio Saavedra2012-09-172-0/+19
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683796
* ephy_web_view_load_error_page: fix GtkIconInfo leakPavel Vasin2012-09-171-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683929
* ephy-embed: show the overview when using wk2Claudio Saavedra2012-09-121-1/+6
| | | | This was neglected before, fix.
* ephy-web-view: fix the wk2 buildClaudio Saavedra2012-09-121-0/+2
| | | | | WK2 doesn't have yet a snapshotting API, so ifdef this out for the time being.
* Use ephy_sanitize_filename() for filenames suggested by the serverCarlos Garcia Campos2012-09-101-1/+1
| | | | | | | Because the suggested filename returned by the server might contain directory separators. https://bugzilla.gnome.org/show_bug.cgi?id=683711
* ephy-web-view: fix memory leakXan Lopez2012-09-081-0/+1
|
* embed-shell: drop a couple of unneeded includesXan Lopez2012-09-081-2/+0
|
* ephy-embed-shell: another style fixXan Lopez2012-09-081-1/+1
|
* embed-shell: remove stale defineXan Lopez2012-09-081-2/+0
|
* embed-shell: should be safe to drop the legacy print setup code nowXan Lopez2012-09-081-20/+0
|
* ephy-embed-shell: minor style fixesXan Lopez2012-09-081-7/+7
|
* ephy-embed-shell: use now coding styleXan Lopez2012-09-082-365/+317
|
* ephy-embed-shell: small cleanupsXan Lopez2012-09-081-10/+6
|
* ephy-embed-shell: cleanup dispose & finalizeXan Lopez2012-09-081-40/+7
| | | | | Unref objects in dispose, not finalize. Use g_clear_object correctly (no need to check whether the pointer is NULL).
* ephy-overview: add missing includeXan Lopez2012-09-061-0/+1
|
* ephy-embed-shell: ephy_embed_shell_get_frecent_store() should not be publicSergio Villar Senin2012-09-053-3/+5
| | | | | Removed ephy_embed_shell_get_frecent_store() from EphyEmbedShell public interface.
* ephy-overview: Use hand cursor when hovering itemsClaudio Saavedra2012-09-051-0/+23
| | | | For improved visual feedback.
* embed-utils: remove extra indentation level in methodXan Lopez2012-09-041-27/+24
| | | | The whole method is inside an if block, just do an early return.
* Add code coverage supportXan Lopez2012-09-041-0/+1
| | | | | | | | | | Needs a fairly recent gnome-common. To use do: - Run configure with --enable-code-coverage - Type 'make check-code-coverage' - Open the HTML results https://bugzilla.gnome.org/show_bug.cgi?id=683297
* ephy-web-view: don't leak the snapsoht cairo surfaceClaudio Saavedra2012-09-041-3/+6
|
* ephy-embed-shell: make the shell find uninstalled iconsXan Lopez2012-09-032-4/+2
| | | | This is needed for distcheck, which runs tests before installing.
* ephy-embed-prefs: Port preferred languages to WebKit2Carlos Garcia Campos2012-09-021-9/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679685
* ephy-embed-shell: load the new thumbnail frame and use it in the overview storeClaudio Saavedra2012-09-011-0/+4
|
* ephy-embed-shell: use the new artwork for the overview's default thumbnailClaudio Saavedra2012-09-011-10/+6
|
* data: add artwork for the overviewClaudio Saavedra2012-09-011-0/+1
| | | | Thumbnail for missing snapshots and thumbnail frame by Jakub Steiner.
* ephy-web-view: store the source tag for the snapshot idleClaudio Saavedra2012-09-011-0/+9
| | | | | To avoid warnings if the view dissapears before the source function is called.
* ephy-web-view: use is_history_frozen() to avoid snapshotting error pagesClaudio Saavedra2012-09-011-2/+4
| | | | | | Since this is used to freeze the history when an error page is being loaded, we can rely on it. Since the snapshots are taken in the FINISHED state, move the call to thaw after that.
* ephy-web-view: Lower the priority of the snapshotting taskClaudio Saavedra2012-09-011-1/+1
| | | | | This makes it more likely that all rendering in the page has already happenend, specially under heavy page load.
* ephy-overview: define the overview title string hereClaudio Saavedra2012-09-012-1/+4
| | | | Instead of duplicating the string everywhere.
* ephy-web-view: define the special-cased title for the overviewClaudio Saavedra2012-09-011-8/+19
|
* ephy-overview: improve layouting of items in the overviewClaudio Saavedra2012-09-011-7/+11
| | | | | | Make the iconview centered in the overview, while expanding this one and enabling scrollbars in both directions. This allows the window to be resized at will.
* Add about:overview to actually go to overview modeClaudio Saavedra2012-09-012-3/+7
|
* ephy-web-view: take a snapshot if needed when the page load finishesClaudio Saavedra2012-09-011-0/+9
|
* ephy-embed: add the overview and a overview-mode propertyClaudio Saavedra2012-09-012-0/+118
| | | | | Toggling this property will toggle visibility of the overview and the paned with the normal embed contents.
* Add EphyOverview widgetClaudio Saavedra2012-09-013-0/+203
| | | | | | | This widget entails two GdMainViews, one for the frecency model and one for the active model. https://bugzilla.gnome.org/show_bug.cgi?id=455173
* ephy-embed-shell: set the default icon for the frecent storeClaudio Saavedra2012-09-011-0/+29
| | | | Add a helper method for this.
* ephy-embed-shell: add a frecent store to the shellClaudio Saavedra2012-09-012-0/+34
| | | | | Since we will use the overview in each tab and these should share the underlying model.
* ephy-embed-prefs: tiny cosmetic fixesXan Lopez2012-08-261-6/+6
|
* ephy-web-view: do not allocate variables before they are neededXan Lopez2012-08-261-3/+3
| | | | Fixes a potential leak in WebKit2 mode.
* ephy-web-view: avoid getting a 'Blank page' title for non titled pagesXan Lopez2012-08-261-3/+3
| | | | | | | | | | | | | In WebKit2 we'll get no notify::title for pages without title, so check this case and reset the title to NULL, which for non-blank pages will use the address as title. This also removes the last notify::embed-title calls outside of ephy_web_view_set_title. Cherry-picked from a patch by Carlos Garcia. https://bugzilla.gnome.org/show_bug.cgi?id=682354
* ephy-web-view: drop superflous notifyXan Lopez2012-08-251-2/+0
| | | | | I don't think notifying 'embed-title' here makes much sense. If it does it's wrong, so if something breaks we'll fix it accordingly.
* ephy-web-view: remove more "invisible URI" logicXan Lopez2012-08-241-4/+1
| | | | | EphyWindow takes care of this now, so don't change the EphyWebView address to NULL when we load about:blank.
* ephy-embed-prefs: Pass an array of languages to spellchecker in WebKit2Carlos Garcia Campos2012-08-231-12/+24
| | | | | The API has changed to receive a char ** instead of a string containing a comma-separated list of languages.
* ephy-embed-single: Pass NULL as destroy notify to ↵Carlos Garcia Campos2012-08-221-1/+1
| | | | | | webkit_web_context_register_uri_scheme() A GDestroyNotify paramater has been recently added.
* ephy-web-view: Use webkit_web_view_load_alternate_html() for error pages in ↵Carlos Garcia Campos2012-08-221-10/+8
| | | | | | WebKit2 webkit_web_view_replace_content() has been removed
* ephy-web-view: Take a reference of the certificate returned by the responseCarlos Garcia Campos2012-08-211-0/+1
|
* ephy-embed-single.c: move unstable API defines to be the very first thing in ↵Gustavo Noronha Silva2012-08-211-3/+6
| | | | | | | | | | the file It may happen that config.h or ephy-embed-single.h end up including soup.h, which would cause the soup-password-manager.h header file to be included without the defines. https://bugzilla.gnome.org/show_bug.cgi?id=682289
* ephy-embed-single: check for SOUP_TYPE_PASSWORD_MANAGER_GNOMEGustavo Noronha Silva2012-08-211-1/+1
| | | | | | That is the type we actually use. https://bugzilla.gnome.org/show_bug.cgi?id=682289
* ephy-web-view: use ephy_string_get_host_nameXan Lopez2012-08-171-15/+9
| | | | Saves some code duplication.
* Port save as to WebKit2Carlos Garcia Campos2012-08-171-5/+68
| | | | | | | | Use webkit_web_view_save() API for HTML pages that saves the web page into a MHTML file. For any other MIME types supported by the web view, save the main resource data to a file. https://bugzilla.gnome.org/show_bug.cgi?id=679368
* ephy-web-view: ignore paths when deciding whether a URI has a TLDXan Lopez2012-08-151-8/+23
| | | | | | SoupTLD is not happy if we give it something like ".com/blah/blah". Add a unit test for this case too.
* ephy-embed-event: some cosmetic fixesXan Lopez2012-08-141-11/+3
|
* ephy-web-view: do not store error pages in historyXan Lopez2012-08-141-1/+31
| | | | | | | | | Otherwise we end up with dummy URIs in the history, overwritten titles ("Oops, could not load..."), etc. Add a unit test to make sure we do not regress. https://bugzilla.gnome.org/show_bug.cgi?id=655619
* Use webkit_web_frame_load_alternate_string to load error pagesMartin Robinson2012-08-141-2/+2
| | | | | | | webkit_web_view_load_string, which was used previously, does not add the error page to the back forward list. This means that when you go back from an error page (n) you will skip directly to an older page (n-2) or not be able to go back if the error page was the first loaded.
* ephy-embed-single: style cleanupsXan Lopez2012-08-101-18/+16
|
* ephy-embed-single: make the http disk cache respect private modeXan Lopez2012-08-101-3/+7
| | | | | | | By storing its data in the temporary profile instead of the user cache dir. https://bugzilla.gnome.org/show_bug.cgi?id=681147
* ephy-web-view: Return the certificate and TLS errors in ↵Carlos Garcia Campos2012-08-092-40/+42
| | | | | | | ephy_web_view_get_security_level Remove the unused description parameter an return the TLS certificte and errors instead.
* ephy-web-view: small style cleanupsXan Lopez2012-08-081-6/+6
|
* ephy-web-view: fix URI normalizationXan Lopez2012-08-071-1/+1
| | | | | | | | | | Give SoupTLD nothing but the TLD when trying to figure out whether a URI actually has a TLD, otherwise it won't be happy. In particular: '.gnome.org' -> Not OK '.org' -> OK Add a test for this case.
* ephy-web-view: do autosearch foo.bar strings where bar is not a TLDXan Lopez2012-08-072-5/+35
| | | | | | | | | Using the new SoupTLD methods. Had to split the non-search regexp in two so that we can reuse its 'is this a domain?' bits. Ugly as hell, but not worse than before... At least we have unit tests to catch regressions. https://bugzilla.gnome.org/show_bug.cgi?id=681022
* ephy-web-view: no need to cast g_object_new resultsXan Lopez2012-08-071-1/+1
|
* ephy-web-view: export the 'normalize or autosearch' methodXan Lopez2012-08-072-11/+21
| | | | | We are going to modify it a bit, and we really want to test it. Add some initial tests for the existing functionality.
* Port spell checking to WebKit2Mario Sanchez Prada2012-08-071-1/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=680368
* e-web-view: use GtkLabel API when possibleDiego Escalante Urrelo2012-08-031-2/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=681080
* e-web-view: use GtkOrientable API for info barsDiego Escalante Urrelo2012-08-031-45/+10
| | | | | | | Instead of creating a custom GtkButtonBox, use GtkOrientable API implemented by the default action_area widget (a GtkBox) of GtkInfoBar. https://bugzilla.gnome.org/show_bug.cgi?id=681078
* ephy-embed: Port inspector to WebKit2Carlos Garcia Campos2012-08-031-18/+29
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679616
* ephy-embed-single: Port disk cache to Webit2Carlos Garcia Campos2012-08-031-0/+10
| | | | | | | From the API point of view, we only need to use WebKit2 to clear the cache. https://bugzilla.gnome.org/show_bug.cgi?id=679684
* Settings: add a enable-webaudio setting.Philippe Normand2012-08-021-0/+4
| | | | | | WebAudio support in WebKitGTK is not stable yet but it would be good to allow Epiphany users to test this feature nonetheless. The enable-webaudio gsetting is set to false by default.
* ephy-embed-utils: use new coding styleXan Lopez2012-08-022-117/+111
|
* ephy-encoding: auto-calculate 'title-elided' and 'collation-key'Xan Lopez2012-07-313-45/+47
| | | | They are derived from 'title', no need to pass them as parameters.
* ephy-encoding: fix extra blank lineXan Lopez2012-07-311-2/+1
|
* ephy-embed-shell: sort headers properly!Xan Lopez2012-07-311-1/+1
|
* ephy-embed-shell: add missing headerXan Lopez2012-07-311-7/+7
| | | | | Dropping useless headers elsewhere uncovered a missing header (stdlib.h) here. Also sort headers while at it.
* ephy-encodings: remove dead codeXan Lopez2012-07-311-10/+0
|
* ephy-encodings: use new coding styleXan Lopez2012-07-312-340/+324
|
* ephy-encoding: fix indentationXan Lopez2012-07-311-23/+23
|
* ephy-encodings: rewrite to drop usage of EphyNodeXan Lopez2012-07-315-142/+448
| | | | | | | | | | We have a new 'EphyEncoding' object holding the encoding data, and the EphyEncodings object is now just a hash table holding a bunch of these. Change all the UI code to use the new APIs. https://bugzilla.gnome.org/show_bug.cgi?id=680735
* ephy-web-view: fix gtk-doc warningXan Lopez2012-07-281-1/+1
|
* ephy-encodings: drop some useless codeXan Lopez2012-07-281-4/+0
|
* ephy-web-view: get rid of gtk-doc warningXan Lopez2012-07-191-1/+1
|
* Use G_DEFINE_BOXED_TYPE to define boxed typesXan Lopez2012-07-191-15/+3
| | | | | EphyNode is missing, but trying to migrate it gives some obscure error I need to figure out.
* Port persistent cookies to WebKit2Carlos Garcia Campos2012-07-131-3/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679369
* ephy-web-view: Port security level to WebKit2Carlos Garcia Campos2012-07-131-15/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679371
* ephy-embed-prefs: Remove TODO comment about page-cache settingCarlos Garcia Campos2012-07-091-1/+0
| | | | In WebKit2 page cache is enabled by default.
* ephy-embed-prefs: Enable site specific quirks in WebKit2Carlos Garcia Campos2012-07-091-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679499
* Port cookies to WebKit2Carlos Garcia Campos2012-07-043-7/+60
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678626
* ephy-web-view: unref objects in dispose, not finalizeXan Lopez2012-06-281-5/+2
|
* ephy-web-view: set_title can also be made private to its fileXan Lopez2012-06-282-49/+40
|
* ephy-web-view: get rid of redundant calls to set_titleXan Lopez2012-06-281-11/+2
| | | | | | | Just trust the title-updated signal for the most part. Seems to work just fine in WK1, and fixes missing updates to the title in WK2. https://bugzilla.gnome.org/show_bug.cgi?id=679046
* ephy-web-view: make set_address completely privateXan Lopez2012-06-282-43/+37
| | | | | It's not used outside its own class either, so we can make it private to the file.
* ephy-web-view: move private methods to the private headerXan Lopez2012-06-282-23/+21
|
* ephy-web-view: ephy_web_view_location_changed is private to its classXan Lopez2012-06-282-53/+43
| | | | Do not make it public.
* Port fullscreen popup to WebKit2Claudio Saavedra2012-06-281-3/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678840
* ephy-web-view: fix think-o in ephy_web_view_location_changedXan Lopez2012-06-281-6/+3
| | | | | | Do not re-set the address we already have, use the location we get as a parameter, which comes from the same place (WebKit layer) than ephy_web_view_get_location used to get it from.
* ephy-web-view: get rid of 'ephy_web_view_get_location'Xan Lopez2012-06-282-49/+12
| | | | | | Nowhere in epiphany were we using the "get the non-toplevel location" feature (which was broken anyway), so I think we should be able to just use get_address everywhere.
* ephy-web-view: and more type checksXan Lopez2012-06-281-0/+2
|
* ephy-web-view: add type checks for the set_typed_address method parametersXan Lopez2012-06-281-1/+5
|
* ephy-web-view: do not duplicate the setter code for typed-addressXan Lopez2012-06-281-7/+2
|
* ephy-web-view: try to simplify a bit the typed-address logicXan Lopez2012-06-281-23/+17
| | | | | | | | | | I think we can do without the "expire_address_now" boolean, and just rely on whether typed-address itself is NULL or not. If it is not, we want to always show it in the location entry and never overwrite it, since it reflects what the user has typed. The only case when we want to go ahead and set it to NULL is when the load actually starts (ie, when the user wants to transform what he has typed into a new load). Try to document things better reflecting this logic.
* ephy-web-view: remove useless forward declarationsXan Lopez2012-06-281-3/+0
|
* ephy-web-view: remove unneeded headers, and sort themXan Lopez2012-06-281-2/+1
|
* Port downloads to WebKit2Carlos Garcia Campos2012-06-273-63/+161
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678612
* 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().