D8315: CMake cleanup: Don't hardcode -std=c++0x

2017-10-15 Thread Kevin Funk
kfunk created this revision. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: Frameworks. REVISION SUMMARY This is both set by ECM & Qt5 CMake config files REPOSITORY R279 ThreadWeaver BRANCH master REVISION DETAIL https://phabricator.kde.or

FYI: Added .arcconfig files to all frameworks

2017-10-15 Thread Kevin Funk
Heya, just pushed an .arcconfig file to all framework repositories. There were still lots of frameworks without them. Example commit: https://cgit.kde.org/qqc2-desktop-style.git/commit/? id=146e370704938e6cab6278a5e203f3ef2cf93946 Regards, Kevin -- Kevin Funk | kf...@kde.org | http

D8315: CMake cleanup: Don't hardcode -std=c++0x

2017-10-15 Thread Kevin Funk
This revision was automatically updated to reflect the committed changes. Closed by commit R279:265b9f9f3120: CMake cleanup: Don't hardcode -std=c++0x (authored by kfunk). REPOSITORY R279 ThreadWeaver CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D8315?vs=20814&id=20840 REVISION DET

D8314: Fix deprecation warning

2017-10-15 Thread Kevin Funk
This revision was automatically updated to reflect the committed changes. Closed by commit R39:68d42865076e: Fix deprecation warning (authored by kfunk). REPOSITORY R39 KTextEditor CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D8314?vs=20813&id=20841 REVISION DETAIL https://phabric

Re: Adding build info attribute to KAboutData to improve bug report data?

2017-10-16 Thread Kevin Funk
On Monday, 16 October 2017 07:10:29 CEST Luca Beltrame wrote: > Il giorno Sun, 08 Oct 2017 19:45:00 +0200 > > Kevin Funk ha scritto: > > Heya, > > > > The KDevelop team is currently discussing a patch which adds > > > > git-describe like informat

Re: What removes protocoltojson with make install in kio?

2017-10-22 Thread Kevin Funk
e directories -- install into a different prefix. Regards, Kevin > and protocoltojson is indeed gone from the bin folder. > Running find . -iname "protocoltojson" > only gives me the build folder for it, the binary is actually gone... > > Am i doing anything wrong? >

D7401: Solid/Mac : fleshing out the skeleton IOKit backend (WIP)

2017-10-23 Thread Kevin Funk
kfunk requested changes to this revision. kfunk added a comment. This revision now requires changes to proceed. This definitely needs another revision. Please fix the outstanding issues. INLINE COMMENTS > iokitblock.h:43 > + > +virtual int deviceMajor() const; > +virtual int deviceMin

D7401: Solid/Mac : fleshing out the skeleton IOKit backend (WIP)

2017-10-23 Thread Kevin Funk
kfunk added inline comments. INLINE COMMENTS > iokitopticaldrive.cpp:27 > + > +#ifdef EJECT_USING_DISKARBITRATION > +// for QCFType: Where's that defined via the build system? REPOSITORY R245 Solid REVISION DETAIL https://phabricator.kde.org/D7401 To: rjvbb, #frameworks, kfunk Cc: kfunk,

D7401: Solid/Mac : fleshing out the skeleton IOKit backend (WIP)

2017-10-24 Thread Kevin Funk
kfunk requested changes to this revision. kfunk added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > iokitdevice.cpp:307 > +default: > +vendor = QString(); > +break; Why not `return` here as well? For consistency. You can end the function w

D8437: KWidgetsAddons : more compact password dialog

2017-10-24 Thread Kevin Funk
kfunk requested changes to this revision. This revision now requires changes to proceed. REPOSITORY R236 KWidgetsAddons REVISION DETAIL https://phabricator.kde.org/D8437 To: rjvbb, #frameworks, kfunk Cc: cfeck, ngraham

D8437: KWidgetsAddons : more compact password dialog

2017-10-27 Thread Kevin Funk
kfunk accepted this revision. kfunk added a comment. This revision is now accepted and ready to land. Looks like it :) REPOSITORY R236 KWidgetsAddons REVISION DETAIL https://phabricator.kde.org/D8437 To: rjvbb, #frameworks, kfunk, ngraham Cc: cfeck, ngraham

D8544: KTextEditor : avoiding QML crashes

2017-11-02 Thread Kevin Funk
kfunk added inline comments. INLINE COMMENTS > kateglobal.cpp:104 > +// disable the QML JIT compiler as a protection against an unknown bug > +// in Qt's V4 engine which can provoke a crash in certain of our scripts. > +qputenv("QV4_FORCE_INTERPRETER", QByteArrayLiteral("1")); Please

D8577: Fix: Missing dependencies for ktexeditor autotests

2017-11-06 Thread Kevin Funk
kfunk added a comment. In https://phabricator.kde.org/D8577#164815, @cullmann wrote: > Could you just remove the problematic includes and try to compile without the dependency, IMHO I see no use of QtScript stuff. Done with: https://phabricator.kde.org/R39:631b1447c97f1d81de2e81d

D8810: Do not look for kioslave binary in applicationDirPath (#386859)

2017-11-14 Thread Kevin Funk
kfunk added a reviewer: cullmann. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D8810 To: kkofler, #frameworks, kfunk, cullmann Cc: kfunk

D8810: Do not look for kioslave binary in applicationDirPath (#386859)

2017-11-14 Thread Kevin Funk
kfunk requested changes to this revision. kfunk added a comment. This revision now requires changes to proceed. Just chiming in here, without having a final solution for your problem: This search path has been added for a reason -- to find a kioslave.exe next to the application binary in appl

Re: How is symbol visibility set in KF5 and KDE?

2017-11-15 Thread Kevin Funk
SIBILITY_PRESET hidden) 225:set(CMAKE_VISIBILITY_INLINES_HIDDEN 1) Regards, Kevin > Thanks, Shaheed > > [1] I'm also a bit mystified by the fact that I am deliberately querying > CMake for the COMPILE_FLAGS to use, but I have not seen -fvisibility > anywhere... -- Kevin Fun

D8923: Offer QWindow API for KJobWidgets:: decorators

2017-11-21 Thread Kevin Funk
kfunk added inline comments. INLINE COMMENTS > kjobwidgets.cpp:67 > +if (window) { > +job->setProperty("window-id", > QVariant::fromValue(qptrdiff(window->winId(; > +} `WId` is a `quintptr`: `src/gui/kernel/qwindowdefs.h:99:typedef QT_PREPEND_NAMESPACE(quintptr) WId;` Besi

D8923: Offer QWindow API for KJobWidgets:: decorators

2017-11-21 Thread Kevin Funk
kfunk added inline comments. INLINE COMMENTS > apol wrote in kjobwidgets.cpp:67 > Note I didn't change any code, I just moved it around. > > Removing the cast still seems to work, so I'll do that. > Note I didn't change any code, I just moved it around. Whoops, sorry. Didn't notice. REPOSITOR

D8976: Remove redundant map look-ups

2017-11-23 Thread Kevin Funk
kfunk accepted this revision. This revision is now accepted and ready to land. REPOSITORY R282 NetworkManagerQt BRANCH master REVISION DETAIL https://phabricator.kde.org/D8976 To: apol, #frameworks, jgrulich, kfunk

D8979: ecm_add_test: Use proper path sep on Windows

2017-11-23 Thread Kevin Funk
kfunk created this revision. kfunk added a reviewer: dfaure. Restricted Application added projects: Frameworks, Build System. Restricted Application added subscribers: Build System, Frameworks. REVISION SUMMARY We need to separate paths in environment variables with a semincolon (;) on Windows

D8979: ecm_add_test: Use proper path sep on Windows

2017-11-23 Thread Kevin Funk
kfunk added a subscriber: Windows. REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D8979 To: kfunk, dfaure, cgiboudeaux Cc: #windows, #frameworks, #build_system

D8979: ecm_add_test: Use proper path sep on Windows

2017-11-23 Thread Kevin Funk
kfunk added a reviewer: bcooksley. REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D8979 To: kfunk, dfaure, cgiboudeaux, bcooksley Cc: #windows, #frameworks, #build_system

D8979: ecm_add_test: Use proper path sep on Windows

2017-11-23 Thread Kevin Funk
kfunk added a reviewer: cgiboudeaux. REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D8979 To: kfunk, dfaure, cgiboudeaux Cc: #frameworks, #build_system

D8979: ecm_add_test: Use proper path sep on Windows

2017-11-24 Thread Kevin Funk
This revision was automatically updated to reflect the committed changes. Closed by commit R240:64915e0291cd: ecm_add_test: Use proper path sep on Windows (authored by kfunk). REPOSITORY R240 Extra CMake Modules CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D8979?vs=22863&id=22869 R

D3987: Use nullptr in all Frameworks (just diff in KIO shown here)

2017-12-04 Thread Kevin Funk
kfunk added a comment. In https://phabricator.kde.org/D3987#174960, @mkoller wrote: > I just found out that this change introduced wrong replacements. It did not, the changes are correct, though they're probably not what everyone expects. Please read through the comments in t

D9118: ki18n cmake macros: Mark UIC-generated .h files to skip AUTOMOC by default

2017-12-04 Thread Kevin Funk
kfunk accepted this revision. kfunk added a comment. This revision is now accepted and ready to land. This shouldn't create any troubles with earlier CMake versions. Also note that we set the same properties unconditionally in newer Qt5 CMake macros: https://codereview.qt-project.org/#/c/

D9182: return nullptr -> return {} for QFlags

2017-12-05 Thread Kevin Funk
kfunk accepted this revision. kfunk added a comment. This revision is now accepted and ready to land. For the record, see comment https://phabricator.kde.org/D3987#174960 REPOSITORY R287 KImageFormats REVISION DETAIL https://phabricator.kde.org/D9182 To: mkoller, kfunk, kossebau Cc: #fra

D9299: Introduce INSTALL_PREFIX_SCRIPT to easily set up prefixes

2017-12-13 Thread Kevin Funk
kfunk added a comment. If we'd name this file somewhat less generic then it could be even installed by default, no? I had the scheme of the QNX setup script in my mind: https://github.com/acklinr/qnx660/blob/master/qnx660-env.sh Thus: Maybe rename prefix.sh to say 'ecm-env.sh' and

D9299: Introduce INSTALL_PREFIX_SCRIPT to easily set up prefixes

2017-12-13 Thread Kevin Funk
kfunk added inline comments. INLINE COMMENTS > sitter wrote in KDEInstallDirs.cmake:699 > From a style perspective, I'd suggest having the prefix.sh live somewhere in > the installed ECM tree and get copied, rather than maintained as a glorified > heredoc in the cmake code. That's just a sugges

D9299: Introduce INSTALL_PREFIX_SCRIPT to easily set up prefixes

2017-12-13 Thread Kevin Funk
kfunk added a comment. In https://phabricator.kde.org/D9299#179036, @cgiboudeaux wrote: > In https://phabricator.kde.org/D9299#179035, @cgiboudeaux wrote: > > > In https://phabricator.kde.org/D9299#179032, @kfunk wrote: > > > > > If we'd name this file somewhat less generic then it

D9277: Remove cmake warning about generating moc file

2017-12-13 Thread Kevin Funk
kfunk accepted this revision. kfunk added a comment. This revision is now accepted and ready to land. Yes. Makes sense to me. INLINE COMMENTS > KF5ConfigMacros.cmake:98 > > + set_property(SOURCE ${_header_FILE} PROPERTY SKIP_AUTOMOC TRUE) # > don't run automoc on this file > +

D9321: Fix another CMake CMP0071 warning

2017-12-14 Thread Kevin Funk
kfunk created this revision. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: Frameworks. REVISION SUMMARY CMake Warning (dev) in data/CMakeLists.txt: Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files. Run "cma

D9321: Fix another CMake CMP0071 warning

2017-12-14 Thread Kevin Funk
kfunk added reviewers: mlaurent, dfaure. REPOSITORY R216 Syntax Highlighting REVISION DETAIL https://phabricator.kde.org/D9321 To: kfunk, mlaurent, dfaure Cc: #frameworks

D9321: Fix another CMake CMP0071 warning

2017-12-14 Thread Kevin Funk
This revision was automatically updated to reflect the committed changes. Closed by commit R216:fb80c0549aed: Fix another CMake CMP0071 warning (authored by kfunk). REPOSITORY R216 Syntax Highlighting CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D9321?vs=23887&id=23896 REVISION DET

D9299: Introduce INSTALL_PREFIX_SCRIPT to easily set up prefixes

2017-12-15 Thread Kevin Funk
kfunk added a comment. Sorry for being late, but I didn't have time to follow up on this one. My concerns: - If you have that option `ON` and all frameworks install into the same prefix, `prefix.sh` will be overwritten. => Bad. - I still don't fully see how to adopt the use case ap

D9398: Fix TagLib detection and build on Windows

2017-12-18 Thread Kevin Funk
kfunk accepted this revision. This revision is now accepted and ready to land. REPOSITORY R320 KIO Extras REVISION DETAIL https://phabricator.kde.org/D9398 To: leinir, #frameworks, kfunk Cc: vonreth

D9408: extractors: Hide warnings from system headers

2017-12-19 Thread Kevin Funk
kfunk created this revision. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: Frameworks. REVISION SUMMARY Also prefer kde_target_enable_exceptions() over the function enabling exceptions globally. REPOSITORY R286 KFileMetaData BRANCH master

D9398: Fix TagLib detection and build on Windows

2017-12-19 Thread Kevin Funk
This revision was automatically updated to reflect the committed changes. Closed by commit R320:5e6c6fe0c7a1: Fix TagLib detection and build on Windows (authored by kfunk). REPOSITORY R320 KIO Extras CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D9398?vs=24075&id=24104 REVISION DETA

D9423: Fix 'Exec line in kiod service file must not have any path prefix on Windows'

2017-12-20 Thread Kevin Funk
kfunk added a comment. Could you please squash the commits and just keep this review for all the changes in KIO? Doesn't make sense to have different Phab Diffs for that (makes it harder to review, harder to revert in case, etc.). REPOSITORY R241 KIO REVISION DETAIL https://phabricator.

D9423: Fix 'Exec line in kiod service file must not have any path prefix on Windows'

2017-12-20 Thread Kevin Funk
kfunk requested changes to this revision. kfunk added a comment. This revision now requires changes to proceed. And I agree. There shouldn't be a need to use two different input files. That's the whole point of `configure_file(...)` the interpolation of values happens *inside* the input files

D9424: Fix 'Exec line in kglobalaccel5 service file must not have any path prefix on Windows'

2017-12-20 Thread Kevin Funk
kfunk added a comment. Please let's discuss on https://phabricator.kde.org/D9423 exclusively. This is basically fixing the same issue in a different repository. REPOSITORY R268 KGlobalAccel REVISION DETAIL https://phabricator.kde.org/D9424 To: habacker, dfaure, bcooksley, apol Cc: kfunk

D9423: Fix 'Exec line in kiod service file must not have any path prefix on Windows'

2017-12-20 Thread Kevin Funk
kfunk added a comment. @dfaure Opinions? REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D9423 To: habacker, dfaure, bcooksley, kfunk Cc: kfunk, broulik, #frameworks

D9423: Fix 'Exec line in kiod service file must not have any path prefix on Windows'

2017-12-20 Thread Kevin Funk
kfunk added a comment. In https://phabricator.kde.org/D9423#181460, @habacker wrote: > In https://phabricator.kde.org/D9423#181442, @kfunk wrote: > > > And I agree. There shouldn't be a need to use two different input files. That's the whole point of `configure_file(...)`: the interpo

D9749: Simplify code: return early to reduce indentation depth

2018-01-09 Thread Kevin Funk
kfunk accepted this revision. This revision is now accepted and ready to land. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D9749 To: mwolff, #kate, kfunk Cc: #frameworks, michaelh, kevinapavew, ngraham, demsking, cullmann, sars, dhaumann

D9750: ExpandingWidgetModel: find the right-most column based on location

2018-01-09 Thread Kevin Funk
kfunk added a comment. LGTM, but I'll let someone else approve. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D9750 To: mwolff, #kate Cc: kfunk, #frameworks, michaelh, kevinapavew, ngraham, demsking, cullmann, sars, dhaumann

D9760: Fix kded dbus name in solid-networking howto

2018-01-09 Thread Kevin Funk
kfunk accepted this revision. kfunk added a comment. This revision is now accepted and ready to land. //src/solid-networkstatus/DESIGN// also still references `org.kde.kded`. Please update, too. Rest LGTM REPOSITORY R239 KDELibs4Support BRANCH master REVISION DETAIL https://phabr

D9760: Fix kded dbus name in solid-networking howto

2018-01-09 Thread Kevin Funk
kfunk accepted this revision. REPOSITORY R239 KDELibs4Support BRANCH master REVISION DETAIL https://phabricator.kde.org/D9760 To: habacker, kfunk Cc: kfunk, #frameworks

D9766: Use at least the requested width for the argument hint tree

2018-01-16 Thread Kevin Funk
kfunk reopened this revision. kfunk added a comment. LGTM. Just a had a quick look at the appearance of the popup before vs. after the patch when doing code completion inside the a function call parameter list. Looks more consisten now, thanks! REPOSITORY R39 KTextEditor REVISION DET

D9766: Use at least the requested width for the argument hint tree

2018-01-18 Thread Kevin Funk
kfunk added a comment. Whoops. Sorry for accidentally reopening it to begin with. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D9766 To: mwolff, #kdevelop, #kate Cc: dhaumann, kfunk, #frameworks, michaelh, kevinapavew, ngraham, demsking, cullmann, sars

Re: KDirListerCache destroy comment in kcoredirlister.cpp

2018-01-29 Thread Kevin Funk
leted via atexit; a lucky > shot in the dark that makes a lot of sense in retrospect.) > > Thanks for any pointers, > R. -- Kevin Funk | kf...@kde.org | http://kfunk.org signature.asc Description: This is a digitally signed message part.

Re: Converting KDE4 projects to KF5

2018-02-21 Thread Kevin Funk
to use the porting scripts here: git://anongit.kde.org/kde-dev-scripts, subdirectory kf5 Happy porting! Regards, Kevin > Thanks > Robin -- Kevin Funk | kf...@kde.org | http://kfunk.org signature.asc Description: This is a digitally signed message part.

D11278: [KateCompletionWidget] Create configuration interface on demand

2018-03-13 Thread Kevin Funk
kfunk added a comment. Looks like you don't need the member at all? Otherwise late-init wouldn't work this way. `m_configWidget` seems only used in `showConfig()`. Let's remove the member altogether? REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D11278 To:

D11278: [KateCompletionWidget] Create configuration interface on demand

2018-03-13 Thread Kevin Funk
kfunk accepted this revision. kfunk added a comment. This revision is now accepted and ready to land. In D11278#224484 , @kfunk wrote: > Looks like you don't need the member at all? Otherwise late-init wouldn't work this way. > > `m_configWid

D11193: Sonnet : use current hunspell API

2018-08-21 Thread Kevin Funk
kfunk added a comment. Please see concerns on https://phabricator.kde.org/R246:0a96acf251baa5c9dd042d093ab2bf8fcee10502 REPOSITORY R246 Sonnet REVISION DETAIL https://phabricator.kde.org/D11193 To: rjvbb, #frameworks, dfaure, mlaurent, vkrause Cc: kfunk, kde-frameworks-devel, michaelh,

D14987: hunspell: Restore build with hunspell <=v1.5.0

2018-08-22 Thread Kevin Funk
kfunk created this revision. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. kfunk requested review of this revision. REVISION SUMMARY Commit 0a96acf251baa5c9dd042d093ab2bf8fcee10502

D14987: hunspell: Restore build with hunspell <=v1.5.0

2018-08-22 Thread Kevin Funk
kfunk added reviewers: rjvbb, dfaure, mlaurent. REPOSITORY R246 Sonnet REVISION DETAIL https://phabricator.kde.org/D14987 To: kfunk, rjvbb, dfaure, mlaurent Cc: kde-frameworks-devel, michaelh, ngraham, bruns

D14987: hunspell: Restore build with hunspell <=v1.5.0

2018-08-22 Thread Kevin Funk
kfunk added inline comments. INLINE COMMENTS > dfaure wrote in hunspelldict.cpp:130 > lst.reserve(nbWord); Note: That's just old/copied code. Unlikely to be called on recent distros anyway. REPOSITORY R246 Sonnet BRANCH master REVISION DETAIL https://phabricator.kde.org/D14987 To: kfu

D14987: hunspell: Restore build with hunspell <=v1.5.0

2018-08-22 Thread Kevin Funk
This revision was automatically updated to reflect the committed changes. Closed by commit R246:a18b3810a18d: hunspell: Restore build with hunspell <=v1.5.0 (authored by kfunk). REPOSITORY R246 Sonnet CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D14987?vs=40190&id=40200 REVISION DE

D15002: Allow to install syntax files instead of having them in a resource

2018-10-23 Thread Kevin Funk
kfunk added inline comments. INLINE COMMENTS > CMakeLists.txt:3 > macro(generate_php_syntax_definition targetFile srcFile) > -add_custom_command( > -OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${targetFile} > -COMMAND ${PERL_EXECUTABLE} > ${CMAKE_CURRENT_SOURCE_DIR}/generators/genera

D16894: [ECM] use a macro to add compiler flags conditionally

2018-11-16 Thread Kevin Funk
kfunk requested changes to this revision. kfunk added a comment. This revision now requires changes to proceed. 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. The general issue with the existing code here is

D17031: Fix a few memory leaksASAN: Fix leak in AppletQuickItem

2018-11-19 Thread Kevin Funk
kfunk created this revision. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. kfunk requested review of this revision. REVISION SUMMARY Direct leak of 3960 byte(s) in 15 object(s) allocated from: #0 0x544cc0 in operator new(unsigned long) (/home/kfunk/

D17031: Fix a few memory leaksASAN: Fix leak in AppletQuickItem

2018-11-20 Thread Kevin Funk
This revision was automatically updated to reflect the committed changes. Closed by commit R242:421e1c01266e: ASAN: Fix memory leak in CalendarPlugin (authored by kfunk). CHANGED PRIOR TO COMMIT https://phabricator.kde.org/D17031?vs=45849&id=45891#toc REPOSITORY R242 Plasma Framework (Librar

D17031: Fix a few memory leaksASAN: Fix leak in AppletQuickItem

2018-11-20 Thread Kevin Funk
kfunk added a comment. Yep, those are in fact separate commits. REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D17031 To: kfunk, mart Cc: mart, kde-frameworks-devel, michaelh, ngraham, bruns

D17325: Fix leak in kemoticons

2018-12-02 Thread Kevin Funk
kfunk created this revision. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. kfunk requested review of this revision. REVISION SUMMARY ASAN trace: Indirect leak of 64 byte(s) in 2 object(s) allocated from: #0 0x52a000 in operator new(unsigned long)

D17325: Fix leak in kemoticons

2018-12-02 Thread Kevin Funk
kfunk added a comment. Not entirely sure about whether this is the right fix for this. Can someone check why this was commented before? The leak is fixed with this patch. Unit tests still work, too. And it kind of makes sense to have the `KEmoticonsTheme` class own its provider. RE

D17325: Fix leak in kemoticons

2018-12-03 Thread Kevin Funk
kfunk updated this revision to Diff 46787. kfunk added a comment. Use QSharedPointer REPOSITORY R301 KEmoticons CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D17325?vs=46765&id=46787 BRANCH master REVISION DETAIL https://phabricator.kde.org/D17325 AFFECTED FILES src/core/

D26364: SlaveBase::dispatchLoop: Fix timeout calculation

2020-01-02 Thread Kevin Funk
kfunk created this revision. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. kfunk requested review of this revision. REVISION SUMMARY Old version of the code: ms = qMax(d->nextTimeout.elapsed() - d->nextTimeoutMsecs, 1); ... will mean the sleep i

D26364: SlaveBase::dispatchLoop: Fix timeout calculation

2020-01-02 Thread Kevin Funk
kfunk added reviewers: chinmoyr, davidedmundson, dfaure. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D26364 To: kfunk, chinmoyr, davidedmundson, dfaure Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D26364: SlaveBase::dispatchLoop: Fix timeout calculation

2020-01-02 Thread Kevin Funk
kfunk added a reviewer: broulik. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D26364 To: kfunk, chinmoyr, davidedmundson, dfaure, broulik Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D26394: ECMGeneratePriFile: Fix static configurations

2020-01-03 Thread Kevin Funk
kfunk created this revision. kfunk added a reviewer: dfaure. Herald added projects: Frameworks, Build System. Herald added subscribers: kde-buildsystem, kde-frameworks-devel. kfunk requested review of this revision. REVISION SUMMARY Populate module_config with staticlib. This is needed for Qt 5.

D26394: ECMGeneratePriFile: Fix static configurations

2020-01-03 Thread Kevin Funk
kfunk added reviewers: winterz, vkrause. REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D26394 To: kfunk, dfaure, winterz, vkrause Cc: kde-frameworks-devel, kde-buildsystem, LeGast00n, GB_2, bencreasy, michaelh, ngraham, bruns

D26364: SlaveBase::dispatchLoop: Fix timeout calculation

2020-01-09 Thread Kevin Funk
This revision was automatically updated to reflect the committed changes. Closed by commit R241:27271405f408: SlaveBase::dispatchLoop: Fix timeout calculation (authored by Julien Goodwin , committed by kfunk). REPOSITORY R241 KIO CHANGES SINCE LAST UPDATE https://

D26394: ECMGeneratePriFile: Fix static configurations

2020-02-07 Thread Kevin Funk
This revision was automatically updated to reflect the committed changes. Closed by commit R240:fafbc8cec665: ECMGeneratePriFile: Fix static configurations (authored by kfunk). REPOSITORY R240 Extra CMake Modules CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D26394?vs=72687&id=75155

[Differential] [Updated] D2142: KGlobalAccel: Fix deadlock on exit under Windows

2016-07-12 Thread kfunk (Kevin Funk)
kfunk added reviewers: dfaure, vonreth. kfunk added a subscriber: Frameworks. REVISION DETAIL https://phabricator.kde.org/D2142 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: kfunk, dfaure, vonreth Cc: #frameworks __

[Differential] [Commented On] D2142: KGlobalAccel: Fix deadlock on exit under Windows

2016-07-12 Thread kfunk (Kevin Funk)
kfunk added a comment. Waiting for a +1 from David. There's one possible point of regression, namely if `KGlobalAccel::self()` is being used after qApp ran all the post routines (and `KGlobalAccelPrivate::cleanup()` has been invoked already). Not sure if this is a problem, though. BRAN

[Differential] [Commented On] D2142: KGlobalAccel: Fix deadlock on exit under Windows

2016-07-12 Thread kfunk (Kevin Funk)
kfunk added a comment. FYI: There are more issues in other frameworks, the next deadlock is in kiconthemes... BRANCH master REVISION DETAIL https://phabricator.kde.org/D2142 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: kfunk, dfaure, vonreth, gra

[Differential] [Closed] D2142: KGlobalAccel: Fix deadlock on exit under Windows

2016-07-12 Thread kfunk (Kevin Funk)
kfunk closed this revision. kfunk added a comment. Pushed. commit 2bdb684a872aff26c01f5e1fc175fbaf663ad8ba Author: Kevin Funk Date: Tue Jul 12 10:18:40 2016 +0200 REVISION DETAIL https://phabricator.kde.org/D2142 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel

[Differential] [Updated] D2545: Cleanup KSharedUiServerProxy before qApp exists

2016-08-23 Thread kfunk (Kevin Funk)
kfunk added reviewers: dfaure, vonreth. kfunk added a subscriber: Frameworks. REVISION DETAIL https://phabricator.kde.org/D2545 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: kfunk, dfaure, vonreth Cc: #frameworks

[Differential] [Updated] D2546: Cleanup DBus-related resources before qApp exits

2016-08-23 Thread kfunk (Kevin Funk)
kfunk updated the test plan for this revision. kfunk added reviewers: dfaure, vonreth. kfunk added a subscriber: Frameworks. REVISION DETAIL https://phabricator.kde.org/D2546 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: kfunk, dfaure, vonreth Cc: #framew

[Differential] [Updated, 19 lines] D2545: Cleanup KSharedUiServerProxy before qApp exists

2016-08-23 Thread kfunk (Kevin Funk)
kfunk updated this revision to Diff 6175. kfunk added a comment. Fix typo in commit msg CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D2545?vs=6173&id=6175 BRANCH master REVISION DETAIL https://phabricator.kde.org/D2545 AFFECTED FILES src/kuiserverjobtracker.cpp src/kuiser

[Differential] [Commented On] D2545: Cleanup KSharedUiServerProxy before qApp exists

2016-08-26 Thread kfunk (Kevin Funk)
kfunk added a comment. Bump? REVISION DETAIL https://phabricator.kde.org/D2545 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: kfunk, dfaure, vonreth Cc: #frameworks

[Differential] [Commented On] D2546: Cleanup DBus-related resources before qApp exits

2016-08-26 Thread kfunk (Kevin Funk)
kfunk added a comment. Bump? REVISION DETAIL https://phabricator.kde.org/D2546 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: kfunk, dfaure, vonreth Cc: #frameworks

[Differential] [Commented On] D2545: Cleanup KSharedUiServerProxy before qApp exists

2016-09-04 Thread kfunk (Kevin Funk)
kfunk added a comment. Here's the backtrace (note: using Qt 5.6 branch): ntdll.dll!NtWaitForSingleObject() Unknown KernelBase.dll!7ffbcb2eaadf() Unknown > Qt5Core.dll!QWaitCondition::wait(QMutex * mutex=0x01c24fd16520, unsigned long time=4294967295)

[Differential] [Updated] D3091: Windows: Don't display error dialogs

2016-10-17 Thread kfunk (Kevin Funk)
kfunk added reviewers: Frameworks, brauch. REVISION DETAIL https://phabricator.kde.org/D3091 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: kfunk, #frameworks, brauch

[Differential] [Updated, 70 lines] D3091: Windows: Don't display error dialogs

2016-10-17 Thread kfunk (Kevin Funk)
kfunk updated this revision to Diff 7476. kfunk added a comment. SetErrorMode -> SetThreadErrorMode (thread-safe) CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D3091?vs=7475&id=7476 BRANCH master REVISION DETAIL https://phabricator.kde.org/D3091 AFFECTED FILES src/solid/devi

[Differential] [Commented On] D3091: Windows: Don't display error dialogs

2016-10-17 Thread kfunk (Kevin Funk)
kfunk added a comment. In https://phabricator.kde.org/D3091#57277, @broulik wrote: > Can't really comment on this, though. > While I'm a huge fan of RAII you don't seem to be returning early from that function RAII is not only useful for cases where you return early.

[Differential] [Commented On] D3091: Windows: Don't display error dialogs

2016-10-17 Thread kfunk (Kevin Funk)
kfunk added a comment. In https://phabricator.kde.org/D3091#57279, @nalvarez wrote: > Meanwhile I'm skeptical of the need to "set it back". Is there any case where such error dialog boxes would be desirable? It seems like their existence is an ancient-app-compatibility thing. The documen

[Differential] [Updated, 71 lines] D3091: Windows: Don't display error dialogs

2016-10-18 Thread kfunk (Kevin Funk)
kfunk updated this revision to Diff 7495. kfunk added a comment. Add Q_DISABLE_COPY CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D3091?vs=7476&id=7495 BRANCH master REVISION DETAIL https://phabricator.kde.org/D3091 AFFECTED FILES src/solid/devices/backends/win/winstoragevol

[Differential] [Closed] D3091: Windows: Don't display error dialogs

2016-10-18 Thread kfunk (Kevin Funk)
kfunk closed this revision. kfunk added a comment. Pushed: commit f544380db86301f4833b2149dd46dca47acc8042 Author: Kevin Funk Date: Mon Oct 17 22:02:26 2016 +0200 Windows: Don't display error dialogs REVISION DETAIL https://phabricator.kde.org/D3091 EMAIL PREFER

[Differential] [Changed Subscribers] D3226: Don't be fatal on File field not being properly parsed

2016-11-02 Thread kfunk (Kevin Funk)
kfunk added inline comments. INLINE COMMENTS > KF5ConfigMacros.cmake:71 > file(READ ${_tmp_FILE} _contents) > - string(REGEX MATCH "File=([^\n]+\\.kcfg)\n" "" "${_contents}") > + string(REGEX MATCH "File=([^\n]+\\.kcfg)c?\n" "" "${_contents}") > set(_kcfg_FILENAME "${C

[Differential] [Updated] D3392: winutils_p.h: Restore compatibility with WinXP SDK

2016-11-16 Thread kfunk (Kevin Funk)
kfunk added reviewers: brauch, Frameworks. REVISION DETAIL https://phabricator.kde.org/D3392 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: kfunk, brauch, #frameworks

[Differential] [Commented On] D3392: winutils_p.h: Restore compatibility with WinXP SDK

2016-11-16 Thread kfunk (Kevin Funk)
kfunk added a comment. In https://phabricator.kde.org/D3392#63341, @brauch wrote: > Hm, there is at least one race condition here: thread A does old = ::SetErrorMode(...), then if before it resets it thread B does the same, then the old mode might never be restored. We can put a mutex bu

[Differential] [Commented On] D3392: winutils_p.h: Restore compatibility with WinXP SDK

2016-11-16 Thread kfunk (Kevin Funk)
kfunk added a comment. And I meant this line: https://code.woboq.org/qt5/qtbase/src/corelib/io/qfsfileengine_win.cpp.html#547 (Woboq bug..., can't link the Windows version of `QFSFileEngine::drivers()`...) BRANCH master REVISION DETAIL https://phabricator.kde.org/D3392 EMAIL PREFERENCE

[Differential] [Updated] D3393: Make compile against WinXP SDK

2016-11-17 Thread kfunk (Kevin Funk)
kfunk edited reviewers, added: Frameworks; removed: Framework: Syntax Hightlighting. REVISION DETAIL https://phabricator.kde.org/D3393 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: kfunk, arichardson, #frameworks Cc: dhaumann

[Differential] [Commented On] D3393: Make compile against WinXP SDK

2016-11-17 Thread kfunk (Kevin Funk)
kfunk added a comment. In https://phabricator.kde.org/D3393#63437, @dhaumann wrote: > In general ok (but why is this a review request for KSyntaxHighlighting?) Because the reviewers field auto-completion sucks :) REVISION DETAIL https://phabricator.kde.org/D3393 EMAIL PREFERENC

[Differential] [Commented On] D2854: New: ECMGenerateApiDox, for generating qch & tag files

2016-11-17 Thread kfunk (Kevin Funk)
kfunk added a comment. Heya Friedrich. You asked me to review this. From a super brief scan of the code I don't see anything blatantly wrong. I trust you that you've tested this good enough. Love the extensive documentation. What's left here from your side? REVISION DETAIL https:/

[Differential] [Planned Changes To] D3393: Make compile against WinXP SDK

2016-11-18 Thread kfunk (Kevin Funk)
kfunk planned changes to this revision. kfunk added inline comments. INLINE COMMENTS > dhaumann wrote in kioglobal_p_win.cpp:87 > Or should it just return false in this case? Thinking about it, yep, probably better that way. Will update the patch. REVISION DETAIL https://phabricator.kde.org/D

[Differential] [Updated] D2075: Fix bug in kfiledialog.cpp that causes crashing when native widgets are used.

2016-12-01 Thread kfunk (Kevin Funk)
kfunk added a reviewer: Frameworks. REVISION DETAIL https://phabricator.kde.org/D2075 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: jonathans, #frameworks

[Differential] [Updated] D2075: Fix bug in kfiledialog.cpp that causes crashing when native widgets are used.

2016-12-01 Thread kfunk (Kevin Funk)
kfunk added a reviewer: dfaure. REVISION DETAIL https://phabricator.kde.org/D2075 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: jonathans, #frameworks, dfaure

[Differential] [Commented On] D2545: Cleanup KSharedUiServerProxy before qApp exists

2016-12-01 Thread kfunk (Kevin Funk)
kfunk added a comment. In https://phabricator.kde.org/D2545#65976, @dfaure wrote: > Actually, I think Thiago's still waiting for a backtrace of all threads. I think I've already said this via other channels: There's only one thread left at this point. BRANCH master REVISION DE

<    1   2   3   4   5   6   >