Commit Graph

65 Commits

Author SHA1 Message Date
Alan Huang
875d4f6ce4 Bug 971612 - Implement "mount" and "unmount" API for device storage. r=dhylands 2014-03-04 19:24:19 +08:00
Shih-Chiang Chien
4db1c68297 Bug 898949 - Part 1, add optios in permission prompt for Video/Audio device selection. r=fabrice,khuey 2013-09-10 17:41:59 +02:00
Ehsan Akhgari
790a3e8ead Bug 935778 - Part 0.3: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-20 23:07:24 -05:00
Alan Huang
d968d38661 Bug 971615 - Implement "storageStatus" API for device storage. r=dhylands 2014-02-19 10:48:05 +08:00
Dave Hylands
a801938c40 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
Boris Zbarsky
220a72b3b6 Bug 950188. DOMRequest should only have a constructor taking a Window. r=khuey 2014-01-06 21:53:23 -05:00
Alan Huang
86c5e2445e Bug 841660 - Implement format interface for volume-based device storage, r=dhylands 2013-09-06 14:11:58 +08:00
Arnaud Sourioux
feea85a7f1 Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger 2013-06-05 12:15:48 -04:00
Dave Hylands
360cbc6179 Bug 878493 - DeviceStorage: Invalidate used space cache if free space changes. r=janv 2013-06-04 16:35:33 +02:00
Ms2ger
e1d9a9c3f8 Bug 871287 - Part b: Don't silently clear nsRefPtrs in DeviceStorage; r=dhylands 2013-06-01 08:55:02 +02:00
Dave Hylands
8f8841a1c4 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
93efac58df Backed out changeset dbf0c9f4a4b9 (bug 858416) for B2G mochitest-3 failures. 2013-05-11 09:47:37 -04:00
Dave Hylands
af61fd0d1c Bug 858416 - Create a composite device storage interface. r=dougt 2013-05-11 02:10:18 -07:00
Doug Turner
8652a3b289 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
David Zbarsky
2bc2cd98b5 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-21 21:25:28 -04:00
Jose Cortes
7e939c2f0f Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/network/ dom/camera/ and dom/devicestorage/ directories. r=jwalden
--HG--
extra : rebase_source : f765875c5597feb55c9eda3d8a3224fc22ad02fb
2013-04-02 16:17:52 -07:00
Dave Hylands
a4ccf0382c Bug 838038 - Pt 2 - Add support for multiple device storage objects. r=dougt 2013-04-02 12:52:21 -07:00
Ms2ger
2279ffa44e Bug 824986 - Followup: fix botched merge. 2013-03-17 11:20:39 +01:00
Ms2ger
947d25f1a8 Bug 824986 - Move DOMRequest and subclasses to Paris bindings; r=khuey 2013-03-17 09:51:36 +01:00
Reuben Morais
09eff5e75e Bug 837865 - Use DOMCursor instead of DeviceStorageCursor. r=bent
--HG--
extra : rebase_source : 14c858702b537946495c3a31d62b5e90fa49f777
2013-03-01 16:21:01 -08:00
Doug Turner
73eb8b13ef 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
Mike Habicher
c9d7e5ef7b Bug 817496 - Notify DeviceStorage when a new video file is finished recording. r=dougt 2012-12-04 21:00:39 -05:00
Gregor Wagner
e60368692f Bug 811923 - Device Storage: support "create" permission. r=dougt 2012-11-19 12:31:21 -08:00
Matt Joras
6d89044915 Bug 798033 - Removes 'using namespace' from dom headers - r=khuey 2012-11-10 10:45:52 -05:00
Gregor Wagner
eae5c9cc8c Bug 810427 - Device storage - Add access fields to permission checks. r=dougt 2012-11-13 16:06:42 -08:00
Ryan VanderMeulen
1501d1c8ce Backed out changeset 5054c2552a30 (bug 798033) for b2g bustage. 2012-11-10 11:52:15 -05:00
Matt Joras
cca020df08 Bug 798033 - Removes 'using namespace' from dom headers - r=khuey 2012-11-10 10:45:52 -05:00
Doug Turner
657932a33d Bug 754350 - Clean up Device Storage error strings. r=sicking 2012-10-13 08:20:14 -07:00
Doug Turner
3fcf7a02a1 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
c9ecc05799 Bug 794619 - Remote the blobs returned from enumerate. r=bent 2012-10-04 13:40:45 -07:00
Doug Turner
17c20093fa Bug 791084 - Device storage - Seperate permissions based on storage type. r=bent 2012-09-13 22:37:00 -07:00
Doug Turner
8aa6397579 Bug 788612 - Move bundle handing into nsDOMDeviceStorage to avoid calls to the nsIStringBundleService. r=bent 2012-09-13 22:37:00 -07:00
Doug Turner
d6d1a6a70a Bug 787299 - Device Storage - Filter out mimetypes during calculation of disk usages. r=bent 2012-09-05 14:30:36 -07:00
Ed Morley
fde5eb2983 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
ca0d0559e1 Bug 791084 - Device storage - Seperate permissions based on storage type. r=bent 2012-09-13 22:37:00 -07:00
Doug Turner
a524e0a136 Bug 788612 - Move bundle handing into nsDOMDeviceStorage to avoid calls to the nsIStringBundleService. r=bent 2012-09-13 22:37:00 -07:00
Doug Turner
745d4848cc Bug 787299 - Device Storage - Filter out mimetypes during calculation of disk usages. r=bent 2012-09-05 14:30:36 -07:00
Daniel Holbert
cca7980d53 Bug 790043: Make nsDeviceStorage consistent on using PRTime for all of its "aSince" / "mSince" vars. r=dougt 2012-09-10 23:52:47 -07:00
Doug Turner
21ec42c80e Bug 786922 - Device Storage - use a properties file instead of the mime service. r=bent 2012-09-05 14:30:36 -07:00
Ed Morley
5fe2b31d63 Backout ea472ffba523 & ae4a4bfde41e (bug 786922) for causing bug 789008 2012-09-06 11:58:20 +01:00
Doug Turner
1acfa52de1 Bug 786922 - Device Storage - use a properties file instead of the mime service. r=bent
--HG--
extra : rebase_source : 17cd95eadccd4155dd00620586a1d655892f59f9
2012-09-05 14:30:36 -07:00
Kyle Huey
a7de927b06 Back out dougt (bug 788588 et al.) for burning the tree (and some nostalgia). 2012-09-05 15:59:49 -07:00
Doug Turner
8776637a78 Bug 787299 - Device Storage - Filter out mimetypes during calculation of disk usages. r=bent 2012-09-05 14:30:36 -07:00
Doug Turner
7cc62379d6 Bug 786922 - Device Storage - use a properties file instead of the mime service. r=bent 2012-09-05 14:30:36 -07:00
Doug Turner
02cf9be512 Bug 784763 - freeBytes in stat() result is wrong. r=sicking 2012-08-30 20:15:32 -07:00
Doug Turner
4f454e602d Bug 785955 - Device Storage - Filter out mimetypes based on device storage type. r=sicking 2012-08-30 15:17:38 -07:00
Doug Turner
a8fe1ff101 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
Ehsan Akhgari
8c296bbcd4 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
2041347ec5 Bug 782352 - Broadcast local io to onchange listeners. r=sicking 2012-08-17 19:43:00 -07:00
Doug Turner
21b803177b Bug 782351 - add volume state to stat() API. r=sicking 2012-08-14 08:53:20 -07:00