Commit Graph

643 Commits

Author SHA1 Message Date
Trevor Saunders
238525e2d8 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Roberta De Viti
b67c76bde9 Bug 865188 - Remove Storage support for profile special database. r=mak 2013-07-11 10:00:48 +02:00
Ryan VanderMeulen
1d7eff0f7a Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures. 2013-07-10 13:51:28 -04:00
Trevor Saunders
d82043f811 bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal 2013-06-25 14:29:26 -04:00
Trevor Saunders
ace23958ea bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg 2013-06-25 11:15:21 -04:00
Trevor Saunders
ea8461a6ca bug 887854 - remove most useage of pratom.h r=mounir, mcmanus, jrmuizel 2013-06-16 03:09:07 -04:00
David Rajchenbach-Teller
eab6dc1b5c Bug 702559 - Async tests for mozIStorage[Async]Connection;r=mak 2013-06-27 09:00:59 -04:00
David Rajchenbach-Teller
5835e56afc Bug 702559 - First implementation of mozIStorageAsyncConnection;r=mak
* * *
Bug 702559 - Implementation of transaction helper compatible with mozIStorageAsyncConnection;r=mak
2013-06-27 09:00:59 -04:00
Ed Morley
4fbed7888f Backed out changeset fa98df7a3493 (bug 702559) for xpcshell orange 2013-06-26 12:56:40 +01:00
Ed Morley
25538186e2 Backed out changeset ad1819ab302a (bug 702559) 2013-06-26 12:56:17 +01:00
David Rajchenbach-Teller
8de4be02ee Bug 702559 - Async tests for mozIStorage[Async]Connection;r=mak 2013-06-26 05:45:49 -04:00
David Rajchenbach-Teller
8115e2b5dd Bug 702559 - First implementation of mozIStorageAsyncConnection;r=mak 2013-06-26 05:45:49 -04:00
Brian O'Keefe
ed17339221 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Nathan Froyd
fa18c2bdb2 Bug 884022 - fix clang warnings about pointer-to-int comparisons in test_AsXXX_helpers.cpp; r=dholbert 2013-06-17 17:18:40 -04:00
Aaron Klotz
a1cf98c04e Bug 867762: NSPR and SQLite Main Thread I/O Interposing. r=BenWa 2013-06-14 12:01:02 -06:00
Nathan Froyd
e3350ad99a Bug 878411 - define xFetch and xUnfetch methods in TelemetryVFS file objects; r=mak 2013-06-01 12:26:17 -04:00
Boris Zbarsky
897328ff5b Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence 2013-05-30 17:46:48 -04:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Boris Zbarsky
810766595d Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley 2013-05-20 08:44:18 -04:00
Gregory Szorc
c1b865f669 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Ehsan Akhgari
2f3ac0380a Bug 873038 - Remove the old MSVC PGO exclusions across the tree; r=glandium 2013-05-16 11:16:30 -04:00
Joey Armstrong
0d49db0381 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Ed Morley
2710e5d6a9 Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Mike Shal
d2b29f4e87 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
22dcf8ebb5 Bug 871317 - Fix more rooting hazards in the storage code; r=till 2013-05-12 18:32:13 -04:00
Ehsan Akhgari
04b866f6b4 Bug 871187 - Fix rooting hazards in the storage code; r=till 2013-05-12 09:10:39 -04:00
Iivari Äikäs
c0b2ce3bd9 Bug 617897 - Replace calls to AppendASCII('*') with Append('*'). r=dougt 2013-05-07 10:25:21 -04:00
David Zbarsky
1261d9e8d0 Bug 867459 - Fix storage rooting hazards r=terrence 2013-05-02 22:02:40 -04:00
Joey Armstrong
12356a4c50 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Nicholas Nethercote
500e72cfdf 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
2dfc78553b 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
54d163bc01 Bug 836493 - part 2: eliminate now-unnecessary ServiceMainThreadInitializer; r=mak 2013-02-08 12:08:22 -05:00
Nathan Froyd
e729f89a13 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
b0ffacd110 bug 856349 - remove useless SHORT_LIBNAME assignments r=glandium 2013-03-30 15:42:45 -04:00
Xin Zhang
90e0d609a9 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
d7f95aa8c9 Bug 857376 - 'Use 2k page_size for databases on B2G'. r=mak, sr=mossop. 2013-04-04 17:14:46 -07:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a 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
5663b98bc5 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
71a59dcdc8 Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent 2013-03-26 12:13:17 +01:00
Benoit Girard
6ed333dbb5 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
bbe4c3065e Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Mike Shal
f290401a73 Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Gregory Szorc
94ec89296d 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
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ed Morley
4a0f5f39ca Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
47bc17c5f5 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
90f13c7e56 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
95a5b4c35f Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Gregory Szorc
629b5d86c6 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
795c5eeeff 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
1cf693a16c Bug 784841 - Part 18ζ: Convert /storage; r=glandium 2013-02-25 13:05:31 -08:00
Marco Bonardo
b0452f575e 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
da3ea8fd94 Bug 840633 - style fix. r=smaug. 2013-02-12 14:43:52 -05:00
Rafael Ávila de Espíndola
f4d74651ac 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
841f229e8b Backed out changesets 50f4ba15a3c7 and cafa8ba33704 (bug 796388) for mochitest-2 orange. 2013-01-29 16:38:37 -05:00
Nathan Froyd
7986f9a2ea Bug 796388 - part 1 - delete TelemetryVFS; r=mak 2013-01-29 11:57:01 -05:00
Gregor Wagner
1f8ad438a2 Bug 834995 - Fix race condition in mozStorageConnection.cpp. r=mak77 2013-01-26 09:18:16 -08:00
Vladan Djeric
e74ffe5dd4 Bug 830429 - Reduce the threshold for slow main thread SQL to 50ms. r=nfroyd 2013-01-22 14:12:17 -05:00
Ehsan Akhgari
2d9e17f417 Bug 833196 - Disable PGO on storage; a=me 2013-01-21 23:12:20 -05:00
Monica Chew
1f7925eb67 Bug 829832 - Move nss and sqlite builds before netwerk. r=mh 2013-01-15 19:44:44 -05:00
Mats Palmgren
d5826be6d7 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
b6939f2c42 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
625786aaf8 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
0012230c77 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
a7d90fb5a3 Bug 787804 - Rewrite quota handling (eliminate test_quota.c). r=bent,asuth,vladan 2012-12-17 20:25:10 +01:00
Jeff Walden
e0523203c9 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
bc6e504af4 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
d5e3887cb4 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
45adfbf2c8 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
e6e6deb486 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
7457de64ad 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
a7bb0ec116 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a 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
a1996feccf Bug 792581 - part 21: Replace LL_F2L and LL_D2L macros. r=ehsan 2012-10-25 19:25:58 -04:00
Jacek Szpot
1df85fd054 Bug 800106: replace some NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINEs; r=ehsan 2012-10-23 13:29:06 +02:00
Ehsan Akhgari
fb83dd24c3 Backout changeset 788a51ef6221 (bug 800106) because of Windows XP Kraken regression 2012-10-22 16:44:09 -04:00
Jacek Szpot
67d97a59b9 Bug 800106: replace some NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINEs; r=ehsan 2012-10-19 10:33:33 +02:00
Kyle Huey
97c337f44f Bug 802239: Actually shut down storage threads. r=asuth 2012-10-18 11:50:39 -07:00
Kyle Huey
c88af38bce Back out bug 802239
--HG--
extra : rebase_source : 7401ba8d97f88f0aef2edf2f63e245a116e897cc
2012-10-17 15:16:53 -07:00
Kyle Huey
b8d741f2c8 Bug 802239: Actually shut down storage threads. r=asuth 2012-10-17 11:56:24 -07:00
Ehsan Akhgari
71927a786f Backout changeset 0f0797cdb55a (bug 800106) because of Kraken regressions on Windows XP 2012-10-15 14:19:55 -04:00
Jacek Szpot
b848f67ec0 Bug 800106: replace NS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE; r=ehsan 2012-10-13 17:52:10 +02:00
Aryeh Gregor
d8217f6f81 Bug 779473 - Make nsresult an enum class; r=ehsan 2012-08-02 11:55:58 +03:00
Nicholas Nethercote
9dd67d2d7e 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
43085602a8 Remove the unused DatabaseTester::mState field; no bug 2012-10-02 20:46:08 -04:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Nathan Froyd
10f0431a94 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
adcac0600c 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
cd2f4f62af Backout changeset c1cd7da16cd6 (bug 774250) for Linux Moth orange
--HG--
extra : rebase_source : 00e260bc4a75c6780c7863121cfc170f960ae010
2012-09-19 20:25:56 -04:00
Kyle Huey
bd5877ee3f 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
70ba385729 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
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