Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-12-18 | implement the fallback method of rred by using the FileFd and the included | David Kalnischkies | |
ReadLine instead of accessing the files directly with fgets() | |||
2011-12-18 | usage of Skipping in pipes can't work, so we ignore-read instead | David Kalnischkies | |
Also, read only one char in each step of ReadLine instead of back-"seeking" | |||
2011-12-17 | try to avoid direct usage of .Fd() if possible and do read()s and co | David Kalnischkies | |
on the FileFd instead | |||
2011-12-17 | keep track of where we are in a filedescriptor so we can use it as Tell() | David Kalnischkies | |
information if we are working on a pipe which can't seek | |||
2011-12-16 | try seeking on fds opened with OpenDescriptor before giving up | David Kalnischkies | |
2011-12-15 | refactor compressor calling so that we don't (need to) export ExecCompressor | David Kalnischkies | |
anymore and therefore are also able to drop quiet a bit of duplicated code | |||
2011-12-15 | atleast libapt should announce to itself that it is clean… | David Kalnischkies | |
(and be it if it tries to announce that…) | |||
2011-12-14 | remove the second usage instance of ExecCompressor in ftparchive | David Kalnischkies | |
by again using the FileFd directly | |||
2011-12-14 | use FileFd instead of forking the compression childs by hand | David Kalnischkies | |
2011-12-13 | allow Open() and OpenDescriptor() to be called with a Compressor | David Kalnischkies | |
2011-12-13 | note to myself: In case you rename something, make sure that you have | David Kalnischkies | |
renamed it everywhere as otherwise stuff "magically" starts to fail… Fixes commit 2209 as the mixture of #define names generates a lovely compilable but non-functional mixture of gzip usage… | |||
2011-12-13 | revert 2184.1.3: forward declaration instead of headers | David Kalnischkies | |
The breakage is just to big for now, so guard the change with #ifndef APT_8_CLEANER_HEADERS and be nice to library users | |||
2011-12-13 | revert 2184.1.2: do not pollute namespace in headers | David Kalnischkies | |
The breakage is just to big for now, so guard the change with #ifndef APT_8_CLEANER_HEADERS and be nice to library users | |||
2011-12-13 | Allow the FileFd to use an external Compressor to uncompress a given file | David Kalnischkies | |
internally so that it is exported and can be used like a "normal" uncompressed file with FileFd This allows us to hide th zlib usage in the implementation and use gzip instead if we don't have zlib builtin (the same for other compressors). The code includes quiet a few FIXME's so while all tests are working it shouldn't be used just yet outside of libapt as it might break. | |||
2011-12-11 | - add a ReadLine method | David Kalnischkies | |
- drop the explicit export of gz-compression handling | |||
2011-12-11 | use different compression types in the test now that we support them | David Kalnischkies | |
2011-12-11 | add a testcase for FindPackages() to better validate that cdrom should work. | David Kalnischkies | |
Unfortunately it's hard to do an automated integration test with cd, so we test this method in isolation which tries to find Indexes and dropping of duplications with DropRepeats() | |||
2011-12-11 | * apt-pkg/cdrom.cc: | David Kalnischkies | |
- support InRelease files on cdrom | |||
2011-12-11 | use fileutl exists-functions instead of doing the stat'ing by hand | David Kalnischkies | |
2011-12-11 | strip the extension of the translation file before storing it in the list | David Kalnischkies | |
(regression from compression rewrite; found by Steve McIntyre, thanks!) | |||
2011-12-10 | * apt-pkg/contrib/fileutl.{h,cc}: | David Kalnischkies | |
- implement a ModificationTime method for FileFd | |||
2011-12-10 | enable FileFd to guess the compressor based on the filename if requested or | David Kalnischkies | |
to search for compressed silbings of the given filename and use this guessing instead of hardcoding Gzip compression | |||
2011-12-10 | * cmdline/apt-config.cc: | David Kalnischkies | |
- dump the APT::Compressor settings correctly and completely | |||
2011-11-30 | ensure that we exit instead of proceed in execution after the trap | David Kalnischkies | |
(the execution leads to hard failures anyway) | |||
2011-11-29 | split up the OpenMode into OpenMode and CompressionMode and | David Kalnischkies | |
provide ReadOnly, WriteOnly and ReadWrite as flags alongside the additional flags as decompression will be one-way later, but certain parts really depend on Write* openmodes being ReadWrite opens, so we will have to fail for those. | |||
2011-11-24 | use getCompressors() instead of getCompressorTypes() and use it everywhere | David Kalnischkies | |
to replace hardcoding of compressiontypes and compressors | |||
2011-11-23 | fix another hickup in the changelog | David Kalnischkies | |
2011-11-23 | factored out the decompressor code in IndexCopy::CopyPackages() and | Steve McIntyre | |
TranslationsCopy::CopyTranslations() into a single common function | |||
2011-11-23 | fixup changelog | Michael Vogt | |
2011-11-23 | merged from lp:~donkult/apt/experimental | Michael Vogt | |
2011-11-23 | merged lp:~mvo/apt/convert-to-multiarch-lib-thanks-colin | Michael Vogt | |
2011-11-23 | * cmdline/apt-get.cc: | David Kalnischkies | |
- ignore foreign architectures if we check if a provides has only one resolver as it's basically the same for the user, so no need to choose | |||
2011-11-23 | * apt-pkg/depcache.cc: | David Kalnischkies | |
- prefer native providers over foreigns even if the chain is foreign The code preferred real over virtual packages and based on priorities. This is changed in so far that a real package from any arch is preferred over any virtual provider and if priorities doesn't help in choosing the best provider we choose it based on architectures | |||
2011-11-22 | fix the operator++ implementations in the cachesets | David Kalnischkies | |
2011-11-22 | * apt-pkg/cdrom.cc: | Michael Vogt | |
- use aptconfiguration to get the supported compression types | |||
2011-11-22 | fix remaining rename | Michael Vogt | |
2011-11-22 | rename .install to .install.in when needed | Michael Vogt | |
2011-11-22 | merged libapt multiarch enable patch from Colin Watson, many thanks! | Michael Vogt | |
2011-11-21 | apt-pkg/cdrom.cc: Accept .bz2, .xz files in addition to .gz files (Closes: ↵ | Julian Andres Klode | |
#649451) | |||
2011-11-11 | - provide a {Package,Version}List similar to {Package,Version}Set | David Kalnischkies | |
* cmdline/apt-{get,cache,mark}.cc: - use Lists instead of Sets if input order should be preserved for commands accepting lists of packages, e.g. policy (Closes: #625960) | |||
2011-11-10 | merged from lp:~donkult/apt/experimental | Michael Vogt | |
2011-11-09 | * apt-pkg/cacheset.cc: | David Kalnischkies | |
- make the cachesets real containers which can embedding any container to be able to use the same interface regardless of set or list usage | |||
2011-11-03 | * apt-pkg/deb/deblistparser.cc: | David Kalnischkies | |
- M-A: foreign packages provide for other archs, too | |||
2011-10-31 | do not enter an endless loop for (essential) pre-dependency loops | David Kalnischkies | |
2011-10-30 | * apt-pkg/contrib/sha2_internal.cc: | David Kalnischkies | |
- use a pointer-union to peace gcc strict-aliasing warning | |||
2011-10-30 | merge with my debian-sid branch | David Kalnischkies | |
2011-10-20 | merged from donkult | Michael Vogt | |
2011-10-20 | merged from donkult | Michael Vogt | |
2011-10-17 | * algorithms.cc: | David Kalnischkies | |
- show a debug why a package was kept by ResolveByKeep() | |||
2011-10-17 | * apt-pkg/packagemanager.cc: | David Kalnischkies | |
- do not fail on unpacked packages in SmartUnPack, just don't shedule them for unpack, but do all checks and configure them |