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

ScintillaD with Visual D

 
Post new topic   Reply to topic     Forum Index -> Visual D
View previous topic :: View next topic  
Author Message
heromyth



Joined: 26 Nov 2006
Posts: 46

PostPosted: Sat Sep 03, 2011 6:15 am    Post subject: ScintillaD with Visual D Reply with quote

I just announced a project named ScintillaD (https://bitbucket.org/heromyth/scintillad). It also supports Visual D as a project manager.

The Visual D really helped me greatly in debugging the program and will continue to help me in that.

Of course, the Visual D will keep up be developed. So, ScintillaD can be one of the test projects for Visual D.
Back to top
View user's profile Send private message
sagitario



Joined: 03 Mar 2007
Posts: 292

PostPosted: Sun Sep 04, 2011 8:55 am    Post subject: Reply with quote

Thanks for sharing. I just tried it, some random comments:

- there is no description on external dependencies (dmd-version, win32-api)

- you can add a project dependency between the executable and the library instead of explicitely adding the library to the linker options

- the latest dmd-version from git (now in beta) does not compile the sources

- I noticed the SciTEBase.buffers[] and the jobQueue are never initialized

- you might want to consider using struct instead of class for some of the basic structs like PointBase and PRectangle. They seem to be used as values without ever being allocated.

That's where I gave up Wink
Back to top
View user's profile Send private message
heromyth



Joined: 26 Nov 2006
Posts: 46

PostPosted: Fri Sep 09, 2011 7:38 am    Post subject: Reply with quote

sagitario wrote:
Thanks for sharing. I just tried it, some random comments:

- there is no description on external dependencies (dmd-version, win32-api)

The more infoes has been add into readme.txt.

sagitario wrote:

- you can add a project dependency between the executable and the library instead of explicitely adding the library to the linker options

Thanks for your reminder of this. I'm not familiar with the VisualD, yet. I'll try to do it.

sagitario wrote:

- the latest dmd-version from git (now in beta) does not compile the sources

The last submit can be compiled by DMD 2.055.

sagitario wrote:

- I noticed the SciTEBase.buffers[] and the jobQueue are never initialized

- you might want to consider using struct instead of class for some of the basic structs like PointBase and PRectangle. They seem to be used as values without ever being allocated.

Yes, it's a big problem. Many variables are initialized automatically in C++, but not in D.
All the source codes are ported from C++.
I'm fixing it with Visual D.

sagitario wrote:

That's where I gave up Wink

It's OK.

Maybe the bugs in ScintillaD can be used to test the features of Visual D. I just find another bug on uninitialized variables with the debugger of Mago when failed to debug with the debugger Visual Studio(cv2pdb).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Visual D All times are GMT - 6 Hours
Page 1 of 1

 
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