summaryrefslogtreecommitdiff
path: root/content/handlers
Commit message (Collapse)AuthorAgeFilesLines
* Content: Remove redundant and unused redraw message fields.Michael Drake2019-11-112-54/+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.
* remove unecessary user warningVincent Sanders2019-11-101-8/+7
|
* 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
|
* fix utils configuration header orderingVincent Sanders2019-10-111-1/+1
|
* remove unused external declaration and unecessary header useVincent Sanders2019-10-062-12/+9
|
* fix core find in page behaviour when case sensitivity is toggledVincent Sanders2019-09-213-61/+68
|
* make the gtk_search structure private to teh gtk search objectVincent Sanders2019-09-211-2/+2
|
* Box Conversion: Cancel conversion during html_destroyDaniel Silverstone2019-08-234-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>
* Window: set{Timeout,Interval}() default delay 10msDaniel Silverstone2019-08-211-12/+8
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* HTML: Don't allow objects to redraw until we have a layout.Michael Drake2019-08-063-0/+12
|
* nssprite: content_broadcast_error fixDaniel Silverstone2019-08-051-3/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* 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>
* HTML: Box coordinates: Take fast route to float container.Michael Drake2019-08-051-4/+4
| | | | And assert that floats have a float_container.
* Excise the llcache query pathway.Daniel Silverstone2019-08-054-58/+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 Silverstone2019-08-0511-57/+62
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Content messages: Remove ERRORCODE, rework ERRORDaniel Silverstone2019-08-055-20/+8
| | | | | | | 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.hVincent Sanders2019-08-051-0/+2
|
* form: Fix situation where a gadget initialises with NULL valueDaniel Silverstone2019-08-041-2/+6
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* html: Mirror gadget values in and out of the DOMDaniel Silverstone2019-08-046-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 coordinatesVincent Sanders2019-08-041-18/+26
|
* change browser_window_redraw to use unscaled coordinatesVincent Sanders2019-08-041-2/+2
|
* Add content handlers for queriesDaniel Silverstone2019-08-044-1/+58
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Duktape element binding: Check dom_string_create for error.Michael Drake2019-08-041-0/+6
|
* CSS hints: Change css_hint_advance to advance pointer by parameter.Michael Drake2019-08-041-55/+55
|
* remove unnecessary browser_window_redraw_rect interfaceVincent Sanders2019-08-031-2/+4
|
* change browser_window_get_features to use unscaled coordinatesVincent Sanders2019-08-031-4/+11
|
* change browser_window_mouse_track to use unscaled coordinatesVincent Sanders2019-08-031-3/+2
|
* change browser_window_mouse_click to use unscaled coordinatesVincent Sanders2019-08-031-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_attributeDaniel Silverstone2019-08-031-3/+11
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* dukky: Remove unused `dukky_safe_get()`Daniel Silverstone2019-08-021-6/+0
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* dukky: Clean up our stacktrace reportingDaniel Silverstone2019-08-021-31/+6
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Duktape: Hopefully silence issue with %lldDaniel Silverstone2019-08-021-1/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Duktape: Make declaration match definition for memcmp and double_div.Michael Drake2019-08-021-3/+3
|
* Duktape: Make declaration match definition for duk_refzero_check_fast()Michael Drake2019-08-021-1/+1
|
* Duktape: Make declarations match definitions for fastint-enabled functions.Michael Drake2019-08-021-2/+2
|
* Duktape: Make declarations match definitions for duk_raw_read_xxx_beMichael Drake2019-08-021-6/+6
|
* Duktape: Make declarations match definitions for inline functions.Michael Drake2019-08-021-4/+4
|
* Duktape: Prevent clang static analysis.Michael Drake2019-08-021-0/+3
|
* Duktape: Update to 2.4.0 release.Michael Drake2019-08-023-7413/+8430
|
* Document.bnd: Fix cookies getter and implement setterDaniel Silverstone2019-08-021-1/+33
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Dukky: Add and utilise a jserrors categoryDaniel Silverstone2019-08-021-4/+4
| | | | | | | Normal, and verbose logging will now also log all JS errors in order that we stand a chance of debugging things more easily when testing. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Window: Provide a little more info on why not EXPOSE()ing some stuffDaniel Silverstone2019-08-021-9/+10
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Window: Restructure EXPOSE()d globalsDaniel Silverstone2019-08-021-14/+82
| | | | | | | By reference to the MDN and to Duktape's CLI, expose everything we possibly can on the global object (Window). Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* dukky.c: Correct typo (BUTTOM -> BUTTON)Daniel Silverstone2019-08-011-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Dukky: Support console logging betterDaniel Silverstone2019-08-014-2/+117
| | | | | | | Add a polyfill for Array.from(), and fix the console formatter so that it won't keep exploding. This should improve matters in the tests. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>