<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 20, 2014 at 4:33 AM, 孟帅 <span dir="ltr"><<a href="mailto:mengshuaicalendr@gmail.com" target="_blank">mengshuaicalendr@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all!<br>
I'm Shuai Meng, a student from software school of Beihang University,<br>
China, GMT+08:00. I'm pursuing a master degree and now in grade one.<br>
You can call me shuaimeng, that's my nickname used in irc. Now I'm<br>
here to apply for GSoC to work for Wine. I'm familiar with C, and I<br>
can code with python as well. Besides, I know a little about html and<br>
vbscript. From May to August, I have plenty of free time.<br>
<br>
About one year ago I started my way to linux, it's not smooth for a<br>
person who had got used to windows then embrace linux. Soon I got a<br>
problem: QQ(the most popular IM software in China) doesn't support<br>
linux, but I really need it. Fortunately I knew wine through searching<br>
google, it helped me solve this problem.Since then I have become a<br>
wine user.<br>
<br>
In the past three months, I had focused on dlls/vbscript/global.c,<br>
searching MSDN for related documents[1]~[4]. Accordding those<br>
documents, I added more tests in dlls/vbscript/tests/api.vbs, then got<br>
some similar bugs and only reported one[5]. In order to fix them, I<br>
read wine source code in dlls/vbscript/global.c, again and again.<br>
Finally I finished a few draft patches[6] and I will send them to<br>
wine-patches later.<br>
<br>
As I have made so much effort in this module and gain a little<br>
experience, during GSoC this part will go on to occupy most of my<br>
attention. On the basis of difficulty to be implemented, I divide all<br>
the functions in dlls/vbscript/global.c into four groups as following:<br>
<br>
1: Abs ScriptEngine ScriptEngineBuildVersion ScriptEngineMajorVersion<br>
IsArray IsDate IsNumeric IsObject Sgn TypeName VarType<br>
<br>
These are the easiest to implement, I will take about one week to<br>
finish the unimplemented.<br>
<br>
2: FormatCurrency FormatDateTime FormatPercent Hour FormatNumber Join<br>
Minute Month Oct Rnd Second Space TimeValue Year<br>
<br>
The second group will occupy two weeks of the whole GSoC time. They<br>
are not as easy as the first group and there are more to be<br>
accomplished. Most of them are involved in time functions while a few<br>
is about strings.<br>
<br>
3: Asc Ant Cos DateAdd DateDiff DatePart DateSerial Day Exp LBound Log<br>
Replace Sin Sqr String Tan TimeSerial UBound Weekday CBool CByte CCur<br>
CDate CDbl CInt CLng CSng CStr InStrRev Int Fix StrComp Timer<br>
<br>
These are more difficult. However a large part is conversion functions<br>
and they have been implemented or improved by me. You can find the<br>
details in attchment. Optimistically speaking, I need at least three<br>
weeks to complete all of them. When I finish that, this bug[7] will be<br>
fixed.<br>
<br>
4: Array Date DateValue Escape Eval Filter GetLocale GetRef InputBox<br>
LoadPicture Now RGB SetLocale<br>
Split Time Unescape<br>
<br>
Here come the most difficult ones. I am not so sure whether I can fix<br>
or even understand them, but I will try my best. Maybe after I have<br>
finish the above three groups, I can gain a little confidence to face<br>
them. This group would cost me four weeks or even longer. If I have a<br>
good luck, maybe I can fix this bug[8].<br>
<br>
To be prudent, I'll spare at least one week to do a review on all my<br>
codes. Write a summary as a guidence for my work to be continued after<br>
GSoC.<br>
<br>
Though I have a rough plan now, as a greenhand to wine, I hava too<br>
much to learn and I badly need advice from all of you. I hope I can<br>
make a proper schedule after communicating with my mentor.<br>
<br>
Any comment or advice is greatly appreciated.<br>
Thank you!<br>
<br>
<br>
[1]<a href="http://msdn.microsoft.com/en-us/library/9e7a57cf(v=vs.84).aspx" target="_blank">http://msdn.microsoft.com/en-us/library/9e7a57cf(v=vs.84).aspx</a><br>
[2]<a href="http://msdn.microsoft.com/en-us/library/t7zd6etz(v=vs.84).aspx" target="_blank">http://msdn.microsoft.com/en-us/library/t7zd6etz(v=vs.84).aspx</a><br>
[3]<a href="http://msdn.microsoft.com/en-us/library/3ca8tfek(v=vs.84).aspx" target="_blank">http://msdn.microsoft.com/en-us/library/3ca8tfek(v=vs.84).aspx</a><br>
[4]<a href="http://msdn.microsoft.com/en-us/library/10wcf65z(v=vs.84).aspx" target="_blank">http://msdn.microsoft.com/en-us/library/10wcf65z(v=vs.84).aspx</a><br>
[5]<a href="http://bugs.winehq.org/show_bug.cgi?id=35441" target="_blank">http://bugs.winehq.org/show_bug.cgi?id=35441</a><br>
[6]In the attachment<br>
[7]<a href="http://bugs.winehq.org/show_bug.cgi?id=34913" target="_blank">http://bugs.winehq.org/show_bug.cgi?id=34913</a><br>
[8]<a href="http://bugs.winehq.org/show_bug.cgi?id=35472" target="_blank">http://bugs.winehq.org/show_bug.cgi?id=35472</a><br>
<br><br>
<br></blockquote></div><br></div><div class="gmail_extra">Hello Shuai,<br><br></div><div class="gmail_extra">For your proposal to be considered, it must be submitted to Melange by the deadline (though it was good to introduce yourself here, I don't want you to miss the deadline :)).<br>

</div><div class="gmail_extra"><br>-- <br>-Austin
</div></div>