summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2014-06-02libdpkg: Uppercase and namespace pkgpriority enum valuesGuillem Jover1-1/+1
2014-06-02libdpkg: Uppercase and namespace pkgeflag enum valuesGuillem Jover6-15/+15
2014-06-02libdpkg: Uppercase and namespace pkgwant enum valuesGuillem Jover8-21/+24
2014-06-02libdpkg: Uppercase and namespace pkgmultiarch enum valuesGuillem Jover5-10/+10
2014-05-28dpkg: Uppercase and namespace color cycle enum valuesGuillem Jover3-8/+8
The current names are way too generic, and prone to collide with actual color variables or similar.
2014-05-28libdpkg: Uppercase and reword pkg_spec_flags enum valuesGuillem Jover2-3/+3
2014-05-28dpkg-divert: Uppercase file_stat enum valuesGuillem Jover1-13/+13
2014-05-28dpkg: Uppercase pkg_infodb_format enum valuesGuillem Jover4-15/+15
2014-05-28dpkg: Uppercase and namespace filesdb_load_status enum and valuesGuillem Jover1-11/+11
2014-05-28dpkg: Uppercase, namespace and reword istobe enum type and valuesGuillem Jover10-69/+86
2014-05-28dpkg: Uppercase conffopt enum values and split words with underscoreGuillem Jover1-46/+46
Also rename userrmd to USER_DEL.
2014-05-28libdpkg: Uppercase trigdef enum values and separate words with underscoresGuillem Jover1-9/+9
2014-05-28dpkg: Uppercase found_status enum valuesGuillem Jover1-23/+23
2014-05-28dpkg: Uppercase dep_check enum valuesGuillem Jover4-21/+21
2014-05-28libdpkg: Uppercase and expand atomic_file_flags enum valuesGuillem Jover2-3/+3
2014-05-28libdpkg: Uppercase dpkg_relation enum valuesGuillem Jover4-10/+10
2014-05-28libdpkg: Uppercase and namespace dpkg_arch_type enum valuesGuillem Jover4-16/+17
2014-05-28libdpkg: Uppercase tar related enum valuesGuillem Jover2-34/+34
2014-06-02Move enum definitions out of structsGuillem Jover2-28/+38
This untangles the types, and makes it possible to use functions that use such enums as arguments from C++ code, as otherwise the enum would need to be declared within the struct namespace.
2014-06-02dpkg: Give names to anonymous public enums inside structsGuillem Jover2-3/+4
This will help once we move them out of the structs.
2014-05-23dpkg: Add support for per-package --auditGuillem Jover1-10/+28
This allows to check for specific issues with a requested package.
2014-05-23libdpkg: Refactor dpkg_options_parse_pkgname()Guillem Jover4-48/+9
2014-05-27dpkg: Use badusage() on illegal package names in --ignore-dependsGuillem Jover1-3/+3
2014-05-23dpkg: Rename audit variables to more generic namesGuillem Jover1-27/+28
The checks are not about bad package status information anymore, update variable names to match reality.
2014-05-19libdpkg, dpkg: Use new status to names mapping functionsGuillem Jover5-10/+11
This gets rid of the need to export the statusinfos and wantinfos variables from libdpkg.
2014-05-17test: Add labels to Test::More testsGuillem Jover1-4/+4
Fixes TestingAndDebugging::RequireTestLabels. Warned-by: perlcritic
2014-05-17dpkg: Switch an assert() on a volatile variable to an internerr()Guillem Jover1-1/+2
The assert() has a side-effect as the variable is volatile, switch it to an internerr() so that we always get the same result regardless of the build settings, NDEBUG in this case. Warned-by: coverity
2014-05-17build: Switch to use libtool for the static librariesGuillem Jover1-2/+1
This makes it possible to embed libcompat inside libdpkg, so that the static library that we ship is self contained with the required compatibility code, specifically the MD5 functions. This also prepares the build system for when we start building a shared library, although it disables it by default. Closes: #746122
2014-04-30dpkg: Annotate case statements that fall through with a commentGuillem Jover2-0/+2
Be explicit, so that code readers or static analyzers do not get confused. Warned-by: coverity
2014-04-30dpkg: Do not leak the filepackages_iterator in dir_is_used_by_others()Guillem Jover1-0/+1
Warned-by: coverity
2014-04-21dpkg: On --verify error out on not-installed packagesGuillem Jover1-1/+9
This makes the behaviour of this command consistent with other commands taking package names as arguments.
2014-04-21dpkg: Add support for loading Packages-files from pipes or stdinGuillem Jover2-5/+9
This allows loading Packages files in --update-avail and --merge-avail from pipes, or stdin if the argument is omitted or is ‘-’. Closes: #357093, #367297
2014-04-21dpkg-split, dpkg: Use new str_match_end() function instead of ad-hoc codeGuillem Jover1-7/+5
2014-04-21test: Remove sequence number prefixes from test case filenamesGuillem Jover2-2/+2
This stops the madness of having to invent sequence numbers to be able to order the test suite run. Instead we now honour the order of the arguments passed to the runner.
2014-04-21build: Rename Makecheck.am to just check.amGuillem Jover1-1/+1
The original name was confusing with Makefile.am, let's be more clear.
2014-01-15dpkg: Fix file descriptor leaks in diversions and statoverride databasesGuillem Jover2-6/+6
Regression introduced in commit ab56d08abe274182c0cab03425610ae61a074eff, while too eagerly removing fclose() calls. Closes: #734783
2014-01-15dpkg-query: Ignore same packages when computing screen width as when printingGuillem Jover1-3/+26
The code was handling a different set of packages when filtering them for printing as when using them to decide on the global column screen width. Closes: #734114
2014-01-15Rename return code variables from r to rcGuillem Jover6-38/+41
2013-12-17dpkg-deb, dpkg: Unify and clarify conffile name length error messageGuillem Jover1-2/+2
Clarify the error message, by stating it's either too long or missing a final newline, and unify it to be the same on both dpkg-deb and dpkg. Closes: #108196
2013-12-17dpkg: Fix debug string to use proper quotesGuillem Jover1-1/+1
2013-12-12libdpkg: Change non-tty output to be line buffered by defaultGuillem Jover1-0/+1
Switch it to be fully buffered only for programs that have precious and abundant output, not just progress reporting output (i.e. dpkg-query). This was causing out-of-order error and debug messages in relation to normal progress reporting, which could be very confusing. Regression introduced in commit 50c1cb4d6e8b4c3ee739646f9df05992b806ea5e.
2013-12-07Use https:// URLs instead of http:// when possibleGuillem Jover36-36/+36
2013-12-07dpkg: Rename showdiff() to show_diff()Guillem Jover1-2/+2
2013-12-07dpkg: Move functions around to avoid static declarationGuillem Jover1-135/+130
2013-12-07dpkg: Refactor show_prompt() out from promptconfaction()Guillem Jover1-98/+109
2013-12-07dpkg: Move newline from beginning to end of prompt stringsGuillem Jover1-7/+9
2013-12-07dpkg: Use warningv() to print message when overriding with --force optionGuillem Jover1-3/+1
2013-12-07dpkg-trigger: Use enum trigdef_update_status instead of intGuillem Jover1-3/+3
Use the correct type to catch the trigdef_update_start() return value, and rename the variable to avoid confusion.
2013-12-07dpkg: Rename add_to_queue() to enqueue_package()Guillem Jover7-11/+11
2013-12-07dpkg: Reset the statoverrides from the in-core database on reloadGuillem Jover1-0/+7
If a statoverride gets removed in a maintainer script, it will not be reflected on the database until after the current dpkg process has been restarted. So we need to reset the statoverride information whenever we are going to reload the statoverride database.