{"push_id":1536907430,"size":1,"distinct_size":1,"ref":"refs/heads/5.1","head":"0860b96b933138d6bd0c44f8c0745105988d854f","before":"f09049e58970544039038410be0808c5365e3eeb","commits":[{"sha":"0860b96b933138d6bd0c44f8c0745105988d854f","author":{"name":"Friedrich W. H. Kossebau","email":"1d6356cc55a4ba7a9590fb9594b5889177863753@kde.org"},"message":"Allow language plugin metadata JSON to declare support for >1 language\n\nSummary:\nA plugin implementing ILanguageSupport can specify the language supported\nby the plugin JSON metadata key \"X-KDevelop-Language\", which is specified\nto only take one string item.\nThe only known effective user of this metadata is the filetemplates plugin,\nwhich takes the \"Language\" property of a to-be-applied template file to ask\nthe language controller for a matching language plugin, to get a proper\nclass helper object for the code generation.\n\nKDevCLang currently has its \"X-KDevelop-Language\" metadata set to \"C\",\nwhile it can support C, C++ & Objective-C. As a result the language\ncontroller currently will not deliver KDevCLang to the filetemplate plugin\nwhen asked for \"C++\", which then flaws the generation of C++ classes.\n\nThis patch introduces a new key \"X-KDevelop-Languages\" (for semantic correctness)\nto fix this, and emits a temporary warning to help anyone to port their\nlanguage plugins as needed.\n\nReviewers: mwolff, #kdevelop\n\nReviewed By: mwolff, #kdevelop\n\nSubscribers: mwolff, kdevelop-devel\n\nDifferential Revision: https://phabricator.kde.org/D4423","distinct":true,"url":"https://api.github.com/repos/KDE/kdevplatform/commits/0860b96b933138d6bd0c44f8c0745105988d854f"}]}
{"actor":{"display_login":"kdesysadmin"}}