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

8639 Коммитов

Автор SHA1 Сообщение Дата
gavin%gavinsharp.com 5ebeb98ba2 Un-back out the patch from bug 354392, since it didn't help with the mac orange (original patch by Brian Crowder <crowder@fiverocks.com>, r=brendan) 2006-10-04 04:40:18 +00:00
gavin%gavinsharp.com e6854bd991 Back out the patch from bug 354392 to rule it out as a cause of the Mac tinderbox bustage 2006-10-03 23:59:55 +00:00
igor.bukanov%gmail.com 4110184be5 Fix for warning about missed __iterator__. bug=355145 r=brendan 2006-10-03 22:47:23 +00:00
bclary%bclary.com 5aac116800 JavaScript Test - regression test for bug 355105, by Jesse Ruderman 2006-10-03 09:10:49 +00:00
bclary%bclary.com 70296f31d5 JavaScript Test - remove duplicate test, fix bad paste and catch run time error in tests for bug 346642 2006-10-03 06:40:03 +00:00
bclary%bclary.com 0bd3d48b6e JavaScript Test - move regression test for bug 355002 from js1_5 to js1_6 and modifiy to catch syntax error 2006-10-03 05:58:28 +00:00
brendan%mozilla.org 46d07affa7 Adjust assertion to cope with empty destructuring (355105, r=me). 2006-10-02 16:37:46 +00:00
bclary%bclary.com d3ebbd1200 JavaScript Test - tweak decompilation, bug 352202 2006-10-02 10:18:38 +00:00
bclary%bclary.com cbce000cb5 JavaScript Tests - tweak success reporting, change comparison on source, no bug, not part of the build 2006-10-02 10:14:47 +00:00
bclary%bclary.com 5af324f5b1 JavaScript Test - regression test for bug 355101, by Jesse Ruderman 2006-10-02 10:05:19 +00:00
bclary%bclary.com f9816f883f JavaScript Test - regression test for bug 355075, by Serge Gautherie, Igor Bukanov 2006-10-02 09:12:15 +00:00
bclary%bclary.com 4ebedaa676 JavaScript Test - regression test for bug 355090, by Jesse Ruderman 2006-10-02 07:37:50 +00:00
brendan%mozilla.org 7eb7f65a23 Fix 355101, r=self. 2006-10-02 07:08:11 +00:00
brendan%mozilla.org 57bedd8eb8 Fix 355075, r=igor. 2006-10-02 01:29:57 +00:00
brendan%mozilla.org 8a305bf873 Fix 355052, r=igor. 2006-10-02 01:06:44 +00:00
bclary%bclary.com c2360b750a JavaScript Test - regression test for bug 355002, by Jesse Ruderman 2006-10-01 23:29:56 +00:00
bclary%bclary.com 6602e9bd3e JavaScript Test - regression test for bgug 355004, by Jesse Ruderman 2006-10-01 23:12:01 +00:00
bclary%bclary.com 204cfb5fa9 JavaScript Test - regression test for bug 354878, by Jesse Ruderman 2006-10-01 20:45:27 +00:00
bclary%bclary.com fefcecfd50 JavaScript Test - the one true decompilation of an empty destructuring initialiser, bug 346642 2006-10-01 20:05:12 +00:00
bclary%bclary.com c2c7401401 JavaScript Test - enclose statement in function definition, bug 351606 2006-10-01 19:52:04 +00:00
igor.bukanov%gmail.com 85cce3b970 JS_PUSH_TEMP_ROOT_OBJECT now works as expected. bug=355029 r=brendan 2006-10-01 18:41:07 +00:00
igor.bukanov%gmail.com a7364d8c3d Now Iterator(obj) works again. bug=355025 r=brendan 2006-10-01 18:01:21 +00:00
brendan%mozilla.org d2ec14868b Fix holes-in-destructuring-array-patterns bug from hell (355004, tr=jesse). 2006-10-01 08:11:23 +00:00
brendan%mozilla.org cacc2ed2e5 Fix 355002. 2006-10-01 05:26:56 +00:00
igor.bukanov%gmail.com b6d7c7537d new Iterator() always constructs the default iterator. bug=354945 r=brendan 2006-10-01 00:17:15 +00:00
brendan%mozilla.org a51899eb85 Don't enforce [k,v] pattern restriction if destructuring for-each (346642). 2006-09-30 23:53:20 +00:00
brendan%mozilla.org bd81f3641b Igor's v2 patch for 354750, r=me. 2006-09-30 21:35:12 +00:00
brendan%mozilla.org b741fffb6d Alterna-fix for bug 354750, r=igor. 2006-09-30 21:06:01 +00:00
brendan%mozilla.org 3cf1933328 Fix 354924, r=igor. 2006-09-30 19:52:48 +00:00
brendan%mozilla.org 8b074b510e Fix 353249, r=igor. 2006-09-30 19:37:10 +00:00
bclary%bclary.com 05b22ec2b7 JavaScript Tests - regression tests for bug 346642, by Jesse Ruderman, Brendan Eich 2006-09-30 13:04:48 +00:00
bclary%bclary.com b02bee621f JavaScript Test - regression test for bug 354910, by Jesse Ruderman 2006-09-30 09:48:41 +00:00
brendan%mozilla.org 8ec80f5a1e Destructuring decompilation (346642, anticipating r=mrbkap). 2006-09-30 06:46:56 +00:00
bclary%bclary.com 371740e7c5 JavaScript Tests - list slow running tests, bug 354923 2006-09-30 06:40:43 +00:00
bclary%bclary.com ea08355d55 JavaScript Test - add additional diagnostic messages, bug 338756 2006-09-30 05:44:46 +00:00
gavin%gavinsharp.com 51bbd19cc3 Bug 354392: Refreshing a page while using ActiveState's JavaScript debugger often results in a Firefox crash [@ js_DecompileScript], patch by Brian Crowder <crowder@fiverocks.com>, r=brendan 2006-09-30 00:43:52 +00:00
bclary%bclary.com 2c3727bda3 JavaScript Test - regression test for bug 354541, by Reto Laemmler, Brendan Eich 2006-09-29 10:28:36 +00:00
brendan%mozilla.org 0dde0a841a Fix js_LookupCompileTimeConstant to look for hidden properties only on function objects (354541, r=igor). 2006-09-28 19:31:33 +00:00
szegedia%freemail.hu af293f69d0 Fixed line endings 2006-09-27 08:52:46 +00:00
szegedia%freemail.hu db04359b6e Clarifying docs 2006-09-27 08:09:50 +00:00
szegedia%freemail.hu 7f74759bd6 Avoiding double evaluation of an expression 2006-09-27 08:09:11 +00:00
dbaron%dbaron.org 0b93f5edc1 Fix brendan's bracing nit. b=353704 2006-09-27 00:55:03 +00:00
dbaron%dbaron.org d680403510 Fix error in my previous patch, caught by brendan. r+sr=jst b=353704 2006-09-27 00:40:20 +00:00
igor.bukanov%gmail.com f1055ce61a Re-factoring namespace-access methods to use XMLArrays, not JS Array instances for temporaries for faster and smaller code. bug=354151 r=brendan 2006-09-26 20:58:32 +00:00
szegedia%freemail.hu ad2bba6580 Fix for #353300 2006-09-26 12:48:46 +00:00
szegedia%freemail.hu b3df4c81ca Fix for #352319: only walking the scope parent chain when restarting a continuation 2006-09-26 11:42:34 +00:00
szegedia%freemail.hu 2647ce8b50 Fix for #352319: ability to restart a continuation from a catch or with block 2006-09-26 11:38:25 +00:00
bclary%bclary.com c2c5a7fd12 JavaScript Tests - eliminate NL(), bug 353998 2006-09-24 22:00:35 +00:00
bzbarsky%mit.edu b1dc13ba20 Fix build bustage. Bug 311582 2006-09-24 17:14:17 +00:00
bzbarsky%mit.edu 36be80db98 Don't copy the string data from mJSVal, since we're just going to keep the
JSString alive.  Bug 311582, r=jst, sr=brendan
2006-09-24 16:44:51 +00:00
jst%mozilla.jstenback.com 3961fcdb53 Fixing bug 351370. Make javascript: URLs evaluate in a sandbox when principals don't match. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu. 2006-09-23 17:06:58 +00:00
dbaron%dbaron.org 5b317ad4a3 Mark and handle collection of mPrototypeJSFunction just like mPrototypeJSObject is already handled. b=353704 r+sr=jst 2006-09-23 08:08:03 +00:00
bclary%bclary.com 1ce78481a6 JavaScript Test - regression test for bug 353454, by Jesse Ruderman 2006-09-21 08:25:41 +00:00
brendan%mozilla.org a9ef38f3cf Fix 353454, r=mrbkap. 2006-09-21 00:46:05 +00:00
bzbarsky%mit.edu 176797b10b Back out patch from bug 311582 to fix bug 353505. 2006-09-20 22:34:34 +00:00
timeless%mozdev.org 90f73dd559 Bug 351487 RegExp: Branch-callback checking could be made slightly more optimal
patch by crowder@fiverocks.com r=mrbkap
2006-09-20 18:26:31 +00:00
bclary%bclary.com 9f9af171e8 JavaScript Test - test destructuring assignment order, bug 349937, by Jeff Walden 2006-09-20 16:27:46 +00:00
igor.bukanov%gmail.com 1c9e643f66 Allow to compile and run SM when !JS_HAS_GENERATORS. bug=347065 r=brendan 2006-09-20 14:50:43 +00:00
igor.bukanov%gmail.com e56274f840 JS_VERSION_IS_ECMA is removed as always-true-macro since SpiderMonkey no longer supports any version less than JavaScript1.5 bug=353315 r=brendan 2006-09-20 10:09:28 +00:00
bclary%bclary.com 8cf00ad12e JavaScript Test - remove var declaration in test #2 to fix scope, bug 351503 2006-09-20 03:44:18 +00:00
bzbarsky%mit.edu 1a62ade4e7 Don't bother spending time to root the jsval if it's a string -- in this case
we make a copy of the string data anyway, so we don't need the jsval.  Bug
311582, r+sr=jst
2006-09-20 01:21:25 +00:00
igor.bukanov%gmail.com cf45aae705 fix for bug=353165, r=brendan 2006-09-19 21:13:36 +00:00
brendan%mozilla.org 3612d8cef4 Fix 239126, r=mrbkap. 2006-09-19 19:23:18 +00:00
pedemont%us.ibm.com a539bef51f Bug 352064 - Error finalizing JS objects causes LiveConnect crash. patch by smichaud, r=jhpedemonte, sr=brendan. 2006-09-19 18:56:49 +00:00
bclary%bclary.com a4a1d28d69 JavaScript Test - regression test for bug 351503, by Jesse Ruderman 2006-09-19 12:17:46 +00:00
bclary%bclary.com 49bd16307e JavaScript Test - regression test for bug 352008, by Jesse Ruderman 2006-09-19 11:35:27 +00:00
bclary%bclary.com b8cd55e728 JavaScript Test - regression test for bug 352609, by Jesse Ruderman 2006-09-19 11:19:41 +00:00
bclary%bclary.com 9dadcb5f0a JavaScript Test - regression test for bug 352163, by Jesse Ruderman 2006-09-19 11:01:15 +00:00
bclary%bclary.com 7459ddef55 JavaScript Test - regression test for bug 352649, by Jesse Ruderman 2006-09-19 10:45:46 +00:00
bclary%bclary.com 9261aa6609 JavaScript Test - regression test for bug 352873, by Jesse Ruderman 2006-09-19 10:36:11 +00:00
bclary%bclary.com 45882f6fa5 JavaScript Test - regression test for bug 352885, by Igor Bukanov 2006-09-19 10:24:43 +00:00
bclary%bclary.com 03b32b2adc JavaScript Test - fix bug number in regression test for bug 353000, by Jesse Ruderman 2006-09-19 10:17:18 +00:00
bclary%bclary.com 86814a9aef JavaScript Test - regression test for bug 353000, by Jesse Ruderman 2006-09-19 10:04:42 +00:00
bclary%bclary.com efe5172b73 JavaScript Test - regression test for bug 353120, by Jesse Ruderman 2006-09-19 09:49:23 +00:00
igor.bukanov%gmail.com 03e8575213 making sure thta TryMethod deals xml objects properly. bug=352846 r=brendan 2006-09-19 06:48:25 +00:00
brendan%mozilla.org 1c4c5a55d9 Prep patch for 'plan A' (346642, r=mrbkap). 2006-09-18 11:04:30 +00:00
brendan%mozilla.org e9b3e20441 Checking in for crowder@fiverocks.com: fix debugger API regression due to JS_THREADED_INTERP (351021, r=me). 2006-09-17 21:04:52 +00:00
timeless%mozdev.org 11532e2f4a Bug 280236 coercing an array containing an nsXPCConstructor to a string results in an uncatchable error
thanks to bent.mozilla@gmail.com and aus@noiseport.org for help pushing this along
r=jst sr=jst

bad merge
2006-09-17 03:26:52 +00:00
timeless%mozdev.org 7c716485ba Bug 280236 coercing an array containing an nsXPCConstructor to a string results in an uncatchable error
thanks to bent.mozilla@gmail.com and aus@noiseport.org for help pushing this along
r=jst sr=jst
2006-09-17 03:14:43 +00:00
nboyd%atg.com 24a54dca0f Refer to 1.6R4. 2006-09-16 22:49:38 +00:00
nboyd%atg.com 5779fba96b Update for later changes in BSF. Text provided by Rony G. Flatscher.
Fix bug 353002.
2006-09-16 22:44:06 +00:00
brendan%mozilla.org b08d57ee6b Fix 352873, r=igor/mrbkap. 2006-09-16 18:50:56 +00:00
brendan%mozilla.org f2fae1af53 Short-term fix from Brian Crowder <crowder@fiverocks.com> for bug 348836, r=me. 2006-09-16 16:08:29 +00:00
brendan%mozilla.org 05e67ecf0d Earlier register homing (352624, r=igor). 2006-09-16 11:20:03 +00:00
igor.bukanov%gmail.com 546009eefe Always check if generator's private data is null. bug=352885 r=brendan 2006-09-16 10:29:38 +00:00
brendan%mozilla.org bea6bd0f2d Checking in igor's patch for bug 349272, r=me. 2006-09-16 07:50:05 +00:00
gavin%gavinsharp.com 49e1688e60 vc6 bustage fix (bug 352124) 2006-09-15 19:29:20 +00:00
jst%mozilla.jstenback.com 730382a1c2 Fixing bug 352124. Make XPCNativeWrapper refuse to wrap a double-wrapped JS object, and add some explicit wrapping to the feed writer. r=bzbarsky@mit.edu, sr=brendan@mozilla.org. 2006-09-15 16:38:56 +00:00
bclary%bclary.com 8a424cb476 JavaScript Test - update test for bug 345855, bug 351514 2006-09-15 09:14:00 +00:00
bclary%bclary.com 633199672b JavaScript Test - change test so that the live nature of the HTMLCollection does not cause the test to falsely fail 2006-09-15 05:46:57 +00:00
bclary%bclary.com 3ea0fe0ae8 JavaScript Test - correct test for bug 349602 2006-09-15 04:59:44 +00:00
bclary%bclary.com 364c4e0c42 JavaScript Test - correct test for bug 350793 2006-09-15 04:56:17 +00:00
bclary%bclary.com 3d95964a5d JavaScript Test - update test to catch appropriate exception, bug 352605 2006-09-15 02:31:47 +00:00
bclary%bclary.com bdf65b7aca JavaScript Tests - tweak compareSource for decompilation testing 2006-09-14 12:31:31 +00:00
bclary%bclary.com 1e8834fd56 JavaScript Test - regression test for bug 352605, by Jesse Ruderman 2006-09-14 11:11:31 +00:00
bclary%bclary.com 85307fa183 JavaScript Test - regression test for bug 352392, by Jesse Ruderman 2006-09-14 11:07:33 +00:00
bclary%bclary.com 36efdc7420 JavaScript Test - regression test for bug 350417, by Jesse Ruderman 2006-09-14 11:02:50 +00:00
bclary%bclary.com 255ff5620c JavaScript Test - regression test for bug 352372, by Jesse Ruderman 2006-09-14 10:55:29 +00:00
bclary%bclary.com 6bdfe249dc JavaScript Test - regression test for bug 352312, by Jesse Ruderman 2006-09-14 10:48:15 +00:00
bclary%bclary.com 5d7fd80661 JavaScript Test - regression test for bug 352283, by Jesse Ruderman 2006-09-14 10:41:58 +00:00
bclary%bclary.com 2e3ee6411e JavaScript Test - regression test for bug 352281, by Jesse Ruderman 2006-09-14 10:36:58 +00:00
bclary%bclary.com bc3a2533c5 JavaScript Test - regression test for bug 352272, by Jesse Ruderman 2006-09-14 10:27:59 +00:00
bclary%bclary.com a4158696bc JavaScript Test - regression test for bug 352269, by Jesse Ruderman 2006-09-14 10:23:59 +00:00
bclary%bclary.com 231ea2a4b0 JavaScript Test - regression test for bug 352267, oops. 2006-09-14 10:03:09 +00:00
bclary%bclary.com f5d654406e JavaScript Test - regression test for bug 352268, by Jesse Ruderman 2006-09-14 10:01:26 +00:00
bclary%bclary.com 2cd7a02093 JavaScript Test - regression test for bug 352267, by Jesse Ruderman 2006-09-14 09:57:32 +00:00
bclary%bclary.com 512bbe9f45 JavaScript Test - regression test for bug 352266, by Jesse Ruderman 2006-09-14 09:54:35 +00:00
bclary%bclary.com 8d89ac11d7 JavaScript Test - regression test for bug 352261, by Jesse Ruderman 2006-09-14 09:47:28 +00:00
bclary%bclary.com 4be06747ce JavaScript Test - regression test for bug 352223, by Jeff Walden 2006-09-14 09:39:06 +00:00
bclary%bclary.com 64aa720b40 JavaScript Test - regression test for bug 352217, by Jesse Ruderman 2006-09-14 09:33:17 +00:00
bclary%bclary.com 112f363964 JavaScript Test - regression test for bug 352212, by Jesse Ruderman 2006-09-14 09:28:28 +00:00
bclary%bclary.com 9b1eaad8fe JavaScript Test - regression test for bug 352208, by Jesse Ruderman 2006-09-14 09:24:06 +00:00
bclary%bclary.com 00ff6235f1 JavaScript Test - regression test for bug 352202, by Jesse Ruderman 2006-09-14 09:17:59 +00:00
bclary%bclary.com ed359be9c9 JavaScript Test - regression test for bug 352198, by Jesse Ruderman 2006-09-14 08:44:04 +00:00
bclary%bclary.com 99e9c2e154 JavaScript Test - regression test for bug 352197, by Jesse Ruderman, Brendan Eich 2006-09-14 08:38:38 +00:00
bclary%bclary.com ba315b4c16 JavaScript Test - regression test for bug 352185, by Jesse Ruderman 2006-09-14 08:11:42 +00:00
bclary%bclary.com 552170d89d JavaScript Test - regression test for bug 352103, by Jesse Ruderman, Jeff Walden 2006-09-14 08:06:38 +00:00
bclary%bclary.com e8dd098e91 JavaScript Test - regression test for bug 352097, by Jesse Ruderman, Jeff Walden 2006-09-14 08:03:18 +00:00
bclary%bclary.com febba9d097 JavaScript Test - regression test for bug 352092, by Jesse Ruderman 2006-09-14 07:57:45 +00:00
bclary%bclary.com 0f31a38912 JavaScript Test - regression test for bug 352084, by Jesse Ruderman 2006-09-14 07:54:01 +00:00
bclary%bclary.com 07ca2881c2 JavaScript Test - regression test for bug 352079, by Jesse Ruderman 2006-09-14 07:48:07 +00:00
bclary%bclary.com 9fbfadd026 JavaScript Test - regression test for bug 352073, by Jesse Ruderman 2006-09-14 07:34:34 +00:00
bclary%bclary.com afeef48da2 JavaScript Test - regression test for bug 352068, by Jesse Ruderman 2006-09-14 07:13:52 +00:00
bclary%bclary.com f6b4ec6cf9 JavaScript Test - regression test for bug 352060, by Jesse Ruderman, Robert Sayre 2006-09-14 07:08:28 +00:00
bclary%bclary.com 9609b626a4 JavaScript Test - regression test for bug 352026, by Jesse Ruderman, Robert Sayre 2006-09-14 06:59:43 +00:00
bclary%bclary.com a6b4b4892f JavaScript Test - regression test for bug 352025, by Jesse Ruderman 2006-09-14 06:22:10 +00:00
brendan%mozilla.org b032f72afa Use PUSH to initialize scanned stack space (352606, r=mrbkap). 2006-09-14 06:17:48 +00:00
bclary%bclary.com c0b5b8a990 JavaScript Test - regression test for bug 352013, by Jesse Ruderman 2006-09-14 06:16:02 +00:00
bclary%bclary.com eac925ec2b JavaScript Test - regression test for bug 352011, by Brendan Eich, Jesse Ruderman 2006-09-14 06:12:12 +00:00
bclary%bclary.com e067d0a902 JavaScript Test - regression tests for bug 351070, by Jesse Ruderman, Brendan Eich 2006-09-14 06:12:10 +00:00
brendan%mozilla.org e2c4f1da8d Allow for nested filtering expressions in flag-setting and restoring (352605, r=jwalden). 2006-09-14 04:44:29 +00:00
bclary%bclary.com 8eea851320 JavaScript Test - regression test for bug 350793, by Jesse Ruderman 2006-09-14 04:20:19 +00:00
brendan%mozilla.org 2281ff8b59 Fix value generator decompilation to rewrite JSOP_FORLOCAL as JSOP_GETLOCAL (352392, r=mrbkap) 2006-09-14 01:40:52 +00:00
brendan%mozilla.org bb5c53ace8 Fix js_DecompileValueGenerator to not copy a bytecode slice, breaking source notes (350417, r=mrbkap). 2006-09-14 01:38:57 +00:00
brendan%mozilla.org d585158793 Fix DEBUG_timeless et al. code. 2006-09-14 00:54:29 +00:00
brendan%mozilla.org e084173acc Fix from crowder@fiverocks.com for real and potential UMRs to-do with PN_NAME node optional members (352470, a=me). 2006-09-13 19:07:20 +00:00
timeless%mozdev.org 7d3a6014fe Bug 349899 --enable-xpctools still fails during XULrunner build
Fixing regression from Bug 285404 faster access to XPConnectWrappedNative's native pointer
nsIXPConnect now *uses* classes from nsCOMPtr.h so it should pull in the file instead of expecting poor confused consumers to do so.
r=bsmedberg
2006-09-13 14:27:31 +00:00
timeless%mozdev.org 582a58aeba Bug 338653: Check for JSRuntime.gcMaxMallocLimit on each allocation in js_NewGCThing to trigger GC sooner to prevent accumulation of garbage with large allocations.
Bustage fix #ifdef DEBUG_gchist
2006-09-13 11:01:35 +00:00
bclary%bclary.com 40cc6cccc7 JavaScript Test - regression test for bug 352375, by Jesse Ruderman 2006-09-13 10:23:01 +00:00
bclary%bclary.com 0072e92620 JavaScript Test - regression test for bug 352402, by Jesse Ruderman 2006-09-13 10:17:59 +00:00
bclary%bclary.com 16d87ff586 JavaScript Test - regression test for bug 352415, by Jesse Ruderman 2006-09-13 10:14:49 +00:00
bclary%bclary.com 97d2e60736 JavaScript Tests - handle decompilation tests better, bug 352490 2006-09-13 09:59:15 +00:00
brendan%mozilla.org 7e29a3786d Space patrol. 2006-09-13 08:26:42 +00:00
brendan%mozilla.org 95ea2a05b5 Fix else-if chains to be unbraced as required by single let declaration consequents (352268, r=mrbkap). 2006-09-13 07:20:48 +00:00
brendan%mozilla.org 7b7bd53a67 Fix to avoid elselet run-together decompilations (352217, r=mrbkap). 2006-09-13 07:13:15 +00:00
brendan%mozilla.org 6d6eec0f80 Fix labeled brace source annotation harder (352415, r=mrbkap). 2006-09-13 07:02:58 +00:00
brendan%mozilla.org a9a4b1c0d5 Fix generator stack farbling (350793, r=mrbkap). 2006-09-13 06:56:26 +00:00
brendan%mozilla.org 790997f9da Replace bogus assertion in js_PeekTokenSameLine with necessary test and return (352372, r=mrbkap). 2006-09-13 04:45:09 +00:00
brendan%mozilla.org 927a3b9758 Fix new and related precedence problems (352312, r=sayrer/jesse). 2006-09-13 00:16:46 +00:00
gavin%gavinsharp.com 21b2d49e0d Bug 352226: JS regexp trivial cleanups, patch by Brian Crowder <crowder@fiverocks.com>, r=mrbkap, sr=brendan 2006-09-13 00:10:10 +00:00
dbaron%dbaron.org 92584add98 Be more careful pushing/popping contexts. b=352264 r=jst sr=bzbarsky/jst 2006-09-12 22:58:11 +00:00
brendan%mozilla.org bdd6c8db0e Update SRC_LABELBRACE selection logic to be block-scope aware (352402, r=mrbkap). 2006-09-12 22:09:12 +00:00
brendan%mozilla.org c392bb8044 Fix PNX_NEEDBRACES setting logic to detect only function statement directly contained in a block (352281, r=mrbkap). 2006-09-12 21:56:32 +00:00
igor.bukanov%gmail.com 3bfe3dddf9 thread-local gc lists are cleaned up whenever we transition from 0 to 1 context per thread. bug=351602 r=brendan,feng.qian.moz 2006-09-12 20:31:17 +00:00
brendan%mozilla.org 7b356a3402 Give JSOP_FORNAME, etc., operator precedences (352375, r=mrbkap). 2006-09-12 19:28:42 +00:00
benjamin%smedbergs.us f8b7089d8a Bug 340443 - Not possible to use the XPCOM glue with the static CRT, r=neil sr=darin 2006-09-12 18:22:40 +00:00
brendan%mozilla.org bb238cb1c9 Fix post-increment stack modeling again (352272, r=mrbkap). 2006-09-12 17:48:38 +00:00
brendan%mozilla.org 254ca7779c Fix PutBlockObjects conditional call to happen before stack it relies on is released (352212, r=mrbkap). 2006-09-12 17:44:58 +00:00
brendan%mozilla.org bcd6d41003 Avoid gcc-on-Mac warning. 2006-09-12 06:23:51 +00:00
brendan%mozilla.org e0fc0c4f74 Rest of checkin for bug 352079, r=mrbkap. 2006-09-12 06:21:23 +00:00
brendan%mozilla.org c1da3756ed Fix yield's 'input precedence' (352269, r=mrbkap). 2006-09-12 05:16:26 +00:00
mrbkap%gmail.com 6bedc0603c Fully initialize the newly-created parse node. bug 352271, r=brendan 2006-09-12 04:59:58 +00:00
brendan%mozilla.org a03807f7fc Detect parentheses forcing right association and decompile them (352261, r=mrbkap). 2006-09-12 04:30:12 +00:00
brendan%mozilla.org e7587d52bb Tweak new precedence when constructor is a call expression (352013, r=mrbkap). 2006-09-12 04:10:43 +00:00
mrbkap%gmail.com 26c7ed38f8 Ensure that fp's concept of the pc and sp are up to date. bug 352094, r=brendan 2006-09-12 04:02:46 +00:00
mrbkap%gmail.com 8a0b1ae2ca Skip over scope statements that aren't MAYBE_SCOPE when finding the JSStmtInfo for let declarations. bug 352092, r=brendan 2006-09-12 04:00:31 +00:00
brendan%mozilla.org 4ccca157d7 Fix JSOP_SETCALL and JSOP_POPV precedences; turn off auto-parens for bracketed index values (352079, r=mrbkap). 2006-09-12 02:07:32 +00:00
brendan%mozilla.org c4571403a5 Skip parens around operand of unary op when constant folding (352068, r=mrbkap). 2006-09-12 01:58:37 +00:00
brendan%mozilla.org 805ec10f9d Fix getter/setter in object initialiser decompilation to track minimal parenthesization fixes (352010, r=mrbkap). 2006-09-12 01:55:08 +00:00
bclary%bclary.com d52817b96a JavaScript Test - update to reflect proper parenthetication of decompiled expressions, bug 346902 2006-09-12 01:14:40 +00:00
jwalden%mit.edu 420e23451c Bug 352223 - < foo/> and < foo></foo> are also invalid XML and should be rejected by E4X. r=brendan again 2006-09-12 00:17:40 +00:00
jwalden%mit.edu d3e0a6f13f Bug 352223 - <foo></ foo> (space after </ and before qname) accepted as valid XML in E4X initializer. r=brendan 2006-09-11 21:51:02 +00:00
brendan%mozilla.org 3f1e558bae Fix TCF_RETURN_* flag propagation out of blocks (352197, r=mrbkap). 2006-09-11 21:29:00 +00:00
brendan%mozilla.org 2da080f51c Fix yield (yield) decompilation (352198, r=mrbkap). 2006-09-11 21:26:30 +00:00
brendan%mozilla.org 86e150d521 Fix to parenthesize any expression starting with 'function ' (352073, r=mrbkap). 2006-09-11 21:15:00 +00:00
brendan%mozilla.org 8c6a9d64d3 Fix element-setting decompilation (352202, r=mrbkap). 2006-09-11 21:09:37 +00:00
jwalden%mit.edu 790cc26107 Bug 352097 - E4X XML processing instruction with a target but no data decompiles with an extra space; also fixes bug 352103 - <??> accepted as a valid XML PI. r=brendan 2006-09-11 21:08:03 +00:00
brendan%mozilla.org da9955a079 Fix bogus assertion harder (352208, r/a=me). 2006-09-11 20:14:20 +00:00
brendan%mozilla.org b74b5a9e45 Fix bogus assertion (352208, r/a=me). 2006-09-11 19:54:18 +00:00
brendan%mozilla.org 76f84e3334 Don't brace let declaration if single statement controlled by if/do/while/for/with (351070, r=mrbkap). 2006-09-11 19:45:24 +00:00
brendan%mozilla.org bb83424b59 Fix precedence-based decompilation (352026 and dependents, r=mrbkap/sayrer). 2006-09-11 18:29:33 +00:00
sayrer%gmail.com 41a852c540 bug 352060. Fixes for getter/setter keywords, XML assign decompile printfs, and precedence table. r=brendan 2006-09-11 16:38:45 +00:00
igor.bukanov%gmail.com cde829c661 Make sure id array are GC-protected. bug=351973 r=mrbkap sr=brendan 2006-09-11 11:17:05 +00:00
bclary%bclary.com 307e8c398d JavaScript Test - update to keep up with parenthesization 2006-09-11 04:37:39 +00:00
bclary%bclary.com 067e33e027 JavaScript Test - regression test for bug 349616, by Jesse Ruderman 2006-09-11 04:19:25 +00:00
bclary%bclary.com b26adefeff JavaScript Test - regression test for bug 350621, by Seno Aiko 2006-09-11 04:07:28 +00:00
bclary%bclary.com 4f8add89f3 JavaScript Test - regression test for bug 351988, by Robert Sayre 2006-09-11 03:41:01 +00:00
bclary%bclary.com c823a36861 JavaScript Test - regression test for bug 3520009, by Jesse Ruderman 2006-09-11 03:35:26 +00:00
bclary%bclary.com 211df6d94b JavaScript Test - regression test for bug 352015, by Jesse Ruderman 2006-09-11 03:30:50 +00:00
bclary%bclary.com 761de9f3f9 JavaScript Test - regression tests for bug 352022, by Jesse Ruderman, Brendan Eich 2006-09-11 03:24:32 +00:00
bclary%bclary.com 5122483c59 JavaScript Test - update to test for generic error 2006-09-10 17:05:20 +00:00
sayrer%gmail.com cff9a52e76 Bug 349616. "getter" keyword decompiles as "(null)" 2006-09-10 16:54:30 +00:00
szegedia%freemail.hu 2f5a6e4294 Added a SecurityController implementation that delegates to Java security Policy via assigning CodeSource to scripts. 2006-09-10 12:16:46 +00:00
szegedia%freemail.hu e913e272dc Adding a changelog 2006-09-10 12:15:26 +00:00
bclary%bclary.com a3bb16b6c6 JavaScript Test - update test to reflect current behavior 2006-09-10 09:26:16 +00:00
bclary%bclary.com c9791e880a JavaScript Test - update test to reflect current behavior 2006-09-10 09:17:21 +00:00
brendan%mozilla.org 26e3938ac1 Fix ancient bug that suppressed parenthesization of set-element rhs (352022, r=mrbkap). 2006-09-10 09:10:17 +00:00
bclary%bclary.com 44f8da352a JavaScript Test - move test to js1_7/block, bug 349653 2006-09-10 08:59:40 +00:00
brendan%mozilla.org 1ba9413eaf Give yield least precedence (352015, r=mrbkap). 2006-09-10 08:34:35 +00:00
brendan%mozilla.org 79368d7c69 Fix regression to-do with for/in AST change (352009, r=mrbkap). 2006-09-10 08:30:19 +00:00
bclary%bclary.com 34e5623b82 JavaScript Test - teach test |new Date()| and |new Date| are equivalent, bug 352016, 2006-09-10 08:20:30 +00:00
brendan%mozilla.org 497ce38a0e Fix regression from last checkin (350793, r=gavin). 2006-09-10 07:07:58 +00:00
sayrer%gmail.com 89eecf04e9 e4x adds spurious quotes when decompiling an XMLPI object initializer. r=brendan 2006-09-10 04:45:39 +00:00
bclary%bclary.com 66d49f16e8 JavaScript Test - update to match changing decompilation of x.@[2], bug 349822 2006-09-10 03:20:12 +00:00
brendan%mozilla.org a36987e124 Fix for-in loops to be yieldable (r=mrbkap). 2006-09-09 22:43:11 +00:00
brendan%mozilla.org 91c2108543 Trailing space and comment cleanup. 2006-09-09 20:37:49 +00:00
bclary%bclary.com 425913e927 JavaScript Test - regression test for bug 343675 2006-09-09 11:30:49 +00:00
bclary%bclary.com 3f2fc9ca05 JavaScript Test - regression test for bug 351515, by Igor Bukanov 2006-09-09 11:18:23 +00:00
bclary%bclary.com c25c8225ff JavaScript Test - regression test for bug 351794, by Jesse Ruderman 2006-09-09 10:50:21 +00:00
bclary%bclary.com 0f03250944 JavaScript Test - regression test for bug 351793, by Jesse Ruderman 2006-09-09 10:38:11 +00:00
bclary%bclary.com 0e2f9a41c9 JavaScript Test - regression test for bug 351705, by Jesse Ruderman 2006-09-09 10:33:52 +00:00
bclary%bclary.com bc2251712c JavaScript Test - regression test for bug 351693, by Jesse Ruderman 2006-09-09 09:56:17 +00:00
bclary%bclary.com 7721dfbd6d JavaScript Test - regression test for bug 351626, by Jesse Ruderman 2006-09-09 09:51:01 +00:00
bclary%bclary.com 6af30a29da JavaScript Test - regression test for bug 351606, by Jesse Ruderman 2006-09-09 09:44:10 +00:00
bclary%bclary.com 5166fc285d JavaScript Test - regression test for bug 351496, by Jesse Ruderman 2006-09-09 09:23:32 +00:00
bclary%bclary.com 5d7e7c3fce JavaScript Test - regression test for bug 350809, by Jesse Ruderman 2006-09-09 05:07:56 +00:00
bclary%bclary.com d6375a2e93 JavaScript Test - regression test for bug 350730, by Jesse Ruderman 2006-09-09 05:01:39 +00:00
bclary%bclary.com 60d96da607 JavaScript Test - regression test for bug 350666, by Jesse Ruderman 2006-09-09 04:56:22 +00:00
bclary%bclary.com b3ccf07c2c JavaScript Test - regression test for bug 350650, by a-higuti 2006-09-09 04:46:19 +00:00
bclary%bclary.com e9b4263bae JavaScript Test - regression test for bug 350629, by Jeff Walden 2006-09-09 04:38:25 +00:00
bclary%bclary.com 91b079d5c8 JavaScript Test - regression test for bug 346915, by Jesse Ruderman 2006-09-09 04:29:24 +00:00
bclary%bclary.com f78688a81f JavaScript Test - regression test for bug 349634, by Jesse Ruderman 2006-09-09 04:24:31 +00:00
bclary%bclary.com 04ca6a25a1 JavaScript Test - explicitly turn on JS17, bug 351515 2006-09-09 02:53:58 +00:00
igor.bukanov%gmail.com 105812d512 Bug 351515: enable let and yield keywords only when version is set to JS17 for compatibility. r=brendan 2006-09-08 21:22:31 +00:00
brendan%mozilla.org 38701820aa Fix bad assertion, include for with let and catch as exceptions to candidacy for SRC_BRACE, and avoid spurious leading line-number notes from Function (351794, r=mrbkap). 2006-09-08 20:11:18 +00:00
brendan%mozilla.org 8166135a55 Avoid redundant JSOP_GROUP opcodes for efficiency and correct decompilation of JSOP_ENDINIT (351793, r=mrbkap). 2006-09-08 18:43:41 +00:00
brendan%mozilla.org 332ddf0d29 Fix two bugs in JSOP_CONDSWITCH code-gen and decompilation (351496, r=mrbkap). 2006-09-08 16:45:40 +00:00
brendan%mozilla.org 5edc920ece Skip parens when looking for constant condition (351693, r=mrbkap). 2006-09-08 16:38:03 +00:00
brendan%mozilla.org 5fa13ca36d Fix js_CheckRedeclaration to drop a found property if the caller doesn't want it but there's no redeclaration error (351717, r=mrbkap). 2006-09-08 06:53:40 +00:00
brendan%mozilla.org c123d1dcf3 back out rev 3.160, it's buggy. 2006-09-08 05:18:36 +00:00
brendan%mozilla.org 67f10aca99 Fix decompilation to preserve braces required by let, and also fix switch body block to have scope for let at top level of case statement (349634, r=mrbkap). 2006-09-08 05:03:54 +00:00
brendan%mozilla.org 83ecb2f5dd Must keep discriminant on stack when decompiling switches, for correct stack modeling of let expressions/blocks/declarations (351496, r=mrbkap). 2006-09-08 04:53:01 +00:00
mrbkap%gmail.com 3b363ece72 Correct the STMT_TYPE_MAYBE_MACRO to not include with, since we never want to turn a JSSTMT_WITH into a scope statement. Also ignore with statements when we're processing a let declaration so that given 'with (x) let x = 3' we correctly set x to 3. bug 350730, r=brendan 2006-09-08 00:54:45 +00:00
mrbkap%gmail.com 6224dabba8 Clear the pending exception before calling the exception object's toString so that scripted toStrings actually have a chance to run. Patch from a-higuti@gray.plala.or.jp with minor tweaks from me, bug 350650, r=brendan 2006-09-08 00:39:30 +00:00
mrbkap%gmail.com 227352bd1c Properly set the cloned block objects' parent slot. bug 351606, r=igor sr=brendan 2006-09-08 00:33:14 +00:00
brendan%mozilla.org c46afc5d50 Fix 351626 and 351705, r=mrbkap/sayrer. 2006-09-07 19:47:40 +00:00
brendan%mozilla.org ffad24e880 Fix delete code gen to emit (operand, true) when operand is not an lvalue, but must be evaluated for side effects; instead of operand; true which does not decompile in expression contexts (350666, r=mrbkap). 2006-09-07 17:03:05 +00:00
brendan%mozilla.org 050a81da62 CheckSideEffects needs to do more work for delete operands, to match the code generator for delete (346915, r=mrbkap). 2006-09-07 16:57:59 +00:00
brendan%mozilla.org 6dca9f6da2 Stop yield from filtering predicate for now (350809, r=igor). 2006-09-07 16:10:48 +00:00
bclary%bclary.com 9a85b784e3 JavaScript Test - regression test for bug 350226, by Jesse Ruderman 2006-09-07 13:40:45 +00:00
bclary%bclary.com c0e8518206 JavaScript Test - regression test for bug 350279, by Jesse Ruderman 2006-09-07 13:28:47 +00:00
bclary%bclary.com dfa9e34cf1 JavaScript Test - regression test for bug 351104, by Jesse Ruderman 2006-09-07 13:12:50 +00:00
bclary%bclary.com e913d537f0 JavaScript Test - regression test for bug 351497, by Jesse Ruderman 2006-09-07 12:57:52 +00:00
bclary%bclary.com 1fd950fbd2 JavaScript Test - regression test for bug 351514, by Brendan Eich 2006-09-07 12:52:13 +00:00
bclary%bclary.com d84692513f JavaScript Test - regression test for bug 351597, by Jesse Ruderman 2006-09-07 12:46:35 +00:00
bclary%bclary.com 2cfd5e553a JavaScript Test - regression test for bug 351625, by Jesse Ruderman 2006-09-07 12:41:16 +00:00
igor.bukanov%gmail.com d702c8b868 Bug 343675: allow to use keywords as function names. r=brendan 2006-09-07 11:28:30 +00:00
brendan%mozilla.org 1b7f00440b Remove extraneous JOF_XMLNAME format flags (350226, r=jwalden). 2006-09-07 05:53:02 +00:00
brendan%mozilla.org 8863715fce Object and array initializers must be parenthesized if expression statements (351625, r=mrbkap). 2006-09-07 05:50:23 +00:00
brendan%mozilla.org aed8ed3c98 Fix stack budget for postfix ++ and -- applied to property refs (350238, r=mrbkap). 2006-09-07 04:47:23 +00:00