Kris Maglione
6b12d08f7d
Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj
...
MozReview-Commit-ID: Iv4T1MVAF5
--HG--
extra : rebase_source : 1c518883d082884db7f9323a5acc20361228c26b
extra : histedit_source : 70a73c23d1199d3bfbb5379c78930401166c094b
2018-05-19 20:17:45 -07:00
Eric Rahm
07c97a5afe
Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium
...
This removes an unnecessary level of indirection by replacing all
nsStringGlue.h instances with just nsString.h.
--HG--
extra : rebase_source : 340989240af4018f3ebfd92826ae11b0cb46d019
2017-12-06 16:52:51 -08:00
Andrea Marchesini
c3f6540638
Bug 1377260 - Entries API must return results also when the underlying files of a directory change, r=smaug
2017-07-04 05:39:43 +02:00
Andrea Marchesini
27f31f4f74
Bug 1358111 - Use IPCBlob in Entries API - part 2 - Entries API, r=smaug
2017-04-24 12:16:49 +02:00
Sebastian Hengst
894a9bd892
Backed out changeset 73f62ae76c08 (bug 1358111)
2017-04-24 15:43:10 +02:00
Andrea Marchesini
7a681dccf6
Bug 1358111 - Use IPCBlob in Entries API - part 2 - Entries API, r=smaug
2017-04-24 12:16:49 +02:00
Andrea Marchesini
7b2382f375
Bug 1350933 - Labeling dom/filesystem - part 3 - IPC actors, r=billm
2017-04-05 09:47:56 +02:00
Andrea Marchesini
a628be7b36
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
9fa58ed270
Bug 1299500 - Get rid of DeviceStorage API - part 11 - FileSystem, r=ehsan
2017-03-08 20:15:45 +01:00
Andrea Marchesini
3043646e52
Bug 1339871 - Splitting dom/file/File.{h,cpp}, r=smaug
...
--HG--
rename : dom/file/File.cpp => dom/file/BaseBlobImpl.cpp
rename : dom/file/File.h => dom/file/BaseBlobImpl.h
rename : dom/file/File.cpp => dom/file/Blob.cpp
rename : dom/file/File.h => dom/file/Blob.h
rename : dom/file/File.cpp => dom/file/BlobImpl.cpp
rename : dom/file/File.h => dom/file/BlobImpl.h
rename : dom/file/File.cpp => dom/file/EmptyBlobImpl.cpp
rename : dom/file/File.h => dom/file/EmptyBlobImpl.h
rename : dom/file/File.cpp => dom/file/FileBlobImpl.cpp
rename : dom/file/File.h => dom/file/FileBlobImpl.h
rename : dom/file/File.cpp => dom/file/MemoryBlobImpl.cpp
rename : dom/file/File.h => dom/file/MemoryBlobImpl.h
rename : dom/file/File.cpp => dom/file/StreamBlobImpl.cpp
rename : dom/file/File.h => dom/file/StreamBlobImpl.h
rename : dom/file/File.h => dom/file/StringBlobImpl.h
rename : dom/file/File.h => dom/file/TemporaryBlobImpl.h
2017-02-16 18:26:38 +01:00
Andrea Marchesini
fc26940d57
Bug 1336091 - File.relativeWebkitPath should not start with '/', r=smaug
2017-02-06 11:07:54 +01:00
Andrea Marchesini
acb69b3cbc
Bug 1332003 - Entries API must create BlobImpl in the parent process, r=smaug
2017-02-01 07:33:18 +01:00
Andrea Marchesini
c980b8d524
Bug 1323935 - Entries API must use NS_NewLocalFile instead of NS_NewNativeLocalFile, r=smaug
2017-01-18 04:48:29 +01:00
Andrea Marchesini
ce2d912270
Bug 1274959 - Support symlinks in Directory API - part 1 - Directory.getFilesAndDirectories, r=smaug
2016-07-23 10:34:43 +02:00
Andrea Marchesini
6441b9d372
Bug 1258490 - Implement file.webkitrelativepath, r=smaug
2016-05-13 13:11:38 +02:00
Andrea Marchesini
ca25a39241
Bug 1263992 - patch 2 - Support the creation of directories from FileSystemTasks, r=smaug
2016-04-18 03:32:59 -04:00
Andrea Marchesini
8e22a11655
Bug 1263992 - patch 1 - Remove DirectoryType enum, r=smaug
2016-04-18 03:32:30 -04:00
Andrea Marchesini
e3a78f6247
Bug 1258694 - Implement Directory::GetFiles(), r=smaug
2016-04-13 07:15:56 -04:00
Andrea Marchesini
a8c342535b
Bug 1257180 - patch 2 - Directory can be sent via postMessage(), r=smaug
2016-04-12 08:51:04 -04:00
Andrea Marchesini
eb9a84d8f8
Bug 1257180 - patch 1 - Directory clonable to workers, r=smaug
2016-04-12 08:50:38 -04:00
Sebastian Hengst
f25d35d7af
Backed out changeset b416fc68c0a2 (bug 1257180) for crash in test_performance_user_timing.html on Android debug. r=backout on a CLOSED TREE
2016-04-12 17:56:15 +02:00
Sebastian Hengst
da254cafcc
Backed out changeset 83ce34cabf08 (bug 1257180)
2016-04-12 17:56:08 +02:00
Andrea Marchesini
f43ec0535f
Bug 1257180 - patch 2 - Directory can be sent via postMessage(), r=smaug
2016-04-12 08:51:04 -04:00
Andrea Marchesini
846b1de4c5
Bug 1257180 - patch 1 - Directory clonable to workers, r=smaug
2016-04-12 08:50:38 -04:00
Andrea Marchesini
b0d38d029e
Bug 1258221 - patch 3 - Rename FileSystemTaskBase to FileSystemTaskChildBase, r=smaug
2016-04-09 19:17:28 +01:00
Andrea Marchesini
9345155089
Bug 1258221 - patch 2 - Port FileSystem API and DeviceStorage API to PBackground, r=smaug
2016-04-09 19:17:02 +01:00
Andrea Marchesini
c6067c0a80
Bug 1258221 - patch 1 - File::CreateFromFile only for main-thread, r=smaug
2016-04-09 19:15:50 +01:00
Andrea Marchesini
923a48177b
Bug 1258095 - patch 3/3 - Directory tasks should use FallibleArray, r=smaug
2016-03-30 07:18:32 +01:00
Andrea Marchesini
8384a107b1
Bug 1258095 - patch 1/3 - OSFileSystem should have the root == the directory root, r=smaug
2016-03-30 07:17:15 +01:00
Andrea Marchesini
8d3c72ef64
Bug 1173320 - patch 7/8 - Tests for FileList and Directories, r=smaug
2016-03-20 11:56:11 +01:00
Andrea Marchesini
69278a33e5
Bug 1173320 - patch 5/8 - Cleanup manual string path management, r=smaug
2016-03-20 11:56:10 +01:00
Andrea Marchesini
548dc7f03a
Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug
2016-03-20 11:56:10 +01:00
Andrea Marchesini
f11df067d2
Bug 1173320 - patch 3/8 - Improve the Windows path management, r=smaug
2016-03-20 11:56:10 +01:00
Andrea Marchesini
4c6e588645
Bug 1173320 - patch 2/8 - Proper naming for the FileSystem path serialization, r=smaug
2016-03-20 11:56:10 +01:00
Andrea Marchesini
18858bf144
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
b47ec4d2bd
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
6f10afaf24
Bug 1173320 - patch 7/8 - Tests for FileList and Directories, r=smaug
2016-03-19 22:29:47 +01:00
Andrea Marchesini
f9925e6480
Bug 1173320 - patch 5/8 - Cleanup manual string path management, r=smaug
2016-03-19 22:29:47 +01:00
Andrea Marchesini
2fdbbe6373
Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug
2016-03-19 22:29:46 +01:00
Andrea Marchesini
5692c003d2
Bug 1173320 - patch 3/8 - Improve the Windows path management, r=smaug
2016-03-19 22:29:46 +01:00
Andrea Marchesini
f43b2ad7ea
Bug 1173320 - patch 2/8 - Proper naming for the FileSystem path serialization, r=smaug
2016-03-19 22:29:46 +01:00
Andrea Marchesini
232e5767b0
Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug
2016-03-19 22:29:46 +01:00
Sylvestre Ledru
ab4e3a0d42
Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
...
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Jonathan Watt
740627a24c
Bug 1209924 - Implement a general filtering mechanism for Directory::GetFilesAndDirectories, and add filtering of sensitive files/directories. r=baku
2015-10-09 15:59:40 +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
Jonathan Watt
69fba7ebc6
Bug 1209975 - Stop using dom::Promise::MaybeRejectBrokenly() in GetDirectoryListingTask. r=baku
2015-09-03 15:55:46 +01:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Jonathan Watt
0a4023ea4b
Bug 1177688, part 2 - Add support to the FileSystem code for obtaining a listing of a Directory's Directory and File contents via a sequence of Blobs, forking appropriately to support both for e10s and non-e10s. r=baku
2015-06-23 00:31:32 +01:00