FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bugs
Goto page Previous  1, 2
 
Post new topic   Reply to topic     Forum Index -> VSpluginD
View previous topic :: View next topic  
Author Message
rsl



Joined: 04 Jan 2006
Posts: 47

PostPosted: Tue Jan 24, 2006 10:23 pm    Post subject: Reply with quote

if I put code something like "pragma(lib,"test");"
It cause following warning message.
>test.lib
> Warning 2: File Not Found test.lib"

Current VSpluginD can't distinguish first Line and treated as Error.
and when this warning happened, dmd return success code, and it generate executable. it cause problem.
Back to top
View user's profile Send private message Send e-mail
drkIIRaziel



Joined: 21 Jan 2006
Posts: 15
Location: Athens,GR

PostPosted: Mon Feb 06, 2006 5:12 pm    Post subject: Reply with quote

TWState.cs file missing from svn Smile
Back to top
View user's profile Send private message MSN Messenger
rsl



Joined: 04 Jan 2006
Posts: 47

PostPosted: Tue Feb 07, 2006 12:57 am    Post subject: Reply with quote

Sorry, I added it.
TWState is passed to DSymbol::walk method, to gather module scope declaration.
Back to top
View user's profile Send private message Send e-mail
drkIIRaziel



Joined: 21 Jan 2006
Posts: 15
Location: Athens,GR

PostPosted: Tue Feb 07, 2006 3:25 am    Post subject: Reply with quote

After testing a bit the new intellisense i noticed that while imports for other
modules work , for modules you are in your project (no d std lib ect) you have to open em to get their functions/variables on the ctrl+space list.

Seems like the files are not parsed on project open but olny when the user opens em Wink
Back to top
View user's profile Send private message MSN Messenger
rsl



Joined: 04 Jan 2006
Posts: 47

PostPosted: Tue Feb 07, 2006 7:05 am    Post subject: Reply with quote

I know it's problem need to be solved.
Currently all source code under ImportPath is parsed in DLanguageServiceImpl constructor.
I'll add project file parsing operation here.

This parsing operation is executed when open d file first time.
it need to parse over 100 files. and it is burden.
It need to implement delay parsing mechanism.
only parse module declaration, and parse entire file when needed.
Back to top
View user's profile Send private message Send e-mail
drkIIRaziel



Joined: 21 Jan 2006
Posts: 15
Location: Athens,GR

PostPosted: Sat Feb 11, 2006 9:42 am    Post subject: Reply with quote

100 files ?you can parse em one time and then save the parsed result and some information to detect if the file chainged Smile this will work perfectly for d stdlib and more..


Quote:

This parsing operation is executed when open d file first time.
it need to parse over 100 files. and it is burden.
It need to implement delay parsing mechanism.
only parse module declaration, and parse entire file when needed.


How about using a background thread to do the parsing ? since many computers have hyperhtreading and soon dualcores this will icrease performace too Smile[/quote]
Back to top
View user's profile Send private message MSN Messenger
rsl



Joined: 04 Jan 2006
Posts: 47

PostPosted: Sat Feb 11, 2006 10:29 am    Post subject: Reply with quote

As you say, it don't need to parse entire phobos source every time , it rarely changed. so, it is enough to parse source once and save parse tree.

On my machine 171 files are parsed It takes,
DebugMode : 1723 milli second
ReleaseMode: 600 milli second

It'll be expected, If project, it contains over 1000 files or large file are opened, it 'll take more times to initial parse operation.

It need some mechanism in future that save parse tree data to file. like .ncb file.

Quote:
How about using a background thread to do the parsing ? since many computers have hyperhtreading and soon dualcores this will icrease performace too Smile

Normal parsing operation is executed background thread already.
Back to top
View user's profile Send private message Send e-mail
drkIIRaziel



Joined: 21 Jan 2006
Posts: 15
Location: Athens,GR

PostPosted: Sat Feb 11, 2006 10:52 am    Post subject: Reply with quote

Quote:

Normal parsing operation is executed background thread already.


Use more threads , Cpu usage doesn't go over 56? here (dualcore) Smile

From what i understund you parse one file each time , you should try to parse 2-3 (on diferent thread each).

I hope this weekend i'l finaly have some more free time so i can actualy commint something...
Back to top
View user's profile Send private message MSN Messenger
rsl



Joined: 04 Jan 2006
Posts: 47

PostPosted: Thu Feb 16, 2006 1:57 pm    Post subject: Reply with quote

Bug:
Wrong syntax colorization for string something like "__\"__".
it need to take into account escape sequence.
Back to top
View user's profile Send private message Send e-mail
rsl



Joined: 04 Jan 2006
Posts: 47

PostPosted: Sun Feb 19, 2006 7:01 am    Post subject: Reply with quote

Bug:
When run app from IDE. always executed under bin\Debug\ exe.
it need to be fixed.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> VSpluginD All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group