Jan Varga
945dffa14f
Bug 961049 - Part 6: Quota Manager on PBackground cache changes; r=bkelly
2015-11-22 10:44:16 +01:00
Nathan Froyd
01583602a9
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
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Bobby Holley
97b9240b34
Bug 1188696
- Hoist nsRefPtr.h into MFBT. r=froydnj
2015-07-29 10:44:59 -07:00
Jan Varga
baba1643c1
Bug 1130775 - Convert synchronized ops and storage registration into unified directory locks; r=bent
...
--HG--
rename : dom/quota/OriginOrPatternString.h => dom/quota/OriginScope.h
2015-06-30 14:59:27 +02:00
Ben Kelly
a874312867
Bug 1120501 P2 Move Cache Add/AddAll logic to child process. r=ehsan,smaug
2015-04-29 08:59:43 -07:00
Ben Kelly
1279e70d19
Bug 1151974
P1 Delay Cache Context start until previous Context has completed. r=ehsan
2015-04-20 11:14:57 -07:00
Ben Kelly
823822dae8
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
ec154acf25
Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku
...
--HG--
rename : dom/cache/PCacheTypes.ipdlh => dom/cache/CacheTypes.ipdlh
2015-04-16 12:00:15 -07:00
Ben Kelly
2dae6bf172
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
fe0f813b3f
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
cdb80ccd52
Backed out changeset a74f0b2545ab (bug 1110485)
...
--HG--
rename : dom/cache/CacheTypes.ipdlh => dom/cache/PCacheTypes.ipdlh
2015-04-15 09:54:48 +02:00
Carsten "Tomcat" Book
b08d4f66da
Backed out changeset a2629286ed4c (bug 1151892)
2015-04-15 09:54:11 +02:00
Ben Kelly
e156ce990d
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
d2326c284c
Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku
...
--HG--
rename : dom/cache/PCacheTypes.ipdlh => dom/cache/CacheTypes.ipdlh
2015-04-14 17:11:19 -07:00
Ben Kelly
feca794ce2
Bug 1110485 P1 Refactor Cache IPC requests to use a separate actor. r=baku
2015-04-14 17:11:19 -07:00
Wes Kocher
22b792b4e2
Backed out changeset 40f48cd100a2 (bug 1110485) for frequent mochitest-1 failures CLOSED TREE
...
--HG--
extra : amend_source : 3c3a58e53f42afd4a0612b73115e74cc96228066
2015-04-14 15:27:48 -07:00
Wes Kocher
82cca8b7cc
Backed out changeset 114377b11793 (bug 1110485)
...
--HG--
rename : dom/cache/CacheTypes.ipdlh => dom/cache/PCacheTypes.ipdlh
2015-04-14 15:27:46 -07:00
Ben Kelly
8711b65af3
Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku
...
--HG--
rename : dom/cache/PCacheTypes.ipdlh => dom/cache/CacheTypes.ipdlh
2015-04-14 12:21:14 -07:00
Ben Kelly
7a6abc9a9e
Bug 1110485 P1 Refactor Cache IPC requests to use a separate actor. r=baku
2015-04-14 12:21:14 -07:00
Wes Kocher
164426c724
Backed out 3 changesets (bug 1110485) for wpt-3 bustage
...
Backed out changeset e8bd3bf404ff (bug 1110485)
Backed out changeset fa29dbb49a66 (bug 1110485)
Backed out changeset 12deb121d126 (bug 1110485)
--HG--
rename : dom/cache/CacheTypes.ipdlh => dom/cache/PCacheTypes.ipdlh
2015-04-13 15:18:19 -07:00
Ben Kelly
a3a390d7d6
Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku
...
--HG--
rename : dom/cache/PCacheTypes.ipdlh => dom/cache/CacheTypes.ipdlh
2015-04-13 14:05:57 -07:00
Ben Kelly
c3a286e766
Bug 1110485 P1 Refactor Cache IPC requests to use a separate actor. r=baku
2015-04-13 14:05:57 -07:00
Ben Kelly
3b9d1c465e
Bug 1150691 Fix Cache API race with storage invalidation. r=ehsan
2015-04-02 17:39:46 -07:00
Ben Kelly
12af2a6a57
Bug 1110487 P2 Implement the nsIOfflineStorage interface in Cache. r=janv,ehsan
2015-03-16 07:10:36 -07:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Ryan VanderMeulen
ba908a867f
Backed out changeset 734e81bff9f3 (bug 1110487) for intermittent e10s cache test crashes.
...
CLOSED TREE
2015-03-16 13:51:33 -04:00
Ben Kelly
30333a7a7d
Bug 1110487 P2 Implement the nsIOfflineStorage interface in Cache. r=janv,ehsan
2015-03-16 07:10:36 -07:00
Ehsan Akhgari
3d44a57364
Bug 1142195 - Remove some unused class declarations in the DOM Cache code; r=bkelly
2015-03-11 16:46:15 -04:00
Ben Kelly
f9064fc636
Bug 940273 - Part 4 - Initial implementation of Service Worker Cache. r=ehsan,baku,janv
2015-03-02 14:20:00 +01:00