Commit Graph

501 Commits

Author SHA1 Message Date
Boris Zbarsky
0fccdb0e4f Bug 614138 followup to fix Windows debug compile errors. 2010-12-08 23:11:54 -05:00
Jim Blandy
30a32700cb Bug 614138 part 1: Add an API for holding GC objects while we use values they own. r=jorendorff, a=bzbarsky 2010-12-08 22:17:36 -05:00
Igor Bukanov
e8bb95bf02 Bug 614578 - Removal of nsAutoGCRoot. r=mrbkap 2010-11-26 15:11:14 +01:00
Igor Bukanov
cded0d1852 Bug 612150 - Eliminating JS_GetFunctionName. r=mrbkap 2010-11-24 17:56:43 +01:00
Blake Kaplan
40e9856d94 bug 601803 - Support adopting a node cross-compartment. r=gal/jst 2010-11-15 17:21:25 -08:00
Blake Kaplan
481f2f7185 Backout due to bustage 2010-12-02 17:13:20 -08:00
Blake Kaplan
e07697a315 bug 601803 - Support adopting a node cross-compartment. r=gal/jst 2010-11-15 17:21:25 -08:00
Robert Sayre
88e6ba5ed6 Merge mozilla-central to tracemonkey. 2010-11-24 14:00:42 -08:00
Jason Orendorff
146d06f08b Bug 613068 - Add version argument to JS_ReadStructuredClone. r=bent. 2010-11-24 14:14:02 -06:00
Alon Zakai
749bbca9e6 Bug 502836 - Fix 'script stack space quota is exhausted' error. r=igor a=blocking-betaN+ 2010-11-18 14:16:36 -08:00
Igor Bukanov
66ec6f429a Bug 607292 - followup to address comments 16 and 20 from the bug 2010-11-15 23:11:07 +01:00
Igor Bukanov
fe24d0398a bug 607292 - eliminating JS_GetStringBytes and friends. r=gal 2010-11-08 13:17:31 +01:00
Igor Bukanov
08acfd00c4 bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal 2010-11-11 21:40:29 +01:00
David Anderson
b4ec0dde6d Backed out changeset 8e119f847f97 (build busted) 2010-11-11 11:19:42 -08:00
Igor Bukanov
048e1e0a13 bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal 2010-11-02 15:36:25 +01:00
David Mandelin
c6a892030e Bug 610480 nit fix: use old-style comments in jsapi.h 2010-11-10 16:59:35 -08:00
David Mandelin
782fa6a490 Bug 610480: fix some MSVC warnings, r=jwalden 2010-11-10 16:46:33 -08:00
Steve Fink
7cdb5fabc2 Bug 605330 - extend jscalls (bug 507012) tracking to cover JM and fix some mismatched calls, r=dvander, a=NPODB
--HG--
extra : rebase_source : 77f64a8ee2c88cbb00ac5671ba2532f71551f28b
2010-09-20 12:43:51 -07:00
Daniel Holbert
f3488b40bb Bug 610642: s/NULL/0/ to fix build warning "NULL used in arithmetic". r=dmandelin a=shaver
--HG--
extra : transplant_source : %92H%08%90%1D%CE%90%DDx%97%99/%F9%90%F3%CCX%BDnb
2010-11-09 11:50:24 -08:00
Robert Sayre
48cc92a4b0 Merge mozilla-central to tracemonkey. 2010-11-09 15:29:44 -05:00
David Mandelin
bea0ae20ca Bug 601457 diagnostic: check for setting zero ids into shapes, r=lw, a=beta8+ 2010-11-08 16:20:22 -08:00
Igor Bukanov
c074b68d29 bug 607695 - Avoid unnecessary JS_GetStringBytes. r=gal 2010-10-28 17:15:53 +02:00
Chris Leary
c1c51f2643 Bug 596580: Fix mozJSSubScriptLoader's version finding. (r=brendan) 2010-11-03 12:09:24 -07:00
Luke Wagner
554bdbe733 Bug 593559 - JSFUN_CONSTRUCTOR should not use the same bit as JSPROP_READONLY (r=brendan)
--HG--
extra : rebase_source : af02c04c4ee2255aa938aef7b50b91587f061769
2010-11-02 17:40:46 -07:00
Chris Leary
43dd4230e0 Bug 597811: Make mozJSComponentLoader use JSVERSION_LATEST. (r=sayrer) 2010-11-01 17:33:22 -07:00
Blake Kaplan
b13441fdd9 Bug 607174 - Add assertions to jsdbgapi.cpp and enter compartments where it isn't possible for the caller to do so. landing with r=gal, a=beta7+ 2010-10-26 19:48:51 -07:00
David Mandelin
c5f312b1b8 Backout merge, a=backing out changeset tried for b7 blocker 2010-10-26 18:20:20 -07:00
David Mandelin
343455174f Backed out changeset 8dd996c91f40 -- it doesn't fix the problem, but does make it harder to analyze. 2010-10-26 18:14:25 -07:00
Robert Sayre
ab1de59e65 Merge mozilla-central to tracemonkey. 2010-10-26 14:16:43 -04:00
David Mandelin
af0066b448 Bug 604756 first try: restrict ropes optimization to main-thread content JS, r=lw, a=b7-blocker 2010-10-25 17:28:18 -07:00
Andreas Gal
af8650835a Don't wrap StopIteration singleton, just translate it to the current global's StopIteration object and freeze StopIteration at birth (606573, r=mrbkap). 2010-10-23 16:24:32 -07:00
Bill McCloskey
83489c2ceb Bug 580468 - Use loop profiling to decide whether to use TM or JM (second try) (r=dmandelin) 2010-10-21 09:36:39 -07:00
Bill McCloskey
046eb7cdc6 Backed out changeset 55597c32701d 2010-10-19 17:40:53 -07:00
Bill McCloskey
88aa6bd6bb Bug 580468 - Use loop profiling to decide whether to use TM or JM (r=dmandelin) 2010-10-19 16:23:05 -07:00
Dave Herman
7a05401b41 bug 594060, r=cdleary: Reflect.parse(): make source location information optional 2010-10-19 09:00:51 -07:00
Jason Orendorff
32baaed5fe Bug 604087 - Minor tweaks to JS_TransplantWrapper and JSAutoEnterCompartment. r=mrbkap 2010-10-13 17:26:40 -07:00
Jim Blandy
142983dfa4 Bug 601168: Allow nsHTMLPluginObjElementSH::Call to pass through non-Object |this| values to the plugin. r=bz,gal
This introduces some new JSAPI C++ entry points, one of which allows
arbitrary jsvals to be passed as the |this| value to a call; this means we
avoid a JSVAL_TO_OBJECT call in the caller, and its corresponding
OBJECT_TO_JSVAL call in the callee.
2010-10-12 11:50:03 -07:00
Jeff Walden
1b66d40016 Bug 514570 - 3 - Don't box |this| for strict mode functions. r=jorendorff 2010-10-12 11:50:03 -07:00
Jeff Walden
bfac56a8fb Bug 514570 - 1 - Convert primitive-this-of-type function flags into a single primitive-this flag, to pave way for strict mode unadulterated-this passing. r=jorendorff 2010-10-12 11:50:02 -07:00
Blake Kaplan
644aa16e54 bug 580128 - Fix more compartment warnings. Work of multiple people. r=gal/peterv/jst 2010-10-10 15:37:19 -07:00
Blake Kaplan
a6e9a41e46 bug 580128 - Allow API consumers to pass in a new object altogether before trying to wrap in a security wrapper. r=gal/peterv 2010-10-10 15:36:38 -07:00
Andreas Gal
6fd1e21fc8 bug 599503 - Return true compartment info from JSObject::getCompartment(). r=jorendorff/gregor/gal 2010-09-27 13:49:09 -07:00
Blake Kaplan
6400e2ea1d bug 580128 - Give API consumers a way to perform "brain transplants" on an object. r=gal 2010-09-17 14:54:40 -07:00
Jason Orendorff
335710920d Rename JS_{Read,Write}Pair to JS_{Read,Write}Uint32Pair as suggested by Brendan. Followup to bug 595297. 2010-10-02 09:41:18 -05:00
Jason Orendorff
8847dd3f68 Bug 595297 - Portable serialize/deserialize implementation of the HTML5 structured cloning algorithm (jsclone.cpp). r=gal. 2010-09-30 19:47:10 -05:00
Andreas Gal
341d8716d6 Always create a dummy stack frame when crossing compartment boundaries (bug 600015, r=mrbkap). 2010-09-27 15:55:15 -07:00
Igor Bukanov
d5f7334631 bug 597736 - fixing TreeFragment leak. r=gal 2010-09-21 14:58:19 +02:00
Chris Leary
56196fb6ff Back out b70659aca040, burning XPCShell tests. (no_r=me) 2010-09-23 16:48:35 -07:00
Chris Leary
379f9466a6 Bug 596580: fix versioning on mozJSSubScriptLoader. (r=sayrer,brendan)
--HG--
extra : rebase_source : fb2fe804a3f94bc9d6947605ce0e0c19a29b2227
2010-09-23 14:48:58 -07:00
Jim Blandy
31a896d1e0 Bug 492845: Implement Object.isSealed, Object.seal. a=jwalden, r=brendan 2010-09-21 11:35:30 -07:00