Граф коммитов

215 Коммитов

Автор SHA1 Сообщение Дата
nboyd%atg.com c7ba9dd641 Fix bug 376632 - Documentation needed for a few of the JSC arguments 2007-06-13 16:58:29 +00:00
nboyd%atg.com a0cff8c5f5 Initial checkin for Rhino 1.7. Add JavaScript 1.7 version number.
Initial implementation of 1.7 generators for interpretive mode. See bug 379377.
2007-06-05 18:23:49 +00:00
nboyd%atg.com fc308affdb Fix bug 274311: Can you add all of the shell commands to the help() menu?
Patch from Roshan James <roshanj@google.com>.
2007-06-04 13:46:58 +00:00
nboyd%atg.com dc21b18581 More work on strict mode.
* Support implemented for checking for inconsistent return usage. Contribution
from Roshan James <roshanj@google.com>.
* Fixed check for assignment in conditional.
2007-06-04 13:18:39 +00:00
nboyd%atg.com 54a812fb3e Remove a number of warnings by having the switch generator use label L0. 2007-05-09 18:39:12 +00:00
nboyd%atg.com abd581a841 Partial fix for Bug 378790 - Add JS 1.5 strict mode.
Patch provided by Bob Jervis (bjervis@google.com).
2007-05-01 14:11:21 +00:00
nboyd%atg.com 1699129013 Fix a bunch of warnings. 2007-04-25 17:31:12 +00:00
nboyd%atg.com 40afa4fbf1 Add -debug flag to shell. Will cause it to generate debug for compiled class
files.
2007-04-18 17:08:42 +00:00
nboyd%atg.com bd8bf67520 Add missing version option. 2007-04-12 17:25:02 +00:00
nboyd%atg.com 121dfe455e Fix warnings, clean up javadoc. 2007-04-05 15:50:25 +00:00
nboyd%atg.com 021a8f7bcf Partial fix for bug 375682. This fixes the bug for Rhino's interpretive mode
only.
2007-03-29 16:57:54 +00:00
inonit%inonit.com c165cc2bf4 Make sure the files in this directory are not accidentally committed to the tree by misbehaving CVS clients (like the one bundled with NetBeans). Even though the parent directory contains a .cvsignore which ignores this directory, the NetBeans default CVS client refuses to ignore them. (A few tests seem to indicate that NetBeans will not ignore files that are new in directories that actually exist in the repository.) 2007-01-25 15:27:48 +00:00
szegedia%freemail.hu 96ccfe5ac5 Fix for #359411, courtesy of Hannes Wallnoefer 2006-12-17 14:42:39 +00:00
gerv%gerv.net fa75652059 Bug 236108 - changing licence from NPL/GPL to MPL/GPL to help the Apache people. The bug in question also suggests an eventual switch to MIT; that may come later. 2006-11-10 15:27:40 +00:00
szegedia%freemail.hu 3362e15397 - Using SecurityUtilities - Removing dead assignment 2006-11-06 08:39:19 +00:00
szegedia%freemail.hu d039d47c11 Added "gc" to the list of supported commands - it is present in SpiderMonkey and used by the test suite 2006-11-06 08:38:42 +00:00
szegedia%freemail.hu 43d4525504 Fix for Bugzilla #358058: disallow TAB key in editor 2006-11-02 09:37:48 +00:00
szegedia%freemail.hu 279a016d7a Using SecurityUtilities to query system properties 2006-11-02 09:34:23 +00:00
szegedia%freemail.hu 7d1b33a19c Committing the patch for Bugzilla 328924 "Impossible to use the debugger from outside the omj.tools.debugger package" 2006-06-22 16:12:44 +00:00
igor%mir2.org 24a7809f17 1. Added QuitAction interface to specify the action to perform when quit is called. By default Global does nothing and shell explicitly call initQuitAction with code to call System.exit().
2. Added toint32 to be on pair with SpiderMonkey
2005-09-30 08:28:51 +00:00
igor%mir2.org 1f38a6f8fc Fixing bug #306825: now shell.Global can be used as scope objects in servlets 2005-09-02 14:18:40 +00:00
igor%mir2.org 80332d206d Implementing bug 306419: I added missed serialVersionUID declarations for Serializable classes. 2005-08-30 10:45:45 +00:00
igor%mir2.org 60a0d91730 Implementing bug 306419: I added missed serialVersionUID declarations for Serializable classes. 2005-08-30 10:05:47 +00:00
igor%mir2.org 2b9f658308 Cosmetics: tabs removal 2005-08-30 09:54:24 +00:00
igor%mir2.org e55cf757e7 Replacing R.getMessage by ToolErrorReporter.getMessage as the method is static. 2005-08-30 09:50:01 +00:00
igor%mir2.org 342b151d84 Replacing R.getMessage by ToolErrorReporter.getMessage as the method is static. 2005-08-30 09:42:05 +00:00
igor%mir2.org e9f7dcfb8c 1. Removal of unused import statements.
2. Replacing cx.(toNumber|toString|toObject) by Context.\1 as the
   methods are static,
2005-08-30 09:41:02 +00:00
igor%mir2.org 0be9fcf60e Removal of unused import statements. 2005-08-30 09:39:01 +00:00
igor%mir2.org 1d53736b16 Fixing 306258: Allow to compile under JDK 1.5 2005-08-28 19:15:21 +00:00
igor%mir2.org ff19993f4c Ignoring exception during (Input|Output)Stream.close() from external
processes. On Windows it may throw IOException if process terminates too
fast.
2005-08-27 21:24:29 +00:00
igor%mir2.org cd4d369f99 Addressing bug 303460:
1. Now shell can take compile script. This based on the initial patch from
Patrick Beard <pcbeard@mac.com>.

2. Using common code to read source and compiled scripts and for script
execution.
2005-08-14 14:36:17 +00:00
igor%mir2.org dd10d6157a Bug 278701: patch based on code from James Eggleston <james.eggleston@vega.de> to deiconify debugger window on breakpoints. 2005-08-01 13:50:33 +00:00
igor%mir2.org a2f6c3eb87 Patch from Michael Scott <mscott@ti.com>, Texas Instruments:
> I work in a group that re-packages the Rhino Debugger as part of a set
> of "C"/JavaScript-based configuration tools for developing embedded
> software. We have had a long-standing problem with setting
> breakOnException, breakOnEnter, and breakOnReturn flags within the debug
> engine and not having them in sync with the gui debug menu checkboxes. I
> have fixed this for our use and have attached the updated Main.java
> file. The change simply sets the checkbox selected state along with the
> dim flags.
2005-06-24 08:57:38 +00:00
igor%mir2.org 90f67281a3 Fixing bug 280629: Compatibility patch to add Main.dispose() 2005-02-01 20:41:21 +00:00
igor%mir2.org c810732922 Renaming DebugGui into SwingGui to better reflect GUI nature 2004-11-19 10:13:04 +00:00
igor%mir2.org a6285637fd Fixing nasty bug which prevented Open/Load to work in GUI among other things: the debugger should enter context using factory.call(...) and not Context.call(...) as the default factory is not the one that is used by GUI. 2004-11-19 10:12:21 +00:00
igor%mir2.org 185bee0e6d Work for bug 261278: splitting STRICT_MODE into STRICT_VARS and STRICT_EVAL to allow for better compatibility in future if strictness would be exetended to other areas. 2004-10-28 14:13:05 +00:00
igor%mir2.org 96afa61ad3 Compatiblility with Rhno+Continuations fork: added Main.setSize(Dimension) 2004-10-15 20:06:22 +00:00
igor%mir2.org d1e5635847 Compatibility change: allow to use Context.enter/exit when thread already has associated Context with factory. 2004-10-15 18:34:24 +00:00
igor%mir2.org 5047c343d5 Compatibility with Cocoon and its usage of Rhino debugger. 2004-10-14 09:15:19 +00:00
igor%mir2.org 6ecac9b8be Work on bug 258844: Continuation by default 2004-10-09 22:07:04 +00:00
igor%mir2.org f3ddfa7ac6 Fixing bug 262687: patch from Kurt Huwig, bugzilla@huwig.de , to make the source compatible with JDK 1.5. 2004-10-03 11:23:07 +00:00
igor%mir2.org 51da0ce769 RUnit Software AS as the single owner of copyrights for the following list of files present in Mozilla CVS as of 2004-10-01 15:10 UTC changes the license of the files to NPL/GPL. This is done for consistency with the rest of the source code in Rhino.
List of the affected files:

mozilla/js/rhino/src/org/mozilla/javascript/Callable.java
mozilla/js/rhino/src/org/mozilla/javascript/ClassCache.java
mozilla/js/rhino/src/org/mozilla/javascript/CompilerEnvirons.java
mozilla/js/rhino/src/org/mozilla/javascript/ContextAction.java
mozilla/js/rhino/src/org/mozilla/javascript/ContextFactory.java
mozilla/js/rhino/src/org/mozilla/javascript/Kit.java
mozilla/js/rhino/src/org/mozilla/javascript/Reference.java
mozilla/js/rhino/src/org/mozilla/javascript/SpecialRef.java
mozilla/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/GuiCallback.java
mozilla/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/test.js
mozilla/js/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLReference.java

Please contact igor@runitsoft.com if you have any questions about this.
2004-10-01 15:11:01 +00:00
igor%mir2.org 2194596ed9 1. I fixed a recent regression that caused "arguments" array to be constructed before initialization of standard objects: Global.init() should be called in procesFiles as well.
2. I replaced a couple of anonymous classes implementing ContextAction by Use single IProxy class to shrink compiled code size.
2004-09-29 05:41:00 +00:00
igor%mir2.org 67b7bc3bee Store optimization level and language version in ShellContextFactory
so all Context instances created on other threads or from JavaAdapter
calls would have proper setup.
2004-09-28 21:58:01 +00:00
igor%mir2.org eaaeceda06 Allow to specify explicit ContextFactory with the debugger. 2004-09-24 20:35:42 +00:00
igor%mir2.org 68fea6f3ba Make sure that all functionality that Main.(main|mainEmbedded) use to initialize debug GUI is available for applications through public methods. 2004-09-24 16:46:50 +00:00
igor%mir2.org 2909ccd349 More compatibility changes: added Main.isVisible 2004-09-24 16:38:09 +00:00
igor%mir2.org d923a13d08 Added few methods to redirect calls from main to DebugGui for compatibility. 2004-09-24 16:14:02 +00:00
igor%mir2.org 2a5a17ab3f Resolving bug 261278: strict mode implementation 2004-09-23 21:34:22 +00:00