Stefan Siegl
4e687c3950
Merge pull request #332 from stesie/unicode-test
...
Unicode test
2017-09-25 17:35:57 +02:00
Stefan Siegl
3afd98ba3a
Merge pull request #331 from stesie/mark-pending-exceptions-deprecated
...
Mark pending exceptions deprecated
2017-09-25 15:08:33 +02:00
Stefan Siegl
289e382e63
re-add module focused unicode test
2017-09-25 15:08:23 +02:00
Stefan Siegl
d6561fe7dc
fix test filename
2017-09-25 15:03:46 +02:00
Stefan Siegl
ec49c03c0f
fix test-file syntax
2017-09-25 15:03:34 +02:00
Stefan Siegl
ef90ad7065
Revert "Create unicode.php"
...
This reverts commit 3559f1797e
.
2017-09-25 15:01:37 +02:00
Stefan Siegl
33b3ff5e1f
Revert "Renamed to unicode.phpt"
...
This reverts commit 202f0beefa
.
2017-09-25 15:01:21 +02:00
Stefan Siegl
eba01e1088
Merge branch 'patch-2' of https://github.com/HoffmannP/v8js into php7
2017-09-25 14:50:42 +02:00
Stefan Siegl
82930c9ea9
Create deprecated warning if setting $report_uncaught_exceptions != true
2017-09-25 14:35:46 +02:00
Stefan Siegl
56e83a9fbb
mark clearPendingException & getPendingException functions deprecated
2017-09-25 14:28:16 +02:00
Stefan Siegl
22bcf85348
Write deprecation warning on non-empty $extensions array passed to V8Js::__construct
2017-09-25 14:06:33 +02:00
Stefan Siegl
9734466105
mark registerExtension & getExtensions deprecated + adapt test output
2017-09-25 13:45:19 +02:00
Peter Hoffmann
202f0beefa
Renamed to unicode.phpt
...
added test for commonJS modules
2017-06-12 11:20:11 +02:00
Peter Hoffmann
3559f1797e
Create unicode.php
...
Create compatibility with versions compiled without snapshot support
2017-06-12 10:37:54 +02:00
Peter Hoffmann
2c60547ece
Update unicode.php
...
removed flagg that was misplaced and would've been useless
2017-06-12 10:11:02 +02:00
Peter Hoffmann
2fbd780771
Create test for unicode symbols
...
This test is created b/c the same test with extensions would fail (see #317 )
2017-06-09 14:45:45 +02:00
Stefan Siegl
36f52e84d1
Add test for #316
2017-06-08 23:15:06 +02:00
Stefan Siegl
09f69caf64
Relax test to work on V8 without i18n support
2017-04-14 22:48:39 +02:00
Stefan Siegl
c957be8b2a
Initialize ICU as (meanwhile) needed
2017-04-14 21:00:31 +02:00
Stefan Siegl
54e3a07bc8
make exception_start_column.phpt green again, closes #302
...
Test began to fail with V8 ~5.9.35 which started to report different
column numbers of errors. Adapt test so it works well with older
and newer versions of V8.
2017-03-14 07:28:24 +01:00
Stefan Siegl
397c5f0e09
load ext-dom for test, if available, refs #270
2017-03-12 10:09:59 +01:00
Stefan Siegl
346c47b657
skip long_int64 test on 32bit PHP versions
2017-03-08 07:58:38 +01:00
Stefan Siegl
b45bef46de
pick up int64 export test from issue #287
2017-03-08 07:54:48 +01:00
Stefan Siegl
3970fdebc7
Adapt test output to V8 5.7
2017-01-22 14:18:26 +01:00
Stefan Siegl
de71f83b7f
Merge pull request #252 from stesie/issue-246
...
Handle Z_TYPE == IS_REFERENCE well, fixes #246
2016-08-12 15:42:40 +02:00
Stefan Siegl
9d3ff2868c
Remove hard-coded pathname from test
2016-08-12 01:11:51 +02:00
Stefan Siegl
5ae48bbda7
Fix refcounting, use zval_ptr_dtor, closes #250
2016-08-12 01:02:56 +02:00
Stefan Siegl
8126fc4928
Handle Z_TYPE == IS_REFERENCE well, fixes #246
2016-08-11 18:54:38 +02:00
Stefan Siegl
802cdd350a
Drop tests/magic_func.phpt which got flaky
...
Most recent PHP7.0 versions implicitly call __isset before __get, which
older ones don't.
The test needs some major refactoring, after all the file is huge
and better split into smaller pieces.
2016-05-22 23:28:02 +02:00
Stefan Siegl
e9e90bac65
Merge remote-tracking branch 'origin/master' into php7
...
Conflicts:
config.w32
package.xml
php_v8js_macros.h
v8js.cc
v8js_array_access.cc
v8js_class.cc
v8js_convert.cc
v8js_exceptions.cc
v8js_object_export.cc
v8js_timer.cc
v8js_v8.cc
v8js_v8object_class.cc
2016-05-22 22:30:19 +02:00
Stefan Siegl
3d5f163899
skip time/memory limit tests on SKIP_SLOW_TESTS
2016-03-26 11:47:58 +01:00
Stefan Siegl
b0f761ae3b
Merge pull request #221 from stesie/fluent-setters-js
...
Retain object identity on JS-side 'return this'
2016-03-25 23:20:16 +01:00
Stefan Siegl
93b1118fe8
Retain object identity on JS-side 'return this'
2016-03-25 22:15:05 +01:00
Stefan Siegl
d44592910d
Retain object indentity on 'return $this'
2016-03-25 19:15:25 +01:00
Stefan Siegl
d6394301b2
Pass back V8Object instances, don't re-wrap
2016-03-25 17:40:43 +01:00
Stefan Siegl
12903ca269
add V8Js::setAverageObjectSize method
2016-03-08 09:28:16 +01:00
Stefan Siegl
bf6effba63
Merge remote-tracking branch 'origin/master' into php7
2016-03-05 22:21:42 +01:00
Stefan Siegl
87b29749b9
Merge pull request #207 from stesie/custom-snapshots
...
Handle V8 heap snapshots well + allow custom snapshot generation
2016-03-05 19:27:40 +01:00
Stefan Siegl
67269ddfc4
Adapt test expectations to V8 error message changes
...
V8 5.1 uses slightly changed SyntaxError messages.
This adapts our tests as needed (for support of V8 5.1 as well
as older versions)
2016-03-05 17:11:52 +01:00
Stefan Siegl
4df6e80be9
Add testcase on V8Js::createSnapshot
2016-03-05 14:12:19 +01:00
Stefan Siegl
3808f69dea
Adapt tests V8 3.24 also
2016-01-09 21:45:10 +01:00
Stefan Siegl
796ae85cb6
Adapt tests to different V8 versions
2016-01-09 21:36:30 +01:00
Stefan Siegl
4a8a8b812f
Add test that V8Js::__sleep and V8Js::__wakeup are final
2016-01-09 19:15:12 +01:00
Stefan Siegl
d438624a3d
Don't export V8Js methods even if overwritten
2016-01-09 19:11:30 +01:00
Stefan Siegl
1e86e2c9f7
Don't export methods of V8Js object to V8
2016-01-09 19:02:58 +01:00
Stefan Siegl
e2636b2e71
Skip Generator export tests if not supported
2016-01-09 14:24:49 +01:00
Stefan Siegl
dbe29d7e96
Add more tests on exported (PHP) Generator objects
2016-01-09 13:19:23 +01:00
Stefan Siegl
a18ae9e853
Implement JS-side wrapper around PHP Generator objects
2016-01-09 12:50:40 +01:00
Stefan Siegl
e0f990bfa1
Add test with private/protected methods, refs #183
2016-01-08 15:47:24 +01:00
Stefan Siegl
38b9c053a1
Enable V8Generator support on V8 >= 3.30.0
2016-01-08 00:12:06 +01:00