Commit Graph

303 Commits

Author SHA1 Message Date
Dave Hylands
17840dbd2b Bug 909537 - navigator.getDeviceStorage("apps") always returns null. r=fabrice 2013-08-26 15:21:45 -07:00
Fabrice Desré
7ed5512d24 Bug 908701 - DeviceStorage: Cleanup apps directory determination r=dhylands 2013-08-23 10:51:41 -07:00
Fabrice Desré
ef0a016814 Bug 791380 - Need on-phone equivalent of about:crashes r=dhylands 2013-08-23 07:59:03 -07:00
Dave Hylands
0ffd2e95b8 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
Ms2ger
ced3dd8b1c Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal 2013-08-22 08:56:00 +02:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Andrew McCreight
34c3ccc79b Bug 889193 - Remove DOMRequest::mRooted. r=smaug 2013-08-14 11:29:20 -07:00
Brian O'Keefe
3a92f0ae7c Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Ryan VanderMeulen
2cb6b07d20 Merge m-c to inbound. 2013-08-09 19:29:45 -04:00
Mark Hammond
ac7c070103 Bug 897811 - fix uses of browser.pagethumbnails.capturing_disabled to reflect the pref controls if it is *disabled* rather than enabled. r=gavin 2013-08-08 09:52:01 +10:00
Mark Hammond
337fcff3ff Bug 897811 - remove browser.pageThumbs.enabled preference. r=gavin 2013-08-07 11:10:58 +10:00
Dave Hylands
4f75e0a1ed 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
45a6408d8a 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
Dave Hylands
e54b28c472 Bug 861456 - Fix all device storage tests so that they run. r=dclarke 2013-07-12 00:18:28 -07:00
Joshua Cranmer
fb0ab49c35 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
Trevor Saunders
e59057dee7 bug 659722 - remove _IMPL_NS_LAYOUT r=bz 2013-03-16 00:31:38 -04:00
Boris Zbarsky
27c0e89dfb Back out revision ab9642207875 (bug 897811) for browser-chrome test failures. 2013-08-08 01:13:45 -04:00
Mark Hammond
00e585ad0e Bug 897811 - fix uses of browser.pagethumbnails.capturing_disabled to reflect the pref controls if it is *disabled* rather than enabled. r=gavin 2013-08-08 09:52:01 +10:00
Brian O'Keefe
a2b1403eb0 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Mike Habicher
a954eec02e Bug 893019 - make addNamed() return absolute paths in parent process, r=dhylands 2013-07-12 12:33:20 -04:00
Trevor Saunders
82e5558b37 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Tim Taubert
e84c9d2533 Bug 891806 - part 4 - replace 'yield;' with 'yield undefined;' in dom/; r=smaug 2013-07-10 23:52:35 +02:00
Mike Shal
edeb7caf7a Bug 868536 - Move ipdl.mk files to moz.build; r=gps
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Ms2ger
b5ea9cce84 Bug 883114 - Part a: remove various make rules in dom; r=ted 2013-07-01 09:01:23 +02:00
Dave Hylands
24e6fecf58 Bug 881386 - DeviceStorage: Add .default attribute to webidl. r=Ms2ger 2013-06-12 09:30:23 -07:00
Arnaud Sourioux
4f029c7b82 Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger 2013-06-05 12:15:48 -04:00
Dave Hylands
b6aed37262 Bug 878493 - DeviceStorage: Invalidate used space cache if free space changes. r=janv 2013-06-04 16:35:33 +02:00
Dave Hylands
3a7189e4c2 Bug 874213 - DeviceStorage: Add .default attribute to the device storage object. r=janv 2013-06-03 17:35:02 +02:00
Ms2ger
0fc8431937 Bug 871287 - Part c: Move DeviceStorage to WebIDL; r=smaug 2013-06-01 08:56:00 +02:00
Ms2ger
621b33191d Bug 871287 - Part b: Don't silently clear nsRefPtrs in DeviceStorage; r=dhylands 2013-06-01 08:55:02 +02:00
Ms2ger
5ea6003d65 Bug 871287 - Part a: Random cleanup in DeviceStorage; r=dhylands 2013-06-01 08:54:46 +02:00
Ms2ger
c8ae3f8cfc Bug 871286 - Use strings in nsIDOMDeviceStorage; r=smaug 2013-06-01 08:54:40 +02:00
Mike Shal
994cfe0b6b 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
ae3355b73c 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
91448a9dac 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
54ef3d2952 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
fd290b314c Bug 868312 finale: finish rooting dom/ code. r=smaug 2013-05-17 21:48:25 -04:00
Andrea Marchesini
ad2f5e13ba 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
5fb63368ec Merge m-c to birch. 2013-05-16 16:18:21 -04:00
Dave Hylands
179cac5202 Bug 872170 - Fix camera file saving with composite device storage. r=mikeh 2013-05-16 11:12:29 -07:00
Dave Hylands
22d3b834a6 Bug 872800 - Fix volume availability notifications for composite storage areas. r=mchen 2013-05-16 11:11:58 -07:00
Dave Hylands
4e6b1ff1bd Bug 872800 - Remove extraneous printfs added from Bug 858416. r=mchen 2013-05-16 11:11:54 -07:00
Thomas Zimmermann
02099f2087 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
4bdbb106c9 Bug 860887 - Having Array.prototype.remove and calling pushPermissions causes exception. r=ted 2013-05-16 11:26:51 +02:00
Ryan VanderMeulen
ea3d49228d Merge m-c to inbound. 2013-05-15 08:36:44 -04:00
Eric Chou
8af7b1dc11 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
d93a3eb9dd Merge m-c to inbound. 2013-05-14 16:51:22 -04:00
Dave Hylands
c2e3ffc78d Bug 871956 - Fix regression introduced by bug 858416. r=kanru 2013-05-14 10:44:25 -07:00
Bobby Holley
8d598887b2 Bug 871297 - Remove JS_GetGlobalObject from nsDeviceStorage. r=bz 2013-05-14 10:16:51 -07:00
Dave Hylands
1016437715 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
65ba12ab3b Merge m-c to inbound on a CLOSED TREE. 2013-05-11 09:49:12 -04:00
Ryan VanderMeulen
aa9e660583 Backed out changeset dbf0c9f4a4b9 (bug 858416) for B2G mochitest-3 failures. 2013-05-11 09:47:37 -04:00
Dave Hylands
7da14f84fb Bug 858416 - Create a composite device storage interface. r=dougt 2013-05-11 02:10:18 -07:00
David Zbarsky
1e6ff1698e Bug 868312 - Some more rooting fixes for dom r=bz 2013-05-10 22:39:45 -04:00
Dave Hylands
b3a2fbc559 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
33bcb09dc1 Bug 861921 - Notify the user about the low free storage situation. r=dhylands 2013-05-10 10:51:19 +02:00
Ryan VanderMeulen
f0a2ad3fd1 Merge birch to m-c. 2013-05-02 21:19:01 -04:00
David Zbarsky
c239a75547 Bug 866450 Part 7: Root some additional JS::Values found during review r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
e6b1eb46b4 Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
Doug Turner
0e76a12046 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
dfe0338333 Backed out changeset b514d768d793 (bug 866450) 2013-05-02 11:57:14 +01:00
Ed Morley
5cfaa67828 Backed out changeset e0b51717bb64 (bug 866450) 2013-05-02 11:56:57 +01:00
David Zbarsky
2e0cd0171f Bug 866450 Part 7: Root some additional JS::Values found during review r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
bc9b1bccdc Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
Dave Hylands
8bf86cf985 Bug 865255 - Fix regression in sdcard availability detections. r=dougt 2013-04-24 13:34:37 -07:00
Dave Hylands
13c9965087 Bug 860934 - Use relative paths when handling device storage r=dougt 2013-04-18 16:13:23 +02:00
David Zbarsky
204a17f3b2 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-21 21:25:28 -04:00
Kan-Ru Chen (陳侃如)
c77bcf5799 Bug 845707 - Only filter file path that is a '~' or starts with '~/'. r=dougt 2013-04-19 07:55:58 -04:00
Boris Zbarsky
774766d13e 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
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Masatoshi Kimura
7c989863ee Bug 858224 - Remove most MSVC exemptions for FAIL_ON_WARNINGS. r=ted feedback=dholbert 2013-04-07 13:45:34 +09:00
Jose Cortes
fd628f31a4 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
b8ea90d88a Bug 838038 - Pt 2 - Add support for multiple device storage objects. r=dougt 2013-04-02 12:52:21 -07:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 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
a59d40f143 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
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ms2ger
4b838edfd8 Bug 824986 - Followup: fix botched merge. 2013-03-17 11:20:39 +01:00
Ms2ger
7bcafadd47 Bug 824986 - Move DOMRequest and subclasses to Paris bindings; r=khuey 2013-03-17 09:51:36 +01:00
Ms2ger
6da7a4d4da 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
7e1b71d3e5 Bug 837865 - Use DOMCursor instead of DeviceStorageCursor. r=bent
--HG--
extra : rebase_source : 14c858702b537946495c3a31d62b5e90fa49f777
2013-03-01 16:21:01 -08:00
Mike Shal
e9f8bc0fbd Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Olli Pettay
e5921ddec1 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Gregory Szorc
89d297a677 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
f0b7e3972c 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
e2966f651c Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Ehsan Akhgari
63a702bcac 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
d1a3436036 Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap 2013-02-26 11:04:13 -08:00
Doug Turner
2ba4c4a80d 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
29c93f77f6 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Peter Van der Beken
ba01eac664 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
d037baf04d 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
9f28827542 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
6c53161814 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
942f22b38c no bug - remove a bunch of extra ';'s to make -pedantic happy 2013-01-11 05:14:04 -05:00
Doug Turner
6c17036468 Bug 827311 - Remote file update notifications. r=bent a=blocking-basecamp 2013-01-09 07:03:28 -08:00
Andrea Marchesini
cf98b96a33 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
7b6d6463eb 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
b5e27745c8 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
c4823bbdfb Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g 2012-12-29 04:02:16 -05:00