Feed Advanced Search

Oct 8 2017

mwolff requested changes to D8158: KDevelop: decorate patch version string in development builds.

I personally think it's useless to have this, but if others want to have it, fair enough. I just hate that this means a partial rebuild + relink when committing/rebasing without changing code.

Oct 8 2017, 7:00 PM · KDevelop

Oct 6 2017

mwolff added a comment to D8139: Add missing X-KDevelop-Category entries to plugins' metadata.

Great work, I wonder if we could get some basic plugin json validator integrated into our buildsystem... would be useful for such situations, I guess!

Oct 6 2017, 12:17 PM
mwolff added a comment to D7979: Filter out warnings as error from parser's compile flags.

As I said, I also need your email address so I (or someone else) can push this for you

Oct 6 2017, 12:16 PM · KDevelop
mwolff added a comment to D8156: Fix registration of the enabled state of plugins.

Could you write a unit test for the broken behavior? It seems to be somewhat related to the changes done to the AutoTestShell::init calls, so writing an explicit test for that which fails beforehand and passes now would be appreciated.

Oct 6 2017, 12:14 PM
mwolff added a comment to D8158: KDevelop: decorate patch version string in development builds.

why?

Oct 6 2017, 12:05 PM · KDevelop

Oct 4 2017

mwolff added a comment to D7979: Filter out warnings as error from parser's compile flags.

Actually, I'll need to know your email address - otherwise I cannot commit it for you.

Oct 4 2017, 4:27 PM · KDevelop
mwolff requested changes to D7979: Filter out warnings as error from parser's compile flags.

I'll clean this up and commit it to 5.2, thanks!

Oct 4 2017, 4:27 PM · KDevelop

Oct 1 2017

mwolff requested changes to D8059: KDevelop: abstractfilemanagerimport benchmark.
Oct 1 2017, 12:05 PM · KDevelop

Sep 29 2017

mwolff committed R68:d42319c80b62: Remove breakpoints from m_ids when they got removed from the model (authored by mwolff).
Remove breakpoints from m_ids when they got removed from the model
Sep 29 2017, 1:25 PM
mwolff committed R68:9c643fe8fc67: Ensure all active debug sessions are active (authored by mwolff).
Ensure all active debug sessions are active
Sep 29 2017, 1:25 PM
mwolff committed R68:72eedb2f2406: Remove dead code triggering connect warning (authored by mwolff).
Remove dead code triggering connect warning
Sep 29 2017, 1:25 PM
mwolff committed R68:7a4e600daea8: Adapt to changes in the break point model (authored by mwolff).
Adapt to changes in the break point model
Sep 29 2017, 9:20 AM
mwolff committed R68:9773a80381a6: Use AUTOUIC (authored by mwolff).
Use AUTOUIC
Sep 29 2017, 9:20 AM
mwolff committed R68:402ae4940e22: QUrl::addQueryItem -> setQuery (authored by mwolff).
QUrl::addQueryItem -> setQuery
Sep 29 2017, 9:20 AM
mwolff committed R68:c5e92786b1af: Remove kdelibs4support (authored by mwolff).
Remove kdelibs4support
Sep 29 2017, 9:20 AM
mwolff committed R68:41c3f09a8350: QString::toAsci -> QString::toUtf8 (authored by mwolff).
QString::toAsci -> QString::toUtf8
Sep 29 2017, 9:20 AM
mwolff committed R68:bae5a6ea3ae1: remove unused includes (authored by mwolff).
remove unused includes
Sep 29 2017, 9:20 AM
mwolff committed R68:89331f85a835: Remove KDE4LibsSupport from connectiontest (authored by mwolff).
Remove KDE4LibsSupport from connectiontest
Sep 29 2017, 9:20 AM
mwolff committed R68:215bd446a2a1: qtest_kde -> QTest (authored by mwolff).
qtest_kde -> QTest
Sep 29 2017, 9:20 AM
mwolff committed R68:00c428acf295: remove KGlobal include, use KLocalizedString instead here (authored by mwolff).
remove KGlobal include, use KLocalizedString instead here
Sep 29 2017, 9:20 AM
mwolff committed R68:7e4030727c08: KDebug -> QDebug (authored by mwolff).
KDebug -> QDebug
Sep 29 2017, 9:20 AM
mwolff committed R68:68e8e2e9c453: port KLocale -> KLocalizedString (authored by mwolff).
port KLocale -> KLocalizedString
Sep 29 2017, 9:20 AM
mwolff committed R68:a2efef937b18: remove unused KAction stuff (authored by mwolff).
remove unused KAction stuff
Sep 29 2017, 9:20 AM
mwolff committed R68:e566df158005: port KGlobal::config() -> KSharedConfig::openConfig (authored by mwolff).
port KGlobal::config() -> KSharedConfig::openConfig
Sep 29 2017, 9:20 AM
mwolff committed R68:bda88cf7e203: Remove unused variable (authored by mwolff).
Remove unused variable
Sep 29 2017, 9:20 AM
mwolff committed R68:127d507b8aa4: Add some asserts that fire in testChangeLocationBreakpoint for me (authored by mwolff).
Add some asserts that fire in testChangeLocationBreakpoint for me
Sep 29 2017, 9:20 AM
mwolff committed R68:fae1c3591361: port KUrl -> QUrl (authored by mwolff).
port KUrl -> QUrl
Sep 29 2017, 9:20 AM

Sep 28 2017

mwolff requested changes to D8043: KDirWatch : make methods virtual.

this is not abi compatible, cannot be done -2

Sep 28 2017, 9:50 PM · Frameworks
mwolff accepted D8045: plugins: Unify category names.
Sep 28 2017, 9:49 PM
mwolff accepted D8041: Use consistently "toolbar" in UI.

grepping in my ~/.config doesn't bring up any match, so lgtm

Sep 28 2017, 8:09 PM
mwolff added inline comments to D7995: KDevelop: address dirwatching inefficiency (WIP/PoC).
Sep 28 2017, 3:54 PM · KDevelop
mwolff requested changes to D7995: KDevelop: address dirwatching inefficiency (WIP/PoC).

Can you please put the benchmark into a separate review as I requested? It must be self-contained, the "do stuff in background" change should then depend on that revision.

Sep 28 2017, 3:51 PM · KDevelop
mwolff added inline comments to D7995: KDevelop: address dirwatching inefficiency (WIP/PoC).
Sep 28 2017, 1:23 PM · KDevelop
mwolff requested changes to D7995: KDevelop: address dirwatching inefficiency (WIP/PoC).
Sep 28 2017, 9:22 AM · KDevelop

Sep 27 2017

mwolff updated subscribers of D7995: KDevelop: address dirwatching inefficiency (WIP/PoC).
Sep 27 2017, 2:11 PM · KDevelop
mwolff added a comment to D7995: KDevelop: address dirwatching inefficiency (WIP/PoC).
In D7995#149435, @rjvbb wrote:

About that benchmark: if a properly adapted fork of the abstractfilemanagerprojectimport test is NOT what you want you'll have to describe what you do want in a much more detailed fashion, so I can see if it's an effort I can accept to make. Not because I'm lazy, this really has been keeping me from doing more urgent things already.

Sep 27 2017, 10:33 AM · KDevelop
mwolff added inline comments to D7995: KDevelop: address dirwatching inefficiency (WIP/PoC).
Sep 27 2017, 10:29 AM · KDevelop
mwolff added inline comments to D7995: KDevelop: address dirwatching inefficiency (WIP/PoC).
Sep 27 2017, 10:27 AM · KDevelop
mwolff added a comment to D7979: Filter out warnings as error from parser's compile flags.

Also, I'd love to see this tested, but it's probably going to be somewhat complicated to do that. TestDUChain::testGccCompatibility could be used as a basis, i.e. to setup a custom project with some custom compiler flags that trigger the test for both to check that we only report warnings, not errors

Sep 27 2017, 7:32 AM · KDevelop
mwolff added inline comments to D7979: Filter out warnings as error from parser's compile flags.
Sep 27 2017, 7:28 AM · KDevelop
mwolff requested changes to D7979: Filter out warnings as error from parser's compile flags.

more nits, sorry :P

Sep 27 2017, 7:15 AM · KDevelop

Sep 26 2017

mwolff requested changes to D7979: Filter out warnings as error from parser's compile flags.

minor nits, lgtm in general now

Sep 26 2017, 11:33 PM · KDevelop
mwolff added a comment to D7995: KDevelop: address dirwatching inefficiency (WIP/PoC).

the benchmark is required for testing this properly. Also it allows us to verify the thread safety using helgrind or tsan

Sep 26 2017, 11:29 PM · KDevelop
mwolff requested changes to D7995: KDevelop: address dirwatching inefficiency (WIP/PoC).
Sep 26 2017, 11:28 PM · KDevelop
mwolff updated subscribers of D7995: KDevelop: address dirwatching inefficiency (WIP/PoC).

You didn't add the ProjectWatcher code. Note that your statement regarding reentrancy makes it sounds like you do not understand thread safety vs. reentrancy. If you access the same KDirWatch from multiple threads, you _have_ to protect it via mutices. But at that point, I'm actually not sure whether that is enough... we'll have to talk to @dfaure about this... Is it enough to protect the KDirWatch from the outside with a mutex? I mean, what happens when an inotify event comes in - where is that being handled? Who guarantees that this is not going to get run in parallel to code we protect by our own mutex?

Sep 26 2017, 8:28 PM · KDevelop
mwolff requested changes to D7995: KDevelop: address dirwatching inefficiency (WIP/PoC).
Sep 26 2017, 8:26 PM · KDevelop
mwolff added a comment to D7995: KDevelop: address dirwatching inefficiency (WIP/PoC).

no time to review in-depth right now, but pretty please: write a benchmark! Instead of littering the code with timers here and there (you can do that, too - locally, if it helps you), write a benchmark that measures these numbers. Do it in such a way that we can compare before/after. This also allows us to test this code in a much better way, by running the tests locally.

Sep 26 2017, 6:59 PM · KDevelop
mwolff added a comment to D7952: [WIP] make KDevelop::Path work with canonical representations.

Because Path is a generic data structure. Doing it at the place where it's being used allows this feature to be handled in a much faster way for the common case. The UDSEntry from a KIO list job e.g. knows if something is a symlink already and we can then canonicalize the path as needed. Your patch would add the overhead of this duplicate check to every user.

Sep 26 2017, 11:22 AM · KDevelop
mwolff added inline comments to D7979: Filter out warnings as error from parser's compile flags.
Sep 26 2017, 8:30 AM · KDevelop
mwolff requested changes to D7979: Filter out warnings as error from parser's compile flags.
Sep 26 2017, 8:01 AM · KDevelop

Sep 25 2017

mwolff committed R44:8616ee44da5e: Reuse the same data when inReplyTo and References are equal (authored by mwolff).
Reuse the same data when inReplyTo and References are equal
Sep 25 2017, 8:33 PM
mwolff closed D7921: Reuse the same data when inReplyTo and References are equal.
Sep 25 2017, 8:33 PM · KDE PIM
mwolff committed R180:2efdb89e2fee: Add KMime::Ident::fromIdent (authored by mwolff).
Add KMime::Ident::fromIdent
Sep 25 2017, 8:31 PM
mwolff closed D7920: Add KMime::Ident::fromIdent.
Sep 25 2017, 8:31 PM · KDE PIM
mwolff added a comment to D7978: Fix crashes when loading a core dump.
  • you can use arc (the phabricator CLI) to submit patches
  • you can use ctest to run tests in CMake based applications (go to the build folder, run ctest)
Sep 25 2017, 8:29 PM
mwolff requested changes to D7952: [WIP] make KDevelop::Path work with canonical representations.

-2, I deliberately did not implement Path in this way and it should not be done. Users of Path should properly canonicalize the Paths. Feel free to add more asserts like those that exist in the DUChain to verify that paths are properly sanitized as-needed.

Sep 25 2017, 8:22 PM · KDevelop
mwolff added a comment to D7930: Kdevelop CMake plugin : use canonical paths to build.dir.

You need to provide us with a way to setup a project to trigger this problem, then one can build a unit test out of it.

Sep 25 2017, 8:20 PM · KDevelop
mwolff added a comment to D7979: Filter out warnings as error from parser's compile flags.

Imo this should be done in the clang plugin. Other plugins may want to know the "full" args, so filtering in the IADM is too early. Only for the purpose of clang do we want to filter this out.

Sep 25 2017, 9:38 AM · KDevelop

Sep 24 2017

mwolff created D7968: Forward QComboBox signals instead of QComboBox lineedit signals.
Sep 24 2017, 12:31 PM · Frameworks
mwolff created D7967: KComboBox: Return early when setting editable to previous value.
Sep 24 2017, 11:55 AM · Frameworks
mwolff created D7966: KComboBox: Reuse the existing completion object on new line edit.
Sep 24 2017, 11:48 AM · Frameworks

Sep 22 2017

mwolff updated the diff for D7921: Reuse the same data when inReplyTo and References are equal.

depend on new KMime

Sep 22 2017, 7:16 PM · KDE PIM
mwolff updated the diff for D7920: Add KMime::Ident::fromIdent.

bumb PIM_VERSION

Sep 22 2017, 7:16 PM · KDE PIM
mwolff committed R165:fc8db03b57f2: Introduce MimeTypeChecker::hasWantedMimeTypes (authored by mwolff).
Introduce MimeTypeChecker::hasWantedMimeTypes
Sep 22 2017, 7:12 PM
mwolff closed D7916: Introduce MimeTypeChecker::hasWantedMimeTypes.
Sep 22 2017, 7:12 PM · KDE PIM
mwolff added a comment to D7916: Introduce MimeTypeChecker::hasWantedMimeTypes.

Done, I presume you'll merge that into master?

Sep 22 2017, 7:12 PM · KDE PIM
mwolff added a comment to D7921: Reuse the same data when inReplyTo and References are equal.

do I need to change anything in the CMakeLists.txt to ensure the up2date kmime is found? or are these repos all implicitly depending on each other anyways?

Sep 22 2017, 11:55 AM · KDE PIM
mwolff added a comment to D7930: Kdevelop CMake plugin : use canonical paths to build.dir.

And btw: I'm in favor of the concept, i.e. to use canonical paths everywhere. I've run into issues myself, but I wonder why I'm not seeing the issue you are referencing here. My paths are also containing symlinks. It sounds to me like you are solving a fringe case (i.e. changing paths after the fact). I'm all for handling this gracefully, but to ensure it won't break in the future, we will need a unit test. That will also show us what actually is broken.

Sep 22 2017, 11:23 AM · KDevelop
mwolff added a comment to D7930: Kdevelop CMake plugin : use canonical paths to build.dir.

please write a unit test

Sep 22 2017, 11:09 AM · KDevelop

Sep 21 2017

mwolff added a comment to D7916: Introduce MimeTypeChecker::hasWantedMimeTypes.

what branch is "stable"? 1.9?

Sep 21 2017, 3:54 PM · KDE PIM
mwolff created D7921: Reuse the same data when inReplyTo and References are equal.
Sep 21 2017, 3:28 PM · KDE PIM
mwolff created D7920: Add KMime::Ident::fromIdent.
Sep 21 2017, 3:27 PM · KDE PIM
mwolff created D7916: Introduce MimeTypeChecker::hasWantedMimeTypes.
Sep 21 2017, 2:54 PM · KDE PIM
mwolff committed R32:f6e3d8b92402: Prefer the first available compiler as default compiler (authored by mwolff).
Prefer the first available compiler as default compiler
Sep 21 2017, 12:53 PM
mwolff committed R32:ea3cb5a898f1: Workaround parse errors due to missing implementation of __has_include (authored by mwolff).
Workaround parse errors due to missing implementation of __has_include
Sep 21 2017, 12:46 PM
mwolff committed R32:bbc57107abc9: Dump defines file when KDEV_CLANG_DISPLAY_DEFINES is set (authored by mwolff).
Dump defines file when KDEV_CLANG_DISPLAY_DEFINES is set
Sep 21 2017, 12:46 PM
mwolff accepted D7879: [KConfigGroup] reserve() more and add some C++11.

ah ok, and since we don't have a proper byte array view yet, there's nothing you can do (which is sad here!)

Sep 21 2017, 8:39 AM · Frameworks

Sep 20 2017

mwolff committed R223:ec795473fa64: Make compile with strict iterators (authored by mwolff).
Make compile with strict iterators
Sep 20 2017, 2:35 PM
mwolff committed R223:9d0cc7528ff8: Make compile with strict iterators (authored by mwolff).
Make compile with strict iterators
Sep 20 2017, 2:35 PM
mwolff committed R365:a18179354bc3: Use vkrause's libkolab fork, upstream doesn't compile (authored by mwolff).
Use vkrause's libkolab fork, upstream doesn't compile
Sep 20 2017, 8:59 AM
mwolff added a comment to D7876: Append project compiler arguments after arguments from build system anddisable warning as error.

+1 if this improves the situation, but in general I was suspecting such issues while reviewing the initial changeset. I suspect we'll see more issues in the future, and I have no clear idea on how to handle that :(

Sep 20 2017, 7:47 AM

Sep 19 2017

mwolff added a comment to T7040: Drop KFilePlacesModel fork.

I think the grouping should be moved upstream into the model, too and then be used for file open dialogs to make that visually more similar to what dolphin shows.

Sep 19 2017, 5:11 PM · Frameworks, Dolphin
mwolff requested changes to D7879: [KConfigGroup] reserve() more and add some C++11.

it would probably be a good idea to rewrite KConfigGroupPrivate::serializeList to not take a QVariantList, but rather to use a streaming API. I.e. instead of:

Sep 19 2017, 3:21 PM · Frameworks

Sep 18 2017

mwolff added a comment to D7745: KDevelop (full) project parsing: defer until all projects have been loaded..

The difference you describe between cmake server mode vs. no server mode once again shows that you have not yet fully grasped what's going on here and that this patch as it stands is not the right fix. Find out why the cmake server mode degrades the performance, than fix that. You say:

Sep 18 2017, 1:13 PM · KDevelop

Sep 14 2017

mwolff accepted D7799: Type Alias Template fix.

thanks, lgtm - do you have commit rights?

Sep 14 2017, 11:05 AM · KDevelop

Sep 13 2017

mwolff accepted D7752: Make it possible for IBuildSystem to provide extra arguments to the parser.

ok, let's try this out :) What Could Possibly Go Wrong?

Sep 13 2017, 7:30 PM
mwolff requested changes to D7752: Make it possible for IBuildSystem to provide extra arguments to the parser.

could we get a unit test? but otherwise lgtm, minus the one issue I found (sorry :P)

Sep 13 2017, 1:30 PM
mwolff requested changes to D7799: Type Alias Template fix.

overall lgtm, I'd also like to see some unit test coverage please

Sep 13 2017, 1:24 PM · KDevelop
mwolff requested changes to D7752: Make it possible for IBuildSystem to provide extra arguments to the parser.
Sep 13 2017, 8:15 AM

Sep 12 2017

mwolff requested changes to D7752: Make it possible for IBuildSystem to provide extra arguments to the parser.
Sep 12 2017, 3:37 PM
mwolff committed R45:7415a12b10d3: Add .travis.yml file to create AppImage via Travis CI (authored by mwolff).
Add .travis.yml file to create AppImage via Travis CI
Sep 12 2017, 1:41 PM
mwolff committed R45:2696ad5ff157: Use -x instead of which to check for heaptrack_gui availability (authored by mwolff).
Use -x instead of which to check for heaptrack_gui availability
Sep 12 2017, 1:41 PM
mwolff committed R45:48a67258dca0: Load the heaptrack_gui/_print that belongs to this version of heaptrack (authored by mwolff).
Load the heaptrack_gui/_print that belongs to this version of heaptrack
Sep 12 2017, 1:41 PM
mwolff committed R45:0c639981e58f: Fix typo: occurrances -> occurrences (authored by mwolff).
Fix typo: occurrances -> occurrences
Sep 12 2017, 11:51 AM
mwolff committed R45:95c3dacfef27: Add `heaptrack --analyze` to open heaptrack_gui or heaptrack_print (authored by mwolff).
Add `heaptrack --analyze` to open heaptrack_gui or heaptrack_print
Sep 12 2017, 11:51 AM

Sep 5 2017

mwolff committed R165:e48a4dac8a97: Fix "Session destroyed while still in pool" assertions (authored by mwolff).
Fix "Session destroyed while still in pool" assertions
Sep 5 2017, 9:19 AM

Sep 1 2017

mwolff committed R32:5c66f82d291e: projectmanagerview: Add Cut command into the context menu (authored by aspotashev).
projectmanagerview: Add Cut command into the context menu
Sep 1 2017, 11:03 AM
mwolff closed D1955: projectmanagerview: Add Cut command into the context menu by committing R32:5c66f82d291e: projectmanagerview: Add Cut command into the context menu (authored by aspotashev).
Sep 1 2017, 11:03 AM
mwolff accepted D1955: projectmanagerview: Add Cut command into the context menu.

sorry for the long delay, has this not been merged yet? I'll try to do this now

Sep 1 2017, 10:48 AM

Aug 31 2017

mwolff committed R206:a3f4edbab45b: Make it possible to mark a folder explicitly as sender folder (authored by mwolff).
Make it possible to mark a folder explicitly as sender folder
Aug 31 2017, 1:06 PM