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

6183 Коммитов

Автор SHA1 Сообщение Дата
igor%mir2.org d41bf7368b 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 7a24eb76d8 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 f94aa8151e fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg 2004-11-07 23:59:35 +00:00
brendan%mozilla.org 6aee612a2b Home sp before all OBJ_* call-outs (267797, r=shaver). 2004-11-05 23:16:37 +00:00
brendan%mozilla.org 74dbb040ac 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 1a2d34d09e Toggle JSFRAME_ASSIGNING around setter call from inc/dec ops (267216, r=shaver). 2004-11-03 22:54:50 +00:00
darin%meer.net 96c79cea45 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
igor%mir2.org e8651af27d 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 93d3069419 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 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 50027bc3ad Fixing bug 266418: making RegExp serializable 2004-10-28 11:31:38 +00:00
igor%mir2.org 3f5b0b9d22 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 6449692d51 Preparations for Rhino 1.6R1 RC3 2004-10-22 13:34:44 +00:00
igor%mir2.org e68a272765 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 5248f09cb7 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 bb9a8bf35e 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 ab877fd889 Checking in dbradley's patch for bug 265545 (r=jst, sr=me). 2004-10-22 07:29:44 +00:00
igor%mir2.org 7e0e605b99 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 2ad87c0fa8 Fix HasFinalReturn to handle labeled statements (265042, r=self). 2004-10-20 02:16:36 +00:00
brendan%mozilla.org 0fed5cd084 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 bf7c485bb4 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 c67a443fc9 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 ab9a876cd8 For compatibility wrap numbers always as Double instances. 2004-10-15 20:41:01 +00:00
igor%mir2.org 3bf7dc7d59 Fixing initialization bug: Continuation.initImplementation() can be called with null arg! 2004-10-15 20:38:21 +00:00
igor%mir2.org f61aa46b59 Compatibility with Rhino+Continuations fork: Continuation class is moved to continuations package. 2004-10-15 20:33:45 +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 e95400f9d9 For compatibility with Rhino+Continuations fork Continuation is made public 2004-10-15 19:59:55 +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 014c2a7140 New public API Context.getDebuggableView to extract DebuggableScript implementation. 2004-10-15 18:27:38 +00:00
igor%mir2.org f6e7b51ba2 *** empty log message *** 2004-10-15 13:33:02 +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 90de2b091f Added GeneratedClassLoader 2004-10-14 07:34:54 +00:00
igor%mir2.org effa03602d 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 79994fc900 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 1f731ff554 Regression tests for Rhino bugs 2004-10-14 07:09:22 +00:00
igor%mir2.org 7abc4eb855 Test suite for E4X from AgileDelta Inc, http://agiledelta.com/ : see bug 251113 2004-10-13 21:35:32 +00:00
igor%mir2.org bf18aea97b Fixing https://bugzilla.mozilla.org/show_bug.cgi?id=258844#c25 2004-10-12 13:58:52 +00:00
jst%mozilla.jstenback.com 0e6e277e45 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 2004-10-12 04:30:09 +00:00
shaver%mozilla.org 08eea60ca0 build bustage fix, how mortifying 2004-10-12 03:49:28 +00:00
shaver%mozilla.org 1b352a64d6 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.
2004-10-12 03:37:20 +00:00
brendan%mozilla.org c616097e20 Yet more JOF_DETECTING (259935, r=self). 2004-10-11 19:21:05 +00:00
igor%mir2.org 648f936a6c 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. 2004-10-10 22:54:01 +00:00
igor%mir2.org c5134974b1 Better information about continuation support 2004-10-10 22:51:10 +00:00
igor%mir2.org 6ecac9b8be Work on bug 258844: Continuation by default 2004-10-09 22:07:04 +00:00
brendan%mozilla.org f19769983d Fix E4X bustage where object property ids aren't converted to strings (263258, r=self). 2004-10-09 02:22:23 +00:00
igor%mir2.org bf3840028d Implementing Wrapper interface in XML to unwrap to XmlObject and back 2004-10-08 21:04:41 +00:00
igor%mir2.org 4acd4d04e2 Changing the license to NPL/GPL duo for consistency with the rest of the sources:
-------- Original Message --------
Subject: RE: www.mozilla.org/rhino: NPL license Messages_fr.properties?
Date: Fri, 8 Oct 2004 13:52:39 -0400
From: Aresteanu, Eugene <eugenea@avivasolutions.com>
To: 'Igor Bukanov' <igor@fastmail.fm>

	Hi Igor,
	Yes, I agree,
	Eugene Aresteanu


Do you agree to change the license as expressed in the license header
for the file:

mozilla/js/rhino/src/org/mozilla/javascript/resources/Messages_fr.properties

located at cvs.mozilla.org:/cvsroot to the following text:

#
# French JavaScript messages file.
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Aviva Inc. code, released March 5, 2004.
#
# The Initial Developer of the Original Code is Aviva Inc.
# Portions created by Aviva Inc. are Copyright (C) 2004 Aviva Inc.
# All Rights Reserved.
#
# Contributor(s):
# Eugene Aresteanu
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU Public License (the "GPL"), in which case the
# provisions of the GPL are applicable instead of those above.
# If you wish to allow use of your version of this file only
# under the terms of the GPL and not to allow others to use your
# version of this file under the NPL, indicate your decision by
# deleting the provisions above and replace them with the notice
# and other provisions required by the GPL.  If you do not delete
# the provisions above, a recipient may use your version of this
# file under either the NPL or the GPL.


The change shall apply only to CVS HEAD version of the file.
2004-10-08 21:02:47 +00:00
igor%mir2.org c5c5ad4255 License change to NPL 1.1/GPL duo for consistency with the rest of Rhino:
-------- Original Message --------
Subject: Re: www.mozilla.org/rhino: Changing the license for Delegator
Date: Fri, 08 Oct 2004 16:08:01 +0100
From: Matthias Radestock <matthias@sorted.org>
To: Igor Bukanov <igor@fastmail.fm>
References: <41668055.2050404@fastmail.fm> <4166830A.3010900@sorted.org> <4166AD80.6070806@fastmail.fm>

Igor Bukanov wrote:

> Thanks, I would like to change the license header from the current:
>
> /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset:
> 4 -*-
>  * The contents of this file are subject to the Mozilla Public License
>  * Version 1.1 (the "License"); you may not use this file except in
>  * compliance with the License. You may obtain a copy of the License at
>  * http://www.mozilla.org/MPL/
>  *
>  * Software distributed under the License is distributed on an "AS IS"
>  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
>  * License for the specific language governing rights and limitations
>  * under the License.
>  *
>  * The Original Code is Delegator.java, released Sep 27, 2000.
>  *
>  * The Initial Developer of the Original Code is Matthias Radestock.
>  * <matthias@sorted.org>. Portions created by Matthias Radestock are
>  * Copyright (C) 2000 Matthias Radestock. All Rights Reserved.
>  *
>  * Contributor(s):
>  *      Redfig Ltd (http://www.redfig.com)
>  *      LShift Ltd (http://www.lshift.net)
>  *
>  * Alternatively, the contents of this file may be used under the terms
>  * of the GNU Public License (the  "GPL License"), in which case the
>  * provisions of the GPL License are applicable instead of those
>  * above.  If you wish to allow use of your version of this file only
>  * under the terms of the GPL License and not to allow others to use
>  * your version of this file under the MPL, indicate your decision by
>  * deleting  the provisions above and replace  them with the notice and
>  * other provisions required by the GPL License.  If you do not delete
>  * the provisions above, a recipient may use your version of this file
>  * under either the MPL or the GPL License.
>  */
>
>
> to the following one:
>
>
> /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset:
> 4 -*-
>  *
>  * The contents of this file are subject to the Netscape Public
>  * License Version 1.1 (the "License"); you may not use this file
>  * except in compliance with the License. You may obtain a copy of
>  * the License at http://www.mozilla.org/NPL/
>  *
>  * Software distributed under the License is distributed on an "AS
>  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
>  * implied. See the License for the specific language governing
>  * rights and limitations under the License.
>  *
>  * The Original Code is Delegator.java, released Sep 27, 2000.
>  *
>  * The Initial Developer of the Original Code is Matthias Radestock.
>  * <matthias@sorted.org>. Portions created by Matthias Radestock are
>  * Copyright (C) 2000 Matthias Radestock. All Rights Reserved.
>  *
>  * Contributor(s):
>  *
>  * Matthias Radestock, Redfig Ltd (http://www.redfig.com)
>  * Matthias Radestock, LShift Ltd (http://www.lshift.net)
>  *
>  * Alternatively, the contents of this file may be used under the
>  * terms of the GNU Public License (the "GPL"), in which case the
>  * provisions of the GPL are applicable instead of those above.
>  * If you wish to allow use of your version of this file only
>  * under the terms of the GPL and not to allow others to use your
>  * version of this file under the NPL, indicate your decision by
>  * deleting the provisions above and replace them with the notice
>  * and other provisions required by the GPL.  If you do not delete
>  * the provisions above, a recipient may use your version of this
>  * file under either the NPL or the GPL.
>  */
>
>
>
> Note that the new version replaces:
>
>  * Contributor(s):
>  *      Redfig Ltd (http://www.redfig.com)
>  *      LShift Ltd (http://www.lshift.net)
>
> by the following text:
>
>  * Contributor(s):
>  *
>  * Matthias Radestock, Redfig Ltd (http://www.redfig.com)
>  * Matthias Radestock, LShift Ltd (http://www.lshift.net)
>
> since Contributors section should contain at lease the name of the
> person contributing.
>
> If it is Ok, then I need your authorisation to perform such license
> change for the following files:
>
> mozilla/js/rhino/src/org/mozilla/javascript/Delegator.java
> mozilla/js/rhino/src/org/mozilla/javascript/.java
>
> located at the CVS repository at cvs.mozilla.org:/cvsroot
>
> The license change shall apply only to the CVS HEAD version of the files.
>

Igor,

that's all fine. Go ahead and make the changes.


Matthias.
2004-10-08 15:20:04 +00:00
brendan%mozilla.org 467e1b9d62 Instrument allocation a bit, DEBUG_brendan or METERING only change. 2004-10-06 21:03:35 +00:00
brendan%mozilla.org 577ee95cc0 Better XML string exclusion, plus js_default_str, based on codesighs (followup to 246441). 2004-10-05 16:57:13 +00:00