Commit Graph

55 Commits

Author SHA1 Message Date
Boris Zbarsky
9d25dc48cc Bug 950315 part 1. Convert a bunch of event targets to passing a Window or nsDOMEventTargetHelper directly to the constructor of their ancestor nsDOMEventTargetHelper. r=smaug 2014-01-06 21:53:23 -05:00
Alan Huang
86c5e2445e Bug 841660 - Implement format interface for volume-based device storage, r=dhylands 2013-09-06 14:11:58 +08:00
Kyle Huey
4801b8ae53 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-23 07:32:04 +08:00
Ryan VanderMeulen
a80b1ea22a 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
80a708caab Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 19:58:25 +08:00
Phil Ringnalda
95093a98d7 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
6d62264056 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 11:10:44 +08:00
Boris Zbarsky
ac390ab247 Bug 862627 part 1. Switch EventListener to WebIDL codegen. r=smaug 2013-09-23 20:25:17 -04:00
Ehsan Akhgari
3956f8e1f5 Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley 2013-09-06 13:50:24 -04:00
Fabrice Desré
ac980b5230 Bug 791380 - Need on-phone equivalent of about:crashes r=dhylands 2013-08-23 07:59:03 -07:00
Dave Hylands
b97c5dfc24 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
Dave Hylands
373400dd10 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
871ce5545f 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
f44c71b4ef 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
Dave Hylands
52ef1132e8 Bug 881386 - DeviceStorage: Add .default attribute to webidl. r=Ms2ger 2013-06-12 09:30:23 -07:00
Ms2ger
04c8cd41cd Bug 871287 - Part c: Move DeviceStorage to WebIDL; r=smaug 2013-06-01 08:56:00 +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
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
b0983b5c8a Bug 872800 - Fix volume availability notifications for composite storage areas. r=mchen 2013-05-16 11:11:58 -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
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
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
Dave Hylands
505d1f5061 Bug 860934 - Use relative paths when handling device storage r=dougt 2013-04-18 16:13:23 +02: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
Dave Hylands
a4ccf0382c Bug 838038 - Pt 2 - Add support for multiple device storage objects. r=dougt 2013-04-02 12:52:21 -07: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
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
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
fd87c9795b Bug 827311 - Remote file update notifications. r=bent a=blocking-basecamp 2013-01-09 07:03:28 -08: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
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
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
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
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
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
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
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
7cc62379d6 Bug 786922 - Device Storage - use a properties file instead of the mime service. r=bent 2012-09-05 14:30:36 -07: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
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
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
98d1923ea5 Bug 782354 - seperate sharing state from unavailable state in onchange notification. r=sicking 2012-08-14 08:53:44 -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
William Chen
16866a115c Bug 775377 - Modify nsIContentPermissionRequest to use nsIPrincipal instead of nsIURI. r=dougt+cjones 2012-07-30 10:58:26 -04:00