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

2020-08-20 Thread CI System
BUILD SUCCESS
 Build URL
https://build.kde.org/job/Frameworks/job/kwindowsystem/job/kf5-qt5%20FreeBSDQt5.15/11/
 Project:
kf5-qt5 FreeBSDQt5.15
 Date of build:
Fri, 21 Aug 2020 00:38:46 +
 Build duration:
1 min 37 sec and counting
   JUnit Tests
  Name: projectroot Failed: 0 test(s), Passed: 13 test(s), Skipped: 0 test(s), Total: 13 test(s)

Re: Porting a project to KDE

2020-08-20 Thread Albert Astals Cid
El dijous, 20 d’agost de 2020, a les 23:53:27 CEST, Francois Blanchette va 
escriure:
> You are correct. :) References to SDL in the CMakeLists.txt should SDL2.
> I pushed another patch to develop branch.

I've needed this to make it link for me.

http://paste.debian.net/1160708/

Cheers,
  Albert

> 
> On 8/20/20, Albert Astals Cid  wrote:
> > El dijous, 20 d’agost de 2020, a les 16:40:44 CEST, Francois Blanchette va
> > escriure:
> >> Fixed. I pushed a patch to the develop branch to remove this dependency.
> >
> > Almost works now.
> >
> > It compiles but I'm getting linking errors
> >
> > /usr/bin/ld:
> > CMakeFiles/lgck-builder.dir/home/tsdgeos/lgck-src/src/shared/implementers/sdl/gr_sdl.cpp.o:
> > in function `CGRSdl::clear(unsigned int, unsigned int, unsigned int) [clone
> > .localalias]':
> > gr_sdl.cpp:(.text+0x59): undefined reference to `SDL_SetRenderDrawColor'
> >
> > SDL_SetRenderDrawColor seems to be from SDL2 but you're only doing cmake
> > stuff regarding SDL1?
> >
> > Cheers,
> >   Albert
> >
> >>
> >>
> >> On 8/20/20, Albert Astals Cid  wrote:
> >> > El diumenge, 16 d’agost de 2020, a les 0:01:11 CEST, Francois Blanchette
> >> > va
> >> > escriure:
> >> >> Great observation. I just updated the CmakeLists.txt. I don’t know how
> >> >> compliant it is right now but at least it compiles and links.
> >> >> https://github.com/cfrankb/lgck-src/blob/develop/src/lgck-builder/CMakeLists.txt
> >> >
> >> > Fails to build here
> >> >
> >> > /home/tsdgeos/lgck-src/src/lgck-builder/main.cpp:28:10: fatal error:
> >> > ss_build.h: File or directory does not exist
> >> >28 | #include "ss_build.h"
> >> >   |  ^~~~
> >> >
> >> > Cheers,
> >> >   Albert
> >> >
> >> >
> >> >
> >>
> >
> >
> >
> >
> >
> 






Re: Porting a project to KDE

2020-08-20 Thread Francois Blanchette
You are correct. :) References to SDL in the CMakeLists.txt should SDL2.
I pushed another patch to develop branch.

On 8/20/20, Albert Astals Cid  wrote:
> El dijous, 20 d’agost de 2020, a les 16:40:44 CEST, Francois Blanchette va
> escriure:
>> Fixed. I pushed a patch to the develop branch to remove this dependency.
>
> Almost works now.
>
> It compiles but I'm getting linking errors
>
> /usr/bin/ld:
> CMakeFiles/lgck-builder.dir/home/tsdgeos/lgck-src/src/shared/implementers/sdl/gr_sdl.cpp.o:
> in function `CGRSdl::clear(unsigned int, unsigned int, unsigned int) [clone
> .localalias]':
> gr_sdl.cpp:(.text+0x59): undefined reference to `SDL_SetRenderDrawColor'
>
> SDL_SetRenderDrawColor seems to be from SDL2 but you're only doing cmake
> stuff regarding SDL1?
>
> Cheers,
>   Albert
>
>>
>>
>> On 8/20/20, Albert Astals Cid  wrote:
>> > El diumenge, 16 d’agost de 2020, a les 0:01:11 CEST, Francois Blanchette
>> > va
>> > escriure:
>> >> Great observation. I just updated the CmakeLists.txt. I don’t know how
>> >> compliant it is right now but at least it compiles and links.
>> >> https://github.com/cfrankb/lgck-src/blob/develop/src/lgck-builder/CMakeLists.txt
>> >
>> > Fails to build here
>> >
>> > /home/tsdgeos/lgck-src/src/lgck-builder/main.cpp:28:10: fatal error:
>> > ss_build.h: File or directory does not exist
>> >28 | #include "ss_build.h"
>> >   |  ^~~~
>> >
>> > Cheers,
>> >   Albert
>> >
>> >
>> >
>>
>
>
>
>
>


Re: Syntax-Highlighter questions

2020-08-20 Thread Andreas Müller
On Thu, Aug 20, 2020 at 8:21 PM Kåre Särs  wrote:
>
> So the thing is that the text document does not get notified that it needs a 
> redraw... how is just adding a 'onDefinitionNameChanged: textArea.append("")'
>
> I tried it and it works, but is that too ugly?
>
Hi Kåre,

thanks for your response. It was an inspiring suggestion:
OK I was looking for something that the library does for all
consumers. So I looked into QTextDocument but I found nothing that
looked suitable for a forced redraw.
So I remembered: My code does nothing with the document but passing it
to SyntaxHighlighter on creation. That lead me to the (brute force)
solution: Every time a new definition or theme is set, the highlighter
is destroyed and a new one is created [1]. Maybe ugly from performance
point of view but works fine.

[1] 
https://github.com/schnitzeltony/ksyntax-highlighting-wrapper/commit/d556eece45dc65aada51d7c7925a13866188ba22

Thanks again,

Andreas


KDE CI: Frameworks » ktexteditor » kf5-qt5 SUSEQt5.12 - Build # 384 - Still Unstable!

2020-08-20 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/ktexteditor/job/kf5-qt5%20SUSEQt5.12/384/
 Project:
kf5-qt5 SUSEQt5.12
 Date of build:
Thu, 20 Aug 2020 19:08:51 +
 Build duration:
5 min 33 sec and counting
   BUILD ARTIFACTS
  abi-compatibility-results.yamlacc/KF5TextEditor-5.74.0.xmlcompat_reports/KF5TextEditor_compat_report.htmllogs/KF5TextEditor/5.74.0/log.txt
   JUnit Tests
  Name: (root) Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot Failed: 1 test(s), Passed: 61 test(s), Skipped: 0 test(s), Total: 62 test(s)Failed: projectroot.autotests.kateindenttest_testRubyName: projectroot.autotests.src Failed: 0 test(s), Passed: 5 test(s), Skipped: 0 test(s), Total: 5 test(s)
   Cobertura Report
  
   Project Coverage Summary
  
   Name
  PackagesFilesClassesLinesConditionalsCobertura Coverage Report79%
(22/28)86%
(263/305)86%
(263/305)68%
(33506/49327)50%
(15100/30147)Coverage Breakdown by Package
Name
   FilesClassesLinesConditionalsautotests.src100%
(38/38)100%
(38/38)94%
(4873/5171)49%
(1824/3690)autotests.src.vimode100%
(9/9)100%
(9/9)99%
(5543/5585)58%
(984/1708)src.buffer88%
(15/17)88%
(15/17)90%
(1701/1893)75%
(1099/1464)src.completion100%
(11/11)100%
(11/11)57%
(1788/3136)42%
(1009/2425)src.completion.expandingtree100%
(3/3)100%
(3/3)40%
(182/457)21%
(73/340)src.dialogs0%
(0/4)0%
(0/4)0%
(0/868)0%
(0/184)src.document100%
(4/4)100%
(4/4)61%
(1948/3182)48%
(1423/2947)src.export0%
(0/4)0%
(0/4)0%
(0/121)0%
(0/156)src.include.ktexteditor78%
(14/18)78%
(14/18)90%
(205/227)65%
(146/226)src.inputmode100%
(8/8)100%
(8/8)63%
(192/304)51%
(39/77)src.mode88%
(7/8)88%
(7/8)36%
(378/1051)16%
(146/891)src.part0%
(0/1)0%
(0/1)0%
(0/7)100%
(0/0)src.printing0%
(0/4)0%
(0/4)0%
(0/862)0%
(0/278)src.render100%
(8/8)100%
(8/8)77%
(950/1227)67%
(610/914)src.schema22%
(2/9)22%
(2/9)1%
(19/1472)1%
(6/625)src.script94%
(16/17)94%
(16/17)69%
(717/1040)56%
(227/409)src.search100%
  

KDE CI: Frameworks » ktexteditor » kf5-qt5 SUSEQt5.15 - Build # 34 - Still Unstable!

2020-08-20 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/ktexteditor/job/kf5-qt5%20SUSEQt5.15/34/
 Project:
kf5-qt5 SUSEQt5.15
 Date of build:
Thu, 20 Aug 2020 19:03:15 +
 Build duration:
8 min 38 sec and counting
   BUILD ARTIFACTS
  abi-compatibility-results.yamlacc/KF5TextEditor-5.74.0.xmlcompat_reports/KF5TextEditor_compat_report.htmllogs/KF5TextEditor/5.74.0/log.txt
   JUnit Tests
  Name: (root) Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot Failed: 3 test(s), Passed: 59 test(s), Skipped: 0 test(s), Total: 62 test(s)Failed: projectroot.autotests.bug313759Failed: projectroot.autotests.kateindenttest_testPascalFailed: projectroot.autotests.kateindenttest_testRubyName: projectroot.autotests.src Failed: 0 test(s), Passed: 5 test(s), Skipped: 0 test(s), Total: 5 test(s)
   Cobertura Report
  
   Project Coverage Summary
  
   Name
  PackagesFilesClassesLinesConditionalsCobertura Coverage Report79%
(22/28)85%
(260/305)85%
(260/305)67%
(33120/49304)49%
(14868/30143)Coverage Breakdown by Package
Name
   FilesClassesLinesConditionalsautotests.src97%
(37/38)97%
(37/38)93%
(4828/5166)49%
(1817/3690)autotests.src.vimode100%
(9/9)100%
(9/9)99%
(5543/5585)58%
(984/1708)src.buffer88%
(15/17)88%
(15/17)89%
(1678/1893)74%
(1078/1464)src.completion100%
(11/11)100%
(11/11)57%
(1788/3136)42%
(1009/2425)src.completion.expandingtree100%
(3/3)100%
(3/3)40%
(182/457)21%
(73/340)src.dialogs0%
(0/4)0%
(0/4)0%
(0/868)0%
(0/184)src.document100%
(4/4)100%
(4/4)61%
(1942/3182)48%
(1411/2947)src.export0%
(0/4)0%
(0/4)0%
(0/121)0%
(0/156)src.include.ktexteditor78%
(14/18)78%
(14/18)83%
(189/227)55%
(125/226)src.inputmode100%
(8/8)100%
(8/8)63%
(192/304)51%
(39/77)src.mode88%
(7/8)88%
(7/8)36%
(378/1051)16%
(146/891)src.part0%
(0/1)0%
(0/1)0%
(0/7)100%
(0/0)src.printing0%
(0/4)0%
(0/4)0%
(0/862)0%
(0/278)src.render100%
(8/8)100%
(8/8)77%
(950/1227)67%
(610/914)src.schema22%
(2/9)22%
(2/9)1%
(19/1472)1%
(6/625)src.script94%
(16/17)94%
(16/17)68%
 

KDE CI: Frameworks » ktexteditor » kf5-qt5 FreeBSDQt5.15 - Build # 35 - Still Unstable!

2020-08-20 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/ktexteditor/job/kf5-qt5%20FreeBSDQt5.15/35/
 Project:
kf5-qt5 FreeBSDQt5.15
 Date of build:
Thu, 20 Aug 2020 19:06:18 +
 Build duration:
4 min 15 sec and counting
   JUnit Tests
  Name: projectroot Failed: 3 test(s), Passed: 59 test(s), Skipped: 0 test(s), Total: 62 test(s)Failed: projectroot.autotests.bug313759Failed: projectroot.autotests.kateindenttest_testAdaFailed: projectroot.autotests.kateindenttest_testRubyName: projectroot.autotests.src Failed: 0 test(s), Passed: 5 test(s), Skipped: 0 test(s), Total: 5 test(s)

KDE CI: Frameworks » ktexteditor » kf5-qt5 SUSEQt5.12 - Build # 383 - Still Unstable!

2020-08-20 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/ktexteditor/job/kf5-qt5%20SUSEQt5.12/383/
 Project:
kf5-qt5 SUSEQt5.12
 Date of build:
Thu, 20 Aug 2020 19:01:55 +
 Build duration:
6 min 55 sec and counting
   BUILD ARTIFACTS
  abi-compatibility-results.yamlacc/KF5TextEditor-5.74.0.xmlcompat_reports/KF5TextEditor_compat_report.htmllogs/KF5TextEditor/5.74.0/log.txt
   JUnit Tests
  Name: (root) Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot Failed: 1 test(s), Passed: 61 test(s), Skipped: 0 test(s), Total: 62 test(s)Failed: projectroot.autotests.kateindenttest_testRubyName: projectroot.autotests.src Failed: 0 test(s), Passed: 5 test(s), Skipped: 0 test(s), Total: 5 test(s)
   Cobertura Report
  
   Project Coverage Summary
  
   Name
  PackagesFilesClassesLinesConditionalsCobertura Coverage Report79%
(22/28)86%
(263/305)86%
(263/305)68%
(33506/49327)50%
(15101/30147)Coverage Breakdown by Package
Name
   FilesClassesLinesConditionalsautotests.src100%
(38/38)100%
(38/38)94%
(4873/5171)49%
(1824/3690)autotests.src.vimode100%
(9/9)100%
(9/9)99%
(5543/5585)58%
(984/1708)src.buffer88%
(15/17)88%
(15/17)90%
(1701/1893)75%
(1099/1464)src.completion100%
(11/11)100%
(11/11)57%
(1788/3136)42%
(1009/2425)src.completion.expandingtree100%
(3/3)100%
(3/3)40%
(182/457)21%
(73/340)src.dialogs0%
(0/4)0%
(0/4)0%
(0/868)0%
(0/184)src.document100%
(4/4)100%
(4/4)61%
(1948/3182)48%
(1423/2947)src.export0%
(0/4)0%
(0/4)0%
(0/121)0%
(0/156)src.include.ktexteditor78%
(14/18)78%
(14/18)90%
(205/227)65%
(146/226)src.inputmode100%
(8/8)100%
(8/8)63%
(192/304)51%
(39/77)src.mode88%
(7/8)88%
(7/8)36%
(378/1051)16%
(146/891)src.part0%
(0/1)0%
(0/1)0%
(0/7)100%
(0/0)src.printing0%
(0/4)0%
(0/4)0%
(0/862)0%
(0/278)src.render100%
(8/8)100%
(8/8)77%
(950/1227)67%
(610/914)src.schema22%
(2/9)22%
(2/9)1%
(19/1472)1%
(6/625)src.script94%
(16/17)94%
(16/17)69%
(717/1040)56%
(227/409)src.search100%
  

KDE CI: Frameworks » ktexteditor » kf5-qt5 FreeBSDQt5.15 - Build # 34 - Still Unstable!

2020-08-20 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/ktexteditor/job/kf5-qt5%20FreeBSDQt5.15/34/
 Project:
kf5-qt5 FreeBSDQt5.15
 Date of build:
Thu, 20 Aug 2020 19:01:55 +
 Build duration:
4 min 21 sec and counting
   JUnit Tests
  Name: projectroot Failed: 2 test(s), Passed: 60 test(s), Skipped: 0 test(s), Total: 62 test(s)Failed: projectroot.autotests.bug313759Failed: projectroot.autotests.kateindenttest_testRubyName: projectroot.autotests.src Failed: 0 test(s), Passed: 5 test(s), Skipped: 0 test(s), Total: 5 test(s)

KDE CI: Frameworks » ktexteditor » kf5-qt5 SUSEQt5.15 - Build # 33 - Still Unstable!

2020-08-20 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/ktexteditor/job/kf5-qt5%20SUSEQt5.15/33/
 Project:
kf5-qt5 SUSEQt5.15
 Date of build:
Thu, 20 Aug 2020 18:39:45 +
 Build duration:
23 min and counting
   BUILD ARTIFACTS
  abi-compatibility-results.yamlacc/KF5TextEditor-5.74.0.xmlcompat_reports/KF5TextEditor_compat_report.htmllogs/KF5TextEditor/5.74.0/log.txt
   JUnit Tests
  Name: (root) Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot Failed: 3 test(s), Passed: 59 test(s), Skipped: 0 test(s), Total: 62 test(s)Failed: projectroot.autotests.bug313759Failed: projectroot.autotests.kateindenttest_testPascalFailed: projectroot.autotests.kateindenttest_testRubyName: projectroot.autotests.src Failed: 0 test(s), Passed: 5 test(s), Skipped: 0 test(s), Total: 5 test(s)
   Cobertura Report
  
   Project Coverage Summary
  
   Name
  PackagesFilesClassesLinesConditionalsCobertura Coverage Report79%
(22/28)85%
(260/305)85%
(260/305)67%
(33120/49304)49%
(14868/30143)Coverage Breakdown by Package
Name
   FilesClassesLinesConditionalsautotests.src97%
(37/38)97%
(37/38)93%
(4828/5166)49%
(1817/3690)autotests.src.vimode100%
(9/9)100%
(9/9)99%
(5543/5585)58%
(984/1708)src.buffer88%
(15/17)88%
(15/17)89%
(1678/1893)74%
(1078/1464)src.completion100%
(11/11)100%
(11/11)57%
(1788/3136)42%
(1009/2425)src.completion.expandingtree100%
(3/3)100%
(3/3)40%
(182/457)21%
(73/340)src.dialogs0%
(0/4)0%
(0/4)0%
(0/868)0%
(0/184)src.document100%
(4/4)100%
(4/4)61%
(1942/3182)48%
(1411/2947)src.export0%
(0/4)0%
(0/4)0%
(0/121)0%
(0/156)src.include.ktexteditor78%
(14/18)78%
(14/18)83%
(189/227)55%
(125/226)src.inputmode100%
(8/8)100%
(8/8)63%
(192/304)51%
(39/77)src.mode88%
(7/8)88%
(7/8)36%
(378/1051)16%
(146/891)src.part0%
(0/1)0%
(0/1)0%
(0/7)100%
(0/0)src.printing0%
(0/4)0%
(0/4)0%
(0/862)0%
(0/278)src.render100%
(8/8)100%
(8/8)77%
(950/1227)67%
(610/914)src.schema22%
(2/9)22%
(2/9)1%
(19/1472)1%
(6/625)src.script94%
(16/17)94%
(16/17)68%
   

KDE CI: Frameworks » ktexteditor » kf5-qt5 SUSEQt5.12 - Build # 382 - Still Unstable!

2020-08-20 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/ktexteditor/job/kf5-qt5%20SUSEQt5.12/382/
 Project:
kf5-qt5 SUSEQt5.12
 Date of build:
Thu, 20 Aug 2020 18:46:40 +
 Build duration:
5 min 43 sec and counting
   BUILD ARTIFACTS
  abi-compatibility-results.yamlacc/KF5TextEditor-5.74.0.xmlcompat_reports/KF5TextEditor_compat_report.htmllogs/KF5TextEditor/5.74.0/log.txt
   JUnit Tests
  Name: (root) Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot Failed: 1 test(s), Passed: 61 test(s), Skipped: 0 test(s), Total: 62 test(s)Failed: projectroot.autotests.kateindenttest_testRubyName: projectroot.autotests.src Failed: 0 test(s), Passed: 5 test(s), Skipped: 0 test(s), Total: 5 test(s)
   Cobertura Report
  
   Project Coverage Summary
  
   Name
  PackagesFilesClassesLinesConditionalsCobertura Coverage Report79%
(22/28)86%
(263/305)86%
(263/305)68%
(33506/49327)50%
(15100/30147)Coverage Breakdown by Package
Name
   FilesClassesLinesConditionalsautotests.src100%
(38/38)100%
(38/38)94%
(4873/5171)49%
(1824/3690)autotests.src.vimode100%
(9/9)100%
(9/9)99%
(5543/5585)58%
(984/1708)src.buffer88%
(15/17)88%
(15/17)90%
(1701/1893)75%
(1099/1464)src.completion100%
(11/11)100%
(11/11)57%
(1788/3136)42%
(1009/2425)src.completion.expandingtree100%
(3/3)100%
(3/3)40%
(182/457)21%
(73/340)src.dialogs0%
(0/4)0%
(0/4)0%
(0/868)0%
(0/184)src.document100%
(4/4)100%
(4/4)61%
(1948/3182)48%
(1422/2947)src.export0%
(0/4)0%
(0/4)0%
(0/121)0%
(0/156)src.include.ktexteditor78%
(14/18)78%
(14/18)90%
(205/227)65%
(146/226)src.inputmode100%
(8/8)100%
(8/8)63%
(192/304)51%
(39/77)src.mode88%
(7/8)88%
(7/8)36%
(378/1051)16%
(146/891)src.part0%
(0/1)0%
(0/1)0%
(0/7)100%
(0/0)src.printing0%
(0/4)0%
(0/4)0%
(0/862)0%
(0/278)src.render100%
(8/8)100%
(8/8)77%
(950/1227)67%
(610/914)src.schema22%
(2/9)22%
(2/9)1%
(19/1472)1%
(6/625)src.script94%
(16/17)94%
(16/17)69%
(717/1040)56%
(227/409)src.search100%
  

KDE CI: Frameworks » ktexteditor » kf5-qt5 FreeBSDQt5.15 - Build # 33 - Still Unstable!

2020-08-20 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/ktexteditor/job/kf5-qt5%20FreeBSDQt5.15/33/
 Project:
kf5-qt5 FreeBSDQt5.15
 Date of build:
Thu, 20 Aug 2020 18:44:10 +
 Build duration:
4 min 20 sec and counting
   JUnit Tests
  Name: projectroot Failed: 3 test(s), Passed: 59 test(s), Skipped: 0 test(s), Total: 62 test(s)Failed: projectroot.autotests.bug313759Failed: projectroot.autotests.kateindenttest_testAdaFailed: projectroot.autotests.kateindenttest_testRubyName: projectroot.autotests.src Failed: 0 test(s), Passed: 5 test(s), Skipped: 0 test(s), Total: 5 test(s)

KDE CI: Frameworks » ktexteditor » kf5-qt5 SUSEQt5.12 - Build # 381 - Still Unstable!

2020-08-20 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/ktexteditor/job/kf5-qt5%20SUSEQt5.12/381/
 Project:
kf5-qt5 SUSEQt5.12
 Date of build:
Thu, 20 Aug 2020 18:39:45 +
 Build duration:
6 min 54 sec and counting
   BUILD ARTIFACTS
  abi-compatibility-results.yamlacc/KF5TextEditor-5.74.0.xmlcompat_reports/KF5TextEditor_compat_report.htmllogs/KF5TextEditor/5.74.0/log.txt
   JUnit Tests
  Name: (root) Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot Failed: 1 test(s), Passed: 61 test(s), Skipped: 0 test(s), Total: 62 test(s)Failed: projectroot.autotests.kateindenttest_testRubyName: projectroot.autotests.src Failed: 0 test(s), Passed: 5 test(s), Skipped: 0 test(s), Total: 5 test(s)
   Cobertura Report
  
   Project Coverage Summary
  
   Name
  PackagesFilesClassesLinesConditionalsCobertura Coverage Report79%
(22/28)86%
(263/305)86%
(263/305)68%
(33506/49327)50%
(15100/30147)Coverage Breakdown by Package
Name
   FilesClassesLinesConditionalsautotests.src100%
(38/38)100%
(38/38)94%
(4873/5171)49%
(1824/3690)autotests.src.vimode100%
(9/9)100%
(9/9)99%
(5543/5585)58%
(984/1708)src.buffer88%
(15/17)88%
(15/17)90%
(1701/1893)75%
(1099/1464)src.completion100%
(11/11)100%
(11/11)57%
(1788/3136)42%
(1009/2425)src.completion.expandingtree100%
(3/3)100%
(3/3)40%
(182/457)21%
(73/340)src.dialogs0%
(0/4)0%
(0/4)0%
(0/868)0%
(0/184)src.document100%
(4/4)100%
(4/4)61%
(1948/3182)48%
(1423/2947)src.export0%
(0/4)0%
(0/4)0%
(0/121)0%
(0/156)src.include.ktexteditor78%
(14/18)78%
(14/18)90%
(205/227)65%
(146/226)src.inputmode100%
(8/8)100%
(8/8)63%
(192/304)51%
(39/77)src.mode88%
(7/8)88%
(7/8)36%
(378/1051)16%
(146/891)src.part0%
(0/1)0%
(0/1)0%
(0/7)100%
(0/0)src.printing0%
(0/4)0%
(0/4)0%
(0/862)0%
(0/278)src.render100%
(8/8)100%
(8/8)77%
(950/1227)67%
(610/914)src.schema22%
(2/9)22%
(2/9)1%
(19/1472)1%
(6/625)src.script94%
(16/17)94%
(16/17)69%
(717/1040)56%
(227/409)src.search100%
  

KDE CI: Frameworks » ktexteditor » kf5-qt5 FreeBSDQt5.15 - Build # 32 - Still Unstable!

2020-08-20 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/ktexteditor/job/kf5-qt5%20FreeBSDQt5.15/32/
 Project:
kf5-qt5 FreeBSDQt5.15
 Date of build:
Thu, 20 Aug 2020 18:39:45 +
 Build duration:
4 min 22 sec and counting
   JUnit Tests
  Name: projectroot Failed: 3 test(s), Passed: 59 test(s), Skipped: 0 test(s), Total: 62 test(s)Failed: projectroot.autotests.bug313759Failed: projectroot.autotests.kateindenttest_testCppstyleFailed: projectroot.autotests.kateindenttest_testRubyName: projectroot.autotests.src Failed: 0 test(s), Passed: 5 test(s), Skipped: 0 test(s), Total: 5 test(s)

Re: Syntax-Highlighter questions

2020-08-20 Thread Kåre Särs
Hi,

On torsdag 20 augusti 2020 kl. 01:02:36 EEST Andreas Müller wrote:
> Hi,
> 
> a while back I needed syntax-highlighting in a QML based application.
> Since I could not find some QML support for syntax-highlighter, I
> wrote a wrapper library [1]. That worked perfectly fine but now that I
> wrote an example (screenshot in [1]) unexpected behaviour pops up. The
> example is different because it can set highlighter's definition and
> theme during runtime which were set once statically in the initial
> application.
> 
> Now my issue/question:
> Highlight definition: Although SyntaxHighlighter::setDefinition calls
> rehighlight(), the content of the text field remains unchanged. By
> changing the size of the window, the new highlighting is drawn. Do you
> have any suggestions what can be done to fix that?
> 
> Hoping for cure :) and thanks in advance,

So the thing is that the text document does not get notified that it needs a 
redraw... how is 
just adding a 'onDefinitionNameChanged: textArea.append("")'

I tried it and it works, but is that too ugly?

Nice wrapper tho... :)


/Kåre

> 
> Andreas
> 
> 
> [1] https://github.com/schnitzeltony/ksyntax-highlighting-wrapper




ANNOUNCE] CMake 3.18.2 available for download

2020-08-20 Thread Robert Maynard
We are pleased to announce that CMake 3.18.2 is now available for download.

Please use the latest release from our download page:
  https://cmake.org/download/

Thanks for your support!

-
Changes in 3.18.2 since 3.18.1:

Alexandru Croitor (2):
  AutoGen: Fix over-specified direct dependencies of custom command
  AutoGen: Add test to check for correct AutoMoc dependencies

Axel Huebl (1):
  FindMPI: Fix regression in pthread guard

Ben Boeckel (1):
  FPHSA: detect inclusion between find modules

Brad King (8):
  Tests: Isolate RunCMake.FindPkgConfig from caller environment
  FindRuby: Restore compatibility variable RUBY_INCLUDE_PATH
  Xcode: Explicitly turn off signing in try_compile projects
  PCH: Avoid Apple-specific architecture flags on other platforms
  gitlab-ci: add 'cmake' tag to all jobs
  Tests: Fix RunCMake.try_compile test for C standards with MSVC 19.27
  gitlab-ci: Update Windows builds to MSVC 19.27
  CMake 3.18.2

Craig Scott (2):
  ExternalProject: Stop patch target from always appearing out-of-date
  ExternalProject: Stop configure target from always appearing out-of-date

Cristian Adam (1):
  PCH: Avoid unnecessary 30s delay on MSBuild Generator with REUSE_FROM

Daniele E. Domenichelli (1):
  FindRuby: Add documentation for deprecated variables

Joerg Bornemann (2):
  Autogen: Turn off moc path prefix generation by default
  Help: Add 3.18.2 release note about AUTOMOC_PATH_PREFIX default change

Kyle Edwards (1):
  Ninja: Restore shorter path to response files

Laurits Riple (1):
  GoogleTest: Restore support for list arguments in TEST_EXECUTOR

Marc Chevrier (3):
  FindPython: ensure user's policies are respected
  FindPython: manage SOABI for all Python versions
  FindPython: enhance robustness of version extraction from library name

Raul Tambre (1):
  MSVC: Record support for C11 and c_restrict

Robert Maynard (1):
  CMakeFindBinUtils: Always consider plain binutils when not cross-compiling

Seth R Johnson (1):
  FindHDF5: fix compiler detection when HL is disabled

Thomas Bernard (1):
  llvm-rc: Fix quoting of path to cmake in CMAKE_RC_COMPILE_OBJECT


D28745: Skip caching thumbnails on encrypted filesystems

2020-08-20 Thread Marcin Gurtowski
marcingu added inline comments.

INLINE COMMENTS

> dfaure wrote in thumbnail.cpp:776
> I don't see how stat would succeed and st_dev would be 0, but I could be 
> wrong. Maybe assert that it's not 0, at least?

If st_dev cannot be 0 on successful call of lstat, I don't think there's need 
to change anything. m_thumbnailDirDeviceId will remain zero only if lstat 
returns error and as long it's zero sharesFilesystemWithThumbRoot will return 
false.

REPOSITORY
  R320 KIO Extras

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

To: marcingu, ivan, broulik, #dolphin, ngraham, meven, bruns, dfaure
Cc: dfaure, thiago, bruns, meven, ngraham, kde-frameworks-devel, kfm-devel, 
waitquietly, azyx, nikolaik, pberestov, iasensio, aprcela, fprice, LeGast00n, 
cblack, fbampaloukas, alexde, Codezela, feverfew, michaelh, spoorun, 
navarromorales, firef, andrebarros, emmanuelp, rdieter, mikesomov


D28745: Skip caching thumbnails on encrypted filesystems

2020-08-20 Thread Marcin Gurtowski
marcingu added inline comments.

INLINE COMMENTS

> meven wrote in thumbnail.cpp:781
> error check here for `!lstat(QFile::encodeName(path).data(), )` is 
> important, file might have moved for instance.

Please elaborate, I don't see what the problem is.

REPOSITORY
  R320 KIO Extras

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

To: marcingu, ivan, broulik, #dolphin, ngraham, meven, bruns, dfaure
Cc: dfaure, thiago, bruns, meven, ngraham, kde-frameworks-devel, kfm-devel, 
waitquietly, azyx, nikolaik, pberestov, iasensio, aprcela, fprice, LeGast00n, 
cblack, fbampaloukas, alexde, Codezela, feverfew, michaelh, spoorun, 
navarromorales, firef, andrebarros, emmanuelp, rdieter, mikesomov


D28745: Skip caching thumbnails on encrypted filesystems

2020-08-20 Thread Marcin Gurtowski
marcingu marked 2 inline comments as done.

REPOSITORY
  R320 KIO Extras

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

To: marcingu, ivan, broulik, #dolphin, ngraham, meven, bruns, dfaure
Cc: dfaure, thiago, bruns, meven, ngraham, kde-frameworks-devel, kfm-devel, 
waitquietly, azyx, nikolaik, pberestov, iasensio, aprcela, fprice, LeGast00n, 
cblack, fbampaloukas, alexde, Codezela, feverfew, michaelh, spoorun, 
navarromorales, firef, andrebarros, emmanuelp, rdieter, mikesomov


D28745: Skip caching thumbnails on encrypted filesystems

2020-08-20 Thread Marcin Gurtowski
marcingu updated this revision to Diff 83351.
marcingu added a comment.


  Adding path to error logs

REPOSITORY
  R320 KIO Extras

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D28745?vs=83350=83351

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

AFFECTED FILES
  thumbnail/thumbnail.cpp
  thumbnail/thumbnail.h

To: marcingu, ivan, broulik, #dolphin, ngraham, meven, bruns, dfaure
Cc: dfaure, thiago, bruns, meven, ngraham, kde-frameworks-devel, kfm-devel, 
waitquietly, azyx, nikolaik, pberestov, iasensio, aprcela, fprice, LeGast00n, 
cblack, fbampaloukas, alexde, Codezela, feverfew, michaelh, spoorun, 
navarromorales, firef, andrebarros, emmanuelp, rdieter, mikesomov


Re: Porting a project to KDE

2020-08-20 Thread Albert Astals Cid
El dijous, 20 d’agost de 2020, a les 16:40:44 CEST, Francois Blanchette va 
escriure:
> Fixed. I pushed a patch to the develop branch to remove this dependency.

Almost works now.

It compiles but I'm getting linking errors

/usr/bin/ld: 
CMakeFiles/lgck-builder.dir/home/tsdgeos/lgck-src/src/shared/implementers/sdl/gr_sdl.cpp.o:
 in function `CGRSdl::clear(unsigned int, unsigned int, unsigned int) [clone 
.localalias]':
gr_sdl.cpp:(.text+0x59): undefined reference to `SDL_SetRenderDrawColor'

SDL_SetRenderDrawColor seems to be from SDL2 but you're only doing cmake stuff 
regarding SDL1?

Cheers,
  Albert

> 
> 
> On 8/20/20, Albert Astals Cid  wrote:
> > El diumenge, 16 d’agost de 2020, a les 0:01:11 CEST, Francois Blanchette va
> > escriure:
> >> Great observation. I just updated the CmakeLists.txt. I don’t know how
> >> compliant it is right now but at least it compiles and links.
> >> https://github.com/cfrankb/lgck-src/blob/develop/src/lgck-builder/CMakeLists.txt
> >
> > Fails to build here
> >
> > /home/tsdgeos/lgck-src/src/lgck-builder/main.cpp:28:10: fatal error:
> > ss_build.h: File or directory does not exist
> >28 | #include "ss_build.h"
> >   |  ^~~~
> >
> > Cheers,
> >   Albert
> >
> >
> >
> 






D28745: Skip caching thumbnails on encrypted filesystems

2020-08-20 Thread Marcin Gurtowski
marcingu marked 2 inline comments as done.
marcingu added inline comments.

INLINE COMMENTS

> dfaure wrote in thumbnail.h:93
> This will break compilation on Windows, I assume?
> 
> On Unix, is the corresponding include present in this file? The lack of 
> context makes reviewing difficult indeed. Any chance to move this to gitlab? 
> (see invent.kde.org)

On Windows this check is assumed false. So in case encrypted file shares 
filesystem with thumbnails directory, it can take longer as those won't be 
cached, but it will work.

REPOSITORY
  R320 KIO Extras

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

To: marcingu, ivan, broulik, #dolphin, ngraham, meven, bruns, dfaure
Cc: dfaure, thiago, bruns, meven, ngraham, kde-frameworks-devel, kfm-devel, 
waitquietly, azyx, nikolaik, pberestov, iasensio, aprcela, fprice, LeGast00n, 
cblack, fbampaloukas, alexde, Codezela, feverfew, michaelh, spoorun, 
navarromorales, firef, andrebarros, emmanuelp, rdieter, mikesomov


KDE CI: Frameworks » kio » kf5-qt5 FreeBSDQt5.15 - Build # 120 - Fixed!

2020-08-20 Thread CI System
BUILD SUCCESS
 Build URL
https://build.kde.org/job/Frameworks/job/kio/job/kf5-qt5%20FreeBSDQt5.15/120/
 Project:
kf5-qt5 FreeBSDQt5.15
 Date of build:
Thu, 20 Aug 2020 13:07:42 +
 Build duration:
4 min 47 sec and counting
   JUnit Tests
  Name: projectroot Failed: 0 test(s), Passed: 55 test(s), Skipped: 0 test(s), Total: 55 test(s)Name: projectroot.autotests Failed: 0 test(s), Passed: 6 test(s), Skipped: 0 test(s), Total: 6 test(s)Name: projectroot.src.ioslaves.trash Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot.src.kpasswdserver Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)

Re: Porting a project to KDE

2020-08-20 Thread Albert Astals Cid
El diumenge, 16 d’agost de 2020, a les 0:01:11 CEST, Francois Blanchette va 
escriure:
> Great observation. I just updated the CmakeLists.txt. I don’t know how
> compliant it is right now but at least it compiles and links.
> https://github.com/cfrankb/lgck-src/blob/develop/src/lgck-builder/CMakeLists.txt

Fails to build here

/home/tsdgeos/lgck-src/src/lgck-builder/main.cpp:28:10: fatal error: 
ss_build.h: File or directory does not exist
   28 | #include "ss_build.h"
  |  ^~~~

Cheers,
  Albert




Re: KIO on Android Failure

2020-08-20 Thread Ben Cooksley
On Thu, Aug 20, 2020 at 8:00 AM David Faure  wrote:
>
> On mardi 18 août 2020 13:52:50 CEST Ben Cooksley wrote:
> > Hi all,
> >
> > At some point recently functionality was added to KIO which broke the
> > build on Android.
>
> Is there any reason why Android doesn't appear at
> https://build.kde.org/job/Frameworks/job/kio/
> ?
>
> This is the reason why I didn't notice this problem.

Because a job hasn't been requested for KIO on Android.

I'm not sure why it is being included in the Dependency Builds /
Docker image builds, as from my understanding Android builds were all
using a cut down list of dependencies.

We can certainly enable Android CI jobs for KIO though, that is easy
enough to do.

Cheers,
Ben

>
> --
> David Faure, fa...@kde.org, http://www.davidfaure.fr
> Working on KDE Frameworks 5
>
>
>