Commit Graph

496 Commits

Author SHA1 Message Date
Ehsan Akhgari
0fd9123eac 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
Vladan Djeric
e066a9546b Bug 779310: Remove string literals from slowSql reports. r=taras 2012-08-21 15:29:28 -04:00
Gian-Carlo Pascutto
1c38a63dbe Bug 673470 - Replace the sqlite safeb store with a flat file. r=dcamp 2012-08-15 09:04:19 +02:00
Aryeh Gregor
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Eric Faust
012112cde8 Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
Aryeh Gregor
903f6c9c84 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Joshua Cranmer
774444109e Bug 773637 - Kill NS_SCRIPTABLE attributes, Part 2: Remove NS_SCRIPTABLE. r=ehsan
--HG--
extra : rebase_source : 83020e0a1961ed5b33d5e0599419c6b7b82caa87
2012-07-06 15:31:49 -05:00
Aryeh Gregor
e57dd159b2 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Thinker K.F. Li
156c8e00b7 Bug 767025 - Part 2: Track active entries in memory and refuse to delete by ignore. r=honzab,gal
The original patch is from Andreas Gal. Thinker did some bug fixing.
2012-06-29 06:27:03 +08:00
Nicholas Nethercote
6b75d2157a Bug 770789 - Remove dead StorageMemoryReporter. r=mak.
--HG--
extra : rebase_source : 6b0e4d4c74ff45deb57008ffb32ce1316c9d3e7c
2012-07-10 17:30:28 -07:00
Ehsan Akhgari
dee0875e97 Bug 758992 storage follow-up: make AsyncStatementSpinner's destructor virtual as it is derived from in Windows tests; r=me to fix bustage 2012-07-10 16:16:55 -04:00
Ehsan Akhgari
8f3cc261dc Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (storage parts); r=mak 2012-06-19 23:30:51 -04:00
Ehsan Akhgari
b93060e8bf Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (storage parts); r=mak 2012-06-12 23:35:10 -04:00
Honza Bambas
41779e1714 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Rafael Ávila de Espíndola
a91ec150bb Bug 741821 - Don't access a null sql stmt. r=asuth.
--HG--
extra : rebase_source : d64b9623eb3f404538847278b2ee107ec7c2782f
2012-06-07 08:33:13 -04:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Rafael Ávila de Espíndola
f5129e6056 Bug 711076 - Check that we call onnection::internalClose on every connection we called Connection::initialize on. r=mak. 2012-05-24 13:08:22 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
4f91700da9 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Tom Schuster
fb630ae705 Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger 2012-05-11 17:46:26 +02:00
Ed Morley
79899a6f75 Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange 2012-05-11 18:25:52 +01:00
Tom Schuster
1941fb1bb4 Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
Rafael Ávila de Espíndola
e431fbfd03 Bug 744294 - Add c++ ConnectionReady. r=mak.
--HG--
extra : rebase_source : 3b074030355417564923f69bf48f219f75c3ef6b
2012-05-09 10:32:14 -04:00
Nathan Froyd
442af3d331 Bug 589032 - remove mozIStorageStatementWrapper; r=mak 2012-05-02 13:01:39 -04:00
Rafael Ávila de Espíndola
134b42bc46 Bug 744294 - nsPlacesAutoComplete doesn't wait for asyncClose to finish. r=asuth.
--HG--
extra : rebase_source : f1c0d52f627124820df84d7d6725c9f0772cbeff
2012-05-08 14:58:56 -04:00
Gian-Carlo Pascutto
ed82784c43 Backout 173f90d397a8 (Bug 673470). rs=dcamp a=mfinkle 2012-04-20 07:46:47 +02:00
Matt Brubeck
bbaf8219c0 Bug 721784 - Don't configure sqlite to use jemalloc on Android [r=mak] 2012-04-12 12:13:23 -07:00
Rafael Ávila de Espíndola
5fa15e1fea Bug 743650 - Don't use nsPrintfCString. r=nfroyd.
--HG--
extra : rebase_source : c7e29e12c0f8395551a40b6988a1f53887efd502
2012-04-09 09:56:41 -04:00
Mike Hommey
46646a522a Bug 738176 - Completely disable jemalloc when it's supposed to be disabled on OSX, and cleanup exposed APIs. r=jlebar,r=khuey 2012-04-05 09:20:53 +02:00
Rafael Ávila de Espíndola
2057deb783 Bug 741821 - Don't access a null sql stmt. r=vdjeric. 2012-04-04 15:28:44 -04:00
Vladan Djeric
eeb5045e66 Bug 722368 - Report slow SQL created from dynamic strings to Telemetry. r=taras 2012-03-21 13:26:48 -04:00
Nicholas Nethercote
d32d1f56c9 Bug 732842 - Add assertions for memory reports. r=jlebar. 2012-03-15 15:16:11 -07:00
Rafael Ávila de Espíndola
37c47e2824 Bug 721582 - We should probably use a strong assert for target in AsyncExecuteStatements::execute. r=mak. 2012-03-09 11:32:28 -03:00
Nicholas Nethercote
55f276020a Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : 54af85a1ef839922d5443cdc36f601611258944a
2012-03-04 15:26:30 -08:00
Rafael Ávila de Espíndola
669673cc0d Bug 728653 - Crash in mozilla::storage::Connection::stepStatement @ sqlite3_extended_result_codes. r=mak. 2012-03-01 08:13:45 -05:00
Nathan Froyd
79cd849d68 Bug 700659 - Slay nsHashSets in storage/src. r=mak 2011-11-08 15:25:07 -05:00
Rafael Ávila de Espíndola
a17f3cdbac Bug 728653 - Revert accidental push. r=mak. 2012-02-22 09:10:00 -05:00
Rafael Ávila de Espíndola
337801313e Bug 728653 - Crash in mozilla::storage::Connection::stepStatement. r=mak. 2012-02-22 09:00:28 -05:00
Marco Bonardo
0efa7c327f Bug 723611 - Remove mainthread pragmas executed by the VacuumManager.
r=sdwilsh
2012-02-22 12:23:05 +01:00
Nicholas Nethercote
ddd936d488 Bug 689583 - Add names for memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : adb3fb2cbbb8a07b60edd48c7dc9a3a4a4763b79
2012-02-06 17:02:59 -08:00
Kyle Huey
e9311b28fe Bug 723029 - Crash in mozilla::storage::Service::UpdateQutoaInformationForFile @ `anonymous namespace''::xOpen.
r=taras
2012-02-04 16:19:44 +01:00
Gian-Carlo Pascutto
c6b4c2801b Bug 673470 - Replace the SQLite SafeBrowsing store with an optimized store. r=dcamp 2011-12-06 19:03:05 +01:00
Gian-Carlo Pascutto
1aac28d69e Backout 44a0dc4fb9ff (Bug 673470) for Talos regression. 2012-02-01 20:10:02 +01:00
Gian-Carlo Pascutto
340ce0675c Bug 673470 - Replace the SQLite SafeBrowsing store with an optimized store. r=dcamp 2011-12-06 19:03:05 +01:00
Jeff Muizelaar
9c9e2eed37 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Matt Brubeck
2e1e2ae3c5 Back out 88733ce1bef3 (bug 718440) because of Windows build failure 2012-01-17 15:15:47 -08:00
Jeff Muizelaar
581f54f157 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00