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 |
Chris Johnson
|
68eb4c5d8b
Fixed failing tests with timezone independent equivalents
|
12 years ago |
Chris Johnson
|
b89f085888
Replaced deprecated v8 functions with newer equivalents
|
12 years ago |
Patrick Reilly
|
86f350597c
Merge pull request #3 from drak/patch-1
|
13 years ago |
Drak
|
730b782de1
Fixed formatting of markdown.
|
13 years ago |
Patrick Reilly
|
8fcbf0a9e7
Fixed build in 5.4+
|
13 years ago |
Patrick Reilly
|
dfbd5f0c0c
Fixed build in 5.4+
|
13 years ago |
Patrick Reilly
|
748f4679b0
Merge pull request #2 from Zakay/master
|
13 years ago |