brendan%mozilla.org
c77919f477
Use non-greedy closure to match C-style comments.
2005-07-01 23:00:35 +00:00
brendan%mozilla.org
1056b77193
Never mind\!
2005-07-01 20:48:23 +00:00
timeless%mozdev.org
b27d75c5b3
Bug 283532 OOM crash [@ jsdValue::GetProperties]
...
patch by b.jacques@planet.nl r=rginda sr=brendan a=brendan
2005-07-01 05:12:47 +00:00
brendan%mozilla.org
ed977a6937
Nits picked for 294893 (thanks to bz for reminding me).
2005-07-01 04:45:11 +00:00
brendan%mozilla.org
0bf52e2a82
Disallow anonymous functions in declaration or statement context (299209, r=shaver).
2005-06-30 20:48:15 +00:00
timeless%mozdev.org
ce7b74ef9d
Bug 283534 OOM crash [@ xpcarraytest]
...
patch by b.jacques@planet.nl r=shaver sr=shaver a=bsmedberg
2005-06-30 20:37:11 +00:00
brendan%mozilla.org
a48f461e71
Add function statements, an ECMA Ed. 3 extension supported by SpiderMonkey.
2005-06-30 18:16:19 +00:00
shaver%mozilla.org
961cdf5d4a
Bug 296374: patch from jag@tty.nl to fix mingw/vc2005 bustage from initial
...
landing, r+a=me.
2005-06-30 11:46:15 +00:00
bob%bclary.com
27eed313df
anonymous function expression statement => JS stack overflow, bug 299209. Test by Paul Kurczaba
2005-06-30 07:00:34 +00:00
shaver%mozilla.org
882c624213
Bug 296374: move evalInSandbox, reportError, lookupMethod to new Components.util
...
object, with deprecation-warning forwarding for rE and lM.
r=caillon,dbradley,bsmedberg;a=bsmedberg.
2005-06-29 14:23:03 +00:00
mconnor%steelgryphon.com
ce0b3225cc
bug 298478 - Downloads fail with ...could not be saved, patch by jst, r=shaver, sr=dveditz, a=drivers
2005-06-28 15:21:31 +00:00
bob%bclary.com
ddcdfdf50e
Modify js/tests/js1_2/function/Function_object.js, js/tests/js1_2/function/tostring-1.js, js/tests/js1_2/function/tostring-2.js, js/tests/js1_5/Regress/regress-245795.js, js/tests/js1_5/Regress/regress-252892.js to remove expectation of leading and trailing newline in Function.prototype.toString. bug 111816
2005-06-27 15:16:45 +00:00
igor%mir2.org
01a323d63b
1. Added ContextFactory.getApplicationClassLoader()/initApplicationClassLoader() for simpler class loader customization.
...
2. Context.getApplicationClassLoader() now uses ContextFactory.getApplicationClassLoader() and also tries ContextFactory subclass as the last resort of loader guessing.
2005-06-26 22:57:31 +00:00
igor%mir2.org
58ff31852c
Added XML and XMLList to the exclusion list
2005-06-26 22:51:49 +00:00
igor%mir2.org
05ee41a100
Fix for bug 290034: JavaScriptException should not be wrapped inside
...
Context.throwAsScriptRuntimeEx
2005-06-26 21:32:42 +00:00
igor%mir2.org
bdb00e047c
When printing parse tree for debugging, include node number with target printout
2005-06-24 10:43:44 +00:00
igor%mir2.org
13233ef373
Optimezer-only token are moved back to Token for simpler debugging.
2005-06-24 09:40:09 +00:00
igor%mir2.org
d073a92808
Patch from Attila Szegedi <szegedia@freemail.hu> based on the suggestion from Grzegorz Lukasik <hauserx@gmail.com> to fix bug 292324 "ArrayIndexOutOfBoundsException while compiling a script".
2005-06-24 09:10:52 +00:00
igor%mir2.org
64b4cfb128
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
mrbkap%gmail.com
966ac14026
bug 111816: Function.prototype.toString returns extra newlines. Moving the newlines into Decompile to preserve the output of new Script().toString(). r=shaver sr+a=brendan
2005-06-23 16:30:25 +00:00
timeless%mozdev.org
a35050a495
Bug 280234 [FIX]sometimes get ###!!! ASSERTION: tearoff not empty in dtor: '!(GetInterface()||GetNative()||GetJSObject())'
...
patch by bz r=dbradley sr=brendan a=brendan
2005-06-23 08:46:49 +00:00
dougt%meer.net
bb996c225a
Removing CheckStackGrowthDirection. bug 242518. r=brendan, a=brendan
2005-06-21 21:51:17 +00:00
brendan%mozilla.org
3b5174c57b
Use runtime-wide access check hook as a default per-object (296397, r=shaver, sr=jst, a=drivers).
2005-06-21 21:31:26 +00:00
mrbkap%gmail.com
83e97bb062
bug 173067: Fix unterminated character class error messages to use flat (single byte) strings instead of wide ones, so that the whole class is output, and not just the first character. r+a=brendan
2005-06-20 23:43:56 +00:00
mrbkap%gmail.com
d3e58ac1b9
Remove tabs introduced by my checkin for bug 287630. rs+a=brendan
2005-06-20 19:07:30 +00:00
brendan%mozilla.org
87cc0aac8c
Fast followup to last patch: use 2, not 1.5, as base for exponential growth (note ida->length >= 8, so no need to JS_MAX here).
2005-06-19 15:53:31 +00:00
brendan%mozilla.org
79482a270b
Fix transition from 0 length JSIdArray bug, and old over-allocating loop body order bug in JS_Enumerate to boot (r=bryner).
2005-06-19 07:26:20 +00:00
brendan%mozilla.org
1d9499a537
After > 10 years, fix the mistake whereby scripted-functions compiled from native code lack the enumerate flag (292953, r=shaver).
2005-06-18 01:13:46 +00:00
mrbkap%gmail.com
34922691ff
bug 287630: When using an empty capturing regexp, String.prototype.split() appends an extra element to the result. r+a=brendan
2005-06-17 16:25:51 +00:00
brendan%mozilla.org
6847e0863b
js/src part of 2nd patch for 292903, r+sr=bryner/jst.
2005-06-16 21:43:15 +00:00
brendan%mozilla.org
afe2ea2ef9
Fix regression from 292903's first patch, which results in JS_DEFAULT_XML_NAMESPACE_ID being enumerated! Thanks to bc for noticing.
2005-06-16 20:27:11 +00:00
brendan%mozilla.org
fb36f6a978
Add JS_EnumerateResolvedStandardClasses, and fix a few lazy-standard-class-init glitches hindering it (292903, r=shaver, a=me).
2005-06-16 04:24:03 +00:00
brendan%mozilla.org
c94de75fa6
Fix dumb copy-paste bug jst pointed out, whose symptom bz reported (r+sr=jst, a=me).
2005-06-15 16:42:31 +00:00
nboyd%atg.com
82274cd041
Add Magoo Software.
2005-06-15 16:12:35 +00:00
dbaron%dbaron.org
ab8827c68d
Fix releasing of nsISupportsWeakReference wrapped JS objects so it doesn't crash when we do multiple iterations of JS GC. b=292027 r=jst sr=brendan a=brendan
2005-06-15 00:23:32 +00:00
dbaron%dbaron.org
b07af11b3c
I only want part of DEBUG_xpc_hacker; fix spelling. b=292027 r=jst sr=brendan a=brendan
2005-06-15 00:21:26 +00:00
bob%bclary.com
1dadf9ec31
function local variables should not be enumerable properties of the function object, bug 293782, by Jonathan Watt
2005-06-14 16:49:49 +00:00
brendan%mozilla.org
fef2910df9
Forgot to remove JSPROP_ENUMERATE in one case for bug 293782 (thanks to jwatt for catching this).
2005-06-14 16:20:27 +00:00
brendan%mozilla.org
0efbaf9c4b
One more followup fix: __defineProperty__ should probably be global.
2005-06-12 18:45:53 +00:00
brendan%mozilla.org
241e1ec5d6
Followup to last checkin to delete constructor from Activation.prototype.
2005-06-12 18:28:33 +00:00
brendan%mozilla.org
9c322522a7
Mirror fix for bug 290774 from SpiderMonkey to Narcissus.
2005-06-12 16:08:21 +00:00
brendan%mozilla.org
578a39586d
Better fix for 296397 (r=shaver, sr=jst).
2005-06-11 01:33:44 +00:00
bob%bclary.com
4bde75c512
remove keyword tests from spidermonkey-n.tests, add options('strict', 'werror') to force exceptions.
2005-06-10 05:22:15 +00:00
brendan%mozilla.org
977bf3bd87
Remove JSPROP_ENUMERATE from function args/vars hidden property attributes (followup for 293782).
2005-06-09 23:45:54 +00:00
brendan%mozilla.org
8f58079aeb
Check access when accessing function and regexp __proto__, etc. (296397, r=shaver, a=me).
2005-06-09 01:02:36 +00:00
brendan%mozilla.org
f1cb388901
Followup fix for 255555 (r=mrbkap, a=me).
2005-06-08 18:08:53 +00:00
mrbkap%gmail.com
fdbe109b8c
bug 255555: undefined and missing values are passed to Array.sort()'s comparison function. r+a=brendan
2005-06-08 16:38:38 +00:00
bob%bclary.com
8799ec01e3
XML.setNamespace() should affect in-scope namespaces, per brendan. No bug, not part of build.
2005-06-08 05:03:12 +00:00
bob%bclary.com
7fe03798c2
remove extra newline which breaks mklistpage.pl, no bug, not part of build
2005-06-08 04:57:33 +00:00
bob%bclary.com
e3dd16e961
add invalid test e4x/Regress/regress-278112.js to spidermonkey-n.tests, rhino-n.tests
2005-06-08 04:39:06 +00:00