Commit Graph

323 Commits

Author SHA1 Message Date
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
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Joey Armstrong
b5eb4cb307 bug 870406: move to moz.build (config batch #1) r=mshal 2013-05-24 17:21:14 -07:00
Ted Mielczarek
47d7af59de bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Steve Workman
a02069e2e9 Bug 870652 - Add null ptr check in nsDNSRecord::ReportUnusable to avoid crashing r=mcmanus 2013-05-14 16:35:18 -07:00
Ryan VanderMeulen
510f0a10f2 Backed out changeset f8a861253c57 (bug 859521) due to bustage. 2013-05-14 12:49:26 -04:00
Simone Carletti
b9679edf41 Bug 868331 - Add Heroku CloudFront to PSL. r=gerv. 2013-05-14 17:38:11 +01:00
Simone Carletti
3cdf97d3ac Bug 859521 - Add AWS EC2 to PSL. r=gerv. 2013-05-14 17:35:44 +01:00
Simone Carletti
c5d38ee25a Bug 863169 - Add GitHub Pages to PSL. r=gerv. 2013-04-23 11:51:10 +01:00
Simone Carletti
5a8e6aee62 Bug 859234 - Add AWS Elastic Beanstalk to PSL. r=gerv. 2013-04-23 11:49:36 +01:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Simon Montagu
26e7d37aeb Exclude U+30FB KATAKANA MIDDLE DOT from the non-recommended characters that force IDN labels to be displayed as punycode. Bug 857490, r=jfkthame 2013-04-09 05:47:03 -07:00
Patrick McManus
afd013ce0b bug 857291 - fix 807678 regression of DNS::GetCanonicalName r=josh 2013-04-08 12:02:41 -04:00
Simon Montagu
9d48c4ca6d Exclude U+30FB KATAKANA MIDDLE DOT from the non-recommended characters that force IDN labels to be displayed as punycode. Bug 857490, r=jfkthame 2013-04-08 01:36:54 -07:00
Simon Montagu
e8db6078f1 Disable the check for mixed Simplified and Traditional Chinese characters when determining whether to display IDN labels as unicode or punycode. Bug 857481, r=honzab 2013-04-08 01:36:52 -07:00
Simone Carletti
c053a2777d Bug 857497 - reorder private part of PSL into alphabetical order by company. r=gerv.
--HG--
extra : rebase_source : 9906cf4865a2113b127893bdd707de36a192f4c4
2013-04-04 20:34:53 +01:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Simone Carletti
80fbfac60a Bug 853810 - Add .POST to PSL. r=gerv. 2013-03-29 16:19:05 +00:00
Simone Carletti
5892393015 Bug 853805 - Add .CW to PSL. r=gerv. 2013-03-29 14:44:17 +00:00
Honza Bambas
c59818af3e Bug 729182 - Implement visual event tracer, part1 - instrumentation, r=mcmanus,bz,ehsan,bsmedberg,michal 2013-03-28 18:38:04 +01:00
Simone Carletti
4029e914d5 Bug 849816 - Add nyc.mn to PSL. r=gerv. 2013-03-28 17:11:14 +00:00
Simone Carletti
ddd3f2b113 Bug 854388 - Add AWS CloudFront to PSL. r=gerv. 2013-03-28 17:10:22 +00:00
Simone Carletti
df0f4a28e0 Bug 854463 - Add AWS S3 to PSL. r=gerv. 2013-03-28 17:09:36 +00:00