Ben Kelly
5d692f5fd3
Bug 1331949 Make service worker and cache diagnostic assert code compile on beta. r=asuth
2017-01-19 08:11:41 -08:00
Ben Kelly
a7346ff365
Bug 1329669 Gracefully handle nullptr Cache actor in CacheStorage::Open() result. r=asuth
2017-01-10 08:20:15 -08:00
Ben Kelly
077c137d4a
Bug 1328686 Add diagnostic assertions to dom/cache. r=asuth
2017-01-06 12:41:15 -08:00
Kan-Ru Chen
a9b19d0584
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
2016-08-24 14:47:04 +08:00
Jonathan Watt
9c5b8de022
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Kyle Huey
b972c94d0f
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book
aadd508ffe
Backed out changeset 85ce8cb0639a (bug 1268313)
2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Bogdan Postelnicu
2fee871b42
Bug 1245868 - repalce pass by value with pass by pointer in IsHeadRequest. r=jst
...
MozReview-Commit-ID: 5eZ2XLmIjkk
2016-02-17 10:17:20 +02:00
Kyle Huey
20d0dc7286
Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj
2016-03-28 10:28:15 -07:00
Birunthan Mohanathas
bfee0fb40c
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d871b9515f
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
245cd6a02f
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Jan Varga
c840a049f6
Bug 961049 - Part 6: Quota Manager on PBackground cache changes; r=bkelly
2015-11-22 10:44:16 +01:00
Birunthan Mohanathas
ac37dec517
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Ben Kelly
d6ff237942
Bug 1184607 P7.4 Infrastructure for running Cache schema migrations. r=ehsan
2015-08-31 14:26:30 -07:00
Ben Kelly
67dd9a104d
Bug 1112071 Change Cache ManagerId to use QuotaManager's concept of origin. r=ehsan
2015-08-31 14:26:29 -07:00
Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Jan Varga
a1455f50a1
Bug 1130775 - Convert synchronized ops and storage registration into unified directory locks; r=bent
2015-06-30 14:59:27 +02:00
Ben Kelly
320eeedfed
Bug 1110446 P2 Cleanup stale caches/bodies if last session didn't shutdown cleanly. r=ehsan
2015-06-25 22:22:46 -07:00
Ben Kelly
126cd3b0d4
Bug 1110446 P1 Create marker files when Cache API context is open. r=ehsan
2015-06-25 22:22:46 -07:00
Ben Kelly
ea12199f12
Bug 1134671 Keep sqlite connection open between Cache API operations. r=ehsan
2015-05-07 05:16:51 -07:00
Ben Kelly
c41514ae25
Bug 1160227 Improve Cache API warnings. r=ehsan
2015-05-01 08:15:52 -07:00
Ben Kelly
1e4ce069d9
Bug 1120501 P2 Move Cache Add/AddAll logic to child process. r=ehsan,smaug
2015-04-29 08:59:43 -07:00
Timur Valeev
440c74fe7a
Bug 1150001 - Cache API should not return Response body when matching Request with HEAD method. r=bkelly
2015-04-23 16:17:37 +03:00
Ben Kelly
a81e24fac6
Bug 1151974 P1 Delay Cache Context start until previous Context has completed. r=ehsan
2015-04-20 11:14:57 -07:00
Ben Kelly
d7f43e1bbc
Bug 1151892 Refactor Cache Manager Context usage to be more sane and fix shutdown assert. r=ehsan
2015-04-16 13:05:38 -07:00
Ben Kelly
0c3ecc763a
Bug 1110485 P7 Rename DeleteCache() to DeleteCacheId() better distinguish it from CacheDelete(). r=ehsan
2015-04-16 12:00:16 -07:00
Ben Kelly
a00a29b5b2
Bug 1110485 P6 Remove useless cache::FileUtils type. r=ehsan
2015-04-16 12:00:16 -07:00
Ben Kelly
581b87a39b
Bug 1110485 P5 Replace useless DBSchema class type with namespace. r=ehsan
2015-04-16 12:00:16 -07:00
Ben Kelly
3eda7b0ad0
Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku
2015-04-16 12:00:15 -07:00
Ben Kelly
8160ae8ba1
Bug 1110485 P1 Refactor Cache IPC requests to use a separate actor. r=baku
2015-04-16 12:00:15 -07:00
Carsten "Tomcat" Book
d7a1b4397a
Backed out changeset 19f871364039 (bug 1110485) for causing bc1 winxp memory leaks on a CLOSED TREE
2015-04-15 09:55:53 +02:00
Carsten "Tomcat" Book
4fe7ad9602
Backed out changeset a74f0b2545ab (bug 1110485)
2015-04-15 09:54:48 +02:00
Carsten "Tomcat" Book
a0faffc2d4
Backed out changeset de417ee861be (bug 1110485)
2015-04-15 09:54:36 +02:00
Carsten "Tomcat" Book
324495e45f
Backed out changeset fdca92fa4d55 (bug 1110485)
2015-04-15 09:54:34 +02:00
Carsten "Tomcat" Book
6edc845d59
Backed out changeset e8de5745c5c3 (bug 1110485)
2015-04-15 09:54:27 +02:00
Carsten "Tomcat" Book
b6b01a14e8
Backed out changeset a2629286ed4c (bug 1151892)
2015-04-15 09:54:11 +02:00
Ben Kelly
3d526926ee
Bug 1151892 Refactor Cache Manager Context usage to be more sane and fix shutdown assert. r=ehsan
2015-04-14 17:15:12 -07:00
Ben Kelly
96cffe9b41
Bug 1110485 P7 Rename DeleteCache() to DeleteCacheId() better distinguish it from CacheDelete(). r=ehsan
2015-04-14 17:11:20 -07:00
Ben Kelly
9124f5aa63
Bug 1110485 P6 Remove useless cache::FileUtils type. r=ehsan
2015-04-14 17:11:19 -07:00
Ben Kelly
16e8411904
Bug 1110485 P5 Replace useless DBSchema class type with namespace. r=ehsan
2015-04-14 17:11:19 -07:00
Ben Kelly
276f4fe9b5
Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku
2015-04-14 17:11:19 -07:00
Ben Kelly
8ed1bcafef
Bug 1110485 P1 Refactor Cache IPC requests to use a separate actor. r=baku
2015-04-14 17:11:19 -07:00
Wes Kocher
72537741dc
Backed out changeset 40f48cd100a2 (bug 1110485) for frequent mochitest-1 failures CLOSED TREE
2015-04-14 15:27:48 -07:00
Wes Kocher
0b492b45ca
Backed out changeset 114377b11793 (bug 1110485)
2015-04-14 15:27:46 -07:00
Wes Kocher
1936b2c264
Backed out changeset 55723c780549 (bug 1110485)
2015-04-14 15:27:40 -07:00
Wes Kocher
011ccebc90
Backed out changeset 974c5c109a49 (bug 1110485)
2015-04-14 15:27:39 -07:00
Wes Kocher
b05b404753
Backed out changeset b6b9517e3d50 (bug 1110485)
2015-04-14 15:27:37 -07:00