Jump to page: 1 2
Thread overview
dpj for Windows
May 20, 2012
dnewbie
May 20, 2012
Nick Sabalausky
May 20, 2012
dnewbie
May 21, 2012
Ary Manzana
May 22, 2012
dnewbie
May 22, 2012
Ary Manzana
May 26, 2012
dnewbie
Jun 16, 2012
dnewbie
Jun 17, 2012
Robik
Jun 28, 2012
dnewbie
May 20, 2012
dpj is a mini-ide for the D programming language.
http://my.opera.com/run3/blog/2012/05/20/dpj

May 20, 2012
"dnewbie" <run3@myopera.com> wrote in message news:qufvdhexcdzabuzqrvgm@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.


May 20, 2012
On 20-05-2012 05:53, Nick Sabalausky wrote:
> "dnewbie"<run3@myopera.com>  wrote in message
> news:qufvdhexcdzabuzqrvgm@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
alex@lycus.org
http://lycus.org
May 20, 2012
On Sunday, 20 May 2012 at 03:53:43 UTC, Nick Sabalausky wrote:
> "dnewbie" <run3@myopera.com> wrote in message
> news:qufvdhexcdzabuzqrvgm@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!


May 21, 2012
On 5/20/12 10:37 PM, dnewbie wrote:
> On Sunday, 20 May 2012 at 03:53:43 UTC, Nick Sabalausky wrote:
>> "dnewbie" <run3@myopera.com> wrote in message
>> news:qufvdhexcdzabuzqrvgm@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?
May 22, 2012
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.
May 22, 2012
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?
May 26, 2012
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 <https://github.com/Hackerpilot/Dscanner> for tag finding.



June 16, 2012
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/


June 17, 2012
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
« First   ‹ Prev
1 2