summaryrefslogtreecommitdiff
path: root/render/html_internal.h
Commit message (Collapse)AuthorAgeFilesLines
* split border drawing out of html redrawVincent Sanders2017-02-111-0/+9
|
* Style: Fix ignoring of STYLE elements with non-screen media.Michael Drake2016-09-241-0/+1
| | | | | | | | | | | | | | | | | | We were handling the STYLE tag getting added in the dom_default_action_DOMSubtreeModified_cb callback, however, the media attribute dadn't been added by that point. We now check it in the dom_default_action_DOMNodeInserted_cb callback, at which time the media attribute is available for checking. Note, we should probably store the media type in the html_stylesheet structure, but for now we just have an `unused` boolean. Also, it may be possible to optimise to avoid parsing non- screen media STYLE element data if we could detect the media earlier.
* move the CSS content handlerVincent Sanders2016-05-261-1/+4
|
* split out the layout glyph sizing and splitting APIVincent Sanders2016-04-231-1/+5
| | | | | This refactors the core "font" sizing API to be handled through gui function tables similar to every other core/frontend calling API.
* HTML: Remove some status bar updating code.Michael Drake2016-02-101-2/+0
|
* Ensure constant javascript_enabled for HTML contents.Michael Drake2016-01-211-0/+3
| | | | | | | | | | | | | | | | Now we take the value of the javascript_enabled option when the content is created. We then use the content's script_enabled boolean everywhere else. This prevents us getting inconsistent values for javascript_enabled if a user toggles the setting while a page is loading. It was read frequently during box construction, and also the parser's script enabled setting could change where we handled a change of encoding. Now we only care about the setting of the javascript_enabled option at time of html_content creation.
* Add fire_dom_event, it's in a bad place but we can move it laterDaniel Silverstone2015-10-311-0/+8
|
* Add invalidate API to html content script handling and use it.Vincent Sanders2015-03-091-3/+28
| | | | | | | | | | The html content script handling needs to invalidate its JavaScript context when the browsing context (browser_window) containing it is either closed or the content fetch is aborted (stopped) Previously the invalidation was only done on browser_window close which resulted in use after free crashes because of the now invalid JavaScript context.
* cleanup Doxygen warningsVincent Sanders2014-11-121-1/+1
|
* Allow content handlers to have debug values set through APIVincent Sanders2014-11-061-1/+2
| | | | | | | | Previously content handler debugging features were accessed by global variables. This allows the setting of debugging parameters via a content API giving per content control over debugging features. Currently only used by the html content handler to toggle global redraw debugging.
* make the pseudo css fetcher report initialisation errorsVincent Sanders2014-10-251-1/+6
|
* Redraws during layout are prohibited, and redundant.Michael Drake2014-09-271-0/+3
|
* move page search gui callbacks to their own operations tableVincent Sanders2014-03-181-2/+1
|
* Fix #2071: handle parse completion creating style or script nodes.John-Mark Bell2014-02-101-0/+1
|
* Handle title on dom event. Remove head walker from begin_conversion.Michael Drake2013-05-231-0/+3
|
* Move meta refresh handling to dom event handler.Michael Drake2013-05-221-0/+3
|
* Remove search context from browser window, simplify search interface for ↵Michael Drake2013-05-071-2/+6
| | | | | | | | | | | | | | | | | | | | | | front ends. Added content interface for search. Removed bw->cur_search search context. Desktop layer now does nothing except pass search requests from front end onto the bw's current_content via the content interface. Search API reduced to a pair of functions at each level: {desktop|content|html|textplain}_search and {desktop|content|html|textplain}_search_clear Updated front ends to use simplified search API. Only tested GTK and RO builds. These confine the search stuff to render/. However search still uses struct selection. The handling for which is still spread over desktop/ and render/. Also the render/search code itself still fiddles inside html and textplain privates.
* Fix bug where html conversion began before STYLE element fetch had been ↵Michael Drake2013-03-181-0/+8
| | | | launched.
* Use correct base URL for inline stylesheetsJohn-Mark Bell2013-02-271-2/+4
|
* Use custom fetcher for inline CSSJohn-Mark Bell2013-02-271-0/+4
|
* split out object handling from render/html.cVincent Sanders2013-02-251-4/+24
|
* fix quirk stylesheet loadingVincent Sanders2013-02-251-0/+1
|
* refactor stylesheet handling to separate object from within html renderingVincent Sanders2013-02-241-0/+18
|
* A load of refactoring of how content selection and input work.Michael Drake2013-02-221-4/+66
| | | | | | | | | | | | | Keypresses now go via content interface. Contents don't shove the selection object into browser windows any more. Contents report selection existence by sending message. HTML content keeps track of where selections in it exist. Contents report whether they have input focus via caret setting msg. Caret can be hidden (can still input/paste) or removed. Consolidate textarea selection handling. Make textarea report its selection status changes to client. Various textarea fixes. Changed how we decide when to clear selections, and give focus.
* Drag fixup. Add some documentation.Michael Drake2013-02-081-0/+8
|
* HTML drags now go via content msg.Michael Drake2013-02-081-7/+23
|
* First pass at getting html forms to use textarea widget.Michael Drake2013-02-061-1/+6
| | | | | (Input element types text & password, and textarea element.) Can edit and submit forms, but there are loads of issues.
* reduce talloc usage to box tree layout onlyVincent Sanders2012-10-031-0/+2
|
* Remove unused member of html_content struct.Michael Drake2012-08-201-2/+0
|
* html__redraw_a_box takes html_content instead of struct content.Michael Drake2012-08-161-1/+1
|
* add post parse script executionVincent Sanders2012-07-311-0/+1
|
* fix parse completion - working syncronous scriptsVincent Sanders2012-07-301-2/+10
|
* extend script enumeration to include asyncronous and deferred scriptsVincent Sanders2012-07-301-0/+1
|
* Interned string cleanup, phase 3: Move html_forms.c to corestring.Michael Drake2012-07-221-3/+0
|
* Avoid strcasecmp in form control creation node name handler.Michael Drake2012-07-211-0/+3
|
* Merge branch 'vince/forms-fixed'Vincent Sanders2012-07-141-0/+5
|\ | | | | | | | | | | | | | | | | | | Conflicts: Makefile.sources render/box_construct.c render/html.c render/html_internal.h Merge Daniel Silverstones forms branch
| * Rework form acessors to deal with binding changesVincent Sanders2012-07-141-0/+4
| |
* | fix quirks mode setting with libdom hubbub parserVincent Sanders2012-07-141-1/+1
| |
* | remove parser binding layerVincent Sanders2012-07-131-3/+3
| |
* | split out script handling from htmlVincent Sanders2012-07-131-0/+12
|/
* restructure javascript binding layout to be more explicitVincent Sanders2012-06-191-3/+7
| | | | | | | fix html content so it correctly loads all the script tags svn path=/trunk/netsurf/; revision=13968
* improve javascript supportVincent Sanders2012-06-101-0/+4
| | | | svn path=/trunk/netsurf/; revision=13962
* Initial attempt at imagemap libdomificationDaniel Silverstone2012-03-251-0/+20
| | | | svn path=/trunk/netsurf/; revision=13692
* Squash warning -- this API appears to be unusedJohn Mark Bell2012-03-241-0/+1
| | | | svn path=/trunk/netsurf/; revision=13632
* initial move to libdomVincent Sanders2012-03-231-1/+1
| | | | svn path=/trunk/netsurf/; revision=13573
* Improve performance of style selectionJohn Mark Bell2011-10-081-0/+2
| | | | svn path=/trunk/netsurf/; revision=13000
* Pass nsurls through html_fetch_object.Michael Drake2011-10-041-1/+1
| | | | svn path=/trunk/netsurf/; revision=12945
* Port more internals to nsurl. Front ends may need updating.Michael Drake2011-10-031-1/+1
| | | | svn path=/trunk/netsurf/; revision=12926
* Core part of search improvement:Michael Drake2011-08-241-0/+4
| | | | | | | | | | + Split up browser window and content related elements of html & text search. + Associate search contexts with contents, rather than browser windows. + Remove highlighting of search terms dependency on current_redraw_browser. + Fixes issues with search contexts being applied to the wrong content. svn path=/trunk/netsurf/; revision=12646
* Selection is now subordinate to html and text content types, and ↵Michael Drake2011-07-261-0/+2
| | | | | | disassociated from browser windows. Note: search currently uses hlcache_handle_get_content() to go from bw to h to get at c for search highlighting via selection. svn path=/trunk/netsurf/; revision=12626