Simon Best
|
91b1a2fbd2
Added a test for CommonJS modules.
|
12 years ago |
Simon Best
|
9c9500dbc5
More updates to GitHub README.
|
12 years ago |
Simon Best
|
01d8d0b34e
Updated README for GitHub.
|
12 years ago |
Simon Best
|
4a21bfe56e
Updated README for GitHub.
|
12 years ago |
Simon Best
|
916728fa8a
Added simple tests for time limit and memory limit.
|
12 years ago |
Simon Best
|
ef8620f0c2
Fix to start timer thread when there is a memory limit but no time limit.
|
12 years ago |
Simon Best
|
e778b6d7af
Fix for SetFatalErrorHandler. This needs to be called for every context isolate.
|
12 years ago |
Simon Best
|
7e90439cdf
Make sure all tests and samples use the new exception class name V8JsScriptException.
|
12 years ago |
Simon Best
|
8d8c671aa0
V8 isolates need to be passed into all variable accessor and conversion functions.
|
12 years ago |
Simon Best
|
8ae7606338
Refactor CommonJS modules functionality to store state in the extension globals and context as appropriate.
|
12 years ago |
Simon Best
|
46e509c0a9
Use the PHP memory management functions emalloc and efree.
|
12 years ago |
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 years ago |
Simon Best
|
93df3411d9
Merged CommonJS modules functionality.
|
12 years ago |
Simon Best
|
e05f811954
Renamed V8JsException to V8JsScriptException and added V8JsTimeLimitException and V8JsMemoryLimitException classes.
|
12 years ago |
Simon Best
|
9d9ad831b8
Implemented memory limit checking. Increased stability for V8 execution isolates.
|
12 years ago |
Simon Best
|
80a56e551a
Added my name to the credits :-)
|
12 years ago |
Simon Best
|
15dc9e157b
Script timeout thread to forcefully terminate the current thread of V8 execution in the corresponding isolate.
|
12 years ago |
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 years ago |
Simon Best
|
99878e2995
Support for relative and absolute module identifiers.
|
12 years ago |
Simon Best
|
db50fc25d1
Removed spurious number from exception message.
|
12 years ago |
Simon Best
|
cd20140774
Handle exceptions throw from module loader callback.
|
12 years ago |
Simon Best
|
ff34a2ddda
Normalisation of module identifier.
|
12 years ago |
Simon Best
|
114eb9cbf6
Removed spurious line.
|
12 years ago |
Simon Best
|
ff443f3bc7
Check for module cyclic dependencies. Throw proper V8 exceptions when the require method is not successful.
|
12 years ago |
Simon Best
|
79444ce76a
Use the Z_ADDREF_P macro to increasing the refcount of PHP values assigned to V8.
|
12 years ago |
Simon Best
|
a20c4b84cc
Use the Z_ADDREF_P macro to increasing the refcount of PHP values assigned to V8.
|
12 years ago |
Simon Best
|
84baa7614a
First working version of CommonJS modules.
|
12 years ago |
Simon Best
|
a23ecda69f
Always increase the zval reference count before storing it in a V8 internal field.
|
12 years ago |
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 years ago |
Patrick Reilly
|
c2512e42dd
Merge pull request #5 from tenorviol/master
|
12 years ago |