Граф коммитов

79 Коммитов

Автор SHA1 Сообщение Дата
Doug Turner 16a1b0a7bc Bug 787299 - Device Storage - Filter out mimetypes during calculation of disk usages. r=bent 2012-09-05 14:30:36 -07:00
Doug Turner 365f3f5c1e Bug 788122 - Device storage. Add an 'apps' storage type. r=sicking 2012-09-14 09:14:58 -07:00
Ed Morley 5dc9aef0c6 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 8497bf032c Bug 791084 - Device storage - Seperate permissions based on storage type. r=bent 2012-09-13 22:37:00 -07:00
Doug Turner 32f27f6fe5 No Bug. Whitespace cleanup. r=me 2012-09-13 22:37:00 -07:00
Doug Turner bbfa1f35ed 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 2658c71f42 Bug 787299 - Device Storage - Filter out mimetypes during calculation of disk usages. r=bent 2012-09-05 14:30:36 -07:00
Daniel Holbert f783b8e441 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
Masatoshi Kimura 7bd6d680ac Bug 788924 - Use "picture", "music", and "videos" special folders for DeviceStorage API. r=dougt 2012-09-07 16:23:01 -04:00
Doug Turner 636f36c569 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 2c7b83d447 Backout ea472ffba523 & ae4a4bfde41e (bug 786922) for causing bug 789008 2012-09-06 11:58:20 +01:00
Doug Turner b3818e7021 Bug 788588 - Device storage on Windows should use NS_WIN_PERSONAL_DIR. r=blassey
--HG--
extra : rebase_source : 2336d1171ffa9ab177ce35b32836296b1251fea9
2012-09-05 14:30:36 -07:00
Doug Turner 1f4e4655e4 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
Doug Turner 803e9134f5 Bug 788268 - Device Storage - Convert tests to use public types. r=bent
--HG--
extra : rebase_source : 208751cfe7b68e67d65686d6606766dd5caebf59
2012-09-05 14:30:36 -07:00
Kyle Huey 19dc351f35 Back out dougt (bug 788588 et al.) for burning the tree (and some nostalgia). 2012-09-05 15:59:49 -07:00
Doug Turner 247ae26919 Bug 788588 - Device storage on Windows should use NS_WIN_PERSONAL_DIR. r=blassey 2012-09-05 14:30:36 -07:00
Doug Turner c17bdba719 Bug 787299 - Device Storage - Filter out mimetypes during calculation of disk usages. r=bent 2012-09-05 14:30:36 -07:00
Doug Turner 05cb22bb46 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 ccde41df30 Bug 788268 - Device Storage - Convert tests to use public types. r=bent 2012-09-05 14:30:36 -07:00
Randell Jesup 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ms2ger 5aba6627e3 Merge m-c to m-i. 2012-08-31 11:40:15 +02:00
Kyle Huey 3b42fbfcd1 Bug 687332: Part 2 - Move event handlers off of DOM objects and keep track of them solely in the event listener manager. r=smaug,bz 2012-08-30 20:45:16 -07:00
Doug Turner 72119b4648 Bug 784763 - freeBytes in stat() result is wrong. r=sicking 2012-08-30 20:15:32 -07:00
Landry Breuil 3f08ff498e Bug 785738 Part 3: use PRTime instead of int64_t where appropriate; r=ehsan 2012-08-30 09:10:35 +02:00
Doug Turner dfa0456722 Bug 785973 - Device Storage - On gaia, default to use /sdcard (not directories under /sdcard). r=djf 2012-08-30 15:17:39 -07:00
Doug Turner 0321648690 Bug 785955 - Device Storage - Filter out mimetypes based on device storage type. r=sicking 2012-08-30 15:17:38 -07:00
Doug Turner 63c4d474d4 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 b476b44519 Bug 782352 - Followup -- Harden Remove() such that it doesn't post events for failures. r=khuey 2012-08-28 16:42:40 -07:00
Doug Turner 4102a9b6d0 Bug 783593 - Device Storage - Test to ensure onchange notifications go to the right object. r=khuey 2012-08-26 21:33:13 -07:00
Ehsan Akhgari e368dc9c85 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 8999cd9d44 Bug 782391 - Device Storage - Watch should also go through the permission prompt. r=sicking 2012-08-17 19:43:00 -07:00
Doug Turner 3ff1f51432 Bug 782352 - Broadcast local io to onchange listeners. r=sicking 2012-08-17 19:43:00 -07:00
Doug Turner 4c3388ad0a 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
--HG--
extra : rebase_source : 687739cb4fa8071fd9430b350aae3d07ffa41f48
2012-08-16 16:14:38 -07:00
Doug Turner 6866ddaadb 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
Doug Turner 2138bb0060 Bug 782354 - seperate sharing state from unavailable state in onchange notification. r=sicking 2012-08-14 08:53:44 -07:00
Doug Turner dbca26a09f Bug 782351 - add volume state to stat() API. r=sicking 2012-08-14 08:53:20 -07:00
Aryeh Gregor a88ffe5c80 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Honza Bambas 15daadba69 Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Doug Turner b0523754d9 Bug 777088 - device Storage - file stat API. r=bent 2012-07-31 12:28:23 -07:00
Doug Turner 260f8bcba2 Bug 773798 - Multi-process support for MediaStorage - Use PBlob. r=bent 2012-08-09 15:41:18 -07:00
Doug Turner 149aa6e5d5 Bug 780691 - DeviceStorage - Add onchange notifications for volume state changes. r=sicking 2012-08-09 15:41:18 -07:00
Wes Johnston e6e173db29 backout c030a8af8abd and dd0c287660e9 CLOSED TREE 2012-08-08 14:07:39 -07:00
Wes Johnston 2ca14e2ea1 Bug 780718 - Return false from DOMRequestService is preventDefault was called on events. r=sicking 2012-08-08 12:35:15 -07:00
William Chen 16c1d45b7e Bug 775377 - Modify nsIContentPermissionRequest to use nsIPrincipal instead of nsIURI. r=dougt+cjones 2012-07-30 10:58:26 -04:00
Wes Johnston f73e753770 Backout 81a090e983d2, 8236b3579bf3, 2012-08-07 10:08:41 -07:00
Wes Johnston c702f4b45a Bug 780718 - Return false from DOMRequestService is preventDefault was called on events. r=sicking 2012-08-06 15:26:02 -07:00
Doug Turner 990ea4cf4e Bug 779864 - onchange notifications of DeviceStorage should use code generator. r=smaug 2012-08-02 13:25:16 -07:00
Doug Turner 7522f03eb8 Bug 777084 - Stop returning arrays from DeviceStorage.getDeviceStorage(). r=sicking 2012-08-01 23:32:11 -07:00
Doug Turner eff790f6d1 Bug 777078 - Remove DeviceStorage .type. r=sicking 2012-08-01 23:32:08 -07:00
Doug Turner 7f0d522454 Bug 763976 - Add onchange notifications to DeviceStorage - IPC - r=khuey 2012-08-01 23:32:04 -07:00