| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Adjust for WebKitGTK API changes:
https://github.com/WebKit/WebKit/pull/10855
P.S. I found two places that were *already* using the download
destination as if it were a path, even though it was a URI. Concerning.
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1295>
|
|
|
|
|
|
|
|
|
|
| |
These are hardly comprehensive, but they'll ensure the functions are not
totally broken and would have caught issue #1930.
Note that we don't seem to be handling IDN properly currently, so I've
left some comments about that.
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1245>
|
|
|
|
|
|
|
|
|
|
|
| |
As indicated in the HACKING.md, this layer is confusing and adds
annoying
indirection and round-trips between widgets in src/ and lib/widgets/
(ephy_location_entry_{set,get}_add_bookmark_popover() are such an
example). All other files that were in lib/widgets/ were moved elsewhere
in the previous commits.
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1208>
|
|
|
|
|
|
| |
Fixes #1892.
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1211>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Leave out a few things for now:
- Location entry suggestions don't scroll:
needs https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4476
- Previewing reader mode fonts in appearance settings
This is very hard to implement with the new API
- If the cursor is positioned where the suggestions popover
will appear, when it does so the hovered item will be
selected. That shouldn't happen.
|
|
|
|
| |
Meson complains the older versions are deprecated.
|
|
|
|
|
|
|
| |
This avoids whining from Meson, see:
https://github.com/mesonbuild/meson/issues/9300
and is surely a good idea in general.
|
|
|
|
|
|
|
|
|
|
|
|
| |
The KEEP_DIRECTORY flag is being misinterpreted as indication that
the profile directory should not be deleted. In fact, it controls
whether the Epiphany temporary directory is deleted. And that should
always be deleted, because leaving temp directories around is
unfriendly, so get rid of it altogether.
Fixes #1768
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1108>
|
|
|
|
|
|
|
|
|
|
|
| |
This makes use of the new dynamic launcher portal
(https://github.com/flatpak/xdg-desktop-portal/pull/696) to install and
uninstall web apps. This means we are able to support web apps now in
Flatpak'd Epiphany. Unfortunately it's hard to test though so for
now remove the unit tests.
Disable the app manager feature under Flatpak for now; a later commit
will re-enable it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds a D-Bus service that exposes the web apps managed by
Epiphany so that a client can enumerate them, install a new one, or
remove an installed one. The intended client is GNOME Software, since I
am soon going to add back a webapp plugin to Software which will make
use of this interface. This is part of a larger effort to improve the
support for Progressive Web Apps in GNOME (though Epiphany's web apps do
not support PWA manifest features).
The great thing about having this be a service exposed by Epiphany,
rather than having Software try to install Epiphany-compatible web apps
on its own as it used to do, is that the implementation of how to create
and manage the web apps can stay in Epiphany, and there can never be
disagreement between Epiphany and Software about the proper on-disk
format for them (e.g. the algorithm used for generating the app ID from
the name).
The goal for the PWA project is to support Flatpak'd Epiphany, whereas
currently only non-Flatpak Epiphany can do web apps. This will be
accomplished with new portals to allow installing and removing the
.desktop launchers. The Flatpak support requirement is reflected in the
design of the API here, specifically the install_token parameter for the
Install() method. This token is to be acquired by the client of the
D-Bus interface (Software) so that the installation can be achieved
without any additional user interaction since the user would've already
clicked "Install" in Software. Web app installation directly via
Flatpak'd Epiphany's UI would involve a dialog created by the portal;
this is because we don't want sandboxed applications in general to be
able to create desktop launchers without user interaction.
The Uninstall() method by contrast doesn't require such a token,
because the portal can ensure that only apps created by an application
are deleted by that application.
The GetInstalledApps() method is implemented by looking at the profile
directories of the apps, because we don't want to have to poke a sandbox
hole to allow access to the actual desktop files.
|
|
|
|
|
|
| |
These functions will go away in GTK4. Just use GMainLoop manually.
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1089>
|
|
|
|
|
|
| |
Fix the behavior difference between GTK3 and 4.
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1083>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1055>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit ports EphySearchEngineManager to being a proper GListModel,
with a separate EphySearchEngine object for each search engines. That makes
the code overall way cleaner and easier to work with, as there's no need
to keep track of the old_name and saved_name or whatever horrible thing
that I needed to do, since now we just need to keep around the EphySearchEngine
object we're displaying in this preferences row, and do changes on it directly.
That did require quite a few changes all around the code base to adapt to all
API changes, but it is definitely worth it.
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1055>
|
|
|
|
|
|
|
|
| |
Otherwise it's not possible to use `meson test --gdb` as gdb isn't
in the $build_root / 'src' folder, and Builder can't find bwrap when
running tests from the builtin sidebar.
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1055>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Snaps use the same portals as Flatpak, so we should detect whether we're
running as a Snap when deciding whether to use portals or disable
features that are impossible in these different but similar sandboxing
technologies.
This is mostly academic because the Snap of Epiphany appears to be
outdated, but it is more correct so let's do it.
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1041>
|
|
|
|
|
|
| |
It seems CI doesn't support it
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1028>
|
|
|
|
|
|
|
| |
Minimal solution, add fixed AdGuard youtube blocker.
Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/issues/1534
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1000>
|
| |
|
|
|
| |
This reverts commit 440fe3c55fb87aa5ad80b624984066c90e4a41a6
|
| |
|
|
|
|
| |
See gnome-build-meta#372
|
|
|
|
| |
Replace the aging GtkNotebook-based tabs with a new implementation.
|
| |
|
|
|
|
|
|
|
| |
This old, manual, and very non-comprehensive method of tracking
prevention doesn't make much sense to do now that we have far more
sophisticated anti-tracking measures in WebKit and enabled by default
that don't require listing ad-hoc query parameters to remove from URLs.
|
|
|
|
| |
Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/issues/1178
|
|
|
|
| |
Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/issues/1228
|
|
|
|
| |
Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/issues/829
|
|
|
|
|
| |
Update Readability.js to latest revision and move it to third_party with
an own README.epiphany.
|
|
|
|
| |
Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/378
|
|
|
|
| |
Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/212
|
|
|
|
|
|
|
| |
Hide bookmark star in location entry and preferences button in bookmark
popover.
Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/339
|
|
|
|
| |
This page no longer exists.
|
|
|
|
| |
Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/891
|
|
|
|
| |
Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/517
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
We'll need to suppress a few warnings, and fix some code that triggers
-Wsign-compare.
One -Wsign-compare is not fixed here because it's a real bug, to be
addressed separately.
We'll also manually add -Werror=format-security since this is amazingly
not included in -Wextra.
|
|
|
|
| |
Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/683
|
|
|
|
|
| |
Apparently I missed some bits here when purging g_assert() from our
testsuite earlier.
|
| |
|
|
|
|
|
|
| |
WebKit has more extensive tests for this (albeit tests that currently
only run on Apple platforms) and WebKit's implementation does not match
ours, so our tests don't work anymore.
|
|
|
|
|
| |
This could break anyone currently using -Dunit_tests=false, but probably
not many people choose that.
|
|
|
|
|
|
|
|
| |
Require opt-in to run network tests.
Our CI has network, so we'll run it there.
Fixes #684
|
| |
|
|
|
|
|
|
|
|
|
| |
None of this is needed, and it breaks when system schemas are not
installed.
We no longer have custom MIME permissions either.
Fixes #675
|
|
|
|
| |
This just more accurately reflects what it actually is.
|
|
|
|
|
| |
Otherwise we pollute /tmp with an ever-increasing number of leaked
profile dirs.
|
| |
|
|
|
|
| |
Clean up our test gsb db instead of leaving it under /tmp.
|