Commit Graph

78 Commits

Author SHA1 Message Date
Michal Novotny
ae154f5e8f Bug 1617036 - Remove NETWORK_TIME_BETWEEN_NETWORK_CHANGE_EVENTS probe r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D63571

--HG--
extra : moz-landing-system : lando
2020-02-24 15:09:40 +00:00
Cosmin Sabou
922d7d1c75 Backed out changeset 39ac1f7241ee (bug 1617036) for android bustages on nsAndroidNetworkLinkService.cpp.
CLOSED TREE
2020-02-24 16:43:08 +02:00
Michal Novotny
4928a446af Bug 1617036 - Remove NETWORK_TIME_BETWEEN_NETWORK_CHANGE_EVENTS probe r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D63571

--HG--
extra : moz-landing-system : lando
2020-02-24 13:44:21 +00:00
Sylvestre Ledru
c521758c5e Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-01-09 21:50:11 +00:00
Kershaw Chang
0e741f1658 Bug 1598676 - P2: Send dns suffix list updated event (Windows/Linux/Android) r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D54901

--HG--
extra : moz-landing-system : lando
2019-11-27 11:14:44 +00:00
Valentin Gosu
0e928af6c3 Bug 1565008 - TRR: Check for Proxy on Windows to use platform DNS r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D54092

--HG--
extra : moz-landing-system : lando
2019-11-24 14:54:02 +00:00
Valentin Gosu
13590a1c98 Bug 1565004 - Add nsINetworkLinkService.vpnDetected r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D52168

--HG--
extra : moz-landing-system : lando
2019-11-21 10:43:02 +00:00
Cosmin Sabou
4e76fd5665 Backed out 2 changesets (bug 1565004) for xpc failures on netwerk/test/unit/test_trr.js.
Backed out changeset 3d6d67621349 (bug 1565004)
Backed out changeset ef016d00ec9b (bug 1565004)
2019-11-20 18:40:16 +02:00
Valentin Gosu
eb905c9af5 Bug 1565004 - Add nsINetworkLinkService.vpnDetected r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D52168

--HG--
extra : moz-landing-system : lando
2019-11-20 14:33:11 +00:00
Valentin Gosu
0f34f53efd Bug 1589446 - Send the network id notification on networkID change (Linux) r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D53361

--HG--
extra : moz-landing-system : lando
2019-11-19 10:33:17 +00:00
Michal Novotny
a012999a15 Bug 1589447 - Add network id change event on Linux and Android, r=kershaw,valentin
This patch adds network ID change event to Linux and Android. On these platforms network ID change event is equal to network change event.

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

--HG--
extra : moz-landing-system : lando
2019-11-14 13:37:50 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Tom Schuster
774a8bf34d Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02: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
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
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
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