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

330 Коммитов

Автор SHA1 Сообщение Дата
Igor Bukanov 9d122b19a5 bug 607292 - eliminating JS_GetStringBytes and friends. r=gal 2010-11-08 13:17:31 +01:00
Blake Kaplan be6c058add Bug 609141 - Compartments mismatch in jsdScript::GetFunctionSource. r=sayrer 2010-11-03 18:04:22 -07:00
Robert Sayre f02976c106 Follow-up fix for bug 595243. Don't try to place non-main thread scripts in debug mode, and don't attempt to set debug mode from a non-main thread. r=gal 2010-10-30 15:07:46 -04:00
Robert Sayre 5a5c362199 Bug 595243 - Expose debugMode to JSD. Relanding test bustage fixed up. r=gal. 2010-10-30 12:13:02 -04:00
Jeff Walden c25615a4b0 Backed out changeset 85feecf161fe (Career Limiting Move? <http://bonsai.mozilla.org/cvsquery.cgi?who=sspitzer%40netscape.com&whotype=regexp&date=explicit&mindate=2001-01-25+10%3A00&maxdate=2001-01-25+10%3A15>), seems to have turned mochitest-plain-4 orange. 2010-10-29 22:31:12 -07:00
Robert Sayre b9496b2349 Bug 595243 - Expose debugMode to JSD. r=gal 2010-10-29 18:35:07 -04:00
Blake Kaplan 94bdec5ed7 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
--HG--
extra : rebase_source : f0e69380a0ef144e07af7d75b859712fe67bb753
2010-10-26 19:48:51 -07:00
Blake Kaplan 06ee76c72b Bug 606357 - Make jsd values not compartment mismatch. r=gal
--HG--
extra : transplant_source : %DD49k%A8%D8%92p%1EC%07NKU%9D%BFY8%A0U
2010-10-25 12:12:32 -07:00
David Anderson 8fcaad8405 Remove JSOP_BEGIN and fix tracer integration issues (bug 603044, r=luke+dmandelin). 2010-10-15 11:36:56 -07:00
David Anderson 720fa885a7 Merge backout. 2010-10-15 15:29:31 -07:00
David Anderson d12dcb2199 Backed out changeset 2bdf648e7015 2010-10-15 15:21:51 -07:00
David Anderson 3cb62e0a8f Merge backout. 2010-10-15 14:19:06 -07:00
David Anderson 446fcc70fc Bumped JSD uuid. 2010-10-15 14:18:13 -07:00
David Anderson 8086415688 Backed out changeset 1998fa240434 2010-10-15 14:13:59 -07:00
Andreas Gal 9dfe6ec6e0 Don't try to waive Xray wrapper for primitives (604361, r=mrbkap). 2010-10-14 13:41:52 -07:00
Jim Blandy def7caaed5 Bug 514570: Adapt jsd to new JS_GetFrameThis arguments. r=brendan
It used to be:
JSObject *JS_GetFrameThis(JSContext *, JSStackFrame *);

Now it is:
JSBool JS_GetFrameThis(JSContext *, JSStackFrame *, jsval *);

(In strict mode code, |this| values that are primitives don't get wrapped.)
2010-10-12 11:50:03 -07:00
David Mandelin b6afb977ea Bug 602003: add jsd API to query valid script begin and end PCs, r=sayrer,jjb 2010-10-06 11:23:14 -07:00
David Mandelin c647a70390 Backed out changeset af020f2b9293 due to x64 build bustage. 2010-10-07 17:03:01 -07:00
David Mandelin 8bea69ceb4 Bug 602003: add jsd API to query valid script begin and end PCs, r=sayrer,jjb 2010-10-06 11:23:14 -07:00
Andreas Gal 5d580bfd83 Bug 600580 - TM: set right compartment in _newJSDContext r=gwagner 2010-09-29 23:32:22 -07:00
Gregor Wagner c8ad834c04 Back out 94e52cdc2157 2010-09-29 13:39:22 -07:00
Andreas Gal c78ba1198f Bug 600580 - TM: set right compartment in _newJSDContext r=gregor 2010-09-29 12:28:05 -07:00
Johnny Stenback e318c60e12 Fixing bug 599761. Use the right compartment in jsd. r=gal. 2010-09-28 19:29:29 -07:00
Andreas Gal 958218e27b Compilation fix for bug 600015. 2010-09-27 16:27:30 -07:00
Andreas Gal 80d412aae5 Always create a dummy stack frame when crossing compartment boundaries (bug 600015, r=mrbkap). 2010-09-27 15:55:15 -07:00
Jason Orendorff 7c32bf3a34 Bug 593147 - TM: global Object created in _newJSDContext needs a compartment. r=gal. 2010-09-14 16:24:59 -07:00
Luke Wagner fb78ed07aa Bug 581263 - remove slow natives (r=waldo,mrbkap) 2010-08-16 12:35:04 -07:00
Luke Wagner 684b963b54 Bug 584453 - fix thinko in jsdScript::GetParameterNames (r=bz)
--HG--
extra : rebase_source : a4b2d49c2f84d2faf2fad552eda56aa7ce7f4547
2010-08-11 17:24:39 -07:00
Andrew Drake dd4a5bb014 Bug 584912: Fix use after free in jsd_DestroyThreadState. r=timeless, a=sayrer 2010-08-10 17:21:11 -07:00
Igor Bukanov b7a9c7ba4e bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Igor Bukanov 0cba307f08 Backed out changeset 7b2b90efe57d -- the patch was landed against a tree with a lot of orange. This will hinder the orange resolution. 2010-07-28 14:36:06 +02:00
Igor Bukanov a902a030c8 bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Paul Biggar edb0aecbeb Bug 578159: remove object allocation debug hook. (r=gal, sr=brendan) 2010-07-23 19:33:49 -07:00
Luke Wagner ad475468cd Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Robert Sayre 28347a8bea Merge mozilla-central to tracemonkey. 2010-07-08 18:15:52 -07:00
Robert Sayre 0fb4de7a31 Merge mozilla-central to tracemonkey. 2010-07-02 17:25:52 -07:00
timeless@mozdev.org 78382493a8 Bug 552686 JS_GetFrameThis seems to require a JSContext these days when it calls some xpconnect wrapper that gets a thisObject
r=jorendorff

--HG--
extra : rebase_source : 7db05ad444219ffd5dbb64a86ac7470aa8095ace
2010-05-25 04:11:47 +03:00
Benjamin Smedberg 5b338a8304 Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Andreas Gal 5c0607d7f7 Add an API for compartments (570040, r=jorendorff). 2010-06-04 16:32:10 -07:00
David Anderson a084312acd Fix JSD to use JSCLASS_GLOBAL_FLAGS (bug 561923 part 1.5, r=mrbkap). 2010-05-23 17:14:56 -07:00
Robert Sayre 58f0e99f4d Merge mozilla-central to tracemonkey 2010-05-17 13:55:37 -04:00
Jason Orendorff a4dd60cb56 Bug 560643 - Add a special jsval type to XPIDL. Part 2, manual IDL cleanup. r+sr=jst.
--HG--
extra : rebase_source : 9529caa471dd4de9ddc9cedbab38922f9398011e
2010-05-12 08:19:22 -05:00
Jason Orendorff 70d486e6b1 Bug 560643 - Add a special jsval type to XPIDL. Part 1, rename JSVal -> jsval in existing IDL. r+sr=jst.
--HG--
extra : rebase_source : 3d50f7468277883a26790df13a639ce37757a257
2010-05-12 08:18:51 -05:00
Luke Wagner 48ef5714a2 Bug 562991 - Change JS_SetTrap closure argument type from void* to jsval (r=brendan) 2010-04-30 17:34:54 -07:00
timeless@mozdev.org 3c1caed657 Bug 560139 - jsdStackFrame::Eval leaks estate when failing to use ContextStack. r=jorendorff.
--HG--
extra : rebase_source : 611b291f96b21d33ba8f1ab3d56401c7fff7900d
2010-04-19 09:22:00 -05:00
Michael Kohler c00ff9684a Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
timeless@mozdev.org bf4ded6217 Bug 469226 every method in jsd-xpc would needs to push a frame before calling jsd_ to make quickstubs happy
fix jsd for quickstubs
r=jorendorff

--HG--
extra : rebase_source : 345b8c19b67524dcc632689021a981a944d5ba45
2010-03-12 07:50:10 +01:00
Chris Jones 189c9e51ca Bug 441324, part 1: Shuffle around includes to avoid problems with #define malloc et al. r=bsmedberg 2010-03-03 23:02:55 -06:00
Luke Wagner 1581c6693c Bug 565157 - typed JS_AddRoot (r=igor) 2010-06-07 17:05:02 -07:00
Jesse Ruderman 5a7b76c5ad Remove extra dump statements from tests 2010-02-11 14:14:26 -08:00