~gnome3-team/epiphany-browser/+git/master:gnome-3-18

Last commit made on 2017-09-05
Get this branch:
git clone -b gnome-3-18 https://git.launchpad.net/~gnome3-team/epiphany-browser/+git/master

Branch merges

Branch information

Name:
gnome-3-18
Repository:
lp:~gnome3-team/epiphany-browser/+git/master

Recent commits

e133aba... by Michael Catanzaro <email address hidden>

Prepare 3.18.12

d10fc2b... by Michael Catanzaro <email address hidden>

Disable tests

They're all broken due to changes in WebKit, not in Epiphany.

fdd49cd... by Michael Catanzaro <email address hidden>

Adblocker must not block main resource during redirects

https://bugzilla.gnome.org/show_bug.cgi?id=787011

3e38ef2... by Michael Catanzaro <email address hidden>

window: Pass address from embed to security popover

It's wrong to try to use the address from the title widget here, because
the user could edit it to say whatever he wants, and it will crash if
there is no text in the location entry. Instead, get the address from
the web view.

https://bugzilla.gnome.org/show_bug.cgi?id=785338

003380d... by Christian Hergert <email address hidden>

web-extension: fix NULL or empty string check

We need to compare against the character, not the pointer which
is done immediately to the left of this comparison.

9114b58... by Michael Catanzaro <email address hidden>

Fix EphyHistoryService

Accidentally deleted initialization of priv when backporting
aaf8763d6615185faebde926ce7084437489f344

https://bugzilla.gnome.org/show_bug.cgi?id=787316

d1f9edf... by Michael Catanzaro

embed: avoid memory corruption when clearing top widgets

Don't call remove_from_destroy_list_cb, which modifies the destroy list,
when already iterating through the list.

https://bugzilla.gnome.org/show_bug.cgi?id=779180

5b9596c... by Michael Catanzaro

history-service: Fix write to database in read-only mode

Now that SQLite enforces read-only mode for us, bugs like this will be
uncovered....

https://bugzilla.gnome.org/show_bug.cgi?id=778649

aaf8763... by Michael Catanzaro

history-service: Fix multiple initialization race conditions

This started out as a project to fix the read-only service test I just
added. Initializing two history service objects in a row was racy,
because I needed the first history service to be initialized before
creating the second one, but there was no way to ensure that. This was
only an issue for this one test, though; real Epiphany browser mode of
course only creates one history service, so I assumed it was not a big
problem.

Fix this first issue using a condition variable to ensure the GObject
initialization doesn't complete until after the history service has
actually created the SQLite database.

In doing this, I discovered a second bug. The use of the condition
variable altered the timing slightly, and caused the history filename
property to not be set in time when entering the history service thread.
In fact, it's kind of amazing that the history service ever worked at
all, because there is absolutely nothing here to guarantee that the
filename and read-only properties have been initialized prior to
starting the history service thread. So the database filename could be
NULL when opening the database, which is a great way to lose all your
history. Also, it could also be in read-only mode here even if it is
supposed to be read/write mode, which is going to cause failures after
today's commits. Fix this by adding a constructed function and starting
the history thread from there, instead of doing it in init. This means
that the history thread will not be started until after properties have
been set. Note that, while I could not reproduce this bug on my machine
until after adding the condition variable to fix the first bug, that was
just due to timing and luck; it was already broken before.

https://bugzilla.gnome.org/show_bug.cgi?id=778649

1c66d44... by Michael Catanzaro

history-service: Fix leak when clearing all history

Closing the connection is great, but not enough. We're leaking our
wrapper object.

https://bugzilla.gnome.org/show_bug.cgi?id=778649