igor%mir2.org
9bd178c8b7
Preparations for Rhino 1.6R1 release
...
git-svn-id: svn://10.0.0.236/trunk@165513 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 13:27:45 +00:00
igor%mir2.org
cca8a3e162
*** empty log message ***
...
git-svn-id: svn://10.0.0.236/trunk@165512 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 13:01:16 +00:00
igor%mir2.org
1a6b25607d
Renaming DebugGui into SwingGui to better reflect GUI nature
...
git-svn-id: svn://10.0.0.236/trunk@165511 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 10:13:04 +00:00
igor%mir2.org
b8affef200
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.
...
git-svn-id: svn://10.0.0.236/trunk@165510 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 10:12:21 +00:00
igor%mir2.org
995e7c70dc
For VARARG methods wrap the result in the same way as for other methods: in this way VARARG method returning non-JS-type will get its results properly wrapped as LiveConnect object
...
git-svn-id: svn://10.0.0.236/trunk@165425 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-17 16:48:57 +00:00
brendan%mozilla.org
036b7c131b
E4X, configured off, code-complete.
...
git-svn-id: svn://10.0.0.236/trunk@165420 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-17 07:43:01 +00:00
igor%mir2.org
ef7659d950
XML no longer implements Wrapper interface. Instead getXmlObject method
...
is added to access the implementation. In this way all functionality
of Java API in XmlObject is available to scripts if they need it.
git-svn-id: svn://10.0.0.236/trunk@165234 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-10 23:13:04 +00:00
timeless%mozdev.org
77453f609f
Bug 207309 nsMemoryImpl::Alloc of 0: 'size' in jsdValue::GetProperties
...
r=shaver sr=shaver
git-svn-id: svn://10.0.0.236/trunk@165227 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-10 21:58:00 +00:00
darin%meer.net
3d52b0860b
fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@165089 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-07 23:59:35 +00:00
brendan%mozilla.org
ad1b8e7c08
Home sp before all OBJ_* call-outs (267797, r=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@165042 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-05 23:16:37 +00:00
brendan%mozilla.org
0d3f6e9a04
Skip deleted/misidentified properties in js_obj_toSource (233483, patch from shaver+timeless, r=me).
...
git-svn-id: svn://10.0.0.236/trunk@164901 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 01:52:28 +00:00
brendan%mozilla.org
61eb757bad
Toggle JSFRAME_ASSIGNING around setter call from inc/dec ops (267216, r=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@164886 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 22:54:50 +00:00
darin%meer.net
ed9e4d3d7a
eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
igor%mir2.org
8e049d600b
Implement specially NativeJavaObject.getDefaultValue for java.lang.Boolean to match the behavior of JS Boolean object.
...
git-svn-id: svn://10.0.0.236/trunk@164682 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-31 00:15:57 +00:00
igor%mir2.org
07c4059b7d
Disabling invoker optimization by default: under jdk >= 1.4 and especially with 1.5 it does not bring noticeable benefits with typical usage while increasing loading time and memory consumption and introducing class loading issues.
...
git-svn-id: svn://10.0.0.236/trunk@164681 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-31 00:12:25 +00:00
igor%mir2.org
b512f708b9
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.
...
git-svn-id: svn://10.0.0.236/trunk@164554 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-28 14:13:05 +00:00
igor%mir2.org
c93791d762
Fixing bug 266418: making RegExp serializable
...
git-svn-id: svn://10.0.0.236/trunk@164551 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-28 11:31:38 +00:00
igor%mir2.org
0c4f9dfb42
Minimizing memory footprint by eliminating class fields:
...
1. IdScriptableObject.maxInstanceId is replaced by overridden getMaxInstanceId()
2. BaseFunction.argumentsProperty is replaced by storing when necessary explicit "arguments" property in ScriptableObject hashmap.
3. NativeFunction.(argNames|argCount|version) is replaced by code that reconstruct the necessary values from embedded in class file or InterpreterData (see bug 264637)
git-svn-id: svn://10.0.0.236/trunk@164361 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 15:44:24 +00:00
igor%mir2.org
03fc9ac792
Preparations for Rhino 1.6R1 RC3
...
git-svn-id: svn://10.0.0.236/trunk@164186 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-22 13:34:44 +00:00
igor%mir2.org
791d8440e5
Directory with external jars is renamed from jarlib to lib for consistency with other projects.
...
git-svn-id: svn://10.0.0.236/trunk@164185 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-22 12:36:36 +00:00
brendan%mozilla.org
2d7a970a13
Auto-mark parent if it's revised by PreCreate in XPCWrappedNative::GetNewOrUsed (264577, r=dbradley).
...
git-svn-id: svn://10.0.0.236/trunk@164182 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-22 07:49:29 +00:00
igor%mir2.org
d906e4aa9c
Fixing smalljar target implementation to include all the necessary classes and updating documentation about its usage.
...
git-svn-id: svn://10.0.0.236/trunk@164181 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-22 07:49:15 +00:00
brendan%mozilla.org
4fd0805428
Checking in dbradley's patch for bug 265545 (r=jst, sr=me).
...
git-svn-id: svn://10.0.0.236/trunk@164178 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-22 07:29:44 +00:00
igor%mir2.org
5a36480424
Compatibility with Rhino+Continuation fork: in ScriptableObject.callMethod always use object as scope source even if the scope from function does not belong to its prototype chain.
...
git-svn-id: svn://10.0.0.236/trunk@164149 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-21 17:55:14 +00:00
brendan%mozilla.org
936bda4b08
Fix HasFinalReturn to handle labeled statements (265042, r=self).
...
git-svn-id: svn://10.0.0.236/trunk@164068 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-20 02:16:36 +00:00
brendan%mozilla.org
144ae876f5
Home sp above right JSOP_IN operand to protect it from GC (264995, rs=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@164002 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-19 01:45:44 +00:00
igor%mir2.org
6ad7413fff
Patch from Attila Szegedi <szegedia@freemail.hu> to adress bug 264637 :
...
Reducing InterpretedFunction footprint
git-svn-id: svn://10.0.0.236/trunk@163929 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-17 14:18:19 +00:00
igor%mir2.org
6c562fcbe6
Fixing bug 263978: for compatibility with BSF usage IllegalArgumentException is not thrown on negative line numbers.
...
git-svn-id: svn://10.0.0.236/trunk@163878 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-16 00:37:05 +00:00
igor%mir2.org
b2231892bb
For compatibility wrap numbers always as Double instances.
...
git-svn-id: svn://10.0.0.236/trunk@163845 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-15 20:41:01 +00:00
igor%mir2.org
4f589b3f7c
Fixing initialization bug: Continuation.initImplementation() can be called with null arg!
...
git-svn-id: svn://10.0.0.236/trunk@163844 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-15 20:38:21 +00:00
igor%mir2.org
3a65efb413
Compatibility with Rhino+Continuations fork: Continuation class is moved to continuations package.
...
git-svn-id: svn://10.0.0.236/trunk@163843 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-15 20:33:45 +00:00
igor%mir2.org
e63ae1a5c7
Compatiblility with Rhno+Continuations fork: added Main.setSize(Dimension)
...
git-svn-id: svn://10.0.0.236/trunk@163841 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-15 20:06:22 +00:00
igor%mir2.org
b02d0c26e2
For compatibility with Rhino+Continuations fork Continuation is made public
...
git-svn-id: svn://10.0.0.236/trunk@163840 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-15 19:59:55 +00:00
igor%mir2.org
532f42f0ae
Compatibility change: allow to use Context.enter/exit when thread already has associated Context with factory.
...
git-svn-id: svn://10.0.0.236/trunk@163836 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-15 18:34:24 +00:00
igor%mir2.org
2cba537545
New public API Context.getDebuggableView to extract DebuggableScript implementation.
...
git-svn-id: svn://10.0.0.236/trunk@163834 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-15 18:27:38 +00:00
igor%mir2.org
eba1bc1883
*** empty log message ***
...
git-svn-id: svn://10.0.0.236/trunk@163822 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-15 13:33:02 +00:00
igor%mir2.org
68d43e346f
Compatibility with Cocoon and its usage of Rhino debugger.
...
git-svn-id: svn://10.0.0.236/trunk@163730 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 09:15:19 +00:00
igor%mir2.org
a05650d12d
Added GeneratedClassLoader
...
git-svn-id: svn://10.0.0.236/trunk@163725 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 07:34:54 +00:00
igor%mir2.org
01890ad20b
Changing (XML|XMLList).(propertyIsEnumeratable|attribute|child) to confirm to the published ECMA 357 specification.
...
git-svn-id: svn://10.0.0.236/trunk@163724 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 07:34:13 +00:00
igor%mir2.org
73dc3f0a98
I added ContextFactory.createClassLoader that is called from Context.createClassLoader to remove the need to subclass Context if a custom ClassLoader is required.
...
git-svn-id: svn://10.0.0.236/trunk@163723 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 07:31:00 +00:00
igor%mir2.org
5646871a4f
Regression tests for Rhino bugs
...
git-svn-id: svn://10.0.0.236/trunk@163722 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 07:09:22 +00:00
igor%mir2.org
d3e04439c1
Test suite for E4X from AgileDelta Inc, http://agiledelta.com/ : see bug 251113
...
git-svn-id: svn://10.0.0.236/trunk@163674 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 21:35:32 +00:00
igor%mir2.org
a2960f5abb
Fixing https://bugzilla.mozilla.org/show_bug.cgi?id=258844#c25
...
git-svn-id: svn://10.0.0.236/trunk@163596 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-12 13:58:52 +00:00
jst%mozilla.jstenback.com
3314465c6e
Fixing bug 246892. Prevent crash in xpconnect code due to a scriptable plugins being deleted while calling through a scriptable method on the plugin. r=dbradley@gmail.com, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@163580 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-12 04:30:09 +00:00
shaver%mozilla.org
1f95d0d545
build bustage fix, how mortifying
...
git-svn-id: svn://10.0.0.236/trunk@163576 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-12 03:49:28 +00:00
shaver%mozilla.org
3e60d28c9f
Bug 262189: fix JS component loader's error reporting up to be less-often
...
useless. Also some warning fixes for gcc and quelling some
spew for myself. r+sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@163575 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-12 03:37:20 +00:00
brendan%mozilla.org
5302853512
Yet more JOF_DETECTING (259935, r=self).
...
git-svn-id: svn://10.0.0.236/trunk@163535 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 19:21:05 +00:00
igor%mir2.org
698ee68aeb
Removal of autowrapping of XmlObject as XML as it prevents to use full API of XmlObject in JS. Use XML(jsWrapOfXmObject) to get XML corresponding to XmlObject.
...
git-svn-id: svn://10.0.0.236/trunk@163509 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-10 22:54:01 +00:00
igor%mir2.org
bfe17a1027
Better information about continuation support
...
git-svn-id: svn://10.0.0.236/trunk@163508 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-10 22:51:10 +00:00
igor%mir2.org
4a51548fd5
Work on bug 258844: Continuation by default
...
git-svn-id: svn://10.0.0.236/trunk@163488 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 22:07:04 +00:00