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

234 Коммитов

Автор SHA1 Сообщение Дата
jwalden@mit.edu 12e960c504 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 967fa64971 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 6503001220 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 443684167e Bug 379165: Simplifing JS_DimpHeap while fixing BeOS build problems. r=brendan 2007-04-29 14:49:00 -07:00
igor@mir2.org 32b06e31f6 Bug 378261: Replacing GC_MARK_DEBUG by DumpHeap. r=brendan 2007-04-25 06:43:18 -07:00
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07:00
crowder%fiverocks.com 0c35823bc9 Bug 428128 - Removal of legacy JSLL_ routines, r=brendan, a=mtschrep 2008-04-25 18:40:05 +00:00
igor%mir2.org acca7a06be [bug 423874] backing out as a simpler patch would do the job with less code. 2008-03-29 10:34:31 +00:00
igor%mir2.org 5ab7e29428 bug=423874 r=brendan a1.9b5=dsicore
Allocating native functions together with JSObject
2008-03-21 08:19:27 +00:00
timeless%mozdev.org bbcb39000d 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-11 00:13:48 +00:00
timeless%mozdev.org b88c1f637a Bug 421044 get jsdb to finalize runtimes correctly 2008-03-06 05:24:04 +00:00
timeless%mozdev.org 5aff8dcd9b Bug 421052 add gc to jsdb frames 2008-03-06 05:11:39 +00:00
timeless%mozdev.org 167673cb80 Bug 421044 get jsdb to finalize runtimes correctly
excluding patch to js shell
2008-03-06 05:10:10 +00:00
timeless%mozdev.org 030f46098c Bug 420789 jsdb_HandleValToPointer fails JS_ASSERT(p->type == type); 2008-03-06 05:08:01 +00:00
timeless%mozdev.org 59fb99858c Bug 282660 Crash [@ jsds_NotifyPendingDeadScripts] ds->script is null
r=jst a=beltzner
2008-03-05 21:10:01 +00:00
timeless%mozdev.org 6f5413da48 Bug 394114 Interfaces missing from various QI implementations.
jsdContext
r=caillon sr=jag a=dsicore
2008-02-26 15:10:19 +00:00
timeless%mozdev.org 55a710b6ff Bug 405025 ASSERT_VALID_LOCK failed
r=gijs a=dsicore
2008-02-26 15:07:05 +00:00
timeless%mozdev.org 9bf84c3099 Bug 405025 ASSERT_VALID_LOCK failed
r=gijs a=dsicore
2008-02-26 15:04:13 +00:00
timeless%mozdev.org 0011b6cc5e Fixing spelling error 2008-02-17 09:02:53 +00:00
timeless%mozdev.org e577227d70 Bug 416978 jsdb crashes in js_FindProperty because it isn't using JSOPTION_COMPILE_N_GO
r=brendan a=brendan
2008-02-12 22:36:38 +00:00
timeless%mozdev.org 20b8976a38 Bug 416293 unbalanced locking in jsd_SetExecutionHook
r=crowder a=mtschrep
2008-02-10 04:16:54 +00:00
timeless%mozdev.org 9b10b65e69 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 19:12:47 +00:00
benjamin%smedbergs.us c6b0868a4c Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep 2008-01-15 15:51:02 +00:00
timeless%mozdev.org 06d80e3e4f Bug 336991 Useless null check of jsdscript in _destroyJSDScript
r=gijs sr=bz a=dsicore
2007-12-23 23:47:36 +00:00
timeless%mozdev.org dcd952cceb 332241 Resurrect jsdb
r=gijskruitbosch+bugs@gmail.com
2007-10-19 07:40:57 +00:00
reed%reedloden.com 38ab7c8500 Backout timeless's check-in for bug 332241 to help find Tp regression. 2007-10-17 00:27:38 +00:00
timeless%mozdev.org 2b7dc43650 332241 Resurrect jsdb
r=gijskruitbosch+bugs@gmail.com
2007-10-15 18:34:22 +00:00
jwalden%mit.edu ef68fcf595 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 07:08:56 +00:00
timeless%mozdev.org b2a20d910c Bug 385765 [@ jsdASObserver::Observe] You can't dereference a NULL nsCOMPtr with operator->()
r=dveditz sr=dveditz
2007-07-01 19:25:10 +00:00
timeless%mozdev.org a168ae84b1 Bug 365363 Return value for GetJSDValue ignored leading to death
r=silver sr=biesi
2007-06-20 05:56:13 +00:00
igor%mir2.org 54d5ee11ed Bug 379165: Simplifing JS_DimpHeap while fixing BeOS build problems. r=brendan 2007-04-29 21:49:01 +00:00
igor%mir2.org d3bb8f0c33 Bug 378261: Replacing GC_MARK_DEBUG by DumpHeap. r=brendan 2007-04-25 13:43:18 +00:00
benjamin%smedbergs.us 9dad82ab1c 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
timeless%mozdev.org 514c77dd47 Bug 325539 typo in mozilla/js/jsd/idl/jsdIDebuggerService.idl
r=silver
2007-01-07 10:50:23 +00:00
silver%warwickcompsoc.co.uk 24ff5a8c5d Bug 343511 - Don't assert more than necessary. r=rginda 2006-07-20 15:25:32 +00:00
silver%warwickcompsoc.co.uk 809acd011e Partial backout of bug 341919 to fix bustage caused by DOM_AGNOSTIC3_BRANCH landing. 2006-06-26 11:11:57 +00:00
silver%warwickcompsoc.co.uk bfbdc4c8ec Bug 341919 - Remove widget dependency from JSD. r=rginda sr=jst 2006-06-26 10:36:28 +00:00
bent.mozilla%gmail.com 9c854d5c4b Bug 342573 - "Fix accidental return value switch from bug 176182". r=mrbkap. 2006-06-23 22:29:51 +00:00
gijskruitbosch%gmail.com dd4ff5fca7 Bug 342074 - JSD crashes on exit when there's two clients
r+a=timeless
2006-06-20 15:54:44 +00:00
mrbkap%gmail.com 43895f48e7 Checking in Ben Turner <bent.mozilla@gmail.com> and timeless's patch to make Gecko use the JS engine's request model to help multithreaded embedders avoid GC races and crashes. bug 176182, r=mrbkap assumed-rs=brendan 2006-06-12 22:39:55 +00:00
timeless%mozdev.org d08aca2161 Bug 335315 Null pointer dereference in [@ _newJSDContext]
patch by rflint@dslr.net r=rginda sr=brendan
2006-05-11 13:19:45 +00:00
darin%meer.net 7d3e7d7acd landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
timeless%mozdev.org 81f225a13b Bug 331023 Cleanup of IDL files; fixing type inconsistencies
r=rginda sr=bz
2006-05-07 01:31:33 +00:00
mrbkap%gmail.com 931c69c3ef More nukage of private API usage. 2006-04-27 01:33:45 +00:00
brendan%mozilla.org 6bec916a05 Don't use private APIs, please. 2006-04-27 01:22:24 +00:00
neil%parkwaycc.co.uk cde62f9eb1 Followup patch to bug 207327 to move the "service" string from the name to the value of the category entry where it is interpreted to belong r=timeless sr=bz 2006-02-28 17:36:58 +00:00
timeless%mozdev.org 276ede16dd Bug 327605 [@ JSD_GetContextFlags - jsdService::GetFlags]
r=rginda
2006-02-27 04:17:08 +00:00
timeless%mozdev.org a279d689e5 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
timeless%mozdev.org 079cc68e75 Bug 266208 [@ js_PCToLineNumber] because of crash due to infinite recursion
r=rginda sr=brendan
2006-02-09 05:47:55 +00:00
gerv%gerv.net f2d0296772 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-12-31 12:14:46 +00:00