Re: Review Request 122007: Fix KTcpSocket to return correct negotiated protocol

2015-01-18 Thread Dawit Alemayehu

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

(Updated Jan. 18, 2015, 12:43 p.m.)


Status
--

This change has been marked as submitted.


Review request for KDE Frameworks, David Faure and Thiago Macieira.


Repository: kio


Description
---

This pull request fixes a long standing issue in KTcpSocket where member 
functions negotiatedSslVersion and negotiatedSslVersionName returned the 
requested protocol instead of the actual negotiated one because QSslSocket did 
provide a means of accessing the actual negotiated protocol. Since this has 
been addressed in Qt 5.4, the problem should be fixed in KTcpSocket as well. 
Additionally the patch also adds support for Tlsv1_1 and TlsV1_2 protocols.


Diffs
-

  src/core/ktcpsocket.h d59b180 
  src/core/ktcpsocket.cpp f223986 
  src/core/tcpslavebase.cpp e62e72a 

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


Testing
---


Thanks,

Dawit Alemayehu

___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Review Request 122007: Fix KTcpSocket to return correct negotiated protocol

2015-01-15 Thread Dawit Alemayehu

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

(Updated Jan. 16, 2015, 6:14 a.m.)


Review request for KDE Frameworks, David Faure and Thiago Macieira.


Changes
---

Updated patch


Repository: kio


Description
---

This pull request fixes a long standing issue in KTcpSocket where member 
functions negotiatedSslVersion and negotiatedSslVersionName returned the 
requested protocol instead of the actual negotiated one because QSslSocket did 
provide a means of accessing the actual negotiated protocol. Since this has 
been addressed in Qt 5.4, the problem should be fixed in KTcpSocket as well. 
Additionally the patch also adds support for Tlsv1_1 and TlsV1_2 protocols.


Diffs (updated)
-

  src/core/ktcpsocket.h d59b180 
  src/core/ktcpsocket.cpp f223986 
  src/core/tcpslavebase.cpp e62e72a 

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


Testing
---


Thanks,

Dawit Alemayehu

___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Review Request 122007: Fix KTcpSocket to return correct negotiated protocol

2015-01-11 Thread Dawit Alemayehu

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

Review request for KDE Frameworks, David Faure and Thiago Macieira.


Repository: kio


Description
---

This pull request fixes a long standing issue in KTcpSocket where member 
functions negotiatedSslVersion and negotiatedSslVersionName returned the 
requested protocol instead of the actual negotiated one because QSslSocket did 
provide a means of accessing the actual negotiated protocol. Since this has 
been addressed in Qt 5.4, the problem should be fixed in KTcpSocket as well. 
Additionally the patch also adds support for Tlsv1_1 and TlsV1_2 protocols.


Diffs
-

  src/core/ktcpsocket.h d59b180 
  src/core/ktcpsocket.cpp f223986 
  src/core/tcpslavebase.cpp e62e72a 

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


Testing
---


Thanks,

Dawit Alemayehu

___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Review Request 115723: Use Q_OS_UNIX instead of HAVE_X11 to determine the platform we are on

2014-02-13 Thread Dawit Alemayehu

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

Ship it!


That seems like a reasonable compromise to me. I wonder what Mozilla/Chromium 
send when the windowing system is something other than X11. Probably the same 
thing.

- Dawit Alemayehu


On Feb. 13, 2014, 1:03 p.m., Martin Gräßlin wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/115723/
 ---
 
 (Updated Feb. 13, 2014, 1:03 p.m.)
 
 
 Review request for KDE Frameworks, Dawit Alemayehu and Bernhard Beschow.
 
 
 Repository: kio
 
 
 Description
 ---
 
 Use Q_OS_UNIX instead of HAVE_X11 to determine the platform we are on
 
 We cannot properly determine the windowing system platform on unix
 like systems in kprotocolmanager as it's not linking gui. Thus we
 don't know whether we are on X11 or Wayland and there is no proper
 way to figure it out, because both DISPLAY and WAYLAND_DISPLAY could
 be defined.
 
 As a solution we just force the platform to be always X11 when we
 are on unix like systems (modulo mac).
 
 
 Diffs
 -
 
   src/core/kprotocolmanager.cpp f81b6797887eebd868c36b98e867eb055b05a1e2 
 
 Diff: https://git.reviewboard.kde.org/r/115723/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Martin Gräßlin
 


___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Review Request 115613: Drop platform name from default user agent string

2014-02-10 Thread Dawit Alemayehu

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


Well the platform name was added for compatibility with what Firefox at the 
time. And Chromium seems to have adapted that as well.

The latest stable version of Firefox (version 27) for example sends the 
following user agent string by default:

Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0

And the latest Chromium (version 32) sends the following:

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/32.0.1700.107 Safari/537.36

So removing the platform name from the user-agent string might have 
consequences on sites that rely on it.

- Dawit Alemayehu


On Feb. 10, 2014, 9:15 a.m., Martin Gräßlin wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/115613/
 ---
 
 (Updated Feb. 10, 2014, 9:15 a.m.)
 
 
 Review request for KDE Frameworks, Dawit Alemayehu and Bernhard Beschow.
 
 
 Repository: kio
 
 
 Description
 ---
 
 Drop platform name from default user agent string
 
 The platform name (e.g. X11) was currently broken on compile time.
 On Linux it returned unknown and on all other platforms the same
 name as already included in the OS name.
 
 We cannot really determine the platform name as this is a core
 application and the Qt's platform name is only available in a GUI
 application. Compile time is no solution as we cannot know whether
 the binary is executed on X11, Wayland, Android or whatever.
 
 
 Diffs
 -
 
   src/core/kprotocolmanager.cpp f81b6797887eebd868c36b98e867eb055b05a1e2 
 
 Diff: https://git.reviewboard.kde.org/r/115613/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Martin Gräßlin
 


___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Review Request 112463: Port SMB kioslave to KF5/Qt5

2013-11-27 Thread Dawit Alemayehu


 On Nov. 26, 2013, 5:12 p.m., Kevin Ottens wrote:
  It's been stalled for almost three months now, any chance to see progress 
  or should it be discarded?
 
 Mark Gaiser wrote:
 No, it should most certainly not be disgarded. It was even working when i 
 posted this post up for review.
 
 Dawit, how are you doing in the SMB improvements that you had in mind?

Sorry, I forgot to inform you. I have already merged my changes into 4.12 and 
master branches.


- Dawit


---
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112463/#review44515
---


On Sept. 2, 2013, 7:16 p.m., Mark Gaiser wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 http://git.reviewboard.kde.org/r/112463/
 ---
 
 (Updated Sept. 2, 2013, 7:16 p.m.)
 
 
 Review request for KDE Runtime and KDE Frameworks.
 
 
 Repository: kde-runtime
 
 
 Description
 ---
 
 This is the initial port! I added two TODO lines in the diff for parts where 
 i'm not sure if I've ported them correctly.
 Also, i needed a change in FindSamba.cmake to even get the samba detection 
 working. That reviewrequest is waiting here: 
 https://git.reviewboard.kde.org/r/112448/ you're probably OK if you still use 
 samba 3.x
 
 Once i know that this is actually working then i will comment some qDebug 
 lines.
 
 
 Diffs
 -
 
   kioslave/CMakeLists.txt ff66ab6 
   kioslave/smb/CMakeLists.txt a3a2265 
   kioslave/smb/kio_smb.h 55efb44 
   kioslave/smb/kio_smb.cpp 2c2523a 
   kioslave/smb/kio_smb_auth.cpp 4d236b4 
   kioslave/smb/kio_smb_browse.cpp fec6449 
   kioslave/smb/kio_smb_config.cpp 81ce29c 
   kioslave/smb/kio_smb_dir.cpp 5573266 
   kioslave/smb/kio_smb_file.cpp 827a519 
   kioslave/smb/kio_smb_internal.h b895b81 
   kioslave/smb/kio_smb_internal.cpp 3c35583 
   kioslave/smb/kio_smb_mount.cpp a5a7e8e 
 
 Diff: http://git.reviewboard.kde.org/r/112463/diff/
 
 
 Testing
 ---
 
 It compiles and gets loaded just fine. I tried testing this on an actual 
 samba share, but i kept getting a 111 error (connection refused) from kio_smb 
 so i'm hoping that is a local issue here. If someone else could try this out 
 and verify that it's either working or broken.
 
 
 Thanks,
 
 Mark Gaiser
 


___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Review Request 112463: Port SMB kioslave to KF5/Qt5

2013-09-09 Thread Dawit Alemayehu


 On Sept. 6, 2013, 1:10 p.m., Dawit Alemayehu wrote:
  I have several changes coming to this ioslave. Mainly I am going to 
  implement the copyFrom and copyTo optimizations like I did for the sftp 
  ioslave and add support for upload/download resumptions. The changes are 
  going to come in parts because they are not small and should be done in the 
  next week or two. 
  
  If you feel that it would be easier to merge those changes after your port, 
  then feel free to ship this, otherwise would it be possible for you to hold 
  off on this port? For the record I am not the maintainer of this code base. 
  I am just trying to improve as many of these ioslaves as I can when I get 
  the chance.
 
 Mark Gaiser wrote:
 Question though: did you test this port and did it work for you?
 
 As for the porting and your changes. You seem to be making those changes 
 in KDE/4.11, not in frameworks-scratch, so i would prefer if you make the 
 changes you want to make. Once those are in i will have to rebase my changes 
 against it and request a ship it again :)

I cannot test it because I am not setup for KF5. I just went through the code.


- Dawit


---
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112463/#review39463
---


On Sept. 2, 2013, 7:16 p.m., Mark Gaiser wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 http://git.reviewboard.kde.org/r/112463/
 ---
 
 (Updated Sept. 2, 2013, 7:16 p.m.)
 
 
 Review request for KDE Runtime and KDE Frameworks.
 
 
 Description
 ---
 
 This is the initial port! I added two TODO lines in the diff for parts where 
 i'm not sure if I've ported them correctly.
 Also, i needed a change in FindSamba.cmake to even get the samba detection 
 working. That reviewrequest is waiting here: 
 https://git.reviewboard.kde.org/r/112448/ you're probably OK if you still use 
 samba 3.x
 
 Once i know that this is actually working then i will comment some qDebug 
 lines.
 
 
 Diffs
 -
 
   kioslave/CMakeLists.txt ff66ab6 
   kioslave/smb/CMakeLists.txt a3a2265 
   kioslave/smb/kio_smb.h 55efb44 
   kioslave/smb/kio_smb.cpp 2c2523a 
   kioslave/smb/kio_smb_auth.cpp 4d236b4 
   kioslave/smb/kio_smb_browse.cpp fec6449 
   kioslave/smb/kio_smb_config.cpp 81ce29c 
   kioslave/smb/kio_smb_dir.cpp 5573266 
   kioslave/smb/kio_smb_file.cpp 827a519 
   kioslave/smb/kio_smb_internal.h b895b81 
   kioslave/smb/kio_smb_internal.cpp 3c35583 
   kioslave/smb/kio_smb_mount.cpp a5a7e8e 
 
 Diff: http://git.reviewboard.kde.org/r/112463/diff/
 
 
 Testing
 ---
 
 It compiles and gets loaded just fine. I tried testing this on an actual 
 samba share, but i kept getting a 111 error (connection refused) from kio_smb 
 so i'm hoping that is a local issue here. If someone else could try this out 
 and verify that it's either working or broken.
 
 
 Thanks,
 
 Mark Gaiser
 


___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Review Request 112463: Port SMB kioslave to KF5/Qt5

2013-09-06 Thread Dawit Alemayehu

---
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112463/#review39463
---


I have several changes coming to this ioslave. Mainly I am going to implement 
the copyFrom and copyTo optimizations like I did for the sftp ioslave and add 
support for upload/download resumptions. The changes are going to come in parts 
because they are not small and should be done in the next week or two. 

If you feel that it would be easier to merge those changes after your port, 
then feel free to ship this, otherwise would it be possible for you to hold off 
on this port? For the record I am not the maintainer of this code base. I am 
just trying to improve as many of these ioslaves as I can when I get the chance.

- Dawit Alemayehu


On Sept. 2, 2013, 7:16 p.m., Mark Gaiser wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 http://git.reviewboard.kde.org/r/112463/
 ---
 
 (Updated Sept. 2, 2013, 7:16 p.m.)
 
 
 Review request for KDE Runtime and KDE Frameworks.
 
 
 Description
 ---
 
 This is the initial port! I added two TODO lines in the diff for parts where 
 i'm not sure if I've ported them correctly.
 Also, i needed a change in FindSamba.cmake to even get the samba detection 
 working. That reviewrequest is waiting here: 
 https://git.reviewboard.kde.org/r/112448/ you're probably OK if you still use 
 samba 3.x
 
 Once i know that this is actually working then i will comment some qDebug 
 lines.
 
 
 Diffs
 -
 
   kioslave/CMakeLists.txt ff66ab6 
   kioslave/smb/CMakeLists.txt a3a2265 
   kioslave/smb/kio_smb.h 55efb44 
   kioslave/smb/kio_smb.cpp 2c2523a 
   kioslave/smb/kio_smb_auth.cpp 4d236b4 
   kioslave/smb/kio_smb_browse.cpp fec6449 
   kioslave/smb/kio_smb_config.cpp 81ce29c 
   kioslave/smb/kio_smb_dir.cpp 5573266 
   kioslave/smb/kio_smb_file.cpp 827a519 
   kioslave/smb/kio_smb_internal.h b895b81 
   kioslave/smb/kio_smb_internal.cpp 3c35583 
   kioslave/smb/kio_smb_mount.cpp a5a7e8e 
 
 Diff: http://git.reviewboard.kde.org/r/112463/diff/
 
 
 Testing
 ---
 
 It compiles and gets loaded just fine. I tried testing this on an actual 
 samba share, but i kept getting a 111 error (connection refused) from kio_smb 
 so i'm hoping that is a local issue here. If someone else could try this out 
 and verify that it's either working or broken.
 
 
 Thanks,
 
 Mark Gaiser
 


___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel