summaryrefslogtreecommitdiff
path: root/content/handlers/javascript/js.h
Commit message (Collapse)AuthorAgeFilesLines
* JS: Add concept of js_closethreadDaniel Silverstone2020-03-221-4/+17
| | | | | | | In order to better model content close vs destroy, add the concept of closing a thread to the JS interface. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* JS: Add concept of thread destroyDaniel Silverstone2020-03-211-0/+14
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* JS: Split concept of JS context into heap and threadDaniel Silverstone2020-03-211-17/+45
| | | | | | | | | In preparation for proper splitting of Javascript support into heaps and threads, this renames the types and corrects the no-js builds to still work. At this time no substantive change in semantics exists, and the duktape build won't work. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* JS: Remove unused slow script callbackDaniel Silverstone2020-03-211-5/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* cleanup some javascript documentation commentsVincent Sanders2019-07-121-18/+29
|
* change content get_source_data interfaces to return uint8_t and size_tVincent Sanders2019-05-051-1/+1
| | | | | previously these interfaces returned char * and unsigned int which was undesirable.
* JS: Attribute external JS to the URI it came from in backtracesDaniel Silverstone2019-05-041-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Move javascript content handler as appropriate for updated source formatVincent Sanders2016-06-071-0/+102