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 |
|
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 |
|
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
|
181938db63
|
bug 890691 - spdy latency problem with control refresh r=hurley
|
2013-07-08 22:53:18 -04:00 |
|
Nick Hurley
|
7771020b67
|
bug 809969 - send GOAWAY frame when closing spdy3 sessions. r=mcmanus
|
2013-06-25 10:16:27 -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 |
|
Patrick McManus
|
f8eb9535d0
|
bug 790388 part 3 - spdy/3 server push r=hurley
--HG--
extra : rebase_source : 1ed60ebda0b790f0ff1578abe7a7732676b495cf
|
2013-05-29 00:07:03 -04:00 |
|
Patrick McManus
|
9c8b57fc95
|
bug 790388 part 2 - fix spdysession writesegments() return values r=hurley
--HG--
extra : rebase_source : b9e67e88a4098ed614bf1e70780bbc97045f1108
|
2013-05-29 00:07:02 -04:00 |
|
Patrick McManus
|
59ebe0ae4b
|
bug 875093 - spdy flow control window calculation > 31bits r=hurley
--HG--
extra : rebase_source : ef84817a329ab86e1320eaac64b67a2859f0370f
|
2013-05-28 20:05:53 -04:00 |
|
Patrick McManus
|
d235d9f765
|
bug 875760 spdy/3 credential nop implementation r=hurley
--HG--
extra : rebase_source : 44d41e9efa69f650e315ce9308f93273445f0921
|
2013-05-28 20:04:13 -04:00 |
|
Patrick McManus
|
2591c786a2
|
bug 871289 [2 of 2] fix trailing whitespace in netwerk/protocol/http/* r=jduell
|
2013-05-16 09:30:42 -04:00 |
|
Patrick McManus
|
ae5e534f2d
|
bug 871289 [1 of 2] standardize netwerk/protocol/http on moz_assert r=jduell
|
2013-05-16 09:30:41 -04:00 |
|
Patrick McManus
|
2ce9a088b7
|
bug 819044 - better spdy stream cleanup when handling goaway r=honzab
--HG--
extra : rebase_source : c3c1bebdbd75029630b7ab6030c945b2998cc653
|
2012-12-20 13:27:15 -05:00 |
|
Patrick McManus
|
c9bebb501e
|
bug 788001 - incorrect spdy assert conditions r=honzab
--HG--
extra : rebase_source : 9e5bc856e2075dc5b497d165e328f6f8667e5493
|
2013-03-12 15:41:56 -04:00 |
|
Patrick McManus
|
69b6b4f595
|
bug 819044 backout changes to spdy goaway handling r=backout
--HG--
extra : rebase_source : 9e45cf2f9b25a015c3f39dcee162d144d1343640
|
2013-02-13 10:50:42 -05:00 |
|
Patrick McManus
|
6e10f5b824
|
bug 837939 announce spdy max streams 0 to disable push r=honzab
|
2013-02-12 15:07:50 -05:00 |
|
Patrick McManus
|
c9cda24265
|
bug 822745 spdy settings type 5 cwnd support r=honzab
|
2013-01-30 20:34:25 -05:00 |
|
Masatoshi Kimura
|
484ed727bd
|
Bug 827824 - Use uint8_t for mTxInlineFrame. r=mcmanus
|
2013-01-17 08:25:03 +09:00 |
|
Mats Palmgren
|
d5826be6d7
|
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
|
2013-01-15 13:22:03 +01:00 |
|
Patrick McManus
|
54a456b860
|
bug 819044 - better spdy stream cleanup when handling goaway r=honzab
--HG--
extra : rebase_source : 36de16ee094b4902e942546db3d681d2cdf2a4c0
|
2012-12-20 13:27:15 -05:00 |
|
Ed Morley
|
bef828ecda
|
Backout d0797dfcab56 (bug 819044) on suspicion of Linux32 mochitest-4 leaks on a CLOSED TREE
|
2012-12-19 14:14:08 +00:00 |
|
Patrick McManus
|
6bf5938ddc
|
bug 819044 - better spdy stream cleanup when handling goaway r=honzab
|
2012-12-18 22:28:24 -05:00 |
|
Patrick McManus
|
567ccc010f
|
bug 822456 - spdy stream id out of order r=honzab
|
2012-12-18 17:14:21 -05:00 |
|
Patrick McManus
|
d279b2b575
|
bug 816685 expand caps in protocol/http to 32bits r=jduell
|
2012-11-29 20:34:35 -05:00 |
|
Josh Matthews
|
164359236e
|
Bug 804655 - Part 2: Wrap up interface aggregator callbacks with a target thread on which they should be released. r=mayhemer
|
2012-11-14 16:00:44 +00:00 |
|
Mike Hommey
|
7bb8d820b3
|
Bug 811214 - Fix build failure in SpdySession3.cpp with clang 3.1. r=mcmanus
|
2012-11-14 08:46:33 +01:00 |
|
Patrick McManus
|
b112300207
|
bug 810152 - 0 len no fin spdy data frames r=honzab
|
2012-11-10 10:27:59 -05:00 |
|
Patrick McManus
|
aba0cf9149
|
bug 809913 spdy post hang with mod_spdy r=honzab
|
2012-11-10 10:27:59 -05:00 |
|
Patrick McManus
|
b354b5f4cc
|
bug 809909 - spdy/3 goaway frame missing status code bytes r=honzab
|
2012-11-10 10:27:53 -05:00 |
|
Patrick McManus
|
1673bef9c6
|
bug 797964 remove spdy ping experiment and change default to 58s r=honzab
|
2012-10-25 14:20:08 -04:00 |
|
Patrick McManus
|
2d67c95f47
|
bug 798426 spdy/3 goaway frame has 8 byte payload r=honzab
--HG--
extra : rebase_source : 5dd9fb269da28c1fac76b3f574c2644aa9839fe4
|
2012-10-05 15:03:24 -04:00 |
|
Patrick McManus
|
7137ee34e5
|
bug 798243 spdy enable reading of ping reply r=honzab
--HG--
extra : rebase_source : 358dacd3f10bac145ff40ce5e84f0c8cde540849
|
2012-10-05 15:03:14 -04:00 |
|
Patrick McManus
|
03420cc4e4
|
bug 795082 http remove dead or redundant code r=honzab
--HG--
extra : rebase_source : 7dbaffae0670fb71ef8baa29a9884f63edfa2488
|
2012-10-01 20:10:08 -04:00 |
|
Jason Duell
|
ca7ff3f2e0
|
Bug 767516 - Rename: s/SSLConnect/ProxyConnect/ r=mcmanus
|
2012-06-22 12:06:00 -07:00 |
|
Ehsan Akhgari
|
8c296bbcd4
|
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script. Here's the source of the script for
future reference:
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 "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
|
2012-08-22 11:56:38 -04:00 |
|
Honza Bambas
|
5fe7a22e2c
|
Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking
|
2012-08-10 22:44:11 -04:00 |
|
Patrick McManus
|
27e972eca5
|
bug 780104 - fail gracefully on invalid spdy dictionary r=honzab
|
2012-08-07 21:49:53 -04:00 |
|
Patrick McManus
|
2173209f51
|
bug 779413 r=bsmith
|
2012-08-07 10:44:51 -04:00 |
|
Aryeh Gregor
|
57c0ad57fb
|
Bug 777292 part 2 - Change all nsnull to nullptr
|
2012-07-30 17:20:58 +03:00 |
|
Patrick McManus
|
a606746336
|
bug 758972 - make spdysession::verifystream() a DEBUG only operation r=honzab
--HG--
extra : rebase_source : 157618d22a7fbcde1764125d50745552eddd6da6
|
2012-07-20 08:44:21 -04:00 |
|
Patrick McManus
|
8ce7687db9
|
bug 764186 spdy sessions closed prematurely if started with null transaction r=honzab
|
2012-06-21 21:14:40 -04:00 |
|
Patrick McManus
|
1e61a701d1
|
bug 762505 - spdy/3 0 length responses with fin on syn-reply were not eof r=honzab
--HG--
extra : rebase_source : 933af8cbdb1c5bc9cbc66ddfcfd350fcff775a35
|
2012-06-20 13:07:01 -04:00 |
|
Patrick McManus
|
50c2474b73
|
bug 759438 - crash in nsHttpTransaction::HandleContentStart due spdy restart r=honzab
|
2012-06-03 21:13:12 -04:00 |
|
Gervase Markham
|
638c878b13
|
Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
|
2012-05-29 16:52:43 +01:00 |
|
Patrick McManus
|
514d66787e
|
bug 757882 replace 250+ lines of redundant nsAHttpConnection implementations with macros r=jduell
|
2012-05-25 17:56:41 -04:00 |
|
Patrick McManus
|
8de00a032e
|
bug 737470 patch 3 implement spdy v3 (pref off) r=honzab
|
2012-05-25 17:43:10 -04:00 |
|
Patrick McManus
|
c02e9fa5c8
|
bug 737470 patch 2 clone spdy/2 into spdy/3 r=honzab
--HG--
rename : netwerk/protocol/http/SpdySession2.cpp => netwerk/protocol/http/SpdySession3.cpp
rename : netwerk/protocol/http/SpdySession2.h => netwerk/protocol/http/SpdySession3.h
rename : netwerk/protocol/http/SpdyStream2.cpp => netwerk/protocol/http/SpdyStream3.cpp
rename : netwerk/protocol/http/SpdyStream2.h => netwerk/protocol/http/SpdyStream3.h
|
2012-05-25 17:37:08 -04:00 |
|