Jeff Gilbert
70a22b2878
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Andrea Marchesini
3e08265e73
Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug
2018-01-31 08:25:30 +01:00
Andrea Marchesini
03bde7c37a
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 16 - Webkit/Blink directory picker enabled, r=asuth
2018-01-08 14:05:05 +01:00
Alex Gaynor
358fd56a42
Bug 1367560 - Remove an assertion from the Directory constructor that the directory exists on disk from DEBUG builds; r=baku
...
As long as Directory objects can be constructed in the content process, trying
to access the file system conceptually does not make sense because of
sandboxing. The canary in the coal mine for this was tests which started
crashing on Directory construction as we further locked down read access in the
sandbox.
MozReview-Commit-ID: HZitALYpO5H
2017-06-06 10:15:13 -04:00
Andrea Marchesini
5ca36e2e16
Bug 1346801 - Make Directory object always cloneable, r=qdot
2017-03-14 11:38:31 +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
Andrea Marchesini
595b62fa0e
Bug 1299500 - Get rid of DeviceStorage API - part 9 - Directory::GetRoot, r=ehsan
2017-03-08 20:15:45 +01:00
Andrea Marchesini
3a0776f295
Bug 1299500 - Get rid of DeviceStorage API - part 8 - Directory::Get, r=ehsan
2017-03-08 20:15:45 +01:00
Andrea Marchesini
f66cb24af2
Bug 1299500 - Get rid of DeviceStorage API - part 7 - Directory::Remove, r=ehsan
2017-03-08 20:15:45 +01:00
Andrea Marchesini
ed4d8cbe07
Bug 1299500 - Get rid of DeviceStorage API - part 6 - Directory::CreateDirectory, r=ehsan
2017-03-08 20:15:45 +01:00
Andrea Marchesini
f086a0bc3f
Bug 1299500 - Get rid of DeviceStorage API - part 5 - Directory::CreateFile, r=ehsan
2017-03-08 20:15:44 +01:00
Andrea Marchesini
bf83622bbf
Bug 1323935 - Entries API must use NS_NewLocalFile instead of NS_NewNativeLocalFile, r=smaug
2017-01-18 04:48:29 +01:00
Olli Pettay
3898f7d882
Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
2017-01-03 21:47:55 +02:00
Andrea Marchesini
1199247b3b
Bug 1265767 - Subset of Blink FileSystem API - patch 6 - getFile and getDirectory, r=smaug
2016-06-07 00:55:17 +02:00
Andrea Marchesini
a0a13bacf0
Bug 1258489 - Implement HTMLInputElement.webkitdirectory, r=smaug
2016-06-01 12:29:00 +02:00
Wes Kocher
bc4a58f2ac
Backed out changeset 17e20404362d (bug 1258489)
2016-05-23 12:46:05 -07:00
Andrea Marchesini
c218772045
Bug 1258489 - Implement HTMLInputElement.webkitdirectory, r=smaug
2016-05-23 17:02:18 +02:00
Andrea Marchesini
5eb710fd5e
Bug 1258490 - patch 2 - Directory::WebkitBlinkDirectoryPickerEnabled must be able to retrieve the WorkerPrivate also without having a JSContext, r=me
2016-05-13 14:38:00 +02:00
Andrea Marchesini
9e34b9fae4
Bug 1258490 - Implement file.webkitrelativepath, r=smaug
2016-05-13 13:11:38 +02:00
Andrea Marchesini
b4480fa824
Bug 1263992 - patch 1 - Remove DirectoryType enum, r=smaug
2016-04-18 03:32:30 -04:00
Andrea Marchesini
ddc32f5224
Bug 1258694 - Implement Directory::GetFiles(), r=smaug
2016-04-13 07:15:56 -04:00
Andrea Marchesini
65cc374a11
Bug 1257180 - patch 1 - Directory clonable to workers, r=smaug
2016-04-12 08:50:38 -04:00
Sebastian Hengst
d3fc87adc9
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
Andrea Marchesini
4109793f74
Bug 1257180 - patch 1 - Directory clonable to workers, r=smaug
2016-04-12 08:50:38 -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
8b45de854a
Bug 1258221 - patch 1 - File::CreateFromFile only for main-thread, r=smaug
2016-04-09 19:15:50 +01:00
Andrea Marchesini
be31b37efc
Bug 1258095 - patch 2/3 - Implement Directory::GetPath() correctly, r=smaug
2016-03-30 07:17:56 +01:00
Andrea Marchesini
c46add9eda
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
60e8c7e2fb
Bug 1258137 - OSFileSystem should not be kept alive by more than 1 Directory, r=smaug
2016-03-20 11:58:01 +01:00
Andrea Marchesini
6852883163
Bug 1173320 - patch 5/8 - Cleanup manual string path management, r=smaug
2016-03-20 11:56:10 +01:00
Andrea Marchesini
36c988a737
Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug
2016-03-20 11:56:10 +01:00
Andrea Marchesini
2290fd533f
Bug 1173320 - patch 3/8 - Improve the Windows path management, r=smaug
2016-03-20 11:56:10 +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
Ryan VanderMeulen
741f289f90
Backed out changeset ed4fe05c868d (bug 125813) for Android test_basic.html failures.
2016-03-19 21:26:57 -04:00
Andrea Marchesini
0c59bcac22
Bug 1258137 - OSFileSystem should not be kept alive by more than 1 Directory, r=smaug
2016-03-19 22:30:24 +01:00
Andrea Marchesini
870442b443
Bug 1173320 - patch 5/8 - Cleanup manual string path management, r=smaug
2016-03-19 22:29:47 +01:00
Andrea Marchesini
4e0ff900f3
Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug
2016-03-19 22:29:46 +01:00
Andrea Marchesini
c9d973e9f1
Bug 1173320 - patch 3/8 - Improve the Windows path management, r=smaug
2016-03-19 22:29:46 +01: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
Andrea Marchesini
761088058d
Bug 1244782 - Removed non-used variables in Directory.cpp, r=smaug
2016-02-01 20:56:43 +00:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Andrea Marchesini
c1aa706758
Bug 1234192 - part 2 - Directory should unlink/traverse the OSFileSystem in order to unlink/traverse the window, r=smaug
2015-12-30 08:53:38 +00:00
Phil Ringnalda
410f611998
Back out 2 changesets (bug 1234192) for "Assertion failure: !mFileSystem" in test_fs_createFile.html
...
Backed out changeset 3f37b08ceb85 (bug 1234192)
Backed out changeset bab507aa7874 (bug 1234192)
2015-12-29 19:16:40 -08:00
Andrea Marchesini
bc716788a6
Bug 1234192 - part 2 - Directory should unlink/traverse the OSFileSystem in order to unlink/traverse the window, r=smaug
2015-12-29 20:42:31 +00:00
Jonathan Watt
8e5368ebca
Bug 1223825 - Change Directory.path to include the directory's name. r=baku
2015-10-12 16:18:20 +01:00
Jonathan Watt
82654e52d1
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
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
Jonathan Watt
0d360e5868
Bug 1164310, part 2 - Implement an abstraction for a rooted filesystem for non-mobile devices. r=baku
2015-07-10 18:54:53 +01:00
Jonathan Watt
0dbec34d0a
Bug 1177688, part 5 - Follow-up to use nsAutoString on the stack in Directory to avoid unnecessarily allocating. r=baku
2015-06-23 00:31:38 +01:00