Sylvestre Ledru
fde06f6d21
Bug 1674637 - Use nested namespaces in dom/ r=sg,andi
...
Also add some missing namespace qualifications
Done with:
./mach static-analysis check --checks="-*,modernize-concat-nested-namespaces" --fix dom/
./mach clang-format -p $(hg status dom/|grep ^M|awk '{print $2}')
Differential Revision: https://phabricator.services.mozilla.com/D95456
2020-11-04 17:04:01 +00:00
Butkovits Atila
964cca3198
Backed out changeset c0adbf7522dc (bug 1674637) for bustage on GMPParent.cpp. CLOSED TREE
2020-11-04 10:54:36 +02:00
Sylvestre Ledru
5f29324f60
Bug 1674637 - Use nested namespaces in dom/ r=sg,andi
...
Also add some missing namespace qualifications
Done with:
./mach static-analysis check --checks="-*,modernize-concat-nested-namespaces" --fix dom/
./mach clang-format -p $(hg status dom/|grep ^M|awk '{print $2}')
Differential Revision: https://phabricator.services.mozilla.com/D95456
2020-11-04 08:29:00 +00:00
Andrea Marchesini
283207a2d3
Bug 1620010
- Clean up BlobImplType string propagation, r=ssengupta
...
Differential Revision: https://phabricator.services.mozilla.com/D65359
--HG--
extra : moz-landing-system : lando
2020-03-06 12:08:48 +00:00
Simon Giesecke
b50347f917
Bug 1611415 - Prefer using std::move over forget. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D60980
--HG--
extra : moz-landing-system : lando
2020-02-13 14:38:48 +00:00
shindli
91aa0518dd
Backed out changeset 0c982bc69cb3 (bug 1611415) for causing build bustages in /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr CLOSED TREE
2020-02-12 20:13:29 +02:00
Simon Giesecke
f604a47fa5
Bug 1611415 - Applied FixItHints from mozilla-non-std-move. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D60980
--HG--
extra : moz-landing-system : lando
2020-02-12 17:24:41 +00:00
Andrea Marchesini
2616cac8b3
Bug 1030481 - Remove nsIMutable, r=smaug
...
nsIMutable is used only by DOM Blob/File. But Blobs are immutable by spec.
FileBlobImpl has a couple of lazy member values, but those are called when
the object is cloned in order to be sent to a different thread/process.
Differential Revision: https://phabricator.services.mozilla.com/D58946
--HG--
extra : moz-landing-system : lando
2020-01-07 15:02:00 +00:00
Brindusan Cristian
ed883ce3f4
Backed out changeset 61101e3eebb3 (bug 1030481) for mochitest failures at test_file.xhtml. CLOSED TREE
2020-01-07 16:30:53 +02:00
Andrea Marchesini
4059db5bc7
Bug 1030481 - Remove nsIMutable, r=smaug
...
nsIMutable is used only by DOM Blob/File. But Blobs are immutable by spec.
FileBlobImpl has a couple of lazy member values, but those are called when
the object is cloned in order to be sent to a different thread/process.
Differential Revision: https://phabricator.services.mozilla.com/D58716
--HG--
extra : moz-landing-system : lando
2020-01-07 12:37:12 +00:00
Jon Coppeard
0eb4059201
Bug 1536154 - Make nsStringInputStream always report the full memory size of the backing string r=baku
...
Give nsIStringStream separate SizeOfIncludingThisIfUnshared and SizeOfIncludingThisEvenIfShared methods. Use the former for memory reporting and the latter for JS engine memory accounting.
Differential Revision: https://phabricator.services.mozilla.com/D29336
2019-04-30 11:53:42 +01:00
Ryan Hunt
00e98538aa
Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D21106
--HG--
extra : rebase_source : ea3f51c2c11247114deccbc86e90fb02b8a97257
2019-02-25 16:05:29 -06:00
Andrea Marchesini
039b4b8b84
Bug 1517696 - Better exposing of blobImplType for StreamBlobImpl, r=smaug
2019-01-04 11:29:48 +01:00
Andrea Marchesini
5b2f5ad02d
Bug 1513596 - Introduce a Blob.blobImplType attribute, chrome-only, for testing, r=smaug
2018-12-15 21:40:05 +01:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Andrea Marchesini
c60afa7b18
Bug 1466314 - StreamBlobImpl should wrap the cloned stream with InputStreamLengthWrapper if needed, r=smaug
2018-06-13 08:37:26 -07:00
Andrea Marchesini
4f109464b2
Bug 1466314 - StreamBlobImpl CTOR must receive an already_AddRefed inputStream, r=smaug
2018-06-13 08:37:26 -07:00
Andrea Marchesini
7ba8b77e07
Bug 1466023 - Separate FontTableURI and BlobURL, r=qdot
...
This patch splits FontTableURI and BlobURL in 2 classes:
FontTableURIProtocolHandler and BlobURLProtocolHandler
both under mozilla::dom.
It also removes a memory reporter because that report is already covered by the
BlobURL one.
--HG--
rename : dom/file/nsHostObjectProtocolHandler.cpp => dom/file/BlobURLProtocolHandler.cpp
rename : dom/file/nsHostObjectProtocolHandler.h => dom/file/BlobURLProtocolHandler.h
2018-06-02 15:51:42 +02:00
Andrea Marchesini
cccac16f60
Bug 1403771 - SlicedInputStream takes ownership of the underlying stream and it propagates the Close() call, r=smaug
2017-10-05 07:38:48 +02:00
Sebastian Hengst
d4232ad6f1
Backed out changeset c68498143c13 (bug 1403771) for bustage at dom/file/StreamBlobImpl.cpp:108: 'GetInternalStream' was not declared in this scope. r=backout on a CLOSED TREE
2017-10-04 19:11:13 +02:00
Andrea Marchesini
96a79ce7c9
Bug 1403771 - SlicedInputStream takes ownership of the underlying stream and it propagates the Close() call, r=smaug
2017-10-04 18:51:10 +02:00
Andrea Marchesini
9067ec472c
Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug
2017-10-02 13:53:12 +02:00
Jon Coppeard
a4fe4cbe3c
Bug 1301863 - Tell the JS engine how much memory blob reflectors hold alive r=baku
2017-09-12 10:46:51 +01:00
Andrea Marchesini
7779bd9850
Bug 1397645 - Optimize IPCBlobInputStream slicing with the introduction of nsICloneableInputStreamWithRange, r=asuth
2017-09-11 17:29:15 +02:00
Andrea Marchesini
335ccef6d3
Bug 1360185 - Use of IPCBlob in IndexedDB - part 3 - IPCBlob must support fileId and fullPath values for indexedDB, r=janv
...
These 2 values are used only for testing, but they are extremely useful.
2017-05-23 07:51:13 +02:00
Andrea Marchesini
9cc9f87380
Bug 1360340 - IPCBlob must contain isDirectory boolean in order to support Drag&Drop of directories, r=smaug
2017-05-02 16:38:19 +02: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