Commit Graph

2682 Commits

Author SHA1 Message Date
Michal Novotny
074f6fe4dd Bug 779461 - Do not transfer the ownership of the key string from nsCacheRequest to nsCacheEntry, r=honzab 2012-08-08 02:06:06 +02:00
Nick Hurley
63c3cf1b49 bug 709297 - reduce max cache size to 350MiB the next time we have to trash the cache. r=jduell 2012-08-07 15:46:33 -07:00
Jason Duell
8216a50101 bug 780750 - HTTP cache never gets used/fixed if wrong permissions on CACHE_MAP file. r=hurley 2012-08-07 15:46:33 -07:00
Landry Breuil
6762d67806 Bug 776174: Followup, remove extra semicolons after macros. r=jduell 2012-08-07 13:40:00 -07:00
Jason Duell
45ea7b7b6b Bug 773475 - Revert bug 584863 to keep redirect semantics cleaner. r=honza 2012-08-07 10:03:14 -07:00
Patrick McManus
b19e6e5fa7 bug 779413 r=bsmith 2012-08-07 10:44:51 -04:00
Jason Duell
a04e7b8f68 Bug 776174 - e10s: cleanup IPC nsILoader code. r=smaug, r=jdm 2012-08-06 21:47:48 -07:00
Patrick McManus
e0aa811d8b bug 765048 - backout 3 digit accept-language q values r=biesi 2012-08-06 21:42:38 -04:00
Gregory Szorc
e1f974fe11 Bug 759664 - Register testing-only JS modules with mochitests; r=ted 2012-08-06 14:22:09 -07:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
4e998b1d36 Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey
17fb6cad2d Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Ben Turner
d4f1fddc7f Bug 780048 - 'Some input stream types cannot be transferred via IPC'. r=khuey.
--HG--
extra : transplant_source : %C5m%04S%92%9F%E6%A7%02%0D%7E%CCz%8B%BBW%AA%C5%81%06
2012-08-03 13:37:58 -07:00
Ed Morley
bcf7c16b44 Backout 21d92e8dd85a (bug 780048) for bustage 2012-08-03 21:26:23 +01:00
Ben Turner
4280f504ac Bug 780048 - 'Some input stream types cannot be transferred via IPC'. r=khuey.
--HG--
extra : transplant_source : K%881/0%0DV%D9m%D3%D6%F3O%15%1CX%9E%22%18%DE
2012-08-03 13:10:15 -07:00
Aryeh Gregor
25aa1ea61e Bug 778680 part 2 - Fix incorrect nsresult usage in netwerk/; r=jduell 2012-08-01 11:17:09 +03:00
Aryeh Gregor
787beb7445 Bug 778680 part 1 - Make netwerk status codes actually nsresult; r=jduell 2012-08-01 11:17:09 +03:00
Ryan VanderMeulen
1733e65710 Backout 41a3cdf92063 (bug 782649) for Linux xpcshell failures. 2012-08-22 17:31:06 -04:00
Ben Turner
3e66942f49 Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey. 2012-08-22 12:19:29 -07:00
Ehsan Akhgari
57ac5ddc72 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
julian.reschke@gmx.de
3d8ca5b94f Bug 781693 - Accept ';' as delimiter after 'base64' keyword. r=bz 2012-08-22 06:57:02 -04:00
Paul Adenot
ba6c752369 Bug 730765 - Remove commented out code that should have been removed. DONTBUILD r=biesi 2012-08-21 16:15:30 -07:00
Ehsan Akhgari
5b76a146bc Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08: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
Michal Novotny
f2d8f5e352 Bug 737615 - Remove use of synchronous cache API from unit tests - necko tests part2, r=honzab 2012-08-01 23:22:28 +02:00
Dão Gottwald
26be97dfee Bug 777710 - Remove platform and OS identifiers from B2G UA. r=bz
--HG--
extra : rebase_source : 75ddd7a0e75f22a065fc0e7efad3a749511b813d
2012-07-31 17:37:26 +02:00
Aryeh Gregor
4213d86624 Bug 777292 - netwerk/: Don't treat number of bytes as an nsresult; r=bz 2012-07-27 17:03:25 +03:00
Aryeh Gregor
903f6c9c84 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Ehsan Akhgari
b40b21d633 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
417223dce7 Bug 777292 - Add casts and annoyed comments where we make up nsresult codes on the fly; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
96fc9d649c Bug 777292 - Annotate some incorrect conversions to nsresult; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
bcce1c96d2 Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Patrick McManus
df6cf62ff5 bug 778181 - fix resolve flags for nsiprotocolproxyservice::asyncresolve() r=biesi 2012-07-27 21:23:16 -04:00
Dão Gottwald
2a5d0a9d85 Bug 776376 - Hardcode navigator.productSub to 20100101 for backward compatibility. r=bz sr=jst 2012-07-27 14:09:59 +02:00
Ehsan Akhgari
fccf9bb4c8 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 (more intl parts); blanket-r=bzbarsky
--HG--
extra : rebase_source : 92f6b1dd5d0e67e05a7338991e648a09149275ec
2012-07-26 15:17:40 -04:00
Patrick McManus
a14aa5eb2c bug 767158 - remove blocking dns call in sspi r=honzab
--HG--
extra : rebase_source : a313576f1262f25b6d299f815cedb0d8acc0b03f
2012-07-26 11:09:05 -04:00
Brian R. Bondy
2bd6e1f69d Bug 773518 - Necko nsDeleteDir should lower IO prioritization. r=jduell 2012-07-25 10:24:25 -04:00
Patrick McManus
69378be6f2 bug 767005 backout bug 235853 r=jduell
--HG--
extra : rebase_source : c5aee6699ad20b85c11d52ca70365d6adebaec7c
2012-07-24 22:40:34 -04:00
Julian Reschke
3681f7489b Bug 776399 - Fix IDL compat problem introduced by changes for bug 663057. r=bz 2012-07-24 21:37:32 -04:00
Patrick McManus
00aae47cf8 bug 775813 - rename http connection mgr ReadTimeoutTick to just TimeoutTick r=honzab 2012-07-23 19:10:02 -04:00
Patrick McManus
10e166070e bug 762162 - network.http.timeout-connection r=honzab 2012-07-23 19:10:00 -04:00
Joshua Cranmer
774444109e Bug 773637 - Kill NS_SCRIPTABLE attributes, Part 2: Remove NS_SCRIPTABLE. r=ehsan
--HG--
extra : rebase_source : 83020e0a1961ed5b33d5e0599419c6b7b82caa87
2012-07-06 15:31:49 -05: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
Joshua Cranmer
4ad48824ad Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
Jason Duell
c95f8eff2b Bug 776176 - e10s: propagate GetExtendedOrigin from child to parent process. r=jdm 2012-07-23 11:12:03 -07:00
Mounir Lamouri
72b86db435 Bug 775817 - Update [most] tests to use the new permission manager api. r=sicking 2012-07-23 11:08:07 -07:00
Aryeh Gregor
e57dd159b2 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Mounir Lamouri
a8398c9d66 Bug 775796 - nsIURIClassifier.classify() should takes a principal. r=bsmith 2012-07-20 09:46:59 -07:00
Jason Duell
0f5d39e960 Bug 775861 - e10s: propagate appId and isInBrowserElement from child to parent process r=jdm 2012-07-22 15:35:33 -07:00
Jason Duell
297baa7909 Bug 775119 - e10s: implement nsILoadContext in ParentChannels, remove PrivateBrowsingConsumer r=jdm 2012-07-22 15:35:33 -07:00
Brian R. Bondy
71a5dab36c Bug 774146 - Get more detail on reason for DISK_CACHE_CORRUPT failures. r=michal 2012-07-20 19:47:52 -04:00
Masatoshi Kimura
4810c8b895 Bug 435028 - IPv6 sites not reachable when using IPv4 SOCKS proxy. r=biesi 2012-07-20 20:19:37 -04:00
Patrick McManus
353d68f5e2 bug 775515 nshttpconnectionmgr::restrictconnections() for half opens only if they never connected r=honzab
--HG--
extra : rebase_source : d1c27fa7c066f8f25efa7bf4ad78e6df62b7ce22
2012-07-20 08:50:18 -04:00
Patrick McManus
38d6b524e1 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
5f2dfc16e3 bug 775508 http connection diagnostic half-open elapsed syn time incorrect r=honzab
--HG--
extra : rebase_source : c4d634a900b8de0c32710050e320b2550d0f1a30
2012-07-20 08:41:35 -04:00
Patrick McManus
4c858109e4 bug 770331 - always try and negotiate HTTP Keep-Alive r=biesi
--HG--
extra : rebase_source : d348e3ec56faa48fbed5c4f0f697dee6658e21b2
2012-07-20 08:40:13 -04:00
Gervase Markham
44a28dd9d7 Bug 774614 - Relicense Gonk/Gecko interface code to Apache License 2.0. 2012-07-20 10:10:44 +01:00
Mounir Lamouri
988c1091fe Bug 774819 - Handle system principals in nsPermissionManager when taking principals. r=sicking 2012-07-18 08:24:01 -07:00
Michal Novotny
45ff7d8227 Bug 769531 - Intermittent TEST-UNEXPECTED-FAIL | test/build/xpcshell/tests/netwerk/test/unit/test_304_responses.js | undefined == 304, r=bsmith 2012-07-18 01:07:59 +02:00
Felix Moeller
fd1b89bad2 Bug 774240 - Data URI parsing mis-detects "base64" parameter as extension. r=rjesup 2012-07-16 20:38:47 -04:00
Thinker K.F. Li
a2b608edcc Bug 769184 - Update cache entry only for new. r=honzab
Update entries in offline cache device only for new ones.  It means the entries returned by BindEntry(), not FindEntry().
2012-07-16 20:38:47 -04:00
Thinker K.F. Li
bd0f48d4b7 Bug 767025 - Part 3: Testcase. r=gal 2012-07-16 20:38:47 -04:00
Thinker K.F. Li
156c8e00b7 Bug 767025 - Part 2: Track active entries in memory and refuse to delete by ignore. r=honzab,gal
The original patch is from Andreas Gal. Thinker did some bug fixing.
2012-06-29 06:27:03 +08:00
Thinker K.F. Li
bc7665ebf2 Bug 767025 - Part 1: Remove flags. r=honzab
The original patch is from Andreas Gal. Thinker did some bug fixing.
2012-06-29 06:26:55 +08:00
Josh Aas
0a1559ce66 Bug 774271: Improve DNS logging. r=sworkman 2012-07-16 18:37:28 -04:00
Matthew Noorenberghe
67280af609 Bug 639362 - Display text/cache-manifest data as text. r=bz
--HG--
extra : rebase_source : e8e30229a029b68b199efe7f0fba71dc142de980
2012-07-13 23:13:20 -07:00
Jason Duell
55c4b6acdf Bug 773150 - FailDelayManager passing wrong type to MOZ_COUNT_CTR. r=mcmanus 2012-07-12 18:19:45 -07:00
Brian Smith
8ce6af0cbe Bug 650355 - Stop accepting MD5 as a hash algorithm in signatures, r=johnath 2012-07-12 15:38:43 -07:00
Mike Hommey
d145a2d1a8 Bug 763651 - Link the javascript engine against zlib. r=khuey 2012-07-12 08:30:59 +02:00
Honza Bambas
d08a526246 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-11 20:20:17 +02:00
Honza Bambas
c3d8ec5de2 Bug 760067 - Release all OfflineCache custom profile files ASAP after custom profile cache update has finished, r=michal 2012-07-11 20:20:17 +02:00
Fabrice Desré
b550133be0 Bug 769350 - Implement trusted/certified app scheme support [r=vingtetun] 2012-07-11 08:38:36 -07:00
Ehsan Akhgari
a53e7f57c2 Bug 772523 - Remove the unused nsMemoryCacheDevice::mEvictionThreshold member; r=michal 2012-07-11 09:39:06 -04:00
Michal Novotny
132fa0b1dc Bug 737615 - Remove use of synchronous cache API from unit tests - minor fixies in necko tests, r=bsmith 2012-07-11 11:18:00 +02:00
Thinker K.F. Li
79e47fbece Bug 769291 - Move nsOfflineCacheDevice::Discard() to cache IO thread. r=honzab
Discard() is called from destructor of nsApplicationCache.  Instances
of nsApplicationCache is released by last reference, it can be in main
thread.  We move Discard() tasks to cache IO thread to avoid blocking
the main thread.
2012-07-11 14:16:00 +08:00
Ryan VanderMeulen
89aff4650d Backout 2838ba825479, 991404facac2, 7f6e22f10b99, 30a4e0cf7130, ad2c42efbe57, and 1f07f04ec01d (Bug 760067, Bug 767096, Bug 765158, Bug 729182) due to xpcshell orange. 2012-07-10 19:21:54 -04:00
Josh Aas
8c6af84bba Bug 769782: Remove synchronous DNS resolution in network tests. r=mcmanus 2012-07-10 18:23:07 -04:00
Honza Bambas
2b8f7207d0 Bug 729182 - Implement visual event tracer, dns instrumentation, r=sworkman 2012-07-10 23:49:19 +02:00
Honza Bambas
0dd40fb9a9 Bug 729182 - Implement visual event tracer, http instrumentation, r=mcmanus 2012-07-10 23:49:19 +02:00
Honza Bambas
24c40e8525 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-10 23:49:18 +02:00
Honza Bambas
0de47be014 Bug 760067 - Release all OfflineCache custom profile files ASAP after custom profile cache update has finished, r=michal 2012-07-10 23:49:17 +02:00
Ehsan Akhgari
29893fb907 Bug 772525 - Remove the unused variable on in nsCacheService::Lock; r=bsmith
DONTBUILD
2012-07-10 14:41:42 -04:00
Ehsan Akhgari
12508ffdf1 Remove some extra trailing semicolons (no bug) 2012-07-10 12:55:08 -04:00
Josh Aas
34a21d4d8f Bug 771489: Use standard threadsafe refcounting in host resolver. r=sworkman 2012-07-10 10:14:01 -04:00
Jason Duell
b8f5384767 Bug 771318 - Fix early websocket Init fail. r=mcmanus, r=smaug 2012-07-09 18:20:25 -07:00
Jason Duell
108efc0dae Bug 771318 - Code cleanup before actual fix. r=mcmanus 2012-07-09 18:20:21 -07:00
Ryan VanderMeulen
959e0d6234 Merge m-c to inbound. 2012-07-09 20:53:11 -04:00
Gregory Szorc
f0647bbe94 Merge mozilla-central into services-central 2012-07-08 20:48:04 -07:00
Gregory Szorc
80b5ac1bfa Merge mozilla-central into services-central 2012-07-03 09:55:45 -07:00
Richard Newman
bed5378e3f Merge m-c to s-c. 2012-07-01 11:06:36 -07:00
Richard Newman
c8abd6c7c8 Merge m-c to s-c. 2012-06-29 23:45:13 -07:00
Gregory Szorc
f85dc8cb5b Bug 755196 - Allow httpd.js to be loaded as a testing module; r=mcmanus 2012-06-29 13:28:04 -07:00
Brian Smith
b89e4ef9a3 Bug 761228: Fix 304 response handling for custom conditional responses to prevent crash, r=jduell
--HG--
extra : rebase_source : 26494ad6bf23c3290f74fdd6ffc21a1db0b7f429
2012-06-28 12:34:32 -07:00
Ed Morley
0359c6c4e5 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-29 08:41:44 +01:00
Brian Smith
ac9531b657 Backout change to netwerk/test/unit/test_bug651100.js from the patch for Bug 737615, a=bustage
--HG--
extra : rebase_source : 50d718395cafa292025452bb01a94fec9f4ae216
2012-06-28 19:39:48 -07:00
Jason Duell
cea8245cc8 Bug 711793 - Delay websocket reconnection after abnormal termination. r=mcmanus 2012-06-28 17:53:50 -07:00
Jason Duell
eb31915a8b Backout 25663e7d7f56 a=memory leak 2012-06-28 16:37:26 -07:00
Jason Duell
1a5146d99d Backed out changeset 25663e7d7f56 a=memory leak 2012-06-28 16:36:14 -07:00
Jason Duell
75ba9183da Bug 711793 - Delay websocket reconnection after abnormal termination. r=mcmanus 2012-06-28 14:42:21 -07:00