| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make org.gnome.Epiphany.web schema relocatable to be used by web apps.
Settings in org.gnome.Epiphany.web schema are now per web app, allowing
users to have different settings in the main epiphany instance and in
every web applications installed. Newly created web apps inherit the
settings from the main instance. To make this possible I also had to
move some of the settings:
- user-agent, remember-passwords and enable-smooth-scrolling has been
moved from the main schema to web. The profile migrator will copy the
values from the main schema to the web one. Settings are not actually
moved, but copied marking the old ones as deprecated.
- adblock-filters has been moved from web to main schema, because it's
actually shared, web apps use the default profile filters. This is
not migrated because it's very recent setting and probably everybody
is using the default value anyway since it's not exposed in the UI
yet.
When the profile migrator is run for the main ephy instance, we simply
copy the values of the deprecated settings to its new location. When
it's run for a web app we copy the settings from the main profile. If
the migrator was not run for the main profile yet, we use the deprecated
values instead. This way web apps will be ensured to have the same
settings.
The app menu for web applications includes now the preferences item to
show the preferences dialog. The dialog is the same as the main one,
but with with the global options hidden.
This patch also removes ephy_settings_ensure_schema_for_path() and
relocatable schemas are configured automatically based on the current
profile dir, making it less error prone.
|
|
|
|
| |
They need to be set up to use the newly-relocatable state schema.
|
|
|
|
|
|
|
|
| |
To use GMP.
Because a few GPLv3+ files had already snuck in by mistake.
And because http://www.gnu.org/licenses/rms-why-gplv3.html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For a better future. Apologies when your 'git blame' resolves to this.
I'm actually really impressed how well uncrustify works. This required
only a little one-time manual work to avoid extra space in 'else {'.
This breaks function prototype alignment, but we should get rid of most
of those anyway.
We decided to start aligning function parameters, like other GNOME
applications. It looks nicer this way, and I couldn't teach uncrustify
the previous Epiphany style.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The implementation is checking the given error pointer to check if an
error ocurred, instead of checking the pointer pointed by the passed in
error. This means that it is always failing when an error is passed, but
it works in most of the cases when NULL is passed because the return value
of functions is checked too. There's still a problem when
g_file_enumerator_next_file() returns NULL, because in case of error we
are considering it as end of enumeration. We can simplify the
implementation and the caller code, by using the stdio API instead of
GIO, since we know we are dealing with local files anyway and we are
using the synchronous API.
|
|
|
|
|
| |
It is racy and it is unnecessary as we've replaced all its instances
with g_file_set_contents().
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Since this is also used for persistency of temporary directories, but
also for --profile.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
This reverts commit d1ba46b3f4a4e2afbffe5a0ab2543462caea0bbe.
Does not pass distcheck and I need to release.
|
|
Test API for file switch, tmp file creation, downloads, desktop
directories.
https://bugzilla.gnome.org/show_bug.cgi?id=673337
|