Blake Kaplan
5393af7080
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
7177ccb829
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
8acbb589d6
Remove JSOP_BEGIN and fix tracer integration issues (bug 603044, r=luke+dmandelin).
2010-10-15 11:36:56 -07:00
David Anderson
f08c1c115a
Merge backout.
2010-10-15 15:29:31 -07:00
David Anderson
6567540db5
Backed out changeset 2bdf648e7015
2010-10-15 15:21:51 -07:00
David Anderson
ca42156936
Merge backout.
2010-10-15 14:19:06 -07:00
David Anderson
ff3ebb9a72
Bumped JSD uuid.
2010-10-15 14:18:13 -07:00
David Anderson
36629133e9
Backed out changeset 1998fa240434
2010-10-15 14:13:59 -07:00
Andreas Gal
27b65a00ad
Don't try to waive Xray wrapper for primitives (604361, r=mrbkap).
2010-10-14 13:41:52 -07:00
Jim Blandy
e54a804e93
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
d112487c3d
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
4e2d76fbc7
Backed out changeset af020f2b9293 due to x64 build bustage.
2010-10-07 17:03:01 -07:00
David Mandelin
8b91a371ac
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
4e72176545
Bug 600580 - TM: set right compartment in _newJSDContext r=gwagner
2010-09-29 23:32:22 -07:00
Gregor Wagner
89b77ca30a
Back out 94e52cdc2157
2010-09-29 13:39:22 -07:00
Andreas Gal
aee7415f78
Bug 600580 - TM: set right compartment in _newJSDContext r=gregor
2010-09-29 12:28:05 -07:00
Johnny Stenback
035d15db95
Fixing bug 599761. Use the right compartment in jsd. r=gal.
2010-09-28 19:29:29 -07:00
Andreas Gal
216b4735dc
Compilation fix for bug 600015.
2010-09-27 16:27:30 -07: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
Jason Orendorff
d638cb98b6
Bug 593147 - TM: global Object created in _newJSDContext needs a compartment. r=gal.
2010-09-14 16:24:59 -07:00
Luke Wagner
719f726121
Bug 581263 - remove slow natives (r=waldo,mrbkap)
2010-08-16 12:35:04 -07:00
Luke Wagner
caa348a804
Bug 584453 - fix thinko in jsdScript::GetParameterNames (r=bz)
...
--HG--
extra : rebase_source : a4b2d49c2f84d2faf2fad552eda56aa7ce7f4547
2010-08-11 17:24:39 -07:00
Andrew Drake
590cd322c2
Bug 584912: Fix use after free in jsd_DestroyThreadState. r=timeless, a=sayrer
2010-08-10 17:21:11 -07:00
Igor Bukanov
7ae0ecc9d3
bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff
2010-06-12 18:29:04 +02:00
Igor Bukanov
9842e59608
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
781e5c46d7
bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff
2010-06-12 18:29:04 +02:00
Paul Biggar
b5a53dd7fa
Bug 578159: remove object allocation debug hook. (r=gal, sr=brendan)
2010-07-23 19:33:49 -07:00
Luke Wagner
7371ad00ed
Bug 549143 - fatvals
2010-07-14 23:19:36 -07:00
Robert Sayre
b376d9f810
Merge mozilla-central to tracemonkey.
2010-07-08 18:15:52 -07:00
Robert Sayre
2fd899ed0f
Merge mozilla-central to tracemonkey.
2010-07-02 17:25:52 -07:00
timeless@mozdev.org
ff924125c4
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
a7e67d32ad
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
8c624148c6
Add an API for compartments (570040, r=jorendorff).
2010-06-04 16:32:10 -07:00
David Anderson
89fff65bc6
Fix JSD to use JSCLASS_GLOBAL_FLAGS (bug 561923 part 1.5, r=mrbkap).
2010-05-23 17:14:56 -07:00
Robert Sayre
5da1b58f01
Merge mozilla-central to tracemonkey
2010-05-17 13:55:37 -04:00
Jason Orendorff
424f3e2bab
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
1e779602f9
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
ba4adc8ba7
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
4e26eecbd7
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
6c0f59f4a6
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
timeless@mozdev.org
0962bc16c1
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
a7ca970622
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
41b9495dcf
Bug 565157 - typed JS_AddRoot (r=igor)
2010-06-07 17:05:02 -07:00
Jesse Ruderman
039c5ce791
Remove extra dump statements from tests
2010-02-11 14:14:26 -08:00
Makoto Kato
ccdb20845f
Bug 539378 - Remove MOZ_BITS macro from tree. r=ted
2010-01-19 14:12:09 +09:00
Boris Zbarsky
76560b7f4a
Bug 534676. Fix object hashtable lifetime management. r=timeless
2009-12-14 21:31:59 -08:00
timeless@mozdev.org
8f9f71259b
Bug 530812 Mismatched allocators in jsd: PR_Calloc vs delete, r=biesi
2009-12-13 09:11:39 -08:00
Boris Zbarsky
fadd74825c
Bug 534120. Fixing build bustage on windows.
2009-12-12 14:03:01 -08:00
Boris Zbarsky
0df9e7aa44
Bug 534120. When jsd is paused unhook as much as we can, so we don't interfere with the jit. r=timeless, jorendorff.
2009-12-12 13:35:04 -08:00
Boris Zbarsky
bfd1fe0b33
Bug 507448. Expose the names of the function arguments on jsdIScript. r=timeless,brendan
...
--HG--
rename : content/base/test/Makefile.in => js/jsd/test/Makefile.in
2009-10-26 09:30:40 -04:00