261 Commits

Author SHA1 Message Date
szegedia%freemail.hu
f826462a7e Fix for Bug 519939 - Rhino JS debugger: allow to configure a "source provider"
git-svn-id: svn://10.0.0.236/trunk@258762 18797224-902f-48f8-a5cc-f745e15eee43
2009-10-23 12:49:59 +00:00
nboyd%atg.com
344325e217 Fix javadoc comment.
git-svn-id: svn://10.0.0.236/trunk@258381 18797224-902f-48f8-a5cc-f745e15eee43
2009-09-14 22:20:34 +00:00
nboyd%atg.com
5a3ba2964d Fix bug 495785 - Rhino interpreter shell crashes with NullPointerException
git-svn-id: svn://10.0.0.236/trunk@257341 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-02 01:44:15 +00:00
nboyd%atg.com
fd58fed9bf Autocompletion bug fixing, including fixing the case of autocompletion
following a dot.


git-svn-id: svn://10.0.0.236/trunk@256464 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-06 13:03:13 +00:00
nboyd%atg.com
966cea725f Only attempt to load JLine if we're in interactive mode.
git-svn-id: svn://10.0.0.236/trunk@256463 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-06 12:58:08 +00:00
nboyd%atg.com
e8a93a1f65 Regexp for split was not working appropriately on Windows, with /r/n at end of line.
git-svn-id: svn://10.0.0.236/trunk@256395 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-02 18:33:51 +00:00
hannes%helma.at
7b2463d3bd Fix bug 329908: Throw exception if file can't be read in readFile()
git-svn-id: svn://10.0.0.236/trunk@255040 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-14 14:05:55 +00:00
szegedia%freemail.hu
10529c3b44 Fixes for some obvious FindBugs-discovered inefficiencies
git-svn-id: svn://10.0.0.236/trunk@255019 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-13 18:09:06 +00:00
szegedia%freemail.hu
a71527d756 Further fixes for Bug 399347 - extracted intelligent character encoding handling into a separate class used by both shell and jsc; added -encoding switch to jsc (and renamed it from -enc to -encoding in shell too)
git-svn-id: svn://10.0.0.236/trunk@254656 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-18 18:57:27 +00:00
szegedia%freemail.hu
459f77325d Fixes for Bug 399347 - skip BOM when present; use signed integers for comparison
git-svn-id: svn://10.0.0.236/trunk@254649 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-18 09:34:49 +00:00
szegedia%freemail.hu
28f28a4865 Fixes for Bug 399347 - adding more intelligent character encoding handling
git-svn-id: svn://10.0.0.236/trunk@254648 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-18 09:17:10 +00:00
nboyd%atg.com
3534468fc3 Fix bug 435625: Rhino Shell Console's Prompt Char ">" Display Delayed
git-svn-id: svn://10.0.0.236/trunk@252600 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-26 15:44:39 +00:00
nboyd%atg.com
44a23166cd Fix typo in comment.
git-svn-id: svn://10.0.0.236/trunk@251872 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-28 12:35:18 +00:00
nboyd%atg.com
5f9f8fa428 Fix spelling error, add more info about -f -
git-svn-id: svn://10.0.0.236/trunk@251328 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-07 13:02:35 +00:00
nboyd%atg.com
9876f36d0e Fix more warnings, serialVersionUID, generics, clean up examples
git-svn-id: svn://10.0.0.236/trunk@251163 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-04 15:22:28 +00:00
nboyd%atg.com
7716af0af7 Fix a bunch of warnings.
git-svn-id: svn://10.0.0.236/trunk@250575 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-21 19:54:03 +00:00
nboyd%atg.com
f9d8a7d772 Convert to newer collection classes and parameterized types.
git-svn-id: svn://10.0.0.236/trunk@250523 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-20 18:14:32 +00:00
nboyd%atg.com
f47907b203 Add treetable sources needed by the Rhino debugger. Add LICENSE.txt to
show the license terms, and propagate that file to the binary distribution.
Remove the debugger download build rules as they are no longer needed.


git-svn-id: svn://10.0.0.236/trunk@250202 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-14 13:04:53 +00:00
nboyd%atg.com
d3173354be Fix typos in javadoc.
git-svn-id: svn://10.0.0.236/trunk@250201 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-14 12:49:34 +00:00
nboyd%atg.com
cd520781bf Add code and test for canonicalizing the output of java.lang.Object.toString
for the purposes of doctest.


git-svn-id: svn://10.0.0.236/trunk@248461 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-24 00:09:59 +00:00
nboyd%atg.com
1a5034f78e Improve JLine completion.
git-svn-id: svn://10.0.0.236/trunk@248451 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-23 17:32:46 +00:00
nboyd%atg.com
3b59928432 Massive fix of warnings, mostly supplying type parameters for generics.
Also switched to modern collections classes.


git-svn-id: svn://10.0.0.236/trunk@248077 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 15:10:21 +00:00
nboyd%atg.com
2d07a4c8f2 Add support for optional JLine editing in interactive shell.
Contribution from Matthieu Riou.


git-svn-id: svn://10.0.0.236/trunk@248076 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 15:08:55 +00:00
nboyd%atg.com
8dd5a2bca3 Add reporting of location of doctest failure.
git-svn-id: svn://10.0.0.236/trunk@247328 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 20:43:32 +00:00
nboyd%atg.com
aebaa1202a Fix bug 416127.
git-svn-id: svn://10.0.0.236/trunk@247306 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 14:51:22 +00:00
nboyd%atg.com
9eab4bcc7f Stop building debugger to avoid incorporation of binaries built from
non-open source.


git-svn-id: svn://10.0.0.236/trunk@247244 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 22:00:35 +00:00
nboyd%atg.com
86ef6b1b14 Changes for new JsTest JUnit test runner.
git-svn-id: svn://10.0.0.236/trunk@247242 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 21:47:14 +00:00
nboyd%atg.com
dc30f073a5 First take at a doctest function like the Python doctest, with JUnit driver
and a few tests.


git-svn-id: svn://10.0.0.236/trunk@246950 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-03 22:20:35 +00:00
szegedia%freemail.hu
d80288b9cd Fix for Bug 190841 Ð Generated classes have too low privileges
git-svn-id: svn://10.0.0.236/trunk@245620 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-13 16:44:05 +00:00
nboyd%atg.com
a3222f53ac Remove unused imports.
git-svn-id: svn://10.0.0.236/trunk@245231 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 16:47:19 +00:00
nboyd%atg.com
d3c8596f99 Fix bug 414869: Rhino debugger fails to launch due to updates in mac os x
leopard


git-svn-id: svn://10.0.0.236/trunk@244661 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-01 15:11:59 +00:00
nboyd%atg.com
4c6b4767b6 Refactor prompts to make them more accessible for other uses (i.e. doctest)
git-svn-id: svn://10.0.0.236/trunk@243472 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-18 19:21:01 +00:00
nboyd%atg.com
52f2729876 Add support for customizable prompt characters for the shell using the
"prompts" global variable.


git-svn-id: svn://10.0.0.236/trunk@242865 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-10 22:45:59 +00:00
nboyd%atg.com
fdc3b7c17e Print script stack traces for uncaught exceptions.
git-svn-id: svn://10.0.0.236/trunk@241880 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-21 02:56:33 +00:00
nboyd%atg.com
db88d6373b Fix bug 368323: Global class's runCommand suffers from Bad file descriptor
IOExceptions on extra close() calls


git-svn-id: svn://10.0.0.236/trunk@239360 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 21:43:35 +00:00
nboyd%atg.com
12255d2e69 Fix bug 397680: Need to support Context.observeInstructionCount for compiled
mode. Compile in callbacks to a method that accumulates instruction counts
and calls the observer when the threshold is reached.


git-svn-id: svn://10.0.0.236/trunk@237321 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-05 19:39:30 +00:00
nboyd%atg.com
455650ef5e Patch from Steve Yegge (stevey@google.com) providing access to shell for
easier subclassing.


git-svn-id: svn://10.0.0.236/trunk@236771 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-27 17:59:00 +00:00
nboyd%atg.com
457a144b7f Fix warnings in downloaded code.
git-svn-id: svn://10.0.0.236/trunk@235493 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-11 15:30:39 +00:00
nboyd%atg.com
7c75b79d9f Fix javadoc warning.
git-svn-id: svn://10.0.0.236/trunk@235491 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-11 12:32:06 +00:00
nboyd%atg.com
d840417167 Drop use of deprecated interface.
git-svn-id: svn://10.0.0.236/trunk@235490 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-11 12:31:33 +00:00
nboyd%atg.com
0fef686226 * No need to report both an error to the console and throw and exception.
* Prettier message for uncaught EvaluatorExceptions


git-svn-id: svn://10.0.0.236/trunk@233395 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-30 13:48:13 +00:00
nboyd%atg.com
7d2971c0fb Fix a bunch of warnings, mostly javadoc.
git-svn-id: svn://10.0.0.236/trunk@232925 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 14:46:26 +00:00
nboyd%atg.com
12c37370a2 Fix miscellaneous Java compilation warnings.
git-svn-id: svn://10.0.0.236/trunk@232386 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 14:16:25 +00:00
nboyd%atg.com
bbf2fabd6b Fix warning, spelling error in comment
git-svn-id: svn://10.0.0.236/trunk@232379 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 12:29:13 +00:00
nboyd%atg.com
25c7af63a0 Add missing error message resource.
git-svn-id: svn://10.0.0.236/trunk@231705 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 13:23:39 +00:00
nboyd%atg.com
3520b94a9e Add missing language versions.
git-svn-id: svn://10.0.0.236/trunk@230355 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 12:08:52 +00:00
nboyd%atg.com
89be6b838e Add testsrc to the distribution, and clean up some build.xml formatting.
git-svn-id: svn://10.0.0.236/trunk@230179 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 12:42:40 +00:00
nboyd%atg.com
7aaeda6bb7 Fix bug 386997 - Need to support 'debugger' statement
Adding the 'debugger' keyword will now result in a breakpoint being hit when
run in the Rhino debugger. The statement is ignored if the debugger is not
running or when compiled to Java bytecodes.

Patch from Bob Jervis (bjervis@google.com).


git-svn-id: svn://10.0.0.236/trunk@229809 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 15:09:18 +00:00
nboyd%atg.com
c8655d61c1 Fix bug 376632 - Documentation needed for a few of the JSC arguments
git-svn-id: svn://10.0.0.236/trunk@227982 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-13 16:58:29 +00:00
nboyd%atg.com
d71e9843a3 Initial checkin for Rhino 1.7. Add JavaScript 1.7 version number.
Initial implementation of 1.7 generators for interpretive mode. See bug 379377.


git-svn-id: svn://10.0.0.236/trunk@227537 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-05 18:23:49 +00:00