Commit Graph

541 Commits

Author SHA1 Message Date
Nathan Froyd
c70882c00e Bug 883954 - part 3 - build etld_data.inc using new GENERATED_FILES functionality; r=gps
As a proof-of-usefulness, let's change the build process for
etld_data.inc to write out the rules generating it automatically through
moz.build.
2014-12-16 15:15:14 -05:00
Gervase Markham
3f453ce392 Bug 1129436 - Add SinaAppEngine domains to PSL. r=gerv 2015-02-17 17:53:27 +00:00
Carsten "Tomcat" Book
0195978f3b Backed out changeset d168a14d3f71 (bug 967792) for suspicion of causing OS X xpcshell test failures on a CLOSED TREE 2015-02-17 09:48:33 +01:00
Patrick McManus
1eaf9d05c2 bug 967792 - make localhost resolve offline r=dragana 2015-02-15 13:50:48 -05:00
Nicholas Nethercote
09156539d5 Bug 1131901 (part 1) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.
2015-02-02 14:48:58 -08:00
Dragana Damjanovic
7062226238 Bug 1123324 - Additional fix for nsHostResolver. r=sworkman 2015-02-10 08:45:00 -05:00
Andrew McCreight
c946357872 Bug 1131199, part 2 - Make PLDHashtInitEntry infallible. r=froydnj
Also, drop the unused table argument.
2015-02-11 09:46:40 -08:00
Nicholas Nethercote
a3bfc736ba Back out changesets 2fcef6b54be7, 2be07829fefc, 66dfe37b8532, df3fcd2be8fd, 0a436bce77a6 (bug 1050035) for causing intermittent crashes and assertion failures. 2015-02-10 14:39:49 -08:00
Patrick McManus
7ba3854016 bug 1129571 - h2/spdy coalsescing by full DNS rrset r=hurley 2015-01-30 10:55:07 -05:00
Nicholas Nethercote
a40419dc43 Bug 1050035 (part 4) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.
2015-02-02 14:48:58 -08:00
Gervase Markham
8339e305f6 Bug 1126101 - New TLD additions for TLDs contracted with ICANN from 2014-12-23 to 2015-01-26. r=gerv 2015-02-04 13:32:47 +00:00
Damien Tournoud
3d4f4533c7 'Bug 1124625: Add platform.sh to the PSL. Patch by damien@commerceguys.com; r=gerv 2015-02-04 13:30:13 +00:00
Martin
6451871de5 Bug 1094260: Amendment to URL relating to .in entry in PSL. r=gerv 2015-02-04 13:23:17 +00:00
Dragana Damjanovic
7ff1e0d62a Bug 1123324 - Fix host resolve. r=sworkman 2015-02-03 00:16:00 -05:00
Nicholas Nethercote
550d0cf346 Bug 1124973 (part 3) - Use PL_DHashTableSearch() in nsHostResolver.cpp. r=froydnj,sworkman.
Currently nsHostResolver.cpp uses PL_DHashTableLookup() and fails to use
PL_DHASH_ENTRY_IS_{FREE,BUSY} on the result the way it should. However, I think
it gets away with this because it always does this on the result:

  if (!he || !he->rec) { /* do stuff with |he->rec| */ }

The |!he| test is useless and always fails, but the |!he->rec| does the right
thing because (a) entry storage is always zeroed when the table is created, (b)
HostDB_ClearEntry() zeroes the |rec| field (via NS_RELEASE). So unused entries
always have a null |rec| field.

Furthermore, |he->rec| is never zero in a used entry because HostDB_InitEntry
always assigns it with a nsHostRecord assigned with infallible new in
nsHostRecord::Create (and there are existing assertions to this effect).

All this means that when this patch switches PL_DHashTableLookup to
PL_DHashTableSearch it can drop the |!he->rec| test and just do this:

  if (!he) { /* do stuff with |he->rec| */ }

Finally, there's a comment about HostDB_InitEntry failing which is bogus
because HostDB_InitEntry cannot fail. This patch fixes that too.
2015-01-22 21:25:44 -08:00
Nicholas Nethercote
d761b24aaf Bug 1124973 (part 2) - Introduce PL_DHashTableSearch(), and replace most PL_DHashTableLookup() calls with it. r=froydnj.
It feels safer to use a function with a new name, rather than just changing the
behaviour of the existing function.

For most of these cases the PL_DHashTableLookup() result was checked with
PL_DHASH_ENTRY_IS_{FREE,BUSY} so the conversion was easy. A few of them
preceded that check with a useless null check, but the intent of these was
still easy to determine.

I'll do the trickier ones in subsequent patches.
2015-01-22 21:06:55 -08:00
James Kitchener
0463ec8f7b Bug 1100184 - Use absolute paths in /network local includes. r=gps 2015-01-16 20:41:06 +10:30
James Kitchener
6a912052bb Bug 1100184 - Flatten netwerk/base/{public,src}/ directories. r=mcmanus, r=poiru 2015-01-20 03:58:00 -05:00
Dragana Damjanovic
128ae88e05 Bug 1108971 - Fix parameter in call GetAddrInfo. r=sworkman 2015-01-15 01:21:00 +01:00
Nicholas Nethercote
14f46aac14 Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj. 2015-01-14 14:35:56 -08:00
Phil Ringnalda
cb85f01b15 Backed out 2 changesets (bug 1121304) for consistent b2g hangs in webgl-color-test.html?frame=1&__&preserve&premult&_____
Backed out changeset 20651ac19549 (bug 1121304)
Backed out changeset 758afec77c95 (bug 1121304)
2015-01-14 22:02:23 -08:00
Nicholas Nethercote
60d7115c86 Bug 1121304 (part 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj. 2015-01-14 14:35:56 -08:00
Nicholas Nethercote
c4c1173204 Bug 1120476 (part 4) - Remove PLDHashTableOps::finalize. r=froydnj. 2015-01-13 19:02:35 -08:00
Nicholas Nethercote
7c92773a6f Bug 1120476 (part 3) - Remove PLDHashTable::data. r=froydnj. 2015-01-13 16:42:13 -08:00
Michael Pruett
c1d94593ae Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd 2015-01-05 20:27:28 -06:00
Ryan VanderMeulen
7b104d55d1 Bug 1115219 - Remove unnecessary RELEASE_BUILD check from GetAddrInfo.h. r=mcmanus 2015-01-02 16:51:04 -05:00
Ehsan Akhgari
897c4949cc Bug 1117042 - Mark virtual overridden functions as MOZ_OVERRIDE in netwerk; r=mcmanus 2015-01-02 09:04:04 -05:00
Gervase Markham
5fee38d724 Bug 1114762 - New TLD additions for TLDs contracted with ICANN through 12/22/2014 2014-12-29 12:50:22 -08:00
Gervase Markham
12af40e722 Bug 1113728 - Add pagespeedmobilizer.com to PSL. r=gerv 2014-12-22 06:23:00 -05:00
Ryan Sleevi
3d88d66b60 Bug 1110626 - New TLD additions for TLDs contracted with ICANN through 2014-12-12. r=gerv 2014-12-17 10:30:52 -05:00
Osman Surkatty
99c6052459 Bug 1112404 - Update PSL with new AWS Region. r=gerv
--HG--
extra : rebase_source : 26fafe08f25b83ff2ff4fecdf7ba5cef62fa705b
2014-12-17 02:26:00 -05:00
Manesh Samtani
852524c3a0 Bug 1102231 - Update PSL for UDR Ltd. domains. r=gerv 2014-11-21 04:28:00 +01:00
Gervase Markham
21c5c8b8c6 Bug 1093382 - Update PSL with new TLD additions for TLDs contracted with ICANN from 2014-10-04 to 2014-11-02. r=gerv 2014-11-04 01:51:00 -05:00
Osamu Inamoto
135e08ee3d Bug 1091474 - Update PSL for .jp. r=gerv 2014-10-30 03:51:00 -04:00
Gervase Markham
dd154baadc Bug 1090800 - Remove mosreg.ru from PSL. r=gerv 2014-10-30 04:00:00 -04:00
Jothan Frakes
c6797fe908 Bug 1077796 - Update PSL with gTLDs up to 2014-10-04. r=gerv 2014-10-30 04:03:00 -04:00
Eduardo Vela
f3a213b0d7 Bug 1088684 - update Blogspot domains in PSL. r=gerv. 2014-10-24 07:33:00 +02:00
Gervase Markham
e1579fdf73 Bug 1069069 - update .pl entry in PSL. r=tobias.sattler 2014-10-24 08:55:00 +02:00
Steve Workman
54980b32cd Bug 1084645 - Enable DNS TTL by default on Windows r=mcmanus 2014-10-20 10:26:33 -07:00
Steve Workman
4a32b5b06a Bug 1074789 - Adjust DNS renewal time telemetry to take TTL experiments into consideration r=mcmanus 2014-10-07 14:57:48 -07:00
Daniel Stenberg
c4377feb7e Bug 1077084 - improved DNS cache pruning. r=sworkman 2014-10-13 23:07:00 +02:00
Ehsan Akhgari
e23f9bf54e Bug 1080937 - Fix a clang-cl build error in nsHostResolver.cpp; r=sworkman 2014-10-11 09:41:51 -04:00
Neil Rashbrook
b0f67a86f0 Bug 1078026 Clean up XPCOM string usage r=sworkman 2014-10-10 08:40:11 +01:00
Eric Rahm
739ad6c34e Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan 2014-10-08 13:19:14 -07:00
Eric Rahm
be71a0b71a Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan 2014-10-08 13:17:32 -07:00
Wes Kocher
5000218064 Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
600bc87781 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
4a41e11c21 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
e48f2ffc5b Bug 1067679 - mingw fixup. 2014-10-01 10:58:30 +02:00
James Willcox
2909386e77 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