summaryrefslogtreecommitdiff
path: root/apt-inst
Commit message (Collapse)AuthorAgeFilesLines
* don't explicitly init ExtractTar InFd with invalid fdDavid Kalnischkies2013-06-091-1/+0
| | | | | | | The default constructor of the FileFd will kick in anyway, which will know that the Fd is invalid while with this explicit call it must be assumed that the fd is in fact valid, which might generate errors in the future
* various simple changes to fix cppcheck warningsDavid Kalnischkies2013-03-101-2/+1
|
* * apt-inst/deb/debfile.h:David Kalnischkies2012-05-101-0/+4
| | | | - readd 'md5.h' to the uncleaned header includes to make qapt build against us again unchanged to unblock transition (Closes: #669163)
* merge from the lp:~mvo/apt/mvo branchMichael Vogt2012-04-201-1/+1
|\
| * * apt-inst/contrib/extracttar.cc:Michael Vogt2012-04-191-1/+1
| | | | | | | | | | - ensure that in StartGzip the InFd is set to "AutoClose" to ensure that the pipe is closed when InFd is closed. This fixes a Fd leak (LP: #985452)
* | prepare new experimtnal uploadMichael Vogt2012-04-111-1/+1
| |
* | * apt-inst/database.{cc,h}, apt-inst/deb/dpkgdb.{cc,h}:David Kalnischkies2012-03-227-719/+4
| | | | | | | | | | | | | | - drop instead of fix as it is only needed if you want to reimplement dpkg and comes straight from the beginning of last decade (Closes: #663372) * apt-inst/deb/debfile.cc: - {Extract,Merge}Control() is another instance of "lets reimplement dpkg" so shot of this code before someone ends up using this…
* | * methods/rred.cc:David Kalnischkies2012-03-202-3/+2
|/ | | | | | | | | | | - check return of writev() as gcc recommends * methods/mirror.cc: - check return of chdir() as gcc recommends * apt-pkg/deb/dpkgpm.cc: - check return of write() a gcc recommends * apt-inst/deb/debfile.cc: - check return of chdir() as gcc recommends * apt-inst/deb/dpkgdb.cc: - check return of chdir() as gcc recommends
* fix "(style) Statements following return, break, continue, goto or throwDavid Kalnischkies2012-03-041-4/+2
| | | | | will never be executed." from cppcheck. The fd was closed only after a return, so invert the order of lines and be happy
* revert 2184.1.3: forward declaration instead of headersDavid Kalnischkies2011-12-134-0/+13
| | | | | The breakage is just to big for now, so guard the change with #ifndef APT_8_CLEANER_HEADERS and be nice to library users
* revert 2184.1.2: do not pollute namespace in headersDavid Kalnischkies2011-12-131-0/+4
| | | | | The breakage is just to big for now, so guard the change with #ifndef APT_8_CLEANER_HEADERS and be nice to library users
* use forward declaration in headers if possible instead of includesDavid Kalnischkies2011-09-1912-7/+35
|
* do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies2011-09-1910-21/+19
|
* * [abi-break] Support large files in the complete toolset. Indexes of thisMichael Vogt2011-09-141-1/+1
| | | * bump ABI version
* Support large files in the complete toolset. Indexes of thisDavid Kalnischkies2011-09-131-1/+1
| | | | 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-138-2/+19
|
* merge lp:~mvo/apt/abi-breakMichael Vogt2011-06-291-1/+1
|
* remove Size >= 0 check as Itm.Size is an unsigned variable (clang warning)David Kalnischkies2011-05-171-1/+1
|
* fix a bunch of cppcheck warnings/errors based on a patch byDavid Kalnischkies2011-04-161-4/+10
| | | Niels Thykier, thanks! (Closes: #622805)
* * apt-inst/deb/debfile.cc:David Kalnischkies2011-02-281-16/+26
| | | - support data.tar's compressed with any configured compressor
* * ftparchive/contents.cc:David Kalnischkies2011-02-241-1/+1
| | | - remove ExtractArchive codecopy from apt-inst/deb/debfile.cc
* * ftparchive/multicompress.cc, apt-inst/deb/debfile.cc:David Kalnischkies2011-02-221-1/+7
|\ | | | | | | | | | | - 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/multicompress.cc, apt-inst/deb/debfile.cc:David Kalnischkies2011-02-221-1/+7
| | | | | | | | - support xz compressor to create xz-compressed Indexes and be able to open data.tar.xz files
* | * apt-inst/contrib/extracttar.cc:David Kalnischkies2011-01-131-4/+8
|\ \ | | | | | | | | | - let apt-utils work with encoded tar headers if uid/gid are large. Thanks to Nobuhiro Hayashi for the patch! (Closes: #330162)
| * | Permit base256 encoded value in the numeric field of tar header.Nobuhiro Hayashi2010-12-031-4/+8
| |/
* / FristOwner is never used in the blamed history and gcc-4.6 complains nowDavid Kalnischkies2011-01-121-3/+1
|/
* Switch away from the now deprecated methods for Cache buildingDavid Kalnischkies2010-06-041-1/+1
|
* apt-inst/contrib/arfile.h: Add public ARArchive::Members() which returns the ↵Julian Andres Klode2010-03-121-0/+1
| | | | list of members.
* we break the ABI, so let use increase the ABI number :)David Kalnischkies2010-02-181-1/+1
| | | | (This is the revert of the glibc-abi-compatibility-hack)
* * apt-pkg/contrib/macros.h:David Kalnischkies2010-01-301-1/+1
| | | | | - move the header system.h with a new name to the public domain, to be able to use it in other headers (Closes: #567662)
* apt-inst/makefile: include libversion.makMichael Vogt2009-12-141-0/+3
|
* decrease the libapt-inst major version again to 1.1 as the increaseDavid Kalnischkies2009-12-121-1/+1
| | | | was a backport error and is not needed (and destroys our non-abi-break hack)
* Bumped libapt version and excluded eglibc from SONAME. (Closes: #448249)David Kalnischkies2009-10-241-2/+1
| | | | | Backported from lp:~mvo/apt/debian-experimental Based on patch by Eugene V. Lyubimkin
* * apt-pkg/deb/dpkgpm.cc:Michael Vogt2009-09-241-1/+1
|\ | | | | | | | | | | - when tcgetattr() returns non-zero skip all pty magic (thanks to Simon Richter, closes: #509866) * apt-inst/contrib/arfile.cc: - show propper error message for Invalid archive members
| * * apt-inst/contrib/arfile.cc:Michael Vogt2009-09-241-1/+1
| | | | | | - show propper error message for Invalid archive members
* | [apt-inst/contrib/arfile.cc] use sizeof instead strlenDavid Kalnischkies2009-08-091-1/+1
|/ | | | Patch from Marius Vollmer, thanks! (Closes: #504325)
* * apt-inst/contrib/arfile.cc:Michael Vogt2008-12-171-1/+1
| | | | - support members ending with '/' as well (thanks to Michal Cihr, closes: #500988)
* fix various -Wall warningsMichael Vogt2008-10-281-2/+2
|
* * make apt build with g++ 4.3Michael Vogt2007-09-101-1/+1
|
* * apt-inst/contrib/extracttar.cc:Michael Vogt2007-08-021-1/+1
| | | - fix fd leak for zero size files
* * Applied patch from Guillem Jover <guillem.jover@nokia.com> to addOtavio Salvador2007-07-281-2/+8
| | | support to add lzma support (closes: #408201)
* * remove all the remaining #pragma implementationMichael Vogt2007-06-088-29/+0
|
* * removed the remaining #ifdef __GNUG__ that are no longer requiredMichael Vogt2006-10-021-3/+0
|
* * remove the remaining #ifdef __GNUG__ bitsMichael Vogt2006-10-022-4/+1
|
* * removed the pragma messMichael Vogt2006-10-028-19/+1
|
* * apt-inst/contrib/extracttar.cc:Michael Vogt2006-07-251-1/+2
| | | | | - assign the return string value from Find() before calling c_str() on it, otherwise the string goes out of scope and is deleted
* * string i18n handling fixes (debian bug #349298)Michael Vogt2006-04-301-1/+1
|
* * pkgDirStream has (slightly) better extract support nowMichael Vogt2005-11-211-0/+16
|
* * merged/removed conflicts with apt--main--0Michael Vogt2005-06-262-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * apt@packages.debian.org/apt--main--0--patch-80 Merge michael.vogt@ubuntu.com--2005/apt--fixes--0 * apt@packages.debian.org/apt--main--0--patch-81 Open 0.6.37 * apt@packages.debian.org/apt--main--0--patch-82 merge bubulle@debian.org--2005/apt--main--0 * apt@packages.debian.org/apt--main--0--patch-83 Update changelog * apt@packages.debian.org/apt--main--0--patch-84 Fix build of French man pages (now using XML, not SGML) * apt@packages.debian.org/apt--main--0--patch-85 Merge patch from Philippe Batailler for French man page build * apt@packages.debian.org/apt--main--0--patch-86 add Welsh translations from Dafydd Harries * apt@packages.debian.org/apt--main--0--patch-87 Update changelog * apt@packages.debian.org/apt--main--0--patch-88 Change debian/bugscript to use #!/bin/bash (Closes: #313402) * apt@packages.debian.org/apt--main--0--patch-89 Branch for Debian * apt@packages.debian.org/apt--main--0--patch-90 Update version in configure * apt@packages.debian.org/apt--main--0--patch-91 Fix French man page build * apt@packages.debian.org/apt--main--0--patch-92 Add the current Debian archive signing key * bubulle@debian.org--2005/apt--main--0--patch-66 Italian translation complete * bubulle@debian.org--2005/apt--main--0--patch-67 Sync with Matt * bubulle@debian.org--2005/apt--main--0--patch-68 Sync with Matt * bubulle@debian.org--2005/apt--main--0--patch-69 Sync with Matt * bubulle@debian.org--2005/apt--main--0--patch-70 Re-generate the POT and PO files from sources * bubulle@debian.org--2005/apt--main--0--patch-71 Update French translation * bubulle@debian.org--2005/apt--main--0--patch-72 Merge with Matt * bubulle@debian.org--2005/apt--main--0--patch-73 Basque translation update * bubulle@debian.org--2005/apt--main--0--patch-74 Hebres translation update * bubulle@debian.org--2005/apt--main--0--patch-75 Merge with Matt * bubulle@debian.org--2005/apt--main--0--patch-76 Correct the Hebrew translation for #306658 * bubulle@debian.org--2005/apt--main--0--patch-77 Update French man pages translations * bubulle@debian.org--2005/apt--main--0--patch-78 Merge with Matt * bubulle@debian.org--2005/apt--main--0--patch-79 Correct syntax errors in Hebrew translation * bubulle@debian.org--2005/apt--main--0--patch-80 Revert changes to debian/changelog and debian/apt.cron.daily * bubulle@debian.org--2005/apt--main--0--patch-81 Portuguese translation update * daf@muse.19inch.net--2005/apt--main--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-85 * daf@muse.19inch.net--2005/apt--main--0--patch-1 add Welsh translation * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-6 * build fix for apt--main--0 * philippe.batailler@free.fr--2005/apt--mainBubulle--0.1--patch-1 Passage sous arch * philippe.batailler@free.fr--2005/apt--mainMatt--0--patch-1 fix xml error
* * merged with my apt--fixes--0 branchMichael Vogt2005-05-233-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * apt@packages.debian.org/apt--misc-abi-changes--0--patch-4 Merge from mainline * apt@packages.debian.org/apt--misc-abi-changes--0--patch-5 Merge from mainline * apt@packages.debian.org/apt--misc-abi-changes--0--patch-6 Collapse both pkgAcquire::Run() methods into one, with a default value * michael.vogt@ubuntu.com--2005/apt--fixes--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-79 * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-1 * merged obvious fixes into the tree to make it easy for matt to merge * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-2 * more merges from otavio that looks good/uncritical * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-3 * merged Matts misc-abi-changes tree * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-4 * finalized the changelog for a ubuntu build * otavio@debian.org--2005/apt--fixes--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-71 * otavio@debian.org--2005/apt--fixes--0--patch-1 Fix comments about the need of xmlto * otavio@debian.org--2005/apt--fixes--0--patch-2 Fix a compile warning * otavio@debian.org--2005/apt--fixes--0--patch-3 Sync with apt--main--0--patch-76 * otavio@debian.org--2005/apt--fixes--0--patch-4 Sync with apt--main--0--patch-78 * otavio@debian.org--2005/apt--fixes--0--patch-5 Add fixes that was wrongly included on DDTP changes. * otavio@debian.org--2005/apt--fixes--0--patch-8 Add information about the other fixes include on this branch now. * otavio@debian.org--2005/apt--fixes--0--patch-9 Merge last changes from apt--main--0. * otavio@debian.org--2005/apt--fixes--0--patch-10 Fix warnings about min/max change in gcc-4.0 * otavio@debian.org--2005/apt--fixes--0--patch-11 Fix remaning warnings while compiling gcc-4.0 * otavio@debian.org--2005/apt--fixes--0--patch-12 Add changelog entry about the fixes for warnings while compiling using GCC 4.0 compiler.