aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorLines
8 daysbuild: Use cmake's FindSQLite3 moduleAvatar Heiko Becker -1/+2
instead of a custom one we have to maintain. Raises the required cmake version to 3.14.0 which shouldn't be a problem because cmake.exlib on Exherbo already requires 3.16.0 and it was released over two and a half years ago.
2021-09-17build: libcave depends on libpaludis{,util}_SEAvatar Marvin Schmidt -1/+1
[ 3%] Building CXX object src/clients/cave/CMakeFiles/libcave.dir/colour_pretty_printer.cc.o In file included from /home/marv/devel/paludis/paludis/pretty_printer.hh:25:0, from /home/marv/devel/paludis/paludis/formatted_pretty_printer.hh:25, from /home/marv/devel/paludis/src/clients/cave/colour_pretty_printer.hh:23, from /home/marv/devel/paludis/src/clients/cave/colour_pretty_printer.cc:20: /home/marv/devel/paludis/paludis/util/fs_path-fwd.hh:48:38: fatal error: paludis/util/fs_path-se.hh: No such file or directory compilation terminated. make[7]: *** [src/clients/cave/CMakeFiles/libcave.dir/build.make:63: src/clients/cave/CMakeFiles/libcave.dir/colour_pretty_printer.cc.o] Error 1 [ 6%] Building CXX object src/clients/cave/CMakeFiles/libcave.dir/colour_pretty_printer.cc.o In file included from /home/marv/devel/paludis/paludis/pretty_printer.hh:27:0, from /home/marv/devel/paludis/paludis/formatted_pretty_printer.hh:25, from /home/marv/devel/paludis/src/clients/cave/colour_pretty_printer.hh:23, from /home/marv/devel/paludis/src/clients/cave/colour_pretty_printer.cc:20: /home/marv/devel/paludis/paludis/package_id-fwd.hh:59:36: fatal error: paludis/package_id-se.hh: No such file or directory
2020-10-16modernize: Mark overriding functions as suchAvatar Marvin Schmidt -204/+204
Done using clang-tidy's `modernize-use-override` check
2018-02-04build: fix compile against libc++ using clangAvatar Bjorn Pagen -0/+1
added several includes, such as time.h, iostream, and string, as libc++ requires explicit including of these files. tr1/memory is replaced with POSIX defined memory Change-Id: Id859f33f78343d814f47b1e1e34a3dbe23d174e3 Reviewed-on: https://galileo.mailstation.de/gerrit/11152 Reviewed-by: Saleem Abdulrasool <compnerd@compnerd.org>
2017-02-19build: unbreak parallel makefile/docs generationAvatar Benedikt Morbach -4/+16
for real this time. See also http://stackoverflow.com/a/26211863 (did I mention that I hate cmake?) Change-Id: I7e58a7d0709543013b2d38772a277f4773cbe28a
2017-02-19Revert "build: make asciidoc output to a tmp file"Avatar Benedikt Morbach -6/+2
This reverts commit 572e65d9cbef0c05e10159723ccd21ff5c873d46.
2017-02-17build: make asciidoc output to a tmp fileAvatar Marc-Antoine Perennou -2/+6
Change-Id: I189806f930422ed01b4f89804386d1ce3db92da5 Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> Reviewed-on: https://galileo.mailstation.de/gerrit/8362 Reviewed-by: Saleem Abdulrasool <compnerd@compnerd.org>
2017-01-29cave: use more range based for loopsAvatar Saleem Abdulrasool -53/+33
Convert a number of for loops to range based form. NFC.
2017-01-18build: add missing dependencies on generated headersAvatar Bo Ørsted Andresen -1/+1
These depend upon libpaludisutils' generated headers. Found by the Jenkins build bot.
2017-01-16build: liboutput depends on libpaludisutil_SEAvatar Heiko Becker -0/+1
Found by Jenkins: https://galileo.mailstation.de/jenkins/job/stage_amd64/1051/console
2017-01-16paludis: c++11-ify repository iterationAvatar Saleem Abdulrasool -28/+20
Add a `repositories` in `Environment` which provides an iterator range for the repositories, allowing C++11 style range based iteration.
2016-12-31cave: range-loop-ify execute-resolutionAvatar Saleem Abdulrasool -24/+17
Use C++11 range based loops. NFC
2016-12-28format package: %I as shorthand for %c/%p%:%sAvatar Łukasz P. Michalik -22/+17
Change-Id: I26c70aca17e07a8a71cc6fa4431c40580df07003 Reviewed-on: https://galileo.mailstation.de/gerrit/7777 Reviewed-by: Bo Ørsted Andresen <zlin@exherbo.org>
2016-12-16build: Add missing linkage between shared librariesAvatar Michał Górny -0/+1
2016-12-12build: more explicit SE dependenciesAvatar Saleem Abdulrasool -0/+1
Thanks to mgorny, Caelian, and heirecka for reporting these.
2016-12-11build: Export -DENABLE_SEARCH_INDEX for the right targetAvatar Heiko Becker -1/+1
It is used in src/clients/cave/search_extras_handle.{cc,hh} which is built by libcave, not libcavesearchextras.
2016-12-07introduce and use an iterator range in BrokenLinkageFinderAvatar Saleem Abdulrasool -25/+15
Add some convenience helpers for iteration to BrokenLinkageFinder. This allows us to use range based for loops in cave fix-linkage.
2016-12-07cave: adjust whitespaceAvatar Saleem Abdulrasool -15/+8
2016-12-07cave: range base loopify (NFC)Avatar Saleem Abdulrasool -7/+6
2016-12-05build: Fix logic error with PALUDIS_COLOUR_PINKAvatar Heiko Becker -2/+2
Setting PALUDIS_COLOUR_PINK to FALSE lead to unexpected colours.
2016-12-05build: Install bash scripts as 'PROGRAMS'Avatar Heiko Becker -1/+1
...to make them executable.
2016-12-04use range based for loops more pervasively (NFC)Avatar Saleem Abdulrasool -220/+160
2016-11-30build: remove autotools based buildAvatar Saleem Abdulrasool -314/+0
There can be only one!
2016-11-30build: introduce cmake based build systemAvatar Saleem Abdulrasool -0/+325
2016-11-28cave: correct importance handlingAvatar Saleem Abdulrasool -1/+1
We would previously negate the left hand side of the comparison rather than the comparison. Identified via clang 3.9.
2016-08-06modernize: use default method synthesisAvatar Saleem Abdulrasool -15/+5
Convert a number of destructors to default synthesized functions. Try to inline a few instances into the header. It should be possible to inline all of them, however, gcc seems to emit a number of warnings. Furthermore, some of the destructors are pure-virtualed, but provide an implementation. Placing the definition into the header causes ODR violations.
2016-08-04modernize: use override annotationsAvatar Saleem Abdulrasool -215/+215
Automated addition of override to overridden functions. NFC.
2016-08-04modernize: use nullptr rather than 0 or NULLAvatar Saleem Abdulrasool -1/+1
Automated conversion to nullptr. NFC.
2016-08-04modernize: convert to range based for-loopsAvatar Saleem Abdulrasool -130/+100
Automated conversion to range based for loops. NFC
2016-02-27cave: correct 054f41f3d4cb3167fb4f6dfb694d5111e36dcb44Avatar Saleem Abdulrasool -3/+1
The change was done on an incorrect reading of the code. The callback is meant for per-package invocation, not per metadata key invocation. Restore the correct behaviour.
2016-02-16cave: add missing braces for scopingAvatar Saleem Abdulrasool -0/+2
This had never been noticed as it only effects the status message. This was identified by the new GCC warning (-Wmisleading-indentation). src/clients/cave/cmd_generate_metadata.cc:264:17: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation] display_callback(DoneOne()); ^~~~~~~~~~~~~~~~ src/clients/cave/cmd_generate_metadata.cc:246:13: note: ...this 'for' clause, but it is not for (PackageID::MetadataConstIterator m(id->begin_metadata()), m_end(id->end_metadata()); m_end != m; ++m) ^~~
2016-01-17build: cleanup and simplify flags handlingAvatar Saleem Abdulrasool -1/+1
The ruby headers use some idioms which generate warnings when building paludis. Rather than assuming that the associated -Wno-* flags are supported by the compiler frontend, explicitly check for the support when necessary (building the Ruby bindings). This slightly speeds up the build when ruby is disabled, but more importantly, will prevent the accidental usage of these flags more broadly.
2016-01-17build: unconditionally use visibility flagsAvatar Saleem Abdulrasool -3/+3
Remove the last remnants of icc support as the current released versions do not support C++11 and we intend to use clang as the alternate compiler. This cleans up the compile flags to remove the now obsoleted definition (-DPALUDIS_USE_VISIBILITY), the unnecessary compile time checks, and the handling for ICC in the macros.
2016-01-13support hiding suboptionsAvatar Saleem Abdulrasool -0/+8
Introduce the concept of `SUBOPTIONS_NO_DESCRIBE` to the exheres profile. This allows suboptions to be silenced by default from the description list. This is useful in rare scenarios, such as `linguas`, where the suboption is common, has a large set of values. In such a case, the output of the descriptions would obscure the actual resolution and useful options. This new profile variable permits the profile to indicate to the "frontend" that the description should be squelched. Currently, this is consumed only by the cave frontend.
2015-08-21Fix cave-executables for crossAvatar Wouter van Kesteren -1/+6
Change-Id: I3ab85c7e0c31a7792909e111e7bbe042fad589b7 Reviewed-on: https://galileo.mailstation.de/gerrit/1896 Reviewed-by: Kylie McClain <somasis@exherbo.org> Reviewed-by: Bo Ørsted Andresen <zlin@exherbo.org>
2015-08-21throw() -> noexceptAvatar Wouter van Kesteren -20/+20
Change-Id: I461abfda8b7297c1bd04f1090f8d58fa96364616 Reviewed-on: https://galileo.mailstation.de/gerrit/1892 Reviewed-by: Saleem Abdulrasool <compnerd@compnerd.org> Reviewed-by: Kylie McClain <somasis@exherbo.org>
2015-05-06add short option for --chroot-pathAvatar Benedikt Morbach -1/+1
Change-Id: Ic85ed3780616af8f4ae02aadbfface5c795f4ab3
2015-04-19cave: eradicate last hardcoded bash pathsAvatar Saleem Abdulrasool -1/+1
This is just a cleanup of hard coded location for bash. This is slightly relevant to cross due to the adjusted path for bash.
2014-09-14Add --chroot-pathAvatar Ciaran McCreesh -2/+7
2014-08-27Nothing to see here, move alongAvatar Ciaran McCreesh -0/+4
2014-06-06Report stale packagesAvatar Dimitry Ishenko -0/+20
2014-04-20I hate std::threadAvatar Ciaran McCreesh -36/+46
2014-04-20Look for exceptions inside threadsAvatar Ciaran McCreesh -4/+13
2014-03-21Add --promote-binaries optionAvatar Dimitry Ishenko -0/+16
2014-03-21Add PromoteBinariesHelperAvatar Dimitry Ishenko -0/+4
2014-01-17doc: reenable automatic generation of cave.txtAvatar Heiko Becker -396/+2
2014-01-16TypoAvatar David Leverton -1/+1
2013-12-15cave: modernise cave uninstallAvatar Saleem Abdulrasool -27/+21
Convert to auto and range-based for loops for cmd_uninstall. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
2013-10-26Use std::thread::hardware_concurrency instead of get_nprocsAvatar Michael Forney -3/+3
2013-10-26Fix argument order in xmlto invocationsAvatar Michael Forney -1/+1
This worked on glibc-based systems because glibc's getopt permutes argv as it scans by default instead of conforming to POSIX.