summaryrefslogtreecommitdiff
path: root/render/html_script.c
Commit message (Collapse)AuthorAgeFilesLines
* annotate error case fall through in switch to supress warningsVincent Sanders2017-09-111-15/+20
|
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-061-19/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 script handling: Convert to using content_broadcast_errorcode().Michael Drake2017-08-281-8/+3
|
* HTML content handler: Ensure script fetch hlcache callback handles errorcode.Michael Drake2017-08-281-0/+3
|
* Content API: Make content_broadcast take pointer to content_msg_data.Michael Drake2017-08-261-4/+4
|
* Update content to split public and internal APIVincent Sanders2016-06-061-0/+2
|
* Add comment on on-demand JS context creation safetyMichael Drake2016-01-211-0/+3
| | | | Checking for enable_scripting isn't needed here.
* Don't call up if the parent's jscontext has gone NULL in the meantimeDaniel Silverstone2015-10-311-1/+1
|
* ensure completion of async js scripts completes the fetchVincent Sanders2015-10-021-0/+7
| | | | | | When the fetch of asynchronous javascript scripts completed the completion of html rendering was not processed leaving the state machine waiting forever.
* Change LOG() macro to be varadicVincent Sanders2015-05-281-28/+19
| | | | | | | | | | | | 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.
* Add invalidate API to html content script handling and use it.Vincent Sanders2015-03-091-11/+17
| | | | | | | | | | 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.
* Remove asserts for default cases from all content message handlers; this is ↵Rob Kendrick2014-01-051-27/+3
| | | | laborious and is no longer useful for catching bugs.
* fixup script message handlingVincent Sanders2013-05-311-6/+8
|
* Fix bug where html conversion began before STYLE element fetch had been ↵Michael Drake2013-03-181-2/+2
| | | | launched.
* search for teh correct script type in the defer callback.Vincent Sanders2013-01-021-1/+1
| | | | Should fix SF bug #3599063
* Move browser_window struct to private header. Places that shouldn't include ↵Michael Drake2012-08-221-0/+1
| | | | | | | | | | | | | | | | | it do, such as front end code. Frontends that have been updated to build: framebuffer gtk monkey riscos TODO: amiga atari beos cocoa windows
* Let contents broadcast explicit status messages as well as announce that ↵Michael Drake2012-08-151-9/+0
| | | | their internal status has been updated.
* resume parse on sync script error as well as successVincent Sanders2012-07-311-0/+6
|
* add post parse script executionVincent Sanders2012-07-311-14/+5
|
* fix dom parser error return checkVincent Sanders2012-07-311-1/+1
|
* fix parse completion - working syncronous scriptsVincent Sanders2012-07-301-16/+20
|
* extend html data processing to deal with paused parseVincent Sanders2012-07-301-17/+20
|
* extend completion typesVincent Sanders2012-07-301-28/+238
|
* extend script enumeration to include asyncronous and deferred scriptsVincent Sanders2012-07-301-22/+45
|
* split up the script processingVincent Sanders2012-07-301-95/+124
|
* Interned string cleanup, phase 4: Move html_script.c to corestring.Michael Drake2012-07-221-7/+12
|
* remove parser binding layerVincent Sanders2012-07-131-1/+1
|
* split out script handling from htmlVincent Sanders2012-07-131-0/+339