Commit Graph

377 Commits

Author SHA1 Message Date
Dave Hylands
360cbc6179 Bug 878493 - DeviceStorage: Invalidate used space cache if free space changes. r=janv 2013-06-04 16:35:33 +02:00
Dave Hylands
808d9747a2 Bug 874213 - DeviceStorage: Add .default attribute to the device storage object. r=janv 2013-06-03 17:35:02 +02:00
Ms2ger
04c8cd41cd Bug 871287 - Part c: Move DeviceStorage to WebIDL; r=smaug 2013-06-01 08:56:00 +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
Ms2ger
c9da0d30fe Bug 871287 - Part a: Random cleanup in DeviceStorage; r=dhylands 2013-06-01 08:54:46 +02:00
Ms2ger
31a923dc0c Bug 871286 - Use strings in nsIDOMDeviceStorage; r=smaug 2013-06-01 08:54:40 +02:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Dave Hylands
bb7b02a24c 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
1b2f22fe61 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
ba05c93769 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
620839f027 Bug 868312 finale: finish rooting dom/ code. r=smaug 2013-05-17 21:48:25 -04:00
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
Ryan VanderMeulen
3e961f82d0 Merge m-c to birch. 2013-05-16 16:18:21 -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
Martijn Wargers
2b67e95703 Bug 860887 - Having Array.prototype.remove and calling pushPermissions causes exception. r=ted 2013-05-16 11:26:51 +02: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
David Zbarsky
2bc2cd98b5 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-21 21:25:28 -04: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
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Masatoshi Kimura
2ca51c4f79 Bug 858224 - Remove most MSVC exemptions for FAIL_ON_WARNINGS. r=ted feedback=dholbert 2013-04-07 13:45:34 +09: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
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -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
Mike Shal
2eb7c496cb Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Olli Pettay
8f72caeb73 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Gregory Szorc
27c42e83c6 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
803629b9c6 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
3fd0b2c59d Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Ehsan Akhgari
c3a8b72e50 Bug 844169 - Part 3: Make sure that all callers of HTMLIFrameElement.mozbrowser have chrome privileges; r=bzbarsky 2013-02-26 21:26:10 -05: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
Doug Turner
8e744c0daa Bug 831167 - Crash in mozilla::dom::devicestorage::PDeviceStorageRequestParent::Write. r=bent
--HG--
extra : rebase_source : e7f90023f97155af70aff639bdfa5273d5cec233
2013-01-17 12:33:42 -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
Trevor Saunders
14a806d47d no bug - remove a bunch of extra ';'s to make -pedantic happy 2013-01-11 05:14:04 -05: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
Gene Lian
0c82742df4 Bug 821671 - Check alarm API parameters in the parent (part 1, provide .AssertAppProcess() with different types). r=sicking 2012-12-22 19:53:38 +08:00
Masatoshi Kimura
ecc812a3c0 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Josh Matthews
03688bc401 Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g 2012-12-29 04:02:16 -05:00
Josh Matthews
a5748a8b01 Backed out changeset 6cd44513d285 (bug 782542) 2012-12-28 19:18:38 -05:00
Josh Matthews
7f617152b0 Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g 2012-12-12 10:40:33 -05: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
Ed Morley
0166feddca Backout 3e4e600adc3b (bug 782542) for crashtest-ipc timeouts 2012-12-16 18:09:39 +00:00
Josh Matthews
d599a1c9c4 Bug 782542 - Secure necko IPDL usage. r=ted,jduell
* * *
Bug 782542 - Disable network.ipc security for certain mochitests r=ted
* * *
Bug 782542.  Disable some more tests that use mozbrowser w/o app r?ted
* * *
Bug 782542 : yet another test needs tweaking. r?ted
2012-12-12 10:40:33 -05: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
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
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
Doug Turner
61934cbcc3 Bug 813995 - Check device storage permissions in parent process. r=bent a=blocking-basecamp 2012-11-29 21:41:40 -08: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
Benoit Jacob
5a8b82a1cb Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05: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
Doug Turner
fe35a75723 Bug 810137 - Device Storage filter out video formats that we do not support. r=padenot 2012-11-11 22:46:32 -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
4a47b2b943 Bug 805178 - Device Storage - Add tests to ensure Application Permissions match that of the Permission Matrix. r=jmaher 2012-10-31 10:06:51 -07:00
Doug Turner
6414051bbb 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
1032a0f124 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
1552c98261 Bug 804790 - Remove usused file in nsDOMDeviceStorage::GetRootDirectory(). r=bent 2012-10-24 08:31:48 -07:00
Doug Turner
4a040cfbad Bug 793955, 802867 - DeviceStorage files returned by DeviceStorage.get() don't always have lastModifiedDate. r=bent. a=blocking-basecamp 2012-10-18 11:29:32 -07:00
Ryan VanderMeulen
9d8390c149 Merge the last PGO-green inbound changeset to m-c. 2012-10-16 21:52:06 -04: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
Makoto Kato
f63a03e07e Bug 801483 - make nsBufferedInputStream::Init fallible. r=bsmith 2012-10-16 17:38:20 +09:00
Ryan VanderMeulen
eacb980a7f Backed out 302400cbd111 (bug 754350) and 9aa942155c05 (bug 791816) for Windows mochitest-2 orange. 2012-10-13 13:20:55 -04:00
Doug Turner
dc764b680d Bug 754350 - Clean up Device Storage error strings. r=sicking 2012-10-13 08:20:14 -07:00
Doug Turner
2210e579b8 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
9dd67d2d7e 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
c9ecc05799 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)
d8f8957970 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
484494aade Bug 794571 - Device storage - Add 'sdcard' device storage type. r=sicking 2012-09-28 09:50:13 -07:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Bobby Holley
5af5a73d3d Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Doug Turner
ee41db50d1 Bug 792983 - Device Storage - device storage file types compares must be case insensitive. r=khuey 2012-09-20 14:08:50 -07:00
Doug Turner
3191f5e931 Bug 792938 - Device Storage - device storage report freeSpace as totalSpace. r=khuey 2012-09-20 12:04:55 -07:00
Ms2ger
70856e2961 Bug 792343 - Enable FAIL_ON_WARNINGS in some more of dom/ (second batch); r=mounir 2012-09-20 09:55:36 +02:00
Ms2ger
7fec2d16ba Bug 744907 - Remove BlobBuilder; r=sicking 2012-09-20 09:55:36 +02:00
Doug Turner
3b94a186d4 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
f94561ad06 Bug 788122 - Device storage. Add an 'apps' storage type. r=sicking 2012-09-18 13:46:52 -07:00
Doug Turner
288a4898dd Backing out 7653a9cc00ae. Shouldn't have been checked in. r=me 2012-09-14 09:39:44 -07:00
Doug Turner
299c6551e5 Bug 791287 - Device Storage - stat() doesn't always reflect disk usage immediately. r=dougt 2012-09-14 09:33:08 -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
5519c76e66 No Bug. Whitespace cleanup. r=me 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
Doug Turner
98e8c586ae Bug 788122 - Device storage. Add an 'apps' storage type. r=sicking 2012-09-14 09:14:58 -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
6412c76d5a No Bug. Whitespace cleanup. r=me 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
Masatoshi Kimura
7dbf9b1bbc Bug 788924 - Use "picture", "music", and "videos" special folders for DeviceStorage API. r=dougt 2012-09-07 16:23:01 -04:00
Doug Turner
39a177feda Bug 774368 - Calling removeMessageListener after test completes. r=smaug 2012-09-06 08:53:25 -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
0d971a90ab 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
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
Doug Turner
829e18d536 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
Ryan VanderMeulen
611d3d1f4f Merge m-c to inbound. r=backedoutbykylehuey.com 2012-09-05 19:10:11 -04: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
eec17ecc85 Bug 788588 - Device storage on Windows should use NS_WIN_PERSONAL_DIR. r=blassey 2012-09-05 14:30:36 -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
59768ab243 Bug 788268 - Device Storage - Convert tests to use public types. r=bent 2012-09-05 14:30:36 -07:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ms2ger
30f421bdba Merge m-c to m-i. 2012-08-31 11:40:15 +02:00
Kyle Huey
0baaffe99f 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
02cf9be512 Bug 784763 - freeBytes in stat() result is wrong. r=sicking 2012-08-30 20:15:32 -07:00
Landry Breuil
d4d6157146 Bug 785738 Part 3: use PRTime instead of int64_t where appropriate; r=ehsan 2012-08-30 09:10:35 +02:00
Doug Turner
f59c654e8b 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
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
Ryan VanderMeulen
559bc624f6 Merge m-c to inbound. 2012-09-05 17:52:28 -04:00
Mike Hommey
68052c3774 Bug 785269 - Replace a few DEPTH and relativesrcdir. r=ted,r=callek 2012-09-05 16:42:09 +02:00
Doug Turner
26d0c535b6 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
e765894eed Bug 784404 - Intermittent assertion in dom/devicestorage/test/test_basic.html. v.2 r=bent 2012-08-28 08:39:22 -07:00
Doug Turner
c29acb6f6e Bug 784404 - backout inital patch. r=bent 2012-08-28 08:38:31 -07:00
Ryan VanderMeulen
ffecb2031f Merge m-c to inbound. 2012-08-27 12:51:10 -04:00
Ms2ger
6d814e7995 Merge last PGO-green changeset from m-i to m-c. 2012-08-27 15:02:11 +02:00
Doug Turner
4b451259db Bug 784404 - Intermittent assertion in dom/devicestorage/test/test_basic.html. r=bent 2012-08-26 21:28:10 -07:00
Doug Turner
42f21caf4d 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 2012-08-26 21:34:04 -07:00
Doug Turner
1dc9b60582 Bug 784388 - Remove setTimeout from device storage watch tests. r=khuey 2012-08-26 21:33:44 -07:00
Doug Turner
9045581758 Bug 783593 - Device Storage - Test to ensure onchange notifications go to the right object. r=khuey 2012-08-26 21:33:13 -07:00
Philipp von Weitershausen
f47e2a9937 Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03: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
fc96cbf8dd Bug 782391 - Device Storage - Watch should also go through the permission prompt. r=sicking 2012-08-17 19:43:00 -07:00
Doug Turner
2041347ec5 Bug 782352 - Broadcast local io to onchange listeners. r=sicking 2012-08-17 19:43:00 -07:00
Doug Turner
e0931c80b6 Bug 777101 - DeviceStorage - Add onchange notifications test. r=khuey 2012-08-17 19:43:00 -07:00
Bobby Holley
2c8383dd1e Bug 783173 - Fix test_ipc implementations to handle mandatory __exposedProps__. r=khuey 2012-08-17 09:21:17 -07:00
Doug Turner
0e49bcb198 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
cdf61eca21 Bug 783086 - DeviceStorage - in OOP apps, the enumerate() method ignores the since argument. r=dhylands
--HG--
extra : rebase_source : d74df06f0641f662f0b258ed832e1698894d7e4e
2012-08-16 16:14:37 -07:00
Doug Turner
8671425970 Bug 782676 - Enable test_stat.html on mac and windows. r=khuey
--HG--
extra : rebase_source : fc7025df9a48d2b942054b511694440a59c241bb
2012-08-16 16:14:37 -07:00
Doug Turner
777f121b9b 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
Gregor Wagner
606e9b8f76 Bug 781355 - Hook up mozBrowser to Permission Manager. r=jlebar 2012-08-15 10:22:30 -07:00
Doug Turner
98d1923ea5 Bug 782354 - seperate sharing state from unavailable state in onchange notification. r=sicking 2012-08-14 08:53:44 -07:00
Doug Turner
21b803177b Bug 782351 - add volume state to stat() API. r=sicking 2012-08-14 08:53:20 -07:00
Aryeh Gregor
e2dd9c2028 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Honza Bambas
5fe7a22e2c 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
84dd794e39 Bug 777088 - device Storage - file stat API. r=bent 2012-07-31 12:28:23 -07:00
Doug Turner
b3518b52c3 Bug 773798 - Multi-process support for MediaStorage - Use PBlob. r=bent 2012-08-09 15:41:18 -07:00
Doug Turner
19fd531d96 Bug 780691 - DeviceStorage - Add onchange notifications for volume state changes. r=sicking 2012-08-09 15:41:18 -07:00
Wes Johnston
7d6f48a80c backout c030a8af8abd and dd0c287660e9 CLOSED TREE 2012-08-08 14:07:39 -07:00
Wes Johnston
77f0fb11d6 Bug 780718 - Return false from DOMRequestService is preventDefault was called on events. r=sicking 2012-08-08 12:35:15 -07:00
William Chen
16866a115c Bug 775377 - Modify nsIContentPermissionRequest to use nsIPrincipal instead of nsIURI. r=dougt+cjones 2012-07-30 10:58:26 -04:00
Wes Johnston
154f83ab5b Backout 81a090e983d2, 8236b3579bf3, 2012-08-07 10:08:41 -07:00
Wes Johnston
65f5d9906e Bug 780718 - Return false from DOMRequestService is preventDefault was called on events. r=sicking 2012-08-06 15:26:02 -07:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
be451c22dc Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey
e79d87471e Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Landry Breuil
417b485abd Bug 763976. Followup: remove extra comma at end of enum. rs=ms2ger 2012-08-03 15:04:35 +02:00
Doug Turner
045acc0826 Bug 779864 - onchange notifications of DeviceStorage should use code generator. r=smaug 2012-08-02 13:25:16 -07:00
Doug Turner
30785ef176 Bug 777084 - Stop returning arrays from DeviceStorage.getDeviceStorage(). r=sicking 2012-08-01 23:32:11 -07:00
Doug Turner
21b99517b8 Bug 777078 - Remove DeviceStorage .type. r=sicking 2012-08-01 23:32:08 -07:00
Doug Turner
34823412f0 Bug 763976 - Add onchange notifications to DeviceStorage - IPC - r=khuey 2012-08-01 23:32:04 -07:00
Doug Turner
e0b1269b07 Bug 763976 - Add onchange notifications to DeviceStorage. r=khuey 2012-08-01 23:29:34 -07:00
Aryeh Gregor
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Doug Turner
0be4c72e2a Bug 774368 - Clear all globals during unload to avoid intermittent test_basic.html exception (can't access dead object at :0). r=jlebar 2012-07-23 09:52:05 -07:00
Joshua Cranmer
e1cdfe2f05 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
ed81635232 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
d24cf25018 Bug 761930 - Multi-process support for Device Storage. r=sicking 2012-06-19 16:14:39 -07:00
Doug Turner
73f63a5b18 Bug 773713 - Stop using profile directory for Device Storage testings. r=jmaher 2012-07-13 12:35:33 -07:00