summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/configuration.cc
Commit message (Collapse)AuthorAgeFilesLines
* * apt-pkg/contrib/fileutl.cc:Michael Vogt2010-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | - 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)
* fix merge errorMichael Vogt2010-01-081-0/+2
|
* * French manpage translation updateMichael Vogt2010-01-081-39/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * spot & fix various typos in all manpages * German manpage translation update * cmdline/apt-cache.cc: - remove translatable marker from the "%4i %s\n" string * buildlib/po4a_manpage.mak: - instruct debiandoc to build files with utf-8 encoding * buildlib/tools.m4: - fix some warning from the buildtools * apt-pkg/acquire-item.cc: - add configuration PDiffs::Limit-options to not download too many or too big patches (Closes: #554349) * debian/control: - let all packages depend on ${misc:Depends} * share/*-archive.gpg: - remove the horrible outdated files. We already depend on the keyring so we don't need to ship our own version * cmdline/apt-key: - errors out if wget is not installed (Closes: #545754) - add --keyring option as we have now possibly many * methods/gpgv.cc: - pass all keyrings (TrustedParts) to gpgv instead of using only one trusted.gpg keyring (Closes: #304846) * methods/https.cc: - finally merge the rest of the patchset from Arnaud Ebalard with the CRL and Issuers options, thanks! (Closes: #485963)
* reintroduce #clear and #include in the config files,David Kalnischkies2009-09-071-3/+5
| | | | they there broken since 0.7.21 with the introduction of #-comments
* add a helper to easily get a vector of strings from the configurationDavid Kalnischkies2009-09-041-0/+19
|
* apt-pkg/contrib/configuration.cc: Fix a small memory leak inJulian Andres Klode2009-06-121-0/+1
| | | ReadConfigFile.
* [ABI break] support '#' in apt.conf and /etc/apt/preferencesMichael Vogt2009-06-091-1/+1
| | | (closes: #189866)
* Fix FindFile (and FindDir) so that the value of RootDir is applied to the ↵Daniel Burrows2009-03-061-2/+2
| | | | | | | | | default if no value is found. Previously FindFile("Dir::etc", "/etc") would use RootDir if a value existed for "Dir::etc"; otherwise it would go ahead and use "/etc", ignoring RootDir. Of course, this made RootDir fairly useless; it has now been fixed.
* Improve the names used for the non-whitespace iterators.Daniel Burrows2008-04-011-6/+6
|
* Remove a debugging message that I left in by accident (if it ever triggers ↵Daniel Burrows2008-04-011-5/+0
| | | | the program is about to crash anyway).
* Improve some comments in the configuration parser.Daniel Burrows2008-04-011-4/+8
|
* Lift the 1024-character limit on configuration file lines.Daniel Burrows2008-04-011-49/+117
| | | | | | | | To do this, I changed the configuration parser so that instead of reading the line into a buffer and munging it in-place, it builds a string containing the current line (via successive getline() calls) and then walks down that string. Instead of skipping comments and whitespace by erasing them from the buffer, the new code just skips over them.
* When a line in a config file is too long, say which config file it is.Daniel Burrows2008-03-311-1/+2
|
* * Fix compilation warnings in apt-pkg/cdrom.cc andOtavio Salvador2007-12-271-1/+1
| | | apt-pkg/contrib/configuration.cc.
* * apt-pkg/contrib/configuration.cc:Otavio Salvador2007-12-161-1/+6
| | | | - if RootDir is set, then FindFile and FindDir will return paths relative to the directory stored in RootDir, closes: #456457.
* * Fix compilation warnings:Otavio Salvador2007-07-101-1/+1
| | | | | | | | | | - apt-pkg/contrib/configuration.cc: wrong argument type; - apt-pkg/deb/dpkgpm.cc: wrong signess; - apt-pkg-acquire-item.cc: wrong signess and orderned initializers; - methods/https.cc: - type conversion; - unused variable; - changed SetupProxy() method to void;
* * fix some warningsMichael Vogt2007-06-191-2/+3
|
* * remove all the remaining #pragma implementationMichael Vogt2007-06-081-3/+0
|
* * applied parts of the string speedup patch from debian #319377 (ABI change)Michael Vogt2005-11-231-13/+13
|
* * merged from mainMichael Vogt2005-08-091-2/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * apt@packages.debian.org/apt--main--0--patch-106 Restore lost changelog entries * apt@packages.debian.org/apt--main--0--patch-107 Merge michael.vogt@ubuntu.com--2005/apt--progress-reporting--0 * apt@packages.debian.org/apt--main--0--patch-108 Merge michael.vogt@ubuntu.com--2005/apt--progress-reporting--0 * apt@packages.debian.org/apt--main--0--patch-109 Merge michael.vogt@ubuntu.com--2005/apt--progress-reporting--0 * apt@packages.debian.org/apt--main--0--patch-110 Merge michael.vogt@ubuntu.com--2005/apt--progress-reporting--0 * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-5 * merged with apt--main--0 * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-85 * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-1 * inital proof of concept code, understands what dpkg tells it already * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-2 * progress reporting works now * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-3 * added "APT::Status-Fd" variable * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-4 * do i18n now too * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-5 * define N_(x) if it is not defined already * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-6 * PackageManager::DoInstall(int status_fd) added (does not break the ABI) * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-7 * merged with apt--fixes--0 to make it build again * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-8 * added support for "error" and "conffile-prompt" messages from dpkg * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-9 merge with main * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-10 * use sizeof() for all snprintf() uses; fix a potential line break problem in the status reading code; changed the N_() to _() calls * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-11 * added APT::KeepFDs configuration list for file descriptors that apt should leave open (needed for various frontends like debconf, synaptic) * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-12 * fixed a API breakage * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-13 * doc added, should be releasable now * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-14 * merged with apt--main--0 * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-15 * more source comments, added Debug::DpkgPM debug code to inspect the dpkg<->apt communication, broke the abi (ok with matt) * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-16 * the progress reporting has it's own "Debug::pkgDPkgProgressReporting" debug variable now * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-17 * merged PackageOps and TranslatedPackageOps into a single Map with the new DpkgState struct * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-18 * clear the APT::Keep-Fds configuration when it's no longer needed * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-19 * rewrote the reading from dpkg so that it never blocks * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-20 * merged the two status arrays into one * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-21 * added support for download progress reporting too (for Kamion and base-config) * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-22 * ABI break; added Configuration::Clear(string List, {int,string} value) added (to remove a single Value from a list); test/conf_clear.cc added * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-23 * remvoed a debug string * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-24 * soname changed, fixed a bug in the parsing code when dpkg send the same state more than once (at the end) * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-25 * merged with apt@packages.debian.org/apt--main--0, added changelog entry for the 0.6.40.1 upload * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-26 * fix a bug when out-of-order states are send from dpkg * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-27 * changelog update * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-28 * a real changelog entry now * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-29 * changelog finalized * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-30 * propper (and sane) support for pmerror and pmconffile added
* Bring consistency to the use of capitals in programs messagesChristian Perrier2005-03-061-1/+1
|
* * Increase length of line buffer in ReadConfigFile to 1...Arch Librarian2004-09-201-2/+6
| | | | | | | | Author: mdz Date: 2004-04-30 04:00:15 GMT * Increase length of line buffer in ReadConfigFile to 1024 chars; detect if a line is longer than that and error out (Closes: #244835)
* Mark the type abbrevation warning as translatableArch Librarian2004-09-201-2/+2
| | | | | | Author: mdz Date: 2003-07-26 00:27:36 GMT Mark the type abbrevation warning as translatable
* * Give a warning if an illegal type abbreviation is use...Arch Librarian2004-09-201-8/+12
| | | | | | | Author: mdz Date: 2003-07-25 20:45:13 GMT * Give a warning if an illegal type abbreviation is used when looking up a configuration item (Closes: #168453)
* Fix segfault in FindAny when /i is used, and there is n...Arch Librarian2004-09-201-2/+2
| | | | | | Author: doogie Date: 2002-11-09 19:52:03 GMT Fix segfault in FindAny when /i is used, and there is no default.
* _config->Dump is now inlined, and calls Dump(clog). Du...Arch Librarian2004-09-201-3/+3
| | | | | | | Author: doogie Date: 2002-11-09 17:11:25 GMT _config->Dump is now inlined, and calls Dump(clog). Dump(ostream&) is now exported. Fixed apt-config dump sending to stderr.
* PD licenseArch Librarian2004-09-201-1/+4
| | | | | | Author: jgg Date: 2002-09-14 05:28:38 GMT PD license
* G++3 fixes from RandolphArch Librarian2004-09-201-3/+6
| | | | | | Author: jgg Date: 2001-05-14 05:47:30 GMT G++3 fixes from Randolph
* MOO DOOGIEArch Librarian2004-09-201-2/+2
| | | | | | Author: jgg Date: 2001-04-29 05:24:42 GMT MOO DOOGIE
* run-parts. Closes: #94286Arch Librarian2004-09-201-12/+6
| | | | | | Author: jgg Date: 2001-04-27 05:49:34 GMT run-parts. Closes: #94286
* Pedantic fixesArch Librarian2004-09-201-2/+2
| | | | | | Author: jgg Date: 2001-03-11 07:22:19 GMT Pedantic fixes
* JoeyH's dpkg::preconfig not working.Arch Librarian2004-09-201-2/+3
| | | | | | Author: jgg Date: 2001-03-05 21:09:12 GMT JoeyH's dpkg::preconfig not working.
* Fixed the resetting of Dir with "dir {};". Closes: #87323Arch Librarian2004-09-201-3/+6
| | | | | | Author: jgg Date: 2001-03-04 00:44:35 GMT Fixed the resetting of Dir with "dir {};". Closes: #87323
* Ignore .* for configuration directory processing. Close...Arch Librarian2004-09-201-3/+2
| | | | | | Author: jgg Date: 2001-03-03 23:29:55 GMT Ignore .* for configuration directory processing. Closes: #86923
* Join with aliencodeArch Librarian2004-09-201-66/+340
| | | | | | Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode
* More fixesArch Librarian2004-09-201-3/+8
| | | | | | Author: jgg Date: 2000-01-16 05:36:17 GMT More fixes
* Fixed a bug with deep sub sections..Arch Librarian2004-09-201-4/+7
| | | | | | Author: jgg Date: 1999-07-02 23:17:00 GMT Fixed a bug with deep sub sections..
* Moved strutl.hArch Librarian2004-09-201-2/+2
| | | | | | Author: jgg Date: 1999-01-27 02:48:52 GMT Moved strutl.h
* Dsync mergeArch Librarian2004-09-201-27/+34
| | | | | | Author: jgg Date: 1999-01-18 06:20:07 GMT Dsync merge
* Working acquire codeArch Librarian2004-09-201-2/+13
| | | | | | Author: jgg Date: 1998-11-05 07:21:35 GMT Working acquire code
* SyncArch Librarian2004-09-201-1/+26
| | | | | | Author: jgg Date: 1998-10-30 07:53:30 GMT Sync
* SyncArch Librarian2004-09-201-2/+16
| | | | | | Author: jgg Date: 1998-10-22 04:56:38 GMT Sync
* Start on acquire stuffArch Librarian2004-09-201-26/+16
| | | | | | Author: jgg Date: 1998-10-20 02:39:12 GMT Start on acquire stuff
* SyncArch Librarian2004-09-201-2/+11
| | | | | | Author: jgg Date: 1998-10-02 04:39:42 GMT Sync
* SyncArch Librarian2004-09-201-9/+9
| | | | | | Author: jgg Date: 1998-09-26 05:34:18 GMT Sync
* SyncArch Librarian2004-09-201-1/+230
| | | | | | Author: jgg Date: 1998-09-22 05:30:24 GMT Sync
* First draft of make system and name change to apt-pkgArch Librarian2004-09-201-3/+3
| | | | | | Author: jgg Date: 1998-07-12 23:58:20 GMT First draft of make system and name change to apt-pkg
* Config class and source listArch Librarian2004-09-201-8/+37
| | | | | | Author: jgg Date: 1998-07-09 05:12:27 GMT Config class and source list
* SyncArch Librarian2004-09-201-0/+137
Author: jgg Date: 1998-07-07 04:17:00 GMT Sync