Commit Graph

545 Commits

Author SHA1 Message Date
Eric Rahm
e523216532 Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan
--HG--
extra : rebase_source : 49a3f57d94fc94702f1604175c4e206091b67197
2014-10-06 13:11:24 -07:00
Eric Rahm
baf96b6e07 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
Jacek Caban
85d51fc6c4 Bug 1067679 - mingw fixup. 2014-10-01 10:58:30 +02:00
James Willcox
3e19f27830 Bug 1024614 - Guard against null resolver when flushing DNS cache r=sworkman
--HG--
extra : histedit_source : 028f9b336a9da0ede7fec22afc4cabd00b86222f
2014-09-26 13:31:22 -05:00
Daniel Stenberg
19d039df28 Bug 939318 - Detect network interface changes on Windows. r=mcmanus
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.

Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected. It does not send any CHANGED events
during the first 2 seconds after startup.

nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.

DNSservice: acts on network changes (flushes the host cache and restarts
ongoing name resolves)

HttpHandler: acts on network changes
2014-09-24 23:14:00 -04:00
Steve Workman
e3ffd2b86d Bug 1070966 - Change WrapRunnableNM to NS_NewRunnableMethodWithArg r=mcmanus 2014-09-24 09:56:13 -07:00
Ed Morley
6c7b4f5958 Backed out changeset 89d06d103c10 (bug 939318) for Valgrind failures; CLOSED TREE 2014-09-24 16:17:57 +01:00
Daniel Stenberg
9b14e61d5f Bug 939318 - Detect network interface changes on windows. r=mcmanus
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.

Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected. It does not send any CHANGED events
during the first 2 seconds after startup.

nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.

DNSservice: acts on network changes (flushes the host cache and restarts
ongoing name resolves)

HttpHandler: acts on network changes
2014-09-23 03:48:00 -04:00
David Major
8c0502a467 Bug 1067679 followup - fix build bustage with VS2013.
--HG--
extra : rebase_source : 63b5b6795d53d70b2d3b3efa1efee1ea2ae2b9df
2014-09-22 13:52:28 +12:00
John Sullivan
edc23b7817 Bug 1067679 - Call DnsQuery in addition to getaddrinfo to get DNS TTL on Windows r=sworkman 2014-09-20 15:10:18 -07:00
Gervase Markham
48fba8831a Bug 1061266 - New TLD additions for gTLDs contracted with ICANN from 2014-07-25 to 2014-09-01. r=gerv 2014-09-02 07:27:00 +02:00
Gervase Markham
3f0cba8a46 Bug 1061264 - Add service.gov.uk to the PSL. Patch by David Illsley <david.illsley@digital.cabinet-office.gov.uk>. r=gerv. 2014-09-02 08:07:00 +02:00
Ryan VanderMeulen
8017b23648 Backed out 7 changesets (bug 939318) for frequent Win7/Win8 xpcshell failures. a=backout
Backed out changeset 21dcd9e1b607 (bug 939318)
Backed out changeset cc131cf9ef81 (bug 939318)
Backed out changeset 02925699b9bb (bug 939318)
Backed out changeset a2d39ac660a6 (bug 939318)
Backed out changeset eeb8897aaa59 (bug 939318)
Backed out changeset d1e1ca369322 (bug 939318)
Backed out changeset 37bee525b188 (bug 939318)
2014-08-26 15:56:51 -04:00
Dragana Damjanovic
5c1e528724 Bug 947721 - Fix function CancelAsyncRequest and add the same function for the child process. r=sworkman
--HG--
extra : rebase_source : b89d296732cd65e8bfc0c6ff563095a668484eae
2014-08-26 05:09:00 -04:00
Daniel Stenberg
08c0f03cf8 Bug 939318 - Detect network interface changes on windows properly. r=mcmanus
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.

Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected.

nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.

DNSservice: acts on network changes (flushes the host cache)

HttpHandler: acts on network changes
2014-08-24 23:19:00 -04:00
Patrick McManus
4a4d8db0c5 Bug 820391 - Backout revision 4741ef815af9 for various regressions.
DONTBUILD
2014-08-21 10:53:11 -04:00
Ryan VanderMeulen
d6ca1b3277 Backed out changeset 49502f43bd03 for landing with the wrong bug number. 2014-08-21 11:03:02 -04:00
Patrick McManus
4e6d326cde bug 820931 - backout 4741ef815af9 r=backout
--HG--
extra : rebase_source : d862e877dd3d28df5322b3464e3c0b10a460a56d
2014-08-21 10:53:11 -04:00
josullivan
4ecc0e4ae1 Bug 820391: Use DnsQuery on Windows. r=sworkman
From 21e22e494541d5e4c085a6ba84e1bc5b4c92330e Mon Sep 17 00:00:00 2001
---
 netwerk/dns/DNS.cpp            |  65 +++++++-
 netwerk/dns/DNS.h              |   6 +
 netwerk/dns/GetAddrInfo.cpp    | 362 +++++++++++++++++++++++++++++++++++++++++
 netwerk/dns/GetAddrInfo.h      |  65 ++++++++
 netwerk/dns/moz.build          |   1 +
 netwerk/dns/nsHostResolver.cpp | 320 ++++++++++++++++++++++++++----------
 netwerk/dns/nsHostResolver.h   |  43 ++++-
 7 files changed, 766 insertions(+), 96 deletions(-)
 create mode 100644 netwerk/dns/GetAddrInfo.cpp
 create mode 100644 netwerk/dns/GetAddrInfo.h
2014-08-15 17:25:06 -07:00
Gervase Markham
c6f2712ac2 Bug 1051892 - Fix comments in PSL. r=gerv 2014-08-13 07:39:00 -04:00
Frederico Neves
1855a221d4 Bug 1051875 - Update PSL for nom.br. r=gerv 2014-08-13 07:41:00 -04:00
Mehmet Gurevin
f8dbaed56f Bug 1041035 - Add subTLDs for .tr to PSL. r=gerv 2014-08-13 07:45:00 -04:00
Stefano Rivera
d15fb491ec Bug 1040729 - Add yolasite.com to PSL. r=gerv 2014-08-13 07:51:00 -04:00
Jonathan Rudenberg
24c654245a Bug 1037901 - Add flynnhub.com to PSL. r=gerv 2014-08-13 07:53:00 -04:00
Gervase Markham
b46fd93721 Bug 1028347 - Remove k12.nd.us from PSL. r=gerv 2014-08-13 07:55:00 -04:00
Stefan Meinecke
7cb5cedc60 Bug 1024631 - Remove additional line breaks between 4rd level .us tld sections. r=gerv 2014-08-13 07:59:00 -04:00
Ben Cartwright-Cox
14f9ccbc8e Bug 1025002 - Update .et in PSL. r=gerv 2014-06-25 08:31:00 -04:00
Gervase Markham
dea8c71828 Bug 1024740 - Change one instance of engineering to engineer in the PSL. r=gerv 2014-06-13 02:40:00 -04:00
Nicholas Nethercote
8c60d14a1a Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
* * *
imported patch rm-dummy-params

--HG--
extra : rebase_source : c25987eb11bae197218d5fc53b77def19afa36ac
2014-08-06 06:31:21 -07:00
Andrew McCreight
edbfabc8f6 Bug 1046281 - Use the simpler version of nsTHashtable memory reporters. r=njn 2014-08-05 13:27:41 -07:00
Gervase Markham
dd4c012fe5 Bug 1045295 - Update PSL with new TLD additions for TLDs contracted with ICANN from 06/05/2014 - 07/24/2014. r=gerv 2014-08-05 11:00:00 -04:00
Ehsan Akhgari
7207465c1b Bug 1047782 - Fix some bad impliciit constructors in netwerk/; r=mcmanus 2014-08-05 09:20:50 -04:00
Ehsan Akhgari
77dfc12d57 Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus 2014-08-05 09:20:24 -04:00
Byron Campen [:bwc]
44bfe80bc4 Bug 963524 - Avoid setting SO_REUSEADDR when binding a UDP socket to port 0, since the linux kernel might select an already open port. r=mcmanus 2014-07-30 15:02:58 -07:00
Patrick McManus
8d789efedf Bug 354493 - revert Add nsINetworkZonePolicy to protect resources loaded from private IPs r=backout a=backout 2014-07-24 10:05:36 -04:00
Byron Campen [:bwc]
0c2b85d656 Bug 1042873: Add the appropriate byte-order conversion to ChildDNSRecord::GetNextAddr r=mcmanus 2014-07-23 11:48:05 -07:00
Mike Hommey
d10b15b035 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Steve Workman
793520eac4 Bug 354493 - Add nsINetworkZonePolicy to protect resources loaded from private IPs r=mcmanus 2014-07-17 11:08:20 -07:00
Birunthan Mohanathas
21a6db7bf5 Bug 1039653 - Remove unused nsIDNSRequest.idl. r=mcmanus 2014-07-16 12:02:34 -07:00
Gijs Kruitbosch
8a8f4bd649 Bug 693808 - part 0: add function decorator to nsIDNSListener, r=bsmedberg 2014-07-11 23:55:17 +01:00
Valentin Gosu
59b9bc3637 Bug 1026022 - Check that string is UTF8. r=mcmanus 2014-07-02 19:12:19 +03:00
Nicu Badescu
f7cc46ac37 Bug 1026656 - Fix resolve accessing temporary variable. r=valentin.gosu, r=mcmanus 2014-06-22 15:55:00 -04:00
Benoit Jacob
4180218bc7 Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus 2014-06-24 12:36:44 -04:00
Nicholas Nethercote
39f29c384a Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Gervase Markham
6c0eb2f555 Bug 1024514 - Add more new gTLD PSL entries. r=gerv 2014-06-12 07:56:00 -04:00
Chris Raynor
450b502b07 Bug 962360 - Add firebaseapp.com to the PSL. r=gerv 2014-06-11 06:21:00 -04:00
Gavin Brown
bddd1d5e1f Bug 1006570 - Add com.se to the PSL. r=gerv 2014-06-11 06:23:00 -04:00
Gervase Markham
c4d31af638 Bug 981927 - Update public suffix list for .cm. r=gerv 2014-06-12 07:38:00 -04:00
Gervase Markham
4248444671 Bug 985495 - Add nfshost.com to PSL. r=gerv 2014-06-12 07:31:00 -04:00
Michael Daly
d48b100585 Bug 1015214 - Update PSL for .uk. r=gerv 2014-06-12 06:53:00 -04:00
Gervase Markham
3093ce9d78 Bug 969471 - Remove csiro.au from PSL (again, and finally). r=gerv 2014-06-10 08:57:00 -04:00
Gervase Markham
c8df30ec30 Bug 984824 - Remove act.gov.au from the PSL. r=gerv 2014-06-10 08:56:00 -04:00
Gervase Markham
d48910b053 Bug 990543 - Add 2nd level IDN ccTLDs for .срб (.srb). r=gerv 2014-06-10 08:52:00 -04:00
Gervase Markham
aa80d99a09 Bug 1003034 - Remove pskov.ru from PSL. r=gerv 2014-06-10 08:45:00 -04:00
Gervase Markham
b73a015214 Bug 1007529 - Update PSL for nid.io. r=gerv 2014-06-10 08:38:00 -04:00
Simone Carletti
c9398c6686 Bug 1008202 - Update PSL for .nz. r=gerv 2014-05-20 01:38:00 -04:00
Ángel González
661eb2fd24 Bug 791769 - Update PSL for .ve. r=gerv
Adds arts.ve, firm.ve, gob.ve, int.ve, rec.ve, store.ve, tec.ve
2014-05-20 20:52:24 +02:00
Ángel González
2956a3e6c1 Bug 1000668 - Update PSL for .bb (co.bb and tv.bb). r=gerv 2014-05-20 21:08:56 +02:00
Ángel González
3cef750ee3 Bug 1000663 - Update PSL for .vu. r=gerv 2014-05-20 21:30:01 +02:00
Ángel González
5740bbe90d Bug 982776 - Add .gov.ar to the PSL. r=gerv 2014-05-20 22:14:19 +02:00
Ángel González
0e4c412750 Bug 978972 - Add amazonaws.cn domains to the PSL. r=gerv 2014-05-20 21:53:05 +02:00
Birunthan Mohanathas
807e72372f Bug 869836 - Part 4: Use EqualsLiteral instead of Equals(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Georg Koppen
39179ce95a Bug 971153 - Write a test for bug 751465. r=mcmanus
This patch adds a) a test for the fixed proxy bypass in bug 751465 and
makes b) some underlying changes to the nsDNSService to be able to write
that test in the first place.
2014-04-15 22:13:00 +02:00
Angel Gonzalez
57b6c948fe Bug 986241 - Fix wrong .it entries containing a space r=gerv 2014-03-21 18:11:22 +01:00
Simone Carletti
73a1d8098b Bug 967524 - Update to CentralNic SLDs. r=gerv 2014-03-21 08:52:01 -04:00
Simone Carletti
e71364ccef Bug 985464 - Add outsystemscloud.com to PSL. r=gerv 2014-03-19 13:42:38 -04:00
Simone Carletti
31a96c5575 Bug 984995 - Update PSL for .se. r=gerv 2014-03-19 13:42:38 -04:00
Simone Carletti
4bc6bf4d3a Bug 981273 - New TLD additions for TLDs contracted with ICANN from 02/25/2014 - 03/13/2014. r=gerv 2014-03-19 13:30:28 -04:00
Ryan VanderMeulen
afe7300be2 Backed out changeset f6478f166f2f (bug 967524) for bustage. 2014-03-19 13:13:18 -04:00
Simone Carletti
0aa0d3a051 Bug 967524 - Update to CentralNic SLDs. r=gerv 2014-03-19 13:05:03 -04:00
Patrick McManus
93c9394a56 bug 982565 - make dns ttl and grace period prefs respect 1s granularity r=sworkman 2014-03-09 06:01:56 -04:00
Nicholas Nethercote
82c6b4c5bc Bug 969902 - Fix a problem with DNS memory reporting measurement. r=sworkman.
--HG--
extra : rebase_source : a9fba2e21b2f9ecb267367a9006883d2bbd313e4
2014-03-10 15:44:35 -07:00
Patrick McManus
83c494cc00 bug 981513 - revert 807441 r=sworkman
--HG--
extra : rebase_source : d2c219fe01b6e4e0fdf25b920df0091039cf4c18
2014-03-09 11:00:18 -04:00
Simone Carletti
11ecbb3f21 Bug 980870 - Update PSL for .IT to include Regions and Provice reserved suffixes. r=gerv 2014-03-10 08:57:51 -04:00
Simone Carletti
a45cb7ec24 Bug 980872 - Update PSL for .JP. r=gerv 2014-03-07 11:37:21 -05:00
Simone Carletti
ff46598cf7 Bug 980864 - Update PSL for .MS. r=gerv 2014-03-07 11:37:21 -05:00
Simone Carletti
9d44eab62b Bug 980844 - Add mp.br to PSL. r=gerv 2014-03-07 09:08:03 -05:00
Simone Carletti
7b5f1af251 Bug 980841 - Add desa.id to PSL. r=gerv 2014-03-07 09:00:53 -05:00
Simone Carletti
e0d4bb0792 Bug 980837 - Remove trailing spaces from PSL. r=gerv 2014-03-07 09:00:52 -05:00
Simone Carletti
5aaf1d11df Bug 968310 - New TLD additions for TLDs contracted with ICANN from 01/15/2013 - 03/07/2014. r=gerv 2014-03-07 08:55:16 -05:00
Simone Carletti
7674e79366 Bug 969087 - Add GitHubUserContent.com to PSL. r=gerv 2014-02-24 09:41:55 -05:00
Ehsan Akhgari
b870bb3fe9 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Gervase Markham
7b5c1650ff Bug 968892 - Fix typo in romanized name for China. r=weppos 2014-02-10 15:58:47 -05:00
Simone Carletti
eb1661da00 Bug 966197 - Make sure all suffixes in PSL are lower-case. r=gerv 2014-02-07 15:32:41 -05:00
Simone Carletti
66539bb295 Bug 965744 - PSL changes for Google private domains. r=gerv 2014-01-30 11:32:08 -05:00
Simone Carletti
0c517fe5fa Bug 965740 - Add Microsoft azure to PSL. r=gerv 2014-01-30 11:17:11 -05:00
Simone Carletti
43af3fc6ef Bug 962945 - Remove duplicate .works entry from PSL. r=gerv 2014-01-24 08:46:11 -05:00
Simone Carletti
3876845b17 Bug 951060 - New TLD additions for TLDs contracted with ICANN until January 20th, 2014. r=gerv 2014-01-21 11:40:20 -05:00
Josh Aas
81a268a5e4 Bug 960648: Consistently mark IPDL methods as MOZ_OVERRIDE. Part 2. r=bent 2014-01-17 13:49:39 -06:00
Ryan Sleevi
9d14a4539a Bug 958299 - Remove PSL duplicates and fully contain all IANA-assigned gTLDs. r=gerv 2014-01-10 08:53:34 -05:00
Nicholas Hurley
c68a1ad1ab Bug 957759 - Remove SRV experiment code (helps prevent crashes). r=mcmanus 2014-01-09 13:50:04 -08:00
Birunthan Mohanathas
c293ca84b8 Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Nicholas Nethercote
82b05b710d Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Nicholas Hurley
8963c3dc7a Bug 950888 - Check for null DNS results before using them. r=mcmanus 2013-12-19 12:54:47 -08:00
Ryan VanderMeulen
cb5b5eee51 Merge m-c to inbound on a CLOSED TREE. 2013-12-11 22:39:20 -05:00
Jason Duell
cbec7de3de Bug 945066: remote nsIDNSService to child. r=jdm
* * *
bug 945066. Fix windows bustage.  r=jduell
2013-12-11 11:03:51 -08:00
Carsten "Tomcat" Book
ef58a8307d Backed out changeset 3072c9af15b3 (bug 945066) for fixing bustage on a CLOSED TREE 2013-12-11 11:51:35 +01:00
Jason Duell
cda90b5536 Bug 942317. Bustage fix for windows r=bustage 2013-12-11 02:05:40 -08:00