Commit Graph

1872 Commits

Author SHA1 Message Date
Dimi Lee
9b4debf7f9 Bug 994524 - [Follow up of bug 989135] Fix ssid buffer may overflow. 2014-04-11 12:00:19 +08:00
Bevis Tseng
8a1d508220 Bug 991988 - Resolve HostName of either MMS Proxy or MMSC. r=vyang 2014-04-10 12:03:56 +08:00
Edgar Chen
e058219209 Bug 980259 - Dynamic enable network related debug log. r=vchang 2014-04-09 14:10:04 +08:00
Yoshi Huang
48264d7a72 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
f71172786b 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
0eff675a4f Bug 994601: fix undefined 'RequestSettingValue' and 'nsIRILNetworkInterface' in Flatfish build. r=kanru 2014-04-11 22:28:01 +08:00
Vicamo Yang
a13d595ddb 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
836073723d Merge latest green b2g-inbound changeset and mozilla-central 2014-04-10 17:45:11 +01:00
Jessica Jong
e6eedb747f Bug 961921 - Part 1: separate roaming preference for each client. r=hsinyi 2014-04-08 20:55:00 +02:00
Szu-Yu Chen [:aknow]
e8963e3a58 Bug 993255 - Part 3: Fix related test case. r=hsinyi 2014-04-10 02:06:00 +02:00
Szu-Yu Chen [:aknow]
6e1d14b315 Bug 993255 - Part 2: Hangup pending outgoing call. r=hsinyi 2014-04-10 02:06:00 +02:00
Szu-Yu Chen [:aknow]
2784015699 Bug 993255 - Part 1: Refactor: extract removeVoiceCall. r=hsinyi 2014-04-10 02:05:00 +02:00
Yoshi Huang
2ee60a253a 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
aafe0a6459 merge b2g-inbound to mozilla-central 2014-04-09 14:27:34 +02:00
Edgar Chen
8195df75a7 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
16fe489a5a Bug 978027 - Part 2: RIL implementation for prl version. r=allstars.chh 2014-04-07 15:29:04 +08:00
Boris Zbarsky
fdbb455d4f 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
3f26a82832 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
e5b8117321 Bug 990918 - Part 2: Add Xpcshell Test Case for setCellBroadcastSearchList(). r=htsai 2014-04-03 16:46:51 +08:00
Bevis Tseng
c95434d69d 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
4aa2d3dc0f Merge b2g-inbound to m-c. 2014-04-07 22:29:35 -04:00
Dimi Lee
8bf8f7aee7 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
4be6b97fe2 Merge inbound to m-c. 2014-04-04 14:51:38 -04:00
Szu-Yu Chen [:aknow]
52e9cd7e49 Bug 990467 - Part 2: Add pending outgoing call. r=hsinyi 2014-04-04 08:18:17 -04:00
Szu-Yu Chen [:aknow]
38ab26fca5 Bug 990467 - Part 1: Refactor: Extract function of adding new voice call. r=hsinyi 2014-04-04 08:17:59 -04:00
Masayuki Nakano
852403f45d 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
2d74f90822 Bug 990383 - Set default value of 'supportedNetworkTypes' as 'wcdma/gsm'. r=hsinyi 2014-04-01 15:11:36 +08:00
Nils Maier
0f42681cbc Bug 952997 - Fix OS.File large file support. r=yoric 2014-04-08 03:40:00 +02:00
snigdha
11404d6af2 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
b185105992 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
7e188029e3 Merge b-i to m-c 2014-03-29 09:18:08 -07:00
Vicamo Yang
141c9429be Bug 978709 - 5/6: really add an IPV4V6 option. r=hsinyi 2014-03-29 15:18:26 +08:00
Edgar Chen
0c858f8485 Bug 978709 - 4.h/6: NetworkInterfaceListService changes. r=vicamo 2014-03-29 15:18:25 +08:00
Jessica Jong
49d41bb08c Bug 978709 - 4.e/6: nsIRILNetworkInterface changes. r=vicamo 2014-03-29 15:18:22 +08:00
Jessica Jong
ec539f9721 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
d0526bcd0a Bug 978709 - 4.c/6: NetworkUtils changes to support IPv4v6. f=echen, r=vicamo 2014-03-29 15:18:19 +08:00
Jessica Jong
b4f2c54fa4 Bug 978709 - 4.b/6: NetworkService changes to support IPv4v6. f=echen r=vicamo 2014-03-29 15:18:18 +08:00
Jessica Jong
6e7ca92be6 Bug 978709 - 4.a/6: idl changes to support IPv4v6. f=echen r=vicamo 2014-03-29 15:18:17 +08:00
Vicamo Yang
366b897865 Bug 978709 - 3.b/6: support multiple addresses in ril_worker. r=hsinyi 2014-03-29 15:18:16 +08:00
Vicamo Yang
7cc115fa1d 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
23f4b13fb2 Bug 978709 - 2.e/6: remove unused data call enumeration stuff. r=hsinyi 2014-03-29 15:18:14 +08:00
Vicamo Yang
acc0fa401f Bug 978709 - 2.d/6: don't throw in _deliverDataCallCallback loop. r=hsinyi 2014-03-29 15:18:13 +08:00
Vicamo Yang
680d5de7a0 Bug 978709 - 2.c/6: completely remove nsIRILDataCallback. r=hsinyi 2014-03-29 15:18:12 +08:00
Vicamo Yang
6997a6fa3c 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
4672fd7378 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
612f4dfdfc Bug 978709 - 1/6: remove nsINetworkInterface::broadcast. r=hsinyi 2014-03-29 15:18:09 +08:00
Boris Zbarsky
9553dba3d6 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
420b6bdc8b Merge b2g-inbound to m-c 2014-03-27 19:37:17 -07:00
Bevis Tseng
6d84cf8af6 Bug 981077 - Part 3: Remove unused method of getClientIdByIccId(). r=vyang 2014-03-25 15:04:33 +08:00
Thomas Zimmermann
89e040f50e 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