Граф коммитов

3042 Коммитов

Автор SHA1 Сообщение Дата
Igor 175543fda8 Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
Igor a57972337d Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
Sumit Tiwari 823932d68c Bug 1292999 - Replace Iterator() in dom/; r=arai
MozReview-Commit-ID: Ngh6bDGOEZ

--HG--
extra : rebase_source : 9619b7f1f7097b51e8444e62a02a6a39029c8ad8
2016-08-11 22:05:49 -04:00
Alexandre Lissy 54158acc9a Bug 1294463 - Followup 1292892, remove nsContentUtils::RootingCx() r=jandem
MozReview-Commit-ID: 8p8rDw8tG3l
2016-08-11 20:42:53 +02:00
Nicholas Nethercote bab6d17ebf Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_IMETHODIMP F() override;      --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final;         --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...}    --> NS_IMETHOD F() final {...}

Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.

--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
Nicholas Nethercote a54e0fd248 Bug 1295053 (part 9) - Don't use NS_METHOD for dom/ functions. r=froydnj.
These don't need __stdcall on Win32.

--HG--
extra : rebase_source : 93aa569789dab107137c5493d1c86acc6701329b
2016-08-16 12:12:30 +10:00
Nicholas Nethercote e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Carsten "Tomcat" Book 8b6316ec5f Merge mozilla-central to mozilla-inbound 2016-07-22 11:59:06 +02:00
Carsten "Tomcat" Book 336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Thomas Zimmermann e653da5240 Bug 1250922: Add MLS as fallback for gpsd, r=jdm
The Mozilla Location Service is the fallback for gpsd. If no location
information is received from GSP within a few seconds, MLS provides a
position. It will be updated once GPS is ready. If GPS fails, MLS will
take over again until GPS has been restored.
2016-07-22 11:52:09 +02:00
Thomas Zimmermann c0d13a09b6 Bug 1250922: Add gpsd geolocation provider on Linux, r=jdm,glandium
Gpsd is the GPS daemon on Linux. It implements support for a wide range
of GPS receivers. This patch adds support for gpsd to the Geolocation
module.

The build system can now test for libgps, which provides the public
interface to gpsd's functionality. If found, |GpsdLocationProvider|
is added to the build.

MozReview-Commit-ID: 1kBgFdEZePI
2016-07-22 11:52:09 +02:00
Wes Kocher f11c79a662 Merge m-c to inbound, a=merge CLOSED TREE 2016-07-21 15:59:28 -07:00
Jim Chen ce45a595ab Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 13:49:04 -04:00
Carsten "Tomcat" Book bc1b31b01b Merge mozilla-central to autoland 2016-07-21 16:27:58 +02:00
Alexandre Lissy 40f5f73509 Bug 1288367 - Fix XHR Init call in mozstumbler gonk r=tzimmermann
MozReview-Commit-ID: 18UiXXbTo1f

--HG--
extra : rebase_source : 6cf3e42ed66ab00d13f103b493ec0f8f9d6b7de6
2016-07-21 12:43:03 +02:00
Chris Peterson b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Carsten "Tomcat" Book e8bc59a87a Backed out changeset 684888aeee81 (bug 1287946) 2016-07-21 08:07:12 +02:00
Jim Chen 78f67d1f6f Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 00:42:26 -04:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Lee Salzman 0e1e833b40 Bug 1286317 - part 2 - remove Qt widget usage from plugins. r=jrmuizel 2016-07-12 20:28:31 -04:00
Boris Zbarsky 97b0a16147 Bug 1282150 part 4. Have just one way of getting the rooting JSContext, and call it nsContentUtils::RootingCx(). r=bholley 2016-07-07 20:08:26 -04:00
Benjamin Smedberg bf05496a83 Bug 1282866 - remove widget/qt and other supporting QT code, r=dougt. This patch does not remove all of the checks for MOZ_WIDGET_QT (which are dead code), but that will be a followup mentored bug.
MozReview-Commit-ID: EGqHHhCD7vD

--HG--
extra : rebase_source : a4b9593959dd3ba80189db47eabb056ea207490f
extra : amend_source : a744d833693f0fe7adbea961c00bb5fb55a91580
2016-07-07 12:14:25 -04:00
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
Aidin Gharibnavaz 6834863af1 Bug 1177871 - Add a timeout to XHR request of WifiGeoPositionProvider. r=jdm
--HG--
extra : rebase_source : 4a7e66437432bdc07d104ba7ea6db422002e73cf
2015-08-02 08:45:00 -04:00
Ryan VanderMeulen 6c087cd301 Backed out changeset 8010e0cbd228 (bug 1177871) for Windows debug test_geolocation_provider_timeout.js crashes.
CLOSED TREE

--HG--
extra : amend_source : 6f3589ee0d2a0f18438a69c9f1389ae3ee3b8933
extra : histedit_source : ace16abe5f6c53ba91085d15d4c858dd20b2894e
2015-07-31 15:00:12 -04:00
Aidin Gharibnavaz 3909a2ab43 Bug 1177871 - Timeout added to XHR request of WifiGeoPositionProvider. r=jdm
CLOSED TREE

--HG--
extra : histedit_source : a64c486ecc50ac086f1e47dc5a5660690e93d300
2015-07-30 07:01:00 -04:00
Albert Crespell f718e9cb41 Bug 1177236 - Usage alert doesn't work when tethering is enabled. r=ethan 2015-07-24 13:16:02 +02:00
Jessica Jong 11d3d9a5a3 Bug 1167132 - Part 15: [NetworkManager] Move network information into a separate interface (NetworkInterfaceList). r=echen 2015-07-29 02:16:00 -04:00
Jessica Jong c0320e5ec5 Bug 1167132 - Part 11: [NetworkManager] Move network information into a separate interface (Gps). r=kanru 2015-07-29 02:12:00 -04:00
Jessica Jong a6382e8e7e Bug 1167132 - Part 7: [NetworkManager] Move network information into a separate interface (MobileConnection). r=echen 2015-07-22 19:32:00 -04:00
Jessica Jong 6c109160ec Bug 1167132 - Part 6: [NetworkManager] Move network information into a separate interface (RadioInterface). r=echen 2015-07-29 02:06:00 -04:00
Jessica Jong 928b9eed74 Bug 1167132 - Part 5: [NetworkManager] Move network information into a separate interface (Tethering). r=echen 2015-07-29 02:05:00 -04:00
Jessica Jong faef349af0 Bug 1167132 - Part 4: [NetworkManager] Move network information into a separate interface (DataCall). r=echen 2015-07-29 02:04:00 -04:00
Jessica Jong 4814a82ec4 Bug 1167132 - Part 2: [NetworkManager] Move network information into a separate interface (NetworkManager). r=echen 2015-07-29 02:02:00 -04:00
Jessica Jong 83ec6bf570 Bug 1167132 - Part 1: [NetworkManager] Move network information into a separate interface (idl). r=echen 2015-07-29 02:00:00 -04:00
Alastor Wu 9aaea1f8dd Bug 1187195 - Remove all agents with null window. r=baku 2015-07-24 12:29:26 +08:00
Bevis Tseng ddd1dd8283 Bug 1114937 - Part 6: Deprecate RILContentHelper. r=echen 2015-06-16 18:56:38 +08:00
"Anup Allamsetty" 6eb7e62373 Bug 1035097 - Changed the type from 'radio' to 'radioType'. r=jdm 2015-07-21 06:43:00 -04:00
Samael Wang 40be5654be Bug 1043250 - Part 1: Update ril_worker and xpcshell test. r=btseng
ril_worker.js:
- Remove SMSC attribute.
- Rewrite REQUEST_GET_SMSC_ADDRESS function.
- Remove the usage of rilRequestError since it's removed in Bug 991582.

test_ril_worker_smsc_address.js:
- Add a test case for getSmscAddress.

ril_const.js:
- Add more clear comment for CALLED_PARTY_BCD_NPI array.
2015-07-20 14:43:46 +08:00
Jessica Jong 27fcd2e6a8 Bug 1185802 - Part 3: support fota apn type (tests). r=hsinyi
--HG--
extra : commitid : 5cipjsXtfQG
2015-07-24 10:41:29 +08:00
Jessica Jong 1b76db0a26 Bug 1185802 - Part 2: support fota apn type (impl). r=hsinyi
--HG--
extra : commitid : AFRfgLTfJL1
2015-07-24 10:41:15 +08:00
Jessica Jong 8bf60277ba Bug 1185802 - Part 1: support fota apn type (idl). r=hsinyi
--HG--
extra : commitid : GKfkeOkpB7P
2015-07-24 10:41:04 +08:00
Alastor Wu a5596f5a1e Bug 1142933 - New audio channel type for system usages. r=baku
--HG--
extra : histedit_source : e60291f5b488d9e004698a6336456c80200751ab
2015-03-16 12:01:50 +08:00
Chris Peterson b4513d4658 Bug 1185422 - Fix -Wtype-limits warnings-as-errors in gonk/AudioManager.cpp. r=alwu 2015-07-19 21:43:40 -07:00
Edgar Chen 99c5c20af7 Bug 1177146 - [Aries][RIL] Reply from QUERY_AVAILABLE_NETWORKS has extra strings. r=hsinyi 2015-07-07 18:47:45 +08:00
Alastor Wu 0c8e7b7e06 Bug 1170117 - Separate volume control. r=baku 2015-07-17 10:07:37 +08:00
Ryan VanderMeulen a33e05c88c Merge inbound to m-c. a=merge 2015-07-17 10:26:22 -04:00
Thomas Zimmermann 09dca3ba49 Bug 1171994: Separate RIL I/O interfaces, r=htsai
This patch separates the current interface of |RilConsumer| into
two distinct classes. |RilWorker| provides the public interface
and |RilConsumer| provides the internal implementation. Running
|RilConsumer| on a worker thread will be easier this way.
2015-07-17 12:10:01 +02:00
Jan de Mooij bd0285d1bf Bug 1177892 part 6 - Remove UINT_TO_JSVAL. r=evilpie 2015-07-17 11:51:54 +02:00
Edgar Chen 457a0a8ba8 Bug 1159591 - Part 11: Move MMI consts from ril_consts to telephonyService. r=aknow 2015-05-05 19:27:23 +08:00
Edgar Chen 84fc95b7b8 Bug 1159591 - Part 10: Move MMI logic from ril_worker to telephonyService (USSD). r=aknow 2015-04-30 22:45:40 +08:00
Edgar Chen 325672a649 Bug 1159591 - Part 9: Move MMI logic from ril_worker to telephonyService (Call Waiting). r=aknow 2015-04-30 19:58:16 +08:00
Edgar Chen c418ccb595 Bug 1159591 - Part 8: Move MMI logic from ril_worker to telephonyService (Call Barring). r=aknow 2015-04-30 18:58:30 +08:00
Edgar Chen 15938bda0d Bug 1159591 - Part 7: Move MMI logic from ril_worker to telephonyService (Call Barring Password). r=aknow 2015-04-30 12:35:55 +08:00
Edgar Chen 44e620874c Bug 1159591 - Part 6: Move MMI logic from ril_worker to telephonyService (CLIR). r=aknow 2015-04-30 12:20:40 +08:00
Edgar Chen 589822ee96 Bug 1159591 - Part 5: Move MMI logic from ril_worker to telephonyService (CLIP). r=aknow 2015-04-30 10:53:25 +08:00
Edgar Chen 1cc9e83228 Bug 1159591 - Part 4: Move MMI logic from ril_worker to telephonyService (IMEI). r=aknow
--HG--
rename : dom/telephony/test/marionette/test_mmi.js => dom/telephony/test/marionette/test_mmi_imei.js
2015-04-29 23:44:36 +08:00
Edgar Chen 0f7cfd2fb4 Bug 1159591 - Part 3: Move MMI logic from ril_worker to telephonyService (Icc Lock). r=aknow 2015-04-29 18:01:16 +08:00
Edgar Chen 27d1451f7f Bug 1159591 - Part 2: Move MMI logic from ril_worker to telephonyService (Call Forwarding). r=aknow 2015-04-29 15:05:06 +08:00
Ryan VanderMeulen 4e75963b27 Backed out 6 changesets (bug 1171994) for causing smoketest bustage. a=me
Backed out changeset 46061230e77a (bug 1171994)
Backed out changeset ea00769b70df (bug 1171994)
Backed out changeset 2dc847e4650c (bug 1171994)
Backed out changeset 14ec8c87f973 (bug 1171994)
Backed out changeset 31cdbef9fe22 (bug 1171994)
Backed out changeset 463528fcee4d (bug 1171994)
2015-07-15 12:53:28 -04:00
Thomas Zimmermann 835d65357d Bug 1171994: Separate RIL I/O interfaces, r=htsai
This patch separates the current interface of |RilConsumer| into
two distinct classes. |RilWorker| provides the public interface
and |RilConsumer| provides the internal implementation. Running
|RilConsumer| on a worker thread will be easier this way.
2015-07-14 16:57:00 +02:00
Alphan Chen 56c7bbb520 Bug 1179691 - [Automounter] Fix the problem of get format and share request in the same time. r=dhylands 2015-07-07 16:39:03 +08:00
Wes Kocher 00bfc9f9d8 Merge inbound to m-c a=merge 2015-07-13 15:55:25 -07:00
James Cheng 64cbe25e51 Bug 1037329 - Part 1: Implement SystemUpdate API. r=baku 2015-07-12 22:06:00 -04:00
Andrea Marchesini 24739b108d Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu 2015-07-11 08:24:26 +01:00
Andrea Marchesini db14826639 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book c07e36b612 Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe
--HG--
rename : dom/webidl/BrowserElementAudioChannel.webidl => dom/audiochannel/AudioChannelCommon.h
rename : dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html => dom/audiochannel/tests/file_telephonyPolicy.html
2015-07-11 14:14:58 +02:00
Carsten "Tomcat" Book 131967cfc8 Backed out changeset 41195fb9f293 (bug 1177259) 2015-07-11 14:13:27 +02:00
Andrea Marchesini 1ccca98929 Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu 2015-07-11 08:24:26 +01:00
Andrea Marchesini 3050bc370c Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 21:08:43 -04:00
Xidorn Quan f23d866f51 Backed out 8 changesets (bug 1113086) for build bustage
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)

--HG--
extra : histedit_source : d8dfd75d9dae36b7309ce78e3b4488faf57003da%2C48081711b7067191d8e4749fd3b572db59bc03f9
2015-07-11 10:55:59 +10:00
Andrea Marchesini bbb0a11f31 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/browser-element/mochitest/test_browserElement_inproc_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/browser-element/mochitest/test_browserElement_oop_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
2015-07-10 17:38:44 +01:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Dimi Lee 20da5a4b4d Bug 1168938 - Memory safety bug in NetworkUtils::postTetherInterfaceList. r=fabrice 2015-07-02 18:17:59 +08:00
Juan Gomez 258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Garvan Keeley b9aee98f59 Bug 1176261 - Discard gps with impossibly tiny accuracy. r=jaliu 2015-07-02 22:41:59 -04:00
Jan de Mooij 2c2b7af49c Bug 1177892 part 4 - Remove INT_TO_JSVAL. r=evilpie 2015-06-30 21:10:04 -07:00
Jan de Mooij 155b1afd35 Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie 2015-06-30 11:20:56 -07:00
Ryan VanderMeulen 7483c0563e Backed out changesets ad58c270ce87 and 849151330d60 (bug 1177892) for B2G bustage.
CLOSED TREE
2015-06-30 15:48:11 -04:00
Jan de Mooij 731f441d6e Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie
--HG--
extra : rebase_source : f7ae63c351c82516e7db48a12c4cfb2048a81805
2015-06-30 11:20:56 -07:00
Nathan Froyd 974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Jan de Mooij 976586cb5f Bug 1177825 - Remove JSVAL_* constants. r=evilpie 2015-06-29 18:36:44 -07:00
Dave Hylands dcb2ffc9b5 Bug 1167090 - Fix MTP date and time queried through getObjectInfo. r=alchen 2015-06-25 23:55:32 -07:00
Jessica Jong b121d4a6e9 Bug 1173671 - just warn if we fail to remove old default routes. r=echen
--HG--
extra : commitid : Iipe6WgeqJn
2015-06-18 14:53:47 +08:00
Jocelyn Liu 0d4e05f63a Bug 1167064 - Patch1: Switch to bluetooth APIv2. r=shuang 2015-06-16 09:38:50 +08:00
Shawn Huang 434fcb6904 Backed out changesets 0832ffdd8144 for Bug 1167064 2015-06-15 19:05:03 +08:00
Jocelyn Liu 3ded2db982 Bug 1167064 - Patch1: Switch to bluetooth APIv2. r=shuang 2015-06-15 17:11:35 +08:00
Wes Kocher 8127240e63 Merge b2ginbound to central, a=merge 2015-06-11 17:37:23 -07:00
Dimi Lee 4a8e2edd09 Bug 1168959 - Memory-safety bugs in NetworkUtils.cpp generally. r=fabrice
--HG--
extra : rebase_source : 8cc3567b977fe24af86c6a37b79b376b7b6ce094
2015-06-08 11:38:06 +08:00
Ryan VanderMeulen c0c862683b Backed out changeset 150544a28405 (bug 1167064) for B2G mochitest failures. 2015-06-08 15:41:26 -04:00
Bevis Tseng 7512b2ad2e Bug 1169187 - Decode invalid number from AND-Like EFs as empty string. r=echen
--HG--
extra : histedit_source : 36b2f4b2b1de0e40ba0303ea5fb245362a5aa358
2015-06-04 19:12:03 +08:00
Jocelyn Liu cbe97e5b2b Bug 1167064 - Switch to bluetooth APIv2. r=shuang 2015-06-04 02:59:00 -04:00
Andrew Osmond f26db5e8c5 Bug 1171768 - Backed out changeset 371c3a42b25c (bug 1166320) for breaking USB mass storage. 2015-06-05 16:02:05 -04:00
Bevis Tseng 80a768333b Bug 1159134 - Part 1: Fix improper CTLV encoding in STK Event Download. r=echen 2015-05-06 19:25:31 +08:00
Edgar Chen 6e38b077c4 Bug 1169160 - [MobileConnection] Support more call barring program: all service, outgoing service and incoming service. r=hsinyi,aknow
--HG--
rename : dom/mobileconnection/tests/marionette/test_call_barring_get_option.js => dom/mobileconnection/tests/marionette/test_call_barring_get_error.js
2015-05-28 15:41:55 +08:00
Jessica Jong 2f56135da3 Bug 1168021 - Part 2: expand nsINetworkInterface parameter in nsINetworkService (impl). r=echen 2015-06-04 11:04:18 +08:00
Jessica Jong 87f581e1cb Bug 1168021 - Part 1: expand nsINetworkInterface parameter in nsINetworkService (idl). r=echen 2015-06-04 11:04:15 +08:00
Andrew Osmond 46f8e171e7 Bug 1166320 - Make volume service safer to use off main thread. r=dhylands 2015-06-03 13:44:53 -04:00
Edgar Chen 42f3c9a428 Bug 1169225 - [MobileConnectionService] Support setting/getting call waiting on all serviceClass. r=aknow 2015-05-28 19:18:22 +08:00
brian37ful 4622077628 Bug 999300 - Part 2: Update the related testcases. r=edgar 2015-06-10 03:04:00 +02:00
brian37ful aeb656d020 Bug 999300 - Part 1: Removed the Ril v5 legacy support. r=edgar 2015-06-10 03:03:00 +02:00