Commit Graph

623 Commits

Author SHA1 Message Date
Ehsan Akhgari
aa114592bd Bug 873038 - Remove the old MSVC PGO exclusions across the tree; r=glandium 2013-05-16 11:16:30 -04:00
Joey Armstrong
2dbf79e9a4 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Ed Morley
36fb30076b Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Mike Shal
02469b68e2 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Ehsan Akhgari
8d18f4e6a0 Bug 871317 - Fix more rooting hazards in the storage code; r=till 2013-05-12 18:32:13 -04:00
Ehsan Akhgari
43740ba4dc Bug 871187 - Fix rooting hazards in the storage code; r=till 2013-05-12 09:10:39 -04:00
Iivari Äikäs
18ecd9248b Bug 617897 - Replace calls to AppendASCII('*') with Append('*'). r=dougt 2013-05-07 10:25:21 -04:00
David Zbarsky
13d2098e73 Bug 867459 - Fix storage rooting hazards r=terrence 2013-05-02 22:02:40 -04:00
Joey Armstrong
8e99512c32 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Nicholas Nethercote
f5378cec64 Bug 859657 (part 2) - Remove nsIMemoryMultiReporter.explicitNonHeap because it's more trouble than it's worth; also remove the "explicit" single reporter. r=jlebar.
--HG--
extra : rebase_source : a146536a3dd0043082bcb1c26d980c4c6d4c0730
2013-04-11 20:52:32 -07:00
Joshua Cranmer
41c5d7997f Bug 856108 - Port static analyses to clang, part 2h: use MOZ_STACK_CLASS everywhere else. r=bsmedberg 2013-04-11 22:22:09 -05:00
Nathan Froyd
5bd8a0bce9 Bug 836493 - part 2: eliminate now-unnecessary ServiceMainThreadInitializer; r=mak 2013-02-08 12:08:22 -05:00
Nathan Froyd
09f47de647 Bug 836493 - part 1: ensure that the initial reference to mozStorageService is obtained on the main thread; r=mak 2013-02-08 12:04:26 -05:00
Trevor Saunders
49055ecbc9 bug 856349 - remove useless SHORT_LIBNAME assignments r=glandium 2013-03-30 15:42:45 -04:00
Xin Zhang
9ba2b443d3 Bug 849764 - Replace removeObserver() calls with three params with two in storage dir. r=mak 2013-04-06 14:46:35 -04:00
Ben Turner
e850a70025 Bug 857376 - 'Use 2k page_size for databases on B2G'. r=mak, sr=mossop. 2013-04-04 17:14:46 -07:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Jan Varga
8ed93ed02a Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent 2013-03-26 12:13:17 +01:00
Benoit Girard
fc10a7cfe4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
9d12529d78 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Mike Shal
c2a9341a2e Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Gregory Szorc
09e7b06723 Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ed Morley
b2109c458f Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
664cf994b4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
c4c6a0ddf5 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Gregory Szorc
7bb3ee056b Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Gregory Szorc
58b7ec0116 Bug 818246 - Part 1: Remove unncessary definitions of XPIDL_MODULE; r=glandium
XPIDL_MODULE defaults to MODULE. These Makefile.in were setting
XPIDL_MODULE to the same value as MODULE.

--HG--
extra : rebase_source : e96bd34d5949d0ab94cecbec35d6c9f4bffec01e
2013-03-07 05:03:51 -08:00
Gregory Szorc
a98ca9945e Bug 784841 - Part 18ζ: Convert /storage; r=glandium 2013-02-25 13:05:31 -08:00
Marco Bonardo
5df3128560 Bug 836039 - Reduce cache size per SQLite connection to 2MB
r=asuth
2013-02-21 11:12:48 +01:00
Rafael Ávila de Espíndola
7e3da31b34 Bug 840633 - style fix. r=smaug. 2013-02-12 14:43:52 -05:00
Rafael Ávila de Espíndola
151a95c624 Bug 704030 - Make the "all connections closed" check available on non debug builds. r=vladan.
--HG--
extra : rebase_source : 6f39e1e00b39e7356d29c4f5e3f77fa51ba49a16
2013-02-11 12:05:59 -05:00
Ryan VanderMeulen
96b55dfae9 Backed out changesets 50f4ba15a3c7 and cafa8ba33704 (bug 796388) for mochitest-2 orange. 2013-01-29 16:38:37 -05:00
Nathan Froyd
5f2897868a Bug 796388 - part 1 - delete TelemetryVFS; r=mak 2013-01-29 11:57:01 -05:00
Gregor Wagner
0080953158 Bug 834995 - Fix race condition in mozStorageConnection.cpp. r=mak77 2013-01-26 09:18:16 -08:00
Vladan Djeric
9e69b2b41e Bug 830429 - Reduce the threshold for slow main thread SQL to 50ms. r=nfroyd 2013-01-22 14:12:17 -05:00
Ehsan Akhgari
c881385c5a Bug 833196 - Disable PGO on storage; a=me 2013-01-21 23:12:20 -05:00
Monica Chew
35e6d45389 Bug 829832 - Move nss and sqlite builds before netwerk. r=mh 2013-01-15 19:44:44 -05:00
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Nicholas Nethercote
acc80a9abd Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Justin Lebar
d9ca987f2f Bug 823553 - Fix build error in Variant.h on MSVC 2008 and Solaris by not taking double-references. r=mak 2012-12-20 15:44:25 -05:00
Justin Lebar
3e3205ba3e Bug 819791 - Part 10: Don't return FallibletArrays by value in Variant.h. r=mak
Returning *TArray's by value isn't compattible with explicit *TArray
copy constructors, which will be added in a later cset.
2012-12-18 20:16:07 -05:00
Jan Varga
812af47d24 Bug 787804 - Rewrite quota handling (eliminate test_quota.c). r=bent,asuth,vladan 2012-12-17 20:25:10 +01:00
Jeff Walden
7146c23e80 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Nicholas Nethercote
0d84313efb Bug 717853 - Add a native version of DMD. r=jlebar,glandium.
--HG--
extra : rebase_source : 9b824556591abd63b42aa7ff823e9cd25976c162
2012-12-10 16:05:07 -08:00
Mike Hommey
95d176978d Bug 804303 part 1 - Cleanup how the mozjemalloc/jemalloc3 glue is set up, attempting to make it clearer. r=jlebar,r=khuey
--HG--
rename : memory/build/extraMallocFuncs.c => memory/build/jemalloc_config.c
rename : memory/mozjemalloc/jemalloc.h => memory/build/mozmemory.h
rename : memory/build/extraMallocFuncs.c => memory/build/mozmemory_wrap.c
2012-12-07 09:32:24 +01:00
Kyle Huey
1482122303 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Andrew Quartey
5576623aa8 Bug 792581 - part 21: Replace LL_F2L and LL_D2L macros. r=ehsan 2012-10-25 19:25:58 -04:00
Jacek Szpot
1fce9cbc0f Bug 800106: replace some NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINEs; r=ehsan 2012-10-23 13:29:06 +02:00
Ehsan Akhgari
7a05f28eb2 Backout changeset 788a51ef6221 (bug 800106) because of Windows XP Kraken regression 2012-10-22 16:44:09 -04:00
Jacek Szpot
e906c7cfa4 Bug 800106: replace some NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINEs; r=ehsan 2012-10-19 10:33:33 +02:00
Kyle Huey
a808d16d93 Bug 802239: Actually shut down storage threads. r=asuth 2012-10-18 11:50:39 -07:00
Kyle Huey
94671617cb Back out bug 802239
--HG--
extra : rebase_source : 7401ba8d97f88f0aef2edf2f63e245a116e897cc
2012-10-17 15:16:53 -07:00
Kyle Huey
d4f14d8b08 Bug 802239: Actually shut down storage threads. r=asuth 2012-10-17 11:56:24 -07:00
Ehsan Akhgari
9e0549e4d9 Backout changeset 0f0797cdb55a (bug 800106) because of Kraken regressions on Windows XP 2012-10-15 14:19:55 -04:00
Jacek Szpot
0ebb25a85a Bug 800106: replace NS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE; r=ehsan 2012-10-13 17:52:10 +02:00
Aryeh Gregor
b1731df87c Bug 779473 - Make nsresult an enum class; r=ehsan 2012-08-02 11:55:58 +03:00
Nicholas Nethercote
71e4702d8c Bug 793076 (part 1) - Remove unnecessary |cx| parameters. r=jwalden.
--HG--
extra : rebase_source : 0cfe86ca3b2de60b0097f6cd4686dfabe6748897
2012-09-20 21:41:49 -07:00
Ehsan Akhgari
15098d1976 Remove the unused DatabaseTester::mState field; no bug 2012-10-02 20:46:08 -04:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Nathan Froyd
cc76c0f5b3 Bug 793258 - convert PR_FALSE to false in defined-in-idl-files functions; r=ehsan 2012-09-21 14:40:14 -04:00
Kyle Huey
80d2bebdfd Bug 774250: Use GetPath instead of GetNativePath so that IndexedDB works for people with non-ASCII usernames. r=bent 2012-09-19 14:02:08 -07:00
Ehsan Akhgari
b0b2d0c1f5 Backout changeset c1cd7da16cd6 (bug 774250) for Linux Moth orange
--HG--
extra : rebase_source : 00e260bc4a75c6780c7863121cfc170f960ae010
2012-09-19 20:25:56 -04:00
Kyle Huey
ab5b38cc18 Bug 774250: Use GetPath instead of GetNativePath so that IndexedDB works for people with non-ASCII usernames. r=bent
--HG--
extra : rebase_source : 644ec1830e0725e37ee4cceefd113b61b64158a3
2012-09-19 14:02:08 -07:00
Ehsan Akhgari
b5c39afb4e Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Martin Stransky
b667bc1118 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
9eb6b4f558 Bug 787730 - Don't assume NULL to be a character; r=ehsan 2012-09-06 12:53:00 -04:00
Aryeh Gregor
110dd3d68d Bug 782616 - Don't return nsresult from main() (storage/); r=mak 2012-08-07 20:17:27 +03:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
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