Commit Graph

1967 Commits

Author SHA1 Message Date
Fabrice Desré
365d7ca756 Bug 993282 - Lazy load more js modules - part 1: NFC r=psiddh 2014-05-07 15:53:16 -07:00
Edgar Chen
c59008cd8f Bug 1001352 - Set data subscrption for flame dsds mode. r=hsinyi 2014-05-05 15:12:14 +08:00
David Rajchenbach-Teller
985067ff31 Bug 994951 - Activate OS.File xpcshell tests on B2G. r=froydnj 2014-05-05 06:53:00 -04:00
Edgar Chen
0194124153 Bug 1003011 - Part 2: Need to enable uicc subscription for flame dsds mode. r=hsinyi 2014-04-30 16:32:07 +08:00
Edgar Chen
9c12bfb372 Bug 1003011 - Part 1: Cleanup RIL parcel. r=hsinyi 2014-04-30 12:04:51 +08:00
Chris Peterson
47a58d1945 Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in dom. r=smaug 2014-04-20 00:36:40 -07:00
Garner Lee
a2b170177a Bug 959059: [NFC] CheckP2PRegistration should return error if sessionToken doesn't exist. r=allstars.chh 2014-04-30 10:18:00 +02:00
Vicamo Yang
710c3fadc7 Bug 999458 - 2.c/2: 0 <= gsmLocationAreaCode <= 65535. r=echen 2014-05-02 00:24:12 +08:00
Nathan Froyd
4c20a67b0d Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Carsten "Tomcat" Book
cdffb64143 Merge m-c to mozilla-inbound 2014-04-30 15:26:15 +02:00
Carsten "Tomcat" Book
0b2a257518 merge b2g-inbound to mozilla-central 2014-04-30 15:23:44 +02:00
Edgar Chen
c15c4386a8 Bug 929701 - Part 3: Remove JS-implemented DOMMMIError. r=hsinyi 2014-04-23 15:02:11 +08:00
Szu-Yu Chen [:aknow]
a45704bf78 Bug 993255 - Part 4: Fix hang up pending outgoing call. r=hsinyi 2014-04-29 10:02:20 +08:00
Hsin-Yi Tsai
ef90b85eab Bug 1000670 - part 4 - ril: _sendClirModeChanged. r=vicamo 2014-04-24 14:46:27 +08:00
Ryan VanderMeulen
51a9e6726c Backed out changeset eaa0d64e544e (bug 996998) for B2G bustage. 2014-04-27 17:47:12 -04:00
Garvan Keeley
5b92a73c3d Bug 996998 - GonkGPSGeolocationProvider::NetworkLocationUpdate::Update() MLS location can override GPS location, even through the MLS location is unchanged. r=dougt 2014-04-21 07:45:00 -04:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Rodrigo Rodriguez Jr.
bc17528767 Bug 952650 (part 11) - Remove JSVAL_TO_INT. r=njn.
--HG--
extra : rebase_source : 41923458bbf8fd957c9a57685df4969f1190bd9f
2014-04-27 19:55:08 -07:00
Rodrigo Rodriguez Jr.
1b9dfa0db1 Bug 952650 (part 9) - Remove JSVAL_IS_INT. r=njn.
--HG--
extra : rebase_source : dc0c170914c2370c218cdbbe671d2a68628f5a87
2014-04-27 19:47:02 -07:00
Rodrigo Rodriguez Jr.
295e388ace Bug 952650 (part 7) - Remove JSVAL_IS_BOOLEAN. r=njn.
--HG--
extra : rebase_source : 1ac334a052b7374dd9080d9bf89658e1f5d6168f
2014-04-27 19:44:05 -07:00
Rodrigo Rodriguez Jr.
2898f2d2f9 Bug 952650 (part 3) - Remove JSVAL_TO_BOOLEAN. r=njn.
--HG--
extra : rebase_source : fbe97c23a4893b8c4c5641f41947f3a96f7111d3
2014-04-27 19:34:12 -07:00
Zack Weinberg
1dfaccbbc9 Bug 1001842, part 2: make umask available via OS.Constants. r=khuey sr=bz 2014-04-26 10:56:58 -04:00
Szu-Yu Chen [:aknow]
ea61f81b05 Bug 1000705 - Fix fail cause of local hang up. r=hsinyi 2014-04-25 03:05:00 -04:00
Carsten "Tomcat" Book
1d84e38262 Merge m-c to b2g-i 2014-04-25 13:55:53 +02:00
Yoshi Huang
1b331d19ea Bug 1000191 - [NFC] |NfcPeer.sendNDEF| fails on emulator. r=dimi
From 33a39097f4d5042ed678564f506a5505573a0a93 Mon Sep 17 00:00:00 2001
---
 dom/system/gonk/Nfc.js        | 52 +++++++++----------------------------------
 dom/system/gonk/nfc_consts.js |  2 --
 2 files changed, 10 insertions(+), 44 deletions(-)
2014-04-24 17:05:26 +08:00
Szu-Yu Chen [:aknow]
ec6d886914 Bug 999334 - Redesign pending outgoing call mechanism. r=hsinyi 2014-04-25 14:59:40 +08:00
Yoshi Huang
750838b714 Bug 1000499 - JavaScript Error: "this.removeMessageListener is not a function". r=dimi 2014-04-24 11:14:58 +08:00
Ryan VanderMeulen
011385155d Merge m-c to inbound. 2014-04-24 13:44:11 -04:00
Ehsan Akhgari
323eb451e8 Bug 998738 - Kill nsIDOMXPathNamespace (and window.XPathNamespace); r=smaug 2014-04-24 12:07:44 -04:00
Gregor Wagner
d42df218be Bug 999572 - Fix settingsService usage in NetworkGeolocationProvider.js. r=bent 2014-04-23 14:16:24 -07:00
Jon Coppeard
bed7fc43d9 Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley 2014-04-30 10:10:33 +01:00
Hsin-Yi Tsai
393e8c031d Backed out changeset d050c422919a (bug 997584) since should wait for gaia blocker landed first. 2014-04-22 18:46:59 +08:00
Hsin-Yi Tsai
7c073d465d Bug 997584 - part 1 - remove kPrefClirModePreference. r=vicamo 2014-04-18 16:11:40 +08:00
Masatoshi Kimura
409ceee740 Bug 1007797 - Fixup tests. r=yoric 2014-05-12 22:46:50 +09:00
Edgar Chen
bcc7e20156 Bug 995109 - Don't handle |dataInfo.connected| in DataConnectionHandler. r=hsinyi 2014-04-11 16:53:57 +08:00
Dimi Lee
bdf6e19ae4 Bug 998274 - [NFC] Support pass tag technology to GAIA. r=allstars.chh 2014-04-18 19:25:47 +08:00
Yoshi Huang
39d0f2704a Bug 995101 - NFC: Don't use nfc-hardware-state-change event to enable/disable NFC. r=dimi 2014-04-11 17:49:21 +08:00
Edgar Chen
5c2d886611 Bug 996409 - Part 2: Marionette test for 'network-active-changed'. r=hsinyi 2014-04-14 18:15:20 +08:00
Edgar Chen
20db359f39 Bug 996409 - Part 1: 'network-active-changed' doesn't be propagated if active becomes to null. r=hsinyi 2014-04-11 17:30:16 +08:00
Kyle Huey
385e2f9891 Bug 991812: B2G Fixups CLOSED TREE. r=me 2014-04-15 15:30:00 -07:00
Kyle Huey
1e28725524 Bug 991812: B2G Fixups CLOSED TREE. r=me 2014-04-15 15:26:43 -07:00
Kyle Huey
4b25f94dc9 Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
--HG--
extra : rebase_source : 239ff77ec3765a3f190ed75b1645c6011e5d1dbd
2014-04-14 12:04:24 -07:00
"allstars.chh"
4a955516e6 Bug 970251 - Part 2: Impl. r=dimi
From e1c730487df90a5edfe416be9b9219da02652be3 Mon Sep 17 00:00:00 2001
---
 dom/nfc/nsNfc.js                        |   17 +++++++++--
 dom/system/gonk/Nfc.js                  |   35 ++++++++++++++++++++--
 dom/system/gonk/NfcContentHelper.js     |   48 ++++++++++++++++++++++++++++++-
 dom/system/gonk/nsINfcContentHelper.idl |   17 ++++++++++-
 4 files changed, 111 insertions(+), 6 deletions(-)
2014-04-15 14:47:42 +08:00
Ryan VanderMeulen
be657e134d Merge m-c to inbound on a CLOSED TREE. 2014-04-13 22:52:50 -04:00
Dimi Lee
8ea790b5b6 Bug 994524 - [Follow up of bug 989135] Fix ssid buffer may overflow. 2014-04-11 12:00:19 +08:00
Bevis Tseng
aa65c6f3c6 Bug 991988 - Resolve HostName of either MMS Proxy or MMSC. r=vyang 2014-04-10 12:03:56 +08:00
Edgar Chen
6551be22dd Bug 980259 - Dynamic enable network related debug log. r=vchang 2014-04-09 14:10:04 +08:00
Yoshi Huang
14173a99f6 Bug 993891 - B2G NFC: NFC_IPC_MSG_NAMES in Nfc.js is handled twice. r=dimi 2014-04-10 11:43:45 +08:00
Siddartha Pothapragada
5c7ab7028c Bug 993896 - Fire success / error to dom requests based on status received from gonk. r=allstars.chh 2014-04-08 23:17:53 -07:00
Vicamo Yang
9d7ac97787 Bug 994601: fix undefined 'RequestSettingValue' and 'nsIRILNetworkInterface' in Flatfish build. r=kanru 2014-04-11 22:28:01 +08:00
Vicamo Yang
7c817ef026 Bug 977995 - remove mNetdWorker from SystemWorkerManager. r=khuey, f=vchang
There are multiple defects in NetworkWorker and the related parts
since the C++ rewrite.  1) NetworkService holds a reference to
NetworkWorker and never releases it.  It has to wait until the cycle
collector comes up to resolve their ownership loop and free
NetworkWorker manually.  However 2) nsINetworkWorker::shutdown is
never called, and that leaves everything living till the end,
inclusive of that gNetdConsumer in Netd.cpp.  3) when GC comes to free
NetworkWorker, it calls its parent destructor ~NetConsumer(), which
in turn calls ~RefCounted<NetdConsumer>().  Having a valid
gNetdConsumer in Netd.cpp follows its refCnt is not zero and this
triggers an assertion in ~RefCounted<NetdConsumer>().

So, some obvious treatments here.  A) NetworkService should call
nsINetworkWorker::shutdown upon receiving a shutdown observer event
and release the reference to NetworkWorker.  B) NetworkWorker should
never be double ref-counted.  Move NetdConsumer implementation into a
separated class.
2014-04-11 22:27:55 +08:00
Andrea Marchesini
eaa3ff4eed Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent 2014-04-10 18:39:20 +01:00
Ed Morley
310c9d9a41 Merge latest green b2g-inbound changeset and mozilla-central 2014-04-10 17:45:11 +01:00
Jessica Jong
9ce98e6211 Bug 961921 - Part 1: separate roaming preference for each client. r=hsinyi 2014-04-08 20:55:00 +02:00
Szu-Yu Chen [:aknow]
56ab53a7ec Bug 993255 - Part 3: Fix related test case. r=hsinyi 2014-04-10 02:06:00 +02:00
Szu-Yu Chen [:aknow]
28141d73a9 Bug 993255 - Part 2: Hangup pending outgoing call. r=hsinyi 2014-04-10 02:06:00 +02:00
Szu-Yu Chen [:aknow]
a3e0395827 Bug 993255 - Part 1: Refactor: extract removeVoiceCall. r=hsinyi 2014-04-10 02:05:00 +02:00
Yoshi Huang
7fb797dee0 Bug 993893 - B2G NFC: NfcManager APIs will also check nfc-write permission. r=dimi 2014-04-09 17:58:28 +08:00
Carsten "Tomcat" Book
7cd09aa69d merge b2g-inbound to mozilla-central 2014-04-09 14:27:34 +02:00
Edgar Chen
627ebb29a3 Bug 978027 - Part 3: Get icc app index only when the _isCdma flag is ready to use. r=allstars.chh 2014-04-07 16:57:45 +08:00
Edgar Chen
3567f2c50f Bug 978027 - Part 2: RIL implementation for prl version. r=allstars.chh 2014-04-07 15:29:04 +08:00
Boris Zbarsky
35fca5eeeb Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
56f44fdf10 Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Bevis Tseng
37c6e279dc Bug 990918 - Part 2: Add Xpcshell Test Case for setCellBroadcastSearchList(). r=htsai 2014-04-03 16:46:51 +08:00
Bevis Tseng
5e679ebe22 Bug 990918 - Part 1: Make RIL compatible for both new/old formats of ril.cellbroadcast.searchlist. r=htsai 2014-04-03 16:33:56 +08:00
Ryan VanderMeulen
55244323f3 Merge b2g-inbound to m-c. 2014-04-07 22:29:35 -04:00
Dimi Lee
c9fbadf21a Bug 989135 - [B2G][Component][Location] Having a quotation mark in the Wi-Fi hotspot password or SSID is not handled gracefully. r=vchang 2014-04-07 14:26:53 +08:00
Ryan VanderMeulen
620c42bcde Merge inbound to m-c. 2014-04-04 14:51:38 -04:00
Szu-Yu Chen [:aknow]
9557433410 Bug 990467 - Part 2: Add pending outgoing call. r=hsinyi 2014-04-04 08:18:17 -04:00
Szu-Yu Chen [:aknow]
59e0ad2af1 Bug 990467 - Part 1: Refactor: Extract function of adding new voice call. r=hsinyi 2014-04-04 08:17:59 -04:00
Masayuki Nakano
ff8b968574 Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug 2014-04-03 13:18:38 +09:00
Edgar Chen
bdd40d3fae Bug 990383 - Set default value of 'supportedNetworkTypes' as 'wcdma/gsm'. r=hsinyi 2014-04-01 15:11:36 +08:00
Nils Maier
a706ff0749 Bug 952997 - Fix OS.File large file support. r=yoric 2014-04-08 03:40:00 +02:00
snigdha
90f0f64d5b Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-04-01 08:29:25 -04:00
Masayuki Nakano
54d409dfca Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Phil Ringnalda
8b68d74cfd Merge b-i to m-c 2014-03-29 09:18:08 -07:00
Vicamo Yang
cdf964dedb Bug 978709 - 5/6: really add an IPV4V6 option. r=hsinyi 2014-03-29 15:18:26 +08:00
Edgar Chen
2fc8f9200b Bug 978709 - 4.h/6: NetworkInterfaceListService changes. r=vicamo 2014-03-29 15:18:25 +08:00
Jessica Jong
0cb92ca61e Bug 978709 - 4.e/6: nsIRILNetworkInterface changes. r=vicamo 2014-03-29 15:18:22 +08:00
Jessica Jong
723face563 Bug 978709 - 4.d/6: secondary routes changes to support IPv4v6. f=echen, r=vicamo 2014-03-29 15:18:20 +08:00
Jessica Jong
c8544cb2c2 Bug 978709 - 4.c/6: NetworkUtils changes to support IPv4v6. f=echen, r=vicamo 2014-03-29 15:18:19 +08:00
Jessica Jong
899fec8702 Bug 978709 - 4.b/6: NetworkService changes to support IPv4v6. f=echen r=vicamo 2014-03-29 15:18:18 +08:00
Jessica Jong
e7b797a003 Bug 978709 - 4.a/6: idl changes to support IPv4v6. f=echen r=vicamo 2014-03-29 15:18:17 +08:00
Vicamo Yang
42e98bca9c Bug 978709 - 3.b/6: support multiple addresses in ril_worker. r=hsinyi 2014-03-29 15:18:16 +08:00
Vicamo Yang
2651a589d5 Bug 978709 - 3.a/6: RIL_Data_Call_Response_v5 has also DNS server list. r=hsinyi 2014-03-29 15:18:15 +08:00
Vicamo Yang
e08eee5c24 Bug 978709 - 2.e/6: remove unused data call enumeration stuff. r=hsinyi 2014-03-29 15:18:14 +08:00
Vicamo Yang
c763a82d83 Bug 978709 - 2.d/6: don't throw in _deliverDataCallCallback loop. r=hsinyi 2014-03-29 15:18:13 +08:00
Vicamo Yang
3284f1c5d5 Bug 978709 - 2.c/6: completely remove nsIRILDataCallback. r=hsinyi 2014-03-29 15:18:12 +08:00
Vicamo Yang
ef958c57b3 Bug 978709 - 2.b/6: don't use nsIRILDataCallback in GonkGPSGeolocationProvider. r=kanru
nsIRILDataCallback has been abused in RadioInterfaceLayer.js and is
becoming an RIL internal utility.  Besides, nsIRILDataCallback has
also racing problem as described in bug 976897.  We should really use
NetworkManager observer events to replace the notification mechanism
here.
2014-03-29 15:18:11 +08:00
Vicamo Yang
8dd297dbbc Bug 978709 - 2.a/6: remove nsIRILDataCallback::receiveDataCallList. r=hsinyi
nsIRILDataCallback::receiveDataCallList has been obsoleted for a long
long time and all the existing classes that implement
nsIRILDataCallback leave the function body empty.  Since we're going
to change the object layout of a |datacall| JS object, removing
related but obsoleted functions saves us some time.
2014-03-29 15:18:10 +08:00
Vicamo Yang
3c86c42f4c Bug 978709 - 1/6: remove nsINetworkInterface::broadcast. r=hsinyi 2014-03-29 15:18:09 +08:00
Boris Zbarsky
d4a40b2bea Bug 987112. Remove the redundant and somewhat annoying parentObject argument to dictionary ToObject() methods. r=bholley 2014-03-29 01:45:10 -04:00
Wes Kocher
7d471d658b Merge b2g-inbound to m-c 2014-03-27 19:37:17 -07:00
Bevis Tseng
a33d1467f5 Bug 981077 - Part 3: Remove unused method of getClientIdByIccId(). r=vyang 2014-03-25 15:04:33 +08:00
Thomas Zimmermann
ea2c4302bc Bug 986440: Add missing field |number| for REQUEST_QUERY_CALL_FORWARD_STATUS, r=htsai
The field |number| is missing when REQUEST_QUERY_CALL_FORWARD_STATUS
gets invoked from RilContentHelper.js. This patch adds a test to the
function |queryCallForwardingStatus| for handling this case.

--HG--
extra : rebase_source : c56474a2023434ac3658c7771244c6380ca2a6e0
2014-03-27 10:35:30 +01:00
Thomas Zimmermann
2e711b04a9 Bug 986440: Check for |radioTech| in |voiceRegistrationState|, r=htsai
When starting up RIL, |radioTech| in |voiceRegistrationState| is not
defined before we received REQUEST_VOICE_REGISTRATION_STATE. This
patch adds an extra test to avoid the respective error message.

--HG--
extra : rebase_source : 19927ec9a3892606d81f3209ea470ce297d927d7
2014-03-27 10:35:24 +01:00
Thomas Zimmermann
a2623c2ab0 Bug 986440: Test for |options.rilMessageType| in REQUEST_GET_SMSC_ADDRESS handler, r=htsai
The response handler for REQUEST_GET_SMSC_ADDRESS expects the field
|rilMessageType| to be present in its options. This is not the case
if the request was generated from within ril_worker.js.

This patch handles this case by adding an extra test for the existance
of the field. The response handler will return without sending a reply
to the content helper. This is not a problem since the content handler
did not invoke the request anyway.

--HG--
extra : rebase_source : 211d5f4dc29dd99b745bc29d856c291175f156f1
2014-03-27 10:35:17 +01:00
Thomas Zimmermann
c217994116 Bug 986440: Return 'null' from RIL-worker function, r=htsai
One of the functions in ril_worker.js is supposed to return 'null'
on errors, but returns 'undefined' instead. This patch fixes the
problem.

--HG--
extra : rebase_source : 0f0c1cc06fb4bcb6fe034ab3c88890b351a6cad6
2014-03-27 10:35:09 +01:00
Yoshi Huang
c6f6c3646f Bug 987595 - B2G NFC: onpeerready isn't called. r=dimi 2014-03-25 19:14:41 +08:00
Ehsan Akhgari
af614574f6 Bug 986980 - Remove the classinfo from WifiGeoCoordsObject and WifiGeoPositionObject; r=bzbarsky
These objects are not exposed to Web content, so they don't need the
classinfo.
2014-03-24 23:39:23 -04:00