Commit Graph

6197 Commits

Author SHA1 Message Date
igor%mir2.org
b00883eb33 Test for bug 271545 2004-11-24 15:30:38 +00:00
igor%mir2.org
ae04809e92 I added DebuggableScript to javadoc list and fixed javadoc warnings about its documentation comments. 2004-11-24 10:38:40 +00:00
igor%mir2.org
14d93f1038 I added debug API to get names of parameters or variables from DebuggableScript. 2004-11-24 10:03:14 +00:00
darin%meer.net
6d8591d85f fixes bug 263360 "Make CallCreateInstance use NS_GetComponentManager instead of nonfrozen/deprecated nsComponentManager symbols" r=bsmedberg sr=dbaron 2004-11-23 20:53:38 +00:00
timeless%mozdev.org
d01dd1aa4c Bug 249782 Make Mozilla compile with Microsoft Visual Studio 2005
patch by sdwalker@myrealbox.com r=bryner
2004-11-23 19:34:02 +00:00
vladimir%pobox.com
38fa42a069 b=239969, xpcshell needs to compile scripts with sysprin, r=shaver 2004-11-23 05:38:59 +00:00
igor%mir2.org
3f2ace010a Removal of serialVersionUID which was not used correctly:
Rhino never claimed to support binary compatibility in the serialized objects and it is better to use the system generated ids always to catch errors about incompatible changes ASAP.
2004-11-22 13:23:03 +00:00
brendan%mozilla.org
c7ed3da614 In the Replace-calls-Insert case, where V is an XMLList, avoid creating holes and botching x.[[Length]] (246441 followup, rs=shaver). 2004-11-20 02:34:09 +00:00
igor%mir2.org
417113cf5f Preparations for Rhino 1.6R1 release 2004-11-19 13:27:45 +00:00
igor%mir2.org
9e7f27e3bf *** empty log message *** 2004-11-19 13:01:16 +00:00
igor%mir2.org
e1e0639343 Renaming DebugGui into SwingGui to better reflect GUI nature 2004-11-19 10:13:04 +00:00
igor%mir2.org
60acf60bc5 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
4b3a0cd41a 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 2004-11-17 16:48:57 +00:00
brendan%mozilla.org
428b8a8546 E4X, configured off, code-complete. 2004-11-17 07:43:01 +00:00
igor%mir2.org
5ae3dc38e0 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.
2004-11-10 23:13:04 +00:00
timeless%mozdev.org
d76959c6b9 Bug 207309 nsMemoryImpl::Alloc of 0: 'size' in jsdValue::GetProperties
r=shaver sr=shaver
2004-11-10 21:58:00 +00:00
darin%meer.net
950a78482d fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg 2004-11-07 23:59:35 +00:00
brendan%mozilla.org
9afb0af7ac Home sp before all OBJ_* call-outs (267797, r=shaver). 2004-11-05 23:16:37 +00:00
brendan%mozilla.org
04b24dd95c Skip deleted/misidentified properties in js_obj_toSource (233483, patch from shaver+timeless, r=me). 2004-11-04 01:52:28 +00:00
brendan%mozilla.org
ba19314393 Toggle JSFRAME_ASSIGNING around setter call from inc/dec ops (267216, r=shaver). 2004-11-03 22:54:50 +00:00
darin%meer.net
189ba5e5c4 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
igor%mir2.org
58aceb81d9 Implement specially NativeJavaObject.getDefaultValue for java.lang.Boolean to match the behavior of JS Boolean object. 2004-10-31 00:15:57 +00:00
igor%mir2.org
5e4041c8e1 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. 2004-10-31 00:12:25 +00:00
igor%mir2.org
20d9c33ab6 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
7dc40416b6 Fixing bug 266418: making RegExp serializable 2004-10-28 11:31:38 +00:00
igor%mir2.org
993454366a 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)
2004-10-25 15:44:24 +00:00
igor%mir2.org
5473ad4f8d Preparations for Rhino 1.6R1 RC3 2004-10-22 13:34:44 +00:00
igor%mir2.org
02b11dd425 Directory with external jars is renamed from jarlib to lib for consistency with other projects. 2004-10-22 12:36:36 +00:00
brendan%mozilla.org
c645710a9c Auto-mark parent if it's revised by PreCreate in XPCWrappedNative::GetNewOrUsed (264577, r=dbradley). 2004-10-22 07:49:29 +00:00
igor%mir2.org
0b2d78ab46 Fixing smalljar target implementation to include all the necessary classes and updating documentation about its usage. 2004-10-22 07:49:15 +00:00
brendan%mozilla.org
b2070d6d1f Checking in dbradley's patch for bug 265545 (r=jst, sr=me). 2004-10-22 07:29:44 +00:00
igor%mir2.org
f6bd49caa2 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. 2004-10-21 17:55:14 +00:00
brendan%mozilla.org
b6d69b2765 Fix HasFinalReturn to handle labeled statements (265042, r=self). 2004-10-20 02:16:36 +00:00
brendan%mozilla.org
1b5234b527 Home sp above right JSOP_IN operand to protect it from GC (264995, rs=shaver). 2004-10-19 01:45:44 +00:00
igor%mir2.org
b7a9e90d94 Patch from Attila Szegedi <szegedia@freemail.hu> to adress bug 264637 :
Reducing InterpretedFunction footprint
2004-10-17 14:18:19 +00:00
igor%mir2.org
15518a5ed7 Fixing bug 263978: for compatibility with BSF usage IllegalArgumentException is not thrown on negative line numbers. 2004-10-16 00:37:05 +00:00
igor%mir2.org
83c22ac592 For compatibility wrap numbers always as Double instances. 2004-10-15 20:41:01 +00:00
igor%mir2.org
952dd72170 Fixing initialization bug: Continuation.initImplementation() can be called with null arg! 2004-10-15 20:38:21 +00:00
igor%mir2.org
343070e937 Compatibility with Rhino+Continuations fork: Continuation class is moved to continuations package. 2004-10-15 20:33:45 +00:00
igor%mir2.org
ab4159c06b Compatiblility with Rhno+Continuations fork: added Main.setSize(Dimension) 2004-10-15 20:06:22 +00:00
igor%mir2.org
326fb69d8a For compatibility with Rhino+Continuations fork Continuation is made public 2004-10-15 19:59:55 +00:00
igor%mir2.org
7a7538ee75 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
c12fda22c3 New public API Context.getDebuggableView to extract DebuggableScript implementation. 2004-10-15 18:27:38 +00:00
igor%mir2.org
ff04252f2e *** empty log message *** 2004-10-15 13:33:02 +00:00
igor%mir2.org
011d77d870 Compatibility with Cocoon and its usage of Rhino debugger. 2004-10-14 09:15:19 +00:00
igor%mir2.org
0c713dd810 Added GeneratedClassLoader 2004-10-14 07:34:54 +00:00
igor%mir2.org
4edb63b66a Changing (XML|XMLList).(propertyIsEnumeratable|attribute|child) to confirm to the published ECMA 357 specification. 2004-10-14 07:34:13 +00:00
igor%mir2.org
907a84e3c8 I added ContextFactory.createClassLoader that is called from Context.createClassLoader to remove the need to subclass Context if a custom ClassLoader is required. 2004-10-14 07:31:00 +00:00
igor%mir2.org
d066ea04be Regression tests for Rhino bugs 2004-10-14 07:09:22 +00:00
igor%mir2.org
a18c7f63d5 Test suite for E4X from AgileDelta Inc, http://agiledelta.com/ : see bug 251113 2004-10-13 21:35:32 +00:00