Simon Giesecke
5efd1faf25
Bug 1678062 - Remove unnecessary includes. r=andi
...
Differential Revision: https://phabricator.services.mozilla.com/D97467
Depends on D96561
2020-11-23 16:12:02 +00:00
Nika Layzell
747082f588
Bug 1570369 - Part 7: Use IPDL refcounted for PFileSystemRequest, r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D40260
2019-08-08 16:46:37 +00:00
Alex Gaynor
cd2bec19ea
Bug 1512990 - Part 2 - implement direct calls in the IPDL compiler; r=froydnj
...
When calling a Recv/Alloc/Dealloc method on most types, cast `this` to the
derived class.
There is a heuristic to figure out what the correct derived type is. There is a
blacklist of types which we can't do direct calls on for the moment, as well as
an override for types that do work with direct calls but which don't match the
heuristic.
Differential Revision: https://phabricator.services.mozilla.com/D16492
2019-02-06 15:57:37 +00:00
Alex Gaynor
f728b4240b
Bug 1515437 - mark several IPC methods as final; r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D15011
2018-12-19 21:46:49 +00:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Andi-Bogdan Postelnicu
8121d7fe21
Bug 1453795 - DOM/Filesystem - Initialize member fields in classes/ structures. r=baku
2018-06-14 22:19:52 +03:00
Sebastian Hengst
d91e9954eb
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Tristan Bourvon
6095241db8
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Thomas Wisniewski
0c092dc939
Bug 792808 - Purge nsIXMLHttpRequest, nsIXMLHttpRequestUpload, nsIXMLHttpRequestEventTarget, nsIXHRSendable XPCOM interfaces; r=baku
...
MozReview-Commit-ID: 8yzCXSeyO85
2017-11-19 17:11:41 -05:00
Andrea Marchesini
c98c78bb9e
Bug 1408333 Get rid of nsIIPCBackgroundChildCreateCallback - part 7 - FileSystem APIs, r=asuth
2017-10-24 12:02:40 +02:00
Andrea Marchesini
42bafc0e82
Bug 1358111 - Use IPCBlob in Entries API - part 2 - Entries API, r=smaug
2017-04-24 12:16:49 +02:00
Sebastian Hengst
5f26d51f34
Backed out changeset 73f62ae76c08 (bug 1358111)
2017-04-24 15:43:10 +02:00
Andrea Marchesini
c892b19da1
Bug 1358111 - Use IPCBlob in Entries API - part 2 - Entries API, r=smaug
2017-04-24 12:16:49 +02:00
Andrea Marchesini
3d4252d899
Bug 1350933 - Labeling dom/filesystem - part 3 - IPC actors, r=billm
2017-04-05 09:47:56 +02:00
Andrea Marchesini
9e6a51153b
Bug 1350933 - Labeling dom/filesystem - part 1 - Runnable, r=billm
2017-04-05 09:47:09 +02:00
Andrea Marchesini
2f07689108
Bug 1344415 - Introduce a security check about which files can be opened by a content process, r=ehsan
...
Entries API gives access to the filesystem. With this patch we allow that only
to patches, previously shared by a FilePicker or a DataTransfer event.
2017-03-16 08:53:49 +01:00
Andrea Marchesini
78510b5b49
Bug 1346801 - No need to dispatch runnables to the main-thread for Entries API, r=qdot
2017-03-14 11:38:06 +01:00
Andrea Marchesini
9e9210ce14
Bug 1299500 - Get rid of DeviceStorage API - part 11 - FileSystem, r=ehsan
2017-03-08 20:15:45 +01:00
Kan-Ru Chen
1b9dd22e2d
Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
...
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.
MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Andrea Marchesini
ddc32f5224
Bug 1258694 - Implement Directory::GetFiles(), r=smaug
2016-04-13 07:15:56 -04:00
Andrea Marchesini
32c6dd01b5
Bug 1258221 - patch 3 - Rename FileSystemTaskBase to FileSystemTaskChildBase, r=smaug
2016-04-09 19:17:28 +01:00
Andrea Marchesini
f5655f4f9e
Bug 1258221 - patch 2 - Port FileSystem API and DeviceStorage API to PBackground, r=smaug
2016-04-09 19:17:02 +01:00
Andrea Marchesini
8b45de854a
Bug 1258221 - patch 1 - File::CreateFromFile only for main-thread, r=smaug
2016-04-09 19:15:50 +01:00
Andrea Marchesini
d10e0b4b34
Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug
2016-03-20 11:56:10 +01:00
Phil Ringnalda
9e96cfb31d
Backed out 8 changesets (bug 1173320) for adding dom/filesystem/tests/test_basic.html without making it work on Android
...
Backed out changeset 7e3a105b9160 (bug 1173320)
Backed out changeset 094819fbb07f (bug 1173320)
Backed out changeset 23b0e55ff1db (bug 1173320)
Backed out changeset 8bf8e2fcedad (bug 1173320)
Backed out changeset 3de390c6f47f (bug 1173320)
Backed out changeset fb298010e12e (bug 1173320)
Backed out changeset f1a965c2f796 (bug 1173320)
Backed out changeset 176128ba757f (bug 1173320)
2016-03-19 19:44:22 -07:00
Andrea Marchesini
97ca49dfa3
Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug
2016-03-19 22:29:46 +01: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
Andrea Marchesini
41c29ad762
Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
2015-05-12 13:11:03 +01:00
Andrea Marchesini
a8f15ce969
Bug 1159401 - Split Blob and File classes, r=bz
2015-05-12 13:09:51 +01:00
Wes Kocher
040b8fe0e4
Backed out 2 changesets (bug 1159401) for b2g build bustage
...
Backed out changeset adfee1efb1e1 (bug 1159401)
Backed out changeset 70c63c8546e3 (bug 1159401)
2015-05-11 14:54:02 -07:00
Wes Kocher
81e9cbedba
Backed out changeset 56e4c68dc3da (bug 1163387) for build bustage CLOSED TREE
2015-05-11 13:17:58 -07:00
Andrea Marchesini
bd76fd013b
Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
2015-05-11 18:50:54 +01:00
Andrea Marchesini
5d622f89aa
Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz
2015-05-11 18:50:50 +01:00
Ryan VanderMeulen
95df0286b8
Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
...
CLOSED TREE
2015-05-11 11:43:59 -04:00
Andrea Marchesini
2ffeefc77a
Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz
2015-05-11 15:20:06 +01:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Andrea Marchesini
324ef4c39f
Bug 1156632 - Remove unused forward class declarations - patch 3 - dom/{events,xbl,xslt,xul} and others, r=ehsan
2015-04-22 08:29:18 +02:00
Ehsan Akhgari
ea41d8de48
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
Ben Turner
e30152a851
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
2014-09-26 16:21:57 -07:00
Ben Turner
4937da099f
Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE.
2014-09-17 19:36:01 -04:00
Ben Turner
aede706b17
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
2014-09-13 12:12:19 -04:00
Ehsan Akhgari
6be3d83434
Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
2014-09-01 20:49:25 -04:00
Phil Ringnalda
36b0901dec
Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
...
CLOSED TREE
Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982 )
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari
b781feb7c0
Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
2014-09-01 18:00:53 -04:00
Yuan Xulei
15cf2afe7c
Bug 910412 - Filesystem API permission request and checks. r=dhylands
2014-03-05 11:24:19 +08:00
Yuan Xulei
22b80430dc
Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug
2014-03-05 11:25:40 +08:00
Ryan VanderMeulen
f3e7f70e31
Backed out 5 changesets (bug 910412) for intermittent crash whack-a-mole.
...
Backed out changeset e3eb9463b3e1 (bug 910412)
Backed out changeset d5863d302bde (bug 910412)
Backed out changeset 422b66d4b1ca (bug 910412)
Backed out changeset 3431d59d752e (bug 910412)
Backed out changeset b1c0310cdac1 (bug 910412)
2014-03-11 12:17:03 -04:00
Yuan Xulei
c7cb4300e9
Bug 910412 - Filesystem API permission request and checks. r=dhylands
2014-03-05 11:24:19 +08:00
Yuan Xulei
d688dc7974
Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug
2014-03-05 11:25:40 +08:00