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

257 Коммитов

Автор SHA1 Сообщение Дата
timeless@mozdev.org 96444f0cc0 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 f23744b0e2 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 44c6d6b27c Bug 475898 - jsdIDebuggerService.idl changed without changing uuid, r+sr=bz 2009-02-04 22:43:56 -08:00
timeless@mozdev.org 32f7b70168 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 5d6efe776e 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 320bc70b32 Bug 427164 - jsdIScript.isLineExecutable should return NS_ERROR_OUT_OF_MEMORY for oom, r=caillon 2009-01-04 10:59:17 -08:00
timeless 0bc7ba4320 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 5ac69655c0 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 4460c617be 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 c0419cc4f0 bug 453889: Correct prbool misuse in spidermonkey 2008-09-08 13:41:09 -07:00
Arpad Borsos 2cc3af109a 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 0dd9e56a74 Bug 428128 - Removal of legacy JSLL_ routines, r=brendan, a=mtschrep 2008-04-25 11:40:05 -07:00
igor@mir2.org e52789403a [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 01d0387418 bug=423874 r=brendan a1.9b5=dsicore Allocating native functions together with JSObject 2008-03-21 01:19:23 -07:00
timeless@mozdev.org 85f3eb417d 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 ed20878e19 Bug 282660 Crash [@ jsds_NotifyPendingDeadScripts] ds->script is null r=jst a=beltzner 2008-03-05 13:10:01 -08:00
timeless@mozdev.org c7882fb4d0 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 a90ea5f522 Bug 405025 ASSERT_VALID_LOCK failed r=gijs a=dsicore 2008-02-26 07:07:05 -08:00
timeless@mozdev.org 4b9ac0e3e8 Bug 405025 ASSERT_VALID_LOCK failed r=gijs a=dsicore 2008-02-26 07:04:13 -08:00
timeless@mozdev.org f5a0afd7c8 Bug 416293 unbalanced locking in jsd_SetExecutionHook r=crowder a=mtschrep 2008-02-09 20:16:54 -08:00
timeless@mozdev.org 90732b463f 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 a31eb73709 Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep 2008-01-15 07:50:57 -08:00
timeless@mozdev.org 25115d7f3f 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 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