Re: [Mono-dev] GSoC - AST Verifier for C# compiler

2012-03-29 Thread Mike Krüger

Hi

I would like to have whitespaces (and EOL as other special node) in the 
ast as well as non compileable stuff as maybe TextNode, but that kills 
performance even more. Doing pre processor directives and comments with 
the specials bag and inserting them afterwards slows done the parse 
process much. But they are semantically required (XmlDocs, #define etc.) 
- and they are included in the AST, therefore it's all done on this 
side. (Except there is some kind of comment/pre processor directive 
missing there)


Would be easier if we had a lexer that was build for generating such AST 
(btw. I think it may be possible to do it and use mcs as parser, but 
that's another story).


Doing that for whitespaces isn't worth it atm - to have all information 
about a file you need the CompilationUnit AND the text. It's possible to 
get the whitespace information (that's the space between two nodes. 
GetTextBetween (curNode.EndLocation, curNode.NextNode.StartLocation) 
gives you that. (And lastNode.EndLocation - document.EndLocation is the 
unparseable text). That is the major difference between us and rolyn,

but not a major drawback IMO the original text is always available.

The NRefactory version of mcs has some patches to make such thing as 
NRefactory possible. We try to keep the change set low, but #1 prio is 
that it works for monodevelop features.


Regards
Mike


Hi,

some more questions:
I see that NRefactory doesn't deal with whitespace at all and
processes comments and preprocessor directives using SpecialsBag
that's not present in Mono.CSharp.
Can I ignore whitespace too? And does that mean I have to add (or copy
from NRefactory) support for comments and preprocessor directives to
the AST?

Thanks,
Petr Onderka



___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] System.ServiceModel.ServiceHost exception

2012-03-29 Thread salorob
i have this too.. ?

--
View this message in context: 
http://mono.1490590.n4.nabble.com/System-ServiceModel-ServiceHost-exception-tp4485334p4514850.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Incomplete Microsoft.VisualBasic.Strings.StrConv - Is there any future plan to fullfill this?

2012-03-29 Thread otakustay
HI All:

I noticed that Microsoft.VisualBasic.Strings.StrConv method is not
completely implemented, it does not support:

VbStrConv.Wide
VbStrConv.Narrow
VbStrConv.Katakana
VbStrConv.Hiragana
VbStrConv.SimplifiedChinese
VbStrConv.TraditionalChinese

That is, Microsoft.VisualBasic.Stirng.StrConv only supports conversion
between common string cases (Lower / Upper) but doesn't support any culture
specified conversion.

Since these culture or region specified conversion are very important when
implementing a culture related Analyzer and Tokenizer for Lucene or other
full-text search engine, so I'm wondering if there is any future possibility
mono team would provide a full implement on this method.

Thanks.

--
View this message in context: 
http://mono.1490590.n4.nabble.com/Incomplete-Microsoft-VisualBasic-Strings-StrConv-Is-there-any-future-plan-to-fullfill-this-tp4516089p4516089.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Incomplete Microsoft.VisualBasic.Strings.StrConv - Is there any future plan to fullfill this?

2012-03-29 Thread Atsushi Eno
Just curious, what's blocking you from implementing those methods by 
yourself? I'm sure they are taking patches.


Atsushi Eno


HI All:

I noticed that Microsoft.VisualBasic.Strings.StrConv method is not
completely implemented, it does not support:

VbStrConv.Wide
VbStrConv.Narrow
VbStrConv.Katakana
VbStrConv.Hiragana
VbStrConv.SimplifiedChinese
VbStrConv.TraditionalChinese

That is, Microsoft.VisualBasic.Stirng.StrConv only supports conversion
between common string cases (Lower / Upper) but doesn't support any culture
specified conversion.

Since these culture or region specified conversion are very important when
implementing a culture related Analyzer and Tokenizer for Lucene or other
full-text search engine, so I'm wondering if there is any future possibility
mono team would provide a full implement on this method.

Thanks.

--
View this message in context: 
http://mono.1490590.n4.nabble.com/Incomplete-Microsoft-VisualBasic-Strings-StrConv-Is-there-any-future-plan-to-fullfill-this-tp4516089p4516089.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list





___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Incomplete Microsoft.VisualBasic.Strings.StrConv - Is there any future plan to fullfill this?

2012-03-29 Thread Gray Zhang
I feel very sorry about this, since I (as well as other members in our
team) am not a dedicated .NET developer, most of the time i was playing
with javascript and don't care mush about concepts such like codepage,
encoding and code-point.

And also, it's actually not my code which requires this method, it's one of
the third-party library I included in my project.

Sure I would like to learn to implement this, but this could take a long
time, which is quite unacceptable for my project, and what we could do
currently is to ensure whether this problem could be solved in the future
(so that we could temporarily skip this logic and re-enable it in the
future) and to decide the deploy platform to be Windows or Linux.

So for the reason of my incapability, currently I could only hope the core
dev team (or any others) would give some help.

On Fri, Mar 30, 2012 at 1:14 AM, Atsushi Eno 
atsushi...@veritas-vos-liberabit.com wrote:

 Just curious, what's blocking you from implementing those methods by
 yourself? I'm sure they are taking patches.

 Atsushi Eno


  HI All:

 I noticed that Microsoft.VisualBasic.Strings.**StrConv method is not
 completely implemented, it does not support:

 VbStrConv.Wide
 VbStrConv.Narrow
 VbStrConv.Katakana
 VbStrConv.Hiragana
 VbStrConv.SimplifiedChinese
 VbStrConv.TraditionalChinese

 That is, Microsoft.VisualBasic.Stirng.**StrConv only supports conversion
 between common string cases (Lower / Upper) but doesn't support any
 culture
 specified conversion.

 Since these culture or region specified conversion are very important when
 implementing a culture related Analyzer and Tokenizer for Lucene or other
 full-text search engine, so I'm wondering if there is any future
 possibility
 mono team would provide a full implement on this method.

 Thanks.

 --
 View this message in context: http://mono.1490590.n4.nabble.**
 com/Incomplete-Microsoft-**VisualBasic-Strings-StrConv-**
 Is-there-any-future-plan-to-**fullfill-this-**tp4516089p4516089.htmlhttp://mono.1490590.n4.nabble.com/Incomplete-Microsoft-VisualBasic-Strings-StrConv-Is-there-any-future-plan-to-fullfill-this-tp4516089p4516089.html
 Sent from the Mono - Dev mailing list archive at Nabble.com.
 __**_
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.**com Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/**mailman/listinfo/mono-devel-**listhttp://lists.ximian.com/mailman/listinfo/mono-devel-list




 __**_
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.**com Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/**mailman/listinfo/mono-devel-**listhttp://lists.ximian.com/mailman/listinfo/mono-devel-list




-- 
张立理 GrayZhang
博客:http://www.otakustay.com
微博:http://www.weibo.com/otakustay
邮箱:otakus...@gmail.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Question about GSoC projects

2012-03-29 Thread Michael Hutchinson
On 21 March 2012 09:37, qqq qqq tupieur...@gmail.com wrote:
 I preview Mono GSoC projects list and pre-select some of them:

 Make ASP.NET Awesome in MonoDevelop
 A Sweet HTML/Text Editor Modul
 C# Refactorings

 Can someone say about difficult of this projects and what problems will i
 meet?
 I also would be glad if you would advise another project from Mono projects
 list.

We can certainly answer specific questions if you're having trouble
figuring things out, but you'll need to be able to do some
research/investigation yourself in order to write a good proposal.

-- 
Michael Hutchinson
http://mjhutchinson.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] GSoC 2012 - GTK# App

2012-03-29 Thread Michael Hutchinson
On 21 March 2012 17:56, homerf44 szbad...@gmail.com wrote:
 Hi,

 I would like to take part in GSoC this year.
 During my research i had found many interesting projects, but only one truly
 got my attention:

 GTK# Applications

 Mono is something new to me. To be honest, today i used it for the first
 time :) (but i heard about it though)
 To the point:
 My head is usually full of concepts, two for starters

 1.Application better life which will help people in fields such as:
 -planning home budget,
 -sport (training planner etc),
 -diet planner
 -maybe some plugin for social networks
 -...
 example of use case:
 User want to lose a little bit weight. Application will help people turn
 their motivation into the regular training. So, user chooses a 'sport' from
 menu, then he sets the training program (maybe by himself, maybe there will
 be some prepared a priori)
 and from now, he will be reminded about events that are in his plan
 User sets home budget planner with his personal data such as salary and
 loans. He wants to save 10% of his salary this month. Application will
 measure how much money user can spent daily that at the end of month he will
 have 10% of salary saved.
 ...

 2. Entertain me! application which will be perfect for procrastination
 time :)
 Application will search Internet for interesting informations, pictures,
 news etc. (this is very wide area to discuss)
 ...

 I will make some concept sketches later, maybe that will help clarify my
 ideas.

 About me:
 My name is Simon and i was born 23 years ago. I'm studying at Gdansk
 University of Technology (Poland). I have an engineer(bachelor) degree, and
 i am still learning to gain MSc.
 I'm using Fedora/Ubuntu/Windows. I know c#  c++  c  python  java , but i
 am open-minded person and i am eager to learn something new :)
 As you can see I am not a native speaker and i hope that we will understand
 each other. :)

You're certainly welcome to submit this proposal, but you should be
aware that the bar for new applications like this is much higher,
since you have to argue that the app is viable and needed as well as
demonstrating your ability to implement it.

Note also that you can submit multiple proposals, if there are other
projects that interest you.

-- 
Michael Hutchinson
http://mjhutchinson.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] GSoC projects interests

2012-03-29 Thread Alex Corrado
Hello,

2012/3/26 Štěpán Šindelář m...@stevesindelar.cz:

 I would like to take part in Mono Google Summer of Code for the first
 time and projects that I am interested in are:

 - Improve Mono implementation of Reactive Extensions
 - New rules for Gendarme (I have already asked about it in Gendarme
 mailing list)
 - QT# Bindings with CXXI (I am aware that I am not the first one
 willing to do this one)

 I would like to ask the following: there is a large pull request to
 CXXI on github, is it planned to be merged into the master branch and
 used as a starting point for the GSoC project?


Those are all good projects, and you are welcome to submit multiple
proposals if you are interested. Regarding cxxi, yes, the plan is to
merge those pull requests before GSoC. For the Qt bindings, you'll
find the start of some bindings in the examples/qt directory that
could serve as the jumping off point for that project. Feel free to
ping me (corrado) in #mono or #monosoc on Gimpnet-- I couldn't speak
as much to the other projects, but I could answer any other questions
you might have about cxxi.

Cheers,

Alex Corrado
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list