--===============0511176536==
Content-Type: multipart/alternative;
boundary="===============7487516641144412618=="
--===============7487516641144412618==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105009/
-----------------------------------------------------------
(Updated June 3, 2012, 6:55 p.m.)
Review request for KDevelop, Milian Wolff and Alexander Dymo.
Changes
-------
Fix small but important typo. =
Description
-------
Implement loading templates from local file. Lodaded templates are immediat=
ely selected for convenience. Their descriptions are extracted, but their i=
cons are not. I will add icon-extraction after the initial code is reviewed=
. The archive files are copied to a ~/.kde/share/apps/kdevappwizard/templat=
es/ where the existing code picks them up. =
Templates can also be downloaded from kde-files, from the "New Project" dia=
log (first screenshot). So far there are only two templates there, and they=
both work as expected. =
Additionally, I enabled loading .kdevtemplate files directly and compressin=
g the containing directory. =
Last, there is a new page in KDevelop settings, where templates can be impo=
rted, downloaded or uploaded. Because this page share most of the functiona=
lity (especially the model) with the "New Project" dialog, I moved some of =
the code from plugins/appwizard to language/codegen. It will also be useful=
for implementing file templates. =
Diffs (updated)
-----
interfaces/CMakeLists.txt c3e072d125a084f31f81b75640bb52077a9ee51c =
interfaces/itemplateprovider.h PRE-CREATION =
interfaces/itemplateprovider.cpp PRE-CREATION =
language/CMakeLists.txt 8efd967db3dbc5bf503ce33033555bd712fa7896 =
language/codegen/multilevellistview.h PRE-CREATION =
language/codegen/multilevellistview.cpp PRE-CREATION =
language/codegen/templatesmodel.h PRE-CREATION =
language/codegen/templatesmodel.cpp PRE-CREATION =
plugins/CMakeLists.txt f401c830bfbde9f7153b7a084a0a8889ac9ec111 =
plugins/appwizard/CMakeLists.txt 0e2119197765ad514b8827fda5afe7254f8ea788 =
plugins/appwizard/appwizardplugin.h 51333b19c56f6898f1b537a40e33918a2f92c=
574 =
plugins/appwizard/appwizardplugin.cpp cac268a57a5a75ab1bae92b3150d1e4b5ea=
03ae9 =
plugins/appwizard/kdevappwizard.desktop 2ebe59b96d5273c167134edec4f208613=
5187c63 =
plugins/appwizard/kdevappwizard.knsrc PRE-CREATION =
plugins/appwizard/projectselectionpage.h 745a1efa1d00c2ac4fe215b7242cf2ed=
09981e9e =
plugins/appwizard/projectselectionpage.cpp 373c66f7e1218858651d38678cc101=
0b4764308a =
plugins/appwizard/projectselectionpage.ui 7a33fdd2c68831776ea5dc8d7259afa=
831854a41 =
plugins/appwizard/projecttemplatesmodel.h cbd91e976e1472dc29d9bc263268bf7=
1d86ec229 =
plugins/appwizard/projecttemplatesmodel.cpp 1fe09efec92d85c71679648408e89=
72b1ddd4971 =
plugins/templatemanager/CMakeLists.txt PRE-CREATION =
plugins/templatemanager/kdevtemplatemanager_config.desktop PRE-CREATION =
plugins/templatemanager/templateconfig.h PRE-CREATION =
plugins/templatemanager/templateconfig.cpp PRE-CREATION =
plugins/templatemanager/templateconfig.ui PRE-CREATION =
plugins/templatemanager/templatepage.h PRE-CREATION =
plugins/templatemanager/templatepage.cpp PRE-CREATION =
plugins/templatemanager/templatepage.ui PRE-CREATION =
Diff: http://git.reviewboard.kde.org/r/105009/diff/
Testing
-------
Tested locally, archives shipped with KAppTemplate are loaded (as either ar=
chive files or uncompressed directories) successfully. =
Both downloading and uploading with KNewStuff works. =
Screenshots
-----------
New buttons in template selection
http://git.reviewboard.kde.org/r/105009/s/575/
Template Settings
http://git.reviewboard.kde.org/r/105009/s/589/
Thanks,
Miha =C4=8Can=C4=8Dula
--===============7487516641144412618==
Content-Type: text/html; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Review request for KDevelop, Milian Wolff and Alexander Dymo.
By Miha =C4=8Can=C4=8Dula.
Updated June 3, 2012, 6:55 p.m.
Changes=
h1>
Fix small but important typo.
|
Descripti=
on
Implement loading templates from local file. Lodaded templat=
es are immediately selected for convenience. Their descriptions are extract=
ed, but their icons are not. I will add icon-extraction after the initial c=
ode is reviewed. The archive files are copied to a ~/.kde/share/apps/kdevap=
pwizard/templates/ where the existing code picks them up. =
Templates can also be downloaded from kde-files, from the "New Project=
" dialog (first screenshot). So far there are only two templates there=
, and they both work as expected. =
Additionally, I enabled loading .kdevtemplate files directly and compressin=
g the containing directory. =
Last, there is a new page in KDevelop settings, where templates can be impo=
rted, downloaded or uploaded. Because this page share most of the functiona=
lity (especially the model) with the "New Project" dialog, I move=
d some of the code from plugins/appwizard to language/codegen. It will also=
be useful for implementing file templates.
|
Testing <=
/h1>
Tested locally, archives shipped with KAppTemplate are loade=
d (as either archive files or uncompressed directories) successfully. =
Both downloading and uploading with KNewStuff works.
|
Diffs=
(updated)
- interfaces/CMakeLists.txt (c3e072d125a084f=
31f81b75640bb52077a9ee51c)
- interfaces/itemplateprovider.h (PRE-CREATI=
ON)
- interfaces/itemplateprovider.cpp (PRE-CREA=
TION)
- language/CMakeLists.txt (8efd967db3dbc5bf5=
03ce33033555bd712fa7896)
- language/codegen/multilevellistview.h (PRE=
-CREATION)
- language/codegen/multilevellistview.cpp (P=
RE-CREATION)
- language/codegen/templatesmodel.h (PRE-CRE=
ATION)
- language/codegen/templatesmodel.cpp (PRE-C=
REATION)
- plugins/CMakeLists.txt (f401c830bfbde9f715=
3b7a084a0a8889ac9ec111)
- plugins/appwizard/CMakeLists.txt (0e211919=
7765ad514b8827fda5afe7254f8ea788)
- plugins/appwizard/appwizardplugin.h (51333=
b19c56f6898f1b537a40e33918a2f92c574)
- plugins/appwizard/appwizardplugin.cpp (cac=
268a57a5a75ab1bae92b3150d1e4b5ea03ae9)
- plugins/appwizard/kdevappwizard.desktop (2=
ebe59b96d5273c167134edec4f2086135187c63)
- plugins/appwizard/kdevappwizard.knsrc (PRE=
-CREATION)
- plugins/appwizard/projectselectionpage.h (=
745a1efa1d00c2ac4fe215b7242cf2ed09981e9e)
- plugins/appwizard/projectselectionpage.cpp (373c66f7e1218858651d38678cc1010b4764308a)
- plugins/appwizard/projectselectionpage.ui =
(7a33fdd2c68831776ea5dc8d7259afa831854a41)
- plugins/appwizard/projecttemplatesmodel.h =
(cbd91e976e1472dc29d9bc263268bf71d86ec229)
- plugins/appwizard/projecttemplatesmodel.cpp (PR=
E-CREATION)
- plugins/templatemanager/kdevtemplatemanager_config.desktop (PRE-CREATION)
- plugins/templatemanager/templateconfig.h (=
PRE-CREATION)
- plugins/templatemanager/templateconfig.cpp (PRE-CREATION)
- plugins/templatemanager/templateconfig.ui =
(PRE-CREATION)
- plugins/templatemanager/templatepage.h (PR=
E-CREATION)
- plugins/templatemanager/templatepage.cpp (=
PRE-CREATION)
- plugins/templatemanager/templatepage.ui (P=
RE-CREATION)
View Diff
Screensho=
ts
|
--===============7487516641144412618==--
--===============0511176536==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--
KDevelop-devel mailing list
KDevelop-devel@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
--===============0511176536==--