[prev in list] [next in list] [prev in thread] [next in thread] 

List:       calligra-devel
Subject:    Re: Review Request 120940: Added parsing of hashtag comments inside imported csv in kexi
From:       Jarosław_Staniek <staniek () kde ! org>
Date:       2015-02-28 21:47:53
Message-ID: 20150228214753.12884.21681 () probe ! kde ! org
[Download RAW message or body]

--===============5184575140271987481==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit


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



kexi/plugins/importexport/csv/kexicsvimportdialog.cpp
<https://git.reviewboard.kde.org/r/120940/#comment52850>

    missing ":"



kexi/plugins/importexport/csv/kexicsvimportdialog.cpp
<https://git.reviewboard.kde.org/r/120940/#comment52852>

    typo 
    -> commentSymbol



kexi/plugins/importexport/csv/kexicsvimportdialog.cpp
<https://git.reviewboard.kde.org/r/120940/#comment52851>

    not needed comments?


- Jarosław Staniek


On Feb. 28, 2015, 7:15 p.m., Wojciech Kosowicz wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/120940/
> -----------------------------------------------------------
> 
> (Updated Feb. 28, 2015, 7:15 p.m.)
> 
> 
> Review request for Calligra, Adam Pigg and Jarosław Staniek.
> 
> 
> Repository: calligra
> 
> 
> Description
> -------
> 
> When hash sign (#) appears in csv file at the beginning of the line or in the \
> middle of unqouted field it is treated as the beginning of the comment and the \
> following data is being ignored until the end of the row 
> 
> Diffs
> -----
> 
> kexi/plugins/importexport/csv/kexicsvimportdialog.h 3dc3fe4 
> kexi/plugins/importexport/csv/kexicsvimportdialog.cpp 6572285 
> kexi/plugins/importexport/csv/kexicsvwidgets.h 1e87dbd 
> kexi/plugins/importexport/csv/kexicsvwidgets.cpp 3cf6ea4 
> libs/widgets/KoCsvImportDialog.cpp 8d042d7 
> 
> Diff: https://git.reviewboard.kde.org/r/120940/diff/
> 
> 
> Testing
> -------
> 
> Able to activate/deactivate parsing comments. When activated able to choose \
> specific sign 
> 
> Thanks,
> 
> Wojciech Kosowicz
> 
> 


--===============5184575140271987481==
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 8bit




<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="12" style="border: 1px #c9c399 \
solid; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;">  \
<tr>  <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="https://git.reviewboard.kde.org/r/120940/">https://git.reviewboard.kde.org/r/120940/</a>
  </td>
    </tr>
   </table>
   <br />











<div>



<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; \
border-collapse: collapse; margin: 2px padding: 2px;">  <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; \
font-size: 9pt; padding: 4px 8px; text-align: left;">  <a \
href="https://git.reviewboard.kde.org/r/120940/diff/4-5/?file=351934#file351934line594" \
style="color: black; font-weight: bold; text-decoration: \
underline;">kexi/plugins/importexport/csv/kexicsvimportdialog.cpp</a>  <span \
style="font-weight: normal;">

     (Diff revisions 4 - 5)

    </span>
   </th>
  </tr>
 </thead>

 <tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
  <tr>

   <td colspan="4"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">void \
KexiCSVImportDialog::createOptionsPage()</pre></td>

  </tr>
 </tbody>



 
 

 <tbody>

  <tr>
    <th bgcolor="#e9eaa8" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2">594</font></th>  <td bgcolor="#fdfebc" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; ">    <span \
class="n">QLabel</span> <span class="o">*</span><span class="n">commentLabel</span> \
<span class="o">=</span> <span class="k">new</span> <span \
class="n">QLabel</span><span class="p">(</span><span class="n">i18n</span><span \
class="p">(</span><span class="s">&quot;Comment s<span \
class="hl">ign</span>&quot;</span><span class="p">),</span> <span \
class="n">page</span><span class="p">);</span></pre></td>  <th bgcolor="#e9eaa8" \
style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0;" \
align="right"><font size="2">594</font></th>  <td bgcolor="#fdfebc" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; ">    <span \
class="n">QLabel</span> <span class="o">*</span><span class="n">commentLabel</span> \
<span class="o">=</span> <span class="k">new</span> <span \
class="n">QLabel</span><span class="p">(</span><span class="n">i18n</span><span \
class="p">(</span><span class="s">&quot;Comment s<span \
class="hl">ymbol</span>&quot;</span><span class="p">),</span> <span \
class="n">page</span><span class="p">);</span></pre></td>  </tr>

 </tbody>

</table>

 <div style="margin-left: 2em;">

  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><p style="padding: \
0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: \
inherit;">missing ":"</p></pre>  </div>
</div>
<br />

<div>



<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; \
border-collapse: collapse; margin: 2px padding: 2px;">  <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; \
font-size: 9pt; padding: 4px 8px; text-align: left;">  <a \
href="https://git.reviewboard.kde.org/r/120940/diff/4-5/?file=351934#file351934line1064" \
style="color: black; font-weight: bold; text-decoration: \
underline;">kexi/plugins/importexport/csv/kexicsvimportdialog.cpp</a>  <span \
style="font-weight: normal;">

     (Diff revisions 4 - 5)

    </span>
   </th>
  </tr>
 </thead>

 <tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
  <tr>

   <td colspan="4"><pre style="font-size: 8pt; line-height: 140%; margin: 0; \
">tristate KexiCSVImportDialog::loadRows(QString &amp;field, int &amp;row, int \
&amp;column, int &amp;maxColumn,</pre></td>

  </tr>
 </tbody>



 
 

 <tbody>

  <tr>
    <th bgcolor="#f0f0f0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2">1064</font></th>  <td bgcolor="#ffffff" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; ">    <span \
class="k">const</span> <span class="n">QChar</span> <span \
class="nf">commentSing</span><span class="p">(</span><span \
class="n">m_commentWidget</span><span class="o">-&gt;</span><span \
class="n">commentSign</span><span class="p">()[</span><span class="mi">0</span><span \
class="p">]);</span></pre></td>  <th bgcolor="#f0f0f0" style="border-left: 1px solid \
#C0C0C0; border-right: 1px solid #C0C0C0;" align="right"><font \
size="2">1064</font></th>  <td bgcolor="#ffffff" width="50%"><pre style="font-size: \
8pt; line-height: 140%; margin: 0; ">    <span class="k">const</span> <span \
class="n">QChar</span> <span class="nf">commentSing</span><span \
class="p">(</span><span class="n">m_commentWidget</span><span \
class="o">-&gt;</span><span class="n">commentSign</span><span \
class="p">()[</span><span class="mi">0</span><span class="p">]);</span></pre></td>  \
</tr>

 </tbody>

</table>

 <div style="margin-left: 2em;">

  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><p style="padding: \
                0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: \
                inherit;">typo 
-&gt; commentSymbol</p></pre>
 </div>
</div>
<br />

<div>



<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; \
border-collapse: collapse; margin: 2px padding: 2px;">  <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; \
font-size: 9pt; padding: 4px 8px; text-align: left;">  <a \
href="https://git.reviewboard.kde.org/r/120940/diff/4-5/?file=351934#file351934line1138" \
style="color: black; font-weight: bold; text-decoration: \
underline;">kexi/plugins/importexport/csv/kexicsvimportdialog.cpp</a>  <span \
style="font-weight: normal;">

     (Diff revisions 4 - 5)

    </span>
   </th>
  </tr>
 </thead>

 <tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
  <tr>

   <td colspan="4"><pre style="font-size: 8pt; line-height: 140%; margin: 0; \
">tristate KexiCSVImportDialog::loadRows(QString &amp;field, int &amp;row, int \
&amp;column, int &amp;maxColumn,</pre></td>

  </tr>
 </tbody>



 
 

 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">1138</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "><span \
class="c1">//            } else if (x == commentSing &amp;&amp; m_parseComments) \
{</span></pre></td>  </tr>

 </tbody>

</table>

 <div style="margin-left: 2em;">

  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><p style="padding: \
0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">not \
needed comments?</p></pre>  </div>
</div>
<br />



<p>- Jarosław Staniek</p>


<br />
<p>On February 28th, 2015, 7:15 p.m. CET, Wojciech Kosowicz wrote:</p>








<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="12" style="border: \
1px #888a85 solid; border-radius: 6px; -moz-border-radius: 6px; \
-webkit-border-radius: 6px;">  <tr>
  <td>

<div>Review request for Calligra, Adam Pigg and Jarosław Staniek.</div>
<div>By Wojciech Kosowicz.</div>


<p style="color: grey;"><i>Updated Feb. 28, 2015, 7:15 p.m.</i></p>









<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
calligra
</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">When hash sign (#) appears in csv file at the \
beginning of the line or in the middle of unqouted field it is treated as the \
beginning of the comment and the following data is being ignored until the end of the \
row</p></pre>  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">Able to activate/deactivate parsing comments. When \
activated able to choose specific sign</p></pre>  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>kexi/plugins/importexport/csv/kexicsvimportdialog.h <span style="color: \
grey">(3dc3fe4)</span></li>

 <li>kexi/plugins/importexport/csv/kexicsvimportdialog.cpp <span style="color: \
grey">(6572285)</span></li>

 <li>kexi/plugins/importexport/csv/kexicsvwidgets.h <span style="color: \
grey">(1e87dbd)</span></li>

 <li>kexi/plugins/importexport/csv/kexicsvwidgets.cpp <span style="color: \
grey">(3cf6ea4)</span></li>

 <li>libs/widgets/KoCsvImportDialog.cpp <span style="color: \
grey">(8d042d7)</span></li>

</ul>

<p><a href="https://git.reviewboard.kde.org/r/120940/diff/" style="margin-left: \
3em;">View Diff</a></p>






  </td>
 </tr>
</table>







  </div>
 </body>
</html>


--===============5184575140271987481==--


[Attachment #3 (text/plain)]

_______________________________________________
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic