gnome-recipes:wip/20

Last commit made on 2017-07-14
Get this branch:
git clone -b wip/20 https://git.launchpad.net/gnome-recipes

Branch merges

Branch information

Name:
wip/20
Repository:
lp:gnome-recipes

Recent commits

3e9e9ed... by Matthias Clasen <email address hidden>

Add a special welcome dialog

Wrap the present.

43fb552... by Matthias Clasen <email address hidden>

Link tests against librecipes

This is much cleaner than the include hack we used before.

ce54db6... by Matthias Clasen <email address hidden>

Build some sources as a static library

This will let us just link the tests with this library,
instead of the include hack we do now.

ade1041... by Matthias Clasen <email address hidden>

Add more number test cases

This covers all the fractions that we allow as rational approximations.

07f80cd... by Matthias Clasen <email address hidden>

Redo rational approximation again

Instead of the elegant code that uses continued fractions,
use a stupid table of candidates. This produces slightly
nicer results, since it allows us to restrict the results
to 'nice' denominators, and not just denominators of a
certain size. This gets rid of 'weird' fractions like
1/7 or 1/9 or 1/13.

Update the expected results for the number tests to
reflect the approximations generated by this code.

7f37375... by Matthias Clasen <email address hidden>

Add better formatting to the number test

Produce an actual diff if there are any failures.
To see this output, run the test like this:

G_TEST_SRCDIR=tests/ ./build/tests/number --verbose

ec34f9e... by Matthias Clasen <email address hidden>

Revert "Write exported files to TMPDIR again"

This reverts commit 53428b6b6dc42f7a19331f20fab9204045c1e115.

With the current email portal API, we fail to attach files if
the path inside the sandbox is different from the path outside,
as is the case for TMPDIR. This will be fixed when we can rely
on the version 2 of the email portal API.

871f241... by Matthias Clasen <email address hidden>

Partially revert "Move appdata screenshots to web hosting"

This reverts the image removals in
commit 78585fdafc97ceb7da1530658bf8458677612a73.

It was a bit rash to remove these, since there is appdata
out there referring to these images in git. Keep them around
for now.

6109e5e... by Marek Cernocky <email address hidden>

Updated Czech translation

f7cacc6... by Matthias Clasen <email address hidden>

details: Don't scale when initially populating

The amounts in the ingredients list are to match the
nominal yield of the recipe. So when we initially populate
the ingredients list, no scaling should happen.

Bug reported by Sylvia Sanchez.