Re: [Status Report] SoK-18 Project: Write tests and Improve protocol support for Kopete

Luiz Carlos <[email protected]> Fri, 23 Feb 2018 20:42:02 -0300
Newsgroups gmane.comp.kde.devel.kopete
Message-ID <CAChA=+hSWHME8kSLPivAt-CP7W59N1-E3scHYBpHCvW7zFFCoQ@mail.gmail.com>
--001a1143b4121426000565e9b565
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi friend, implement XEP-0333 Chat Markers, and enable plugin with omemo
https://conversations.im/omemo/

2018-02-14 9:52 GMT-02:00 Himanshu Vishwakarma <[email protected]>:

> Hi,
>
> In this week, I go through the codebase of Jabber Protocol and start to
> write the unit test of the in the Jabber protocol. the issue which I post=
ed
> in the status previous report is unsolved, I am working on it. Please giv=
e
> me some suggestion or link by which help me to solve the problem.
>
> Next, I plan to complete the unit test and also move toward the improving
> the workflow of the application. Please let me know if reports need to be
> more elaborate or any suggestion.
>
> Please review the patch: https://phabricator.kde.org/D10160
>
> Link to the blog: http://blog.himvish997.com
>
> Regards,
> Himanshu Vishwakarma
>
> On Mon, Feb 5, 2018 at 4:13 PM, Himanshu Vishwakarma <[email protected]=
m
> > wrote:
>
>> Hi,
>>
>> In this week, I worked on improving the previous patch and made the test
>> data-driven and now,  waiting for the review. I also wrote a new test of
>> class socket
>> =E2=80=8B in
>> =E2=80=8B =E2=80=8B
>> QQ protocol but
>> =E2=80=8B there=E2=80=8B
>> =E2=80=8Bhaving some difficulties=E2=80=8B
>> .
>> =E2=80=8B I
>> =E2=80=8Bwill be
>>
>> =E2=80=8Bglad
>> , If you look at the proble
>> =E2=80=8Bm=E2=80=8B
>>  and give the possible solution.=E2=80=8B
>>
>> =E2=80=8B
>> When I compling test it give the error like
>> =E2=80=8B this
>> =E2=80=8B
>> =E2=80=8B
>> /********************************************************
>> In file included from /mnt/NewVolume/sok
>> *=E2=80=8B=E2=80=8B/kopete/protocols/qq/qqsocket.cpp*:26:0:
>>
>> /mnt/NewVolume/sok
>> *=E2=80=8B=E2=80=8B/kopete/protocols/qq/qqsocket.h*:18:10: fatal error: =
qobject.h: No
>> such file or directory
>>
>>  #include <qobject.h>
>>
>>           ^~~~~~~~~~~
>>
>> compilation terminated.
>>
>> /***********************************************************
>> =E2=80=8B=E2=80=8B
>>
>> =E2=80=8BTo slove the problem, =E2=80=8B
>> =E2=80=8BI tried the many thing=E2=80=8Bs, some are follows:
>>
>>
>>    - =E2=80=8BReplace to this
>>     #include <QObject> instead of
>>    =E2=80=8B=E2=80=8B
>>    #include <qobject.h>
>> * =E2=80=8B=E2=80=8Bbut got similar error*.
>>    - I=E2=80=8B
>>    nclude the Qt5::Core library in th
>>    =E2=80=8Be=E2=80=8B
>>    kopete/tests/protocols/qq/CMakeLists.txt
>>    =E2=80=8B =E2=80=8B
>>    =E2=80=8Band in the protocol CMakeLists.txt file also=E2=80=8B.
>>    - G=E2=80=8B
>>    ive the full path of the QObject library in
>> * =E2=80=8B=E2=80=8Bkopete/tests/protocols/qq/CMakeLists.txt* but the is=
sue
>>    =E2=80=8B remain same=E2=80=8B
>>    .
>>    - Reinstall
>>    =E2=80=8Bed=E2=80=8B
>>    the Qt and change the lastest version Qt-5.10.0.
>>    - If I comment the line
>>    =E2=80=8B =E2=80=8B
>>    =E2=80=8B
>>    *#include <qobject.h>*
>>     then
>>    =E2=80=8Berror change but=E2=80=8B
>>
>>    similar
>>    error has come to this line
>> * =E2=80=8B=E2=80=8B#include <QList>*=E2=80=8B
>>
>> Let me know if needed some more information related to the error.
>>
>> Next, I plan to resolve the issue in
>> =E2=80=8Babove test
>>  and go through code base of other protocols basically Jabber protocol
>> =E2=80=8B =E2=80=8B
>> and =E2=80=8B
>> I also want to confirm
>> =E2=80=8B=E2=80=8B
>> that,
>> *=E2=80=8B=E2=80=8Bshould I remove the AIM protocol from the kopete?*
>>
>> Link to patch: https://phabricator.kde.org/D10160
>>
>> Regards,
>> Himanshu Vishwakarma
>>
>>
>>
>>
>>
>
>
> --
> Regards,
> Himanshu Vishwakarma
>

--001a1143b4121426000565e9b565
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi friend, implement XEP-0333 Chat Markers, and enable plu=
gin with omemo=C2=A0<a href=3D"https://conversations.im/omemo/">https://con=
versations.im/omemo/</a></div><div class=3D"gmail_extra"><br><div class=3D"=
gmail_quote">2018-02-14 9:52 GMT-02:00 Himanshu Vishwakarma <span dir=3D"lt=
r">&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">himvish997=
@gmail.com</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"lt=
r"><div class=3D"gmail_default"><div class=3D"gmail_default"><font face=3D"=
arial, helvetica, sans-serif"><span style=3D"color:rgb(0,0,0);background-co=
lor:rgb(255,255,255)">Hi, </span><br>
<br>In this week, I go through the codebase of Jabber Protocol and start to=
 write the unit test of the in the Jabber protocol. the issue which I poste=
d in the status previous report is unsolved, I am working on it. Please giv=
e me some suggestion or link by which help me to solve the problem. <br>
<br>Next, I plan to complete the unit test and also move toward the improvi=
ng the workflow of the application. Please let me know if reports need to b=
e more elaborate or any suggestion. <br>
<br>Please review the patch: <a href=3D"https://phabricator.kde.org/D10160"=
 target=3D"_blank">https://phabricator.kde.org/<wbr>D10160 </a><br>
<br>Link to the blog: <a href=3D"http://blog.himvish997.com" target=3D"_bla=
nk">http://blog.himvish997.com</a> <br>=C2=A0<br></font><span style=3D"font=
-family:arial,helvetica,sans-serif">Regards,=C2=A0</span><font face=3D"aria=
l, helvetica, sans-serif"><br></font></div><div class=3D"gmail_default"><fo=
nt face=3D"arial, helvetica, sans-serif">Himanshu Vishwakarma<br></font><br=
></div></div><div class=3D"gmail_extra"><div class=3D"gmail_quote">On Mon, =
Feb 5, 2018 at 4:13 PM, Himanshu Vishwakarma <span dir=3D"ltr">&lt;<a href=
=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>=
&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px=
 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><di=
v dir=3D"ltr"><div style=3D"font-family:arial,helvetica,sans-serif">Hi,<br>=
</div><div class=3D"gmail_quote"><div dir=3D"ltr"><div class=3D"gmail_quote=
"><div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr"><div style=
=3D"font-family:arial,helvetica,sans-serif"><br></div><span style=3D"color:=
rgb(34,34,34);font-family:arial,helvetica,sans-serif;font-size:small;font-s=
tyle:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-wei=
ght:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transfo=
rm:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,25=
5);text-decoration-style:initial;text-decoration-color:initial;float:none;d=
isplay:inline"><span>In this week, I worked on improving the previous patch=
 and made the test data-driven and now,=C2=A0 waiting=C2=A0for the review. =
I=C2=A0also wrote=C2=A0a new test of class socket</span><div style=3D"font-=
family:arial,helvetica,sans-serif;display:inline">=E2=80=8B in<div style=3D=
"font-family:arial,helvetica,sans-serif;display:inline">=E2=80=8B =E2=80=8B=
</div></div>QQ protocol but<div style=3D"font-family:arial,helvetica,sans-s=
erif;display:inline">=E2=80=8B there=E2=80=8B</div> <div style=3D"font-fami=
ly:arial,helvetica,sans-serif;display:inline">=E2=80=8Bhaving some difficul=
ties=E2=80=8B</div><div style=3D"font-family:arial,helvetica,sans-serif;dis=
play:inline">.<div style=3D"font-family:arial,helvetica,sans-serif;display:=
inline">=E2=80=8B I <div style=3D"font-family:arial,helvetica,sans-serif;di=
splay:inline">=E2=80=8Bwill be</div>=C2=A0<div style=3D"font-family:arial,h=
elvetica,sans-serif;display:inline">=E2=80=8Bglad</div>, If you look at the=
 proble<div style=3D"font-family:arial,helvetica,sans-serif;display:inline"=
>=E2=80=8Bm=E2=80=8B</div><div style=3D"font-family:arial,helvetica,sans-se=
rif;display:inline">=C2=A0and give the possible solution.=E2=80=8B</div></d=
iv></div></span></div><div dir=3D"ltr"><span><font face=3D"arial, helvetica=
, sans-serif"><br></font><div><font face=3D"monospace, monospace"><div styl=
e=3D"display:inline">=E2=80=8B</div><span style=3D"background-color:initial=
;font-size:1em;color:rgb(46,52,54)">When I compling test it give the error =
like<div style=3D"display:inline">=E2=80=8B this</div><div style=3D"display=
:inline">=E2=80=8B</div><div style=3D"display:inline">=E2=80=8B</div></span=
></font></div><div><font color=3D"#000000"><font face=3D"monospace, monospa=
ce"><span style=3D"background-color:initial;font-size:1em">/***************=
**************<wbr>***************************</span></font></font></div><d=
iv><font color=3D"#000000"><span style=3D"font-family:monospace,monospace;b=
ackground-color:initial;font-size:1em">In file included from /mnt/NewVolume=
/sok<b><div style=3D"display:inline">=E2=80=8B=E2=80=8B</div>/kopete/protoc=
ols/qq/qqsocket.<wbr>cpp</b>:26:0:</span><font face=3D"monospace, monospace=
"><div style=3D"display:inline"></div></font><div style=3D"font-family:mono=
space,monospace;display:inline"><br></div><span style=3D"font-family:monosp=
ace,monospace;background-color:initial;font-size:1em">/mnt/NewVolume/sok<b>=
<div style=3D"display:inline">=E2=80=8B=E2=80=8B</div>/kopete/protocols/qq/=
qqsocket.<wbr>h</b>:18:10: fatal error: qobject.h: No such file or director=
y</span><div style=3D"font-family:monospace,monospace;display:inline"><br><=
/div><span style=3D"font-family:monospace,monospace;background-color:initia=
l;font-size:1em">=C2=A0#include &lt;qobject.h&gt;</span><div style=3D"font-=
family:monospace,monospace;display:inline"><br></div><span style=3D"font-fa=
mily:monospace,monospace;background-color:initial;font-size:1em">=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~~~~~</span><div style=3D"font-family:monosp=
ace,monospace;display:inline"><br></div><span style=3D"font-family:monospac=
e,monospace;background-color:initial;font-size:1em">compilation terminated.=
</span><div style=3D"font-family:monospace,monospace;display:inline"><br></=
div><span style=3D"font-family:monospace,monospace;background-color:initial=
;font-size:1em">/*****************************<wbr>************************=
******<div style=3D"display:inline">=E2=80=8B=E2=80=8B</div></span><div sty=
le=3D"font-family:monospace,monospace;display:inline"><br></div><span style=
=3D"background-color:initial;font-size:1em"><font face=3D"arial, helvetica,=
 sans-serif"><div style=3D"display:inline"><div style=3D"display:inline">=
=E2=80=8BTo slove the problem, =E2=80=8B</div>=E2=80=8BI tried the many thi=
ng=E2=80=8Bs, some are follows:</div><br></font></span></font></div></span>=
<div><ul><font face=3D"arial, helvetica, sans-serif"><span><li><div style=
=3D"background-color:initial;font-size:1em;color:rgb(0,0,0);display:inline"=
>=E2=80=8BReplace to this</div><span style=3D"background-color:initial;font=
-size:1em;color:rgb(0,0,0)">=C2=A0#include &lt;QObject&gt; instead of </spa=
n><div style=3D"background-color:initial;font-size:1em;color:rgb(0,0,0);dis=
play:inline">=E2=80=8B=E2=80=8B</div><span style=3D"background-color:initia=
l;font-size:1em;color:rgb(0,0,0)">#include &lt;qobject.h&gt; </span><i styl=
e=3D"background-color:initial;font-size:1em;color:rgb(0,0,0)"><div style=3D=
"display:inline">=E2=80=8B=E2=80=8B</div>but got similar error</i><span sty=
le=3D"background-color:initial;font-size:1em;color:rgb(0,0,0)">.</span></li=
></span><span><li><font color=3D"#000000"><span style=3D"background-color:i=
nitial;font-size:1em"><div style=3D"display:inline">I=E2=80=8B</div>nclude =
the Qt5::Core library in th<div style=3D"display:inline">=E2=80=8Be=E2=80=
=8B=C2=A0</div>kopete/tests/protocols/qq/CMak<wbr>eLists.txt<div style=3D"d=
isplay:inline">=E2=80=8B =E2=80=8B</div></span></font><span style=3D"color:=
rgb(0,0,0)">=E2=80=8Band in the protocol CMakeLists.txt file also=E2=80=8B.=
</span></li></span><span><li><div style=3D"background-color:initial;font-si=
ze:1em;color:rgb(0,0,0);display:inline">G=E2=80=8B</div><span style=3D"back=
ground-color:initial;font-size:1em;color:rgb(0,0,0)">ive the full path of t=
he QObject library in </span><b style=3D"background-color:initial;font-size=
:1em;color:rgb(0,0,0)"><div style=3D"display:inline">=E2=80=8B=E2=80=8B</di=
v>kopete/tests/protocols/qq/CMak<wbr>eLists.txt</b><span style=3D"backgroun=
d-color:initial;font-size:1em;color:rgb(0,0,0)"> but the issue</span><div s=
tyle=3D"background-color:initial;font-size:1em;color:rgb(0,0,0);display:inl=
ine">=E2=80=8B remain same=E2=80=8B</div><span style=3D"background-color:in=
itial;font-size:1em;color:rgb(0,0,0)">.</span></li></span><span><li>Reinsta=
ll<div style=3D"background-color:initial;font-size:1em;color:rgb(0,0,0);dis=
play:inline">=E2=80=8Bed=E2=80=8B</div><span style=3D"background-color:init=
ial;font-size:1em;color:rgb(0,0,0)"> the Qt and change the lastest version =
Qt-5.10.0.</span></li></span><span><li>If I comment the line<div style=3D"f=
ont-size:13px;color:rgb(0,0,0);display:inline">=E2=80=8B =E2=80=8B<div styl=
e=3D"display:inline">=E2=80=8B</div><b>#include &lt;qobject.h&gt;</b></div>=
<span style=3D"font-size:13px;color:rgb(0,0,0)">=C2=A0then=C2=A0</span><div=
 style=3D"font-size:13px;color:rgb(0,0,0);display:inline">=E2=80=8Berror ch=
ange but=E2=80=8B</div><span style=3D"font-size:13px;color:rgb(0,0,0)">=C2=
=A0</span><div style=3D"font-size:13px;color:rgb(0,0,0);display:inline">sim=
ilar=C2=A0</div><span style=3D"font-size:13px;color:rgb(0,0,0)">error has c=
ome to this line=C2=A0</span><b style=3D"font-size:13px;color:rgb(0,0,0)"><=
div style=3D"display:inline">=E2=80=8B=E2=80=8B</div>#include &lt;QList&gt;=
</b><span style=3D"background-color:initial;font-size:1em;color:rgb(0,0,0)"=
>=E2=80=8B</span></li></span></font></ul><font face=3D"arial, helvetica, sa=
ns-serif">Let me know if needed some more information related to the error.=
<br></font></div><div><span><font face=3D"arial, helvetica, sans-serif"><br=
></font><div dir=3D"auto" style=3D"font-style:normal;font-variant-ligatures=
:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;tex=
t-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;backgr=
ound-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-c=
olor:initial;font-family:arial,helvetica,sans-serif;color:rgb(34,34,34);fon=
t-size:small">Next, I plan to resolve the issue in <div style=3D"font-weigh=
t:400;font-family:arial,helvetica,sans-serif;display:inline">=E2=80=8Babove=
 test</div>=C2=A0and go through code base of other protocols basically Jabb=
er protocol<div style=3D"font-weight:400;font-family:arial,helvetica,sans-s=
erif;display:inline">=E2=80=8B =E2=80=8B</div><span style=3D"font-weight:40=
0"><div style=3D"display:inline">and =E2=80=8B</div>I also want to confirm<=
/span><div style=3D"font-weight:400;display:inline">=E2=80=8B=E2=80=8B</div=
><span> that, <b><div style=3D"font-family:arial,helvetica,sans-serif;displ=
ay:inline">=E2=80=8B=E2=80=8B</div>should I remove the AIM protocol from th=
e kopete?</b></span></div></span><span><div><div class=3D"m_657830892435595=
1061gmail-m_-9196107512577499179m_8231434444913206151m_3463438685381637945m=
_-4258021561262524555m_8795397354536371037gmail_signature"><div dir=3D"ltr"=
><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div d=
ir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><br></div><di=
v dir=3D"ltr"><div style=3D"font-family:arial,helvetica,sans-serif">Link to=
 patch:=C2=A0<a href=3D"https://phabricator.kde.org/D10160" target=3D"_blan=
k">https://phabricator.kde<wbr>.org/D10160</a></div></div><div dir=3D"ltr">=
<br></div><div dir=3D"ltr"><font size=3D"2" face=3D"arial, helvetica, sans-=
serif">Regards,</font><div style=3D"font-size:12.8px"><font size=3D"2" face=
=3D"arial, helvetica, sans-serif">Himanshu Vishwakarma<br><br></font></div>=
</div></div></div></div></div></div></div></div></div></div></div>
</span></div></div>
</div><br></div>
</div><br></div>
</div><br></div><span class=3D"HOEnZb"><font color=3D"#888888">
</font></span></blockquote></div><span class=3D"HOEnZb"><font color=3D"#888=
888"><br><br clear=3D"all"><div><br></div>-- <br><div class=3D"m_6578308924=
355951061gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div =
dir=3D"ltr"><div><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div di=
r=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"lt=
r"><div dir=3D"ltr"><div dir=3D"ltr"><span style=3D"font-family:arial,helve=
tica,sans-serif;font-size:small">Regards,</span><br></div><div dir=3D"ltr">=
<div style=3D"font-size:12.8px"><font size=3D"2" face=3D"arial, helvetica, =
sans-serif">Himanshu Vishwakarma<br></font></div></div></div></div></div></=
div></div></div></div></div></div></div></div></div></div></div></div></div=
>
</font></span></div></div>
</blockquote></div><br></div>

--001a1143b4121426000565e9b565--