summaryrefslogtreecommitdiff
path: root/dselect
AgeCommit message (Collapse)AuthorFilesLines
2018-08-01dselect: Use override attribute for virtual methods in derived classesGuillem Jover2-19/+19
C++11 makes it possible to use these attributes so that errors can be avoided, by helping the compiler know when we mean methods to override the ones from the parent class. Warned-by: cppcheck
2018-08-01dselect: Declare constructor with one argument as explicitGuillem Jover1-1/+1
Warned-by: cppcheck
2018-08-01dselect: Remove duplicate searchstring member declaration in derived classGuillem Jover1-3/+0
This is already declared in class baselist, no need to declare it too in class methodlist. Warned-by: cppcheck
2018-07-24po: Fix boilerplate in .po filesGuillem Jover7-20/+17
Warned-by: i18nspector Fixes: boilerplate-in-initial-comments
2018-03-26Use internerr() or BUG() instead of assert()Guillem Jover9-25/+46
The problem with assert() is that it does not print the contents of the variables. It also can be disabled on NDEBUG. But we always want these consistency checks no matter what, and they are not performance sensitive anyway. Enable -Wno-nonnull-compare so that we can keep doing run-time non-NULL checks in functions, instead of just compile-time checks.
2018-03-26dselect: Fix assert() to expect methlockfd to be initializedGuillem Jover1-1/+1
The assert should be checking whether the method lock fd has been initialized, not whether it's not zero, which happens to be the case with the default uninitialized -1 value.
2018-03-26dselect: Assume that m_malloc() never returns NULLGuillem Jover1-13/+2
The m_-prefixed functions are already taking care of that.
2017-11-08Update Spanish translationJavier Fernandez-Sanguino1-66/+28
2017-10-21po: Remove obsolete FIXME comments in translationsGuillem Jover1-2/+1
These have been fixed in the original msgid.
2017-10-21dselect: Stop marking an untranslatable string as suchGuillem Jover1-1/+1
Spotted-by: Santiago Vila <sanvila@debian.org>
2017-10-17po: Regenerate .pot files and merge .po files with themGuillem Jover31-32/+32
2017-10-09dselect: Remove traces of non-US support from methodsGuillem Jover9-38/+13
This has been obsoleted long ago.
2017-10-09dselect: Remove long obsolete floppy methodGuillem Jover6-307/+0
2017-09-24Dselect::Ftp: Avoid many function arguments in do_connect()Guillem Jover4-54/+56
Addresses: Subroutines::ProhibitManyArgs Warned-by: perlcritic
2017-05-18po: Regenerate .pot files and merge .po files with themGuillem Jover31-34/+34
2017-05-07build: Use libexec variable for auxiliary internal programsGuillem Jover2-2/+3
Using libdir is wrong, and doubly so when being referred from architecture independent files such as perl modules. This affects non-Debian based systems, which might by default use an arch varying libdir per architecture, for example when using the obsolete multilib layout.
2017-05-07po: Update Catalan translationGuillem Jover1-64/+30
2017-05-06doc: Spelling fixesJosh Soref5-5/+5
Signed-off-by: Guillem Jover <guillem@debian.org>
2017-05-06Updated Czech translationMiroslav Kure1-118/+85
2017-03-06po: Regenerate .pot files and merge .po files with themGuillem Jover31-32/+32
2017-02-26dselect: Do not depend on cxxabi.h to have declared __cxa_pure_virtualJörg Sonnenberger1-1/+5
The C++ ABI specifies that these functions are within the “__cxxabiv1” namespace, and that “abi” is an alias to be used by userland. But in this case as we are replacing the implementation we should also use the same canonical namespace. Signed-off-by: Guillem Jover <guillem@debian.org>
2017-02-01po: Regenerate .pot files and merge .po files with themGuillem Jover31-32/+32
2017-01-29po: Regenerate .pot files and merge .po files with themGuillem Jover31-32/+32
2017-01-28po: Regenerate .pot files and merge .po files with themGuillem Jover31-32/+32
2017-01-27po: Regenerate .pot files and merge .po files with themGuillem Jover31-32/+32
2017-01-22doc: Fix typos in documentation and code commentsGuillem Jover1-1/+1
Warned-by: codespell, spellintian
2016-12-20po: Regenerate .pot files and merge .po files with themGuillem Jover31-32/+32
2016-12-19po: Regenerate .pot files and merge .po files with themGuillem Jover31-32/+32
2016-12-17po: Regenerate .pot files and merge .po files with themGuillem Jover31-32/+32
2016-11-16po: Regenerate .pot files and merge .po files with themGuillem Jover31-32/+32
2016-11-11po: Regenerate .pot files and merge .po files with themGuillem Jover31-32/+32
2016-11-07po: Regenerate .pot files and merge .po files with themGuillem Jover31-32/+32
2016-11-06po: Regenerate .pot files and merge .po files with themGuillem Jover31-32/+32
2016-11-06po: Regenerate .pot files and merge .po files with themGuillem Jover31-32/+32
2016-10-30perl: Remove default «.» from @INC before loading modulesGuillem Jover3-2/+9
When loading eval'ed modules we should remove «.» from @INC, or we might end up loading code under the caller's control. Fixes: CVE-2016-1238
2016-10-30dselect: Include missing <new> for new and delete operator declarationsGuillem Jover1-0/+2
2016-10-30build: Pass --as-needed to the linker for dselect to avoid libstdc++Guillem Jover1-0/+4
We are not really using anything from libstdc++, so let's avoid the dependency entirely. This makes this the only frontend not to pull in the C++ run-time.
2016-10-30dselect: Implement local abi::__cxa_pure_virtualGuillem Jover1-0/+11
When using g++ if we provide our version of this function we can avoid the dependency on either libstdc++ or libsup++.
2016-10-30dselect: Add replacement new and delete array operatorsGuillem Jover1-0/+23
2016-10-30dselect: Move C++ support code into its own fileGuillem Jover3-21/+54
2016-10-30libdpkg: Reset pkg db when shutting down the modstat dbGuillem Jover1-1/+1
2016-10-29build: Use two space indentation for shell codeGuillem Jover2-6/+6
2016-10-29build: Disable C++ exceptions for dselectGuillem Jover1-1/+3
2016-07-31po: Regenerate .pot files and merge .po files with themGuillem Jover31-32/+32
2016-07-03po: Regenerate .pot files and merge .po files with themGuillem Jover31-32/+32
2016-05-09po: Regenerate .pot files and merge .po files with themGuillem Jover31-32/+32
2016-05-09dselect: Do not use fixed size strings for menu entriesGuillem Jover2-11/+9
2016-05-02po: Regenerate .pot files and merge .po files with themGuillem Jover31-58/+32
2016-05-02dselect: Rename info screenpart to info_bodyGuillem Jover5-8/+8
2016-05-02dselect: Rename info variable into depinfoGuillem Jover1-18/+18