Commit Graph

347 Commits

Author SHA1 Message Date
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
Phil Ringnalda
a3733bb686 Back out c50503ce8669 (bug 883495) for still leaking
CLOSED TREE
2013-06-19 20:20:52 -07:00
Josh Matthews
9310002990 Bug 883495 - Avoid releasing a scriptable DNS listener off the main thread. r=mcmanus 2013-06-20 02:33:57 +02:00
Josh Matthews
c8865869af Backed out changeset 5a3dc3d31890 (bug 883495) 2013-06-19 18:16:04 +02:00
Josh Matthews
6423b6821d Bug 883495 - Avoid releasing a scriptable DNS listener off the main thread. r=mcmanus 2013-06-19 16:28:33 +02:00
Ryan VanderMeulen
2a3f60db1f Backed out changeset fb43bd87db39 (bug 883495) for mass carnage of a CLOSED TREE. 2013-06-18 13:02:40 -04:00
Josh Matthews
1cdcc32b6c Bug 883495 - Avoid releasing a scriptable DNS listener off the main thread. r=mcmanus 2013-06-16 11:56:15 +01:00
Simone Carletti
1e31144ef0 Bug 859521 - Add AWS EC2 to PSL. r=gerv. DONTBUILD.
--HG--
extra : rebase_source : 9a4ac79ac4e03c2b85bf2f11c1c5366770bb1b65
2013-06-06 16:00:03 +01:00