summaryrefslogtreecommitdiff
path: root/render/html_css.c
Commit message (Collapse)AuthorAgeFilesLines
* move html and text content handlers where they belongVincent Sanders2018-05-101-713/+0
|
* annotate error case fall through in switch to supress warningsVincent Sanders2017-09-111-0/+2
|
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-061-16/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7);
* HTML CSS handler: event->data.error is invalid for errorcode.Michael Drake2017-08-281-1/+1
|
* CSS content handler: Ensure fetch hlcache callback handles errorcode.Michael Drake2017-08-281-0/+1
|
* Style: Fix ignoring of STYLE elements with non-screen media.Michael Drake2016-09-241-0/+38
| | | | | | | | | | | | | | | | | | 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.
* Allow include directories to be added by sub makefilesVincent Sanders2016-06-061-1/+1
|
* Update content to split public and internal APIVincent Sanders2016-06-061-2/+3
|
* move misc header into public APIVincent Sanders2016-05-301-1/+1
|
* move the CSS content handlerVincent Sanders2016-05-261-0/+1
|
* complete the rename of the gui browser tableVincent Sanders2016-04-161-3/+3
| | | | | | When the operations tables were created the browser table was renamed to miscellaneous except the actual rename patch was never applied, this fixes that situation.
* HTML: Remove some status bar updating code.Michael Drake2016-02-101-14/+0
|
* Change LOG() macro to be varadicVincent Sanders2015-05-281-21/+16
| | | | | | | | | | | | This changes the LOG macro to be varadic removing the need for all callsites to have double bracketing and allows for future improvement on how we use the logging macros. The callsites were changed with coccinelle and the changes checked by hand. Compile tested for several frontends but not all. A formatting annotation has also been added which allows the compiler to check the parameters and types passed to the logging.
* make the pseudo css fetcher report initialisation errorsVincent Sanders2014-10-251-1/+3
|
* Update the core to use the split operations table headersVincent Sanders2014-10-161-1/+2
| | | | Second in the series to decouple the core API usage from the frontends.
* move scheduleing into browser operation tableVincent Sanders2014-03-091-5/+6
|
* Remove asserts for default cases from all content message handlers; this is ↵Rob Kendrick2014-01-051-9/+1
| | | | laborious and is no longer useful for catching bugs.
* Update for new libcss API.Michael Drake2013-12-131-1/+1
|
* fix mismatched option name and variable namesVincent Sanders2013-05-281-1/+1
| | | | | block_ads should be block_advertisments to match option name toolbar_status_width should be toolbar_status_size to match option name
* move options includeVincent Sanders2013-05-281-1/+1
|
* Pass fetch redirect info up to content layer as content_msg. Mark redirect ↵Michael Drake2013-05-271-0/+3
| | | | origin URLs as visited in browser window content callback. Note this doesn't mean we track redirects, it just lets us get the :visited link style on links that redirect.
* Remove extra logging.Michael Drake2013-03-181-3/+0
|
* Fix bug where html conversion began before STYLE element fetch had been ↵Michael Drake2013-03-181-1/+1
| | | | launched.
* Add some extra logging. Some pedantic wrap changes.Michael Drake2013-03-181-15/+19
|
* Debounce style updatesJohn-Mark Bell2013-03-161-21/+56
|
* Move public API to endJohn-Mark Bell2013-03-161-128/+128
|
* Ensure a reference is taken on style nodes.John-Mark Bell2013-03-161-1/+5
|
* Use correct base URL for inline stylesheetsJohn-Mark Bell2013-02-271-1/+1
|
* Use custom fetcher for inline CSSJohn-Mark Bell2013-02-271-153/+71
|
* Fix handling of inline stylesheets with @importJohn-Mark Bell2013-02-261-19/+51
|
* fix quirk stylesheet loadingVincent Sanders2013-02-251-14/+28
|
* refactor stylesheet handling to separate object from within html renderingVincent Sanders2013-02-241-0/+678