Age | Commit message (Collapse) | Author |
|
|
|
Limit the push events to the master branch, otherwise they will be
running twice on every feature branch and PR.
|
|
Homebrew has updated the default version of FLTK to 1.4, which is
causing rendering issues in Dillo. So for now, we build with FLTK 1.3 by
pinning it.
See: https://github.com/Homebrew/homebrew-core/pull/198029
See: https://github.com/dillo-browser/dillo/issues/246
|
|
|
|
Reviewed-by: dogma
|
|
The useful space to store files inside a floppy is less than the
capacity of the floppy itself:
% mkfs.msdos -C floppy.img 1440
mkfs.fat 4.2 (2021-01-31)
% stat -c %s floppy.img
1474560
% mkdir floppy
% sudo mount -o loop,uid=$USER floppy.img floppy
% dd if=/dev/zero bs=1 count=100M of=floppy/test
dd: error writing 'floppy/test': No space left on device
1457665+0 records in
1457664+0 records out
1457664 bytes (1,5 MB, 1,4 MiB) copied, 0,912079 s, 1,6 MB/s
% echo $((1474560 - 1457664))
16896
It needs a bit more than 16K to store the FAT table, so round it to 32K
to allow some clearance for changes in FAT header size.
% echo $((1474560 - 32*1024))
1441792
|
|
For now we check gzip as it is widely available and has a medium
compression ratio.
Fixes: https://github.com/dillo-browser/dillo/issues/208
|
|
For now we depend on some features of GNU, but should be doable to make
it strict ISO C99 compliant.
|
|
As we are now copying the contents of the render/ and manual/
directories under test/html, any remaining files from a previous build
will be included. To prevent errors from a previous `make check`
command, we make the check and distcheck in different build directories.
|
|
Ensure the tarball can run the HTML when the configure flag
--enable-html-tests is set.
|
|
|
|
Implement an option to force all http urls to be upgraded to HTTPS,
similar to HTTPS-Only Mode in Firefox.
A http_force_https preference variable is provided as well as a menu
bar item to toggle this mode.
See: https://support.mozilla.org/en-US/kb/https-only-prefs
|
|
|
|
Prevents wasting resources when failed HTML tests are found.
|
|
These tests render a HTML page in Dillo and save a screenshot which is
compared with another one rendered by a reference HTML file which
doesn't make use of the feature under test.
Running these tests require some additional dependencies to run a Xorg
server and capture screenshots of the browser, so they are only enabled
when configured with the --enable-html-tests option.
Additionally, running Dillo and opening local files requires a working
file dpi plugin. So, when running the HTML tests it is required that a
working dpid server can be launched by Dillo. To do so, Dillo can be
first installed to a prefix directory, the dpidrc file copied to
~/.dillo/ and then the DILLOBIN variable set to the path of the dillo
binary under test.
|
|
The distcheck target is not enabled for now, as it would require passing
the CPPFLAGS and LDFLAGS, but we already check it in other builds.
|
|
|
|
|
|
In Ubuntu 20.04 the libssl-dev package includes the version 1.1.1f as
reported by: https://packages.ubuntu.com/focal/libssl-dev
|
|
|
|
For now we only do a build and distcheck. The check target is also run
but there are no checks yet.
|