Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Layout: Constify box through layout_handle_box_sizing(). | Michael Drake | 2019-12-28 | 1 | -1/+1 |
| | |||||
* | layout: Add helpers for various box type checks. | Michael Drake | 2019-12-22 | 1 | -31/+55 |
| | |||||
* | layout: Add helper for checking if a style has a border on a side. | Michael Drake | 2019-12-22 | 1 | -2/+9 |
| | |||||
* | layout: Drop redundant else block. | Michael Drake | 2019-12-22 | 1 | -2/+0 |
| | |||||
* | CSS: Simplify css display to box type conversion. | Michael Drake | 2019-12-22 | 1 | -35/+37 |
| | |||||
* | re-order config include so strcasecmp is correctly detected on RISC OS/win32 | Vincent Sanders | 2019-12-22 | 1 | -1/+2 |
| | |||||
* | html_script: Count sync scripts to prevent unpausing early | Daniel Silverstone | 2019-12-19 | 1 | -2/+11 |
| | | | | | | | | | If there is more than one incomplete sync script then it's important that we don't unpause hubbub too early. This commit adds a counter so that if there're unfinished sync scripts in the set, we don't unpause until the last one completes. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML: box_consturction: cleanup name dom_string in box_object. | Michael Drake | 2019-12-10 | 1 | -0/+2 |
| | |||||
* | HTML redraw: Never draw box scrollbars for textareas. | Michael Drake | 2019-12-09 | 1 | -0/+1 |
| | | | | | | | The scrollbars for textareas are rendered by the widget. This stops us from putting broken scrollbars over the top of the textarea's own scrollbars. | ||||
* | html: css fetcher: Fix passing LWC borrow to fetcher_add, which consumes. | Michael Drake | 2019-12-02 | 1 | -1/+2 |
| | | | | | | | | | Fixes abort on exit when corestring finalisation tried to unref what should have been the final ref: $ ./nsgtk3 corrupted double-linked list Aborted (core dumped) | ||||
* | html: Fire DOM KeyboardEvents on keypresses. | Michael Drake | 2019-12-01 | 1 | -0/+36 |
| | |||||
* | html: Add function for issuing a keypress event. | Michael Drake | 2019-12-01 | 2 | -0/+85 |
| | |||||
* | html: Split out helper for firing DOM events and swallowing errors. | Michael Drake | 2019-12-01 | 1 | -4/+23 |
| | |||||
* | HTML: Rename fire_dom_event to fire_generic_dom_event. | Michael Drake | 2019-12-01 | 3 | -4/+4 |
| | |||||
* | html_saw_insecure_objects: Don't infinite loop on objects | Daniel Silverstone | 2019-12-01 | 1 | -0/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | html_css_fetcher: Use corestring_lwc_x_ns_css | Daniel Silverstone | 2019-12-01 | 1 | -8/+2 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Allow contents to indicate if they believe they may not be secure. | Daniel Silverstone | 2019-12-01 | 4 | -0/+79 |
| | | | | | | | | | | HTML contents reference many other objects. The browser window needs to know if any of them may not be secure, in which case it needs to report that in its page state. If other content types might refer to sub-contents, they will need to define the callback too. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | box_construct: Do not leak attributes in <embed> boxes | Daniel Silverstone | 2019-11-30 | 1 | -0/+5 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML redraw: Don't render scrollbars when the CSS doesn't permit it. | Michael Drake | 2019-11-30 | 1 | -3/+6 |
| | |||||
* | make unknown content drag assert have meanigful message | Vincent Sanders | 2019-11-29 | 1 | -1/+1 |
| | |||||
* | change mouse action drag handling to use a more efficient dispatch | Vincent Sanders | 2019-11-17 | 1 | -13/+16 |
| | |||||
* | move remaining mouse action drag handling into separate functions | Vincent Sanders | 2019-11-17 | 1 | -21/+60 |
| | |||||
* | move more select menu handling into mouse_action_select_menu() | Vincent Sanders | 2019-11-17 | 1 | -8/+7 |
| | |||||
* | make mouse track and mouse action content handlers return an error code | Vincent Sanders | 2019-11-12 | 1 | -4/+5 |
| | |||||
* | Remove redundant drag handling for content selection | Vincent Sanders | 2019-11-12 | 1 | -10/+0 |
| | | | | | | | This redundant code was added by: 4747bbbfb21d645f950149bbe173a2618cd3eba9 HTML drags now go via content msg. and then added again with: c2a718075ad321a9cf4678e72645acda5c3471a9 A load of refactoring of how content selection and input work. | ||||
* | split out html interaction header elements and rename source | Vincent Sanders | 2019-11-12 | 6 | -148/+278 |
| | |||||
* | Content: Remove redundant and unused redraw message fields. | Michael Drake | 2019-11-11 | 1 | -31/+16 |
| | | | | | | | | | | This was archaic support for rendering images as "overlays", and avoiding a redraw via the browser window redraw and HTML contents. Basically it was "plot this image here", but it was too error prone, so it was removed a long time ago. These are some last vestiges that made the redraw message look more complex than it is. | ||||
* | remove unecessary user warning | Vincent Sanders | 2019-11-10 | 1 | -8/+7 |
| | |||||
* | remove user warning and log error instead | Vincent Sanders | 2019-11-07 | 1 | -2/+3 |
| | |||||
* | fix keypress entry on text area | Vincent Sanders | 2019-11-07 | 1 | -22/+29 |
| | | | | accidentaly broken in commit fca421e2047a55f3cf575c92943c1116ec58da3c | ||||
* | 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> |