Commit Graph

301 Commits

Author SHA1 Message Date
Narcis Beleuzu
9e239f2b4a Backed out 2 changesets (bug 1589461, bug 1589447) for wpt failures on report-only-in-meta.sub.html
Backed out changeset e58350a47d50 (bug 1589461)
Backed out changeset abdcdc97cd4c (bug 1589447)
2019-10-29 19:05:09 +02:00
Michal Novotny
0eadedd8b8 Bug 1589461 - Add network id change event (Android), r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D50429

--HG--
extra : moz-landing-system : lando
2019-10-29 09:04:13 +00:00
Michal Novotny
9f3a7ca5a2 Bug 1589447 - Add network id change event (linux), r=kershaw
This patch splits network change event into 2 events:
1) network ID change event
It is sent when the calculated ID differs from the previous one.

2) network change event
It is sent when the network ID has changed or when any address has been added, removed or changed.

Differential Revision: https://phabricator.services.mozilla.com/D50391

--HG--
extra : moz-landing-system : lando
2019-10-29 09:37:58 +00:00
Michal Novotny
02ec9a0a47 Bug 1590250 - network ID: different ID is detected after re-enabling mobile data, r=valentin
For same reason, there are artificial MAC addresses available on some non-ethernet link devices. With this patch we ignore all neighbor messages for non-ethernet links. Also, when traffic for the checked host is routed via rmnet_data device, we skip hashing IP of next hop, because it changes very often in case of some mobile providers.

Differential Revision: https://phabricator.services.mozilla.com/D50184

--HG--
extra : moz-landing-system : lando
2019-10-23 13:17:46 +00:00
Valentin Gosu
fe3c993ae7 Bug 1588219 - Expose DNS suffix list (Linux) r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D49414

--HG--
extra : moz-landing-system : lando
2019-10-22 19:46:28 +00:00
Kershaw Chang
5a6e10c586 Bug 1584165 - Calaulate network id with delay after network changed r=michal
Differential Revision: https://phabricator.services.mozilla.com/D48446

--HG--
extra : moz-landing-system : lando
2019-10-17 14:24:57 +00:00
Razvan Maries
af59d8f13e Backed out changeset 61a42130beb8 (bug 1588056) for build bustages on nsNetworkLinkService.mm. CLOSED TREE 2019-10-16 00:34:01 +03:00
Dragana Damjanovic
58d9498a00 Bug 1588056 - Add telemetry about the time between network change events if we do the events coalescing. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D48954

--HG--
extra : moz-landing-system : lando
2019-10-11 16:13:35 +00:00
Valentin Gosu
65efbcd070 Bug 1558840 - Add nsINetworkLinkService.dnsSuffixList implementation for windows r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D48556

--HG--
extra : moz-landing-system : lando
2019-10-10 16:21:19 +00:00
Michal Novotny
d206228f78 Bug 1586731 - network ID: drop routes/addresses when link/address is removed by the kernel, r=valentin
Kernel can drop routes, addresses and neighbors without notification via netlink. So we update information in our structures as follows:
- when a link is removed all associated routes, addresses and neighbors are removed too
- when a link is disabled all associated routes and neighbors are removed
- when an address on a link is removed all routes and neighbors from this network are removed

All routes, neighbors and addresses always belong to some link, so a new class LinkInfo was created and it holds all information related to a single link. This makes finding information related to a specific link much easier.

Differential Revision: https://phabricator.services.mozilla.com/D48360

--HG--
extra : moz-landing-system : lando
2019-10-08 13:05:42 +00:00
Razvan Maries
c748295700 Backed out changeset fbc6bf62b19d (bug 1586731) for perma fails on nsAutoPtr.h. CLOSED TREE 2019-10-08 15:44:06 +03:00
Michal Novotny
e16c1f2400 Bug 1586731 - network ID: drop routes/addresses when link/address is removed by the kernel, r=valentin
Kernel can drop routes, addresses and neighbors without notification via netlink. So we update information in our structures as follows:
- when a link is removed all associated routes, addresses and neighbors are removed too
- when a link is disabled all associated routes and neighbors are removed
- when an address on a link is removed all routes and neighbors from this network are removed

All routes, neighbors and addresses always belong to some link, so a new class LinkInfo was created and it holds all information related to a single link. This makes finding information related to a specific link much easier.

Differential Revision: https://phabricator.services.mozilla.com/D48360

--HG--
extra : moz-landing-system : lando
2019-10-08 12:08:15 +00:00
Michal Novotny
3b3f253dd6 Bug 1585920 - network ID: fix VPN detection on Linux for non ethernet devices, r=valentin
In case of non ethernet device we can never get a MAC address of the next hop, so skip MAC lookup and proceed directly to network ID calculation based on device name and IP/network address.

Differential Revision: https://phabricator.services.mozilla.com/D48049

--HG--
extra : moz-landing-system : lando
2019-10-07 14:34:38 +00:00
Michal Novotny
7cb94b9058 Bug 1584089 - Use only global routes for network ID calculation, r=valentin
Although local link addresses are not routable, some Android versions have default route for such prefix. We need to ignore any non-global routes when calculating ID.

Differential Revision: https://phabricator.services.mozilla.com/D47578

--HG--
extra : moz-landing-system : lando
2019-10-01 12:58:18 +00:00
Valentin Gosu
561f9c7ff6 Bug 1583170 - Dispatch nsNotifyAddrListener runnable after creating thread r=michal
Bug 1576386 converted the thread into a threadpool, but when changing that it failed to dispatch the runnable to the thread/threadpool as before.
As a result nsNotifyAddrListener stopped listening for network change events on windows.

Differential Revision: https://phabricator.services.mozilla.com/D46932

--HG--
extra : moz-landing-system : lando
2019-09-25 12:59:26 +00:00
Michal Novotny
e994509c2a Bug 1583204 - No Network ID is available when switching between WiFi and Lan networks, r=valentin
There can be multiple records for the same neighbor with different interface index when the computer is connected to the same network via multiple interfaces, e.g. LAN and WiFi. This patch adds interface index to the key, so when some interface goes down it doesn't remove records belonging to a different interface.

Differential Revision: https://phabricator.services.mozilla.com/D47017

--HG--
extra : moz-landing-system : lando
2019-09-25 12:38:20 +00:00
Michal Novotny
815ac794a5 Bug 1561944 - Implement nsINetworkLinkService.networkID for Android r=valentin
Patch changes nsAndroidNetworkLinkService so it uses NetlinkService for network ID calculation as well as for notifications about network changes.

Differential Revision: https://phabricator.services.mozilla.com/D43385

--HG--
extra : moz-landing-system : lando
2019-09-19 13:47:46 +00:00
Jeremy Lempereur
c3d1703996 Bug 1580157 - Add tests to network attributes sorting. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D45893

--HG--
extra : moz-landing-system : lando
2019-09-17 18:58:39 +00:00
Valentin Gosu
54d27f2b21 Bug 1576386 - Set a 2 second timeout when shutting down the Link Monitor thread r=mayhemer
The thread calls into some windows APIs that may sometimes block for a long time. Since we're shutting down anyway, it is OK to sometimes leak this thread, similar to what we do for DNS resolver threads.

The patch converts nsNotifyAddrListener::mThread to a nsIThreadPool (with a max of 1 thread) so that we may call shutdownWithTimeout on it.

Differential Revision: https://phabricator.services.mozilla.com/D46002

--HG--
extra : moz-landing-system : lando
2019-09-17 11:38:49 +00:00
Valentin Gosu
03918d82cc Bug 1580130 - Call calculateNetworkId() after every CheckAdaptersAddresses r=dragana
Since we sometimes coalesce SendEvents, calling it from there is not actually correct, and sometimes we fail to recompute the networkID when network changes happen.

Differential Revision: https://phabricator.services.mozilla.com/D45331

--HG--
extra : moz-landing-system : lando
2019-09-13 06:41:37 +00:00
Valentin Gosu
078dddfc0a Bug 1576386 - Don't recompute the networkId during shutdown r=michal
Calling the windows APIs may block shutdown.

Differential Revision: https://phabricator.services.mozilla.com/D45161

--HG--
extra : moz-landing-system : lando
2019-09-11 14:38:52 +00:00
Jeremy Lempereur
28fa1df24e Bug 1562386 - Sort network attributes before hashing them to get a networkID r=mayhemer,michal,valentin
Differential Revision: https://phabricator.services.mozilla.com/D38418

--HG--
extra : moz-landing-system : lando
2019-09-10 11:02:25 +00:00
Brindusan Cristian
41e89721b3 Backed out changeset 566627a48370 (bug 1562386) for bustages on nsNotifyAddrListener.cpp:222:21. CLOSED TREE
--HG--
extra : histedit_source : d26c75e2ded633ed92ce294faf94e2c9ec259c74
2019-09-09 14:28:10 +03:00
Jeremy Lempereur
d70444d071 Bug 1562386 - Sort network attributes before hashing them to get a networkID r=mayhemer,michal
Differential Revision: https://phabricator.services.mozilla.com/D38418

--HG--
extra : moz-landing-system : lando
2019-09-06 10:12:51 +00:00
Michal Novotny
a9aa8451c2 Bug 1570932 - Add telemetry about how often we observe network change events, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D44215

--HG--
extra : moz-landing-system : lando
2019-08-30 18:18:19 +00:00
Michal Novotny
19c05de902 Bug 1576826 - Intermittent Assertion failure: isResponse, at NetlinkService.cpp:613, r=kershaw
Obviously broadcasted messages can be multipart too.

Differential Revision: https://phabricator.services.mozilla.com/D43849

--HG--
extra : moz-landing-system : lando
2019-08-29 12:08:53 +00:00
Michal Novotny
390918caab Bug 1567616 - network id based on default gateway is wrong when VPN overrides default gateway by more specific routes r=dragana
This patch implements NetlinkService which communicates with kernel via netlink socket. It keeps track of addresses, default routes, interfaces and neighbors and uses it to calculate network ID.

Differential Revision: https://phabricator.services.mozilla.com/D43175

--HG--
rename : netwerk/system/linux/nsNotifyAddrListener_Linux.cpp => netwerk/system/linux/nsNetworkLinkService.cpp
rename : netwerk/system/linux/nsNotifyAddrListener_Linux.h => netwerk/system/linux/nsNetworkLinkService.h
extra : moz-landing-system : lando
2019-08-26 21:46:32 +00:00
Andreea Pavel
f042d32425 Backed out changeset 22469090e93e (bug 1567616) for build bustages on a CLOSED TREE
--HG--
rename : netwerk/system/linux/nsNetworkLinkService.cpp => netwerk/system/linux/nsNotifyAddrListener_Linux.cpp
rename : netwerk/system/linux/nsNetworkLinkService.h => netwerk/system/linux/nsNotifyAddrListener_Linux.h
2019-08-27 00:30:40 +03:00
Michal Novotny
128254f45e Bug 1567616 - network id based on default gateway is wrong when VPN overrides default gateway by more specific routes r=dragana
This patch implements NetlinkService which communicates with kernel via netlink socket. It keeps track of addresses, default routes, interfaces and neighbors and uses it to calculate network ID.

Differential Revision: https://phabricator.services.mozilla.com/D43175

--HG--
rename : netwerk/system/linux/nsNotifyAddrListener_Linux.cpp => netwerk/system/linux/nsNetworkLinkService.cpp
rename : netwerk/system/linux/nsNotifyAddrListener_Linux.h => netwerk/system/linux/nsNetworkLinkService.h
extra : moz-landing-system : lando
2019-08-26 20:03:33 +00:00
Kershaw Chang
50cb9b047f Bug 1568898 - Calaulate network id when ip changed r=michal
Differential Revision: https://phabricator.services.mozilla.com/D39699

--HG--
extra : moz-landing-system : lando
2019-08-13 16:48:05 +00:00
Kershaw Chang
91a9c98998 Bug 1564960 - Calaulate network id on stream transport thread r=michal
Differential Revision: https://phabricator.services.mozilla.com/D39020

--HG--
extra : moz-landing-system : lando
2019-08-14 13:20:25 +00:00
Michal Novotny
82a7200c4b Bug 1561273 - network ID: ipv4NetworkId/scanArp returns gateway IP instead of its MAC, r=kershaw
This patch fixes a bug in ipv4NetworkId where we wrongly hashed IP address instead of MAC address. It also simplifies getMac function. MAC address must be 6 bytes long. If it's not it's probably an error and we must not use it.

Differential Revision: https://phabricator.services.mozilla.com/D39349

--HG--
extra : moz-landing-system : lando
2019-07-26 12:29:01 +00:00
Valentin Gosu
7ab22ff110 Bug 1561005 - Add empty GetNetworkID impl for Android r=michal
Differential Revision: https://phabricator.services.mozilla.com/D35883

--HG--
extra : moz-landing-system : lando
2019-06-28 11:42:05 +00:00
Valentin Gosu
49e0220e23 Bug 1561005 - Implement nsINetworkLinkService.networkID on mac r=michal
Depends on D35780

Differential Revision: https://phabricator.services.mozilla.com/D35781

--HG--
extra : moz-landing-system : lando
2019-06-28 12:41:27 +00:00
Valentin Gosu
c657dcfafe Bug 1561005 - Implement nsINetworkLinkService.networkID on Linux r=michal
* calculateNetworkId is now called before sending each ChangeEvent
* mNetworkId is truncated when no IPv4/IPv6 IDs could be computed

Differential Revision: https://phabricator.services.mozilla.com/D35780

--HG--
extra : moz-landing-system : lando
2019-06-28 11:42:09 +00:00
Valentin Gosu
7aa44d1987 Bug 1561005 - Make windows networkID use the INetworkListManager API r=mayhemer,michal
Depends on D35683

Differential Revision: https://phabricator.services.mozilla.com/D35684

--HG--
extra : moz-landing-system : lando
2019-06-28 16:35:22 +00:00
Valentin Gosu
ce90534047 Bug 1561005 - Add nsINetworkLinkService.networkID r=michal
Differential Revision: https://phabricator.services.mozilla.com/D35683

--HG--
extra : moz-landing-system : lando
2019-06-28 11:42:12 +00:00
Valentin Gosu
e19cd483fd Bug 1395914 - Update histogram with two new values for IPv6 network-id changes r=michal
Differential Revision: https://phabricator.services.mozilla.com/D34905

--HG--
extra : moz-landing-system : lando
2019-06-28 11:42:14 +00:00
Valentin Gosu
18173f21d2 Bug 1395914 - Figure out network id for IPv6 too (mac) r=michal
Differential Revision: https://phabricator.services.mozilla.com/D34904

--HG--
extra : moz-landing-system : lando
2019-06-28 11:42:16 +00:00
Valentin Gosu
1fc5fb9a40 Bug 1395914 - Figure out network id for IPv6 too (Linux) r=michal
Differential Revision: https://phabricator.services.mozilla.com/D34903

--HG--
extra : moz-landing-system : lando
2019-06-28 11:42:18 +00:00
Mihai Alexandru Michis
ff9ddc0bc1 Backed out 8 changesets (bug 1395914, bug 1561005) for causing bustages in nsNetworkLinkService and nsNotifyAddrListener.cpp CLOSED TREE
Backed out changeset c552aeab0fbf (bug 1561005)
Backed out changeset 61cf9ae8abcf (bug 1561005)
Backed out changeset 5c33e521c0e8 (bug 1561005)
Backed out changeset 82eeb4c5e535 (bug 1561005)
Backed out changeset 6b3b29de9c78 (bug 1561005)
Backed out changeset 719b3b61b9a9 (bug 1395914)
Backed out changeset 2b23587aa5ff (bug 1395914)
Backed out changeset 47f2f3e8d5f9 (bug 1395914)
2019-06-28 14:37:13 +03:00
Valentin Gosu
8673cb0d40 Bug 1561005 - Add empty GetNetworkID impl for Android r=michal
Differential Revision: https://phabricator.services.mozilla.com/D35883

--HG--
extra : moz-landing-system : lando
2019-06-27 09:03:28 +00:00
Valentin Gosu
1d08465e38 Bug 1561005 - Implement nsINetworkLinkService.networkID on mac r=michal
Differential Revision: https://phabricator.services.mozilla.com/D35781

--HG--
extra : moz-landing-system : lando
2019-06-27 09:03:11 +00:00
Valentin Gosu
20a97e21d6 Bug 1561005 - Implement nsINetworkLinkService.networkID on Linux r=michal
* calculateNetworkId is now called before sending each ChangeEvent
* mNetworkId is truncated when no IPv4/IPv6 IDs could be computed

Differential Revision: https://phabricator.services.mozilla.com/D35780

--HG--
extra : moz-landing-system : lando
2019-06-27 09:02:59 +00:00
Valentin Gosu
6806c4f960 Bug 1561005 - Make windows networkID use the INetworkListManager API r=michal
Depends on D35683

Differential Revision: https://phabricator.services.mozilla.com/D35684

--HG--
extra : moz-landing-system : lando
2019-06-28 11:21:59 +00:00
Valentin Gosu
cc4af7a576 Bug 1561005 - Add nsINetworkLinkService.networkID r=michal
Differential Revision: https://phabricator.services.mozilla.com/D35683

--HG--
extra : moz-landing-system : lando
2019-06-28 11:11:19 +00:00
Valentin Gosu
d36aaea3c9 Bug 1395914 - Update histogram with two new values for IPv6 network-id changes r=michal
Differential Revision: https://phabricator.services.mozilla.com/D34905

--HG--
extra : moz-landing-system : lando
2019-06-27 09:02:13 +00:00
Valentin Gosu
b8945b8f06 Bug 1395914 - Figure out network id for IPv6 too (mac) r=michal
Differential Revision: https://phabricator.services.mozilla.com/D34904

--HG--
extra : moz-landing-system : lando
2019-06-27 09:01:56 +00:00
Valentin Gosu
95534fc1ce Bug 1395914 - Figure out network id for IPv6 too (Linux) r=michal
Differential Revision: https://phabricator.services.mozilla.com/D34903

--HG--
extra : moz-landing-system : lando
2019-06-27 09:19:57 +00:00
Sylvestre Ledru
e226046cb8 Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
# ignore-this-changeset

Depends on D28954

Differential Revision: https://phabricator.services.mozilla.com/D28956

--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Sylvestre Ledru
0b4021fcad Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D17139

--HG--
extra : histedit_source : 084f340503d2e1a2d9e1753c38b2c4ee9c7819f3
2019-01-21 18:18:16 +01:00
Tooru Fujisawa
7983faeb5d Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
Benjamin Bouvier
a7f1d173a0 Bug 1511383: Update vim modelines after clang-format; r=sylvestre
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)

--HG--
extra : rebase_source : 7eedce0311b340c9a5a1265dc42d3121cc0f32a0
extra : amend_source : 9cb4ffdd5005f5c4c14172390dd00b04b2066cd7
2018-11-30 16:39:55 +01:00
Sylvestre Ledru
265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Gabriele Svelto
19e52bebd4 Bug 1510582 - Remove useless inclusions of Services.h r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D13240

--HG--
extra : moz-landing-system : lando
2018-11-28 17:25:23 +00:00
Emilio Cobos Álvarez
fffb25b74f Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
This was done automatically replacing:

  s/mozilla::Move/std::move/
  s/ Move(/ std::move(/
  s/(Move(/(std::move(/

Removing the 'using mozilla::Move;' lines.

And then with a few manual fixups, see the bug for the split series..

MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Andi-Bogdan Postelnicu
3f2298c2f6 Bug 1457411 - Update netwerk module to make use of newer methods introduced with c++11 and c++14. r=valentin
MozReview-Commit-ID: 666LNaHyiuQ

--HG--
extra : rebase_source : f3a24e0342d8dcdf9020dd473bc6b1045cbc533b
2018-04-30 19:46:04 +03:00
Sylvestre Ledru
4591d82b23 Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: HbF5oT5HW6f

--HG--
extra : rebase_source : eca479b6ae4bff7f600d1cdb39e11ac2057e4e79
2017-12-07 22:09:38 +01:00
Sylvestre Ledru
d60d69e2cb Bug 1411001 - Remove the +x permissions on cpp & h files r=froydnj
MozReview-Commit-ID: DjDkL20wRg0

--HG--
extra : rebase_source : a343d83d1f4e97e4ba56d0f57fec93079df0b5ea
2017-10-23 20:59:55 +02:00
Tom Ritter
f1a3d26f61 Bug 1392641 Check return value for functions declared with warn_unused_result r=bagder,nwgh
MozReview-Commit-ID: BJj3Lvtntd6

--HG--
extra : rebase_source : 1776aab1d6de123323dc034d11b24a6c7b9d7ea1
2017-08-25 14:37:44 -05:00
Tom Ritter
d06bc69178 Bug 1392642 Remove unused variables in netwerk/ to silence warnings r=bagder,nwgh
MozReview-Commit-ID: LLTB5RJ4ZMz

--HG--
extra : rebase_source : 26a94bce6e9a3f22542d04e9930ff74eddd1f7ca
2017-08-24 12:03:19 -05:00
Mats Palmgren
b3981c5e09 Bug 1376469 - Use LookupForAdd instead of Get+Put to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: BPEFZeLkNp
2017-06-28 01:03:17 +02:00
Bill McCloskey
f115503a0b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
8a1350b5a6 Backed out changeset 4f6302a98ae4 (bug 1372405)
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey
6b3e84ed5f Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
ea1b86680c Backed out changeset 9846de3bd954 (bug 1372405)
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Jan Keromnes
57720f1ea5 Bug 1372853 - Use nullptr in /netwerk (clang-tidy: modernize-use-nullptr). r=valentin 2017-06-16 01:35:00 -04:00
Valentin Gosu
a1c45c3558 Bug 1368549 - Remove MOZ_WIDGET_GONK from netwerk/* r=mcmanus
MozReview-Commit-ID: J2njLbNwlco

--HG--
extra : rebase_source : ccb35cb5845024c1bf7b448ebcec451bab264e8b
2017-05-29 22:09:04 +02:00
Liang-Heng Chen
db658556bf Bug 1321841 - Better checksum for "live" adapters. r=bagder
MozReview-Commit-ID: Ldql5weiLyy

--HG--
extra : rebase_source : 240ce387fad691fcf4825f0b85fefe094e01972f
2017-01-18 05:40:00 -05:00
Markus Stange
29c472082f Bug 1323100 - Use NS_NewNamedThread for the Link Monitor thread. r=froydnj
MozReview-Commit-ID: ETOGkxMgknN

--HG--
extra : rebase_source : 1adb7e727313cf9d8f6fd8e2639f9b9e4f081454
2016-12-21 11:32:39 +01:00
Andi-Bogdan Postelnicu
702a3fbf63 Bug 1311669 - replace default bodies of special member functions with = default; r=valentin
MozReview-Commit-ID: YxHWVHUyDq

--HG--
extra : rebase_source : 24dbb81862770d82a3dc139ba8041bb576cf7cc4
2016-11-01 14:44:09 +02:00
Tom Schuster
774a8bf34d Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
Jim Chen
c800eaab74 Bug 1292323 - Update WrapForJNI usages; r=snorp
Replace old flags in WrapForJNI usages with new flags. The calledFrom
and dispatchTo flags are set based on whether the method is native or
non-native, and how the method is used.

Also fix testEventDipatcher to respect NativeJSObject's calledFrom =
"gekco" flag, by moving a test to Gecko thread.
2016-08-12 23:15:52 -04:00
Alexandre Lissy
0af5b943b6 Bug 1284674 - Remove NUWA r=cyu
MozReview-Commit-ID: GyMRNzOBKw6

--HG--
extra : rebase_source : 293af1cd55f2035ce6a99f4ebf144059c32a2b8f
2016-08-02 14:54:00 +02:00
Carsten "Tomcat" Book
336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Jim Chen
ce45a595ab Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 13:49:04 -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
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
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
Daniel Stenberg
567324b59b Bug 1281188 - Add network identification telemetry to Mac version, r=mcmanus 2016-06-21 10:08:00 +02:00
Daniel Stenberg
7fa126ed0a Bug 1280861 - network identification telemetry for Windows, r=mcmanus 2016-06-20 10:30:00 +02:00
Nicholas Nethercote
ec7a660ceb Bug 1274148 (part 1, attempt 2) - Use MOZ_MUST_USE more in xpcom/io/Base64.h. r=erahm,bagder,mattwoodrow.
--HG--
extra : rebase_source : 3e4a861f4f9c4151ffbad110159ad541119278fa
2016-06-06 12:22:14 +10:00
Nicholas Nethercote
4f1d56df39 Backout 0ed86240bc77 for bustage. 2016-06-06 11:51:44 +10:00
Nicholas Nethercote
8bc7cd881e Bug 1274148 (part 1) - Use MOZ_MUST_USE more in xpcom/io/Base64.h. r=erahm,bagder,mattwoodrow.
--HG--
extra : rebase_source : b468df852789a22e3d50a9580515bb6aa46784d5
2016-06-06 09:21:00 +10:00
Daniel Stenberg
00f4a04098 Bug 1273165 - Sync networkid calculation with the event coalescing. r=mcmanus
--HG--
extra : rebase_source : 384e11efdea2ea4281276867231a1007df027f98
2016-05-16 08:09:00 -04:00
Thomas Zimmermann
af3dda948f Bug 1273900: Replace |sprintf| with |snprintf| in netwerk/system/linux/, r=daniel
MozReview-Commit-ID: 5sKgcIK3ZKp
2016-05-19 09:21:18 +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
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Daniel Stenberg
4e7bbc4cb6 Bug 1271131 - check inet_ntoa return code before use, r=mcmanus 2016-05-08 14:25:00 +02:00
Daniel Stenberg
238c4af941 Bug 1240932 - figure out 'network id' on Windows, r=mcmanus 2016-04-28 04:52:00 +02:00
Daniel Stenberg
a520e4cdb0 Bug 1240932 - figure out 'network id' on OS X, r=mcmanus 2016-04-28 04:51:00 +02:00
Daniel Stenberg
e812edc978 Bug 1240932: add Telemetry to record network id successes, r=mcmanus 2016-04-11 07:24:00 +02:00
Daniel Stenberg
21399b54de Bug 1240932 - figure out 'network id' on Linux. r=mcmanus 2016-04-11 06:53:00 +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
Daniel Stenberg
88a9b28195 Bug 1245059 - Disable NotifyIpInterfaceChange use for now. r=mcmanus 2016-03-18 16:26:00 -04:00
Daniel Stenberg
b98729c515 Bug 1112499 - Set up shutdown pipe before new thread starts. r=keeler
--HG--
extra : rebase_source : 4673d89ef96a0ba7dca6784b2aa9f686f4c60883
2016-02-26 14:29:00 -05:00
Patrick McManus
3355f2b1ed Bug 739029 - null check a thread allocation in notifyaddrlistener r=bagder 2016-02-19 15:21:28 -05:00
Daniel Stenberg
e9020d4387 Bug 1246850 - check the NotifyIpInterfaceChange() return code, r=mcmanus 2016-02-09 01:31:00 +01:00