| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
This fixes the cases where sites like www.foo.com save cookies for
domain .foo.com, so that when an app is created for www.foo.com, cookies
in the current jar for the domain .foo.com are not copied to the app
cookie jar.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679403
|
|
|
|
| |
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
|
|
|
|
|
| |
This makes the about dialog not crash in WebKit2, since they are not
set to any value (yet) but are freed anyway.
|
|
|
|
|
|
| |
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=678628
|
|
|
|
| |
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.
|
|
|
|
| |
http://bugzilla-attachments.gnome.org/attachment.cgi?id=217022
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
|
|
|
| |
function
|
|
|
|
|
| |
It makes easier to check whether download finished, and it's compatible
with WebKit2.
|
|
|
|
|
|
|
| |
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().
|
|
|
|
| |
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=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.
|
|
|
|
|
|
| |
Stop downloaded backgrounds from popping an image viewer instance.
https://bugzilla.gnome.org/show_bug.cgi?id=676128
|
|
|
|
|
|
|
|
|
| |
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 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
|
|
|
|
| |
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=673683
|
| |
|
|
|
|
|
|
|
| |
Tests create, exists, delete, list API.
No network access required.
https://bugzilla.gnome.org/show_bug.cgi?id=673271
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=673271
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
These are huge and if anyone is really interested in the old history
she can always use the git history to figure out things.
|
|
|
|
|
| |
This was making the file-check test never run unless we were in
lock-down mode.
|
|
|
|
|
|
|
|
|
| |
For now a simple test that verifies that loading a session works.
We need to link with the resource files, which is unfortunate, but I'm
not sure there's a way around it since this test will actually spawn a
full EphyWindow (ie, it's not only testing the session or shell code
but the entire browser as a side effect).
|
|
|
|
|
|
| |
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
|
|
|
|
| |
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=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
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=675804
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=675804
|
|
|
|
|
|
| |
So that they are bindable.
https://bugzilla.gnome.org/show_bug.cgi?id=675804
|
|
|
|
| |
To make sure constructed is called in WebKitWebView if present.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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=673270
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=676784
|
|
|
|
| |
Otherwise tests using its contents will fail on distcheck.
|
|
|
|
|
|
|
|
|
|
| |
Test API for file switch, tmp file creation, downloads, desktop
directories.
Take two of this test. Updated for ephy-file-helpers API changes.
Previously reverted on 185ab751c20a825f832efd89a7cfbd75fa09e20c.
https://bugzilla.gnome.org/show_bug.cgi?id=673337
|
|
|
|
|
|
|
| |
Better explain the logic of the function and reorder the conditions.
This makes ~/Downloads the fallback instead of ~/Desktop.
https://bugzilla.gnome.org/show_bug.cgi?id=673337
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Unsigned integer can not be negative, therefore it is redundant to
check whether it is greater than or equal to zero.
https://bugzilla.gnome.org/show_bug.cgi?id=675888
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=676043
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
That way we can run the tests from any directory in debug mode.
|
|
|
|
|
|
| |
The path to the just built migrator is known at compile time, so no
need to create strings at runtime. Also, share the name of the binary
itself to avoid silly bugs like last time.
|
| |
|
|
|
|
| |
Schouwen.
|
| |
|
|
|
|
| |
Mistakenly changed it to use underscores.
|
| |
|
| |
|
| |
|
|
|
|
| |
Use --do-step/-d and an index.
|
| |
|
|
|
|
|
| |
Trivial first test, we just check the migration binary runs and does
not catastrophically.
|
|
|
|
| |
So we can properly test it.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
We don't use XML files to create our toolbars anymore, so this is not
needed.
|
|
|
|
|
|
|
|
|
|
| |
We need to update their desktop files (they had references to the
profile directory) and the symlink of the .desktop file in the Shell
applications directory.
It would be much easier to just delete and re-add the applications,
but unfortunately that would wipe out the existing profile data in the
apps (like cookies).
|
|
|
|
|
| |
It's quite cumbersome to re-construct from its name and URL, so just
add it here. We'll use it to migrate the profile data.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Do nothing if the destination history file already exists.
|
|
|
|
|
| |
Otherwise we'll read the .migrated file *before* we move the old
profile. Not OK, it will make us start from scratch all the migration
|
|
|
|
|
| |
Perhaps PRIVATE_PROFILE should implicitly add ENSURE_EXISTS, seems
logical. Do this for new.
|
| |
|
|
|
|
|
|
|
| |
Sqlite limits the length of a LIKE pattern to 50000 bytes, therefore
we need to make sure that longer strings are not used as queries.
https://bugzilla.gnome.org/show_bug.cgi?id=674848
|
| |
|
|
|
|
|
|
| |
Migrate profile directory to XDG config dir
https://bugzilla.gnome.org/show_bug.cgi?id=522810
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This reverts commit d1ba46b3f4a4e2afbffe5a0ab2543462caea0bbe.
Does not pass distcheck and I need to release.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
When exporting bookmarks to HTML, certain smart link metadata is lost that would
otherwise be preserved in RDF / XML format. Now smart link URIs are used in
place of regular link URIs if they exist.
https://bugzilla.gnome.org/show_bug.cgi?id=534565
|
| |
|
|
|
|
|
|
|
| |
Test API for file switch, tmp file creation, downloads, desktop
directories.
https://bugzilla.gnome.org/show_bug.cgi?id=673337
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=673337
|
|
|
|
|
|
|
| |
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=673337
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=673348
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
With this policy the session will only be restored if the application
has exited unexpectedly, but not if the user manually closes it.
There are no code changes needed for this to work, having a (valid)
different value than always/never in the setting makes things just
work.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
The GFile API provides useful error messages, print them when any
operation fails to aid debugging.
https://bugzilla.gnome.org/show_bug.cgi?id=673666
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=673665
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=673684
|
|
|
|
|
|
| |
That's the correct name for the entry.
https://bugzilla.gnome.org/show_bug.cgi?id=673865
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=673649
|
| |
|