Commit Graph

64 Commits

Author SHA1 Message Date
Joshua Cranmer
2bde801f36 Bug 884061 - Part 3q: Use NS_DECL_THREADSAFE_ISUPPORTS in netwerk/, r=macmanus 2013-07-18 21:24:13 -05:00
Martin Husemann
b9a95e8610 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
765b359bfa Bug 849364 - Provide per-websocket way to enable keepalive pings. r=mcmanus 2013-03-28 15:52:16 -07:00
Masatoshi Kimura
a4c60c47da Bug 827032 - Enable FAIL_ON_WARNINGS on MSVC in netwerk/. r=jduell 2013-02-08 20:49:30 +09:00
Mats Palmgren
7532b4e736 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
97b3e6078a Bug 783205 - Networking Dashboard. r=mcmanus, r=jorendorff, sr=biesi 2012-12-10 09:13:55 -05:00
Patrick McManus
e02ad04f62 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
4ff3d565bd bug 805457 telemetry for proxy and websocket connections r=jduell 2012-10-27 15:24:19 -04:00
Jason Duell
8f8ff0f8df Bug 798045: Followup: fix typo in comment. r=me 2012-10-09 16:46:23 -07:00
Jason Duell
6cbba71547 Bug 798045 - improved FailDelay lookup r=bsmith 2012-10-08 18:38:04 -07:00
Isaac Aggrey
990e90e88a Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
foudfou
096b0d2aae 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).
2012-09-27 23:44:47 +02:00
Makoto Kato
32ceb5852a Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel 2012-09-14 16:09:52 -04:00
Makoto Kato
8696ddea08 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
243c878d26 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
691ef24b2a Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Honza Bambas
473edc0cbf 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
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Joshua Cranmer
a9921e1d15 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan 2012-07-06 15:14:07 -05:00
Jason Duell
55c2afaf00 Bug 773150 - FailDelayManager passing wrong type to MOZ_COUNT_CTR. r=mcmanus 2012-07-12 18:19:45 -07:00
Jason Duell
1c2bf62981 Bug 771318 - Fix early websocket Init fail. r=mcmanus, r=smaug 2012-07-09 18:20:25 -07:00
Jason Duell
88a2950354 Bug 771318 - Code cleanup before actual fix. r=mcmanus 2012-07-09 18:20:21 -07:00
Jason Duell
fb496cac16 Bug 757738 - Websockets: release reference to nsIWebSocketListener after OnClose. r=mcmanus 2012-06-29 23:02:08 -07:00
Jason Duell
c97c3accd4 Bug 711793 - Delay websocket reconnection after abnormal termination. r=mcmanus 2012-06-28 17:53:50 -07:00
Jason Duell
3553320433 Bug 713023 - Websockets: don't prefer SOCKS to HTTP proxy until bug 449251 is fixed. r=biesi 2012-06-22 10:59:53 -07:00
Ehsan Akhgari
63dec40b80 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (netwerk parts); r=jduell 2012-06-05 23:18:25 -04:00
Jason Duell
fe2480cb6d Bug 742614: Allocation of string is not checked in WebSockets text frame parsing. r=bsmith 2012-05-11 02:05:00 -07:00
Jason Duell
50a28c6d44 Bug 748766 - Only count connected websockets toward max-websocket limit. r=mcmanus 2012-05-31 16:41:24 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jason Duell
907937c63c Bug 748580 - websockets: omit close code when none passed to close(). r=mcmanus 2012-05-17 10:56:56 -07:00
Patrick McManus
4a1bdd64df bug 738914 - orange websocket pipeline::isdone from main thread r=jduell 2012-04-25 22:02:12 -04:00
Jason Duell
fc86537654 Bug 712191 - Clean up websocket close codes and abort logic. r?mcmanus 2012-04-11 13:20:00 -07:00
Jason Duell
bfc39c7d35 Bug 696085: WebSocket connection opening across page loads r=smaug 2012-02-21 14:57:10 -08:00
Jason Duell
50f9fd9d6d Bug 701383: Websocket fails to delete mOutGoingMessage if closed multiple times. r=mcmanus 2012-01-31 20:41:47 -08:00
Patrick McManus
bb36b295b3 bug 712572 part 2 r=jduell 2012-01-06 14:54:15 -05:00
Patrick McManus
f72bb1f404 bug 712572 part 1 r=jduell 2012-01-06 14:54:13 -05:00
Patrick McManus
95b7c6564f bug 715284 WebSocketChannel.cpp compiler warning r=jduell 2012-01-04 18:19:15 -05:00
Jason Duell
a5f32ba6a1 Bug 711205: Limit websocket outbound msg size to PR_INT32_MAX. r=mcmanus 2011-12-20 00:20:12 -08:00
Jason Duell
5f566ddb8b Bug 711205: Increase inbound WebSocket message size from 16MB to whatever malloc can handle. r=mcmanus 2011-12-20 00:20:12 -08:00
Jason Duell
98829dc108 Bug 666349: update status code usage to latest spec. r=mcmanus 2011-12-20 00:20:12 -08:00
Jason Duell
2f3f711a0b Bug 666349 - Update WebSocket API to latest draft. r=mcmanus 2011-12-20 00:20:12 -08:00
Patrick McManus
84c165b918 bug 664284: Add HSTS support for websockets. r=mcmanus 2011-12-15 15:23:00 -08:00
Jason Duell
6aa7da119d Bug 676439 - Websocket Binary Message support: Necko changes. r=mcmanus 2011-12-15 15:20:17 -08:00
Jonathan Watt
276bdfa251 Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Wellington Fernando de Macedo
f7a75c866e Bug 664894. Eliminate nsWebSocketEstablishedConnection and fold code into nsWebSocket. r=jduell 2011-10-20 01:27:13 -07:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Patrick McManus
f81dfb2d82 bug 687243 - websockets message len 0xffff does not use minimal length encoding r=jduell 2011-09-27 08:50:22 -04:00
Patrick McManus
678651841f bug 686312 - websockets should not reject non character utf-8 sequence as invalid r=dbaron 2011-09-20 18:13:43 -04:00