Commit Graph
15 Commits
Author SHA1 Message Date
Vasil Dimov 20aa3adaf2 Bug 860827 - Move TEMP_FAILURE_RETRY to FileUtils.h and rename it. r=tbsaunde 2013-05-09 13:42:12 -04:00
Aaron Klotz d91566d949 Bug 857830: Part 1 - Ensure that ReadAheadFile's aOutFd is always set when provided. r=glandium 2013-05-07 00:06:14 -06:00
Vasil Dimov 6524ff5315 Bug 860827 - Add unit tests for ReadSysFile(). r=dhylands, r=BenWa 2013-04-23 13:55:46 -04:00
Vasil Dimov 328199ed67 Bug 819016 - Create some helper functions for reading /sys files. r=bsmedberg 2013-03-27 11:19:09 -04:00
Aaron Klotz 49f140862b Bug 845907: Adds generic ReadAhead functions r=glandium 2013-03-03 18:56:03 -07:00
Aaron Klotz 8016e46cae Backed out a40244b87c7a (bug 845907) 2013-03-02 17:08:05 -07:00
Aaron Klotz 7a0ea6974c Bug 845907: Adds generic ReadAhead functions r=glandium 2013-03-02 16:13:38 -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
Ehsan Akhgari 57ec2ec569 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Gian-Carlo Pascutto cf9f2cece5 Bug 791301 - Generic fallocate code is broken for files smaller than system block size. r=taras 2012-09-17 13:27:24 +02: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
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Rich Walsh 7a109ebb8d Bug 611934 - OS/2 - implement fallocate() and fix build break; r=taras a=bsmedberg 2011-02-02 13:51:22 -05: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
Taras Glek ba45c27035 Bug 592520 - Do not fragment the hell out of CACHE__00[1-3]__. r=bsmedberg/jduell, a=betaN+ 2010-09-16 13:21:12 -07:00