0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-09-19 16:35:19 +00:00
Commit Graph

30 Commits

Author SHA1 Message Date
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
Simon Best
9c9500dbc5 More updates to GitHub README. 2013-04-15 22:01:35 +01:00
Simon Best
01d8d0b34e Updated README for GitHub. 2013-04-15 21:59:55 +01:00
Simon Best
4a21bfe56e Updated README for GitHub. 2013-04-15 21:57:43 +01:00
Simon Best
7e90439cdf Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
Drak
730b782de1 Fixed formatting of markdown. 2012-07-24 14:03:32 +02:00
Patrick Reilly
9175152a38 Update documentation 2012-04-27 16:47:52 +00:00
preilly
b107e7afc8 Updated README 2012-04-27 16:28:54 +00:00
Patrick Reilly
1fcedd8b09 initial commit 2012-04-27 09:09:49 -07:00