| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Check whether the app that will launch a given download is actually
the browser itself, and do nothing *before* going ahead. Seems better
than actually launching and then aborting on startup through UUID
hacks.
|
|
|
|
|
|
|
|
|
| |
Based on nautilus' (nautilus-window.c) button numbers and the bugzilla
reports by users.
Thank you Vincas Dargis and Joe Barnett for the previous patches.
https://bugzilla.gnome.org/show_bug.cgi?id=337852
|
|
|
|
|
|
| |
Epiphany gets its http-authentication-password-saving support via
WebKit now, so remove the old SoupPasswordManager stuff (which is a
no-op in libsoup master anyway).
|
|
|
|
|
| |
The way it was before is supposed to still work (and so needs to be
fixed in libsoup), but this way is more right anyway.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
We need to check the URI is valid before asking the WebKitFaviconDatabase
for the associated icon, since it must happen that it's NULL even if
priv->address is not (e.g. after a load error has occurred).
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=683614
|
|
|
|
|
|
|
|
| |
ephy-web-view.c: In function '_ephy_web_view_update_icon':
ephy-web-view.c:1088:12: warning: unused variable 'object'
[-Wunused-variable]
https://bugzilla.gnome.org/show_bug.cgi?id=689932
|
|
|
|
| |
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=683635
|
| |
|
|
|
|
|
|
|
|
| |
Only download mime types we cannot handle when they belong to the main
resource. Prevents us from downloading garbage present in <object>
files, among other things.
https://bugzilla.gnome.org/show_bug.cgi?id=683635
|
|
|
|
|
| |
WebKit already does exactly the same thing automatically, no need to
handle it here.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679048
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=684443
|
| |
|
| |
|
|
|
|
| |
As requested by the GNOME designers.
|
|
|
|
| |
We access the priv struct a bunch of times here, create a variable for it.
|
|
|
|
| |
Still won't work, though, needs to be ported.
|
|
|
|
|
|
|
| |
No need for this now, just make EphyAdBlock a concrete class
implementing the adblock functionality.
https://bugzilla.gnome.org/show_bug.cgi?id=681657
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=681657
|
|
|
|
|
|
|
| |
org.gnome.epiphany.web.enable-adblock, controls whether adblock is
enabled (globally).
https://bugzilla.gnome.org/show_bug.cgi?id=681657
|
| |
|
|
|
|
|
|
|
| |
It's unused and its usage is redundant with the
ephy_web_view_is_history_frozen()
https://bugzilla.gnome.org/show_bug.cgi?id=683796
|
|
|
|
|
|
| |
And remove redundant check.
https://bugzilla.gnome.org/show_bug.cgi?id=683796
|
|
|
|
|
|
|
|
| |
We don't show these addresses in the location entry because they are
very special to epiphany. There is no reason to store them in the
history.
https://bugzilla.gnome.org/show_bug.cgi?id=683796
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=683796
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=683929
|
|
|
|
| |
This was neglected before, fix.
|
|
|
|
|
| |
WK2 doesn't have yet a snapshotting API, so ifdef this out for the
time being.
|
|
|
|
|
|
|
| |
Because the suggested filename returned by the server might contain
directory separators.
https://bugzilla.gnome.org/show_bug.cgi?id=683711
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Unref objects in dispose, not finalize. Use g_clear_object correctly
(no need to check whether the pointer is NULL).
|
| |
|
|
|
|
|
| |
Removed ephy_embed_shell_get_frecent_store() from EphyEmbedShell public
interface.
|
|
|
|
| |
For improved visual feedback.
|
|
|
|
| |
The whole method is inside an if block, just do an early return.
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
This is needed for distcheck, which runs tests before installing.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679685
|
| |
|
| |
|
|
|
|
| |
Thumbnail for missing snapshots and thumbnail frame by Jakub Steiner.
|
|
|
|
|
| |
To avoid warnings if the view dissapears before the source function is
called.
|
|
|
|
|
|
| |
Since this is used to freeze the history when an error page is being
loaded, we can rely on it. Since the snapshots are taken in the
FINISHED state, move the call to thaw after that.
|
|
|
|
|
| |
This makes it more likely that all rendering in the page has already
happenend, specially under heavy page load.
|
|
|
|
| |
Instead of duplicating the string everywhere.
|
| |
|
|
|
|
|
|
| |
Make the iconview centered in the overview, while expanding this one
and enabling scrollbars in both directions. This allows the window
to be resized at will.
|
| |
|
| |
|
|
|
|
|
| |
Toggling this property will toggle visibility of the overview and the
paned with the normal embed contents.
|
|
|
|
|
|
|
| |
This widget entails two GdMainViews, one for the frecency model and
one for the active model.
https://bugzilla.gnome.org/show_bug.cgi?id=455173
|
|
|
|
| |
Add a helper method for this.
|
|
|
|
|
| |
Since we will use the overview in each tab and these should share
the underlying model.
|
| |
|
|
|
|
| |
Fixes a potential leak in WebKit2 mode.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In WebKit2 we'll get no notify::title for pages without title, so
check this case and reset the title to NULL, which for non-blank pages
will use the address as title.
This also removes the last notify::embed-title calls outside of
ephy_web_view_set_title.
Cherry-picked from a patch by Carlos Garcia.
https://bugzilla.gnome.org/show_bug.cgi?id=682354
|
|
|
|
|
| |
I don't think notifying 'embed-title' here makes much sense. If it
does it's wrong, so if something breaks we'll fix it accordingly.
|
|
|
|
|
| |
EphyWindow takes care of this now, so don't change the EphyWebView
address to NULL when we load about:blank.
|
|
|
|
|
| |
The API has changed to receive a char ** instead of a string containing
a comma-separated list of languages.
|
|
|
|
|
|
| |
webkit_web_context_register_uri_scheme()
A GDestroyNotify paramater has been recently added.
|
|
|
|
|
|
| |
WebKit2
webkit_web_view_replace_content() has been removed
|
| |
|
|
|
|
|
|
|
|
|
|
| |
the file
It may happen that config.h or ephy-embed-single.h end up including soup.h,
which would cause the soup-password-manager.h header file to be included
without the defines.
https://bugzilla.gnome.org/show_bug.cgi?id=682289
|
|
|
|
|
|
| |
That is the type we actually use.
https://bugzilla.gnome.org/show_bug.cgi?id=682289
|
|
|
|
| |
Saves some code duplication.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
SoupTLD is not happy if we give it something like ".com/blah/blah".
Add a unit test for this case too.
|
| |
|
|
|
|
|
|
|
|
|
| |
Otherwise we end up with dummy URIs in the history, overwritten titles
("Oops, could not load..."), etc.
Add a unit test to make sure we do not regress.
https://bugzilla.gnome.org/show_bug.cgi?id=655619
|
|
|
|
|
|
|
| |
webkit_web_view_load_string, which was used previously, does not add
the error page to the back forward list. This means that when you
go back from an error page (n) you will skip directly to an older page
(n-2) or not be able to go back if the error page was the first loaded.
|
| |
|
|
|
|
|
|
|
| |
By storing its data in the temporary profile instead of the user cache
dir.
https://bugzilla.gnome.org/show_bug.cgi?id=681147
|
|
|
|
|
|
|
| |
ephy_web_view_get_security_level
Remove the unused description parameter an return the TLS certificte and
errors instead.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Give SoupTLD nothing but the TLD when trying to figure out whether a
URI actually has a TLD, otherwise it won't be happy. In particular:
'.gnome.org' -> Not OK
'.org' -> OK
Add a test for this case.
|
|
|
|
|
|
|
|
|
| |
Using the new SoupTLD methods. Had to split the non-search regexp in
two so that we can reuse its 'is this a domain?' bits. Ugly as hell,
but not worse than before... At least we have unit tests to catch
regressions.
https://bugzilla.gnome.org/show_bug.cgi?id=681022
|
| |
|
|
|
|
|
| |
We are going to modify it a bit, and we really want to test it. Add
some initial tests for the existing functionality.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=680368
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=681080
|
|
|
|
|
|
|
| |
Instead of creating a custom GtkButtonBox, use GtkOrientable API
implemented by the default action_area widget (a GtkBox) of GtkInfoBar.
https://bugzilla.gnome.org/show_bug.cgi?id=681078
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679616
|
|
|
|
|
|
|
| |
From the API point of view, we only need to use WebKit2 to clear the
cache.
https://bugzilla.gnome.org/show_bug.cgi?id=679684
|
|
|
|
|
|
| |
WebAudio support in WebKitGTK is not stable yet but it would be good
to allow Epiphany users to test this feature nonetheless. The
enable-webaudio gsetting is set to false by default.
|
| |
|
|
|
|
| |
They are derived from 'title', no need to pass them as parameters.
|
| |
|
| |
|
|
|
|
|
| |
Dropping useless headers elsewhere uncovered a missing header
(stdlib.h) here. Also sort headers while at it.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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=679369
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679371
|
|
|
|
| |
In WebKit2 page cache is enabled by default.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679499
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678626
|
| |
|
| |
|
|
|
|
|
|
|
| |
Just trust the title-updated signal for the most part. Seems to work
just fine in WK1, and fixes missing updates to the title in WK2.
https://bugzilla.gnome.org/show_bug.cgi?id=679046
|
|
|
|
|
| |
It's not used outside its own class either, so we can make it private
to the file.
|
| |
|
|
|
|
| |
Do not make it public.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678840
|
|
|
|
|
|
| |
Do not re-set the address we already have, use the location we get as
a parameter, which comes from the same place (WebKit layer) than
ephy_web_view_get_location used to get it from.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
I think we can do without the "expire_address_now" boolean, and just
rely on whether typed-address itself is NULL or not. If it is not, we
want to always show it in the location entry and never overwrite it,
since it reflects what the user has typed. The only case when we want
to go ahead and set it to NULL is when the load actually starts (ie,
when the user wants to transform what he has typed into a new
load). Try to document things better reflecting this logic.
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678612
|
|
|
|
|
|
| |
Use again notify::uri, but do nothing if we receive it when the page
is not loading (ie, before STARTED was reached). This fixes the
difference in semantincs between WK1 and WK2.
|
|
|
|
|
| |
Since the vast majority of the code was really independent from
EphyWebView.
|
|
|
|
|
|
| |
In WebKit2 notify::uri will come with the requested URI even
before/during the STARTED status, so we cannot use it in the same way
as we were using it in WebKit1, where the semantincs were different.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678614
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678625
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678616
|
|
|
|
|
| |
Leaving in ephy-request-about only the code specific to the soup feature
implementation.
|
|
|
|
|
|
|
| |
It makes the code a bit more complex. Since we always need a
WebKitDownload we can just create a WebKitDownload in
ephy_download_new_for_uri() can then use
ephy_download_new_for_download() to create the EphyDownload.
|
|
|
|
|
| |
Instead of getting it from the download to make define_destination_uri()
function compatible with WebKit2.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678601
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678600
|
|
|
|
|
| |
Helper function to show an error messaage in the info bar when the print
operation failed.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678599
|
|
|
|
|
| |
In both ephy_web_view_set_link_message() and
ephy_embed_utils_link_message_parse().
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678593
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678592
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678591
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=678532
|
|
|
|
| |
To check whether the load operation in the web view failed.
|
|
|
|
|
|
|
|
|
| |
Add a new action instead of abusing NONE. NONE means nothing has been
set, this will trigger AUTO when auto-downloads preference is TRUE.
DO_NOTHING explicitely asks for no action to be taken.
https://bugzilla.gnome.org/show_bug.cgi?id=676128
|
|
|
|
| |
It builds and basic functionality works.
|
|
|
|
|
| |
webkit_web_view_open() is deprecated in WebKit1 and
webkit_web_view_load_uri() is compatible with WebKit2.
|
|
|
|
|
| |
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 add it to EphyWebViewChrome and track it there.
https://bugzilla.gnome.org/show_bug.cgi?id=671195
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=676904
|
|
|
|
|
|
| |
Remove unused variables and fix memory leaks
https://bugzilla.gnome.org/show_bug.cgi?id=676484
|
|
|
|
|
|
|
| |
It creates a data URI for the given filename. Use the new function when
building error and applications pages.
https://bugzilla.gnome.org/show_bug.cgi?id=677025
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=677720
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
image_type is owned by file_info, so we can't free file_info until
after we're done with image_type. Fixes crash when error page
is displayed. Valgrind trace:
==1916== Invalid read of size 1
==1916== at 0x38CBA7B328: _IO_default_xsputn (in /lib64/libc-2.14.90.so)
==1916== by 0x38CBA4B3A7: vfprintf (in /lib64/libc-2.14.90.so)
==1916== by 0x38CBB084B0: __vasprintf_chk (in /lib64/libc-2.14.90.so)
==1916== by 0x38CDA8A44A: g_vasprintf (stdio2.h:199)
==1916== by 0x38CDA69B0C: g_strdup_vprintf (gstrfuncs.c:509)
==1916== by 0x38CDA69BAB: g_strdup_printf (gstrfuncs.c:535)
==1916== by 0x47EA57: ephy_web_view_load_error_page (ephy-web-view.c:1978)
==1916== by 0x47F6B2: load_error_cb (ephy-web-view.c:2119)
==1916== by 0x38E8E7753F: webkit_marshal_BOOLEAN__OBJECT_STRING_POINTER (in /usr/lib64/libwebkitgtk-3.0.so.0.11.0)
==1916== by 0x38CEA11381: g_closure_invoke (gclosure.c:777)
==1916== by 0x38CEA23132: signal_emit_unlocked_R (gsignal.c:3547)
==1916== by 0x38CEA2AEE1: g_signal_emit_valist (gsignal.c:3306)
==1916== Address 0x4f02040 is 0 bytes inside a block of size 10 free'd
==1916== at 0x4A0662E: free (vg_replace_malloc.c:366)
==1916== by 0x38CDA5513E: g_free (gmem.c:252)
==1916== by 0x38D1255908: _g_file_attribute_value_clear (gfileattribute.c:245)
==1916== by 0x38D125A078: g_file_info_finalize (gfileinfo.c:324)
==1916== by 0x38CEA1670F: g_object_unref (gobject.c:3018)
==1916== by 0x47EA05: ephy_web_view_load_error_page (ephy-web-view.c:1974)
==1916== by 0x47F6B2: load_error_cb (ephy-web-view.c:2119)
==1916== by 0x38E8E7753F: webkit_marshal_BOOLEAN__OBJECT_STRING_POINTER (in /usr/lib64/libwebkitgtk-3.0.so.0.11.0)
==1916== by 0x38CEA11381: g_closure_invoke (gclosure.c:777)
==1916== by 0x38CEA23132: signal_emit_unlocked_R (gsignal.c:3547)
==1916== by 0x38CEA2AEE1: g_signal_emit_valist (gsignal.c:3306)
==1916== by 0x38CEA2BE83: g_signal_emit_by_name (gsignal.c:3389)
https://bugzilla.gnome.org/show_bug.cgi?id=677736
|
| |
|
|
|
|
| |
To make sure constructed is called in WebKitWebView if present.
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
If ephy_embed_shell_get_embed_single () does not return a correct
manager, a location string is leaked.
https://bugzilla.gnome.org/show_bug.cgi?id=675888
|
|
|
|
|
|
|
| |
If the org.gnome.Epiphany.web.do-not-track setting is enabled, we'll
send the DNT: 1 header with every outbound request we make.
See http://donottrack.us/ for more details.
|
|
|
|
|
|
| |
We are going to use it in the profile migrator, so it needs to be
there. Besides, this code just deals with plain data in the profile
and application dir, so it makes sense for it to be here.
|
|
|
|
|
|
|
| |
The string "system" is used as a placeholder for the default system
languages in the preference listing of spelling dictionaries. Before
sending this to WebKit to set the spelling dictionaries, we should
fill in the actual default system languages.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=673348
|
|
|
|
|
|
|
|
| |
Some sites use email addresses for login purposes, and already adopted the
email input type for the login forms. This means we should also consider email
inputs as a possible username entry.
https://bugzilla.gnome.org/show_bug.cgi?id=666326
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
That's the correct name for the entry.
https://bugzilla.gnome.org/show_bug.cgi?id=673865
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
This reverts commit 0b05e95f4aea0ab11ab11828e0bcc0b920d6230e.
Our codebase is not completely consistent here, but as a rule we don't
do whitespaces in casts.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=673022
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=673021
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=673019
|
|
|
|
|
|
| |
Signed-off-by: Diego Escalante Urrelo <diegoe@igalia.com>
https://bugzilla.gnome.org/show_bug.cgi?id=658925
|
| |
|
|
|
|
|
|
|
| |
It's not really needed, will allow to reuse this code during profile
migration.
https://bugzilla.gnome.org/show_bug.cgi?id=658925
|
| |
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
I'm pretty sure there's no point in using the _object variant here.
|
| |
|
|
|
|
| |
Don't request the global instance again.
|
| |
|
|
|
|
| |
We do not support this anymore in our UI.
|
|
|
|
| |
It's only used by the class itself now.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=671792
|
|
|
|
|
|
|
| |
This reverts commit 08956cf8cd8040f8500c40b646a52b6f03ae5275.
Bleh, the mostly useless popup code in EphyWebView needs this even if
it's a no-op, so bring it back.
|
|
|
|
| |
We are not using it. Easy enough to bring it back if needed.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
EphyEmbed does not use it anymore.
|
| |
|
|
|
|
|
| |
Again, this only interacts with the view, so it does not need to be in
EphyEmbed.
|
|
|
|
| |
No point in doing it from EphyEmbed.
|
|
|
|
| |
We are going to move stuff from embed to webview, so we'll need this.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=671901
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Add ephy-embed-private.h
https://bugzilla.gnome.org/show_bug.cgi?id=669548
|
|
|
|
|
| |
Don't do it when it's loaded automatically through NewTab or
NewWindow, but do it if the user actually types the URI.
|
|
|
|
| |
And add a getter for the information.
|
|
|
|
|
|
|
| |
Some pages (like those opened with javascript:...) can have a NULL URI
according to WebKit, so protect against that.
https://bugzilla.gnome.org/show_bug.cgi?id=671555
|
|
|
|
|
| |
Since that's their natural place. Also create a base class to hold the
common code they share.
|
| |
|
| |
|
|
|
|
|
| |
The current view is based in EphyNode, so it's not useful. GtkTreeView
and GtkListStore subclasses are added for this purpose.
|
|
|
|
| |
We are not using it anymore.
|
|
|
|
| |
And use it in EphyEmbed instead of the legacy signal.
|
|
|
|
| |
Fits much better with the naming model in that class.
|
|
|
|
|
|
| |
It was a very thin wrapper on top of the history service, it does not
seem to make much sense. For now move the two useful helper methods
down to the service without further changes.
|
| |
|
| |
|
| |
|
|
|
|
| |
It's not really that useful.
|
|
|
|
|
|
|
|
|
|
| |
Zoom levels have always been stored per host in Epiphany, not per URL
(otherwise you'd have to re-apply the zoom level again and again when
visiting, say, every news entry in your favorite newspaper). Change
things to work like that.
Note: this changes the SQL table format for the history, so you'll
need to re-migrate your history.
|
|
|
|
|
| |
We now fetch the history from the SQL backend using a service thread,
and merge the results with our old bookmark data.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This will eventually replace the old EphyHistory class
|