Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | remove user warning and fix up error handling in form select menus | Vincent Sanders | 2019-11-07 | 3 | -28/+36 | |
| | ||||||
* | remove unecessary user warning | Vincent Sanders | 2019-11-06 | 2 | -3/+1 | |
| | ||||||
* | remove user warning and propogate error return | Vincent Sanders | 2019-11-06 | 3 | -37/+37 | |
| | ||||||
* | remove unecessary user warning calls and improve error propogation in html box | Vincent Sanders | 2019-11-05 | 3 | -46/+63 | |
| | ||||||
* | fix utils configuration header ordering | Vincent Sanders | 2019-10-11 | 1 | -1/+1 | |
| | ||||||
* | fix core find in page behaviour when case sensitivity is toggled | Vincent Sanders | 2019-09-21 | 3 | -61/+68 | |
| | ||||||
* | make the gtk_search structure private to teh gtk search object | Vincent Sanders | 2019-09-21 | 1 | -2/+2 | |
| | ||||||
* | Box Conversion: Cancel conversion during html_destroy | Daniel Silverstone | 2019-08-23 | 4 | -3/+38 | |
| | | | | | | | | If dom_to_box is still in progress when we destroy an HTML content, we need to cancel the conversion otherwise we will end up with a scheduled callback into infinity. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | HTML: Don't allow objects to redraw until we have a layout. | Michael Drake | 2019-08-06 | 3 | -0/+12 | |
| | ||||||
* | html_begin_conversion: If we pause in completing parse, try again later. | Daniel Silverstone | 2019-08-05 | 1 | -0/+7 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | HTML: Box coordinates: Take fast route to float container. | Michael Drake | 2019-08-05 | 1 | -4/+4 | |
| | | | | And assert that floats have a float_container. | |||||
* | Excise the llcache query pathway. | Daniel Silverstone | 2019-08-05 | 3 | -50/+0 | |
| | | | | | | | | In further preparation for the auth and cert queries being handled as special contents from `about:` this excises the query pathway from the llcache pretty much entirely. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | content: Rename content_broadcast_errorcode() | Daniel Silverstone | 2019-08-05 | 3 | -31/+36 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Content messages: Remove ERRORCODE, rework ERROR | Daniel Silverstone | 2019-08-05 | 3 | -18/+6 | |
| | | | | | | | This reworks CONTENT_MSG_ERROR to be structured data and removes the CONTENT_MSG_ERRORCODE message kind. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | enable gnu extensions to get strcasestr from string.h | Vincent Sanders | 2019-08-05 | 1 | -0/+2 | |
| | ||||||
* | form: Fix situation where a gadget initialises with NULL value | Daniel Silverstone | 2019-08-04 | 1 | -2/+6 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | html: Mirror gadget values in and out of the DOM | Daniel Silverstone | 2019-08-04 | 6 | -1/+169 | |
| | | | | | | | | | 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> | |||||
* | change browser_window_drop_file_at_point() to take unscaled coordinates | Vincent Sanders | 2019-08-04 | 1 | -18/+26 | |
| | ||||||
* | change browser_window_redraw to use unscaled coordinates | Vincent Sanders | 2019-08-04 | 1 | -2/+2 | |
| | ||||||
* | Add content handlers for queries | Daniel Silverstone | 2019-08-04 | 3 | -0/+50 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | remove unnecessary browser_window_redraw_rect interface | Vincent Sanders | 2019-08-03 | 1 | -2/+4 | |
| | ||||||
* | change browser_window_get_features to use unscaled coordinates | Vincent Sanders | 2019-08-03 | 1 | -4/+11 | |
| | ||||||
* | change browser_window_mouse_track to use unscaled coordinates | Vincent Sanders | 2019-08-03 | 1 | -3/+2 | |
| | ||||||
* | change browser_window_mouse_click to use unscaled coordinates | Vincent Sanders | 2019-08-03 | 1 | -5/+5 | |
| | | | | | this means frontends no longer need to scale mouse click events thus simplifying their implementation. | |||||
* | box_construct: Check error return from dom_has_attribute | Daniel Silverstone | 2019-08-03 | 1 | -3/+11 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | html_interaction.c: Default node to <HTML> node | Daniel Silverstone | 2019-08-01 | 1 | -1/+1 | |
| | | | | | | | | | | | In order to cope when an entire document is `visibility: hidden` we default to the <HTML> node when interacting with the document to ensure we don't drop off the end of the box model without identifying at least one node to fire events at. This resolves #2658 Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Layout: Apply min/max width to replaced elements when width is given. | Michael Drake | 2019-07-30 | 1 | -0/+5 | |
| | ||||||
* | make content close check the content status itself | Vincent Sanders | 2019-07-10 | 1 | -2/+6 | |
| | | | | make content handler open and close return error status | |||||
* | HTML: Viewport width/height in length context are fixed point. | Michael Drake | 2019-06-29 | 1 | -2/+2 | |
| | ||||||
* | html.c: Correct ordering for reformat time | Daniel Silverstone | 2019-06-05 | 1 | -1/+1 | |
| | | | | | | Fix a minor bug where we'd likely never end up reformatting. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | html_script.c: html_script_exec() reqacquire script ptr | Daniel Silverstone | 2019-06-01 | 1 | -0/+5 | |
| | | | | | | | | | Since executing a script can cause more scripts to be appended to the script array, and that can cause a reallocation which might move the script array, reacquire the script pointer after running the script so that we don't wander off into the reeds. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | HTML: Update selection media data for new libcss API. | Michael Drake | 2019-05-07 | 1 | -4/+7 | |
| | ||||||
* | HTML: Set up the CSS length measuring context in CSS pixels. | Michael Drake | 2019-05-06 | 1 | -2/+2 | |
| | ||||||
* | HTML: Squash error-path leaks in select box construction. | Michael Drake | 2019-05-06 | 1 | -0/+2 | |
| | ||||||
* | HTML: Before building the box tree, get viewport dimensions. | Michael Drake | 2019-05-06 | 1 | -0/+21 | |
| | ||||||
* | HTML content handler: Handle content msg for getdims. | Michael Drake | 2019-05-06 | 1 | -0/+7 | |
| | ||||||
* | Do not prevent reattempting conversion of HTML contents | Daniel Silverstone | 2019-05-06 | 1 | -8/+0 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | change content get_source_data interfaces to return uint8_t and size_t | Vincent Sanders | 2019-05-05 | 2 | -9/+9 | |
| | | | | | previously these interfaces returned char * and unsigned int which was undesirable. | |||||
* | Logging: migrate and provide content interface | Daniel Silverstone | 2019-05-05 | 1 | -1/+1 | |
| | | | | | | | | 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> | |||||
* | Support content_exec for content_html | Daniel Silverstone | 2019-05-05 | 1 | -0/+85 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | change back to unsigned long to avoid warning on gnueabihf platforms | Vincent Sanders | 2019-05-04 | 1 | -1/+1 | |
| | ||||||
* | JS: Attribute external JS to the URI it came from in backtraces | Daniel Silverstone | 2019-05-04 | 1 | -5/+8 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Clean up async/defer JS contents during parent finalisation | Daniel Silverstone | 2019-05-04 | 1 | -10/+15 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | CSS: Update for change to libcss append sheet API. | Michael Drake | 2019-05-04 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | When appending stylesheets to the selection context, it now takes the media query string associated with the sheet, rather than the type bitfield. TODO: We need to pass all the sheets in, with their full media query string, rather than filtering it ourselves and setting the ones we pass in to "screen". Signed-off-by: Michael Drake <michael.drake@codethink.co.uk> | |||||
* | CSS: Update for change to libcss select style API. | Michael Drake | 2019-05-04 | 3 | -1/+4 | |
| | | | | | | | 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> | |||||
* | Support script insertion after conversion has begun | Daniel Silverstone | 2019-05-04 | 3 | -13/+135 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | use memcpy instead of strcpy to make the dom string copy intention explicit | Vincent Sanders | 2019-03-04 | 1 | -4/+4 | |
| | ||||||
* | validate the form button element type attribute as per spec | Vincent Sanders | 2019-02-22 | 1 | -4/+16 | |
| | | | | | | | 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. | |||||
* | HTML handler: Reformat passing viewport height when triggered by object. | Michael Drake | 2019-02-17 | 1 | -3/+3 | |
| | | | | | | 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. | |||||
* | Layout: Add debug logging to show viewport dimensions passed into layout. | Michael Drake | 2019-02-17 | 1 | -0/+4 | |
| | | | | Signed-off-by: Michael Drake <michael.drake@codethink.co.uk> |