summaryrefslogtreecommitdiff
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* fetch_curl_verify_callback: Do depth update after checkDaniel Silverstone2019-12-031-5/+5
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* html: css fetcher: Fix passing LWC borrow to fetcher_add, which consumes.Michael Drake2019-12-021-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 Drake2019-12-011-0/+36
|
* dukky_push_event: Enable KeyboardEvent specialisation.Michael Drake2019-12-011-1/+31
|
* JavaScript: Add KeyboardEvent bindings.Michael Drake2019-12-012-1/+143
|
* html: Add function for issuing a keypress event.Michael Drake2019-12-012-0/+85
|
* 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-013-4/+4
|
* Add missing unrefsDaniel Silverstone2019-12-011-0/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* html_saw_insecure_objects: Don't infinite loop on objectsDaniel Silverstone2019-12-011-0/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* html_css_fetcher: Use corestring_lwc_x_ns_cssDaniel Silverstone2019-12-011-8/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* content_saw_insecure_objects: Fix various corner casesDaniel Silverstone2019-12-011-3/+12
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add missing includeDaniel 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-017-0/+137
| | | | | | | | | | 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> boxesDaniel Silverstone2019-11-301-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 Drake2019-11-301-3/+6
|
* llcache: Reload SSL certificate data from serialised storeDaniel Silverstone2019-11-301-0/+130
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* llcache: Persist SSL certificate dataDaniel Silverstone2019-11-301-0/+117
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* llcache: Support storing SSL certificate dataDaniel Silverstone2019-11-301-3/+68
| | | | | | | In order to support persisting SSL data we first have to store it and support catching up new users. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* make unknown content drag assert have meanigful messageVincent Sanders2019-11-291-1/+1
|
* change mouse action drag handling to use a more efficient dispatchVincent Sanders2019-11-171-13/+16
|
* move remaining mouse action drag handling into separate functionsVincent Sanders2019-11-171-21/+60
|
* move more select menu handling into mouse_action_select_menu()Vincent Sanders2019-11-171-8/+7
|
* make mouse track and mouse action content handlers return an error codeVincent Sanders2019-11-123-8/+13
|
* Remove redundant drag handling for content selectionVincent Sanders2019-11-121-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 sourceVincent Sanders2019-11-126-148/+278
|
* Data fetcher: Include stdarg.h header.Michael Drake2019-11-121-0/+1
|
* gif: Change how we rate-limit frames to match other browsers.Michael Drake2019-11-111-2/+4
| | | | This makes the old minimum_gif_delay option unused.
* Content: Remove redundant and unused redraw message fields.Michael Drake2019-11-114-71/+17
| | | | | | | | | | 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.
* Data fetcher: Squash BSD warning.Michael Drake2019-11-111-4/+3
|
* remove unecessary user warningVincent Sanders2019-11-101-8/+7
|
* llcache: Avoid putting local content in the disc cache.Michael Drake2019-11-101-0/+39
|
* llcache: Split out scheme is cachable check.Michael Drake2019-11-101-27/+38
|
* File fetcher: Optimise HTTP header generation.Michael Drake2019-11-101-6/+8
|
* Resource fetcher: Optimise HTTP header generation.Michael Drake2019-11-101-6/+8
|
* llcache: URLs with data scheme are cachable.Michael Drake2019-11-101-1/+4
|
* Resource fetcher: Add Cache-Control header with max-age of a year.Michael Drake2019-11-101-0/+5
| | | | | Resource URLs can't change, we want to assume they're fresh for as long as we can.
* Data fetcher: Add Cache-Control header with max-age of a year.Michael Drake2019-11-101-0/+6
| | | | | Data URLs can't change, we want to assume they're fresh for as long as we can.
* Data fetcher: Split header emitting out into helper.Michael Drake2019-11-101-15/+26
|
* Data fetcher: Move fetch_data_send_callback towards top of file.Michael Drake2019-11-101-8/+8
|
* llcache: Uncachable scheme checks don't need to be caseless.Michael Drake2019-11-091-4/+6
|
* llcache: Allow file and resource schemes to be cached.Michael Drake2019-11-091-7/+11
| | | | | This means things like the default css file and adblock css file are only loaded and parsed once.
* File fetcher: Avoid atoi for If-None-Match value parse.Michael Drake2019-11-091-12/+21
| | | | The file fetcher emits FETCH_NOTMODIFIED if the file is unchanged.
* Resource fetcher: Fix ETag handling.Michael Drake2019-11-091-10/+19
| | | | | | | | * Changed ETag storage to be time_t, rather than int. * Changed `If-None-Match` value parsing to use proper time_t parsing, rather than `atoi`. We emit FETCH_NOTMODIFIED if the resource hasn't changed.
* remove user warning and log error insteadVincent Sanders2019-11-071-2/+3
|
* fix keypress entry on text areaVincent Sanders2019-11-071-22/+29
| | | | accidentaly broken in commit fca421e2047a55f3cf575c92943c1116ec58da3c
* remove user warning and fix up error handling in form select menusVincent Sanders2019-11-073-28/+36
|
* remove unecessary user warningVincent Sanders2019-11-062-3/+1
|
* remove user warning and propogate error returnVincent Sanders2019-11-063-37/+37
|
* remove unecessary user warning calls and improve error propogation in html boxVincent Sanders2019-11-053-46/+63
|