0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 19:51:51 +00:00
Commit Graph

1048 Commits

Author SHA1 Message Date
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
be0cd75c65 Improve compatibility with NodeJS-style module.exports and exports. This allows arbitrary types to be exported, not just properties of the exports object. 2013-03-26 00:09:21 +00:00
Simon Best
99878e2995 Support for relative and absolute module identifiers. 2013-03-25 00:02:13 +00:00
Simon Best
db50fc25d1 Removed spurious number from exception message. 2013-03-24 22:56:55 +00:00
Simon Best
cd20140774 Handle exceptions throw from module loader callback. 2013-03-24 22:53:31 +00:00
Simon Best
ff34a2ddda Normalisation of module identifier. 2013-03-24 22:27:46 +00:00
Simon Best
114eb9cbf6 Removed spurious line. 2013-03-24 20:43:51 +00:00
Simon Best
ff443f3bc7 Check for module cyclic dependencies. Throw proper V8 exceptions when the require method is not successful. 2013-03-24 19:08:54 +00:00
Simon Best
79444ce76a Use the Z_ADDREF_P macro to increasing the refcount of PHP values assigned to V8. 2013-03-24 16:30:57 +00:00
Simon Best
a20c4b84cc Use the Z_ADDREF_P macro to increasing the refcount of PHP values assigned to V8. 2013-03-24 16:30:21 +00:00
Simon Best
84baa7614a First working version of CommonJS modules. 2013-03-24 16:27:13 +00:00
Simon Best
a23ecda69f Always increase the zval reference count before storing it in a V8 internal field. 2013-03-22 14:46:52 +00:00
Patrick Reilly
d1fb318b75 Merge branch 'master' of github.com:preillyme/v8js
* 'master' of github.com:preillyme/v8js:
  add new version number
2013-03-21 14:42:57 -07:00
Patrick Reilly
5811659e88 add new version number 2013-03-21 14:41:31 -07:00
Alex Hancock
93559c79ba add new version number 2013-03-21 14:14:22 -07:00
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. 2013-03-20 17:09:23 +00:00
Patrick Reilly
c2512e42dd Merge pull request #5 from tenorviol/master
Replaced deprecated v8 methods with newer equivalents
2013-03-18 20:11:16 -07:00
Chris Johnson
68eb4c5d8b Fixed failing tests with timezone independent equivalents 2013-03-17 20:50:48 -07:00
Chris Johnson
b89f085888 Replaced deprecated v8 functions with newer equivalents 2013-03-17 20:46:03 -07:00
Patrick Reilly
86f350597c Merge pull request #3 from drak/patch-1
Fixed formatting of markdown.
2012-07-24 10:14:17 -07:00
Drak
730b782de1 Fixed formatting of markdown. 2012-07-24 14:03:32 +02:00
Patrick Reilly
8fcbf0a9e7 Fixed build in 5.4+ 2012-07-06 17:21:44 -07:00
Patrick Reilly
dfbd5f0c0c Fixed build in 5.4+ 2012-07-06 17:12:53 -07:00
Felipe Pena
7c8c24ab72 - Fix version 2012-06-13 02:41:36 +00:00
Felipe Pena
325b54d9d5 - Preparing release 2012-06-13 02:39:29 +00:00
Felipe Pena
39ac2f2304 - Fixed build in 5.4+
- Fixed bug #59553 (can't build due to missing class member)
2012-06-13 02:24:48 +00:00
Patrick Reilly
748f4679b0 Merge pull request #2 from Zakay/master
Fixed version parsing
2012-06-07 11:33:53 -07:00
Zakay Danial
e21b955c6a Fixed version parsing 2012-06-07 20:29:12 +02:00
Patrick Reilly
d95a4cff92 Merge pull request #1 from DylanArnold/master
Changes to build in PHP 5.4.3
2012-05-10 10:01:53 -07:00
Dylan Arnold
157fe13c0e Fixes to build in PHP 5.4.3 2012-05-10 22:47:39 +12:00
Patrick Reilly
9175152a38 Update documentation 2012-04-27 16:47:52 +00:00
Patrick Reilly
7593cbcc59 Update copyright information 2012-04-27 16:41:32 +00:00
Patrick Reilly
6ec57f9d78 Add Author 2012-04-27 16:34:04 +00:00
preilly
a032d9d783 Delete unneeded files 2012-04-27 16:32:08 +00:00
preilly
b107e7afc8 Updated README 2012-04-27 16:28:54 +00:00
preilly
30e1d22863 Initial import 2012-04-27 16:26:15 +00:00
Patrick Reilly
1fcedd8b09 initial commit 2012-04-27 09:09:49 -07:00
Felipe Pena
c2f284f39d - Added Id tag property to .h and .cc 2010-12-31 14:15:54 +00:00
Felipe Pena
612e7077d6 - Fix build on ZTS 2010-12-31 14:07:47 +00:00
Felipe Pena
26d6716c19 - Fix typo 2010-12-31 14:04:47 +00:00
Jani Taskinen
732dd175c0 - Remove the unnecessary check, extensions can be registered after V8 is initialized (duh!) 2010-12-31 12:55:23 +00:00
Jani Taskinen
4b253c13a6 - Fix changelog 2010-12-31 11:57:30 +00:00
Jani Taskinen
becf01eef4 - Fix version 2010-12-31 11:48:31 +00:00
Jani Taskinen
e1b8b8c1f5 - Fixed crash bug in setting v8js.flags directive using php -d.. 2010-12-31 11:46:09 +00:00
Jani Taskinen
2568591d66 - Be more verbose when trying to register extension after V8 is already initialized 2010-12-30 15:37:35 +00:00
Jani Taskinen
c53dc7745f - Consistency with docs 2010-12-30 15:08:39 +00:00
Jani Taskinen
e473764312 - Prepare for release 2010-12-30 14:42:15 +00:00
Jani Taskinen
1c23a38026 Initial import 2010-12-30 14:04:51 +00:00