D8708: Introduce AbstractAnnotationItemDelegate for more control by consumer

2018-10-12 Thread Friedrich W. H. Kossebau
kossebau updated this revision to Diff 43516.
kossebau added a comment.


  Updating:
  
  - bump since to 5.53
  - remove todo question about background paiting, assumed not to be required 
task of the  delegate given the current code
  - implement todo about catching destroyed user delegate (not needed by 
kdevelop, done for completeness)
  - implement setting wrappedline info in styleoption for helpevent (not needed 
by kdevelop, done for completeness)
  
  Given we are almost one week into 5.52 code development, and given that
  Dominik might find time to do some more review, I propose to delay now
  to the next release cycle, to hopefully have no objections left/raised to push
  then right after 5.52 tagging.

REPOSITORY
  R39 KTextEditor

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D8708?vs=42903=43516

BRANCH
  addAnnotationItemDelegate

REVISION DETAIL
  https://phabricator.kde.org/D8708

AFFECTED FILES
  src/CMakeLists.txt
  src/include/CMakeLists.txt
  src/include/ktexteditor/abstractannotationitemdelegate.h
  src/include/ktexteditor/annotationinterface.h
  src/utils/ktexteditor.cpp
  src/view/kateannotationitemdelegate.cpp
  src/view/kateannotationitemdelegate.h
  src/view/kateview.cpp
  src/view/kateview.h
  src/view/kateviewhelpers.cpp
  src/view/kateviewhelpers.h
  src/view/kateviewinternal.h

To: kossebau, #kate, #kdevelop
Cc: cullmann, dhaumann, kwrite-devel, kde-frameworks-devel, michaelh, ngraham, 
bruns, demsking, sars


D16168: [Tags] Lower default log level to warning, add to categories file

2018-10-12 Thread Stefan Brüns
This revision was automatically updated to reflect the committed changes.
Closed by commit R293:73430a7ce762: [Tags] Lower default log level to warning, 
add to categories file (authored by bruns).

REPOSITORY
  R293 Baloo

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D16168?vs=43511=43515

REVISION DETAIL
  https://phabricator.kde.org/D16168

AFFECTED FILES
  baloo.categories
  src/kioslaves/tags/CMakeLists.txt
  src/kioslaves/tags/kio_tags.cpp

To: bruns, #baloo, #frameworks, poboiko, ngraham
Cc: ngraham, kde-frameworks-devel, ashaposhnikov, michaelh, astippich, spoorun, 
bruns, abrahams


D16168: [Tags] Lower default log level to warning, add to categories file

2018-10-12 Thread Nathaniel Graham
ngraham accepted this revision.
ngraham added a comment.
This revision is now accepted and ready to land.


  Thanks!

REPOSITORY
  R293 Baloo

BRANCH
  debug_cleanup

REVISION DETAIL
  https://phabricator.kde.org/D16168

To: bruns, #baloo, #frameworks, poboiko, ngraham
Cc: ngraham, kde-frameworks-devel, ashaposhnikov, michaelh, astippich, spoorun, 
bruns, abrahams


D16168: [Tags] Lower default log level to warning, add to categories file

2018-10-12 Thread Stefan Brüns
bruns created this revision.
bruns added reviewers: Baloo, Frameworks, poboiko.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.

REVISION SUMMARY
  The tags: ioslave had the old default log level of "all", switch of
  Debug messages by default.
  Add to categories file to allow altering with kdebugsettings.

TEST PLAN
  Watch the journal
  Enter URL tags:/
  -> journal is no longer filled with Debug messages

REPOSITORY
  R293 Baloo

BRANCH
  debug_cleanup

REVISION DETAIL
  https://phabricator.kde.org/D16168

AFFECTED FILES
  baloo.categories
  src/kioslaves/tags/CMakeLists.txt
  src/kioslaves/tags/kio_tags.cpp

To: bruns, #baloo, #frameworks, poboiko
Cc: kde-frameworks-devel, ashaposhnikov, michaelh, astippich, spoorun, ngraham, 
bruns, abrahams


D16135: refactor tests for taglibextractor

2018-10-12 Thread Stefan Brüns
bruns accepted this revision.
bruns added a comment.
This revision is now accepted and ready to land.


  Looks good, thanks.

REPOSITORY
  R286 KFileMetaData

BRANCH
  refactor_tests

REVISION DETAIL
  https://phabricator.kde.org/D16135

To: astippich, mgallien, bruns, svuorela
Cc: kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, spoorun, 
ngraham, bruns, abrahams


D16167: Instead of copying and clearing the file list, just move it

2018-10-12 Thread Stefan Brüns
bruns created this revision.
bruns added reviewers: Baloo, Frameworks, poboiko.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.

REVISION SUMMARY
  This makes it more explicit the list of files is now owned by the
  Indexer runnable.

TEST PLAN
  make

REPOSITORY
  R293 Baloo

BRANCH
  indexer_cleanup

REVISION DETAIL
  https://phabricator.kde.org/D16167

AFFECTED FILES
  src/file/fileindexscheduler.cpp
  src/file/modifiedfileindexer.cpp
  src/file/modifiedfileindexer.h
  src/file/newfileindexer.cpp
  src/file/newfileindexer.h
  src/file/xattrindexer.cpp
  src/file/xattrindexer.h

To: bruns, #baloo, #frameworks, poboiko
Cc: kde-frameworks-devel, ashaposhnikov, michaelh, astippich, spoorun, ngraham, 
bruns, abrahams


D16166: Pass the FileIndexerConfig as const to the individual indexers

2018-10-12 Thread Stefan Brüns
bruns created this revision.
bruns added reviewers: Baloo, Frameworks, poboiko.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.

REVISION SUMMARY
  Also make maxUncommitedFiles() const, used in the FileContentIndexer.
  No functional changes.

TEST PLAN
  make

REPOSITORY
  R293 Baloo

BRANCH
  indexer_cleanup

REVISION DETAIL
  https://phabricator.kde.org/D16166

AFFECTED FILES
  src/file/fileindexerconfig.cpp
  src/file/fileindexerconfig.h
  src/file/filtereddiriterator.cpp
  src/file/filtereddiriterator.h
  src/file/modifiedfileindexer.cpp
  src/file/modifiedfileindexer.h
  src/file/newfileindexer.cpp
  src/file/newfileindexer.h
  src/file/unindexedfileindexer.cpp
  src/file/unindexedfileindexer.h
  src/file/unindexedfileiterator.cpp
  src/file/unindexedfileiterator.h
  src/file/xattrindexer.cpp
  src/file/xattrindexer.h

To: bruns, #baloo, #frameworks, poboiko
Cc: kde-frameworks-devel, ashaposhnikov, michaelh, astippich, spoorun, ngraham, 
bruns, abrahams


D16163: refactor taglibextractor to functions specific for metadata type

2018-10-12 Thread Stefan Brüns
bruns accepted this revision.
bruns added inline comments.
This revision is now accepted and ready to land.

INLINE COMMENTS

> taglibextractor.h:44
> +}
> +
>  namespace KFileMetaData

can also be written as

  namespace TagLib::ID3v2 {
  class Tag;
  }
  namespace TagLib::MP4 {
  class Tag;
  }
  ...

a little bit shorter, but otherwise just a matter of style preference ...

REPOSITORY
  R286 KFileMetaData

BRANCH
  refactor_taglib

REVISION DETAIL
  https://phabricator.kde.org/D16163

To: astippich, bruns
Cc: mgallien, kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, 
spoorun, ngraham, bruns, abrahams


D16165: Don't crash on invalid exiv2 data

2018-10-12 Thread Stefan Brüns
bruns added a comment.


  Can you enhance the Summary a little bit?
  
  It took me some time to notice `Exiv2::Value::toFloat()` is the same as 
`Exiv2::Value::toFloat(0)` (default argument), and accessing an inexisting 
element (i.e. n >= count()) triggers undefined behaviour, according to the 
Exiv2 documentation.
  
  Can you remove the "tries to look for **two** numbers" from the summary - 
IMHO it is misleading, as although a rational consist of numerator and 
denumerator, it is still 1 element (i.e. `count() >= 1` is sufficient).
  
  Also, `size()` denotes the size in bytes, while we want the number of 
elements, i.e. `count()`, see `Exiv2Extractor::fetchGpsDouble` here and the 
Exiv2 API .

REPOSITORY
  R286 KFileMetaData

REVISION DETAIL
  https://phabricator.kde.org/D16165

To: poboiko, #baloo, #frameworks
Cc: bruns, astippich, kde-frameworks-devel, ashaposhnikov, michaelh, spoorun, 
ngraham, abrahams


D16165: Don't crash on invalid exiv2 data

2018-10-12 Thread Alexander Stippich
astippich added a comment.


  I guess bugs
  352856 
  353848
  361259
  will also be fixed by this?

REPOSITORY
  R286 KFileMetaData

REVISION DETAIL
  https://phabricator.kde.org/D16165

To: poboiko, #baloo, #frameworks
Cc: astippich, kde-frameworks-devel, ashaposhnikov, michaelh, spoorun, ngraham, 
bruns, abrahams


D16165: Don't crash on invalid exiv2 data

2018-10-12 Thread Igor Poboiko
poboiko created this revision.
poboiko added reviewers: Baloo, Frameworks.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
poboiko requested review of this revision.

REVISION SUMMARY
  The file from bug 375131 crashes `baloo_file_extractor`. The problem is that 
its EXIF data
  contains a key `Exif.Photo.FocalLength`, whose type is 
`Exiv2::unsignedRational`, and with no value.
  Inside Exiv2, when we try call `toFloat()` on it, it tries to look for two 
numbers inside `value`,
  finds none and crashes.
  This is simple workaround: if we got a property with no value, just return an 
empty QVariant().
  
  (unfortunately, didn't manage to reproduce the hang reported in the bug 
originally)
  
  CCBUG: 375131

TEST PLAN
  `baloo_file_extractor` no longer crashes on the file, it processes the file 
and extracts all the necessary data

REPOSITORY
  R286 KFileMetaData

BRANCH
  dont-crash-invalid-exiv (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D16165

AFFECTED FILES
  src/extractors/exiv2extractor.cpp

To: poboiko, #baloo, #frameworks
Cc: kde-frameworks-devel, ashaposhnikov, michaelh, astippich, spoorun, ngraham, 
bruns, abrahams


D15959: Wait for the extraction process to finish before scheduling

2018-10-12 Thread Stefan Brüns
bruns added a comment.


  In D15959#341722 , @poboiko wrote:
  
  > In D15959#339523 , @bruns wrote:
  >
  > > This works for me:
  > >
  > >void FileIndexScheduler::scheduleIndexing()
  > >{
  > >   -if (m_threadPool.activeThreadCount() || m_indexerState == 
Suspended) {
  > >   +if (m_indexerState == Suspended) {
  > >return;
  > >}
  > >
  >
  >
  > That might require some changes in the scheduling logic. Right now it will 
behave weirdly.
  >  If we do this change, there might be situations where bunch of i.e. 
`ModifiedFileIndexer` gets pushed to queue in a row. For example, we were 
inside `FirstRunIndexer`, and 10 files were modified.
  
  
  Yes, this could happen ...
  
  > Even worse, if will have a single new file and then 10 modified files - it 
will push 10 `NewFileIndexer`s.
  
  No, this will not happen. The single entry in `m_newFiles` will essentially 
be moved into the the `NewFileIndexer` (Source) 

 and afterwards `m_newFiles` is `empty()`.
  
  But you are right, this should be improved.

REPOSITORY
  R293 Baloo

REVISION DETAIL
  https://phabricator.kde.org/D15959

To: poboiko, #baloo, #frameworks
Cc: bruns, kde-frameworks-devel, ashaposhnikov, michaelh, astippich, spoorun, 
ngraham, abrahams


D16163: refactor taglibextractor to functions specific for metadata type

2018-10-12 Thread Alexander Stippich
astippich updated this revision to Diff 43500.
astippich added a comment.


  - use forward declaration

REPOSITORY
  R286 KFileMetaData

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D16163?vs=43486=43500

BRANCH
  refactor_taglib

REVISION DETAIL
  https://phabricator.kde.org/D16163

AFFECTED FILES
  src/extractors/taglibextractor.cpp
  src/extractors/taglibextractor.h

To: astippich, bruns
Cc: mgallien, kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, 
spoorun, ngraham, bruns, abrahams


D16137: Add an option to KConfigDialog to fit page contents horizontally

2018-10-12 Thread Tim __
kadabash added a comment.


  Sorry for the duplicate updates, I messed up my Arcanist commands.
  
  Thanks for your help so far, I tried to follow your suggestions in the above 
change.

REPOSITORY
  R265 KConfigWidgets

REVISION DETAIL
  https://phabricator.kde.org/D16137

To: kadabash
Cc: aacid, kde-frameworks-devel, michaelh, ngraham, bruns


D16137: Add an option to KConfigDialog to fit page contents horizontally

2018-10-12 Thread Tim __
kadabash updated this revision to Diff 43499.
kadabash added a comment.


  Restore binary compatibility and introduce alignment flags

REPOSITORY
  R265 KConfigWidgets

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D16137?vs=43498=43499

BRANCH
  config-dialog-content-fit (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D16137

AFFECTED FILES
  src/kconfigdialog.cpp
  src/kconfigdialog.h

To: kadabash
Cc: aacid, kde-frameworks-devel, michaelh, ngraham, bruns


D16137: Add an option to KConfigDialog to fit page contents horizontally

2018-10-12 Thread Tim __
kadabash updated this revision to Diff 43498.
kadabash added a comment.


  Restore binary compatibility and introduce alignment flags

REPOSITORY
  R265 KConfigWidgets

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D16137?vs=43413=43498

BRANCH
  config-dialog-content-fit (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D16137

AFFECTED FILES
  src/kconfigdialog.cpp
  src/kconfigdialog.h

To: kadabash
Cc: aacid, kde-frameworks-devel, michaelh, ngraham, bruns


D16163: refactor taglibextractor to functions specific for metadata type

2018-10-12 Thread Alexander Stippich
astippich added a comment.


  In D16163#342057 , @mgallien wrote:
  
  > In D16163#342046 , @astippich 
wrote:
  >
  > > To be on the safe side here: I am allowed to modify private member 
functions regarding binary compatibility, right?
  >
  >
  > This page is a very good reference: 
https://community.kde.org/Policies/Binary_Compatibility_Issues_With_C%2B%2B
  
  
  Thanks, I already knew that side, but I tend to ask explicitly in case I 
misunderstood something. I really don't want to mess up frameworks :)
  
  In D16163#342061 , @bruns wrote:
  
  > In D16163#342046 , @astippich 
wrote:
  >
  > > To be on the safe side here: I am allowed to modify private member 
functions regarding binary compatibility, right?
  >
  >
  > Non-virtual methods do not affect the class layout or the vtable layout, so 
you are safe here for sure. `private` or not does not matter.
  
  
  Thanks for the explanation!

REPOSITORY
  R286 KFileMetaData

REVISION DETAIL
  https://phabricator.kde.org/D16163

To: astippich, bruns
Cc: mgallien, kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, 
spoorun, ngraham, bruns, abrahams


D16135: refactor tests for taglibextractor

2018-10-12 Thread Alexander Stippich
astippich updated this revision to Diff 43490.
astippich added a comment.


  - rebase

REPOSITORY
  R286 KFileMetaData

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D16135?vs=43409=43490

BRANCH
  refactor_tests

REVISION DETAIL
  https://phabricator.kde.org/D16135

AFFECTED FILES
  autotests/taglibextractortest.cpp
  autotests/taglibextractortest.h

To: astippich, mgallien, bruns, svuorela
Cc: kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, spoorun, 
ngraham, bruns, abrahams


D16162: harmonize test data for vorbis comment tags

2018-10-12 Thread Alexander Stippich
This revision was automatically updated to reflect the committed changes.
Closed by commit R286:1aab09a628ae: harmonize test data for vorbis comment tags 
(authored by astippich).

REPOSITORY
  R286 KFileMetaData

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D16162?vs=43485=43489

REVISION DETAIL
  https://phabricator.kde.org/D16162

AFFECTED FILES
  autotests/samplefiles/test.flac
  autotests/samplefiles/test.ogg
  autotests/samplefiles/test.opus
  autotests/taglibextractortest.cpp

To: astippich, bruns
Cc: kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, spoorun, 
ngraham, bruns, abrahams


D16163: refactor taglibextractor to functions specific for metadata type

2018-10-12 Thread Stefan Brüns
bruns added inline comments.

INLINE COMMENTS

> taglibextractor.h:31
> +#include 
>  #include 
>  

Keep the includes in the implementation and just do a forward declaration of 
the types (possible as you only use these as pointer types in the header).

REPOSITORY
  R286 KFileMetaData

REVISION DETAIL
  https://phabricator.kde.org/D16163

To: astippich, bruns
Cc: mgallien, kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, 
spoorun, ngraham, bruns, abrahams


D16163: refactor taglibextractor to functions specific for metadata type

2018-10-12 Thread Stefan Brüns
bruns added a comment.


  In D16163#342046 , @astippich 
wrote:
  
  > To be on the safe side here: I am allowed to modify private member 
functions regarding binary compatibility, right?
  
  
  Non-virtual methods do not affect the class layout or the vtable layout, so 
you are safe here for sure. `private` or not does not matter.

REPOSITORY
  R286 KFileMetaData

REVISION DETAIL
  https://phabricator.kde.org/D16163

To: astippich, bruns
Cc: mgallien, kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, 
spoorun, ngraham, bruns, abrahams


D16163: refactor taglibextractor to functions specific for metadata type

2018-10-12 Thread Matthieu Gallien
mgallien added a comment.


  In D16163#342046 , @astippich 
wrote:
  
  > To be on the safe side here: I am allowed to modify private member 
functions regarding binary compatibility, right?
  
  
  This page is a very good reference: 
https://community.kde.org/Policies/Binary_Compatibility_Issues_With_C%2B%2B

REPOSITORY
  R286 KFileMetaData

REVISION DETAIL
  https://phabricator.kde.org/D16163

To: astippich, bruns
Cc: mgallien, kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, 
spoorun, ngraham, bruns, abrahams


D16162: harmonize test data for vorbis comment tags

2018-10-12 Thread Stefan Brüns
bruns accepted this revision.
bruns added a comment.
This revision is now accepted and ready to land.


  Thx

REPOSITORY
  R286 KFileMetaData

BRANCH
  harmonize_vorbis

REVISION DETAIL
  https://phabricator.kde.org/D16162

To: astippich, bruns
Cc: kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, spoorun, 
ngraham, bruns, abrahams


D16163: refactor taglibextractor to functions specific for metadata type

2018-10-12 Thread Alexander Stippich
astippich added a comment.


  To be on the safe side here: I am allowed to modify private member functions 
regarding binary compatibility, right?

REPOSITORY
  R286 KFileMetaData

REVISION DETAIL
  https://phabricator.kde.org/D16163

To: astippich, bruns
Cc: kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, spoorun, 
ngraham, bruns, abrahams


D16163: refactor taglibextractor to functions specific for metadata type

2018-10-12 Thread Alexander Stippich
astippich created this revision.
astippich added a reviewer: bruns.
Herald added projects: Frameworks, Baloo.
Herald added subscribers: Baloo, kde-frameworks-devel.
astippich requested review of this revision.

REVISION SUMMARY
  Refactor the specific extraction funtions in taglibextractor
  so that they can be re-used for files of different mimetype,
  but with the same tag types for their metadata.
  No functional change intended.

REPOSITORY
  R286 KFileMetaData

BRANCH
  refactor_taglib

REVISION DETAIL
  https://phabricator.kde.org/D16163

AFFECTED FILES
  src/extractors/taglibextractor.cpp
  src/extractors/taglibextractor.h

To: astippich, bruns
Cc: kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, spoorun, 
ngraham, bruns, abrahams


D16135: refactor tests for taglibextractor

2018-10-12 Thread Alexander Stippich
astippich added a comment.


  In D16135#341549 , @bruns wrote:
  
  > Can you split this up in two patches, the first one updating the test files 
and fixing the values in the tests, and the second one doing the refactoring?
  
  
  see D16162 . I will rebase afterwards

REPOSITORY
  R286 KFileMetaData

REVISION DETAIL
  https://phabricator.kde.org/D16135

To: astippich, mgallien, bruns, svuorela
Cc: kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, spoorun, 
ngraham, bruns, abrahams


D16162: harmonize test data for vorbis comment tags

2018-10-12 Thread Alexander Stippich
astippich created this revision.
astippich added a reviewer: bruns.
Herald added projects: Frameworks, Baloo.
Herald added subscribers: Baloo, kde-frameworks-devel.
astippich requested review of this revision.

REVISION SUMMARY
  harmonize the test data for all files with vorbis comments
  so that the test can be converted to a data-driven test 
  in a following patch

REPOSITORY
  R286 KFileMetaData

BRANCH
  harmonize_vorbis

REVISION DETAIL
  https://phabricator.kde.org/D16162

AFFECTED FILES
  autotests/samplefiles/test.flac
  autotests/samplefiles/test.ogg
  autotests/samplefiles/test.opus
  autotests/taglibextractortest.cpp

To: astippich, bruns
Cc: kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, spoorun, 
ngraham, bruns, abrahams


D16137: Add an option to KConfigDialog to fit page contents horizontally

2018-10-12 Thread Albert Astals Cid
aacid added a comment.


  In D16137#341984 , @kadabash wrote:
  
  > I have to admit, I don't know how to implement a version with flags 
correctly.
  
  
  Look at kcmodule.h for example you'll see some flags defined there, then 
there's a setButtons function, this would be the same but to the addPage 
function
  
  > Did I understand you correctly in that an overload with signature
  > 
  >   addPage(QWidget *page, const QString , const QString  
= QString(), const QString  = QString(), bool manage = true, bool 
fitContentHorizontally = false)
  > 
  > would be ok as well? This would then be called by the overload without the 
last option (i.e. the `addPage` that existed before this diff).
  
  I'm not really the kconfigwidgets maintainer so i can't say if that would be 
acceptable API wise, but it would be ok binary compatibility wise, yes.
  
  It would though not compile because would mean you have two functions
  
addPage(QWidget *page, const QString , const QString  = 
QString(), const QString  = QString(), bool manage = true)
addPage(QWidget *page, const QString , const QString  = 
QString(), const QString  = QString(), bool manage = true, bool 
fitContentHorizontally = false)
  
  which one would be called when i call
  
addPage(someWidget, "myItemName")
  
  the first or the second?
  
  To solve that you need to make your new function not have default values, but 
as said i'm not sure if that's ok API wise, personally i think using flags is 
nicer

REPOSITORY
  R265 KConfigWidgets

REVISION DETAIL
  https://phabricator.kde.org/D16137

To: kadabash
Cc: aacid, kde-frameworks-devel, michaelh, ngraham, bruns


D16137: Add an option to KConfigDialog to fit page contents horizontally

2018-10-12 Thread Tim __
kadabash added a comment.


  I have to admit, I don't know how to implement a version with flags correctly.
  
  Did I understand you correctly in that an overload with signature
  
addPage(QWidget *page, const QString , const QString  = 
QString(), const QString  = QString(), bool manage = true, bool 
fitContentHorizontally = false)
  
  would be ok as well? This would then be called by the overload without the 
last option (i.e. the `addPage` that existed before this diff).
  
  For the second version
  
addPage(QWidget *page, KCoreConfigSkeleton *config, const QString 
, const QString  = QString(), const QString  = 
QString(), bool fitContentHorizontally = false)
  
  I would then do the same.

REPOSITORY
  R265 KConfigWidgets

REVISION DETAIL
  https://phabricator.kde.org/D16137

To: kadabash
Cc: aacid, kde-frameworks-devel, michaelh, ngraham, bruns


D16154: fix Service(Type)Browser documentation

2018-10-12 Thread Harald Sitter
sitter updated this revision to Diff 43468.
sitter added a comment.


  use QStringLiteral

REPOSITORY
  R272 KDNSSD

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D16154?vs=43465=43468

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D16154

AFFECTED FILES
  src/servicebrowser.h
  src/servicetypebrowser.h

To: sitter, broulik
Cc: kde-frameworks-devel, michaelh, ngraham, bruns


D16154: fix Service(Type)Browser documentation

2018-10-12 Thread Harald Sitter
sitter created this revision.
sitter added a reviewer: broulik.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
sitter requested review of this revision.

REVISION SUMMARY
  servicebrowser code sample:
  
  - now uses our coding style
  - correctly references RemoteService::Ptr from outside the namespace
  - uses functor based connection syntax for compiler assisted validation
  
  servicetypebrowser:
  
  - no longer uses incorrect doxygen references prentending to be 
ServiceBrowser (this resulted in a) the STB not showing up on api.kde.org AND 
b) the STB's docs being merged into the SB's)
  - documentation is clearly on what it browses exactly

TEST PLAN
  kapidox_generate seems to generate sane docs now

REPOSITORY
  R272 KDNSSD

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D16154

AFFECTED FILES
  src/servicebrowser.h
  src/servicetypebrowser.h

To: sitter, broulik
Cc: kde-frameworks-devel, michaelh, ngraham, bruns


D15985: [balooctl] Print current state & indexing file when monitor starts

2018-10-12 Thread Igor Poboiko
poboiko added a comment.


  That's weird. I caught it only once and thought that it is because I 
trivially forgot the endl. But now I cannot reproduce it anymore.
  Seems like it should be fine, since we do emit finished signal, which will 
write the 'OK' part.
  Sorry for the noise.

REVISION DETAIL
  https://phabricator.kde.org/D15985

To: poboiko, #baloo, #frameworks, bruns, ngraham
Cc: ngraham, bruns


D15985: [balooctl] Print current state & indexing file when monitor starts

2018-10-12 Thread Stefan Brüns
bruns added a comment.


  Also, is your running baloo_file using current master? Otherwise, it may 
return a file finished long ago, see D15994 
.

REVISION DETAIL
  https://phabricator.kde.org/D15985

To: poboiko, #baloo, #frameworks, bruns, ngraham
Cc: ngraham, bruns


D15985: [balooctl] Print current state & indexing file when monitor starts

2018-10-12 Thread Stefan Brüns
bruns added a comment.


  In D15985#341854 , @poboiko wrote:
  
  >   Indexing /some/file1Indexing /some/file2: OK
  >
  
  
  Are you sure its file1...file2 and not the same file twice? If it is the 
same, we can set m_currentFile in 71 and suppress the duplicated output in 
startedIndexingFile.

REVISION DETAIL
  https://phabricator.kde.org/D15985

To: poboiko, #baloo, #frameworks, bruns, ngraham
Cc: ngraham, bruns


D15985: [balooctl] Print current state & indexing file when monitor starts

2018-10-12 Thread Stefan Brüns
bruns added a comment.


  In D15985#341854 , @poboiko wrote:
  
  > In D15985#341811 , @bruns wrote:
  >
  > > No, definitely not, see D15995 .
  >
  >
  > I don't see how it is a problem. The problem is not that it's not written 
to terminal (it is), but that it just doesn't have a trailing newline, i.e. 
output looks like
  >
  >   Indexing /some/file1Indexing /some/file2: OK
  >   Indexing /some/file3: OK
  >   ...
  >
  
  
  So apparently the indexer has not yet processed the registration request and 
does not send us a finished signal?
  
  Can you try to find out the exact sequence of messages using `dbus-monitor 
interface='org.kde.fileindexer'`?

REVISION DETAIL
  https://phabricator.kde.org/D15985

To: poboiko, #baloo, #frameworks, bruns, ngraham
Cc: ngraham, bruns


D15985: [balooctl] Print current state & indexing file when monitor starts

2018-10-12 Thread Igor Poboiko
poboiko added a comment.


  In D15985#341811 , @bruns wrote:
  
  > No, definitely not, see D15995 .
  
  
  I don't see how it is a problem. The problem is not that it's not written to 
terminal (it is), but that it just doesn't have a trailing newline, i.e. output 
looks like
  
Indexing /some/file1Indexing /some/file2: OK
Indexing /some/file3: OK
...
  
  A flush shouldn't hurt.
  
  Just in case, I suggest not to do it inside `startedIndexingFile`, but right 
here, after line 73 (that's because we have a special case of 
`startedIndexingFile` without `finsihedIndexingFile`).

REVISION DETAIL
  https://phabricator.kde.org/D15985

To: poboiko, #baloo, #frameworks, bruns, ngraham
Cc: ngraham, bruns


D15985: [balooctl] Print current state & indexing file when monitor starts

2018-10-12 Thread Stefan Brüns
bruns added a comment.


  In D15985#341751 , @poboiko wrote:
  
  > Woops! `startedIndexingFile` does not print a newline. I guess I can just 
add `m_out << endl`...
  
  
  No, definitely not, see D15995 .

REVISION DETAIL
  https://phabricator.kde.org/D15985

To: poboiko, #baloo, #frameworks, bruns, ngraham
Cc: ngraham, bruns


KDE CI: Frameworks » baloo » kf5-qt5 WindowsMSVCQt5.11 - Build # 33 - Fixed!

2018-10-12 Thread CI System
BUILD SUCCESS
 Build URL
https://build.kde.org/job/Frameworks/job/baloo/job/kf5-qt5%20WindowsMSVCQt5.11/33/
 Project:
kf5-qt5 WindowsMSVCQt5.11
 Date of build:
Fri, 12 Oct 2018 09:36:44 +
 Build duration:
2 min 33 sec and counting

D16141: Disable unmount option for / or /home

2018-10-12 Thread Thomas Surrel
thsurrel added a comment.


  In D16141#341553 , @ngraham wrote:
  
  > However, I'm afraid this doesn't actually work for me:
  
  
  That's strange, it is the same code than in Dolphin (and it works for me). 
Could you have a look at the placesModel->url(index) != 
QUrl::fromLocalFile(QDir::rootPath()) comparison at tell me what each side 
contains ?

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D16141

To: thsurrel, #frameworks, ngraham
Cc: dfaure, broulik, ngraham, kde-frameworks-devel, michaelh, bruns


D16141: Disable unmount option for / or /home

2018-10-12 Thread Thomas Surrel
thsurrel added a comment.


  In D16141#341738 , @dfaure wrote:
  
  > This whole method could put placesModel->url(index) into a local variable 
to avoid calling it so many times, though.
  
  
  Should I do that here or in a different patch ?

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D16141

To: thsurrel, #frameworks, ngraham
Cc: dfaure, broulik, ngraham, kde-frameworks-devel, michaelh, bruns


D15985: [balooctl] Print current state & indexing file when monitor starts

2018-10-12 Thread Igor Poboiko
poboiko added a comment.


  Woops! `startedIndexingFile` does not print a newline. I guess I can just add 
`m_out << endl`...

REVISION DETAIL
  https://phabricator.kde.org/D15985

To: poboiko, #baloo, #frameworks, bruns, ngraham
Cc: ngraham, bruns


D15983: React to config updates inside indexer

2018-10-12 Thread Igor Poboiko
poboiko marked 3 inline comments as done.

REPOSITORY
  R293 Baloo

REVISION DETAIL
  https://phabricator.kde.org/D15983

To: poboiko, #baloo, #frameworks
Cc: kde-frameworks-devel, bruns, ashaposhnikov, michaelh, astippich, spoorun, 
ngraham, abrahams


D15983: React to config updates inside indexer

2018-10-12 Thread Igor Poboiko
poboiko updated this revision to Diff 43446.
poboiko added a comment.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.


  Address raised issues

REPOSITORY
  R293 Baloo

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D15983?vs=42971=43446

BRANCH
  update-config

REVISION DETAIL
  https://phabricator.kde.org/D15983

AFFECTED FILES
  src/file/fileindexscheduler.cpp
  src/file/fileindexscheduler.h
  src/file/indexcleaner.cpp
  src/file/mainhub.cpp

To: poboiko, #baloo, #frameworks
Cc: kde-frameworks-devel, bruns, ashaposhnikov, michaelh, astippich, spoorun, 
ngraham, abrahams


D16141: Disable unmount option for / or /home

2018-10-12 Thread David Faure
dfaure added a comment.


  +1
  
  This whole method could put placesModel->url(index) into a local variable to 
avoid calling it so many times, though.

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D16141

To: thsurrel, #frameworks, ngraham
Cc: dfaure, broulik, ngraham, kde-frameworks-devel, michaelh, bruns


D15826: [Balooshow] Avoid out-of-bounds access when accessing corrupt db data

2018-10-12 Thread Igor Poboiko
poboiko added a comment.


  I'm not entirely sure how translating system works, but won't it pop up as 4 
identical lines in i.e. `Lokalize`, causing frustration to our translators? 
  It would also mean that if we would want to change the message, we would have 
to do it in 4 different lines.
  
  I suggest introducing something like an `QString errorMessage` and printing 
it only once.

REPOSITORY
  R293 Baloo

REVISION DETAIL
  https://phabricator.kde.org/D15826

To: bruns, #baloo, #frameworks, poboiko
Cc: anthonyfieroni, kde-frameworks-devel, ashaposhnikov, michaelh, astippich, 
spoorun, ngraham, bruns, abrahams


D15939: Perform checks for unindexed files and stale index entries on startup

2018-10-12 Thread Igor Poboiko
poboiko added a comment.


  In D15939#341094 , @smithjd wrote:
  
  > https://phabricator.kde.org/D11529 was already up for review, implemented 
the index cleaner and checked for removeable volumes before removing index 
entries. Exporting the storagedevices object was required: 
https://phabricator.kde.org/D15047.  The alternative, implementing a path 
lookup function is here: https://phabricator.kde.org/D15843.
  
  
  Sorry, I was not aware of those patches (didn't do my homework). I'll look at 
those!

REPOSITORY
  R293 Baloo

REVISION DETAIL
  https://phabricator.kde.org/D15939

To: poboiko, #baloo, #frameworks, vhanda, ngraham
Cc: smithjd, bruns, ngraham, kde-frameworks-devel, ashaposhnikov, michaelh, 
astippich, spoorun, abrahams


D16145: Adapt autotest to new menu structure

2018-10-12 Thread gregormi
gregormi accepted this revision.
This revision is now accepted and ready to land.

REPOSITORY
  R304 KNewStuff

BRANCH
  fix

REVISION DETAIL
  https://phabricator.kde.org/D16145

To: nicolasfella, gregormi, dhaumann
Cc: kde-frameworks-devel, michaelh, ngraham, bruns


D15959: Wait for the extraction process to finish before scheduling

2018-10-12 Thread Igor Poboiko
poboiko added a comment.


  In D15959#339523 , @bruns wrote:
  
  > This works for me:
  >
  >void FileIndexScheduler::scheduleIndexing()
  >{
  >   -if (m_threadPool.activeThreadCount() || m_indexerState == Suspended) 
{
  >   +if (m_indexerState == Suspended) {
  >return;
  >}
  >
  
  
  That might require some changes in the scheduling logic. Right now it will 
behave weirdly.
  If we do this change, there might be situations where bunch of i.e. 
`ModifiedFileIndexer` gets pushed to queue in a row. For example, we were 
inside `FirstRunIndexer`, and 10 files were modified.
  Even worse, if will have a single new file and then 10 modified files - it 
will push 10 `NewFileIndexer`s.

REPOSITORY
  R293 Baloo

REVISION DETAIL
  https://phabricator.kde.org/D15959

To: poboiko, #baloo, #frameworks
Cc: bruns, kde-frameworks-devel, ashaposhnikov, michaelh, astippich, spoorun, 
ngraham, abrahams


D16141: Disable unmount option for / or /home

2018-10-12 Thread Thomas Surrel
thsurrel added a comment.


  If logged in as root, wouldn't QDir::homePath() return /root and not 
/home/ ? You should be able to unmount /home in that case.

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D16141

To: thsurrel, #frameworks, ngraham
Cc: broulik, ngraham, kde-frameworks-devel, michaelh, bruns


D16141: Disable unmount option for / or /home

2018-10-12 Thread Thomas Surrel
thsurrel edited the summary of this revision.

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D16141

To: thsurrel, #frameworks, ngraham
Cc: broulik, ngraham, kde-frameworks-devel, michaelh, bruns


KDE CI: Frameworks » kdelibs4support » kf5-qt5 SUSEQt5.9 - Build # 43 - Still unstable!

2018-10-12 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kdelibs4support/job/kf5-qt5%20SUSEQt5.9/43/
 Project:
kf5-qt5 SUSEQt5.9
 Date of build:
Fri, 12 Oct 2018 06:09:03 +
 Build duration:
24 min and counting
   JUnit Tests
  Name: (root) Failed: 1 test(s), Passed: 39 test(s), Skipped: 0 test(s), Total: 40 test(s)Failed: TestSuite.ktabwidget_unittest
   Cobertura Report
  
   Project Coverage Summary
  
   Name
  PackagesFilesClassesLinesConditionalsCobertura Coverage Report29%
(4/14)43%
(124/291)43%
(124/291)47%
(21750/45961)38%
(13184/34249)Coverage Breakdown by Package
Name
   FilesClassesLinesConditionalsdefault0%
(0/1)0%
(0/1)0%
(0/87)0%
(0/56)autotests98%
(44/45)98%
(44/45)98%
(11469/11759)50%
(7254/14375)src0%
(0/1)0%
(0/1)0%
(0/4)0%
(0/2)src.kdebugdialog0%
(0/7)0%
(0/7)0%
(0/256)0%
(0/73)src.kdecore76%
(65/86)76%
(65/86)53%
(9506/17866)49%
(5599/11459)src.kdeui19%
(13/68)19%
(13/68)8%
(765/9694)6%
(330/5364)src.kio7%
(2/27)7%
(2/27)0%
(10/2258)0%
(1/1238)src.kioslave.metainfo0%
(0/1)0%
(0/1)0%
(0/32)0%
(0/4)src.kparts0%
(0/1)0%
(0/1)0%
(0/24)0%
(0/12)src.kssl0%
(0/8)0%
(0/8)0%
(0/1807)0%
(0/853)src.kssl.kcm0%
(0/3)0%
(0/3)0%
(0/264)0%
(0/145)src.solid0%
(0/3)0%
(0/3)0%
(0/188)0%
(0/87)src.solid-networkstatus.kded0%
(0/6)0%
(0/6)0%
(0/185)0%
(0/94)tests0%
(0/34)0%
(0/34)0%
(0/1537)0%
(0/487)

D16141: Disable unmount option for / or /home

2018-10-12 Thread Kai Uwe Broulik
broulik added a comment.


  Why would you be unable to unmount `/home`? If you're logged in as root (not 
saying that one should or can), whose home is `/root` you can surely unmount 
`/home`

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D16141

To: thsurrel, #frameworks, ngraham
Cc: broulik, ngraham, kde-frameworks-devel, michaelh, bruns


KDE CI: Frameworks » baloo » kf5-qt5 WindowsMSVCQt5.11 - Build # 32 - Still Failing!

2018-10-12 Thread CI System
BUILD FAILURE
 Build URL
https://build.kde.org/job/Frameworks/job/baloo/job/kf5-qt5%20WindowsMSVCQt5.11/32/
 Project:
kf5-qt5 WindowsMSVCQt5.11
 Date of build:
Fri, 12 Oct 2018 05:32:54 +
 Build duration:
58 min and counting
   CONSOLE OUTPUT
  [...truncated 113.40 KB...]-- Found KF5IdleTime: C:/CI/Software Installs/baloo/lib/cmake/KF5IdleTime/KF5IdleTimeConfig.cmake (found version "5.51.0") -- Found KF5Solid: C:/CI/Software Installs/baloo/lib/cmake/KF5Solid/KF5SolidConfig.cmake (found version "5.51.0") -- Found KF5FileMetaData: C:/CI/Software Installs/baloo/lib/cmake/KF5FileMetaData/KF5FileMetaDataConfig.cmake (found version "5.51.0") -- Found KF5Crash: C:/CI/Software Installs/baloo/lib/cmake/KF5Crash/KF5CrashConfig.cmake (found version "5.51.0") -- Found KF5KIO: C:/CI/Software Installs/baloo/lib/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.51.0") -- Found KF5: success (found suitable version "5.51.0", minimum required is "5.51.0") found components:  CoreAddons Config DBusAddons I18n IdleTime Solid FileMetaData Crash KIO -- Could NOT find LMDB (missing: LMDB_LIBRARIES) -- LMDB lib: LMDB_LIBRARIES-NOTFOUND-- LMDB include: C:/Craft/CI-Qt511/windows-msvc2017_64-cl-debug/include-- Performing Test COMPILER_HAS_DEPRECATED_ATTR-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed-- Performing Test COMPILER_HAS_DEPRECATED-- Performing Test COMPILER_HAS_DEPRECATED - Success-- Found Doxygen: C:/Craft/CI-Qt511/windows-msvc2017_64-cl-debug/dev-utils/bin/doxygen.exe (found suitable version "1.8.14", minimum required is "1.8.13") found components:  doxygen missing components:  dot-- Found QHelpGenerator executable: C:/Craft/CI-Qt511/windows-msvc2017_64-cl-debug/bin/qhelpgenerator.exe-- No such target Qt5Core_QCH defined when calling ecm_add_qch(), ignored.-- No such tag file "C:/CI/Software Installs/kcoreaddons/bin/data/doc/qch/KF5CoreAddons.tags" found for KF5CoreAddons_QCH when calling ecm_add_qch().CMake Warning at C:/CI/Software Installs/baloo/share/ECM/modules/ECMAddQch.cmake:391 (message):  No linking to API dox of KF5CoreAddons_QCH.Call Stack (most recent call first):  C:/CI/Software Installs/baloo/share/ECM/modules/ECMAddQch.cmake:566 (_ecm_collect_linkable_qch_targets)  src/lib/CMakeLists.txt:90 (ecm_add_qch)-- No such tag file "C:/CI/Software Installs/kfilemetadata/bin/data/doc/qch/KF5FileMetaData.tags" found for KF5FileMetaData_QCH when calling ecm_add_qch().CMake Warning at C:/CI/Software Installs/baloo/share/ECM/modules/ECMAddQch.cmake:391 (message):  No linking to API dox of KF5FileMetaData_QCH.Call Stack (most recent call first):  C:/CI/Software Installs/baloo/share/ECM/modules/ECMAddQch.cmake:566 (_ecm_collect_linkable_qch_targets)  src/lib/CMakeLists.txt:90 (ecm_add_qch)-- The following features have been enabled: * QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)-- The following REQUIRED packages have been found: * ECM (required version >= 5.51.0), Extra CMake Modules,  * Qt5DBus * Qt5Gui (required version >= 5.11.2) * Qt5Widgets * Qt5Network (required version >= 5.11.2) * Qt5Qml * Qt5Quick * Qt5Test * Qt5 (required version >= 5.8.0) * KF5CoreAddons (required version >= 5.51.0) * KF5Config (required version >= 5.51.0) * KF5DBusAddons (required version >= 5.51.0) * Gettext * KF5I18n (required version >= 5.51.0) * KF5IdleTime (required version >= 5.51.0) * KF5Solid (required version >= 5.51.0) * KF5FileMetaData (required version >= 5.51.0) * KF5Crash (required version >= 5.51.0) * KF5KIO (required version >= 5.51.0) * KF5 (required version >= 5.51.0) * Doxygen (required version >= 1.8.13)   Needed for API dox QCH file generation * QHelpGenerator, Part of Qt5 tools   Needed for API dox QCH file generation * Qt5Core-- The following features have been disabled: * EXP, Build experimental features-- The following OPTIONAL packages have not been found: * Inotify   Filesystem alteration notifications using inotify-- The following REQUIRED packages have not been found: * LMDB, Lightning Memory-Mapped Database (LMDB), CMake Error at C:/Craft/CI-Qt511/windows-msvc2017_64-cl-debug/dev-utils/cmake/share/cmake-3.12/Modules/FeatureSummary.cmake:459 (message):  feature_summary() Error: REQUIRED package(s) are missing, aborting CMake  run.Call Stack (most recent call first):  CMakeLists.txt:155 (feature_summary)CMake Error: The following variables are used in this project, but they are set to NOTFOUND.Please set them or make sure they are set and tested correctly in the CMake files:LMDB_LIBRARIES (ADVANCED)linked by target "KF5BalooEngine" in directory C:/CI/workspace/Frameworks/baloo/kf5-qt5 WindowsMSVCQt5.11/src/engine-- Configuring incomplete, errors occurred!See also "C:/CI/workspace/Frameworks/baloo/kf5-qt5 WindowsMSVCQt5.11/build/CMakeFiles/CMakeOutput.log".See also "C:/CI/workspace/Frameworks/baloo/kf5-qt5 WindowsMSVCQt5.11/build/CMakeFiles/CMakeError.log".[Pipeline] }[Pipeline] // stage[Pipeline] }ERROR: script returned 

KDE CI: Frameworks » networkmanager-qt » kf5-qt5 SUSEQt5.9 - Build # 38 - Fixed!

2018-10-12 Thread CI System
BUILD SUCCESS
 Build URL
https://build.kde.org/job/Frameworks/job/networkmanager-qt/job/kf5-qt5%20SUSEQt5.9/38/
 Project:
kf5-qt5 SUSEQt5.9
 Date of build:
Fri, 12 Oct 2018 06:05:50 +
 Build duration:
11 min and counting
   JUnit Tests
  Name: (root) Failed: 0 test(s), Passed: 27 test(s), Skipped: 0 test(s), Total: 27 test(s)
   Cobertura Report
  
   Project Coverage Summary
  
   Name
  PackagesFilesClassesLinesConditionalsCobertura Coverage Report100%
(6/6)47%
(123/264)47%
(123/264)54%
(6072/11301)35%
(1580/4466)Coverage Breakdown by Package
Name
   FilesClassesLinesConditionalsautotests100%
(3/3)100%
(3/3)100%
(236/236)46%
(105/230)autotests.settings100%
(23/23)100%
(23/23)99%
(1149/1157)73%
(119/164)src27%
(27/99)27%
(27/99)28%
(978/3538)22%
(426/1898)src.dbus21%
(16/78)21%
(16/78)10%
(88/909)100%
(0/0)src.fakenetwork75%
(6/8)75%
(6/8)74%
(494/665)46%
(52/114)src.settings91%
(48/53)91%
(48/53)65%
(3127/4796)43%
(878/2060)

KDE CI: Frameworks » kpackage » kf5-qt5 SUSEQt5.9 - Build # 59 - Still Unstable!

2018-10-12 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kpackage/job/kf5-qt5%20SUSEQt5.9/59/
 Project:
kf5-qt5 SUSEQt5.9
 Date of build:
Fri, 12 Oct 2018 05:58:14 +
 Build duration:
16 min and counting
   JUnit Tests
  Name: (root) Failed: 4 test(s), Passed: 8 test(s), Skipped: 0 test(s), Total: 12 test(s)Failed: TestSuite.plasma-plasmoidpackagetestFailed: TestSuite.testfallbackpackage-appstreamFailed: TestSuite.testpackage-appstreamFailed: TestSuite.testpackage-nodisplay-appstream
   Cobertura Report
  
   Project Coverage Summary
  
   Name
  PackagesFilesClassesLinesConditionalsCobertura Coverage Report100%
(5/5)84%
(16/19)84%
(16/19)54%
(1154/2122)40%
(850/2120)Coverage Breakdown by Package
Name
   FilesClassesLinesConditionalsautotests83%
(5/6)83%
(5/6)57%
(308/536)35%
(167/472)autotests.mockdepresolver100%
(1/1)100%
(1/1)78%
(14/18)58%
(7/12)src.kpackage75%
(3/4)75%
(3/4)66%
(497/755)51%
(478/935)src.kpackage.private83%
(5/6)83%
(5/6)54%
(190/351)34%
(67/195)src.kpackagetool100%
(2/2)100%
(2/2)31%
(145/462)26%
(131/506)

KDE CI: Frameworks » kdelibs4support » kf5-qt5 SUSEQt5.10 - Build # 69 - Still unstable!

2018-10-12 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kdelibs4support/job/kf5-qt5%20SUSEQt5.10/69/
 Project:
kf5-qt5 SUSEQt5.10
 Date of build:
Fri, 12 Oct 2018 06:09:03 +
 Build duration:
3 min 17 sec and counting
   JUnit Tests
  Name: (root) Failed: 1 test(s), Passed: 39 test(s), Skipped: 0 test(s), Total: 40 test(s)Failed: TestSuite.ktabwidget_unittest
   Cobertura Report
  
   Project Coverage Summary
  
   Name
  PackagesFilesClassesLinesConditionalsCobertura Coverage Report29%
(4/14)43%
(124/291)43%
(124/291)47%
(21615/45959)38%
(13051/34249)Coverage Breakdown by Package
Name
   FilesClassesLinesConditionalsdefault0%
(0/1)0%
(0/1)0%
(0/87)0%
(0/56)autotests98%
(44/45)98%
(44/45)97%
(11364/11759)50%
(7174/14375)src0%
(0/1)0%
(0/1)0%
(0/4)0%
(0/2)src.kdebugdialog0%
(0/7)0%
(0/7)0%
(0/256)0%
(0/73)src.kdecore76%
(65/86)76%
(65/86)53%
(9476/17864)48%
(5546/11459)src.kdeui19%
(13/68)19%
(13/68)8%
(765/9694)6%
(330/5364)src.kio7%
(2/27)7%
(2/27)0%
(10/2258)0%
(1/1238)src.kioslave.metainfo0%
(0/1)0%
(0/1)0%
(0/32)0%
(0/4)src.kparts0%
(0/1)0%
(0/1)0%
(0/24)0%
(0/12)src.kssl0%
(0/8)0%
(0/8)0%
(0/1807)0%
(0/853)src.kssl.kcm0%
(0/3)0%
(0/3)0%
(0/264)0%
(0/145)src.solid0%
(0/3)0%
(0/3)0%
(0/188)0%
(0/87)src.solid-networkstatus.kded0%
(0/6)0%
(0/6)0%
(0/185)0%
(0/94)tests0%
(0/34)0%
(0/34)0%
(0/1537)0%
(0/487)

KDE CI: Frameworks » kdelibs4support » kf5-qt5 FreeBSDQt5.11 - Build # 11 - Fixed!

2018-10-12 Thread CI System
BUILD SUCCESS
 Build URL
https://build.kde.org/job/Frameworks/job/kdelibs4support/job/kf5-qt5%20FreeBSDQt5.11/11/
 Project:
kf5-qt5 FreeBSDQt5.11
 Date of build:
Fri, 12 Oct 2018 06:09:03 +
 Build duration:
2 min 36 sec and counting

KDE CI: Frameworks » networkmanager-qt » kf5-qt5 SUSEQt5.10 - Build # 49 - Fixed!

2018-10-12 Thread CI System
BUILD SUCCESS
 Build URL
https://build.kde.org/job/Frameworks/job/networkmanager-qt/job/kf5-qt5%20SUSEQt5.10/49/
 Project:
kf5-qt5 SUSEQt5.10
 Date of build:
Fri, 12 Oct 2018 06:05:50 +
 Build duration:
2 min 27 sec and counting
   JUnit Tests
  Name: (root) Failed: 0 test(s), Passed: 27 test(s), Skipped: 0 test(s), Total: 27 test(s)
   Cobertura Report
  
   Project Coverage Summary
  
   Name
  PackagesFilesClassesLinesConditionalsCobertura Coverage Report100%
(6/6)47%
(123/264)47%
(123/264)54%
(6070/11301)35%
(1579/4466)Coverage Breakdown by Package
Name
   FilesClassesLinesConditionalsautotests100%
(3/3)100%
(3/3)100%
(236/236)46%
(105/230)autotests.settings100%
(23/23)100%
(23/23)99%
(1149/1157)73%
(119/164)src27%
(27/99)27%
(27/99)28%
(976/3538)22%
(425/1898)src.dbus21%
(16/78)21%
(16/78)10%
(88/909)100%
(0/0)src.fakenetwork75%
(6/8)75%
(6/8)74%
(494/665)46%
(52/114)src.settings91%
(48/53)91%
(48/53)65%
(3127/4796)43%
(878/2060)

KDE CI: Frameworks » kdelibs4support » kf5-qt5 SUSEQt5.9 - Build # 42 - Failure!

2018-10-12 Thread CI System
BUILD FAILURE
 Build URL
https://build.kde.org/job/Frameworks/job/kdelibs4support/job/kf5-qt5%20SUSEQt5.9/42/
 Project:
kf5-qt5 SUSEQt5.9
 Date of build:
Fri, 12 Oct 2018 05:33:42 +
 Build duration:
32 min and counting
   CONSOLE OUTPUT
  [...truncated 863.86 KB...][ 81%] Built target kmimetype_nomimetypes[ 81%] Linking CXX executable ../bin/kconfigcompattestScanning dependencies of target kfontdialogtest[ 81%] Building CXX object tests/CMakeFiles/kfontdialogtest.dir/kfontdialogtest.cpp.o[ 81%] Built target klibloadertestScanning dependencies of target kshortcuttest[ 81%] Building CXX object tests/CMakeFiles/kshortcuttest.dir/kshortcuttest.cpp.o[ 81%] Building CXX object tests/CMakeFiles/kshortcuttest.dir/kshortcuttest_autogen/mocs_compilation.cpp.o[ 81%] Built target kconfigcompattestScanning dependencies of target kmessageboxqueuedtestScanning dependencies of target kmdcodectest[ 82%] Building CXX object tests/CMakeFiles/kmessageboxqueuedtest.dir/kmessageboxqueuedtest.cpp.o[ 82%] Building CXX object tests/CMakeFiles/kmdcodectest.dir/kmdcodectest.cpp.oScanning dependencies of target netaccesstest[ 82%] Building CXX object tests/CMakeFiles/netaccesstest.dir/netaccesstest.cpp.o[ 82%] Linking CXX executable ../bin/kglobaltest[ 82%] Linking CXX executable ../bin/kfilemetainfotest[ 82%] Building CXX object tests/CMakeFiles/ksystemtraytest.dir/ksystemtraytest_autogen/mocs_compilation.cpp.o[ 82%] Linking CXX executable ../bin/ksystemtraytest[ 82%] Built target kglobaltestScanning dependencies of target kprogressdialogtest[ 82%] Building CXX object tests/CMakeFiles/kfontdialogtest.dir/kfontdialogtest_autogen/mocs_compilation.cpp.o[ 82%] Built target kfilemetainfotest[ 82%] Building CXX object tests/CMakeFiles/kprogressdialogtest.dir/kprogressdialogtest.cpp.oScanning dependencies of target kcolordlgtest[ 83%] Linking CXX executable ../bin/kfontdialogtest[ 84%] Building CXX object tests/CMakeFiles/kcolordlgtest.dir/kcolordlgtest.cpp.o/home/jenkins/workspace/Frameworks/kdelibs4support/kf5-qt5 SUSEQt5.9/tests/kshortcuttest.cpp: In member function ���void tst_KShortcut::checkQKeySequence()���:/home/jenkins/workspace/Frameworks/kdelibs4support/kf5-qt5 SUSEQt5.9/tests/kshortcuttest.cpp:101:66: error: ambiguous overload for ���operator+��� (operand types are ���QChar��� and ���QChar���) QString p = QChar(QChar::highSurrogate(Qt::Key_unknown)) + QChar(QChar::lowSurrogate(Qt::Key_unknown)); ~^In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qabstractanimation.h:43, from /usr/include/qt5/QtCore/QtCore:5, from /usr/include/qt5/QtTest/QtTestDepends:3, from /usr/include/qt5/QtTest/QtTest:3, from /home/jenkins/workspace/Frameworks/kdelibs4support/kf5-qt5 SUSEQt5.9/tests/kshortcuttest.cpp:21:/usr/include/qt5/QtCore/qstring.h:1296:22: note: candidate: ���const QString operator+(const QString&, const QString&)��� inline const QString operator+(const QString , const QString )  ^~~~/usr/include/qt5/QtCore/qstring.h:1298:22: note: candidate: ���const QString operator+(const QString&, QChar)��� inline const QString operator+(const QString , QChar s2)  ^~~~/usr/include/qt5/QtCore/qstring.h:1300:22: note: candidate: ���const QString operator+(QChar, const QString&)��� inline const QString operator+(QChar s1, const QString )  ^~~~/home/jenkins/workspace/Frameworks/kdelibs4support/kf5-qt5 SUSEQt5.9/tests/kshortcuttest.cpp:118:53: error: ambiguous overload for ���operator+��� (operand types are ���QChar��� and ���QChar���) QString p1 = QChar(QChar::highSurrogate(k)) + QChar(QChar::lowSurrogate(k));  ~~~^~~In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qabstractanimation.h:43, from /usr/include/qt5/QtCore/QtCore:5, from /usr/include/qt5/QtTest/QtTestDepends:3, from /usr/include/qt5/QtTest/QtTest:3, from /home/jenkins/workspace/Frameworks/kdelibs4support/kf5-qt5 SUSEQt5.9/tests/kshortcuttest.cpp:21:/usr/include/qt5/QtCore/qstring.h:1296:22: note: candidate: ���const QString operator+(const QString&, const QString&)��� inline const QString operator+(const QString , const QString )  ^~~~/usr/include/qt5/QtCore/qstring.h:1298:22: note: candidate: ���const QString operator+(const QString&, QChar)��� inline const QString operator+(const QString , QChar s2)  ^~~~/usr/include/qt5/QtCore/qstring.h:1300:22: note: candidate: ���const QString operator+(QChar, const QString&)��� inline const QString operator+(QChar s1, const QString )  

KDE CI: Frameworks » networkmanager-qt » kf5-qt5 SUSEQt5.9 - Build # 37 - Failure!

2018-10-12 Thread CI System
BUILD FAILURE
 Build URL
https://build.kde.org/job/Frameworks/job/networkmanager-qt/job/kf5-qt5%20SUSEQt5.9/37/
 Project:
kf5-qt5 SUSEQt5.9
 Date of build:
Fri, 12 Oct 2018 05:34:26 +
 Build duration:
30 min and counting
   CONSOLE OUTPUT
  [...truncated 148.59 KB...]make[2]: *** Waiting for unfinished jobs[  3%] Building CXX object src/CMakeFiles/KF5NetworkManagerQt_static.dir/accesspoint.cpp.omake[2]: *** [src/CMakeFiles/KF5NetworkManagerQt.dir/build.make:141: src/CMakeFiles/KF5NetworkManagerQt.dir/bridgedevice.cpp.o] Error 1[  3%] Building CXX object src/CMakeFiles/KF5NetworkManagerQt_static.dir/activeconnection.cpp.o/home/jenkins/workspace/Frameworks/networkmanager-qt/kf5-qt5 SUSEQt5.9/src/device.cpp: In member function ���void NetworkManager::DevicePrivate::init()���:/home/jenkins/workspace/Frameworks/networkmanager-qt/kf5-qt5 SUSEQt5.9/src/device.cpp:127:124: error: ���QString::QString(const char*)��� is private within this context QVariantMap initialProperties = NetworkManagerPrivate::retrieveInitialProperties(deviceIface.staticInterfaceName(), uni);^In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /home/jenkins/workspace/Frameworks/networkmanager-qt/kf5-qt5 SUSEQt5.9/src/dbus/deviceinterface.h:14, from /home/jenkins/workspace/Frameworks/networkmanager-qt/kf5-qt5 SUSEQt5.9/src/device_p.h:24, from /home/jenkins/workspace/Frameworks/networkmanager-qt/kf5-qt5 SUSEQt5.9/src/device.cpp:23:/usr/include/qt5/QtCore/qstring.h:793:5: note: declared private here QString(const char *ch); ^~~/home/jenkins/workspace/Frameworks/networkmanager-qt/kf5-qt5 SUSEQt5.9/src/bluetoothdevice.cpp: In constructor ���NetworkManager::BluetoothDevice::BluetoothDevice(const QString&, QObject*)���:/home/jenkins/workspace/Frameworks/networkmanager-qt/kf5-qt5 SUSEQt5.9/src/bluetoothdevice.cpp:43:124: error: ���QString::QString(const char*)��� is private within this context QVariantMap initialProperties = NetworkManagerPrivate::retrieveInitialProperties(d->btIface.staticInterfaceName(), path);^In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /home/jenkins/workspace/Frameworks/networkmanager-qt/kf5-qt5 SUSEQt5.9/src/device.h:27, from /home/jenkins/workspace/Frameworks/networkmanager-qt/kf5-qt5 SUSEQt5.9/src/modemdevice.h:26, from /home/jenkins/workspace/Frameworks/networkmanager-qt/kf5-qt5 SUSEQt5.9/src/bluetoothdevice.h:23, from /home/jenkins/workspace/Frameworks/networkmanager-qt/kf5-qt5 SUSEQt5.9/src/bluetoothdevice.cpp:22:/usr/include/qt5/QtCore/qstring.h:793:5: note: declared private here QString(const char *ch); ^~~make[2]: *** [src/CMakeFiles/KF5NetworkManagerQt.dir/build.make:76: src/CMakeFiles/KF5NetworkManagerQt.dir/accesspoint.cpp.o] Error 1[  3%] Building CXX object src/CMakeFiles/KF5NetworkManagerQt_static.dir/adsldevice.cpp.omake[2]: *** [src/CMakeFiles/KF5NetworkManagerQt_static.dir/build.make:63: src/CMakeFiles/KF5NetworkManagerQt_static.dir/device.cpp.o] Error 1make[2]: *** Waiting for unfinished jobsmake[2]: *** [src/CMakeFiles/KF5NetworkManagerQt.dir/build.make:102: src/CMakeFiles/KF5NetworkManagerQt.dir/adsldevice.cpp.o] Error 1make[2]: *** [src/CMakeFiles/KF5NetworkManagerQt.dir/build.make:128: src/CMakeFiles/KF5NetworkManagerQt.dir/bonddevice.cpp.o] Error 1make[2]: *** [src/CMakeFiles/KF5NetworkManagerQt.dir/build.make:115: src/CMakeFiles/KF5NetworkManagerQt.dir/bluetoothdevice.cpp.o] Error 1make[2]: *** [src/CMakeFiles/KF5NetworkManagerQt.dir/build.make:63: src/CMakeFiles/KF5NetworkManagerQt.dir/device.cpp.o] Error 1make[1]: *** [CMakeFiles/Makefile2:2225: src/CMakeFiles/KF5NetworkManagerQt.dir/all] Error 2make[1]: *** Waiting for unfinished jobs/home/jenkins/workspace/Frameworks/networkmanager-qt/kf5-qt5 SUSEQt5.9/src/accesspoint.cpp: In constructor ���NetworkManager::AccessPoint::AccessPoint(const QString&, QObject*)���:/home/jenkins/workspace/Frameworks/networkmanager-qt/kf5-qt5 SUSEQt5.9/src/accesspoint.cpp:70:122: error: ���QString::QString(const char*)��� is private within this context QVariantMap initialProperties = NetworkManagerPrivate::retrieveInitialProperties(d->iface.staticInterfaceName(), path);  ^In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /home/jenkins/workspace/Frameworks/networkmanager-qt/kf5-qt5 

KDE CI: Frameworks » kcoreaddons » kf5-qt5 SUSEQt5.9 - Build # 63 - Still Unstable!

2018-10-12 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kcoreaddons/job/kf5-qt5%20SUSEQt5.9/63/
 Project:
kf5-qt5 SUSEQt5.9
 Date of build:
Fri, 12 Oct 2018 05:20:13 +
 Build duration:
42 min and counting
   JUnit Tests
  Name: (root) Failed: 1 test(s), Passed: 23 test(s), Skipped: 0 test(s), Total: 24 test(s)Failed: TestSuite.kdirwatch_qfswatch_unittest
   Cobertura Report
  
   Project Coverage Summary
  
   Name
  PackagesFilesClassesLinesConditionalsCobertura Coverage Report91%
(10/11)85%
(69/81)85%
(69/81)75%
(6331/8428)43%
(10150/23417)Coverage Breakdown by Package
Name
   FilesClassesLinesConditionalsautotests93%
(26/28)93%
(26/28)97%
(2700/2776)49%
(5801/11903)src.desktoptojson100%
(2/2)100%
(2/2)78%
(88/113)38%
(122/322)src.lib50%
(1/2)50%
(1/2)62%
(352/572)26%
(243/924)src.lib.caching100%
(2/2)100%
(2/2)45%
(354/782)18%
(184/1038)src.lib.io82%
(9/11)82%
(9/11)68%
(854/1265)37%
(1043/2803)src.lib.jobs71%
(5/7)71%
(5/7)57%
(160/281)38%
(52/138)src.lib.plugin100%
(7/7)100%
(7/7)85%
(654/770)42%
(975/2315)src.lib.randomness100%
(2/2)100%
(2/2)70%
(67/96)58%
(44/76)src.lib.text63%
(5/8)63%
(5/8)48%
(374/784)45%
(863/1927)src.lib.util100%
(10/10)100%
(10/10)81%
(728/904)52%
(823/1573)tests0%
(0/2)0%
(0/2)0%
(0/85)0%
(0/398)