Commit Graph

451 Commits

Author SHA1 Message Date
Ed Morley
8aaddd0334 Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Chris Leary
b1d3530553 Merge mozilla-central to tracemonkey. 2011-06-06 09:41:22 -07:00
Ed Morley
8b537ea0b4 Bug 316661 - Remove null-checks before delete: Part B; r=pbiggar,brendan,bzbarsky 2011-06-01 03:07:00 -07:00
Steve Fink
d38677ad7e Test for bug 638178 - new feature getExecutableLines (r=timeless)
--HG--
extra : rebase_source : d29194bf998a6dfcb2fadd5e2186d4d64396bd6f
2011-03-03 10:11:54 -08:00
Steve Fink
f220c6d799 Bug 638178 - Add jsdIScript.getExecutableLines for fast identification of breakable lines (r=timeless)
--HG--
extra : rebase_source : a7d66e9ec47ccedfdf1abc3c1d339629c7eb5f3d
2011-03-03 10:11:54 -08:00
Steve Fink
841dc77018 Backout 8d39d7a5b85c 2011-05-24 16:53:07 -07:00
Steve Fink
213abb5dfb Backout 6358f05bdd6d 2011-05-24 16:52:46 -07:00
Steve Fink
9bd7f14de2 Test for bug 638178 - new feature getExecutableLines (r=timeless) 2011-03-03 10:11:54 -08:00
Steve Fink
985e3539ea Bug 638178 - Add jsdIScript.getExecutableLines for fast identification of breakable lines (r=timeless) 2011-03-03 10:11:54 -08:00
Matheus Kerschbaum
6eb93f7dd3 Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Igor Bukanov
a74ff4eee4 Bug 641048 - adding proper constructor/destrictor to JSTHread/ThreadData 641048. r=luke r=mrbkap 2011-03-13 15:45:02 +01:00
Chris Leary
e2cbaf0e9e Merge mozilla-central to tracemonkey. 2011-04-02 12:12:45 -07:00
Steve Fink
8c5e6eaec6 Bug 639943 - Convert IDL formatting to JS engine house style (r=timeless) 2011-03-26 12:05:40 -07:00
Chris Leary
02fde279ea Merge mozilla-central and tracemonkey. 2011-03-29 14:52:44 -07:00
Chris Leary
7f1a11eb97 Merge mozilla-central to tracemonkey. 2011-03-29 09:05:25 -07:00
Luke Wagner
24f04a3627 Bug 646380 - jsd_GetValueString needs to null out 'call' after leaving the cross compartment call (r=sphink) 2011-03-31 15:29:44 -04:00
timeless@mozdev.org
5254813390 Bug 586731 jsd_NewSourceText leaks new_url_string ifndef LIVEWIRE
r=biesi
2011-03-28 16:49:16 -04:00
timeless@mozdev.org
472d03a94a Bug 577910 mark DEBUG only variables as ifdef DEBUG in jsd
r=biesi
2010-07-11 15:38:58 +03:00
Steve Fink
96379e62ab Bug 635298 - Check return value of JS_ValueToString() (r=luke, a=gal)
--HG--
extra : rebase_source : 578154e99a3192c7c6610f62b181bf222373b834
2011-02-18 14:27:00 -08:00
Chris Leary
70a84aa2cf Merge mozilla-central to tracemonkey. 2011-02-17 10:36:55 -08:00
Steve Fink
8a6f9bda91 Bug 632343 - Fix live script check, do not recompile when turning off debugging (r=luke) 2011-02-11 17:12:00 -08:00
Andreas Gal
91c0345307 Backed out changeset dd5c76d35ac4 (bug 632343). 2011-02-14 23:29:39 -08:00
Luke Wagner
4f83a547d9 Bug 632343 - Fix live script check, do not recompile when turning off debugging (r=luke) 2011-02-11 17:12:00 -08:00
Steve Fink
d738f7dcea Bug 633016 - Prevent jsdScripts from leaking by always hooking script creation/destruction (r=gal)
--HG--
extra : rebase_source : 93f446ba1cda0cc56659da9773ab99670d3516b8
2011-02-11 13:22:58 -08:00
Chris Leary
a108919668 Merge tracemonkey to mozilla-central. (a=blockers) 2011-02-15 12:05:57 -08:00
Gijs Kruitbosch
50803d0ee0 Bug 633833 - Add function keyword to all the single function JSD interfaces, r=timeless, a=bzbarsky 2011-02-14 17:14:07 +01:00
Steve Fink
a2f27a580c Bug 632544 - JSD_GetJSFunction can return NULL (r=dmandelin) 2011-01-28 16:54:42 -08:00
Steve Fink
120cb7d2ac Bug 628758 - Various compartment and request fixes for JSD (r=luke)
--HG--
extra : rebase_source : 98a06e6f9c7528ebbdbaa445d7cc8e28973d5d02
2011-01-27 18:31:48 -08:00
Steve Fink
001679a171 Bug 632314 - Clean up ephemeral stack frames (r=timeless)
--HG--
extra : rebase_source : f8190baf0a3e46c94933dcdea512e4f6ea922a67
2011-02-07 17:34:15 -08:00
Steve Fink
a5809f66ef Bug 629242 - Declare, error check for EnableSingleStepInterrupts (r=dmandelin) 2011-01-31 15:01:08 -08:00
Steve Fink
4a60b81db6 Bug 626743 - Set debug mode for all compartments in main thread (r=dmandelin, a=blocker)
--HG--
extra : rebase_source : ee656687d36620cad69d415baa9a71748154b563
2011-01-20 22:10:54 -08:00
Steve Fink
39a9bd6c3f Bug 627758 - Handle cancelled GC runs properly (r=dmandelin)
--HG--
extra : rebase_source : a215df78cb2bedb190f8655df4cd5b7dd6ec5f3a
2011-01-31 15:00:52 -08:00
Igor Bukanov
bfe6be0aec bug 624880 - renaming JSD public API to reflect the signature change. r=timeless 2011-01-29 22:40:29 +01:00
Steve Fink
645725bd16 Bug 624316 - Unwrap wrapped functions before returning them to JSD to see the contained script and name, r=gal, a=blocker
--HG--
extra : rebase_source : cd15aed41ace6f368ef5f149cd88f32c9dfd1aa5
2011-01-11 14:24:52 -08:00
Steve Fink
e052c80510 Test loosely connected to bug 617870 - check whether JSD's topLevelHook and functionHook callbacks are invoked properly (r=test) 2010-12-10 11:39:46 -08:00
timeless@mozdev.org
2e4a9b2c4c Bug 620420 - jsds_InvalidateAllEphemerals can use a do {} while() loop, r=brendan 2010-12-20 17:12:00 -08:00
Igor Bukanov
6f324ec97c Bug 619641 - making jsd to return "anonymous" for nameless functions, not an empty string, for compatibility with Firebug. r=adrake 2010-12-23 22:41:57 +01:00
timeless@mozdev.org
ab8210a0dc Bug 617964 jsd_NewValue leaks jsdval when JS_EnterCrossCompartmentCall fails, r=jorendorff 2010-12-09 13:14:00 -08:00
Luke Wagner
56b2810a26 Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh) 2010-12-03 00:24:17 -08:00
Andrew Drake
4198b5588f Bug 617870, rest of bug 609141 - Cross-compartment calls for JSD, add JSScript* option for JS_EnterCrossCompartmentCall. r=jorendorff
--HG--
extra : rebase_source : bc60e91a6804470e28038cc62e60eca16710776c
2010-12-14 13:24:00 -08:00
Steve Fink
0676e09544 Bug 610793 - Add a per-script enableSingleStepInterrupts() to JSD [r=dmandelin]
--HG--
extra : rebase_source : 248eb8bf3d3a94cce626614da2be1449c8b27a8f
2010-11-16 15:18:35 -08:00
Igor Bukanov
cded0d1852 Bug 612150 - Eliminating JS_GetFunctionName. r=mrbkap 2010-11-24 17:56:43 +01:00
timeless@mozdev.org
2ef3e053ef Bug 615361 warning: cast from pointer to integer of different size in jsd
r=bz

--HG--
extra : rebase_source : 6f2dc7c2ba4b0367a8723bae01ce3797d193ff0d
2010-12-04 11:05:45 +01:00
Igor Bukanov
fe24d0398a bug 607292 - eliminating JS_GetStringBytes and friends. r=gal 2010-11-08 13:17:31 +01:00
Blake Kaplan
d21e32b8fa Bug 609141 - Compartments mismatch in jsdScript::GetFunctionSource. r=sayrer 2010-11-03 18:04:22 -07:00
Robert Sayre
223d2052ea 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
7b6b35d47a Bug 595243 - Expose debugMode to JSD. Relanding test bustage fixed up. r=gal. 2010-10-30 12:13:02 -04:00
Jeff Walden
ac46278eac 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
46c277ecd7 Bug 595243 - Expose debugMode to JSD. r=gal 2010-10-29 18:35:07 -04:00
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
Olli Pettay
33365a4e60 Bug 506961 - Add a method to get jsdIValue from JS implemented event listeners, r=bz
--HG--
extra : rebase_source : 93d446c1c94512be8cc0dc208c0bf8f1cd3cc936
2009-10-17 17:40:44 +03:00
Boris Zbarsky
e38d60ca8c Bug 521010. Expose a .script on jsdIValue, r=brendan 2009-10-07 21:19:54 -04:00
Chris Jones
708e2e04ae Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
Chris Jones
f2df9d3504 bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad 2009-10-01 21:50:09 -05:00
Luke Wagner
ee5173d043 Bug 613457 - clean up string interfaces (r=njn)
--HG--
extra : rebase_source : 3e77b67fa9fe2cc31312ad99951cf92258a98e64
2011-03-14 13:59:53 -07:00
Steve Fink
6b83fe7d05 Bug 630939 - JSD type error fetching construction function name (r=timeless)
--HG--
extra : rebase_source : 6199fbb193bf4b9471084055275e675629f1b95f
2011-02-01 12:44:41 -08:00
Steve Fink
fe126e391f Bug 631467 - NULL dereference on jsdc->dumbContext on error (r=gal)
--HG--
extra : rebase_source : 4f4bd83377302ccd97ab3c6b412ce9508971a320
2011-02-04 00:36:05 -08:00
Igor Bukanov
ca3a8f26c1 bug 630209 - (Compile|Execute)Script that are GC-safe. r=jorendorff 2011-02-03 14:06:21 +01:00
Benjamin Smedberg
667f63d102 Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Benjamin Smedberg
36bc86429d Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
Benjamin Smedberg
ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Serge Gautherie
1766cc0dda Bug 506502 - Remove "MOZ_BITS == 16" parts (in dbm and nsprpub); (Bv1-MC) Remove (last) 3 *.mak; r=gal 2009-08-25 15:22:26 +02:00
Marti Raudsepp
adf94907af Bug 510040 - Fix JS debugger crash on 64-bit: don't truncate PC to jsuint in jsds_FilterHook. r=timeless
This caused Firefox to segfault in 64-bit builds when starting up with the
Chromebug extension loaded.
2009-08-12 22:09:29 +03:00
Hashem Masoud
b71a1a1cfa Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Rob Campbell
4bcafa2aff bug 474358 - assertion isOuterWindow fix for windows breakage 2009-07-24 11:49:37 -03:00
Rob Campbell
ffb3a9b881 bug 474358 - ASSERTION: Inner window detected in Equality hook, isOuterWindow, p=me, r=timeless, sr=mrbkap 2009-07-24 10:20:34 -03:00
Johnny Stenback
ac0964e5c0 Fixing bug 442399. Remove LiveConnect from the tree. r=joshmoz@gmail.com, bclary@bclary.com, sr=brendan@mozilla.org 2009-06-30 15:55:16 -07:00
Makoto Kato
12a1c550e6 Bug 498862 - build error in script_alloc_ops on CodeWarrior for Symbian emulator. r=timeless 2009-06-18 18:12:56 +09:00
timeless@mozdev.org
99deca10be Bug 440982 To avoid calling JS at unsafe times from JS_GC, jsds_ScriptHookProc should not get the script hook unless it needs to and it is safe to call
r=brendan sr=brendan
2009-06-04 21:00:56 -04:00
Blake Kaplan
c17ba0ad88 Bug 483847 - Remove bogo-assertion (and fix compilation warning). r=Waldo 2009-04-02 15:01:15 -07:00
Wladimir Palant
999b36a801 Bug 480765 - Scripts compiled before the debugger got activated cannot be debugged; r=timeless 2009-03-14 15:57:31 +01:00
timeless@mozdev.org
476b213594 Bug 482809 Crash [@ jsds_SyncFilter(FilterRecord*, jsdIFilter*) ] when appendFilter() called with Console2 installed
removing errant change that crept into rev 36f4da6e262a with the fix for bug 136292
r=roc
2009-03-12 13:04:48 +01:00
timeless@mozdev.org
fdb8689eae Bug 482809 Crash [@ jsds_SyncFilter(FilterRecord*, jsdIFilter*) ] when appendFilter() called with Console2 installed
removing errant change that crept into rev 36f4da6e262a with the fix for bug 136292
r=roc
2009-03-12 12:31:34 +01:00
timeless@mozdev.org
405fbf0989 Bug 475898 - jsdIDebuggerService.idl changed without changing uuid, r+sr=bz 2009-02-04 22:43:56 -08:00
timeless@mozdev.org
424d17dfdd Bug 136292 jsdIValue doesn't handle Unicode string values at all
Bug 335098 Strings with \x00 are truncated
support non ascii strings from js engine, r+sr=jst
2009-01-07 20:42:15 -08:00
timeless@mozdev.org
ccc51a22e8 Bug 472292 Crash [@ jsdScript::CreatePPLineMap() ] with Firebug when invoking a non-function from an event handler.
r=caillon
2009-01-06 21:34:56 +01:00
timeless@mozdev.org
cb0f0635d9 Bug 427164 - jsdIScript.isLineExecutable should return NS_ERROR_OUT_OF_MEMORY for oom, r=caillon 2009-01-04 10:59:17 -08:00
timeless
f111d52c39 Bug 469795 - tolerate contexts which don't have a JSOPTION_PRIVATE_IS_NSISUPPORTS; r+sr=jst 2009-01-04 09:06:51 +01:00
Phil Ringnalda
538c9fb42a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Arpad Borsos
c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Taras Glek
47f8a782cc bug 453889: Correct prbool misuse in spidermonkey 2008-09-08 13:41:09 -07:00
Arpad Borsos
5a19e3346c Bug 398946 - Remove JS_STATIC_DLL_CALLBACK and JS_DLL_CALLBACK from the tree; r=(benjamin + bent.mozilla) 2008-09-07 00:21:43 +02:00
crowder@fiverocks.com
d6e8b9586d Bug 428128 - Removal of legacy JSLL_ routines, r=brendan, a=mtschrep 2008-04-25 11:40:05 -07:00
igor@mir2.org
e05006a6f0 [bug 423874] backing out as a simpler patch would do the job with less code. 2008-03-29 03:34:29 -07:00
igor@mir2.org
8c88d304f4 bug=423874 r=brendan a1.9b5=dsicore Allocating native functions together with JSObject 2008-03-21 01:19:23 -07:00
timeless@mozdev.org
7e62613f50 Bug 421303 Crash [@ jsds_ScriptHookProc] r=caillon a=dsicore If we reach ~jsdService, that means our client doesn't care about us, so we can (and should) drop all references to any callbacks (if they cared, they'd have kept us alive!*). I think jsdService::Off should clear all the hooks, the strange magic of not clearing it isn't really a great idea. So for Off, we'll now clear the ScriptHook too (consumers who use off should really drop any references they have to our objects...). I'm still on the fence on this point, I suspect we can actually move it from ::Off to ~jsdService (it must be cleared at some point, otherwise if jsd_xpc's library manages to get unloaded, the function pointer would be invalid, which would be *BAD*). jsds_NotifyPendingDeadScripts needs to clear gDeadScripts whether or not there's a service or hooks, so it does. Because it's a static callback and because of the scary way GC works, I'd rather ensure (deathgrip) that jsds is available (and consistent!) for the duration of the function call. The code already handles the lack of a hook, so there's no reason to do magical returns.... The real problem which mayhemer found was that jsdService::Off was returning early (failure) because gGCStatus wasn't JSGC_END when called from ~jsdService from JS_GC from the cyclecollector, so we make sure that ~jsdService forces ::Off to act as if it is JSGC_END (after ensuring that there are no callbacks available). * a pure javascript (xpcom component, not DOM hosted!) version of a jsdService consumer means that jsdService will need to talk to the CycleCollector eventually (this is another bug for the future). 2008-03-10 17:13:48 -07:00
timeless@mozdev.org
4dc91524a4 Bug 282660 Crash [@ jsds_NotifyPendingDeadScripts] ds->script is null r=jst a=beltzner 2008-03-05 13:10:01 -08:00
timeless@mozdev.org
35f7453c13 Bug 394114 Interfaces missing from various QI implementations. jsdContext r=caillon sr=jag a=dsicore 2008-02-26 07:10:19 -08:00
timeless@mozdev.org
356b441998 Bug 405025 ASSERT_VALID_LOCK failed r=gijs a=dsicore 2008-02-26 07:07:05 -08:00
timeless@mozdev.org
8275780222 Bug 405025 ASSERT_VALID_LOCK failed r=gijs a=dsicore 2008-02-26 07:04:13 -08:00
timeless@mozdev.org
2648527d6f Bug 416293 unbalanced locking in jsd_SetExecutionHook r=crowder a=mtschrep 2008-02-09 20:16:54 -08:00
timeless@mozdev.org
1d2542004c Bug 411249 Top crash [@ jsds_ScriptHookProc][@jsds_ScriptHookProc(JSDContext*, JSDScript*, int, void*)] on shutdown with Firebug 1.1.0b10 installed r=gijs a=beltzner 2008-01-31 11:12:47 -08:00
benjamin@smedbergs.us
b3e87aa63b Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep 2008-01-15 07:50:57 -08:00
timeless@mozdev.org
8b72a3f4cc Bug 336991 Useless null check of jsdscript in _destroyJSDScript r=gijs sr=bz a=dsicore 2007-12-23 15:47:36 -08:00
jwalden@mit.edu
6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
timeless@mozdev.org
3fd8c7b1e1 Bug 385765 [@ jsdASObserver::Observe] You can't dereference a NULL nsCOMPtr with operator->()
r=dveditz sr=dveditz
2007-07-01 12:25:10 -07:00
timeless@mozdev.org
629db88a38 Bug 365363 Return value for GetJSDValue ignored leading to death
r=silver sr=biesi
2007-06-19 22:56:13 -07:00
igor@mir2.org
3552c2e515 Bug 379165: Simplifing JS_DimpHeap while fixing BeOS build problems. r=brendan 2007-04-29 14:49:00 -07:00
igor@mir2.org
fb57b9f902 Bug 378261: Replacing GC_MARK_DEBUG by DumpHeap. r=brendan 2007-04-25 06:43:18 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
benjamin%smedbergs.us
b5c72a22b9 Bug 78081 - Don't export intermediate libraries, r=luser
This is going to break camino until those build scripts are updated.
2007-02-21 15:13:36 +00:00