summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/error.h
Commit message (Collapse)AuthorAgeFilesLines
* follow method attribute suggestions by gccDavid Kalnischkies2014-03-131-4/+4
| | | | | Git-Dch: Ignore Reported-By: gcc -Wsuggest-attribute={pure,const,noreturn}
* cleanup headers and especially #includes everywhereDavid Kalnischkies2014-03-131-13/+14
| | | | | | | | 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)
* make doxygen more quiet, fix issues and disable latexDavid Kalnischkies2014-03-131-2/+2
| | | | Git-Dch: Ignore
* Fix typos in documentation (codespell)Michael Vogt2014-02-221-1/+1
|
* make the vprintf like _error->Insert publicDavid Kalnischkies2013-06-091-6/+35
| | | | Git-Dch: Ignore
* * apt-pkg/contrib/error.cc:David Kalnischkies2011-02-151-2/+3
| | | - ensure that va_list is not invalid in second try
* - [ABI BREAK] add an ErrorType option to CacheSetHelperDavid Kalnischkies2010-07-301-0/+16
| | | | | * cmdline/apt-cache.cc: - use Notice instead of Error in the CacheSetHelper messages for compat reasons. Otherwise tools like sbuild blow up
* add inline DumpError() to avoid subtle API breakMichael Vogt2010-07-291-1/+13
|
* * apt-pkg/contrib/error.{cc,h}Michael Vogt2010-07-291-5/+6
| | | - docstring cleanup
* * apt-pkg/contrib/error.{cc,h}:David Kalnischkies2010-07-101-2/+2
| | | | - remove constness of va_list parameter to fix build on amd64 and co Thanks Eric Valette! (Closes: #588610)
* add a simple stack handling to be able to delay error handlingDavid Kalnischkies2010-06-251-1/+34
|
* * apt-pkg/contrib/error.{cc,h}:David Kalnischkies2010-06-251-29/+201
| | | | - complete rewrite but use the same API - add NOTICE and DEBUG as new types of a message
* replace every call to toupper with one to our own tolower_asciiDavid Kalnischkies2010-03-301-4/+4
| | | | | | | | | | This sounds like a premature optimization and since Mr. Knuth we all know that they are the root of all evil - but, and here it starts to be interesting: As the tolower_ascii method is by far the most called method we have (~60 Mio. times) and as we compare only strings containing ascii characters (package names, configuration options) using our own method reduces execution time of APT by 4% plus it avoids that the locale settings can influence us.
* * cmdline/acqprogress.cc:Michael Vogt2010-01-311-23/+7
| | | | | | | | | - 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)
* * apt-pkg/contrib/fileutl.cc:Michael Vogt2010-01-231-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | - Fix the newly introduced method GetListOfFilesInDir to not accept every file if no extension is enforced (= restore old behaviour). (Closes: #565213) * apt-pkg/policy.cc: - accept also partfiles with "pref" file extension as valid * apt-pkg/contrib/configuration.cc: - accept also partfiles with "conf" file extension as valid * doc/apt.conf.5.xml: - reorder description and split out syntax - add partfile name convention (Closes: #558348) * doc/apt_preferences.conf.5.xml: - describe partfile name convention also here * apt-pkg/deb/dpkgpm.cc: - don't segfault if term.log file can't be opened. Thanks Sam Brightman for the patch! (Closes: #475770) * doc/*: - replace the per language addendum with a global addendum - add a explanation why translations include (maybe) english parts to the new global addendum (Closes: #561636) * apt-pkg/contrib/strutl.cc: - fix malloc asseration fail with ja_JP.eucJP locale in apt-cache search. Thanks Kusanagi Kouichi! (Closes: #548884)
* * removed the pragma messMichael Vogt2006-10-021-3/+1
|
* G++3 fixes from RandolphArch Librarian2004-09-201-1/+3
| | | | | | Author: jgg Date: 2001-05-07 05:05:13 GMT G++3 fixes from Randolph
* Join with aliencodeArch Librarian2004-09-201-5/+17
| | | | | | Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode
* Dsync mergeArch Librarian2004-09-201-2/+1
| | | | | | Author: jgg Date: 1999-01-18 06:20:07 GMT Dsync merge
* SyncArch Librarian2004-09-201-1/+2
| | | | | | Author: jgg Date: 1998-09-18 02:42:38 GMT Sync
* SyncArch Librarian2004-09-201-4/+4
| | | | | | Author: jgg Date: 1998-09-12 02:46:25 GMT Sync
* First draft of make system and name change to apt-pkgArch Librarian2004-09-201-2/+2
| | | | | | Author: jgg Date: 1998-07-12 23:58:20 GMT First draft of make system and name change to apt-pkg
* SyncArch Librarian2004-09-201-5/+10
| | | | | | Author: jgg Date: 1998-07-07 04:17:00 GMT Sync
* Base revisionsArch Librarian2004-09-201-0/+84
Author: jgg Date: 1998-07-02 02:58:12 GMT Base revisions