Commit Graph

2920 Commits

Author SHA1 Message Date
Gabriele Svelto
4dfafe74a7 Bug 1284535 - Remove dependencies to the mozApps-related APIs from the audio channel code r=gsvelto
MozReview-Commit-ID: 9XKMKBkvlfR

--HG--
extra : rebase_source : f08a164c052e996c0aad2cd770ff0ba786596d14
2016-04-14 15:19:41 +02:00
Thomas Zimmermann
97a43c0b93 Bug 1276927: Define HAVE_ANDROID_OS before including 'android_filesystem_config.h', r=fabrice
The preprocessor token HAVE_ANDROID_OS configures 'android_filesystem_config.h'
to include the correct header files from the environment.

MozReview-Commit-ID: oKwdjzDjij
2016-06-16 08:43:51 +01:00
Sebastian Hengst
bb691db120 Backed out changeset b6c190b08824 (bug 1276927) 2016-06-15 12:23:52 +02:00
Thomas Zimmermann
565a7b74dc Bug 1276927: Define HAVE_ANDROID_OS before including 'android_filesystem_config.h', r=fabrice
The preprocessor token HAVE_ANDROID_OS configures 'android_filesystem_config.h'
to include the correct header files from the environment.

MozReview-Commit-ID: oKwdjzDjij
2016-06-15 10:59:49 +01:00
Jonathan Watt
b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
huangwenjun
4777021274 Bug 1277427 - DOM: Fix consts missing for splice. r=Yoric
---
 dom/system/OSFileConstants.cpp | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
2016-06-02 23:28:36 +08:00
Carsten "Tomcat" Book
b2625e3d98 Backed out changeset cd31d578be58 (bug 1277427) for bustage on a CLOSED TREE 2016-06-02 10:14:05 +02:00
huangwenjun
cf0bac2734 Bug 1277427 - DOM: Fix constants missing for splice. r=Yoric
---
 dom/system/OSFileConstants.cpp | 6 ++++++
 1 file changed, 6 insertions(+)
2016-06-02 15:37:31 +08:00
Kris Maglione
0b7af888d8 Bug 1269501: Part 3 - Add new Subprocess IPC module. r=aswan r=mhowell rs=bsmedberg
MozReview-Commit-ID: 6vl5xBTBXiF

--HG--
extra : rebase_source : 8b4f6a89704130f1b8cafd625f549443ed97e59c
extra : source : 6438b11898cf5775f446ac0ddcf13f9e8506b26a
2016-05-29 17:15:47 -07:00
Kris Maglione
e1323f77d2 Bug 1269501: Part 2 - Add additional libc constants to OS.Constants.libc. r=aswan
MozReview-Commit-ID: H7t3lUvKfY

--HG--
extra : rebase_source : d31542d2798c7d6300263db658e00da927184031
extra : source : 1cbbf940ec35031f3ac435dcef16a0ca5f5a7fc7
2016-05-08 20:34:48 -07:00
Sebastian Hengst
cf6ad4521e Backed out 5 changesets (bug 1269501) for failing the added test_subprocess.js on Windows (didn't fold it into the last backout). r=backout
Backed out changeset 3e1d7c5d1a58 (bug 1269501)
Backed out changeset 167e407cb1fc (bug 1269501)
Backed out changeset 6438b11898cf (bug 1269501)
Backed out changeset 1cbbf940ec35 (bug 1269501)
Backed out changeset ed35c5f4d756 (bug 1269501)
2016-05-28 12:38:25 +02:00
Kris Maglione
f20c321efc Bug 1269501: Follow-up: Fix build error on Android. r=bustage
MozReview-Commit-ID: EmB0vjvLPzu
2016-05-27 12:43:39 -07:00
Kris Maglione
1f20564e4e Bug 1269501: Part 2 - Add additional libc constants to OS.Constants.libc. r=aswan
MozReview-Commit-ID: H7t3lUvKfY

--HG--
extra : rebase_source : bcbf14796fcaa31097273df81d64173e824bb45e
2016-05-08 20:34:48 -07:00
Gijs Kruitbosch
29525495be Bug 1272414 - rip out qemu/browser/b2g flags from marionette manifests, r=AutomatedTester
MozReview-Commit-ID: 9RjGgykh0pR

--HG--
extra : rebase_source : a5bc5e888cc24e05fb4b5843c3738aa5456aea80
2016-05-19 17:23:26 +01:00
Alexandre Lissy
20b739aeda Bug 1273520 - NS_NewRunnable* renaming and include task.h r=fabrice
MozReview-Commit-ID: BcAboKGMr3a

--HG--
extra : rebase_source : 6c5050527d8dffbce4a5e867bd48254a1041e657
2016-05-18 18:25:35 +02:00
Chris Peterson
8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Christoph Kerschbaumer
0b2788ba18 Bug 1269264 - Remove SEC_NORMAL from test_ril_code_quality.py (r=sicking) 2016-05-08 20:06:37 +02:00
Thomas Zimmermann
42c137c01d Bug 1268432: Replace |Task| with |Runnable| in B2G code r=fabrice
This patch converts the remaining B2G code from |Task| to |Runnable| and
fixes related API calls. This is a follow-up to bug 1266595.
2016-05-02 10:27:15 -07:00
Gregor Wagner
acecad8f82 Bug 1267577 - Move nsRunnable to mozilla::Runnable. r=gsvelto 2016-04-27 12:05:40 +02:00
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Andreas Farre
0e034dd210 Bug 1262557 Correct misspelled comment r=jdm
MozReview-Commit-ID: 7snyvtPltty

--HG--
extra : transplant_source : 6%80%BE%7C%05%5Evi%0C%01%02%1EL%18E%25%01%01%12%98
2016-04-06 14:22:14 -04:00
James Willcox
0391aa89f2 Bug 1222098 - Devicemotion event timestamp should return values from Android sensor API and not Gecko. r:smaug 2016-04-04 12:22:59 -05:00
Boris Zbarsky
172598b4e2 Bug 1257335. Replace some AutoSafeJSContext uses with AutoJSAPI or AutoJSContext uses. r=bholley
In general, using an AutoJSAPI inited with an object is NOT the same as using
AutoSafeJSContext (or AutoJSAPI inited without an object) and then entering the
compartment of the object: the former will report exceptions to the global of
the object as it comes off the stack, while the latter will not.  This only
really matters if we have an object from a window or worker global and hence
might fire error events, or report internal stuff to the web console.

The changes to initing with an object made in this bug are OK for the following
reasons:

1) dom/base/Console.cpp: Always clears its exception before coming off the stack.
2) dom/base/nsDOMClassInfo.cpp: Inits with a non-web global.
3) dom/base/nsFrameMessageManager.cpp: Inits with a non-web global.
4) dom/media/MediaPermissionGonk.cpp: We probably want the caller to notice if
   anything here throws.
5) dom/xbl/nsXBLPrototypeBinding.cpp: Inits with a non-web global.
6) dom/xul/nsXULElement.cpp: Inits with a non-web global.
7) extensions/pref/autoconfig/src/nsJSConfigTriggers.cpp: Inits with a non-web global.
8) ipc/testshell/XPCShellEnvironment.cpp: Inits with a non-web global.
2016-03-18 10:48:38 -04:00
Boris Zbarsky
2ce6bc7ebf Bug 1255172. Fix unsafe reference gc hazards people snuck into DOM code. r=bkelly 2016-03-10 18:07:28 -05:00
Sotaro Ikeda
0c08312576 Bug 1249437 - Remove workaround of volume control r=alwu 2016-03-09 15:34:07 -08:00
Ms2ger
0a30447a70 Bug 908038 - Move worker_buf.js installation into moz.build; r=mshal 2016-03-07 17:00:49 +01:00
Doug Turner
1a1dd4f3c7 Bug 1253159 - Remove locationUpdatePending and restore request timeout. r=jdm 2016-03-02 21:48:00 -05:00
Gabriele Svelto
37f3999f8b Bug 1253571 - Remove the remaining uses of ScopedDeletePtr and ScopedFreePtr from the HAL and MTP code r=dhylands 2016-03-04 15:15:38 +01:00
sakshi
1af0b67296 Bug 1197311 - Remove PR_snprintf calls in dom/ r=froydnj 2016-02-17 14:23:39 -05:00
Victor Ng
adc97d0666 Bug 1247410 - "test for _nomap ids does not work correctly". r=dougt 2016-02-11 06:23:00 +01:00
Olli Pettay
bdb1f6d5c6 Bug 1197901, ensure sensor events dispatching follows the becoming spec change, r=bz
--HG--
extra : rebase_source : e44c3e357194067ddae10e8b19ee045fb39d36d6
2016-02-24 19:43:07 +02:00
Liang-Heng Chen
2c217d4b31 Bug 1000040 - Part 2: Implement EthernetManager; r=vicamo 2016-02-19 16:06:29 +08:00
Liang-Heng Chen
41688cd177 Bug 1000040 - Part 1: Add required APIs for Ethernet; r=vicamo,bholley 2016-02-19 16:06:21 +08:00
Thomas Zimmermann
244e0a0d24 Bug 1245100: Include missing headers in SystemProperty.cpp, r=edgar 2016-02-03 09:52:24 +01:00
Thomas Zimmermann
39dc0e86ec Bug 1245093: Explictly refer to |class ResponseCode| in global namespace, r=dhylands
|VolumeResponseCallback::ResponseCode| shadows the type |ResponseCode|. This
patch changes all affected places to refer explicitly to the |ResponseCode|
type in the global namespace.
2016-02-03 09:51:49 +01:00
Fernando Jimenez
1965b03276 Bug 1245033 - Build break in dom/system/gonk/GonkGPSGeolocationProvider.cpp:541:126: error: format '%d' expects argument of type 'int', but argument 5 has type 'nsresult'. r=fabrice 2016-02-02 01:53:21 -08:00
Kyle Huey
91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Arthur Edelstein
04d80f24bc Bug 1237831 - Update GonkGPSGeolocationProvider.cpp to use B2G-style. r=jst
--HG--
extra : amend_source : be22508ad54255c58a9a7d09ac2475c0eb75bd68
2016-01-04 09:46:17 -08:00
Carsten "Tomcat" Book
09f5bc4670 Backed out changeset f7e6d241e103 (bug 1237831) 2016-01-28 17:03:25 +01:00
Arthur Edelstein
14644ccf2b Bug 1237831 - Update GonkGPSGeolocationProvider.cpp to use B2G-style. r=jst
From 735d634f21a9e9317dd90c24806f42eb11e999d0 Mon Sep 17 00:00:00 2001
 logging
---
 dom/system/gonk/GonkGPSGeolocationProvider.cpp | 48 +++++++++++++-------------
 1 file changed, 24 insertions(+), 24 deletions(-)

--HG--
extra : rebase_source : d25154abc42023833226a60ea167523326d52aa5
2016-01-04 09:46:17 -08:00
Eugen Sawin
e8d1a957e9 Bug 1205649 - [2.4] Add AbsoluteDeviceOrientation DOM event for compass heading orientation data. r=smaug 2016-01-21 18:14:33 +01:00
Eugen Sawin
a1f5f13b6b Bug 1205649 - [1.1] Use relative orientation for DOM DeviceOrientation events by default. r=vlad 2016-01-21 18:14:33 +01:00
Edgar Chen
782fe3dd3f Bug 1239906 - Deprecate nsIRadioInterfaceLayer.getClientIdForEmergencyCall(). r=bevis 2015-10-24 19:57:20 +08:00
Bevis Tseng
9670cbea5b Bug 1236433 - Part 2: Adopt Wrapper in Network Utilities; r=edgar
--HG--
extra : transplant_source : %EC%8B%3C%1C%8C%D49%5B%C5%CB%2BMf%0F%CC%86%FB%0C%A0%BE
2016-01-07 19:02:41 +08:00
Bevis Tseng
f4f2ecb435 Bug 1236433 - Part 1: Provide a Native Wrapper to Allow Fallback When property_get/set is Unavailable; r=edgar
--HG--
extra : transplant_source : %C6%CB%B7%0A%E5%A02%89%B8%A6%EB%14%0F%D5%F4%04%15%DC/%DE
2016-01-07 18:40:19 +08:00
Eugen Sawin
c927fec54a Bug 1073224 - [1.2] Use SENSOR_ROTATION_VECTOR for DOM DeviceOrientation events on Android. r=vlad 2016-01-07 15:23:33 +01:00
Bevis Tseng
7143de3fad Bug 1235697 - Part 2: Add Test Coverage. r=echen 2015-12-30 18:02:27 +08:00
Bevis Tseng
deba473a2f Bug 1235697 - Part 1: Workaround to Suppress the CB Message according to the settings. r=echen 2015-12-30 18:00:57 +08:00
Bevis Tseng
bfa7146bb5 Bug 1235110 - Part 2: Add Test Coverage. r=echen 2015-12-30 16:22:21 +08:00
Bevis Tseng
2adeb42787 Bug 1235110 - Part 1: Forbid the DATA DOWNLOAD message to be delivered to the App layer. r=echen 2015-12-30 16:19:28 +08:00
ywu
0a79595e4f Bug 1222899 - Handle geolocation-device-events callback. r=kchen
During this GPS engine is turned ON by the modem,
we make the location tracking icon visible to user.

--HG--
extra : commitid : a8t4t12RtC
2015-12-26 13:39:42 -05:00
Sotaro Ikeda
0c72c57ef8 Bug 1218629 - Save audio volume for each device to setting db r=alwu 2015-12-23 23:31:34 -08:00
Andrea Marchesini
52e65f89d8 Bug 1214148 - patch 1 - propagation from the nested iframe back to the toplevel iframe, r=alwu 2015-12-11 11:17:33 -05:00
Carsten "Tomcat" Book
cccfedda81 Backed out changeset afe3d65b74b6 (bug 1214148) on developers request for causing regressions 2015-12-15 14:45:06 +01:00
Sotaro Ikeda
3b7e8e6d1e Bug 1229234 - Enable audio_is_output_device() on ICS r=alwu 2015-12-13 18:13:02 -08:00
Andrea Marchesini
7271d1d622 Bug 1214148 - patch 1 - propagation from the nested iframe back to the toplevel iframe, r=alwu 2015-12-11 11:17:33 -05:00
Phil Ringnalda
631f58c4f9 Back out 3 changesets (bug 1214148) for b2g test_browserElement_inproc_AudioPlayback.html, test_browserElement_oop_AudioChannel.html, etc. failures
CLOSED TREE

Backed out changeset e716d9ac93d7 (bug 1214148)
Backed out changeset 5f693237c8c1 (bug 1214148)
Backed out changeset 3a4865d79416 (bug 1214148)
2015-12-09 18:19:33 -08:00
Andrea Marchesini
4ddcd9bade Bug 1214148 - patch 2 - from toplevel iframe to the nested iframe, r=alwu 2015-12-09 16:46:25 -05:00
Chris Peterson
46bb7c80dd Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc
--HG--
extra : rebase_source : 4ab2c4a917ea90055e48bd6adcb53904f2266ee0
2015-11-27 20:49:55 -08:00
Nathan Froyd
c381a6b86c Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
Wes Kocher
fcb2a5060a Merge b2ginbound to central, a=merge
--HG--
extra : commitid : DY49ZjkFuGD
2015-11-24 16:52:38 -08:00
Tim Huang
6f05771bd9 Bug 1225549 - Modify the data type of mThreshold of NetworkParams to long long from long. r=ettseng 2015-11-18 18:14:00 +01:00
sajitk
5fb2c53074 Bug 1219478: Replace PRLogModuleInfo usage with LazyLogModule in dom folders except media.r=amerchesini 2015-11-23 11:09:25 -08:00
Sotaro Ikeda
55a91fd749 Bug 1226483 - Add ASSERT check to AudioManager::SelectDeviceFromDevices() r=alwu 2015-11-20 03:19:28 -08:00
Wes Kocher
c4f40f5dfc Merge inbound to m-c a=merge
--HG--
extra : commitid : 8FO2ow49CX2
2015-11-16 17:20:42 -08:00
Bevis Tseng
e8573be274 Bug 1110619 - Part 2: Implementation Changes. r=echen
--HG--
extra : rebase_source : 1b6e744494e8831826d45fef5ec4a48ffdc8841c
2015-11-10 15:30:48 +08:00
Carsten "Tomcat" Book
8743590ed8 Merge mozilla-central to b2g-inbound 2015-11-13 14:39:48 +01:00
Kyle Huey
bdbb2ec50a Bug 1224061: Make Event::InitEvent infallible. r=smaug 2015-11-13 08:09:42 +08:00
Tim Huang
ba40c16470 Bug 1209654 - Modify the type of the threshold of addAlarm() and getAllAlarms() to long long from long, and add test cases. r=ettseng, r=bz 2015-11-12 19:01:00 +01:00
Andrea Marchesini
a14ba13b57 Bug 1223734 - AudioChannelService should not be re-initialized after the XPCOM shutdown, r=smaug 2015-11-16 17:34:52 +00:00
Sotaro Ikeda
c7090ef533 Bug 1222564 - Save audio volume to database r=alwu 2015-11-10 04:28:03 -08:00
Mike Hommey
4d40edea15 Bug 1221453 - Use AbsolutePaths with LOCAL_INCLUDES instead of manual -I in CXXFLAGS. r=gps 2015-11-06 09:59:21 +09:00
Bevis Tseng
6e206dd83d Bug 1218721 - Part 2 - Improve Test Coverage. r=echen 2015-10-30 20:24:02 +08:00
Bevis Tseng
384a0baa63 Bug 1218721 - Part 1 - Always Insert Name/Number when Providing IccContact Response. r=echen 2015-10-30 20:22:07 +08:00
Wes Kocher
5c6d443c92 Merge inbound to central, a=merge
--HG--
extra : commitid : 9CmKkEXHeLM
2015-10-28 17:00:22 -07:00
Samael Wang
e1d9c4438f Bug 1209892 - Add marionette test case for timezone. r=edgar
--HG--
extra : amend_source : 7094dd7c0c7509795c9c645f6ccd7aea73fc2944
2015-10-27 15:41:07 +08:00
Sotaro Ikeda
b65eb854ff Bug 1196724 - Refactoring of AudioManager r=alwu 2015-10-28 07:11:05 -07:00
Birunthan Mohanathas
44936aabb2 Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Kyle Huey
c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Wes Kocher
5ba2dcfe5c Merge b2ginbound to central, a=merge 2015-10-22 16:50:22 -07:00
Jessica Jong
a491be2740 Bug 1216853 - B2G RIL: chain promises properly in test_network_interface_mtu.js. r=echen
--HG--
extra : commitid : DZYnCt3L5zo
2015-10-22 15:43:48 +08:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Carsten "Tomcat" Book
15c4d32dd7 merge mozilla-inbound to mozilla-central a=merge 2015-10-16 13:17:56 +02:00
Dave Hylands
019bf5ec06 Bug 1177374 - Call realpath on volume mount points so thatVolumeService::GetVolumeByPath works properly. r=achen 2015-10-15 11:42:10 -07:00
Jessica Jong
94ae9b0eda Bug 1214518 - B2G RIL: wait for emulator pending command before calling finish(). r=echen
--HG--
extra : commitid : KD3dGA1IRve
2015-10-15 10:51:14 +08:00
Dave Hylands
5b06270c15 Bug 1205028 - Don't tell MTP server about files that it added/modified. r=alchen
With this patch, we introduce mtp-watcher-notify, used to tell device storage
about new files added by MTP, and mtp-watcher-update, used to tell MTP about
device storage changes.

By using 2 new messages, rather than trying to reuse file-watcher-notify and
file-watcher-update, we prevent update "loops".
2015-10-13 15:35:11 -07:00
Edgar Chen
399862a3ac Bug 1213547 - [Cellbroadcast] Split test_ril_worker_cellbroadcast.js into smaller tests. r=btseng
--HG--
rename : dom/system/gonk/tests/test_ril_worker_cellbroadcast.js => dom/system/gonk/tests/test_ril_worker_cellbroadcast_gsm.js
extra : commitid : EHNXJp6TDAd
extra : rebase_source : 49f00c3248161656fe96a3f078c565c9f51a7c44
2015-10-10 12:05:38 +08:00
Tom Schuster
2dd52c790d Bug 980945 - Followup: Fix b2g test on CLOSED TREE. r=tree-fairy 2015-10-15 19:23:11 +02:00
Tooru Fujisawa
24ab66bc98 Bug 1217093 - Remove for-each from dom/. r=smaug
--HG--
extra : commitid : DcjxshJqlKg
extra : rebase_source : 23bc9a985f1e6d13e13837e31bb9b88b9be24d55
2015-10-19 02:00:50 +09:00
Andrew McCreight
0ff7248107 Bug 1210517 - Create nsVariant directly rather than via do_CreateInstance(). r=froydnj
The goal here is to leave creation stuff mostly for JS, so we can
convert it entirely over to a non-threadsafe cycle-collected version
without breaking any existing C++ users.

I didn't do this for a remaining use in nsGlobalWindow.h to avoid
including nsVariant.h all over the place.
2015-10-07 08:17:42 -07:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Carsten "Tomcat" Book
f11b039d32 Merge m-c to b2g-i on a CLOSED TREE 2015-10-05 13:55:18 +02:00
XiaoLe Sun
c9bc7571c0 Bug 1187262 - Let the flag 'Services.io.offline' reference the state of tethering. r=jjong 2015-10-05 09:59:08 +08:00
Phil Ringnalda
93999bd66d Bug 1207936 - Disable test_ril_worker_cellbroadcast.js for constant timeouts 2015-10-04 18:35:12 -07:00
Alastor Wu
4c8b8db1c6 Bug 1196358 - update volume setting to database when the volume changing. r=sotaro.
--HG--
extra : transplant_source : %F7%C4%E9b0%23%91e%88p%A7_2%14D.%88J%7E%FE
2015-09-30 16:14:59 +08:00
Carsten "Tomcat" Book
363e40e298 merge mozilla-inbound to mozilla-central a=merge 2015-09-28 14:13:24 +02:00
Dave Hylands
dfe7f73d62 Bug 1195166 - AutoMounter: add ignore command to allow volumes to be ignored. r=alchen
--HG--
extra : amend_source : f1f8c08429d8ca614c6c936dc8b20ab227eaac99
2015-09-25 13:23:32 -07:00
Wes Kocher
40f2f82907 Merge m-c to inbound, a=merge 2015-09-25 18:02:38 -07:00
Hayden Huang
997857d190 Bug 1175447 - mono audio support. r=padenot, r=sotaro
This patch is to enable mono audio option for those who has full hearing loss in one ear.
With this feature, they can get the complete audio with using one ear.

--HG--
extra : transplant_source : %EC%27%97%1Ai%0D%E3%BC%D0%12%97-K%0Ek%BD%8A%C8%A9%85
2015-08-06 14:30:22 +08:00
Sotaro Ikeda
26362a68bd Bug 1208155 - Make hal functions explicit in AudioManager r=alwu 2015-09-25 04:56:28 -07:00
Garvan Keeley
20b7d96d1c Bug 1207266 - turn off b2g stumbler if no RIL. r=jdm 2015-09-24 01:29:47 -04:00
Wes Kocher
0625b82581 Merge b2ginbound to central, a=merge CLOSED TREE 2015-09-23 13:18:17 -07:00
Carsten "Tomcat" Book
d1ec083e7e Backed out 1 changesets (bug 1196358) for causing test failures in test_settings_service.xul
Backed out changeset a2e4fa843ae5 (bug 1196358)
2015-09-23 12:09:29 +02:00
Alastor Wu
ef1434ba9e Bug 1196358 - update volume setting to database when the volume changing. r=sotaro
--HG--
extra : rebase_source : 72ba871c7012c9817df2516c061ffa874605208c
2015-09-22 11:24:31 +08:00
Jessica Jong
501dddb517 Bug 1174998 - Part 4: Test cases for network interface's MTU. r=echen
--HG--
extra : commitid : LUMCyzwMO8c
2015-09-23 15:35:34 +08:00
Jessica Jong
3e46f04257 Bug 1174998 - Part 3: Read data call's MTU from network/apn settings. r=echen
--HG--
extra : commitid : Fa5T0Y4cD12
2015-09-23 15:35:32 +08:00
Jessica Jong
6d44b27f12 Bug 1174998 - Part 2: Set MTU for connected network interfaces. r=echen
--HG--
extra : commitid : Py0xGFk3tb
2015-09-23 15:35:31 +08:00
Jessica Jong
74cd4ce044 Bug 1174998 - Part 1: add setMtu() support in NetworkService. r=echen,smaug
--HG--
extra : commitid : HTYjKaoJwgb
2015-09-23 15:35:29 +08:00
Andrea Marchesini
5bd948cce6 Bug 1167465 - Exposing Allowed Audio Channels in System App's Window, r=alwu, r=fabrice 2015-09-23 08:12:52 +01:00
Chris Peterson
71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Sotaro Ikeda
f947a303a8 Bug 1206212 - Remove AUDIO_STREAM_FM after KK r=alwu 2015-09-21 17:43:41 -07:00
john1984
1348a3cf3f Bug 1122376 - Support write SIM contact dialling number exceed 20 digits. r=echen 2015-09-20 19:57:00 +02:00
John Dai
c288c4bd19 Bug 1122376 - Support read SIM contact dialling number exceed 20 digits. r=echen 2015-09-20 19:48:00 +02:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
John Dai
47a53d2e56 Bug 1194149 - Continue importing contacts when there is no sufficient Type 2 USIM contact fields record. r=echen
--HG--
extra : rebase_source : 9428d31a0469c72648348ba9fcc2a70f74d030b2
2015-09-13 23:54:00 +02:00
Dave Hylands
59280e28fd Bug 1188796 - Have MTP record modified timestamps when they're passed. r=alchen
Of the 3 popular host platforms, only Windows properly passes in the
modification timestamp of the file.

Under linux, it passes in an empty string, which then gets passed
to beginSendObject as zero. This patch now treats that as the current
date/time.

Under OSX, the Android FIle Transfer program passes in the date modified
and date created, but sets both of these fields to be the current
date/time and not the times from the files being copied.


Hl: Enter commit message.  Lines beginning with 'HG:' are removed.
2015-09-14 17:38:19 -07:00
Jessica Jong
9a44f07882 Bug 1175817 - [NetworkManager] remove old default routes explicitly. r=echen,smaug
--HG--
extra : commitid : 6xQMx4MoezU
2015-09-11 15:26:58 +08:00
Phil Ringnalda
9565dedf7d Merge m-c to m-i
CLOSED TREE
2015-09-10 15:30:31 -07:00
Jessica Jong
7b68e2f695 Bug 1197667 - [NetworkManager] Part 2: add test case for 'allNetworkInfo'. r=echen
--HG--
extra : commitid : BS7Cl4oJiHM
2015-09-10 14:50:21 +08:00
Jessica Jong
ac34ba9ae5 Bug 1197667 - [NetworkManager] Part 1: add missing implementation for 'allNetworkInfo'. r=echen
--HG--
extra : commitid : 3grnYPdElv
2015-09-10 14:50:19 +08:00
Garvan Keeley
5368b8a344 Bug 1200310 - No need to wifi+cell scan if stumble file is full, just trigger upload. r=jdm 2015-09-08 21:20:57 -04:00
Garvan Keeley
4c80c2ee2f Bug 1200310 - Instead of thread guard flags for 'is stumbling' AND 'is uploading', we can use just one flag. r=jdm 2015-09-08 21:20:56 -04:00
Garvan Keeley
f4cd1eaf78 Bug 1200304 - Move stumbling code from gonkgps to MozStumbler.cpp. r=jdm 2015-09-08 21:20:56 -04:00
Garvan Keeley
2a57d41d3b Bug 1199395 - FxOS Stumbling gzip the stumbles to store more data. r=jdm 2015-09-08 21:20:56 -04:00
Andrea Marchesini
cd4473d62f Bug 1203426 - Rename StructuredCloneIPCHelper to StructuredCloneData, r=smaug
--HG--
rename : dom/ipc/StructuredCloneIPCHelper.cpp => dom/ipc/StructuredCloneData.cpp
rename : dom/ipc/StructuredCloneIPCHelper.h => dom/ipc/StructuredCloneData.h
2015-09-10 21:50:58 +01:00
Alphan Chen
2cb037411f Bug 1154435 - [Stumbler] FxOS Geo Stumbling for Mozilla Location Service. r=jdm 2015-09-03 19:36:00 +02:00
Nicholas Nethercote
f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Ben Tian
f9389ddddf Bug 1193379 - Create dom/bluetooth/common/webapi folder. r=joliu
--HG--
rename : dom/bluetooth/common/BluetoothAdapter.cpp => dom/bluetooth/common/webapi/BluetoothAdapter.cpp
rename : dom/bluetooth/common/BluetoothAdapter.h => dom/bluetooth/common/webapi/BluetoothAdapter.h
rename : dom/bluetooth/common/BluetoothClassOfDevice.cpp => dom/bluetooth/common/webapi/BluetoothClassOfDevice.cpp
rename : dom/bluetooth/common/BluetoothClassOfDevice.h => dom/bluetooth/common/webapi/BluetoothClassOfDevice.h
rename : dom/bluetooth/common/BluetoothDevice.cpp => dom/bluetooth/common/webapi/BluetoothDevice.cpp
rename : dom/bluetooth/common/BluetoothDevice.h => dom/bluetooth/common/webapi/BluetoothDevice.h
rename : dom/bluetooth/common/BluetoothDiscoveryHandle.cpp => dom/bluetooth/common/webapi/BluetoothDiscoveryHandle.cpp
rename : dom/bluetooth/common/BluetoothDiscoveryHandle.h => dom/bluetooth/common/webapi/BluetoothDiscoveryHandle.h
rename : dom/bluetooth/common/BluetoothGatt.cpp => dom/bluetooth/common/webapi/BluetoothGatt.cpp
rename : dom/bluetooth/common/BluetoothGatt.h => dom/bluetooth/common/webapi/BluetoothGatt.h
rename : dom/bluetooth/common/BluetoothGattCharacteristic.cpp => dom/bluetooth/common/webapi/BluetoothGattCharacteristic.cpp
rename : dom/bluetooth/common/BluetoothGattCharacteristic.h => dom/bluetooth/common/webapi/BluetoothGattCharacteristic.h
rename : dom/bluetooth/common/BluetoothGattDescriptor.cpp => dom/bluetooth/common/webapi/BluetoothGattDescriptor.cpp
rename : dom/bluetooth/common/BluetoothGattDescriptor.h => dom/bluetooth/common/webapi/BluetoothGattDescriptor.h
rename : dom/bluetooth/common/BluetoothGattServer.cpp => dom/bluetooth/common/webapi/BluetoothGattServer.cpp
rename : dom/bluetooth/common/BluetoothGattServer.h => dom/bluetooth/common/webapi/BluetoothGattServer.h
rename : dom/bluetooth/common/BluetoothGattService.cpp => dom/bluetooth/common/webapi/BluetoothGattService.cpp
rename : dom/bluetooth/common/BluetoothGattService.h => dom/bluetooth/common/webapi/BluetoothGattService.h
rename : dom/bluetooth/common/BluetoothLeDeviceEvent.cpp => dom/bluetooth/common/webapi/BluetoothLeDeviceEvent.cpp
rename : dom/bluetooth/common/BluetoothLeDeviceEvent.h => dom/bluetooth/common/webapi/BluetoothLeDeviceEvent.h
rename : dom/bluetooth/common/BluetoothManager.cpp => dom/bluetooth/common/webapi/BluetoothManager.cpp
rename : dom/bluetooth/common/BluetoothManager.h => dom/bluetooth/common/webapi/BluetoothManager.h
rename : dom/bluetooth/common/BluetoothPairingHandle.cpp => dom/bluetooth/common/webapi/BluetoothPairingHandle.cpp
rename : dom/bluetooth/common/BluetoothPairingHandle.h => dom/bluetooth/common/webapi/BluetoothPairingHandle.h
rename : dom/bluetooth/common/BluetoothPairingListener.cpp => dom/bluetooth/common/webapi/BluetoothPairingListener.cpp
rename : dom/bluetooth/common/BluetoothPairingListener.h => dom/bluetooth/common/webapi/BluetoothPairingListener.h
rename : dom/bluetooth/common/BluetoothPbapRequestHandle.cpp => dom/bluetooth/common/webapi/BluetoothPbapRequestHandle.cpp
rename : dom/bluetooth/common/BluetoothPbapRequestHandle.h => dom/bluetooth/common/webapi/BluetoothPbapRequestHandle.h
2015-08-21 15:15:41 +08:00
Ben Tian
44c939383c Bug 1193379 - Rename bluetooth2 folder to common. r=joliu
--HG--
rename : dom/bluetooth/bluetooth2/BluetoothAdapter.cpp => dom/bluetooth/common/BluetoothAdapter.cpp
rename : dom/bluetooth/bluetooth2/BluetoothAdapter.h => dom/bluetooth/common/BluetoothAdapter.h
rename : dom/bluetooth/bluetooth2/BluetoothClassOfDevice.cpp => dom/bluetooth/common/BluetoothClassOfDevice.cpp
rename : dom/bluetooth/bluetooth2/BluetoothClassOfDevice.h => dom/bluetooth/common/BluetoothClassOfDevice.h
rename : dom/bluetooth/bluetooth2/BluetoothDevice.cpp => dom/bluetooth/common/BluetoothDevice.cpp
rename : dom/bluetooth/bluetooth2/BluetoothDevice.h => dom/bluetooth/common/BluetoothDevice.h
rename : dom/bluetooth/bluetooth2/BluetoothDiscoveryHandle.cpp => dom/bluetooth/common/BluetoothDiscoveryHandle.cpp
rename : dom/bluetooth/bluetooth2/BluetoothDiscoveryHandle.h => dom/bluetooth/common/BluetoothDiscoveryHandle.h
rename : dom/bluetooth/bluetooth2/BluetoothGatt.cpp => dom/bluetooth/common/BluetoothGatt.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGatt.h => dom/bluetooth/common/BluetoothGatt.h
rename : dom/bluetooth/bluetooth2/BluetoothGattCharacteristic.cpp => dom/bluetooth/common/BluetoothGattCharacteristic.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGattCharacteristic.h => dom/bluetooth/common/BluetoothGattCharacteristic.h
rename : dom/bluetooth/bluetooth2/BluetoothGattDescriptor.cpp => dom/bluetooth/common/BluetoothGattDescriptor.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGattDescriptor.h => dom/bluetooth/common/BluetoothGattDescriptor.h
rename : dom/bluetooth/bluetooth2/BluetoothGattServer.cpp => dom/bluetooth/common/BluetoothGattServer.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGattServer.h => dom/bluetooth/common/BluetoothGattServer.h
rename : dom/bluetooth/bluetooth2/BluetoothGattService.cpp => dom/bluetooth/common/BluetoothGattService.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGattService.h => dom/bluetooth/common/BluetoothGattService.h
rename : dom/bluetooth/bluetooth2/BluetoothLeDeviceEvent.cpp => dom/bluetooth/common/BluetoothLeDeviceEvent.cpp
rename : dom/bluetooth/bluetooth2/BluetoothLeDeviceEvent.h => dom/bluetooth/common/BluetoothLeDeviceEvent.h
rename : dom/bluetooth/bluetooth2/BluetoothManager.cpp => dom/bluetooth/common/BluetoothManager.cpp
rename : dom/bluetooth/bluetooth2/BluetoothManager.h => dom/bluetooth/common/BluetoothManager.h
rename : dom/bluetooth/bluetooth2/BluetoothPairingHandle.cpp => dom/bluetooth/common/BluetoothPairingHandle.cpp
rename : dom/bluetooth/bluetooth2/BluetoothPairingHandle.h => dom/bluetooth/common/BluetoothPairingHandle.h
rename : dom/bluetooth/bluetooth2/BluetoothPairingListener.cpp => dom/bluetooth/common/BluetoothPairingListener.cpp
rename : dom/bluetooth/bluetooth2/BluetoothPairingListener.h => dom/bluetooth/common/BluetoothPairingListener.h
rename : dom/bluetooth/bluetooth2/BluetoothProfileController.cpp => dom/bluetooth/common/BluetoothProfileController.cpp
rename : dom/bluetooth/bluetooth2/BluetoothProfileController.h => dom/bluetooth/common/BluetoothProfileController.h
rename : dom/bluetooth/bluetooth2/BluetoothReplyRunnable.cpp => dom/bluetooth/common/BluetoothReplyRunnable.cpp
rename : dom/bluetooth/bluetooth2/BluetoothReplyRunnable.h => dom/bluetooth/common/BluetoothReplyRunnable.h
rename : dom/bluetooth/bluetooth2/BluetoothService.cpp => dom/bluetooth/common/BluetoothService.cpp
rename : dom/bluetooth/bluetooth2/BluetoothService.h => dom/bluetooth/common/BluetoothService.h
2015-08-21 15:19:12 +08:00
Ryan VanderMeulen
d01fa354cb Bug 1197986 - Request a longer timeout for tests that started timing out after increasing the number of B2G debug xpcshell chunks from 2 to 4. 2015-08-25 18:31:35 -04:00
Kan-Ru Chen
7e10d74849 Bug 1197689 - Avoid unnecessary sync IPC in AudioChannelManager ctor. r=baku 2015-08-25 11:23:41 +08:00
Wes Kocher
da63c9c4df Merge m-c to inbound, a=merge 2015-08-21 10:06:54 -07:00
Wes Kocher
9fe7d2dba9 Merge m-c to b2ginbound, a=merge 2015-08-20 12:52:18 -07:00
Andrew Osmond
6280ad44f2 Bug 1166320 - Make volume service safer to use off main thread. r=dhylands 2015-08-20 12:47:23 -04:00
Nick Robson
40e1ba271a Bug 904479 - Added createPromiseWithId() that returns id of resolver r=kanru,nsm
--HG--
extra : rebase_source : 2aae82958670d0154a3cf08bd0e2a80d529e36f3
2015-08-19 14:53:22 -07:00
Michael Layzell
e826e765e4 Bug 1165217 - Use nsIPrincipal instead of nsIURI/appId/inBrowser for nsIQuotaManager, r=janv 2015-08-18 20:24:30 -04:00
Sotaro Ikeda
fbf2a57179 Bug 1194442 - Code clean up of AudioManager r=alwu 2015-08-21 06:28:55 -07:00
Alastor Wu
854989ea1f Bug 1179181 - Store separate volume setting into setting database. r=baku 2015-08-17 19:38:39 +08:00
Jessica Jong
5cda2e630b Bug 1185406 - B2G RIL: Read 'pcscf' and expose it in nsIRilNetworkInfo. r=hsinyi
--HG--
extra : commitid : BYrQSKdJj7U
2015-08-18 09:54:36 +08:00
Ben Tian
a0a229d80d Bug 1192693 - [02] Remove bluetooth1 folder and rename webidl files, r=joliu, r=mrbkap
--HG--
rename : dom/webidl/BluetoothAdapter2.webidl => dom/webidl/BluetoothAdapter.webidl
rename : dom/webidl/BluetoothDevice2.webidl => dom/webidl/BluetoothDevice.webidl
rename : dom/webidl/BluetoothManager2.webidl => dom/webidl/BluetoothManager.webidl
2015-08-17 15:30:34 +08:00
Will Wang
9fd88cded3 Bug 825149 - Support HFP NREC feature. r=shuang 2015-08-10 04:51:00 -04:00
Samael Wang
349090e33d Bug 1187832 - Update ril_worker and corresponding test cases. r=btseng
--HG--
extra : histedit_source : 69b6c55310e85033040550cdc5145a0721d8f27d
2015-08-04 13:58:42 +08:00
Eric Tsai
3f872986d2 Bug 1184822 - Use classId to get provider. r=fabrice 2015-08-06 11:54:14 +08:00
Carsten "Tomcat" Book
dcc3c5d093 Merge mozilla-central to b2g-inbound 2015-08-05 13:40:29 +02:00
Jessica Jong
520881f002 Bug 1156231 - enable data registration recovery. r=hsinyi
--HG--
extra : commitid : 3HrEDw63LLk
2015-08-05 16:29:20 +08:00
Jamin Liu
b346e8685e Bug 1190337 - Log GPS status and SVs status if the 'gDebug_isLoggingEnabled' is true. r=garvank 2015-08-05 14:27:33 +08:00
Birunthan Mohanathas
7315345693 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00