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

347 Коммитов

Автор SHA1 Сообщение Дата
Randell Jesup 3a2d8af198 Bug 853356: backout p3 2013-12-10 01:03:21 -05:00
Alfredo Yang 4dbe3a921d Bug 853356 - Part3 Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-12-06 17:38:52 -05:00
Alan Huang 85ad595995 Bug 841660 - Implement format interface for volume-based device storage, r=dhylands 2013-09-06 14:11:58 +08:00
Reuben Morais 1d3b24a4d5 Backed out 4 changesets (bug 853356) for breaking permission prompts. 2013-11-06 01:32:42 -02:00
Alfredo Yang 620bb632ca Bug 853356 - Part3 Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-11-05 16:29:52 +08:00
Kan-Ru Chen (陳侃如) 3a9ca16110 Backout 6d33ac3a2b14 2013-11-05 14:59:22 +08:00
Alfredo Yang 554000b50c Bug 853356 - Part3 Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-11-05 14:08:45 +08:00
Doug Turner eb207427ab Backing out 987b3ec24f68 2013-10-31 20:25:46 -07:00
Alfredo Yang 190d0bf8f8 Bug 853356 - Part 3: Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-10-26 21:20:09 -04:00
Dave Hylands d54c0e610b Bug 929816 - Allow devicestorage testing mode to work on travis. r=mikeh
--HG--
extra : amend_source : 6eeed813c1634a5c6113455c8b4319f3e8d0d5a9
2013-10-23 15:03:03 -07:00
Kyle Huey 9ab68d6b69 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-23 07:32:04 +08:00
Steve Fink 1b7c5fcec0 Bug 925916 - Random minor code cleanups, r=smaug 2013-10-15 15:34:13 -07:00
Steve Fink 159ed3c77f Bug 925916 - Handlify WrapNative, r=smaug 2013-10-11 22:02:39 -07:00
Ryan VanderMeulen 9abde8f9b2 Backed out 2 changesets (bug 915757, bug 919885) for frequent Android Armv6 mochitest-8 crashes.
Backed out changeset 04610078280c (bug 915757)
Backed out changeset db9190b3ce60 (bug 919885)
2013-10-14 14:38:54 -04:00
Kyle Huey e2f7b57b3e Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 19:58:25 +08:00
Phil Ringnalda 5c6d197b06 Backed out 2 changesets (bug 915757, bug 919885) for xpcshell bustage
Backed out changeset 5d17d90b838d (bug 915757)
Backed out changeset 91495d3a91c8 (bug 919885)
2013-10-13 21:59:58 -07:00
Kyle Huey ebb9068971 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 11:10:44 +08:00
Ehsan Akhgari 1c1a9cc4f7 Bug 923151 - Part 1: Don't #include nsIDocument.h in TabChild.h; r=jst
--HG--
extra : rebase_source : 1748c347eeed09a8216580a48dd786f0dbe92588
2013-10-02 16:08:30 -04:00
Masayuki Nakano 5dbc2a60e4 Bug 920377 part.31 Get rid of nsEvent r=roc 2013-10-02 12:46:04 +09:00
Boris Zbarsky 48946a9621 Bug 862627 part 1. Switch EventListener to WebIDL codegen. r=smaug 2013-09-23 20:25:17 -04:00
Tom Schuster 3d2fa7cabf Bug 915822 - Make GetTabChildFrom a class method on TabChild. r=smaug 2013-09-12 15:24:11 -04:00
Dave Hylands 83b00a2976 Bug 910808 - Remove call to retrieve preference while not on the main thread. r=khuey
--HG--
extra : rebase_source : a813c3a680c42c712237059104a82c66f7e7bde3
2013-09-03 16:10:38 -07:00
Dave Hylands 8bc7476df2 Bug 909537 - navigator.getDeviceStorage("apps") always returns null. r=fabrice 2013-08-26 15:21:45 -07:00
Fabrice Desré 07f9d38e0a Bug 908701 - DeviceStorage: Cleanup apps directory determination r=dhylands 2013-08-23 10:51:41 -07:00
Fabrice Desré 12988cf7d8 Bug 791380 - Need on-phone equivalent of about:crashes r=dhylands 2013-08-23 07:59:03 -07:00
Dave Hylands a2da39cd38 Bug 878310 - Improve DeviceStorage volume status reporting. r=qDot
This changeset causes tranistory states when changing from mounted to shared,
and back to mounted to be reported as shared instead of unavailable.

We also don't send the same status twice in a row.
2013-08-22 16:12:25 -07:00
Andrew McCreight bfd6bdbcf8 Bug 889193 - Remove DOMRequest::mRooted. r=smaug 2013-08-14 11:29:20 -07:00
Dave Hylands 75414d2b52 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 ab18c36791 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 36673bcae2 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
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
Olli Pettay b9080a0df7 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Peter Van der Beken d6ffd91c2c 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 3e86f60063 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 b7ae90666d 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 c52c731184 Bug 827311 - Remote file update notifications. r=bent a=blocking-basecamp 2013-01-09 07:03:28 -08:00
Andrea Marchesini 0250ea0eb2 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 780f423a14 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 120886ca73 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 4c7f8c7ec0 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 c806b877ae 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 d948158643 Bug 725993 - Remove usage of STORE_ON_DISK flag in XHR code, r=jonas 2012-11-27 12:48:15 +01:00
Gregor Wagner 5d655ebe42 Bug 811923 - Device Storage: support "create" permission. r=dougt 2012-11-19 12:31:21 -08:00
Benoit Jacob 986ee1a065 Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Gregor Wagner e17477fec2 Bug 810427 - Device storage - Add access fields to permission checks. r=dougt 2012-11-13 16:06:42 -08:00
Doug Turner cc0311ea2c Bug 806472 - NS_CONTENT_PERMISSION_PROMPT_CONTRACTID is used both as a service and an instance. r=bent 2012-10-31 10:06:42 -07:00
Robert O'Callahan 769e1e3862 Bug 805730. Convert HasListenerFor(nsAString) callers to HasListenerFor(nsIAtom*), which is more efficient. r=smaug
--HG--
extra : rebase_source : fb0e607b8a1edcbced75b96e0aefcc626a4f436b
2012-10-29 17:33:51 +13:00
Doug Turner b404d436ba Bug 804790 - Remove usused file in nsDOMDeviceStorage::GetRootDirectory(). r=bent 2012-10-24 08:31:48 -07:00
Ehsan Akhgari 75ecc91244 Merge mozilla-central into mozilla-inbound 2012-10-16 20:43:47 -04:00
Doug Turner 6c7867e2e2 Bug 754350 - Clean up Device Storage error strings. r=sicking 2012-10-13 08:20:14 -07:00
Doug Turner 3d8aac68f7 Bug 791816 - Use a different error string when we may overwrite a file location. r=sicking 2012-10-13 08:20:14 -07:00
Makoto Kato 3122b4a8f4 Bug 801483 - make nsBufferedInputStream::Init fallible. r=bsmith 2012-10-16 17:38:20 +09:00
Ryan VanderMeulen 8429f9c41d Backed out 302400cbd111 (bug 754350) and 9aa942155c05 (bug 791816) for Windows mochitest-2 orange. 2012-10-13 13:20:55 -04:00
Doug Turner 9b001fcc48 Bug 754350 - Clean up Device Storage error strings. r=sicking 2012-10-13 08:20:14 -07:00
Doug Turner 840f053b0f Bug 791816 - Use a different error string when we may overwrite a file location. r=sicking 2012-10-13 08:20:14 -07:00
Nicholas Nethercote cbc812d8ca Bug 793076 (part 1) - Remove unnecessary |cx| parameters. r=jwalden.
--HG--
extra : rebase_source : 0cfe86ca3b2de60b0097f6cd4686dfabe6748897
2012-09-20 21:41:49 -07:00
Doug Turner b90d266480 Bug 794619 - Remote the blobs returned from enumerate. r=bent 2012-10-04 13:40:45 -07:00
Inder Kumar ext:(%20and%20Mike%20Habicher%20%3Cmhabicher%40mozilla.com%3E) 6d9d08d1fd Bug 776062: Add support for recording video on gonk. r=cjones,double,ikumar,mikeh sr=sicking 2012-09-28 22:30:52 -07:00
Doug Turner e790a2a589 Bug 794571 - Device storage - Add 'sdcard' device storage type. r=sicking 2012-09-28 09:50:13 -07:00
Isaac Aggrey 481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Doug Turner 62e0aeb8b8 Bug 792983 - Device Storage - device storage file types compares must be case insensitive. r=khuey 2012-09-20 14:08:50 -07:00
Ms2ger e734d6f1a2 Bug 792343 - Enable FAIL_ON_WARNINGS in some more of dom/ (second batch); r=mounir 2012-09-20 09:55:36 +02:00
Ms2ger c5d1cae66d Bug 744907 - Remove BlobBuilder; r=sicking 2012-09-20 09:55:36 +02:00
Doug Turner 2e8985706a Bug 791715 - Device Storage - Ensure 'apps' device storage is only used by webapps. r=sicking 2012-09-18 13:46:52 -07:00
Doug Turner 0c8e302ec3 Bug 788122 - Device storage. Add an 'apps' storage type. r=sicking 2012-09-18 13:46:52 -07:00
Doug Turner 0cb34e7078 Backing out 7653a9cc00ae. Shouldn't have been checked in. r=me 2012-09-14 09:39:44 -07:00
Doug Turner 1f0f22338f Bug 791084 - Device storage - Seperate permissions based on storage type. r=bent 2012-09-13 22:37:00 -07:00
Doug Turner 8998cc542b No Bug. Whitespace cleanup. r=me 2012-09-13 22:37:00 -07:00
Doug Turner 43e847f75e 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 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
Doug Turner 0cc5c1e0ee Bug 763976 - Add onchange notifications to DeviceStorage. r=khuey 2012-08-01 23:29:34 -07:00
Aryeh Gregor c81630fddb Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Joshua Cranmer a1186c1020 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Doug Turner 689ec008f1 Bug 765498 - Device Storage - Gaia - ensure /sdcard is backed by a file system. r=dhylands
--HG--
extra : rebase_source : c36eaa86566f7b7bd6eeefbcbc0622ec99a33816
2012-07-18 11:31:05 -07:00
Doug Turner f2adcdd386 Bug 761930 - Multi-process support for Device Storage. r=sicking 2012-06-19 16:14:39 -07:00
Doug Turner 194dd47a63 Bug 773713 - Stop using profile directory for Device Storage testings. r=jmaher 2012-07-13 12:35:33 -07:00
Ryan VanderMeulen 6e7f656ffd Backout b3f14a850269, f9d877d78294, and c7335ca109a4 due to build bustage. 2012-07-14 00:01:52 -04:00
Doug Turner 2eff5553d0 Bug 761930 - Multi-process support for Device Storage. r=sicking 2012-06-19 16:14:39 -07:00
Doug Turner 11e349f7d9 Bug 773713 - Stop using profile directory for Device Storage testings. r=jmaher 2012-07-13 12:35:33 -07:00
David Zbarsky d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Doug Turner bc260dfa43 Bug 767905 - Device Storage - Move editable flag into DeviceStorageFile. r=bent 2012-06-27 13:47:35 -07:00
Ed Morley 76683b3f56 Backout c707e4f15fd4 (bug 767905), cad3e0609835 (bug 767894) for various devicestorage test failures 2012-06-26 16:21:37 +01:00
Doug Turner e1a76d8a62 Bug 767905 - device storage - Move editable flag into DeviceStorageFile. r=bent 2012-06-26 05:51:24 -07:00
Doug Turner 15dc1d9eca Bug 766358 - Gaia DCIM has to be at the root of that filesystem. r=fabrice 2012-06-20 01:21:21 -07:00
Ehsan Akhgari 7e0eb3c34f Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more dom parts); r=bzbarsky
--HG--
extra : rebase_source : e31b077d8556626aa46ac33abbe2997e86ba68df
2012-06-18 21:21:14 -04:00
Ehsan Akhgari 4830dd98a3 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (dom parts); r=bzbarsky 2012-06-14 22:31:55 -04:00
Doug Turner cb94e76953 Bug 765444 - Update device storage paths for Gonk. r=fabrice 2012-06-16 18:49:26 -07:00
Doug Turner 6f23c3a9a6 Bug 764604 - Device Storage - crash when using from gaia chrome. Do not dereference null uris. r=bent
--HG--
extra : rebase_source : 54889b39ce65373878de9865ab0603b890fa23ec
2012-06-14 11:29:08 -07:00
Doug Turner d29ef60478 Bug 758273 - Device Storage - enumeration option to filter based on last modification date. r=smaug 2012-06-10 22:50:44 -07:00
Doug Turner fc28fe58ff Backed out changeset 401edab3831f - Bug 758273.
--HG--
extra : rebase_source : 8ce201cd3fe6a2d6405be2548927f65dab5cbb39
2012-06-08 21:33:16 -07:00
Doug Turner 6a10675539 Bug 758273 - Device Storage - enumeration option to filter based on last modification date. r=smaug 2012-06-08 20:15:04 -07:00
Geoff Lankow 5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Doug Turner 48a750f4f9 Bug 760643 - Device Storage - Delete isn't working. r=sicking 2012-06-01 13:19:08 -07:00
Doug Turner a17fd3de5c Bug 759567 - Add video and music to device storage on gaia. r=sicking 2012-05-30 01:47:12 -07:00
Doug Turner 3cda5d59c6 Bug 758838 - DeviceStorage.enumerate() doesn't work. Factor out prompt interface. r=sicking 2012-05-29 16:12:39 -07:00
Doug Turner 236a04a91a Bug 717103 - Implement Device Storage. r=sicking 2012-05-21 09:18:30 -07:00
Ed Morley 273380866f Backout 027ed1748c81 (bug 740485) for M3 orange 2012-05-21 19:36:43 +01:00
Doug Turner f8a704e7d4 Bug 740485 - Implement Device Storage. r=sicking 2012-05-21 09:18:30 -07:00