Commit Graph

56 Commits

Author SHA1 Message Date
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
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
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
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
Dave Hylands
6a8f54c90a Bug 1062541 - Add additional checks for DeviceStorageFile::mFile being null. r=khuey 2014-09-04 11:13:55 -07:00
Andrea Marchesini
e25e980526 Bug 876683 - DOMFile/DOMBlob refactoring, r=ehsan, r=bent 2014-06-26 09:47:44 -07:00
Alphan Chen
67c9ed4983 Bug 855952 - [DeviceStorage] support append file operation. r=dhylands 2014-06-10 16:51:28 +08:00
Birunthan Mohanathas
411a8639b4 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Neil Rashbrook
a8a5decf6f Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-04-03 23:06:26 +01:00
Alan Huang
dbb6bb4e64 Bug 971612 - Implement "mount" and "unmount" API for device storage. r=dhylands 2014-03-04 19:24:19 +08:00
Alan Huang
b9da225569 Bug 971615 - Implement "storageStatus" API for device storage. r=dhylands 2014-02-19 10:48:05 +08:00
Dave Hylands
05d0d7f21d Bug 910498 - Changes to device storage to support CreateFd. r=bent
* * *
Bug 910498 - Camera changes to use CreateFd. r=mikeh
* * *
Fixes for windows build
2014-01-16 17:01:27 -08:00
Alan Huang
6381088980 Bug 841660 - Implement format interface for volume-based device storage, r=dhylands 2013-09-06 14:11:58 +08:00
Ehsan Akhgari
671bbdc894 Bug 919505 - Minimize the #includes in dom/ipc; r=jst 2013-09-23 17:30:40 -04:00
Dave Hylands
4f75e0a1ed Bug 885753 - White space only changes. r=dhylands,jvarga
Jan commented that a bunch of my lines were longer than 80 characters.
So I went through and fixed the entire file.
This changeset should be a white-space only changeset and otherwise
has no functional changes.
2013-08-02 16:35:16 -07:00
Dave Hylands
45a6408d8a Bug 885753 - Change getDeviceStorage to return the default storage area. r=jvarga
This removes the entire concept of composite storage.
2013-08-02 16:34:59 -07:00
Joshua Cranmer
fb0ab49c35 Bug 884061 - Part 3f: Use NS_DECL_THREADSAFE_ISUPPORTS in dom/, r=smaug,dhylands.
--HG--
extra : rebase_source : b8eaae07c54c94c8c46c7ed4c0e226eb74584652
2013-07-18 21:21:20 -05:00
Dave Hylands
1016437715 Bug 858416 - Create a composite device storage interface. r=dougt
* * *
Bug 858416 - Fix try test failures
2013-05-11 02:10:18 -07:00
Ryan VanderMeulen
aa9e660583 Backed out changeset dbf0c9f4a4b9 (bug 858416) for B2G mochitest-3 failures. 2013-05-11 09:47:37 -04:00
Dave Hylands
7da14f84fb Bug 858416 - Create a composite device storage interface. r=dougt 2013-05-11 02:10:18 -07:00
Doug Turner
0e76a12046 Bug 853732 - Improve Device Storage enumeration to avoid bad performance with some SD card. r=dylands r=dougt a=tef+ 2013-05-02 16:26:31 -07:00
Dave Hylands
8bf86cf985 Bug 865255 - Fix regression in sdcard availability detections. r=dougt 2013-04-24 13:34:37 -07:00
Dave Hylands
13c9965087 Bug 860934 - Use relative paths when handling device storage r=dougt 2013-04-18 16:13:23 +02:00
Dave Hylands
b8ea90d88a Bug 838038 - Pt 2 - Add support for multiple device storage objects. r=dougt 2013-04-02 12:52:21 -07:00
Doug Turner
d037baf04d Bug 834595 - Factor stat() such that there are 3 independent methods. r=sicking
--HG--
rename : dom/devicestorage/test/test_stat.html => dom/devicestorage/test/test_freeSpace.html
rename : dom/devicestorage/test/test_stat.html => dom/devicestorage/test/test_usedSpace.html
2013-01-25 11:05:24 -08:00
Doug Turner
9f28827542 Bug 831167 - Crash in mozilla::dom::devicestorage::PDeviceStorageRequestParent::Write. r=bent
--HG--
extra : rebase_source : e7f90023f97155af70aff639bdfa5273d5cec233
2013-01-17 12:33:42 -08:00
Trevor Saunders
942f22b38c no bug - remove a bunch of extra ';'s to make -pedantic happy 2013-01-11 05:14:04 -05:00
Gene Lian
7b6d6463eb Bug 821671 - Check alarm API parameters in the parent (part 1, provide .AssertAppProcess() with different types). r=sicking 2012-12-22 19:53:38 +08:00
Doug Turner
af3677fb60 Bug 813995 - Check device storage permissions in parent process. r=bent a=blocking-basecamp 2012-11-29 21:41:40 -08:00
Doug Turner
6363e34789 Bug 793955, 802867 - DeviceStorage files returned by DeviceStorage.get() don't always have lastModifiedDate. r=bent. a=blocking-basecamp 2012-10-18 11:29:32 -07:00
Doug Turner
8660aa99c4 Bug 791816 - Use a different error string when we may overwrite a file location. r=sicking 2012-10-13 08:20:14 -07:00
Doug Turner
ba1c53d98a No Bug. Whitespace cleanup. r=me 2012-09-13 22:37:00 -07:00
Doug Turner
7ea3feba6f Bug 787299 - Device Storage - Filter out mimetypes during calculation of disk usages. r=bent 2012-09-05 14:30:36 -07:00
Ed Morley
10a0b4ea04 Backout e5af3d785252 (bug 791084), 7ad6e513e114, b040fefd038e (bug 788612), 6996c091767d (bug 787299) for introducing new orange 2012-09-14 12:41:29 +01:00
Doug Turner
56201d5cea No Bug. Whitespace cleanup. r=me 2012-09-13 22:37:00 -07:00
Doug Turner
bcdf40188d Bug 787299 - Device Storage - Filter out mimetypes during calculation of disk usages. r=bent 2012-09-05 14:30:36 -07:00
Kyle Huey
e85d6a59f5 Back out dougt (bug 788588 et al.) for burning the tree (and some nostalgia). 2012-09-05 15:59:49 -07:00
Doug Turner
0c64eca32d Bug 787299 - Device Storage - Filter out mimetypes during calculation of disk usages. r=bent 2012-09-05 14:30:36 -07:00
Doug Turner
78431d63a5 Bug 784763 - freeBytes in stat() result is wrong. r=sicking 2012-08-30 20:15:32 -07:00
Doug Turner
57d01693cf Bug 783668 - Device Storage - use storage type to filter out change notifications - not the root. r=sicking 2012-08-30 15:17:37 -07:00
Doug Turner
98f3b52e81 Bug 784404 - Intermittent assertion in dom/devicestorage/test/test_basic.html. v.2 r=bent 2012-08-28 08:39:22 -07:00
Doug Turner
a19ad5cd0d Bug 782351 - Device Storage - Expose sdcard/volume state flag on stat result followup. If fetching the available disk space fails (due to a path not existing), return zero bytes available. r=khuey 2012-08-26 21:34:04 -07:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Doug Turner
225924961e Bug 782352 - Broadcast local io to onchange listeners. r=sicking 2012-08-17 19:43:00 -07:00
Doug Turner
fde087987b Bug 783086 - DeviceStorage - in OOP apps, the enumerate() method ignores the since argument. r=dhylands
--HG--
extra : rebase_source : d74df06f0641f662f0b258ed832e1698894d7e4e
2012-08-16 16:14:37 -07:00
Doug Turner
5c7c45aade Bug 783398 - DeviceStorage makes calls to nsVolumeService from the IOThread. r=dhylands
--HG--
extra : rebase_source : 8f3fef5b349f5810e256f8f5f4b6217854a03518
2012-08-16 16:03:06 -07:00