summaryrefslogtreecommitdiff
path: root/ftparchive
Commit message (Collapse)AuthorAgeFilesLines
* try to avoid direct usage of .Fd() if possible and do read()s and coDavid Kalnischkies2011-12-172-5/+5
| | | | on the FileFd instead
* remove the second usage instance of ExecCompressor in ftparchiveDavid Kalnischkies2011-12-143-50/+18
| | | | by again using the FileFd directly
* use FileFd instead of forking the compression childs by handDavid Kalnischkies2011-12-142-28/+3
|
* Allow the FileFd to use an external Compressor to uncompress a given fileDavid Kalnischkies2011-12-132-72/+4
| | | | | | | | | | | 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.
* merge with current debian apt/experimentalDavid Kalnischkies2011-10-051-5/+9
|\
| * * apt-pkg/contrib/configuration.cc:Michael Vogt2011-10-051-5/+9
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix double delete (LP: #848907) - ignore only the invalid regexp instead of all options * apt-pkg/acquire-item.h, apt-pkg/deb/debmetaindex.cc: - fix fetching language information by adding OptionalSubIndexTarget * methods/https.cc: - cleanup broken downloads properly * ftparchive/cachedb.cc: - fix buffersize in bytes2hex * apt-pkg/deb/deblistparser.cc: - fix crash when the dynamic mmap needs to be grown in LoadReleaseInfo (LP: #854090)
| | * ftparchive/cachedb.cc: rewrite to fix the fixed length fieldMichael Vogt2011-09-221-5/+9
| | |
| | * * ftparchive/cachedb.cc:Michael Vogt2011-09-221-1/+1
| | | | | | | | | - fix buffersize in bytes2hex
* | | use forward declaration in headers if possible instead of includesDavid Kalnischkies2011-09-195-10/+12
| | |
* | | do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies2011-09-195-22/+22
|/ /
* | merge with debian/experimentalDavid Kalnischkies2011-09-134-17/+17
|\ \
| * \ merged from the debian-sid branchMichael Vogt2011-08-154-17/+17
| |\ \ | | |/ | |/|
| | * cppcheck complains about some possible speed improvements which could beDavid Kalnischkies2011-08-114-17/+17
| | | | | | | | | | | | | | | | | | done on the mirco-optimazation level, so lets fix them: (performance) Possible inefficient checking for emptiness. (performance) Prefer prefix ++/-- operators for non-primitive types.
* | | Support large files in the complete toolset. Indexes of thisDavid Kalnischkies2011-09-139-36/+36
| | | | | | | | | | | | size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895)
* | | reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies2011-09-136-21/+30
|/ /
* | * ftparchive/writer.cc:David Kalnischkies2011-07-131-26/+8
| | | | | | - generate all checksums in one run over the file for Release
* | merge lp:~mvo/apt/abi-breakMichael Vogt2011-06-294-9/+90
|\ \ | |/ |/|
| * merge lp:~mvo/apt/sha512-template to add support for sha512Michael Vogt2011-06-084-9/+86
|/|
| * move sha512,256 into apt-pkg/sha2.{cc,h}, move gifford implementation to ↵Michael Vogt2011-02-252-4/+2
| | | | | | | | sha2_internal.{cc,h}
| * add sha512 support to apt-ftparchiveMichael Vogt2011-02-224-7/+84
| |
* | - load the supported compressors from configurationDavid Kalnischkies2011-02-273-47/+34
| | | | | | - support adding new compressors by configuration
* | * ftparchive/contents.cc:David Kalnischkies2011-02-241-28/+3
| | | | | | - remove ExtractArchive codecopy from apt-inst/deb/debfile.cc
* | * ftparchive/multicompress.cc, apt-inst/deb/debfile.cc:David Kalnischkies2011-02-223-1/+8
|\ \ | | | | | | | | | | | | | | | - support xz compressor to create xz-compressed Indexes and be able to open data.tar.xz files * ftparchive/writer.cc: - include xz-compressed Packages and Sources files in Release file
| * | * ftparchive/writer.cc:David Kalnischkies2011-02-221-0/+2
| | | | | | | | | - include xz-compressed Packages and Sources files in Release file
| * | * ftparchive/multicompress.cc, apt-inst/deb/debfile.cc:David Kalnischkies2011-02-222-1/+6
| | | | | | | | | | | | - support xz compressor to create xz-compressed Indexes and be able to open data.tar.xz files
* | | add options to disable specific checksums for IndexesDavid Kalnischkies2011-02-223-59/+92
| | |
* | | * ftparchive/writer.cc:David Kalnischkies2011-02-221-0/+5
| |/ |/| | | - ensure that Date and Valid-Until time strings are not localised
* | merge with debian-sidDavid Kalnischkies2011-01-251-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ Christian Perrier ] * Fix encoding for Slovenian translation. PO file switched to UTF-8. Closes: #609957 [ David Kalnischkies ] * ftparchive/apt-ftparchive.cc: - fix endless loop for multiple TranslationsWriters [ Julian Andres Klode ] * cmdline/apt-cache.cc: Create an error for apt-cache depends if packages could not found (LP: #647045) [ Manpages translations ] * Correct a typo and an error in French manpages translation. Closes: # 607170 [ Programs translations ] * po/es.po: Updated, plus fixes encoding issues and fixes two fuzzy strings, thanks to Javier Fernandez-Sanguino (closes: #610692) * Spanish update by Javier Fernández-Sanguino Peña. Closes: #607145
| * releasing version 0.8.10.2Michael Vogt2011-01-251-1/+1
| |
* | include Index files by default in the Release fileDavid Kalnischkies2011-01-241-0/+1
| |
* | * ftparchive/writer.cc:David Kalnischkies2011-01-202-11/+17
|/ | | - add config option to search for more patterns in release command
* * ftparchive/writer.cc:Michael Vogt2010-09-091-2/+2
|\ | | | | | | | | - null the valid string instead of the date if Valid-Until is not set * apt-pkg/acquire-item.cc: - use also unsigned Release files again (Closes: #596189)
| * * ftparchive/writer.cc:David Kalnischkies2010-09-091-2/+2
| | | | | | - null the valid string instead of the date if Valid-Until is not set
* | * ftparchive/writer.cc:Michael Vogt2010-09-091-6/+9
|/ | | | - write out {Files,Checksum-Sha1,Checksum-Sha256} only if available LP: #633967. Thanks to Colin Watson
* * ftparchive/apt-ftparchive.cc:David Kalnischkies2010-09-071-1/+6
| | | | - ensure that BinDirectory as well as Tree settings get the correct default FileMode setting (Closes: #595922)
* * ftparchive/writer.cc:David Kalnischkies2010-08-191-1/+1
| | | - init valid-until correctly to prevent garbage entering Release file
* - backport forgotten Valid-Until patch from the obsolete experimentalDavid Kalnischkies2010-06-091-0/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | branch to prevent replay attacks better, thanks to Thomas Viehmann for the initial patch! (Closes: #499897) * doc/apt.conf.5.xml: - document the new Valid-Until related options * apt-pkg/contrib/strutl.cc: - split StrToTime() into HTTP1.1 and FTP date parser methods and use strptime() instead of some self-made scanf mangling - use the portable timegm shown in his manpage instead of a strange looking code copycat from wget * ftparchive/writer.cc: - add ValidTime option to generate a Valid-Until header in Release file
| * * ftparchive/writer.cc:David Kalnischkies2010-06-091-0/+10
| | | | | | - add ValidTime option to generate a Valid-Until header in Release file
* | i managed to commit broken code… which (at least in my mind) workedDavid Kalnischkies2010-05-311-1/+1
| | | | | | | | yesterday. Strange… anyway only small fixes.
* | * ftparchive/writer.h:David Kalnischkies2010-05-291-0/+1
|/ | | - add a virtual destructor to FTWScanner class (for cppcheck)
* * ftparchive/writer.cc:David Kalnischkies2010-04-231-21/+19
| | | - remove 999 chars Files and Checksums rewrite limit (Closes: #577759)
* merged from lp:~donkult/apt/sidMichael Vogt2010-04-013-13/+126
|\
| * Switch the TranslationWriter to use MultiCompress to be able to generateDavid Kalnischkies2010-03-263-11/+20
| | | | | | | | | | | | the compressed files as we want them and to prevent the file to be replaced without a reason which could save us from steady redownloads of a file with the same content.
| * Inclusion of Long Descriptions in the Packages files can be set nowDavid Kalnischkies2010-03-261-2/+9
| | | | | | | | | | | | also in TreeDefaults and Tree to support generation of archives which should support and which shouldn't support splitted out Translation-en files in the same run.
| * * ftparchive/writer.cc:David Kalnischkies2010-03-223-10/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | - write LongDescriptions if they shouldn't be included in Packages file into i18n/Translation-en by default. It is ensured that each package+description is listed only ones in the Translation file even if we generate multiple Packages file in one run. The file is only generated in "generate" - the simple file commands can't create it by now. Also, the LongDescription is currently a global setting, so generating archives with and without LongDescriptions in the Packages file in the same run are currently not possible.
* | ftparchive/apt-ftparchive.cc: Include apt-pkg/init.h.Julian Andres Klode2010-03-261-0/+1
| |
* | * ftparchive/apt-ftparchive.cc:Julian Andres Klode2010-03-261-1/+1
|/ | | - Read default configuration (Closes: #383257)
* - add --arch option for apt-ftparchive packages and contents commandsDavid Kalnischkies2010-02-183-22/+21
| | | | | - if an arch is given accept only *_all.deb and *_arch.deb instead of *.deb. Thanks Stephan Bosch for the patch! (Closes: #319710)
* merge with debian-sidDavid Kalnischkies2010-02-132-14/+19
|\
| * * cmdline/acqprogress.cc:Michael Vogt2010-01-311-5/+25
| | | | | | | | | | | | | | | | | | - Set Mode to Medium so that the correct prefix is used. Thanks Stefan Haller for the patch! (Closes: #567304 LP: #275243) * ftparchive/writer.cc: - generate sha1 and sha256 checksums for dsc (Closes: #567343) * cmdline/apt-get.cc: - don't mark as manually if in download only (Closes: #468180)