Commit Graph

22 Commits

Author SHA1 Message Date
Vicamo Yang
6f99b1ba40 Bug 1044737 - 1/3: don't use Date in nsINetworkStatsCallback::networkStatsAvailable. r=vchang 2014-08-01 15:08:41 +08:00
Vicamo Yang
52523a1146 Backed out changeset f54af6237ce9 (bug 1000040) for causing bug 1035172 2014-07-10 13:29:47 +08:00
John Shih
c7b126329e Bug 1000040 - Part 1: Supports Ethernet in gecko. r=vchang, r=bholley 2014-05-19 15:52:02 +08:00
Edgar Chen
e058219209 Bug 980259 - Dynamic enable network related debug log. r=vchang 2014-04-09 14:10:04 +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
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
Chuck Lee
8df84ff558 Bug 975813 - Support IPv6 in Network Manager. r=vicamo,fabrice 2014-02-28 20:24:35 +08:00
Edgar Chen
47c18323cc Bug 976959 - Change the netmask to prefix length for supporting IPv6. r=vchang,hsinyi 2014-02-26 18:08:46 +08:00
Dimi Lee
c2a2ce34b6 Bug 977479 - updateUpStream function in NetworkService.js doesn't work. r=vchang 2014-02-27 15:40:00 +08:00
John Shih
ae9ef7ea80 Bug 961598 - support DNS reslover. r=vchang 2014-02-20 19:04:51 +08:00
Jessica Jong
ecc4e88fb1 Bug 973842 - Part 2: Support adding secondary routes (NetworkService). r=vchang 2014-02-24 09:19:20 -05:00
Jessica Jong
b76073aeed Bug 973842 - Part 1: Support adding secondary routes (idl/cid). r=vchang 2014-02-24 09:19:20 -05:00
Albert Crespell
1325d90231 Bug 968689 - Netd BandwidthController sets costlyAlert to invalid quota. r=vchang 2014-02-10 09:03:29 +01:00
Dimi Lee
842bf052eb Bug 864931 - Rewrite net worker in C++. r=fabrice, r=vchang 2014-01-29 19:38:50 +08:00
Albert Crespell
57bb26eebf Bug 961007 - Data mobile usage is not counted. r=chucklee 2014-01-19 10:03:24 +01:00
Chuck Lee
8453ba18d1 Bug 948743 - Query interface stat directly. r=vchang, r=acperez 2014-01-16 09:57:26 +08:00
Vicamo Yang
403507648e Bug 934125 - 2.a/3: s/\(\w\+\): function \(\w\+\)(/\1: function(/ . r=gene
RILDIRS="dom/cellbroadcast/ dom/icc/ dom/mobilemessage/ dom/network/ dom/telephony/ dom/voicemail/ dom/system/gonk/";
for f in `find $RILDIRS -type f -name \*.js -o -name \*.jsm`; do
  sed -i $f -e '/\w\+:/ {N; s/\(\w\+\):\s*function \(\w\+\)(/\1: function(/g}';
done
grep -nRe '\w\+: function \w\+(' $RILDIRS
2014-01-13 10:44:40 +08:00
Vicamo Yang
8239e28db4 Bug 934125 - 1/3: s/function \+(/function(/ . r=gene
RILDIRS="dom/cellbroadcast/ dom/icc/ dom/mobilemessage/ dom/network/ dom/telephony/ dom/voicemail/ dom/system/gonk/";
for f in `find $RILDIRS -type f -name \*.js -o -name \*.jsm`; do
  sed -i $f -e 's/function \+(/function(/';
done
2014-01-13 10:44:33 +08:00
Ryan VanderMeulen
99e7cc1604 Backed out changeset fd1fc08e3f58 (bug 948743) for B2G test failures. 2014-01-08 12:10:21 -05:00
Chuck Lee
011feb1dc9 Bug 948743 - Query interface stat directly. r=vchang, r=acperez 2014-01-02 17:53:51 +08:00
Albert Crespell
6bcfb56ea7 Bug 858005 - Part 2: Netd integration. r=vchang 2013-05-24 11:28:20 +02:00
Henry Chang
c06d15e7b4 Bug 935363 - Add and make use of NetworkService xpcom. r=vyang, r=vchang 2013-11-15 17:35:33 +08:00