Commit Graph

598 Commits

Author SHA1 Message Date
Ehsan Akhgari
3a4ed11774 Bug 919296 - Minimize the #includes in netwerk/ IDL files; r=mcmanus 2013-09-22 23:35:05 -04:00
Birunthan Mohanathas
8975ae03b9 Bug 784739 - Switch from NULL to nullptr in netwerk/ (1/2); r=ehsan 2013-09-19 15:28:26 -04:00
Simone Carletti
c5898344e6 Bug 910095 - update PSL for .ng. r=gerv. DONTBUILD.
--HG--
extra : rebase_source : b17d19f0ccac18f28a44cdb80588af61c3a360b3
2013-09-17 17:54:41 +01:00
Simone Carletti
f0f294fba8 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
cdf95094ee Bug 912464 - update PSL for .ar. r=gerv.
--HG--
extra : rebase_source : ac1d0137c965018ab3ad1637a62a8e185861a00e
2013-09-17 17:56:51 +01:00
Nicholas Nethercote
7983bb2a7f 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
c0a631fad9 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
03e7828db2 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
26ceee4fb5 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
1f32372424 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
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Valentin Gosu
29c726a932 Bug 909050 - Prevent about:networking from returning PB data. r=mcmanus 2013-08-31 12:06:14 -04:00
Birunthan Mohanathas
f9445f6542 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
0aebcf0ac0 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
db8e00e85f 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
bdfaa84f5b Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
49f603cd4d Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted 2013-08-22 08:56:00 +02:00
Ms2ger
4807f1c86c Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Adrian Lungu
74e17cd3ac 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
3b12a1efb9 Back out cb68113d5052 (bug 901195) for xpcshell bustage
CLOSED TREE
2013-08-14 21:07:19 -07:00
Simone Carletti
74389ca128 Bug 902785 - add cloudcontrol.com to PSL. r=gerv. DONTBUILD. 2013-08-15 02:25:38 +01:00
Simone Carletti
b4ce3f1eaa Bug 901195 - update .sv and .om in PSL. r=gerv. 2013-08-15 02:23:47 +01:00
Simone Carletti
dc2e1fcf1d Bug 901193 - Add ro.com to PSL. r=gerv. 2013-08-15 02:22:57 +01:00
Ms2ger
e358f27301 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
a4e67abf5e Bug 897921 - Remove some dead assignments in makefiles; r=mshal 2013-08-02 09:03:55 +02:00
Simon Montagu
ca2df3f279 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
98e52ccb66 bug 898221 - search backwards for the last punycode delimiter instead of forwards. r=hurley 2013-07-30 13:01:11 -07:00
Ehsan Akhgari
2824b29025 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
ef4b479714 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Joshua Cranmer
b82a7849fb Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
37465bc6bd 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
db05cbea1d bug 887753 - server not found after reconnecting to etherpad r=sworkman 2013-07-19 18:40:00 -04:00
Arnaud Sourioux
38d6c0d455 Bug 883360 - Remove bool operator and nsMainThreadPtrHolder conversion. r=bsmedberg 2013-07-19 12:53:12 -04:00
Ehsan Akhgari
192bc42d5e Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Benoit Girard
be559fe75a Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium 2013-07-12 08:56:54 -04:00
Trevor Saunders
f33ade0d68 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
2d8a4ce521 Bug 864704 - re-add csiro.au to PSL. DONTBUILD. 2013-07-11 13:39:16 +01:00
Simone Carletti
0f072e70f7 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
2af42ae713 bug 887854 - remove most useage of pratom.h r=mounir, mcmanus, jrmuizel 2013-06-16 03:09:07 -04:00
Josh Matthews
635646f106 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
6f4758d23e 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
6b86896e0b 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
11bcc1cd9e 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
5b70eb297b Back out c50503ce8669 (bug 883495) for still leaking
CLOSED TREE
2013-06-19 20:20:52 -07:00
Josh Matthews
af14644cb6 Bug 883495 - Avoid releasing a scriptable DNS listener off the main thread. r=mcmanus 2013-06-20 02:33:57 +02:00
Josh Matthews
18d8acd4f5 Backed out changeset 5a3dc3d31890 (bug 883495) 2013-06-19 18:16:04 +02:00
Josh Matthews
2b7b41337c Bug 883495 - Avoid releasing a scriptable DNS listener off the main thread. r=mcmanus 2013-06-19 16:28:33 +02:00
Ryan VanderMeulen
6d0b75b51f Backed out changeset fb43bd87db39 (bug 883495) for mass carnage of a CLOSED TREE. 2013-06-18 13:02:40 -04:00
Josh Matthews
8a683d55a4 Bug 883495 - Avoid releasing a scriptable DNS listener off the main thread. r=mcmanus 2013-06-16 11:56:15 +01:00
Simone Carletti
88a6b86ef0 Bug 859521 - Add AWS EC2 to PSL. r=gerv. DONTBUILD.
--HG--
extra : rebase_source : 9a4ac79ac4e03c2b85bf2f11c1c5366770bb1b65
2013-06-06 16:00:03 +01:00