Commit Graph

1529 Commits

Author SHA1 Message Date
James Kitchener
1b2b3a4929 Bug 912981 - Expose srcdoc status in nsIViewSourceChannel. r=bz 2013-09-10 13:40:35 -04:00
Jim Chen
b6c5019f3f Bug 897221 - Schedule in main process and notify content processes of updates for B2G; r=fabrice 2013-09-09 15:47:47 -04:00
Jim Chen
23d4940b0d Bug 897221 - Initialize UserAgentUpdates.jsm inside UserAgentOverrides; r=fabrice 2013-09-09 15:47:47 -04:00
Jim Chen
8a4d8ea587 Bug 897221 - Add UserAgentUpdates.jsm; r=fabrice 2013-09-09 15:47:47 -04:00
Patrick McManus
aacaed533b bug 910518 - check httpchannel for listener release on redirect callback r=jduell
--HG--
extra : rebase_source : 36a8adb0f863f01576b0991f10a0252e708f49e2
2013-09-05 16:20:15 -04:00
Robert O'Callahan
33cdb42706 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
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Patrick McManus
3ba6fb1c1b bug 912582 - false start rc4 and rsa accomodations need exact principal matches r=dkeeler 2013-09-04 17:01:02 -04:00
Patrick McManus
1e8ba573b6 bug 907800 - only retry http 408 when it is suspected of being a persistent reuse race r=jduell 2013-09-04 16:39:25 -04:00
Valentin Gosu
889ebbb081 Bug 909050 - Prevent about:networking from returning PB data. r=mcmanus 2013-08-31 12:06:14 -04:00
Doug Turner
805876c713 Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Gabriele Svelto
c8251ce6f3 Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Ms2ger
944d17423c Revert this CLOSED TREE to changeset 4d3e221584a0. 2013-08-24 13:31:48 +02:00
Gabriele Svelto
1d1671942d Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Makoto Kato
63341bc0ca Bug 901820 - Part 1. replace nsCRT::strdup with strdup. r=bsmedberg 2013-08-22 19:31:48 +09:00
Ms2ger
87ae95251c Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
4922ccbc0a Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
add9ce17b9 Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted 2013-08-22 08:56:00 +02:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Patrick McManus
b819bb57bd bug 907960 - backout 905460 r=backout 2013-08-21 21:01:19 -04:00
David Zbarsky
79e9d88d86 Bug 890570: Stop using PBrowser for all other protocols r=jduell 2013-08-21 02:49:44 -04:00
Patrick McManus
0574ab39dd [mq]: 905398
bug 905398 - set connectionInfo bits only once and before http speculative connect r=jduell
2013-08-19 11:45:45 -04:00
Patrick McManus
9ecfdc0da3 bug 905460 - make http objects use smart pointers r=sworkman 2013-08-14 21:05:47 -04:00
Trevor Saunders
bddf017039 bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan 2013-08-12 05:51:49 -04:00
Gregory Szorc
c089ae373d Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ryan VanderMeulen
64b2bc7dd9 Backed out changesets 1fa1f28c6edf and e74f694f31c4 (bug 850380) for PGO bustage on a CLOSED TREE. 2013-08-14 15:12:20 -04:00
Brian O'Keefe
3a92f0ae7c Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Gregory Szorc
9f99cee9a1 Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Patrick McManus
fc56698acc bug 897503 - part 3 several nsHttpHandler nsCOMPtrs need to be nsMainThreadPtrHandle r=sworkman 2013-08-13 15:36:59 -04:00
Patrick McManus
5c56bcd614 bug 897503 - part 2 use smart pointers for nsHttpHandler references r=sworkman 2013-08-13 15:36:58 -04:00
Patrick McManus
8fe5f89fa7 bug 897503 - part 1 - HttpChannelParent reference count bug of nsHttpHandler r=sworkman 2013-08-13 15:36:56 -04:00
Phil Ringnalda
9675382cca Back out f99521bfd197:38657fcd2d1a (bug 890570) for Linux xpcshell failures
CLOSED TREE
2013-08-10 17:23:05 -07:00
David Zbarsky
334c5685e9 Bug 890570: Stop using PBrowser for all other protocols r=jduell 2013-08-10 11:18:12 -04:00
Nicholas Nethercote
b756f6b258 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Robert Bindar
e7bfe04984 bug 835357 - Add telemetry to measure whether DNT is used or not. r=jduell 2013-08-08 08:49:14 -07:00
Ehsan Akhgari
a49a17302a Bug 902082 - Forward-declare PSpdyPush3 in nsILoadGroup.h; r=mcmanus 2013-08-07 15:01:40 -04:00
David Keeler
f9040f2187 bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst 2013-08-02 16:23:18 -07:00
David Keeler
9cbdeb8d74 bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-08-02 15:48:37 -07:00
Ryan VanderMeulen
f5e9dc8c73 Backed out changesets 5f8a88c6d0c8 and 97fcb5a154d8 (bug 887052) for OSX mochitest-other orange.
--HG--
rename : netwerk/base/public/nsISiteSecurityService.idl => netwerk/base/public/nsIStrictTransportSecurityService.idl
rename : security/manager/boot/src/nsSiteSecurityService.cpp => security/manager/boot/src/nsStrictTransportSecurityService.cpp
rename : security/manager/boot/src/nsSiteSecurityService.h => security/manager/boot/src/nsStrictTransportSecurityService.h
2013-08-05 16:18:06 -04:00
David Keeler
aa164754ac bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst 2013-07-01 10:49:40 -07:00
David Keeler
2333ac300d bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-07-01 09:30:11 -07:00
Ms2ger
5c2b63d2c7 Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Dão Gottwald
ece0e613e4 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
Joey Armstrong
9bdf289b5e Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3); r=mshal 2013-06-11 16:38:22 -04:00
Dão Gottwald
0530733ed7 Bug 896114 - Don't initialize UserAgentOverrides on desktop. r=dolske 2013-07-30 22:51:25 +02:00
Ehsan Akhgari
5ee21d6d3f 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
5e03b65bf5 Bug 887984 - Send telemetry data from NTLM Init() methods. r=honzab 2013-07-25 09:54:11 -07:00
Dão Gottwald
09a823da6b Bug 788422 - Use UserAgentOverrides.jsm as designed to fix YouTube on tablets. r=bnicholson 2013-07-27 16:18:25 +02:00
Ryan VanderMeulen
2ca4d83ee9 Merge m-c to inbound. 2013-07-26 12:09:20 -04:00
Dão Gottwald
1a6dcad173 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
d20271dd43 Bug 891932 - process the pending spdy transaction queue in order r=mcmanus 2013-07-24 17:05:49 -07:00
Ivan Alagenchev
c6c864eea3 Bug 846918: add hsts message queue to httpchannel. r=bsmith. 2013-07-26 08:37:03 -07:00
Dão Gottwald
0012bc9dbd 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
5b4cbd93e5 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
7b9a04da79 Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
35b47f34ec 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
d12c9b52c0 Backout bdceed703766 (bug 887984) for Windows build failures. 2013-07-23 13:43:45 +10:00
Adrian Lungu
8972a584c5 Bug 887984 - Send telemetry data from NTLM Init() methods. r=mayhemer 2013-07-18 12:00:04 -07:00
Gregory Szorc
5c25cc9036 No Bug - Removing empty Makefile.in files; r=me 2013-07-18 09:09:28 -07:00
Boris Zbarsky
9af6d565fa 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
126d26a032 Bug 892486 - Telemetry for appcache vs http cache page load, r=ehsan 2013-07-16 19:38:15 +02:00
Brian O'Keefe
a2b1403eb0 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Benoit Girard
5b43ee14ca Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium 2013-07-12 08:56:54 -04:00
Trevor Saunders
82e5558b37 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
8c195a71c0 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
aaee3cf638 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Ms2ger
22cefefdd1 Bug 890700 - Use MOZ_THIS_IN_INITIALIZER_LIST in netwerk/; r=bsmith 2013-07-10 11:57:34 +02:00
Patrick McManus
34ad9c51cf bug 890691 - spdy latency problem with control refresh r=hurley 2013-07-08 22:53:18 -04:00
Steve Workman
ef6a0fa3c0 Bug 497003 - Support delivery of OnDataAvailable off the main thread r=bz r=jduell 2013-07-08 18:45:25 -07:00
Robert Bindar
403e1a820b Bug 888583 - Expose protocol version in about:networking. r=valentin.gosu 2013-07-08 16:35:08 -04:00
Robert Bindar
8430ec3f4f Bug 888583 - Move SPDY protocol codes to nsHttp.h. r=mcmanus 2013-07-08 09:10:18 -04:00
David Zbarsky
793a951457 Bug 885804: Renaming in netwerk r=jduell 2013-07-08 11:48:39 -04:00
Ryan VanderMeulen
c0d1b5ed27 Backed out changesets f9f13232e35f and 134b4feaff02 (bug 888583) for bustage. 2013-07-08 09:31:45 -04:00
Robert Bindar
d129a1c7c9 Bug 888583 - Expose protocol version in about:networking. r=mcmanus 2013-07-08 09:10:19 -04:00
Robert Bindar
abd37ba30b Bug 888583 - Move SPDY protocol codes to nsHttp.h. r=mcmanus 2013-07-08 09:10:18 -04:00
Mike Shal
edeb7caf7a 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
60bd99f60b Bug 888645 - Error when access userAgent from jar protocol. r=gavin 2013-07-03 09:22:05 -04:00
Patrick McManus
4c29ac0a32 bug 878792 - orphaned CLOSE_WAIT sockets with multiple A records r=hurley 2013-07-02 16:41:19 -04:00
Mike Shal
37bbfefcec Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #4); r=joey 2013-07-01 11:34:30 -04:00
Patrick McManus
4a59bd2926 bug 888551 incomplete parsing of cache-control max-age r=hurley 2013-06-28 21:16:43 -04:00
Catalin Iordache
305f8d2f1f Bug 887566 - Append elements to idle array in ReadConnectionEntry. r=valentin.gosu 2013-07-01 09:45:17 -04:00
Patrick McManus
9c44286c03 bug 658222 - Enable TLS False Start (PSM) r=bsmith
--HG--
extra : rebase_source : ac9f77ba73a0a902f4b6aa8d52add7d52efb1b53
2013-06-28 16:58:28 -04:00
James Kitchener
c9999928c4 Bug 802895 - Add about:srcdoc as both resolvable and not resolvable. r=bzbarsky 2013-06-28 23:13:20 -04:00
James Kitchener
9017174a43 Bug 802895 - add srcdoc support to (InputStream|ViewSource)Channels r=bz sr=bsmedberg 2013-06-28 23:04:42 -04:00
Justin Lebar
75c400493b 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
acdb925712 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
f40a14a266 Bug 887358 - Change '= 0' assignments for ptrs in nsHttpChannel to '= nullptr' r=sworkman 2013-06-27 12:43:31 -07:00
Nick Hurley
e013a8665f bug 809969 - send GOAWAY frame when closing spdy3 sessions. r=mcmanus 2013-06-25 10:16:27 -07:00
Brian Smith
5db0a4cf74 Bug 759257: Remove InfallableCopyCString [sic], r=hurley 2013-06-24 16:46:08 -07:00
Jason Duell
f6e2ff5f4f 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
3b0cfa0c6f 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
050371bcb9 Bug 884200 - Ensure NSS is initiated on main thread. r=honza 2013-06-21 20:33:46 -07:00
Brian O'Keefe
5f8b5163e8 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
Ryan VanderMeulen
ca0cc81efe Backed out 4 changesets (bug 497003) for intermittent OSX crashes.
Backed out changeset 43223a927976 (bug 497003)
Backed out changeset 26c1d80edf1f (bug 497003)
Backed out changeset 841ed173ba2b (bug 497003)
Backed out changeset f70770fc6dce (bug 497003)
2013-06-17 15:44:07 -04:00
Steve Workman
463ef1bad8 Bug 497003 - Replace some QueryInterface calls in nsHttpChannel with do_QueryObject r=jduell 2013-06-14 19:34:18 -07:00
Steve Workman
16ffe38f80 Bug 497003 - Support delivery of OnDataAvailable off the main thread r=bz r=jduell 2013-06-13 10:42:48 -07:00
Georg Koppen
da8c6e47b0 Bug 856978 - Make authorization headers removable if they observe "http-on-modify-request". r=mayhemer 2013-06-10 08:30:25 -04:00
Nick Hurley
276d70ed10 Bug 878594 - remove alternate-protocol support for spdy upgrades r=mcmanus 2013-06-06 09:10:33 -07:00
Jason Duell
de833bc3e8 Bug 879054: fix printf of status in HttpChannelParent. r=mcmanus 2013-06-04 16:32:31 -07:00