Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make text selection context an opaque interface | Vincent Sanders | 2020-05-23 | 1 | -6/+8 |
| | |||||
* | remove unecessary content handler specific selection creation | Vincent Sanders | 2020-05-23 | 1 | -1/+0 |
| | |||||
* | remove unused is_html parameter to text selection routines | Vincent Sanders | 2020-05-23 | 1 | -1/+1 |
| | |||||
* | move content specific selection end to content handlers | Vincent Sanders | 2020-05-23 | 1 | -2/+3 |
| | |||||
* | remove unused css length usage in selection | Vincent Sanders | 2020-05-23 | 1 | -1/+1 |
| | |||||
* | move content handler specific selection copying into handlers | Vincent Sanders | 2020-05-23 | 1 | -0/+1 |
| | |||||
* | split selection redraw into content handler specific implementations | Vincent Sanders | 2020-05-23 | 1 | -20/+2 |
| | |||||
* | pass the browser window to selection click handler | Vincent Sanders | 2020-05-20 | 1 | -12/+0 |
| | | | | | | this means the content handlers do not have to provide a separate method to extract their browser window and it can simply be passed in. | ||||
* | make free text search content handler agnostic | Vincent Sanders | 2020-05-12 | 1 | -0/+150 |
| | |||||
* | hoist common text search out of content handlers | Vincent Sanders | 2020-05-12 | 1 | -8/+0 |
| | |||||
* | move free text search general interface to content. | Vincent Sanders | 2020-05-10 | 1 | -2/+2 |
| | | | | | needs additional cleanup to call content through handler table to perform searches. | ||||
* | improve content header usage | Vincent Sanders | 2020-05-07 | 1 | -0/+1 |
| | |||||
* | split dom event handling into separate module | Vincent Sanders | 2020-05-05 | 1 | -727/+3 |
| | |||||
* | Clean up html content dom element insertion processing | Vincent Sanders | 2020-05-05 | 1 | -87/+157 |
| | |||||
* | improve html content handler private headers | Vincent Sanders | 2020-05-02 | 1 | -8/+5 |
| | |||||
* | add missing include | Vincent Sanders | 2020-05-01 | 1 | -1/+2 |
| | |||||
* | remove unused available width and height parameters from html_fecth_object() | Vincent Sanders | 2020-04-30 | 1 | -1/+1 |
| | |||||
* | split html box processing code | Vincent Sanders | 2020-04-29 | 1 | -0/+1 |
| | | | | | | | reduce the module size of the html box handling code by splitting into smaller sections. No functional code change. | ||||
* | clean up html box, no functionality change just cosmetic | Vincent Sanders | 2020-04-28 | 1 | -1/+2 |
| | | | | | | split up the html box headers tidy up the documentation comments avoid forward declarations in normalisation implementation | ||||
* | Implement javascript scheme url script https://wiki.whatwg.org/wiki/URL_schemes | Vincent Sanders | 2020-04-17 | 1 | -1/+1 |
| | |||||
* | html: Also close js thread on html_stop() | Daniel Silverstone | 2020-03-29 | 1 | -0/+4 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML: Use new js_closethread() | Daniel Silverstone | 2020-03-22 | 1 | -1/+7 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | JS: Move ownership of jsthread from browser to htmlc | Daniel Silverstone | 2020-03-22 | 1 | -12/+8 |
| | | | | | | | | Since it makes more sense for the htmlc to be responsible for when the JS thread gets destroyed, move its lifetime from the responsibility of the browser window to the html content. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | JS: Split concept of JS context into heap and thread | Daniel Silverstone | 2020-03-21 | 1 | -11/+11 |
| | | | | | | | | | In preparation for proper splitting of Javascript support into heaps and threads, this renames the types and corrects the no-js builds to still work. At this time no substantive change in semantics exists, and the duktape build won't work. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML: Ignore dom exceptions we don't care about | Daniel Silverstone | 2020-02-23 | 1 | -4/+4 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML: Ignore LOADING status in html_proceed_to_done() | Daniel Silverstone | 2020-02-21 | 1 | -1/+3 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML: Complete content state machine after async script | Daniel Silverstone | 2020-02-21 | 1 | -3/+21 |
| | | | | | | | | | The async script completion process needs to complete the content state machine so that browser throbbers eventually stop once async scripts have fetched and run, even if that happens *after* conversion finishes. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | html: Add function for issuing a keypress event. | Michael Drake | 2019-12-01 | 1 | -0/+79 |
| | |||||
* | 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 | 1 | -2/+2 |
| | |||||
* | 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> | ||||
* | Allow contents to indicate if they believe they may not be secure. | Daniel Silverstone | 2019-12-01 | 1 | -0/+29 |
| | | | | | | | | | | 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> | ||||
* | split out html interaction header elements and rename source | Vincent Sanders | 2019-11-12 | 1 | -0/+1 |
| | |||||
* | remove user warning and log error instead | Vincent Sanders | 2019-11-07 | 1 | -2/+3 |
| | |||||
* | Box Conversion: Cancel conversion during html_destroy | Daniel Silverstone | 2019-08-23 | 1 | -1/+10 |
| | | | | | | | | 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 | 1 | -0/+1 |
| | |||||
* | 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> | ||||
* | content: Rename content_broadcast_errorcode() | Daniel Silverstone | 2019-08-05 | 1 | -25/+30 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | html: Mirror gadget values in and out of the DOM | Daniel Silverstone | 2019-08-04 | 1 | -0/+20 |
| | | | | | | | | | 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_get_features to use unscaled coordinates | Vincent Sanders | 2019-08-03 | 1 | -4/+11 |
| | |||||
* | 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: 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: Before building the box tree, get viewport dimensions. | Michael Drake | 2019-05-06 | 1 | -0/+21 |
| | |||||
* | 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 | 1 | -3/+3 |
| | | | | | 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> |