summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debsrcrecords.h
Commit message (Collapse)AuthorAgeFilesLines
* add c++11 override marker to overridden methodsDavid Kalnischkies2015-08-101-12/+12
| | | | | | | | | C++11 adds the 'override' specifier to mark that a method is overriding a base class method and error out if not. We hide it in the APT_OVERRIDE macro to ensure that we keep compiling in pre-c++11 standards. Reported-By: clang-modernize -add-override -override-macros Git-Dch: Ignore
* make all d-pointer * const pointersDavid Kalnischkies2015-08-101-1/+1
| | | | | | | | | | | | | | Doing this disables the implicit copy assignment operator (among others) which would cause hovac if used on the classes as it would just copy the pointer, not the data the d-pointer points to. For most of the classes we don't need a copy assignment operator anyway and in many classes it was broken before as many contain a pointer of some sort. Only for our Cacheset Container interfaces we define an explicit copy assignment operator which could later be implemented to copy the data from one d-pointer to the other if we need it. Git-Dch: Ignore
* add d-pointer, virtual destructors and de-inline de/constructorsDavid Kalnischkies2015-06-161-3/+1
| | | | | | | | To have a chance to keep the ABI for a while we need all three to team up. One of them missing and we might loose, so ensuring that they are available is a very tedious but needed task once in a while. Git-Dch: Ignore
* merge debian/sid into debian/experimentalDavid Kalnischkies2015-03-161-0/+1
|\
| * use 'best' hash for source authenticationDavid Kalnischkies2014-11-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Collect all hashes we can get from the source record and put them into a HashStringList so that 'apt-get source' can use it instead of using always the MD5sum. We therefore also deprecate the MD5 struct member in favor of the list. While at it, the parsing of the Files is enhanced so that records which miss "Files" (aka MD5 checksums) are still searched for other checksums as they include just as much data, just not with a nice and catchy name. This is a cherry-pick of 1262d35 with some dirty tricks to preserve ABI. LP: 1098738
* | mark internal interfaces as hiddenDavid Kalnischkies2014-11-081-2/+2
| | | | | | | | | | | | | | We have a bunch of classes which are of no use for the outside world, but were still exported and so needed to preserve ABI/API. Marking them as hidden to not export them any longer is a big API break in theory, but in practice nobody is using them – as if they would its a bug.
* | create debIFTypeDscFile typeMichael Vogt2014-04-241-1/+1
| |
* | add support for apt-get build-dep foo.dscMichael Vogt2014-04-221-0/+7
|/
* cleanup headers and especially #includes everywhereDavid Kalnischkies2014-03-131-1/+6
| | | | | | | | Beside being a bit cleaner it hopefully also resolves oddball problems I have with high levels of parallel jobs. Git-Dch: Ignore Reported-By: iwyu (include-what-you-use)
* restart debSrcRecordParsers only if neededDavid Kalnischkies2014-01-301-3/+3
| | | | | | | | | | The offset variable in DebSrcRecordParser was not initialized which we now do and based on it do not trigger a restart if the parser was not used yet avoiding a needless rescan of the section. Detected while working on the previous commit e62aa1dd. Both commits act as a "fix" for the bug shown in the testcase of the commit – this one here would only hide it through.
* enable FileFd to guess the compressor based on the filename if requested orDavid Kalnischkies2011-12-101-1/+1
| | | | | to search for compressed silbings of the given filename and use this guessing instead of hardcoding Gzip compression
* * apt-pkg/deb/debsrcrecords.cc:David Kalnischkies2011-09-211-3/+2
| | | - remove the limit of 400 Binaries for a source package (Closes: #622110)
* do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies2011-09-191-9/+9
|
* apt-pkg/deb/*: add placeholder dpointer and make destructors virtualMichael Vogt2011-02-021-1/+4
|
* Switch FileFd to not transparently gunzip, since that breaks code which ↵martin@piware.de2010-06-241-1/+1
| | | | expects the compressed contents to stay (such as the copy backend, or when using file:// repositories. Instead, introduce a new ReadOnlyGzip mode and use that where needed
* Ignore :qualifiers after package name in build dependenciesDavid Kalnischkies2009-11-291-3/+3
| | | | for now as long we don't understand them (Closes: #558103)
* merged r1811..1815 from lp:~donkult/apt/experimentalMichael Vogt2009-06-301-0/+1
|
* * merged the apt-breaks-iwj branchMichael Vogt2006-12-141-1/+1
|\ | | | | | | * pulled in the other remaining ubuntu changes
| * * apt-pkg/deb/debsrcrecords.{cc,h}:Michael Vogt2006-12-011-1/+1
| | | | | | | | - cast correct
* | * merged the no-pragma branchMichael Vogt2006-12-141-3/+0
|\ \ | |/ |/|
| * * removed the pragma messMichael Vogt2006-10-021-3/+0
| |
* | * apt-pkg/deb/debsrcrecords.{cc,h}:Michael Vogt2006-11-301-5/+5
|/ | | | - make the buffer dynmaic
* * Implement an ugly workaround for the 10000-character ...Arch Librarian2004-09-201-2/+2
| | | | | | | | | | Author: mdz Date: 2004-03-17 05:58:54 GMT * Implement an ugly workaround for the 10000-character limit on the Binaries field in debSrcRecordParser, until such time as some things can be converted over to use STL data types (ABI change) (Closes: #236688) * Increase default tagfile buffer from 32k to 128k; this arbitrary limit should also be removed someday (Closes: #174945)
* Add --arch-only option for apt-get build-dep only only ...Arch Librarian2004-09-201-2/+2
| | | | | | | | | Author: tausq Date: 2001-11-04 17:09:18 GMT Add --arch-only option for apt-get build-dep only only process arch-dependent build-dependencies. Small change to srcrecord class; bumped minor so number to 3.3
* Join with aliencodeArch Librarian2004-09-201-10/+14
| | | | | | Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode
* Fixed for 0 length source filesArch Librarian2004-09-201-3/+2
| | | | | | Author: jgg Date: 1999-10-18 04:15:24 GMT Fixed for 0 length source files
* apt-cache showsrcArch Librarian2004-09-201-1/+8
| | | | | | Author: jgg Date: 1999-10-18 03:44:39 GMT apt-cache showsrc
* Nother typoArch Librarian2004-09-201-2/+3
| | | | | | Author: jgg Date: 1999-04-07 05:51:01 GMT Nother typo
* Source record file list parsingArch Librarian2004-09-201-1/+2
| | | | | | Author: jgg Date: 1999-04-04 08:07:39 GMT Source record file list parsing
* Source record parsingArch Librarian2004-09-201-0/+46
Author: jgg Date: 1999-04-04 01:17:29 GMT Source record parsing