Commit Graph

79 Commits

Author SHA1 Message Date
Mike Hommey
95e047925a 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
5cccea6f0f 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
6a5aeadf46 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
46bf4d6259 Bug 939509 - File constuctor should use lastModified attribute, r=bz 2015-02-07 18:29:22 +00:00
Andrew McCreight
a38ee3890e Back out Bug 1127201 (part 1) for various problems. 2015-02-06 15:05:08 -08:00
Nicholas Nethercote
f9f2575aa6 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.
2015-02-04 19:42:29 -08:00
Ben Turner
64a29bbf54 Bug 1122750 - Remove unnecessary destroy calls, r=khuey. 2015-01-21 11:08:31 -08:00
Ben Turner
624fb06abc Bug 1120336 - Fix another hang with blobURL+workers+indexedDB+xhr, r=khuey. 2015-01-13 14:15:04 -08:00
Andrea Marchesini
b2bf53a267 Bug 1113062 - IndexedDB FileSnapshot not CCed, r=janv 2015-01-11 21:35:24 +00:00
Ben Turner
37658e2d81 Bug 1113340 - Make sure blob urls can load same-prcess PBackground blobs, r=khuey. 2014-12-19 11:59:02 -08:00
Ben Turner
a747f8ec34 Bug 1112716 - Blob runnable methods must be cancelable, r=khuey. 2014-12-17 13:52:43 -08:00
Ben Turner
64376d8607 Bug 701634 - Support IndexedDB in Workers, r=khuey+baku. 2014-12-16 22:26:15 -08:00
Trevor Saunders
aeb848d708 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
3e2be4b2e7 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
e24fd2b2d7 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
6f68c80511 Bug 1079546 - Rework slice handling for remote blobs, r=khuey. 2014-10-07 16:09:55 -07:00
Ben Turner
dc90e35629 Bug 1080867 - Tighten up threadsafety guarantees surrounding remote blobs. r=khuey. 2014-10-13 09:55:52 -07:00
Andrea Marchesini
49440ca550 Bug 1047483 - patch 6 - Fixes for Webplatform tests, r=bz 2014-10-08 17:15:23 +01:00
Andrea Marchesini
1560ff52a9 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
57fa89d6de 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
ae6ea86e62 Bug 1079317 - Fix some more bad implicit constructors in DOM; r=baku 2014-09-24 09:16:53 -04:00
Ben Turner
2c98e8b570 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
566e49b6ff 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
946cf8e0e1 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
570a9abfb8 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
dd1eb79d06 Backed out changeset abd8b7b6dbd1 (bug 1075302) for e10s bustage on a CLOSED TREE 2014-10-06 14:49:07 -07:00
Ben Turner
228d457fd6 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
b5f643fa70 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
Ben Turner
68190e91be 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
bcdb506513 Bug 1068020 - Fix more bad implicit constructors in DOM; r=baku 2014-09-17 17:53:42 -04:00
Bill McCloskey
0af6720261 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
c6ede83e24 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
f45a3fcf07 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
e2e326a9c4 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
3fc836363c Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:00:53 -04:00
Andrea Marchesini
696f677e99 Bug 827823 - patch 1 - CC in DOMFile class, r=ehsan 2014-06-26 20:46:34 -07:00
Andrea Marchesini
2e74fcf6fe Bug 876683 - DOMFile/DOMBlob refactoring, r=ehsan, r=bent 2014-06-26 09:47:44 -07:00
"Kan-Ru Chen (陳侃如)"
54d6af82e8 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 (陳侃如)"
ddfb97c575 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
941a5ee91b Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Ben Turner
0778e9dad3 Bug 982779 - Ensure that child->parent IPC blobs are never mysterious, r=baku. 2014-04-29 13:02:41 -07:00
Wes Kocher
927c7f8264 Backed out changeset 8f05bc23b391 (bug 982779) for b2g mochitest-1 failures 2014-05-05 19:28:37 -07:00
Ben Turner
df28103e5d Bug 982779 - Ensure that child->parent IPC blobs are never mysterious, r=baku. 2014-04-29 13:02:41 -07:00
Josh Aas
bba4c769bc 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
504b581650 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
93e285a83b 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
623c6e2389 Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey 2014-03-25 18:37:13 +00:00
Ben Turner
1a0a33b627 Bug 934142, remove faulty assertion. r=khuey. 2014-03-04 15:10:44 -08:00
Bill McCloskey
f419b06d27 Bug 910384 - [e10s] Use blobs for cross-cross file picker (r=bent) 2014-02-24 13:09:03 -08:00
Kyle Huey
2d5413866c Bug 968542 - Prevent IPC blobs from entraining ContentParent objects. r=bent 2014-02-07 16:14:59 -08:00