Commit Graph

93 Commits

Author SHA1 Message Date
Valentin Gosu
7300110fdb Bug 983243 - WSS WebSocket leaks TCP/IP connection if closed prematurely r=mcmanus
Prevent WebSocketChannel::OnTransportAvailable from reinitializing the channel's references after it has been closed.
2014-06-04 02:15:14 +03:00
Birunthan Mohanathas
e2a009d822 Bug 869836 - Part 5: Use AssignLiteral instead of Assign where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
807e72372f Bug 869836 - Part 4: Use EqualsLiteral instead of Equals(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
John Shih
54c0637fed Bug 949956 - Move duplicated code to NetStatistics.h. r=mcmanus 2014-01-14 17:55:29 +08:00
Steve Workman
45128fccdb Bug 925623 - Support delivery of WebSocket events off-main-thread in WebSocketChannel r=jduell 2014-03-27 13:58:19 -07:00
Jason Duell
95da6b4eb4 Bug 936979: websocket will never connected after a lot of failure r=mcmanus 2014-01-22 19:04:18 -08:00
L. David Baron
c20e5d2d01 Bug 783133: Remove NS_ABORT_IF_FALSE that fires somewhat regularly, which happens in a case that is correctly handled. r=mcmanus 2014-01-10 15:32:32 -08:00
Patrick McManus
e3e7849089 bug 751465 - websockets dns and proxies r=jduell r=bsmedberg
--HG--
extra : rebase_source : ad2046a95f1ec9000577cc0f67aedc0766a51ed2
2014-01-06 13:52:42 -05:00
John Shih
c7c4b1e5c3 Bug 922926 - Part 3: Rebase code in necko. r=mcmanus 2013-11-22 10:42:11 +08:00
John Shih
116a64dd48 Bug 940740 - Make sure do_GetService called in mainthread. r=mcmanus 2013-12-13 16:33:46 +08:00
Jeff Walden
e8adea9972 Bug 945533 - Convert various websocket code to mozilla/Endian.h. r=jduell
--HG--
extra : rebase_source : daf0ee75f70bd86952cf39192d5287657881e9c9
2013-05-04 22:22:55 -07:00
John Shih
863ce1fb06 Bug 922924 - Centralize the code for network per-app metering. r=jduell 2013-10-30 18:00:17 +08:00
Ryan VanderMeulen
60ae0adae1 Backed out changeset 5d4d19ebcd70 (bug 922924) for B2G debug bustage. 2013-11-18 14:21:24 -05:00
John Shih
af6c4f4cbe Bug 922924 - Centralize the code for network per-app metering. r=jduell 2013-10-30 18:00:17 +08:00
Ryan VanderMeulen
d444cea56c Backed out changeset f3c4d03ad677 (bug 922924) for bustage. 2013-11-15 08:32:23 -05:00
John Shih
74b1a68234 Bug 922924 - Centralize the code for network per-app metering. r=jduell 2013-10-30 18:00:17 +08:00
Joshua Cranmer
a63b835a52 Bug 935789, part 2: Implement RotateLeft/RotateRight in MFBT and use them, r=Waldo.
--HG--
extra : rebase_source : efda8cfde4ec1b8cee007f528d682830f43f9111
2013-11-12 18:24:56 -06:00
Albert Crespell
0d40b444e1 Bug 887699 - Part 3/4 Fix access of websocket channel and TCPSocket to NetworkStats API. r=jduell,gene 2013-10-11 08:54:34 +02:00
Ryan VanderMeulen
82ababf330 Backed out 4 changesets (bug 887699).
Backed out changeset 5c878c48d732 (bug 887699)
Backed out changeset 57b03d7055e8 (bug 887699)
Backed out changeset ea06175feb4f (bug 887699)
Backed out changeset 516d0f14f7fd (bug 887699)
2013-10-16 17:12:54 -04:00
Albert Crespell
ec8f4f1388 Bug 887699 - Part 3: Fix access of websocket channel and TCPSocket to NetworkStats API. r=jduell, r=gene 2013-10-11 08:54:34 +02:00
Ehsan Akhgari
0b3f2ea3df Bug 919320 - Minimize the #includes in netwerk/protocol; r=mcmanus 2013-09-22 23:35:52 -04:00
John Shih
69944ef803 Bug 855949 - Network Per-App Metering on WebSocket. r=mcmanus 2013-09-12 11:39:14 +08:00
Valentin Gosu
889ebbb081 Bug 909050 - Prevent about:networking from returning PB data. r=mcmanus 2013-08-31 12:06:14 -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
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
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
Martin Husemann
c23e2970cd Bug 871555: Use memcpy and properly aligned temporary variables instead of pointer casts with unclear alignment r=mcmanus 2013-06-01 00:23:16 +02:00
Jason Duell
ca109b3b3f Bug 849364 - Provide per-websocket way to enable keepalive pings. r=mcmanus 2013-03-28 15:52:16 -07:00
Masatoshi Kimura
62d87c38b8 Bug 827032 - Enable FAIL_ON_WARNINGS on MSVC in netwerk/. r=jduell 2013-02-08 20:49:30 +09:00
Mats Palmgren
6c53161814 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
Valentin Gosu
bd752af443 Bug 783205 - Networking Dashboard. r=mcmanus, r=jorendorff, sr=biesi 2012-12-10 09:13:55 -05:00
Patrick McManus
bda7430bfa bug 792438 part 1 - identify css and head-based-js as dedicated network resources r=bz 2012-12-04 18:06:29 -05:00
Patrick McManus
d72702ebef bug 805457 telemetry for proxy and websocket connections r=jduell 2012-10-27 15:24:19 -04:00
Jason Duell
09acbd60ff Bug 798045: Followup: fix typo in comment. r=me 2012-10-09 16:46:23 -07:00
Jason Duell
df8db99a84 Bug 798045 - improved FailDelay lookup r=bsmith 2012-10-08 18:38:04 -07:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
foudfou
d72827c0aa Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).

--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Makoto Kato
d5c93adaee Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel 2012-09-14 16:09:52 -04:00
Makoto Kato
c28c020a8f Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
0fd9123eac 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
Aryeh Gregor
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Honza Bambas
541453729c 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
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Joshua Cranmer
4b8f318e78 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Jason Duell
55c4b6acdf Bug 773150 - FailDelayManager passing wrong type to MOZ_COUNT_CTR. r=mcmanus 2012-07-12 18:19:45 -07:00