Re: Why doesn't DMD recreate folder structure when using multiple .d files and -H?

2012-10-13 Thread Jordi Sayol
Al 13/10/12 02:10, En/na Andrej Mitrovic ha escrit:
 For example:
 
 $ dmd -H -o- atk/Action.d gio/DBusProxy.d -Hdinclude
 
 Both files are written to the 'include' folder but they're flat
 because the original folder structure is lost. So instead of having:
 
 include/atk/Action.d
 include/gio/DBusProxy.d
 
 I have:
 include/Action.d
 include/DBusProxy.d
 
 The files are completely unusable this way (and this happens
 regardless of -Hd btw).
 I didn't find an open bug report on this, but I think this is worthy
 of an enhancement request.
 

$ dmd -op -H -o- atk/Action.d gio/DBusProxy.d -Hdinclude
-- 
Jordi Sayol


Re: Why doesn't DMD recreate folder structure when using multiple .d files and -H?

2012-10-13 Thread Andrej Mitrovic
On 10/13/12, Jordi Sayol g.sa...@yahoo.es wrote:
 $ dmd -op -H -o- atk/Action.d gio/DBusProxy.d -Hdinclude

Damn, I never knew what -op did (it should mention it's useful for -H). Thanks.


Re: Why doesn't DMD recreate folder structure when using multiple .d files and -H?

2012-10-12 Thread Andrej Mitrovic
On 10/13/12, Andrej Mitrovic andrej.mitrov...@gmail.com wrote:
 On 10/13/12, Andrej Mitrovic andrej.mitrov...@gmail.com wrote:
 I didn't find an open bug report on this, but I think this is worthy
 of an enhancement request.

 And writing header files one at a time is incredibly slow because DMD
 parses every import on each header generation.


Boom: http://d.puremagic.com/issues/show_bug.cgi?id=8808

Now all we need is a lucky fella who's willing to implement it.


Re: Why doesn't DMD recreate folder structure when using multiple .d files and -H?

2012-10-12 Thread Andrej Mitrovic
On 10/13/12, Andrej Mitrovic andrej.mitrov...@gmail.com wrote:
 I didn't find an open bug report on this, but I think this is worthy
 of an enhancement request.

And writing header files one at a time is incredibly slow because DMD
parses every import on each header generation.