Commit Graph

6821 Commits

Author SHA1 Message Date
mrbkap%gmail.com
b9b46b0f14 bug 302834: Components.utils.evalInSandbox should return the result of the given operations. Introduce a new Sandbox constructor to pass in as the second argument. Also bring the one use of evalInSandbox in the tree up to date with the new API. r=shaver/brendan 2005-08-25 16:38:58 +00:00
szegedia%freemail.hu
8eca3d00aa Fix for 305753: "NativeJavaMethod objects have incorrect parent when using parent scopes" 2005-08-25 08:44:40 +00:00
jst%mozilla.jstenback.com
186df31af2 Fixing bug 305528. Make XPCWrappedNative::GetWrappedNativeOfJSObject() attempt to find a wrapper using obj's outer object if it can't find one using obj. r=shaver@mozilla.org, sr=brendan@mozilla.org 2005-08-25 04:30:31 +00:00
brendan%mozilla.org
1ed0bc339f Restore lost for(i in null); compat (bug 292731, r=mrbkap). 2005-08-24 18:15:53 +00:00
bzbarsky%mit.edu
344d326ae4 Make sure all XPCWrappedNatives get their equality op called. Bug 305288, also
fixes bug 305421.  r+sr=jst
2005-08-23 23:01:37 +00:00
mrbkap%gmail.com
27d65f3d6e bug 305583: Toggle on the XML option, even if the script wasn't invoked with it when the XMLList constructor is used. r=brendan 2005-08-23 17:10:47 +00:00
mrbkap%gmail.com
f5f9a83b8e bug 280769: Clean up the whitespace in jsregexp.c in preparation for fixing large regexp crashes. Patch by Igor Bukanov <igor@mir2.org>. r/sr=mrbkap/brendan 2005-08-23 16:47:12 +00:00
mrbkap%gmail.com
23f130619e Fix stupid OOM leak. r+a=shaver (bug 305628) 2005-08-23 16:25:18 +00:00
mrbkap%gmail.com
228d38d67d bug 292731: Use the same optimization for with as we do for for-in; trying to fix the Tp loss caused by the removal of this optimization when we tried doing this the other way. r=brendan (on IRC) 2005-08-22 22:30:08 +00:00
brendan%mozilla.org
c4b1629671 Have to check this instanceof XML in natives after all (305335, r/sr=mrbkap/shaver, a=me). 2005-08-22 22:19:34 +00:00
mrbkap%gmail.com
11127076c8 bug 132949: fix some of the more egregious bugs in jsfile.c, this also cleans up some of the style nits, but is nowhere a complete patch. Use jsfile.c at your own risk! rs=shaver 2005-08-22 17:30:44 +00:00
mrbkap%gmail.com
4b96a2d85d bug 292731: be consistent in calling valueOf when using for-in. r=brendan 2005-08-22 17:09:53 +00:00
szegedia%freemail.hu
d6f90ca3f3 Fix for 305323: Rhino fails to select the appropriate overloaded method
This was due to a bug where code deviated from the section 3.3.6.1 of the LC3 specification. This commit makes the code compliant with the referenced spec section.
2005-08-21 13:29:32 +00:00
brendan%mozilla.org
10ffd02555 Put E4X-only stuff within #if JS_HAS_XML_SUPPORT. 2005-08-19 23:35:00 +00:00
brendan%mozilla.org
d843f56d76 Forgot this fix to the fix for 301956 -- wahhhh! 2005-08-19 23:29:58 +00:00
brendan%mozilla.org
2f04b441fc Patch to bug 305002 written by Hans-Andreas Engel <Hans-A.Engel@unibas.ch>. 2005-08-19 01:48:48 +00:00
brendan%mozilla.org
557ce72429 C++ auto-storage-class helpers for requests and local roots (needed for 301265 and other bugs). 2005-08-17 16:26:14 +00:00
dougt%meer.net
f80c96ae61 WinCE only. Disable opt for xpconnect. Did I mention that the windows ce optimizer blows? bug=304714. r=shaver, a=asa 2005-08-17 06:21:05 +00:00
timeless%mozdev.org
8b6b9351df Bug 303596 DEBUG_CheckClassInfoClaims should tolerate NS_ERROR_OUT_OF_MEMORY
r=jst sr=jst
2005-08-17 05:36:36 +00:00
timeless%mozdev.org
c8203fe0fd Bug 303521 !!! Object's nsIClassInfo lies about it's interfaces!!! s.b. "its"
r=jst sr=jst
2005-08-17 03:44:45 +00:00
mrbkap%gmail.com
36994cffde bug 289933: functions, RegExps, and Script objects should all be of type "function" for compatibility with older SpiderMonkeys and to more closely imitate ECMA. r=brendan 2005-08-16 21:40:55 +00:00
jst%mozilla.jstenback.com
1499e16a02 Fixing bug 301476. Make XPCNativeWrapper's checkAccess hook always forward to the wrapper's checkAccess hook, if it's got one. r=shaver@mozilla.org, sr=brendan@mozilla.org 2005-08-16 20:08:39 +00:00
bsmedberg%covad.net
f0d2e05a7e Bug 299992 (re-landing) - Move pldhash etc. into the xpcom glue, and centralize various instances of nsINIParser in the xpcom glue. Some files were cvscopied from xpcom/ds to xpcom/glue r=brendan/darin 2005-08-15 18:29:55 +00:00
nboyd%atg.com
3a2d85fe19 Doc changes for 1.6R2. 2005-08-15 02:43:50 +00:00
igor%mir2.org
12199852d5 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
1263f7496d Cosmetics: removal of end-of-line whitespace 2005-08-14 14:24:52 +00:00
timeless%mozdev.org
7a1fcd9d72 Bug 127760 - complete patch file for OpenUNIX and OpenServer ports
js patch
patch by kean@armory.com r=shaver
2005-08-12 23:39:46 +00:00
brendan%mozilla.org
a6ae68d5c6 Comment tweak I forgot to bug mrbkap about. 2005-08-12 22:57:40 +00:00
jst%mozilla.jstenback.com
e23ea875f3 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org 2005-08-12 04:11:00 +00:00
brendan%mozilla.org
8a7b609c4e Comment tweak, still avoids subjunctive but qualifies the crash case as fixed. 2005-08-12 03:32:29 +00:00
mrbkap%gmail.com
d4a97ba613 bug 304376: Fix hash table refcounting problem while recursively entering a marked object. r+a=brendan 2005-08-12 00:46:56 +00:00
bsmedberg%covad.net
8992fb4c7d Backout bug 299992 - too much odd platform-specific bustage 2005-08-11 22:07:08 +00:00
bsmedberg%covad.net
e9c48557e9 Bug 299992, the part before the actual work: move pldhash and the templatized hashtables into the glue (and drop the minor dependencies on NSPR), and centralize our various in-tree nsINIParser classes into the glue (does not affect the ones used for the various installers) r=brendan/darin a=chase/cbeard 2005-08-11 20:40:53 +00:00
igor%mir2.org
24fc203bfa Fixing smalljar target:
1. It includes jdk13 package to make the jar usable.
2. It excludes e4x classes as they are useless without xbean.jar and xbean
is several times bigger then the whole js.jar.
2005-08-11 08:42:14 +00:00
szegedia%freemail.hu
4a717e7f5a RFE 303572: access to underlying RhinoException in rethrown error objects 2005-08-08 08:49:09 +00:00
brendan%mozilla.org
b9b591601d Restore compatibility: allow function(){} at statement level, treating it as an expression statement (303723, r=shaver). 2005-08-08 06:54:59 +00:00
brendan%mozilla.org
de22c50452 Fix null ptr deref crash on shortid-bearing proto-property watch (303277, r=shaver). 2005-08-07 19:46:58 +00:00
igor%mir2.org
dca0a2a07a RefCallable is new member of public API 2005-08-07 10:05:47 +00:00
szegedia%freemail.hu
1ef1277ed4 A bit more descriptive error message -- states also what the object *is* instead of only telling it isn't a function. 2005-08-05 14:59:44 +00:00
nboyd%atg.com
a5ad20b1f7 Update some documentation references to versions to describe 1.6 and E4X. 2005-08-04 17:38:23 +00:00
timeless%mozdev.org
5726619847 Bug 303213 integer overflow in js
patch by mrbkap r=brendan a=brendan
2005-08-04 01:52:01 +00:00
timeless%mozdev.org
5df47986a3 Bug 303213 integer overflow in js
patch by brendan r=mrbkap a=brendan
2005-08-03 17:56:43 +00:00
timeless%mozdev.org
c77df217d1 Visual Age properly complained about C++ comments in a C file
fixing.
2005-08-02 18:46:14 +00:00
timeless%mozdev.org
0a5213fbe2 fixing some more 64bit non macro usage instances 2005-08-02 16:34:45 +00:00
timeless%mozdev.org
f6b3916b12 hoping that the build bustage is macro related 2005-08-02 16:12:27 +00:00
timeless%mozdev.org
d2b31f1255 Bug 281137 Add profiling column for functions excluding other functions running
jsd part
patch by silver@warwickcompsoc.co.uk r=shaver sr=dmose a=bsmedberg
2005-08-02 15:53:59 +00:00
igor%mir2.org
05eb249aed Fixing bug 298786: bad type inference caused infinite loop in the compiler. 2005-08-01 14:02:27 +00:00
igor%mir2.org
63eb7d49ba 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
c5deb378f3 Fix to make things compilable: getElemFunctionAndThis returns Callable, not Function nowdays. 2005-08-01 13:48:32 +00:00
igor%mir2.org
90ebe1bf30 Resolving bug 299613
New interface RefCallable simplifies implementation of function-call-as-rvalue
in Java code. In addition native objects is required to implemet only Callable
interface, not Function, to serve as target of () operator.
2005-07-31 14:27:36 +00:00