Commit Graph

1435 Commits

Author SHA1 Message Date
Dão Gottwald
1a528e7327 Bug 728773 - Always freeze the build ID in the UA string at 20100101. r=bz sr=gerv 2013-08-02 00:50:45 +02:00
Dão Gottwald
830d811286 Bug 896114 - Don't initialize UserAgentOverrides on desktop. r=dolske 2013-07-30 22:51:25 +02: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
Adrian Lungu
e9ec3b582d Bug 887984 - Send telemetry data from NTLM Init() methods. r=honzab 2013-07-25 09:54:11 -07:00
Dão Gottwald
527e9d0a01 Bug 788422 - Use UserAgentOverrides.jsm as designed to fix YouTube on tablets. r=bnicholson 2013-07-27 16:18:25 +02:00
Ryan VanderMeulen
506a9c9921 Merge m-c to inbound. 2013-07-26 12:09:20 -04:00
Dão Gottwald
6c67a10203 Bug 891968 - Only have one copy of each overriding UA string. f=hurley r=jduell 2013-07-26 09:39:01 +02:00
Nick Hurley
a135ae3a01 Bug 891932 - process the pending spdy transaction queue in order r=mcmanus 2013-07-24 17:05:49 -07:00
Ivan Alagenchev
31ce6c49be Bug 846918: add hsts message queue to httpchannel. r=bsmith. 2013-07-26 08:37:03 -07:00
Dão Gottwald
9d0f2e8b1e Bug 896382 - Cache the override (or that there's no override) for each host to avoid doing the same iterative string matching for every HTTP request. r=hurley 2013-07-24 09:38:45 +02:00
Catalin Iordache
7892a4bbff Bug 888628 - Create another field for HttpRetParams structure which keeps track of half open connections. r=valentin.gosu 2013-07-23 10:52:01 -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
Cameron McCormack
ff401b5a0d Backout bdceed703766 (bug 887984) for Windows build failures. 2013-07-23 13:43:45 +10:00
Adrian Lungu
fc305ae760 Bug 887984 - Send telemetry data from NTLM Init() methods. r=mayhemer 2013-07-18 12:00:04 -07:00
Gregory Szorc
4ca67f021a No Bug - Removing empty Makefile.in files; r=me 2013-07-18 09:09:28 -07:00
Boris Zbarsky
6be6fb3ca2 Bug 893004 part 2. Remove various no-longer-used XPCOM bits from Navigator, except the ones from nsIDOMNavigator. r=smaug
--HG--
rename : dom/network/interfaces/nsIDOMNavigatorNetwork.idl => dom/network/interfaces/nsIMozNavigatorNetwork.idl
2013-07-17 23:23:52 -04:00
Honza Bambas
7ce21b6631 Bug 892486 - Telemetry for appcache vs http cache page load, r=ehsan 2013-07-16 19:38:15 +02:00
Brian O'Keefe
f98dd45a72 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -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
Patrick McManus
8c2b280e9b bug 888268 - wifi tickler for mitigating 802.11 psp mode on android r=dougt
--HG--
extra : rebase_source : a767b6c10501105b3c5d22043f11745807caf2f9
2013-07-11 11:39:36 -04:00
Ryan VanderMeulen
ec6b3d53b5 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Ms2ger
c2a29ae101 Bug 890700 - Use MOZ_THIS_IN_INITIALIZER_LIST in netwerk/; r=bsmith 2013-07-10 11:57:34 +02:00
Patrick McManus
181938db63 bug 890691 - spdy latency problem with control refresh r=hurley 2013-07-08 22:53:18 -04:00
Steve Workman
6abb9aa415 Bug 497003 - Support delivery of OnDataAvailable off the main thread r=bz r=jduell 2013-07-08 18:45:25 -07:00
Robert Bindar
ec50f8ab9d Bug 888583 - Expose protocol version in about:networking. r=valentin.gosu 2013-07-08 16:35:08 -04:00
Robert Bindar
2b7f93dc2a Bug 888583 - Move SPDY protocol codes to nsHttp.h. r=mcmanus 2013-07-08 09:10:18 -04:00
David Zbarsky
ef2f22909f Bug 885804: Renaming in netwerk r=jduell 2013-07-08 11:48:39 -04:00
Ryan VanderMeulen
5c30d91b73 Backed out changesets f9f13232e35f and 134b4feaff02 (bug 888583) for bustage. 2013-07-08 09:31:45 -04:00
Robert Bindar
f2cbf97856 Bug 888583 - Expose protocol version in about:networking. r=mcmanus 2013-07-08 09:10:19 -04:00
Robert Bindar
73fd524632 Bug 888583 - Move SPDY protocol codes to nsHttp.h. r=mcmanus 2013-07-08 09:10:18 -04:00
Mike Shal
2f5d43999f Bug 868536 - Move ipdl.mk files to moz.build; r=gps
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Xidorn Quan
1fb3fb9af8 Bug 888645 - Error when access userAgent from jar protocol. r=gavin 2013-07-03 09:22:05 -04:00
Patrick McManus
fb12630832 bug 878792 - orphaned CLOSE_WAIT sockets with multiple A records r=hurley 2013-07-02 16:41:19 -04:00
Mike Shal
8afd7f737d Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #4); r=joey 2013-07-01 11:34:30 -04:00
Patrick McManus
e4328009f9 bug 888551 incomplete parsing of cache-control max-age r=hurley 2013-06-28 21:16:43 -04:00
Catalin Iordache
ab9f3b6fdf Bug 887566 - Append elements to idle array in ReadConnectionEntry. r=valentin.gosu 2013-07-01 09:45:17 -04:00
Patrick McManus
c88a96db57 bug 658222 - Enable TLS False Start (PSM) r=bsmith
--HG--
extra : rebase_source : ac9f77ba73a0a902f4b6aa8d52add7d52efb1b53
2013-06-28 16:58:28 -04:00
James Kitchener
64caf3f970 Bug 802895 - Add about:srcdoc as both resolvable and not resolvable. r=bzbarsky 2013-06-28 23:13:20 -04:00
James Kitchener
878b174939 Bug 802895 - add srcdoc support to (InputStream|ViewSource)Channels r=bz sr=bsmedberg 2013-06-28 23:04:42 -04:00
Justin Lebar
cab87a0cce Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Patrick McManus
0d5c21da21 bug 887995 - allow nsiprotocolproxyservice::asyncresolve() to be called re-entrantly
bug 887995 - allow nsiprotocolproxyservice::asyncresolve() to be called re-entrantly r=jduell
2013-06-27 17:02:04 -04:00
Steve Workman
8a7c31f863 Bug 887358 - Change '= 0' assignments for ptrs in nsHttpChannel to '= nullptr' r=sworkman 2013-06-27 12:43:31 -07:00
Nick Hurley
7771020b67 bug 809969 - send GOAWAY frame when closing spdy3 sessions. r=mcmanus 2013-06-25 10:16:27 -07:00
Brian Smith
980eed7f7e Bug 759257: Remove InfallableCopyCString [sic], r=hurley 2013-06-24 16:46:08 -07:00
Jason Duell
118466c301 Bug 558623 - e10s HTTP: combine PHttpChannel constructor with SendAsyncOpen/SendRedirect1Begin r=jdm
--HG--
rename : netwerk/protocol/http/nsHttp.h => netwerk/protocol/http/HttpLog.h
extra : rebase_source : 80cac843f38f2237c9fd932c428e1c1fda781b50
2013-06-22 09:09:19 -07:00
Jason Duell
421a649753 Bug 558623 - Split out HTTP LOG macro definition from nsHttp.h r=jdm
--HG--
rename : netwerk/protocol/http/nsHttp.h => netwerk/protocol/http/HttpLog.h
extra : rebase_source : 3295c6472c846b24d3012343cf06798abf8774f9
2013-06-22 09:01:06 -07:00
Jason Duell
d8fd0845f3 Bug 884200 - Ensure NSS is initiated on main thread. r=honza 2013-06-21 20:33:46 -07: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