Commit Graph

19 Commits

Author SHA1 Message Date
Josh Matthews
7c03a8a9e7 Bug 755050 - Remove unused return value warnings from nsTestCrasher.cpp. r=ted 2012-05-14 13:38:46 +02:00
Ted Mielczarek
145db5ef65 bug 792850 - add an xpcshell test for our SetUnhandledExceptionFilter hook. r=ehsan 2012-09-20 10:57:08 -04:00
Ehsan Akhgari
8c296bbcd4 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
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Jeff Walden
a694790f7c Bug 761859 - Make mozalloc_abort use MOZ_CRASH to crash. r=ted 2012-06-05 16:49:30 -07:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Matt Brubeck
e03dd6bfd0 Back out 6a7bfd84596e (bug 736501) because it broke the build on some versions of GCC (bug 754198) 2012-05-11 20:15:47 -07:00
Benjamin Smedberg
b620e2c572 Bug 736501 - Use -Werror=unused-result, r=ted/mayhemer/njn
--HG--
extra : rebase_source : 121cddcd66f9be9b80840b47aecbe95307bae0ab
2012-05-01 09:24:38 -04:00
Benjamin Smedberg
7cf5500909 Bug 716638 - Annotate the size of a failed allocation due to OOM and submit it with the crash report, r=ted
--HG--
extra : rebase_source : 5b7d10cb2e117deabb89b75ec3f3b1a221b3c80b
2012-01-24 11:08:51 -05:00
Jeff Walden
279c3635c0 Bug 711799 - Fix a bunch of unused-variable warnings. r=dholbert
--HG--
extra : rebase_source : 91fc77dca316018652d4d99f6d4cc8d0f7195e6e
2011-12-18 01:00:42 -05:00
Bill McCloskey
1e28f2359f Bug 662646 - Tests for new crash report API (r=ted) 2011-07-07 17:31:11 -07:00
Ted Mielczarek
01276d8831 bug 620974 - Add Breakpad processor code to binary test component to allow testing minidump contents. r=bsmedberg a=testonly
--HG--
extra : rebase_source : ba728fe297e9ce066438719b839e07deb38b1dd5
2011-01-12 14:14:15 -05:00
Benjamin Smedberg
5ba9b82e15 Tests for bug 624835. NS_RUNTIMEABORT doesn't trigger the crash reporter on Windows.
--HG--
extra : rebase_source : dd84f82c92cbf6cd5ec8aae940371858ca4a0433
2011-01-12 09:20:06 -05:00
Benjamin Smedberg
9045c05660 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
Ted Mielczarek
59b56c5131 bug 563662 - FPU Exception filter crashes when we hit a pure virtual function call. r=bsmedberg
--HG--
extra : rebase_source : 34016adebf806015162553df71ad28879105e978
2010-05-04 15:34:55 -04:00
Ted Mielczarek
4f3a2496ae bug 514188 - fix nsProfileLock to use SA_SIGINFO style signal handler, so it can chain to Breakpad's signal handler properly. r=bsmedberg
--HG--
extra : rebase_source : 4684665d9c32a76ad7fffdf9e305b5b617fca58c
2009-12-14 06:44:27 -05:00
Ted Mielczarek
a93ca81f73 Backed out bug 514188 - fix nsProfileLock to use SA_SIGINFO style signal handler, so it can chain to Breakpad's signal handler properly to try to fix Linux Breakpad bustage.
Backed out changeset 4354c4d85277
2009-12-18 15:32:57 -05:00
Ted Mielczarek
d213cc45fb bug 514188 - fix nsProfileLock to use SA_SIGINFO style signal handler, so it can chain to Breakpad's signal handler properly. r=bsmedberg 2009-12-14 06:44:27 -05:00
Ted Mielczarek
31a63adc14 bug 510505 - add unit tests for breakpad exception handler. r=bsmedberg 2009-09-10 07:49:42 -04:00