Commit Graph

500 Commits

Author SHA1 Message Date
Martin Stransky
48ba02dae7 Bug 433129 - Add a storage.nfs_filesystem preference and change the underlying file system to an nfs-friendly one when it's set. r=asuth 2012-09-06 17:58:46 -04:00
Jan Beich
cd507f028e Bug 787730 - Don't assume NULL to be a character; r=ehsan 2012-09-06 12:53:00 -04:00
Aryeh Gregor
7acf3e98f6 Bug 782616 - Don't return nsresult from main() (storage/); r=mak 2012-08-07 20:17:27 +03:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -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
Vladan Djeric
19580422cb Bug 779310: Remove string literals from slowSql reports. r=taras 2012-08-21 15:29:28 -04:00
Gian-Carlo Pascutto
fda672ce93 Bug 673470 - Replace the sqlite safeb store with a flat file. r=dcamp 2012-08-15 09:04:19 +02:00
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Eric Faust
6d4e293e26 Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
Aryeh Gregor
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Joshua Cranmer
de30491499 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
0c8f5adf50 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Thinker K.F. Li
092e6569c2 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
279a977b03 Bug 770789 - Remove dead StorageMemoryReporter. r=mak.
--HG--
extra : rebase_source : 6b0e4d4c74ff45deb57008ffb32ce1316c9d3e7c
2012-07-10 17:30:28 -07:00
Ehsan Akhgari
083aa756a9 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
f0e8ed53c6 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
ce3833d9c1 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
f29e1ac591 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
625266ba12 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
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham
638c878b13 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
4beb0a56c7 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
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
2187798a40 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
889e3a0487 Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger 2012-05-11 17:46:26 +02:00
Ed Morley
4c4c3cfd18 Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange 2012-05-11 18:25:52 +01:00
Tom Schuster
6e0861373a 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
e6c2f0a2b6 Bug 744294 - Add c++ ConnectionReady. r=mak.
--HG--
extra : rebase_source : 3b074030355417564923f69bf48f219f75c3ef6b
2012-05-09 10:32:14 -04:00
Nathan Froyd
02d8547fc2 Bug 589032 - remove mozIStorageStatementWrapper; r=mak 2012-05-02 13:01:39 -04:00
Rafael Ávila de Espíndola
e020c88d09 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
e4215cce87 Backout 173f90d397a8 (Bug 673470). rs=dcamp a=mfinkle 2012-04-20 07:46:47 +02:00
Matt Brubeck
0503e0a360 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
747bb56695 Bug 743650 - Don't use nsPrintfCString. r=nfroyd.
--HG--
extra : rebase_source : c7e29e12c0f8395551a40b6988a1f53887efd502
2012-04-09 09:56:41 -04:00
Mike Hommey
8707a0e9c7 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
9bca5537e0 Bug 741821 - Don't access a null sql stmt. r=vdjeric. 2012-04-04 15:28:44 -04:00
Vladan Djeric
effa6590c8 Bug 722368 - Report slow SQL created from dynamic strings to Telemetry. r=taras 2012-03-21 13:26:48 -04:00
Nicholas Nethercote
75315de3e2 Bug 732842 - Add assertions for memory reports. r=jlebar. 2012-03-15 15:16:11 -07:00
Rafael Ávila de Espíndola
fc3eb43cfc 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
d539e72dcc 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
523bafca7a Bug 728653 - Crash in mozilla::storage::Connection::stepStatement @ sqlite3_extended_result_codes. r=mak. 2012-03-01 08:13:45 -05:00
Nathan Froyd
e571ad623d Bug 700659 - Slay nsHashSets in storage/src. r=mak 2011-11-08 15:25:07 -05:00
Rafael Ávila de Espíndola
46c8706bcc Bug 728653 - Revert accidental push. r=mak. 2012-02-22 09:10:00 -05:00
Rafael Ávila de Espíndola
9d23862ffd Bug 728653 - Crash in mozilla::storage::Connection::stepStatement. r=mak. 2012-02-22 09:00:28 -05:00
Marco Bonardo
13b5316278 Bug 723611 - Remove mainthread pragmas executed by the VacuumManager.
r=sdwilsh
2012-02-22 12:23:05 +01:00
Nicholas Nethercote
610b65aebb 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
46ce194b09 Bug 723029 - Crash in mozilla::storage::Service::UpdateQutoaInformationForFile @ `anonymous namespace''::xOpen.
r=taras
2012-02-04 16:19:44 +01:00
Gian-Carlo Pascutto
f6fbcf288f Bug 673470 - Replace the SQLite SafeBrowsing store with an optimized store. r=dcamp 2011-12-06 19:03:05 +01:00
Gian-Carlo Pascutto
f18313c7e1 Backout 44a0dc4fb9ff (Bug 673470) for Talos regression. 2012-02-01 20:10:02 +01:00