Patrick Reilly
dc1475a3ad
updated package for beta release and switch license to MIT
2013-09-28 10:17:33 -07:00
Stefan Siegl
ffa42cdfaf
Replaced deprecated v8 api calls with newer equivalents
2013-07-08 00:58:19 +02:00
Stefan Siegl
6eeb6fe9d6
Use v8::Isolate version of v8::Context::New
2013-07-07 22:36:56 +02:00
Stefan Siegl
a951b82a40
Use persistent context + Dispose
2013-06-10 16:57:56 +02:00
Stefan Siegl
6106f46d4c
Remove leaked temp_context allocation
2013-06-08 01:44:13 +02:00
Patrick Reilly
98638c78db
fix for format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat]
2013-05-16 16:59:41 -07:00
Patrick Reilly
6f44220328
fix merge conflict
2013-05-09 15:55:30 -07:00
Simon Best
ef8620f0c2
Fix to start timer thread when there is a memory limit but no time limit.
2013-04-14 12:23:39 +01:00
Simon Best
e778b6d7af
Fix for SetFatalErrorHandler. This needs to be called for every context isolate.
2013-04-14 11:19:50 +01:00
Simon Best
8d8c671aa0
V8 isolates need to be passed into all variable accessor and conversion functions.
2013-04-14 00:36:05 +01:00
Simon Best
8ae7606338
Refactor CommonJS modules functionality to store state in the extension globals and context as appropriate.
2013-04-13 00:00:27 +01:00
Simon Best
46e509c0a9
Use the PHP memory management functions emalloc and efree.
2013-04-12 16:49:07 +01:00
Simon Best
147b743d4c
Removed v8::V8::Dispose call because it was causing SIGTRAPs in some exit scenarios. This is probably due to using the debug version of V8, but the documentation states that it's not necessary to call this anyway.
2013-04-11 22:57:25 +01:00
Simon Best
93df3411d9
Merged CommonJS modules functionality.
2013-04-11 17:15:55 +01:00
Simon Best
e05f811954
Renamed V8JsException to V8JsScriptException and added V8JsTimeLimitException and V8JsMemoryLimitException classes.
2013-04-11 00:23:47 +01:00
Simon Best
9d9ad831b8
Implemented memory limit checking. Increased stability for V8 execution isolates.
2013-04-11 00:08:05 +01:00
Simon Best
15dc9e157b
Script timeout thread to forcefully terminate the current thread of V8 execution in the corresponding isolate.
...
Note that threads are implemented using std::thread which is only available in C++0x. The relevant compile flags have been added but compiler support has not been tested and is therefore not guaranteed.
2013-04-09 22:52:42 +01:00
Simon Best
84baa7614a
First working version of CommonJS modules.
2013-03-24 16:27:13 +00:00
Patrick Reilly
5811659e88
add new version number
2013-03-21 14:41:31 -07:00
Patrick Reilly
dfbd5f0c0c
Fixed build in 5.4+
2012-07-06 17:12:53 -07:00
Dylan Arnold
157fe13c0e
Fixes to build in PHP 5.4.3
2012-05-10 22:47:39 +12:00
Patrick Reilly
7593cbcc59
Update copyright information
2012-04-27 16:41:32 +00:00
preilly
30e1d22863
Initial import
2012-04-27 16:26:15 +00:00