Commit Graph

155 Commits

Author SHA1 Message Date
Kinsley Wong
7a056120f5 Add test-repl.js unit test.
Reviewed-by: asquare
2013-12-10 12:17:26 -08:00
Kinsley Wong
8a2eb3d13c Add test-repl-domain.js unit test
Reviewed-by: asquare
2013-12-10 10:57:51 -08:00
Kinsley Wong
0c2a5db65c Add unit test for cluster module.
Reviewed-by: asquare
2013-12-10 10:44:38 -08:00
Jean-Francois
f10edb24e4 Fix for AVATAR_JS-108, avoid leaking sys prop, load repl in privileged block
Reviewed-by: asquare
2013-12-10 19:08:32 +01:00
Jean-Francois
ace7a02ef3 Fix for AVATAR_JS-110, rebuild global for each evaluation
Reviewed-by: kinsleyw
2013-12-10 18:08:15 +01:00
akhil
81d802e799 107: libuv does not know about domains, rename to context
Reviewed-by: kinsleyw
2013-12-09 17:21:20 -08:00
akhil
eead507948 clarify that python3 does not work
Contributed-by: slowhog
Reviewed-by: asquare
2013-12-09 16:04:01 -08:00
Kinsley Wong
b574f56c6d Add repl.js to .gitignore 2013-12-09 14:09:12 -08:00
Kinsley Wong
67e7232d01 105: patch test-repl-tab-complete.js because console is undefined in nashorn.
Reviewed-by: asquare
2013-12-09 13:54:29 -08:00
akhil
4a86831c04 update tests to use the new Server signature
Reviewed-by: kinsleyw
2013-12-09 12:12:31 -08:00
Jean-Francois
029f602e35 Fix for AVATAR_JS-106, REPL module wraped with URLHandler
Reviewed-by: kinsleyw
2013-12-09 20:11:03 +01:00
Jean-Francois
7cfe1d3944 Fix for AVATAR_JS-104, unhandled exception are formatted
Reviewed-by: asquare
2013-12-09 19:49:23 +01:00
Jean-Francois
7876eb437b Fix AVATAR_JS-103, call final script for synchronous exception
Reviewed-by: asquare
2013-12-09 19:28:33 +01:00
akhil
52c9d72ef2 upgrade to v0.10.22 (latest stable)
Reviewed-by: kinsleyw
2013-12-06 16:29:39 -08:00
akhil
7e56c3f1b3 upgrade to v0.10.21 2013-12-06 16:07:52 -08:00
Kinsley Wong
1f85011893 Add new repl unit test.
Reviewed-by: asquare
2013-12-06 15:02:47 -08:00
Kinsley Wong
f503fd4596 Undo the patch for checking syntax errors.
Reviewed-by: asquare
2013-12-06 15:01:54 -08:00
akhil
b0ea33034d 98: reintroduce fd validation now that npm breakage is fixed
Reviewed-by: jfdenise
2013-12-06 13:50:59 -08:00
akhil
c6a314129e replace assert with an if in case js tries to load a non-existent resource
Reviewed-by: kinsleyw
2013-12-06 12:01:37 -08:00
akhil
346e0d0d13 ensure resource stream is closed, remove stack trace, assume repl.js is utf8
Reviewed-by: kinsleyw
2013-12-06 11:44:50 -08:00
Kinsley Wong
7241ec81bf Add REPL support.
Reviewed-by: asquare
2013-12-06 11:01:09 -08:00
akhil
b0f3c1ca3f some minor reformatting 2013-12-05 14:54:12 -08:00
akhil
8b86802ac2 require b119 or higher, due to the use of a nashorn api 2013-12-05 14:25:10 -08:00
akhil
e3a4619c51 Revert "98: list test-fs-read-stream.js in the test to be patched"
This reverts commit 513b1208c7.
2013-12-05 14:02:00 -08:00
akhil
afebf8e0c8 Revert "98: we now throw an EBADF exception on invalid fds"
This reverts commit 2e02e63b75.
2013-12-05 14:01:44 -08:00
Jean-Francois
d00cde3964 Fix for AVATAR_JS-95, support for domains
reviewed-by: asquare
2013-12-05 11:48:05 +01:00
akhil
513b1208c7 98: list test-fs-read-stream.js in the test to be patched
Reviewed-by: kinsleyw
2013-12-04 17:38:37 -08:00
akhil
2e02e63b75 98: we now throw an EBADF exception on invalid fds
Reviewed-by: kinsleyw
2013-12-04 16:50:10 -08:00
Kinsley Wong
4739738400 Recommendations of where to clone the workspace and setting up .avatar-js.properties
Reviewed-by: asquare
2013-12-04 12:13:05 -08:00
Jean-Francois
af4da38d34 Fix for AVATAR_JS-97, reconstruct exception with original properties, fixed synchronous Exception handling
Reviewed-by: asquare
2013-12-04 11:01:02 +01:00
akhil
2bb0eee170 update the default log file name to match the project name
Reviewed-by: kinsleyw
2013-12-02 17:47:13 -08:00
akhil
96feba2128 clarify unknown handle error message
Reviewed-by: kinsleyw
2013-12-02 16:39:54 -08:00
Jean-Francois
39664c9c7f Fix for AVATAR_JS-94, determinate is JVM started in debug, format the prefix wrapper accordingly
Reviewed-by: asquare
2013-11-29 08:43:59 +01:00
akhil
fb57ddbe82 add instructions for installing unlimited strength JCE policy files 2013-11-27 12:21:48 -08:00
akhil
4f1cf7aa6b add instructions for running crypto and pummel tests 2013-11-27 12:10:51 -08:00
Kinsley Wong
427caf2ea9 91: Replace the build dependency with jar-all for the package target.
Reviewed-by: asquare
2013-11-26 15:28:17 -08:00
Kinsley Wong
47fbb5c5df 93: patch pummel/test-exec.js
Reviewed-by: asquare
2013-11-26 12:50:13 -08:00
akhil
b8d9e13f0e 92: When writing the buffer, the underlying array is to be used, not the actual ByteBuffer
Contributed-by: jfdenise
Reviewed-by: asquare
2013-11-26 09:53:43 -08:00
Kinsley Wong
c343f1be38 Fix the object file locations for windows.
Reviewed-by: asquare
2013-11-25 17:47:31 -08:00
akhil
29a42d5492 90: missed this in switch to byte buffer in last commit
Reviewed-by: kinsleyw
2013-11-25 16:47:19 -08:00
akhil
940e0ab530 90: pin buffer while stream write is pending, switch to direct byte buffer
Reviewed-by: kinsleyw
2013-11-25 16:32:27 -08:00
akhil
20bb10e9fd 90: pin buffer while write is pending, switch to direct byte buffer
Reviewed-by: kinsleyw
2013-11-25 15:05:08 -08:00
Kinsley Wong
49a8bd6b87 75: rename some callback method names.
Reviewed-by: asquare
2013-11-25 14:48:51 -08:00
Kinsley Wong
e476684f0b Use the current directory for the source files. Fixes mac builds.
Reviewed-by: jfdenise
2013-11-25 14:01:50 -08:00
jfdenise
c7a145ee9d child processes leak, perf module runnabe on nodejs 2013-11-25 15:42:36 +01:00
akhil
3b3c0ef2d9 explicit conversion from nashorn double to java double is not needed anymore 2013-11-22 21:23:40 -08:00
Kinsley Wong
22f3a0c1a7 Reuse the stat object on every StatWatcher poll.
Reviewed-by: asquare
2013-11-22 16:49:24 -08:00
Kinsley Wong
44a56c93e6 Use absolute path for the source files.
Reviewed-by: asquare
2013-11-22 15:46:17 -08:00
akhil
91c54e164d 86: use nio direct buffers where possible to reduce byte copying
Reviewed-by: jfdenise, kinsleyw
2013-11-22 15:38:26 -08:00
Jean-Francois
3dccf4035d fs write leak 2013-11-22 17:39:11 +01:00