| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
| |
This commit complete the extraction part of the archive integration project
in Epiphany.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
changes
The correct signal is 'selection-changed', as in all file choosers.
The signal that was being used, 'current-folder-changed', only means that the current
directory being shown in the file chooser dialog has changed - not that the selection
has changed.
See https://bugzilla.gnome.org/show_bug.cgi?id=696498#c8 - although that comment
suggests the use of the 'file-set' signal, which I don't think is very useful. It's
just a historical remnant.
|
|
|
|
|
| |
Since application mode also has a profile directory, we will enter the
non-app-mode profile shell mode instead.
|
|
|
|
|
|
|
| |
The instance is a GtkBox child, so the class should be a
GtkBoxClass child, not GtkToolbarClass.
https://bugzilla.gnome.org/show_bug.cgi?id=700910
|
| |
|
|
|
|
|
|
|
|
| |
X session
This avoids a startup crash when running on Wayland.
https://bugzilla.gnome.org/show_bug.cgi?id=700691
|
|
|
|
|
|
|
|
|
| |
Adds a new standalone shell mode and removes restrictions on using --profile
in a non-private, non-incognito instance of the browser. Useful for debugging
or improving features that rely on being in a regular session, such as password
and session saving/restoring.
https://bugzilla.gnome.org/show_bug.cgi?id=699602
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=696894
|
|
|
|
|
|
|
|
| |
So that they are loaded from memory instead of disk every time they are
needed.
We also get rid of ephy_file searching for the files in the file system.
https://bugzilla.gnome.org/show_bug.cgi?id=696792
|
|
|
|
|
|
|
|
|
|
|
| |
Cookies, web extension and custom URI handlers were initialized in
ephy_embed_shell_init(), so they were always called even for secondary
instances. All other initializations were in ephy_shell_startup so that
it only happens for the primary instance. Move all the code to
ephy_embed_shell_startup to make sure everything happens at the same
time and only for the primary instance.
https://bugzilla.gnome.org/show_bug.cgi?id=696020
|
|
|
|
| |
There's no notify::load-status in WebKit2
|
|
|
|
|
| |
gtk_style_context_get does return a copy of the requested properties,
free our pango font description.
|
|
|
|
|
|
|
| |
We were not resetting correctly the internal state when getting a NULL
encoding from WebKit, so the dialog would stop working after that.
https://bugzilla.gnome.org/show_bug.cgi?id=696548
|
| |
|
|
|
|
|
|
| |
Move the remaining initialization code to EphyEmbedShell
https://bugzilla.gnome.org/show_bug.cgi?id=693703
|
|
|
|
| |
We are doing nothing with this these days.
|
|
|
|
| |
The signal was removed from EphyEmbedSingle since it was a no-op.
|
|
|
|
| |
This does not exist anymore.
|
|
|
|
|
|
| |
We were not doing it at all in WebKit2.
https://bugzilla.gnome.org/show_bug.cgi?id=696301
|
|
|
|
| |
EphyEmbedSingle is almost dead!
|
|
|
|
|
|
|
|
|
|
| |
As well as the code the prepare the environment for the wen process and
web context initialization. This allows to only run that initializations
only for the primary instance. It fixes a crash in web process when the
ui process finishes too early and makes secondary instances to run
faster, since they don't spawn a web process anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=696020
|
|
|
|
|
|
|
|
|
| |
In WebKit2 the back/forward list is not copiable, so that assumption
doesn't hold, and the current code path fails. With this change we
tell EphyShell to not copy the list and load the URL held by the back
item of the existing WebView in the new WebView instead, for WebKit2.
https://bugzilla.gnome.org/show_bug.cgi?id=695951
|
|
|
|
|
|
|
| |
Do not allow to launch bookmarks, history, preferences and personal
data editors through keyboard shortcuts in app mode.
https://bugzilla.gnome.org/show_bug.cgi?id=690191
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=695904
|
|
|
|
|
|
| |
We were not freeing the save data struct itself.
https://bugzilla.gnome.org/show_bug.cgi?id=695963
|
| |
|
|
|
|
|
| |
The size group initial reference can be dropped after adding all the
widgets.
|
|
|
|
|
|
| |
This reverts commit 45e86f4c6f6922fb0b554c738967b9403bd70ecc.
Pushed this by mistake.
|
|
|
|
|
|
|
| |
g_task_run_in_thread already refs the task, so we have to unref it
ourselves after calling it.
https://bugzilla.gnome.org/show_bug.cgi?id=695905
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=695904
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=684439
|
| |
|
|
|
|
|
|
|
| |
These are internal to the web app creation process, the user should
not see them.
https://bugzilla.gnome.org/show_bug.cgi?id=695793
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=695345
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=695307
|
|
|
|
| |
The required files will be built in the web extension.
|
|
|
|
|
|
|
| |
We were not re-using the active EphyEmbed, which causes opening one
extra empty tab.
https://bugzilla.gnome.org/show_bug.cgi?id=694966
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=694091
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679918
|
|
|
|
|
|
|
|
|
|
| |
This is a one-to-one migration from the gkm implementation to
libsecret. The existing gkm-powered dialog showed both network
authentication and form authentication data. Since we are moving all
form authentication data to a Epiphany specific schema, this will not
be shown here anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=679918
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=694091
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=694703
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=694144
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=694144
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=694580
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The session tests were broken by the delayed tab loading feature - the restored
embeds would not finish loading and thus the expectations for the URIs were not
met. This change adds a setting that is now used by those tests to disable the
feature temporarily.
Also revert "ephy-session-test: make tests pass", which is no longer necessary.
This reverts commit 75da5fff3f4489dacf4ded6f012daa06af306709.
https://bugzilla.gnome.org/show_bug.cgi?id=694470
|
| |
|
| |
|
|
|
|
|
|
| |
Installing a web extension to access the DOM.
https://bugzilla.gnome.org/show_bug.cgi?id=684437
|
|
|
|
|
|
|
|
|
|
|
| |
destination is known
In WebKit2 downloads automatically start when an uri is requested to be
downloaded. Instead of creating a download that is cancelled if the
destination dialog is cancelled, we can simply create the download when
the destination dialog has been accepted.
https://bugzilla.gnome.org/show_bug.cgi?id=685950
|
| |
|
|
|
|
|
|
| |
Useful in general, and in particular in touch-based devices.
https://bugzilla.gnome.org/show_bug.cgi?id=684616
|
|
|
|
| |
It is also not needed anymore.
|
|
|
|
| |
Since there are no extensions, we don't need to do this anymore.
|
|
|
|
|
| |
This was also a no-op. The only thing the popup code is doing is
checking the GSetting, so just do that.
|
|
|
|
|
|
|
| |
This gives gnome-shell a change to apply notification filtering on
this app.
https://bugzilla.gnome.org/show_bug.cgi?id=690996
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=691439
|
| |
|
|
|
|
|
| |
There's only one shell, which we already get in the first
parameter. No need to ask for the shell again.
|
|
|
|
|
| |
We have one in EphyShell, but should be redundant (since we stopped
tracking non-EphyWindow windows some time ago).
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=693297
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=128184
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=128184
|
|
|
|
|
|
|
|
|
| |
We add a queue of closed tabs to EphySession, which is later used to
restore them through ephy_session_undo_close_tab().
Based on a patch by Diego Escalante Urrelo <diegoe@igalia.com>
https://bugzilla.gnome.org/show_bug.cgi?id=128184
|
|
|
|
|
|
|
| |
We need this in order to open a tab in the first position of a window
when undoing a tab closure.
https://bugzilla.gnome.org/show_bug.cgi?id=128184
|
| |
|
|
|
|
|
| |
There's no reason at all for this method to be in EphySession, it
neither writes nor reads the state of the browser.
|
|
|
|
|
|
|
|
|
| |
WebKit uses GLX windows internally, which will have alpha. If any
of those windows receives an event, Gtk will attempt to create a
foreign GdkWindow wrapping them, and will crash because XGetWindowAttributes
will return a NULL visual.
https://bugzilla.gnome.org/show_bug.cgi?id=693030
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=691794
|
|
|
|
|
| |
This is disabled by default, pretty obscure, and problematic to port
properly to WebKit2. So just drop the code.
|
|
|
|
|
|
|
|
| |
Doing so prevents the correct delivery of scroll DOM events,
and at time causes the wrong part of the page to scroll (or
none at all).
https://bugzilla.gnome.org/show_bug.cgi?id=684243
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=684448
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
g_file_replace_contents()
The code is simpler and g_file_replace_contents() can be cancelled.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=681832
|
|
|
|
|
|
| |
This is unused now.
https://bugzilla.gnome.org/show_bug.cgi?id=641739
|
|
|
|
|
|
|
| |
Add ephy_session_open_uris() instead and use it from EphyShell instead
of scheduling a command.
https://bugzilla.gnome.org/show_bug.cgi?id=641739
|
|
|
|
| |
It's currently unused.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=641739
|
|
|
|
|
|
| |
resume command
https://bugzilla.gnome.org/show_bug.cgi?id=641739
|
|
|
|
|
|
| |
session command
https://bugzilla.gnome.org/show_bug.cgi?id=641739
|
|
|
|
|
|
|
|
|
| |
Make ephy_session_load() asynchronous and add
ephy_session_load_from_stream() to replace
ephy_session_load_from_string(). Use a xml sax parser now that is fed
from a GInputStream.
https://bugzilla.gnome.org/show_bug.cgi?id=681782
|
| |
|
|
|
|
|
|
| |
Move Web Content from Privacy to General.
https://bugzilla.gnome.org/show_bug.cgi?id=690053
|
|
|
|
|
|
|
| |
It omits the mailto: in mail links and has a different string in the
context menu, to make this clear.
https://bugzilla.gnome.org/show_bug.cgi?id=688166
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=684440
|
|
|
|
|
|
|
|
|
| |
initiated the download
Using webkit_download_get_web_view() and falling back to the active
window if the download was not initiated by a web view.
https://bugzilla.gnome.org/show_bug.cgi?id=686467
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
This reverts commit 6626beaf15f04824066af937d3fa277e8bd46aa6.
We won't get the theming right in time for the release, so revert for now.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The purpose of EphyState is to track the sizes and positions of
windows, paned or expanders in order to remember what is the preferred
*initial* and *default* state of those UI elements. So for example we
merge the tracking of the size/positions of all main windows in one
record, because we only need an initial value which we'll use as
default for newly created EphyWindows.
Since this is a very specific task, different to the actual tracking
of all sizes and positions in EphySession in order to restore them at
startup, rename the class to EphyInitialState to avoid confusions.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679348
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=684366
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=690007
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=657755
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=657755
|
|
|
|
| |
Lapo wants it.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
To be more consistent with other GNOME 3 apps we should move
the in page find toolbar to the top of the page.
https://bugzilla.gnome.org/show_bug.cgi?id=689929
|
|
|
|
|
| |
(15:45:30) descalante: come on
(15:45:46) descalante: what is this, KDE?
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For now this is just a private mode but with the following two twists:
- We use the dark theme.
- We steal our history and bookmarks from the main profile. This is
done in 'read-only' mode though, so any changes made in this session
will be lost.
Add command line options and a UI item to launch the browser in this
mode.
https://bugzilla.gnome.org/show_bug.cgi?id=676914
|
|
|
|
|
|
| |
Now we can get rid of them.
https://bugzilla.gnome.org/show_bug.cgi?id=690050
|
| |
|
|
|
|
|
|
|
|
|
| |
GNOME Shell tries to open new windows by calling the application with no
parameters. This strategy is also used by the 'Launch web browser' keybinding,
that can be interpreted as the user requesting a new window, so open a new
window when called with no URIs, unless --new-tag is given explicitly.
Partially fixes https://bugzilla.gnome.org/show_bug.cgi?id=685976
|
|
|
|
|
|
|
|
|
|
| |
This change uses a different heuristic to decide on what the best window to add
a new tab is from the last window which has been interacted with, which might
even be in a different workspace, to the window with the most tabs in the
current workspace. If no window exists on the current workspace one will be
created.
Partial fix for https://bugzilla.gnome.org/show_bug.cgi?id=685976
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=683614
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=683614
|
|
|
|
|
| |
We always recover the session now, so 'has_session_state' makes more
sense than 'crashed_session'.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=689968
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
That thing is on its way out.
|
|
|
|
|
| |
If there's already windows opened we'll never do anything in the
MAYBE_OPEN_WINDOW command, so this check is redundant.
|
|
|
|
|
| |
The 'resume window' does not exist anymore, so this is useless and
never executed.
|
|
|
|
|
|
| |
There was no way of zooming in or out from the UI.
https://bugzilla.gnome.org/show_bug.cgi?id=683625
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=687744
|
|
|
|
|
|
| |
Does pretty the same thing, without the cut'n'paste.
https://bugzilla.gnome.org/show_bug.cgi?id=687744
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=684023
|
|
|
|
|
|
| |
Copy the sort order of other GNOME3 applications.
https://bugzilla.gnome.org/show_bug.cgi?id=678962
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679370
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679370
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679370
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679370
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679370
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679395
|
|
|
|
|
|
| |
Factor out every button press handler into its own function.
https://bugzilla.gnome.org/show_bug.cgi?id=679394
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679366
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
Workaround while we figure out how to make it behave nicely.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
| |
Same as Files.
https://bugzilla.gnome.org/show_bug.cgi?id=673878
|
|
|
|
|
|
| |
Gets rid of the ugly menubar with a single menu.
https://bugzilla.gnome.org/show_bug.cgi?id=673054
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Simply connect to 'window-added' in EphyShell instead of making this
an extension.
https://bugzilla.gnome.org/show_bug.cgi?id=685631
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=685393
|
|
|
|
|
|
|
| |
No need for this now, just make EphyAdBlock a concrete class
implementing the adblock functionality.
https://bugzilla.gnome.org/show_bug.cgi?id=681657
|
|
|
|
|
|
| |
No reason for it to be in src/ now.
https://bugzilla.gnome.org/show_bug.cgi?id=681657
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=681657
|
|
|
|
|
|
| |
We are on our way to stop being an extension.
https://bugzilla.gnome.org/show_bug.cgi?id=681657
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679844
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=683796
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=683929
|
| |
|
|
|
|
|
|
| |
There was no way to close the toolbar from the UI itself.
https://bugzilla.gnome.org/show_bug.cgi?id=683967
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=683966
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Because the suggested filename returned by the server might contain
directory separators.
https://bugzilla.gnome.org/show_bug.cgi?id=683711
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
private one
https://bugzilla.gnome.org/show_bug.cgi?id=681679
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Since this is also used for persistency of temporary directories, but
also for --profile.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Lot's of nasty things could potentially happen.
|
|
|
|
| |
Since this is a special page, there's no need for this.
|
|
|
|
| |
Instead of duplicating the string everywhere.
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
If the action name is not "NewTab", just open the home page.
|
|
|
|
|
| |
This is already explicitly set by EphyHomeAction in the new tab
special case.
|
|
|
|
| |
overview
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Toggling this property will toggle visibility of the overview and the
paned with the normal embed contents.
|
|
|
|
|
| |
Since we will use the overview in each tab and these should share
the underlying model.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
EphySession had a private, almost-identical copy. Just use the
function in lib/ephy-string.[ch]
|
|
|
|
|
| |
While we are at it, the fact that 'url' is not NULL is checked before
the if block, so this is also redundant.
|
|
|
|
| |
The previous clause already ensures this won't be TRUE.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Helper function that will be shared with the WebKit2 implementation.
|
|
|
|
|
| |
It's listed as a OS core dependency in jhbuild, so let's reduce the
number of moving pieces on our side.
|
|
|
|
|
|
|
| |
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_get_security_level
Remove the unused description parameter an return the TLS certificte and
errors instead.
|
| |
|
|
|
|
| |
Haters gonna hate.
|
|
|
|
|
| |
The suggested filename the network response gives us can be
NULL. Fallback to the old method in that case.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
The home action can only be accessed from the super menu now, so the
DnD feature is not useful anymore.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=680590
|
|
|
|
|
|
| |
to avoid hard coding the package name.
https://bugzilla.gnome.org/show_bug.cgi?id=672023
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=668115
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=680905
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
EphyNode is missing, but trying to migrate it gives some obscure error
I need to figure out.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679403
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678626
|
|
|
|
|
| |
This makes the about dialog not crash in WebKit2, since they are not
set to any value (yet) but are freed anyway.
|
|
|
|
|
|
| |
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.
|