Commit Graph

167 Commits

Author SHA1 Message Date
Mike Habicher
736a39f8d1 Bug 893019 - make addNamed() return absolute paths in parent process, r=dhylands 2013-07-12 12:33:20 -04:00
Dave Hylands
df29c2d8ae Bug 881386 - DeviceStorage: Add .default attribute to webidl. r=Ms2ger 2013-06-12 09:30:23 -07:00
Dave Hylands
84e196b145 Bug 878493 - DeviceStorage: Invalidate used space cache if free space changes. r=janv 2013-06-04 16:35:33 +02:00
Dave Hylands
3357939e3e Bug 874213 - DeviceStorage: Add .default attribute to the device storage object. r=janv 2013-06-03 17:35:02 +02:00
Ms2ger
874b3539df Bug 871287 - Part c: Move DeviceStorage to WebIDL; r=smaug 2013-06-01 08:56:00 +02:00
Ms2ger
09b8d86b19 Bug 871287 - Part b: Don't silently clear nsRefPtrs in DeviceStorage; r=dhylands 2013-06-01 08:55:02 +02:00
Ms2ger
8345a5edc6 Bug 871287 - Part a: Random cleanup in DeviceStorage; r=dhylands 2013-06-01 08:54:46 +02:00
Ms2ger
0ca5c81b38 Bug 871286 - Use strings in nsIDOMDeviceStorage; r=smaug 2013-06-01 08:54:40 +02:00
Dave Hylands
c55b48771d Bug 875372 - Add missing return statement in AddNamed function when passed a non-existing storage name. r=dougt 2013-05-23 22:18:03 -07:00
Bobby Holley
f2943090bd Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
cdde50556c Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor 2013-05-22 10:05:26 -06:00
Boris Zbarsky
43f774459d Bug 868312 finale: finish rooting dom/ code. r=smaug 2013-05-17 21:48:25 -04:00
Andrea Marchesini
62c4ea0ad2 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
70ed43e46c Bug 872170 - Fix camera file saving with composite device storage. r=mikeh 2013-05-16 11:12:29 -07:00
Dave Hylands
4a56501d24 Bug 872800 - Fix volume availability notifications for composite storage areas. r=mchen 2013-05-16 11:11:58 -07:00
Dave Hylands
e3d9f00e8e Bug 872800 - Remove extraneous printfs added from Bug 858416. r=mchen 2013-05-16 11:11:54 -07:00
Thomas Zimmermann
90691b7347 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
2502606f8b Merge m-c to inbound. 2013-05-15 08:36:44 -04:00
Eric Chou
536fafeb07 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
70e6828eec Merge m-c to inbound. 2013-05-14 16:51:22 -04:00
Dave Hylands
cd2be6d401 Bug 871956 - Fix regression introduced by bug 858416. r=kanru 2013-05-14 10:44:25 -07:00
Bobby Holley
6c1096c31c Bug 871297 - Remove JS_GetGlobalObject from nsDeviceStorage. r=bz 2013-05-14 10:16:51 -07:00
Dave Hylands
c53a4e7f72 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
7fdae1381e Merge m-c to inbound on a CLOSED TREE. 2013-05-11 09:49:12 -04:00
Ryan VanderMeulen
bc36900668 Backed out changeset dbf0c9f4a4b9 (bug 858416) for B2G mochitest-3 failures. 2013-05-11 09:47:37 -04:00
Dave Hylands
a1b72bb10c Bug 858416 - Create a composite device storage interface. r=dougt 2013-05-11 02:10:18 -07:00
David Zbarsky
e35c65d6d0 Bug 868312 - Some more rooting fixes for dom r=bz 2013-05-10 22:39:45 -04:00
Dave Hylands
24be0725ba 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
323942402c Bug 861921 - Notify the user about the low free storage situation. r=dhylands 2013-05-10 10:51:19 +02:00
Ryan VanderMeulen
3b88974306 Merge birch to m-c. 2013-05-02 21:19:01 -04:00
David Zbarsky
ceed6680d6 Bug 866450 Part 7: Root some additional JS::Values found during review r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
261b97262e Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
Doug Turner
324e7d7fad 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
cb8f2e846d Backed out changeset b514d768d793 (bug 866450) 2013-05-02 11:57:14 +01:00
Ed Morley
b957907d9a Backed out changeset e0b51717bb64 (bug 866450) 2013-05-02 11:56:57 +01:00
David Zbarsky
0fcb790866 Bug 866450 Part 7: Root some additional JS::Values found during review r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
4b33572311 Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
Dave Hylands
29e4b3582e Bug 865255 - Fix regression in sdcard availability detections. r=dougt 2013-04-24 13:34:37 -07:00
Dave Hylands
16908eb6b9 Bug 860934 - Use relative paths when handling device storage r=dougt 2013-04-18 16:13:23 +02:00
Kan-Ru Chen (陳侃如)
b4b26e7e38 Bug 845707 - Only filter file path that is a '~' or starts with '~/'. r=dougt 2013-04-19 07:55:58 -04:00
Boris Zbarsky
de948b12f3 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
55924de20e 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
1c497c8b8c Bug 838038 - Pt 2 - Add support for multiple device storage objects. r=dougt 2013-04-02 12:52:21 -07:00
Ms2ger
a6681aa535 Bug 824986 - Followup: fix botched merge. 2013-03-17 11:20:39 +01:00
Ms2ger
1dad3019dc Bug 824986 - Move DOMRequest and subclasses to Paris bindings; r=khuey 2013-03-17 09:51:36 +01:00
Ms2ger
55b04bd76f 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
8d41b44655 Bug 837865 - Use DOMCursor instead of DeviceStorageCursor. r=bent
--HG--
extra : rebase_source : 14c858702b537946495c3a31d62b5e90fa49f777
2013-03-01 16:21:01 -08:00
Olli Pettay
eaf67cc919 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Bobby Holley
7b9176007d Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap 2013-02-26 11:04:13 -08:00
Doug Turner
6a822d0762 Bug 840626 - Ensure that the FileUpdateDispatcher is initalized. r=bz
--HG--
extra : rebase_source : 4479c3e9a4719bf552018338a4a0eca11368cdff
2013-02-12 13:16:58 -08:00