Commit Graph

13497 Commits

Author SHA1 Message Date
Michael Drake
e1a3e0427f HTML handler: Reformat passing viewport height when triggered by object.
Previously we correctly used the viewport width, but we were using the
document height instead of viewport height when an HTML child content
triggered a reformat of the parent HTML document.
2019-02-17 09:06:58 +00:00
Michael Drake
07242c7415 Content: Make the content structure aware of viewport height.
It was always aware of viewport width, but since adding support for
vh CSS units, the HTML content handler also needs viewport height.

Signed-off-by: Michael Drake <michael.drake@codethink.co.uk>
2019-02-17 09:06:58 +00:00
Michael Drake
776b0242a6 Layout: Add debug logging to show viewport dimensions passed into layout.
Signed-off-by: Michael Drake <michael.drake@codethink.co.uk>
2019-02-17 09:06:58 +00:00
Vincent Sanders
54371c28f0 make framebuffer use the language environment for the UI resources 2019-02-17 00:11:27 +00:00
Michael Drake
cfb6c461fc monkey: Add bmp and ico to mime_hash. 2019-02-16 16:08:17 +00:00
Daniel Silverstone
e4457f6179 Mention about testing monkey 2019-02-16 15:50:56 +00:00
Michael Drake
883b202c58 monkey driver: Print the bitmap plot-check. 2019-02-16 15:40:47 +00:00
Daniel Silverstone
5bda316fb3 Add missing call to run_test_plan 2019-02-16 15:34:22 +00:00
Michael Drake
d4b3889227 Automated testing output: Show description differently from test lines. 2019-02-16 15:21:42 +00:00
Daniel Silverstone
ceefe45205 Enable running of the tests from test.netsurf-browser.org 2019-02-16 14:57:17 +00:00
Michael Drake
1698a75282 monkey test: Rename file with an '=' character. 2019-02-16 13:25:16 +00:00
Daniel Silverstone
f33db7d442 Monkey: Support 401login in the monkey-driver et al.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-02-16 10:58:17 +00:00
Daniel Silverstone
b25c7b3d2d Add plot commands output for auth test 2019-02-16 10:23:17 +00:00
Daniel Silverstone
2e50e1ea71 Fix text plotter in monkey 2019-02-16 10:21:06 +00:00
Vincent Sanders
9952ef000c fix case of framebuffer message install 2019-02-16 09:29:18 +00:00
Daniel Silverstone
29ce303eb0 Framebuffer: Add symlink to build messages resource
Since framebuffer lacks the language directories in its resources
currently, we need a symbolic link to the en/Messages built in
the top level resources directory in order that nsfb can run
without the Messages file having been installed previously.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-02-15 21:08:35 +00:00
Vincent Sanders
231f026e6a Improve framebuffer install rule 2019-02-15 17:53:31 +00:00
Anthony J. Bentley
d1fa6a8ee1 fix feature flags for openbsd 2019-02-15 16:31:06 +00:00
Michael Drake
9501c9e68d Treeview: Consider search bar for redraw area calculation. 2019-01-19 15:12:03 +00:00
Michael Drake
83798a83b7 Treeview: Use helper to get tree height. 2019-01-19 15:11:35 +00:00
Michael Drake
c6f92f2f2a Treeview: Consolidate search bar height calculation. 2019-01-19 14:54:57 +00:00
Vincent Sanders
413929dad5 Use pkg-config for freetype2 if available else fallback to old script 2018-12-18 11:42:43 +00:00
Michael Drake
0a3a40c23e Box construction: Don't handle IMAGE specially. 2018-12-13 12:31:38 +00:00
Michael Drake
3d12bfe595 Message: Fix french translation.
Thanks to rico542.
2018-11-22 09:39:40 +00:00
Chris Young
7d1e8a75fb single precision test 2018-11-21 18:41:43 +00:00
Vincent Sanders
05ac430305 ensure filename numeric is not truncated and hence cause output buffer overflow 2018-11-06 21:59:50 +00:00
Vincent Sanders
7264ff6f4d ensure url buffer is sufficient to not truncate output 2018-11-06 21:58:53 +00:00
Vincent Sanders
3fd6f04e52 ensure output buffer is large enough to not be truncated 2018-11-06 21:57:23 +00:00
Vincent Sanders
0bd66d4d04 fix helper script apt packaging to work with buster 2018-11-06 21:55:20 +00:00
Vincent Sanders
5b235b5195 fix logging level in duktape binding 2018-11-06 21:54:03 +00:00
Vincent Sanders
d5d1634675 fix gcc version parameter ordering for gcc 8 2018-11-06 21:52:53 +00:00
Michael Drake
c1e1df42e2 Test: Fix simultanious-fetches.yaml to not look like a YAML alias. 2018-11-04 14:46:46 +00:00
Michael Drake
9a90babfa1 Test: Monkey driver: Fix blocking for *all* windows. 2018-11-04 14:45:46 +00:00
Michael Drake
d676c7e5b6 Test: Monkey driver: Implement sleep-ms and repeat actions. 2018-11-04 14:34:31 +00:00
Michael Drake
eb87192ddc Test: Monkey driver: Split out conds_met function. 2018-11-04 13:13:23 +00:00
Michael Drake
e12e50efaa Test: Monkey driver: Timers can live outside launches. 2018-11-04 13:10:27 +00:00
Vincent Sanders
a2ffbdfd1c add certificate window handling 2018-11-04 11:20:40 +00:00
Michael Drake
3ea6fadac2 Test: Monkey driver: Improve navigate step logging. 2018-11-04 11:07:36 +00:00
Michael Drake
54be19e6c8 Test: Monkey driver: Add support for timer actions. 2018-11-04 10:57:57 +00:00
Daniel Silverstone
46b6b7c9b4 Final tweaks, support LOGIN in monkeyfarmer 2018-11-04 10:35:22 +00:00
Daniel Silverstone
fa8dfa28d1 Update monkey 401login a little to be easier to work with 2018-11-04 10:11:13 +00:00
Daniel Silverstone
44082f9988 Slightly nicer handling of js_exec() and errors 2018-11-04 09:56:41 +00:00
Vincent Sanders
f12dee199c add 401 login handling to monkey frontend 2018-11-03 17:33:42 +00:00
Michael Drake
97cbc18021 Monkey: Buildsystem: Set messages directory. 2018-11-03 17:30:49 +00:00
Daniel Silverstone
b34a52e4b9 More monkey stuff 2018-11-03 17:14:43 +00:00
Daniel Silverstone
94bba97a45 Remove redundant redraw method 2018-11-03 16:51:01 +00:00
Michael Drake
7cc1f1bfc0 Monkey tests: Add more example test plans. 2018-11-03 16:49:58 +00:00
Michael Drake
90e4976800 Monkey driver: Initial loader for monkey test plans. 2018-11-03 16:35:22 +00:00
Daniel Silverstone
6fcb0d498f Update farmer a little ready for later 2018-11-03 15:28:23 +00:00
Daniel Silverstone
77814588a8 Correct wrong MOUT_ERROR to MOUT_WINDOW 2018-11-03 15:27:58 +00:00