aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* ephy-shell: remove the ephy_shell globalDiego Escalante Urrelo2012-12-1117-42/+59
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683614
* e-embed-shell: remove the embed_shell globalDiego Escalante Urrelo2012-12-117-17/+24
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683614
* ephy-session: use a better variable name for session recoveryXan Lopez2012-12-111-3/+3
| | | | | We always recover the session now, so 'has_session_state' makes more sense than 'crashed_session'.
* Do not present the window when running in test modeGustavo Noronha Silva2012-12-101-1/+2
|
* widgets: do not use deprecated GtkStyleContext APIDiego Escalante Urrelo2012-12-101-1/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=689968
* ephy-session: fixup session autoresumeXan Lopez2012-12-101-6/+7
| | | | | | | | | This code was confusing, but what we actually wanted to do here was to only autoresume the session if there were no windows opened, otherwise it means we are launching a new instance after the first one. Make this explicit in the code instead of relying on side-effects of early returns.
* Move async_get_favicon_pixbuf_callback() to a WK2-only regionMario Sanchez Prada2012-12-101-30/+27
|
* ephy-session: remove unused headerXan Lopez2012-12-101-1/+0
|
* Remove option to launch Web as the bookmarks editorXan Lopez2012-12-105-33/+1
| | | | That thing is on its way out.
* ephy-session: remove useless condition in ifXan Lopez2012-12-101-5/+1
| | | | | If there's already windows opened we'll never do anything in the MAYBE_OPEN_WINDOW command, so this check is redundant.
* ephy-session: remove the code that handles the 'resume window'Xan Lopez2012-12-101-76/+12
| | | | | The 'resume window' does not exist anymore, so this is useless and never executed.
* Add the zoom controls to the gear menuXan Lopez2012-12-102-2/+5
| | | | | | There was no way of zooming in or out from the UI. https://bugzilla.gnome.org/show_bug.cgi?id=683625
* Remove redundant search labelsWilliam Jon McCann2012-12-102-23/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=687744
* Use GtkSeachEntry instead of EphySearchEntryBastien Nocera2012-12-102-13/+13
| | | | | | Does pretty the same thing, without the cut'n'paste. https://bugzilla.gnome.org/show_bug.cgi?id=687744
* Don't perform empty searches when toggling case matchesWilliam Jon McCann2012-12-091-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=684023
* resources: tidy up application menu orderDiego Escalante Urrelo2012-12-091-7/+5
| | | | | | Copy the sort order of other GNOME3 applications. https://bugzilla.gnome.org/show_bug.cgi?id=678962
* bookmarks: Use the current favicons APICarlos Garcia Campos2012-12-072-2/+34
| | | | | | | And bump WebKitGTK+ requirements to make sure we don't use any previous version of the favicons API that was broken. https://bugzilla.gnome.org/show_bug.cgi?id=689762
* Port PdmDialog to WebKit2GTK+ favicons API.Mario Sanchez Prada2012-12-041-2/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679370
* Port EphyNavigationHistoryAction to WebKit2GTK+ favicons API.Mario Sanchez Prada2012-12-041-12/+21
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679370
* Port EphyCompletionModel to WebKit2GTK+ favicons API.Mario Sanchez Prada2012-12-041-16/+28
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679370
* Port EphyBookmarks and EphyBookmarkAction to WebKit2GTK+ favicons API.Mario Sanchez Prada2012-12-042-57/+98
| | | | 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/+18
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679370
* Fix a couple of compiler warnings spotted by the latest gnome-common flagsXan Lopez2012-12-012-2/+2
|
* Use gtk_application_get_active_window instead of rolling our ownXan Lopez2012-11-266-26/+5
|
* Fix a ton of 'warning: function declaration isn’t a prototype'Xan Lopez2012-11-051-3/+3
| | | | | | | | | 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.
* Fixed bug #686711Diego Escalante Urrelo2012-10-291-1/+1
|
* ephy-window: Uuref the existing hit test result instead of the new oneCarlos Garcia Campos2012-10-161-1/+1
|
* ephy-window: Port button press actions to WebKit2Carlos Garcia Campos2012-10-111-9/+38
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679395
* ephy-window: Simplify ephy_window_dom_mouse_click_cbCarlos Garcia Campos2012-10-111-98/+101
| | | | | | Factor out every button press handler into its own function. https://bugzilla.gnome.org/show_bug.cgi?id=679394
* Port context menu to WebKit2Carlos Garcia Campos2012-10-112-10/+235
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679366
* Avoid a crash in EphyBookmarksEditor when using WebKit2.Mario Sanchez Prada2012-10-101-5/+4
| | | | | | Still need to figure out a way to port this to the new WebKit2GTK+ favicons API. https://bugzilla.gnome.org/show_bug.cgi?id=679370
* ephy-main: remove ancient commented codeXan Lopez2012-10-091-1/+0
|
* ephy-loader: remove, this is unused nowXan Lopez2012-10-081-1/+0
|
* ephy-shell: do not configure adblock in test modeXan Lopez2012-10-081-15/+17
| | | | Workaround while we figure out how to make it behave nicely.
* Remove extensions supportXan Lopez2012-10-0812-1619/+15
| | | | | | | This removes the old style extension support, you can read the rationale in the bug report. https://bugzilla.gnome.org/show_bug.cgi?id=685630
* Move windows handling code from EphySession to EphyShellCarlos Garcia Campos2012-10-088-247/+177
| | | | | | | | | | | | EphyShell is now a GtkApplication that already does window handling, however we want to maintain only the of browser windows. Instead of keeping the window lists in ephy-session, it's easier to override window_added and window_removed virtual methods of GtkApplication and update the browser window lists. Most of the cases where this API was used, had to get the session object from the shell first, now we save this step keeping the code simpler. https://bugzilla.gnome.org/show_bug.cgi?id=641734
* ephy-shell: use g_clear_{object, pointer} in disposeXan Lopez2012-10-081-56/+12
|
* Add 'History' item to the gear menu when not in the ShellXan Lopez2012-10-082-2/+3
|
* ephy-window: add F10 accel for super menuXan Lopez2012-10-071-1/+1
| | | | | | Same as Files. https://bugzilla.gnome.org/show_bug.cgi?id=673878
* Merge the app menu into the gear menu when we are not in the ShellXan Lopez2012-10-075-27/+150
| | | | | | Gets rid of the ugly menubar with a single menu. https://bugzilla.gnome.org/show_bug.cgi?id=673054
* ephy-lockdown: fix typosXan Lopez2012-10-071-2/+2
|
* ephy-lockdown: use new coding styleXan Lopez2012-10-072-169/+165
|
* ephy-lockdown: use glib strcmp methodsXan Lopez2012-10-071-2/+1
|
* ephy-lockdown: de-extensionifyXan Lopez2012-10-072-28/+19
| | | | | | | Simply connect to 'window-added' in EphyShell instead of making this an extension. https://bugzilla.gnome.org/show_bug.cgi?id=685631
* prefs-dialog: remove JavaScript preference from the UIXan Lopez2012-10-032-20/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=685393
* adblock: get rid of AdBlock interfaceXan Lopez2012-10-031-8/+0
| | | | | | | No need for this now, just make EphyAdBlock a concrete class implementing the adblock functionality. https://bugzilla.gnome.org/show_bug.cgi?id=681657
* Move adblock extension to embed/Xan Lopez2012-10-035-1153/+0
| | | | | | No reason for it to be in src/ now. https://bugzilla.gnome.org/show_bug.cgi?id=681657
* Remove UI code from adblock, un-extensionify itXan Lopez2012-10-036-825/+1
| | | | | | | | | We are not using this code for now, easy enough to re-add somehow if we want to provide a UI to edit the adblock rules. With that gone, it's now trivial to drop the extension code too, so now the adblocker is just a GObject implementing the Adblock interface. https://bugzilla.gnome.org/show_bug.cgi?id=681657
* prefs-dialog: add a checkbox to enable/disable the adblock functionalityXan Lopez2012-10-022-47/+56
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=681657
* uri-tester: do not store the adblock data in the 'extensions' dirXan Lopez2012-10-021-1/+1
| | | | | | We are on our way to stop being an extension. https://bugzilla.gnome.org/show_bug.cgi?id=681657
* Import adblock extension into the source treeXan Lopez2012-10-0110-0/+1986
| | | | | | | | | | | | | | | This commit imports the adblock extension from 'epiphany-extensions' with as few modifications as possible. Further modifications and simplifications are possible, but for now we just load it unconditionally, enabled. We have it in the src/ directory because it depends on some high-level objects in Epiphany (EphyExtension, EphyWindow), but in the future we'll probably move it to embed/, transforming it from an extension into just the specific implementation of our EphyAdblockManager object. https://bugzilla.gnome.org/show_bug.cgi?id=681657
* pdm-dialog: Add type-ahead search to personal dataBastien Nocera2012-09-271-0/+32
| | | | | | | | | | | The password treeview is unusable to find old passwords or cookies, as some are prefixed by "http://", and others will have different vhost names. The search function will look first for sub-string matches in the URIs, then in the usernames (or cookie names). https://bugzilla.gnome.org/show_bug.cgi?id=676240
* Make sure windows are properly closed when quitting from the shell menuCarlos Garcia Campos2012-09-275-65/+121
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679844
* ephy-embed-utils: add ephy_embed_utils_is_no_show_address()Claudio Saavedra2012-09-171-18/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683796
* ephy-session: fix xmlChar* leakPavel Vasin2012-09-171-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683929
* ephy-find-toolbar: no need to cast return value hereXan Lopez2012-09-141-3/+3
|
* ephy-find-toolbar: add a close buttonXan Lopez2012-09-141-1/+15
| | | | | | There was no way to close the toolbar from the UI itself. https://bugzilla.gnome.org/show_bug.cgi?id=683967
* ephy-window: use symbolic icon for downloads box close buttonXan Lopez2012-09-131-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683966
* Focus windows when opening new links in tabsXan Lopez2012-09-133-1/+7
| | | | | | | | | | | | If someone requests a link to be opened by ephy in an already running instance, and that link is opened in a new tab (either because of our settings or because -n/--new-tab was passed), the window where this happened will not be presented, so it might go unnoticed. Fix this by presenting the windows where new tabs are opened through the open_uris mechanism in EphySession. https://bugzilla.gnome.org/show_bug.cgi?id=641949
* ephy-session: respect 'new-windows-in-tabs' setting when opening linksXan Lopez2012-09-121-1/+6
| | | | | | | | | | | Right now invoking 'epiphany <URI>' when there's already a browser instance running would always open a new window, unless a new tab was explictly requested with -n/--new-tab. We should honor the 'new-windows-in-tabs' setting (which is TRUE by default), and open the link in a new tab in the last active window if no special conditions were specified. https://bugzilla.gnome.org/show_bug.cgi?id=641949
* 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
* Use the new EphyHistoryService::urls-visited signalClaudio Saavedra2012-09-101-5/+3
| | | | | | | | | | Since both the frecent store and the history window don't need to be updated immediately after a url is visited, we can use ::urls-visited instead. The advantage of this is that we reduce considerably the load when updating both models when loading many pages at the time, specially during startup. https://bugzilla.gnome.org/show_bug.cgi?id=683550
* ephy-bookmarks: remove useless includeXan Lopez2012-09-081-1/+0
|
* Add code coverage supportXan Lopez2012-09-042-0/+3
| | | | | | | | | | 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-window: disconnect overview-mode callback from the right objectClaudio Saavedra2012-09-041-1/+1
|
* ephy-main: run the migration for any instance that is not a temporary ↵Claudio Saavedra2012-09-041-2/+3
| | | | | | private one https://bugzilla.gnome.org/show_bug.cgi?id=681679
* ephy-profile-utils: add a profile_dir parameter to ↵Claudio Saavedra2012-09-041-1/+1
| | | | | | | | | ephy_profile_utils_do_migration() This is passed further on to the migrator process. Right now this is unused. https://bugzilla.gnome.org/show_bug.cgi?id=681679
* ephy-file-helpers: rename KEEP_TEMP_DIR to KEEP_DIRClaudio Saavedra2012-09-031-1/+1
| | | | | Since this is also used for persistency of temporary directories, but also for --profile.
* ephy-bookmarks-editor: repaint the favicon on "icon-loaded"Sergio Villar Senin2012-09-031-8/+34
| | | | | | | | Fixes a crash when epy is started with the bookmarks window open. The old code was trying to set the favicon in an already released GValue. Instead of doing that, we now force a repaint of the row once we get the favicon. https://bugzilla.gnome.org/show_bug.cgi?id=673795
* ephy-window: handle key modifiers on overview::item-activateClaudio Saavedra2012-09-031-1/+1
| | | | | | | | So that middle-click, for instance, opens a new tab. Notice that control-click will still not work, as the GdMainView widget is handling the event to emit its selection-mode-request signal. https://bugzilla.gnome.org/show_bug.cgi?id=683187
* ephy-shell: consider the overview as a blank pageXan Lopez2012-09-031-2/+3
| | | | | | We were only considering about:blank, but about:overview should be assumed to be "blank" as far as replacing it with actual pages is concerned.
* ephy-session: do not restore tool windowsXan Lopez2012-09-023-154/+5
| | | | | | | | These windows will lose relevance and disappear gradually, and it does not really make that much sense to restore them with the session now that this happens automatically. https://bugzilla.gnome.org/show_bug.cgi?id=682966
* ephy-notebook: fix compiler warningXan Lopez2012-09-011-3/+0
|
* ephy-main: do not run the browser if the migrator failsXan Lopez2012-09-011-2/+7
| | | | Lot's of nasty things could potentially happen.
* ephy-session: don't check loading status for the overview pageClaudio Saavedra2012-09-011-1/+2
| | | | Since this is a special page, there's no need for this.
* ephy-overview: define the overview title string hereClaudio Saavedra2012-09-011-1/+2
| | | | Instead of duplicating the string everywhere.
* ephy-navigation-history-action: fix overview titleXan Lopez2012-09-011-0/+5
| | | | | The overview is not an actual web page, so it won't have a title as far as WebKit is concerned. Hardcode "Most Visited" as its title.
* ephy-window: show the overview on alt+homeClaudio Saavedra2012-09-011-0/+11
|
* ephy-home-action: don't assume this will only be used for "NewTab"Claudio Saavedra2012-09-011-5/+5
| | | | If the action name is not "NewTab", just open the home page.
* ephy-window: don't assume going to the homepage means opening a new tabClaudio Saavedra2012-09-011-2/+1
| | | | | This is already explicitly set by EphyHomeAction in the new tab special case.
* ephy-window: disable default actions when the active embed is showing an ↵Claudio Saavedra2012-09-011-0/+19
| | | | overview
* ephy-window: add ephy-about:overview to the list of hidden urlsClaudio Saavedra2012-09-011-0/+1
|
* Add about:overview to actually go to overview modeClaudio Saavedra2012-09-011-1/+1
|
* ephy-window: handle open-link for the overview in the active tabClaudio Saavedra2012-09-011-0/+20
|
* ephy-embed: add the overview and a overview-mode propertyClaudio Saavedra2012-09-011-0/+2
| | | | | Toggling this property will toggle visibility of the overview and the paned with the normal embed contents.
* ephy-embed-shell: add a frecent store to the shellClaudio Saavedra2012-09-011-0/+4
| | | | | Since we will use the overview in each tab and these should share the underlying model.
* ephy-notebook: be more careful with event coordinates on right clickXan Lopez2012-08-311-9/+1
| | | | | | | The code assumed clicks would happen in the tab label area, but this is not always the case (for instance when our child forwards an event to us). So always check the button press is actually within the tab allocation rectangle before acting on it.
* ephy-session: remove some now useless headersXan Lopez2012-08-311-3/+0
|
* ephy-session: use ephy_string_to_int instead of reimplementing itXan Lopez2012-08-311-30/+8
| | | | | EphySession had a private, almost-identical copy. Just use the function in lib/ephy-string.[ch]
* ephy-session: another micro-fixXan Lopez2012-08-301-1/+1
| | | | | While we are at it, the fact that 'url' is not NULL is checked before the if block, so this is also redundant.
* ephy-session: remove redundant string comparisonClaudio Saavedra2012-08-291-2/+1
| | | | The previous clause already ensures this won't be TRUE.
* ephy-window: centralize the logic about invisible URIs in one placeXan Lopez2012-08-241-1/+33
| | | | | | | | Let's make EphyWindow the one in charge of deciding whether a URI is actually shown or not in the location entry. This allows to remove some code to that effect in EphyLocationController (and perhaps some more in EphyWebView in the future), and makes this feature more extensible for the future.
* window-commands: Get the suggested filename from the response in WebKit2 tooCarlos Garcia Campos2012-08-231-1/+1
|
* Port save as to WebKit2Carlos Garcia Campos2012-08-171-1/+5
| | | | | | | | 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-window: Add update_link_actions_sensitivity()Carlos Garcia Campos2012-08-141-10/+17
| | | | Helper function that will be shared with the WebKit2 implementation.
* Mave avahi a hard dependencyXan Lopez2012-08-102-51/+5
| | | | | It's listed as a OS core dependency in jhbuild, so let's reduce the number of moving pieces on our side.
* Show information about the SSL errors when clicking on lock iconCarlos Garcia Campos2012-08-091-0/+27
| | | | | | | If libgcr is available it's used to show the information about the TLS certificate in the dialog too. https://bugzilla.gnome.org/show_bug.cgi?id=681506
* ephy-web-view: Return the certificate and TLS errors in ↵Carlos Garcia Campos2012-08-091-2/+1
| | | | | | | ephy_web_view_get_security_level Remove the unused description parameter an return the TLS certificte and errors instead.
* ephy-session: remove some unneeded declarations, reorder headersXan Lopez2012-08-041-4/+1
|
* window-commands: fix WebKit2 buildXan Lopez2012-08-021-2/+2
| | | | Haters gonna hate.
* window-commands: fallback correctly when Content-Disposition is not availableXan Lopez2012-08-021-2/+15
| | | | | The suggested filename the network response gives us can be NULL. Fallback to the old method in that case.
* window-commands: suggest the right name in 'Save As'Xan Lopez2012-08-021-3/+2
| | | | | | | Use the info in the Content-Disposition header instead of the base name of the resource. https://bugzilla.gnome.org/show_bug.cgi?id=674291
* popup-commands: don't cancel a download that hasn't even been startedClaudio Saavedra2012-08-021-4/+0
| | | | | | | | Cancelling the "save link as" dialog is calling ephy_download_cancel() even when ephy_download_start() has not been called. This causes a critical warning in webkit. https://bugzilla.gnome.org/show_bug.cgi?id=681010
* ephy-home-action: remove useless headersXan Lopez2012-08-011-3/+0
|
* ephy-window: do not copy history for new empty tabsXan Lopez2012-08-011-0/+4
| | | | | | | | | Do not copy the tab history when doing Ctrl+T/New Tab to open an empty tab. https://bugzilla.gnome.org/show_bug.cgi?id=651918 Signed-off-by: Xan Lopez <xan@igalia.com>
* ephy-home-action: add implicit NEW_TAB flagZan Dobersek2012-08-011-1/+1
| | | | | | | The NewTab action is always used to new an empty tab now, so just acknowledge the fact. Signed-off-by: Xan Lopez <xan@igalia.com>
* ephy-home-action: drop DnD functionalityXan Lopez2012-08-011-62/+4
| | | | | The home action can only be accessed from the super menu now, so the DnD feature is not useful anymore.
* e-file-chooser: remove persist-keyDiego Escalante Urrelo2012-08-014-6/+2
| | | | | | | | | | | | | GTK+ has changed the UX of the GtkFileChooser. This has (pragmatically) deprecated "last save dir" stored by applications themselves. For Epiphany this means we no longer need a "persist-key" in our file chooser, and that we have to clean up some GtkFileChooser API use in followup patches. This commit removes the property and uses of it. Bug #655508
* ephy-session: spawn the default window if the session state file is brokenXan Lopez2012-08-011-0/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=680590
* Use $(pkglibdir) instead of $(libdir)/epiphanyMichael Biebl2012-07-311-2/+2
| | | | | | to avoid hard coding the package name. https://bugzilla.gnome.org/show_bug.cgi?id=672023
* window-commands: update About dialog taglineDiego Escalante Urrelo2012-07-311-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=668115
* extensions: remove seed supportDiego Escalante Urrelo2012-07-316-542/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=680905
* ephy-encodings: rewrite to drop usage of EphyNodeXan Lopez2012-07-313-117/+194
| | | | | | | | | | 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-extensions-manager: don't include EphyNode, it's not used hereXan Lopez2012-07-282-9/+4
|
* Use G_DEFINE_BOXED_TYPE to define boxed typesXan Lopez2012-07-191-15/+2
| | | | | EphyNode is missing, but trying to migrate it gives some obscure error I need to figure out.
* window-commands: Port WebKit version information in about dialog to WebKit2Carlos Garcia Campos2012-07-091-1/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679403
* Port cookies to WebKit2Carlos Garcia Campos2012-07-041-6/+118
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678626
* window-commands: initialize string variables to NULLXan Lopez2012-06-281-1/+1
| | | | | This makes the about dialog not crash in WebKit2, since they are not set to any value (yet) but are freed anyway.
* ephy-web-view: get rid of 'ephy_web_view_get_location'Xan Lopez2012-06-281-3/+2
| | | | | | 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.
* Port find to WebKit2Carlos Garcia Campos2012-06-271-9/+95
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678628
* Port downloads to WebKit2Carlos Garcia Campos2012-06-272-4/+68
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678612
* Port resources to WebKit2Carlos Garcia Campos2012-06-271-12/+54
| | | | http://bugzilla-attachments.gnome.org/attachment.cgi?id=217022
* ephy-notebook: do not assume the type of the child widget in 'remove'Xan Lopez2012-06-261-1/+2
| | | | | | Since commit 325cf071d1 in GTK+ the 'remove' method will be called also with the tab label widget, so do not assert when the type is not EphyEmbed, just do nothing.
* embed: Move about handlers to a new fileCarlos Garcia Campos2012-06-261-1/+1
| | | | | Leaving in ephy-request-about only the code specific to the soup feature implementation.
* ephy-download-widget: add ephy_download_widget_download_finished()Carlos Garcia Campos2012-06-251-22/+2
| | | | | It makes easier to check whether download finished, and it's compatible with WebKit2.
* ephy-navigation-history-action: Don't leak link-messageCarlos Garcia Campos2012-06-251-3/+2
|
* Port editing commands to WebKit2Carlos Garcia Campos2012-06-252-9/+84
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678596
* ephy-window: Add helper function to update action sensitivityCarlos Garcia Campos2012-06-251-19/+15
|
* Port history to WebKit2Carlos Garcia Campos2012-06-251-15/+52
| | | | | | | 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
* ephy-navigation-history-action: Rename webkit_construct_history_listCarlos Garcia Campos2012-06-251-4/+5
| | | | | As construct_webkit_history_list since the webkit_ prefix makes the function look like WebKit API even if it's a private method.
* Add support for new windows in WebKit2Carlos Garcia Campos2012-06-251-37/+81
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678593
* Port policy client to WebKit2Carlos Garcia Campos2012-06-251-3/+149
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678591
* Port web view loading progress and feedback to WebKit2Carlos Garcia Campos2012-06-242-3/+26
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678532
* popup-commands: use EPHY_DOWNLOAD_ACTION_DO_NOTHINGDiego Escalante Urrelo2012-06-231-0/+1
| | | | | | Stop downloaded backgrounds from popping an image viewer instance. https://bugzilla.gnome.org/show_bug.cgi?id=676128
* Initial WebKit2 portCarlos Garcia Campos2012-06-2117-8/+344
| | | | It builds and basic functionality works.
* Use WebKitWebView API to get/set the zoom level instead of g_object_get/setCarlos Garcia Campos2012-06-211-7/+5
| | | | | 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-211-0/+1
| | | | Instead of relying on webkit header to include it.
* ephy-embed: show a message popup when entering fullscreen modeClaudio Saavedra2012-06-202-0/+9
| | | | | | | | 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: hide all chrome when entering fullscreen modeClaudio Saavedra2012-06-201-1/+5
| | | | | | | | | | We keep track of the state of the chrome before entering fullscreen mode in order to restore it afterwards. Also, set tabs-allowed to FALSE in the EphyNotebook when in fullscreen mode. When leaving fullscreen mode, restore to the previous state. https://bugzilla.gnome.org/show_bug.cgi?id=671195
* ephy-window: keep track of whether the downloads box is shownClaudio Saavedra2012-06-201-5/+14
| | | | | | We add it to EphyWebViewChrome and track it there. https://bugzilla.gnome.org/show_bug.cgi?id=671195
* ephy-window: remove ephy-fullscreen-popupClaudio Saavedra2012-06-204-550/+0
| | | | | | We're no longer using it https://bugzilla.gnome.org/show_bug.cgi?id=671195
* ephy-notebook: fix the property enabling tabs visibilityClaudio Saavedra2012-06-203-17/+20
| | | | | | | | Replace the redundant and unused "show-tabs" with "tabs-allowed", and allow its use to ultimately hide the tabs, regardless of the policy, whenever the application UI deems necessary. https://bugzilla.gnome.org/show_bug.cgi?id=678468
* ephy-location-controller: add missing get_property bits for "show-icon"Claudio Saavedra2012-06-201-0/+3
|
* ephy-window: add a method to toggle visibility of default actionsClaudio Saavedra2012-06-201-11/+19
| | | | | | | Where default actions are the ones that should be disabled when we display a blank page or anything that is not a webpage. https://bugzilla.gnome.org/show_bug.cgi?id=678405
* ephy-location-controller: add a boolean "show-icon" propertyClaudio Saavedra2012-06-201-0/+22
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678405
* ephy-window: split ephy_window_set_active_tab() into smaller methodsClaudio Saavedra2012-06-201-165/+175
| | | | | | Which we will also reuse later on. https://bugzilla.gnome.org/show_bug.cgi?id=678405
* ephy-window: add _ephy_window_set_navigation_flags()Claudio Saavedra2012-06-201-10/+14
| | | | | | We'll share this code later. https://bugzilla.gnome.org/show_bug.cgi?id=678405
* ephy-shell: EPHY_EMBED_SHELL_MODE_TEST means no realizeDiego Escalante Urrelo2012-06-181-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678134
* ephy-shell: move variable to the only scope where it's usedXan Lopez2012-06-151-3/+2
|
* ephy-shell: initialize jump_to variable to FALSEXan Lopez2012-06-151-1/+1
| | | | | | Otherwise commit ccf3836d601c makes us use that variable with a garbage value most of the time, since it won't be initialized unconditionally anymore.
* popup-commands: use g_get_user_special_dir APIDiego Escalante Urrelo2012-06-151-1/+1
| | | | | | | "Pictures" was hardcoded as the destination folder, use G_USER_DIRECTORY_PICTURES instead. https://bugzilla.gnome.org/show_bug.cgi?id=677240
* ephy-shell: document EphyNewTabFlagsDiego Escalante Urrelo2012-06-151-0/+27
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673683
* ephy-shell: imitate other flag checks for jump_toDiego Escalante Urrelo2012-06-151-2/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676905
* ephy-shell: handy gboolean fullscreen_lockdownDiego Escalante Urrelo2012-06-151-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676905
* ephy-shell: fix bracesDiego Escalante Urrelo2012-06-151-5/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676905
* ephy-web-view: remove unused EphyWebViewChrome elementsDiego Escalante Urrelo2012-06-151-3/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676904
* Fix memory leakCarlos Garcia Campos2012-06-151-3/+4
|
* windows-commands: remove dead codeClaudio Saavedra2012-06-141-15/+0
| | | | The toolbar-editor is gone, so this code should be gone too.
* ephy-bookmarks-import: missing return after ifXan Lopez2012-06-141-0/+1
| | | | | This was making the file-check test never run unless we were in lock-down mode.
* Add a new mode for shell testing, EPHY_EMBED_SHELL_MODE_TESTXan Lopez2012-06-142-4/+8
| | | | | | 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-session: add a method to load a session from a stringXan Lopez2012-06-142-20/+77
| | | | | And re-write the ephy_session_load method on top of it. We'll use this in our unit tests.
* ephy-completion-model: use a cancellable with the history serviceClaudio Saavedra2012-06-131-1/+14
| | | | | | | | For two things: first, cancel pending operations if a new search term is given before this is complete and, second, to cancel any operation remaining during the model disposal. https://bugzilla.gnome.org/show_bug.cgi?id=672073
* ephy-history-window: cancel history operations during disposeClaudio Saavedra2012-06-131-4/+12
| | | | | | To avoid surprises if the history-window happens to be destroyed. https://bugzilla.gnome.org/show_bug.cgi?id=672073
* ephy-session: fix memory leak in write_tab()Pavel Vasin2012-06-121-2/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-bookmarks-editor: fix GList leaksPavel Vasin2012-06-121-4/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-bookmarks-editor: fix memory leakPavel Vasin2012-06-121-1/+14
| | | | | | webkit_favicon_database_get_favicon_uri returns newly allocated string https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-completion-model: fix GList of EphyHistoryURL leakPavel Vasin2012-06-121-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-bookmarks: fix memory leaksPavel Vasin2012-06-121-2/+4
| | | | | | webkit_favicon_database_get_favicon_uri returns newly allocated string https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-bookmark-action: fix memory leakPavel Vasin2012-06-121-0/+2
| | | | | | webkit_favicon_database_get_favicon_uri returns newly allocated string https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-window: simplify window_state_event() chain-upClaudio Saavedra2012-06-111-4/+2
|
* ephy-location-controller: add missing default case in set/get_property methodsClaudio Saavedra2012-06-051-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675804
* ephy-location-controller: use GBinding to sync properties with the entryClaudio Saavedra2012-06-051-55/+15
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675804
* ephy-session: simplify code to handle session resumeXan Lopez2012-05-281-5/+6
| | | | | There's no need to tell the parse_embed method whether the window it gets is the resume window or not, it can figure it out by itself.
* ephy-session: format comments a bit betterXan Lopez2012-05-281-11/+8
|
* ephy-session: missing space before '('Xan Lopez2012-05-281-1/+1
|
* ephy-session: remove a couple of redundant includesXan Lopez2012-05-281-2/+0
|
* ephy-shell: fix a comment typoDiego Escalante Urrelo2012-05-271-1/+1
|
* popup-commands: committed this by mistakeXan Lopez2012-05-251-1/+0
|
* configure.ac: require GTK+ 3.5.2 for OSD style classXan Lopez2012-05-251-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676784
* embed: remove custom CSS styling for the overlay progressbarCosimo Cecchi2012-05-241-29/+0
| | | | | | | 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
* Always close bookmarks fileLubomír Sedlář2012-05-211-7/+11
| | | | | | | | During error handling it was possible to return from function without closing bookmarks file and freeing two string, causing memory and descriptor leaks. https://bugzilla.gnome.org/show_bug.cgi?id=675888
* Prevent use of unitialized memoryLubomír Sedlář2012-05-211-1/+1
| | | | | | | Initialize the variable to NULL, so that even without another assignment it is safe to read it. https://bugzilla.gnome.org/show_bug.cgi?id=675888
* preferences: fix 'Add language' dialog layoutXan Lopez2012-05-191-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676043
* prefs: expose the Do Not Track setting in the preferences UIXan Lopez2012-05-192-25/+57
|
* ephy-main: fix typo in messageXan Lopez2012-05-191-1/+1
|
* Remove a few more egg leftoversXan Lopez2012-05-101-1/+0
|
* tests: test that trying to run an invalid migration step failsXan Lopez2012-05-101-1/+1
|
* ephy-window: no need to cast the return value of g_object_newXan Lopez2012-05-101-8/+8
|
* Allow for more fine-grained file helpers initXan Lopez2012-05-081-3/+10
| | | | | | | | | | Since we are about to migrate our profile dir, allow file helpers init to not ensure the profile dir exists (it was hardcoded until now). For this we get rid of the ugly boolean parameters and add a flags parameter, which preserves the old behaviors and allows for this new option. We update all the callers in the tree.
* ephy-profile-utils: split profile migration from EphyShellXan Lopez2012-05-082-20/+4
| | | | | Call it directly from main, since we want it to happen before the file helpers initialization.
* Drop the use of GTK accel mapsWilliam Jon McCann2012-05-081-3/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=674870
* ephy-navigation-history-action: restore menusDiego Escalante Urrelo2012-05-021-0/+396
| | | | | | | | In ebbb1c48197f53b98575b0cb4f6d9fa1e4535abc back/forward drop-downs were removed. This commit brings them back, using the removed code with minor updates. https://bugzilla.gnome.org/show_bug.cgi?id=671609
* ephy-shell: EPHY_NEW_TAB_DONT_SHOW_WINDOW means no realizeDiego Escalante Urrelo2012-04-221-1/+1
| | | | | | | | | If the user passed EPHY_NEW_TAB_DONT_SHOW_WINDOW do not call gtk_widget_realize and gtk_widget_grab_focus on the returned EphyEmbed since this is most likely against the intentions of EPHY_NEW_TAB_DONT_SHOW_WINDOW. https://bugzilla.gnome.org/show_bug.cgi?id=673683
* ephy-window: remove additional spacing in the downloads barSebastian Keller2012-04-171-2/+0
| | | | | It was added to accomodate the window resize grip, which does not exist anymore in Adwaita.
* ephy-notebook: disconnect settings signal handler on finalizeXan Lopez2012-04-161-0/+3
| | | | Otherwise we'll try to update dead notebooks if the setting changes.
* Add an option to never show the tabs barXan Lopez2012-04-161-6/+6
| | | | We'll use this when we land the Overview.
* window-commands: switch pages using the EphyNotebook APIXan Lopez2012-04-163-9/+73
| | | | | | The signal we were using does not work when the tabs bar is hidden, and we'll want the shortcuts to work in that state. Add new EphyNotebooks methods that do the right thing and use them.
* Create a new 'tabs-bar-visibility-policy' settingXan Lopez2012-04-161-3/+6
| | | | | | We need this to be an enum, since we'll a third option in the future for the Overview (to never show the tabs bar). For now just add the two values we have now and migrate the code and the user data.
* Move resources to its own directory inside src/Xan Lopez2012-04-168-9/+9
|
* Move a few EphyShell methods to ephy-private.hXan Lopez2012-04-145-19/+25
| | | | These are clearly not meant to be used outside of Epiphany.
* Remove Help buttonsXan Lopez2012-04-134-33/+37
| | | | Since there's no Help for now.
* Remove Epiphany manualXan Lopez2012-04-132-14/+0
| | | | | | | | | The current manual is quite obsolete and uses and outdated technology, so it really just needs a full rewrite at this point. Hopefully this will motivate someone to do it, meanwhile we stop shipping misguiding documentation. https://bugzilla.gnome.org/show_bug.cgi?id=674047
* Add a setting to control whether the session is automatically restoredXan Lopez2012-04-122-52/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We add a new gsettings key, 'restore-session-policy', with two valid values: 'always' and 'never'. A brief explanation of our session state mechanism follows. There are three ways to exit Epiphany: 1) Activate 'Quit' in the application menu 2) Close the last application window 3) Kill the process manually, SIGSEGV, or other similar unexpected event. For 1) and 2), we'll now do the same thing: a) Call ephy_session_close b) Exit the application manually ephy_session_close will check the new restore-session-policy setting, and only save the session state if it's set to 'always'. Before it used to manually destroy all present windows. We now let EphyShell or EphyWindow do this, EphySession only manages the session state saving. For 3), the process will die with the state saved up to that point, there's nothing we can do. For that reason, on startup also check the new setting; if it's set to 'never' ignore the session state, open a window in the homepage, and delete the old state file. https://bugzilla.gnome.org/show_bug.cgi?id=673453
* ephy-session: remove unused variableXan Lopez2012-04-121-2/+0
|
* ephy-shell: respect the lockdown quit settingRudolfs2012-04-111-2/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673649
* ephy-embed-single: do not handle ephy-embed-prefsDiego Escalante Urrelo2012-04-111-0/+3
| | | | | | | | | 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
* ephy-completion-model: normalize NULL strings to "" in ↵Xan Lopez2012-04-031-4/+4
| | | | | | | | | | should_add_bookmark_to_model Otherwise we can get false positives in the regexp, since the previous attempt at normalization would not properly take NULL strings into account. https://bugzilla.gnome.org/show_bug.cgi?id=673301
* ephy-shell: fix whitespaceXan Lopez2012-04-021-3/+3
|
* ephy-shell: whitespace nitpick in castDiego Escalante Urrelo2012-04-011-2/+2
|
* e-web-app-utils: add ephy_web_application_existsAlexandre Mazari2012-03-311-8/+1
| | | | | | Signed-off-by: Diego Escalante Urrelo <diegoe@igalia.com> https://bugzilla.gnome.org/show_bug.cgi?id=658925
* window-commands: get app name only onceAlexandre Mazari2012-03-311-7/+8
| | | | | | | | Avoid multiple calls to gtk_entry_get_text. Signed-off-by: Diego Escalante Urrelo <diegoe@igalia.com> https://bugzilla.gnome.org/show_bug.cgi?id=658925
* ephy-toolbar: fix stop/reload button alignmentDiego Escalante Urrelo2012-03-311-0/+10
| | | | | | | | Add location entry and stop/reload button to a vertical GtkSizeGroup. This ensures that they have the same height, regardless of things like fonts. https://bugzilla.gnome.org/show_bug.cgi?id=668135
* Makefile: silence epiphany resources generationXan Lopez2012-03-311-2/+2
|
* ephy-encoding-dialog: reorder includesXan Lopez2012-03-311-9/+8
|
* ephy-window: listen to org.gnome.Epiphany.ui.show-toolbarsXan Lopez2012-03-301-0/+30
| | | | We were not properly changing the UI if the key was changing at runtime.
* ephy-session: use g_slice_new for SessionCommand structureXan Lopez2012-03-301-3/+2
|
* ephy-window: save the session when the last window is closed manuallyXan Lopez2012-03-301-1/+16
| | | | | | | | If the user closes the last window manually (pressing the [x] button in the window) she probably wants to save the session contents too, so do that. This is consistent with the behavior of Firefox and Chrome. https://bugzilla.gnome.org/show_bug.cgi?id=673122
* Fix compilation warningClaudio Saavedra2012-03-291-1/+1
|
* ephy-web-app-utils: do not use the webview in the web app creation methodAlexandre Mazari2012-03-291-1/+1
| | | | | | | It's not really needed, will allow to reuse this code during profile migration. https://bugzilla.gnome.org/show_bug.cgi?id=658925
* ephy-shell: save the session state on QuitXan Lopez2012-03-291-0/+1
| | | | It will be automatically restored on startup.
* ephy-session: remove unused variableXan Lopez2012-03-291-1/+0
|
* ephy-session: rename session_crashed.xml to session_state.xmlXan Lopez2012-03-291-13/+13
| | | | We are going to use his all the time now, not only for crashes.
* ephy-session: it's not really possible to close while restoring anymoreXan Lopez2012-03-291-11/+0
|
* ephy-session: always auto-resume session on crashXan Lopez2012-03-291-178/+7
| | | | Don't ask, just do it.
* ephy-session: fix gtk-doc syntaxXan Lopez2012-03-291-1/+1
|
* Rip out the EggSMClient codeXan Lopez2012-03-282-244/+0
| | | | The brave new world is to use the session support in GtkApplication.
* resources: strip blanks from all XML filesXan Lopez2012-03-281-6/+6
| | | | Saves about 20K in the generated files.
* Make the resources depend on the actual UI filesXan Lopez2012-03-288-4/+2344
| | | | | | Otherwise we won't update them if the UI files change. To do this we need to move them from data/ui/ to src/, which is not great. Things would be easier with non-recursive Makefiles.
* Use glib resources to bundle our UI filesXan Lopez2012-03-289-28/+80
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672907
* epiphany.h.in: remove ephy-history mentionDiego Escalante Urrelo2012-03-271-1/+0
| | | | It breaks ephy-extensions build.
* ephy-completion-model: minor cleanupClaudio Saavedra2012-03-211-1/+1
| | | | | | | No need to invoke twice webkit_get_favicon_databas() in the same method, there's a variable pointing to the database already. https://bugzilla.gnome.org/show_bug.cgi?id=672483
* ephy-completion-model: fix a few leaksClaudio Saavedra2012-03-211-2/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672481
* ephy-history-window: fix callback for new signal signatureXan Lopez2012-03-201-0/+1
|
* Remove EphyHistory from the repository. It's unused now.Xan Lopez2012-03-203-6/+0
|
* bookmarks: use the new favicon databaseXan Lopez2012-03-201-12/+13
|
* Replace EphyFaviconCache by WebKit's icon database cacheSergio Villar Senin2012-03-208-65/+117
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=648653
* Fix bookmarklet's titles when they are createdXan Lopez2012-03-161-31/+37
| | | | | | | | 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
* The security certificate code is a no-op, remove itXan Lopez2012-03-152-15/+0
|
* window-commands: forcing offline mode has been a no-op for a whileXan Lopez2012-03-141-0/+3
|
* Don't go to EphyEmbedSingle just to get the network statusXan Lopez2012-03-142-29/+3
| | | | | The new GNetworkMonitor class is really a good enough abstraction, don't overdo it.
* history: remember visit typesXan Lopez2012-03-145-3/+18
| | | | | | | 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-private: add missing headerXan Lopez2012-03-131-0/+1
|
* ephy-history-service: make the async API cancellableClaudio Saavedra2012-03-133-7/+7
| | | | | | | | | | | 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-history-view: open pages in a new tab on middle clickClaudio Saavedra2012-03-131-11/+11
| | | | | | This was present in the old EphyNodeView history. Bring it back. https://bugzilla.gnome.org/show_bug.cgi?id=671635
* ephy-main: run app mode only with a existing dirDiego Escalante Urrelo2012-03-111-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669700
* ephy-history-window: init hosts to NULLDiego Escalante Urrelo2012-03-111-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671613
* ephy-history-window: filter hosts with time range as wellClaudio Saavedra2012-03-081-2/+3
|
* ephy-hosts-view: ensure "all hosts" is selected by defaultClaudio Saavedra2012-03-081-5/+3
| | | | | | If no host can be selected, always select the "all hosts" row. https://bugzilla.gnome.org/show_bug.cgi?id=671575
* ephy-host-store: add a clear() methodClaudio Saavedra2012-03-081-1/+1
| | | | | | | This adds always a default item "All sites" which, when selected, will show all urls in all hosts. https://bugzilla.gnome.org/show_bug.cgi?id=671575
* Annotate correctly the fact that FileNewTab now always opens the homepageXan Lopez2012-03-083-3/+8
| | | | | We need to detect it in EphyEmbed to avoid adding about:blank to the history in that case.