Commit Graph

116 Commits

Author SHA1 Message Date
Ehsan Akhgari
b973c62953 Make gDebugLog obey the normal NSPR_LOG_MODULES rules, no bug, mailinglist-r=bsmedberg 2013-01-03 13:30:59 -05:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ms2ger
c8ea20cf42 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Vladan Djeric
23871ab70e Bug 763138: Telemetry should indicate whether a debugger is attached. r=bsmedberg,smichaud 2012-06-28 14:57:52 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Justin Lebar
d759b14a27 Bug 724072 - If using a content process, display the pid and "parent"/"child" along with each NS_WARNING. r=bsmedberg 2012-04-10 15:57:20 -04:00
Ehsan Akhgari
478ad1a412 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
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Matheus Kerschbaum
44209e0bdf Bug 678155 - Remove NS_COM. r=bsmedberg 2011-08-18 15:46:39 +02:00
Mike Hommey
f5a5c82587 Bug 643779 - Allow to build nsDebugImpl.cpp on ARMv4T. r=dougt 2011-07-01 10:42:47 +02:00
Matheus Kerschbaum
370eb55bf7 Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Ed Morley
49398a0b56 Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg 2011-05-01 20:59:24 +02:00
Justin Lebar
02a6d6af4a Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal 2011-03-28 15:58:49 -04:00
Mitchell Field
907029389d Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Ehsan Akhgari
fb4ad5120e Bug 633383 - Only walk the stack when aborting in debug builds; r=dbaron a=blocking-betaN
Please note that this patch only fixes possible bogus crashes in
NS_StackWalk which prevent us from getting useful abort reports.
2011-02-14 13:41:34 -05:00
Ehsan Akhgari
0b91818659 Bug 631156 - Bug 628885 breaks non-libxul builds with an undefined reference error for CrashReporter::AppendAppNotesToCrashReport(nsACString_internal const&), r=cjones,a=roc 2011-02-03 21:43:29 +13:00
Chris Jones
91ac3fd5ef Bug 628885: Note in minidumps when we generate them by RUNTIMEABORT()ing. r=ted a=a 2011-02-01 13:53:53 -06:00
Daniel Holbert
833b75f6a0 Bug 596070: s/don't/do not/ in #warning message, to fix "missing terminating ' character" build warning. r=dougt a=dougt 2010-11-05 11:24:12 -07:00
Ginn Chen
40ca74bf00 Bug 586186 Implement RealBreak for Solaris r=doug.turner a=bsmedberg 2010-08-15 20:33:18 +08:00
Brad Lassey
420813fffc bug 585873 implement RealBreak for arm r=doug a2.0=bsmedberg 2010-08-10 14:02:27 -04:00
Benjamin Smedberg
0e824d90bb Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Michael Wu
5bfe8f64a5 Bug 561464 - Add support for XPCOM on Android, patch mostly by vlad, r=bsmedberg 2010-06-01 12:02:42 -07:00
Chris Jones
c991fe3d25 Bug 564185: Centralize the breakpad-triggering abort code in mozalloc and use |*NULL| to abort on mac, since abort() doesn't trigger breakpad. r=ted 2010-05-18 20:53:52 -05:00
Daniel Holbert
c0025c7e55 Bug 557559: Handle enum value NS_ASSERT_UNINITIALIZED in switch statement, to fix build warning. r=bsmedberg 2010-04-08 12:26:29 -07:00
Karl Tomlinson
e2a439bf0b b=551860 Don't break on NS_DebugBreak(NS_DEBUG_ABORT, ...) r=cjones 2010-03-24 16:39:15 +13:00
Jonas Sicking
f991726b04 Skidmark for bug 524944 r=bsmedberg 2009-12-17 21:54:02 -08:00
Jonas Sicking
416a9bc0ec Backed out changeset 4c88c8839a46 due to redness 2009-12-17 22:34:52 -08:00
Jonas Sicking
37ce8f13a4 Skidmark for bug 524944 r=bsmedberg 2009-12-17 21:54:02 -08:00
Chris Jones
b9fc62e469 bug 534922: quick and dirty hack to make NS_RUNTIMEABORT trigger the crashreporter on windows. r=bsmedberg 2009-12-15 15:40:30 -06:00
Ben Turner
621e87f51b More better awesome trap on debug builds when we try to abort 2009-11-12 12:04:58 -08:00
Ben Turner
4bf96d5c34 Make NS_DebugBreak trap as well as abort in debug builds 2009-11-12 11:44:25 -08:00
Chris Jones
3fa45fa574 Bug 58904: Create strong types for synchronization primitives. r=bsmedberg. 2009-04-18 18:54:23 -07:00
L. David Baron
ddc8e42226 Only run assertion checks in DEBUG builds. (Bug 472557) r=Waldo,bsmedberg 2009-01-13 11:50:40 -08:00
L. David Baron
63b304fbcf Expose the number of assertions since process start from XPCOM. (Bug 472557) r=bsmedberg 2009-01-08 13:50:21 -08:00
Neil Rashbrook
5698d0fdca Bug 467779 IsDebuggerPresent doesn't need to be dynamically loaded any more r=bsmedberg 2008-12-04 00:18:28 +00:00
Brad Lassey
99016c4b14 Bug 461859 - windows mobile minor cleanup of xpcom r=bsmedberg 2008-12-03 08:42:03 -05:00
Brad Lassey
8da2d3932d Bug 455381 - WinCE XPCOM Explicit Unicode API Calls, Wide Char CheckVersion Function r=bsmedberg 2008-12-03 08:41:12 -05:00
Jeff Walden
83748f09d8 Bug 434076 - Give me stack traces and give me death! (aborts should print a stack trace before aborting) r=dbaron 2008-06-02 19:18:57 -04:00
b4326f4dfe Add a stack-and-abort value of XPCOM_DEBUG_BREAK 2007-08-10 12:42:58 -07:00
98de634631 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
gavin@gavinsharp.com
b7ed49d78e Bug 342670 2006-11-22 17:50:35 +00:00
bent.mozilla@gmail.com
ae38042ee8 Bug 289689 - "Memory leak: nsDebugImpl::Assertion, Create Process". r=dougt, sr=darin. 2006-06-02 23:37:10 +00:00
joshmoz@gmail.com
8d3789989a add a comment for my last checkin, b=339987 2006-06-02 20:20:52 +00:00
joshmoz@gmail.com
72a70b6fb1 Make Mac OS X debug trap impl use raise(SIGTRAP) instead of Mac OS X debugging function so we're only required to set the XPCOM debug env variable and not also the Mac OS X debug break variable. Also make GNUC/x86 test more robust, include '__i386__' in the test because not all platforms define '__i386' (Mac OS X is one of those, though it doesn't really matter here since we do a separate test for Mac OS X). b=339987 r=mento sr=dougt 2006-06-02 20:06:43 +00:00
mnyromyr@tprac.de
ef67c54f08 Bug 328900: Crash in StuffFixedBuffer; r=bsmedberg, sr=darin 2006-03-02 20:30:58 +00:00
benjamin@smedbergs.us
e0d07210e0 Typo from bug 325229, caught by dbaron. 2006-02-24 16:11:33 +00:00
benjamin@smedbergs.us
80334aeb33 Followup to bug 325229 - don't stick bell in stderr on platforms that have a dbgdlg 2006-02-13 20:21:20 +00:00
benjamin@smedbergs.us
5ab8971d01 Bug 326981 - build broken on BeOS from bug 325229, patch by Doug Shelton <doug@sheltonfamily.org> r=me 2006-02-13 16:19:31 +00:00
benjamin@smedbergs.us
00d84a96a3 Bug 325229 part 1 - standalone glue registers exit routine which is called after module unload; also fixes bug 317481 - C API for nsTraceRefcnt; also fixes bug 318622 - Make nsTraceRefcntImpl::SetActivityIsLegal work properly and turn it on; design review by dbaron, r=darin 2006-02-10 15:00:36 +00:00