summaryrefslogtreecommitdiff
path: root/apt-pkg
AgeCommit message (Expand)AuthorFilesLines
2015-12-29Do not sync the cache fileJulian Andres Klode1-2/+0
2015-12-29Add support for calculating hashes over the entire cacheJulian Andres Klode3-5/+43
2015-12-29pkgCacheGenerator: Allow passing down an already created cacheJulian Andres Klode3-5/+19
2015-12-29pkgTagSection::Scan: Fix read of uninitialized valueJulian Andres Klode1-1/+1
2015-12-29strutl.cc: Add declarations for the compat _ascii() functionsJulian Andres Klode1-0/+2
2015-12-29Turn tolower_ascii() and isspace_ascii() into inline functionsJulian Andres Klode2-11/+21
2015-12-29Switch to DJB hashing and use prime number as table sizeJulian Andres Klode1-7/+7
2015-12-28BufferedFileFdPrivate: Make InternalFlush() save against errorsJulian Andres Klode1-8/+8
2015-12-28aptconfiguration: Set default compression level to 6Julian Andres Klode1-5/+5
2015-12-28BufferedWriter: flushing: Check for written < size instead of <=Julian Andres Klode1-3/+1
2015-12-27deal with empty values properly in deb822 parserDavid Kalnischkies1-1/+3
2015-12-27allow repositories to forbid arch:all for specific index targetsDavid Kalnischkies5-3/+30
2015-12-27pkgcachegen.h: Hack around unordered_map not existing before C++11Julian Andres Klode1-0/+5
2015-12-27FileFd: Add a buffered writing modeJulian Andres Klode2-0/+153
2015-12-27FildFd: Introduce a Flush() function and call it from Close()Julian Andres Klode2-0/+16
2015-12-27FileFdPrivate: Add getter and setter for fieldsJulian Andres Klode1-9/+42
2015-12-27fileutl: simple_buffer: Add write() and full() methodsJulian Andres Klode1-0/+11
2015-12-27fileutl: simple_buffer: Mark accessors as constJulian Andres Klode1-2/+3
2015-12-27FileFdPrivate: Extract SimpleBuffer and mark it as hiddenJulian Andres Klode1-21/+24
2015-12-27ParseDepends: Mark branches for build-dep parsing as unlikelyJulian Andres Klode1-2/+2
2015-12-27debListParser: Do not validate Description-md5 for correctness twiceJulian Andres Klode1-2/+4
2015-12-27Hex2Digit: Do not use isxdigit()Niels Thykier1-4/+9
2015-12-27debListParser: ParseDepends: Only query native arch if neededJulian Andres Klode1-1/+2
2015-12-27pkgcachegen: Use std::unordered_map instead of std::mapJulian Andres Klode2-7/+7
2015-12-27Convert most callers of isspace() to isspace_ascii()Julian Andres Klode5-32/+32
2015-12-27Introduce isspace_ascii() for use by parsersJulian Andres Klode2-0/+19
2015-12-26Refactor InternalReadLine to not unroll Size == 0 caseJulian Andres Klode1-5/+4
2015-12-26Change InternalReadLine to always use buffer.read() return valueJulian Andres Klode1-12/+8
2015-12-26Get rid of memmove() in our read bufferingJulian Andres Klode1-76/+57
2015-12-26Use a hardcoded buffer size of 4096 to fix performanceJulian Andres Klode1-4/+2
2015-12-24Mark all FileFdPrivate classes as hidden1.1.6Julian Andres Klode1-6/+6
2015-12-23fix new[] vs delete mismatch introduced by b3db9d81David Kalnischkies1-7/+7
2015-12-23use a dynamic buffer for ReadLineDavid Kalnischkies1-15/+22
2015-12-23implement a buffer system for FileFd::ReadLineDavid Kalnischkies1-27/+140
2015-12-22parse xz-compression level from configurationDavid Kalnischkies1-2/+28
2015-12-22follow dpkg and xz and use CRC64 for xz compressionDavid Kalnischkies1-1/+1
2015-12-22shuffle compressor-specific code into private subclassesDavid Kalnischkies2-635/+692
2015-12-19Do not try to read in FileFd::Read() if Size is 0Julian Andres Klode1-3/+2
2015-12-19Do nothing in FileFd::Write() if Size is 0Julian Andres Klode1-7/+5
2015-12-19CopyFile: avoid failing on EOF on some systemsPino Toscano1-1/+1
2015-12-19CopyFile: fix BufSize to a sane valuePino Toscano1-2/+2
2015-12-14pkgcache: Make hash arch-independent using fixed size integerJulian Andres Klode1-2/+2
2015-12-14tagfile: Hardcode error message for out of range integer valuesJulian Andres Klode1-4/+3
2015-12-14non-existing directories don't need to be cleanedDavid Kalnischkies1-0/+5
2015-12-14support regex and co in 'apt-cache policy $pkg' againDavid Kalnischkies1-1/+1
2015-12-14show a more descriptive error for weak Release filesDavid Kalnischkies2-4/+25
2015-12-13parse .diff/Index hashes in reverse orderDavid Kalnischkies1-3/+11
2015-12-13fix typos and docs in GlobalError documentationDavid Kalnischkies1-10/+9
2015-12-11mmap: Define _DEFAULT_SOURCE instead of _BSD_SOURCEJulian Andres Klode1-1/+1
2015-12-11Bump cache minor version to 2 to trigger rebuildsJulian Andres Klode1-1/+1