Commit Graph

1870 Commits

Author SHA1 Message Date
Andrea Marchesini
4266c27429 Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent 2014-04-10 18:39:20 +01:00
Yoshi Huang
cf1b34a27c 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
08c7113686 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
398349b49d Bug 994601: fix undefined 'RequestSettingValue' and 'nsIRILNetworkInterface' in Flatfish build. r=kanru 2014-04-11 22:28:01 +08:00
Vicamo Yang
c969a1e2c0 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
Ed Morley
2ccf097e4e Merge latest green b2g-inbound changeset and mozilla-central 2014-04-10 17:45:11 +01:00
Jessica Jong
f764da4f1f Bug 961921 - Part 1: separate roaming preference for each client. r=hsinyi 2014-04-08 20:55:00 +02:00
Szu-Yu Chen [:aknow]
78eeb4d1c2 Bug 993255 - Part 3: Fix related test case. r=hsinyi 2014-04-10 02:06:00 +02:00
Szu-Yu Chen [:aknow]
ed653fdc6b Bug 993255 - Part 2: Hangup pending outgoing call. r=hsinyi 2014-04-10 02:06:00 +02:00
Szu-Yu Chen [:aknow]
837836430b Bug 993255 - Part 1: Refactor: extract removeVoiceCall. r=hsinyi 2014-04-10 02:05:00 +02:00
Yoshi Huang
2b4332248d 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
d7dfb3c5c8 merge b2g-inbound to mozilla-central 2014-04-09 14:27:34 +02:00
Edgar Chen
71186cfe6b 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
67eb1bd2f2 Bug 978027 - Part 2: RIL implementation for prl version. r=allstars.chh 2014-04-07 15:29:04 +08:00
Boris Zbarsky
79dab91ff6 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
d4bd64ee2c 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
e88732c44c Bug 990918 - Part 2: Add Xpcshell Test Case for setCellBroadcastSearchList(). r=htsai 2014-04-03 16:46:51 +08:00
Bevis Tseng
c34f95c600 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
d0849cfd3c Merge b2g-inbound to m-c. 2014-04-07 22:29:35 -04:00
Dimi Lee
0a14815023 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
ec69e2de4b Merge inbound to m-c. 2014-04-04 14:51:38 -04:00
Szu-Yu Chen [:aknow]
2d3ffc0fe8 Bug 990467 - Part 2: Add pending outgoing call. r=hsinyi 2014-04-04 08:18:17 -04:00
Szu-Yu Chen [:aknow]
df5ec5fe34 Bug 990467 - Part 1: Refactor: Extract function of adding new voice call. r=hsinyi 2014-04-04 08:17:59 -04:00
Masayuki Nakano
d42c98a423 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
dbbc78db5f Bug 990383 - Set default value of 'supportedNetworkTypes' as 'wcdma/gsm'. r=hsinyi 2014-04-01 15:11:36 +08:00
Nils Maier
86cfc9cc0f Bug 952997 - Fix OS.File large file support. r=yoric 2014-04-08 03:40:00 +02:00
snigdha
9cc482da68 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
930436ef24 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
559d8473e2 Merge b-i to m-c 2014-03-29 09:18:08 -07:00
Vicamo Yang
b86dd3ece8 Bug 978709 - 5/6: really add an IPV4V6 option. r=hsinyi 2014-03-29 15:18:26 +08:00
Edgar Chen
0b0b45972a Bug 978709 - 4.h/6: NetworkInterfaceListService changes. r=vicamo 2014-03-29 15:18:25 +08:00
Jessica Jong
ae740d69c5 Bug 978709 - 4.e/6: nsIRILNetworkInterface changes. r=vicamo 2014-03-29 15:18:22 +08:00
Jessica Jong
8f2888a818 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
fd7b6495e9 Bug 978709 - 4.c/6: NetworkUtils changes to support IPv4v6. f=echen, r=vicamo 2014-03-29 15:18:19 +08:00
Jessica Jong
74018d9a4b Bug 978709 - 4.b/6: NetworkService changes to support IPv4v6. f=echen r=vicamo 2014-03-29 15:18:18 +08:00
Jessica Jong
241d5797e4 Bug 978709 - 4.a/6: idl changes to support IPv4v6. f=echen r=vicamo 2014-03-29 15:18:17 +08:00
Vicamo Yang
c1f01406da Bug 978709 - 3.b/6: support multiple addresses in ril_worker. r=hsinyi 2014-03-29 15:18:16 +08:00
Vicamo Yang
fb8c44efa6 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
7686c61ee9 Bug 978709 - 2.e/6: remove unused data call enumeration stuff. r=hsinyi 2014-03-29 15:18:14 +08:00
Vicamo Yang
cf68aca1e4 Bug 978709 - 2.d/6: don't throw in _deliverDataCallCallback loop. r=hsinyi 2014-03-29 15:18:13 +08:00
Vicamo Yang
b71f31cdfd Bug 978709 - 2.c/6: completely remove nsIRILDataCallback. r=hsinyi 2014-03-29 15:18:12 +08:00
Vicamo Yang
5ef7d49855 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
d3ffb856e3 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
d5eb9240f6 Bug 978709 - 1/6: remove nsINetworkInterface::broadcast. r=hsinyi 2014-03-29 15:18:09 +08:00
Boris Zbarsky
6b002b786e 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
3d817ab8e1 Merge b2g-inbound to m-c 2014-03-27 19:37:17 -07:00
Bevis Tseng
bbc8d622ef Bug 981077 - Part 3: Remove unused method of getClientIdByIccId(). r=vyang 2014-03-25 15:04:33 +08:00
Thomas Zimmermann
a1cae5603a 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
22ff293288 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
21da4b0c37 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