1117 Commits

Author SHA1 Message Date
Attila Szegedi
b63af33cd2 8134150: Make Timing both threadsafe and efficient
Reviewed-by: jlaskey, sundar
2015-08-24 09:11:46 +02:00
Athijegannathan Sundararajan
4470a2eefa 8134255: Implement tab-completion for java package prefixes and package names
Reviewed-by: attila, mhaupt
2015-08-23 10:02:14 +05:30
Athijegannathan Sundararajan
321ce034fc 8133948: Add 'edit' function to allow external editing of scripts
Reviewed-by: attila, hannesw, jlahoda
2015-08-21 18:01:23 +05:30
Athijegannathan Sundararajan
656a9f516c 8133872: Expression completion should work on contexts where an expression is accepted
Reviewed-by: hannesw, mhaupt
2015-08-19 16:35:03 +05:30
Michael Haupt
5899d6fbda 8077168: CodeStoreAndPathTest.java fails in jtreg mode on Mac
Use correct path on JRT file system

Reviewed-by: attila, sundar
2015-08-18 09:13:46 -07:00
Athijegannathan Sundararajan
19a69d8cbf 8133812: identifier and member expression completion handling is not uniform
Reviewed-by: attila, hannesw
2015-08-18 18:53:13 +05:30
Athijegannathan Sundararajan
65c7459351 8133777: Use file based persistence for history instead of preferences
Reviewed-by: attila, mhaupt
2015-08-18 11:40:18 +05:30
Iris Clark
9d2ded88c7 Merge 2015-08-17 13:03:00 -07:00
Athijegannathan Sundararajan
a8ae0d78d8 8133695: Implement tab-completion for identifiers
Reviewed-by: attila, jlaskey
2015-08-17 18:36:28 +05:30
Athijegannathan Sundararajan
a45bb1ba66 8133652: Implement tab-completion for member select expressions
Reviewed-by: jlaskey, attila
2015-08-17 13:17:25 +05:30
Athijegannathan Sundararajan
d37f9f40c9 8133347: Add makefiles support and basic session, persistence history navigation with jline
Reviewed-by: erikj, jlahoda, jlaskey
2015-08-13 19:07:27 +05:30
Athijegannathan Sundararajan
8d8c82f34e 8133119: Error message associated with TypeError for call and new should include stringified Node
Reviewed-by: attila, mhaupt
2015-08-06 21:50:42 +05:30
Athijegannathan Sundararajan
b2ad94c8e5 8073733: TypeError messages with "call" and "new" could be improved
Reviewed-by: attila, mhaupt
2015-08-04 18:18:54 +05:30
Iris Clark
82c82d7b92 Merge 2015-08-03 09:26:31 -07:00
Athijegannathan Sundararajan
d2fdc74755 8132092: Nashorn copyright has to be updated
Reviewed-by: jlaskey, hannesw, mhaupt
2015-07-28 14:52:34 +05:30
Iris Clark
affc98a1f8 Merge 2015-07-23 13:20:44 -07:00
Hannes Wallnöfer
ecd527cd70 8131683: Delete fails over multiple scopes
Reviewed-by: mhaupt, sundar
2015-07-22 10:18:33 +02:00
Iris Clark
69f99c4534 Merge 2015-07-20 11:02:24 -07:00
Hannes Wallnöfer
978d434abf 8131340: Varargs function is recompiled each time it is linked
Reviewed-by: mhaupt, sundar
2015-07-20 13:11:26 +02:00
Athijegannathan Sundararajan
2ae906ba4d 8131039: after adding a function property to Object.prototype, JSON.parse with reviver function goes into infinite loop
Reviewed-by: hannesw, mhaupt
2015-07-16 15:45:54 +05:30
Iris Clark
7671e1df26 Merge 2015-07-13 13:24:17 -07:00
Athijegannathan Sundararajan
94c9e33a38 8130853: Non-extensible global is not handled property
Reviewed-by: jlaskey, hannesw
2015-07-13 20:09:14 +05:30
Ahmed Ashour
e834520e7e 8130888: Typos in nashorn sources
Reviewed-by: hannesw, mhaupt
2015-07-10 12:55:10 +05:30
Athijegannathan Sundararajan
4a2aab156b 8130734: Apply transformations found by netbeans Refactor->Inspect and transform menu
Reviewed-by: hannesw, jlaskey, mhaupt
2015-07-08 17:28:08 +05:30
Athijegannathan Sundararajan
39ea286002 8130663: 6 fields can be static fields in Global class
Reviewed-by: hannesw, attila
2015-07-07 18:33:24 +05:30
Iris Clark
fff6ab17fb Merge 2015-07-06 11:49:41 -07:00
Athijegannathan Sundararajan
94d29a19c8 8130476: Remove unused methods in Global.java
Reviewed-by: hannesw, attila
2015-07-06 15:59:55 +05:30
Athijegannathan Sundararajan
833d238585 8130424: if directory specified with --dest-dir does not exist, only .class files are dumped and .js files are not
Reviewed-by: attila, lagergren, hannesw
2015-07-03 18:41:58 +05:30
Athijegannathan Sundararajan
fb6a41f23a 8130317: "ant test" fails to complete on Windows when run under cygwin shell
Reviewed-by: lagergren, attila
2015-07-02 19:02:28 +05:30
Attila Szegedi
2a2f2f3300 8130234: Get rid of JSType.isNegativeZero
Reviewed-by: hannesw, lagergren
2015-07-02 10:55:35 +02:00
Michael Haupt
eacc58bf85 8130127: streamline input parameter of Nashorn scripting $EXEC function
Handle null and undefined correctly, do not coerce them to strings

Reviewed-by: lagergren, sundar
2015-07-01 16:26:25 +02:00
Athijegannathan Sundararajan
d9a4c01c25 8114838: Anonymous functions escape to surrounding scope when defined under "with" statement
Reviewed-by: attila, hannesw, lagergren
2015-06-30 13:10:37 +05:30
Iris Clark
1c4c6cb496 Merge 2015-06-29 11:28:31 -07:00
Attila Szegedi
c277f9d37c 8129959: DebugLogger has unnecessary API methods
Reviewed-by: hannesw, lagergren
2015-06-26 17:49:17 +02:00
Attila Szegedi
6069477207 8129950: Wrong condition for checking absence of logger in MethodHandleFactory
Reviewed-by: hannesw, lagergren
2015-06-26 17:08:14 +02:00
Attila Szegedi
bafa097ac7 8129410: Java adapters with class-level overrides should preserve variable arity constructors
Reviewed-by: lagergren, sundar
2015-06-23 11:16:48 +02:00
Athijegannathan Sundararajan
39366de6a7 8117883: nasgen prototype, instance member count calculation is wrong
Reviewed-by: hannesw, lagergren
2015-06-18 19:20:53 +05:30
Hannes Wallnöfer
18c25f6f9f 8098808: Convert Scope from interface to class
Reviewed-by: sundar, attila
2015-06-17 13:56:53 +02:00
Athijegannathan Sundararajan
55f2b58bad 8098847: obj."prop" and obj.'prop' should result in SyntaxError
Reviewed-by: hannesw, attila
2015-06-17 14:21:20 +05:30
Hannes Wallnöfer
28f8652430 8087312: PropertyMapWrapper.equals should compare className
Reviewed-by: sundar, attila
2015-06-17 09:10:45 +02:00
Athijegannathan Sundararajan
2ea5c82229 8098578: Global scope is not accessible with indirect load call
Reviewed-by: attila, hannesw
2015-06-16 18:26:25 +05:30
Hannes Wallnöfer
e87ce70fa1 8098807: Strict eval throws ClassCastException with large scripts
Reviewed-by: sundar, attila
2015-06-16 13:25:41 +02:00
Hannes Wallnöfer
3c76c77513 8098546: eval within a 'with' leaks definitions into global scope
Reviewed-by: sundar, attila
2015-06-15 15:49:14 +02:00
Hannes Wallnöfer
21c3399f5e 8086052: Script evaluation should not return last function declaration
Reviewed-by: sundar, attila
2015-06-15 15:37:01 +02:00
Athijegannathan Sundararajan
907f7f2c7c 8087211: Indirect evals should be strict with -strict option
Reviewed-by: lagergren, hannesw
2015-06-12 16:55:20 +05:30
Athijegannathan Sundararajan
f3198a6632 8087136: regression: apply on $EXEC fails with ClassCastException
Reviewed-by: hannesw, lagergren
2015-06-11 13:33:34 +05:30
Magnus Ihse Bursie
cdb6732e77 Merge 2015-06-11 00:50:40 +02:00
Magnus Ihse Bursie
2b2d7e95f6 8085822: JEP 223: New Version-String Scheme (initial integration)
Reviewed-by: erikj, dcubed, dholmes, alanb, sundar
2015-06-11 00:23:35 +02:00
Michael Haupt
0f1bfba6c9 8080490: add $EXECV command to Nashorn scripting mode
Additional arguments to the command line can be passed as a single array, or as a sequence of varargs.

Reviewed-by: attila, hannesw
2015-06-09 09:27:02 +02:00
Michael Haupt
a1bb22a48c 8085885: address Javadoc warnings in Nashorn source code
Reviewed-by: hannesw, lagergren
2015-06-08 10:28:04 +02:00