Re: mixin not evaluated during doc generation

2008-12-06 Thread Morusaka
Jarrett Billingsley Wrote: > It might or might not make you feel better, but this has already been > reported. Twice. > > http://d.puremagic.com/issues/show_bug.cgi?id=648 > http://d.puremagic.com/issues/show_bug.cgi?id=2420 > > I wonder if the second should be marked as a dup of the first.. O

mixin not evaluated during doc generation

2008-12-06 Thread Morusaka
It seems that doc generation is a separate task and phase from source code compilation. For example, mixin are not evaluated during doc generation and you can't generate comments with them: [code] mixin ("/**\n * comment generated with a mixin\n */"); void foo() {} // no doc will be generated fo

Re: ddoc crossreferences

2008-11-29 Thread Morusaka
I think I've find a way to make it work (with CandyDoc at least) I've definied the following macro: /** * Macros: * DDOC_PSYMBOL = $0explorer.outline.addDecl('$0'); */ and when I want a link to some definition, I've to write a line like this: // immagine you want to link to opEquals /**

Re: ddoc crossreferences

2008-11-29 Thread Morusaka
Morusaka Wrote: > Ok, with the help of grep i've found a lot of examples in Tango sources, for > instance in: tango/text/locale/Core.d > > $(LINK2 #whereToGo, linkName) > ... > ... > ... > $(ANCHOR whereToGo) > ... > ... > ... > Uhm... I'm not

Re: ddoc crossreferences

2008-11-29 Thread Morusaka
ed in order to produce a pdf version of it, does this html stuff will work? Thank you, Luca. Morusaka Wrote: > Hi, > > is there a way to include cross references in my documentation. > For example, i'd like to do something like: > > /** > * foo bla bla bla > * Se

ddoc crossreferences

2008-11-29 Thread Morusaka
Hi, is there a way to include cross references in my documentation. For example, i'd like to do something like: /** * foo bla bla bla * See_Also: * bar */ void foo() {...} /** * bar bla bla * See_Also: * foo */ void bar() {...} and i'd like elements in See_Also section to be link to o

Re: dsss manual

2008-11-23 Thread Morusaka
Jesse Phillips Wrote: > Just to make sure this is a DSSS issue, it does compile with dmd correct? > The ld error would be helpful. It could be that $LD_LIBRARY_PATH doesn't > know where dsss/lib is. Now the error is gone: module main;// <--- comment this and you get a ld error import st

Re: dsss manual

2008-11-23 Thread Morusaka
Morusaka Wrote: > this is what I did: > > $ mkdir ws > $ cd ws > $ wget > http://svn.dsource.org/projects/dsss/downloads/0.78/dsss-0.78-x86-gnuWlinux.tar.bz2 > $ tar xvvf tar xvvf dsss-0.78-x86-gnuWlinux.tar.bz2 > $ export PATH="~/ws/dsss

Re: dsss manual

2008-11-23 Thread Morusaka
Jarrett Billingsley Wrote: > I don't think this actually has anything to do with the --prefix > argument. The error says that DSSS can't figure out where it lives. > > How did you install DSSS? Where is it located, and how did you add it > to your path? Hi Jarrett, this is what I did: $ mkdir

Re: dsss manual

2008-11-23 Thread Morusaka
Jesse Phillips Wrote: > # ./dsss --prefix=/usr/local install I forgot to say that I also tryied: $ ./dsss install --prefix=/home/luca/workspace/ from the directory where dsss is located, but all I got was: No config file found and no targets explicitly specified. Argh!!! Thx, Luca.

Re: dsss manual

2008-11-23 Thread Morusaka
Jesse Phillips Wrote: > You need to give dsss a place to install your program. > > $ dsss --prefix= build > > I would suggest installing dsss to the system, do this from within the > where you have dsss. Then you won't have to include prefix every time > (though doing the above may only need t

Re: dsss manual

2008-11-23 Thread Morusaka
Bill Baxter Wrote: > It's sort of split up, but this is the most useful doc in my opinion. > http://www.dsource.org/projects/dsss/wiki/DSSSForSoftwareEngineers > > --bb > Thank you Bill for your fastestthanlight reply!! I think I've some sort of installation issue, but that document doesn't cov

dsss manual

2008-11-23 Thread Morusaka
Hi, I know this may sound as a rather stupid question, but where is located DSSS manual? I can't find it! Of course I looked for it here: http://www.dsource.org/projects/dsss. Thank you, Luca.

Re: how to use opdot

2008-11-20 Thread Morusaka
Steven Schveighoffer Wrote: > opDot is useful if you want to make a 'wrapper' type. That is, you want to > mimic another type, but you want to slightly alter the behavior. opDot > allows you to 'inherit' all the member functions and fields from the wrapped > type. For example, if I wanted to

how to use opdot

2008-11-16 Thread Morusaka
Hi, I've read about opdot in D language spec operator overload section, but the little snippet of code provided isn't enough, for me, to figure out what it is supposed to do and how to use it or what it could be usefull for. Could you please help me to get the right way? Thank you, Luca.