Daniel Silverstone
9318ee5d6a
html_begin_conversion: If we pause in completing parse, try again later.
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-05 21:29:18 +01:00
Daniel Silverstone
2be3ebd918
content: Rename content_broadcast_errorcode()
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-05 15:25:15 +01:00
Daniel Silverstone
05c6ee02d9
html: Mirror gadget values in and out of the DOM
...
Currently only supporting text input, password input, and hidden
input, along with text areas, this mirrors the text values in
and out of the DOM, allowing JS to adjust the gadget values and
for the gadget values to be interrogated from JS.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-04 22:07:42 +01:00
Vincent Sanders
3be2b98cc2
change browser_window_drop_file_at_point() to take unscaled coordinates
2019-08-04 14:24:33 +01:00
Vincent Sanders
d4c01894c2
change browser_window_get_features to use unscaled coordinates
2019-08-03 14:29:06 +01:00
Vincent Sanders
c2fa6af0ff
make content close check the content status itself
...
make content handler open and close return error status
2019-07-10 16:42:52 +01:00
Michael Drake
1c3ce67c62
HTML: Viewport width/height in length context are fixed point.
2019-06-29 21:59:15 +01:00
Daniel Silverstone
64ee8e1b00
html.c: Correct ordering for reformat time
...
Fix a minor bug where we'd likely never end up reformatting.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-06-05 22:59:49 +01:00
Michael Drake
b330fd9f0e
HTML: Update selection media data for new libcss API.
2019-05-07 14:01:51 +01:00
Michael Drake
51feeadcf9
HTML: Set up the CSS length measuring context in CSS pixels.
2019-05-06 21:30:05 +01:00
Michael Drake
0db71994ea
HTML: Before building the box tree, get viewport dimensions.
2019-05-06 15:38:33 +01:00
Daniel Silverstone
52ef77ceef
Do not prevent reattempting conversion of HTML contents
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-06 15:10:01 +01:00
Vincent Sanders
35bc2ccbb8
change content get_source_data interfaces to return uint8_t and size_t
...
previously these interfaces returned char * and unsigned int which was
undesirable.
2019-05-05 22:50:25 +01:00
Daniel Silverstone
8474c5d4c0
Logging: migrate and provide content interface
...
Migrate the console enums into netsurf/console.h and add
support so that contents can raise a message to log to
the console.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-05 22:17:10 +01:00
Daniel Silverstone
3021142aad
Support content_exec for content_html
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-05 16:00:03 +01:00
Michael Drake
920d6fa23d
CSS: Update for change to libcss select style API.
...
LibCSS now takes the client media spec, rather than just the
media type we're selecting for.
Signed-off-by: Michael Drake <michael.drake@codethink.co.uk>
2019-05-04 14:51:42 +01:00
Daniel Silverstone
19b45fb494
Support script insertion after conversion has begun
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-04 12:18:21 +01:00
Michael Drake
9d8f37ca10
HTML: Don't try to finish an HTML document's conversion twice.
2018-08-27 20:47:37 +01:00
Vincent Sanders
216fb88f58
clean up html content handler header use
...
Improve header use in preperation for making browser window a corewindow
2018-05-11 13:18:54 +01:00
Vincent Sanders
2a03ea3049
move html and text content handlers where they belong
2018-05-10 13:37:02 +01:00