Antoine Tandin | 7 Dec 2004 12:54

sending code

The code I’ve send is still not in cvs and I have no feedback to know if there is a problem with my code.

I even don’t know if the code has been received.

Do dimitri <at> stack.nl is the good address to send code ?

Should I use a special mail title for submitting code ?

 

I did diff –u on /src directory with the lastest cvs snapshot after merging my code with the new snapshot.

Do I need to merge my code with the lastest cvs snapshot until my code has been merged ?

 

Does the web interface of the cvs is up-to-date ?

Dimitri van Heesch | 7 Dec 2004 13:11
Picon
Gravatar

Re: sending code

On Tue, 7 Dec 2004 12:54:39 +0100, Antoine Tandin
<atandin <at> komodosoft.com> wrote:
> 
> The code I've send is still not in cvs and I have no feedback to know if
> there is a problem with my code.
> 
> I even don't know if the code has been received.
> 
> Do dimitri <at> stack.nl is the good address to send code ?
> 
> Should I use a special mail title for submitting code ?
> 

The address is ok, and the mail has been received. I just haven't
gotten around to it yet.
I did have a brief look and if the patch was trivial to apply I would
have done so, but
that was not the case. The main reasons are:
- The patch contains 4 or so features combined in one. So it is a all
or nothing approach.
- The new features/fixes were not discussed on forehand, and I do not
agree with the
   implementation in all cases.

> I did diff –u on /src directory with the lastest cvs snapshot after merging
> my code with the new snapshot.
> 
> Do I need to merge my code with the lastest cvs snapshot until my code has
> been merged ?

No not necessarily, but if you could split the patch up into more managable 
parts that would help.

Regards,
  Dimitri

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
Antoine Tandin | 7 Dec 2004 18:29

new feature discussion

Hello, I would like to discuss about some new options(features) for
doxygen.
All of them are triggered by the configuration file.

So I introduce them by there configuration name.

1 - NO_TYPEDEF_REFERENCED_BY_RELATION
Just don't produce the "Referenced by" paragraph for typedef.
Most of the time, this paragraph is long and useless.
There is no "reference by" for classes... so why for typedef.

The patch is very simple :
Just add a condition in the function addDocCrossReference
static void addDocCrossReference(MemberDef *src,MemberDef *dst)
{
  //printf("addDocCrossReference
src=%s,dst=%s\n",src->name().data(),dst->name().data());
  if ( dst->isTypedef() &&
Config_getBool("NO_TYPEDEF_REFERENCED_BY_RELATION") ) //+++ added line
    return;
//+++ added line
  if (Config_getBool("REFERENCED_BY_RELATION") && 
      (src->isFunction() || src->isSlot()) 
     )
  {
    dst->addSourceReferencedBy(src);
  }
  if ((Config_getBool("REFERENCES_RELATION") ||
Config_getBool("CALL_GRAPH")) && 
      (src->isFunction() || src->isSlot())
     )
  {
    src->addSourceReferences(dst);
  }
}

2 - GROUP_COLLABORATION_GRAPH
Create a dot graph on the top of each group page.
The graph shows relations between groups :
- is the group is part of an other group
- is the group contains other groups
- all members (class, namespace ...) share with other groups

3 - ALLOW_MEMBER_MULTIGROUP
This change the behavior of group pages.
With this option set, group page don't contain member documentation but
only a link to the member documentation.
With this option set, a function can be part of more than one groups.
With this option set, function documentation are no more moved to the
group page, so for a class member, the documentation stays in the class
file...

4 - SHOW_GROUPLINKS
Just add in the documentation of members a link to the group(s) they are
part of. (like for classes)

Please tell me what you think about those features.
Keep in mind that they don't change anything if the options are not set.

All of those 4 features are independent, but 2 and 4 are more relevant
with the 3 set.

Thanks

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
Dimitri van Heesch | 8 Dec 2004 08:28
Picon
Gravatar

Re: new feature discussion

On Tue, 7 Dec 2004 18:29:13 +0100, Antoine Tandin
<atandin <at> komodosoft.com> wrote:
> Hello, I would like to discuss about some new options(features) for
> doxygen.
> All of them are triggered by the configuration file.
> 
> So I introduce them by there configuration name.
> 
> 1 - NO_TYPEDEF_REFERENCED_BY_RELATION
> Just don't produce the "Referenced by" paragraph for typedef.
> Most of the time, this paragraph is long and useless.
> There is no "reference by" for classes... so why for typedef.

I agree, but I don't think is it needed to have an option for this:
just always turn this on.

> The patch is very simple :
> Just add a condition in the function addDocCrossReference

> 
> 2 - GROUP_COLLABORATION_GRAPH
> Create a dot graph on the top of each group page.
> The graph shows relations between groups :
> - is the group is part of an other group
> - is the group contains other groups
> - all members (class, namespace ...) share with other groups

This could be useful, but how are you going to express to containment relations.
A "boxes in boxes" approach (which would be natural) doesn't work well with dot.

> 3 - ALLOW_MEMBER_MULTIGROUP
> This change the behavior of group pages.
> With this option set, group page don't contain member documentation but
> only a link to the member documentation.
> With this option set, a function can be part of more than one groups.
> With this option set, function documentation are no more moved to the
> group page, so for a class member, the documentation stays in the class
> file...

This feature has been discussed and requested before, but I don't think it
will work with the current implementation. If you have an undocumented file
with a member in multiple groups and this member is referred to in some place
to which group would you point? (if the file that actually contains
the member was
documented, the file could be a good candidate, but this is not guaranteed. 

> 
> 4 - SHOW_GROUPLINKS
> Just add in the documentation of members a link to the group(s) they are
> part of. (like for classes)

This could be useful (but less so if the member can be in one group only).

Regards,
  Dimitri

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
Maik Hinrichs | 9 Dec 2004 21:23
Picon

make clean and make distclean in src

Hello,

I would like to suggest following small changes in src/Makefile.in:

1. "make clean" should remove generated source files by lex and bison, so I 
moved files from distclean to clean.

2. "make distclean" should remove file lang_cfg.h (generated by configure).

Please find attached diff file.

Cu,
Maik
Attachment (src_Makefile.in_diff): text/x-diff, 713 bytes
Maik Hinrichs | 9 Dec 2004 21:44
Picon

Build libraries on Solaris (sparc)

Hello,

I had to make a small change in file tmake.conf of target solaris-cc to 
translate the libraries.

I changed value of TMAKE_AR from "CC -xar -o" to "ar cqs".

System: SunOS 5.9 (sparc)
Compiler: CC (gcc 3.3.2)

Please find attached diff file.

Cu,
Maik
Antoine Tandin | 10 Dec 2004 10:41

RE : new feature discussion

diff file attached for an implementation of those 4 features. Critics
are welcome :)

Following an example in compiled html.

-----Message d'origine-----
De : Antoine Tandin [mailto:atandin <at> komodosoft.com] 
Envoyé : mardi 7 décembre 2004 18:29
À : doxygen-develop <at> lists.sourceforge.net
Objet : [Doxygen-develop] new feature discussion

Hello, I would like to discuss about some new options(features) for
doxygen.
All of them are triggered by the configuration file.

So I introduce them by there configuration name.

1 - NO_TYPEDEF_REFERENCED_BY_RELATION
Just don't produce the "Referenced by" paragraph for typedef.
Most of the time, this paragraph is long and useless.
There is no "reference by" for classes... so why for typedef.

The patch is very simple :
Just add a condition in the function addDocCrossReference
static void addDocCrossReference(MemberDef *src,MemberDef *dst)
{
  //printf("addDocCrossReference
src=%s,dst=%s\n",src->name().data(),dst->name().data());
  if ( dst->isTypedef() &&
Config_getBool("NO_TYPEDEF_REFERENCED_BY_RELATION") ) //+++ added line
    return;
//+++ added line
  if (Config_getBool("REFERENCED_BY_RELATION") && 
      (src->isFunction() || src->isSlot()) 
     )
  {
    dst->addSourceReferencedBy(src);
  }
  if ((Config_getBool("REFERENCES_RELATION") ||
Config_getBool("CALL_GRAPH")) && 
      (src->isFunction() || src->isSlot())
     )
  {
    src->addSourceReferences(dst);
  }
}

2 - GROUP_COLLABORATION_GRAPH
Create a dot graph on the top of each group page.
The graph shows relations between groups :
- is the group is part of an other group
- is the group contains other groups
- all members (class, namespace ...) share with other groups

3 - ALLOW_MEMBER_MULTIGROUP
This change the behavior of group pages.
With this option set, group page don't contain member documentation but
only a link to the member documentation.
With this option set, a function can be part of more than one groups.
With this option set, function documentation are no more moved to the
group page, so for a class member, the documentation stays in the class
file...

4 - SHOW_GROUPLINKS
Just add in the documentation of members a link to the group(s) they are
part of. (like for classes)

Please tell me what you think about those features.
Keep in mind that they don't change anything if the options are not set.

All of those 4 features are independent, but 2 and 4 are more relevant
with the 3 set.

Thanks

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Doxygen-develop mailing list
Doxygen-develop <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-develop

Attachment (patch.rar): application/octet-stream, 6881 bytes
Enno Bartels | 10 Dec 2004 14:28
Picon
Favicon

Const test cases working fine -- Re: [Doxygen-users] Doxygen-1.3.9.1-20040612 in CVS

Hi

Am Montag, 6. Dezember 2004 19:38 schrieb Dimitri van Heesch:
...
> + BUG: id 157085: Autolinks for const/volatile operators didn't work.
> + BUG: id 157433: Multi-variable declarations were not parsed
> properly. 
...
Thank you very much for solving this nasty bug.
Now I can use "const" without breaking the doxy docu!

I think this has even solved the following bug
http://bugzilla.gnome.org/show_bug.cgi?id=120389

I did test this with the following test cases and
everyone was working fine (for the first time) !

1.  int charp_fctCall (char *)
2.  int charpconst_fctCall (char *const)
3.  int constcharp_fctCall (const char *)
4.  int constcharpconst_fctCall (const char *const)
5.  int constconst_fctCall (MyType *const)
6.  int constcharpconst_fctCall (const char *const)
7.  int intp_fctCall (int *)
8.  int intpconst_fctCall (int *const)

On my CVS copy of doxygen I do have an additional test
directory for my test cases. And with "make test" it
will generate the docu and check if it  
has the right elements inside.

Maybe it would be wise to add my and even more 
test cases to the doxgen cvs version. So a new version
of doxygen could be tested automaticly for old/new 
problems very easyly!

Thanks for listening 
Enno

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
atandin@komodosoft.com | 10 Dec 2004 18:19

feature suggestion

What do you think about creating hyperlink on class attributes in the
class' collaboration graphs ?

--------------------------------------------------------------------
mail2web - Vérifiez votre courrier électronique depuis le web sur
http://mail2web.com/ .

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
Mohammad Musa | 10 Dec 2004 20:45
Favicon

Supporting Verilog


Hello All,

I am new to this list and I'm interested in adding verilog support to
doxygen. No one is working on supporting verilog currently. Is that correct?

I would appreciate any help guiding me on how and where to start this
project.

Thanks,
Mohammad

"atandin <at> komodosoft.com" wrote:

> What do you think about creating hyperlink on class attributes in the
> class' collaboration graphs ?
>
> --------------------------------------------------------------------
> mail2web - Vérifiez votre courrier électronique depuis le web sur
> http://mail2web.com/ .
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Doxygen-develop mailing list
> Doxygen-develop <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/doxygen-develop

--
---------------------------------------------------
/ /\ / Mohammad Musa       mohammad.musa <at> xilinx.com
\ \    Xilinx              Telephone:  408-559-7778
/ /    2100 Logic Drive    Direct:     408-626-6484
\_\/ \ San Jose, CA 95124  FAX:        408-377-9013

Attachment (mohammad.musa.vcf): text/x-vcard, 182 bytes

Gmane