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

204 Коммитов

Автор SHA1 Сообщение Дата
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
igor%mir2.org 073a538dd0 Resolving bug 258844: implementation of continuation support for Rhino interpreter inspired by Christopher Oliver work for custom Rhino version for cocoon.apache.org. 2004-09-16 18:27:42 +00:00
igor%mir2.org 79f7b70309 1. Using explicit ShellContextFactory in shell to avoid interference from changes in global ContextFactory.
2. Initializing global scope before the first execution to allow to customize ShellContextFactory before calls to Context.initStandardObjects()
2004-09-15 16:00:30 +00:00
igor%mir2.org 70d97db80b 1. Call contextData.pushFrame(this) from StackFrame.onEnter and not from StackFrame.constructor to allow multiple invocations of enter/exit per single debug frame. The continuation support will use it.
2. Expand tabs
2004-09-15 14:59:36 +00:00
igor%mir2.org 5467110c68 1. Ignoring recursive invocation of Dim.interrupted on event thread: when Gui
processes breakpoint hit and another breakpoint is met during event processing,
then on Linux recursive invocations of EventQueue.getNextEvent()/dispatchEvent
lead to eventual GUI deadlock. It is easy to observe when the break on function
enter is enabled and a JS function is called that is attached to an action
handler of some button. With recursive bahaviour repeated clicks lead to deeper
and deeper invocation of EventQueue.getNextEvent() and GUI deadlock on Linux.

So to improve debugger stubility I modify Dim.interrupted to ignore calls from
event thread when another invocation of Dim.interrupted already waits for GUI
result.

2. To decrease class and jar bloat I merges various implementations of Runnable
and and other interfaces to single class with switch dispatch. It saved about
6K from js.jar.
2004-09-15 14:45:10 +00:00
igor%mir2.org 675eab9782 1. Replacing IdScriptableObject.wrap_* methods by their ScriptRuntime.wrap* counterparts since the wrap methods are useful not only for subclasses of IdScriptableObject.
2. Reorganizing execIdCall in few classes inherited from IdScriptableObject to shrink code size.
2004-09-10 18:02:06 +00:00
igor%mir2.org 73f67832ac Removal of "throws JavaSriptException" declaration:
JavaSriptException now inherits from RhinoException which inherits from RuntimeException and as such it does not necessary to declare it.

Moreover, it is wrong to use it for the documentation purpose since a  script can also throw EcmaError and WrappedException and a proper documentation would require to document those exceptions as well. But since almost all Rhino functions can potentially execute script code it means that wast majority of functions would bear the declarations, not only code overriding or calling explicitly Function.call/construct. And then the throw declarations would bring no information if it always would be "throws RhinoException". Thus it is better not to litter sources with the declarations at all.
2004-09-08 12:29:59 +00:00
igor%mir2.org 299cb56cfd Fixing bug 258144: my take on patch patch from Andrew Madigan <andymadigan@yahoo.com> to add class compiler option controlling which class will be used for main method implementation. 2004-09-07 19:11:39 +00:00
igor%mir2.org ddaa32365c Deprecating PropertyException as a part of common exception root changes, see 244492. 2004-08-14 16:45:30 +00:00
igor%mir2.org cb08a88e11 Using Kit.initCause to wrap the original exception preventing creation of SecurityController class. 2004-08-14 16:42:33 +00:00
igor%mir2.org 7727f9784c Fixing missed context wrapping in debugger/Dim and proper button enable/dosable in debugger/DebugGui 2004-07-29 12:51:35 +00:00
igor%mir2.org 0f6d41a084 Renaming StringIdMap to Main and ipdating documentation 2004-07-29 10:44:59 +00:00