In D18167#398360, @aacid wrote:In D18167#398343, @kossebau wrote:only 3(?) days between proposal and commit was also a very rushy
Check your dates better please, it's 9 days
- Queries
- All Stories
- Search
- Advanced Search
Feed Advanced Search
Advanced Search
Advanced Search
Jan 23 2019
Jan 23 2019
kossebau added a comment to D18167: Move -Wsuggest-override -Wlogical-op to regular compiler settings.
In D18167#398076, @graesslin wrote:The human error exists as long as clang-tidy is not used. What I fear is that someone does a hand porting - we have seen several attempts to do that in KWin from various developers. If devs don't know and now fix the warnings, they can bring in human error.
In D18167#398343, @kossebau wrote:only 3(?) days between proposal and commit was also a very rushy
kossebau added a comment to D18167: Move -Wsuggest-override -Wlogical-op to regular compiler settings.
In D18167#398076, @graesslin wrote:The human error exists as long as clang-tidy is not used. What I fear is that someone does a hand porting - we have seen several attempts to do that in KWin from various developers. If devs don't know and now fix the warnings, they can bring in human error.
Jan 22 2019
Jan 22 2019
In D18167#398076, @graesslin wrote:The human error exists as long as clang-tidy is not used. What I fear is that someone does a hand porting - we have seen several attempts to do that in KWin from various developers. If devs don't know and now fix the warnings, they can bring in human error.
davidedmundson added a comment to D18167: Move -Wsuggest-override -Wlogical-op to regular compiler settings.
Almost every project has already been gone over with clang-tidy.
Including kwin which was then force-pushed back by you. This was back in June 2017.
I've got little sympathy if we have a warning after explicitly reverting the fix to the warning.
graesslin added a comment to D18167: Move -Wsuggest-override -Wlogical-op to regular compiler settings.
The human error exists as long as clang-tidy is not used. What I fear is that someone does a hand porting - we have seen several attempts to do that in KWin from various developers. If devs don't know and now fix the warnings, they can bring in human error.
Jan 21 2019
Jan 21 2019
qhelpgenerator is back in Qt 5.12.1
kossebau added a comment to D18167: Move -Wsuggest-override -Wlogical-op to regular compiler settings.
In D18167#397319, @graesslin wrote:For done code this warning is pointless and negative. I invite you to work with a code base like KWin where it is more important to have a working git blame than protection for theoretical problems. Nobody will be able to guarantee that a 500+ change to add override won't break. Human errors happen, nobody will be able to review something like that. Addressing this warning by adding override all over our legacy code base has a serious risk.
I'm seriously pissed that this is forced on us and we have to change code.
I'm totally fine with this warning for new code and new projects. But let projects opt in for it instead of forcing it on legacy code bases.
graesslin added a comment to D18167: Move -Wsuggest-override -Wlogical-op to regular compiler settings.
For done code this warning is pointless and negative. I invite you to work with a code base like KWin where it is more important to have a working git blame than protection for theoretical problems. Nobody will be able to guarantee that a 500+ change to add override won't break. Human errors happen, nobody will be able to review something like that. Addressing this warning by adding override all over our legacy code base has a serious risk.
Jan 20 2019
Jan 20 2019
In D18167#397020, @graesslin wrote:This causes in KWin 500+ new warnings. Do you really think it's a good idea to spam all of KDE with new compiler warnings. KDE has an old code base. We cannot enable warnings for the way you developed C++ for 20 years.
graesslin added a comment to D18167: Move -Wsuggest-override -Wlogical-op to regular compiler settings.
This causes in KWin 500+ new warnings. Do you really think it's a good idea to spam all of KDE with new compiler warnings. KDE has an old code base. We cannot enable warnings for the way you developed C++ for 20 years.
Jan 19 2019
Jan 19 2019
Jan 18 2019
Jan 18 2019
lbeltrame accepted D18345: Fix python binding generation for classes with deleted copy constructors.
As far as I understand the logic of the whole thing, it looks sane. At some point we ought to find a way to properly test that the generated code...
krop added a reviewer for D18345: Fix python binding generation for classes with deleted copy constructors: lbeltrame.
Jan 17 2019
Jan 17 2019
aacid updated subscribers of D18345: Fix python binding generation for classes with deleted copy constructors.
aacid requested review of D18345: Fix python binding generation for classes with deleted copy constructors.
Jan 14 2019
Jan 14 2019
Jan 12 2019
Jan 12 2019
Since i have two +1 i'll commit this next saturday unless someone shouts in disagreement
Jan 10 2019
Jan 10 2019
+1 to me too.
vkrause added a comment to D18167: Move -Wsuggest-override -Wlogical-op to regular compiler settings.
IMHO a good idea, +1.
aacid requested review of D18167: Move -Wsuggest-override -Wlogical-op to regular compiler settings.
Jan 8 2019
Jan 8 2019
Jan 7 2019
Jan 7 2019
kossebau added a comment to D18088: FindGperf: in ecm_gperf_generate set SKIP_AUTOMOC for generated file.
Not sure if there ever s a chance somebody would inject QObject code into such a generated file?
kossebau requested review of D18088: FindGperf: in ecm_gperf_generate set SKIP_AUTOMOC for generated file.
Dec 31 2018
Dec 31 2018
In D17863#384229, @tcberner wrote:In D17863#384145, @cgiboudeaux wrote:Why not fixing kstars instead?
include(ECMCheckLinkerFlags) [...] # Check for nodump support SET(NODUMP_FLAGS "-Wl,-z,nodump") ecm_check_linker_flags("${NODUMP_FLAGS}" NODUMP_SUPPORTED) if (NODUMP_SUPPORTED) SET(SEC_LINK_FLAGS "${SEC_LINK_FLAGS} ${NODUMP_FLAGS}") endif ()Of course kstars could also just stop adding nodump ever :)
In D17863#384145, @cgiboudeaux wrote:Why not fixing kstars instead?
Dec 30 2018
Dec 30 2018
Why not fixing kstars instead?
Dec 29 2018
Dec 29 2018
qhelpgenerator is coming back in 5.12.1. You may simply tell people to skip the .0 release and upgrade.
Dec 21 2018
Dec 21 2018
Try to find qmake if qmake-qt5 is not found
Dec 20 2018
Dec 20 2018
Damn, I went too fast. This doesn't fix the issue.
Dec 6 2018
Dec 6 2018
Dec 4 2018
Dec 4 2018
Dec 3 2018
Dec 3 2018
Address review comments.
In D17015#363060, @kossebau wrote:Good to see you caring for ECM documentation not getting broken with Qt 5.12 :)
Any idea how we could perhaps deduplicate the FindQHelpGenerator.cmake with the one from find-modules (which is a helper for runtime with the ECMAddQch macro)? No instant idea yet, perhaps also better to have dedicated variants for each purppse? Needs me another round of thinking.
Add the reason for looking for the executable
Dec 1 2018
Dec 1 2018
ping?
Nov 26 2018
Nov 26 2018
A more complete draft:
patch-mac-installdirs.diff5 KBDownload
Nov 25 2018
Nov 25 2018
You will notice that I plan to maintain an option to disable the Apple-specific behaviour for anyone who depends on the current behaviour (that includes me, but your script would also continue to work). Cf. the APPLE_FORCE_X11 option
/Library/Application Support/kf5
Nov 24 2018
Nov 24 2018
vkrause added reviewers for D16954: Add find module for Google's libphonenumber: Build System, Frameworks.
Nov 23 2018
Nov 23 2018
Can we set DATAROOTDIR=/Library/Application Support/KDE so that everything remains nicely bundled?
Nov 20 2018
Nov 20 2018
Good to see you caring for ECM documentation not getting broken with Qt 5.12 :)
Done. kfilemetadata was also changed to use FindLibExiv2.cmake.
Looks good to me.
Wow...
Nov 19 2018
Nov 19 2018
If anyone wonders:
rjvbb set the repository for D16894: [ECM] use a macro to add compiler flags conditionally to R240 Extra CMake Modules.
This implements and uses my idea of an ecm_add_<lang>_compiler_flags_if_supported function set for C and C++. It uses compiler ID+version conditions to determine if flag(s) are supported when those conditions are known and reliable - otherwise and only then does it resort to querying the compiler.
Nov 18 2018
Nov 18 2018
Nov 17 2018
Nov 17 2018
Good find. No idea why it was not like this from the start.
Nov 16 2018
Nov 16 2018
Looks ok to me, less stuff to set manually is always good.
Something side-ways related: I went down this hole because cmake's generate_export_header failed because of an unsupported flag that was added.
Regardless of how we implement things here, shouldn't there be something like ecm_generate_export_header which empties CMAKE_CXX_FLAGS temporarily because calling CMake's version and then restores the variable? There's no feedback at all in this function, the generated export header just contains dummy EXPORT macros, leaving the user to wonder why the linker fails. Or should the visibility flags also be set conditionally, after setting all other compiler options?
Thus these places need to be turned into: ... if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "3.8") elseif(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "8.1.0")
I don't like the hiding of the if-branches as argument to macro. We shouldn't to this as it makes the code harder to understand.
rjvbb set the repository for D16894: [ECM] use a macro to add compiler flags conditionally to R240 Extra CMake Modules.
A simpler version, setting CMAKE_<LANG>_FLAGS directly (also fixes a persistence error in my previous implementation).
Nov 15 2018
Nov 15 2018
Nov 12 2018
Nov 12 2018
Don't worry, the commit message would have looked like that.
Or rather, it will say
Don't worry, the commit message would have looked like that.
The commit message is wrong. It should be Use STREQUAL "Clang" to detect the clang for compatibility with Apple systems.
Nov 11 2018
Nov 11 2018
Oct 28 2018
Oct 28 2018
Oct 26 2018
Oct 26 2018
If there are no further comments, I will push this on sunday.
Oct 24 2018
Oct 24 2018
bruns added inline comments to D15070: Bindings: Support using sys paths for python install directory.
In D15070#347945, @cgiboudeaux wrote:In D15070#347944, @bruns wrote:So, after another week, no reason has been given not to accept this.
- It fixes broken behavior on several platforms
- It does not break current setups
- It is consistent with other config variables
That's not true, you're refusing to fix the issues. Why should we invest time reviewing your changes, exactly?
In D15070#347944, @bruns wrote:So, after another week, no reason has been given not to accept this.
- It fixes broken behavior on several platforms
- It does not break current setups
- It is consistent with other config variables
So, after another week, no reason has been given not to accept this.
Oct 18 2018
Oct 18 2018
In D15070#345218, @cgiboudeaux wrote:In D15070#344900, @bruns wrote:In D15070#344884, @cgiboudeaux wrote:In D15070#344871, @bruns wrote:As all the raised concerns have been dealed with, can we give this a try while the next KF release is still somewhat in the future?
No, the empty if must be removed. Code that does nothing is useless.
Its not empty, there is a comment inside. Of course I can add a set(KDE_INSTALL_PYTHON${pyversion}DIR ${KDE_INSTALL_PYTHON${pyversion}DIR}) if you insist ...
And if you restructure it you either end up with a lengthy if condition - if (NOT KDE_INSTALL_PYTHON${pyversion}DIR AND KDE_INSTALL_USE_PYTHON${pyversion}_SYS_PATHS) - or another nesting level. Both are significantly harder to read.
If KDE_INSTALL_USE_PYTHON${pyversion}_SYS_PATHS is true, KDE_INSTALL_PYTHON${pyversion}DIR can be ignored. This was in the review