0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-11-08 15:48:40 +00:00
Commit Graph

58 Commits

Author SHA1 Message Date
Stefan Siegl
606eb5a60f Mention limitted snapshot availibility in README.md 2016-03-05 17:12:36 +01:00
Stefan Siegl
b405a34690 Allow to create snapshots and re-use them 2016-02-28 17:00:47 +01:00
Stefan Siegl
67a9de01bd Allow custom module normalisation 2015-12-06 13:55:13 +01:00
Stefan Siegl
ff172f48ce Add link to omahaproxy 2015-11-20 18:55:26 +01:00
Stefan Siegl
b38c31b521 Remove v8::Debug agent stuff
Debug Agent support was removed from V8 with 3.28 line which
is pretty old meanwhile.
2015-10-11 19:47:22 +02:00
Stefan Siegl
c76797703b Update build badge URL
Jenkins job was moved to a PHP5.x sub-folder
2015-10-11 01:09:34 +02:00
Stefan Siegl
e16fb63899 Merge pull request #168 from stesie/multithreading
Fix pthread extension compatibility
2015-10-08 22:43:40 +02:00
Stefan Siegl
6779cc5a61 add note on PHP7 branch 2015-10-05 21:59:11 +02:00
Stefan Siegl
34ca8500b1 Remove 'not tested' note regarding ZTS 2015-09-26 21:45:12 +02:00
Stefan Siegl
83f51e5021 Merge pull request #156 from stesie/php-exception-behaviour
PHP->JS exception propagation
2015-09-23 19:40:23 +02:00
Stefan Siegl
6d31da2ab7 Mention compat_php_exceptions php.ini switch 2015-09-23 19:39:41 +02:00
Stefan Siegl
d2720f4929 Build Status badge, yet another try :) 2015-09-02 10:21:34 +02:00
Stefan Siegl
922d7da933 Add MIT license badge 2015-09-01 19:11:56 +02:00
The Gitter Badger
7d82bb05e4 Added Gitter badge 2015-09-01 16:54:38 +00:00
Smirnov Ilia
96a1b3848a fixed link to Google v8 repository
fixed link to Google v8 repository (https://github.com/v8/v8 is deprecated)
2015-08-25 20:58:51 +03:00
Stefan Siegl
829a98e064 Mention (new) exception behaviour in README 2015-08-23 17:56:26 +02:00
Stefan Siegl
5c43a471b4 Remove reference to my (deprecated) Jenkins site 2015-03-13 16:35:35 +01:00
Stefan Siegl
0e76b675d2 Require v8 3.24.6 or higher
Just tested it, v8js builds correctly with 3.24.6 and fails to build
against 3.24.5 due to `RequestInterrupt' being undefined.

Syncing the check in config.m4 (used to test 3.21.12 or newer) against
README.md file (which stated 3.24.10 or newer).
2015-03-11 15:00:01 +01:00
Stefan Siegl
c014892da4 Provide dedicated installation instructions for Linux & Mac 2015-03-09 13:43:58 +01:00
Christiaan
b6a923c949 Change the invalid php stub with valid php code that can be used for type hinting 2015-01-01 21:43:26 +01:00
Christiaan
e52e6a3617 Update the Readme
section about the public API with the two new functions setTimeLimit and setMemoryLimit
2015-01-01 21:20:26 +01:00
Stefan Siegl
c28c9f50f1 introduce V8JsException class 2014-12-11 18:00:43 +01:00
Stefan Siegl
8550dcb5ca Mention array & object mapping 2014-11-30 19:25:08 +01:00
Stefan Siegl
654a8b8039 Merge branch 'issue-126' 2014-11-22 13:27:26 +01:00
Stefan Siegl
65148db31f Add StartColumn/EndColumn properties to script exception, closes #126 2014-11-22 12:56:00 +01:00
Taneli Leppa
7ee8d69470 Added V8Js::clearPendingException(). 2014-11-17 10:45:35 +02:00
Stefan Siegl
70d5349702 Add pointer to README.Win32.md 2014-11-16 23:50:33 +01:00
Stefan Siegl
a9d7dbda45 Syntax highlight API stuff 2014-10-23 22:57:26 +02:00
Stefan Siegl
30119a877a Link to Debian packages, fix Jenkins link 2014-10-23 22:55:12 +02:00
Martin Minka
170b31398a fix V8 build instructions 2014-10-23 09:42:59 +02:00
Stefan Siegl
c339d51924 Drop old-age PHP_V8_API_VERSION #ifdef 2014-10-19 12:20:10 +00:00
Roman Paradeev
34a9e9849e v8 compliation requires gclient
http://dev.chromium.org/developers/how-tos/install-depot-tools
2014-09-29 02:59:36 +06:00
Stefan Siegl
9cb3711c66 Merge remote-tracking branch 'rosmo/compile-script-201409', closes #95 2014-09-20 12:22:31 +00:00
Stefan Siegl
129052a176 Add pointer to docker repo 2014-09-19 18:54:44 +02:00
Stefan Siegl
751b612d8d Suggest libplatform install via mri-script 2014-09-19 18:50:22 +02:00
Stefan Siegl
7228e31eee Remove note on v8 not being buildable with g++ 4.8
The issue on code.google.com is long closed.
Besides I've just tried and it just works.
2014-09-18 23:28:12 +02:00
Stefan Siegl
db8c1bc94d Revert "Add build-status badge again"
This reverts commit 702302d9f6.
2014-09-17 23:20:20 +02:00
Stefan Siegl
702302d9f6 Add build-status badge again
My Jenkins box has a SSL certificate now, hence it should
work without caching effects finally.
2014-09-17 23:16:19 +02:00
Stefan Siegl
14600d3be3 Initialize v8 platform as needed
See http://comments.gmane.org/gmane.comp.lang.javascript.v8.general/8029
for more information.
2014-09-17 00:45:24 +02:00
Taneli Leppa
bd7d649d90 Added new functions V8Js::compileString() and V8Js::executeScript().
Conflicts:

	php_v8js_macros.h
2014-09-16 17:09:58 +03:00
Stefan Siegl
985307dc91 Update README, removed build badge, require V8 3.22.3
GitHub now caches the build badge image if it is served via HTTP.
However the Jenkins box has no SSL certificate, hence I had to remove
the badge.
2013-12-21 20:54:55 +01:00
C. Scott Ananian
f6a6d1e4b5 Rework JavaScript wrapper for PHP objects.
Use the NamedPropertyHandler feature of v8 to wrap accesses to PHP properties
and methods from JavaScript.  This enables us to support property
set/delete/query.

The `in` and `delete` operators in JavaScript work like the `isset()` and
`unset()` functions in PHP.  In particular, a PHP property with a null
value will not be `in` the JavaScript object. (This holds when enumerating
all properties of an object as well.)

Because JavaScript has a single namespace for both properties and methods,
we allow the use of the `__call` method on a PHP object (even if the
PHP class does not natively define the `__call` magic function) in order
to unambiguously invoke a method.  Similarly, you can prefix a property
name with `$` to unambiguously access the property. (When enumerating all
properties, properties are `$`-prefixed in order to ensure they are not
conflated with method names.)
2013-10-25 16:47:15 -04:00
Stefan Siegl
d69f2be50a Add v8 debug support 2013-10-13 11:36:57 +02:00
Stefan Siegl
6ab41f21a1 Add CI badge and link to Jenkins job list 2013-10-05 20:11:35 +02:00
C. Scott Ananian
91393faca3 Ensure all v8 libraries are copied in README; sanity check in config.m4.
The latest versions of v8 build libicu as well.  If this isn't copied to
the lib directory, then the v8 version check fails (with a link error).
Ensure that this is caught at configuration time.
2013-10-03 17:59:27 -04:00
C. Scott Ananian
8904288b33 Add a bit of documentation about g++ 4.8. 2013-10-03 17:08:37 -04:00
Stefan Siegl
619231913c Adapt to new v8::Persistent API, support V8 >= 3.21.12 2013-10-03 16:27:04 +02:00
C. Scott Ananian
1f2eefdbea Support compiling v8js with v8 in a custom path.
If you don't want to overwrite the system copy of v8 in /usr/lib/libv8.so,
you can use the --with-v8=<path> option to have php-v8js use its own
copy of libv8.
2013-10-01 18:05:36 -04:00
C. Scott Ananian
e508410a79 Ensure libv8 is >= 3.17.11 (fixes issue #12). 2013-09-28 02:48:59 -04:00
andrewtch
f8203e1a73 Update README.md
Updated readme to fix #19
2013-07-07 23:29:05 +03:00