bclary%bclary.com
3f8bf3c65a
Force JS_Assert to exit with code 3 on Windows, debug only, r=mrbkap,sr=brendan, bug 345118
2006-07-26 02:38:58 +00:00
mrbkap%gmail.com
2711b61c3c
Protect each cloned block object from being GC'd. Patch from brendan, r=mrbkap, bug 345772
2006-07-25 23:21:03 +00:00
mrbkap%gmail.com
b631dfc76d
Make jsfile.c compile in the new world. bug 345761, rs=brendan
2006-07-25 20:46:11 +00:00
mrbkap%gmail.com
c2c3247957
User a variable that's actually defined by default everywhere. bug 345787, r=brendan
2006-07-24 23:20:56 +00:00
brendan%mozilla.org
cd15d6c3b1
Mark the calle (argv[-2]) from generator_mark (343455, r=mrbkap).
2006-07-22 22:20:40 +00:00
mrbkap%gmail.com
202a6f3a0b
Don't assert when the block chain has been captured. bug 345542, r=brendan
2006-07-22 02:16:12 +00:00
brendan%mozilla.org
152df1b227
Rest of fix for 343455 (r=mrbkap).
2006-07-21 21:59:21 +00:00
brendan%mozilla.org
154cd0d3ae
Defend against null acx->thread in js_GC, in case JS_ClearContextThread is used for context-pooling (345365, r=feng).
2006-07-21 19:09:36 +00:00
brendan%mozilla.org
4d789580db
Null defense needed in case of JS_DestroyRuntime with no script filenames tabled (345350, r=mrbkap).
2006-07-21 02:17:22 +00:00
brendan%mozilla.org
17eecc3107
Mark newborn generators' frames (343455, r=mrbkap).
2006-07-21 02:00:36 +00:00
mrbkap%gmail.com
1ae65e3838
Protect the newborn function object from being collected because of a GC callback displacing it from its newborn root. bug 344759, r=brendan
2006-07-19 18:37:53 +00:00
mrbkap%gmail.com
4f87c8b8db
Remove the new wrapper from the map when postcreate fails so that we don't find
...
it the next time we try to wrap that object. bug 344873, r=jst sr=brendan
2006-07-18 21:26:36 +00:00
mrbkap%gmail.com
07a112a37e
Set up let declarations properly by finding the correct JSStmtInfo (not missing try or catch
...
blocks). This required making the 'scope' statements have a bit instead of a statement type
since we can now morph e.g. try statements. This patch also fixes the numbering for let
blocks after the first let block. bug 344370, r=brendan
2006-07-18 21:23:30 +00:00
jst%mozilla.jstenback.com
d186098107
Fixing bug 344960. Cap the length of ActiveX contract id argument to prevent windows from crashing in bstr code due to OOM. r=mrbkap@gmail.com, sr=bugmail@sicking.cc
2006-07-18 19:45:08 +00:00
mrbkap%gmail.com
ca33b0e632
Handle js_ValueToPrintableSource failure without crashing. bug 344804, r=brendan
2006-07-18 18:20:49 +00:00
mrbkap%gmail.com
3227fb4d67
Don't peek over newlines, since we assume that ts->ungetpos refers to a point on our line. bug 344711, r=brendan
2006-07-18 00:35:15 +00:00
brendan%mozilla.org
606fbd540c
Fix JSOP_SETSP to trim only the current frame's scope chain (344959, r=mrbkap).
2006-07-17 23:49:36 +00:00
brendan%mozilla.org
15e0f48461
Warning fix.
2006-07-13 19:18:01 +00:00
brendan%mozilla.org
92134eaf2b
Improve mismatched tag name diagnostic (344455, r=mrbkap).
2006-07-13 19:14:21 +00:00
gavin%gavinsharp.com
74b982040d
Bug 343998: copysign was not defined on WINCE, patch by dougt, r=brendan
2006-07-13 14:01:41 +00:00
brendan%mozilla.org
a41c1f3355
Trailing whitespace removal.
2006-07-13 01:31:44 +00:00
bent.mozilla%gmail.com
59c230656f
Backing out changes from bug 280236.
2006-07-12 23:00:11 +00:00
bent.mozilla%gmail.com
151e9fcc71
Bug 280236 - "coercing an array containing an nsXPCConstructor to a string results in an uncatchable error". Patch by timeless. r=dbradley, sr=jst.
2006-07-12 22:18:45 +00:00
mrbkap%gmail.com
17e71cd968
Add some code that imitates split windows in the js shell. bug 337528, rs=brendan
2006-07-12 21:21:45 +00:00
brendan%mozilla.org
baed97a243
Fix js_PutBlockObject, write JSOP_LEAVEBLOCKEXPR decompiler logic (344262, r=mrbkap).
2006-07-11 23:29:41 +00:00
mrbkap%gmail.com
b12405c6a4
Fix dependencies for regenerating jsautokw.h. bug 344265, r=brendan sr=bsmedberg
2006-07-11 20:19:36 +00:00
brendan%mozilla.org
0aeae8a794
Comment update for last patch (344139, r=mrbkap).
2006-07-10 21:11:47 +00:00
mrbkap%gmail.com
3ed60e4aa8
Emit the correct bytecode when a let-declared variable is on the right side of a += or similar operator. bug 344139, r=brendan
2006-07-10 19:23:13 +00:00
brendan%mozilla.org
7ff75083df
Forgot to switch to SRC_INITPROP (344120, r=mrbkap).
2006-07-10 19:13:55 +00:00
mrbkap%gmail.com
964994c006
Clear cached class objects when JS_ClearScope is called on the global object to avoid leaks. Also, add code to GC_MARK_DEBUG that pretty-prints slot names containing cached class objects. bug 343417, r=brendan
2006-07-07 22:28:05 +00:00
brendan%mozilla.org
102fc7b78d
Fix another 1.8-branch API compat bit-hack bug.
2006-07-07 06:25:29 +00:00
brendan%mozilla.org
f722c8fbf6
Fix bit-magic brainfart, remove useless test and add assert that it's useless (js1.7 bug, r=mrbkap).
2006-07-07 01:52:07 +00:00
mrbkap%gmail.com
77bbbb4727
Don't stuff the stack slot that we were about to read. bug 343765, r=brendan
2006-07-06 22:46:26 +00:00
mrbkap%gmail.com
c9b8311dda
Make sure that we clean up block objects that were cloned into the scope chain for environment capture, so they don't reference dead frame pointers or dead stack slots, and instead have property-based copies of their locals. bug 343765, r=brendan
2006-07-06 20:47:02 +00:00
mrbkap%gmail.com
dd69817f01
Nuke a warning introduced by widening JSFunctionSpec.extra. No bug, r=brendan
2006-07-06 20:18:46 +00:00
mrbkap%gmail.com
02d2912e62
Nuke GCC -pedantic warnings by using the GCC __extension__ keyword (along with a hack to allow us to use it on 'goto' expressions). bug 343680, r=brendan
2006-07-06 20:14:23 +00:00
mrbkap%gmail.com
30d15a673d
Landing a patch from Feng Qian <feng.qian.moz@gmail.com> to avoid long-running regexps from hanging the browser forever by calling the branch callback at regular intervals. bug 307456, r=brendan/mrbkap
2006-07-06 20:13:04 +00:00
brendan%mozilla.org
82c8a485f2
Followup to match (modulo comment and whitespace) 1.8 branch for script flags functions.
2006-07-06 19:35:33 +00:00
brendan%mozilla.org
b2072bf1a1
MOZILLA_1_8_BRAN CH API compatibility restoration.
2006-07-06 18:40:03 +00:00
mrbkap%gmail.com
e064fc9e40
Remove this assertion since with objects will botch it. bug 343713, r=brendan
2006-07-06 06:25:31 +00:00
brendan%mozilla.org
9d0e553b2f
Fix function body code generation to happen within the TCF_IN_FUNCTION flag's scope (343708, tachyonal r=mrbkap).
2006-07-06 05:28:15 +00:00
brendan%mozilla.org
59bb712b6f
JS_1_7_ALPHA_BRANCH landing, mainly destructuring optimizations and let completion (336373, r=mrbkap).
2006-07-06 01:25:44 +00:00
mrbkap%gmail.com
a91848d680
Add missing rooting around a call out JS_Enumerate. bug 343290, r=brendan
2006-07-02 03:30:46 +00:00
mrbkap%gmail.com
21bc46e129
Protect against overly-large reallocations. bug 342960, r=brendan a=dveditz
2006-07-02 03:05:06 +00:00
igor.bukanov%gmail.com
dc6cc6e7b2
Bug 322135: the length setter for array tries to detect a sparse array and enumerate over properties to remove elements beyond the array length. r=mrbkap,sr=brendan
2006-07-01 19:58:44 +00:00
igor.bukanov%gmail.com
beb746b6aa
Bug 343228: Fixing array_sort to always free the temporary array. r=mrbkap
2006-07-01 19:52:32 +00:00
igor.bukanov%gmail.com
19908a421e
Bug 341956: Reorder id allocation to avoid delays with their access. r=mrbkap,sr=brendan
2006-07-01 19:29:34 +00:00
igor.bukanov%gmail.com
98919b21b5
Bug 342625: Fix js_GC to return false only for branch callback cancelations restoring WAY_TOO_MUCH_GC. r=mrbkap,sr=brendan
2006-06-29 19:13:51 +00:00
bclary%bclary.com
69d4233d70
Bug 330237 - revert patch due to mac os x bustage, not part of the build. r=shaver
2006-06-29 12:51:42 +00:00
igor.bukanov%gmail.com
9ebf7bc3ae
Bug 341896: GC finalizes the states of native iterators before finalizing the rest of object. It avoids using expensive close hooks. r=brendan
2006-06-29 06:51:33 +00:00