summaryrefslogtreecommitdiff
path: root/content/handlers/html/html.c
Commit message (Collapse)AuthorAgeFilesLines
* Avoid integer types with platform dependent sizeDeltaVonNeumann2023-06-171-2/+2
|
* HTML: CSS media spec: Pass in dark mode preference.Michael Drake2022-07-301-0/+20
|
* Switch to new libcss API for unit conversion.Michael Drake2021-05-301-13/+27
|
* make text selection context an opaque interfaceVincent Sanders2020-05-231-6/+8
|
* remove unecessary content handler specific selection creationVincent Sanders2020-05-231-1/+0
|
* remove unused is_html parameter to text selection routinesVincent Sanders2020-05-231-1/+1
|
* move content specific selection end to content handlersVincent Sanders2020-05-231-2/+3
|
* remove unused css length usage in selectionVincent Sanders2020-05-231-1/+1
|
* move content handler specific selection copying into handlersVincent Sanders2020-05-231-0/+1
|
* split selection redraw into content handler specific implementationsVincent Sanders2020-05-231-20/+2
|
* pass the browser window to selection click handlerVincent Sanders2020-05-201-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 agnosticVincent Sanders2020-05-121-0/+150
|
* hoist common text search out of content handlersVincent Sanders2020-05-121-8/+0
|
* move free text search general interface to content.Vincent Sanders2020-05-101-2/+2
| | | | | needs additional cleanup to call content through handler table to perform searches.
* improve content header usageVincent Sanders2020-05-071-0/+1
|
* split dom event handling into separate moduleVincent Sanders2020-05-051-727/+3
|
* Clean up html content dom element insertion processingVincent Sanders2020-05-051-87/+157
|
* improve html content handler private headersVincent Sanders2020-05-021-8/+5
|
* add missing includeVincent Sanders2020-05-011-1/+2
|
* remove unused available width and height parameters from html_fecth_object()Vincent Sanders2020-04-301-1/+1
|
* split html box processing codeVincent Sanders2020-04-291-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 cosmeticVincent Sanders2020-04-281-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_schemesVincent Sanders2020-04-171-1/+1
|
* html: Also close js thread on html_stop()Daniel Silverstone2020-03-291-0/+4
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* HTML: Use new js_closethread()Daniel Silverstone2020-03-221-1/+7
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* JS: Move ownership of jsthread from browser to htmlcDaniel Silverstone2020-03-221-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 threadDaniel Silverstone2020-03-211-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 aboutDaniel Silverstone2020-02-231-4/+4
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* HTML: Ignore LOADING status in html_proceed_to_done()Daniel Silverstone2020-02-211-1/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* HTML: Complete content state machine after async scriptDaniel Silverstone2020-02-211-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 Drake2019-12-011-0/+79
|
* html: Split out helper for firing DOM events and swallowing errors.Michael Drake2019-12-011-4/+23
|
* HTML: Rename fire_dom_event to fire_generic_dom_event.Michael Drake2019-12-011-2/+2
|
* html_saw_insecure_objects: Don't infinite loop on objectsDaniel Silverstone2019-12-011-0/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Allow contents to indicate if they believe they may not be secure.Daniel Silverstone2019-12-011-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 sourceVincent Sanders2019-11-121-0/+1
|
* remove user warning and log error insteadVincent Sanders2019-11-071-2/+3
|
* Box Conversion: Cancel conversion during html_destroyDaniel Silverstone2019-08-231-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 Drake2019-08-061-0/+1
|
* html_begin_conversion: If we pause in completing parse, try again later.Daniel Silverstone2019-08-051-0/+7
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* content: Rename content_broadcast_errorcode()Daniel Silverstone2019-08-051-25/+30
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* html: Mirror gadget values in and out of the DOMDaniel Silverstone2019-08-041-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 coordinatesVincent Sanders2019-08-041-18/+26
|
* change browser_window_get_features to use unscaled coordinatesVincent Sanders2019-08-031-4/+11
|
* make content close check the content status itselfVincent Sanders2019-07-101-2/+6
| | | | make content handler open and close return error status
* HTML: Viewport width/height in length context are fixed point.Michael Drake2019-06-291-2/+2
|
* html.c: Correct ordering for reformat timeDaniel Silverstone2019-06-051-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 Drake2019-05-071-4/+7
|
* HTML: Set up the CSS length measuring context in CSS pixels.Michael Drake2019-05-061-2/+2
|
* HTML: Before building the box tree, get viewport dimensions.Michael Drake2019-05-061-0/+21
|