Commit Graph

106 Commits

Author SHA1 Message Date
akhil 52e6c8ac3e cleanup captureStackTrace and include Error name and message 2014-10-07 14:10:32 -07:00
akhil a1bd224dfa implement Error.prepareStackTrace and stackTraceLimit 2014-10-02 17:05:42 -07:00
akhil 0bafa573e8 also report uv, http_parser, java and vm versions 2014-09-23 16:53:09 -07:00
akhil 7eb7d79a89 upgrade to v0.10.31 2014-09-09 16:30:13 -07:00
Bryan Atsatt 8c6d1923d5 Rename Loader.loadSucceeded() to onLoad() and ensure it is called correctly. 2014-07-23 13:22:17 -07:00
akhil 773cc30e97 reimplement uptime for enhanced compatibility 2014-06-27 15:54:05 -07:00
akhil a201aeae85 windows tweaks 2014-06-06 11:37:22 -07:00
akhil bb8b83adc5 reuse exitVM permission to allow user scripts to terminate themselves 2014-06-05 12:19:02 -07:00
akhil 11dc5bdd11 secure process.exit and _tickCallback, adjust test permissions 2014-06-05 12:09:34 -07:00
akhil 60793b1ccd reformat fs errors, ensure syscall & path are included in message when present 2014-06-03 11:46:19 -07:00
akhil 4aa5e5cda8 write parts of nashorn's ConsString without first flattening 2014-05-27 20:19:34 -07:00
akhil f0bf37543e process.exit in avatar does not exit abruptly 2014-05-15 15:47:10 -07:00
akhil d9cecef95c ensure jvm exits with code specified to process.exit when not embedded 2014-05-14 23:43:48 -07:00
akhil 97a06d1391 process.exit stops its event loop for a graceful exit 2014-05-14 21:55:51 -07:00
akhil 450866cfd0 optimization - bypass the utf encoder if str does not have any multi-byte chars 2014-05-01 15:24:25 -07:00
akhil c000711dc2 create file handle via handle factory 2014-04-09 11:15:26 -07:00
akhil 456c008f15 use handle factory to create handles 2014-04-08 22:52:15 -07:00
akhil 62ee57cf1e retrive chars written in a separate call 2014-04-03 14:38:13 -07:00
Bryan Atsatt a4985232f4 Added Loader.loadSucceeded() and invocation of it. Reviewed by Akhil. 2014-03-03 14:44:57 -08:00
akhil 6f5502a502 reduce the number of jni calls by passing some values in header callback 2014-02-24 14:38:55 -08:00
akhil f9747146ab reuse http parser on reinit, use simple props instead of descriptor for efficiency 2014-02-20 20:52:56 -08:00
akhil 7e391f72c9 use setIndexedPropertiesToExternalArrayData if available (since jdk8u20+ and jdk9+) 2014-02-15 18:03:37 -08:00
jfdenise 39a25e4286 Fix for AVATAR_JS-145, added support for --no-deprecation, deprecations are not thrown by default 2014-01-14 10:32:59 +01:00
jfdenise 16bfaa6fba Fix for AVATAR_JS-156, allow for concurrent signal handlers, patched test 2014-01-13 18:19:16 +01:00
jfdenise 31d6bb37f7 Fix for AVATAR_JS-153, start signal handler in test, fix Constants package name 2014-01-13 17:29:23 +01:00
jfdenise 618783547b Fix for AVATAR_JS-152, removed dead code 2014-01-13 16:10:30 +01:00
akhil b80627d09f 148: setting java process name does not work on linux either, disable 2014-01-10 15:29:18 -08:00
akhil 72af73400a minor - fix whitespace and formatting 2014-01-10 14:19:32 -08:00
Jean-Francois dc6cfa955f Fix for AVATAR_JS-149, IdleHandle to process ticks in case of fatal error.
Reviewed-by: asquare
2014-01-10 09:15:16 +01:00
Jean-Francois 17bcf7317d Fix for AVATAR_JS-151, reworked arguments handling
Reviewed-by: asquare, kinsleyw
2014-01-09 10:53:17 +01:00
Jean-Francois 4dcb3b7a68 Fix for AVATAR_JS-148, setup argv
Reviewed-by: asquare
2014-01-09 10:30:03 +01:00
akhil 1a90645ee5 some minor reformatting, renaming and reorganization
Reviewed-by: kinsleyw
2014-01-08 15:18:26 -08:00
Kinsley Wong 9beb5a7dbc 150: add -p and -e command line options.
Reviewed-by: asquare
2014-01-07 15:50:16 -08:00
jfdenise f90bedef97 Fix for AVATAR_JS-143, added pause/resume to http_parser
Reviewed-by: asquare
2014-01-07 11:03:57 +01:00
jfdenise 48ea061bcf Fix for AVATAR_JS-147, reallyExit added to process
Reviewed-by: asquare
2014-01-07 11:03:13 +01:00
jfdenise ed5831f230 Fix for AVATAR_JS-140, translate verify thrown exception onto return value.
Reviewed-by: asquare
2014-01-06 09:50:59 +01:00
akhil 894832a542 141: process.memoryUsage() returns java's memory usage by default
Contributed-by: asquare, jfdenise, kinsleyw
Reviewed-by: kinsleyw
2014-01-03 10:38:02 -08:00
akhil d2e39216c8 139: rename package prefix from net.java to com.oracle 2014-01-02 11:11:58 -08:00
Kinsley Wong e6bc2328b6 118: Patch test-cluster-http-pipe.js
Reviewed-by:asquare
2013-12-17 11:46:56 -08:00
akhil 10c9bba482 116: process http headers in native to reduce number of upcalls to java
Contributed-by: jfdenise
Reviewed-by: asquare
2013-12-17 10:50:13 -08:00
Kinsley Wong 78b98e2806 117: Correctly create a UDP handle after a read2 callback.
Reviewed-by: asquare
2013-12-16 14:55:15 -08:00
Kinsley Wong 7a46c03d03 113: set the connected flag to true after receiving a handle.
Reviewed-by: asquare
2013-12-16 12:02:44 -08:00
Jean-Francois a7b784df3a Fix for AVATAR_JS-123, create context with a Context constructor
Reviewed-by: kinsleyw
2013-12-16 19:44:21 +01:00
Jean-Francois 8ced115de0 Fix for AVATAR_JS-116, removal of Buffer allocations
Reviewed-by: asquare
2013-12-13 19:39:41 +01:00
Jean-Francois 56f868fa17 Fix for AVATAR_JS-114, use [] accessor instead of .
Reviewed-by: asquare
2013-12-13 09:17:43 +01:00
Jean-Francois eb8e802e8d Fix for AVATAR_JS-115, rethrow a JS Error
Reviewed-by: asquare
2013-12-13 09:15:48 +01:00
Jean-Francois 39fa5b7985 Fix for AVATAR_JS-112, reuse same context and sync it with local context, updated context prototype to please coffee-script
Reviewed-by: kinsleyw
2013-12-12 09:02:46 +01: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
Jean-Francois 029f602e35 Fix for AVATAR_JS-106, REPL module wraped with URLHandler
Reviewed-by: kinsleyw
2013-12-09 20:11:03 +01:00