Re: Review Request 120554: Initial frameworks port of kompare

2014-10-16 Thread Kevin Kofler

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120554/#review68582
---


See my point by point review below. Once all the issues are addressed, we 
should be all set, but I'll have another look before giving it a Ship It.


CMakeLists.txt
https://git.reviewboard.kde.org/r/120554/#comment47766

No app icon anymore on the proprietary system(s) using those?

Looks like the discussion is still ongoing on what to do with that: 
http://lists.kde.org/?t=14078460994r=1w=2 so I guess we'll have to wait 
for its outcome. :-( (Thus, no issue raised here.)



komparenavtreepart/komparenavtreepart.cpp
https://git.reviewboard.kde.org/r/120554/#comment47768

Please just delete this obsolete macro entirely.



komparepart/kompare_part.cpp
https://git.reviewboard.kde.org/r/120554/#comment47769

This should pass at least QUrl::RemoveUserInfo to toString(), we don't want 
to echo passwords in error messages.



komparepart/kompare_part.cpp
https://git.reviewboard.kde.org/r/120554/#comment47770

See above.



komparepart/kompare_part.cpp
https://git.reviewboard.kde.org/r/120554/#comment47771

See above.



komparepart/kompare_part.cpp
https://git.reviewboard.kde.org/r/120554/#comment47772

See above. (In this case, you'll also need to add the explicit 
.toString(QUrl::RemoveUserInfo) call.)



komparepart/kompare_part.cpp
https://git.reviewboard.kde.org/r/120554/#comment47773

See above.



komparepart/kompare_part.cpp
https://git.reviewboard.kde.org/r/120554/#comment47774

See above.



komparepart/kompare_part.cpp
https://git.reviewboard.kde.org/r/120554/#comment47775

See above.



komparepart/kompare_part.cpp
https://git.reviewboard.kde.org/r/120554/#comment47776

See above.



komparepart/kompare_part.cpp
https://git.reviewboard.kde.org/r/120554/#comment4

See above.



komparepart/kompare_part.cpp
https://git.reviewboard.kde.org/r/120554/#comment47778

See above.



komparepart/kompare_part.cpp
https://git.reviewboard.kde.org/r/120554/#comment47779

See above.



komparepart/kompareprefdlg.cpp
https://git.reviewboard.kde.org/r/120554/#comment47780

If OK is automatically the default button, just delete this line.

If it is not, then please replace it with something that does the job, e.g.:
button( QDialogButtonBox::Ok )-setDefault( true );



komparepart/kompareprefdlg.cpp
https://git.reviewboard.kde.org/r/120554/#comment47781

There goes the button separator.

If button separators are generally unwanted now (as seems the case, judging 
from the porting script that just deletes the showButtonSeparator calls), we 
should just remove the line entirely rather than commenting it out. If they're 
wanted, we should find a way to show them.

Looking at the dialog in my KDE 4 Kompare, I think the separator is not 
really needed to begin with, so you can just delete the commented-out line.



kompareurldialog.cpp
https://git.reviewboard.kde.org/r/120554/#comment47767

There goes the button separator.

If button separators are generally unwanted now (as seems the case, judging 
from the porting script that just deletes the showButtonSeparator calls), we 
should just remove the line entirely rather than commenting it out. If they're 
wanted, we should find a way to show them.

Looking at the dialog in my KDE 4 Kompare, I think the separator is not 
really needed to begin with, so you can just delete the commented-out line.



libdialogpages/diffpage.cpp
https://git.reviewboard.kde.org/r/120554/#comment47783

This one ought to be toLocalFile, I think. Or at least pass 
QUrl::PreferLocalFile to toString(), but I don't think a URL makes sense as a 
diff program, does it?


- Kevin Kofler


On Okt. 16, 2014, 5:24 vorm., Jeremy Whiting wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/120554/
 ---
 
 (Updated Okt. 16, 2014, 5:24 vorm.)
 
 
 Review request for kdelibs and Kevin Kofler.
 
 
 Repository: kompare
 
 
 Description
 ---
 
 I spent a bit of time porting kompare to kf5. It builds and runs and compares 
 files and folders but I'm pretty sure I missed something. 
 
 I'll reread my changes also but wanted to get this out there to be played 
 with also.
 
 
 Diffs
 -
 
   libdialogpages/viewpage.cpp e26d72843587cf4ed60f0d7dcde51ec4f19aad29 
   libdialogpages/viewsettings.h 305e934815175c0fc60c8a045070e48f7b932935 
   main.cpp ac68e2421c1f02460e732eb4dc7f79036df9db2e 
   pics/CMakeLists.txt 512f6e8cad202bc592c08531654754bd311fcb5e 
   pics/hi128-app-kompare.png  
   pics/hi16-app-kompare.png  
   pics/hi22-app-kompare.png  
   pics/hi32-app-kompare.png  
   

Re: Review Request 120554: Initial frameworks port of kompare

2014-10-16 Thread Kevin Kofler


 On Okt. 16, 2014, 10:47 nachm., Kevin Kofler wrote:
  komparepart/kompare_part.cpp, line 295
  https://git.reviewboard.kde.org/r/120554/diff/4/?file=318659#file318659line295
 
  This should pass at least QUrl::RemoveUserInfo to toString(), we don't 
  want to echo passwords in error messages.

(Somebody found this serious enough an issue to file 
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-2074 against KHTML, 
where the fix back then was to use prettyUrl. I hope there aren't more such 
issues introduced by this sloppy prettyUrl KF5 porting.)


- Kevin


---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120554/#review68582
---


On Okt. 16, 2014, 5:24 vorm., Jeremy Whiting wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/120554/
 ---
 
 (Updated Okt. 16, 2014, 5:24 vorm.)
 
 
 Review request for kdelibs and Kevin Kofler.
 
 
 Repository: kompare
 
 
 Description
 ---
 
 I spent a bit of time porting kompare to kf5. It builds and runs and compares 
 files and folders but I'm pretty sure I missed something. 
 
 I'll reread my changes also but wanted to get this out there to be played 
 with also.
 
 
 Diffs
 -
 
   libdialogpages/viewpage.cpp e26d72843587cf4ed60f0d7dcde51ec4f19aad29 
   libdialogpages/viewsettings.h 305e934815175c0fc60c8a045070e48f7b932935 
   main.cpp ac68e2421c1f02460e732eb4dc7f79036df9db2e 
   pics/CMakeLists.txt 512f6e8cad202bc592c08531654754bd311fcb5e 
   pics/hi128-app-kompare.png  
   pics/hi16-app-kompare.png  
   pics/hi22-app-kompare.png  
   pics/hi32-app-kompare.png  
   pics/hi48-app-kompare.png  
   pics/hisc-app-kompare.svgz  
   libdialogpages/pagebase.cpp 4aa33d7d5b8eb6779bb96e5533d0f11235c30aac 
   libdialogpages/filespage.cpp 417fbd12b0f7622da23d0da0e934476d142df149 
   libdialogpages/CMakeLists.txt 22906650d1f0f8fb0b5d8d3d272f09d44bf7408c 
   libdialogpages/diffpage.cpp 94221ca8badbd1773ff48071fd558bd111750e47 
   komparepart/komparesaveoptionswidget.cpp 
 06530d85159305fc1330f495a1c52b0155e45e37 
   komparepart/komparesplitter.h 11a344f29f46d68ca5418c770bd5e502d527e0fe 
   komparepart/komparesplitter.cpp 2848f881992bae0b0e7141c1f6c47a2239211844 
   komparepart/kompareview.h 93ea0644a590c56e600e466a69bf227dc93328b1 
   kompareurldialog.cpp 561dd4518dda0be64198beff56e986da4294fe2b 
   komparenavtreepart/CMakeLists.txt da52bc7d0d9f032d80f6f2257dbbed1f6fb0e81a 
   komparenavtreepart/komparenavtreepart.h 
 eb08329be477febe93b4ca7a8c787656abbfc68f 
   komparenavtreepart/komparenavtreepart.cpp 
 d3bdc93ddaf28e026b7c1847b8d4f6dbc46125ee 
   komparepart/CMakeLists.txt ee83458a3034c3fb873629d650efe5668955900b 
   komparepart/kompare_part.h 0c4d3dd40ca32e07b2402280539d03f15cfc 
   komparepart/kompare_part.cpp 08df1dc0985391908eb81da9c4cfdd0836cd4b23 
   komparepart/kompareconnectwidget.h 03eb746c24dc3899b64d3907ae21e0de656e369f 
   komparepart/kompareconnectwidget.cpp 
 2a8cb920280f2b42ab09e7962a441529b8cdfc0c 
   komparepart/komparelistview.cpp b2935c917541984532814d301b6a7f5bdd661c72 
   komparepart/kompareprefdlg.cpp 0b18696acf270cf5a0351312aa3ffe13eff9b9e6 
   komparepart/komparesaveoptionswidget.h 
 9c49815b1b95b9448eb5fccda35e4c7c7fb1e2f1 
   kompare_shell.h de099ffbcc92a22a4374ad6cfca0bccc6b0e97bc 
   kompare_shell.cpp 9d22085780fbbffcb9b480cbb16c30e73c0ba71e 
   CMakeLists.txt 86e4504ad3ae06519cbfaaf35781238f5f234857 
   doc/CMakeLists.txt 06d898738aabdfc947e89de848e2fbe903d5e6cc 
   interfaces/CMakeLists.txt 4bb0c6c53e8b995f1c7350cd02268e2e05ddb38a 
   interfaces/kompareinterface.h a28d209b058fb06cc970e6ba3538ace721319be5 
 
 Diff: https://git.reviewboard.kde.org/r/120554/diff/
 
 
 Testing
 ---
 
 It builds, runs and seems to wok ok comparing files and folders. The 
 QFileDialog it uses wasn't showing files I expected to see though, may need 
 to play with the filters etc.
 
 Also ported from KGlobal::ref() and KGlobal::unref() to QEventLoopLocker, 
 though quitting one window closes all windows, not sure if that's expected or 
 not.
 
 
 Thanks,
 
 Jeremy Whiting
 




Re: Review Request 120554: Initial frameworks port of kompare

2014-10-16 Thread Kevin Kofler


 On Okt. 16, 2014, 10:47 nachm., Kevin Kofler wrote:
  komparepart/kompare_part.cpp, line 295
  https://git.reviewboard.kde.org/r/120554/diff/4/?file=318659#file318659line295
 
  This should pass at least QUrl::RemoveUserInfo to toString(), we don't 
  want to echo passwords in error messages.
 
 Kevin Kofler wrote:
 (Somebody found this serious enough an issue to file 
 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-2074 against KHTML, 
 where the fix back then was to use prettyUrl. I hope there aren't more such 
 issues introduced by this sloppy prettyUrl KF5 porting.)

Actually, rather than QUrl::RemoveUserInfo, QUrl::RemovePassword is enough, you 
don't have to (and probably shouldn't) strip the user name. But you definitely 
don't want to output the password.


- Kevin


---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120554/#review68582
---


On Okt. 16, 2014, 5:24 vorm., Jeremy Whiting wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/120554/
 ---
 
 (Updated Okt. 16, 2014, 5:24 vorm.)
 
 
 Review request for kdelibs and Kevin Kofler.
 
 
 Repository: kompare
 
 
 Description
 ---
 
 I spent a bit of time porting kompare to kf5. It builds and runs and compares 
 files and folders but I'm pretty sure I missed something. 
 
 I'll reread my changes also but wanted to get this out there to be played 
 with also.
 
 
 Diffs
 -
 
   libdialogpages/viewpage.cpp e26d72843587cf4ed60f0d7dcde51ec4f19aad29 
   libdialogpages/viewsettings.h 305e934815175c0fc60c8a045070e48f7b932935 
   main.cpp ac68e2421c1f02460e732eb4dc7f79036df9db2e 
   pics/CMakeLists.txt 512f6e8cad202bc592c08531654754bd311fcb5e 
   pics/hi128-app-kompare.png  
   pics/hi16-app-kompare.png  
   pics/hi22-app-kompare.png  
   pics/hi32-app-kompare.png  
   pics/hi48-app-kompare.png  
   pics/hisc-app-kompare.svgz  
   libdialogpages/pagebase.cpp 4aa33d7d5b8eb6779bb96e5533d0f11235c30aac 
   libdialogpages/filespage.cpp 417fbd12b0f7622da23d0da0e934476d142df149 
   libdialogpages/CMakeLists.txt 22906650d1f0f8fb0b5d8d3d272f09d44bf7408c 
   libdialogpages/diffpage.cpp 94221ca8badbd1773ff48071fd558bd111750e47 
   komparepart/komparesaveoptionswidget.cpp 
 06530d85159305fc1330f495a1c52b0155e45e37 
   komparepart/komparesplitter.h 11a344f29f46d68ca5418c770bd5e502d527e0fe 
   komparepart/komparesplitter.cpp 2848f881992bae0b0e7141c1f6c47a2239211844 
   komparepart/kompareview.h 93ea0644a590c56e600e466a69bf227dc93328b1 
   kompareurldialog.cpp 561dd4518dda0be64198beff56e986da4294fe2b 
   komparenavtreepart/CMakeLists.txt da52bc7d0d9f032d80f6f2257dbbed1f6fb0e81a 
   komparenavtreepart/komparenavtreepart.h 
 eb08329be477febe93b4ca7a8c787656abbfc68f 
   komparenavtreepart/komparenavtreepart.cpp 
 d3bdc93ddaf28e026b7c1847b8d4f6dbc46125ee 
   komparepart/CMakeLists.txt ee83458a3034c3fb873629d650efe5668955900b 
   komparepart/kompare_part.h 0c4d3dd40ca32e07b2402280539d03f15cfc 
   komparepart/kompare_part.cpp 08df1dc0985391908eb81da9c4cfdd0836cd4b23 
   komparepart/kompareconnectwidget.h 03eb746c24dc3899b64d3907ae21e0de656e369f 
   komparepart/kompareconnectwidget.cpp 
 2a8cb920280f2b42ab09e7962a441529b8cdfc0c 
   komparepart/komparelistview.cpp b2935c917541984532814d301b6a7f5bdd661c72 
   komparepart/kompareprefdlg.cpp 0b18696acf270cf5a0351312aa3ffe13eff9b9e6 
   komparepart/komparesaveoptionswidget.h 
 9c49815b1b95b9448eb5fccda35e4c7c7fb1e2f1 
   kompare_shell.h de099ffbcc92a22a4374ad6cfca0bccc6b0e97bc 
   kompare_shell.cpp 9d22085780fbbffcb9b480cbb16c30e73c0ba71e 
   CMakeLists.txt 86e4504ad3ae06519cbfaaf35781238f5f234857 
   doc/CMakeLists.txt 06d898738aabdfc947e89de848e2fbe903d5e6cc 
   interfaces/CMakeLists.txt 4bb0c6c53e8b995f1c7350cd02268e2e05ddb38a 
   interfaces/kompareinterface.h a28d209b058fb06cc970e6ba3538ace721319be5 
 
 Diff: https://git.reviewboard.kde.org/r/120554/diff/
 
 
 Testing
 ---
 
 It builds, runs and seems to wok ok comparing files and folders. The 
 QFileDialog it uses wasn't showing files I expected to see though, may need 
 to play with the filters etc.
 
 Also ported from KGlobal::ref() and KGlobal::unref() to QEventLoopLocker, 
 though quitting one window closes all windows, not sure if that's expected or 
 not.
 
 
 Thanks,
 
 Jeremy Whiting
 




Re: Review Request 120554: Initial frameworks port of kompare

2014-10-16 Thread Jeremy Whiting

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120554/
---

(Updated Oct. 16, 2014, 7:45 p.m.)


Review request for kdelibs and Kevin Kofler.


Changes
---

Fixed showing passwords in urls. Removed commented out macro and old code. The 
ok button was default here, It's default unless another button is told to be.


Repository: kompare


Description
---

I spent a bit of time porting kompare to kf5. It builds and runs and compares 
files and folders but I'm pretty sure I missed something. 

I'll reread my changes also but wanted to get this out there to be played with 
also.


Diffs (updated)
-

  CMakeLists.txt 86e4504ad3ae06519cbfaaf35781238f5f234857 
  doc/CMakeLists.txt 06d898738aabdfc947e89de848e2fbe903d5e6cc 
  komparepart/komparesplitter.cpp 2848f881992bae0b0e7141c1f6c47a2239211844 
  komparepart/kompareview.h 93ea0644a590c56e600e466a69bf227dc93328b1 
  kompareurldialog.cpp 561dd4518dda0be64198beff56e986da4294fe2b 
  libdialogpages/CMakeLists.txt 22906650d1f0f8fb0b5d8d3d272f09d44bf7408c 
  libdialogpages/diffpage.cpp 94221ca8badbd1773ff48071fd558bd111750e47 
  libdialogpages/filespage.cpp 417fbd12b0f7622da23d0da0e934476d142df149 
  libdialogpages/pagebase.cpp 4aa33d7d5b8eb6779bb96e5533d0f11235c30aac 
  libdialogpages/viewpage.cpp e26d72843587cf4ed60f0d7dcde51ec4f19aad29 
  libdialogpages/viewsettings.h 305e934815175c0fc60c8a045070e48f7b932935 
  main.cpp ac68e2421c1f02460e732eb4dc7f79036df9db2e 
  pics/CMakeLists.txt 512f6e8cad202bc592c08531654754bd311fcb5e 
  pics/hi128-app-kompare.png  
  pics/hi16-app-kompare.png  
  pics/hi22-app-kompare.png  
  pics/hi32-app-kompare.png  
  pics/hi48-app-kompare.png  
  pics/hisc-app-kompare.svgz  
  interfaces/CMakeLists.txt 4bb0c6c53e8b995f1c7350cd02268e2e05ddb38a 
  interfaces/kompareinterface.h a28d209b058fb06cc970e6ba3538ace721319be5 
  kompare_shell.h de099ffbcc92a22a4374ad6cfca0bccc6b0e97bc 
  kompare_shell.cpp 9d22085780fbbffcb9b480cbb16c30e73c0ba71e 
  komparenavtreepart/CMakeLists.txt da52bc7d0d9f032d80f6f2257dbbed1f6fb0e81a 
  komparenavtreepart/komparenavtreepart.h 
eb08329be477febe93b4ca7a8c787656abbfc68f 
  komparenavtreepart/komparenavtreepart.cpp 
d3bdc93ddaf28e026b7c1847b8d4f6dbc46125ee 
  komparepart/CMakeLists.txt ee83458a3034c3fb873629d650efe5668955900b 
  komparepart/kompare_part.h 0c4d3dd40ca32e07b2402280539d03f15cfc 
  komparepart/kompare_part.cpp 08df1dc0985391908eb81da9c4cfdd0836cd4b23 
  komparepart/kompareconnectwidget.h 03eb746c24dc3899b64d3907ae21e0de656e369f 
  komparepart/kompareconnectwidget.cpp 2a8cb920280f2b42ab09e7962a441529b8cdfc0c 
  komparepart/komparelistview.cpp b2935c917541984532814d301b6a7f5bdd661c72 
  komparepart/kompareprefdlg.cpp 0b18696acf270cf5a0351312aa3ffe13eff9b9e6 
  komparepart/komparesaveoptionswidget.h 
9c49815b1b95b9448eb5fccda35e4c7c7fb1e2f1 
  komparepart/komparesaveoptionswidget.cpp 
06530d85159305fc1330f495a1c52b0155e45e37 
  komparepart/komparesplitter.h 11a344f29f46d68ca5418c770bd5e502d527e0fe 

Diff: https://git.reviewboard.kde.org/r/120554/diff/


Testing
---

It builds, runs and seems to wok ok comparing files and folders. The 
QFileDialog it uses wasn't showing files I expected to see though, may need to 
play with the filters etc.

Also ported from KGlobal::ref() and KGlobal::unref() to QEventLoopLocker, 
though quitting one window closes all windows, not sure if that's expected or 
not.


Thanks,

Jeremy Whiting



Re: Review Request 120554: Initial frameworks port of kompare

2014-10-16 Thread Kevin Kofler

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120554/#review68587
---


Oh, I missed this one:
 The QFileDialog it uses wasn't showing files I expected to see though, may 
 need to play with the filters etc.


kompare_shell.cpp
https://git.reviewboard.kde.org/r/120554/#comment47790

You apparently can't pass a MIME type directly to the static QFileDialog 
functions. Use QMimeDatabase().mimeTypeForName(text/x-patch).filterString() 
instead.

(The QFileDialog::setMimeTypeFilters convenience method appears not to be 
exported through the static API.)


- Kevin Kofler


On Okt. 17, 2014, 1:45 vorm., Jeremy Whiting wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/120554/
 ---
 
 (Updated Okt. 17, 2014, 1:45 vorm.)
 
 
 Review request for kdelibs and Kevin Kofler.
 
 
 Repository: kompare
 
 
 Description
 ---
 
 I spent a bit of time porting kompare to kf5. It builds and runs and compares 
 files and folders but I'm pretty sure I missed something. 
 
 I'll reread my changes also but wanted to get this out there to be played 
 with also.
 
 
 Diffs
 -
 
   CMakeLists.txt 86e4504ad3ae06519cbfaaf35781238f5f234857 
   doc/CMakeLists.txt 06d898738aabdfc947e89de848e2fbe903d5e6cc 
   komparepart/komparesplitter.cpp 2848f881992bae0b0e7141c1f6c47a2239211844 
   komparepart/kompareview.h 93ea0644a590c56e600e466a69bf227dc93328b1 
   kompareurldialog.cpp 561dd4518dda0be64198beff56e986da4294fe2b 
   libdialogpages/CMakeLists.txt 22906650d1f0f8fb0b5d8d3d272f09d44bf7408c 
   libdialogpages/diffpage.cpp 94221ca8badbd1773ff48071fd558bd111750e47 
   libdialogpages/filespage.cpp 417fbd12b0f7622da23d0da0e934476d142df149 
   libdialogpages/pagebase.cpp 4aa33d7d5b8eb6779bb96e5533d0f11235c30aac 
   libdialogpages/viewpage.cpp e26d72843587cf4ed60f0d7dcde51ec4f19aad29 
   libdialogpages/viewsettings.h 305e934815175c0fc60c8a045070e48f7b932935 
   main.cpp ac68e2421c1f02460e732eb4dc7f79036df9db2e 
   pics/CMakeLists.txt 512f6e8cad202bc592c08531654754bd311fcb5e 
   pics/hi128-app-kompare.png  
   pics/hi16-app-kompare.png  
   pics/hi22-app-kompare.png  
   pics/hi32-app-kompare.png  
   pics/hi48-app-kompare.png  
   pics/hisc-app-kompare.svgz  
   interfaces/CMakeLists.txt 4bb0c6c53e8b995f1c7350cd02268e2e05ddb38a 
   interfaces/kompareinterface.h a28d209b058fb06cc970e6ba3538ace721319be5 
   kompare_shell.h de099ffbcc92a22a4374ad6cfca0bccc6b0e97bc 
   kompare_shell.cpp 9d22085780fbbffcb9b480cbb16c30e73c0ba71e 
   komparenavtreepart/CMakeLists.txt da52bc7d0d9f032d80f6f2257dbbed1f6fb0e81a 
   komparenavtreepart/komparenavtreepart.h 
 eb08329be477febe93b4ca7a8c787656abbfc68f 
   komparenavtreepart/komparenavtreepart.cpp 
 d3bdc93ddaf28e026b7c1847b8d4f6dbc46125ee 
   komparepart/CMakeLists.txt ee83458a3034c3fb873629d650efe5668955900b 
   komparepart/kompare_part.h 0c4d3dd40ca32e07b2402280539d03f15cfc 
   komparepart/kompare_part.cpp 08df1dc0985391908eb81da9c4cfdd0836cd4b23 
   komparepart/kompareconnectwidget.h 03eb746c24dc3899b64d3907ae21e0de656e369f 
   komparepart/kompareconnectwidget.cpp 
 2a8cb920280f2b42ab09e7962a441529b8cdfc0c 
   komparepart/komparelistview.cpp b2935c917541984532814d301b6a7f5bdd661c72 
   komparepart/kompareprefdlg.cpp 0b18696acf270cf5a0351312aa3ffe13eff9b9e6 
   komparepart/komparesaveoptionswidget.h 
 9c49815b1b95b9448eb5fccda35e4c7c7fb1e2f1 
   komparepart/komparesaveoptionswidget.cpp 
 06530d85159305fc1330f495a1c52b0155e45e37 
   komparepart/komparesplitter.h 11a344f29f46d68ca5418c770bd5e502d527e0fe 
 
 Diff: https://git.reviewboard.kde.org/r/120554/diff/
 
 
 Testing
 ---
 
 It builds, runs and seems to wok ok comparing files and folders. The 
 QFileDialog it uses wasn't showing files I expected to see though, may need 
 to play with the filters etc.
 
 Also ported from KGlobal::ref() and KGlobal::unref() to QEventLoopLocker, 
 though quitting one window closes all windows, not sure if that's expected or 
 not.
 
 
 Thanks,
 
 Jeremy Whiting
 




Re: Review Request 120554: Initial frameworks port of kompare

2014-10-16 Thread Jeremy Whiting

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120554/
---

(Updated Oct. 16, 2014, 7:48 p.m.)


Review request for kdelibs and Kevin Kofler.


Repository: kompare


Description (updated)
---

I spent a bit of time porting kompare to kf5. It builds and runs and compares 
files and folders but I'm pretty sure I missed something. 

Note I'm thinking I'll push this to a frameworks branch for further refinement. 
no need to merge it to master until it's solid.


Diffs
-

  CMakeLists.txt 86e4504ad3ae06519cbfaaf35781238f5f234857 
  doc/CMakeLists.txt 06d898738aabdfc947e89de848e2fbe903d5e6cc 
  komparepart/komparesplitter.cpp 2848f881992bae0b0e7141c1f6c47a2239211844 
  komparepart/kompareview.h 93ea0644a590c56e600e466a69bf227dc93328b1 
  kompareurldialog.cpp 561dd4518dda0be64198beff56e986da4294fe2b 
  libdialogpages/CMakeLists.txt 22906650d1f0f8fb0b5d8d3d272f09d44bf7408c 
  libdialogpages/diffpage.cpp 94221ca8badbd1773ff48071fd558bd111750e47 
  libdialogpages/filespage.cpp 417fbd12b0f7622da23d0da0e934476d142df149 
  libdialogpages/pagebase.cpp 4aa33d7d5b8eb6779bb96e5533d0f11235c30aac 
  libdialogpages/viewpage.cpp e26d72843587cf4ed60f0d7dcde51ec4f19aad29 
  libdialogpages/viewsettings.h 305e934815175c0fc60c8a045070e48f7b932935 
  main.cpp ac68e2421c1f02460e732eb4dc7f79036df9db2e 
  pics/CMakeLists.txt 512f6e8cad202bc592c08531654754bd311fcb5e 
  pics/hi128-app-kompare.png  
  pics/hi16-app-kompare.png  
  pics/hi22-app-kompare.png  
  pics/hi32-app-kompare.png  
  pics/hi48-app-kompare.png  
  pics/hisc-app-kompare.svgz  
  interfaces/CMakeLists.txt 4bb0c6c53e8b995f1c7350cd02268e2e05ddb38a 
  interfaces/kompareinterface.h a28d209b058fb06cc970e6ba3538ace721319be5 
  kompare_shell.h de099ffbcc92a22a4374ad6cfca0bccc6b0e97bc 
  kompare_shell.cpp 9d22085780fbbffcb9b480cbb16c30e73c0ba71e 
  komparenavtreepart/CMakeLists.txt da52bc7d0d9f032d80f6f2257dbbed1f6fb0e81a 
  komparenavtreepart/komparenavtreepart.h 
eb08329be477febe93b4ca7a8c787656abbfc68f 
  komparenavtreepart/komparenavtreepart.cpp 
d3bdc93ddaf28e026b7c1847b8d4f6dbc46125ee 
  komparepart/CMakeLists.txt ee83458a3034c3fb873629d650efe5668955900b 
  komparepart/kompare_part.h 0c4d3dd40ca32e07b2402280539d03f15cfc 
  komparepart/kompare_part.cpp 08df1dc0985391908eb81da9c4cfdd0836cd4b23 
  komparepart/kompareconnectwidget.h 03eb746c24dc3899b64d3907ae21e0de656e369f 
  komparepart/kompareconnectwidget.cpp 2a8cb920280f2b42ab09e7962a441529b8cdfc0c 
  komparepart/komparelistview.cpp b2935c917541984532814d301b6a7f5bdd661c72 
  komparepart/kompareprefdlg.cpp 0b18696acf270cf5a0351312aa3ffe13eff9b9e6 
  komparepart/komparesaveoptionswidget.h 
9c49815b1b95b9448eb5fccda35e4c7c7fb1e2f1 
  komparepart/komparesaveoptionswidget.cpp 
06530d85159305fc1330f495a1c52b0155e45e37 
  komparepart/komparesplitter.h 11a344f29f46d68ca5418c770bd5e502d527e0fe 

Diff: https://git.reviewboard.kde.org/r/120554/diff/


Testing
---

It builds, runs and seems to wok ok comparing files and folders. The 
QFileDialog it uses wasn't showing files I expected to see though, may need to 
play with the filters etc.

Also ported from KGlobal::ref() and KGlobal::unref() to QEventLoopLocker, 
though quitting one window closes all windows, not sure if that's expected or 
not.


Thanks,

Jeremy Whiting



Re: Review Request 120554: Initial frameworks port of kompare

2014-10-16 Thread Jeremy Whiting

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120554/
---

(Updated Oct. 16, 2014, 7:53 p.m.)


Review request for kdelibs and Kevin Kofler.


Changes
---

Fixed QFileDialog mime-type parameter.


Repository: kompare


Description
---

I spent a bit of time porting kompare to kf5. It builds and runs and compares 
files and folders but I'm pretty sure I missed something. 

Note I'm thinking I'll push this to a frameworks branch for further refinement. 
no need to merge it to master until it's solid.


Diffs (updated)
-

  CMakeLists.txt 86e4504ad3ae06519cbfaaf35781238f5f234857 
  doc/CMakeLists.txt 06d898738aabdfc947e89de848e2fbe903d5e6cc 
  interfaces/CMakeLists.txt 4bb0c6c53e8b995f1c7350cd02268e2e05ddb38a 
  interfaces/kompareinterface.h a28d209b058fb06cc970e6ba3538ace721319be5 
  kompare_shell.h de099ffbcc92a22a4374ad6cfca0bccc6b0e97bc 
  kompare_shell.cpp 9d22085780fbbffcb9b480cbb16c30e73c0ba71e 
  komparenavtreepart/CMakeLists.txt da52bc7d0d9f032d80f6f2257dbbed1f6fb0e81a 
  komparenavtreepart/komparenavtreepart.h 
eb08329be477febe93b4ca7a8c787656abbfc68f 
  komparenavtreepart/komparenavtreepart.cpp 
d3bdc93ddaf28e026b7c1847b8d4f6dbc46125ee 
  komparepart/CMakeLists.txt ee83458a3034c3fb873629d650efe5668955900b 
  komparepart/kompare_part.h 0c4d3dd40ca32e07b2402280539d03f15cfc 
  komparepart/kompare_part.cpp 08df1dc0985391908eb81da9c4cfdd0836cd4b23 
  komparepart/kompareconnectwidget.h 03eb746c24dc3899b64d3907ae21e0de656e369f 
  komparepart/kompareconnectwidget.cpp 2a8cb920280f2b42ab09e7962a441529b8cdfc0c 
  pics/hi22-app-kompare.png  
  pics/hi32-app-kompare.png  
  pics/hi48-app-kompare.png  
  pics/hisc-app-kompare.svgz  
  pics/CMakeLists.txt 512f6e8cad202bc592c08531654754bd311fcb5e 
  pics/hi128-app-kompare.png  
  pics/hi16-app-kompare.png  
  libdialogpages/filespage.cpp 417fbd12b0f7622da23d0da0e934476d142df149 
  libdialogpages/pagebase.cpp 4aa33d7d5b8eb6779bb96e5533d0f11235c30aac 
  libdialogpages/viewpage.cpp e26d72843587cf4ed60f0d7dcde51ec4f19aad29 
  libdialogpages/viewsettings.h 305e934815175c0fc60c8a045070e48f7b932935 
  main.cpp ac68e2421c1f02460e732eb4dc7f79036df9db2e 
  kompareurldialog.cpp 561dd4518dda0be64198beff56e986da4294fe2b 
  libdialogpages/CMakeLists.txt 22906650d1f0f8fb0b5d8d3d272f09d44bf7408c 
  libdialogpages/diffpage.cpp 94221ca8badbd1773ff48071fd558bd111750e47 
  komparepart/komparesaveoptionswidget.h 
9c49815b1b95b9448eb5fccda35e4c7c7fb1e2f1 
  komparepart/komparesaveoptionswidget.cpp 
06530d85159305fc1330f495a1c52b0155e45e37 
  komparepart/komparesplitter.h 11a344f29f46d68ca5418c770bd5e502d527e0fe 
  komparepart/komparesplitter.cpp 2848f881992bae0b0e7141c1f6c47a2239211844 
  komparepart/kompareview.h 93ea0644a590c56e600e466a69bf227dc93328b1 
  komparepart/komparelistview.cpp b2935c917541984532814d301b6a7f5bdd661c72 
  komparepart/kompareprefdlg.cpp 0b18696acf270cf5a0351312aa3ffe13eff9b9e6 

Diff: https://git.reviewboard.kde.org/r/120554/diff/


Testing
---

It builds, runs and seems to wok ok comparing files and folders. The 
QFileDialog it uses wasn't showing files I expected to see though, may need to 
play with the filters etc.

Also ported from KGlobal::ref() and KGlobal::unref() to QEventLoopLocker, 
though quitting one window closes all windows, not sure if that's expected or 
not.


Thanks,

Jeremy Whiting



Re: Review Request 120554: Initial frameworks port of kompare

2014-10-16 Thread Jeremy Whiting

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120554/
---

(Updated Oct. 17, 2014, 2:05 a.m.)


Status
--

This change has been marked as submitted.


Review request for kdelibs and Kevin Kofler.


Repository: kompare


Description
---

I spent a bit of time porting kompare to kf5. It builds and runs and compares 
files and folders but I'm pretty sure I missed something. 

Note I'm thinking I'll push this to a frameworks branch for further refinement. 
no need to merge it to master until it's solid.


Diffs
-

  CMakeLists.txt 86e4504ad3ae06519cbfaaf35781238f5f234857 
  doc/CMakeLists.txt 06d898738aabdfc947e89de848e2fbe903d5e6cc 
  interfaces/CMakeLists.txt 4bb0c6c53e8b995f1c7350cd02268e2e05ddb38a 
  interfaces/kompareinterface.h a28d209b058fb06cc970e6ba3538ace721319be5 
  kompare_shell.h de099ffbcc92a22a4374ad6cfca0bccc6b0e97bc 
  kompare_shell.cpp 9d22085780fbbffcb9b480cbb16c30e73c0ba71e 
  komparenavtreepart/CMakeLists.txt da52bc7d0d9f032d80f6f2257dbbed1f6fb0e81a 
  komparenavtreepart/komparenavtreepart.h 
eb08329be477febe93b4ca7a8c787656abbfc68f 
  komparenavtreepart/komparenavtreepart.cpp 
d3bdc93ddaf28e026b7c1847b8d4f6dbc46125ee 
  komparepart/CMakeLists.txt ee83458a3034c3fb873629d650efe5668955900b 
  komparepart/kompare_part.h 0c4d3dd40ca32e07b2402280539d03f15cfc 
  komparepart/kompare_part.cpp 08df1dc0985391908eb81da9c4cfdd0836cd4b23 
  komparepart/kompareconnectwidget.h 03eb746c24dc3899b64d3907ae21e0de656e369f 
  komparepart/kompareconnectwidget.cpp 2a8cb920280f2b42ab09e7962a441529b8cdfc0c 
  pics/hi22-app-kompare.png  
  pics/hi32-app-kompare.png  
  pics/hi48-app-kompare.png  
  pics/hisc-app-kompare.svgz  
  pics/CMakeLists.txt 512f6e8cad202bc592c08531654754bd311fcb5e 
  pics/hi128-app-kompare.png  
  pics/hi16-app-kompare.png  
  libdialogpages/filespage.cpp 417fbd12b0f7622da23d0da0e934476d142df149 
  libdialogpages/pagebase.cpp 4aa33d7d5b8eb6779bb96e5533d0f11235c30aac 
  libdialogpages/viewpage.cpp e26d72843587cf4ed60f0d7dcde51ec4f19aad29 
  libdialogpages/viewsettings.h 305e934815175c0fc60c8a045070e48f7b932935 
  main.cpp ac68e2421c1f02460e732eb4dc7f79036df9db2e 
  kompareurldialog.cpp 561dd4518dda0be64198beff56e986da4294fe2b 
  libdialogpages/CMakeLists.txt 22906650d1f0f8fb0b5d8d3d272f09d44bf7408c 
  libdialogpages/diffpage.cpp 94221ca8badbd1773ff48071fd558bd111750e47 
  komparepart/komparesaveoptionswidget.h 
9c49815b1b95b9448eb5fccda35e4c7c7fb1e2f1 
  komparepart/komparesaveoptionswidget.cpp 
06530d85159305fc1330f495a1c52b0155e45e37 
  komparepart/komparesplitter.h 11a344f29f46d68ca5418c770bd5e502d527e0fe 
  komparepart/komparesplitter.cpp 2848f881992bae0b0e7141c1f6c47a2239211844 
  komparepart/kompareview.h 93ea0644a590c56e600e466a69bf227dc93328b1 
  komparepart/komparelistview.cpp b2935c917541984532814d301b6a7f5bdd661c72 
  komparepart/kompareprefdlg.cpp 0b18696acf270cf5a0351312aa3ffe13eff9b9e6 

Diff: https://git.reviewboard.kde.org/r/120554/diff/


Testing
---

It builds, runs and seems to wok ok comparing files and folders. The 
QFileDialog it uses wasn't showing files I expected to see though, may need to 
play with the filters etc.

Also ported from KGlobal::ref() and KGlobal::unref() to QEventLoopLocker, 
though quitting one window closes all windows, not sure if that's expected or 
not.


Thanks,

Jeremy Whiting



Re: Review Request 120554: Initial frameworks port of kompare

2014-10-15 Thread Jeremy Whiting

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120554/
---

(Updated Oct. 15, 2014, 11:24 p.m.)


Review request for kdelibs and Kevin Kofler.


Changes
---

Fix who the review is for. Somehow the people autocorrect failed me, sorry 
Kevin.


Repository: kompare


Description
---

I spent a bit of time porting kompare to kf5. It builds and runs and compares 
files and folders but I'm pretty sure I missed something. 

I'll reread my changes also but wanted to get this out there to be played with 
also.


Diffs
-

  libdialogpages/viewpage.cpp e26d72843587cf4ed60f0d7dcde51ec4f19aad29 
  libdialogpages/viewsettings.h 305e934815175c0fc60c8a045070e48f7b932935 
  main.cpp ac68e2421c1f02460e732eb4dc7f79036df9db2e 
  pics/CMakeLists.txt 512f6e8cad202bc592c08531654754bd311fcb5e 
  pics/hi128-app-kompare.png  
  pics/hi16-app-kompare.png  
  pics/hi22-app-kompare.png  
  pics/hi32-app-kompare.png  
  pics/hi48-app-kompare.png  
  pics/hisc-app-kompare.svgz  
  libdialogpages/pagebase.cpp 4aa33d7d5b8eb6779bb96e5533d0f11235c30aac 
  libdialogpages/filespage.cpp 417fbd12b0f7622da23d0da0e934476d142df149 
  libdialogpages/CMakeLists.txt 22906650d1f0f8fb0b5d8d3d272f09d44bf7408c 
  libdialogpages/diffpage.cpp 94221ca8badbd1773ff48071fd558bd111750e47 
  komparepart/komparesaveoptionswidget.cpp 
06530d85159305fc1330f495a1c52b0155e45e37 
  komparepart/komparesplitter.h 11a344f29f46d68ca5418c770bd5e502d527e0fe 
  komparepart/komparesplitter.cpp 2848f881992bae0b0e7141c1f6c47a2239211844 
  komparepart/kompareview.h 93ea0644a590c56e600e466a69bf227dc93328b1 
  kompareurldialog.cpp 561dd4518dda0be64198beff56e986da4294fe2b 
  komparenavtreepart/CMakeLists.txt da52bc7d0d9f032d80f6f2257dbbed1f6fb0e81a 
  komparenavtreepart/komparenavtreepart.h 
eb08329be477febe93b4ca7a8c787656abbfc68f 
  komparenavtreepart/komparenavtreepart.cpp 
d3bdc93ddaf28e026b7c1847b8d4f6dbc46125ee 
  komparepart/CMakeLists.txt ee83458a3034c3fb873629d650efe5668955900b 
  komparepart/kompare_part.h 0c4d3dd40ca32e07b2402280539d03f15cfc 
  komparepart/kompare_part.cpp 08df1dc0985391908eb81da9c4cfdd0836cd4b23 
  komparepart/kompareconnectwidget.h 03eb746c24dc3899b64d3907ae21e0de656e369f 
  komparepart/kompareconnectwidget.cpp 2a8cb920280f2b42ab09e7962a441529b8cdfc0c 
  komparepart/komparelistview.cpp b2935c917541984532814d301b6a7f5bdd661c72 
  komparepart/kompareprefdlg.cpp 0b18696acf270cf5a0351312aa3ffe13eff9b9e6 
  komparepart/komparesaveoptionswidget.h 
9c49815b1b95b9448eb5fccda35e4c7c7fb1e2f1 
  kompare_shell.h de099ffbcc92a22a4374ad6cfca0bccc6b0e97bc 
  kompare_shell.cpp 9d22085780fbbffcb9b480cbb16c30e73c0ba71e 
  CMakeLists.txt 86e4504ad3ae06519cbfaaf35781238f5f234857 
  doc/CMakeLists.txt 06d898738aabdfc947e89de848e2fbe903d5e6cc 
  interfaces/CMakeLists.txt 4bb0c6c53e8b995f1c7350cd02268e2e05ddb38a 
  interfaces/kompareinterface.h a28d209b058fb06cc970e6ba3538ace721319be5 

Diff: https://git.reviewboard.kde.org/r/120554/diff/


Testing
---

It builds, runs and seems to wok ok comparing files and folders. The 
QFileDialog it uses wasn't showing files I expected to see though, may need to 
play with the filters etc.

Also ported from KGlobal::ref() and KGlobal::unref() to QEventLoopLocker, 
though quitting one window closes all windows, not sure if that's expected or 
not.


Thanks,

Jeremy Whiting



Re: Review Request 120554: Initial frameworks port of kompare

2014-10-14 Thread Aleix Pol Gonzalez

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120554/#review68379
---



komparepart/kompare_part.cpp
https://git.reviewboard.kde.org/r/120554/#comment47661

You probably want to use qCDebug for those debug statements.

Or just remove them if it's not useful.



komparepart/kompare_part.cpp
https://git.reviewboard.kde.org/r/120554/#comment47662

qWarning()



komparepart/kompare_part.cpp
https://git.reviewboard.kde.org/r/120554/#comment47663

no need for toString, also the  endl thing is a KDE3 thing, maybe this 
can be dropped for good now. :)



komparepart/kompareprefdlg.cpp
https://git.reviewboard.kde.org/r/120554/#comment47664

a good example of one that can be removed.


Most comments are regarding qDebug usage. I would suggest just to move it into 
a frameworks branch as well. 

+1 all in all.

- Aleix Pol Gonzalez


On Oct. 13, 2014, 11:46 p.m., Jeremy Whiting wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/120554/
 ---
 
 (Updated Oct. 13, 2014, 11:46 p.m.)
 
 
 Review request for kdelibs and Vavelin Kevin.
 
 
 Repository: kompare
 
 
 Description
 ---
 
 I spent a bit of time porting kompare to kf5. It builds and runs and compares 
 files and folders but I'm pretty sure I missed something. 
 
 I'll reread my changes also but wanted to get this out there to be played 
 with also.
 
 
 Diffs
 -
 
   CMakeLists.txt 86e4504ad3ae06519cbfaaf35781238f5f234857 
   doc/CMakeLists.txt 06d898738aabdfc947e89de848e2fbe903d5e6cc 
   interfaces/CMakeLists.txt 4bb0c6c53e8b995f1c7350cd02268e2e05ddb38a 
   interfaces/kompareinterface.h a28d209b058fb06cc970e6ba3538ace721319be5 
   kompare_shell.h de099ffbcc92a22a4374ad6cfca0bccc6b0e97bc 
   kompare_shell.cpp 9d22085780fbbffcb9b480cbb16c30e73c0ba71e 
   komparenavtreepart/CMakeLists.txt da52bc7d0d9f032d80f6f2257dbbed1f6fb0e81a 
   komparenavtreepart/komparenavtreepart.h 
 eb08329be477febe93b4ca7a8c787656abbfc68f 
   komparenavtreepart/komparenavtreepart.cpp 
 d3bdc93ddaf28e026b7c1847b8d4f6dbc46125ee 
   komparepart/CMakeLists.txt ee83458a3034c3fb873629d650efe5668955900b 
   komparepart/kompare_part.h 0c4d3dd40ca32e07b2402280539d03f15cfc 
   komparepart/kompare_part.cpp 08df1dc0985391908eb81da9c4cfdd0836cd4b23 
   komparepart/kompareconnectwidget.h 03eb746c24dc3899b64d3907ae21e0de656e369f 
   komparepart/kompareconnectwidget.cpp 
 2a8cb920280f2b42ab09e7962a441529b8cdfc0c 
   komparepart/komparelistview.cpp b2935c917541984532814d301b6a7f5bdd661c72 
   komparepart/kompareprefdlg.cpp 0b18696acf270cf5a0351312aa3ffe13eff9b9e6 
   komparepart/komparesaveoptionswidget.h 
 9c49815b1b95b9448eb5fccda35e4c7c7fb1e2f1 
   komparepart/komparesaveoptionswidget.cpp 
 06530d85159305fc1330f495a1c52b0155e45e37 
   komparepart/komparesplitter.h 11a344f29f46d68ca5418c770bd5e502d527e0fe 
   komparepart/komparesplitter.cpp 2848f881992bae0b0e7141c1f6c47a2239211844 
   komparepart/kompareview.h 93ea0644a590c56e600e466a69bf227dc93328b1 
   kompareurldialog.cpp 561dd4518dda0be64198beff56e986da4294fe2b 
   libdialogpages/CMakeLists.txt 22906650d1f0f8fb0b5d8d3d272f09d44bf7408c 
   libdialogpages/diffpage.cpp 94221ca8badbd1773ff48071fd558bd111750e47 
   libdialogpages/filespage.cpp 417fbd12b0f7622da23d0da0e934476d142df149 
   libdialogpages/pagebase.cpp 4aa33d7d5b8eb6779bb96e5533d0f11235c30aac 
   libdialogpages/viewpage.cpp e26d72843587cf4ed60f0d7dcde51ec4f19aad29 
   libdialogpages/viewsettings.h 305e934815175c0fc60c8a045070e48f7b932935 
   main.cpp ac68e2421c1f02460e732eb4dc7f79036df9db2e 
   pics/CMakeLists.txt 512f6e8cad202bc592c08531654754bd311fcb5e 
   pics/hi128-app-kompare.png  
   pics/hi16-app-kompare.png  
   pics/hi22-app-kompare.png  
   pics/hi32-app-kompare.png  
   pics/hi48-app-kompare.png  
   pics/hisc-app-kompare.svgz  
 
 Diff: https://git.reviewboard.kde.org/r/120554/diff/
 
 
 Testing
 ---
 
 It builds, runs and seems to wok ok comparing files and folders. The 
 QFileDialog it uses wasn't showing files I expected to see though, may need 
 to play with the filters etc.
 
 Also ported from KGlobal::ref() and KGlobal::unref() to QEventLoopLocker, 
 though quitting one window closes all windows, not sure if that's expected or 
 not.
 
 
 Thanks,
 
 Jeremy Whiting
 




Re: Review Request 120554: Initial frameworks port of kompare

2014-10-14 Thread Jeremy Whiting

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120554/
---

(Updated Oct. 14, 2014, 2:53 p.m.)


Review request for kdelibs and Vavelin Kevin.


Changes
---

Updated quit to call close() which deletes the QEventLoopLocker for us. All 
file-quit operations now close just the window chosen. Not sure if 
QEventLoopLocker is even needed anymore tbh.


Repository: kompare


Description
---

I spent a bit of time porting kompare to kf5. It builds and runs and compares 
files and folders but I'm pretty sure I missed something. 

I'll reread my changes also but wanted to get this out there to be played with 
also.


Diffs (updated)
-

  libdialogpages/viewpage.cpp e26d72843587cf4ed60f0d7dcde51ec4f19aad29 
  libdialogpages/viewsettings.h 305e934815175c0fc60c8a045070e48f7b932935 
  main.cpp ac68e2421c1f02460e732eb4dc7f79036df9db2e 
  pics/CMakeLists.txt 512f6e8cad202bc592c08531654754bd311fcb5e 
  pics/hi128-app-kompare.png  
  pics/hi16-app-kompare.png  
  pics/hi22-app-kompare.png  
  pics/hi32-app-kompare.png  
  pics/hi48-app-kompare.png  
  pics/hisc-app-kompare.svgz  
  libdialogpages/pagebase.cpp 4aa33d7d5b8eb6779bb96e5533d0f11235c30aac 
  libdialogpages/filespage.cpp 417fbd12b0f7622da23d0da0e934476d142df149 
  libdialogpages/CMakeLists.txt 22906650d1f0f8fb0b5d8d3d272f09d44bf7408c 
  libdialogpages/diffpage.cpp 94221ca8badbd1773ff48071fd558bd111750e47 
  komparepart/komparesaveoptionswidget.cpp 
06530d85159305fc1330f495a1c52b0155e45e37 
  komparepart/komparesplitter.h 11a344f29f46d68ca5418c770bd5e502d527e0fe 
  komparepart/komparesplitter.cpp 2848f881992bae0b0e7141c1f6c47a2239211844 
  komparepart/kompareview.h 93ea0644a590c56e600e466a69bf227dc93328b1 
  kompareurldialog.cpp 561dd4518dda0be64198beff56e986da4294fe2b 
  komparenavtreepart/CMakeLists.txt da52bc7d0d9f032d80f6f2257dbbed1f6fb0e81a 
  komparenavtreepart/komparenavtreepart.h 
eb08329be477febe93b4ca7a8c787656abbfc68f 
  komparenavtreepart/komparenavtreepart.cpp 
d3bdc93ddaf28e026b7c1847b8d4f6dbc46125ee 
  komparepart/CMakeLists.txt ee83458a3034c3fb873629d650efe5668955900b 
  komparepart/kompare_part.h 0c4d3dd40ca32e07b2402280539d03f15cfc 
  komparepart/kompare_part.cpp 08df1dc0985391908eb81da9c4cfdd0836cd4b23 
  komparepart/kompareconnectwidget.h 03eb746c24dc3899b64d3907ae21e0de656e369f 
  komparepart/kompareconnectwidget.cpp 2a8cb920280f2b42ab09e7962a441529b8cdfc0c 
  komparepart/komparelistview.cpp b2935c917541984532814d301b6a7f5bdd661c72 
  komparepart/kompareprefdlg.cpp 0b18696acf270cf5a0351312aa3ffe13eff9b9e6 
  komparepart/komparesaveoptionswidget.h 
9c49815b1b95b9448eb5fccda35e4c7c7fb1e2f1 
  kompare_shell.h de099ffbcc92a22a4374ad6cfca0bccc6b0e97bc 
  kompare_shell.cpp 9d22085780fbbffcb9b480cbb16c30e73c0ba71e 
  CMakeLists.txt 86e4504ad3ae06519cbfaaf35781238f5f234857 
  doc/CMakeLists.txt 06d898738aabdfc947e89de848e2fbe903d5e6cc 
  interfaces/CMakeLists.txt 4bb0c6c53e8b995f1c7350cd02268e2e05ddb38a 
  interfaces/kompareinterface.h a28d209b058fb06cc970e6ba3538ace721319be5 

Diff: https://git.reviewboard.kde.org/r/120554/diff/


Testing
---

It builds, runs and seems to wok ok comparing files and folders. The 
QFileDialog it uses wasn't showing files I expected to see though, may need to 
play with the filters etc.

Also ported from KGlobal::ref() and KGlobal::unref() to QEventLoopLocker, 
though quitting one window closes all windows, not sure if that's expected or 
not.


Thanks,

Jeremy Whiting



Re: Review Request 120554: Initial frameworks port of kompare

2014-10-13 Thread Jeremy Whiting

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120554/
---

(Updated Oct. 13, 2014, 5:46 p.m.)


Review request for kdelibs and Vavelin Kevin.


Changes
---

Updated libkomparediff2 to give correct include paths, so fixed #include of 
libkomparediff2/foo.h to foo.h instead. Also fixed Quit action to work.


Repository: kompare


Description
---

I spent a bit of time porting kompare to kf5. It builds and runs and compares 
files and folders but I'm pretty sure I missed something. 

I'll reread my changes also but wanted to get this out there to be played with 
also.


Diffs (updated)
-

  CMakeLists.txt 86e4504ad3ae06519cbfaaf35781238f5f234857 
  doc/CMakeLists.txt 06d898738aabdfc947e89de848e2fbe903d5e6cc 
  interfaces/CMakeLists.txt 4bb0c6c53e8b995f1c7350cd02268e2e05ddb38a 
  interfaces/kompareinterface.h a28d209b058fb06cc970e6ba3538ace721319be5 
  kompare_shell.h de099ffbcc92a22a4374ad6cfca0bccc6b0e97bc 
  kompare_shell.cpp 9d22085780fbbffcb9b480cbb16c30e73c0ba71e 
  komparenavtreepart/CMakeLists.txt da52bc7d0d9f032d80f6f2257dbbed1f6fb0e81a 
  komparenavtreepart/komparenavtreepart.h 
eb08329be477febe93b4ca7a8c787656abbfc68f 
  komparenavtreepart/komparenavtreepart.cpp 
d3bdc93ddaf28e026b7c1847b8d4f6dbc46125ee 
  komparepart/CMakeLists.txt ee83458a3034c3fb873629d650efe5668955900b 
  komparepart/kompare_part.h 0c4d3dd40ca32e07b2402280539d03f15cfc 
  komparepart/kompare_part.cpp 08df1dc0985391908eb81da9c4cfdd0836cd4b23 
  komparepart/kompareconnectwidget.h 03eb746c24dc3899b64d3907ae21e0de656e369f 
  komparepart/kompareconnectwidget.cpp 2a8cb920280f2b42ab09e7962a441529b8cdfc0c 
  komparepart/komparelistview.cpp b2935c917541984532814d301b6a7f5bdd661c72 
  komparepart/kompareprefdlg.cpp 0b18696acf270cf5a0351312aa3ffe13eff9b9e6 
  komparepart/komparesaveoptionswidget.h 
9c49815b1b95b9448eb5fccda35e4c7c7fb1e2f1 
  komparepart/komparesaveoptionswidget.cpp 
06530d85159305fc1330f495a1c52b0155e45e37 
  komparepart/komparesplitter.h 11a344f29f46d68ca5418c770bd5e502d527e0fe 
  komparepart/komparesplitter.cpp 2848f881992bae0b0e7141c1f6c47a2239211844 
  komparepart/kompareview.h 93ea0644a590c56e600e466a69bf227dc93328b1 
  kompareurldialog.cpp 561dd4518dda0be64198beff56e986da4294fe2b 
  libdialogpages/CMakeLists.txt 22906650d1f0f8fb0b5d8d3d272f09d44bf7408c 
  libdialogpages/diffpage.cpp 94221ca8badbd1773ff48071fd558bd111750e47 
  libdialogpages/filespage.cpp 417fbd12b0f7622da23d0da0e934476d142df149 
  libdialogpages/pagebase.cpp 4aa33d7d5b8eb6779bb96e5533d0f11235c30aac 
  libdialogpages/viewpage.cpp e26d72843587cf4ed60f0d7dcde51ec4f19aad29 
  libdialogpages/viewsettings.h 305e934815175c0fc60c8a045070e48f7b932935 
  main.cpp ac68e2421c1f02460e732eb4dc7f79036df9db2e 
  pics/CMakeLists.txt 512f6e8cad202bc592c08531654754bd311fcb5e 
  pics/hi128-app-kompare.png  
  pics/hi16-app-kompare.png  
  pics/hi22-app-kompare.png  
  pics/hi32-app-kompare.png  
  pics/hi48-app-kompare.png  
  pics/hisc-app-kompare.svgz  

Diff: https://git.reviewboard.kde.org/r/120554/diff/


Testing (updated)
---

It builds, runs and seems to wok ok comparing files and folders. The 
QFileDialog it uses wasn't showing files I expected to see though, may need to 
play with the filters etc.

Also ported from KGlobal::ref() and KGlobal::unref() to QEventLoopLocker, 
though quitting one window closes all windows, not sure if that's expected or 
not.


Thanks,

Jeremy Whiting



Review Request 120554: Initial frameworks port of kompare

2014-10-10 Thread Jeremy Whiting

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120554/
---

Review request for kdelibs and Vavelin Kevin.


Repository: kompare


Description
---

I spent a bit of time porting kompare to kf5. It builds and runs and compares 
files and folders but I'm pretty sure I missed something. 

I'll reread my changes also but wanted to get this out there to be played with 
also.


Diffs
-

  komparepart/kompareconnectwidget.cpp 2a8cb92 
  komparepart/komparelistview.cpp b2935c9 
  komparepart/kompareprefdlg.cpp 0b18696 
  komparepart/komparesaveoptionswidget.h 9c49815 
  kompare_shell.cpp 9d22085 
  komparenavtreepart/CMakeLists.txt da52bc7 
  komparenavtreepart/komparenavtreepart.h eb08329 
  komparenavtreepart/komparenavtreepart.cpp d3bdc93 
  CMakeLists.txt 86e4504 
  doc/CMakeLists.txt 06d8987 
  interfaces/CMakeLists.txt 4bb0c6c 
  interfaces/kompareinterface.h a28d209 
  kompare_shell.h de099ff 
  komparepart/CMakeLists.txt ee83458 
  komparepart/kompare_part.h 0c4d3dd 
  komparepart/kompare_part.cpp 08df1dc 
  komparepart/kompareconnectwidget.h 03eb746 
  pics/sc-apps-kompare.svgz PRE-CREATION 
  pics/hi22-app-kompare.png 053b1690571a7b15af10970aff33d39365b9851d 
  pics/hi32-app-kompare.png 1dd3577e8d68a53662b20bb28349bde273a840c8 
  pics/hi48-app-kompare.png 8eda48e1ada22126a1284b968a4c557d557c949b 
  pics/hisc-app-kompare.svgz 945a66312154ef501013693bd56cf6d454490869 
  main.cpp ac68e24 
  pics/128-apps-kompare.png PRE-CREATION 
  pics/16-apps-kompare.png PRE-CREATION 
  pics/22-apps-kompare.png PRE-CREATION 
  pics/32-apps-kompare.png PRE-CREATION 
  pics/48-apps-kompare.png PRE-CREATION 
  pics/CMakeLists.txt 512f6e8 
  pics/hi128-app-kompare.png ffcd33d50499ac8fb02fe9c5097840f5787f35dd 
  pics/hi16-app-kompare.png c70d54397626bf5d072bb8271076916f43126213 
  komparepart/komparesaveoptionswidget.cpp 06530d8 
  komparepart/komparesplitter.h 11a344f 
  komparepart/komparesplitter.cpp 2848f88 
  komparepart/kompareview.h 93ea064 
  kompareurldialog.cpp 561dd45 
  libdialogpages/CMakeLists.txt 2290665 
  libdialogpages/diffpage.cpp 94221ca 
  libdialogpages/filespage.cpp 417fbd1 
  libdialogpages/filessettings.h dc3306e 
  libdialogpages/pagebase.h 0cef46f 
  libdialogpages/pagebase.cpp 4aa33d7 
  libdialogpages/viewpage.cpp e26d728 
  libdialogpages/viewsettings.h 305e934 

Diff: https://git.reviewboard.kde.org/r/120554/diff/


Testing
---

It builds, runs and seems to wok ok comparing files and folders. The 
QFileDialog it uses wasn't showing files I expected to see though, may need to 
play with the filters etc.


Thanks,

Jeremy Whiting