Граф коммитов

220 Коммитов

Автор SHA1 Сообщение Дата
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