digitalmars.D.announce - dpj for Windows
- "dnewbie" <run3 myopera.com> May 19 2012
- "Nick Sabalausky" <SeeWebsiteToContactMe semitwist.com> May 19 2012
- =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= <alex lycus.org> May 19 2012
- Ary Manzana <ary esperanto.org.ar> May 21 2012
- Ary Manzana <ary esperanto.org.ar> May 22 2012
- "dnewbie" <run3 myopera.com> May 20 2012
- "dnewbie" <run3 myopera.com> May 21 2012
- "dnewbie" <run3 myopera.com> May 26 2012
- "dnewbie" <run3 myopera.com> Jun 16 2012
- "Robik" <robik noemail.com> Jun 17 2012
- "dnewbie" <run3 myopera.com> Jun 27 2012
dpj is a mini-ide for the D programming language. http://my.opera.com/run3/blog/2012/05/20/dpj
May 19 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 19 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 19 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 21 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 22 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 20 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 21 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.
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?
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/
Jun 16 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
Jun 17 2012
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 <https://github.com/Hackerpilot/Dscanner> Link: https://github.com/dnewbie/dpj
Jun 27 2012









=?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= <alex lycus.org> 