Eden Chuang
2d9177ec18
Bug 1091544 - Set volume as STATE_MOUNT_FAIL while mounting the volume failed, r=dhylands.
2015-01-12 12:01:07 +08:00
CHUANG CHENYU
b43c0867f5
Bug 1033952 - Implement "Removable" and "HotSwappable" APIs for device storage. r=dhylands, r=bzbarsky
2014-12-22 10:33:33 +08:00
Botond Ballo
81a74c44a2
Bug 1073081 - Fix warnings about macro redefinitions by #undef'ing macros. r=ehsan
...
--HG--
extra : source : 13df0150da382d9d64f7739a29673509b493ba64
2014-12-10 18:26:55 -05:00
Dave Hylands
0d5981c902
Bug 1085743 - MTP doesn't work on Nexus 4/5. r=alchen
2014-11-13 17:42:38 -08:00
Eden Chuang
f0a4891930
Bug 1074590 - Adding volume accessbility checking before set it as mounted. r=dhylands
2014-10-31 10:30:48 +08:00
Alphan Chen
5c19f02e1f
Bug 1060196 - Mark the volume as if we've started unmounting. r=dhylands
2014-09-22 11:42:33 +08:00
Birunthan Mohanathas
ff8ce9bd42
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Alan Huang
dbb6bb4e64
Bug 971612 - Implement "mount" and "unmount" API for device storage. r=dhylands
2014-03-04 19:24:19 +08:00
Alan Huang
6381088980
Bug 841660 - Implement format interface for volume-based device storage, r=dhylands
2013-09-06 14:11:58 +08:00
Dave Hylands
2ea5e22f1c
Bug 928558 - AutoMounter mark volumes as shared a bit early when open files are detected. r=qDot
2013-10-18 20:21:52 -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
Dave Hylands
26afd0413c
Bug 898634 - Add some logging for volumes created via volume.cfg. r=jwwang
2013-07-29 16:41:07 -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
JW Wang
18bc5860c7
Bug 865347 - Add functions to manipulate fake volumes to test SD card insert/remove. r=dhylands
2013-07-09 14:37:47 +08:00
Ryan VanderMeulen
327c24c216
Backed out changesets d76274933db8 and dd3cedcdbe2b (bug 865347) to see if it fixes the Marionette timeouts.
2013-07-09 14:21:02 -04:00
JW Wang
f4a05c166b
Bug 865347 - Add functions to manipulate fake volumes to test SD card insert/remove. r=dhylands
2013-07-09 14:37:47 +08:00
Dave Hylands
e4a7ab928e
Bug 838038 - Pt 1 - Make volumes available to child processes. r=dougt
2013-04-02 12:52:17 -07:00
Dave Hylands
4c53a55f59
Bug 835408 - nsVolume NameStr and MountPointStr noe return nsCString rather than ptr to freed memory. r=jlebar
2013-01-28 14:34:30 -08:00
Dave Hylands
c73c4fb662
Bug 785124 - Pt 5 - Add extra asserts. r=dougt
2013-01-07 17:43:02 +01:00
Dave Hylands
3d4c942e73
Bug 785124 - Pt 4 - Whitespace only change. Change "type &var" to "type& var" and ptrs. r=dougt
2013-01-07 17:43:02 +01:00
Dave Hylands
e9207164c6
Bug 785124 - Pt 1 - Add VolumeMountLock which allows SDCard to be locked. r=dougt
...
From 8e39b8e5f3ab7e6344b0a8a5eeabdcf672de8fb4 Mon Sep 17 00:00:00 2001
---
dom/ipc/ContentChild.cpp | 18 +++-
dom/ipc/ContentChild.h | 5 +-
dom/ipc/ContentParent.cpp | 22 +++-
dom/ipc/ContentParent.h | 2 +
dom/ipc/PContent.ipdl | 6 +-
dom/system/gonk/AutoMounter.cpp | 19 +++-
dom/system/gonk/Makefile.in | 4 +-
dom/system/gonk/Volume.cpp | 62 ++++++++++-
dom/system/gonk/Volume.h | 11 +-
dom/system/gonk/VolumeServiceIOThread.cpp | 11 +-
dom/system/gonk/VolumeServiceIOThread.h | 7 +-
dom/system/gonk/nsIVolume.idl | 21 +++-
dom/system/gonk/nsIVolumeMountLock.idl | 12 +++
dom/system/gonk/nsIVolumeService.idl | 9 +-
dom/system/gonk/nsVolume.cpp | 96 ++++++++++++++++-
dom/system/gonk/nsVolume.h | 43 ++++++--
dom/system/gonk/nsVolumeMountLock.cpp | 157 +++++++++++++++++++++++++++
dom/system/gonk/nsVolumeMountLock.h | 55 ++++++++++
dom/system/gonk/nsVolumeService.cpp | 168 +++++++++++++++++++++++------
dom/system/gonk/nsVolumeService.h | 20 +++-
layout/build/nsLayoutModule.cpp | 5 +-
layout/build/nsLayoutStatics.cpp | 9 ++
22 files changed, 684 insertions(+), 78 deletions(-)
create mode 100644 dom/system/gonk/nsIVolumeMountLock.idl
create mode 100644 dom/system/gonk/nsVolumeMountLock.cpp
create mode 100644 dom/system/gonk/nsVolumeMountLock.h
2012-12-14 16:01:34 -08:00
Phil Ringnalda
ed9b0b2817
Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests
2013-01-07 22:59:32 -08:00
Dave Hylands
a09ec02d75
Bug 785124 - Pt 5 - Add extra asserts. r=dougt
2013-01-07 17:43:02 +01:00
Dave Hylands
2c40d02886
Bug 785124 - Pt 4 - Whitespace only change. Change "type &var" to "type& var" and ptrs. r=dougt
2013-01-07 17:43:02 +01:00
Dave Hylands
782c100040
Bug 785124 - Pt 1 - Add VolumeMountLock which allows SDCard to be locked. r=dougt
...
From 8e39b8e5f3ab7e6344b0a8a5eeabdcf672de8fb4 Mon Sep 17 00:00:00 2001
---
dom/ipc/ContentChild.cpp | 18 +++-
dom/ipc/ContentChild.h | 5 +-
dom/ipc/ContentParent.cpp | 22 +++-
dom/ipc/ContentParent.h | 2 +
dom/ipc/PContent.ipdl | 6 +-
dom/system/gonk/AutoMounter.cpp | 19 +++-
dom/system/gonk/Makefile.in | 4 +-
dom/system/gonk/Volume.cpp | 62 ++++++++++-
dom/system/gonk/Volume.h | 11 +-
dom/system/gonk/VolumeServiceIOThread.cpp | 11 +-
dom/system/gonk/VolumeServiceIOThread.h | 7 +-
dom/system/gonk/nsIVolume.idl | 21 +++-
dom/system/gonk/nsIVolumeMountLock.idl | 12 +++
dom/system/gonk/nsIVolumeService.idl | 9 +-
dom/system/gonk/nsVolume.cpp | 96 ++++++++++++++++-
dom/system/gonk/nsVolume.h | 43 ++++++--
dom/system/gonk/nsVolumeMountLock.cpp | 157 +++++++++++++++++++++++++++
dom/system/gonk/nsVolumeMountLock.h | 55 ++++++++++
dom/system/gonk/nsVolumeService.cpp | 168 +++++++++++++++++++++++------
dom/system/gonk/nsVolumeService.h | 20 +++-
layout/build/nsLayoutModule.cpp | 5 +-
layout/build/nsLayoutStatics.cpp | 9 ++
22 files changed, 684 insertions(+), 78 deletions(-)
create mode 100644 dom/system/gonk/nsIVolumeMountLock.idl
create mode 100644 dom/system/gonk/nsVolumeMountLock.cpp
create mode 100644 dom/system/gonk/nsVolumeMountLock.h
2012-12-14 16:01:34 -08:00
Ehsan Akhgari
0fd9123eac
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
Dave Hylands
ce22d98603
Bug 780693 - IPC VolumeManager on Gonk. r=bent
2012-08-03 16:48:58 -07:00
Joshua Cranmer
4b8f318e78
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
Dave Hylands
5845e0f261
Bug 766324 - Add a volume IDL to make volumes scriptable r=qdot
2012-07-16 12:38:18 -04:00