News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Doxygen script plugin

Started by jomeggs, April 11, 2008, 06:45:28 PM

Previous topic - Next topic

rockstar1707

Hi jomeggs,

thanks for the help. Changing of input encoding to UTF-8 really fixed the problem. Though it took me some time till I figured out that you have to delete "doxygen.cfg" file and to restart Code::Blocks for the changes to take effect :)

However, things work as expected now :)

Thanks again.

vri

Jomeggs,

Thank you very much for this splendid plugin. I find it very useful.

Theo.

nanyu

my suggestion:

line 100 ~ 101 , pls modify these two lines to :

    entries.Add(_("&Tools")+_T("/")+_("0:Generate documentation"), 1);
    entries.Add(_("&Tools")+_T("/")+_("1:Generate documentation with dependants"), 2);

then , it can work well with c::b which a Chinese local language.



jomeggs

@vri  :)

@nanyu
I followed your suggestion and furthermore removed the second (yet not working) menue entry. The download is to be found
on page one, first post.

However, I don't really understand the difference between my code and your version. Apart from the additional ampersand, what is the sense behind the now splitted string? In my eyes _() and _T() should do the same, am I wrong at this point?

Jenna

Quote from: jomeggs on March 15, 2009, 03:06:10 PM
In my eyes _() and _T() should do the same, am I wrong at this point?

Yes, see quotes from wxWidgets docu:

Quote
_

const wxChar * _(const char *s)

This macro expands into a call to wxGetTranslation function, so it marks the message for the extraction by xgettext just as wxTRANSLATE does, but also returns the translation of the string for the current locale during execution.

Don't confuse this macro with _T()!
Quote
_T

wxChar _T(char ch)

const wxChar * _T(const wxChar ch)

This macro is exactly the same as wxT and is defined in wxWidgets simply because it may be more intuitive for Windows programmers as the standard Win32 headers also define it (as well as yet another name for the same macro which is _TEXT()).

Don't confuse this macro with _()!

jomeggs

@jens
That clarifies the problem with Chinese characters, thank you!

elfunesto

#21
Sorry,
Were can I download the plugin: it seems that it has been deleted.
Thanks by advance. Cheers,
Hilaire

jomeggs

Quote from: jomeggs on April 11, 2008, 06:45:28 PM

Changelog version 04 (15.03.2009)

  • menue entries changed for Cinese users (nanyu and friends...)
  • CHM file is executed after generation for windows systems only
  • removed menue entry "Generate documentation with dependants", it's not working currently
  • proper error message when no active project has been opened as yet

[attachment deleted by admin]

my doxygen script has been deleted by somebody :(, was there a reason for?



elfunesto

Hi jomeggs, I would really appreciate if you can send me a version of your script. I was used to use it on a previous computer and I found it very very useful!
Thanks by advance.
Hilaire

MortenMacFly

Quote from: jomeggs on July 05, 2009, 01:09:03 PM
my doxygen script has been deleted by somebody :(, was there a reason for?
Not really. We have limited forums space which we need to clean from time to time. But we cannot select the content by erm... content. So we delete yb time. If you want to persist nice gotchas, please use the patch tracker. Forum attachments are not persistent!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

kfmfe04

Quote from: MortenMacFly on July 06, 2009, 07:37:30 AM
Quote from: jomeggs on July 05, 2009, 01:09:03 PM
my doxygen script has been deleted by somebody :(, was there a reason for?
Not really. We have limited forums space which we need to clean from time to time. But we cannot select the content by erm... content. So we delete yb time. If you want to persist nice gotchas, please use the patch tracker. Forum attachments are not persistent!

:(  I'm too late!!!  Where can I get a copy of this plugin/script?
I would very much like to try Doxygen in C::B...



jomeggs

#26
Quote from: kfmfe04 on July 06, 2009, 04:30:49 PM
:(  I'm too late!!!  Where can I get a copy of this plugin/script?

Don't worry, its back! :lol: It took a time to find it, but finally: Have a look at my first post

@MortonMacFly:
I'll follow your advice, but currently I'm a bit short of time...

kfmfe04

#27
Quote from: jomeggs on July 07, 2009, 01:03:24 AM
Quote from: kfmfe04 on July 06, 2009, 04:30:49 PM
:(  I'm too late!!!  Where can I get a copy of this plugin/script?

Don't worry, its back! :lol: It took a time to find it, but finally: Have a look at my first post

Wow!  This is >FANTASTIC<!  

The call graphs are especially useful for detecting loops and avoiding "calling upwards" - excellent!

Thank you so much!!!

- Ken

elfunesto

Thank you very much jomeggs!

kfmfe04

#29
I am new to Doxygen so I copied and pasted into MyClass.hpp (the first lines):

/*! \brief Brief description.
*         Brief description continued.
*
*  Detailed description starts here.
*/

into a header file and reran the Doxygen plug-in.  I can't seem to find these comments anywhere in the html documentation for MyClass Class Reference.

- Ken

Update:  I tried the class Test example in Qt style 1/3 the way down:

http://www.stack.nl/~dimitri/doxygen/docblocks.html

Everything inside the class seems to work, but the Detailed Description normally under the Public Attributes appear to be missing.  Any idea what might cause this?