Re: CMake config & target challenges on moving to KF5 namespace; dir structure & API dox (Re: Submitting Grantlee as a KF5 Framework)

2019-12-29 Thread Stephen Kelly
On 28/12/2019 23:30, Friedrich W. H. Kossebau wrote: Why are you proposing to do a step back instead to the old state, which everyone including you considered not that satisfying? Because it's a temporary situation. We still have a way forward in KF6 (which will open in a few months). Gen

Re: CMake config & target challenges on moving to KF5 namespace; dir structure & API dox (Re: Submitting Grantlee as a KF5 Framework)

2019-12-28 Thread Stephen Kelly
On 22/12/2019 16:08, Stephen Kelly wrote: On 21/12/2019 23:55, Friedrich W. H. Kossebau wrote: Perhaps joining the "Release Service" (formerly known as "KDE Applications") is a better place then, it also contains a set of libraries already. That would serve the purpos

Re: CMake config & target challenges on moving to KF5 namespace; dir structure & API dox (Re: Submitting Grantlee as a KF5 Framework)

2019-12-22 Thread Stephen Kelly
On 21/12/2019 23:55, Friedrich W. H. Kossebau wrote: Perhaps joining the "Release Service" (formerly known as "KDE Applications") is a better place then, it also contains a set of libraries already. That would serve the purpose of having releases happening regularly. The goals of making Gran

Re: CMake config & target challenges on moving to KF5 namespace; dir structure & API dox (Re: Submitting Grantlee as a KF5 Framework)

2019-12-21 Thread Stephen Kelly
On 21/12/2019 19:12, Friedrich W. H. Kossebau wrote: Am Samstag, 21. Dezember 2019, 13:03:17 CET schrieb Stephen Kelly: Great, Grantlee is now available at g...@git.kde.org:grantlee.git. I've pushed a few commits to make it depend on ECM etc. Once the review period is finished it c

Re: CMake config & target challenges on moving to KF5 namespace; dir structure & API dox (Re: Submitting Grantlee as a KF5 Framework)

2019-12-21 Thread Stephen Kelly
On 21/12/2019 21:33, Volker Krause wrote: * Attracting external components and having them opt to move under the Frameworks umbrella is a sign that we are doing things right IMHO. So let's make this easy for people and avoid scaring off their users by forcing a larger migration on them when joi

Re: Submitting Grantlee as a KF5 Framework

2019-12-21 Thread Stephen Kelly
On 08/12/2019 10:12, laurent Montel wrote: Le dimanche 8 décembre 2019, 10:52:19 CET Volker Krause a écrit : Hi, very happy to see Grantlee "coming home" :) Technically I think it's largely in line with Frameworks requirements already, and it has been reliably powering e.g. KMail's message v

Re: KDE CI: Frameworks kcoreaddons kf5-qt5 XenialQt5.7 - Build # 23 - Failure!

2017-06-16 Thread Stephen Kelly
Hi Ben, Thanks for looking into this! >From reading your email, it seems that the correct path is in GPB_PYTHON3_INCLUDE_DIR, but that is not being added as an include directory to compile the code. >From reading the ECM code (FindPythonModuleGeneration.cmake) I don't see how that could be. Als

D5821: KViewStateSerializer: Fix crash when view is destroyed before state serializer

2017-06-01 Thread Stephen Kelly
skelly accepted this revision. This revision is now accepted and ready to land. REPOSITORY R236 KWidgetsAddons REVISION DETAIL https://phabricator.kde.org/D5821 To: cfeck, #frameworks, skelly Cc: mlaurent

D5289: Import Find{Clang,LLVM} from KDevelop for Python bindings generation

2017-05-28 Thread Stephen Kelly
skelly added a comment. My preference would be to use the ClangConfig.cmake instead of introducing these new files. REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D5289 To: heikobecker, #frameworks, #build_system, skelly, kfunk Cc: rdieter, shaheed, kde-

Re: Problems with Python bindings in KF5

2017-05-28 Thread Stephen Kelly
On 05/26/2017 10:21 PM, Albert Astals Cid wrote: > El dijous, 25 de maig de 2017, a les 1:02:58 CEST, Stephen Kelly va escriure: >> On 04/15/2017 10:53 PM, Luca Beltrame wrote: >>> I can't understand the error thrown by ki18n (when it does not build) or >>> I&#

Re: Problems with Python bindings in KF5

2017-05-24 Thread Stephen Kelly
On 04/15/2017 10:53 PM, Luca Beltrame wrote: > I can't understand the error thrown by ki18n (when it does not build) or I'd > have attempted to fix it myself... Hi, sorry for my delayed response. Should we disable the ki18n bindings at this point? I'm fine with doing that until someone can repro

Re: Problems with Python bindings in KF5

2017-05-05 Thread Stephen Kelly
On 05/05/2017 11:21 AM, David Faure wrote: > On samedi 15 avril 2017 16:17:43 CEST Luca Beltrame wrote: >> In data sabato 15 aprile 2017 16:10:24 CEST, Luca Beltrame ha scritto: >>> https://build.opensuse.org/build/ >>> home:luca_b:branches:KDE:Unstable:Frameworks/openSUSE_Factory/x86_64/ki18n >>>

[Differential] [Commented On] D4509: Python bindings: Some comment-only tidyups and PEP-8 fixes.

2017-02-12 Thread Stephen Kelly
skelly added a comment. In https://phabricator.kde.org/D4509#85725, @shaheed wrote: > The PEP-8 changes are some blank line changes. There is exactly one blank line insertion, and it makes this TypedefRuleDb documentation inconsistent with, say, the VariableRuleDb, which doesn't h

[Differential] [Commented On] D4510: Python bindings: Restore handling of deprecated constructs.

2017-02-12 Thread Stephen Kelly
skelly added inline comments. INLINE COMMENTS > sip_generator.py:172 > """ > +if member.kind == CursorKind.UNEXPOSED_ATTR and > text.find("_DEPRECATED") != -1: > +sip["annotations"].add("Deprecated") It was possible to handle exports without looking for the text EXP

[Differential] [Commented On] D4509: Python bindings: Some comment-only tidyups and PEP-8 fixes.

2017-02-12 Thread Stephen Kelly
skelly added inline comments. INLINE COMMENTS > rules_engine.py:58 > +# Keep PyCharm happy. > +_ = _ > + I don't think this should be here. > rules_engine.py:494 > nameThe name of the > typedef. > +fn_resu

[Differential] [Updated] D4509: Python bindings: Some comment-only tidyups and PEP-8 fixes.

2017-02-12 Thread Stephen Kelly
skelly added a comment. Is anything here actually a PEP 8 fix? REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D4509 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: shaheed, #build_system, #frameworks, skelly Cc: #fram

Re: KConfig issues prevent compiling KDE applications under Windows

2017-02-04 Thread Stephen Kelly
On 02/04/2017 12:49 PM, David Faure wrote: >> @David Faure, when do you plan on tagging this change? For now I committed >> a change to the auto test so it will at least build on Windows >> (b939b48f8d5e5eaf9a51a7e9bda2ad8cedca27d9) which should be included. Would >> there be time to remove KEntr

Re: KConfig issues prevent compiling KDE applications under Windows

2017-02-04 Thread Stephen Kelly
>> Hi, >> Apparently it is since eab822e20620 (Jan 15). >> ​The bug #​375654 does not seem to provide version info but the fix isn't >> just released, right? CC'd Stephen Kelly. > It seems this class was exported so it can be accessed through the Python > bin

Re: Qt::WindowFlags f = nullptr in framworks headers

2017-01-21 Thread Stephen Kelly
Kevin Funk wrote: > On Wednesday, 18 January 2017 21:12:07 CET Stephen Kelly wrote: >> Hello, >> >> As a result of the recent porting from 0 to nullptr, we have things like >> >> Qt::WindowFlags f = nullptr >> >> in frameworks headers. S

[Differential] [Commented On] D3987: Use nullptr in all Frameworks (just diff in KIO shown here)

2017-01-18 Thread Stephen Kelly
skelly added a comment. It's true that QFlags has a ctor taking a nullptr. The bindings-related problem was in our handling of enums by prepending a namespace, so we would end up with Qt::nullptr. I've fixed that in ECM, and also fixed handling of = {} for various types too. So, at leas

Re: Review Request 129724: [frameworks] Enable -Wsuggest-override for g++ >= 5.0.0

2017-01-18 Thread Stephen Kelly
ps://git.reviewboard.kde.org/r/129724/ > --- > > (Updated Jan. 16, 2017, 9:12 a.m.) > > > Review request for Build System, KDE Frameworks and Stephen Kelly. > > > Repository: extra-cmake-modules > > > Description > --- > > Gives a nice warning about somethi

[Differential] [Commented On] D3987: Use nullptr in all Frameworks (just diff in KIO shown here)

2017-01-18 Thread Stephen Kelly
skelly added a comment. In https://phabricator.kde.org/D3987#78468, @dfaure wrote: > {} sounds like the best solution to me. I think that should be used instead of nullptr anyway. void foo(const QModelIndex& idx = {}); is obviously better than void foo(const QModelIn

Re: Review Request 129760: Fixup handling of KFontUtils::adaptFontSize's flags' default value.

2017-01-18 Thread Stephen Kelly
On 01/18/2017 12:41 PM, Shaheed Haque wrote: > Hi Steve, > > I have verified this works on KDE/master, and will close the review. > > I did see a "funny" in that I had to run CMake twice in a fresh > directory before it would run clean. You might want to look into that > as it was not clear to me w

Qt::WindowFlags f = nullptr in framworks headers

2017-01-18 Thread Stephen Kelly
Hello, As a result of the recent porting from 0 to nullptr, we have things like Qt::WindowFlags f = nullptr in frameworks headers. See for example kruler. That is - enum default parameter values have been ported incorrectly. I don't know if some clang tooling is being used to do the porting,

Re: Review Request 129760: Fixup handling of KFontUtils::adaptFontSize's flags' default value.

2017-01-13 Thread Stephen Kelly
> On Jan. 5, 2017, 10:56 p.m., Stephen Kelly wrote: > > I've added the change to the unit test. It already passes, so it's not > > clear to me what else is needed from this review request. > > Shaheed Haque wrote: > What version of SIP compiler and

Re: Review Request 129760: Fixup handling of KFontUtils::adaptFontSize's flags' default value.

2017-01-05 Thread Stephen Kelly
> On Jan. 5, 2017, 10:56 p.m., Stephen Kelly wrote: > > I've added the change to the unit test. It already passes, so it's not > > clear to me what else is needed from this review request. > > Shaheed Haque wrote: > What version of SIP compiler and

Re: Review Request 129760: Fixup handling of KFontUtils::adaptFontSize's flags' default value.

2017-01-05 Thread Stephen Kelly
asses, so it's not clear to me what else is needed from this review request. - Stephen Kelly On Jan. 3, 2017, 12:47 p.m., Shaheed Haque wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://g

Re: To C++11 or not?

2017-01-03 Thread Stephen Kelly
who are working on frameworks, >>> which >>> is where the benefit of "override" is. >> What's the plan to enforce that? How is build.kde.org checking that we >> don't use override instead of Q_DECL_OVERRIDE? > I guess you can stop worrying. Stephen Ke

Re: Review Request 129657: Fix assert (in beginRemoveRows) when deselecting an empty child of a selected child in korganizer

2016-12-15 Thread Stephen Kelly
st" + QByteArray::number(testNumber)).data()) + << static_cast(kspm_mode) << connectSelectionModelFirst << false + << QStringList{"6", "8", "11"} << 4 + << 0 + << Q

Re: Review Request 129657: Fix assert (in beginRemoveRows) when deselecting an empty child of a selected child in korganizer

2016-12-15 Thread Stephen Kelly
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/129657/#review101463 --- Ship it! Ship It! - Stephen Kelly On Dec. 15, 2016

Re: python binding's __init__.py

2016-11-15 Thread Stephen Kelly
Harald Sitter wrote: > Alohas > > I am currently trying to package kitemmodels' python bindings. The > module generator installs > > -./usr/lib/python2.7/dist-packages/PyKF5/__init__.py > -./usr/lib/python2.7/dist-packages/PyKF5/KItemModels.so > > This will cause a fairly shitty problem on pack

Re: Review Request 127141: KModelIndexProxyMapper: Simplify logic of connected check

2016-10-20 Thread Stephen Kelly
/127141/diff/ Testing --- Thanks, Stephen Kelly

Re: Review Request 127139: Add unit test for KModelIndexProxyMapper.

2016-10-20 Thread Stephen Kelly
: https://git.reviewboard.kde.org/r/127139/diff/ Testing --- Thanks, Stephen Kelly

Re: Review Request 127148: KLinkItemSelectionModel: Add new default constructor.

2016-10-20 Thread Stephen Kelly
1b676e87128d83586b62f94f9652b25111e766a5 Diff: https://git.reviewboard.kde.org/r/127148/diff/ Testing --- Thanks, Stephen Kelly

Re: Review Request 127147: KLinkItemSelectionModel: Make the linked selection model settable

2016-10-20 Thread Stephen Kelly
/klinkitemselectionmodeltest.cpp 74d72e4858dfd8bab48a71d260af86d838484d26 src/klinkitemselectionmodel.h c871121fa9a791b6030f5ff3a104d8d3bdcbe79d src/klinkitemselectionmodel.cpp 1b676e87128d83586b62f94f9652b25111e766a5 Diff: https://git.reviewboard.kde.org/r/127147/diff/ Testing --- Thanks, Stephen

Re: Review Request 127145: KLinkItemSelectionModel: Don't store model locally

2016-10-20 Thread Stephen Kelly
- src/klinkitemselectionmodel.cpp 1b676e87128d83586b62f94f9652b25111e766a5 Diff: https://git.reviewboard.kde.org/r/127145/diff/ Testing --- Thanks, Stephen Kelly

Re: Review Request 127143: Reset KSelectionProxyModel state when needed

2016-10-20 Thread Stephen Kelly
is changed., 2015-03-12) Diffs - autotests/kselectionproxymodeltest.cpp b9f1277f1469970195dfb1fd0be68c6e8411fb23 src/kselectionproxymodel.cpp 428b849eedd0c4f187be30a5879b72e0df268c5a Diff: https://git.reviewboard.kde.org/r/127143/diff/ Testing --- Thanks, Stephen Kelly

Re: Review Request 127146: KLinkItemSelectionModel: Handle changes to the selectionModel model

2016-10-20 Thread Stephen Kelly
/klinkitemselectionmodeltest.cpp 74d72e4858dfd8bab48a71d260af86d838484d26 src/klinkitemselectionmodel.cpp 1b676e87128d83586b62f94f9652b25111e766a5 Diff: https://git.reviewboard.kde.org/r/127146/diff/ Testing --- Thanks, Stephen Kelly

Re: Review Request 127149: KLinkItemSelectionModel: Test the effect of separate object network

2016-10-20 Thread Stephen Kelly
6e9c178cd99ed5479e2cee34492a8acd7e5a3f75 autotests/klinkitemselectionmodeltest.cpp 74d72e4858dfd8bab48a71d260af86d838484d26 Diff: https://git.reviewboard.kde.org/r/127149/diff/ Testing --- Thanks, Stephen Kelly

Re: Review Request 127144: KSelectionProxyModel: Fix iteration bug

2016-10-20 Thread Stephen Kelly
/kselectionproxymodeltest.cpp b9f1277f1469970195dfb1fd0be68c6e8411fb23 src/kselectionproxymodel.cpp 428b849eedd0c4f187be30a5879b72e0df268c5a Diff: https://git.reviewboard.kde.org/r/127144/diff/ Testing --- Thanks, Stephen Kelly

Re: Review Request 127150: KLinkItemSelectionModel: Test clearing the selection

2016-10-20 Thread Stephen Kelly
/klinkitemselectionmodeltest.cpp 74d72e4858dfd8bab48a71d260af86d838484d26 Diff: https://git.reviewboard.kde.org/r/127150/diff/ Testing --- Thanks, Stephen Kelly

Re: Review Request 126610: kwidgetitemdelegate: properly cleanup widgets on index removal

2016-05-23 Thread Stephen Kelly
> On March 28, 2016, 5:14 p.m., Stephen Kelly wrote: > > Do you still have the sample application you made to test/verify this? I'd > > like to try it and it should probably be committed too. > > Pino Toscano wrote: > No I don't :-/ I remember it was jus

Can we have a headersclean check for frameworks?

2016-05-11 Thread Stephen Kelly
Hi, Qt has a headersclean utility which runs each header through the compiler on its own. That verifies that it doesn't cause certain warnings, can compile in the presence of certain Qt defines, and includes or forward declares everything it should. We don't have such a thing in KF5, but as s

Re: KF5 Tags tag tags, not objects

2016-04-27 Thread Stephen Kelly
David Faure wrote: > versionfile=$here/versions/$repo > if [ ! -f $versionfile ]; then echo "$versionfile not found"; exit 1; fi > b=`sed '2q;d' $versionfile` > echo $b > checkout=$(findCheckout $repo) > cd $checkout || exit 2 > echo $PWD > $cmd git fetch --tags || exit 2 > $cmd git tag -a $tagnam

Re: ECM metainfo path

2016-04-26 Thread Stephen Kelly
Harald Sitter wrote: > I am actually not sure how we handle this for ECM. CCing Stephen > Kelly who I think is semi-maintaining ECM right now. Hi, Thanks for the heads-up. I'm afraid I'm way out of the loop. I don't know what appstream or /metainfo are. However, let'

Re: KF5 Tags tag tags, not commits

2016-04-24 Thread Stephen Kelly
David Faure wrote: > On Sunday 24 April 2016 13:54:02 Stephen Kelly wrote: >> >> Why doesn't v5.21.0 tag the d2e7c78c94e6 commit directly instead? > > Don't know. > > I just call git tag, then git does its magic. > > cat $here/modules.git |

KF5 Tags tag tags, not objects

2016-04-24 Thread Stephen Kelly
If you look in gitk at karchive (or any other repo), you can see that commit d2e7c78c94e6 is tagged with both v5.21.0-rc2 and v5.21.0. If you click on the v5.21.0-rc2 tag, you can see that it tags the commit. That is the usual thing to do. Tag: v5.21.0-rc2 object d2e7c78c94e629a60bcff7b5c1abaf

Re: official guidelines on the install location of cmake modules?

2016-04-11 Thread Stephen Kelly
René J.V. Bertin wrote: > I've stumbled upon the importance of that location for at least 2 > libraries (grantlee and mobipocket); their cmake modules determine the > installation prefix dynamically, using the install location of those same > modules. IOW, those modules have to be installed into $

Re: Review Request 126610: kwidgetitemdelegate: properly cleanup widgets on index removal

2016-03-28 Thread Stephen Kelly
/verify this? I'd like to try it and it should probably be committed too. - Stephen Kelly On March 28, 2016, 1:41 p.m., Pino Toscano wrote: > > --- > This is an automatically generated e-mail. To reply,

Re: Review Request 127169: By default, make KDE_INSTALL_USE_QT_SYS_PATHS share the same directory scheme as Qt if they share the prefix

2016-02-28 Thread Stephen Kelly
Aleix Pol Gonzalez wrote: >> I think it would be good to have changes be better understood, >> otherwise we end up with lots of mess. However, it looks like several >> people really want this, and I don't want to stand in the way. > > I don't mind spending some time to explain it

Re: Review Request 127169: By default, make KDE_INSTALL_USE_QT_SYS_PATHS share the same directory scheme as Qt if they share the prefix

2016-02-27 Thread Stephen Kelly
> On Feb. 24, 2016, 7:06 p.m., Stephen Kelly wrote: > > Hi Aleix, > > > > I'm not familiar with the 'tiny mess'. Can you say what it is? I would > > expect the libs go in the same place, but maybe the plugins are affected by > > this? Can you b

Re: Review Request 127169: By default, make KDE_INSTALL_USE_QT_SYS_PATHS share the same directory scheme as Qt if they share the prefix

2016-02-25 Thread Stephen Kelly
> On Feb. 24, 2016, 7:06 p.m., Stephen Kelly wrote: > > Hi Aleix, > > > > I'm not familiar with the 'tiny mess'. Can you say what it is? I would > > expect the libs go in the same place, but maybe the plugins are affected by > > this? Can you b

Re: Review Request 127169: By default, make KDE_INSTALL_USE_QT_SYS_PATHS share the same directory scheme as Qt if they share the prefix

2016-02-25 Thread Stephen Kelly
> On Feb. 24, 2016, 7:06 p.m., Stephen Kelly wrote: > > Hi Aleix, > > > > I'm not familiar with the 'tiny mess'. Can you say what it is? I would > > expect the libs go in the same place, but maybe the plugins are affected by > > this? Can you b

Re: Review Request 127169: By default, make KDE_INSTALL_USE_QT_SYS_PATHS share the same directory scheme as Qt if they share the prefix

2016-02-25 Thread Stephen Kelly
> On Feb. 24, 2016, 7:06 p.m., Stephen Kelly wrote: > > Hi Aleix, > > > > I'm not familiar with the 'tiny mess'. Can you say what it is? I would > > expect the libs go in the same place, but maybe the plugins are affected by > > this? Can you b

Re: Review Request 127169: By default, make KDE_INSTALL_USE_QT_SYS_PATHS share the same directory scheme as Qt if they share the prefix

2016-02-24 Thread Stephen Kelly
'. Can you say what it is? I would expect the libs go in the same place, but maybe the plugins are affected by this? Can you be more specific? Thanks, - Stephen Kelly On Feb. 24, 2016, 5:09 p.m., Aleix Pol Gonzalez wrote: > > ---

Re: Review Request 127145: KLinkItemSelectionModel: Don't store model locally

2016-02-24 Thread Stephen Kelly
github. Thanks, - Stephen --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/127145/#review92693 --- On Feb. 22, 2016, 4:3

Re: Review Request 127142: Add a property indicating whether the models form a connected chain.

2016-02-22 Thread Stephen Kelly
9c4a63d7953ce3572cee47c5acc27f422c383f3b src/kmodelindexproxymapper.cpp ae9e69a558f90bf498da730f96af773e3eb91901 Diff: https://git.reviewboard.kde.org/r/127142/diff/ Testing --- Thanks, Stephen Kelly ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org

Re: Review Request 127147: KLinkItemSelectionModel: Make the linked selection model settable

2016-02-22 Thread Stephen Kelly
74d72e4858dfd8bab48a71d260af86d838484d26 src/klinkitemselectionmodel.h c871121fa9a791b6030f5ff3a104d8d3bdcbe79d src/klinkitemselectionmodel.cpp 1b676e87128d83586b62f94f9652b25111e766a5 Diff: https://git.reviewboard.kde.org/r/127147/diff/ Testing --- Thanks, Stephen Kelly

Re: Review Request 127148: KLinkItemSelectionModel: Add new default constructor.

2016-02-22 Thread Stephen Kelly
://git.reviewboard.kde.org/r/127148/diff/ Testing --- Thanks, Stephen Kelly ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Re: Review Request 127145: KLinkItemSelectionModel: Don't store model locally

2016-02-22 Thread Stephen Kelly
1b676e87128d83586b62f94f9652b25111e766a5 Diff: https://git.reviewboard.kde.org/r/127145/diff/ Testing --- Thanks, Stephen Kelly ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Re: Review Request 127139: Add unit test for KModelIndexProxyMapper.

2016-02-22 Thread Stephen Kelly
/ Testing --- Thanks, Stephen Kelly ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

KItemModels review requests

2016-02-22 Thread Stephen Kelly
Hi, I just pushed a bunch of reviewboard review requests for kitemmodels. These have been reviewed by two colleagues here at Ableton. For your convenience you can find them as a git branch here: https://github.com/ske-ableton/kitemmodels/commits/master I can of course rebase and merge thes

Review Request 127144: KSelectionProxyModel: Fix iteration bug

2016-02-22 Thread Stephen Kelly
428b849eedd0c4f187be30a5879b72e0df268c5a Diff: https://git.reviewboard.kde.org/r/127144/diff/ Testing --- Thanks, Stephen Kelly ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Review Request 127140: KModelIndexProxyMapper: Add some asserts

2016-02-22 Thread Stephen Kelly
--- KModelIndexProxyMapper: Add some asserts Diffs - src/kmodelindexproxymapper.cpp ae9e69a558f90bf498da730f96af773e3eb91901 Diff: https://git.reviewboard.kde.org/r/127140/diff/ Testing --- Thanks, Stephen Kelly ___ Kde

Review Request 127139: Add unit test for KModelIndexProxyMapper.

2016-02-22 Thread Stephen Kelly
--- Add unit test for KModelIndexProxyMapper. Diffs - autotests/CMakeLists.txt 731b83b742acf5edb93ba1420845dbdd95751f74 autotests/kmodelindexproxymappertest.cpp PRE-CREATION Diff: https://git.reviewboard.kde.org/r/127139/diff/ Testing --- Thanks, Stephen Kelly

Review Request 127142: Add a property indicating whether the models form a connected chain.

2016-02-22 Thread Stephen Kelly
ae9e69a558f90bf498da730f96af773e3eb91901 Diff: https://git.reviewboard.kde.org/r/127142/diff/ Testing --- Thanks, Stephen Kelly ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde

Review Request 127141: KModelIndexProxyMapper: Simplify logic of connected check

2016-02-22 Thread Stephen Kelly
--- KModelIndexProxyMapper: Simplify logic of connected check Diffs - src/kmodelindexproxymapper.cpp ae9e69a558f90bf498da730f96af773e3eb91901 Diff: https://git.reviewboard.kde.org/r/127141/diff/ Testing --- Thanks, Stephen Kelly

Review Request 127145: KLinkItemSelectionModel: Don't store model locally

2016-02-22 Thread Stephen Kelly
://git.reviewboard.kde.org/r/127145/diff/ Testing --- Thanks, Stephen Kelly ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Review Request 127146: KLinkItemSelectionModel: Handle changes to the selectionModel model

2016-02-22 Thread Stephen Kelly
1b676e87128d83586b62f94f9652b25111e766a5 Diff: https://git.reviewboard.kde.org/r/127146/diff/ Testing --- Thanks, Stephen Kelly ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde

Review Request 127143: Reset KSelectionProxyModel state when needed

2016-02-22 Thread Stephen Kelly
b9f1277f1469970195dfb1fd0be68c6e8411fb23 src/kselectionproxymodel.cpp 428b849eedd0c4f187be30a5879b72e0df268c5a Diff: https://git.reviewboard.kde.org/r/127143/diff/ Testing --- Thanks, Stephen Kelly ___ Kde-frameworks-devel mailing list Kde-frameworks

Review Request 127148: KLinkItemSelectionModel: Add new default constructor.

2016-02-22 Thread Stephen Kelly
, Stephen Kelly ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Review Request 127147: KLinkItemSelectionModel: Make the linked selection model settable

2016-02-22 Thread Stephen Kelly
c871121fa9a791b6030f5ff3a104d8d3bdcbe79d src/klinkitemselectionmodel.cpp 1b676e87128d83586b62f94f9652b25111e766a5 Diff: https://git.reviewboard.kde.org/r/127147/diff/ Testing --- Thanks, Stephen Kelly ___ Kde-frameworks-devel mailing list Kde

Review Request 127149: KLinkItemSelectionModel: Test the effect of separate object network

2016-02-22 Thread Stephen Kelly
74d72e4858dfd8bab48a71d260af86d838484d26 Diff: https://git.reviewboard.kde.org/r/127149/diff/ Testing --- Thanks, Stephen Kelly ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Review Request 127150: KLinkItemSelectionModel: Test clearing the selection

2016-02-22 Thread Stephen Kelly
/diff/ Testing --- Thanks, Stephen Kelly ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Re: KCoreAddons qml plugins

2016-01-28 Thread Stephen Kelly
Aleix Pol wrote: >> QML bindings are "one layer above" the class they bind. Just like >> kdebindings is separate rather than "mixed into every framework". Having >> the javascript bindings for KIO in KIO would tick all your criterias >> above ("simpler to use because part of the framework", "all th

Re: QVariant precision issues

2015-10-27 Thread Stephen Kelly
David Edmundson wrote: > qFuzzyCompare ? Yes, QVariant uses qFuzzyCompare internally, which means you get the precision that qFuzzyCompare hardcodes. You need to extract the double if you want to do something else. We hit the same problem in work: double d1 = 1.0001; double d2 = 1

Re: Syncing ECM release number with KF5

2015-04-02 Thread Stephen Kelly
28/03/15 03:48, Alex Merry wrote: >> On Wednesday 25 March 2015 22:35:24 Stephen Kelly wrote: >>> Hello, >>> >>> ECM release numbers are in sync with KF5 release numbers, except for the >>> major component. >>> >>> This means that if you

Re: Review Request 117777: Make the KSelectionProxyModel unit test pass

2014-04-26 Thread Stephen Kelly
> On April 26, 2014, 8:51 a.m., Stephen Kelly wrote: > > Would it be a good idea to start by reverting > > https://git.reviewboard.kde.org/r/116096/ ? > > Alex Merry wrote: > So we have no unit tests? I don't really see how that would help (except > in t

Re: Review Request 117777: Make the KSelectionProxyModel unit test pass

2014-04-26 Thread Stephen Kelly
://git.reviewboard.kde.org/r/116096/ ? - Stephen Kelly On April 25, 2014, 7:18 p.m., Alex Merry wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.

Re: Review Request 115918: Fix kservice_desktop_to_json for Visual Studio

2014-03-12 Thread Stephen Kelly
> On March 4, 2014, 8:45 p.m., Kevin Ottens wrote: > > And I agree with Aurélien, a bug should be filed and Stephen involved in > > that issue. > > Stephen Kelly wrote: > Please provide a minimal testcase. The feature is unit tested in cmake. > If it's b

Re: Review Request 116025: Add documentation about writing find modules

2014-03-06 Thread Stephen Kelly
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/116025/#review52316 --- Looks like a good manual. - Stephen Kelly On March 6, 2014

Re: Review Request 115918: Fix kservice_desktop_to_json for Visual Studio

2014-03-05 Thread Stephen Kelly
> On March 4, 2014, 8:45 p.m., Kevin Ottens wrote: > > And I agree with Aurélien, a bug should be filed and Stephen involved in > > that issue. > > Stephen Kelly wrote: > Please provide a minimal testcase. The feature is unit tested in cmake. > If it's b

Re: Review Request 115918: Fix kservice_desktop_to_json for Visual Studio

2014-03-05 Thread Stephen Kelly
, 2014, 8:45 p.m.) > > > Review request for KDE Frameworks and Stephen Kelly. > > > Repository: kservice > > > Description > --- > > Fix kservice_desktop_to_json for Visual Studio > > The CMake generator for Visual Studio cannot handle the new bu

Re: Review Request 116025: Add documentation about writing find modules

2014-02-26 Thread Stephen Kelly
> On Feb. 25, 2014, 3:56 p.m., Stephen Kelly wrote: > > docs/writing-find-modules.md, line 9 > > <https://git.reviewboard.kde.org/r/116025/diff/2/?file=246011#file246011line9> > > > > You can link to > > > > http://www.cmake.org/cmake

Re: Review Request 116025: Add documentation about writing find modules

2014-02-25 Thread Stephen Kelly
(if the dependency provides imported targets, which it should/must for this stuff to work). CMake will resolve that itself. - Stephen Kelly On Feb. 25, 2014, 10:59 a.m., Alex Merry wrote: > > --- > This is an autom

Re: Review Request 115496: Rename CMakePackageConfigHelpers to ECMPackageConfigHelpers

2014-02-18 Thread Stephen Kelly
all sorts of > headaches later on. I tried to make the same point, but I wasn't believed :). - Stephen Kelly On Feb. 16, 2014, 5:54 p.m., Alex Merry wrote: > > --- > This is an automatically generated e-mail. To r

Re: Find dependencies quietly?

2014-02-02 Thread Stephen Kelly
On 02/02/2014 05:26 PM, Alex Merry wrote: > On 02/02/14 16:10, Stephen Kelly wrote: >> On 02/02/2014 04:54 PM, Alex Merry wrote: >>> Either that, >>> or have it as a completly orthogonal property that nevertheless >>> interacts with TYPE, but I think that'

Re: Find dependencies quietly?

2014-02-02 Thread Stephen Kelly
On 02/02/2014 04:54 PM, Alex Merry wrote: > On 02/02/14 07:27, Stephen Kelly wrote: >> On 02/02/2014 12:45 AM, Alex Merry wrote: >>> The obvious thing to do is set a package property (or something >>> equivalent) that says it was found as a dependency. The danger there

Re: Find dependencies quietly?

2014-02-01 Thread Stephen Kelly
On 02/02/2014 12:45 AM, Alex Merry wrote: > On 01/02/14 20:21, Stephen Kelly wrote: >> On 02/01/2014 08:22 PM, Alex Merry wrote: >>> So, I think that find_dependency should pass QUIET to find_package >>> whether or not the parent package is being found quietly. >>

Re: Find dependencies quietly?

2014-02-01 Thread Stephen Kelly
On 02/01/2014 08:22 PM, Alex Merry wrote: > (CC'ing Stephen because this is relevant to the version of > find_dependency in CMake master) > > Currently, the find_dependency() macro does not pass the QUIET argument > to find_package unless the parent package was being found quietly. This > means th

Re: Review Request 115123: Add an imported target to FindOpenEXR.cmake

2014-01-19 Thread Stephen Kelly
g/r/115123/#comment33847> What is in PC_OpenEXR_CFLAGS_OTHER ? INTERFACE_COMPILE_DEFINITIONS is only suitable for compile definitions, whereas the compile_definitions() command also accepts other flags. - Stephen Kelly On Jan. 19, 2014, 3:49 p.m., Alex Merry

Re: Review Request 115123: Add an imported target to FindOpenEXR.cmake

2014-01-19 Thread Stephen Kelly
<https://git.reviewboard.kde.org/r/115123/#comment33844> I would simply add a fatal_error if cmake version is VERSION_LESS 2.8.12, and remove the rest of this version stuff. - Stephen Kelly On Jan. 19, 2014, 1:15 p.m., Alex Merry

Re: Review Request 114903: Do not set CMP0022

2014-01-07 Thread Stephen Kelly
PE is not used when finding it. - Stephen Kelly On Jan. 7, 2014, 8:57 p.m., Alex Merry wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard

Re: Review Request 114897: Make KDE_ENABLE_EXCEPTIONS a list

2014-01-07 Thread Stephen Kelly
Alex Merry wrote: > On 07/01/14 18:00, Stephen Kelly wrote: >> Alex Merry wrote: >> >>> Hrm. After some investigation: I'm not entirely sure. The simplest >>> answer is "that's what qmake does" >> >> Please tell me you no

Re: Review Request 114897: Make KDE_ENABLE_EXCEPTIONS a list

2014-01-07 Thread Stephen Kelly
Alex Merry wrote: > Hrm. After some investigation: I'm not entirely sure. The simplest > answer is "that's what qmake does" Please tell me you noticed that I asked about -U, not -D ... Thanks, Steve. ___ Kde-frameworks-devel mailing list Kde-frame

Re: Review Request 114898: Remove use of obsolete add_compiler_export_flags

2014-01-07 Thread Stephen Kelly
? - Stephen Kelly On Jan. 7, 2014, 5:01 p.m., Alex Merry wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.

Re: Review Request 114897: Make KDE_ENABLE_EXCEPTIONS a list

2014-01-07 Thread Stephen Kelly
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/114897/#review46984 --- Why is -UQT_NO_EXCEPTIONS needed? - Stephen Kelly On Jan

Re: Review Request 114885: Remove custom build types

2014-01-07 Thread Stephen Kelly
> On Jan. 7, 2014, 3:36 p.m., Stephen Kelly wrote: > > kde-modules/KDECompilerSettings.cmake, line 25 > > <https://git.reviewboard.kde.org/r/114885/diff/1/?file=233187#file233187line25> > > > > Setting CMAKE_CXX_FLAGS is not 'modern cmake'. Pre

Re: Review Request 114885: Remove custom build types

2014-01-07 Thread Stephen Kelly
CMAKE_CXX_VISIBILITY_PRESET and CMAKE_VISIBILITY_INLINES_HIDDEN instead. - Stephen Kelly On Jan. 7, 2014, 3:22 p.m., Alex Merry wrote: > > --- > This is an automatically generated e-mail. To reply, visit: &

Re: Review Request 114336: Install all includes in a KF5 dir

2013-12-10 Thread Stephen Kelly
Aurélien Gâteau wrote: >> when CMake 3.0.0 is depended on. > > Sounds good, we will be able to simplify the macro at this point then. The two threads on this is causing confusion. Thanks, Steve. ___ Kde-frameworks-devel mailing list Kde-frameworks-

  1   2   3   4   5   >