Mike Hommey
4da5ed0b71
Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
...
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Ehsan Akhgari
33bb32f549
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
c323e57869
Bug 1134309 - Fix slice handling when the first access is from a remote input stream, r=khuey.
2015-03-16 20:52:57 -07:00
Andrea Marchesini
cbfac4c72d
Bug 939509 - File constuctor should use lastModified attribute, r=bz
2015-02-07 18:29:22 +00:00
Andrew McCreight
4bec04b0f6
Back out Bug 1127201 (part 1) for various problems.
2015-02-06 15:05:08 -08:00
Nicholas Nethercote
34fafe0cbf
Bug 1127201 (part 1) - Let MOZ_ASSERT take a string variable as the second arg. r=Waldo.
...
ASSERT_UNLESS_FUZZING() (which is defined multiple times!) caused problems due
when __VA_ARGS__ was empty which is most of the time. So I just disallowed the
optional string, which was only used in a small fraction of the occurrences.
I don't particularly like this patch. I'm not convinced its any better than
just removing the nsPrintfCString()s like I did earlier, but I've done it to at
least show what's involved.
--HG--
extra : rebase_source : 10b5bcf8509eaf2fca300b0b8ab1fa130e9f8b8c
2015-02-04 19:42:29 -08:00
Ben Turner
d83c5becd6
Bug 1122750 - Remove unnecessary destroy calls, r=khuey.
2015-01-21 11:08:31 -08:00
Ben Turner
1f7d7b92c9
Bug 1120336 - Fix another hang with blobURL+workers+indexedDB+xhr, r=khuey.
...
--HG--
rename : dom/indexedDB/test/test_blob_worker_xhr_post.html => dom/indexedDB/test/test_blob_worker_xhr_post_multifile.html
rename : dom/indexedDB/test/test_blob_worker_xhr_read.html => dom/indexedDB/test/test_blob_worker_xhr_read_slice.html
2015-01-13 14:15:04 -08:00
Andrea Marchesini
e71dbe47b6
Bug 1113062 - IndexedDB FileSnapshot not CCed, r=janv
2015-01-11 21:35:24 +00:00
Ben Turner
6b73ed054d
Bug 1113340 - Make sure blob urls can load same-prcess PBackground blobs, r=khuey.
2014-12-19 11:59:02 -08:00
Ben Turner
6160da11d7
Bug 1112716 - Blob runnable methods must be cancelable, r=khuey.
2014-12-17 13:52:43 -08:00
Ben Turner
5976259500
Bug 701634 - Support IndexedDB in Workers, r=khuey+baku.
2014-12-16 22:26:15 -08:00
Trevor Saunders
0f8704de2c
no bug - fix nullptr to bool conversions in Blob.cpp r=themaid
...
--HG--
extra : rebase_source : aa2c9dc11c88beb53b12ddd583121ca90a2f4969
2014-11-03 07:59:27 -05:00
Ehsan Akhgari
8b35c7fcdb
Bug 1090242 - Fix some more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : 22f80376a2ce9415dc9d7fdd2444405d3cd7e011
2014-10-10 17:28:35 -04:00
Ben Turner
7dc4d7431c
Bug 1076975 - Avoid serializing blobs when passed between threads in the same process, r=khuey.
2014-10-20 17:49:00 -07:00
Ben Turner
11a5d3b7a9
Bug 1079546 - Rework slice handling for remote blobs, r=khuey.
2014-10-07 16:09:55 -07:00
Ben Turner
0376d11277
Bug 1080867 - Tighten up threadsafety guarantees surrounding remote blobs. r=khuey.
2014-10-13 09:55:52 -07:00
Andrea Marchesini
fc619d0e57
Bug 1047483 - patch 6 - Fixes for Webplatform tests, r=bz
2014-10-08 17:15:23 +01:00
Andrea Marchesini
2f672ff2db
Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
...
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-08 17:15:23 +01:00
Andrea Marchesini
2ca496756f
Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley
2014-10-08 17:15:22 +01:00
Ehsan Akhgari
0f46ef7eaf
Bug 1079317 - Fix some more bad implicit constructors in DOM; r=baku
2014-09-24 09:16:53 -04:00
Ben Turner
ac232e9d3a
Bug 1075302 - Allow Necko to do main thread I/O on remote blobs, r=khuey.
2014-10-07 12:26:59 -07:00
Ryan VanderMeulen
671d1a817e
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
--HG--
rename : content/base/public/File.h => content/base/public/nsDOMFile.h
rename : content/base/src/MultipartFileImpl.cpp => content/base/src/nsDOMBlobBuilder.cpp
rename : content/base/src/MultipartFileImpl.h => content/base/src/nsDOMBlobBuilder.h
rename : content/base/src/File.cpp => content/base/src/nsDOMFile.cpp
2014-10-07 13:16:11 -04:00
Andrea Marchesini
e4f682ba94
Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
...
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-07 15:20:55 +01:00
Andrea Marchesini
0e29ce2ea6
Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley
2014-10-07 15:20:52 +01:00
Wes Kocher
ab57f50794
Backed out changeset abd8b7b6dbd1 (bug 1075302) for e10s bustage on a CLOSED TREE
2014-10-06 14:49:07 -07:00
Ben Turner
9c3d2e2f4a
Bug 1075302 - Allow Necko to do main thread I/O on remote blobs, r=khuey.
2014-10-06 14:05:07 -07:00
Ben Turner
141df104d6
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
2014-09-26 16:21:57 -07:00
Ben Turner
26edfb8667
Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE.
2014-09-17 19:36:01 -04:00
Ehsan Akhgari
d31e4c0d28
Bug 1068020 - Fix more bad implicit constructors in DOM; r=baku
2014-09-17 17:53:42 -04:00
Bill McCloskey
7d74b39cc2
Bug 1067351 - [e10s] Allow child process to get blob path to fix file upload crash (r=bent)
2014-09-17 11:51:10 -07:00
Ben Turner
b3c31c0c49
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
...
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00
Ehsan Akhgari
0b2aaa5f23
Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : 01709017e97fdc96d1d53eb881efc1792118edc4
2014-09-01 20:49:25 -04:00
Phil Ringnalda
b656763114
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
f1391c83bf
Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
2014-09-01 18:00:53 -04:00
Andrea Marchesini
138ca3d57f
Bug 827823 - patch 1 - CC in DOMFile class, r=ehsan
2014-06-26 20:46:34 -07:00
Andrea Marchesini
e25e980526
Bug 876683 - DOMFile/DOMBlob refactoring, r=ehsan, r=bent
2014-06-26 09:47:44 -07:00
"Kan-Ru Chen (陳侃如)"
d21a1c174b
Bug 879475 - Part 002. Add an nsIContentChild api r=jlebar
...
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:06 +08:00
"Kan-Ru Chen (陳侃如)"
06c1e368a8
Bug 879475 - Part 001. Add an nsIContentParent api r=jlebar
...
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:03 +08:00
Kyle Huey
8a1ded0d50
Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan
2014-05-23 12:53:17 -07:00
Ben Turner
d43c965184
Bug 982779 - Ensure that child->parent IPC blobs are never mysterious, r=baku.
2014-04-29 13:02:41 -07:00
Wes Kocher
c7be6ddfd8
Backed out changeset 8f05bc23b391 (bug 982779) for b2g mochitest-1 failures
2014-05-05 19:28:37 -07:00
Ben Turner
4bbb01c262
Bug 982779 - Ensure that child->parent IPC blobs are never mysterious, r=baku.
2014-04-29 13:02:41 -07:00
Josh Aas
f00583cc36
Bug 960774: Add ActorDestroy impl for all parent-side actors that don't have one. It will be required soon. r=bent
2014-05-02 13:44:13 -05:00
Birunthan Mohanathas
ff8ce9bd42
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Ben Turner
e0a0c602bd
Bug 999742, Split Blob<> into BlobParent/BlobChild. rs=sicking.
...
--HG--
extra : transplant_source : %F6%EF%8D%0C%0E%0B7%EFm%7F%15%83%D5%82%19T%BF-%3C%98
2014-04-23 21:43:57 -07:00
Andrea Marchesini
4fad1489fb
Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey
2014-03-25 18:37:13 +00:00
Ben Turner
a9cc6a06ac
Bug 934142, remove faulty assertion. r=khuey.
2014-03-04 15:10:44 -08:00
Bill McCloskey
7c8e12fb1e
Bug 910384 - [e10s] Use blobs for cross-cross file picker (r=bent)
2014-02-24 13:09:03 -08:00
Kyle Huey
3f4210dd86
Bug 968542 - Prevent IPC blobs from entraining ContentParent objects. r=bent
2014-02-07 16:14:59 -08:00