Commit Graph

13514 Commits

Author SHA1 Message Date
Chris Young
7c9066b49f No reason why RISC OS ,type extensions should end up in the Amiga resources any more 2019-03-17 23:59:55 +00:00
Chris Young
d0a9fc3e35 Fix IORequest duplication and ensure library bases are cleared when closed. 2019-03-17 23:43:47 +00:00
Chris Young
7d402ebc46 Reduce compression level for compatibility with Amiga LhA 2.15 2019-03-15 23:18:43 +00:00
Chris Young
446fd392e8 Ensure the message port has been initialised 2019-03-15 18:19:10 +00:00
Michael Forney
6455a2ea83 SVG content handler: Fix plot style stroke_width
In 8332bf6b2a, when the stroke width was moved from a parameter to
the plot style field, it accidentally used the `stroke` field of
the svgtiny shape (the color) instead of `stroke_width`.

Signed-off-by: Michael Drake <michael.drake@codethink.co.uk>
2019-03-05 11:17:07 +00:00
Vincent Sanders
826474a1a3 use memcpy instead of strcpy to make the dom string copy intention explicit 2019-03-04 17:32:41 +00:00
Chris Young
13a7004e6b Fix URL + FORCE issue #2635 2019-03-02 23:30:38 +00:00
Vincent Sanders
61891ada50 validate the form button element type attribute as per spec
https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-type
says if the type attribute is anything but "reset" or "button" it
 is of "submit" type. The previous logic was incorrect and only used
 the button if its type was explicitly submit and noting else.
2019-02-22 21:11:34 +00:00
Vincent Sanders
f367b23d72 free language vector in framebuffer resource setup 2019-02-21 12:11:55 +00:00
Vincent Sanders
00ce87551c Fixup copyright year 2019-02-19 22:10:43 +00:00
Vincent Sanders
070c74b648 add webp image handler 2019-02-17 12:09:17 +00:00
Vincent Sanders
6185b254ca improve some comments 2019-02-17 12:08:23 +00:00
Vincent Sanders
09bbb4571b tidy up bmp and ico makefile entries to be one per line 2019-02-17 12:07:06 +00:00
Daniel Silverstone
e2d5ef5ebe MAKEFILE: Update pkg_config_find_and_add_enabled for default CFLAGS
Since 90% of the time we can pre-calculate the CFLAGS for a
pkg-config enabled feature, let's do just that to ensure fewer
confusion moments as we add new pkg-config libraries.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-02-17 11:50:52 +00:00
Daniel Silverstone
d4d57bc0ed DUKKY: Remove LOG/JS_LOG macros, update to dukky category
Update the logging levels, change to NSLOG across the board,
and ensure that we use the `dukky` category now added for us.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-02-17 11:33:37 +00:00
Daniel Silverstone
41eed8eeaf Use NSLOG rather than LOG/JS_LOG
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-02-17 11:33:28 +00:00
Daniel Silverstone
f64da1abda LOG: Add a dukky logging category
For better logging separation, add a dukky logging category

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-02-17 11:32:48 +00:00
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