Commit Graph

43 Commits

Author SHA1 Message Date
Alfred Kayser
c1977f812c Bug 405407 - Merge nsDiskCacheStreamIO and nsDiskCacheStreamOutput (v10). r=michal.novotny 2013-02-16 15:50:09 +01:00
Alfred Kayser
18030ee297 Bug 828281 - UpdateRecord in CloseOutputStream can be removed. r=michal.novotny 2013-02-03 17:09:48 +01:00
Alfred Kayser
89d1e7d8c6 Bug 572011 - Crash @ nsDiskCacheStreamIO::FlushBufferToFile - Make sure that we don't crash on empty/missing buffer 2013-02-02 10:52:41 +01: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
Alfred Kayser
41adfef634 bug 814010: diskcache: skip buffer when writing to file. r=michal.novotny 2013-01-06 14:51:12 +01:00
Michal Novotny
d7bc67b468 Bug 725993 - Remove ability to tell cache to STORE_ON_DISK_AS_FILE, r=bsmith 2013-01-04 00:30:48 +01:00
Alfred Kayser
ab29ba1f82 Bug 815639 - mLocalFile in nsDiskCacheStream doesn't have to be in the class 2012-12-21 15:25:50 +01:00
Michal Novotny
0a00d28092 Bug 808997 - Explicitly close all output and input streams of all active cache entries during shutdown, r=hurley 2012-12-14 18:03:01 +01:00
Michal Novotny
b78f028dc7 Bug 795897 - Force NSPR logging for cache module in release build, r=jduell 2012-11-22 02:14:00 +01:00
Josh Aas
0389f58155 Back out fix for bug 405407 due to regressions. 2012-11-19 18:02:21 -05:00
Nick Hurley
604807457f Bug 699951 - add a memory reporter for heap usage by the disk cache. r=michal 2012-11-05 10:22:33 -08:00
Ehsan Akhgari
e91c80d60b Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
d766300da5 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Michal Novotny
c1f92c2c55 Bug 771832 - File not found error for HTTP URL, can be fixed by a forced reload, r=hurley 2012-10-17 13:59:51 +02:00
Josh Aas
49892c1b11 Bug 405407: Merge nsDiskCacheStreamIO and nsDiskCacheStreamOutput. Patch originally by Alfred Kayser, updated by Josh Aas, final fix from Michal Novotny. r=michal 2012-09-06 10:10:08 -04:00
Valentin Gosu
c2124622b0 Bug 745296 - Enable FAIL_ON_WARNINGS in more of /netwerk r=jduell 2012-08-25 11:19:00 -07: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
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
Ms2ger
c8ea20cf42 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Brian Smith
64374a31b0 Bug 767275 - Add more detailed cache lock telemetry, r=michal, r=nfroyd 2012-06-29 16:20:34 -07:00
Brian Smith
569631eb95 Bug 746018 - Part 4 - More cache logging, r=jduell 2012-05-31 15:20:03 -07:00
Brian Smith
c9031e1205 Bug 746018 - Part 3 - Do more logging in nsInputStreamWrapper, r=jduell 2012-05-31 15:20:02 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
57d4d72aa4 Bug 673543 - crash nsDiskCacheMap::DeleteRecord r=michal.novotny 2012-01-26 12:23:45 +01:00
Michal Novotny
f907fbf1e8 Bug 716146 - Telemetry - close disk cache output stream 2012-01-07 02:45:46 +01: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
Ed Morley
e02f78569a Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
fffef075ee Bug 654926 - Hang in nsDiskCacheStreamIO::CloseOutputStream while downloading WebM video from YouTube r=michal.novotny, bjarne 2011-06-22 10:49:35 +02:00
Michal Novotny
10009558cf Bug 651100 - Browser becomes unresponsive while watching embedded Youtube <video>. r=bjarne a=sheriff 2011-05-20 19:27:11 +02:00
Ed Morley
5939100a93 Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Michal Novotny
8667b4f6c3 Bug 617123 - Images are randomly corrupted with fallocate. r=jduell 2011-01-12 04:38:12 +02:00
b3042dbaaa Bug 619685 unused variable dataSize in nsDiskCacheStreamIO::FlushBufferToFile
r=jduell
2011-04-06 11:14:10 -07:00
Michal Novotny
23e84528e9 Bug 604897 - Unable to cache small entries when _CACHE_00[1-3]_ is full; r=mayhemer a=blocking-betaN+ 2011-01-18 16:12:10 +02:00
Michal Novotny
af26b8e011 Bug 614513 - Crash in nsCacheService::DeactivateEntry during Linux Talos. r=bzbarsky@mit.edu, a=blocker 2010-12-29 03:25:14 +02:00
Jason Duell
d60dc74ffc bug 617123: workaround by removing fallocate calls. a=beltzner 2010-12-10 10:03:19 -08:00
Michal Novotny
980868c4f5 Bug 597224 - HTTP Cache: use directory tree to store cache files. sr=bzbarsky@mit.edu, a=blocker 2010-12-06 17:49:05 +02:00
Michal Novotny
33ab7636c6 Bug 592422 - preallocate individual (non-block) cache files. r=jduell a=blocking-bN 2010-11-24 16:42:30 +01:00
Michal Novotny
c2a2cdc3a9 bug 604880 - Doom cache-entry if writing data and/or metadata fails. r=bjarne@runitsoft.com, sr=bzbzrsky@mit.edu, a=blocker 2010-10-19 19:26:38 +02:00
Mounir Lamouri
8518a2293d Backed out changeset e72707266b4a because of orange on Win Debug. a=backout 2010-10-21 15:16:34 +02:00
Michal Novotny
09c776450b Bug 592422 - preallocate individual (non-block) cache files. r=jduell,taras a=b 2010-09-22 11:47:46 +02:00
Mitchell Field
bc63774d7e Bug 542222 - Reduce recursion in netwerk makefiles. 2010-06-05 21:18:12 -04:00