Commit Graph

169 Commits

Author SHA1 Message Date
mrbkap@gmail.com
69c8756e8a Be less strict about how you can call eval. In particular, allow callers to call it through other names, as long as the this object is a global object. bug 383381, r=brendan 2007-06-05 16:42:00 -07:00
crowder@fiverocks.com
c82cd955ac Bug 380831: incorrect uneval trying to output a getter function that is a sharp definition, r=igor 2007-06-05 13:20:07 -07:00
mattwillis@gmail.com
6f6f76486f bug 382744 - Correct backwards assertion check in XPCNativeScriptableInfo. Patch by Manish Singh <manish@flock.com>, r=dbaron, sr=shaver 2007-06-05 08:59:44 -07:00
brendan@mozilla.org
d3056296e5 Fix JOF_TMPSLOT accounting (383255, r=igor). 2007-06-04 22:23:29 -07:00
igor@mir2.org
e606f64813 Bug 383188: using code spec flag to declare extra slot used for post ++/--. r=brndan 2007-06-04 20:07:38 -07:00
mrbkap@gmail.com
451fb0609a Fix overflow potential. bug 373931, r=crowder rs=brendan 2007-06-04 17:05:32 -07:00
mrbkap@gmail.com
93e990bf21 Remove indirect eval. bug 382509, r=brendan 2007-06-04 16:03:03 -07:00
mrbkap@gmail.com
bd829af388 Handle error returns from ftell. bug 373934, r=brendan 2007-06-04 16:01:41 -07:00
mrbkap@gmail.com
2a44a73281 Backing out to fix orange 2007-06-04 15:18:25 -07:00
mrbkap@gmail.com
1be4627a47 Fixing bustage, bug 382509 2007-06-04 14:47:13 -07:00
mrbkap@gmail.com
0f3c9fea93 Create XPCNativeWrapper function wrappers with the right parent. bug 370127, r=bzbarsky sr=brendan 2007-06-04 14:43:57 -07:00
mrbkap@gmail.com
3d9131d85e Remove indirect eval. bug 382509, r=brendan 2007-06-04 14:40:55 -07:00
mrbkap@gmail.com
7b221890b4 Whitespace police 2007-06-04 14:38:40 -07:00
igor@mir2.org
38a0fbd114 Bug 381973: new opcode flag top declare an extra temporary slot used by interpreter. r=brendan 2007-06-04 13:01:41 -07:00
brendan@mozilla.org
3d1e7f3d01 Fix fun_resolve to avoid resolving hidden properties (locals/params; 382532, r=mrbkap). 2007-06-04 12:50:30 -07:00
crowder@fiverocks.com
f88d5115d6 Bug 366355: perlconnect removal continues, r=mrbkap, patch by Patrick Welche <pw-fb@newn.cam.ac.uk> 2007-06-04 12:33:42 -07:00
peterv@propagandism.org
0aec607ac4 Fix for bug 382133 ("(function(){}).apply.ee = <foo/>;" causes shutdown crash [@ nsXPConnect::Unlink] during nsCycleCollector::CollectWhite). r/sr=jst. 2007-06-04 03:01:34 -07:00
igor@mir2.org
7d41735dbf Bug 379220: replacing JS_AddRoot calls via doubly-linked lists. r=jst sr=brendan 2007-06-02 08:11:52 -07:00
igor@mir2.org
c030410f7b Bug 382253: consistent termination of inline functions. r=brendan 2007-06-01 20:46:39 -07:00
crowder@fiverocks.com
f27ecbd250 backing out checkin on closed tree 2007-06-01 11:31:02 -07:00
crowder@fiverocks.com
d0c155d1f7 Bug 366355: more perlconnect removal goodness 2007-06-01 11:29:49 -07:00
timeless@mozdev.org
6506c492ee Bug 380886 Possible crashes/leaks in regexp handling in OOM conditionspatch by gavin@picsel.com r=crowder 2007-05-30 23:31:05 -07:00
brendan@mozilla.org
12de539ec7 Fix let-induced anti-bracing logic to cope with group assignment expression statements (356247, r=mrbkap). 2007-05-30 15:39:21 -07:00
crowder@fiverocks.com
237d01a1e4 Bug 381205: object uneval gets confused by special "getter functions", r=mrbkap 2007-05-30 13:05:31 -07:00
bclary@bclary.com
7798f66122 Bug 382182 - script tag should support version 1.8, r=jonas,sr=brendan 2007-05-29 22:55:55 -07:00
igor@mir2.org
612731321f Bug 382335: proper cleanup after generator.close(). r=brendan 2007-05-29 19:29:09 -07:00
brendan@mozilla.org
e7de6b332a Implement ES4/JS2 expression closures (381113, r=mrbkap). 2007-05-29 18:49:42 -07:00
mrbkap@gmail.com
ec71466985 Add a space here for consistency. bug 381108, r=brendan 2007-05-29 18:23:24 -07:00
brendan@mozilla.org
5dee41a384 Fix delete parser to fold constants in its operand to discern genexp error case (382355, r=mrbkap). 2007-05-29 17:49:53 -07:00
crowder@fiverocks.com
9adeac1889 Recent code checkin regressed testcase from 356085 2007-05-29 17:06:21 -07:00
brendan@mozilla.org
d1599626d7 Fix warning from last checkin (r=igor). 2007-05-29 16:17:37 -07:00
crowder@fiverocks.com
e2b7d7dba7 Bug 381301: chomp closing ')' in obj_toSource more correctly, r=mrbkap 2007-05-29 14:05:09 -07:00
mvl@exedo.nl
21821eaf0b bug 382237: make xpctools profiler work, and make it record time spend in the function itself. r=shaver 2007-05-28 08:00:50 -07:00
neil@parkwaycc.co.uk
17aa0501f7 Bug 351007 Crash @ XPCWrappedNative::CallMethod passing null to out A*String parameters r+sr=jst 2007-05-25 13:45:50 -07:00
igor@mir2.org
aa18c72e81 Bug 381779: patch from Gavin Reaney to improve memeory allocation for the sprint stack. r=myself 2007-05-25 04:35:27 -07:00
peterv@propagandism.org
7e189d8549 Fix for bug 377884 (Switch nsXPConnect::Traverse to use tracing). r=jst/igor, sr=dbaron. 2007-05-25 01:42:08 -07:00
peterv@propagandism.org
98955fbcad Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking. 2007-05-24 07:10:02 -07:00
igor@mir2.org
e8eeb4f10c Bug 379758: SETSP is removed 2007-05-24 00:51:46 -07:00
igor@mir2.org
30d40408c5 Bug 381236: static assert that does not depend on __LINE__ 2007-05-24 00:27:45 -07:00
mrbkap@gmail.com
7985ba2c50 Back this out for now to sort out what happens when we're called from C++, not from Javascript. 2007-05-23 17:50:50 -07:00
mrbkap@gmail.com
2409391b2a Use the currently executing function as the nominal parent for our function so that we pull the correct prototype for our function. bug 370127, r+sr=jst 2007-05-23 17:18:00 -07:00
crowder@fiverocks.com
1e5cb0be51 Bug 381402: Compilation error with HAS_XDR_FREEZE_THAW and old Script object, r=mrbkap 2007-05-23 15:09:52 -07:00
crowder@fiverocks.com
6a75f80fed Bug 381402: Compilation error with HAS_SCRIPT_OBJECT, r=mrbkap 2007-05-23 14:50:43 -07:00
crowder@fiverocks.com
f21c94cb6c Bug 375715: "Assertion failure: (c2 <= cs->length) && (c1 <= c2)" with /[\Wb-G]/, patch by mrbkap, r=crowder 2007-05-23 14:13:13 -07:00
brendan@mozilla.org
a6b6b99a67 Fix JOF_XMLNAME, etc., interrogation to mask the mode bits and compare (381504, r=mrbkap). 2007-05-22 23:04:18 -07:00
brendan@mozilla.org
02bf41c8a3 More generator expression decompilation love (381372, r=mrbkap). 2007-05-22 23:00:40 -07:00
asqueella@gmail.com
5919a26047 bug 381369 - improve Components.utils.import-related commentsr=sayrer 2007-05-22 14:57:42 -07:00
mrbkap@gmail.com
2d5947e7ae Mark the overwritten scope property in the space between where we remove it and re-add it in its changed form. bug 381374, r=igor 2007-05-21 17:55:04 -07:00
mrbkap@gmail.com
ed953e9af2 Protect the number from GC, even if it was originally a number. bug 375976, r=crowder 2007-05-21 16:45:42 -07:00
crowder@fiverocks.com
1fdf29bf46 Bug 380998: StackGrowthDirection is not reliable with Sun Studio 11, patch by Ginn Chen <ginn.chen@sun.com>, r=brendan 2007-05-21 15:55:48 -07:00