Simon Best
|
916728fa8a
Added simple tests for time limit and memory limit.
|
12 anos atrás |
Simon Best
|
ef8620f0c2
Fix to start timer thread when there is a memory limit but no time limit.
|
12 anos atrás |
Simon Best
|
e778b6d7af
Fix for SetFatalErrorHandler. This needs to be called for every context isolate.
|
12 anos atrás |
Simon Best
|
7e90439cdf
Make sure all tests and samples use the new exception class name V8JsScriptException.
|
12 anos atrás |
Simon Best
|
8d8c671aa0
V8 isolates need to be passed into all variable accessor and conversion functions.
|
12 anos atrás |
Simon Best
|
8ae7606338
Refactor CommonJS modules functionality to store state in the extension globals and context as appropriate.
|
12 anos atrás |
Simon Best
|
46e509c0a9
Use the PHP memory management functions emalloc and efree.
|
12 anos atrás |
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.
|
12 anos atrás |
Simon Best
|
93df3411d9
Merged CommonJS modules functionality.
|
12 anos atrás |
Simon Best
|
e05f811954
Renamed V8JsException to V8JsScriptException and added V8JsTimeLimitException and V8JsMemoryLimitException classes.
|
12 anos atrás |
Simon Best
|
9d9ad831b8
Implemented memory limit checking. Increased stability for V8 execution isolates.
|
12 anos atrás |
Simon Best
|
80a56e551a
Added my name to the credits :-)
|
12 anos atrás |
Simon Best
|
15dc9e157b
Script timeout thread to forcefully terminate the current thread of V8 execution in the corresponding isolate.
|
12 anos atrás |
Simon Best
|
be0cd75c65
Improve compatibility with NodeJS-style module.exports and exports. This allows arbitrary types to be exported, not just properties of the exports object.
|
12 anos atrás |
Simon Best
|
99878e2995
Support for relative and absolute module identifiers.
|
12 anos atrás |
Simon Best
|
db50fc25d1
Removed spurious number from exception message.
|
12 anos atrás |
Simon Best
|
cd20140774
Handle exceptions throw from module loader callback.
|
12 anos atrás |
Simon Best
|
ff34a2ddda
Normalisation of module identifier.
|
12 anos atrás |
Simon Best
|
114eb9cbf6
Removed spurious line.
|
12 anos atrás |
Simon Best
|
ff443f3bc7
Check for module cyclic dependencies. Throw proper V8 exceptions when the require method is not successful.
|
12 anos atrás |
Simon Best
|
79444ce76a
Use the Z_ADDREF_P macro to increasing the refcount of PHP values assigned to V8.
|
12 anos atrás |
Simon Best
|
a20c4b84cc
Use the Z_ADDREF_P macro to increasing the refcount of PHP values assigned to V8.
|
12 anos atrás |
Simon Best
|
84baa7614a
First working version of CommonJS modules.
|
12 anos atrás |
Simon Best
|
a23ecda69f
Always increase the zval reference count before storing it in a V8 internal field.
|
12 anos atrás |
Simon Best
|
06527cf1d9
Fix for https://github.com/preillyme/v8js/issues/6. This is probably a horrible hack but it works for now until we have a better solution.
|
12 anos atrás |
Patrick Reilly
|
c2512e42dd
Merge pull request #5 from tenorviol/master
|
12 anos atrás |
Chris Johnson
|
68eb4c5d8b
Fixed failing tests with timezone independent equivalents
|
12 anos atrás |
Chris Johnson
|
b89f085888
Replaced deprecated v8 functions with newer equivalents
|
12 anos atrás |
Patrick Reilly
|
86f350597c
Merge pull request #3 from drak/patch-1
|
13 anos atrás |
Drak
|
730b782de1
Fixed formatting of markdown.
|
13 anos atrás |