Review Request: Add support for "language features"
Andreas Pakulat
apaku at gmx.de
Wed Jul 4 08:02:30 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105299/#review15362
-----------------------------------------------------------
Hmm, what does the stringlist contain? I don't like string's to transport type-like information and features of a language do rather sound like a flags-type. I'm also wondering what this thing does that needs it in the buildsystem manager and not in the language support itself? An implementation for both sides would probably help understanding the intent.
Oh and even if its decided to go into the project interface I'd say it should be in the base interface, not the buildsystem one so project managers which have no buildsystem support can still supply this feature.
- Andreas Pakulat
On June 20, 2012, 1:43 a.m., Alexandre Courbot wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105299/
> -----------------------------------------------------------
>
> (Updated June 20, 2012, 1:43 a.m.)
>
>
> Review request for KDevelop.
>
>
> Description
> -------
>
> Add support for "language features"
>
> Sometimes the same language can run using different variants - the most
> obvious example is the C++ language support, which may also support C
> and other variants and behave differently according to the type of file.
>
> This patch adds a new method to IBuildSystemManager allowing it to get a
> list of features to pass to ILanguageSupport::createParseJob as an
> additional argument. ILanguageSupport can then adapt the behavior of its
> parser according to the features the build manager says the parsed file
> uses.
>
> Corresponding support for kdevelop (since this patch breaks API compatibility) is there: https://git.reviewboard.kde.org/r/105300/
>
>
> Diffs
> -----
>
> language/backgroundparser/backgroundparser.cpp 417a8e4b7f38acfa959959895f186c11e3a76f93
> language/backgroundparser/tests/testlanguagesupport.h ed3864c9e8da8eed97d3d91500eec6c623fae41e
> language/backgroundparser/tests/testlanguagesupport.cpp 3f88894d728610ebd433bff46936f38dcd2138be
> language/interfaces/ilanguagesupport.h 22cedf09656aaf80275dd3a14d3752003fe9a912
> project/interfaces/ibuildsystemmanager.h c0813d8f781b0be29829b9278f191299af823b68
> project/interfaces/ibuildsystemmanager.cpp 74af0e76f8c8bc9276d79ff54be4d3d41927c298
>
> Diff: http://git.reviewboard.kde.org/r/105299/diff/
>
>
> Testing
> -------
>
> Compiled kdevplatform & updated kdevelop, checked things were working.
>
>
> Thanks,
>
> Alexandre Courbot
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20120704/bc3d5473/attachment.html>
More information about the KDevelop-devel
mailing list