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
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
timeless%mozdev.org
f80ba2953a
Bug 325539 typo in mozilla/js/jsd/idl/jsdIDebuggerService.idl
...
r=silver
2007-01-07 10:50:23 +00:00
silver%warwickcompsoc.co.uk
3ba02d2f8f
Bug 343511 - Don't assert more than necessary. r=rginda
2006-07-20 15:25:32 +00:00
silver%warwickcompsoc.co.uk
8470c91b81
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
9405c42b36
Bug 341919 - Remove widget dependency from JSD. r=rginda sr=jst
2006-06-26 10:36:28 +00:00
bent.mozilla%gmail.com
6fc5260a1b
Bug 342573 - "Fix accidental return value switch from bug 176182". r=mrbkap.
2006-06-23 22:29:51 +00:00
gijskruitbosch%gmail.com
a68352ae26
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
98997f8669
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
c8f43f6564
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
0318b8c707
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
7c907ec27a
Bug 331023 Cleanup of IDL files; fixing type inconsistencies
...
r=rginda sr=bz
2006-05-07 01:31:33 +00:00
mrbkap%gmail.com
07ab557f71
More nukage of private API usage.
2006-04-27 01:33:45 +00:00
brendan%mozilla.org
4e8f899939
Don't use private APIs, please.
2006-04-27 01:22:24 +00:00
neil%parkwaycc.co.uk
6b3d137802
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
552ca722ee
Bug 327605 [@ JSD_GetContextFlags - jsdService::GetFlags]
...
r=rginda
2006-02-27 04:17:08 +00:00
timeless%mozdev.org
1ce5986f6b
Bug 106386 Correct misspellings in source code
...
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
timeless%mozdev.org
b60caedd4a
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
1dca58927a
Bug 236613: change to MPL/LGPL/GPL tri-license.
2005-12-31 12:14:46 +00:00
timeless%mozdev.org
9b0852aaf7
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
db820cf720
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 08:16:51 +00:00
timeless%mozdev.org
c77df217d1
Visual Age properly complained about C++ comments in a C file
...
fixing.
2005-08-02 18:46:14 +00:00
timeless%mozdev.org
0a5213fbe2
fixing some more 64bit non macro usage instances
2005-08-02 16:34:45 +00:00
timeless%mozdev.org
f6b3916b12
hoping that the build bustage is macro related
2005-08-02 16:12:27 +00:00
timeless%mozdev.org
d2b31f1255
Bug 281137 Add profiling column for functions excluding other functions running
...
jsd part
patch by silver@warwickcompsoc.co.uk r=shaver sr=dmose a=bsmedberg
2005-08-02 15:53:59 +00:00
joshmoz%gmail.com
d9027016bd
remove XP_MAC stuff from js. b=281889 r=brendan a=brendan
2005-07-07 22:35:40 +00:00
timeless%mozdev.org
b27d75c5b3
Bug 283532 OOM crash [@ jsdValue::GetProperties]
...
patch by b.jacques@planet.nl r=rginda sr=brendan a=brendan
2005-07-01 05:12:47 +00:00
bsmedberg%covad.net
3bc2f25f6c
Static build bustage from bug 288955 - MODULE_NAME is incompatible with FORCE_SHARED_LIB in static builds.
2005-04-05 18:26:06 +00:00
bsmedberg%covad.net
ab28b280da
Bug 288955 - move jsdebugger to tier 50, integrate with libxul r=darin
2005-04-05 16:34:09 +00:00
gerv%gerv.net
e5d20862b7
Bug 236613: change to MPL/LGPL/GPL tri-license.
2005-02-12 20:11:18 +00:00
timeless%mozdev.org
d76959c6b9
Bug 207309 nsMemoryImpl::Alloc of 0: 'size' in jsdValue::GetProperties
...
r=shaver sr=shaver
2004-11-10 21:58:00 +00:00
timeless%mozdev.org
6c37f8cb60
Bug 240521 Crash [@ jsd_NewThreadState] when script is null
...
r=rginda sr=dmose
2004-08-08 19:56:49 +00:00
timeless%mozdev.org
fb9628900d
Fixing code for CAUTIOUS_SCRIPTHOOK (not part of the build), broken by changes for
...
Bug 208030 JS errors report incorrect line numbers in the source code
2004-05-13 06:04:09 +00:00
gerv%gerv.net
8b8dde7d95
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 22:01:16 +00:00
timeless%mozdev.org
f2569bca03
Bug 238393 DRefTool analysis for jsd files
...
r=rginda a=asa
2004-03-26 07:27:05 +00:00
timeless%mozdev.org
95c43eacc9
Bug 238393 DRefTool analysis for jsd files
...
r=rginda
GC_MARK_DEBUG is not part of the build...
2004-03-24 23:25:30 +00:00
timeless%mozdev.org
6eb2a3c967
Bug 238305 jsd doesn't build on windows if JS_MARK_DEBUG is set
...
r=rginda
not part of the build...
2004-03-23 05:33:09 +00:00
timeless%mozdev.org
5c2ad29c96
Bug 238058 Crash [@js_GetStringBytes] from venkman
...
r=rginda a=brendan
2004-03-23 05:13:09 +00:00
darin%meer.net
8d65e087ae
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
2004-02-19 02:44:03 +00:00
jst%mozilla.jstenback.com
505c634885
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
2004-02-09 22:48:53 +00:00
bsmedberg%covad.net
d0f309943a
Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet.
2004-01-07 13:37:00 +00:00
bsmedberg%covad.net
274ef7cd49
Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet.
2004-01-07 01:22:31 +00:00
dwitte%stanford.edu
7a2d3ff642
spelling fixes... s/debuging/debugging/. thanks to WeirdAl for the patch.
...
b=106386, p=ajvincent@juno.com , r=timeless, sr=bz.
2003-10-10 04:31:15 +00:00
bryner%brianryner.com
9d11b3c424
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
2003-09-07 22:37:27 +00:00
rginda%netscape.com
8f4d8cb810
bug 216112, "add ability to disable object tracking in jsd"
...
r=caillon, sr=brendan, a=asa
adds the ability to turn off the object tracking without having to disable the debugger. should make a dormant venkman less of a performance impact.
2003-08-14 22:49:09 +00:00
brendan%mozilla.org
4fa5213a91
Big dynamic footprint win via script filename caching, plus line number fix for strict/const diags (see http://bugzilla.mozilla.org/attachment.cgi?id=127130&action=view for detailed checkin comments; 208030, r/rs=shaver, r=rginda on the jsd change, r=jst on the dom change).
2003-07-26 22:37:11 +00:00
seawood%netscape.com
97649bab86
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
2003-06-10 21:18:27 +00:00
seawood%netscape.com
b28ce0a530
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
2003-06-10 20:12:33 +00:00
timeless%mozdev.org
fc568807c5
Bug 207327 @mozilla.org/js/jsd/app-start-observer;2 isn't registering itself correctly as an app-startup observer service
...
r=rginda
2003-05-28 22:34:20 +00:00
rginda%netscape.com
63d0b6201f
Bug 204028, "debugger service crashes when asked to eval an empty string"
...
a=sspitzer@netscape.com
return NS_ERROR_INVALID_ARG if asked to eval an empty string
2003-05-01 18:50:58 +00:00
rginda%netscape.com
9e509d59ec
fix tbox bustage.
2003-04-18 20:48:43 +00:00
rginda%netscape.com
a692705849
bug 200591, "File Options > Don't Debug Eval/Timeouts isn't working", r=brendan
...
prevent any stack with a disabled frame from being debugged during single-stepping, or break-on-throw. Also adds versioning support to the jsdIDebuggerService interface.
2003-04-18 20:12:11 +00:00
seawood%netscape.com
bf5970191d
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
2003-04-03 22:42:02 +00:00
bzbarsky%mit.edu
83e46b1a49
Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
...
<nb@ipnode.info>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
rginda%netscape.com
045999da85
- venkman only -
...
bug 189563, initialize hookresult to prevent warnings
2003-01-22 05:42:35 +00:00