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

1030 Коммитов

Автор SHA1 Сообщение Дата
Kyle Huey c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Jonathan Kew c60f6a1ae4 Bug 1266391 - Introduce an enum class mozilla::unicode::Script, and use this instead of bare integers to specify script codes for better type checking. r=masayuki 2016-04-21 18:58:59 +01:00
Patrick McManus 6a9e630b92 Bug 866380 - Null check for amlogic libc implementation. r=valentin 2016-04-06 18:38:35 -04:00
Kyle Huey d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Gregory Szorc f56b31927d Bug 1257320 - Disable C4577 to unblock compilation on VS2015; r=mayhemer
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary. That being said, the warnings this patch masks are
in an included ICU header, which is a 3rd party project. So our hands
appear tied.

MozReview-Commit-ID: 1Qh9H3zrCDf

--HG--
extra : rebase_source : 65508407de45d28440184d765ba74ea33330071e
2016-03-16 14:04:34 -07:00
Nicholas Nethercote a2f068b2ad Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj.
This is easy because it's never needed.

--HG--
extra : rebase_source : 78830dab41c40a1544fa55fc69ca9c1c6709d767
2016-03-16 15:33:44 +11:00
Eric Rahm 217f7e1cbf Bug 1251493 - Remove remaining references to MOZILLA_XPCOMRT_API from netwerk. r=mcmanus 2016-02-29 11:16:30 -08:00
Paul Bignier 1d1fd489f5 Bug 1245106 - necko compilation warnings r=mcmanus
--HG--
extra : rebase_source : 6f4adf253af73a58d3ff5561e33e34eed94e456b
2016-02-26 11:29:28 -05:00
Nicholas Nethercote 9d2a708f22 Bug 1247835 (part 1) - Use binary search instead of a hash table in nsEffectiveTLDService. r=jduell.
This saves 128 KiB of memory per process. It requires putting the eTLD entries
in sorted order.

--HG--
extra : rebase_source : 96678fcd91089a5151760dcced77e459bcbd4821
2016-02-25 13:31:01 +11:00
Kershaw Chang d5f84ee56f Bug 1239955 - Let DNSService rely on IOService::Offline, r=bagder 2016-02-17 22:29:00 +01:00
Andrea Marchesini fa67ed1ccd Bug 1245866 - A better buffer size check in nsIDNService::IDNA2008ToUnicode, r=jfkthame 2016-02-16 17:53:44 +00:00
Nicholas Nethercote 0f6f6e8526 Bug 1246013 (part 2) - Change "explicit/xpcom/effective-TLD-service" path to the more sensible "explicit/network/effective-TLD-service". r=jduell.
--HG--
extra : rebase_source : 8e846b38f38c6701c9a41eb38b0acbcb763182d2
2016-02-05 11:31:28 +11:00
Nicholas Nethercote 6e433114a5 Bug 1246013 (part 1) - Store a copy of the ETLDEntry directly in DomainEntry instead of a pointer to it. r=jduell.
This reduces the size of nsEffectiveTLDService from 256 KiB to 128 KiB on
64-bit platforms.

--HG--
extra : rebase_source : b0a52634a1c8d045d0471af38dc79552a1bf2365
2016-02-05 11:17:35 +11:00
Shih-Chiang Chien 075eec3d76 Bug 1241368 - provide JS implemented MDNS service as a fallback. r=nwgh,nalexander.
--HG--
rename : mobile/android/modules/MulticastDNS.jsm => netwerk/dns/mdns/libmdns/MulticastDNSAndroid.jsm
extra : rebase_source : 4b5418819c590c8a373813843605df7f1748ecb8
2014-05-16 15:01:27 -04:00
Bill McCloskey c663839ade Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
Andrea Marchesini caa2f9b456 Bug 1231378 - part 4 - Fix uninitialized members of classes in netwerk/widget/storage/uriloader/memory/tools, r=smaug 2016-01-12 18:16:59 +00:00
Carsten "Tomcat" Book 3589aeeb8a Backed out changeset d6b0ffe1a7b3 (bug 1231378) 2016-01-12 15:48:54 +01:00
Andrea Marchesini 2609a149da Bug 1231378 - part 4 - Fix uninitialized members of classes in netwerk/widget/storage/uriloader/memory/tools, r=smaug 2016-01-12 13:57:37 +00:00
Valentin Gosu f86b01846d Bug 1233610 - IDN service should return NS_ERROR_MALFORMED_URI instead of NS_ERROR_FAILURE r=mcmanus
--HG--
extra : rebase_source : ed7923a472a3da8c1dcc4161daf4836c8565629c
2016-01-07 14:31:22 +01:00
Shih-Chiang Chien 84d3fa49fe Bug 1229726 - fix the data copy from sockaddr to NetAddr on OSX/FreeBSD. r=mcmanus.
--HG--
extra : commitid : 8MlF9vIlTGZ
2015-12-23 14:13:58 +08:00
Kannan Vijayan 9cc5a540ac Bug 1233813 - Fix mDNS bug in resolving services with no TXT records. r=schien 2015-12-22 16:24:56 -05:00
Patrick McManus 653ee2068a Bug 1228457 create pref to allow blocking .onion at dns level rfc 7687 r=valentin.gosu 2015-12-11 14:28:21 -05:00
Patrick McManus 2c38f642a7 Bug 1228457 - backout 625248e1115c broke e10s xpcshell test CLOSED TREE r=backout 2015-12-09 13:12:19 -05:00
Patrick McManus 70d505ba42 Bug 1228457 create pref to allow blocking .onion at dns level rfc 7687 r=valentin.gosu 2015-12-04 06:20:15 -05:00
Jan Beich 814acd7ab8 Bug 1228208 - Make sure ICU flags are prepended before system flags. r=glandium 2015-12-02 09:40:50 +00:00
Nicholas Nethercote ddc78c3b0c Bug 1229458 - Remove SizeOfIncludingThisMustBeUnshared() from string classes. r=mccr8.
The patch changes all uses of SizeOfIncludingThisMustBeUnshared() to
SizeOfIncludingThisIfUnshared(). This incurs the (tiny) cost of an unnecessary
IsReadonly() check for guaranteed-unshared strings, but avoids the possible
assertion failures that would occur when MustBeUnshared() was used incorrectly
on shared strings, which is an easy mistake to make.

--HG--
extra : rebase_source : b1e91f1c19bcbe0521b0ce461d6c90512ca938ef
2015-12-01 15:36:26 -08:00
Simon Montagu 6ca8e09bc1 Bug 1218179: move from transitional to non-transitional IDNA2008 processing, r=jfkthame 2015-10-25 23:53:21 -07:00
Valentin Gosu 0779b66d18 Bug 1228640 - Backout bug 1183781 (changeset b9b6a1567ef6) for causing crash a=me 2015-11-28 00:20:01 +01:00
Shih-Chiang Chien 215c71de0b Bug 1225726 - enable nsDNSServiceDiscovery on OS X. r=mcmanus. 2015-11-18 14:02:31 +08:00
Valentin Gosu 8a5616fdc5 Bug 1183781 - Small leak in DNS.cpp and nsHostResolver.cpp r=sworkman
* makes AddrInfo extend nsISupports
* uses RefPtr for managing AddrInfo and nsHostResolver in nsHostResolver.cpp
2015-11-23 13:02:41 +01:00
Mike Hommey 4d40edea15 Bug 1221453 - Use AbsolutePaths with LOCAL_INCLUDES instead of manual -I in CXXFLAGS. r=gps 2015-11-06 09:59:21 +09:00
Liang-Heng Chen 95414d19cc Bug 1217807 - Part 1: use ServiceWatcher to extend life cycle of mDNS operators; r=schien
--HG--
extra : rebase_source : 8a3db0a321e666e8dc297958e085954530a33571
2015-11-03 01:03:00 +01:00
Patrick McManus 073d4a9803 bug 1219466 - convert netwerk to LazyLogModule r=valentin.gosu 2015-11-02 23:35:29 -05:00
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Simon Montagu b24d492d72 Bug 479520: Implement IDNA2008 standard for International Domain Names, patch 1: build system changes, r=ted; code changes, r=jfkthame 2015-10-28 07:05:15 -07:00
Carsten "Tomcat" Book b4bb8871b5 Backed out changeset 533f3277cdbb (bug 479520) for bustage on a CLOSED TREE 2015-10-28 12:29:27 +01:00
Simon Montagu 89109c7aa9 Bug 479520: Implement IDNA2008 standard for International Domain Names, patch 1: build system changes, r=ted; code changes, r=jfkthame 2015-10-28 03:46:44 -07:00
Kershaw Chang f182f7563e Bug 1200132 - Part2: Get IP address by calling InetAddress.getHostAddress(), r=mcmanus, rnewman 2015-10-21 02:53:00 +02:00
Kershaw Chang 42ddfe4f02 Bug 1200132 - Part1: Get address info after service resolved, r=mcmanus 2015-10-21 02:51:00 +02:00
Jonathan Watt de2eb25725 Bug 1216370 - For safety and searchability, define the nsHostResolver::RES_* enum in terms of the nsIDNSService::RESOLVE_* enum. r=mayhemer 2015-09-14 14:46:47 +01:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Simon Montagu e5b15415e7 Bug 321491: Refactor error handling in nsIDNService, r=mcmanus 2015-10-02 01:27:34 -07:00
Simon Montagu 1fa581c489 Bug 319030: remove fossil support for RACE encoding and multilingual test bed from IDN code, r=jfkthame 2015-09-26 23:28:33 -07:00
Nicholas Nethercote 647b520991 Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8.
--HG--
rename : xpcom/glue/pldhash.cpp => xpcom/glue/PLDHashTable.cpp
rename : xpcom/glue/pldhash.h => xpcom/glue/PLDHashTable.h
extra : rebase_source : 06b9d30db96ed78500fd44d9c0b51609103508a3
2015-09-15 20:49:53 -07:00
Nicholas Nethercote 2ee4fd783b Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru.
--HG--
extra : rebase_source : 3cdc975507170d783b02d70f7c7d95c6bf2e1bcd
2015-09-14 14:23:47 -07:00
Nicholas Nethercote 59683492e5 Bug 1121760 (part 3) - Remove PL_DHashTableRemove(). r=poiru.
--HG--
extra : rebase_source : c34d693de4aca45f2ea05c2767c8b1007c89df29
2015-09-14 14:23:24 -07:00
Nicholas Nethercote 479244f7c9 Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru.
--HG--
extra : rebase_source : 41eb939bfb5c925cba58b1af57abce9a4e5fdb30
2015-09-14 14:23:12 -07:00
Nicholas Nethercote fcfdd8f54b Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru.
--HG--
extra : rebase_source : 770e1f49a451ecbadd778e071b204611e27cf701
2015-05-21 00:34:25 -07:00
Phil Ringnalda b164dfe263 Merge m-c to f-t 2015-09-11 22:10:22 -07:00
Kershaw Chang ec77469e00 Bug 1199564 - start/stop mDNS on demand - v3. r=mcmanus 2015-09-10 20:03:00 +02:00
Liang-Heng Chen d51b9b19af Bug 1193605 - Part 4: add UUID for listeners; r=mcmanus 2015-08-25 07:17:00 +02:00
Liang-Heng Chen d713f17874 Bug 1193605 - Part 3: do not stop non-started service; r=mcmanus 2015-08-25 07:15:00 +02:00
Liang-Heng Chen 2d608f8465 Bug 1193605 - Part 1: enable mdns on Fennec. r=mcmanus r=rnewman 2015-08-25 06:58:00 +02:00
Kershaw Chang 4b14de0ac4 Bug 1172383 - Stop mDNS properly during destruction. r=mcmanus 2015-09-02 01:23:00 -04:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Patrick McManus 1f37202f72 Bug 1196237 - Relemetry after dns shutdown. r=dragana 2015-08-20 12:14:40 -04:00
Valentin Gosu 4f8b38c03b Bug 1190502 - RESOLVE_DISABLE_IPV4 returns A records r=mcmanus
nsHostResolver::ThreadFunc should not override addressFamily with PR_AF_UNSPEC
for IPv6 since GetAddrInfo.cpp::GetAddrInfo() can handle PR_AF_INET6.
_GetAddrInfo_Portable does this before calling PR_GetAddrInfoByName and
creates the AddrInfo with a disableIPv4 flag if necessary.
2015-08-10 11:22:02 +02:00
Ehsan Akhgari 2c853152f1 Backout bug 1190502 for leaks 2015-08-08 18:13:02 -04:00
Valentin Gosu 7bab44bfcd Bug 1190502 - RESOLVE_DISABLE_IPV4 returns A records r=mcmanus
nsHostResolver::ThreadFunc should not override addressFamily with PR_AF_UNSPEC
for IPv6 since GetAddrInfo.cpp::GetAddrInfo() can handle PR_AF_INET6.
_GetAddrInfo_Portable does this before calling PR_GetAddrInfoByName and
creates the AddrInfo with a disableIPv4 flag if necessary.
2015-08-08 07:12:02 +02:00
Liang-Heng Chen 71452409fa Bug 1188935 - Part 2: enable mDNS module on Android only if API level >= 21; r=mcmanus 2015-08-06 03:23:00 +02:00
Carsten "Tomcat" Book dcc3c5d093 Merge mozilla-central to b2g-inbound 2015-08-05 13:40:29 +02:00
Liang-Heng Chen a9c1e1a537 Bug 1175387 - close file descriptor after detached from STS. r=mcmanus 2015-08-04 20:01:00 +02:00
Birunthan Mohanathas 7315345693 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Nicholas Nethercote 1059c1de13 Bug 1189156 (part 2) - Don't use enumeration style for nsTHashtable::SizeOf{In,Ex}cludingThis(). r=erahm.
After this change, we have ShallowSizeOf{In,Ex}cludingThis(), which don't do
anything to measure children. (They can be combined with iteration to measure
children.)

And we still have the existing single-arg SizeOf{In,Ex}cluding() functions,
which work if the entry type itself defines SizeOfExcludingThis().

--HG--
extra : rebase_source : f93de9b789c21b1b148bed9de795f663f77c9dd9
2015-07-29 01:50:52 -07:00
Muhsin Ali Steiman 0f8160d3da Bug 1190069 - Fix uninitialized variable in MDNSResponderOperator.cpp. r=xeonchen 2015-08-01 11:26:00 -04:00
Nicholas Nethercote 2d56c1f52e Bug 1189156 (part 1) - Don't use enumeration style for PLDHashTable::SizeOf{In,Ex}cludingThis(). r=froydnj.
After this change, we have PLDHashTable::ShallowSizeOf{In,Ex}cludingThis(),
which don't do anything to measure children. (They can be combined with
iteration to measure children.)

This patch also removes the PL_DHashTableSizeOf{In,Ex}cludingThis() functions.
They're not necessary because the methods can be used instead.

Finally, the patch deliberately converts some SizeOfExcludingThis() calls to
SizeOfIncludingThis(). These are all done on heap pointers so this change is
valid.

--HG--
extra : rebase_source : b1d51096a8e7dcac29d7efd92e28938836ff5481
2015-07-29 22:28:20 -07:00
Gervase Markham de49451fb3 Bug 1182042 - Update PSL to latest version from Github. r=gerv
--HG--
extra : source : 0ad329ed192e16cc7d021d3dc25887b5d9cff086
2015-07-30 09:48:00 -04:00
Ryan VanderMeulen df8e16e16f Backed out changeset 0ad329ed192e for landing with the wrong bug number in the commit message. 2015-07-30 16:29:03 -04:00
Gervase Markham a9599af255 Bug 1107311 - Update PSL to latest version from Github. r=gerv 2015-07-30 09:48:00 -04:00
Nicholas Nethercote 87b80f8c66 Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj.
This makes it clearer that, unlike how SizeOf*() functions usually work, this
doesn't measure any children hanging off the array.

And do likewise for nsTObserverArray.

--HG--
extra : rebase_source : 6a8c8d8ffb53ad51b5773afea77126cdd767f149
2015-07-28 23:24:24 -07:00
Bobby Holley 97b9240b34 Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Ryan VanderMeulen e7f4ed0f8b Backed out changeset 60d045b1c1a6 (bug 1183781) for causing bug 1186435. a=me 2015-07-22 22:12:29 -04:00
Ehsan Akhgari b0e48ef7eb Bug 1185515 - Don't hold the observer service alive from nsDNSService; r=mcmanus 2015-07-20 17:51:33 -04:00
Valentin Gosu 94743edaf7 Bug 1183781 - Fix leak in nsHostResolver r=sworkman 2015-07-18 00:22:45 +02:00
Liang-Heng Chen edcb7c1c44 Bug 1158029 - Part 2: mDNS XPCOM module using NsdManager. r=mcmanus 2015-07-16 02:43:00 -04:00
Simon Montagu 04f33e7cf4 Bug 1183209 patch 3: update generated data files to Unicode 8, and adapt internal XIDMOD types to the new types in Unicode's xidmodifications.txt, r=jfkthame 2015-07-15 05:55:24 -07:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Ritu Kothari 533256ed4d Bug 1167410 - Removing an unused initialization. r=hurley 2015-06-26 15:33:00 +02:00
Nicholas Nethercote f976bf5495 Bug 1179071 - Merge RemovingIterator into Iterator. r=froydnj.
The original motivation for the Iterator/RemovingIterator split was that
PLDHashTable Checker class would treat them differently. But that didn't end up
happening (see bug 1131308). So this patch merges them. This is a small code
size win now but it will become bigger when I add iterators to nsTHashTable and
nsBaseHashtable.

The only complication is that PLDHashTable::Iter() is now non-const, which is
a problem if you use it in a const method. So I added PLDHashTable::ConstIter()
which is used in just two places. It's a bit of a hack -- effectively a
const_cast -- but I don't think it's too bad.
2015-07-06 22:02:26 -07:00
Dragana Damjanovic 7987d2203e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen 7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Juan Gomez 258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Nicholas Nethercote 4ce0a4d3ed Bug 1175771 (part 2) - Remove PL_DHashTableEnumerate() use from nsHostResolver. r=michal.
--HG--
extra : rebase_source : 28d252c83005b74c7106412a114fe7443f244ea4
2015-06-10 18:28:03 -07:00
Nicholas Nethercote 601e5edf97 Bug 1175771 (part 1) - Fix indentation in nsHostResolver::FlushCache(). r=michal.
--HG--
extra : rebase_source : e158de557cdf93c132627268c8dd2342d4c3de5f
2015-06-10 17:09:32 -07:00
Ryan VanderMeulen 5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez 702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Eric Rahm 75c4bebb79 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Ryan VanderMeulen 2b848889f8 Merge inbound to m-c. a=merge 2015-06-03 15:55:09 -04:00
Liang-Heng Chen 7397b7309f Bug 1115480 - Part 1: Implement XPCOM module for mDNSProvider. r=mcmanus 2015-05-20 23:06:00 -04:00
Honza Bambas 326b2476af Bug 1170534 - Remove Visual Event Tracer. r=dougt 2015-06-02 11:44:00 -04:00
Nicholas Nethercote e849e6588b Bug 1170416 (part 3) - Remove the PLDHashTable2 typedef. r=froydnj.
--HG--
extra : rebase_source : 9510ea47204fffa163cac43aeaaac6ae1ad80419
2015-05-19 16:46:17 -07:00
Carsten "Tomcat" Book 5471309381 Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)

--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Eric Rahm a9afd68cef Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Wes Kocher 4e9f80ed2e Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm f82c0e7caf Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Nicholas Nethercote a6d3fc9f49 Bug 1166598 (part 8) - Use PLDHashTable2 in nsHostResolver. r=froydnj. 2015-05-12 17:33:45 -07:00
Steve Workman ext:(%2C%20Valentin%20Gosu%20%3Cvalentin.gosu%40gmail.com%3E) 4a535c957a Bug 1138242 - Use sequential A and AAAA requests to get DNS record TTLs on Windows r=sworkman 2015-05-01 16:49:00 +03:00
Eric Rahm 3925a960aa Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Eric Rahm 4879ae86f4 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Nicholas Nethercote 4a930bc0f3 Back out a1f7ae44c7bb (bug 1164373) for causing intermittent test failures.
--HG--
extra : rebase_source : ac3d87bc11cf5cff81bc94f72ba01d1f05dfe445
2015-05-18 19:00:54 -07:00
Nicholas Nethercote 424c7b08b9 Bug 1164373 - Remove two static constructors involving PR_NewLogModule(). r=froydnj.
--HG--
extra : rebase_source : 089cbc39be20f60ca3c7e07b9f42034f19c4ea29
2015-05-13 18:02:56 -07:00
Patrick McManus 59395b21cb bug 1162821 - filter dns name collision records r=sworkman IGNORE IDL 2015-05-08 14:18:20 -04:00
Eric Rahm 58dea0dee9 Bug 1162336 - Part 1: Remove instances of #ifdef PR_LOGGING in netwerk. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 12:52:44 -07:00
Wes Kocher 28c02e1e6d Backed out 2 changesets (bug 1162336) for breaking at least windows builds
Backed out changeset 8952a7fa4050 (bug 1162336)
Backed out changeset 0170a6c2a5be (bug 1162336)
2015-05-07 11:13:24 -07:00
Eric Rahm ba22eb7fee Bug 1162336 - Part 1: Remove instances of #ifdef PR_LOGGING in netwerk. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 10:35:28 -07:00
Patrick McManus 8d273b528b Bug 1161558 cleanup some nsIObserver shutdown paths r=bagder 2015-05-05 10:04:34 -04:00
Simon Montagu 33a7836567 Bug 1162084: Check back in TLDs for Pakistan, r=gerv 2015-05-07 05:08:20 -07:00
Gervase Markham 9f37b79c96 Bug 1161823 - Remove Pakistan entries from the PSL because our UTF-8 converter doesn't like them. r=gerv
CLOSED TREE
2015-05-06 11:23:37 -04:00
Gervase Markham 9203d9996b Bug 1161936 - New TLD additions for TLDs contracted with ICANN from 2015-04-03 to 2015-05-05. r=gerv
--HG--
extra : histedit_source : 72e700cf57308188ffd4b1dd7db88d816b72d6e3
2015-05-06 02:52:00 -04:00
Gervase Markham 0037839ada Bug 1161823 - Comprehensive update to ICANN IDN ccTLD Section. r=gerv
--HG--
extra : histedit_source : 6211b959348d2fe2f742e8a0f62b894209e6d3d2
2015-05-06 02:50:00 -04:00
Gervase Markham ff1c17bc9c Bug 1161787 - Add net.et to PSL. r=gerv
--HG--
extra : histedit_source : 78a9ee0ab879adbec2aba8cef68991af4db8aa11
2015-05-06 02:55:00 -04:00
Gervase Markham abc8344bb9 Bug 1157442 - Add ac.lk to PSL. r=gerv
--HG--
extra : histedit_source : f4fe179e44524486ff11ff533fd035cd9156a57f
2015-05-06 02:57:00 -04:00
Gervase Markham e467d8072c Bug 1157676 - Update PSL for .gl. r=gerv 2015-04-28 07:52:00 -04:00
Gervase Markham e2465750c7 Bug 1155882 - Update PSL to add eu.org domains. r=gerv 2015-04-28 07:20:00 -04:00
Gervase Markham 486199152f Bug 1155625 - Update PSL comment for .nl. r=gerv 2015-04-28 06:42:00 -04:00
Gervase Markham 3fafbf7a4b Bug 1155496 - Add 4u.com to PSL. r=gerv 2015-04-28 06:31:00 -04:00
Gervase Markham d206b9ceef Bug 1155232 - Update .pl domains in PSL. r=gerv 2015-04-28 06:47:00 -04:00
David Major ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Ehsan Akhgari b06db58c73 Bug 1152329 - Only compile _Android_GetAddrInfoForNetInterface on Android>=19; r=mcmanus
This fixes the compiler warnings about the unused static function
on other platforms.
2015-04-08 21:57:01 -04:00
Gervase Markham 254ea5d7ad Bug 1151729 - New TLD additions for TLDs contracted with ICANN through 04/07/2015. r=gerv 2015-04-07 06:50:00 -04:00
Gervase Markham dd86798f74 Bug 1150066 - restore ability to run prepare_tlds.py standalone. r=gps
--HG--
extra : rebase_source : 4d51ae0af8befcb7eb13ed62b29a1122291f7bd7
2015-04-01 08:50:00 +02:00
Randall Barker b7e4e29621 Bug 1097804 - Part 1 - Create a library containing nsISocketTransportService and nsIDNS that can be used to support standalone WebRTC. r=mcmanus
--HG--
extra : rebase_source : 9a97f2622a0d7bd9f672aa652450af259792e059
2015-04-03 15:54:00 +02:00
Gervase Markham 1478c1b490 Bug 1137114 - New TLD additions for TLDs contracted with ICANN from 2015-01-27 to 2015-02-26. r=gerv
--HG--
extra : rebase_source : fdb9273c5acef5e9191c6012a2f6ec1bd73ee8fe
2015-04-02 03:34:00 -04:00
Wes Kocher e9d9b42fc7 Backed out changeset e1f294f7ca90 (bug 1097804) 2015-04-02 13:42:33 -07:00
Randall Barker 276ce99ef7 Bug 1097804 - Part 1, Create a library containing nsISocketTransportService and nsIDNS that can be used to support standalone WebRTC r=mcmanus 2015-04-02 12:13:28 -07:00
Mike Hommey c39e359c7d Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Andrea Marchesini e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Trevor Saunders d5851ef31c bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Daniel Stenberg ba50e00116 Bug 1141741 - Make mDisablePrefetch assigns atomic; r=mcmanus 2015-03-11 13:58:29 +01:00
Daniel Stenberg 8a79925af3 Bug 1140284 - start the resolver even when offline; r=ehsan 2015-03-09 09:52:05 +01:00
Nathan Froyd 4380a42bbc Bug 1141689 - use services::GetObserverService more; r=ehsan 2014-04-29 13:31:06 -04:00
Patrick McManus 7a1c7b71e8 Bug 967792 - Make localhost resolve offline. r=dragana 2015-02-25 14:02:38 -05:00
Ryan VanderMeulen fcc3099d24 Backed out changeset 13d9a5e39eb3 (bug 967792) for Gaia unit test failures.
--HG--
extra : rebase_source : 965ab6a8427a5753309b0e62b97f8287ce3fcc11
2015-02-25 11:39:14 -05:00
leo@bastilia.ru a499d91e12 Bug 1134993: Include *.su geographic domains in PSL. r=gerv 2015-02-25 14:46:16 +00:00
Patrick McManus a6c55eb584 bug 967792 - make localhost resolve offline r=dragana
--HG--
extra : rebase_source : b6080cdfc58a5c488b8dbe50741b44556e8f1c63
2015-02-15 13:50:48 -05:00
Henry Hu 9ebbd4b410 Bug 1132358 - Save and restore mIterGenCnt. Keep it consistent with mIter. r=mcmanus
CLOSED TREE
2015-02-20 15:13:39 -05:00
Dragana Damjanovic 82480b23f3 Bug 1108957 - Add per network interface dns query. This is possible only with gonk. r=mayhemer 2015-02-19 00:14:00 -05:00
Nathan Froyd 2947b8b43f 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 a2ec11ef55 Bug 1129436 - Add SinaAppEngine domains to PSL. r=gerv 2015-02-17 17:53:27 +00:00
Carsten "Tomcat" Book d65809ce11 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 d7be74843c bug 967792 - make localhost resolve offline r=dragana 2015-02-15 13:50:48 -05:00
Nicholas Nethercote 3a7b0a9f57 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.

--HG--
extra : rebase_source : 526d96ab65e4d7d71197b90d086d19fbdd79b7b5
2015-02-02 14:48:58 -08:00
Dragana Damjanovic bcda688027 Bug 1123324 - Additional fix for nsHostResolver. r=sworkman 2015-02-10 08:45:00 -05:00
Andrew McCreight 31ba9aaed9 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 63e3218e4c Back out changesets 2fcef6b54be7, 2be07829fefc, 66dfe37b8532, df3fcd2be8fd, 0a436bce77a6 (bug 1050035) for causing intermittent crashes and assertion failures.
--HG--
extra : rebase_source : eb30be83c3143c6c203585a80a18f180025efaba
2015-02-10 14:39:49 -08:00
Patrick McManus c2d290654c bug 1129571 - h2/spdy coalsescing by full DNS rrset r=hurley 2015-01-30 10:55:07 -05:00
Nicholas Nethercote b5913e0b3d 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.

--HG--
extra : rebase_source : eeba14d732077ef2e412f4caca852de6b6b85f55
2015-02-02 14:48:58 -08:00
Gervase Markham 8fa98dc306 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 191a5e19ff 'Bug 1124625: Add platform.sh to the PSL. Patch by damien@commerceguys.com; r=gerv 2015-02-04 13:30:13 +00:00