Feed Advanced Search

Jan 23 2019

kossebau added a comment to D18167: Move -Wsuggest-override -Wlogical-op to regular compiler settings.

only 3(?) days between proposal and commit was also a very rushy

Check your dates better please, it's 9 days

Jan 23 2019, 11:12 AM · Build System, Frameworks
aacid 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 23 2019, 10:57 AM · Build System, Frameworks
aacid added a comment to D18167: Move -Wsuggest-override -Wlogical-op to regular compiler settings.

only 3(?) days between proposal and commit was also a very rushy

Jan 23 2019, 10:56 AM · Build System, Frameworks
kossebau 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 23 2019, 10:04 AM · Build System, Frameworks

Jan 22 2019

zzag 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 22 2019, 9:08 PM · Build System, Frameworks
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.

Jan 22 2019, 7:40 PM · Build System, Frameworks
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 22 2019, 4:13 PM · Build System, Frameworks

Jan 21 2019

krop abandoned D17015: Fix the Qt doc creation with Qt 5.12..

qhelpgenerator is back in Qt 5.12.1

Jan 21 2019, 12:06 PM · Build System, Frameworks
kossebau 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.

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.

Jan 21 2019, 8:42 AM · Build System, Frameworks
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 21 2019, 5:28 AM · Build System, Frameworks

Jan 20 2019

aacid 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 20 2019, 7:26 PM · Build System, Frameworks
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 20 2019, 5:09 PM · Build System, Frameworks

Jan 19 2019

aacid closed D18167: Move -Wsuggest-override -Wlogical-op to regular compiler settings.
Jan 19 2019, 11:01 AM · Build System, Frameworks

Jan 18 2019

aacid closed D18345: Fix python binding generation for classes with deleted copy constructors.
Jan 18 2019, 6:17 PM · Build System, Frameworks
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...

Jan 18 2019, 10:58 AM · Build System, Frameworks
krop added a reviewer for D18345: Fix python binding generation for classes with deleted copy constructors: lbeltrame.
Jan 18 2019, 9:30 AM · Build System, Frameworks

Jan 17 2019

aacid updated subscribers of D18345: Fix python binding generation for classes with deleted copy constructors.
Jan 17 2019, 11:50 PM · Build System, Frameworks
aacid requested review of D18345: Fix python binding generation for classes with deleted copy constructors.
Jan 17 2019, 11:48 PM · Build System, Frameworks

Jan 14 2019

vkrause closed D18243: Fix qmake module generation for Qt 5.12.1.
Jan 14 2019, 3:09 PM · Build System, Frameworks
apol accepted D18243: Fix qmake module generation for Qt 5.12.1.
Jan 14 2019, 2:54 PM · Build System, Frameworks
vkrause requested review of D18243: Fix qmake module generation for Qt 5.12.1.
Jan 14 2019, 2:47 PM · Build System, Frameworks

Jan 12 2019

aacid added a comment to D18167: Move -Wsuggest-override -Wlogical-op to regular compiler settings.

Since i have two +1 i'll commit this next saturday unless someone shouts in disagreement

Jan 12 2019, 5:40 PM · Build System, Frameworks

Jan 10 2019

apol added a comment to D18167: Move -Wsuggest-override -Wlogical-op to regular compiler settings.

+1 to me too.

Jan 10 2019, 11:23 PM · Build System, Frameworks
vkrause added a comment to D18167: Move -Wsuggest-override -Wlogical-op to regular compiler settings.

IMHO a good idea, +1.

Jan 10 2019, 7:43 PM · Build System, Frameworks
aacid requested review of D18167: Move -Wsuggest-override -Wlogical-op to regular compiler settings.
Jan 10 2019, 7:38 PM · Build System, Frameworks

Jan 8 2019

apol accepted D18088: FindGperf: in ecm_gperf_generate set SKIP_AUTOMOC for generated file.
Jan 8 2019, 12:46 AM · Build System, Frameworks

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?

Jan 7 2019, 11:56 PM · Build System, Frameworks
kossebau requested review of D18088: FindGperf: in ecm_gperf_generate set SKIP_AUTOMOC for generated file.
Jan 7 2019, 11:55 PM · Build System, Frameworks

Dec 31 2018

krop added a comment to D17863: Add ecm_check_linker_flags function.
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 :)

Dec 31 2018, 12:45 PM · Build System, Frameworks
tcberner added a comment to D17863: Add ecm_check_linker_flags function.
In D17863#384145, @cgiboudeaux wrote:

Why not fixing kstars instead?

Dec 31 2018, 6:48 AM · Build System, Frameworks

Dec 30 2018

krop added a comment to D17863: Add ecm_check_linker_flags function.

Why not fixing kstars instead?

Dec 30 2018, 11:10 PM · Build System, Frameworks
lbeltrame added a reviewer for D17863: Add ecm_check_linker_flags function: krop.
Dec 30 2018, 8:47 AM · Build System, Frameworks

Dec 29 2018

tcberner added a comment to D17863: Add ecm_check_linker_flags function.

See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230603

Dec 29 2018, 10:58 PM · Build System, Frameworks
tcberner updated the summary of D17863: Add ecm_check_linker_flags function.
Dec 29 2018, 10:57 PM · Build System, Frameworks
tcberner requested review of D17863: Add ecm_check_linker_flags function.
Dec 29 2018, 10:56 PM · Build System, Frameworks
thiago added a comment to D17015: Fix the Qt doc creation with Qt 5.12..

qhelpgenerator is coming back in 5.12.1. You may simply tell people to skip the .0 release and upgrade.

Dec 29 2018, 6:30 PM · Build System, Frameworks

Dec 21 2018

krop updated the diff for D17015: Fix the Qt doc creation with Qt 5.12..

Try to find qmake if qmake-qt5 is not found

Dec 21 2018, 2:57 PM · Build System, Frameworks

Dec 20 2018

dfaure added a comment to D17714: Clang: don't enable -Wzero-as-null-pointer-constant on 5.0.0.

Damn, I went too fast. This doesn't fix the issue.

Dec 20 2018, 10:48 PM · Build System, Frameworks
dfaure closed D17714: Clang: don't enable -Wzero-as-null-pointer-constant on 5.0.0.
Dec 20 2018, 10:09 PM · Build System, Frameworks
krop accepted D17714: Clang: don't enable -Wzero-as-null-pointer-constant on 5.0.0.
Dec 20 2018, 8:43 PM · Build System, Frameworks
dfaure requested review of D17714: Clang: don't enable -Wzero-as-null-pointer-constant on 5.0.0.
Dec 20 2018, 7:08 PM · Build System, Frameworks

Dec 6 2018

tcberner added inline comments to D17015: Fix the Qt doc creation with Qt 5.12..
Dec 6 2018, 7:40 PM · Build System, Frameworks

Dec 4 2018

vkrause closed D16954: Add find module for Google's libphonenumber.
Dec 4 2018, 4:47 PM · Build System, Frameworks

Dec 3 2018

krop accepted D16954: Add find module for Google's libphonenumber.
Dec 3 2018, 6:02 PM · Build System, Frameworks
vkrause updated the diff for D16954: Add find module for Google's libphonenumber.

Address review comments.

Dec 3 2018, 5:53 PM · Build System, Frameworks
krop added a comment to D17015: Fix the Qt doc creation with Qt 5.12..

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.

Dec 3 2018, 11:46 AM · Build System, Frameworks
krop updated the diff for D17015: Fix the Qt doc creation with Qt 5.12..

Add the reason for looking for the executable

Dec 3 2018, 11:40 AM · Build System, Frameworks

Dec 1 2018

krop added inline comments to D16954: Add find module for Google's libphonenumber.
Dec 1 2018, 9:16 PM · Build System, Frameworks
krop added inline comments to D16954: Add find module for Google's libphonenumber.
Dec 1 2018, 9:11 PM · Build System, Frameworks
vkrause added a comment to D16954: Add find module for Google's libphonenumber.

ping?

Dec 1 2018, 11:17 AM · Build System, Frameworks

Nov 26 2018

rjvbb added a comment to T10112: KDEInstallDirs on Mac.

A more complete draft:

Nov 26 2018, 10:36 PM · Build System

Nov 25 2018

rjvbb added a comment to T10112: KDEInstallDirs on Mac.

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

Nov 25 2018, 11:42 AM · Build System
yurikoles added a comment to T10112: KDEInstallDirs on Mac.
/Library/Application Support/kf5
Nov 25 2018, 11:32 AM · Build System

Nov 24 2018

vkrause added reviewers for D16954: Add find module for Google's libphonenumber: Build System, Frameworks.
Nov 24 2018, 11:31 AM · Build System, Frameworks

Nov 23 2018

rjvbb added a comment to T10112: KDEInstallDirs on Mac.

Can we set DATAROOTDIR=/Library/Application Support/KDE so that everything remains nicely bundled?

Nov 23 2018, 1:38 PM · Build System
rjvbb updated subscribers of T10112: KDEInstallDirs on Mac.
Nov 23 2018, 1:33 PM · Build System
rjvbb created T10112: KDEInstallDirs on Mac.
Nov 23 2018, 10:00 AM · Build System

Nov 20 2018

kossebau added a comment to D17015: Fix the Qt doc creation with Qt 5.12..

Good to see you caring for ECM documentation not getting broken with Qt 5.12 :)

Nov 20 2018, 2:12 PM · Build System, Frameworks
krop added a comment to D17044: Add FindExiv2.cmake to ECM.

Done. kfilemetadata was also changed to use FindLibExiv2.cmake.

Nov 20 2018, 1:44 PM · Build System, Frameworks
krop added inline comments to D17044: Add FindExiv2.cmake to ECM.
Nov 20 2018, 1:29 PM · Build System, Frameworks
kossebau added inline comments to D17044: Add FindExiv2.cmake to ECM.
Nov 20 2018, 1:26 PM · Build System, Frameworks
krop added a reviewer for D17015: Fix the Qt doc creation with Qt 5.12.: kossebau.
Nov 20 2018, 12:29 PM · Build System, Frameworks
krop closed D17044: Add FindExiv2.cmake to ECM.
Nov 20 2018, 12:28 PM · Build System, Frameworks
apol accepted D17044: Add FindExiv2.cmake to ECM.

Looks good to me.

Nov 20 2018, 12:14 PM · Build System, Frameworks
rempt added a comment to D17044: Add FindExiv2.cmake to ECM.

Wow...

Nov 20 2018, 11:59 AM · Build System, Frameworks
krop requested review of D17044: Add FindExiv2.cmake to ECM.
Nov 20 2018, 11:42 AM · Build System, Frameworks
krop abandoned D17043: Fix the Qt doc creation with Qt 5.12..
Nov 20 2018, 11:29 AM · Build System, Frameworks
krop requested review of D17043: Fix the Qt doc creation with Qt 5.12..
Nov 20 2018, 11:19 AM · Build System, Frameworks

Nov 19 2018

apol closed D16930: Android: improve clang support.
Nov 19 2018, 3:16 PM · Build System, Frameworks
krop added a comment to D17015: Fix the Qt doc creation with Qt 5.12..

If anyone wonders:

Nov 19 2018, 1:39 PM · Build System, Frameworks
krop requested review of D17015: Fix the Qt doc creation with Qt 5.12..
Nov 19 2018, 1:33 PM · Build System, Frameworks
rjvbb set the repository for D16894: [ECM] use a macro to add compiler flags conditionally to R240 Extra CMake Modules.
Nov 19 2018, 9:51 AM · Frameworks, Build System
rjvbb updated the diff for D16894: [ECM] use a macro to add compiler flags conditionally.

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 19 2018, 9:50 AM · Frameworks, Build System

Nov 18 2018

pino closed D16938: FindQHelpGenerator: try to find Qt5Help instead of Qt5Core.
Nov 18 2018, 8:57 AM · Build System, Frameworks

Nov 17 2018

kossebau accepted D16938: FindQHelpGenerator: try to find Qt5Help instead of Qt5Core.

Good find. No idea why it was not like this from the start.

Nov 17 2018, 4:24 PM · Build System, Frameworks
vkrause requested review of D16954: Add find module for Google's libphonenumber.
Nov 17 2018, 11:10 AM · Build System, Frameworks
pino requested review of D16938: FindQHelpGenerator: try to find Qt5Help instead of Qt5Core.
Nov 17 2018, 8:01 AM · Build System, Frameworks

Nov 16 2018

vkrause accepted D16930: Android: improve clang support.

Looks ok to me, less stuff to set manually is always good.

Nov 16 2018, 6:26 PM · Build System, Frameworks
apol requested review of D16930: Android: improve clang support.
Nov 16 2018, 6:19 PM · Build System, Frameworks
rjvbb added a comment to D16894: [ECM] use a macro to add compiler flags conditionally.

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?

Nov 16 2018, 2:48 PM · Frameworks, Build System
rjvbb added a comment to D16894: [ECM] use a macro to add compiler flags conditionally.
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")
Nov 16 2018, 12:58 PM · Frameworks, Build System
kfunk requested changes to D16894: [ECM] use a macro to add compiler flags conditionally.

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.

Nov 16 2018, 11:37 AM · Frameworks, Build System
rjvbb updated the test plan for D16894: [ECM] use a macro to add compiler flags conditionally.
Nov 16 2018, 9:49 AM · Frameworks, Build System
rjvbb set the repository for D16894: [ECM] use a macro to add compiler flags conditionally to R240 Extra CMake Modules.
Nov 16 2018, 9:47 AM · Frameworks, Build System
rjvbb updated the diff for D16894: [ECM] use a macro to add compiler flags conditionally.

A simpler version, setting CMAKE_<LANG>_FLAGS directly (also fixes a persistence error in my previous implementation).

Nov 16 2018, 9:47 AM · Frameworks, Build System

Nov 15 2018

rjvbb added inline comments to D16894: [ECM] use a macro to add compiler flags conditionally.
Nov 15 2018, 1:39 PM · Frameworks, Build System
apol added inline comments to D16894: [ECM] use a macro to add compiler flags conditionally.
Nov 15 2018, 1:03 PM · Frameworks, Build System
rjvbb requested review of D16894: [ECM] use a macro to add compiler flags conditionally.
Nov 15 2018, 12:08 PM · Frameworks, Build System

Nov 12 2018

rjvbb closed D16816: ECM: standardise clang detection.
Nov 12 2018, 10:21 AM · Frameworks, Build System
rjvbb added a comment to D16816: ECM: standardise clang detection.

Don't worry, the commit message would have looked like that.
Or rather, it will say

Nov 12 2018, 10:15 AM · Frameworks, Build System
rjvbb added a comment to D16816: ECM: standardise clang detection.

Don't worry, the commit message would have looked like that.

Nov 12 2018, 10:15 AM · Frameworks, Build System
apol added a comment to D16816: ECM: standardise clang detection.

The commit message is wrong. It should be Use STREQUAL "Clang" to detect the clang for compatibility with Apple systems.

Nov 12 2018, 12:44 AM · Frameworks, Build System

Nov 11 2018

rjvbb requested review of D16816: ECM: standardise clang detection.
Nov 11 2018, 9:48 AM · Frameworks, Build System

Oct 28 2018

bruns closed D15070: Bindings: Support using sys paths for python install directory.
Oct 28 2018, 1:33 PM · Build System, Frameworks

Oct 26 2018

bruns added a comment to D15070: Bindings: Support using sys paths for python install directory.

If there are no further comments, I will push this on sunday.

Oct 26 2018, 4:04 PM · Build System, Frameworks

Oct 24 2018

bruns added inline comments to D15070: Bindings: Support using sys paths for python install directory.
Oct 24 2018, 1:18 PM · Build System, Frameworks
bruns added a comment to D15070: Bindings: Support using sys paths for python install directory.
In D15070#347945, @cgiboudeaux wrote:

So, after another week, no reason has been given not to accept this.

  1. It fixes broken behavior on several platforms
  2. It does not break current setups
  3. 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?

Oct 24 2018, 1:16 PM · Build System, Frameworks
krop added a comment to D15070: Bindings: Support using sys paths for python install directory.

So, after another week, no reason has been given not to accept this.

  1. It fixes broken behavior on several platforms
  2. It does not break current setups
  3. It is consistent with other config variables
Oct 24 2018, 1:10 PM · Build System, Frameworks
bruns added a comment to D15070: Bindings: Support using sys paths for python install directory.

So, after another week, no reason has been given not to accept this.

Oct 24 2018, 12:31 PM · Build System, Frameworks

Oct 18 2018

bruns added a comment to D15070: Bindings: Support using sys paths for python install directory.
In D15070#345218, @cgiboudeaux wrote:
In D15070#344884, @cgiboudeaux 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

Oct 18 2018, 10:47 AM · Build System, Frameworks