| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678628
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678612
|
|
|
|
| |
http://bugzilla-attachments.gnome.org/attachment.cgi?id=217022
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Leaving in ephy-request-about only the code specific to the soup feature
implementation.
|
|
|
|
|
| |
It makes easier to check whether download finished, and it's compatible
with WebKit2.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678596
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
As construct_webkit_history_list since the webkit_ prefix makes the
function look like WebKit API even if it's a private method.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678593
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678591
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678532
|
|
|
|
|
|
| |
Stop downloaded backgrounds from popping an image viewer instance.
https://bugzilla.gnome.org/show_bug.cgi?id=676128
|
|
|
|
| |
It builds and basic functionality works.
|
|
|
|
|
| |
Also use always double instead of float so that it will be compatible
with WebKit2 API.
|
|
|
|
| |
Instead of relying on webkit header to include it.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
We add it to EphyWebViewChrome and track it there.
https://bugzilla.gnome.org/show_bug.cgi?id=671195
|
|
|
|
|
|
| |
We're no longer using it
https://bugzilla.gnome.org/show_bug.cgi?id=671195
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678405
|
|
|
|
|
|
| |
Which we will also reuse later on.
https://bugzilla.gnome.org/show_bug.cgi?id=678405
|
|
|
|
|
|
| |
We'll share this code later.
https://bugzilla.gnome.org/show_bug.cgi?id=678405
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678134
|
| |
|
|
|
|
|
|
| |
Otherwise commit ccf3836d601c makes us use that variable with a
garbage value most of the time, since it won't be initialized
unconditionally anymore.
|
|
|
|
|
|
|
| |
"Pictures" was hardcoded as the destination folder, use
G_USER_DIRECTORY_PICTURES instead.
https://bugzilla.gnome.org/show_bug.cgi?id=677240
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=673683
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=676905
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=676905
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=676905
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=676904
|
| |
|
|
|
|
| |
The toolbar-editor is gone, so this code should be gone too.
|
|
|
|
|
| |
This was making the file-check test never run unless we were in
lock-down mode.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
And re-write the ephy_session_load method on top of it. We'll use this
in our unit tests.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
To avoid surprises if the history-window happens to be destroyed.
https://bugzilla.gnome.org/show_bug.cgi?id=672073
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=677720
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=677720
|
|
|
|
|
|
| |
webkit_favicon_database_get_favicon_uri returns newly allocated string
https://bugzilla.gnome.org/show_bug.cgi?id=677720
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=677720
|
|
|
|
|
|
| |
webkit_favicon_database_get_favicon_uri returns newly allocated string
https://bugzilla.gnome.org/show_bug.cgi?id=677720
|
|
|
|
|
|
| |
webkit_favicon_database_get_favicon_uri returns newly allocated string
https://bugzilla.gnome.org/show_bug.cgi?id=677720
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=675804
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=675804
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=676784
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=676043
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Call it directly from main, since we want it to happen before the file
helpers initialization.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=674870
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
It was added to accomodate the window resize grip, which does not
exist anymore in Adwaita.
|
|
|
|
| |
Otherwise we'll try to update dead notebooks if the setting changes.
|
|
|
|
| |
We'll use this when we land the Overview.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
These are clearly not meant to be used outside of Epiphany.
|
|
|
|
| |
Since there's no Help for now.
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=673649
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
| |
Signed-off-by: Diego Escalante Urrelo <diegoe@igalia.com>
https://bugzilla.gnome.org/show_bug.cgi?id=658925
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
We were not properly changing the UI if the key was changing at runtime.
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
It's not really needed, will allow to reuse this code during profile
migration.
https://bugzilla.gnome.org/show_bug.cgi?id=658925
|
|
|
|
| |
It will be automatically restored on startup.
|
| |
|
|
|
|
| |
We are going to use his all the time now, not only for crashes.
|
| |
|
|
|
|
| |
Don't ask, just do it.
|
| |
|
|
|
|
| |
The brave new world is to use the session support in GtkApplication.
|
|
|
|
| |
Saves about 20K in the generated files.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=672907
|
|
|
|
| |
It breaks ephy-extensions build.
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=672481
|
| |
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=648653
|
|
|
|
|
|
|
|
| |
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 new GNetworkMonitor class is really a good enough abstraction,
don't overdo it.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|