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

List:       kde-bindings
Subject:    Re: [Kde-bindings] Qyoto: Linux build fixed
From:       Dimitar Dobrev <dpldobrev () yahoo ! com>
Date:       2013-01-13 18:44:36
Message-ID: 1358102676.23231.YahooMailNeo () web122404 ! mail ! ne1 ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]



    Makes sense. But even that doesn't explain why it works on my machine. Anyway, \
I'd gladly take a patch.

    Dimitar



________________________________
 From: Steven Boswell II <ulatekh@yahoo.com>
To: KDE bindings <kde-bindings@kde.org> 
Sent: Sunday, January 13, 2013 7:58 PM
Subject: Re: [Kde-bindings] Qyoto: Linux build fixed
 

Digging around the assemblygen source code, I see that Translator.CppToCSharp() is \
what uses the type-code-map to determine what should be excluded.  But it's only \
called for properties, signals, attributes, and methods -- there's nothing that cuts \
out the class in general.

Here's part of the output from assemblygen when run on qyoto-qtgui:

  |--Won't wrap method QX11EmbedContainer::QX11EmbedContainer()
  |--Won't wrap method QX11EmbedContainer::QX11EmbedContainer(QWidget*)
  |--Won't wrap method QX11EmbedContainer::error() const
 
 |--Conflicting names: method/classname: Error in class QX11EmbedContainer - keeping \
original method name  |--Won't wrap method \
QX11EmbedContainer::error(QX11EmbedContainer::Error)  |--Won't wrap method \
QX11EmbedContainer::x11Event(_XEvent*)  |--Won't wrap method \
QX11EmbedWidget::QX11EmbedWidget()  |--Won't wrap method \
QX11EmbedWidget::QX11EmbedWidget(QWidget*)  |--Won't wrap method \
QX11EmbedWidget::error() const  |--Conflicting names: method/classname: Error in \
class QX11EmbedWidget - keeping original method name  |--Won't wrap method \
QX11EmbedWidget::error(QX11EmbedWidget::Error)  |--Won't wrap method \
QX11EmbedWidget::x11Event(_XEvent*)

In the generated code, though, that leaves behind several components of the \
supposedly blacklisted classes, e.g. slots, overridden methods, static methods, etc.  \
Maybe that's why the class get included despite the blacklist?

So
 far, I'm thinking of adding a check for blacklisted classes near the top of the loop \
in Translator.Run(), but that's just a guess.

Steven Boswell



________________________________
 From: Dimitar Dobrev <dpldobrev@yahoo.com>
To: Steven Boswell II <ulatekh@yahoo.com>; KDE bindings <kde-bindings@kde.org> 
Sent: Sunday, January 13, 2013 9:12 AM
Subject: Re: [Kde-bindings] Qyoto: Linux build fixed
 


    I see but it's not what I meant. I'm saying that this shouldn't happen because \
QX11EmbedContainer and QX11EmbedWidget shouldn't be generated in the first place. \
Anyway, I think I know where the problem is - in QyotoHooks.PostMembersHook the \
naming logic for signal events does not check for other members or nested types with \
the same name. I'll try fixing this (and reincluding QX11EmbedContainer and \
QX11EmbedWidget) within three days.

    Regards,
    Dimitar


________________________________
 From: Steven Boswell II <ulatekh@yahoo.com>
To: Dimitar Dobrev <dpldobrev@yahoo.com> 
Sent: Sunday, January 13, 2013 5:59 PM
Subject: Re: [Kde-bindings] Qyoto: Linux build fixed
 

See the enclosed generated C# file.  At  line 179965, there's a definition of "public \
enum Error", and at line 179756, there's a definition of "public event Slot Error".  \
So it may have something to do with the way signals are mapped to C# events.

The original signal, defined in /usr/include/QtGui/qx11embed_x11.h, is called \
"error", i.e. "void error(QX11EmbedWidget::Error error);".  Perhaps it's a \
consequence of capitalization?


________________________________
 From: Dimitar Dobrev <dpldobrev@yahoo.com>
To: Steven Boswell II <ulatekh@yahoo.com>; KDE bindings for other programming \
                languages <kde-bindings@kde.org> 
Sent: Sunday, January 13, 2013 8:49 AM
Subject: Re: [Kde-bindings] Qyoto: Linux build fixed
 

    

    No, they are not different. However, as I've written to Carlos Machado, I have no \
idea how this error happens. Both classes are blacklisted, by you, actually, 8 months \
ago, and I haven't had a problem since, and neither had you. Other that what I've \
advised him, I have unfortunately nothing else to offer for now.  

    Dimitar


________________________________
 From: Steven Boswell II <ulatekh@yahoo.com>
To: KDE bindings <kde-bindings@kde.org> 
Sent: Sunday, January 13, 2013 5:41 PM
Subject: Re: [Kde-bindings] Qyoto: Linux build fixed
 

Argh...freaking old repositories...

Now my build stops with the problem reported yesterday by Carlos Machado, namely:

qyoto-qtgui.cs(179965,21) : error CS0102: The type `QtGui.QX11EmbedContainer' already \
contains a definition for `Error' qyoto-qtgui.cs(180222,21) : error CS0102: The type \
`QtGui.QX11EmbedWidget' already contains a definition for `Error'

I'm using latest smokegen (git://anongit.kde.org/smokegen) and smokeqt \
(git://anongit.kde.org/smokeqt), unless their repositories are different now too...

Steven Boswell



________________________________
 From: Dimitar Dobrev <dpldobrev@yahoo.com>
To: Steven Boswell II <ulatekh@yahoo.com>; KDE bindings <kde-bindings@kde.org> 
Sent: Sunday, January 13, 2013 7:34 AM
Subject: Re: [Kde-bindings] Qyoto: Linux build fixed
 

    

    Oh, I think I know what's going on here. Are you using \
http://gitorious.org/assemblygen/assemblygen? Because a few months ago with Arno's \
help the repository was moved back to KDE. Now \
https://projects.kde.org/projects/kde/kdebindings/csharp/assemblygen/repository/ is \
the place where all work is being done.Qyoto's page was updated back then to point to \
this new location.  Arno, could you please delete the assemblygen repo at Gitorious? \
It's not just about the current confusion (if any) but in the future some search \
provider may lead people to it and they could think it's no longer supported.


    Dimitar



________________________________
 From: Steven Boswell II <ulatekh@yahoo.com>
To: Dimitar Dobrev <dpldobrev@yahoo.com> 
Sent: Sunday, January 13, 2013 4:22 PM
Subject: Re: [Kde-bindings] Qyoto: Linux build fixed
 

"CreateEscapedIdentifier" doesn't appear to exist anywhere in assemblygen's source \
code...?



________________________________
 From: Steven Boswell II <ulatekh@yahoo.com>
To: KDE bindings for other programming languages <kde-bindings@kde.org> 
Sent: Sunday, January 13, 2013 7:20 AM
Subject: Re: [Kde-bindings] Qyoto: Linux build fixed
 

I've been here, just busy with other projects...
new CSharpCodeProvider().CreateEscapedIdentifier("base") does indeed return "@base", \
so it doesn't appear to be a Mono bug.

Steven Boswell



________________________________
 From: Dimitar Dobrev <dpldobrev@yahoo.com>
To: Steven Boswell II <ulatekh@yahoo.com>; KDE bindings for other programming \
                languages <kde-bindings@kde.org> 
Sent: Sunday, January 13, 2013 5:00 AM
Subject: Re: [Kde-bindings] Qyoto: Linux build fixed
 

    

    Hi, Steven,

    Long time no see. :)
    About this error, I think there may be some bug in the Mono you use because I \
completed the related functionality months ago. I use \
CodeDomProvider.CreateEscapedIdentifier to get a valid argument name. Could you \
create a small test like this:

    new CSharpCodeProvider().CreateEscapedIdentifier("base")
    
    and see if you get "@base". You could use the Mono's Compiler as a Service.

    Regards,
    Dimitar



________________________________
 From: Steven Boswell II <ulatekh@yahoo.com>
To: KDE bindings <kde-bindings@kde.org> 
Sent: Sunday, January 13, 2013 6:31 AM
Subject: Re: [Kde-bindings] Qyoto: Linux build fixed
 

I just tried to build latest assemblygen-based Qyoto (after building and installing \
latest smokegen and smokeqt) on my Fedora Core 17 system, and got a compilation error \
while trying to build qyoto-qtcore.

The first offending line is in the assemblygen-created bin/qyoto-qtcore.cs, at line \
8316:

public static QByteArray Number(int arg1, int base = 10) {

The problem is that "base" is a reserved word, but it's being used as a variable \
name.  The usual solution is to put "@" in front of the name, but I don't know where \
assemblygen deals with this issue.


This is with latest mono (which I built today too) and Qt 4.8.4 (installed from \
Fedora Core's yum repos).

Thanks in advance for any help with this!

Steven Boswell



________________________________
 From: Dimitar Dobrev <dpldobrev@yahoo.com>
To: KDE bindings <kde-bindings@kde.org> 
Sent: Saturday, January 12, 2013 2:52 PM
Subject: [Kde-bindings] Qyoto: Linux build fixed
 

    

    The Qyoto Linux build is working again. Sorry about the delay.
    

    Regards,
    Dimitar


_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings





_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings







_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings









_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings


[Attachment #5 (text/html)]

<html><body><div style="color:#000; background-color:#fff; font-family:times new \
roman, new york, times, serif;font-size:12pt"><div><br><span \
class="tab">&nbsp;&nbsp;&nbsp; Makes sense. But even that doesn't explain why it \
works on my machine. Anyway, I'd gladly take a patch.</span></div><div style="color: \
rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; \
background-color: transparent; font-style: normal;"><br><span \
class="tab"></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; \
font-family: times new roman,new york,times,serif; background-color: transparent; \
font-style: normal;"><span class="tab">&nbsp;&nbsp;&nbsp; Dimitar</span><span \
class="tab"><br></span></div><div><br></div>  <div style="font-family: times new \
roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new \
roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" \
size="2"> <hr size="1">   <b><span style="font-weight:bold;">From:</span></b> Steven \
Boswell II &lt;ulatekh@yahoo.com&gt;<br> <b><span style="font-weight: \
bold;">To:</span></b> KDE bindings &lt;kde-bindings@kde.org&gt; <br> <b><span \
style="font-weight: bold;">Sent:</span></b> Sunday, January 13, 2013 7:58 PM<br> \
<b><span style="font-weight: bold;">Subject:</span></b> Re: [Kde-bindings] Qyoto: \
Linux build fixed<br> </font> </div> <br> <div id="yiv1123782800"><div><div \
style="color:#000;background-color:#fff;font-family:times new roman, new york, times, \
serif;font-size:12pt;"><div id="yiv1123782800"><div><div \
style="color:#000;background-color:#fff;font-family:times new roman, new york, times, \
serif;font-size:12pt;"><div id="yiv1123782800yui_3_7_2_17_1358098696298_49"><span \
id="yiv1123782800yui_3_7_2_17_1358098696298_182">Digging around the assemblygen \
source code, I see that Translator.CppToCSharp() is what uses the type-code-map to \
determine what should be excluded.&nbsp; But it's only called for properties, \
signals, attributes, and methods -- there's nothing that cuts out the class in \
general.<br><br>Here's part of the output from assemblygen when run on \
qyoto-qtgui:<br><br>&nbsp; |--Won't wrap method \
QX11EmbedContainer::QX11EmbedContainer()<br>&nbsp; |--Won't wrap method \
QX11EmbedContainer::QX11EmbedContainer(QWidget*)<br>&nbsp; |--Won't wrap method \
QX11EmbedContainer::error()  const<br>&nbsp;
 |--Conflicting names: method/classname: Error in class QX11EmbedContainer - keeping \
original method name<br>&nbsp; |--Won't wrap method \
QX11EmbedContainer::error(QX11EmbedContainer::Error)<br>&nbsp; |--Won't wrap method \
QX11EmbedContainer::x11Event(_XEvent*)<br>&nbsp; |--Won't wrap method \
QX11EmbedWidget::QX11EmbedWidget()<br>&nbsp; |--Won't wrap method \
QX11EmbedWidget::QX11EmbedWidget(QWidget*)<br>&nbsp; |--Won't wrap method \
QX11EmbedWidget::error() const<br>&nbsp; |--Conflicting names: method/classname: \
Error in class QX11EmbedWidget - keeping original method name<br>&nbsp; |--Won't wrap \
method QX11EmbedWidget::error(QX11EmbedWidget::Error)<br>&nbsp; |--Won't wrap method \
QX11EmbedWidget::x11Event(_XEvent*)<br><br>In the generated code, though, that leaves \
behind several components of the supposedly blacklisted classes, e.g. slots, \
overridden methods, static methods, etc.&nbsp; Maybe that's why the class get \
included despite the blacklist?<br><br>So  far, I'm thinking of adding a check for \
blacklisted classes near the top of the loop in Translator.Run(), but that's just a \
guess.<br><br>Steven Boswell<br></span></div><div><br \
id="yiv1123782800yui_3_7_2_17_1358098696298_51"></div>  <div \
class="yiv1123782800yui_3_7_2_17_1358098696298_53" \
id="yiv1123782800yui_3_7_2_17_1358098696298_54" style="font-family:times new roman, \
new york, times, serif;font-size:12pt;"> <div \
class="yiv1123782800yui_3_7_2_17_1358098696298_57" style="font-family:times new \
roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" \
size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Dimitar \
Dobrev &lt;dpldobrev@yahoo.com&gt;<br> <b><span \
style="font-weight:bold;">To:</span></b> Steven Boswell II &lt;ulatekh@yahoo.com&gt;; \
KDE bindings &lt;kde-bindings@kde.org&gt; <br> <b><span \
style="font-weight:bold;">Sent:</span></b> Sunday, January 13, 2013 9:12 AM<br> \
<b><span  style="font-weight:bold;">Subject:</span></b> Re: [Kde-bindings] Qyoto: \
Linux build fixed<br> </font> </div> <br> <div id="yiv1123782800"><div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_63" \
style="color:#000;background-color:#fff;font-family:times new roman, new york, times, \
serif;font-size:12pt;"><div><br><span class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; I \
see but it's not what I meant. I'm saying that this shouldn't happen because \
</span><span>QX11EmbedContainer and </span><span>QX11EmbedWidget shouldn't be \
generated in the first place. Anyway, I think I know where the problem is - in \
QyotoHooks.PostMembersHook the naming logic for signal events does not check for \
other members or nested types with the same name. I'll try fixing this (and \
reincluding </span><span>QX11EmbedContainer and </span><span>QX11EmbedWidget) within \
three days.</span></div><div class="yiv1123782800yui_3_7_2_17_1358098696298_64" \
style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, \
times,  serif;background-color:transparent;font-style:normal;"><br><span></span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_65" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span \
class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; Regards,</span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_66" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span \
class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; Dimitar</span><span \
class="yiv1123782800tab"></span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_67" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span \
class="yiv1123782800tab"></span><br></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_68"  style="font-family:times new \
roman, new york, times, serif;font-size:12pt;"> <div \
class="yiv1123782800yui_3_7_2_17_1358098696298_69" style="font-family:times new \
roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" \
size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Steven \
Boswell II &lt;ulatekh@yahoo.com&gt;<br> <b><span \
style="font-weight:bold;">To:</span></b> Dimitar Dobrev &lt;dpldobrev@yahoo.com&gt; \
<br>  <b><span style="font-weight:bold;">Sent:</span></b> Sunday, January 13, 2013 \
5:59 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Kde-bindings] \
Qyoto: Linux build fixed<br> </font> </div> <br> <div id="yiv1123782800"><div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_75" \
style="color:#000;background-color:#fff;font-family:times new roman, new york, times, \
serif;font-size:12pt;"><div><span>See the enclosed generated C# file.&nbsp; At&nbsp; \
line 179965, there's a definition of "public enum Error", and at line 179756, there's \
a definition of "public event Slot Error".&nbsp; So it may have something to do with \
the way signals are mapped to C# events.</span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_76" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span><br></span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_77" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span>The original signal, \
defined in  /usr/include/QtGui/qx11embed_x11.h, is called "error", i.e. "void
 error(QX11EmbedWidget::Error error);".&nbsp; Perhaps it's a consequence of \
capitalization?</span></div><div><br></div>   <div \
class="yiv1123782800yui_3_7_2_17_1358098696298_78" style="font-family:times new \
roman, new york, times, serif;font-size:12pt;"> <div \
class="yiv1123782800yui_3_7_2_17_1358098696298_79" style="font-family:times new \
roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" \
size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Dimitar \
Dobrev &lt;dpldobrev@yahoo.com&gt;<br> <b><span \
style="font-weight:bold;">To:</span></b> Steven Boswell II &lt;ulatekh@yahoo.com&gt;; \
KDE bindings for other programming languages &lt;kde-bindings@kde.org&gt; <br> \
<b><span style="font-weight:bold;">Sent:</span></b> Sunday, January 13, 2013 8:49 \
AM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Kde-bindings] \
Qyoto: Linux build fixed<br> </font> </div> <br> <div id="yiv1123782800"><div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_85" \
style="color:#000;background-color:#fff;font-family:times new roman, new york, times, \
serif;font-size:12pt;"><span class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; \
<br></span><div><span class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; No, they are not \
different. However, as I've written to </span><span \
class="yiv1123782800tab"><span>Carlos Machado</span>, I have no idea how this error \
happens. Both classes are blacklisted, by you</span>, actually, 8 months ago, and I \
haven't had a problem since, and neither had you. Other that what I've advised \
him<span>, I have unfortunately nothing else to offer for now.</span><br><span \
class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; <br></span></div><div><span \
class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; Dimitar</span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_86" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman,  new york, times, \
serif;background-color:transparent;font-style:normal;"><span \
class="yiv1123782800tab"><br></span></div>  <div \
class="yiv1123782800yui_3_7_2_17_1358098696298_87" style="font-family:times new \
roman, new york, times, serif;font-size:12pt;"> <div \
class="yiv1123782800yui_3_7_2_17_1358098696298_88" style="font-family:times new \
roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" \
size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Steven \
Boswell II &lt;ulatekh@yahoo.com&gt;<br> <b><span \
style="font-weight:bold;">To:</span></b> KDE bindings &lt;kde-bindings@kde.org&gt; \
<br> <b><span style="font-weight:bold;">Sent:</span></b> Sunday, January 13, 2013 \
5:41 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Kde-bindings] \
Qyoto: Linux build fixed<br> </font> </div> <br> <div id="yiv1123782800"><div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_94" \
style="color:#000;background-color:#fff;font-family:times new roman, new york, times, \
serif;font-size:12pt;"><div><span>Argh...freaking old \
repositories...</span></div><div class="yiv1123782800yui_3_7_2_17_1358098696298_95" \
style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, \
times, serif;background-color:transparent;font-style:normal;"><br><span></span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_96" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span>Now my build stops with \
the problem reported yesterday by Carlos Machado, namely:</span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_97" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times,  \
serif;background-color:transparent;font-style:normal;"><br><span></span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_98" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span><a rel="nofollow" \
target="_blank" href="http://qyoto-qtgui.cs/">qyoto-qtgui.cs</a>(179965,21) : error \
CS0102: The type `QtGui.QX11EmbedContainer' already contains a definition for \
`Error'<br>qyoto-qtgui.cs(180222,21) : error CS0102: The type `QtGui.QX11EmbedWidget' \
already contains a definition for `Error'</span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_99" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><br><span></span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_100" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times,  \
serif;background-color:transparent;font-style:normal;"><span>I'm using latest \
smokegen (git://anongit.kde.org/smokegen)  and smokeqt \
(git://anongit.kde.org/smokeqt), unless their repositories are different now \
too...</span></div><div class="yiv1123782800yui_3_7_2_17_1358098696298_101" \
style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, \
times, serif;background-color:transparent;font-style:normal;"><br><span></span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_102" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span>Steven \
Boswell<br></span></div><div><br></div>  <div \
class="yiv1123782800yui_3_7_2_17_1358098696298_103" style="font-family:times new \
roman, new york, times, serif;font-size:12pt;"> <div \
class="yiv1123782800yui_3_7_2_17_1358098696298_104" style="font-family:times new \
roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" \
size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b>  Dimitar \
Dobrev &lt;dpldobrev@yahoo.com&gt;<br> <b><span \
style="font-weight:bold;">To:</span></b> Steven Boswell II &lt;ulatekh@yahoo.com&gt;; \
KDE bindings &lt;kde-bindings@kde.org&gt; <br> <b><span \
style="font-weight:bold;">Sent:</span></b> Sunday, January 13, 2013 7:34 AM<br> \
<b><span style="font-weight:bold;">Subject:</span></b> Re: [Kde-bindings] Qyoto: \
Linux build fixed<br> </font> </div> <br> <div id="yiv1123782800"><div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_110" \
style="color:#000;background-color:#fff;font-family:times new roman, new york, times, \
serif;font-size:12pt;"><span class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; \
<br></span><div><span class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; Oh, I think I know \
what's going on here. Are you using http://gitorious.org/assemblygen/assemblygen? \
Because a few months ago with Arno's help</span> the repository was moved back to \
KDE. Now <a rel="nofollow" target="_blank" \
href="https://projects.kde.org/projects/kde/kdebindings/csharp/assemblygen/repository/ \
">https://projects.kde.org/projects/kde/kdebindings/csharp/assemblygen/repository/</a> \
is the place where all work is being done.<span class="yiv1123782800tab"> <a \
rel="nofollow" target="_blank" \
href="http://techbase.kde.org/Development/Languages/Qyoto">Qyoto's page</a> was \
updated back then to point to this new  location.</span></div><div><span \
class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; Arno,  could you please </span>delete <a \
rel="nofollow" target="_blank" \
href="http://gitorious.org/assemblygen/assemblygen">the assemblygen repo at \
Gitorious</a>? It's not just about the current confusion (if any) but in the future \
some search provider may lead people to it and they could think it's no longer \
supported.<br></div><div class="yiv1123782800yui_3_7_2_17_1358098696298_111" \
style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, \
times, serif;background-color:transparent;font-style:normal;"><span \
class="yiv1123782800tab"><br></span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_112" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span \
class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; Dimitar</span><br><span \
class="yiv1123782800tab"></span></div><div><br></div>  <div \
class="yiv1123782800yui_3_7_2_17_1358098696298_113"  style="font-family:times new \
roman, new york, times, serif;font-size:12pt;"> <div \
class="yiv1123782800yui_3_7_2_17_1358098696298_114" style="font-family:times new \
roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" \
size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Steven \
Boswell II &lt;ulatekh@yahoo.com&gt;<br> <b><span \
style="font-weight:bold;">To:</span></b> Dimitar Dobrev &lt;dpldobrev@yahoo.com&gt; \
<br> <b><span style="font-weight:bold;">Sent:</span></b> Sunday, January 13, 2013 \
4:22 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Kde-bindings] \
Qyoto: Linux build fixed<br> </font> </div> <br> <div id="yiv1123782800"><div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_120" \
style="color:#000;background-color:#fff;font-family:times new roman, new york, times, \
serif;font-size:12pt;"><div><span>"</span><span \
class="yiv1123782800tab">CreateEscapedIdentifier" doesn't appear to exist anywhere in \
assemblygen's source code...?<br></span></div><div><br></div>  <div \
class="yiv1123782800yui_3_7_2_17_1358098696298_121" style="font-family:times new \
roman, new york, times, serif;font-size:12pt;"> <div \
class="yiv1123782800yui_3_7_2_17_1358098696298_122" style="font-family:times new \
roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" \
size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Steven \
Boswell II &lt;ulatekh@yahoo.com&gt;<br> <b><span \
style="font-weight:bold;">To:</span></b> KDE bindings for other programming languages \
&lt;kde-bindings@kde.org&gt; <br> <b><span  \
style="font-weight:bold;">Sent:</span></b> Sunday, January 13, 2013 7:20  AM<br> \
<b><span style="font-weight:bold;">Subject:</span></b> Re: [Kde-bindings] Qyoto: \
Linux build fixed<br> </font>  </div> <br>
<div id="yiv1123782800"><div><div class="yiv1123782800yui_3_7_2_17_1358098696298_128" \
style="color:#000;background-color:#fff;font-family:times new roman, new york, times, \
serif;font-size:12pt;"><div><span>I've been here, just busy with other \
projects...</span></div><div class="yiv1123782800yui_3_7_2_17_1358098696298_129" \
style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, \
times, serif;background-color:transparent;font-style:normal;"><span \
class="yiv1123782800tab">new CSharpCodeProvider().</span><span \
class="yiv1123782800tab">CreateEscapedIdentifier("base") does indeed return "@base", \
so it doesn't appear to be a Mono bug.</span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_130" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><br><span \
class="yiv1123782800tab"></span></div><div  \
class="yiv1123782800yui_3_7_2_17_1358098696298_131" style="color:rgb(0, 0,  \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span \
class="yiv1123782800tab">Steven  Boswell<br></span></div><div><br></div>  <div \
class="yiv1123782800yui_3_7_2_17_1358098696298_132" style="font-family:times new \
roman, new york, times, serif;font-size:12pt;"> <div \
class="yiv1123782800yui_3_7_2_17_1358098696298_133" style="font-family:times new \
roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" \
size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Dimitar \
Dobrev &lt;dpldobrev@yahoo.com&gt;<br> <b><span \
style="font-weight:bold;">To:</span></b> Steven Boswell II &lt;ulatekh@yahoo.com&gt;; \
KDE bindings for other programming languages &lt;kde-bindings@kde.org&gt; <br> \
<b><span style="font-weight:bold;">Sent:</span></b> Sunday, January 13, 2013 5:00 \
AM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Kde-bindings] \
Qyoto: Linux build fixed<br> </font> </div> <br> <div id="yiv1123782800"><div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_139" \
style="color:#000;background-color:#fff;font-family:times new roman, new york, times, \
serif;font-size:12pt;"><span class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; \
<br></span><div><span class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; Hi, \
Steven,</span></div><div class="yiv1123782800yui_3_7_2_17_1358098696298_140" \
style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, \
times, serif;background-color:transparent;font-style:normal;"><br><span \
class="yiv1123782800tab"></span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_141" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span \
class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; Long time no see. :)</span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_142" style="color:rgb(0, 0,  \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span \
class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; </span><span \
class="yiv1123782800tab">About this error, I think  there may be some bug in the Mono \
you use because I completed the related  functionality months ago. I use \
CodeDomProvider.CreateEscapedIdentifier to get a valid argument name. Could you \
create a small test like this:</span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_143" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span \
class="yiv1123782800tab"><br></span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_144" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span \
class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; new CSharpCodeProvider().</span><span \
class="yiv1123782800tab">CreateEscapedIdentifier("base")</span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_145" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span  \
class="yiv1123782800tab">&nbsp;&nbsp;&nbsp;  </span><br><span \
class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; and see if you get "@base". You could use \
the Mono's  Compiler as a Service</span><span \
class="yiv1123782800tab"></span>.</div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_146" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><br></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_147" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span \
class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; Regards,</span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_148" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span \
class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; Dimitar</span><span \
class="yiv1123782800tab"><br></span></div><div><br></div>  <div \
class="yiv1123782800yui_3_7_2_17_1358098696298_149" style="font-family:times new  \
roman, new york, times, serif;font-size:12pt;"> <div \
class="yiv1123782800yui_3_7_2_17_1358098696298_150" style="font-family:times new \
roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" \
size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Steven \
Boswell II  &lt;ulatekh@yahoo.com&gt;<br> <b><span \
style="font-weight:bold;">To:</span></b> KDE bindings &lt;kde-bindings@kde.org&gt; \
<br> <b><span style="font-weight:bold;">Sent:</span></b> Sunday, January 13, 2013 \
6:31 AM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Kde-bindings] \
Qyoto: Linux build fixed<br> </font> </div> <br> <div id="yiv1123782800"><div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_156" \
style="color:#000;background-color:#fff;font-family:times new roman, new york, times, \
serif;font-size:12pt;"><div><span>I just tried to build latest assemblygen-based \
Qyoto (after building and installing latest smokegen and smokeqt) on my Fedora Core \
17 system, and got a compilation error while trying to build \
qyoto-qtcore.</span></div><div class="yiv1123782800yui_3_7_2_17_1358098696298_157" \
style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, \
times, serif;background-color:transparent;font-style:normal;"><br><span></span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_158" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span>The first offending line \
is in the assemblygen-created bin/qyoto-qtcore.cs, at line 8316:</span></div><div  \
class="yiv1123782800yui_3_7_2_17_1358098696298_159" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><br><span></span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_160" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span>public static QByteArray \
Number(int arg1, int base = 10) {</span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_161" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><br><span></span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_162" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span>The problem is that \
"base" is a reserved word,  but it's being used as a variable name.&nbsp; The usual \
solution is to put "@" in front of  the name, but I don't know where assemblygen \
deals with this issue.<br></span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_163" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><br><span></span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_164" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span>This is with latest mono \
(which I built today too) and Qt 4.8.4 (installed from Fedora Core's yum \
repos).</span></div><div class="yiv1123782800yui_3_7_2_17_1358098696298_165" \
style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, \
times, serif;background-color:transparent;font-style:normal;"><br><span></span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_166" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times  new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span>Thanks in advance for \
any help with this!</span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_167" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><br><span></span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_168" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span>Steven \
Boswell<br></span></div><div><br></div>  <div \
class="yiv1123782800yui_3_7_2_17_1358098696298_169" style="font-family:times new \
roman, new york, times, serif;font-size:12pt;"> <div \
class="yiv1123782800yui_3_7_2_17_1358098696298_170" style="font-family:times new \
roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" \
size="2"> <hr size="1">  <b><span  style="font-weight:bold;">From:</span></b> Dimitar \
Dobrev &lt;dpldobrev@yahoo.com&gt;<br>  <b><span \
style="font-weight:bold;">To:</span></b> KDE bindings &lt;kde-bindings@kde.org&gt; \
<br> <b><span style="font-weight:bold;">Sent:</span></b> Saturday, January 12, 2013 \
2:52 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> [Kde-bindings] \
Qyoto: Linux build fixed<br> </font> </div> <br> <div id="yiv1123782800"><div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_176" \
style="color:#000;background-color:#fff;font-family:times new roman, new york, times, \
serif;font-size:12pt;"><span class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; \
<br></span><div><span class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; The Qyoto Linux \
build is working again. Sorry about the delay.</span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_177" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span \
class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; <br></span></div><div \
class="yiv1123782800yui_3_7_2_17_1358098696298_178" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span \
class="yiv1123782800tab">&nbsp;&nbsp;&nbsp; Regards,</span></div><div  \
class="yiv1123782800yui_3_7_2_17_1358098696298_179" style="color:rgb(0, 0,  \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><span \
class="yiv1123782800tab">&nbsp;&nbsp;&nbsp;  Dimitar</span><br><span \
class="yiv1123782800tab"></span></div></div></div></div><br> </div> </div>  \
</div></div></div><br>_______________________________________________<br>Kde-bindings \
mailing list<br><a rel="nofollow" ymailto="mailto:Kde-bindings@kde.org" \
target="_blank" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br><a \
rel="nofollow" target="_blank" \
href="https://mail.kde.org/mailman/listinfo/kde-bindings">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br><br><br> \
</div> </div>  </div></div></div><br><br> </div> </div>  \
</div></div></div><br>_______________________________________________<br>Kde-bindings \
mailing list<br><a rel="nofollow" ymailto="mailto:Kde-bindings@kde.org" \
target="_blank" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br><a \
rel="nofollow" target="_blank" \
href="https://mail.kde.org/mailman/listinfo/kde-bindings">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br><br><br> \
</div> </div>   </div></div></div><br><br> </div> </div>  </div></div></div><br><br> \
</div> </div>  </div></div></div><br>_______________________________________________<br>Kde-bindings \
mailing list<br><a rel="nofollow" ymailto="mailto:Kde-bindings@kde.org" \
target="_blank" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br><a \
rel="nofollow" target="_blank" \
href="https://mail.kde.org/mailman/listinfo/kde-bindings">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br><br><br> \
</div> </div>  </div></div></div><br><br> </div> </div>  </div></div></div><br><br> \
</div> </div>  </div></div></div><br><br> </div> </div>  \
</div></div></div></div></div></div><br>_______________________________________________<br>Kde-bindings \
mailing list<br><a ymailto="mailto:Kde-bindings@kde.org" \
href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br><a \
href="https://mail.kde.org/mailman/listinfo/kde-bindings"  \
target="_blank">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br><br><br> \
</div> </div>  </div></body></html>



_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings


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

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