Bill McCloskey
c6cd982f05
Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor)
2012-02-17 14:35:20 -08:00
Ms2ger
73894ac8db
Bug 714728 - Remove jsword/jsuword in favour of intptr_t/uintptr_t; r=Waldo
2012-01-11 09:23:05 +01:00
Ms2ger
66078936e5
Bug 708754 - Use IDL for jsdIDebuggerService::WrapValue and remove WrapJSValue; r=bholley
2011-12-18 11:12:26 +01:00
Ms2ger
aa473f66bd
Bug 705444 - Use IDL for jsdIValue::GetWrappedValue; r=bholley
2011-12-18 11:07:22 +01:00
timeless@mozdev.org
f8353b8539
Bug 700302 - Handle null script filenames (r=sfink)
...
--HG--
extra : rebase_source : 18a1c744b796ca021fa37ff4676a46d78229cd56
2011-11-11 11:35:06 -08:00
Boris Zbarsky
233aceff84
Bug 699528. Make pausing/unpausing JSD try to turn off/on debug mode as needed. r=sfink
...
The new boolean argument to SetDebugModeWhenPossible is needed because if we allow sync-disable of debug mode we seem to crash when loading pages with Firebug active.
2011-11-09 16:11:39 -05:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Igor Bukanov
9dc4e22f8a
bug 678830 - Use JSScript, not script objects, in compile/evaluate API. r=jorendorff
2011-09-02 08:46:00 +02:00
Jason Orendorff
367c025c85
Bug 672893 - Don't #include jscompartment.h in xpconnect. r=cdleary.
2011-08-06 16:05:25 -05:00
Marco Bonardo
2c9501a685
Backout e2807e45402c for Android b-c permaorange and 502c33ae0d81, 3326454d70f5 for Android M5 permaorange.
2011-09-03 12:22:10 +02:00
Jason Orendorff
a622e35128
Bug 672893 - Don't #include jscompartment.h in xpconnect. r=cdleary.
2011-08-06 16:05:25 -05:00
Igor Bukanov
c89518270e
bug 683862 - Using JSGCTraceKind in the public API. r=luke
2011-09-01 20:43:46 +02:00
Michael Wu
bfc8ebbc5c
Bug 675567 - Fix PRBool/JSBool mixups, r=mrbkap
2011-08-03 18:59:10 -07:00
Peter Van der Beken
6c570f85d2
Fix for bug 659581 (Clear debugger activation callback after calling it). r=brendan.
...
--HG--
extra : rebase_source : 41c42ca1ba657b58cb91cb5ed616f9536789ef99
2011-05-25 10:46:51 +02:00
Ed Morley
5f60af28bb
Bug 316661 - Remove null-checks before delete: Part B; r=pbiggar,brendan,bzbarsky
2011-06-01 03:07:00 -07:00
Steve Fink
715faebf0e
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
093e050f1b
Backout 8d39d7a5b85c
2011-05-24 16:53:07 -07:00
Steve Fink
baaa9a6514
Bug 638178 - Add jsdIScript.getExecutableLines for fast identification of breakable lines (r=timeless)
2011-03-03 10:11:54 -08:00
Chris Leary
78ceed9ab7
Merge mozilla-central to tracemonkey.
2011-03-29 09:05:25 -07:00
timeless@mozdev.org
26619ba869
Bug 577910 mark DEBUG only variables as ifdef DEBUG in jsd
...
r=biesi
2010-07-11 15:38:58 +03:00
Steve Fink
86e9633eff
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
abcd4c32b1
Backed out changeset dd5c76d35ac4 (bug 632343).
2011-02-14 23:29:39 -08:00
Luke Wagner
bc1bb93fb2
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
bdc2d97478
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
Steve Fink
e4a3e6541e
Bug 632544 - JSD_GetJSFunction can return NULL (r=dmandelin)
2011-01-28 16:54:42 -08:00
Steve Fink
2af7d0908f
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
e5c82a1fa9
Bug 632314 - Clean up ephemeral stack frames (r=timeless)
...
--HG--
extra : rebase_source : f8190baf0a3e46c94933dcdea512e4f6ea922a67
2011-02-07 17:34:15 -08:00
Steve Fink
7b5ff04357
Bug 629242 - Declare, error check for EnableSingleStepInterrupts (r=dmandelin)
2011-01-31 15:01:08 -08:00
Steve Fink
61565d4634
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
6a333d3f55
Bug 627758 - Handle cancelled GC runs properly (r=dmandelin)
...
--HG--
extra : rebase_source : a215df78cb2bedb190f8655df4cd5b7dd6ec5f3a
2011-01-31 15:00:52 -08:00
Igor Bukanov
7c65c6fde5
bug 624880 - renaming JSD public API to reflect the signature change. r=timeless
2011-01-29 22:40:29 +01:00
timeless@mozdev.org
3a8d5e7ecf
Bug 620420 - jsds_InvalidateAllEphemerals can use a do {} while() loop, r=brendan
2010-12-20 17:12:00 -08:00
Luke Wagner
2fc61cf52e
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
d2355b6bb9
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
4187f585f2
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
3717953163
Bug 612150 - Eliminating JS_GetFunctionName. r=mrbkap
2010-11-24 17:56:43 +01:00
Blake Kaplan
a4b38abdeb
Bug 609141 - Compartments mismatch in jsdScript::GetFunctionSource. r=sayrer
2010-11-03 18:04:22 -07:00
Robert Sayre
aecb00a979
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
03513401da
Bug 595243 - Expose debugMode to JSD. Relanding test bustage fixed up. r=gal.
2010-10-30 12:13:02 -04:00
Jeff Walden
ff603e73f4
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
19cc79ccf3
Bug 595243 - Expose debugMode to JSD. r=gal
2010-10-29 18:35:07 -04:00
Blake Kaplan
f4cc477379
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
David Anderson
2f0a83a27d
Remove JSOP_BEGIN and fix tracer integration issues (bug 603044, r=luke+dmandelin).
2010-10-15 11:36:56 -07:00
David Anderson
61f242f7aa
Backed out changeset 2bdf648e7015
2010-10-15 15:21:51 -07:00
David Anderson
c7c5f82ff4
Backed out changeset 1998fa240434
2010-10-15 14:13:59 -07:00
David Mandelin
3024f662e3
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
50f3df9d0e
Backed out changeset af020f2b9293 due to x64 build bustage.
2010-10-07 17:03:01 -07:00
David Mandelin
544d2fb3f2
Bug 602003: add jsd API to query valid script begin and end PCs, r=sayrer,jjb
2010-10-06 11:23:14 -07:00
Luke Wagner
5e9978f911
Bug 581263 - remove slow natives (r=waldo,mrbkap)
2010-08-16 12:35:04 -07:00
Luke Wagner
0fc967db46
Bug 584453 - fix thinko in jsdScript::GetParameterNames (r=bz)
...
--HG--
extra : rebase_source : a4b2d49c2f84d2faf2fad552eda56aa7ce7f4547
2010-08-11 17:24:39 -07:00
Paul Biggar
1504032238
Bug 578159: remove object allocation debug hook. (r=gal, sr=brendan)
2010-07-23 19:33:49 -07:00
Luke Wagner
99411cc93d
Bug 549143 - fatvals
2010-07-14 23:19:36 -07:00
Benjamin Smedberg
f13550a209
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
timeless@mozdev.org
d555f3f806
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
timeless@mozdev.org
159260b382
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
f0560d9e8e
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
timeless@mozdev.org
0bba9a5a86
Bug 530812 Mismatched allocators in jsd: PR_Calloc vs delete, r=biesi
2009-12-13 09:11:39 -08:00
Boris Zbarsky
f3ee4d03a2
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
3aef7b8edb
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
79701a2085
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
395f56d6c5
Bug 521010. Expose a .script on jsdIValue, r=brendan
2009-10-07 21:19:54 -04:00
Chris Jones
08de77b6a4
Backed out changeset 8cbc47eee659
2009-10-02 18:09:08 -05:00
Chris Jones
3e5fef214c
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
Igor Bukanov
b9b1577eec
bug 630209 - (Compile|Execute)Script that are GC-safe. r=jorendorff
2011-02-03 14:06:21 +01:00
Marti Raudsepp
932d73a3ef
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
c8f711113e
Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin
2009-08-14 16:09:00 +02:00
timeless@mozdev.org
6e5d8a5804
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
timeless@mozdev.org
e4571da779
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
5efd1326d0
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
ede6a5c2f9
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
cdcfd4b062
Bug 427164 - jsdIScript.isLineExecutable should return NS_ERROR_OUT_OF_MEMORY for oom, r=caillon
2009-01-04 10:59:17 -08:00
timeless
f254a8e531
Bug 469795 - tolerate contexts which don't have a JSOPTION_PRIVATE_IS_NSISUPPORTS; r+sr=jst
2009-01-04 09:06:51 +01:00
Taras Glek
71b568fe41
bug 453889: Correct prbool misuse in spidermonkey
2008-09-08 13:41:09 -07:00
Arpad Borsos
9b6f558fee
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
igor@mir2.org
c0d5c51190
[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
eaa513c2f5
bug=423874 r=brendan a1.9b5=dsicore Allocating native functions together with JSObject
2008-03-21 01:19:23 -07:00
timeless@mozdev.org
74b458a796
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
230fba1b62
Bug 282660 Crash [@ jsds_NotifyPendingDeadScripts] ds->script is null r=jst a=beltzner
2008-03-05 13:10:01 -08:00
timeless@mozdev.org
a7cd3c0106
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
ebdf2bd20b
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
dfc4cee45d
Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep
2008-01-15 07:50:57 -08:00
jwalden@mit.edu
e3c4baccae
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
90c5be45ec
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
3da1de5e09
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
d69de1f698
Bug 379165: Simplifing JS_DimpHeap while fixing BeOS build problems. r=brendan
2007-04-29 14:49:00 -07:00
igor@mir2.org
68d7b74a96
Bug 378261: Replacing GC_MARK_DEBUG by DumpHeap. r=brendan
2007-04-25 06:43:18 -07:00
hg@mozilla.com
465265d0d4
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