Commit Graph

155 Commits

Author SHA1 Message Date
Andrea Marchesini
1b8e2e2d05 Bug 850941 - Blob size is wrong in open activity after bluetooth image transfer. r=bent 2013-05-17 10:41:53 -04:00
Dave Hylands
0ff57167d1 Bug 872170 - Fix camera file saving with composite device storage. r=mikeh 2013-05-16 11:12:29 -07:00
Dave Hylands
b0983b5c8a Bug 872800 - Fix volume availability notifications for composite storage areas. r=mchen 2013-05-16 11:11:58 -07:00
Dave Hylands
c9cd935895 Bug 872800 - Remove extraneous printfs added from Bug 858416. r=mchen 2013-05-16 11:11:54 -07:00
Thomas Zimmermann
ee736f72fb Bug 873065 - Use DEVICESTORAGE_SDCARD for unknown file types. r=dhylands
The method DeviceStorageFile::CreateUnique fails for files with an
unknown extension. It calls DeviceStorageFileChecker::GetTypeFromFileName
to retrieve the default location. The returned value is "Unknown", which
is passed to the constructor of DeviceStorageFile. This class doesn't
handle "Unknown" in it's initialization, and fails without creating a
file.

This patch changes the default return value of GetTypeFromFileName to the
constant DEVICESTORAGE_SDCARD. All files with unknown extension will now
be stored on the sd card.
2013-05-16 12:33:18 -04:00
Ryan VanderMeulen
88ac4b7137 Merge m-c to inbound. 2013-05-15 08:36:44 -04:00
Eric Chou
6bf9f8eea5 Bug 872238 - After CreateUnique(), append file leaf name to dsf.mPath, not dsf.mFile.mPath, r=dhylands
This is a followup to bug 858416.
2013-05-15 16:53:45 +08:00
Ryan VanderMeulen
eacc437351 Merge m-c to inbound. 2013-05-14 16:51:22 -04:00
Dave Hylands
55834420b0 Bug 871956 - Fix regression introduced by bug 858416. r=kanru 2013-05-14 10:44:25 -07:00
Bobby Holley
fe5e4f5b78 Bug 871297 - Remove JS_GetGlobalObject from nsDeviceStorage. r=bz 2013-05-14 10:16:51 -07: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
c3ad278e44 Merge m-c to inbound on a CLOSED TREE. 2013-05-11 09:49:12 -04: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
David Zbarsky
3a5f2fa41d Bug 868312 - Some more rooting fixes for dom r=bz 2013-05-10 22:39:45 -04:00
Dave Hylands
5ef283d29d Bug 868891 - Fix regression introduced by Bug 860934. r=dougt
Bug 860934 removed the use of fully qualified paths when communicating between the
parent and child processes. This patch fixes one of the spots that got missed.
2013-05-10 10:58:45 -07:00
Fernando Jiménez
cd8098c117 Bug 861921 - Notify the user about the low free storage situation. r=dhylands 2013-05-10 10:51:19 +02:00
Ryan VanderMeulen
c731ecf041 Merge birch to m-c. 2013-05-02 21:19:01 -04:00
David Zbarsky
38f5841d1a Bug 866450 Part 7: Root some additional JS::Values found during review r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
a79bf02c5d Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04: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
Ed Morley
581e7b778e Backed out changeset b514d768d793 (bug 866450) 2013-05-02 11:57:14 +01:00
Ed Morley
37d84a3fe7 Backed out changeset e0b51717bb64 (bug 866450) 2013-05-02 11:56:57 +01:00
David Zbarsky
0e20dc3030 Bug 866450 Part 7: Root some additional JS::Values found during review r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
0566d3158e Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
Dave Hylands
555c3dd47d Bug 865255 - Fix regression in sdcard availability detections. r=dougt 2013-04-24 13:34:37 -07:00
Dave Hylands
505d1f5061 Bug 860934 - Use relative paths when handling device storage r=dougt 2013-04-18 16:13:23 +02:00
Kan-Ru Chen (陳侃如)
d7a381161e Bug 845707 - Only filter file path that is a '~' or starts with '~/'. r=dougt 2013-04-19 07:55:58 -04:00
Boris Zbarsky
a295fe137f Bug 835643 part 4. Put in place all the infrastructure to switch EventListener to WebIDL codegen. r=smaug 2013-04-16 17:16:08 -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
Ms2ger
865e2310fc Bug 851134 - Part b: Implement the EventTarget getters in the WebIDL API for Event directly instead of calling the XPIDL implementations; r=smaug 2013-03-17 08:55:17 +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
Olli Pettay
8f72caeb73 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Bobby Holley
2589449122 Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap 2013-02-26 11:04:13 -08:00
Doug Turner
93a349fd4e Bug 840626 - Ensure that the FileUpdateDispatcher is initalized. r=bz
--HG--
extra : rebase_source : 4479c3e9a4719bf552018338a4a0eca11368cdff
2013-02-12 13:16:58 -08:00
Olli Pettay
ff9c34a6e4 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Peter Van der Beken
e131d33c76 Fix for bug 838721 (nsDOMDeviceStorage should have nsDOMEventTargetHelper as its first base class). r=smaug.
--HG--
extra : rebase_source : ca34f336046ee23a901076bd00609202f69a07a1
2013-02-07 10:19:08 +00: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
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Doug Turner
fd87c9795b Bug 827311 - Remote file update notifications. r=bent a=blocking-basecamp 2013-01-09 07:03:28 -08:00
Andrea Marchesini
b0e09a149e Bug 823965 - App can delete files from a storage type where it does not have permission, r=dougt, a=bb+ 2013-01-09 14:43:59 +01:00
Doug Turner
d19e9725eb Bug 823191 - DeviceStorage enumerate doesn't see files with 0060 perms. r=bent a=blocking-basecamp 2012-12-21 09:18:19 -08:00
Jeff Walden
e0523203c9 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Ms2ger
6546506458 Bug 814898 - Part c: Cleanup CC goop in B2G-specific parts of dom/; r=mccr8 2012-12-02 09:54:37 +01:00
Olli Pettay
f62ac2c85e Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Michal Novotny
d5f530148f Bug 725993 - Remove usage of STORE_ON_DISK flag in XHR code, r=jonas 2012-11-27 12:48:15 +01:00
Gregor Wagner
e60368692f Bug 811923 - Device Storage: support "create" permission. r=dougt 2012-11-19 12:31:21 -08:00