Commit Graph

1241 Commits

Author SHA1 Message Date
Josh Aas
60db8ee1d2 Make Objective-C exceptions non-fatal by default on Mac OS X. b=486574 r=roc sr=bz 2009-05-20 11:53:24 -04:00
Peter Van der Beken
8443f4d14c Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst. 2009-05-07 11:19:36 -07:00
Peter Van der Beken
1278a8efe2 Backed out changeset 0c8d4f846be8 (Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly).) to try to fix Tshutdown regression. 2009-05-16 16:16:55 +02:00
Peter Van der Beken
0c43ed75e7 Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst.
--HG--
extra : rebase_source : 459f24ea980bf4cab29bc88115138f6ed5144e49
2009-05-07 11:19:36 -07:00
Shawn Wilsher
50382009bc Bug 489705 - nsRefPtr should be able to forget a base class to a pure virtual interface it inherits from
r=bsmedberg
sr=dbaron
2009-05-07 15:13:18 -04:00
L. David Baron
368b7f1ed8 Make cycle collector's purple buffer consist of entries that the objects in the purple buffer can point to, and remove the notion of scan delay (which was previously set to 0). (Bug 490695) r+sr=peterv r=bsmedberg 2009-05-06 13:46:04 -07:00
L. David Baron
ea744a614b Use the purple buffer in ExplainLiveExpectedGarbage. (Bug 488603) r+sr=peterv 2009-04-24 15:45:34 -07:00
L. David Baron
f8d4d33136 Reverse the meaning of suspectCurrentCount and rename it to expectedGarbageCount. (Bug 488603) r+sr=peterv 2009-04-24 15:45:34 -07:00
L. David Baron
ef078cfca9 When we print warnings about objects that should have been collected, see if they're in the purple buffer and print different warnings if they are. (Bug 488603) r+sr=peterv 2009-04-24 15:45:34 -07:00
Chris Jones
18c52db5ae Bug 58904: Create strong types for synchronization primitives. r=bsmedberg. 2009-04-18 18:54:23 -07:00
Arpad Borsos
8415a2fae1 Bug 485782 - get rid of nsSupportsArray; r=sicking, sr=bsmedberg 2009-04-14 10:02:58 +02:00
Neil Rashbrook
ed1376aadf Bug 484309 fixing more allocator mismatches r+sr=bsmedberg 2009-04-11 17:33:52 +01:00
L. David Baron
f58f0f6c6d Make nsTraceRefcnt use 64-bit counters when those counters are for all objects over app lifetime. (Bug 483500) r=bsmedberg 2009-04-10 13:30:10 -07:00
Peter Van der Beken
6f0b054294 Fix for bug 423473 (Cycle collector should restart after getting a fault). r/sr=jst.
--HG--
extra : rebase_source : fd82c02bef434c36383df0862af2399455caa65b
2009-04-09 14:02:48 +02:00
Arpad Borsos
4fc5b38c9d Bug 474369 - get rid of nsVoidArray, xpcom part; r=bsmedberg 2009-04-03 18:43:08 +02:00
Neil Rashbrook
a3cb4f1f32 Fix allocator abuses: bug 331165 r+sr=bsmedberg; bug 484309 r+sr=bsmedberg; bug 484312 r+sr=biesi 2009-03-25 13:19:08 +00:00
Makoto Kato
2a88c30cf4 Bug 475229 - xpcom/base/nsStackWalk support for Windows x64. r=benjamin 2009-03-22 12:53:47 +09:00
Serge Gautherie
dae9f36f51 Bug 229442 - </xpcom/base/nsError.h> NS_SUCCEEDED() code cleanup; (Av3) <nsError.h> whitespace cleanup ++; r=doug.turner 2009-03-13 15:51:27 +01:00
Robert O'Callahan
2d11f79424 Bug 478195 - '[Mac] Same-thread deadlock with trace-malloc (causing random red on OS X 10.5.2 mozilla-central leak test build)'. r=dbaron. 2009-02-17 21:11:29 -08:00
Vladimir Vukicevic
d27b42a061 b=475595; disable IsLowMemory on Windows CE until we can fix it to be correct/performant; r=dougt 2009-02-11 18:26:27 -08:00
Vladimir Vukicevic
0256c78fe3 b=477727; remove CoCreateGuid usage on WinCE; r+sr=stuart 2009-02-10 15:10:07 -08:00
Robert O'Callahan
8ae00250b4 Bug 475023. Fix DEBUG_CC compilation for nsCStringArray removal. r+sr=roc
--HG--
extra : rebase_source : e217b220febb4a5770efb562580210992fa88126
2009-01-30 20:16:16 +13:00
Daniel Holbert
4301671b45 Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Fred Jendrzejewski
424883d380 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
timeless@mozdev.org
0d45025b8a Bug 472097 xul!nsMemoryImpl::IsLowMemory is broken on systems w/ lots of vm, r=bsmedberg 2009-01-15 20:02:21 -08:00
L. David Baron
c968ed8b24 Only run assertion checks in DEBUG builds. (Bug 472557) r=Waldo,bsmedberg 2009-01-13 11:50:40 -08:00
L. David Baron
b1dbc0710a Expose the number of assertions since process start from XPCOM. (Bug 472557) r=bsmedberg 2009-01-08 13:50:21 -08:00
Steven Michaud
bcf4768b4e Avoid crashing on non-fatal Objective-C exceptions caused by a 10.4-only Apple bug. b=461381 r=josh sr=roc 2008-12-10 15:42:00 -06:00
arno renevier
e04708dfff Bug 460295 - nsRefPtrHashtable.h belongs to sdk and includes nsAutoPtr.h which does not; r=benjamin sr=dveditz 2008-12-10 15:17:14 +01:00
Neil Rashbrook
5adc65bc9c Bug 467779 IsDebuggerPresent doesn't need to be dynamically loaded any more r=bsmedberg 2008-12-04 00:18:28 +00:00
Brad Lassey
dff03b246f Bug 461859 - windows mobile minor cleanup of xpcom r=bsmedberg 2008-12-03 08:42:03 -05:00
Brad Lassey
418f5366f7 Bug 455381 - WinCE XPCOM Explicit Unicode API Calls, Wide Char CheckVersion Function r=bsmedberg 2008-12-03 08:41:12 -05:00
Benjamin Smedberg
d9727afb44 Bug 442012 - Allocating more than 2GB of memory in mozilla is never a good idea. On 64-bit systems PRSize and size_t are 64-bit and so truncation from PRSize to PRUint32 could cause weird behavior errors. Prevent these huge allocations. r=wtc sr=dveditz 2008-11-26 14:38:53 -05:00
Karl Tomlinson
a843f16cb7 b=461087 provide templates for automatically-releasing handles to foreign resources, r=bsmedberg 2008-11-06 11:13:37 +13: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
Daniel Holbert
5492039225 Bug 458167 - (comments-only changes) Grammar Nazi Vol1: s/it's/its/ for the posessive version of the word, and a few other misc comment-typos, in these directories: accessible browser config profile rdf toolkit tools xpcom xpfe 2008-10-01 23:49:45 -07:00
Henry Jia
7df96eb40c Bug 178189 - |nsCOMPtr|: do we still care about VC++4.2? and if not, can we remove this comment; r=(scc + benjamin) 2008-09-29 00:17:30 +02:00
Ginn Chen
61f1976cbb Bug 440714 use -xldscope for Sun Studio on Solaris r=vladimir,benjamin sr=benjamin 2008-09-08 14:21:07 +08:00
Doug Turner
78d1aa28dd Bug 452489 - Fixes OOM predicate on OSSO to use the high water mark. r=bsmedberg 2008-09-05 17:21:36 -07:00
Steven Michaud
df5c8a9b6f Don't crash on Objective-C exceptions in hooked [NSWindow sendEvent:] method. b=442245 r=josh sr=roc 2008-09-04 11:08:30 -05:00
Benjamin Smedberg
29ff8b1d70 Fix stupid static-checking-only typo 2008-09-04 10:51:06 -04:00
Doug Turner
1da51c685b Backed out changeset 04a28fb0458b 2008-09-03 23:19:34 -07:00
Doug Turner
cbf953fa8c Bug 452489 - clean up nsMemoryImpl for OOM issues. r=bsmedberg 2008-09-03 16:06:23 -07:00
Benjamin Smedberg
cb3eb39381 Bug 453341 - Allow stack checking to be suppressed per-function, r=dmandelin sr=jst 2008-09-03 13:00:12 -04:00
Doug Turner
b27f41ff6e Backed out changeset 6b6054736cb2 2008-09-01 19:50:59 -07:00
Doug Turner
04582c160e bug 452489 - removes the flusher timer and fixes osso low memory predicate. also fixes OSSO oom predicate. r=bsmedberg 2008-09-01 17:40:15 -07:00
Josh Aas
61ac969657 Include obj-c exception info in crash reports. b=451709 r=ted r=bent sr=roc 2008-08-28 00:41:38 -04:00
Benjamin Smedberg
e67d75888e Bug 445570 - Mark CSSToken::mIdent heap autostring as we-know-what-we're-doing, r=dbaron 2008-08-27 10:58:50 -04:00
Doug Turner
a382367616 Bug 451672 - Fix nsIMemory::IsLowMemory on Maemo. r=stuart 2008-08-15 02:12:45 -07:00
Serge Gautherie
5e170dc00e Bug 448934 – |nsTraceRefcnt::DumpStatistics()| write number of entries in the "middle" of the array
(Av1) <nsTraceRefcntImpl.*>
2008-08-03 23:39:04 +02:00