View previous topic :: View next topic |
Author |
Message |
heromyth
Joined: 26 Nov 2006 Posts: 46
|
Posted: Sat Sep 03, 2011 6:15 am Post subject: ScintillaD with Visual D |
|
|
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 |
|
|
sagitario
Joined: 03 Mar 2007 Posts: 292
|
Posted: Sun Sep 04, 2011 8:55 am Post subject: |
|
|
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 |
|
Back to top |
|
|
heromyth
Joined: 26 Nov 2006 Posts: 46
|
Posted: Fri Sep 09, 2011 7:38 am Post subject: |
|
|
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 |
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 |
|
|
|