Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Ed Morley
2d12dc7bf9
Backout 927bda3a4947 (bug 777445) for failing to build on a CLOSED TREE
2012-09-28 13:14:26 +01:00
Michal Novotny
a323c44dd2
Bug 777445 - Network activity indicator for B2G, r=jduell
2012-09-28 13:53:52 +02:00
Ehsan Akhgari
8cc30b88b2
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Adam Dane [:hobophobe]
b6f4fdb364
Bug 87717 - Allow offline mode to connect to loopback r=mcmanus sr=cbiesinger
2012-09-17 18:45:10 -05:00
Ehsan Akhgari
e368dc9c85
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
4e199a1679
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Honza Bambas
fc7084f564
Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium
2012-06-12 19:06:20 +02:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Patrick McManus
7e7f2c6cf8
bug 729736 - runtime experiment with different spdy ping thresholds r=honzab
2012-02-27 10:32:09 -05:00
Geoff Lankow
ae97a5d379
Backed out changeset 7dce5c5c9654 (bug 729736)
2012-02-26 13:50:37 +13:00
Patrick McManus
4064a997c5
bug 729736 - runtime experiment with different spdy ping thresholds r=honzab
2012-02-25 17:07:51 -05:00
Masatoshi Kimura
651eabedd7
Bug 699247 - Remove Win2K related code. r=jimm, sr=neil
2012-02-23 08:53:55 -06:00
Geoff Lankow
ffee27c39f
Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part E, remove uses of nsIPrefBranch2 in netwerk/ ; r=bsmedberg
2012-01-17 14:48:29 +13:00
Ed Morley
91422f00de
Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression
2012-02-08 21:04:21 +00:00
Masatoshi Kimura
b40c031d6c
Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil
2012-02-08 10:00:45 -06:00
Brian Smith
20c388403c
Bug 674147 (Remove the SSL Thread) Part 2: Everything else, r=honzab
2011-12-01 14:37:57 -08:00
Patrick McManus
7bd44a1858
bug 692260 - pr_poll limit autodiscovery for windows r=jduell
...
--HG--
extra : rebase_source : dc9b024b4004e0a4025e843e94e046b4dd69dca9
2011-10-25 11:36:49 -04:00
Ehsan Akhgari
92064e6d3f
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
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Daniel Holbert
03a4a1f487
Bug 678573: Remove unused variable |pollError| from nsSocketTransportService::DoPollIteration. r=jduell
2011-08-16 09:26:59 -07:00
Patrick McManus
2fc0eb8394
bug 658580 move nsSocketTransportService dopolliteration logic into run method r=honzab
2011-06-15 10:24:56 -04:00
Matt Brubeck
3a92543b49
Back out caa97320d506 (bug 658580) temporarily to get m-i in a known good state. a=backout
2011-06-15 09:40:29 -07:00
Patrick McManus
479cfc8c73
bug 658580 move nsSocketTransportService dopolliteration logic into run method r=honzab
2011-06-15 10:24:56 -04:00
Patrick McManus
d70ab6f02d
bug 607741 - Raise max sockets open from 50 to up to 550. r=jduell
...
--HG--
extra : rebase_source : cdcfdf33e201ba83ab9b3370facf8c7a16fe469d
2011-04-13 08:59:29 -04:00
L. David Baron
11a8d31d81
Backout changeset e6d044d30abf (bug 607741) for not compiling.
2011-04-11 23:17:43 -07:00
Patrick McManus
fa9e2d5fa0
bug 607741 - Raise max sockets open from 50 to up to 550. r=jduell
2011-04-11 22:37:59 -07:00
Ehsan Akhgari
757178bcf2
Backout changeset 649e429d342f (bug 607741) because of mobile tree oranges
2011-04-11 13:28:41 -04:00
Patrick McManus
a3b0c12c5f
bug 607741 - lift 50 socket limitation r=jduell
...
raise sockettransportservice max sockets to 550 from 50 for linux, os
x, and windows >= xp. This does not change the default http
max-connections config (which remains at 30), but does allow
configurations above 50 to work and will enhance the utility of other
systems that use the sockettransportservice.
win9x provides a small number of sockets (100), so we just leave the
limits unchanged there out of conservatism.
--HG--
extra : rebase_source : 9d7a4b5a9112e17144fb510e3d8eb188919e5bf4
2011-04-08 14:36:38 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
2c92e3ecd5
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
699024f868
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0ce53bb598
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
L. David Baron
db6289bc0a
Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones
2011-03-29 08:43:26 -07:00
Ehsan Akhgari
6651ae9849
Bug 614286 - Don't initialize the socket transport service unless we know that we're online; r=bzbarsky a=blocking-beta8+
2010-11-25 00:20:11 -05:00
Ehsan Akhgari
7daaa00ea9
Backed out changeset 630b08a7fe63 because of xpcshell test failures
2010-11-30 13:57:24 -05:00
Ehsan Akhgari
dfed869c9f
Bug 614286 - Don't initialize the socket transport service unless we know that we're online; r=bzbarsky a=blocking-beta8+
2010-11-25 00:20:11 -05:00
Dan Witte
7ba8683bb3
Bug 606719 - Browser stalls with connections left hanging in TCP close wait state. Part 1: rename LOG to SOCKET_LOG. r=mcmanus, a=b7+
2010-10-28 10:09:08 -07:00
Ehsan Akhgari
db9d404619
Bug 560647 - add startup timeline instrumentation; r=vlad
2010-05-19 19:22:19 -04:00
Justin Dolske
eb283d7099
Bug 510627 - Windows CE hanging on some SSL sites. r=vladimir sr=cbiesinger
2009-08-20 15:17:29 -07:00
Mark Finkle
98c2bbbe5c
Bug 499852: up network thread priority on Windows CE, r=vlad, sr=biesi
2009-07-06 15:20:10 -04:00
Vladimir Vukicevic
b65bb492e8
b=499852; up network thread priority on Windows CE; r=jduell,sr=biesi
2009-07-01 11:35:56 -07:00
Patrick McManus
abe9b55a58
Bug 454990. On Windows, increase the size of our TCP send window to 128KB, from the default of 8KB. The value is already 128KB on other OSes, and it appears that other browsers on Windows change the default in the same way. r=jduell, r+sr=bzbarsky.
2009-02-09 12:31:44 -05:00
florian@queze.net
e1dd963908
Bug 418535 - Make socket attachment to nsSocketTransportService usable from XPCOM. r+sr=biesi, a1.9=beltzner
2008-02-26 12:39:50 -08:00
benjamin@smedbergs.us
1141ded71b
Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated
2008-02-21 12:39:20 -08:00
benjamin@smedbergs.us
c00f226f8e
Bug 412320 - generate QI for additional classes which, according to stats, show up in profiles as frequent callers of nsID::Equals, r=biesi,ted,sicking
2008-02-12 11:46:26 -08:00
roc+@cs.cmu.edu
f840924682
Bug 404870. Avoid read access to mThread racing with setting mThread to null (which could crash). Also, detect when the thread is no longer accepting events and treat it as the thread not being there anymore in nsSocketTransportService::Dispatch.
2007-12-04 18:18:58 -08:00
wtc@google.com
4ef3433d2a
Bug 213637: code cleanup: use nsAutoLock instead of manually calling PR_Lock/PR_Unlock, and removed mThreadEventLock. r=biesi Modified files: nsSocketTransportService2.cpp nsSocketTransportService2.h
2007-08-26 13:14:57 -07:00
timeless@mozdev.org
71bc9a4a03
Bug 386614 Crash [@ nsSocketTransportService::Shutdown] when toggling offline/online in 2 frames
...
guarding against reentrancy from thread shutdown processing events waiting for thread join.
r=biesi sr=biesi
2007-07-04 12:33:57 -07:00
wtc@google.com
c557b28363
Bug 213637: if the pollable event becomes broken, create a new one. If wecan't create a new one, fall back on "busy wait". Since the pollable eventmay change now, we use a lock to protect it. The bug was tracked down byLiming Zhan. sr=darin.Modified files: nsSocketTransportService2.cpp nsSocketTransportService2.h
2007-05-30 10:30:39 -07:00