Bug 388428 - Add php import support for KF5 builds
Summary: Add php import support for KF5 builds
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: importer (show other bugs)
Version: 2.24.1 (KDE Applications 17.12.1)
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks: 373932
  Show dependency treegraph
 
Reported: 2018-01-01 18:37 UTC by Ralf Habacker
Modified: 2018-04-04 09:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.24.80 (KDE Applications 18.03.80)
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2018-01-01 18:37:38 UTC
To have php import support for KF5 builds the following fixes are required:
- embed kdev5-php source 
- adapt cmake build system
- fix api changes

Embedding kdev5-php source is required because kdev5-php does not provide a development package
Comment 1 Ralf Habacker 2018-01-01 21:32:57 UTC
Git commit 8341bf81f2e56e4709449de4314e4d23988f6407 by Ralf Habacker.
Committed on 01/01/2018 at 21:31.
Pushed by habacker into branch 'master'.

Add PHP import support for KF5 builds

PHP import support depends on kdevplatform component KDev::Tests.
FIXED-IN:2.24.80 (KDE Applications 18.03.80)

M  +26   -1    CMakeLists.txt
M  +8    -0    umbrello/CMakeLists.txt
M  +7    -1    umbrello/codeimport/phpimport.cpp

https://commits.kde.org/umbrello/8341bf81f2e56e4709449de4314e4d23988f6407
Comment 2 Ralf Habacker 2018-01-01 21:32:57 UTC
Git commit 2e74b748c1b9b18df595bf44567e68f2b2519f52 by Ralf Habacker.
Committed on 01/01/2018 at 21:27.
Pushed by habacker into branch 'master'.

Import kdev-php 5.2.1

A  +15   -0    lib/kdev5-php/AUTHORS
A  +71   -0    lib/kdev5-php/CMakeLists.txt
A  +340  -0    lib/kdev5-php/COPYING
A  +4    -0    lib/kdev5-php/ExtraDesktop.sh
A  +14   -0    lib/kdev5-php/HACKING
A  +7    -0    lib/kdev5-php/Messages.sh
A  +3    -0    lib/kdev5-php/TODO
A  +5    -0    lib/kdev5-php/app_templates/CMakeLists.txt
A  +7    -0    lib/kdev5-php/app_templates/simple_phpapp/%{APPNAME}.php
A  +82   -0    lib/kdev5-php/app_templates/simple_phpapp/simple_phpapp.kdevtemplate
A  +35   -0    lib/kdev5-php/codegen/refactoring.cpp     [License: LGPL (v2+)]
A  +42   -0    lib/kdev5-php/codegen/refactoring.h     [License: LGPL (v2+)]
A  +30   -0    lib/kdev5-php/completion/CMakeLists.txt
A  +122  -0    lib/kdev5-php/completion/codemodelitem.cpp     [License: LGPL (v2+)]
A  +56   -0    lib/kdev5-php/completion/codemodelitem.h     [License: LGPL (v2+)]
A  +22   -0    lib/kdev5-php/completion/completiondebug.cpp     [License: LGPL (v2)]
A  +26   -0    lib/kdev5-php/completion/completiondebug.h     [License: LGPL (v2)]
A  +1779 -0    lib/kdev5-php/completion/context.cpp     [License: LGPL (v2)]
A  +163  -0    lib/kdev5-php/completion/context.h     [License: LGPL (v2)]
A  +213  -0    lib/kdev5-php/completion/helpers.cpp     [License: LGPL (v2+)]
A  +75   -0    lib/kdev5-php/completion/helpers.h     [License: LGPL (v2+)]
A  +275  -0    lib/kdev5-php/completion/implementationitem.cpp     [License: LGPL (v2+)]
A  +54   -0    lib/kdev5-php/completion/implementationitem.h     [License: LGPL (v2+)]
A  +102  -0    lib/kdev5-php/completion/includefileitem.cpp     [License: LGPL (v2+)]
A  +43   -0    lib/kdev5-php/completion/includefileitem.h     [License: LGPL (v2+)]
A  +204  -0    lib/kdev5-php/completion/item.cpp     [License: LGPL (v2+)]
A  +71   -0    lib/kdev5-php/completion/item.h     [License: LGPL (v2+)]
A  +122  -0    lib/kdev5-php/completion/keyworditem.cpp     [License: LGPL (v2+)]
A  +61   -0    lib/kdev5-php/completion/keyworditem.h     [License: LGPL (v2+)]
A  +97   -0    lib/kdev5-php/completion/model.cpp     [License: LGPL (v2+)]
A  +63   -0    lib/kdev5-php/completion/model.h     [License: LGPL (v2+)]
A  +31   -0    lib/kdev5-php/completion/tests/CMakeLists.txt
A  +148  -0    lib/kdev5-php/completion/tests/bench_completion.cpp     [License: LGPL (v2)]
A  +42   -0    lib/kdev5-php/completion/tests/bench_completion.h     [License: LGPL (v2)]
A  +1377 -0    lib/kdev5-php/completion/tests/test_completion.cpp     [License: LGPL (v2)]
A  +104  -0    lib/kdev5-php/completion/tests/test_completion.h     [License: LGPL (v2)]
A  +55   -0    lib/kdev5-php/completion/worker.cpp     [License: LGPL (v2+)]
A  +53   -0    lib/kdev5-php/completion/worker.h     [License: LGPL (v2+)]
A  +700  -0    lib/kdev5-php/create_functions.php
A  +13   -0    lib/kdev5-php/docs/.gitignore
A  +4    -0    lib/kdev5-php/docs/.kateconfig
A  +6    -0    lib/kdev5-php/docs/AUTHORS
A  +47   -0    lib/kdev5-php/docs/CMakeLists.txt
A  +340  -0    lib/kdev5-php/docs/COPYING
A  +13   -0    lib/kdev5-php/docs/CTestConfig.cmake
A  +25   -0    lib/kdev5-php/docs/CTestCustom.cmake
A  +38   -0    lib/kdev5-php/docs/kcm_kdevphpdocs.desktop.cmake
A  +66   -0    lib/kdev5-php/docs/kdevphpdocs.json
A  +33   -0    lib/kdev5-php/docs/kdevphpdocsversion.h.cmake
A  +71   -0    lib/kdev5-php/docs/phpdocsconfig.cpp     [License: GPL (v2/3)]
A  +49   -0    lib/kdev5-php/docs/phpdocsconfig.h     [License: GPL (v2/3)]
A  +93   -0    lib/kdev5-php/docs/phpdocsconfig.ui
A  +22   -0    lib/kdev5-php/docs/phpdocsdebug.cpp     [License: LGPL (v2)]
A  +27   -0    lib/kdev5-php/docs/phpdocsdebug.h     [License: LGPL (v2)]
A  +148  -0    lib/kdev5-php/docs/phpdocsmodel.cpp     [License: GPL (v2/3)]
A  +81   -0    lib/kdev5-php/docs/phpdocsmodel.h     [License: GPL (v2/3)]
A  +224  -0    lib/kdev5-php/docs/phpdocsplugin.cpp     [License: GPL (v2/3)]
A  +66   -0    lib/kdev5-php/docs/phpdocsplugin.h     [License: GPL (v2/3)]
A  +18   -0    lib/kdev5-php/docs/phpdocssettings.kcfg
A  +6    -0    lib/kdev5-php/docs/phpdocssettings.kcfgc
A  +56   -0    lib/kdev5-php/docs/phpdocumentation.cpp     [License: GPL (v2/3)]
A  +55   -0    lib/kdev5-php/docs/phpdocumentation.h     [License: GPL (v2/3)]
A  +106  -0    lib/kdev5-php/docs/phpdocumentationwidget.cpp     [License: GPL (v2/3)]
A  +58   -0    lib/kdev5-php/docs/phpdocumentationwidget.h     [License: GPL (v2/3)]
A  +52   -0    lib/kdev5-php/duchain/CMakeLists.txt
A  +497  -0    lib/kdev5-php/duchain/builders/contextbuilder.cpp     [License: LGPL (v2+)]
A  +128  -0    lib/kdev5-php/duchain/builders/contextbuilder.h     [License: LGPL (v2+)]
A  +1505 -0    lib/kdev5-php/duchain/builders/declarationbuilder.cpp     [License: LGPL (v2+)]
A  +239  -0    lib/kdev5-php/duchain/builders/declarationbuilder.h     [License: LGPL (v2+)]
A  +209  -0    lib/kdev5-php/duchain/builders/predeclarationbuilder.cpp     [License: LGPL (v2+)]
A  +88   -0    lib/kdev5-php/duchain/builders/predeclarationbuilder.h     [License: LGPL (v2+)]
A  +580  -0    lib/kdev5-php/duchain/builders/typebuilder.cpp     [License: LGPL (v2+)]
A  +89   -0    lib/kdev5-php/duchain/builders/typebuilder.h     [License: LGPL (v2+)]
A  +275  -0    lib/kdev5-php/duchain/builders/usebuilder.cpp     [License: LGPL (v2+)]
A  +81   -0    lib/kdev5-php/duchain/builders/usebuilder.h     [License: LGPL (v2+)]
A  +364  -0    lib/kdev5-php/duchain/completioncodemodel.cpp     [License: LGPL (v2)]
A  +90   -0    lib/kdev5-php/duchain/completioncodemodel.h     [License: LGPL (v2)]
A  +138  -0    lib/kdev5-php/duchain/declarations/classdeclaration.cpp     [License: LGPL (v2+)]
A  +78   -0    lib/kdev5-php/duchain/declarations/classdeclaration.h     [License: LGPL (v2+)]
A  +110  -0    lib/kdev5-php/duchain/declarations/classmethoddeclaration.cpp     [License: LGPL (v2+)]
A  +86   -0    lib/kdev5-php/duchain/declarations/classmethoddeclaration.h     [License: LGPL (v2+)]
A  +88   -0    lib/kdev5-php/duchain/declarations/functiondeclaration.cpp     [License: LGPL (v2+)]
A  +76   -0    lib/kdev5-php/duchain/declarations/functiondeclaration.h     [License: LGPL (v2+)]
A  +78   -0    lib/kdev5-php/duchain/declarations/namespacealiasdeclaration.cpp     [License: LGPL (v2+)]
A  +75   -0    lib/kdev5-php/duchain/declarations/namespacealiasdeclaration.h     [License: LGPL (v2+)]
A  +78   -0    lib/kdev5-php/duchain/declarations/namespacedeclaration.cpp     [License: LGPL (v2+)]
A  +74   -0    lib/kdev5-php/duchain/declarations/namespacedeclaration.h     [License: LGPL (v2+)]
A  +84   -0    lib/kdev5-php/duchain/declarations/traitmemberaliasdeclaration.cpp     [License: LGPL (v2+)]
A  +90   -0    lib/kdev5-php/duchain/declarations/traitmemberaliasdeclaration.h     [License: LGPL (v2+)]
A  +136  -0    lib/kdev5-php/duchain/declarations/traitmethodaliasdeclaration.cpp     [License: LGPL (v2+)]
A  +85   -0    lib/kdev5-php/duchain/declarations/traitmethodaliasdeclaration.h     [License: LGPL (v2+)]
A  +81   -0    lib/kdev5-php/duchain/declarations/variabledeclaration.cpp     [License: LGPL (v2+)]
A  +79   -0    lib/kdev5-php/duchain/declarations/variabledeclaration.h     [License: LGPL (v2+)]
A  +22   -0    lib/kdev5-php/duchain/duchaindebug.cpp     [License: LGPL (v2)]
A  +26   -0    lib/kdev5-php/duchain/duchaindebug.h     [License: LGPL (v2)]
A  +120  -0    lib/kdev5-php/duchain/dumptypes.cpp     [License: LGPL (v2)]
A  +69   -0    lib/kdev5-php/duchain/dumptypes.h     [License: LGPL (v2)]
A  +85   -0    lib/kdev5-php/duchain/editorintegrator.cpp     [License: LGPL (v2)]
A  +127  -0    lib/kdev5-php/duchain/editorintegrator.h     [License: LGPL (v2)]
A  +123  -0    lib/kdev5-php/duchain/expressionevaluationresult.cpp     [License: LGPL (v2)]
A  +75   -0    lib/kdev5-php/duchain/expressionevaluationresult.h     [License: LGPL (v2)]
A  +99   -0    lib/kdev5-php/duchain/expressionparser.cpp     [License: LGPL (v2+)]
A  +77   -0    lib/kdev5-php/duchain/expressionparser.h     [License: LGPL (v2+)]
A  +819  -0    lib/kdev5-php/duchain/expressionvisitor.cpp     [License: LGPL (v2+)]
A  +111  -0    lib/kdev5-php/duchain/expressionvisitor.h     [License: LGPL (v2+)]
A  +421  -0    lib/kdev5-php/duchain/helper.cpp     [License: LGPL (v2+)]
A  +89   -0    lib/kdev5-php/duchain/helper.h     [License: LGPL (v2+)]
A  +178  -0    lib/kdev5-php/duchain/navigation/declarationnavigationcontext.cpp     [License: LGPL (v2)]
A  +46   -0    lib/kdev5-php/duchain/navigation/declarationnavigationcontext.h     [License: LGPL (v2)]
A  +30   -0    lib/kdev5-php/duchain/navigation/includenavigationcontext.cpp     [License: LGPL (v2)]
A  +33   -0    lib/kdev5-php/duchain/navigation/includenavigationcontext.h     [License: LGPL (v2)]
A  +124  -0    lib/kdev5-php/duchain/navigation/magicconstantnavigationcontext.cpp     [License: LGPL (v2)]
A  +41   -0    lib/kdev5-php/duchain/navigation/magicconstantnavigationcontext.h     [License: LGPL (v2)]
A  +87   -0    lib/kdev5-php/duchain/navigation/navigationwidget.cpp     [License: LGPL (v2)]
A  +71   -0    lib/kdev5-php/duchain/navigation/navigationwidget.h     [License: LGPL (v2)]
A  +80   -0    lib/kdev5-php/duchain/phpducontext.cpp     [License: LGPL (v2)]
A  +72   -0    lib/kdev5-php/duchain/phpducontext.h     [License: LGPL (v2)]
A  +67   -0    lib/kdev5-php/duchain/tests/CMakeLists.txt
A  +101  -0    lib/kdev5-php/duchain/tests/benchmarks.cpp     [License: LGPL (v2)]
A  +46   -0    lib/kdev5-php/duchain/tests/benchmarks.h     [License: LGPL (v2)]
A  +3023 -0    lib/kdev5-php/duchain/tests/duchain.cpp     [License: LGPL (v2)]
A  +159  -0    lib/kdev5-php/duchain/tests/duchain.h     [License: LGPL (v2)]
A  +324  -0    lib/kdev5-php/duchain/tests/duchain_multiplefiles.cpp     [License: LGPL (v2)]
A  +55   -0    lib/kdev5-php/duchain/tests/duchain_multiplefiles.h     [License: LGPL (v2)]
A  +213  -0    lib/kdev5-php/duchain/tests/duchaintestbase.cpp     [License: LGPL (v2)]
A  +85   -0    lib/kdev5-php/duchain/tests/duchaintestbase.h     [License: LGPL (v2)]
A  +665  -0    lib/kdev5-php/duchain/tests/expressionparser.cpp     [License: LGPL (v2)]
A  +69   -0    lib/kdev5-php/duchain/tests/expressionparser.h     [License: LGPL (v2)]
A  +1225 -0    lib/kdev5-php/duchain/tests/uses.cpp     [License: LGPL (v2)]
A  +92   -0    lib/kdev5-php/duchain/tests/uses.h     [License: LGPL (v2)]
A  +134  -0    lib/kdev5-php/duchain/types/indexedcontainer.cpp     [License: GPL (v2+)]
A  +96   -0    lib/kdev5-php/duchain/types/indexedcontainer.h     [License: GPL (v2+)]
A  +85   -0    lib/kdev5-php/duchain/types/integraltypeextended.cpp     [License: LGPL (v2+)]
A  +90   -0    lib/kdev5-php/duchain/types/integraltypeextended.h     [License: LGPL (v2+)]
A  +75   -0    lib/kdev5-php/duchain/types/structuretype.cpp     [License: LGPL (v2+)]
A  +103  -0    lib/kdev5-php/duchain/types/structuretype.h     [License: LGPL (v2+)]
A  +10   -0    lib/kdev5-php/kdevphpsupport.categories
A  +67   -0    lib/kdev5-php/kdevphpsupport.json
A  +33   -0    lib/kdev5-php/kdevphpversion.h.cmake
A  +37   -0    lib/kdev5-php/org.kde.kdev-php.metainfo.xml
A  +35   -0    lib/kdev5-php/parser/CMakeLists.txt
A  +43   -0    lib/kdev5-php/parser/main.cpp     [License: LGPL (v2+)]
A  +22   -0    lib/kdev5-php/parser/parserdebug.cpp     [License: LGPL (v2)]
A  +26   -0    lib/kdev5-php/parser/parserdebug.h     [License: LGPL (v2)]
A  +178  -0    lib/kdev5-php/parser/parsesession.cpp     [License: GPL (v2+)]
A  +91   -0    lib/kdev5-php/parser/parsesession.h     [License: GPL (v2+)]
A  +1207 -0    lib/kdev5-php/parser/php.g
A  +1035 -0    lib/kdev5-php/parser/phplexer.cpp     [License: LGPL (v2+)]
A  +101  -0    lib/kdev5-php/parser/phplexer.h     [License: LGPL (v2+)]
A  +14   -0    lib/kdev5-php/parser/test/CMakeLists.txt
A  +544  -0    lib/kdev5-php/parser/test/lexertest.cpp     [License: LGPL (v2)]
A  +78   -0    lib/kdev5-php/parser/test/lexertest.h     [License: LGPL (v2)]
A  +73   -0    lib/kdev5-php/parser/test/test-tokenize.php
A  +211  -0    lib/kdev5-php/parser/test/tests.php
A  +30   -0    lib/kdev5-php/parser/test/tokenize.php
A  +60   -0    lib/kdev5-php/parser/testparser.sh
A  +41   -0    lib/kdev5-php/parser/tokenstream.h     [License: LGPL (v2+)]
A  +22   -0    lib/kdev5-php/phpdebug.cpp     [License: LGPL (v2)]
A  +26   -0    lib/kdev5-php/phpdebug.h     [License: LGPL (v2)]
A  +102659 -0    lib/kdev5-php/phpfunctions.php
A  +70   -0    lib/kdev5-php/phphighlighting.cpp     [License: GPL (v2+)]
A  +37   -0    lib/kdev5-php/phphighlighting.h     [License: GPL (v2+)]
A  +189  -0    lib/kdev5-php/phplanguagesupport.cpp     [License: GPL (v2+)]
A  +96   -0    lib/kdev5-php/phplanguagesupport.h     [License: GPL (v2+)]
A  +249  -0    lib/kdev5-php/phpparsejob.cpp     [License: GPL (v2+)]
A  +75   -0    lib/kdev5-php/phpparsejob.h     [License: GPL (v2+)]
A  +30   -0    lib/kdev5-php/testprovider/CMakeLists.txt
A  +122  -0    lib/kdev5-php/testprovider/kdevphpunitprovider.desktop.cmake
A  +50   -0    lib/kdev5-php/testprovider/kdevphpunitprovider.json
A  +10   -0    lib/kdev5-php/testprovider/phpunitdeclarations.php
A  +180  -0    lib/kdev5-php/testprovider/phpunitprovider.cpp     [License: LGPL (v2+)]
A  +52   -0    lib/kdev5-php/testprovider/phpunitprovider.h     [License: LGPL (v2+)]
A  +200  -0    lib/kdev5-php/testprovider/phpunitrunjob.cpp     [License: LGPL (v2+)]
A  +65   -0    lib/kdev5-php/testprovider/phpunitrunjob.h     [License: LGPL (v2+)]
A  +90   -0    lib/kdev5-php/testprovider/phpunittestsuite.cpp     [License: LGPL (v2+)]
A  +64   -0    lib/kdev5-php/testprovider/phpunittestsuite.h     [License: LGPL (v2+)]
A  +55   -0    lib/kdev5-php/testprovider/testdoxdelegate.cpp     [License: LGPL (v2+)]
A  +42   -0    lib/kdev5-php/testprovider/testdoxdelegate.h     [License: LGPL (v2+)]
A  +22   -0    lib/kdev5-php/testprovider/testproviderdebug.cpp     [License: LGPL (v2)]
A  +26   -0    lib/kdev5-php/testprovider/testproviderdebug.h     [License: LGPL (v2)]

https://commits.kde.org/umbrello/2e74b748c1b9b18df595bf44567e68f2b2519f52
Comment 3 Ralf Habacker 2018-01-01 21:32:58 UTC
Git commit e54c21b74709507feb5e1370b9ee74eb014acb87 by Ralf Habacker.
Committed on 01/01/2018 at 21:31.
Pushed by habacker into branch 'master'.

kdev-php fixes for embedding into umbrello source

M  +7    -1    lib/kdev5-php/CMakeLists.txt
M  +15   -4    lib/kdev5-php/parser/CMakeLists.txt
M  +1    -0    lib/kdev5-php/parser/php.g

https://commits.kde.org/umbrello/e54c21b74709507feb5e1370b9ee74eb014acb87