Andrea Marchesini
af44f51ea3
Bug 1360807 - FileReaderSync must work with sync inputStream - part 4 - Base64EncodeInputStream needs a sync inputStream, r=smaug
2017-05-09 11:04:49 +02:00
Andrea Marchesini
89c4a17c30
Bug 1360807 - FileReaderSync must work with sync inputStream - part 2 - nsIConverterInputStream needs a syncInputStream, r=smaug
2017-05-09 11:04:07 +02:00
Andrea Marchesini
9a84781a8b
Bug 1360807 - FileReaderSync must work with sync inputStream - part 1 - SyncRead should read as much as required, r=smaug
2017-05-09 11:03:40 +02:00
Phil Ringnalda
fb249f6ccf
Backed out 4 changesets (bug 1360807) for a 30% failure rate in test_ipcBlob_fileReaderSync.html on ASan e10s
...
Backed out changeset b7790c232791 (bug 1360807)
Backed out changeset 50d6d6733209 (bug 1360807)
Backed out changeset 6e84dfab90bf (bug 1360807)
Backed out changeset f25d7a76008e (bug 1360807)
MozReview-Commit-ID: DTkQJz5ZYMD
2017-05-05 12:34:57 -07:00
Andrea Marchesini
8a47d949c8
Bug 1360807 - FileReaderSync must work with sync inputStream - part 4 - Base64EncodeInputStream needs a sync inputStream, r=smaug
2017-05-05 14:45:14 +02:00
Andrea Marchesini
d848b18621
Bug 1360807 - FileReaderSync must work with sync inputStream - part 2 - nsIConverterInputStream needs a syncInputStream, r=smaug
2017-05-05 14:44:18 +02:00
Andrea Marchesini
0e698fd291
Bug 1360807 - FileReaderSync must work with sync inputStream - part 1 - SyncRead should read as much as required, r=smaug
2017-05-05 14:43:58 +02:00
Phil Ringnalda
9c89089b76
Backed out 6 changesets (bug 1360807) for ongoing hangs in test_fileReader.html and test_ipcBlob_fileReaderSync.html
...
CLOSED TREE
Backed out changeset 3a05e05fb644 (bug 1360807)
Backed out changeset 9630a51eca07 (bug 1360807)
Backed out changeset 41e9af8078dd (bug 1360807)
Backed out changeset e59616a3997a (bug 1360807)
Backed out changeset c800cb830b36 (bug 1360807)
Backed out changeset 4ab091bdeda1 (bug 1360807)
MozReview-Commit-ID: 1h3pcsPi2An
2017-05-04 19:26:26 -07:00
Andrea Marchesini
149a93a6fd
Bug 1360807 - FileReaderSync must work with sync inputStream - part 5 - Cleaning up the use of BufferedInputStream for Base64EncodeInputStream, r=me
2017-05-04 19:43:56 +02:00
Andrea Marchesini
24bd3f358f
Bug 1360807 - FileReaderSync must work with sync inputStream - part 4 - Using BufferedInputStream for Base64EncodeInputStream, r=me
2017-05-04 19:10:16 +02:00
Andrea Marchesini
77cf7d37a8
Bug 1360807 - FileReaderSync must work with sync inputStream - part 3 - Base64EncodeInputStream needs a sync inputStream, r=smaug
2017-05-04 14:51:11 +02:00
Andrea Marchesini
2acb139e3d
Bug 1360807 - FileReaderSync must work with sync inputStream - part 2 - nsIConverterInputStream needs a syncInputStream, r=smaug
2017-05-04 14:50:25 +02:00
Andrea Marchesini
d2bb4544eb
Bug 1360807 - FileReaderSync must work with sync inputStream - part 1 - SyncRead should read as much as required, r=smaug
2017-05-04 14:49:56 +02:00
Carsten "Tomcat" Book
135ad77613
Backed out changeset 8275594fe235 (bug 1360807)
2017-05-04 16:39:16 +02:00
Carsten "Tomcat" Book
1ad79efed3
Backed out changeset 6b389f6ad971 (bug 1360807)
2017-05-04 16:39:14 +02:00
Carsten "Tomcat" Book
cc371c36d3
Backed out changeset 40fcf8d32f3a (bug 1360807)
2017-05-04 16:39:04 +02:00
Andrea Marchesini
826e7e5c6d
Bug 1360807 - FileReaderSync must work with sync inputStream - part 3 - Base64EncodeInputStream needs a sync inputStream, r=smaug
2017-05-04 14:51:11 +02:00
Andrea Marchesini
8a2a42d9d3
Bug 1360807 - FileReaderSync must work with sync inputStream - part 2 - nsIConverterInputStream needs a syncInputStream, r=smaug
2017-05-04 14:50:25 +02:00
Andrea Marchesini
4f7690c7bd
Bug 1360807 - FileReaderSync must work with sync inputStream - part 1 - SyncRead should read as much as required, r=smaug
2017-05-04 14:49:56 +02:00
Andrea Marchesini
217b5f52af
Bug 1359359 - FileReaderSync should support nsIAsyncInputStream, r=smaug
2017-04-25 22:23:46 +02:00
Andrea Marchesini
957a935bbb
Bug 1349572 - FileSystemSync must be able to work also with non nsISeekableStream, r=smaug
2017-03-23 10:53:40 +01:00
Carsten "Tomcat" Book
2420a68090
Backed out changeset aa77848f51ee (bug 1349572) for test failures in test_fileReadSlice.xul and others
2017-03-23 08:50:13 +01:00
Andrea Marchesini
4833d2379a
Bug 1349572 - FileSystemSync must be able to work also with non nsISeekableStream, r=smaug
2017-03-23 07:19:55 +01: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
Kyle Huey
4827c33896
Bug 1257039: Remove the worker descriptor for FileReaderSync. r=bz
2016-03-16 11:51:11 -07:00
Xidorn Quan
1d232219d1
Bug 1248851 part 1 - Explicitly mark some release() calls result-unused. r=Waldo
...
MozReview-Commit-ID: Cgubemm1Et3
2016-02-20 11:06:25 +08: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
b45d15ecff
Bug 1166231 - Make nsIDOMBlob an empty interface, r=ehsan
2015-05-19 15:36:37 +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
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
Boris Zbarsky
ea881b3a53
Bug 1117172 part 2. Change the non-wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, Codegen.py, and
StructuredClone.cpp. The rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/WrapObject\((JSContext *\* *(?:aCx|cx)),(\s*)(JS::MutableHandle<JSObject\*> aReflector)/WrapObject(\1,\2JS::Handle<JSObject*> aGivenProto,\2\3/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx)), this, aReflector/\1, this, aGivenProto, aReflector/'
2015-03-19 10:13:32 -04:00
Peter Van der Beken
a3f5de9681
Bug 1096328 - Remove nativeOwnership from Bindings.conf, make rooting analysis happy. r=bz.
2015-01-08 22:56:42 +01:00
Steve Fink
430de8c7d1
Bug 1061288 - Make it harder for ArrayBuffer data pointers to be held across invalidations. r=smaug,terrence,jdm,roc,khuey
2014-10-07 10:44:07 -07:00
Andrea Marchesini
6887a8111f
Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
2014-10-08 17:15:23 +01:00
Andrea Marchesini
539efa95b3
Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley
2014-10-08 17:15:22 +01:00
Ryan VanderMeulen
ac4e3f2f99
Backed out 7 changesets (bug 1047483, bug 1079301, bug 1079335) for webplatform test failures.
...
Backed out changeset 7d06b68c44d0 (bug 1079335)
Backed out changeset 92030169528e (bug 1079301)
Backed out changeset c09d7f95554a (bug 1047483)
Backed out changeset c199f1057d7e (bug 1047483)
Backed out changeset 18830d07884c (bug 1047483)
Backed out changeset e087289ccfbb (bug 1047483)
Backed out changeset 6238ff5d3ed0 (bug 1047483)
CLOSED TREE
2014-10-07 13:16:11 -04:00
Andrea Marchesini
63c7f37dd9
Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
2014-10-07 15:20:55 +01:00
Andrea Marchesini
725b2db832
Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley
2014-10-07 15:20:52 +01:00
Boris Zbarsky
88e45ab7b2
Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
Boris Zbarsky
b95c359828
Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
...
This patch was mostly generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""
and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
ae0180ee85
Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
...
This patch was mostly generated with this command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""
plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Luke Wagner
1a2d0e6c81
Bug 971845 - Don't uninline in JS_GetArrayBufferData, add JS_GetStableArrayBufferData and use that when necessary (r=sfink)
2014-02-13 11:17:41 -06:00
Henri Sivonen
91c27016f0
Bug 848842 - Stop using heuristic detection in the File API. r=bzbarsky.
2013-12-17 12:47:25 +02:00
Ms2ger
503d7fdd5e
No bug - Fix some style issues in DOM code.
2013-11-11 09:04:41 +01:00
Ben Turner
b3e5baaec8
Bug 643325 - Implement SharedWorker. r=khuey.
2013-06-05 07:04:23 -07:00
Kyle Huey
6f58e13efe
Bug 919457: Allow bindings specific to workers without the old-style worker ownership model. r=bz
2013-09-30 12:15:37 +08:00