From 6b6c7cc173da13e2638caee496fa96061dfb72b3 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 26 Feb 2022 18:23:27 +0000 Subject: Fix up all remaining tools warnings in non-generated code --- Jamroot.jam | 1 + gentoobrowse-api/client/main.cpp | 11 +- gentoobrowse-api/client/search.cpp | 12 ++ gentoobrowse-api/domain/converters.cpp | 9 +- gentoobrowse-api/domain/converters.h | 10 +- gentoobrowse-api/domain/unpackPqTextArray.ll | 6 +- gentoobrowse-api/service/depend.cpp | 7 + gentoobrowse-api/service/depend.h | 2 +- gentoobrowse-api/service/main.cpp | 19 ++- .../service/maintenance/abstractFileProcessor.h | 13 +- .../service/maintenance/categoryMetaProcessor.cpp | 11 ++ .../service/maintenance/categoryMetaProcessor.h | 7 +- .../service/maintenance/ebuildMetaProcessor.cpp | 18 ++- .../service/maintenance/ebuildMetaProcessor.h | 16 +- .../service/maintenance/masksProcessor.cpp | 17 ++- .../service/maintenance/masksProcessor.h | 8 +- .../service/maintenance/newsProcessor.cpp | 9 ++ .../service/maintenance/newsProcessor.h | 5 +- .../service/maintenance/packageMetaProcessor.cpp | 11 ++ .../service/maintenance/packageMetaProcessor.h | 6 +- .../service/maintenance/updatesProcessor.cpp | 20 ++- .../service/maintenance/updatesProcessor.h | 12 +- .../service/maintenance/useGlobalProcessor.cpp | 11 ++ .../service/maintenance/useGlobalProcessor.h | 7 +- .../service/maintenance/useGroupProcessor.cpp | 13 ++ .../service/maintenance/useGroupProcessor.h | 7 +- .../service/maintenance/useLocalProcessor.cpp | 13 ++ .../service/maintenance/useLocalProcessor.h | 7 +- gentoobrowse-api/service/maintenanceBugs.cpp | 30 +++- gentoobrowse-api/service/maintenanceCommon.cpp | 24 +++ .../service/maintenanceGitOperations.cpp | 30 +++- gentoobrowse-api/service/mask.cpp | 2 + gentoobrowse-api/service/mask.h | 2 + gentoobrowse-api/service/news.cpp | 23 +-- gentoobrowse-api/service/news.h | 6 +- gentoobrowse-api/service/notificationsimpl.cpp | 5 +- gentoobrowse-api/service/notificationsimpl.h | 8 +- gentoobrowse-api/service/portageimpl.cpp | 6 + gentoobrowse-api/service/portageimpl.h | 8 + gentoobrowse-api/service/usersimpl.cpp | 12 ++ gentoobrowse-api/service/usersimpl.h | 7 + gentoobrowse-api/service/utils/dbUtils.cpp | 9 +- gentoobrowse-api/service/utils/dbUtils.h | 14 +- .../service/utils/ebuildCacheParser.cpp | 3 + gentoobrowse-api/service/utils/ebuildCacheParser.h | 7 +- .../service/utils/entityWhereFilter.cpp | 4 + gentoobrowse-api/service/utils/entityWhereFilter.h | 7 + gentoobrowse-api/service/utils/git.cpp | 4 + gentoobrowse-api/service/utils/git.h | 1 + .../service/utils/splitEbuildProps.cpp | 4 +- gentoobrowse-api/service/utils/splitEbuildProps.h | 8 + gentoobrowse-api/service/utils/xmlUtils.cpp | 3 + gentoobrowse-api/service/utils/xmlUtils.h | 1 + gentoobrowse-api/service/xsltStreamSerializer.cpp | 15 +- gentoobrowse-api/service/xsltStreamSerializer.h | 7 +- gentoobrowse-api/unittests/mockDefs.cpp | 14 ++ gentoobrowse-api/unittests/mockDefs.h | 16 +- gentoobrowse-api/unittests/testBugs.cpp | 4 + gentoobrowse-api/unittests/testDepend.cpp | 7 +- gentoobrowse-api/unittests/testMaintenanceBits.cpp | 4 +- gentoobrowse-api/unittests/testMasks.cpp | 14 +- gentoobrowse-api/unittests/testNews.cpp | 4 + gentoobrowse-api/unittests/testNotifications.cpp | 19 ++- .../unittests/testNotificationsTriggers.cpp | 15 +- gentoobrowse-api/unittests/testPortage.cpp | 15 ++ gentoobrowse-api/unittests/testProcessAll.cpp | 12 +- gentoobrowse-api/unittests/testUsers.cpp | 13 ++ gentoobrowse-api/unittests/testUtils.cpp | 8 +- gentoobrowse-api/util/update.cpp | 15 +- iwyu.json | 170 +++++++++++++++++++++ 70 files changed, 766 insertions(+), 102 deletions(-) create mode 100644 iwyu.json diff --git a/Jamroot.jam b/Jamroot.jam index 1bd4766..3ddb43d 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -70,6 +70,7 @@ project tidy:hicpp-named-parameter tidy:hicpp-no-array-decay tidy:performance-* + tidy:iwyu.json tidy:boost tidy:std ; diff --git a/gentoobrowse-api/client/main.cpp b/gentoobrowse-api/client/main.cpp index e82f5a3..4404ecb 100644 --- a/gentoobrowse-api/client/main.cpp +++ b/gentoobrowse-api/client/main.cpp @@ -1,9 +1,14 @@ #include "main.h" -#include +#include "portage.h" +#include +#include +#include +#include #include -#include +#include +#include +#include #include -#include namespace po = boost::program_options; INSTANTIATEPLUGINOF(Module); diff --git a/gentoobrowse-api/client/search.cpp b/gentoobrowse-api/client/search.cpp index 5de8d3b..d2c8c69 100644 --- a/gentoobrowse-api/client/search.cpp +++ b/gentoobrowse-api/client/search.cpp @@ -1,8 +1,20 @@ +#include "extended-models.h" #include "helpers.h" #include "main.h" +#include "portage-models.h" +#include "portage.h" +#include #include +#include +#include +#include +#include #include +#include +#include #include +#include +#include class search : public Module { public: diff --git a/gentoobrowse-api/domain/converters.cpp b/gentoobrowse-api/domain/converters.cpp index 09268b8..e551d9a 100644 --- a/gentoobrowse-api/domain/converters.cpp +++ b/gentoobrowse-api/domain/converters.cpp @@ -1,9 +1,10 @@ #include "converters.h" #include "converters.impl.h" -#include "unpackPqTextArray.h" -#include -#include -#include +#include +#include +#include +#include +#include #include namespace Slicer { diff --git a/gentoobrowse-api/domain/converters.h b/gentoobrowse-api/domain/converters.h index db72c0f..35583e5 100644 --- a/gentoobrowse-api/domain/converters.h +++ b/gentoobrowse-api/domain/converters.h @@ -1,14 +1,16 @@ #pragma once -#include -#include -#include +#include +#include +#include +#include +#include #include namespace Slicer { template class DLL_PUBLIC PqArray : public ModelPartForSequence> { public: - PqArray(std::vector *); + explicit PqArray(std::vector *); void SetValue(ValueSource &&) override; bool GetValue(ValueTarget &&) override; diff --git a/gentoobrowse-api/domain/unpackPqTextArray.ll b/gentoobrowse-api/domain/unpackPqTextArray.ll index d212d58..d2aca16 100644 --- a/gentoobrowse-api/domain/unpackPqTextArray.ll +++ b/gentoobrowse-api/domain/unpackPqTextArray.ll @@ -9,7 +9,10 @@ %{ #include "unpackPqTextArray.h" -#include +#include +#include +class pqBaseFlexLexer; + #pragma GCC diagnostic ignored "-Wconversion" #pragma GCC diagnostic ignored "-Wsign-compare" #pragma GCC diagnostic ignored "-Wimplicit-fallthrough" @@ -79,3 +82,4 @@ namespace Slicer { } } +static_assert(_XOPEN_VERSION); diff --git a/gentoobrowse-api/service/depend.cpp b/gentoobrowse-api/service/depend.cpp index c707e82..e2ce15e 100644 --- a/gentoobrowse-api/service/depend.cpp +++ b/gentoobrowse-api/service/depend.cpp @@ -1,6 +1,13 @@ #include "depend.h" +#include "portage-models.h" #include "wrap/regex.h" +#include +#include +#include #include +#include +#include +#include namespace Portage::Utils { AdHoc::Lexer::PatternPtr WhenUse_Begin( diff --git a/gentoobrowse-api/service/depend.h b/gentoobrowse-api/service/depend.h index 7cba039..e6b52c2 100644 --- a/gentoobrowse-api/service/depend.h +++ b/gentoobrowse-api/service/depend.h @@ -1,8 +1,8 @@ #pragma once -#include #include #include +#include #include namespace Portage::Utils { diff --git a/gentoobrowse-api/service/main.cpp b/gentoobrowse-api/service/main.cpp index 233aa91..64c826b 100644 --- a/gentoobrowse-api/service/main.cpp +++ b/gentoobrowse-api/service/main.cpp @@ -1,16 +1,27 @@ #include "mailServer.h" +#include "maintenance.h" #include "maintenanceimpl.h" +#include "notifications.h" #include "notificationsimpl.h" +#include "portage.h" #include "portageimpl.h" +#include "users.h" #include "usersimpl.h" -#include +#include "wrap/domparser.h" +#include +#include +#include +#include #include +#include +#include #include #include - -#include #include -#include +#include +#include +#include +#include namespace Gentoo::Service { class Api : public IceTray::Service { diff --git a/gentoobrowse-api/service/maintenance/abstractFileProcessor.h b/gentoobrowse-api/service/maintenance/abstractFileProcessor.h index 8cf1fb0..b83b594 100644 --- a/gentoobrowse-api/service/maintenance/abstractFileProcessor.h +++ b/gentoobrowse-api/service/maintenance/abstractFileProcessor.h @@ -1,11 +1,18 @@ #pragma once #include "changeSet.h" +#include "portage-models.h" #include -#include -#include +#include +#include // IWYU pragma: keep #include -#include +#include +#include +#include +// IWYU pragma: no_include "factory.impl.h" +namespace DB { + class Connection; +} namespace Gentoo::Service { using PathParts = std::vector; diff --git a/gentoobrowse-api/service/maintenance/categoryMetaProcessor.cpp b/gentoobrowse-api/service/maintenance/categoryMetaProcessor.cpp index 26874ea..98862c6 100644 --- a/gentoobrowse-api/service/maintenance/categoryMetaProcessor.cpp +++ b/gentoobrowse-api/service/maintenance/categoryMetaProcessor.cpp @@ -1,10 +1,21 @@ #include "categoryMetaProcessor.h" +#include "maintenance/abstractFileProcessor.h" #include "utils/dbUtils.h" #include "utils/xmlUtils.h" +#include +#include #include +#include #include +#include #include +#include #include +#include +#include +namespace DB { + class Connection; +} namespace U = Gentoo::Utils; using namespace AdHoc; diff --git a/gentoobrowse-api/service/maintenance/categoryMetaProcessor.h b/gentoobrowse-api/service/maintenance/categoryMetaProcessor.h index 2dac272..857972e 100644 --- a/gentoobrowse-api/service/maintenance/categoryMetaProcessor.h +++ b/gentoobrowse-api/service/maintenance/categoryMetaProcessor.h @@ -1,7 +1,12 @@ #pragma once #include "abstractFileProcessor.h" -#include +#include "portage-models.h" +#include +#include +namespace DB { + class Connection; +} namespace Gentoo::Service { class CategoryMetaProcessor : public AbstractFileProcessor { diff --git a/gentoobrowse-api/service/maintenance/ebuildMetaProcessor.cpp b/gentoobrowse-api/service/maintenance/ebuildMetaProcessor.cpp index ea37ea5..11cfcc2 100644 --- a/gentoobrowse-api/service/maintenance/ebuildMetaProcessor.cpp +++ b/gentoobrowse-api/service/maintenance/ebuildMetaProcessor.cpp @@ -1,13 +1,25 @@ #include "ebuildMetaProcessor.h" #include "depend.h" +#include "maintenance/abstractFileProcessor.h" +#include "portage-models.h" #include "utils/dbUtils.h" #include "utils/ebuildCacheParser.h" #include "utils/splitEbuildProps.h" #include "wrap/regex.h" +#include "wrap/ustring.h" +#include #include #include +#include +#include +#include +#include +#include +#include #include -#include +#include +#include +#include #include #include #include @@ -22,7 +34,11 @@ #include #include #include +#include #include +namespace Glib { + class Regex; +} namespace U = Gentoo::Utils; using namespace AdHoc; diff --git a/gentoobrowse-api/service/maintenance/ebuildMetaProcessor.h b/gentoobrowse-api/service/maintenance/ebuildMetaProcessor.h index 5d143b3..5f63c62 100644 --- a/gentoobrowse-api/service/maintenance/ebuildMetaProcessor.h +++ b/gentoobrowse-api/service/maintenance/ebuildMetaProcessor.h @@ -1,12 +1,22 @@ #pragma once #include "abstractFileProcessor.h" -#include "utils/ebuildCacheParser.h" +#include "changeSet.h" #include "utils/entityWhereFilter.h" -#include +#include +#include #include -#include #include +#include +#include +#include +#include +namespace DB { + class Connection; +} +namespace Gentoo::Utils { + class EbuildCacheParser; +} namespace Gentoo::Service { class EbuildMetaProcessor : public AbstractFileProcessor { diff --git a/gentoobrowse-api/service/maintenance/masksProcessor.cpp b/gentoobrowse-api/service/maintenance/masksProcessor.cpp index 573345b..2988e26 100644 --- a/gentoobrowse-api/service/maintenance/masksProcessor.cpp +++ b/gentoobrowse-api/service/maintenance/masksProcessor.cpp @@ -1,16 +1,28 @@ #include "masksProcessor.h" +#include "maintenance/abstractFileProcessor.h" #include "sql/maintenance/masksEbuilds.sql.h" #include "sql/maintenance/masksFixDates.sql.h" #include "sql/maintenance/masksSets.sql.h" #include "utils/dbUtils.h" -#include "wrap/regex.h" #include -#include +#include +#include +#include +#include #include +#include +#include #include +#include #include +#include #include +#include +#include +#include #include +#include +// IWYU pragma: no_include namespace Gentoo::Service { unsigned char @@ -42,7 +54,6 @@ namespace Gentoo::Service { {{"n", "int"}, {"dateAdded", "date"}, {"person", "text"}, {"email", "text"}, {"message", "text"}, {"atomSpec", "text[]"}}); - auto i = tempTable.second; AdHoc::FileUtils::MemMap f(path); class MaskInserter : public Portage::Utils::Masks { diff --git a/gentoobrowse-api/service/maintenance/masksProcessor.h b/gentoobrowse-api/service/maintenance/masksProcessor.h index ca3c828..b2e800e 100644 --- a/gentoobrowse-api/service/maintenance/masksProcessor.h +++ b/gentoobrowse-api/service/maintenance/masksProcessor.h @@ -1,9 +1,13 @@ #pragma once #include "abstractFileProcessor.h" -#include +#include "changeSet.h" +#include "portage-models.h" +#include #include -#include +namespace DB { + class Connection; +} namespace Gentoo::Service { class MasksProcessor : public AbstractFileProcessor { diff --git a/gentoobrowse-api/service/maintenance/newsProcessor.cpp b/gentoobrowse-api/service/maintenance/newsProcessor.cpp index b175ba2..95450e2 100644 --- a/gentoobrowse-api/service/maintenance/newsProcessor.cpp +++ b/gentoobrowse-api/service/maintenance/newsProcessor.cpp @@ -1,12 +1,21 @@ #include "newsProcessor.h" +#include "maintenance/abstractFileProcessor.h" #include "news.h" +#include "portage-models.h" #include #include #include +#include +#include #include +#include #include #include #include +#include +#include +#include +// IWYU pragma: no_include namespace Gentoo::Service { unsigned char diff --git a/gentoobrowse-api/service/maintenance/newsProcessor.h b/gentoobrowse-api/service/maintenance/newsProcessor.h index b067613..219f858 100644 --- a/gentoobrowse-api/service/maintenance/newsProcessor.h +++ b/gentoobrowse-api/service/maintenance/newsProcessor.h @@ -1,9 +1,12 @@ #pragma once #include "abstractFileProcessor.h" -#include +#include #include #include +namespace DB { + class Connection; +} namespace Gentoo::Service { class NewsProcessor : public AbstractFileProcessor { diff --git a/gentoobrowse-api/service/maintenance/packageMetaProcessor.cpp b/gentoobrowse-api/service/maintenance/packageMetaProcessor.cpp index e27c2d7..a39b5a0 100644 --- a/gentoobrowse-api/service/maintenance/packageMetaProcessor.cpp +++ b/gentoobrowse-api/service/maintenance/packageMetaProcessor.cpp @@ -1,10 +1,21 @@ #include "packageMetaProcessor.h" +#include "maintenance/abstractFileProcessor.h" #include "utils/dbUtils.h" #include "utils/xmlUtils.h" +#include +#include #include +#include #include +#include #include +#include #include +#include +#include +namespace DB { + class Connection; +} namespace U = Gentoo::Utils; using namespace AdHoc; diff --git a/gentoobrowse-api/service/maintenance/packageMetaProcessor.h b/gentoobrowse-api/service/maintenance/packageMetaProcessor.h index e5fdfdc..6980079 100644 --- a/gentoobrowse-api/service/maintenance/packageMetaProcessor.h +++ b/gentoobrowse-api/service/maintenance/packageMetaProcessor.h @@ -1,8 +1,12 @@ #pragma once #include "abstractFileProcessor.h" -#include +#include "portage-models.h" +#include #include +namespace DB { + class Connection; +} namespace Gentoo::Service { class PackageMetaProcessor : public AbstractFileProcessor { diff --git a/gentoobrowse-api/service/maintenance/updatesProcessor.cpp b/gentoobrowse-api/service/maintenance/updatesProcessor.cpp index a12e5f9..b6bcee2 100644 --- a/gentoobrowse-api/service/maintenance/updatesProcessor.cpp +++ b/gentoobrowse-api/service/maintenance/updatesProcessor.cpp @@ -1,20 +1,34 @@ #include "updatesProcessor.h" +#include "maintenance/abstractFileProcessor.h" #include "utils/dbUtils.h" #include "utils/entityWhereFilter.h" #include "wrap/regex.h" -#include -#include +#include "wrap/ustring.h" #include #include +#include +#include +#include +#include +#include #include -#include +#include #include +#include #include +#include #include #include #include #include +#include +#include +#include #include +#include +namespace Glib { + class Regex; +} using namespace AdHoc::FileUtils; diff --git a/gentoobrowse-api/service/maintenance/updatesProcessor.h b/gentoobrowse-api/service/maintenance/updatesProcessor.h index 0063db7..0ef6872 100644 --- a/gentoobrowse-api/service/maintenance/updatesProcessor.h +++ b/gentoobrowse-api/service/maintenance/updatesProcessor.h @@ -1,14 +1,20 @@ #pragma once #include "abstractFileProcessor.h" -#include +#include "changeSet.h" +#include "portage-models.h" +#include #include -#include +namespace DB { + class Connection; +} namespace Gentoo::Service { class UpdatesPatch; class UpdatesProcessor : public AbstractFileProcessor { public: + UpdatesProcessor() = default; + unsigned char phase() const override; unsigned char order() const override; bool match(const PathParts & pp) const override; @@ -24,6 +30,6 @@ namespace Gentoo::Service { void tidy(DB::Connection * dbc) override; private: - UpdatesPatch * up; + UpdatesPatch * up {}; }; } diff --git a/gentoobrowse-api/service/maintenance/useGlobalProcessor.cpp b/gentoobrowse-api/service/maintenance/useGlobalProcessor.cpp index 04408ab..e38da9b 100644 --- a/gentoobrowse-api/service/maintenance/useGlobalProcessor.cpp +++ b/gentoobrowse-api/service/maintenance/useGlobalProcessor.cpp @@ -1,9 +1,20 @@ #include "useGlobalProcessor.h" +#include "maintenance/abstractFileProcessor.h" #include "utils/dbUtils.h" #include "wrap/regex.h" +#include "wrap/ustring.h" +#include +#include +#include +#include #include +#include #include +#include #include +namespace Glib { + class Regex; +} using namespace AdHoc::FileUtils; diff --git a/gentoobrowse-api/service/maintenance/useGlobalProcessor.h b/gentoobrowse-api/service/maintenance/useGlobalProcessor.h index 4577ac2..4fc9a71 100644 --- a/gentoobrowse-api/service/maintenance/useGlobalProcessor.h +++ b/gentoobrowse-api/service/maintenance/useGlobalProcessor.h @@ -1,9 +1,12 @@ #pragma once #include "abstractFileProcessor.h" -#include +#include "portage-models.h" +#include #include -#include +namespace DB { + class Connection; +} namespace Gentoo::Service { class UseGlobalProcessor : public AbstractFileProcessor { diff --git a/gentoobrowse-api/service/maintenance/useGroupProcessor.cpp b/gentoobrowse-api/service/maintenance/useGroupProcessor.cpp index 205788a..7f2261d 100644 --- a/gentoobrowse-api/service/maintenance/useGroupProcessor.cpp +++ b/gentoobrowse-api/service/maintenance/useGroupProcessor.cpp @@ -1,15 +1,28 @@ #include "useGroupProcessor.h" +#include "maintenance/abstractFileProcessor.h" #include "sql/maintenance/useGroupsDelete.sql.h" #include "sql/maintenance/useGroupsGetId.sql.h" #include "sql/maintenance/useGroupsInsert.sql.h" #include "utils/dbUtils.h" #include "utils/entityWhereFilter.h" #include "wrap/regex.h" +#include "wrap/ustring.h" #include +#include +#include +#include #include +#include #include +#include #include +#include +#include +#include #include +namespace Glib { + class Regex; +} namespace U = Gentoo::Utils; diff --git a/gentoobrowse-api/service/maintenance/useGroupProcessor.h b/gentoobrowse-api/service/maintenance/useGroupProcessor.h index 71ec083..6d6cb57 100644 --- a/gentoobrowse-api/service/maintenance/useGroupProcessor.h +++ b/gentoobrowse-api/service/maintenance/useGroupProcessor.h @@ -1,9 +1,12 @@ #pragma once #include "abstractFileProcessor.h" -#include +#include "portage-models.h" +#include #include -#include +namespace DB { + class Connection; +} namespace Gentoo::Service { class UseGroupProcessor : public AbstractFileProcessor { diff --git a/gentoobrowse-api/service/maintenance/useLocalProcessor.cpp b/gentoobrowse-api/service/maintenance/useLocalProcessor.cpp index 8ea53c5..74932bc 100644 --- a/gentoobrowse-api/service/maintenance/useLocalProcessor.cpp +++ b/gentoobrowse-api/service/maintenance/useLocalProcessor.cpp @@ -1,11 +1,24 @@ #include "useLocalProcessor.h" +#include "maintenance/abstractFileProcessor.h" #include "sql/maintenance/useLocalMap.sql.h" #include "utils/dbUtils.h" #include "wrap/regex.h" +#include "wrap/ustring.h" +#include +#include +#include +#include #include +#include #include #include +#include +#include #include +#include +namespace Glib { + class Regex; +} using namespace AdHoc::FileUtils; diff --git a/gentoobrowse-api/service/maintenance/useLocalProcessor.h b/gentoobrowse-api/service/maintenance/useLocalProcessor.h index 9f808da..9d8b848 100644 --- a/gentoobrowse-api/service/maintenance/useLocalProcessor.h +++ b/gentoobrowse-api/service/maintenance/useLocalProcessor.h @@ -1,9 +1,12 @@ #pragma once #include "abstractFileProcessor.h" -#include +#include "portage-models.h" +#include #include -#include +namespace DB { + class Connection; +} namespace Gentoo::Service { class UseLocalProcessor : public AbstractFileProcessor { diff --git a/gentoobrowse-api/service/maintenanceBugs.cpp b/gentoobrowse-api/service/maintenanceBugs.cpp index 5023578..b40c130 100644 --- a/gentoobrowse-api/service/maintenanceBugs.cpp +++ b/gentoobrowse-api/service/maintenanceBugs.cpp @@ -1,16 +1,40 @@ +#include "command_fwd.h" +#include "connection.h" +#include "connectionPool.h" +#include "logWriter.h" #include "maintenanceimpl.h" +#include "resourcePool.impl.h" +#include "wrap/domparser.h" +#include "wrap/regex.h" +#include "wrap/ustring.h" +#include +#include +#include +#include +#include #include #include +#include +#include #include +#include +#include +#include #include -#include -#include +#include // IWYU pragma: keep #include +#include +#include #include -#include #include +#include +#include #include +#include #include +namespace Ice { + struct Current; +} namespace Gentoo::Service { AdHoc::Lexer::PatternPtr bugLink = AdHoc::LexerMatchers::regex( diff --git a/gentoobrowse-api/service/maintenanceCommon.cpp b/gentoobrowse-api/service/maintenanceCommon.cpp index e225848..0b8f0b9 100644 --- a/gentoobrowse-api/service/maintenanceCommon.cpp +++ b/gentoobrowse-api/service/maintenanceCommon.cpp @@ -1,12 +1,36 @@ +#include "maintenance.h" #include "maintenanceimpl.h" +#include "news-models.h" +#include "portage-models.h" #include "sql/maintenance/getNotificationEbuildLists.sql.h" +#include "user-models.h" #include +#include +#include #include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include +#include +#include +#include +#include #include #include #include +#include +#include #include +#include +#include namespace Gentoo::Service { class BaseScheduledTask : public IceUtil::TimerTask { diff --git a/gentoobrowse-api/service/maintenanceGitOperations.cpp b/gentoobrowse-api/service/maintenanceGitOperations.cpp index ade5c9a..0b4a290 100644 --- a/gentoobrowse-api/service/maintenanceGitOperations.cpp +++ b/gentoobrowse-api/service/maintenanceGitOperations.cpp @@ -1,21 +1,45 @@ +#include "changeSet.h" #include "converters.impl.h" +#include "maintenance.h" +#include "maintenance/abstractFileProcessor.h" #include "maintenanceimpl.h" +#include "resourcePool.h" // IWYU pragma: keep +#include "staticSqlSource.h" #include "utils/git.h" #include +#include #include -#include +#include +#include #include +#include +#include +#include +#include +#include +#include +#include +#include #include +#include #include +#include +#include +#include #include +#include #include -#include +#include #include #include #include #include +#include +#include #include -#include +#include +#include +// IWYU pragma: no_include "resourcePool.impl.h" namespace Gentoo::Service { using namespace Utils::Git; diff --git a/gentoobrowse-api/service/mask.cpp b/gentoobrowse-api/service/mask.cpp index 6dabb41..fddb470 100644 --- a/gentoobrowse-api/service/mask.cpp +++ b/gentoobrowse-api/service/mask.cpp @@ -1,3 +1,5 @@ +#include "wrap/regex.h" +#include #include #include diff --git a/gentoobrowse-api/service/mask.h b/gentoobrowse-api/service/mask.h index 08f534b..195ef72 100644 --- a/gentoobrowse-api/service/mask.h +++ b/gentoobrowse-api/service/mask.h @@ -5,6 +5,8 @@ #include #include #include +#include +#include namespace Portage::Utils { class Masks : public AdHoc::Lexer { diff --git a/gentoobrowse-api/service/news.cpp b/gentoobrowse-api/service/news.cpp index 1690959..3468964 100644 --- a/gentoobrowse-api/service/news.cpp +++ b/gentoobrowse-api/service/news.cpp @@ -1,6 +1,13 @@ #include "news.h" -#include +#include "wrap/regex.h" +#include +#include +#include #include +#include +#include +#include +#include namespace Portage::Utils { AdHoc::Lexer::PatternPtr Title(AdHoc::LexerMatchers::regex( @@ -32,20 +39,6 @@ namespace Portage::Utils { return Ice::optional(); } - template - std::vector - split(const std::optional & x) - { - std::vector rtn; - if (x) { - boost::algorithm::split(rtn, *x, [](auto c) { - return c == ','; - }); - std::sort(rtn.begin(), rtn.end()); - } - return rtn; - } - News::News() : AdHoc::Lexer({// title: words {{InitialState}, Title, diff --git a/gentoobrowse-api/service/news.h b/gentoobrowse-api/service/news.h index d13263c..0610675 100644 --- a/gentoobrowse-api/service/news.h +++ b/gentoobrowse-api/service/news.h @@ -1,9 +1,9 @@ #pragma once -#include +#include "portage-models.h" #include -#include -#include +#include +// IWYU pragma: no_include namespace Portage::Utils { class News : AdHoc::Lexer { diff --git a/gentoobrowse-api/service/notificationsimpl.cpp b/gentoobrowse-api/service/notificationsimpl.cpp index 71b2a78..33bbfdf 100644 --- a/gentoobrowse-api/service/notificationsimpl.cpp +++ b/gentoobrowse-api/service/notificationsimpl.cpp @@ -1,11 +1,12 @@ #include "notificationsimpl.h" +#include "wrap/domparser.h" #include "xsltStreamSerializer.h" -#include -#include +#include #include #include #include #include +#include #define BADCAST(str) reinterpret_cast(str) diff --git a/gentoobrowse-api/service/notificationsimpl.h b/gentoobrowse-api/service/notificationsimpl.h index afad26e..2cc6935 100644 --- a/gentoobrowse-api/service/notificationsimpl.h +++ b/gentoobrowse-api/service/notificationsimpl.h @@ -1,10 +1,16 @@ #ifndef NOTIFICATIONSIMPL_H #define NOTIFICATIONSIMPL_H -#include +#include "mail.h" +#include "user-models.h" #include #include +#include #include +#include +namespace Gentoo { + struct NewsContent; +} namespace Gentoo::Service { class DLL_PUBLIC Notifications : public Gentoo::Notifications { diff --git a/gentoobrowse-api/service/portageimpl.cpp b/gentoobrowse-api/service/portageimpl.cpp index 452de86..6619037 100644 --- a/gentoobrowse-api/service/portageimpl.cpp +++ b/gentoobrowse-api/service/portageimpl.cpp @@ -1,4 +1,7 @@ #include "portageimpl.h" +#include +#include +#include #include #include #include @@ -41,6 +44,9 @@ #include #include #include +#include +#include +#include namespace Gentoo::Service { Portage::Portage(const DB::ConnectionPoolPtr & d) : IceTray::AbstractCachingDatabaseClient(d) { } diff --git a/gentoobrowse-api/service/portageimpl.h b/gentoobrowse-api/service/portageimpl.h index b4b2dfe..4bc5963 100644 --- a/gentoobrowse-api/service/portageimpl.h +++ b/gentoobrowse-api/service/portageimpl.h @@ -1,9 +1,17 @@ #ifndef PORTAGEIMPL_H #define PORTAGEIMPL_H +#include "extended-models.h" +#include "portage-models.h" +#include #include +#include #include +#include #include +namespace Ice { + struct Current; +} namespace Gentoo::Service { class DLL_PUBLIC Portage : public Gentoo::Portage, IceTray::AbstractCachingDatabaseClient { diff --git a/gentoobrowse-api/service/usersimpl.cpp b/gentoobrowse-api/service/usersimpl.cpp index a95e22b..082f802 100644 --- a/gentoobrowse-api/service/usersimpl.cpp +++ b/gentoobrowse-api/service/usersimpl.cpp @@ -1,9 +1,19 @@ #include "usersimpl.h" +#include "users.h" #include +#include #include +#include +#include +#include +#include +#include #include +#include +#include #include #include +#include // IWYU pragma: keep #include #include #include @@ -16,6 +26,8 @@ #include #include #include +#include +// IWYU pragma: no_include "resourcePool.impl.h" namespace Gentoo::Service { Users::Users(const DB::ConnectionPoolPtr & d) : IceTray::AbstractCachingDatabaseClient(d) { } diff --git a/gentoobrowse-api/service/usersimpl.h b/gentoobrowse-api/service/usersimpl.h index 75d1644..64b610b 100644 --- a/gentoobrowse-api/service/usersimpl.h +++ b/gentoobrowse-api/service/usersimpl.h @@ -1,9 +1,16 @@ #ifndef USERSIMPL_H #define USERSIMPL_H +#include "user-models.h" +#include #include +#include +#include #include #include +namespace Ice { + struct Current; +} namespace Gentoo::Service { class DLL_PUBLIC Users : public Gentoo::Users, IceTray::AbstractCachingDatabaseClient { diff --git a/gentoobrowse-api/service/utils/dbUtils.cpp b/gentoobrowse-api/service/utils/dbUtils.cpp index d0ae626..d08307a 100644 --- a/gentoobrowse-api/service/utils/dbUtils.cpp +++ b/gentoobrowse-api/service/utils/dbUtils.cpp @@ -1,9 +1,10 @@ #include "dbUtils.h" -#include #include -#include -#include +#include +#include #include +#include +#include namespace Gentoo::Utils::Database { std::string @@ -14,7 +15,7 @@ namespace Gentoo::Utils::Database { if (dot != std::string::npos) { tempTable = tempTable.substr(dot + 1); } - tempTable += "_clone_" + boost::lexical_cast(db); + tempTable += AdHoc::scprintf<"_clone_%?%?">(getpid(), db); db->execute("CREATE TEMPORARY TABLE " + tempTable + " AS SELECT * FROM " + orig + " WHERE false"); return tempTable; } diff --git a/gentoobrowse-api/service/utils/dbUtils.h b/gentoobrowse-api/service/utils/dbUtils.h index dee1b2d..8a691b6 100644 --- a/gentoobrowse-api/service/utils/dbUtils.h +++ b/gentoobrowse-api/service/utils/dbUtils.h @@ -1,10 +1,14 @@ #pragma once -#include -#include -#include -#include -#include +#include "command_fwd.h" +#include +#include +#include +#include +namespace DB { + class Connection; + class TablePatch; +} namespace Gentoo::Utils::Database { std::string emptyClone(DB::Connection *, const std::string &); diff --git a/gentoobrowse-api/service/utils/ebuildCacheParser.cpp b/gentoobrowse-api/service/utils/ebuildCacheParser.cpp index c3fef41..a34f807 100644 --- a/gentoobrowse-api/service/utils/ebuildCacheParser.cpp +++ b/gentoobrowse-api/service/utils/ebuildCacheParser.cpp @@ -1,4 +1,7 @@ #include "ebuildCacheParser.h" +#include "wrap/ustring.h" +#include +#include namespace Gentoo::Utils { EbuildCacheParser::EbuildCacheParser(const std::filesystem::path & p) : AdHoc::FileUtils::MemMap(p) diff --git a/gentoobrowse-api/service/utils/ebuildCacheParser.h b/gentoobrowse-api/service/utils/ebuildCacheParser.h index ee3977f..c36030e 100644 --- a/gentoobrowse-api/service/utils/ebuildCacheParser.h +++ b/gentoobrowse-api/service/utils/ebuildCacheParser.h @@ -1,11 +1,14 @@ #pragma once -#include "wrap/ustring.h" #include -#include +#include #include #include +#include #include +namespace Glib { + class ustring; +} namespace Gentoo::Utils { class EbuildCacheParser : public AdHoc::FileUtils::MemMap { diff --git a/gentoobrowse-api/service/utils/entityWhereFilter.cpp b/gentoobrowse-api/service/utils/entityWhereFilter.cpp index be74f2e..68ad09d 100644 --- a/gentoobrowse-api/service/utils/entityWhereFilter.cpp +++ b/gentoobrowse-api/service/utils/entityWhereFilter.cpp @@ -1,6 +1,10 @@ #include "entityWhereFilter.h" +#include +#include #include #include +#include +#include namespace Gentoo::Utils { template EntityWhereFilter::EntityWhereFilter(std::string en) : entityColName(std::move(en)) { } diff --git a/gentoobrowse-api/service/utils/entityWhereFilter.h b/gentoobrowse-api/service/utils/entityWhereFilter.h index ccb92a0..d01ca82 100644 --- a/gentoobrowse-api/service/utils/entityWhereFilter.h +++ b/gentoobrowse-api/service/utils/entityWhereFilter.h @@ -2,6 +2,13 @@ #include #include +#include +namespace AdHoc { + class Buffer; +} +namespace DB { + class Command; +} namespace Gentoo::Utils { template class EntityWhereFilter : public DB::SqlWriter { diff --git a/gentoobrowse-api/service/utils/git.cpp b/gentoobrowse-api/service/utils/git.cpp index c2e94b7..2e1a3eb 100644 --- a/gentoobrowse-api/service/utils/git.cpp +++ b/gentoobrowse-api/service/utils/git.cpp @@ -1,6 +1,10 @@ #include "git.h" +#include +#include #include +#include #include +#include #include #include diff --git a/gentoobrowse-api/service/utils/git.h b/gentoobrowse-api/service/utils/git.h index d240b51..27bf33b 100644 --- a/gentoobrowse-api/service/utils/git.h +++ b/gentoobrowse-api/service/utils/git.h @@ -3,6 +3,7 @@ #include #include #include +#include namespace Gentoo::Utils::Git { void throwError(void * const func, int err); diff --git a/gentoobrowse-api/service/utils/splitEbuildProps.cpp b/gentoobrowse-api/service/utils/splitEbuildProps.cpp index f9e1b6e..b97586d 100644 --- a/gentoobrowse-api/service/utils/splitEbuildProps.cpp +++ b/gentoobrowse-api/service/utils/splitEbuildProps.cpp @@ -1,7 +1,9 @@ #include "splitEbuildProps.h" -#include "dbUtils.h" +#include +#include #include #include +#include namespace Gentoo::Utils { SplitEbuildProps::SplitEbuildProps(std::string ce, int64_t e, std::string cp, std::optional p) : diff --git a/gentoobrowse-api/service/utils/splitEbuildProps.h b/gentoobrowse-api/service/utils/splitEbuildProps.h index c413a51..9020c22 100644 --- a/gentoobrowse-api/service/utils/splitEbuildProps.h +++ b/gentoobrowse-api/service/utils/splitEbuildProps.h @@ -1,8 +1,16 @@ #pragma once #include "wrap/ustring.h" +#include #include #include +#include +namespace AdHoc { + class Buffer; +} +namespace DB { + class Command; +} namespace Gentoo::Utils { class SplitEbuildProps : public DB::SqlWriter { diff --git a/gentoobrowse-api/service/utils/xmlUtils.cpp b/gentoobrowse-api/service/utils/xmlUtils.cpp index 195b054..efb8cbd 100644 --- a/gentoobrowse-api/service/utils/xmlUtils.cpp +++ b/gentoobrowse-api/service/utils/xmlUtils.cpp @@ -1,4 +1,7 @@ #include "xmlUtils.h" +#include "wrap/ustring.h" +#include +#include namespace Gentoo::Utils { XmlDoc::XmlDoc(const std::filesystem::path & path) : xmlpp::DomParser(path) { } diff --git a/gentoobrowse-api/service/utils/xmlUtils.h b/gentoobrowse-api/service/utils/xmlUtils.h index 0e44a73..0ca6039 100644 --- a/gentoobrowse-api/service/utils/xmlUtils.h +++ b/gentoobrowse-api/service/utils/xmlUtils.h @@ -1,6 +1,7 @@ #pragma once #include "wrap/domparser.h" +#include "wrap/ustring.h" #include #include diff --git a/gentoobrowse-api/service/xsltStreamSerializer.cpp b/gentoobrowse-api/service/xsltStreamSerializer.cpp index 90dff01..cebae7b 100644 --- a/gentoobrowse-api/service/xsltStreamSerializer.cpp +++ b/gentoobrowse-api/service/xsltStreamSerializer.cpp @@ -1,12 +1,21 @@ #include "xsltStreamSerializer.h" -#include -#include -#include +#include "xml/serializer.h" +#include +#include +#include // IWYU pragma: keep +#include #include +#include #include #include +#include #include +#include +#include #include +#include +#include +#include namespace Gentoo { using namespace IceTray::Mime; diff --git a/gentoobrowse-api/service/xsltStreamSerializer.h b/gentoobrowse-api/service/xsltStreamSerializer.h index 9076a3f..f13f774 100644 --- a/gentoobrowse-api/service/xsltStreamSerializer.h +++ b/gentoobrowse-api/service/xsltStreamSerializer.h @@ -1,11 +1,14 @@ #ifndef ICESPIDER_CORE_XSLTSTREAMSERIALIZER_H #define ICESPIDER_CORE_XSLTSTREAMSERIALIZER_H +#include "mail.h" +#include "mime.h" +#include "modelParts.h" +#include "wrap/domparser.h" #include -#include -#include #include #include +#include namespace Gentoo { class DLL_PUBLIC XsltStreamSerializer : public Slicer::XmlDocumentSerializer { diff --git a/gentoobrowse-api/unittests/mockDefs.cpp b/gentoobrowse-api/unittests/mockDefs.cpp index 02ce761..1d4018e 100644 --- a/gentoobrowse-api/unittests/mockDefs.cpp +++ b/gentoobrowse-api/unittests/mockDefs.cpp @@ -1,9 +1,23 @@ #include "mockDefs.h" +#include "maintenance.h" +#include "portage.h" +#include "users.h" +#include +#include #include +#include +#include #include #include +#include +#include +#include +#include #include #include +#include +#include +#include #include DbAlias::DbAlias() diff --git a/gentoobrowse-api/unittests/mockDefs.h b/gentoobrowse-api/unittests/mockDefs.h index d965a94..963112b 100644 --- a/gentoobrowse-api/unittests/mockDefs.h +++ b/gentoobrowse-api/unittests/mockDefs.h @@ -1,16 +1,28 @@ #ifndef MOCKDEFS_H #define MOCKDEFS_H +#include #include +#include +#include +#include #include +#include #include -#include +#include +#include #include #include -#include #include +#include #include #include +namespace IceTray::Mime { + class TextPart; +} +namespace PQ { + class Mock; +} class DLL_PUBLIC DbAlias { public: diff --git a/gentoobrowse-api/unittests/testBugs.cpp b/gentoobrowse-api/unittests/testBugs.cpp index a9c08e0..1ddd238 100644 --- a/gentoobrowse-api/unittests/testBugs.cpp +++ b/gentoobrowse-api/unittests/testBugs.cpp @@ -1,7 +1,11 @@ #define BOOST_TEST_MODULE TestBugs #include +#include "maintenance.h" #include "mockDefs.h" +#include +#include +#include BOOST_GLOBAL_FIXTURE(Maintenance); diff --git a/gentoobrowse-api/unittests/testDepend.cpp b/gentoobrowse-api/unittests/testDepend.cpp index 73cf3bc..0ac212b 100644 --- a/gentoobrowse-api/unittests/testDepend.cpp +++ b/gentoobrowse-api/unittests/testDepend.cpp @@ -1,7 +1,12 @@ #define BOOST_TEST_MODULE TestDepend #include -#include +#include "depend.h" +#include "portage-models.h" // for Dependency, StringList +#include // for optional +#include // for __alloc_traits<>::valu... +#include // for __shared_ptr_access +#include // for vector BOOST_AUTO_TEST_CASE(simple1) { diff --git a/gentoobrowse-api/unittests/testMaintenanceBits.cpp b/gentoobrowse-api/unittests/testMaintenanceBits.cpp index 9c16f74..f510148 100644 --- a/gentoobrowse-api/unittests/testMaintenanceBits.cpp +++ b/gentoobrowse-api/unittests/testMaintenanceBits.cpp @@ -1,7 +1,9 @@ #define BOOST_TEST_MODULE TestMaintenanceBits #include -#include +#include "maintenance/abstractFileProcessor.h" +#include +#include BOOST_AUTO_TEST_CASE(match) { diff --git a/gentoobrowse-api/unittests/testMasks.cpp b/gentoobrowse-api/unittests/testMasks.cpp index 055c83e..d45e6f1 100644 --- a/gentoobrowse-api/unittests/testMasks.cpp +++ b/gentoobrowse-api/unittests/testMasks.cpp @@ -1,12 +1,24 @@ #define BOOST_TEST_MODULE Masks #include +#include "wrap/ustring.h" +#include #include -#include +#include +#include #include +#include #include +#include +#include #include +#include +#include #include +#include +#include +#include +// IWYU pragma: no_include class MaskTester : public Portage::Utils::Masks { protected: diff --git a/gentoobrowse-api/unittests/testNews.cpp b/gentoobrowse-api/unittests/testNews.cpp index b8944ae..4ac80ae 100644 --- a/gentoobrowse-api/unittests/testNews.cpp +++ b/gentoobrowse-api/unittests/testNews.cpp @@ -1,9 +1,13 @@ #define BOOST_TEST_MODULE TestNews #include +#include "portage-models.h" +#include #include #include +#include #include +#include BOOST_AUTO_TEST_CASE(news_2016_04_07_kde_plasma5_stable) { diff --git a/gentoobrowse-api/unittests/testNotifications.cpp b/gentoobrowse-api/unittests/testNotifications.cpp index ff5bbc3..5c72d15 100644 --- a/gentoobrowse-api/unittests/testNotifications.cpp +++ b/gentoobrowse-api/unittests/testNotifications.cpp @@ -1,13 +1,24 @@ #define BOOST_TEST_MODULE TestNotifications -#include #include #include "mockDefs.h" -#include -#include -#include +#include "news-models.h" +#include "notifications.h" +#include "portage-models.h" +#include "user-models.h" +#include +#include +#include +#include +#include +#include #include #include +#include +#include +#include +#include +#include using namespace std::string_literals; using QPTD = std::tuple; diff --git a/gentoobrowse-api/unittests/testNotificationsTriggers.cpp b/gentoobrowse-api/unittests/testNotificationsTriggers.cpp index 993b7a0..db53041 100644 --- a/gentoobrowse-api/unittests/testNotificationsTriggers.cpp +++ b/gentoobrowse-api/unittests/testNotificationsTriggers.cpp @@ -1,8 +1,21 @@ #define BOOST_TEST_MODULE TestNotificationsTriggers #include +#include "maintenance.h" #include "mockDefs.h" -#include +#include "news-models.h" +#include "portage-models.h" +#include "user-models.h" +#include "users.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include BOOST_GLOBAL_FIXTURE(Service); diff --git a/gentoobrowse-api/unittests/testPortage.cpp b/gentoobrowse-api/unittests/testPortage.cpp index ada192d..c6b3cb4 100644 --- a/gentoobrowse-api/unittests/testPortage.cpp +++ b/gentoobrowse-api/unittests/testPortage.cpp @@ -1,7 +1,22 @@ #define BOOST_TEST_MODULE TestPortage #include +#include "extended-models.h" #include "mockDefs.h" +#include "portage-models.h" +#include "portage.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace Slicer { + class NoRowsReturned; +} BOOST_GLOBAL_FIXTURE(Service); diff --git a/gentoobrowse-api/unittests/testProcessAll.cpp b/gentoobrowse-api/unittests/testProcessAll.cpp index 32f0b70..1074018 100644 --- a/gentoobrowse-api/unittests/testProcessAll.cpp +++ b/gentoobrowse-api/unittests/testProcessAll.cpp @@ -2,10 +2,20 @@ #include #include +#include "fileUtils.h" +#include "portage-models.h" +#include +#include #include -#include +#include +#include #include +#include +#include +#include #include +#include +// IWYU pragma: no_include void testDependRange(const std::optional & r) diff --git a/gentoobrowse-api/unittests/testUsers.cpp b/gentoobrowse-api/unittests/testUsers.cpp index 51ddb08..1b74006 100644 --- a/gentoobrowse-api/unittests/testUsers.cpp +++ b/gentoobrowse-api/unittests/testUsers.cpp @@ -2,7 +2,20 @@ #include #include "mockDefs.h" +#include "user-models.h" +#include "users.h" +#include +#include +#include +#include +#include +#include #include +#include +#include +namespace Slicer { + class NoRowsReturned; +} BOOST_GLOBAL_FIXTURE(Service); diff --git a/gentoobrowse-api/unittests/testUtils.cpp b/gentoobrowse-api/unittests/testUtils.cpp index 8bf8ed2..7302f7b 100644 --- a/gentoobrowse-api/unittests/testUtils.cpp +++ b/gentoobrowse-api/unittests/testUtils.cpp @@ -1,9 +1,15 @@ #define BOOST_TEST_MODULE TestDepend #include +#include "wrap/domparser.h" +#include "wrap/ustring.h" #include -#include +#include +#include +#include // IWYU pragma: keep #include +#include +#include #include #include diff --git a/gentoobrowse-api/util/update.cpp b/gentoobrowse-api/util/update.cpp index 2af64a9..f00cd0b 100644 --- a/gentoobrowse-api/util/update.cpp +++ b/gentoobrowse-api/util/update.cpp @@ -1,6 +1,17 @@ -#include +#include "maintenance.h" +#include +#include +#include +#include +#include #include -#include +#include +#include +#include +#include +#include +#include +#include namespace po = boost::program_options; diff --git a/iwyu.json b/iwyu.json new file mode 100644 index 0000000..f5aea87 --- /dev/null +++ b/iwyu.json @@ -0,0 +1,170 @@ +[ + { + "include": [ + "\"glibmm/ustring.h\"", + "private", + "\"wrap/ustring.h\"", + "public" + ] + }, + { + "symbol": [ + "Glib::Regex", + "private", + "\"wrap/regex.h\"", + "public" + ] + }, + { + "symbol": [ + "Glib::RefPtr", + "private", + "\"wrap/regex.h\"", + "public" + ] + }, + { + "symbol": [ + "Glib::MatchInfo", + "private", + "\"wrap/regex.h\"", + "public" + ] + }, + { + "symbol": [ + "Glib::RegexCompileFlags", + "private", + "\"wrap/regex.h\"", + "public" + ] + }, + { + "symbol": [ + "Glib::REGEX_MULTILINE", + "private", + "\"wrap/regex.h\"", + "public" + ] + }, + { + "symbol": [ + "G_REGEX_MULTILINE", + "private", + "\"wrap/regex.h\"", + "public" + ] + }, + { + "symbol": [ + "G_REGEX_CASELESS", + "private", + "\"wrap/regex.h\"", + "public" + ] + }, + { + "symbol": [ + "G_REGEX_OPTIMIZE", + "private", + "\"wrap/regex.h\"", + "public" + ] + }, + { + "symbol": [ + "G_REGEX_UNGREEDY", + "private", + "\"wrap/regex.h\"", + "public" + ] + }, + { + "symbol": [ + "GRegexCompileFlags", + "private", + "\"wrap/regex.h\"", + "public" + ] + }, + { + "include": [ + "", + "private", + "\"wrap/regex.h\"", + "public" + ] + }, + { + "include": [ + "@", + "private", + "", + "public" + ] + }, + { + "include": [ + "@", + "private", + "", + "public" + ] + }, + { + "include": [ + "@", + "public" + ] + }, + { + "include": [ + "@", + "public" + ] + }, + { + "include": [ + "@", + "public" + ] + }, + { + "include": [ + "@", + "public" + ] + }, + { + "include": [ + "@", + "public" + ] + }, + { + "include": [ + "@", + "public" + ] + }, + { + "include": [ + "@.libxml.*h.", + "private", + "\"wrap/domparser.h\"", + "public" + ] + } +] -- cgit v1.2.3