Re: dpj for Windows

2012-05-19 Thread Nick Sabalausky
"dnewbie"  wrote in message 
news:qufvdhexcdzabuzqr...@forum.dlang.org...
> dpj is a mini-ide for the D programming language.
> http://my.opera.com/run3/blog/2012/05/20/dpj
>

That's a good start! Not bad. Is it written in D?

A few notes:

- It's much faster to just pass all the files to dmd at once and 
compile/link all in one step. So, instead of this:

dmd -wi -c a.d -ofoutput\a.d
dmd -wi -c b.d -ofoutput\b.d
dmd -ofa.exe output\a.obj output\b.obj

Just do this:

dmd -wi -ofa.exe -odoutput a.d b.d

It's a lot faster, plus in my experience compiling separately can sometimes 
lead to linking problems (somehting to do with how dmd handles templates, I 
think).

- To support things like ldc, gdc and dvm (via ldmd, gdmd, 
dvm-current-dc.bat, etc...), the config file should take a path to the 
actual exe or bat (such as dmd.exe) the users wants to run, instead of just 
the path to "dmd.exe".

So like "dmd_path=C:\D\dmd2\windows\bin\dmd.exe" insetad of 
"dmd_path=C:\D\dmd2\windows\bin"

- The first couple times I made a new project I got some error about it not 
being able to copy a template. But then it seemed to work ok anyway. I don't 
remember exactly what it said, and it doesn't seem to be happening anymore 
(don't know why) so I can't check.

- It *seems* to start up with a default blank project, but you can't use it. 
You still have to go to "File->New project". That's a little confusing.

- It'd be good to be able to select and copy the text in the compilation 
panel at the bottom.

- It'd be intuitive to be able to add files to a project by right-clicking 
"D source files" or whatever and then have "Add file(s)..." in a drop-down 
menu.

- More features and configurability with both building and interface would 
be nice to have in later versions, ie more bells and whistles ;)

I love that the interface is super-fast, light on memory, and uses the 
native system controls. And the automatic build management and "Help" links 
are really nice to have.




Re: dpj for Windows

2012-05-19 Thread Alex Rønne Petersen

On 20-05-2012 05:53, Nick Sabalausky wrote:

"dnewbie"  wrote in message
news:qufvdhexcdzabuzqr...@forum.dlang.org...

dpj is a mini-ide for the D programming language.
http://my.opera.com/run3/blog/2012/05/20/dpj



That's a good start! Not bad. Is it written in D?

A few notes:

- It's much faster to just pass all the files to dmd at once and
compile/link all in one step. So, instead of this:

dmd -wi -c a.d -ofoutput\a.d
dmd -wi -c b.d -ofoutput\b.d
dmd -ofa.exe output\a.obj output\b.obj

Just do this:

dmd -wi -ofa.exe -odoutput a.d b.d

It's a lot faster, plus in my experience compiling separately can sometimes
lead to linking problems (somehting to do with how dmd handles templates, I
think).


Compiling it all in one go can be really slow for small edits in large 
projects, though.




- To support things like ldc, gdc and dvm (via ldmd, gdmd,
dvm-current-dc.bat, etc...), the config file should take a path to the
actual exe or bat (such as dmd.exe) the users wants to run, instead of just
the path to "dmd.exe".

So like "dmd_path=C:\D\dmd2\windows\bin\dmd.exe" insetad of
"dmd_path=C:\D\dmd2\windows\bin"

- The first couple times I made a new project I got some error about it not
being able to copy a template. But then it seemed to work ok anyway. I don't
remember exactly what it said, and it doesn't seem to be happening anymore
(don't know why) so I can't check.

- It *seems* to start up with a default blank project, but you can't use it.
You still have to go to "File->New project". That's a little confusing.

- It'd be good to be able to select and copy the text in the compilation
panel at the bottom.

- It'd be intuitive to be able to add files to a project by right-clicking
"D source files" or whatever and then have "Add file(s)..." in a drop-down
menu.

- More features and configurability with both building and interface would
be nice to have in later versions, ie more bells and whistles ;)

I love that the interface is super-fast, light on memory, and uses the
native system controls. And the automatic build management and "Help" links
are really nice to have.




--
Alex Rønne Petersen
a...@lycus.org
http://lycus.org


Re: dpj for Windows

2012-05-20 Thread dnewbie

On Sunday, 20 May 2012 at 03:53:43 UTC, Nick Sabalausky wrote:

"dnewbie"  wrote in message
news:qufvdhexcdzabuzqr...@forum.dlang.org...

dpj is a mini-ide for the D programming language.
http://my.opera.com/run3/blog/2012/05/20/dpj



That's a good start! Not bad. Is it written in D?



It started as a D project, then I've moved it to C.


A few notes:

- It's much faster to just pass all the files to dmd at once and
compile/link all in one step. So, instead of this:

dmd -wi -c a.d -ofoutput\a.d
dmd -wi -c b.d -ofoutput\b.d
dmd -ofa.exe output\a.obj output\b.obj

Just do this:

dmd -wi -ofa.exe -odoutput a.d b.d

It's a lot faster, plus in my experience compiling separately 
can sometimes
lead to linking problems (somehting to do with how dmd handles 
templates, I

think).


Understood.



- To support things like ldc, gdc and dvm (via ldmd, gdmd,
dvm-current-dc.bat, etc...), the config file should take a path 
to the
actual exe or bat (such as dmd.exe) the users wants to run, 
instead of just

the path to "dmd.exe".

So like "dmd_path=C:\D\dmd2\windows\bin\dmd.exe" insetad of
"dmd_path=C:\D\dmd2\windows\bin"


The project file is actually a GNU makefile with special 
variables.
I'll see how can I make a makefile that supports multiple 
compilers

and compile/link in one step.




- The first couple times I made a new project I got some error 
about it not
being able to copy a template. But then it seemed to work ok 
anyway. I don't
remember exactly what it said, and it doesn't seem to be 
happening anymore

(don't know why) so I can't check.


It happens when either the destination file already exists, or
when the template file is missing. I'll add a more descriptive 
message.




- It *seems* to start up with a default blank project, but you 
can't use it.
You still have to go to "File->New project". That's a little 
confusing.


- It'd be good to be able to select and copy the text in the 
compilation

panel at the bottom.

- It'd be intuitive to be able to add files to a project by 
right-clicking
"D source files" or whatever and then have "Add file(s)..." in 
a drop-down

menu.

- More features and configurability with both building and 
interface would

be nice to have in later versions, ie more bells and whistles ;)




Right. I'll improve it as time permits.


I love that the interface is super-fast, light on memory, and 
uses the
native system controls. And the automatic build management and 
"Help" links

are really nice to have.


Thanks for the feedback!




Re: dpj for Windows

2012-05-21 Thread Ary Manzana

On 5/20/12 10:37 PM, dnewbie wrote:

On Sunday, 20 May 2012 at 03:53:43 UTC, Nick Sabalausky wrote:

"dnewbie"  wrote in message
news:qufvdhexcdzabuzqr...@forum.dlang.org...

dpj is a mini-ide for the D programming language.
http://my.opera.com/run3/blog/2012/05/20/dpj



That's a good start! Not bad. Is it written in D?



It started as a D project, then I've moved it to C.


o_O

Why?


Re: dpj for Windows

2012-05-21 Thread dnewbie

On Monday, 21 May 2012 at 12:08:33 UTC, Ary Manzana wrote:

On 5/20/12 10:37 PM, dnewbie wrote:


It started as a D project, then I've moved it to C.


o_O

Why?


Because the d version of the program has a lot of weird bugs and
I wasn't able to kill them.


Re: dpj for Windows

2012-05-22 Thread Ary Manzana

On 5/22/12 8:55 AM, dnewbie wrote:

On Monday, 21 May 2012 at 12:08:33 UTC, Ary Manzana wrote:

On 5/20/12 10:37 PM, dnewbie wrote:


It started as a D project, then I've moved it to C.


o_O

Why?


Because the d version of the program has a lot of weird bugs and
I wasn't able to kill them.


Then why did you still write a D IDE if you couldn't even write it in D?

Did you report the bugs? Are they known? Did you try to fix them or to 
ask the community?


Re: dpj for Windows

2012-05-26 Thread dnewbie

On Tuesday, 22 May 2012 at 07:28:04 UTC, Ary Manzana wrote:

On 5/22/12 8:55 AM, dnewbie wrote:

On Monday, 21 May 2012 at 12:08:33 UTC, Ary Manzana wrote:

On 5/20/12 10:37 PM, dnewbie wrote:


It started as a D project, then I've moved it to C.


o_O

Why?


Because the d version of the program has a lot of weird bugs 
and

I wasn't able to kill them.


Then why did you still write a D IDE if you couldn't even write 
it in D?


Did you report the bugs? Are they known? Did you try to fix 
them or to ask the community?


Yeah. The development in D should be resumed.
For now, there's a minor update available:
http://my.opera.com/run3/blog/2012/05/20/dpj
The program now uses dscanner 
 for tag finding.






Re: dpj for Windows

2012-06-16 Thread dnewbie

On Tuesday, 22 May 2012 at 07:28:04 UTC, Ary Manzana wrote:

On 5/22/12 8:55 AM, dnewbie wrote:

On Monday, 21 May 2012 at 12:08:33 UTC, Ary Manzana wrote:

On 5/20/12 10:37 PM, dnewbie wrote:


It started as a D project, then I've moved it to C.


o_O

Why?


Because the d version of the program has a lot of weird bugs 
and

I wasn't able to kill them.


Then why did you still write a D IDE if you couldn't even write 
it in D?


Did you report the bugs? Are they known? Did you try to fix 
them or to ask the community?


Hi. The dpj mini-ide is now written in D and the source code is 
available:

https://github.com/dnewbie/dpj
Sorry, there's no new feature.
Screenshot: http://postimage.org/image/6mtk293s7/




Re: dpj for Windows

2012-06-17 Thread Robik

On Saturday, 16 June 2012 at 19:36:50 UTC, dnewbie wrote:

On Tuesday, 22 May 2012 at 07:28:04 UTC, Ary Manzana wrote:

On 5/22/12 8:55 AM, dnewbie wrote:

On Monday, 21 May 2012 at 12:08:33 UTC, Ary Manzana wrote:

On 5/20/12 10:37 PM, dnewbie wrote:


It started as a D project, then I've moved it to C.


o_O

Why?


Because the d version of the program has a lot of weird bugs 
and

I wasn't able to kill them.


Then why did you still write a D IDE if you couldn't even 
write it in D?


Did you report the bugs? Are they known? Did you try to fix 
them or to ask the community?


Hi. The dpj mini-ide is now written in D and the source code is 
available:

https://github.com/dnewbie/dpj
Sorry, there's no new feature.
Screenshot: http://postimage.org/image/6mtk293s7/


Looks promising


Re: dpj for Windows

2012-06-27 Thread dnewbie
The dpj mini-ide now displays the name of the current function 
(from caret position): http://postimage.org/image/exbtxftqv/ 
Click on the combobox item to jump to the selected function.
Thanks dscanner by Sir Alaran 



Link: https://github.com/dnewbie/dpj