Commit Graph

454 Commits

Author SHA1 Message Date
Nicholas Hurley
6480bda07a Bug 957759 - Remove SRV experiment code (helps prevent crashes). r=mcmanus 2014-01-09 13:50:04 -08:00
Birunthan Mohanathas
dfbad43639 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
eaa7491d77 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
ed423fbdef Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Nicholas Hurley
8ff706eb4a Bug 950888 - Check for null DNS results before using them. r=mcmanus 2013-12-19 12:54:47 -08:00
Ryan VanderMeulen
da7f948f87 Merge m-c to inbound on a CLOSED TREE. 2013-12-11 22:39:20 -05:00
Jason Duell
3b0bd1832e 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
a7de8ea634 Backed out changeset 3072c9af15b3 (bug 945066) for fixing bustage on a CLOSED TREE 2013-12-11 11:51:35 +01:00
Jason Duell
0a7f2b439b Bug 942317. Bustage fix for windows r=bustage 2013-12-11 02:05:40 -08:00
Jason Duell
78c1377587 Bug 945066: Make nsIDNSService work on child processes. r=jdm 2013-12-11 01:37:57 -08:00
Simone Carletti
e841db5df2 Bug 947705 - Remove k12.wv.us from PSL. r=gerv 2013-12-11 10:35:02 -05:00
Jacek Caban
8309d56b1f Bug 942317 - Fixed cross compilation on case sensitive OSes. 2013-12-11 10:47:03 +01:00
Birunthan Mohanathas
58325c73be Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Nicholas Hurley
da71b9af63 Bug 942317 - An experiment to test how reachable SRV records are in the wild. r=mcmanus 2013-12-05 15:23:22 -08:00
Ryan VanderMeulen
08fd5ddf08 Backed out changeset 13c1b3a2d135 (bug 880625) for xpcshell failures. 2013-12-02 13:07:46 -05:00
Simone Carletti
6cef76d03e Bug 945002 - Update PSL for .GG and .JE. r=gerv 2013-12-02 12:51:26 -05:00
Simone Carletti
5167fa13f9 Bug 880625 - Updates to the PSL (A-C). r=gerv
This patch also includes an update for the test suite (Bug 943800).
2013-12-02 11:53:32 -05:00
Ms2ger
cf53814bbc Merge mozilla-inbound to mozilla-central. 2013-11-29 09:54:12 +01:00
Ms2ger
cbe8d3a7a4 Bug 937224 - Part g: Move LOCAL_INCLUDES to moz.build in netwerk/; r=mshal 2013-11-28 15:25:39 +01:00
Wes Kocher
0cd641fc8e Backed out changeset a8808a02a661 (bug 880625) for PSL test failure 2013-11-26 17:30:34 -06:00
Simone Carletti
ca90ebc58a Bug 941675 - Reformatting comment entries. r=gerv 2013-11-26 17:25:24 -05:00
Simone Carletti
e8f352c188 Bug 941670 - Remove lib.wv.us from PSL. r=gerv 2013-11-26 17:25:24 -05:00
Simone Carletti
2a3eeb5a29 Bug 941665 - Update PSL for .MT. r=gerv 2013-11-26 17:25:24 -05:00
Simone Carletti
d6bf3492d4 Bug 880625 - Updates to the PSL (A-C). r=gerv 2013-11-26 17:25:23 -05:00
Nicholas Nethercote
c82c609ac3 Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.

--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
6220f98ec6 Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)

Landed on a CLOSED TREE

--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
74e6ffe050 Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Steve Workman
0c23366eff Bug 938803 - Correct typo in nsHostResolver::ResolveHost for Bug 941884: 'he' to 'unspecHe' r=mcmanus 2013-11-25 14:58:29 -08:00
Nicholas Nethercote
53e45bd21d Bug 893857 (part 2) - Add a memory reporter for the DNS service. r=sworkman.
--HG--
extra : rebase_source : 7d88cf2ef5ad4b58b377f0cec66349b5e26bfc8e
2013-11-24 15:24:12 -08:00
Ehsan Akhgari
1482ff3f90 Bug 942489 - Deunify more files that are caught by bug 941854; r=BenWa 2013-11-24 01:29:24 -05:00
Mike Hommey
67df42f71d Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09:00
Steve Workman
1f702a3d61 Bug 941884 - Add some null checks for nsHostRecords r=mcmanus 2013-11-22 11:15:52 -08:00
Steve Workman
b27aba1941 Bug 941884 - Add negative DNS cache entries to the eviction queue r=mcmanus 2013-11-22 11:15:51 -08:00
Ed Morley
515fd9a20d Backed out changeset c30371a66429 (bug 941450) 2013-11-22 15:59:22 +00:00
Ehsan Akhgari
3ff43ded6a Follow-up to bug 941406 - Mark a variable as DebugOnly in order to shut up the compiler warning
Landed on a CLOSED TREE
2013-11-22 10:56:47 -05:00
Michael Shuen
80c7c60c29 Bug 941406 - Build netwerk/dns in unified mode. r=ehsan
--HG--
extra : rebase_source : 4fe433d134bb2762c269248963ac5ce53025faab
2013-11-22 10:35:18 -05:00
Nathan Froyd
3e0aa7b9b8 Bug 941598 - constify PLDHashTableOps in netwerk/; r=jduell 2013-11-20 13:17:01 -05:00
Mike Hommey
210fcbefa5 Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09:00
Steve Workman
887374ba06 Bug 938803 - Improve DNS debugs to show which path is taken in nsHostResolver::ResolveHost r=mcmanus 2013-11-21 13:35:44 -08:00
Simone Carletti
546f7e57ee Bug 940478 - Format comment for Bug 547985 according to the conventions adopted by the recent similar patches. r=gerv 2013-11-19 14:56:57 -05:00
Simone Carletti
bf792379ee Bug 940478 - Remove nt.gov.au from PSL. r=gerv 2013-11-19 14:56:57 -05:00
Mike Hommey
931cb49886 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Ms2ger
95f2bb6150 Merge fx-team into mozilla-central. 2013-11-17 14:27:37 +01:00
Makoto Kato
8747148f14 Bug 935499. r=honzab 2013-11-16 18:30:12 +09:00
Simone Carletti
d0a93083d2 Bug 939113 - Update PSL for .IM. r=gerv 2013-11-15 21:47:03 -05:00
Simone Carletti
5b11f64b3e Bug 936769 - Add newly-minted gTLDs to the PSL (to 2013-11-15). r=gerv 2013-11-15 08:16:12 -05:00
Jason Duell
0b76a849ff Bug 934805 - Ensure client code passes in sane argument to baseDomain functions. r=hurley 2013-11-15 21:46:39 -05:00
Steve Workman
94af86b0c9 Bug 853423 - Block speculative connections for local IP addresses r=mcmanus 2013-11-10 22:59:40 -08:00
Zack Weinberg
70f6a2b085 Bug 933494: add public suffix list tests for internationalized domain names. r=gerv 2013-11-07 14:10:58 -05:00
Simone Carletti
d98d7b6c79 Bug 925176 - Remove exceptions for .OM gTLD. r=gerv
There is no more wildcard rule. Exceptions are not required.
2013-11-06 08:59:54 -05:00
Simone Carletti
63cd5c5caa Bug 934131 - Remove k12.sd.us from PSL. r=gerv 2013-11-05 11:19:29 -05:00
Simone Carletti
6c046f9322 Bug 927072 - Add Cupcake to PSL 2013-10-15 12:40:00 +01:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Simone Carletti
9942f71a50 Bug 910651 - Add newly-minted gTLDs (from July to September 2013) to the PSL. r=gerv 2013-10-15 13:54:10 -04:00
Ehsan Akhgari
a2b69d5030 Bug 919296 - Minimize the #includes in netwerk/ IDL files; r=mcmanus 2013-09-22 23:35:05 -04:00
Birunthan Mohanathas
79bf43a7d3 Bug 784739 - Switch from NULL to nullptr in netwerk/ (1/2); r=ehsan 2013-09-19 15:28:26 -04:00
Simone Carletti
48487c3002 Bug 910095 - update PSL for .ng. r=gerv. DONTBUILD.
--HG--
extra : rebase_source : b17d19f0ccac18f28a44cdb80588af61c3a360b3
2013-09-17 17:54:41 +01:00
Simone Carletti
e248caa61d Bug 910095 - update .sv and .om in PSL, and relevant test. r=gerv.
--HG--
extra : rebase_source : a6866a18f959f15af84640e1efa935b1e16ca415
2013-09-17 17:51:49 +01:00
Simone Carletti
3a55bc1867 Bug 912464 - update PSL for .ar. r=gerv.
--HG--
extra : rebase_source : ac1d0137c965018ab3ad1637a62a8e185861a00e
2013-09-17 17:56:51 +01:00
Nicholas Nethercote
fd238cabbe Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Jim Blandy
3ce8b0ca6a Bug 892114: Add support for Unix domain sockets to nsIServerSocket.idl and @mozilla.org/network/server-socket;1. r=mayhemer 2013-09-06 08:06:23 -07:00
Robert O'Callahan
8ca63f18ef Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
3914af6be4 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
86b7ae4c3a Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Valentin Gosu
9bd3f5df0a Bug 909050 - Prevent about:networking from returning PB data. r=mcmanus 2013-08-31 12:06:14 -04:00
Birunthan Mohanathas
08ff2024e9 Bug 884332 - Part 1: Check and handle buffer truncation without asserting when converting UTF-16 to UCS-4 in nsIDNService.cpp. r=bsmith 2013-08-30 08:13:19 -04:00
Nicholas Nethercote
c765d05739 Bug 831193 (part 2) - Don't use NS_MEMORY_REPORTER_IMPLEMENT for the effective-tld-service reporter. r=michal.novotny.
--HG--
extra : rebase_source : d9c79c95d14f8a958e0a5a268a5e1665efbe22ce
2013-01-15 21:26:44 -08:00
Ms2ger
d54dfa0c57 Bug 904831 - Part c: Move conditional MSVC_ENABLE_PGO definitions into moz.build and remove empty makefiles; r=mshal 2013-08-22 08:56:01 +02:00
Ms2ger
19f3e043e3 Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
4e45b3d52e Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted 2013-08-22 08:56:00 +02:00
Ms2ger
66214743ad Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Adrian Lungu
94d96bd431 Bug 882516 - Use AF_UNSPEC cached entries for AF_INET and AF_INET6 DNS requests, if possible. r=sworkman 2013-08-16 11:49:57 -07:00
Phil Ringnalda
b9fbc56b41 Back out cb68113d5052 (bug 901195) for xpcshell bustage
CLOSED TREE
2013-08-14 21:07:19 -07:00
Simone Carletti
e0b934cae4 Bug 902785 - add cloudcontrol.com to PSL. r=gerv. DONTBUILD. 2013-08-15 02:25:38 +01:00
Simone Carletti
678607b3ea Bug 901195 - update .sv and .om in PSL. r=gerv. 2013-08-15 02:23:47 +01:00
Simone Carletti
9a562970b1 Bug 901193 - Add ro.com to PSL. r=gerv. 2013-08-15 02:22:57 +01:00
Ms2ger
0c3b97da57 Bug 901063 - Remove HB_DONT_DEFINE_STDINT defines; r=gps
These defines have been unnecessary since we removed mozilla/StandardInteger.h.
The upstream code will default to stdint.h typedefs without them.
2013-08-14 08:57:22 +02:00
Ms2ger
fe9c33f5f4 Bug 897921 - Remove some dead assignments in makefiles; r=mshal 2013-08-02 09:03:55 +02:00
Simon Montagu
7cb47ec935 Only test IDN nodes against kMaxDNSNodeLen on string-prepped IDNs that we're going to send to DNS, not the Unicode form for display only. Bug 892370, r=honzab
--HG--
rename : netwerk/test/unit/test_bug722299.js => netwerk/test/unit/test_idn_urls.js
2013-07-29 22:32:37 -07:00
pchang9@cs.wisc.edu
8058281b16 bug 898221 - search backwards for the last punycode delimiter instead of forwards. r=hurley 2013-07-30 13:01:11 -07:00
Ehsan Akhgari
085494b95d Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
3717325909 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Joshua Cranmer
bb26e8f816 Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
9254ed8d14 Bug 884061 - Part 3q: Use NS_DECL_THREADSAFE_ISUPPORTS in netwerk/, r=macmanus
--HG--
extra : rebase_source : d029f73a1f27896c142f76dce263dd3542763b18
2013-07-18 21:24:13 -05:00
Patrick McManus
bcf5650b54 bug 887753 - server not found after reconnecting to etherpad r=sworkman 2013-07-19 18:40:00 -04:00
Arnaud Sourioux
60ed453c00 Bug 883360 - Remove bool operator and nsMainThreadPtrHolder conversion. r=bsmedberg 2013-07-19 12:53:12 -04:00
Ehsan Akhgari
c069003a4b Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Benoit Girard
103cc87697 Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium 2013-07-12 08:56:54 -04:00
Trevor Saunders
238525e2d8 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Gervase Markham
4b842d6289 Bug 864704 - re-add csiro.au to PSL. DONTBUILD. 2013-07-11 13:39:16 +01:00
Simone Carletti
50c7af0fe9 Bug 880662 - Add fastly.net to PSL. r=gerv. DONTBUILD.
--HG--
extra : rebase_source : b1603d10b5ecd5e7092d89b4dc6332ffe89cb5f7
2013-07-11 13:36:41 +01:00
Trevor Saunders
ea8461a6ca bug 887854 - remove most useage of pratom.h r=mounir, mcmanus, jrmuizel 2013-06-16 03:09:07 -04:00
Josh Matthews
1791d4bce8 Bug 887191 - Force wrapped JS listeners to proxy callbacks to the main thread if no target is specified. r=mcmanus 2013-06-26 15:54:05 +01:00
Catalin Iacob
83b78343dc Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Josh Matthews
0a5bd9fe41 Bug 883495 - Avoid releasing a scriptable DNS listener off the main thread. r=mcmanus 2013-06-20 09:18:16 +02:00
Brian O'Keefe
ed17339221 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00