From f000dd870b772ed6bc26ea383a8657301eb5ef17 Mon Sep 17 00:00:00 2001 From: dimitri Date: Thu, 17 Jan 2008 18:56:38 +0000 Subject: Release-1.5.4-20080101 --- Doxyfile | 15 +- INSTALL | 4 +- PLATFORMS | 1 + README | 4 +- addon/doxyapp/Makefile.in | 2 +- addon/doxywizard/Makefile.in | 4 +- addon/doxywizard/Makefile.win_nmake.in | 4 +- addon/doxywizard/doxywizard.pro.in | 4 +- addon/doxywizard/doxywizard.t | 2 +- addon/doxywizard/expert.cpp | 4 +- addon/doxywizard/expert.h | 4 +- addon/doxywizard/inputbool.cpp | 4 +- addon/doxywizard/inputbool.h | 4 +- addon/doxywizard/inputint.cpp | 4 +- addon/doxywizard/inputint.h | 4 +- addon/doxywizard/inputstring.cpp | 4 +- addon/doxywizard/inputstring.h | 4 +- addon/doxywizard/inputstrlist.cpp | 4 +- addon/doxywizard/inputstrlist.h | 4 +- addon/doxywizard/qtbc.h | 4 +- addon/doxywizard/version.h | 4 +- configure | 24 +- doc/Makefile.in | 2 +- doc/Makefile.win_make.in | 2 +- doc/Makefile.win_nmake.in | 2 +- doc/arch.doc | 2 +- doc/autolink.doc | 2 +- doc/commands.doc | 2 +- doc/config.doc | 52 +- doc/custcmd.doc | 2 +- doc/diagrams.doc | 2 +- doc/docblocks.doc | 34 +- doc/doxygen_usage.doc | 2 +- doc/doxytag_usage.doc | 2 +- doc/doxywizard_usage.doc | 2 +- doc/external.doc | 2 +- doc/faq.doc | 2 +- doc/features.doc | 2 +- doc/formulas.doc | 2 +- doc/grouping.doc | 2 +- doc/history.doc | 2 +- doc/htmlcmds.doc | 2 +- doc/index.doc | 6 +- doc/install.doc | 2 +- doc/installdox_usage.doc | 2 +- doc/language.doc | 55 +- doc/maintainers.txt | 4 +- doc/output.doc | 2 +- doc/preprocessing.doc | 2 +- doc/starting.doc | 2 +- doc/translator_report.txt | 800 +++++++++- doc/trouble.doc | 2 +- doc/xmlcmds.doc | 2 +- examples/Makefile.in | 8 +- examples/Makefile.win.in | 16 +- examples/mux.cfg | 13 + examples/mux.vhdl | 32 + packages/rpm/doxygen-nodoxywizard.spec.in | 28 +- packages/rpm/doxygen.spec | 57 +- packages/rpm/doxygen.spec.in | 29 +- qtools/Doxyfile | 976 +----------- qtools/qfile_unix.cpp | 2 +- qtools/qfiledefs_p.h | 11 +- qtools/qglobal.h | 19 +- qtools/qxml.cpp | 12 +- src/Makefile.in | 7 +- src/bufstr.h | 4 +- src/classdef.cpp | 200 ++- src/classdef.h | 130 +- src/classlist.cpp | 37 +- src/classlist.h | 4 +- src/cmdmapper.cpp | 2 +- src/cmdmapper.h | 2 +- src/code.h | 4 +- src/code.l | 24 +- src/commentcnv.h | 4 +- src/commentcnv.l | 77 +- src/commentscan.h | 2 +- src/commentscan.l | 4 +- src/config.l | 192 ++- src/constexp.h | 4 +- src/constexp.l | 4 +- src/constexp.y | 2 +- src/cppvalue.cpp | 4 +- src/cppvalue.h | 4 +- src/debug.cpp | 4 +- src/debug.h | 4 +- src/declinfo.h | 4 +- src/declinfo.l | 4 +- src/defargs.h | 4 +- src/defargs.l | 4 +- src/defgen.cpp | 4 +- src/defgen.h | 4 +- src/define.cpp | 4 +- src/define.h | 4 +- src/definition.cpp | 77 +- src/definition.h | 13 +- src/diagram.cpp | 4 +- src/diagram.h | 4 +- src/dirdef.cpp | 5 +- src/dirdef.h | 4 +- src/docparser.cpp | 18 +- src/docparser.h | 4 +- src/docsets.cpp | 385 +++++ src/docsets.h | 84 ++ src/doctokenizer.h | 4 +- src/doctokenizer.l | 4 +- src/docvisitor.h | 4 +- src/dot.cpp | 15 +- src/dot.h | 4 +- src/doxygen.cpp | 96 +- src/doxygen.css | 230 ++- src/doxygen.h | 5 +- src/doxygen.pro.in | 4 +- src/doxygen_css.h | 230 ++- src/doxytag.l | 6 +- src/doxytag.pro.in | 4 +- src/doxytag.t | 4 +- src/entry.cpp | 6 +- src/entry.h | 45 +- src/example.h | 4 +- src/filedef.cpp | 45 +- src/filedef.h | 4 +- src/filename.cpp | 4 +- src/filename.h | 4 +- src/formula.cpp | 4 +- src/formula.h | 4 +- src/fortrancode.h | 2 +- src/fortrancode.l | 4 + src/fortranscanner.h | 4 +- src/fortranscanner.l | 155 +- src/ftvhelp.cpp | 6 +- src/ftvhelp.h | 2 +- src/groupdef.cpp | 201 +-- src/groupdef.h | 4 +- src/htags.cpp | 2 +- src/htags.h | 2 +- src/htmlattrib.h | 4 +- src/htmldocvisitor.cpp | 7 +- src/htmldocvisitor.h | 4 +- src/htmlgen.cpp | 140 +- src/htmlgen.h | 9 +- src/htmlhelp.cpp | 18 +- src/htmlhelp.h | 6 +- src/image.cpp | 4 +- src/image.h | 4 +- src/index.cpp | 320 ++-- src/index.h | 32 +- src/instdox.cpp | 4 +- src/instdox.h | 4 +- src/language.cpp | 13 +- src/language.h | 4 +- src/latexdocvisitor.cpp | 6 +- src/latexdocvisitor.h | 4 +- src/latexgen.cpp | 38 +- src/latexgen.h | 11 +- src/libdoxycfg.pro.in | 4 +- src/libdoxycfg.t | 4 +- src/libdoxygen.pro.in | 13 +- src/libdoxygen.t | 10 +- src/lockingptr.h | 4 +- src/logos.cpp | 4 +- src/logos.h | 4 +- src/main.cpp | 4 +- src/mandocvisitor.cpp | 4 +- src/mandocvisitor.h | 4 +- src/mangen.cpp | 8 +- src/mangen.h | 9 +- src/marshal.cpp | 8 +- src/memberdef.cpp | 191 ++- src/memberdef.h | 11 +- src/membergroup.cpp | 4 +- src/membergroup.h | 4 +- src/memberlist.cpp | 4 +- src/memberlist.h | 42 +- src/membername.cpp | 4 +- src/membername.h | 4 +- src/message.cpp | 4 +- src/message.h | 4 +- src/msc.cpp | 4 +- src/msc.h | 4 +- src/namespacedef.cpp | 43 +- src/namespacedef.h | 4 +- src/objcache.cpp | 4 +- src/objcache.h | 4 +- src/outputgen.cpp | 8 +- src/outputgen.h | 9 +- src/outputlist.cpp | 4 +- src/outputlist.h | 14 +- src/pagedef.cpp | 10 +- src/pagedef.h | 4 +- src/parserintf.h | 11 +- src/perlmodgen.cpp | 2 +- src/perlmodgen.h | 2 +- src/pngenc.cpp | 4 +- src/pngenc.h | 4 +- src/portable.cpp | 7 +- src/pre.h | 4 +- src/pre.l | 24 +- src/printdocvisitor.h | 4 +- src/pycode.h | 4 +- src/pycode.l | 4 +- src/pyscanner.h | 4 +- src/pyscanner.l | 78 +- src/qtbc.h | 4 +- src/reflist.cpp | 4 +- src/reflist.h | 4 +- src/rtfdocvisitor.cpp | 4 +- src/rtfdocvisitor.h | 4 +- src/rtfgen.cpp | 94 +- src/rtfgen.h | 11 +- src/rtfstyle.cpp | 12 +- src/rtfstyle.h | 4 +- src/scanner.h | 4 +- src/scanner.l | 99 +- src/searchindex.cpp | 4 +- src/searchindex.h | 4 +- src/section.h | 4 +- src/sortdict.h | 4 +- src/store.cpp | 4 +- src/store.h | 4 +- src/tagreader.cpp | 16 +- src/tagreader.h | 4 +- src/textdocvisitor.cpp | 4 +- src/textdocvisitor.h | 4 +- src/translator.h | 35 +- src/translator_adapter.h | 78 +- src/translator_ar.h | 2 +- src/translator_br.h | 488 ++++-- src/translator_ca.h | 4 +- src/translator_cn.h | 4 +- src/translator_cz.h | 315 +++- src/translator_de.h | 4 +- src/translator_dk.h | 4 +- src/translator_en.h | 203 ++- src/translator_es.h | 4 +- src/translator_fa.h | 2 +- src/translator_fi.h | 2 +- src/translator_fr.h | 4 +- src/translator_gr.h | 4 +- src/translator_hr.h | 232 ++- src/translator_hu.h | 2 +- src/translator_id.h | 2 +- src/translator_it.h | 337 ++++- src/translator_je.h | 2 +- src/translator_jp.h | 4 +- src/translator_ke.h | 2 +- src/translator_kr.h | 207 ++- src/translator_lt.h | 2 +- src/translator_mk.h | 1564 +++++++++++++++++++ src/translator_nl.h | 203 ++- src/translator_no.h | 2 +- src/translator_pl.h | 2 +- src/translator_pt.h | 4 +- src/translator_ro.h | 4 +- src/translator_ru.h | 4 +- src/translator_se.h | 2 +- src/translator_si.h | 4 +- src/translator_sk.h | 2 +- src/translator_sr.h | 2 +- src/translator_tw.h | 2 +- src/translator_ua.h | 2 +- src/translator_za.h | 2 +- src/translatordecoder.h | 63 +- src/util.cpp | 139 +- src/util.h | 24 +- src/version.h | 4 +- src/vhdlcode.h | 18 + src/vhdlcode.l | 1566 +++++++++++++++++++ src/vhdldocgen.cpp | 2319 +++++++++++++++++++++++++++++ src/vhdldocgen.h | 256 ++++ src/vhdlscanner.h | 89 ++ src/vhdlscanner.l | 1746 ++++++++++++++++++++++ src/xmldocvisitor.cpp | 4 +- src/xmldocvisitor.h | 4 +- src/xmlgen.cpp | 20 +- src/xmlgen.h | 4 +- tmake/lib/aix-xlc/tmake.conf | 6 +- tmake/lib/macosx-uni-c++/tmake.conf | 4 +- tmake/lib/solaris-cc-64/app.t | 2 + tmake/lib/solaris-cc-64/lib.t | 2 + tmake/lib/solaris-cc-64/subdirs.t | 2 + tmake/lib/solaris-cc-64/tmake.conf | 61 + winbuild/Doxygen.vcproj | 206 ++- 284 files changed, 13674 insertions(+), 2928 deletions(-) create mode 100644 examples/mux.cfg create mode 100644 examples/mux.vhdl create mode 100644 src/docsets.cpp create mode 100644 src/docsets.h create mode 100644 src/translator_mk.h create mode 100644 src/vhdlcode.h create mode 100644 src/vhdlcode.l create mode 100644 src/vhdldocgen.cpp create mode 100644 src/vhdldocgen.h create mode 100644 src/vhdlscanner.h create mode 100644 src/vhdlscanner.l create mode 100644 tmake/lib/solaris-cc-64/app.t create mode 100644 tmake/lib/solaris-cc-64/lib.t create mode 100644 tmake/lib/solaris-cc-64/subdirs.t create mode 100644 tmake/lib/solaris-cc-64/tmake.conf diff --git a/Doxyfile b/Doxyfile index 104e00c..0de2079 100644 --- a/Doxyfile +++ b/Doxyfile @@ -1,4 +1,4 @@ -# Doxyfile 1.5.2 +# Doxyfile 1.5.4 #--------------------------------------------------------------------------- # Project related configuration options @@ -28,10 +28,13 @@ TAB_SIZE = 8 ALIASES = OPTIMIZE_OUTPUT_FOR_C = NO OPTIMIZE_OUTPUT_JAVA = NO +OPTIMIZE_FOR_FORTRAN = NO BUILTIN_STL_SUPPORT = NO CPP_CLI_SUPPORT = NO +SIP_SUPPORT = NO DISTRIBUTE_GROUP_DOC = NO SUBGROUPING = YES +TYPEDEF_HIDES_STRUCT = NO #--------------------------------------------------------------------------- # Build related configuration options #--------------------------------------------------------------------------- @@ -40,6 +43,7 @@ EXTRACT_PRIVATE = NO EXTRACT_STATIC = YES EXTRACT_LOCAL_CLASSES = YES EXTRACT_LOCAL_METHODS = NO +EXTRACT_ANON_NSPACES = NO HIDE_UNDOC_MEMBERS = NO HIDE_UNDOC_CLASSES = NO HIDE_FRIEND_COMPOUNDS = NO @@ -69,7 +73,7 @@ WARNINGS = YES WARN_IF_UNDOCUMENTED = YES WARN_IF_DOC_ERROR = YES WARN_NO_PARAMDOC = NO -WARN_FORMAT = "$file:$line: $text" +WARN_FORMAT = "$file:$line: $text " WARN_LOGFILE = #--------------------------------------------------------------------------- # configuration options related to the input files @@ -100,7 +104,9 @@ EXCLUDE = src/code.cpp \ src/config.cpp \ src/pyscanner.cpp \ src/fortranscanner.cpp \ - src/fortrancode.cpp + src/fortrancode.cpp \ + src/vhdlscanner.cpp \ + src/vhdlcode.cpp EXCLUDE_SYMLINKS = NO EXCLUDE_PATTERNS = EXCLUDE_SYMBOLS = @@ -139,6 +145,9 @@ HTML_FOOTER = HTML_STYLESHEET = HTML_ALIGN_MEMBERS = YES GENERATE_HTMLHELP = NO +GENERATE_DOCSET = YES +DOCSET_FEEDNAME = "Doxygen docs" +DOCSET_BUNDLE_ID = org.doxygen.Doxygen HTML_DYNAMIC_SECTIONS = YES CHM_FILE = HHC_LOCATION = diff --git a/INSTALL b/INSTALL index bd0325a..fbe41fb 100644 --- a/INSTALL +++ b/INSTALL @@ -1,7 +1,7 @@ -DOXYGEN Version 1.5.4 +DOXYGEN Version 1.5.4-20080101 Please read the installation section of the manual (http://www.doxygen.org/install.html) for instructions. -------- -Dimitri van Heesch (26 October 2007) +Dimitri van Heesch (01 January 2008) diff --git a/PLATFORMS b/PLATFORMS index be58d6d..c358a1d 100644 --- a/PLATFORMS +++ b/PLATFORMS @@ -23,6 +23,7 @@ osf1-g++ qnx-g++ sco-g++ solaris-cc +solaris-cc-64 solaris-g++ sunos-g++ ultrix-g++ diff --git a/README b/README index 906c759..b5733ed 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -DOXYGEN Version 1.5.4 +DOXYGEN Version 1.5.4_20080101 Please read INSTALL for compilation instructions. @@ -17,4 +17,4 @@ to subscribe to the lists or to visit the archives. Enjoy, -Dimitri van Heesch (dimitri@stack.nl) (26 October 2007) +Dimitri van Heesch (dimitri@stack.nl) (01 January 2008) diff --git a/addon/doxyapp/Makefile.in b/addon/doxyapp/Makefile.in index 835f406..c5acd67 100644 --- a/addon/doxyapp/Makefile.in +++ b/addon/doxyapp/Makefile.in @@ -1,5 +1,5 @@ -all clean depend: Makefile.doxyapp +all clean depend distclean: Makefile.doxyapp $(MAKE) -f Makefile.doxyapp $@ distclean: clean diff --git a/addon/doxywizard/Makefile.in b/addon/doxywizard/Makefile.in index f92c6b6..d63fad6 100644 --- a/addon/doxywizard/Makefile.in +++ b/addon/doxywizard/Makefile.in @@ -1,7 +1,7 @@ # -# $Id$ +# # -# Copyright (C) 1997-2007 by Dimitri van Heesch. +# Copyright (C) 1997-2008 by Dimitri van Heesch. # # Permission to use, copy, modify, and distribute this software and its # documentation under the terms of the GNU General Public License is hereby diff --git a/addon/doxywizard/Makefile.win_nmake.in b/addon/doxywizard/Makefile.win_nmake.in index 07fdb34..e4b6c99 100644 --- a/addon/doxywizard/Makefile.win_nmake.in +++ b/addon/doxywizard/Makefile.win_nmake.in @@ -1,7 +1,7 @@ # -# $Id$ +# # -# Copyright (C) 1997-2007 by Dimitri van Heesch. +# Copyright (C) 1997-2008 by Dimitri van Heesch. # # Permission to use, copy, modify, and distribute this software and its # documentation under the terms of the GNU General Public License is hereby diff --git a/addon/doxywizard/doxywizard.pro.in b/addon/doxywizard/doxywizard.pro.in index 8a8b72c..5d26a83 100644 --- a/addon/doxywizard/doxywizard.pro.in +++ b/addon/doxywizard/doxywizard.pro.in @@ -1,7 +1,7 @@ # -# $Id$ +# # -# Copyright (C) 1997-2007 by Dimitri van Heesch. +# Copyright (C) 1997-2008 by Dimitri van Heesch. # # Permission to use, copy, modify, and distribute this software and its # documentation under the terms of the GNU General Public License is hereby diff --git a/addon/doxywizard/doxywizard.t b/addon/doxywizard/doxywizard.t index 3c0b8de..f094b7d 100644 --- a/addon/doxywizard/doxywizard.t +++ b/addon/doxywizard/doxywizard.t @@ -1,7 +1,7 @@ # # # -# Copyright (C) 1997-2007 by Dimitri van Heesch. +# Copyright (C) 1997-2008 by Dimitri van Heesch. # # Permission to use, copy, modify, and distribute this software and its # documentation under the terms of the GNU General Public License is hereby diff --git a/addon/doxywizard/expert.cpp b/addon/doxywizard/expert.cpp index 6b96f0b..ce0760e 100644 --- a/addon/doxywizard/expert.cpp +++ b/addon/doxywizard/expert.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/addon/doxywizard/expert.h b/addon/doxywizard/expert.h index 0dc922f..7c92b4c 100644 --- a/addon/doxywizard/expert.h +++ b/addon/doxywizard/expert.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/addon/doxywizard/inputbool.cpp b/addon/doxywizard/inputbool.cpp index 12cb27e..fef7b9d 100644 --- a/addon/doxywizard/inputbool.cpp +++ b/addon/doxywizard/inputbool.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/addon/doxywizard/inputbool.h b/addon/doxywizard/inputbool.h index 466bd83..3101551 100644 --- a/addon/doxywizard/inputbool.h +++ b/addon/doxywizard/inputbool.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/addon/doxywizard/inputint.cpp b/addon/doxywizard/inputint.cpp index b849fc9..69628d8 100644 --- a/addon/doxywizard/inputint.cpp +++ b/addon/doxywizard/inputint.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/addon/doxywizard/inputint.h b/addon/doxywizard/inputint.h index 7b6b2de..b5f38ee 100644 --- a/addon/doxywizard/inputint.h +++ b/addon/doxywizard/inputint.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/addon/doxywizard/inputstring.cpp b/addon/doxywizard/inputstring.cpp index 7d20eaf..ffe4398 100644 --- a/addon/doxywizard/inputstring.cpp +++ b/addon/doxywizard/inputstring.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/addon/doxywizard/inputstring.h b/addon/doxywizard/inputstring.h index 9a23df5..cf00d2d 100644 --- a/addon/doxywizard/inputstring.h +++ b/addon/doxywizard/inputstring.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/addon/doxywizard/inputstrlist.cpp b/addon/doxywizard/inputstrlist.cpp index 55d7d72..9d98f9a 100644 --- a/addon/doxywizard/inputstrlist.cpp +++ b/addon/doxywizard/inputstrlist.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/addon/doxywizard/inputstrlist.h b/addon/doxywizard/inputstrlist.h index 7dcc4a0..0ba48c5 100644 --- a/addon/doxywizard/inputstrlist.h +++ b/addon/doxywizard/inputstrlist.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/addon/doxywizard/qtbc.h b/addon/doxywizard/qtbc.h index b56541e..22ab1d5 100644 --- a/addon/doxywizard/qtbc.h +++ b/addon/doxywizard/qtbc.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/addon/doxywizard/version.h b/addon/doxywizard/version.h index 9dfec1f..e336930 100644 --- a/addon/doxywizard/version.h +++ b/addon/doxywizard/version.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/configure b/configure index e97ddc3..6590f8f 100755 --- a/configure +++ b/configure @@ -2,7 +2,7 @@ # # $Id$ # -# Copyright (C) 1997-2005 by Dimitri van Heesch. +# Copyright (C) 1997-2008 by Dimitri van Heesch. # # Permission to use, copy, modify, and distribute this software and its # documentation under the terms of the GNU General Public License is hereby @@ -20,7 +20,7 @@ doxygen_version_minor=5 doxygen_version_revision=4 #NOTE: Setting version_mmn to "NO" will omit mmn info from the package. -doxygen_version_mmn=NO +doxygen_version_mmn=20080101 bin_dirs=`echo $PATH | sed -e "s/:/ /g"` @@ -159,9 +159,6 @@ if test -z "$f_platform"; then if test "$f_insttool" = NO; then f_insttool=/usr/bin/install fi - if test -n "`ls /Developer/SDKs/MacOSX10.*u.sdk`"; then - f_platform=macosx-uni-c++ - fi ;; FreeBSD:*) f_platform=freebsd-g++ @@ -516,6 +513,21 @@ if test "$f_platform" = "hpux-g++"; then TMAKE_CXXFLAGS += -D_LARGEFILE_SOURCE EOF fi +if test "$f_platform" = "macosx-uni-c++"; then + if test -n "`ls /Developer/SDKs/MacOSX10.*.sdk`"; then + mac_sdk=MacOSX10.4u.sdk + fi + if test -n "`ls /Developer/SDKs/MacOSX10.5*.sdk`"; then + mac_sdk=MacOSX10.5.sdk + fi + if test -n $mac_sdk; then + cat >> .tmakeconfig <> .tmakeconfig <); chomp @l; - @allowed=(split(/,/,"NL,SE,CZ,FR,ID,IT,DE,JP,JE,ES,FI,RU,HR,PL,PT,HU,KR,KE,RO,SI,CN,NO,BR,DK,SK,UA,GR,TW,SR,CA,LT,ZA,AR,FA")); + @allowed=(split(/,/,"NL,SE,CZ,FR,ID,IT,DE,JP,JE,ES,FI,RU,HR,PL,PT,HU,KR,KE,RO,SI,CN,NO,MK,BR,DK,SK,UA,GR,TW,SR,CA,LT,ZA,AR,FA")); foreach my $elem (@l){ $elem =~ tr/a-z/A-Z/; $r=0; diff --git a/doc/Makefile.in b/doc/Makefile.in index 0a9341b..4b9e623 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -1,7 +1,7 @@ # # # -# Copyright (C) 1997-2007 by Dimitri van Heesch. +# Copyright (C) 1997-2008 by Dimitri van Heesch. # # Permission to use, copy, modify, and distribute this software and its # documentation under the terms of the GNU General Public License is hereby diff --git a/doc/Makefile.win_make.in b/doc/Makefile.win_make.in index 27d60ae..d79450b 100644 --- a/doc/Makefile.win_make.in +++ b/doc/Makefile.win_make.in @@ -1,7 +1,7 @@ # # # -# Copyright (C) 1997-2007 by Dimitri van Heesch. +# Copyright (C) 1997-2008 by Dimitri van Heesch. # # Permission to use, copy, modify, and distribute this software and its # documentation under the terms of the GNU General Public License is hereby diff --git a/doc/Makefile.win_nmake.in b/doc/Makefile.win_nmake.in index 560141f..28c326a 100644 --- a/doc/Makefile.win_nmake.in +++ b/doc/Makefile.win_nmake.in @@ -1,7 +1,7 @@ # # # -# Copyright (C) 1997-2007 by Dimitri van Heesch. +# Copyright (C) 1997-2008 by Dimitri van Heesch. # # Permission to use, copy, modify, and distribute this software and its # documentation under the terms of the GNU General Public License is hereby diff --git a/doc/arch.doc b/doc/arch.doc index 9f06ac4..d257169 100644 --- a/doc/arch.doc +++ b/doc/arch.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/autolink.doc b/doc/autolink.doc index abd37b0..96ce3bc 100644 --- a/doc/autolink.doc +++ b/doc/autolink.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/commands.doc b/doc/commands.doc index de3cf0a..05f812f 100644 --- a/doc/commands.doc +++ b/doc/commands.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/config.doc b/doc/config.doc index 029583a..4b6b949 100644 --- a/doc/config.doc +++ b/doc/config.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -79,6 +79,8 @@ followed by the descriptions of the tags grouped by category. \refitem cfg_directory_graph DIRECTORY_GRAPH \refitem cfg_disable_index DISABLE_INDEX \refitem cfg_distribute_group_doc DISTRIBUTE_GROUP_DOC +\refitem cfg_docset_bundle_id DOCSET_BUNDLE_ID +\refitem cfg_docset_feedname DOCSET_FEEDNAME \refitem cfg_dot_graph_max_nodes DOT_GRAPH_MAX_NODES \refitem cfg_dot_image_format DOT_IMAGE_FORMAT \refitem cfg_dot_multi_targets DOT_MULTI_TARGETS @@ -114,6 +116,7 @@ followed by the descriptions of the tags grouped by category. \refitem cfg_generate_buglist GENERATE_BUGLIST \refitem cfg_generate_chi GENERATE_CHI \refitem cfg_generate_deprecatedlist GENERATE_DEPRECIATEDLIST +\refitem cfg_generate_docset GENERATE_DOCSET \refitem cfg_generate_html GENERATE_HTML \refitem cfg_generate_htmlhelp GENERATE_HTMLHELP \refitem cfg_generate_latex GENERATE_LATEX @@ -169,8 +172,10 @@ followed by the descriptions of the tags grouped by category. \refitem cfg_max_initializer_lines MAX_INITIALIZER_LINES \refitem cfg_mscgen_path MSCGEN_PATH \refitem cfg_multiline_cpp_is_brief MULTILINE_CPP_IS_BRIEF +\refitem cfg_optimize_for_fortran OPTIMIZE_FOR_FORTRAN \refitem cfg_optimize_output_for_c OPTIMIZE_OUTPUT_FOR_C \refitem cfg_optimize_output_java OPTIMIZE_OUTPUT_JAVA +\refitem cfg_optimize_output_vhdl OPTIMIZE_OUTPUT_VHDL \refitem cfg_output_directory OUTPUT_DIRECTORY \refitem cfg_output_language OUTPUT_LANGUAGE \refitem cfg_paper_type PAPER_TYPE @@ -514,6 +519,18 @@ followed by the descriptions of the tags grouped by category. for that language. For instance, namespaces will be presented as packages, qualified scopes will look different, etc. +\anchor cfg_optimize_for_fortran +
\c OPTIMIZE_FOR_FORTRAN
+ \addindex OPTIMIZE_FOR_FORTRAN +Set the \c OPTIMIZE_FOR_FORTRAN tag to \c YES if your project consists of Fortran +sources. Doxygen will then generate output that is tailored for Fortran. + +\anchor cfg_optimize_output_vhdl +
\c OPTIMIZE_OUTPUT_VHDL
+ \addindex OPTIMIZE_OUTPUT_VHDL +Set the \c OPTIMIZE_OUTPUT_VHDL tag to \c YES if your project consists of VHDL +sources. Doxygen will then generate output that is tailored for VHDL. + \anchor cfg_subgrouping
\c SUBGROUPING
\addindex SUBGROUPING @@ -1179,6 +1196,35 @@ FILE_VERSION_INFO = "cleartool desc -fmt \%Vn" and you can search for words in the documentation. The HTML workshop also contains a viewer for compressed HTML files. +\anchor cfg_generate_docset +
\c GENERATE_DOCSET
+ \addindex GENERATE_DOCSET + If the \c GENERATE_DOCSET tag is set to \c YES, additional index files + will be generated that can be used as input for + Apple's Xcode 3 + integrated development environment, introduced with OSX 10.5 (Leopard). + To create a documentation set, doxygen will generate a Makefile in the + HTML output directory. Running \c make will produce the docset in that + directory and running make install will install the docset in + ~/Library/Developer/Shared/Documentation/DocSets + so that Xcode will find it at startup. + + +\anchor cfg_docset_feedname +
\c DOCSET_FEEDNAME
+ \addindex DOCSET_FEEDNAME + When \c GENERATE_DOCSET tag is set to \c YES, this tag determines the name of the + feed. A documentation feed provides an umbrella under which multiple + documentation sets from a single provider (such as a company or product suite) + can be grouped. + +\anchor cfg_docset_bundle_id +
\c DOCSET_BUNDLE_ID
+ When \c GENERATE_DOCSET tag is set to \c YES, this tag specifies a string that + should uniquely identify the documentation set bundle. This should be a + reverse domain-name style string, e.g. com.mycompany.MyDocSet. + Doxygen will append .docset to the name. + \anchor cfg_html_dynamic_sections
\c HTML_DYNAMIC_SECTIONS
\addindex HTML_DYNAMIC_SECTIONS @@ -1817,7 +1863,7 @@ TAGFILES = file1=loc1 "file2 = loc2" ... becomes larger than this value, doxygen will truncate the graph, which is visualized by representing a node as a red box. Note that doxygen if the number of direct children of the root node in a graph is already larger than - \c MAX_DOT_GRAPH_NOTES then the graph will not be shown at all. Also note + \c DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note that the size of a graph can be further restricted by \c MAX_DOT_GRAPH_DEPTH. \anchor cfg_max_dot_graph_depth @@ -1855,7 +1901,7 @@ TAGFILES = file1=loc1 "file2 = loc2" ...
\c DOT_TRANSPARENT
\addindex DOT_TRANSPARENT Set the \c DOT_TRANSPARENT tag to \c YES to generate images with a transparent - background. This is disabled by default, which results in a white background. + background. This is enabled by default, which results in a transparent background. Warning: Depending on the platform used, enabling this option may lead to badly anti-aliased labels on the edges of a graph (i.e. they become hard to read). diff --git a/doc/custcmd.doc b/doc/custcmd.doc index 15b7d06..4c0a885 100644 --- a/doc/custcmd.doc +++ b/doc/custcmd.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/diagrams.doc b/doc/diagrams.doc index 88a1dfc..f060bd9 100644 --- a/doc/diagrams.doc +++ b/doc/diagrams.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/docblocks.doc b/doc/docblocks.doc index 9ed876e..5ebdf7b 100644 --- a/doc/docblocks.doc +++ b/doc/docblocks.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -20,9 +20,9 @@ A special documentation block is a C or C++ style comment block with some additional markings, so doxygen knows it is a piece of documentation that -needs to end up in the generated documentation. For Python code there is -a different comment convention, which can be found in section -\ref pythonblocks +needs to end up in the generated documentation. For Python and VHDL +code there are a different comment conventions, which can be found in section +\ref pythonblocks and \ref vhdlblocks respectively. For each code item there are two (or in some cases three) types of descriptions, which together form the documentation: a \e brief description and \e detailed @@ -414,4 +414,30 @@ Go to the next section or return to the index. \endhtmlonly +\section vhdlblocks Special documentation blocks in VHDL + +For VHDL a comment normally start with "--". Doxygen will extract comments +starting with "--!". There are only two types of comment blocks in VHDL; +a one line --! comment representing a brief description, and a multiline +--! comment (where the --! prefix is repeated for each line) representing +a detailed description. + +Comments are always located in front of the item that is being documented +with one exception: for ports the comment can also be after the item +and is then treated as a brief description for the port. + +Here is an example VHDL file with doxygen comments: + +\include mux.vhdl + \htmlonly + Click here + for the corresponding HTML documentation that is generated by doxygen. + \endhtmlonly + +To get proper looking output you need to set +\ref cfg_optimize_output_vhdl "OPTIMIZE_OUTPUT_VHDL" to \c YES in the +config file. This will also affect a number of other settings. When they +were not already set correctly doxygen will produce a warning telling which +settings where overruled. + */ diff --git a/doc/doxygen_usage.doc b/doc/doxygen_usage.doc index 5fc3d9e..e74ae1b 100644 --- a/doc/doxygen_usage.doc +++ b/doc/doxygen_usage.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/doxytag_usage.doc b/doc/doxytag_usage.doc index 0f2b019..4c39ad1 100644 --- a/doc/doxytag_usage.doc +++ b/doc/doxytag_usage.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/doxywizard_usage.doc b/doc/doxywizard_usage.doc index 671b64f..1980bb5 100644 --- a/doc/doxywizard_usage.doc +++ b/doc/doxywizard_usage.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/external.doc b/doc/external.doc index 0344c1d..f871fc8 100644 --- a/doc/external.doc +++ b/doc/external.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/faq.doc b/doc/faq.doc index 51f3c24..e108d9b 100644 --- a/doc/faq.doc +++ b/doc/faq.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/features.doc b/doc/features.doc index 1936b74..bfc62b5 100644 --- a/doc/features.doc +++ b/doc/features.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/formulas.doc b/doc/formulas.doc index 0e35932..aa2ef91 100644 --- a/doc/formulas.doc +++ b/doc/formulas.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/grouping.doc b/doc/grouping.doc index 3762687..766109d 100644 --- a/doc/grouping.doc +++ b/doc/grouping.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/history.doc b/doc/history.doc index f106d33..bd20095 100644 --- a/doc/history.doc +++ b/doc/history.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/htmlcmds.doc b/doc/htmlcmds.doc index d190204..3dd38c2 100644 --- a/doc/htmlcmds.doc +++ b/doc/htmlcmds.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/index.doc b/doc/index.doc index 25a58f1..ac0597e 100644 --- a/doc/index.doc +++ b/doc/index.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -27,7 +27,7 @@ Version: $(VERSION)

Introduction

Doxygen is a documentation system for C++, C, Java, Objective-C, Python, IDL -(Corba and Microsoft flavors) and to some extent PHP, C#, and D. +(Corba and Microsoft flavors), Fortran, VHDL, PHP, C#, and to some extend D. It can help you in three ways:
    @@ -116,7 +116,7 @@ The third part provides information for developers: \addindex license \addindex GPL -Copyright © 1997-2007 by +Copyright © 1997-2008 by Dimitri van Heesch.

    Permission to use, copy, modify, and distribute this software and its diff --git a/doc/install.doc b/doc/install.doc index e29076d..ec3f727 100644 --- a/doc/install.doc +++ b/doc/install.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/installdox_usage.doc b/doc/installdox_usage.doc index 7d6e290..59057b1 100644 --- a/doc/installdox_usage.doc +++ b/doc/installdox_usage.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/language.doc b/doc/language.doc index df12e1c..411393c 100644 --- a/doc/language.doc +++ b/doc/language.doc @@ -23,13 +23,14 @@ text fragments, generated by doxygen, can be produced in languages other than English (the default). The output language is chosen through the configuration file (with default name and known as Doxyfile). -Currently (version 1.5.3), 33 languages +Currently (version 1.5.4), 34 languages are supported (sorted alphabetically): Afrikaans, Arabic, Brazilian Portuguese, Catalan, Chinese, Chinese Traditional, Croatian, Czech, Danish, Dutch, English, Finnish, French, German, Greek, Hungarian, Indonesian, Italian, Japanese (+En), Korean -(+En), Lithuanian, Norwegian, Persian, Polish, Portuguese, Romanian, -Russian, Serbian, Slovak, Slovene, Spanish, Swedish, and Ukrainian.. +(+En), Lithuanian, Macedonian, Norwegian, Persian, Polish, Portuguese, +Romanian, Russian, Serbian, Slovak, Slovene, Spanish, Swedish, and +Ukrainian.. The table of information related to the supported languages follows. It is sorted by language alphabetically. The Status column @@ -66,19 +67,19 @@ when the translator was updated. Brazilian Portuguese Fabio "FJTC" Jun Takada Chino jun-chino at uol dot com dot br - up-to-date + 1.5.4 Catalan Maximiliano Pin
    Albert Mora mcpin at emtesistemas dot com
    amora at iua dot upf dot es - up-to-date + 1.5.4 Chinese Li Daobing
    Wei Liu lidaobing at gmail dot com
    liuwei at asiainfo dot com - up-to-date + 1.5.4 Chinese Traditional @@ -102,7 +103,7 @@ when the translator was updated. Danish Erik Søe Sørensen eriksoe+doxygen at daimi dot au dot dk - up-to-date + 1.5.4 Dutch @@ -126,19 +127,19 @@ when the translator was updated. French Xavier Outhier xouthier at yahoo dot fr - up-to-date + 1.5.4 German Jens Seidel jensseidel at users dot sf dot net - up-to-date + 1.5.4 Greek Paul Gessos nickreserved at yahoo dot com - up-to-date + 1.5.4 Hungarian @@ -162,7 +163,7 @@ when the translator was updated. Japanese Ryunosuke Satoh
    Kenji Nagamatsu
    Iwasa Kazmi sun594 at hotmail dot com
    naga at joyful dot club dot ne dot jp
    iwasa at cosmo-system dot jp - up-to-date + 1.5.4 JapaneseEn @@ -189,6 +190,12 @@ when the translator was updated. 1.4.6 + Macedonian + Slave Jovanovski + slavejovanovski at yahoo dot com + 1.5.04 + + Norwegian Lars Erik Jordet lejordet at gmail dot com @@ -222,7 +229,7 @@ when the translator was updated. Russian Alexandr Chelpanov cav at cryptopro dot ru - up-to-date + 1.5.4 Serbian @@ -246,7 +253,7 @@ when the translator was updated. Spanish Bartomeu
    Francisco Oltra Thennet bartomeu at loteria3cornella dot com
    foltra at puc dot cl - up-to-date + 1.5.4 Swedish @@ -279,12 +286,12 @@ when the translator was updated. \hline Arabic & Moaz Reyad & {\tt\tiny moazreyad@yahoo.com} & 1.4.6 \\ \hline - Brazilian Portuguese & Fabio "FJTC" Jun Takada Chino & {\tt\tiny jun-chino@uol.com.br} & up-to-date \\ + Brazilian Portuguese & Fabio "FJTC" Jun Takada Chino & {\tt\tiny jun-chino@uol.com.br} & 1.5.4 \\ \hline - Catalan & Maximiliano Pin & {\tt\tiny mcpin@emtesistemas.com} & up-to-date \\ + Catalan & Maximiliano Pin & {\tt\tiny mcpin@emtesistemas.com} & 1.5.4 \\ ~ & Albert Mora & {\tt\tiny amora@iua.upf.es} & ~ \\ \hline - Chinese & Li Daobing & {\tt\tiny lidaobing@gmail.com} & up-to-date \\ + Chinese & Li Daobing & {\tt\tiny lidaobing@gmail.com} & 1.5.4 \\ ~ & Wei Liu & {\tt\tiny liuwei@asiainfo.com} & ~ \\ \hline Chinese Traditional & Daniel YC Lin & {\tt\tiny dlin@taifex.com.tw} & 1.4.6 \\ @@ -294,7 +301,7 @@ when the translator was updated. \hline Czech & Petr P\v{r}ikryl & {\tt\tiny prikrylp@skil.cz} & up-to-date \\ \hline - Danish & Erik S\o{}e S\o{}rensen & {\tt\tiny eriksoe+doxygen@daimi.au.dk} & up-to-date \\ + Danish & Erik S\o{}e S\o{}rensen & {\tt\tiny eriksoe+doxygen@daimi.au.dk} & 1.5.4 \\ \hline Dutch & Dimitri van Heesch & {\tt\tiny dimitri@stack.nl} & up-to-date \\ \hline @@ -302,11 +309,11 @@ when the translator was updated. \hline Finnish & Olli Korhonen & {\tt\tiny olli.korhonen lost@cyberspace} & obsolete \\ \hline - French & Xavier Outhier & {\tt\tiny xouthier@yahoo.fr} & up-to-date \\ + French & Xavier Outhier & {\tt\tiny xouthier@yahoo.fr} & 1.5.4 \\ \hline - German & Jens Seidel & {\tt\tiny jensseidel@users.sf.net} & up-to-date \\ + German & Jens Seidel & {\tt\tiny jensseidel@users.sf.net} & 1.5.4 \\ \hline - Greek & Paul Gessos & {\tt\tiny nickreserved@yahoo.com} & up-to-date \\ + Greek & Paul Gessos & {\tt\tiny nickreserved@yahoo.com} & 1.5.4 \\ \hline Hungarian & \'{A}kos Kiss & {\tt\tiny akiss@users.sourceforge.net} & 1.4.6 \\ ~ & F\"{o}ldv\'{a}ri Gy\"{o}rgy & {\tt\tiny foldvari lost@cyberspace} & ~ \\ @@ -316,7 +323,7 @@ when the translator was updated. Italian & Alessandro Falappa & {\tt\tiny alessandro@falappa.net} & up-to-date \\ ~ & Ahmed Aldo Faisal & {\tt\tiny aaf23@cam.ac.uk} & ~ \\ \hline - Japanese & Ryunosuke Satoh & {\tt\tiny sun594@hotmail.com} & up-to-date \\ + Japanese & Ryunosuke Satoh & {\tt\tiny sun594@hotmail.com} & 1.5.4 \\ ~ & Kenji Nagamatsu & {\tt\tiny naga@joyful.club.ne.jp} & ~ \\ ~ & Iwasa Kazmi & {\tt\tiny iwasa@cosmo-system.jp} & ~ \\ \hline @@ -332,6 +339,8 @@ when the translator was updated. ~ & Mindaugas Radzius & {\tt\tiny mindaugasradzius@takas.lt} & ~ \\ ~ & Aidas Berukstis & {\tt\tiny aidasber@takas.lt} & ~ \\ \hline + Macedonian & Slave Jovanovski & {\tt\tiny slavejovanovski@yahoo.com} & 1.5.04 \\ + \hline Norwegian & Lars Erik Jordet & {\tt\tiny lejordet@gmail.com} & 1.4.6 \\ \hline Persian & Ali Nadalizadeh & {\tt\tiny nadalisoft@yahoo.com} & 1.4.6 \\ @@ -343,7 +352,7 @@ when the translator was updated. \hline Romanian & Alexandru Iosup & {\tt\tiny aiosup@yahoo.com} & 1.4.1 \\ \hline - Russian & Alexandr Chelpanov & {\tt\tiny cav@cryptopro.ru} & up-to-date \\ + Russian & Alexandr Chelpanov & {\tt\tiny cav@cryptopro.ru} & 1.5.4 \\ \hline Serbian & Dejan Milosavljevic & {\tt\tiny dmilos@email.com} & 1.4.1 \\ \hline @@ -351,7 +360,7 @@ when the translator was updated. \hline Slovene & Matja\v{z} Ostrover\v{s}nik & {\tt\tiny matjaz.ostroversnik@ostri.org} & 1.4.6 \\ \hline - Spanish & Bartomeu & {\tt\tiny bartomeu@loteria3cornella.com} & up-to-date \\ + Spanish & Bartomeu & {\tt\tiny bartomeu@loteria3cornella.com} & 1.5.4 \\ ~ & Francisco Oltra Thennet & {\tt\tiny foltra@puc.cl} & ~ \\ \hline Swedish & Mikael Hallin & {\tt\tiny mikaelhallin@yahoo.se} & 1.4.6 \\ diff --git a/doc/maintainers.txt b/doc/maintainers.txt index 936f6bb..4f622e6 100644 --- a/doc/maintainers.txt +++ b/doc/maintainers.txt @@ -86,6 +86,9 @@ Aidas Berukstis: aidasber@takas.lt TranslatorNorwegian Lars Erik Jordet: lejordet@gmail.com +TranslatorMacedonian +Slave Jovanovski: slavejovanovski@yahoo.com + TranslatorPersian Ali Nadalizadeh: nadalisoft@yahoo.com @@ -121,4 +124,3 @@ Mikael Hallin: mikaelhallin@yahoo.se TranslatorUkrainian Olexij Tkatchenko: olexij.tkatchenko@parcs.de - diff --git a/doc/output.doc b/doc/output.doc index 21664ba..225d796 100644 --- a/doc/output.doc +++ b/doc/output.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/preprocessing.doc b/doc/preprocessing.doc index 69cc477..aa25ff6 100644 --- a/doc/preprocessing.doc +++ b/doc/preprocessing.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/starting.doc b/doc/starting.doc index 8bb32e4..29ebc39 100644 --- a/doc/starting.doc +++ b/doc/starting.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/translator_report.txt b/doc/translator_report.txt index 9222fd1..6605eb2 100644 --- a/doc/translator_report.txt +++ b/doc/translator_report.txt @@ -1,38 +1,29 @@ -(1.5.3) +(1.5.4) -Doxygen supports the following 33 languages (sorted alphabetically): +Doxygen supports the following 34 languages (sorted alphabetically): Afrikaans, Arabic, Brazilian Portuguese, Catalan, Chinese, Chinese Traditional, Croatian, Czech, Danish, Dutch, English, Finnish, French, German, Greek, Hungarian, Indonesian, Italian, Japanese (+En), Korean -(+En), Lithuanian, Norwegian, Persian, Polish, Portuguese, Romanian, -Russian, Serbian, Slovak, Slovene, Spanish, Swedish, and Ukrainian. +(+En), Lithuanian, Macedonian, Norwegian, Persian, Polish, Portuguese, +Romanian, Russian, Serbian, Slovak, Slovene, Spanish, Swedish, and +Ukrainian. -Of them, 16 translators are up-to-date, 17 translators are based on +Of them, 6 translators are up-to-date, 28 translators are based on some adapter class, and 2 are English based. ---------------------------------------------------------------------- The following translator classes are up-to-date (sorted alphabetically). This means that they derive from the Translator class -and they implement all 194 of the required methods. Anyway, there +and they implement all 216 of the required methods. Anyway, there still may be some details listed even for them: - TranslatorBrazilian - TranslatorCatalan - TranslatorChinese - TranslatorCroatian -- The "translate me!" found in a comment. + TranslatorCroatian TranslatorCzech - TranslatorDanish -- The "translate me!" found in a comment. TranslatorDutch TranslatorEnglish - TranslatorFrench - TranslatorGerman -- The "translate me!" found in a comment. - TranslatorGreek -- The "translate me!" found in a comment. - TranslatorItalian -- The "translate me!" found in a comment. - TranslatorJapanese -- Remove the obsolete methods (never used). + TranslatorItalian TranslatorKorean - TranslatorRussian -- The "translate me!" found in a comment. - TranslatorSpanish ---------------------------------------------------------------------- The following translator classes need some maintenance (the most @@ -40,23 +31,36 @@ obsolete at the end). The other info shows the estimation of Doxygen version when the class was last updated and number of methods that must be implemented to become up-to-date: - TranslatorSwedish 1.4.6 2 methods to implement - TranslatorSlovene 1.4.6 2 methods to implement - TranslatorPolish 1.4.6 1 method to implement - TranslatorPersian 1.4.6 1 method to implement - TranslatorNorwegian 1.4.6 1 method to implement - TranslatorLithuanian 1.4.6 2 methods to implement - TranslatorIndonesian 1.4.6 1 method to implement - TranslatorHungarian 1.4.6 2 methods to implement - TranslatorChinesetraditional 1.4.6 1 method to implement - TranslatorArabic 1.4.6 1 method to implement - TranslatorAfrikaans 1.4.6 2 methods to implement - TranslatorUkrainian 1.4.1 2 methods to implement - TranslatorSerbian 1.4.1 2 methods to implement - TranslatorRomanian 1.4.1 2 methods to implement - TranslatorPortuguese 1.3.3 13 methods to implement - TranslatorSlovak 1.2.18 22 methods to implement - TranslatorFinnish obsolete 96 methods to implement + TranslatorSpanish 1.5.4 22 methods to implement + TranslatorRussian 1.5.4 22 methods to implement + TranslatorMacedonian 1.5.04 22 methods to implement + Note: Change the base class to TranslatorAdapter_1_5_4. + + TranslatorJapanese 1.5.4 22 methods to implement + TranslatorGreek 1.5.4 22 methods to implement + TranslatorGerman 1.5.4 22 methods to implement + TranslatorFrench 1.5.4 22 methods to implement + TranslatorDanish 1.5.4 22 methods to implement + TranslatorChinese 1.5.4 22 methods to implement + TranslatorCatalan 1.5.4 22 methods to implement + TranslatorBrazilian 1.5.4 1 method to implement + TranslatorSwedish 1.4.6 24 methods to implement + TranslatorSlovene 1.4.6 24 methods to implement + TranslatorPolish 1.4.6 23 methods to implement + TranslatorPersian 1.4.6 23 methods to implement + TranslatorNorwegian 1.4.6 23 methods to implement + TranslatorLithuanian 1.4.6 24 methods to implement + TranslatorIndonesian 1.4.6 23 methods to implement + TranslatorHungarian 1.4.6 24 methods to implement + TranslatorChinesetraditional 1.4.6 23 methods to implement + TranslatorArabic 1.4.6 23 methods to implement + TranslatorAfrikaans 1.4.6 24 methods to implement + TranslatorUkrainian 1.4.1 24 methods to implement + TranslatorSerbian 1.4.1 24 methods to implement + TranslatorRomanian 1.4.1 24 methods to implement + TranslatorPortuguese 1.3.3 35 methods to implement + TranslatorSlovak 1.2.18 44 methods to implement + TranslatorFinnish obsolete 118 methods to implement ---------------------------------------------------------------------- The following translator classes derive directly from the @@ -72,25 +76,69 @@ Details for translators (classes sorted alphabetically): -TranslatorAfrikaans (TranslatorAdapter_1_4_6) 2 methods to implement +TranslatorAfrikaans (TranslatorAdapter_1_4_6) 24 methods to implement ------------------- Implements 192 of the required methods. Missing methods (should be implemented): + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) virtual QCString trCallerGraph() virtual QCString trEnumerationValueDocumentation() + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() -TranslatorArabic (TranslatorAdapter_1_4_6) 1 method to implement +TranslatorArabic (TranslatorAdapter_1_4_6) 23 methods to implement ---------------- Implements 193 of the required methods. Missing methods (should be implemented): + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) virtual QCString trCallerGraph() + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() Obsolete methods (should be removed, never used): @@ -105,14 +153,112 @@ TranslatorArabic (TranslatorAdapter_1_4_6) 1 method to implement virtual QCString trNoDescriptionAvailable() -TranslatorChinesetraditional (TranslatorAdapter_1_4_6) 1 method to implement +TranslatorBrazilian (TranslatorAdapter_1_5_4) 1 method to implement +------------------- + + Implements 215 of the required methods. + + Missing methods (should be implemented): + + virtual QCString trTypeConstraints() + + Obsolete methods (should be removed, never used): + + virtual QCString trTypeContraints() + + +TranslatorCatalan (TranslatorAdapter_1_5_4) 22 methods to implement +----------------- + + Implements 194 of the required methods. + + Missing methods (should be implemented): + + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() + + +TranslatorChinese (TranslatorAdapter_1_5_4) 22 methods to implement +----------------- + + Implements 194 of the required methods. + + Missing methods (should be implemented): + + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() + + +TranslatorChinesetraditional (TranslatorAdapter_1_4_6) 23 methods to implement ---------------------------- Implements 193 of the required methods. Missing methods (should be implemented): + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) virtual QCString trCallerGraph() + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() Obsolete methods (should be removed, never used): @@ -127,19 +273,38 @@ TranslatorChinesetraditional (TranslatorAdapter_1_4_6) 1 method to implement virtual QCString trNoDescriptionAvailable() -TranslatorCroatian (Translator) ------------------- - - Implements 194 of the required methods. - - -TranslatorDanish (Translator) +TranslatorDanish (TranslatorAdapter_1_5_4) 22 methods to implement ---------------- Implements 194 of the required methods. + Missing methods (should be implemented): -TranslatorFinnish (TranslatorEnglish) 96 methods to implement + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() + + +TranslatorFinnish (TranslatorEnglish) 118 methods to implement ----------------- Implements 98 of the required methods. @@ -150,42 +315,54 @@ TranslatorFinnish (TranslatorEnglish) 96 methods to implement virtual QCString trPropertyDocumentation() virtual QCString trMember(bool first_capital, bool singular) virtual QCString trPageIndex() + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) virtual QCString trOverloadText() virtual QCString trSince() virtual QCString trEventDocumentation() virtual QCString trDirIndex() virtual QCString trRemarks() virtual QCString trProtectedTypes() + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) virtual QCString trFile(bool first_capital, bool singular) virtual QCString trPackages() virtual QCString trInclByDepGraph() virtual QCString trRTFansicp() virtual QCString trImplementedFromList(int numEntries) + virtual QCString trSubprograms() virtual QCString trCollaborationDiagram(const char * clName) virtual QCString trPackageListDescription() virtual QCString trDefineValue() virtual QCString trPackageMembers() virtual QCString trStaticPackageMembers() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() virtual QCString trDirDocumentation() virtual QCString trPackage(const char * name) virtual QCString trPublicTypes() virtual QCString trSearchResultsTitle() virtual QCString trDirectories() virtual QCString trTest() + virtual QCString trTypeConstraints() virtual QCString trInvariant() virtual QCString trDeprecatedList() virtual QCString trGraphicalHierarchy() virtual QCString trPostcondition() virtual QCString trGotoGraphicalHierarchy() virtual QCString trPageAbbreviation() + virtual QCString trMemberFunctionDocumentationFortran() virtual QCString trDirDescription() virtual QCString trGotoSourceCode() virtual QCString trStaticPackageAttribs() + virtual QCString trCompoundListDescriptionFortran() virtual QCString trCallGraph() virtual QCString trStaticPublicAttribs() virtual QCString trCode() virtual QCString trTodo() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) virtual QCString trRTFCharSet() + virtual QCString trModulesMembers() virtual QCString trInitialValue() virtual QCString trAlphabeticalList() virtual QCString trBug() @@ -193,12 +370,15 @@ TranslatorFinnish (TranslatorEnglish) 96 methods to implement virtual QCString trStaticPrivateAttribs() virtual QCString trAttention() virtual QCString trGotoTextualHierarchy() + virtual QCString trModulesIndex() virtual QCString trPackageTypes() virtual QCString trMainPage() virtual QCString trDeprecated() + virtual QCString trCompoundListFortran() virtual QCString trClass(bool first_capital, bool singular) virtual QCString trImplementedInList(int numEntries) virtual QCString trPrivateTypes() + virtual QCString trDataTypes() virtual QCString trInclDepGraph(const char * fName) virtual QCString trSearchResults(int numDocuments) virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType, bool single) @@ -213,6 +393,8 @@ TranslatorFinnish (TranslatorEnglish) 96 methods to implement virtual QCString trClasses() virtual QCString trProtectedAttribs() virtual QCString trLegendTitle() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) virtual QCString trEvents() virtual QCString trGlobal(bool first_capital, bool singular) virtual QCString trDCOPMethods() @@ -223,13 +405,17 @@ TranslatorFinnish (TranslatorEnglish) 96 methods to implement virtual QCString trNamespace(bool first_capital, bool singular) virtual QCString trTestList() virtual QCString trPrecondition() + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) virtual QCString trReturnValues() virtual QCString trReferences() + virtual QCString trType(bool first_capital, bool singular) virtual QCString trAuthor(bool first_capital, bool singular) virtual QCString trLegendDocs() + virtual QCString trModule(bool first_capital, bool singular) virtual QCString trPackageList() virtual QCString trTodoList() virtual QCString trPage(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() virtual QCString trSourceFile(QCString & filename) virtual QCString trGotoDocumentation() virtual QCString trDefinedAtLineInSourceFile() @@ -237,6 +423,7 @@ TranslatorFinnish (TranslatorEnglish) 96 methods to implement virtual QCString trDir(bool first_capital, bool singular) virtual QCString trSearchForIndex() virtual QCString trAll() + virtual QCString trSubprogramDocumentation() virtual QCString trRTFTableOfContents() virtual QCString trGroup(bool first_capital, bool singular) virtual QCString trReferencedBy() @@ -255,17 +442,98 @@ TranslatorFinnish (TranslatorEnglish) 96 methods to implement QCString trNoDescriptionAvailable() -TranslatorGerman (Translator) +TranslatorFrench (TranslatorAdapter_1_5_4) 22 methods to implement ---------------- Implements 194 of the required methods. + Missing methods (should be implemented): -TranslatorGreek (Translator) + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() + + +TranslatorGerman (TranslatorAdapter_1_5_4) 22 methods to implement +---------------- + + Implements 194 of the required methods. + + Missing methods (should be implemented): + + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() + + +TranslatorGreek (TranslatorAdapter_1_5_4) 22 methods to implement --------------- Implements 194 of the required methods. + Missing methods (should be implemented): + + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() + Obsolete methods (should be removed, never used): virtual QCString trHeaderFilesDescription() @@ -279,25 +547,69 @@ TranslatorGreek (Translator) virtual QCString trNoDescriptionAvailable() -TranslatorHungarian (TranslatorAdapter_1_4_6) 2 methods to implement +TranslatorHungarian (TranslatorAdapter_1_4_6) 24 methods to implement ------------------- Implements 192 of the required methods. Missing methods (should be implemented): + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) virtual QCString trCallerGraph() virtual QCString trEnumerationValueDocumentation() + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() -TranslatorIndonesian (TranslatorAdapter_1_4_6) 1 method to implement +TranslatorIndonesian (TranslatorAdapter_1_4_6) 23 methods to implement -------------------- Implements 193 of the required methods. Missing methods (should be implemented): + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) virtual QCString trCallerGraph() + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() Obsolete methods (should be removed, never used): @@ -312,16 +624,35 @@ TranslatorIndonesian (TranslatorAdapter_1_4_6) 1 method to implement virtual QCString trNoDescriptionAvailable() -TranslatorItalian (Translator) ------------------ +TranslatorJapanese (TranslatorAdapter_1_5_4) 22 methods to implement +------------------ Implements 194 of the required methods. + Missing methods (should be implemented): -TranslatorJapanese (Translator) ------------------- - - Implements 194 of the required methods. + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() Obsolete methods (should be removed, never used): @@ -336,7 +667,7 @@ TranslatorJapanese (Translator) virtual QCString trNoDescriptionAvailable() -TranslatorJapaneseEn (TranslatorEnglish) 189 methods to implement +TranslatorJapaneseEn (TranslatorEnglish) 211 methods to implement -------------------- Implements 5 of the required methods. @@ -350,7 +681,7 @@ TranslatorJapaneseEn (TranslatorEnglish) 189 methods to implement virtual QCString latexLanguageSupportCommand() -TranslatorKoreanEn (TranslatorEnglish) 189 methods to implement +TranslatorKoreanEn (TranslatorEnglish) 211 methods to implement ------------------ Implements 5 of the required methods. @@ -364,25 +695,100 @@ TranslatorKoreanEn (TranslatorEnglish) 189 methods to implement virtual QCString latexLanguageSupportCommand() -TranslatorLithuanian (TranslatorAdapter_1_4_6) 2 methods to implement +TranslatorLithuanian (TranslatorAdapter_1_4_6) 24 methods to implement -------------------- Implements 192 of the required methods. Missing methods (should be implemented): + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) virtual QCString trCallerGraph() virtual QCString trEnumerationValueDocumentation() + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() + + +TranslatorMacedonian (TranslatorAdapter_1_4_6) 22 methods to implement +-------------------- + Implements 194 of the required methods. + + Missing methods (should be implemented): -TranslatorNorwegian (TranslatorAdapter_1_4_6) 1 method to implement + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() + + +TranslatorNorwegian (TranslatorAdapter_1_4_6) 23 methods to implement ------------------- Implements 193 of the required methods. Missing methods (should be implemented): + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) virtual QCString trCallerGraph() + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() Obsolete methods (should be removed, never used): @@ -397,14 +803,36 @@ TranslatorNorwegian (TranslatorAdapter_1_4_6) 1 method to implement virtual QCString trNoDescriptionAvailable() -TranslatorPersian (TranslatorAdapter_1_4_6) 1 method to implement +TranslatorPersian (TranslatorAdapter_1_4_6) 23 methods to implement ----------------- Implements 193 of the required methods. Missing methods (should be implemented): + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) virtual QCString trCallerGraph() + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() Obsolete methods (should be removed, never used): @@ -419,14 +847,36 @@ TranslatorPersian (TranslatorAdapter_1_4_6) 1 method to implement virtual QCString trNoDescriptionAvailable() -TranslatorPolish (TranslatorAdapter_1_4_6) 1 method to implement +TranslatorPolish (TranslatorAdapter_1_4_6) 23 methods to implement ---------------- Implements 193 of the required methods. Missing methods (should be implemented): + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) virtual QCString trCallerGraph() + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() Obsolete methods (should be removed, never used): @@ -441,26 +891,48 @@ TranslatorPolish (TranslatorAdapter_1_4_6) 1 method to implement QCString trNoDescriptionAvailable() -TranslatorPortuguese (TranslatorAdapter_1_3_3) 13 methods to implement +TranslatorPortuguese (TranslatorAdapter_1_3_3) 35 methods to implement -------------------- Implements 181 of the required methods. Missing methods (should be implemented): + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) virtual QCString trOverloadText() virtual QCString trDirIndex() + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() virtual QCString trDirDocumentation() virtual QCString trSearchResultsTitle() virtual QCString trDirectories() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() virtual QCString trDirDescription() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() virtual QCString trSearchResults(int numDocuments) virtual QCString trSearchMatches() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) virtual QCString trCallerGraph() + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() virtual QCString trSourceFile(QCString & filename) virtual QCString trDirReference(const char * dirName) virtual QCString trDir(bool first_capital, bool singular) virtual QCString trSearchForIndex() + virtual QCString trSubprogramDocumentation() Obsolete methods (should be removed, never used): @@ -475,15 +947,37 @@ TranslatorPortuguese (TranslatorAdapter_1_3_3) 13 methods to implement QCString trNoDescriptionAvailable() -TranslatorRomanian (TranslatorAdapter_1_4_1) 2 methods to implement +TranslatorRomanian (TranslatorAdapter_1_4_1) 24 methods to implement ------------------ Implements 192 of the required methods. Missing methods (should be implemented): + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) virtual QCString trOverloadText() + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) virtual QCString trCallerGraph() + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() Obsolete methods (should be removed, never used): @@ -498,21 +992,68 @@ TranslatorRomanian (TranslatorAdapter_1_4_1) 2 methods to implement virtual QCString trNoDescriptionAvailable() -TranslatorRussian (Translator) +TranslatorRussian (TranslatorAdapter_1_5_4) 22 methods to implement ----------------- Implements 194 of the required methods. + Missing methods (should be implemented): -TranslatorSerbian (TranslatorAdapter_1_4_1) 2 methods to implement + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() + + +TranslatorSerbian (TranslatorAdapter_1_4_1) 24 methods to implement ----------------- Implements 192 of the required methods. Missing methods (should be implemented): + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) virtual QCString trOverloadText() + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) virtual QCString trCallerGraph() + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() Obsolete methods (should be removed, never used): @@ -527,35 +1068,57 @@ TranslatorSerbian (TranslatorAdapter_1_4_1) 2 methods to implement virtual QCString trNoDescriptionAvailable() -TranslatorSlovak (TranslatorAdapter_1_2_18) 22 methods to implement +TranslatorSlovak (TranslatorAdapter_1_2_18) 44 methods to implement ---------------- Implements 172 of the required methods. Missing methods (should be implemented): + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) virtual QCString trOverloadText() virtual QCString trEventDocumentation() virtual QCString trDirIndex() + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() virtual QCString trPackageMembers() virtual QCString trStaticPackageMembers() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() virtual QCString trDirDocumentation() virtual QCString trSearchResultsTitle() virtual QCString trDirectories() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() virtual QCString trDirDescription() virtual QCString trStaticPackageAttribs() + virtual QCString trCompoundListDescriptionFortran() virtual QCString trCallGraph() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() virtual QCString trPackageTypes() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() virtual QCString trSearchResults(int numDocuments) virtual QCString trPackageAttribs() virtual QCString trSearchMatches() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) virtual QCString trEvents() virtual QCString trCallerGraph() + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() virtual QCString trSourceFile(QCString & filename) virtual QCString trDirReference(const char * dirName) virtual QCString trDir(bool first_capital, bool singular) virtual QCString trSearchForIndex() virtual QCString trAll() + virtual QCString trSubprogramDocumentation() Obsolete methods (should be removed, never used): @@ -570,37 +1133,134 @@ TranslatorSlovak (TranslatorAdapter_1_2_18) 22 methods to implement virtual QCString trNoDescriptionAvailable() -TranslatorSlovene (TranslatorAdapter_1_4_6) 2 methods to implement +TranslatorSlovene (TranslatorAdapter_1_4_6) 24 methods to implement ----------------- Implements 192 of the required methods. Missing methods (should be implemented): + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) virtual QCString trCallerGraph() virtual QCString trEnumerationValueDocumentation() + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() + + +TranslatorSpanish (TranslatorAdapter_1_5_4) 22 methods to implement +----------------- + Implements 194 of the required methods. + + Missing methods (should be implemented): -TranslatorSwedish (TranslatorAdapter_1_4_6) 2 methods to implement + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() + + +TranslatorSwedish (TranslatorAdapter_1_4_6) 24 methods to implement ----------------- Implements 192 of the required methods. Missing methods (should be implemented): + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) virtual QCString trCallerGraph() virtual QCString trEnumerationValueDocumentation() + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() -TranslatorUkrainian (TranslatorAdapter_1_4_1) 2 methods to implement +TranslatorUkrainian (TranslatorAdapter_1_4_1) 24 methods to implement ------------------- Implements 192 of the required methods. Missing methods (should be implemented): + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) virtual QCString trOverloadText() + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) + virtual QCString trSubprograms() + virtual QCString trModulesListDescription(bool extractAll) + virtual QCString trModulesList() + virtual QCString trTypeConstraints() + virtual QCString trMemberFunctionDocumentationFortran() + virtual QCString trCompoundListDescriptionFortran() + virtual QCString trTypeDocumentation() + virtual QCString trModuleReference(const char * namespaceName) + virtual QCString trModulesMemberDescription(bool extractAll) + virtual QCString trModulesMembers() + virtual QCString trModulesIndex() + virtual QCString trCompoundListFortran() + virtual QCString trDataTypes() + virtual QCString trCompoundIndexFortran() + virtual QCString trSubprogram(bool first_capital, bool singular) virtual QCString trCallerGraph() + virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) + virtual QCString trType(bool first_capital, bool singular) + virtual QCString trModule(bool first_capital, bool singular) + virtual QCString trCompoundMembersFortran() + virtual QCString trSubprogramDocumentation() Obsolete methods (should be removed, never used): diff --git a/doc/trouble.doc b/doc/trouble.doc index 343404b..ee4dfd7 100644 --- a/doc/trouble.doc +++ b/doc/trouble.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/doc/xmlcmds.doc b/doc/xmlcmds.doc index 8a446e2..5399ff8 100644 --- a/doc/xmlcmds.doc +++ b/doc/xmlcmds.doc @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/examples/Makefile.in b/examples/Makefile.in index e0c591f..1176e6d 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -23,13 +23,14 @@ all: class/html/index.html \ diagrams/html/index.html \ memgrp/html/index.html \ docstring/html/index.html \ - pyexample/html/index.html + pyexample/html/index.html \ + mux/html/index.html clean: rm -rf class define enum file func page relates author \ par overload example include qtstyle jdstyle structcmd \ autolink tag restypedef afterdoc template tag group diagrams \ - memgrp docstring pyexample + memgrp docstring pyexample mux class/html/index.html: class.h class.cfg $(DOXYGEN)/bin/doxygen class.cfg @@ -102,6 +103,9 @@ memgrp/html/index.html: memgrp.cpp memgrp.cfg pyexample/html/index.html: pyexample.py pyexample.cfg $(DOXYGEN)/bin/doxygen pyexample.cfg +mux/html/index.html: mux.vhdl mux.cfg + $(DOXYGEN)/bin/doxygen mux.cfg + docstring/html/index.html: docstring.py docstring.cfg $(DOXYGEN)/bin/doxygen docstring.cfg diff --git a/examples/Makefile.win.in b/examples/Makefile.win.in index 86e2a94..a6c6956 100644 --- a/examples/Makefile.win.in +++ b/examples/Makefile.win.in @@ -24,14 +24,15 @@ all: class/html/index.html \ diagrams/html/index.html \ memgrp/html/index.html \ docstring/html/index.html \ - pyexample/html/index.html + pyexample/html/index.html \ + mux/html/index.html clean: - deltree /y class define enum file pyexample docstring - deltree /y func page relates author - deltree /y par overload example include qtstyle - deltree /y jdstyle structcmd autolink resdefine - deltree /y restypedef afterdoc template tag group diagrams memgrp + del /s/y class define enum file pyexample docstring + del /s/y func page relates author + del /s/y par overload example include qtstyle + del /s/y jdstyle structcmd autolink resdefine mux + del /s/y restypedef afterdoc template tag group diagrams memgrp class/html/index.html: class.h class.cfg $(DOXYDIR)\doxygen class.cfg @@ -102,6 +103,9 @@ memgrp/html/index.html: memgrp.cpp memgrp.cfg pyexample/html/index.html: pyexample.py pyexample.cfg $(DOXYDIR)\doxygen pyexample.cfg +mux/html/index.html: mux.vhdl mux.cfg + $(DOXYDIR)\doxygen mux.cfg + docstring/html/index.html: docstring.py docstring.cfg $(DOXYDIR)\doxygen docstring.cfg diff --git a/examples/mux.cfg b/examples/mux.cfg new file mode 100644 index 0000000..7a64d33 --- /dev/null +++ b/examples/mux.cfg @@ -0,0 +1,13 @@ +PROJECT_NAME = Mux +OUTPUT_DIRECTORY = mux +GENERATE_LATEX = NO +GENERATE_MAN = NO +GENERATE_RTF = NO +CASE_SENSE_NAMES = NO +INPUT = mux.vhdl +OPTIMIZE_OUTPUT_VHDL = YES +QUIET = YES +INHERIT_DOCS = YES +EXTRACT_PRIVATE = YES +HIDE_SCOPE_NAMES = YES +INHERIT_DOCS = NO diff --git a/examples/mux.vhdl b/examples/mux.vhdl new file mode 100644 index 0000000..211e56e --- /dev/null +++ b/examples/mux.vhdl @@ -0,0 +1,32 @@ +------------------------------------------------------- +--! @file +--! @brief 2:1 Mux using with-select +------------------------------------------------------- + +--! Use standard library +library ieee; +--! Use logic elements + use ieee.std_logic_1164.all; + +--! Mux entity brief description + +--! Detailed description of this +--! mux design element. +entity mux_using_with is + port ( + din_0 : in std_logic; --! Mux first input + din_1 : in std_logic; --! Mux Second input + sel : in std_logic; --! Select input + mux_out : out std_logic --! Mux output + ); +end entity; + +--! @brief Architure definition of the MUX +--! @details More details about this mux element. +architecture behavior of mux_using_with is +begin + with (sel) select + mux_out <= din_0 when '0', + din_1 when others; +end architecture; + diff --git a/packages/rpm/doxygen-nodoxywizard.spec.in b/packages/rpm/doxygen-nodoxywizard.spec.in index 99cdbc3..79a36bc 100644 --- a/packages/rpm/doxygen-nodoxywizard.spec.in +++ b/packages/rpm/doxygen-nodoxywizard.spec.in @@ -17,7 +17,6 @@ BuildRoot: %{buildroot} BuildPrereq: libstdc++-devel >= 2.96, /usr/bin/perl, /usr/bin/latex, /usr/bin/dvips Prereq: /sbin/chkconfig, /bin/mktemp, /bin/rm, /bin/mv, libstdc++ >= 2.96 Provides: doxygen = %{mmn} -#Obsoletes: doxygen-20050927 %description Doxygen can generate an online class browser (in HTML) and/or a @@ -26,30 +25,17 @@ documentation is extracted directly from the sources. Doxygen can also be configured to extract the code structure from undocumented source files. -%package manual -Group: Documentation -Summary: Documentation for doxygen. -Provides: doxygenmanual = %{mmn} -#Obsoletes: - -%description manual -This contains the manpages for doxygen. The information can also be -found at http://www.doxygen.org/. - %prep %setup -q -n %{name}-%{version}_%{revision} ./configure --prefix $RPM_BUILD_ROOT/usr %build make %{?_smp_mflags} -make pdf %{?_smp_mflags} +make %{?_smp_mflags} pdf %install rm -rf $RPM_BUILD_ROOT - make install -mkdir -p $RPM_BUILD_ROOT/usr/share/doxygen -cp -f ./latex/*.pdf $RPM_BUILD_ROOT/usr/share/doxygen %clean rm -rf $RPM_BUILD_ROOT @@ -57,17 +43,17 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%doc README LICENSE LANGUAGE.HOWTO examples +%doc README LICENSE LANGUAGE.HOWTO examples ./latex/*.pdf +%doc /usr/man/man1/doxygen.1.gz +%doc /usr/man/man1/doxytag.1.gz %{_bindir}/doxygen %{_bindir}/doxytag -%files manual -%defattr(-,root,root) -/usr/share/doxygen/*.pdf -%doc /usr/man/man1/doxy* - %changelog +* Sun Nov 18 2007 Kevin McBride 1.5.4 +- consolidated manual package in lieu of --excludedocs flag for rpm --install + * Fri Oct 21 2005 Kevin McBride 1.4.5 - made .spec file compatible with tmake diff --git a/packages/rpm/doxygen.spec b/packages/rpm/doxygen.spec index fa432c4..5db7240 100644 --- a/packages/rpm/doxygen.spec +++ b/packages/rpm/doxygen.spec @@ -1,6 +1,6 @@ %define version 1.5.4 -%define revision 1 -%define mmn 1 +%define revision 20080101 +%define mmn 20080101 %define name doxygen %define contentdir /var/www @@ -20,7 +20,6 @@ BuildRoot: %{buildroot} BuildPrereq: libstdc++-devel >= 2.96, /usr/bin/perl, /usr/bin/latex, /usr/bin/dvips Prereq: /sbin/chkconfig, /bin/mktemp, /bin/rm, /bin/mv, libstdc++ >= 2.96 Provides: doxygen = %{mmn} -#Obsoletes: doxygen-20050927 %description Doxygen can generate an online class browser (in HTML) and/or a @@ -29,48 +28,17 @@ documentation is extracted directly from the sources. Doxygen can also be configured to extract the code structure from undocumented source files. -%package doxywizard -Group: Development/Libraries -Summary: GUI Interface for doxygen. -Requires: doxygen = %{mmn} -Requires: qt >= 3.3 -Provides: doxywizard = %{mmn} -# Obsoletes: - -%description doxywizard -Doxygen can generate an online class browser (in HTML) and/or a -reference manual (in LaTeX) from a set of documented source files. The -documentation is extracted directly from the sources. Doxygen can -also be configured to extract the code structure from undocumented -source files. - -This is the GUI interface for doxygen. It requires qt and X11 to -install. - -%package manual -Group: Documentation -Summary: Documentation for doxygen. -Provides: doxygenmanual = %{mmn} -#Obsoletes: - -%description manual -This contains the manpages for doxygen. The information can also be -found at http://www.doxygen.org/. - %prep %setup -q -n %{name}-%{version}_%{revision} -./configure --with-doxywizard --prefix $RPM_BUILD_ROOT/usr +./configure --prefix $RPM_BUILD_ROOT/usr %build make %{?_smp_mflags} -make pdf %{?_smp_mflags} +make %{?_smp_mflags} pdf %install rm -rf $RPM_BUILD_ROOT - make install -mkdir -p $RPM_BUILD_ROOT/usr/share/doxygen -cp -f ./latex/*.pdf $RPM_BUILD_ROOT/usr/share/doxygen %clean rm -rf $RPM_BUILD_ROOT @@ -78,21 +46,20 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%doc README LICENSE LANGUAGE.HOWTO examples +%doc README LICENSE LANGUAGE.HOWTO examples ./latex/*.pdf +%doc /usr/man/man1/doxygen.1.gz +%doc /usr/man/man1/doxytag.1.gz %{_bindir}/doxygen %{_bindir}/doxytag -%files doxywizard -%defattr(-,root,root) -%{_bindir}/doxywizard +%changelog +* Sun Nov 18 2007 Kevin McBride 1.5.4 +- consolidated manual package in lieu of --excludedocs flag for rpm --install -%files manual -%defattr(-,root,root) -/usr/share/doxygen/*.pdf -%doc /usr/man/man1/doxy* +* Fri Oct 21 2005 Kevin McBride 1.4.5 +- made .spec file compatible with tmake -%changelog * Mon Oct 10 2005 Kevin McBride 1.4.5 - fixed versioning bugs. diff --git a/packages/rpm/doxygen.spec.in b/packages/rpm/doxygen.spec.in index 5b10029..4fb50e1 100644 --- a/packages/rpm/doxygen.spec.in +++ b/packages/rpm/doxygen.spec.in @@ -17,7 +17,6 @@ BuildRoot: %{buildroot} BuildPrereq: libstdc++-devel >= 2.96, /usr/bin/perl, /usr/bin/latex, /usr/bin/dvips Prereq: /sbin/chkconfig, /bin/mktemp, /bin/rm, /bin/mv, libstdc++ >= 2.96 Provides: doxygen = %{mmn} -#Obsoletes: doxygen-20050927 %description Doxygen can generate an online class browser (in HTML) and/or a @@ -44,30 +43,17 @@ source files. This is the GUI interface for doxygen. It requires qt and X11 to install. -%package manual -Group: Documentation -Summary: Documentation for doxygen. -Provides: doxygenmanual = %{mmn} -#Obsoletes: - -%description manual -This contains the manpages for doxygen. The information can also be -found at http://www.doxygen.org/. - %prep %setup -q -n %{name}-%{version}_%{revision} ./configure --with-doxywizard --prefix $RPM_BUILD_ROOT/usr %build make %{?_smp_mflags} -make pdf %{?_smp_mflags} +make %{?_smp_mflags} pdf %install rm -rf $RPM_BUILD_ROOT - make install -mkdir -p $RPM_BUILD_ROOT/usr/share/doxygen -cp -f ./latex/*.pdf $RPM_BUILD_ROOT/usr/share/doxygen %clean rm -rf $RPM_BUILD_ROOT @@ -75,7 +61,9 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%doc README LICENSE LANGUAGE.HOWTO examples +%doc README LICENSE LANGUAGE.HOWTO examples ./latex/*.pdf +%doc /usr/man/man1/doxygen.1.gz +%doc /usr/man/man1/doxytag.1.gz %{_bindir}/doxygen %{_bindir}/doxytag @@ -83,13 +71,12 @@ rm -rf $RPM_BUILD_ROOT %files doxywizard %defattr(-,root,root) %{_bindir}/doxywizard - -%files manual -%defattr(-,root,root) -/usr/share/doxygen/*.pdf -%doc /usr/man/man1/doxy* +%doc /usr/man/man1/doxywizard.1.gz %changelog +* Sun Nov 18 2007 Kevin McBride 1.5.4 +- consolidated manual package in lieu of --excludedocs flag for rpm --install + * Mon Oct 10 2005 Kevin McBride 1.4.5 - fixed versioning bugs. diff --git a/qtools/Doxyfile b/qtools/Doxyfile index 45f4765..16b681e 100644 --- a/qtools/Doxyfile +++ b/qtools/Doxyfile @@ -1,1159 +1,237 @@ -# Doxyfile 1.3.7 - -# This file describes the settings to be used by the documentation system -# doxygen (www.doxygen.org) for a project -# -# All text after a hash (#) is considered a comment and will be ignored -# The format is: -# TAG = value [value, ...] -# For lists items can also be appended using: -# TAG += value [value, ...] -# Values that contain spaces should be placed between quotes (" ") +# Doxyfile 1.5.4 #--------------------------------------------------------------------------- # Project related configuration options #--------------------------------------------------------------------------- - -# The PROJECT_NAME tag is a single word (or a sequence of words surrounded -# by quotes) that should identify the project. - +DOXYFILE_ENCODING = UTF-8 PROJECT_NAME = Doxygen - -# The PROJECT_NUMBER tag can be used to enter a project or revision number. -# This could be handy for archiving the generated documentation or -# if some version control system is used. - PROJECT_NUMBER = - -# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) -# base path where the generated documentation will be put. -# If a relative path is entered, it will be relative to the location -# where doxygen was started. If left blank the current directory will be used. - OUTPUT_DIRECTORY = ../qtools_docs - -# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create -# 2 levels of 10 sub-directories under the output directory of each output -# format and will distribute the generated files over these directories. -# Enabling this option can be useful when feeding doxygen a huge amount of source -# files, where putting all generated files in the same directory would otherwise -# cause performance problems for the file system. - CREATE_SUBDIRS = NO - -# The OUTPUT_LANGUAGE tag is used to specify the language in which all -# documentation generated by doxygen is written. Doxygen will use this -# information to generate all constant output in the proper language. -# The default language is English, other supported languages are: -# Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, Dutch, -# Finnish, French, German, Greek, Hungarian, Italian, Japanese, Japanese-en -# (Japanese with English messages), Korean, Korean-en, Norwegian, Polish, Portuguese, -# Romanian, Russian, Serbian, Slovak, Slovene, Spanish, Swedish, and Ukrainian. - OUTPUT_LANGUAGE = English - -# This tag can be used to specify the encoding used in the generated output. -# The encoding is not always determined by the language that is chosen, -# but also whether or not the output is meant for Windows or non-Windows users. -# In case there is a difference, setting the USE_WINDOWS_ENCODING tag to YES -# forces the Windows encoding (this is the default for the Windows binary), -# whereas setting the tag to NO uses a Unix-style encoding (the default for -# all platforms other than Windows). - -USE_WINDOWS_ENCODING = NO - -# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will -# include brief member descriptions after the members that are listed in -# the file and class documentation (similar to JavaDoc). -# Set to NO to disable this. - BRIEF_MEMBER_DESC = YES - -# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend -# the brief description of a member or function before the detailed description. -# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the -# brief descriptions will be completely suppressed. - REPEAT_BRIEF = YES - -# This tag implements a quasi-intelligent brief description abbreviator -# that is used to form the text in various listings. Each string -# in this list, if found as the leading text of the brief description, will be -# stripped from the text and the result after processing the whole list, is used -# as the annotated text. Otherwise, the brief description is used as-is. If left -# blank, the following values are used ("$name" is automatically replaced with the -# name of the entity): "The $name class" "The $name widget" "The $name file" -# "is" "provides" "specifies" "contains" "represents" "a" "an" "the" - ABBREVIATE_BRIEF = - -# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then -# Doxygen will generate a detailed section even if there is only a brief -# description. - ALWAYS_DETAILED_SEC = NO - -# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited -# members of a class in the documentation of that class as if those members were -# ordinary class members. Constructors, destructors and assignment operators of -# the base classes will not be shown. - INLINE_INHERITED_MEMB = NO - -# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full -# path before files name in the file list and in the header files. If set -# to NO the shortest path that makes the file name unique will be used. - FULL_PATH_NAMES = YES - -# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag -# can be used to strip a user-defined part of the path. Stripping is -# only done if one of the specified strings matches the left-hand part of -# the path. The tag can be used to show relative paths in the file list. -# If left blank the directory from which doxygen is run is used as the -# path to strip. - STRIP_FROM_PATH = $(PWD)/ - -# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of -# the path mentioned in the documentation of a class, which tells -# the reader which header file to include in order to use a class. -# If left blank only the name of the header file containing the class -# definition is used. Otherwise one should specify the include paths that -# are normally passed to the compiler using the -I flag. - STRIP_FROM_INC_PATH = - -# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter -# (but less readable) file names. This can be useful is your file systems -# doesn't support long names like on DOS, Mac, or CD-ROM. - SHORT_NAMES = NO - -# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen -# will interpret the first line (until the first dot) of a JavaDoc-style -# comment as the brief description. If set to NO, the JavaDoc -# comments will behave just like the Qt-style comments (thus requiring an -# explicit @brief command for a brief description. - JAVADOC_AUTOBRIEF = YES - -# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen -# treat a multi-line C++ special comment block (i.e. a block of //! or /// -# comments) as a brief description. This used to be the default behaviour. -# The new default is to treat a multi-line C++ comment block as a detailed -# description. Set this tag to YES if you prefer the old behaviour instead. - +QT_AUTOBRIEF = NO MULTILINE_CPP_IS_BRIEF = NO - -# If the DETAILS_AT_TOP tag is set to YES then Doxygen -# will output the detailed description near the top, like JavaDoc. -# If set to NO, the detailed description appears after the member -# documentation. - DETAILS_AT_TOP = NO - -# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented -# member inherits the documentation from any documented member that it -# re-implements. - INHERIT_DOCS = YES - -# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES, then doxygen will reuse the documentation of the first -# member in the group (if any) for the other members of the group. By default -# all members of a group must be documented explicitly. - -DISTRIBUTE_GROUP_DOC = NO - -# The TAB_SIZE tag can be used to set the number of spaces in a tab. -# Doxygen uses this value to replace tabs by spaces in code fragments. - +SEPARATE_MEMBER_PAGES = NO TAB_SIZE = 8 - -# This tag can be used to specify a number of aliases that acts -# as commands in the documentation. An alias has the form "name=value". -# For example adding "sideeffect=\par Side Effects:\n" will allow you to -# put the command \sideeffect (or @sideeffect) in the documentation, which -# will result in a user-defined paragraph with heading "Side Effects:". -# You can put \n's in the value part of an alias to insert newlines. - ALIASES = - -# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources -# only. Doxygen will then generate output that is more tailored for C. -# For instance, some of the names that are used will be different. The list -# of all members will be omitted, etc. - OPTIMIZE_OUTPUT_FOR_C = NO - -# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources -# only. Doxygen will then generate output that is more tailored for Java. -# For instance, namespaces will be presented as packages, qualified scopes -# will look different, etc. - OPTIMIZE_OUTPUT_JAVA = NO - -# Set the SUBGROUPING tag to YES (the default) to allow class member groups of -# the same type (for instance a group of public functions) to be put as a -# subgroup of that type (e.g. under the Public Functions section). Set it to -# NO to prevent subgrouping. Alternatively, this can be done per class using -# the \nosubgrouping command. - +OPTIMIZE_FOR_FORTRAN = NO +BUILTIN_STL_SUPPORT = NO +CPP_CLI_SUPPORT = NO +SIP_SUPPORT = NO +DISTRIBUTE_GROUP_DOC = NO SUBGROUPING = YES - +TYPEDEF_HIDES_STRUCT = NO #--------------------------------------------------------------------------- # Build related configuration options #--------------------------------------------------------------------------- - -# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in -# documentation are documented, even if no documentation was available. -# Private class members and static file members will be hidden unless -# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES - EXTRACT_ALL = YES - -# If the EXTRACT_PRIVATE tag is set to YES all private members of a class -# will be included in the documentation. - EXTRACT_PRIVATE = YES - -# If the EXTRACT_STATIC tag is set to YES all static members of a file -# will be included in the documentation. - EXTRACT_STATIC = YES - -# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) -# defined locally in source files will be included in the documentation. -# If set to NO only classes defined in header files are included. - EXTRACT_LOCAL_CLASSES = YES - -# This flag is only useful for Objective-C code. When set to YES local -# methods, which are defined in the implementation section but not in -# the interface are included in the documentation. -# If set to NO (the default) only methods in the interface are included. - EXTRACT_LOCAL_METHODS = NO - -# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all -# undocumented members of documented classes, files or namespaces. -# If set to NO (the default) these members will be included in the -# various overviews, but no documentation section is generated. -# This option has no effect if EXTRACT_ALL is enabled. - +EXTRACT_ANON_NSPACES = NO HIDE_UNDOC_MEMBERS = NO - -# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all -# undocumented classes that are normally visible in the class hierarchy. -# If set to NO (the default) these classes will be included in the various -# overviews. This option has no effect if EXTRACT_ALL is enabled. - HIDE_UNDOC_CLASSES = NO - -# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all -# friend (class|struct|union) declarations. -# If set to NO (the default) these declarations will be included in the -# documentation. - HIDE_FRIEND_COMPOUNDS = NO - -# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any -# documentation blocks found inside the body of a function. -# If set to NO (the default) these blocks will be appended to the -# function's detailed documentation block. - HIDE_IN_BODY_DOCS = NO - -# The INTERNAL_DOCS tag determines if documentation -# that is typed after a \internal command is included. If the tag is set -# to NO (the default) then the documentation will be excluded. -# Set it to YES to include the internal documentation. - INTERNAL_DOCS = NO - -# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate -# file names in lower-case letters. If set to YES upper-case letters are also -# allowed. This is useful if you have classes or files whose names only differ -# in case and if your file system supports case sensitive file names. Windows -# users are advised to set this option to NO. - CASE_SENSE_NAMES = NO - -# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen -# will show members with their full class and namespace scopes in the -# documentation. If set to YES the scope will be hidden. - HIDE_SCOPE_NAMES = NO - -# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen -# will put a list of the files that are included by a file in the documentation -# of that file. - SHOW_INCLUDE_FILES = YES - -# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] -# is inserted in the documentation for inline members. - INLINE_INFO = YES - -# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen -# will sort the (detailed) documentation of file and class members -# alphabetically by member name. If set to NO the members will appear in -# declaration order. - SORT_MEMBER_DOCS = YES - -# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the -# brief documentation of file, namespace and class members alphabetically -# by member name. If set to NO (the default) the members will appear in -# declaration order. - SORT_BRIEF_DOCS = NO - -# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be -# sorted by fully-qualified names, including namespaces. If set to -# NO (the default), the class list will be sorted only by class name, -# not including the namespace part. -# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. -# Note: This option applies only to the class list, not to the -# alphabetical list. - SORT_BY_SCOPE_NAME = NO - -# The GENERATE_TODOLIST tag can be used to enable (YES) or -# disable (NO) the todo list. This list is created by putting \todo -# commands in the documentation. - GENERATE_TODOLIST = YES - -# The GENERATE_TESTLIST tag can be used to enable (YES) or -# disable (NO) the test list. This list is created by putting \test -# commands in the documentation. - GENERATE_TESTLIST = YES - -# The GENERATE_BUGLIST tag can be used to enable (YES) or -# disable (NO) the bug list. This list is created by putting \bug -# commands in the documentation. - GENERATE_BUGLIST = YES - -# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or -# disable (NO) the deprecated list. This list is created by putting -# \deprecated commands in the documentation. - GENERATE_DEPRECATEDLIST= YES - -# The ENABLED_SECTIONS tag can be used to enable conditional -# documentation sections, marked by \if sectionname ... \endif. - ENABLED_SECTIONS = - -# The MAX_INITIALIZER_LINES tag determines the maximum number of lines -# the initial value of a variable or define consists of for it to appear in -# the documentation. If the initializer consists of more lines than specified -# here it will be hidden. Use a value of 0 to hide initializers completely. -# The appearance of the initializer of individual variables and defines in the -# documentation can be controlled using \showinitializer or \hideinitializer -# command in the documentation regardless of this setting. - MAX_INITIALIZER_LINES = 30 - -# Set the SHOW_USED_FILES tag to NO to disable the list of files generated -# at the bottom of the documentation of classes and structs. If set to YES the -# list will mention the files that were used to generate the documentation. - SHOW_USED_FILES = YES - +SHOW_DIRECTORIES = NO +FILE_VERSION_FILTER = #--------------------------------------------------------------------------- # configuration options related to warning and progress messages #--------------------------------------------------------------------------- - -# The QUIET tag can be used to turn on/off the messages that are generated -# by doxygen. Possible values are YES and NO. If left blank NO is used. - QUIET = NO - -# The WARNINGS tag can be used to turn on/off the warning messages that are -# generated by doxygen. Possible values are YES and NO. If left blank -# NO is used. - WARNINGS = YES - -# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings -# for undocumented members. If EXTRACT_ALL is set to YES then this flag will -# automatically be disabled. - WARN_IF_UNDOCUMENTED = YES - -# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for -# potential errors in the documentation, such as not documenting some -# parameters in a documented function, or documenting parameters that -# don't exist or using markup commands wrongly. - WARN_IF_DOC_ERROR = YES - -# The WARN_FORMAT tag determines the format of the warning messages that -# doxygen can produce. The string should contain the $file, $line, and $text -# tags, which will be replaced by the file and line number from which the -# warning originated and the warning text. - -WARN_FORMAT = "$file:$line: $text" - -# The WARN_LOGFILE tag can be used to specify a file to which warning -# and error messages should be written. If left blank the output is written -# to stderr. - +WARN_NO_PARAMDOC = NO +WARN_FORMAT = "$file:$line: $text " WARN_LOGFILE = - #--------------------------------------------------------------------------- # configuration options related to the input files #--------------------------------------------------------------------------- - -# The INPUT tag can be used to specify the files and/or directories that contain -# documented source files. You may enter file names like "myfile.cpp" or -# directories like "/usr/src/myproject". Separate the files or directories -# with spaces. - INPUT = . - -# If the value of the INPUT tag contains directories, you can use the -# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank the following patterns are tested: -# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp -# *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm - +INPUT_ENCODING = UTF-8 FILE_PATTERNS = *.h \ *.cpp \ *.doc - -# The RECURSIVE tag can be used to turn specify whether or not subdirectories -# should be searched for input files as well. Possible values are YES and NO. -# If left blank NO is used. - RECURSIVE = NO - -# The EXCLUDE tag can be used to specify files and/or directories that should -# excluded from the INPUT source files. This way you can easily exclude a -# subdirectory from a directory tree whose root is specified with the INPUT tag. - EXCLUDE = - -# The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories -# that are symbolic links (a Unix filesystem feature) are excluded from the input. - EXCLUDE_SYMLINKS = NO - -# If the value of the INPUT tag contains directories, you can use the -# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude -# certain files from those directories. - EXCLUDE_PATTERNS = - -# The EXAMPLE_PATH tag can be used to specify one or more files or -# directories that contain example code fragments that are included (see -# the \include command). - +EXCLUDE_SYMBOLS = EXAMPLE_PATH = - -# If the value of the EXAMPLE_PATH tag contains directories, you can use the -# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank all files are included. - EXAMPLE_PATTERNS = - -# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be -# searched for input files to be used with the \include or \dontinclude -# commands irrespective of the value of the RECURSIVE tag. -# Possible values are YES and NO. If left blank NO is used. - EXAMPLE_RECURSIVE = NO - -# The IMAGE_PATH tag can be used to specify one or more files or -# directories that contain image that are included in the documentation (see -# the \image command). - IMAGE_PATH = - -# The INPUT_FILTER tag can be used to specify a program that doxygen should -# invoke to filter for each input file. Doxygen will invoke the filter program -# by executing (via popen()) the command , where -# is the value of the INPUT_FILTER tag, and is the name of an -# input file. Doxygen will then use the output that the filter program writes -# to standard output. - INPUT_FILTER = - -# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER) will be used to filter the input files when producing source -# files to browse (i.e. when SOURCE_BROWSER is set to YES). - +FILTER_PATTERNS = FILTER_SOURCE_FILES = NO - #--------------------------------------------------------------------------- # configuration options related to source browsing #--------------------------------------------------------------------------- - -# If the SOURCE_BROWSER tag is set to YES then a list of source files will -# be generated. Documented entities will be cross-referenced with these sources. -# Note: To get rid of all source code in the generated output, make sure also -# VERBATIM_HEADERS is set to NO. - SOURCE_BROWSER = YES - -# Setting the INLINE_SOURCES tag to YES will include the body -# of functions and classes directly in the documentation. - INLINE_SOURCES = NO - -# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct -# doxygen to hide any special comment blocks from generated source code -# fragments. Normal C and C++ comments will always remain visible. - STRIP_CODE_COMMENTS = YES - -# If the REFERENCED_BY_RELATION tag is set to YES (the default) -# then for each documented function all documented -# functions referencing it will be listed. - REFERENCED_BY_RELATION = YES - -# If the REFERENCES_RELATION tag is set to YES (the default) -# then for each documented function all documented entities -# called/used by that function will be listed. - REFERENCES_RELATION = YES - -# If the REFERENCES_LINK_SOURCE tag is set to YES (the default) -# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from -# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will -# link to the source code. Otherwise they will link to the documentstion. - REFERENCES_LINK_SOURCE = YES - -# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen -# will generate a verbatim copy of the header file for each class for -# which an include is specified. Set to NO to disable this. - +USE_HTAGS = NO VERBATIM_HEADERS = YES - #--------------------------------------------------------------------------- # configuration options related to the alphabetical class index #--------------------------------------------------------------------------- - -# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index -# of all compounds will be generated. Enable this if the project -# contains a lot of classes, structs, unions or interfaces. - ALPHABETICAL_INDEX = YES - -# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then -# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns -# in which this list will be split (can be a number in the range [1..20]) - COLS_IN_ALPHA_INDEX = 4 - -# In case all classes in a project start with a common prefix, all -# classes will be put under the same header in the alphabetical index. -# The IGNORE_PREFIX tag can be used to specify one or more prefixes that -# should be ignored while generating the index headers. - IGNORE_PREFIX = Q - #--------------------------------------------------------------------------- # configuration options related to the HTML output #--------------------------------------------------------------------------- - -# If the GENERATE_HTML tag is set to YES (the default) Doxygen will -# generate HTML output. - GENERATE_HTML = YES - -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `html' will be used as the default path. - HTML_OUTPUT = - -# The HTML_FILE_EXTENSION tag can be used to specify the file extension for -# each generated HTML page (for example: .htm,.php,.asp). If it is left blank -# doxygen will generate files with .html extension. - HTML_FILE_EXTENSION = .html - -# The HTML_HEADER tag can be used to specify a personal HTML header for -# each generated HTML page. If it is left blank doxygen will generate a -# standard header. - HTML_HEADER = - -# The HTML_FOOTER tag can be used to specify a personal HTML footer for -# each generated HTML page. If it is left blank doxygen will generate a -# standard footer. - HTML_FOOTER = - -# The HTML_STYLESHEET tag can be used to specify a user-defined cascading -# style sheet that is used by each HTML page. It can be used to -# fine-tune the look of the HTML output. If the tag is left blank doxygen -# will generate a default style sheet. Note that doxygen will try to copy -# the style sheet file to the HTML output directory, so don't put your own -# stylesheet in the HTML output directory as well, or it will be erased! - HTML_STYLESHEET = - -# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, -# files or namespaces will be aligned in HTML using tables. If set to -# NO a bullet list will be used. - HTML_ALIGN_MEMBERS = YES - -# If the GENERATE_HTMLHELP tag is set to YES, additional index files -# will be generated that can be used as input for tools like the -# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) -# of the generated HTML documentation. - GENERATE_HTMLHELP = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can -# be used to specify the file name of the resulting .chm file. You -# can add a path in front of the file if the result should not be -# written to the html output directory. - +GENERATE_DOCSET = YES +HTML_DYNAMIC_SECTIONS = NO CHM_FILE = - -# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can -# be used to specify the location (absolute path including file name) of -# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run -# the HTML help compiler on the generated index.hhp. - HHC_LOCATION = - -# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag -# controls if a separate .chi index file is generated (YES) or that -# it should be included in the master .chm file (NO). - GENERATE_CHI = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag -# controls whether a binary table of contents is generated (YES) or a -# normal table of contents (NO) in the .chm file. - BINARY_TOC = NO - -# The TOC_EXPAND flag can be set to YES to add extra items for group members -# to the contents of the HTML help documentation and to the tree view. - TOC_EXPAND = NO - -# The DISABLE_INDEX tag can be used to turn on/off the condensed index at -# top of each HTML page. The value NO (the default) enables the index and -# the value YES disables it. - DISABLE_INDEX = NO - -# This tag can be used to set the number of enum values (range [1..20]) -# that doxygen will group on one line in the generated HTML documentation. - ENUM_VALUES_PER_LINE = 4 - -# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be -# generated containing a tree-like index structure (just like the one that -# is generated for HTML Help). For this to work a browser that supports -# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, -# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are -# probably better off using the HTML help feature. - GENERATE_TREEVIEW = NO - -# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be -# used to set the initial width (in pixels) of the frame in which the tree -# is shown. - TREEVIEW_WIDTH = 250 - #--------------------------------------------------------------------------- # configuration options related to the LaTeX output #--------------------------------------------------------------------------- - -# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will -# generate Latex output. - GENERATE_LATEX = NO - -# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `latex' will be used as the default path. - LATEX_OUTPUT = - -# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be -# invoked. If left blank `latex' will be used as the default command name. - LATEX_CMD_NAME = latex - -# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to -# generate index for LaTeX. If left blank `makeindex' will be used as the -# default command name. - MAKEINDEX_CMD_NAME = makeindex - -# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact -# LaTeX documents. This may be useful for small projects and may help to -# save some trees in general. - COMPACT_LATEX = NO - -# The PAPER_TYPE tag can be used to set the paper type that is used -# by the printer. Possible values are: a4, a4wide, letter, legal and -# executive. If left blank a4wide will be used. - PAPER_TYPE = a4wide - -# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX -# packages that should be included in the LaTeX output. - EXTRA_PACKAGES = - -# The LATEX_HEADER tag can be used to specify a personal LaTeX header for -# the generated latex document. The header should contain everything until -# the first chapter. If it is left blank doxygen will generate a -# standard header. Notice: only use this tag if you know what you are doing! - LATEX_HEADER = - -# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated -# is prepared for conversion to pdf (using ps2pdf). The pdf file will -# contain links (just like the HTML output) instead of page references -# This makes the output suitable for online browsing using a pdf viewer. - PDF_HYPERLINKS = NO - -# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of -# plain latex in the generated Makefile. Set this option to YES to get a -# higher quality PDF documentation. - USE_PDFLATEX = NO - -# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. -# command to the generated LaTeX files. This will instruct LaTeX to keep -# running if errors occur, instead of asking the user for help. -# This option is also used when generating formulas in HTML. - LATEX_BATCHMODE = NO - -# If LATEX_HIDE_INDICES is set to YES then doxygen will not -# include the index chapters (such as File Index, Compound Index, etc.) -# in the output. - LATEX_HIDE_INDICES = NO - #--------------------------------------------------------------------------- # configuration options related to the RTF output #--------------------------------------------------------------------------- - -# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output -# The RTF output is optimized for Word 97 and may not look very pretty with -# other RTF readers or editors. - GENERATE_RTF = NO - -# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `rtf' will be used as the default path. - RTF_OUTPUT = - -# If the COMPACT_RTF tag is set to YES Doxygen generates more compact -# RTF documents. This may be useful for small projects and may help to -# save some trees in general. - COMPACT_RTF = NO - -# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated -# will contain hyperlink fields. The RTF file will -# contain links (just like the HTML output) instead of page references. -# This makes the output suitable for online browsing using WORD or other -# programs which support those fields. -# Note: wordpad (write) and others do not support links. - RTF_HYPERLINKS = NO - -# Load stylesheet definitions from file. Syntax is similar to doxygen's -# config file, i.e. a series of assignments. You only have to provide -# replacements, missing definitions are set to their default value. - RTF_STYLESHEET_FILE = - -# Set optional variables used in the generation of an rtf document. -# Syntax is similar to doxygen's config file. - RTF_EXTENSIONS_FILE = - #--------------------------------------------------------------------------- # configuration options related to the man page output #--------------------------------------------------------------------------- - -# If the GENERATE_MAN tag is set to YES (the default) Doxygen will -# generate man pages - GENERATE_MAN = NO - -# The MAN_OUTPUT tag is used to specify where the man pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `man' will be used as the default path. - MAN_OUTPUT = - -# The MAN_EXTENSION tag determines the extension that is added to -# the generated man pages (default is the subroutine's section .3) - MAN_EXTENSION = .3 - -# If the MAN_LINKS tag is set to YES and Doxygen generates man output, -# then it will generate one additional man file for each entity -# documented in the real man page(s). These additional files -# only source the real man page, but without them the man command -# would be unable to find the correct page. The default is NO. - MAN_LINKS = NO - #--------------------------------------------------------------------------- # configuration options related to the XML output #--------------------------------------------------------------------------- - -# If the GENERATE_XML tag is set to YES Doxygen will -# generate an XML file that captures the structure of -# the code including all documentation. - GENERATE_XML = NO - -# The XML_OUTPUT tag is used to specify where the XML pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `xml' will be used as the default path. - XML_OUTPUT = xml - -# The XML_SCHEMA tag can be used to specify an XML schema, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - XML_SCHEMA = - -# The XML_DTD tag can be used to specify an XML DTD, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - XML_DTD = - -# If the XML_PROGRAMLISTING tag is set to YES Doxygen will -# dump the program listings (including syntax highlighting -# and cross-referencing information) to the XML output. Note that -# enabling this will significantly increase the size of the XML output. - XML_PROGRAMLISTING = YES - #--------------------------------------------------------------------------- # configuration options for the AutoGen Definitions output #--------------------------------------------------------------------------- - -# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will -# generate an AutoGen Definitions (see autogen.sf.net) file -# that captures the structure of the code including all -# documentation. Note that this feature is still experimental -# and incomplete at the moment. - GENERATE_AUTOGEN_DEF = NO - #--------------------------------------------------------------------------- # configuration options related to the Perl module output #--------------------------------------------------------------------------- - -# If the GENERATE_PERLMOD tag is set to YES Doxygen will -# generate a Perl module file that captures the structure of -# the code including all documentation. Note that this -# feature is still experimental and incomplete at the -# moment. - GENERATE_PERLMOD = NO - -# If the PERLMOD_LATEX tag is set to YES Doxygen will generate -# the necessary Makefile rules, Perl scripts and LaTeX code to be able -# to generate PDF and DVI output from the Perl module output. - PERLMOD_LATEX = NO - -# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be -# nicely formatted so it can be parsed by a human reader. This is useful -# if you want to understand what is going on. On the other hand, if this -# tag is set to NO the size of the Perl module output will be much smaller -# and Perl will parse it just the same. - PERLMOD_PRETTY = YES - -# The names of the make variables in the generated doxyrules.make file -# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. -# This is useful so different doxyrules.make files included by the same -# Makefile don't overwrite each other's variables. - PERLMOD_MAKEVAR_PREFIX = - #--------------------------------------------------------------------------- # Configuration options related to the preprocessor #--------------------------------------------------------------------------- - -# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will -# evaluate all C-preprocessor directives found in the sources and include -# files. - ENABLE_PREPROCESSING = YES - -# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro -# names in the source code. If set to NO (the default) only conditional -# compilation will be performed. Macro expansion can be done in a controlled -# way by setting EXPAND_ONLY_PREDEF to YES. - MACRO_EXPANSION = YES - -# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES -# then the macro expansion is limited to the macros specified with the -# PREDEFINED and EXPAND_AS_PREDEFINED tags. - EXPAND_ONLY_PREDEF = YES - -# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files -# in the INCLUDE_PATH (see below) will be search if a #include is found. - SEARCH_INCLUDES = YES - -# The INCLUDE_PATH tag can be used to specify one or more directories that -# contain include files that are not input files but should be processed by -# the preprocessor. - INCLUDE_PATH = - -# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard -# patterns (like *.h and *.hpp) to filter out the header-files in the -# directories. If left blank, the patterns specified with FILE_PATTERNS will -# be used. - INCLUDE_FILE_PATTERNS = - -# The PREDEFINED tag can be used to specify one or more macro names that -# are defined before the preprocessor is started (similar to the -D option of -# gcc). The argument of the tag is a list of macros of the form: name -# or name=definition (no spaces). If the definition and the = are -# omitted =1 is assumed. - PREDEFINED = - -# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then -# this tag can be used to specify a list of macro names that should be expanded. -# The macro definition that is found in the sources will be used. -# Use the PREDEFINED tag if you want to use a different macro definition. - EXPAND_AS_DEFINED = - -# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then -# doxygen's preprocessor will remove all function-like macros that are alone -# on a line, have an all uppercase name, and do not end with a semicolon. Such -# function macros are typically used for boiler-plate code, and will confuse the -# parser if not removed. - SKIP_FUNCTION_MACROS = YES - #--------------------------------------------------------------------------- # Configuration::additions related to external references #--------------------------------------------------------------------------- - -# The TAGFILES option can be used to specify one or more tagfiles. -# Optionally an initial location of the external documentation -# can be added for each tagfile. The format of a tag file without -# this location is as follows: -# TAGFILES = file1 file2 ... -# Adding location for the tag files is done as follows: -# TAGFILES = file1=loc1 "file2 = loc2" ... -# where "loc1" and "loc2" can be relative or absolute paths or -# URLs. If a location is present for each tag, the installdox tool -# does not have to be run to correct the links. -# Note that each tag file must have a unique name -# (where the name does NOT include the path) -# If a tag file is not located in the directory in which doxygen -# is run, you must also specify the path to the tagfile here. - TAGFILES = - -# When a file name is specified after GENERATE_TAGFILE, doxygen will create -# a tag file that is based on the input files it reads. - GENERATE_TAGFILE = ../qtools_docs/qtools.tag - -# If the ALLEXTERNALS tag is set to YES all external classes will be listed -# in the class index. If set to NO only the inherited external classes -# will be listed. - ALLEXTERNALS = NO - -# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed -# in the modules index. If set to NO, only the current project's groups will -# be listed. - EXTERNAL_GROUPS = YES - -# The PERL_PATH should be the absolute path and name of the perl script -# interpreter (i.e. the result of `which perl'). - PERL_PATH = /usr/bin/perl - #--------------------------------------------------------------------------- # Configuration options related to the dot tool #--------------------------------------------------------------------------- - -# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will -# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base or -# super classes. Setting the tag to NO turns the diagrams off. Note that this -# option is superseded by the HAVE_DOT option below. This is only a fallback. It is -# recommended to install and use dot, since it yields more powerful graphs. - CLASS_DIAGRAMS = YES - -# If set to YES, the inheritance and collaboration graphs will hide -# inheritance and usage relations if the target is undocumented -# or is not a class. - +MSCGEN_PATH = HIDE_UNDOC_RELATIONS = YES - -# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is -# available from the path. This tool is part of Graphviz, a graph visualization -# toolkit from AT&T and Lucent Bell Labs. The other options in this section -# have no effect if this option is set to NO (the default) - HAVE_DOT = YES - -# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect inheritance relations. Setting this tag to YES will force the -# the CLASS_DIAGRAMS tag to NO. - CLASS_GRAPH = YES - -# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect implementation dependencies (inheritance, containment, and -# class references variables) of the class with other documented classes. - COLLABORATION_GRAPH = YES - -# If the UML_LOOK tag is set to YES doxygen will generate inheritance and -# collaboration diagrams in a style similar to the OMG's Unified Modeling -# Language. - +GROUP_GRAPHS = YES UML_LOOK = NO - -# If set to YES, the inheritance and collaboration graphs will show the -# relations between templates and their instances. - TEMPLATE_RELATIONS = YES - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT -# tags are set to YES then doxygen will generate a graph for each documented -# file showing the direct and indirect include dependencies of the file with -# other documented files. - INCLUDE_GRAPH = YES - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and -# HAVE_DOT tags are set to YES then doxygen will generate a graph for each -# documented header file showing the documented files that directly or -# indirectly include this file. - INCLUDED_BY_GRAPH = NO - -# If the CALL_GRAPH and HAVE_DOT tags are set to YES then doxygen will -# generate a call dependency graph for every global function or class method. -# Note that enabling this option will significantly increase the time of a run. -# So in most cases it will be better to enable call graphs for selected -# functions only using the \callgraph command. - CALL_GRAPH = NO - -# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then doxygen will -# generate a caller dependency graph for every global function or class method. -# Note that enabling this option will significantly increase the time of a run. -# So in most cases it will be better to enable caller graphs for selected -# functions only using the \callergraph command. - CALLER_GRAPH = NO - -# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen -# will graphical hierarchy of all classes instead of a textual one. - GRAPHICAL_HIERARCHY = YES - -# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images -# generated by dot. Possible values are png, jpg, or gif -# If left blank png will be used. - +DIRECTORY_GRAPH = YES DOT_IMAGE_FORMAT = png - -# The tag DOT_PATH can be used to specify the path where the dot tool can be -# found. If left blank, it is assumed the dot tool can be found on the path. - DOT_PATH = - -# The DOTFILE_DIRS tag can be used to specify one or more directories that -# contain dot files that are included in the documentation (see the -# \dotfile command). - DOTFILE_DIRS = - -# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width -# (in pixels) of the graphs generated by dot. If a graph becomes larger than -# this value, doxygen will try to truncate the graph, so that it fits within -# the specified constraint. Beware that most browsers cannot cope with very -# large images. - -MAX_DOT_GRAPH_WIDTH = 2048 - -# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height -# (in pixels) of the graphs generated by dot. If a graph becomes larger than -# this value, doxygen will try to truncate the graph, so that it fits within -# the specified constraint. Beware that most browsers cannot cope with very -# large images. - -MAX_DOT_GRAPH_HEIGHT = 2048 - -# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the -# graphs generated by dot. A depth value of 3 means that only nodes reachable -# from the root by following a path via at most 3 edges will be shown. Nodes that -# lay further from the root node will be omitted. Note that setting this option to -# 1 or 2 may greatly reduce the computation time needed for large code bases. Also -# note that a graph may be further truncated if the graph's image dimensions are -# not sufficient to fit the graph (see MAX_DOT_GRAPH_WIDTH and MAX_DOT_GRAPH_HEIGHT). -# If 0 is used for the depth value (the default), the graph is not depth-constrained. - +DOT_GRAPH_MAX_NODES = 50 MAX_DOT_GRAPH_DEPTH = 0 - -# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will -# generate a legend page explaining the meaning of the various boxes and -# arrows in the dot generated graphs. - +DOT_TRANSPARENT = YES +DOT_MULTI_TARGETS = NO GENERATE_LEGEND = YES - -# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will -# remove the intermediate dot files that are used to generate -# the various graphs. - DOT_CLEANUP = YES - #--------------------------------------------------------------------------- # Configuration::additions related to the search engine #--------------------------------------------------------------------------- - -# The SEARCHENGINE tag specifies whether or not a search engine should be -# used. If set to NO the values of all tags below this one will be ignored. - SEARCHENGINE = NO diff --git a/qtools/qfile_unix.cpp b/qtools/qfile_unix.cpp index 4d3a51b..fa53d13 100644 --- a/qtools/qfile_unix.cpp +++ b/qtools/qfile_unix.cpp @@ -40,7 +40,7 @@ #include "qfile.h" #include "qfiledefs_p.h" -#if defined(_OS_MAC_) || defined(_OS_MSDOS_) || defined(_OS_WIN32_) || defined(_OS_OS2_) || defined(_OS_CYGWIN_) +#if (defined(_OS_MAC_) && (!defined(_OS_UNIX_))) || defined(_OS_MSDOS_) || defined(_OS_WIN32_) || defined(_OS_OS2_) || defined(_OS_CYGWIN_) # define HAS_TEXT_FILEMODE // has translate/text filemode #endif #if defined(O_NONBLOCK) diff --git a/qtools/qfiledefs_p.h b/qtools/qfiledefs_p.h index 4a1a154..7bf8640 100644 --- a/qtools/qfiledefs_p.h +++ b/qtools/qfiledefs_p.h @@ -49,14 +49,17 @@ // or even be removed. // // - - #if defined(_CC_MWERKS_) # include # include -#elif !defined(_OS_MAC_) +#elif !defined(_OS_MAC_) +# include +# include +#elif defined(_OS_MAC_) \ + && (MAC_OS_X_VERSION_MAX_ALLOWED==MAC_OS_X_VERSION_10_5) # include # include +# define _OS_UNIX_ #endif #include #include @@ -243,7 +246,7 @@ # define R_OK 4 #endif -#if defined(_OS_MAC_) +#if defined(_OS_MAC_) && !defined(_OS_UNIX_) # define F_OK 0 # define X_OK 1 # define W_OK 2 diff --git a/qtools/qglobal.h b/qtools/qglobal.h index 0f0204e..5417861 100644 --- a/qtools/qglobal.h +++ b/qtools/qglobal.h @@ -70,8 +70,25 @@ // UNIX - Any UNIX bsd/sysv system // -#if defined(macintosh) +#if defined(__APPLE__) || defined(macintosh) #define _OS_MAC_ +# ifdef MAC_OS_X_VERSION_MIN_REQUIRED +# undef MAC_OS_X_VERSION_MIN_REQUIRED +# endif +# define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_3 +# include +# if !defined(MAC_OS_X_VERSION_10_3) +# define MAC_OS_X_VERSION_10_3 MAC_OS_X_VERSION_10_2 + 1 +# endif +# if !defined(MAC_OS_X_VERSION_10_4) +# define MAC_OS_X_VERSION_10_4 MAC_OS_X_VERSION_10_3 + 1 +# endif +# if !defined(MAC_OS_X_VERSION_10_5) +# define MAC_OS_X_VERSION_10_5 MAC_OS_X_VERSION_10_4 + 1 +# endif +# if (MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_5) +# error "This version of Mac OS X is unsupported" +# endif #elif defined(MSDOS) || defined(_MSDOS) || defined(__MSDOS__) #define _OS_MSDOS_ #elif defined(OS2) || defined(_OS2) || defined(__OS2__) diff --git a/qtools/qxml.cpp b/qtools/qxml.cpp index 11a9b01..c05ab88 100644 --- a/qtools/qxml.cpp +++ b/qtools/qxml.cpp @@ -4772,7 +4772,7 @@ bool QXmlSimpleReader::parseChoiceSeq() { const signed char Init = 0; const signed char Ws1 = 1; // eat whitespace - const signed char CS = 2; // choice or set + const signed char CS_ = 2; // choice or set const signed char Ws2 = 3; // eat whitespace const signed char More = 4; // more cp to read const signed char Name = 5; // read name @@ -4792,11 +4792,11 @@ bool QXmlSimpleReader::parseChoiceSeq() static signed char table[6][9] = { /* InpWs InpOp InpCp InpQm InpAst InpPlus InpPipe InpComm InpUnknown */ { -1, Ws1, -1, -1, -1, -1, -1, -1, Name }, // Init - { -1, CS, -1, -1, -1, -1, -1, -1, CS }, // Ws1 - { Ws2, -1, Done, Ws2, Ws2, Ws2, More, More, -1 }, // CS + { -1, CS_, -1, -1, -1, -1, -1, -1, CS_ }, // Ws1 + { Ws2, -1, Done, Ws2, Ws2, Ws2, More, More, -1 }, // CS_ { -1, -1, Done, -1, -1, -1, More, More, -1 }, // Ws2 { -1, Ws1, -1, -1, -1, -1, -1, -1, Name }, // More (same as Init) - { Ws2, -1, Done, Ws2, Ws2, Ws2, More, More, -1 } // Name (same as CS) + { Ws2, -1, Done, Ws2, Ws2, Ws2, More, More, -1 } // Name (same as CS_) }; signed char state = Init; signed char input; @@ -4837,7 +4837,7 @@ bool QXmlSimpleReader::parseChoiceSeq() case Ws1: next_eat_ws(); break; - case CS: + case CS_: parseOk = parseChoiceSeq(); break; case Ws2: @@ -4855,7 +4855,7 @@ bool QXmlSimpleReader::parseChoiceSeq() } // no input is read after this switch ( state ) { - case CS: + case CS_: if ( !parseOk ) { d->error = XMLERR_ERRORPARSINGCHOICE; goto parseError; diff --git a/src/Makefile.in b/src/Makefile.in index 57bbcea..6377ded 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1,8 +1,8 @@ # -# $Id$ +# # -# Copyright (C) 1997-2007 by Dimitri van Heesch. +# Copyright (C) 1997-2008 by Dimitri van Heesch. # # Permission to use, copy, modify, and distribute this software and its # documentation under the terms of the GNU General Public License is hereby @@ -48,6 +48,7 @@ distclean: clean -$(RM) scanner.cpp code.cpp config.cpp pre.cpp ce_lex.cpp \ ce_parse.cpp ce_parse.h doxytag.cpp tag.cpp commentscan.cpp \ declinfo.cpp defargs.cpp commentcnv.cpp doctokenizer.cpp \ - pycode.cpp pyscanner.cpp fortrancode.cpp fortranscanner.cpp + pycode.cpp pyscanner.cpp fortrancode.cpp fortranscanner.cpp \ + vhdlscanner.cpp vhdlcode.cpp FORCE: diff --git a/src/bufstr.h b/src/bufstr.h index 18db9d4..80da421 100644 --- a/src/bufstr.h +++ b/src/bufstr.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/classdef.cpp b/src/classdef.cpp index 182815a..f52b083 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -36,6 +36,7 @@ #include "debug.h" #include "docparser.h" #include "searchindex.h" +#include "vhdldocgen.h" //static inline MemberList *createNewMemberList(MemberList::ListType lt) //{ @@ -142,13 +143,6 @@ class ClassDefImpl /* user defined member groups */ MemberGroupSDict *memberGroupSDict; - /*! Indicated whether this class exists because it is used by - * some other class only (TRUE) or if some class inherits from - * it (FALSE). This is need to remove used-only classes from - * the inheritance tree. - */ - bool artificial; - /*! Is this an abstact class? */ bool isAbstract; @@ -206,7 +200,6 @@ void ClassDefImpl::init(const char *defFileName, const char *name, variableInstances = 0; templateMaster =0; templBaseClassNames = 0; - artificial = FALSE; isAbstract = FALSE; isStatic = FALSE; isTemplArg = FALSE; @@ -283,8 +276,13 @@ QCString ClassDef::displayName() const { static bool hideScopeNames = Config_getBool("HIDE_SCOPE_NAMES"); static bool optimizeOutputForJava = Config_getBool("OPTIMIZE_OUTPUT_JAVA"); + static bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); QCString n; - if (hideScopeNames) + if (vhdlOpt) + { + n = VhdlDocGen::getClassName(this); + } + else if (hideScopeNames) { n=m_impl->className; } @@ -364,9 +362,9 @@ void ClassDef::internalInsertMember(MemberDef *md, bool addToAllList ) { + //printf("insertInternalMember(%s) isHidden()=%d\n",md->name().data(),md->isHidden()); if (md->isHidden()) return; - //printf("adding %s::%s\n",name().data(),md->name().data()); if (!isReference()) { static bool extractPrivate = Config_getBool("EXTRACT_PRIVATE"); @@ -912,12 +910,23 @@ void ClassDef::writeDetailedDescription(OutputList &ol, const QCString &pageType void ClassDef::showUsedFiles(OutputList &ol) { + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); if (Config_getBool("SHOW_USED_FILES")) { ol.writeRuler(); - ol.parseText(theTranslator->trGeneratedFromFiles( + if (fortranOpt) + { + ol.parseText(theTranslator->trGeneratedFromFilesFortran( m_impl->isObjC && m_impl->compType==Interface ? Class : m_impl->compType, m_impl->files.count()==1)); + } + else + { + ol.parseText(theTranslator->trGeneratedFromFiles( + m_impl->isObjC && m_impl->compType==Interface ? Class : m_impl->compType, + m_impl->files.count()==1)); + } + bool first=TRUE; const char *file = m_impl->files.first(); @@ -1083,9 +1092,13 @@ void ClassDef::writeClassDiagrams(OutputList &ol) { Doxygen::tagFile << " virtualness=\"virtual\""; } - Doxygen::tagFile << ">" << convertToXML(cd->name()) << "" << endl; + Doxygen::tagFile << ">" << convertToXML(cd->name()) + << "" << endl; } - ol.writeObjectLink(cd->getReference(),cd->getOutputFileBase(),0,cd->displayName()+bcd->templSpecifiers); + ol.writeObjectLink(cd->getReference(), + cd->getOutputFileBase(), + 0, + cd->displayName()+bcd->templSpecifiers); } else { @@ -1158,18 +1171,38 @@ void ClassDef::writeClassDiagrams(OutputList &ol) // write all documentation for this class void ClassDef::writeDocumentation(OutputList &ol) { + static bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); + static bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); QCString pageType = " "; + QCString pageTitle = " "; + pageType += compoundTypeString(); toupper(pageType.at(1)); - QCString pageTitle = theTranslator->trCompoundReference(displayName(), + if (fortranOpt) + { + pageTitle = theTranslator->trCompoundReferenceFortran(displayName(), + m_impl->compType, + m_impl->tempArgs != 0); + } + else if (vhdlOpt) + { + // TODO: translate + pageTitle = VhdlDocGen::getClassTitle(this)+" Reference"; + } + else + { + pageTitle = theTranslator->trCompoundReference(displayName(), m_impl->compType == Interface && m_impl->isObjC ? Class : m_impl->compType, m_impl->tempArgs != 0); + } - startFile(ol,getOutputFileBase(),name(),pageTitle,HLI_ClassVisible); + startFile(ol,getOutputFileBase(),name(),pageTitle,HLI_ClassVisible,TRUE); if (getOuterScope()!=Doxygen::globalScope) { writeNavigationPath(ol); } + ol.endQuickIndices(); + ol.startContents(); startTitle(ol,getOutputFileBase()); ol.parseText(pageTitle); addGroupListToTitle(ol,this); @@ -1437,12 +1470,16 @@ void ClassDef::writeDocumentation(OutputList &ol) // ); // nested classes - if (m_impl->innerClasses) m_impl->innerClasses->writeDeclaration(ol,0,0,TRUE); + if (m_impl->innerClasses) + { + m_impl->innerClasses->writeDeclaration(ol,0,0,TRUE); + } ol.endMemberSections(); // write detailed description - if (!Config_getBool("DETAILS_AT_TOP")) { + if (!Config_getBool("DETAILS_AT_TOP")) + { writeDetailedDescription(ol,pageType,exampleFlag); } @@ -1489,7 +1526,8 @@ void ClassDef::writeMemberDocumentation(OutputList &ol) /////////////////////////////////////////////////////////////////////////// //// Member definitions + detailed documentation /////////////////////////////////////////////////////////////////////////// - + bool fortranOpt=Config_getBool("OPTIMIZE_FOR_FORTRAN"); + if (Config_getBool("SEPARATE_MEMBER_PAGES")) { ol.disable(OutputGenerator::Html); @@ -1499,7 +1537,14 @@ void ClassDef::writeMemberDocumentation(OutputList &ol) writeMemberDocumentation(ol,MemberList::typedefMembers,theTranslator->trMemberTypedefDocumentation()); writeMemberDocumentation(ol,MemberList::enumMembers,theTranslator->trMemberEnumerationDocumentation()); writeMemberDocumentation(ol,MemberList::constructors,theTranslator->trConstructorDocumentation()); - writeMemberDocumentation(ol,MemberList::functionMembers,theTranslator->trMemberFunctionDocumentation()); + if (fortranOpt) + { + writeMemberDocumentation(ol,MemberList::functionMembers,theTranslator->trMemberFunctionDocumentationFortran()); + } + else + { + writeMemberDocumentation(ol,MemberList::functionMembers,theTranslator->trMemberFunctionDocumentation()); + } writeMemberDocumentation(ol,MemberList::relatedMembers,theTranslator->trRelatedFunctionDocumentation()); writeMemberDocumentation(ol,MemberList::variableMembers,theTranslator->trMemberDataDocumentation()); writeMemberDocumentation(ol,MemberList::propertyMembers,theTranslator->trPropertyDocumentation()); @@ -1610,8 +1655,9 @@ void ClassDef::writeDocumentationForInnerClasses(OutputList &ol) // write the list of all (inherited) members for this class void ClassDef::writeMemberList(OutputList &ol) { - if (m_impl->allMemberNameInfoSDict==0 || - Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) return; + static bool cOpt = Config_getBool("OPTIMIZE_OUTPUT_FOR_C"); + static bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); + if (m_impl->allMemberNameInfoSDict==0 || cOpt) return; // only for HTML ol.pushGeneratorState(); ol.disableAllBut(OutputGenerator::Html); @@ -1734,7 +1780,11 @@ void ClassDef::writeMemberList(OutputList &ol) ol.parseText(theTranslator->trDefinedIn()+" "); if (cd->isLinkable()) { - ol.writeObjectLink(cd->getReference(),cd->getOutputFileBase(),0,cd->displayName()); + ol.writeObjectLink( + cd->getReference(), + cd->getOutputFileBase(), + 0, + cd->displayName()); } else { @@ -1749,8 +1799,10 @@ void ClassDef::writeMemberList(OutputList &ol) if (memberWritten) { ol.writeString(""); - ol.writeObjectLink(cd->getReference(),cd->getOutputFileBase(), - 0,cd->displayName()); + ol.writeObjectLink(cd->getReference(), + cd->getOutputFileBase(), + 0, + cd->displayName()); ol.writeString(""); ol.writeString(""); } @@ -1759,14 +1811,16 @@ void ClassDef::writeMemberList(OutputList &ol) md->isFriend() || md->isRelated() || md->isExplicit() || md->isMutable() || (md->isInline() && Config_getBool("INLINE_INFO")) || md->isSignal() || md->isSlot() || - md->isStatic() + md->isStatic() || vhdlOpt ) && memberWritten) { ol.startTypewriter(); ol.docify(" ["); QStrList sl; - if (md->isFriend()) sl.append("friend"); + if (vhdlOpt) sl.append(VhdlDocGen::trVhdlType( + md->getMemberSpecifiers())); //append vhdl type + else if (md->isFriend()) sl.append("friend"); else if (md->isRelated()) sl.append("related"); else { @@ -1993,7 +2047,7 @@ bool ClassDef::isLinkableInProject() const else { return !name().isEmpty() && /* no name */ - !m_impl->artificial && !isHidden() && + !isArtificial() && !isHidden() && name().find('@')==-1 && /* anonymous compound */ (m_impl->prot!=Private || Config_getBool("EXTRACT_PRIVATE")) && /* private */ (!m_impl->isLocal || Config_getBool("EXTRACT_LOCAL_CLASSES")) && /* local */ @@ -2029,7 +2083,7 @@ bool ClassDef::isVisibleInHierarchy() // and not an annonymous compound name().find('@')==-1 && // not an artifically introduced class - !m_impl->artificial && + !isArtificial() && // and not privately inherited (m_impl->prot!=Private || extractPrivate) && // documented or shown anyway or documentation is external @@ -2097,6 +2151,13 @@ static bool isStandardFunc(MemberDef *md) void ClassDef::mergeMembers() { if (m_impl->membersMerged) return; + + static bool optimizeOutputForJava = Config_getBool("OPTIMIZE_OUTPUT_JAVA"); + static bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); + QCString sep="::"; + if (optimizeOutputForJava || vhdlOpt) sep="."; + int sepLen = sep.length(); + m_impl->membersMerged=TRUE; //printf(" mergeMembers for %s\n",name().data()); bool inlineInheritedMembers = Config_getBool("INLINE_INHERITED_MEMB" ); @@ -2171,7 +2232,7 @@ void ClassDef::mergeMembers() // dstMd->name().data(), // dstMi->scopePath.left(dstMi->scopePath.find("::")+2).data()); - QCString scope=dstMi->scopePath.left(dstMi->scopePath.find("::")+2); + QCString scope=dstMi->scopePath.left(dstMi->scopePath.find(sep)+sepLen); if (scope!=dstMi->ambiguityResolutionScope.left(scope.length())) dstMi->ambiguityResolutionScope.prepend(scope); ambigue=TRUE; @@ -2184,7 +2245,7 @@ void ClassDef::mergeMembers() // if base class is an interface (and thus implicitly virtual). //printf("same member found srcMi->virt=%d dstMi->virt=%d\n",srcMi->virt,dstMi->virt); if ((srcMi->virt!=Normal && dstMi->virt!=Normal) || - bClass->name()+"::"+srcMi->scopePath == dstMi->scopePath || + bClass->name()+sep+srcMi->scopePath == dstMi->scopePath || dstMd->getClassDef()->compoundType()==Interface ) { @@ -2198,7 +2259,7 @@ void ClassDef::mergeMembers() // dstMd->name().data(), // dstMi->scopePath.left(dstMi->scopePath.find("::")+2).data()); - QCString scope=dstMi->scopePath.left(dstMi->scopePath.find("::")+2); + QCString scope=dstMi->scopePath.left(dstMi->scopePath.find(sep)+sepLen); if (scope!=dstMi->ambiguityResolutionScope.left(scope.length())) { dstMi->ambiguityResolutionScope.prepend(scope); @@ -2236,7 +2297,7 @@ void ClassDef::mergeMembers() if (srcMi->virt==Normal && bcd->virt!=Normal) virt=bcd->virt; MemberInfo *newMi = new MemberInfo(srcMd,prot,virt,TRUE); - newMi->scopePath=bClass->name()+"::"+srcMi->scopePath; + newMi->scopePath=bClass->name()+sep+srcMi->scopePath; if (ambigue) { //printf("$$ New member %s %s add scope %s::\n", @@ -2244,7 +2305,7 @@ void ClassDef::mergeMembers() // srcMd->name().data(), // bClass->name().data()); - QCString scope=bClass->name()+"::"; + QCString scope=bClass->name()+sep; if (scope!=srcMi->ambiguityResolutionScope.left(scope.length())) { newMi->ambiguityResolutionScope= @@ -2256,12 +2317,12 @@ void ClassDef::mergeMembers() if (srcMi->ambigClass==0) { newMi->ambigClass=bClass; - newMi->ambiguityResolutionScope=bClass->name()+"::"; + newMi->ambiguityResolutionScope=bClass->name()+sep; } else { newMi->ambigClass=srcMi->ambigClass; - newMi->ambiguityResolutionScope=srcMi->ambigClass->name()+"::"; + newMi->ambiguityResolutionScope=srcMi->ambigClass->name()+sep; } } dstMni->append(newMi); @@ -2308,7 +2369,7 @@ void ClassDef::mergeMembers() } //printf("Adding!\n"); MemberInfo *newMi=new MemberInfo(mi->memberDef,prot,virt,TRUE); - newMi->scopePath=bClass->name()+"::"+mi->scopePath; + newMi->scopePath=bClass->name()+sep+mi->scopePath; newMi->ambigClass=mi->ambigClass; newMi->ambiguityResolutionScope=mi->ambiguityResolutionScope.copy(); newMni->append(newMi); @@ -2620,16 +2681,33 @@ void ClassDef::determineIntfUsageRelation() QCString ClassDef::compoundTypeString() const { if (m_impl->compType==Interface && m_impl->isObjC) return "class"; - switch (m_impl->compType) + if (Config_getBool("OPTIMIZE_FOR_FORTRAN")) + { + switch (m_impl->compType) + { + case Class: return "module"; + case Struct: return "type"; + case Union: return "union"; + case Interface: return "interface"; + case Protocol: return "protocol"; + case Category: return "category"; + case Exception: return "exception"; + default: return "unknown"; + } + } + else { - case Class: return "class"; - case Struct: return "struct"; - case Union: return "union"; - case Interface: return "interface"; - case Protocol: return "protocol"; - case Category: return "category"; - case Exception: return "exception"; - default: return "unknown"; + switch (m_impl->compType) + { + case Class: return "class"; + case Struct: return "struct"; + case Union: return "union"; + case Interface: return "interface"; + case Protocol: return "protocol"; + case Category: return "category"; + case Exception: return "exception"; + default: return "unknown"; + } } } @@ -2785,7 +2863,7 @@ ClassDef *ClassDef::insertTemplateInstance(const QCString &fileName, { Debug::print(Debug::Classes,0," New template instance class `%s'`%s'\n",name().data(),templSpec.data()); templateClass = new ClassDef( - fileName,startLine,name()+templSpec,ClassDef::Class); + fileName,startLine,localName()+templSpec,ClassDef::Class); templateClass->setTemplateMaster(this); templateClass->setOuterScope(getOuterScope()); templateClass->setHidden(isHidden()); @@ -2982,12 +3060,13 @@ QCString ClassDef::className() const void ClassDef::addListReferences() { + bool fortranOpt=Config_getBool("OPTIMIZE_FOR_FORTRAN"); if (!isLinkableInProject()) return; //printf("ClassDef(%s)::addListReferences()\n",name().data()); { LockingPtr< QList > xrefItems = xrefListItems(); addRefItem(xrefItems.pointer(), - theTranslator->trClass(TRUE,TRUE), + fortranOpt?theTranslator->trType(TRUE,TRUE):theTranslator->trClass(TRUE,TRUE), getOutputFileBase(),displayName() ); } @@ -3094,8 +3173,19 @@ void ClassDef::addMemberToList(MemberList::ListType lt,MemberDef *md) void ClassDef::writeMemberDeclarations(OutputList &ol,MemberList::ListType lt,const QCString &title, const char *subTitle) { + static bool optimizeVhdl = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); MemberList * ml = getMemberList(lt); - if (ml) ml->writeDeclarations(ol,this,0,0,0,title,subTitle); + if (ml) + { + if (optimizeVhdl) // use specific declarations function + { + VhdlDocGen::writeVhdlDeclarations(ml,ol,0,this); + } + else // ise generic declaration function + { + ml->writeDeclarations(ol,this,0,0,0,title,subTitle); + } + } } void ClassDef::writeMemberDocumentation(OutputList &ol,MemberList::ListType lt,const QCString &title) @@ -3119,11 +3209,6 @@ bool ClassDef::isLocal() const return m_impl->isLocal; } -bool ClassDef::isArtificial() const -{ - return m_impl->artificial; -} - ClassSDict *ClassDef::getInnerClasses() { return m_impl->innerClasses; @@ -3254,11 +3339,6 @@ void ClassDef::setProtection(Protection p) m_impl->prot=p; } -void ClassDef::setClassIsArtificial() -{ - m_impl->artificial = TRUE; -} - void ClassDef::setIsStatic(bool b) { m_impl->isStatic=b; diff --git a/src/classdef.h b/src/classdef.h index 762d138..20d4df7 100644 --- a/src/classdef.h +++ b/src/classdef.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -111,11 +111,6 @@ class ClassDef : public Definition /*! Returns TRUE if this is a local class definition, see EXTRACT_LOCAL_CLASSES */ bool isLocal() const; - /*! returns TRUE if this class was artificially introduced, for instance because - * it is used to show a template instantiation relation. - */ - bool isArtificial() const; - /*! returns the classes nested into this class */ ClassSDict *getInnerClasses(); @@ -286,7 +281,6 @@ class ClassDef : public Definition const QCString &templSpec,bool &freshInstance); void addUsedClass(ClassDef *cd,const char *accessName); void addUsedByClass(ClassDef *cd,const char *accessName); - void setClassIsArtificial(); void setIsStatic(bool b); void setIsObjectiveC(bool b); void setCompoundType(CompoundType t); @@ -340,126 +334,6 @@ class ClassDef : public Definition ClassDefImpl *m_impl; -#if 0 - /*! file name that forms the base for the output file containing the - * class documentation. For compatibility with Qt (e.g. links via tag - * files) this name cannot be derived from the class name directly. - */ - QCString m_fileName; - - /*! Include information about the header file should be included - * in the documentation. 0 by default, set by setIncludeFile(). - */ - IncludeInfo *m_incInfo; - - /*! List of base class (or super-classes) from which this class derives - * directly. - */ - BaseClassList *m_inherits; - - /*! List of sub-classes that directly derive from this class - */ - BaseClassList *m_inheritedBy; - - /*! Namespace this class is part of - * (this is the inner most namespace in case of nested namespaces) - */ - NamespaceDef *m_nspace; - - /*! File this class is defined in */ - FileDef *m_fileDef; - - /*! List of all members (including inherited members) */ - MemberNameInfoSDict *m_allMemberNameInfoSDict; - - /*! Template arguments of this class */ - ArgumentList *m_tempArgs; - - /*! Files that were used for generating the class documentation. */ - QStrList m_files; - - /*! Examples that use this class */ - ExampleSDict *m_exampleSDict; - - /*! Holds the kind of "class" this is. */ - CompoundType m_compType; - - /*! The protection level in which this class was found. - * Typically Public, but for nested classes this can also be Protected - * or Private. - */ - Protection m_prot; - - /*! The inner classes contained in this class. Will be 0 if there are - * no inner classes. - */ - ClassSDict *m_innerClasses; - - /* classes for the collaboration diagram */ - UsesClassDict *m_usesImplClassDict; - UsesClassDict *m_usedByImplClassDict; - UsesClassDict *m_usesIntfClassDict; - - /*! Template instances that exists of this class, the key in the - * dictionary is the template argument list. - */ - QDict *m_templateInstances; - - /*! Template instances that exists of this class, as defined by variables. - * We do NOT want to document these individually. The key in the - * dictionary is the template argument list. - */ - QDict *m_variableInstances; - - QDict *m_templBaseClassNames; - - /*! The class this class is an instance of. */ - ClassDef *m_templateMaster; - - /*! class name with outer class scope, but without namespace scope. */ - QCString m_className; - - /*! If this class is a Objective-C category, then this points to the - * class which is extended. - */ - ClassDef *m_categoryOf; - - QList m_memberLists; - - /* user defined member groups */ - MemberGroupSDict *memberGroupSDict; - - /*! Indicated whether this class exists because it is used by - * some other class only (TRUE) or if some class inherits from - * it (FALSE). This is need to remove used-only classes from - * the inheritance tree. - */ - bool m_artificial; - - /*! Is this an abstact class? */ - bool m_isAbstract; - - /*! Is the class part of an unnamed namespace? */ - bool m_isStatic; - - /*! Is the class part implemented in Objective C? */ - bool m_isObjC; - - /*! TRUE if classes members are merged with those of the base classes. */ - bool m_membersMerged; - - /*! TRUE if the class is defined in a source file rather than a header file. */ - bool m_isLocal; - - bool m_isTemplArg; - - /*! Does this class group its user-grouped members - * as a sub-section of the normal (public/protected/..) - * groups? - */ - bool m_subGrouping; -#endif - }; /*! \brief Class that contains information about a usage relation. diff --git a/src/classlist.cpp b/src/classlist.cpp index 6619b8e..ee23331 100644 --- a/src/classlist.cpp +++ b/src/classlist.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -21,6 +21,7 @@ #include "outputlist.h" #include "language.h" #include "doxygen.h" +#include "vhdldocgen.h" ClassList::ClassList() : QList() { @@ -66,6 +67,8 @@ ClassListIterator::ClassListIterator(const ClassList &cllist) : void ClassSDict::writeDeclaration(OutputList &ol,const ClassDef::CompoundType *filter, const char *header,bool localNames) { + static bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); + static bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); if (count()>0) { ClassSDict::Iterator sdi(*this); @@ -91,9 +94,14 @@ void ClassSDict::writeDeclaration(OutputList &ol,const ClassDef::CompoundType *f { ol.parseText(header); } + else if (vhdlOpt) + { + ol.parseText(VhdlDocGen::trVhdlType(VhdlDocGen::ARCHITECTURE,FALSE)); + } else { - ol.parseText(theTranslator->trCompounds()); + ol.parseText(fortranOpt ? theTranslator->trDataTypes() : + theTranslator->trCompounds()); } ol.endMemberHeader(); ol.startMemberList(); @@ -103,7 +111,7 @@ void ClassSDict::writeDeclaration(OutputList &ol,const ClassDef::CompoundType *f !cd->isReference()) // skip classes found in tag files { Doxygen::tagFile << " compoundTypeString() - << "\">" << convertToXML(cd->name()) << "" << endl; + << "\">" << convertToXML(cd->name()) << "" << endl; } ol.startMemberItem(FALSE); QCString tmp = cd->compoundTypeString(); @@ -116,16 +124,20 @@ void ClassSDict::writeDeclaration(OutputList &ol,const ClassDef::CompoundType *f { cname = cd->displayName(); } - ol.writeString(tmp); - ol.writeString(" "); - ol.insertMemberAlign(); + + if (!vhdlOpt) // for VHDL we swap the name and the type + { + ol.writeString(tmp); + ol.writeString(" "); + ol.insertMemberAlign(); + } if (isLink) { ol.writeObjectLink(cd->getReference(), cd->getOutputFileBase(), 0, cname - ); + ); } else { @@ -133,16 +145,21 @@ void ClassSDict::writeDeclaration(OutputList &ol,const ClassDef::CompoundType *f ol.docify(cname); ol.endBold(); } + if (vhdlOpt) // now write the type + { + ol.insertMemberAlign(); + VhdlDocGen::writeClassType(cd,ol,cname); + } ol.endMemberItem(); if (!cd->briefDescription().isEmpty()) { ol.startMemberDescription(); ol.parseDoc(cd->briefFile(),cd->briefLine(),cd,0, - cd->briefDescription(),FALSE,FALSE); + cd->briefDescription(),FALSE,FALSE); if (//(!cd->briefDescription().isEmpty() && Config_getBool("REPEAT_BRIEF")) || //!cd->documentation().isEmpty()) cd->isLinkableInProject() - ) + ) { ol.pushGeneratorState(); ol.disableAllBut(OutputGenerator::Html); diff --git a/src/classlist.h b/src/classlist.h index b212873..c408168 100644 --- a/src/classlist.h +++ b/src/classlist.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/cmdmapper.cpp b/src/cmdmapper.cpp index e6f74f0..bca36df 100644 --- a/src/cmdmapper.cpp +++ b/src/cmdmapper.cpp @@ -3,7 +3,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/cmdmapper.h b/src/cmdmapper.h index d5a2376..796284f 100644 --- a/src/cmdmapper.h +++ b/src/cmdmapper.h @@ -3,7 +3,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/code.h b/src/code.h index 62cc77c..e864f8a 100644 --- a/src/code.h +++ b/src/code.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/code.l b/src/code.l index 1052a03..aa1b9c7 100644 --- a/src/code.l +++ b/src/code.l @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -1665,6 +1665,7 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP} %option noyywrap %x SkipString +%x SkipStringS %x SkipVerbString %x SkipCPP %x SkipComment @@ -2334,18 +2335,33 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP} g_inForEachExpression = FALSE; BEGIN( SkipString ); } +\' { + startFontClass("stringliteral"); + g_code->codify(yytext); + g_lastStringContext=YY_START; + g_inForEachExpression = FALSE; + BEGIN( SkipStringS ); + } [^\"\\\r\n]* { g_code->codify(yytext); } -"//"|"/*" { +[^\'\\\r\n]* { g_code->codify(yytext); } -@?\" { +"//"|"/*" { + g_code->codify(yytext); + } +@?\" { + g_code->codify(yytext); + endFontClass(); + BEGIN( g_lastStringContext ); + } +\' { g_code->codify(yytext); endFontClass(); BEGIN( g_lastStringContext ); } -\\. { +\\. { g_code->codify(yytext); } [^"\n]+ { diff --git a/src/commentcnv.h b/src/commentcnv.h index 8bc8030..eb6dce5 100644 --- a/src/commentcnv.h +++ b/src/commentcnv.h @@ -1,8 +1,8 @@ /***************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/commentcnv.l b/src/commentcnv.l index e9a3b47..68ee64e 100644 --- a/src/commentcnv.l +++ b/src/commentcnv.l @@ -1,8 +1,8 @@ /***************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -65,6 +65,8 @@ static QCString g_aliasString; static int g_blockCount; static int g_lastBlockContext; +static SrcLangExt g_lang; + static void replaceCommentMarker(const char *s,int len) { const char *p=s; @@ -268,7 +270,7 @@ void replaceComment(int offset); %% -[^"'\/\n\\]* { /* eat anything that is not " / or \n */ +[^"'\/\n\\#\\-]* { /* eat anything that is not " / or \n */ copyToOutput(yytext,yyleng); } "\"" { /* start of a string */ @@ -312,6 +314,28 @@ void replaceComment(int offset); copyToOutput(yytext,yyleng); BEGIN(CComment); } +"##" { + if (g_lang!=SrcLangExt_Python) + { + REJECT; + } + else + { + copyToOutput(yytext,yyleng); + BEGIN(CComment); + } + } +"--!" { + if (g_lang!=SrcLangExt_VHDL) + { + REJECT; + } + else + { + copyToOutput(yytext,yyleng); + BEGIN(CComment); + } + } [\\@]("dot"|"code"|"msc")/[^a-z_A-Z0-9] { /* start of a verbatim block */ copyToOutput(yytext,yyleng); g_lastCommentContext = YY_START; @@ -414,6 +438,28 @@ void replaceComment(int offset); copyToOutput(yytext,yyleng); BEGIN(Scan); } +"\n"/[ \t]*[^#] { /* end of Python comment */ + if (g_lang!=SrcLangExt_Python) + { + REJECT; + } + else + { + copyToOutput(yytext,yyleng); + BEGIN(Scan); + } + } +"\n"/[ \t]*[^\-] { /* end of VHDL comment */ + if (g_lang!=SrcLangExt_VHDL) + { + REJECT; + } + else + { + copyToOutput(yytext,yyleng); + BEGIN(Scan); + } + } . { copyToOutput(yytext,yyleng); } @@ -480,8 +526,12 @@ void replaceComment(int offset); if (YY_START==CComment && oldSkip && !g_skip) { //printf("** Adding start of comment!\n"); - ADDCHAR('/'); - ADDCHAR('*'); + if (g_lang!=SrcLangExt_Python && + g_lang!=SrcLangExt_VHDL) + { + ADDCHAR('/'); + ADDCHAR('*'); + } } } [a-z_A-Z][a-z_A-Z0-9.\-]* { @@ -490,8 +540,12 @@ void replaceComment(int offset); if (g_condCtx==CComment && !oldSkip && g_skip) { //printf("** Adding terminator for comment!\n"); - ADDCHAR('*'); - ADDCHAR('/'); + if (g_lang!=SrcLangExt_Python && + g_lang!=SrcLangExt_VHDL) + { + ADDCHAR('*'); + ADDCHAR('/'); + } } BEGIN(g_condCtx); } @@ -504,8 +558,12 @@ void replaceComment(int offset); if (g_condCtx==CComment && !oldSkip && g_skip) { //printf("** Adding terminator for comment!\n"); - ADDCHAR('*'); - ADDCHAR('/'); + if (g_lang!=SrcLangExt_Python && + g_lang!=SrcLangExt_VHDL) + { + ADDCHAR('*'); + ADDCHAR('/'); + } } if (*yytext=='\n') g_lineNr++; BEGIN(g_condCtx); @@ -587,6 +645,7 @@ void convertCppComments(BufStr *inBuf,BufStr *outBuf,const char *fileName) g_mlBrief = Config_getBool("MULTILINE_CPP_IS_BRIEF"); g_skip = FALSE; g_fileName = fileName; + g_lang = getLanguageFromFileName(fileName); g_lineNr = 0; g_condStack.clear(); g_condStack.setAutoDelete(TRUE); diff --git a/src/commentscan.h b/src/commentscan.h index 85ff2a0..d01bea9 100644 --- a/src/commentscan.h +++ b/src/commentscan.h @@ -1,6 +1,6 @@ /****************************************************************************** * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/commentscan.l b/src/commentscan.l index 8635906..b72df2f 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -1,6 +1,6 @@ /***************************************************************************** * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -912,7 +912,7 @@ RCSTAG "$"{ID}":"[^\n$]+"$" DocCmdMapper::Cmd *cmdPtr = DocCmdMapper::map(cmdName); if (cmdPtr) // special action is required { - if (cmdPtr->endsBrief && !current->brief.stripWhiteSpace().isEmpty()) + if (cmdPtr->endsBrief) { briefEndsAtDot=FALSE; // this command forces the end of brief description diff --git a/src/config.l b/src/config.l index 23d0c5b..4be1ff7 100644 --- a/src/config.l +++ b/src/config.l @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -116,13 +116,14 @@ void ConfigOption::writeStringValue(QTextStream &t,QCString &s) if (p) { while ((c=*p++)!=0 && !needsEscaping) - needsEscaping = (c==' ' || c=='\n' || c=='\t' || c=='"'); + needsEscaping = (c==' ' || c=='\n' || c=='\t' || c=='"' || c=='#'); if (needsEscaping) { t << "\""; p=se.data(); while (*p) { + if (*p==' ' && *(p+1)=='\0') break; // skip inserted space at the end if (*p=='"') t << "\\"; // escape quotes t << *p++; } @@ -333,7 +334,7 @@ static int yyread(char *buf,int max_size) else { //assert(includeStack.current()->newState==YY_CURRENT_BUFFER); - return fread(buf,1,max_size,includeStack.current()->filePtr); + return (int)fread(buf,1,max_size,includeStack.current()->filePtr); } } @@ -347,7 +348,7 @@ static QCString configStringRecode( QCString outputEncoding = toEncoding; if (inputEncoding.isEmpty() || outputEncoding.isEmpty() || inputEncoding==outputEncoding) return str; int inputSize=str.length(); - int outputSize=inputSize*4+1; + size_t outputSize=inputSize*4+1; QCString output(outputSize); void *cd = portable_iconv_open(outputEncoding,inputEncoding); if (cd==(void *)(-1)) @@ -1213,6 +1214,8 @@ void Config::check() filePatternList.append("*.dox"); filePatternList.append("*.py"); filePatternList.append("*.f90"); + filePatternList.append("*.vhd"); + filePatternList.append("*.vhdl"); if (portable_fileSystemIsCaseSensitive()) { // unix => case sensitive match => also include useful uppercase versions @@ -1231,6 +1234,8 @@ void Config::check() filePatternList.append("*.MM"); filePatternList.append("*.PY"); filePatternList.append("*.F90"); + filePatternList.append("*.VHD"); + filePatternList.append("*.VHDL"); } } @@ -1304,6 +1309,35 @@ void Config::check() Config_getBool("SOURCE_BROWSER")=TRUE; Config_getBool("REFERENCED_BY_RELATION")=TRUE; } + // some default settings for vhdl + if (Config_getBool("OPTIMIZE_OUTPUT_VHDL") && + (Config_getBool("INLINE_INHERITED_MEMB") || + Config_getBool("INHERIT_DOCS") || + !Config_getBool("HIDE_SCOPE_NAMES") || + !Config_getBool("EXTRACT_PRIVATE") + ) + ) + { + bool b1 = Config_getBool("INLINE_INHERITED_MEMB"); + bool b2 = Config_getBool("INHERIT_DOCS"); + bool b3 = Config_getBool("HIDE_SCOPE_NAMES"); + bool b4 = Config_getBool("EXTRACT_PRIVATE"); + char *s1,*s2,*s3,*s4; + if (b1) s1=" INLINDE_INHERITED_MEMB = NO (was YES)\n"; else s1=""; + if (b2) s2=" INHERIT_DOCS = NO (was YES)\n"; else s2=""; + if (!b3) s3=" HIDE_SCOPE_NAMES = YES (was NO)\n"; else s3=""; + if (!b4) s4=" EXTRACT_PRIVATE = YES (was NO)\n"; else s4=""; + + config_err("Warning: enabling OPTIMIZE_OUTPUT_VHDL assumes the following settings:\n" + "%s%s%s%s",s1,s2,s3,s4 + ); + + Config_getBool("INLINE_INHERITED_MEMB") = FALSE; + Config_getBool("INHERIT_DOCS") = FALSE; + Config_getBool("HIDE_SCOPE_NAMES") = TRUE; + Config_getBool("EXTRACT_PRIVATE") = TRUE; + } + } void Config::init() @@ -1334,11 +1368,11 @@ void Config::create() cs = addString( "DOXYFILE_ENCODING", - "This tag specifies the encoding used for all characters in the config file that \n" - "follow. The default is UTF-8 which is also the encoding used for all text before \n" - "the first occurrence of this tag. Doxygen uses libiconv (or the iconv built into \n" - "libc) for the transcoding. See http://www.gnu.org/software/libiconv for the list of \n" - "possible encodings.\n" + "This tag specifies the encoding used for all characters in the config file \n" + "that follow. The default is UTF-8 which is also the encoding used for all \n" + "text before the first occurrence of this tag. Doxygen uses libiconv (or the \n" + "iconv built into libc) for the transcoding. See \n" + "http://www.gnu.org/software/libiconv for the list of possible encodings.\n" ); cs->setDefaultValue("UTF-8"); cs = addString( @@ -1379,8 +1413,8 @@ void Config::create() "Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, \n" "Croatian, Czech, Danish, Dutch, Finnish, French, German, Greek, Hungarian, \n" "Italian, Japanese, Japanese-en (Japanese with English messages), Korean, \n" - "Korean-en, Lithuanian, Norwegian, Polish, Portuguese, Romanian, Russian, \n" - "Serbian, Slovak, Slovene, Spanish, Swedish, and Ukrainian.\n", + "Korean-en, Lithuanian, Norwegian, Macedonian, Polish, Portuguese, Romanian, \n" + "Russian, Serbian, Slovak, Slovene, Spanish, Swedish, and Ukrainian.\n", "English" ); #ifdef LANG_ZA @@ -1446,6 +1480,9 @@ void Config::create() #ifdef LANG_NO ce->addValue("Norwegian"); #endif +#ifdef LANG_MK + ce->addValue("Macedonian"); +#endif #ifdef LANG_FA ce->addValue("Persian"); #endif @@ -1650,15 +1687,29 @@ void Config::create() cb = addBool( "OPTIMIZE_OUTPUT_JAVA", "Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java \n" - "sources only. Doxygen will then generate output that is more tailored for Java. \n" - "For instance, namespaces will be presented as packages, qualified scopes \n" - "will look different, etc. \n", + "sources only. Doxygen will then generate output that is more tailored for \n" + "Java. For instance, namespaces will be presented as packages, qualified \n" + "scopes will look different, etc. \n", + FALSE + ); + cb = addBool( + "OPTIMIZE_FOR_FORTRAN", + "Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran \n" + "sources only. Doxygen will then generate output that is more tailored for \n" + "Fortran. \n", + FALSE + ); + cb = addBool( + "OPTIMIZE_OUTPUT_VHDL", + "Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL \n" + "sources. Doxygen will then generate output that is tailored for \n" + "VHDL. \n", FALSE ); cb = addBool( "BUILTIN_STL_SUPPORT", - "If you use STL classes (i.e. std::string, std::vector, etc.) but do not want to \n" - "include (a tag file for) the STL sources as input, then you should \n" + "If you use STL classes (i.e. std::string, std::vector, etc.) but do not want \n" + "to include (a tag file for) the STL sources as input, then you should \n" "set this tag to YES in order to let doxygen match functions declarations and \n" "definitions whose arguments contain STL classes (e.g. func(std::string); v.s. \n" "func(std::string) {}). This also make the inheritance and collaboration \n" @@ -1745,10 +1796,11 @@ void Config::create() ); cb = addBool( "EXTRACT_ANON_NSPACES", - "If this flag is set to YES, the members of anonymous namespaces will be extracted \n" - "and appear in the documentation as a namespace called 'anonymous_namespace{file}', \n" - "where file will be replaced with the base name of the file that contains the anonymous \n" - "namespace. By default anonymous namespace are hidden. \n", + "If this flag is set to YES, the members of anonymous namespaces will be \n" + "extracted and appear in the documentation as a namespace called \n" + "'anonymous_namespace{file}', where file will be replaced with the base \n" + "name of the file that contains the anonymous namespace. By default \n" + "anonymous namespace are hidden. \n", FALSE ); cb = addBool( @@ -1909,8 +1961,8 @@ void Config::create() ); cs = addString( "FILE_VERSION_FILTER", "The FILE_VERSION_FILTER tag can be used to specify a program or script that \n" - "doxygen should invoke to get the current version for each file (typically from the \n" - "version control system). Doxygen will invoke the program by executing (via \n" + "doxygen should invoke to get the current version for each file (typically from \n" + "the version control system). Doxygen will invoke the program by executing (via \n" "popen()) the command , where is the value of \n" "the FILE_VERSION_FILTER tag, and is the name of an input file \n" "provided by doxygen. Whatever the program writes to standard output \n" @@ -1987,10 +2039,11 @@ void Config::create() ); cl->setWidgetType(ConfigList::FileAndDir); cs = addString( "INPUT_ENCODING", - "This tag can be used to specify the character encoding of the source files that \n" - "doxygen parses. Internally doxygen uses the UTF-8 encoding, which is also the default \n" - "input encoding. Doxygen uses libiconv (or the iconv built into libc) for the transcoding. \n" - "See http://www.gnu.org/software/libiconv for the list of possible encodings.\n" + "This tag can be used to specify the character encoding of the source files \n" + "that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is \n" + "also the default input encoding. Doxygen uses libiconv (or the iconv built \n" + "into libc) for the transcoding. See http://www.gnu.org/software/libiconv for \n" + "the list of possible encodings.\n" ); cs->setDefaultValue("UTF-8"); cl = addList( @@ -2034,9 +2087,10 @@ void Config::create() cl = addList( "EXCLUDE_SYMBOLS", "The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names \n" - "(namespaces, classes, functions, etc.) that should be excluded from the output. \n" - "The symbol name can be a fully qualified name, a word, or if the wildcard * is used, \n" - "a substring. Examples: ANamespace, AClass, AClass::ANamespace, ANamespace::*Test \n" + "(namespaces, classes, functions, etc.) that should be excluded from the \n" + "output. The symbol name can be a fully qualified name, a word, or if the \n" + "wildcard * is used, a substring. Examples: ANamespace, AClass, \n" + "AClass::ANamespace, ANamespace::*Test \n" ); cl = addList( "EXAMPLE_PATH", @@ -2255,7 +2309,38 @@ void Config::create() "of the generated HTML documentation. \n", FALSE ); + cb = addBool( + "GENERATE_DOCSET", + "If the GENERATE_DOCSET tag is set to YES, additional index files \n" + "will be generated that can be used as input for Apple's Xcode 3 \n" + "integrated development environment, introduced with OSX 10.5 (Leopard). \n" + "To create a documentation set, doxygen will generate a Makefile in the \n" + "HTML output directory. Running make will produce the docset in that \n" + "directory and running \"make install\" will install the docset in \n" + "~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find \n" + "it at startup.", + FALSE + ); cb->addDependency("GENERATE_HTML"); + cs = addString( + "DOCSET_FEEDNAME", + "When GENERATE_DOCSET tag is set to YES, this tag determines the name of the \n" + "feed. A documentation feed provides an umbrella under which multiple \n" + "documentation sets from a single provider (such as a company or product suite) \n" + "can be grouped. \n" + ); + cs->setDefaultValue("Doxygen generated docs"); + cb->addDependency("GENERATE_DOCSET"); + cs = addString( + "DOCSET_BUNDLE_ID", + "When GENERATE_DOCSET tag is set to YES, this tag specifies a string that \n" + "should uniquely identify the documentation set bundle. This should be a \n" + "reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen \n" + "will append .docset to the name. \n" + ); + cs->setDefaultValue("org.doxygen.Project"); + cb->addDependency("GENERATE_DOCSET"); + cb = addBool( "HTML_DYNAMIC_SECTIONS", "If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML \n" @@ -2429,7 +2514,7 @@ void Config::create() "is prepared for conversion to pdf (using ps2pdf). The pdf file will \n" "contain links (just like the HTML output) instead of page references \n" "This makes the output suitable for online browsing using a pdf viewer. \n", - FALSE + TRUE ); cb->addDependency("GENERATE_LATEX"); cb = addBool( @@ -2437,7 +2522,7 @@ void Config::create() "If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of \n" "plain latex in the generated Makefile. Set this option to YES to get a \n" "higher quality PDF documentation. \n", - FALSE + TRUE ); cb->addDependency("GENERATE_LATEX"); cb = addBool( @@ -2793,10 +2878,11 @@ void Config::create() ); cs = addString( "MSCGEN_PATH", "You can define message sequence charts within doxygen comments using the \\msc \n" - "command. Doxygen will then run the mscgen tool (see http://www.mcternan.me.uk/mscgen/) to \n" - "produce the chart and insert it in the documentation. The MSCGEN_PATH tag allows you to \n" - "specify the directory where the mscgen tool resides. If left empty the tool is assumed to \n" - "be found in the default search path. \n" + "command. Doxygen will then run the mscgen tool (see \n" + "http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the \n" + "documentation. The MSCGEN_PATH tag allows you to specify the directory where \n" + "the mscgen tool resides. If left empty the tool is assumed to be found in the \n" + "default search path. \n" ); cb = addBool( "HIDE_UNDOC_RELATIONS", @@ -2873,21 +2959,21 @@ void Config::create() cb->addDependency("HAVE_DOT"); cb = addBool( "CALL_GRAPH", - "If the CALL_GRAPH, SOURCE_BROWSER and HAVE_DOT tags are set to YES then doxygen will \n" - "generate a call dependency graph for every global function or class method. \n" - "Note that enabling this option will significantly increase the time of a run. \n" - "So in most cases it will be better to enable call graphs for selected \n" - "functions only using the \\callgraph command.\n", + "If the CALL_GRAPH, SOURCE_BROWSER and HAVE_DOT tags are set to YES then \n" + "doxygen will generate a call dependency graph for every global function \n" + "or class method. Note that enabling this option will significantly increase \n" + "the time of a run. So in most cases it will be better to enable call graphs \n" + "for selected functions only using the \\callgraph command.\n", FALSE ); cb->addDependency("HAVE_DOT"); cb = addBool( "CALLER_GRAPH", - "If the CALLER_GRAPH, SOURCE_BROWSER and HAVE_DOT tags are set to YES then doxygen will \n" - "generate a caller dependency graph for every global function or class method. \n" - "Note that enabling this option will significantly increase the time of a run. \n" - "So in most cases it will be better to enable caller graphs for selected \n" - "functions only using the \\callergraph command.\n", + "If the CALLER_GRAPH, SOURCE_BROWSER and HAVE_DOT tags are set to YES then \n" + "doxygen will generate a caller dependency graph for every global function \n" + "or class method. Note that enabling this option will significantly increase \n" + "the time of a run. So in most cases it will be better to enable caller \n" + "graphs for selected functions only using the \\callergraph command.\n", FALSE ); cb->addDependency("HAVE_DOT"); @@ -2938,9 +3024,9 @@ void Config::create() "The MAX_DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of \n" "nodes that will be shown in the graph. If the number of nodes in a graph \n" "becomes larger than this value, doxygen will truncate the graph, which is \n" - "visualized by representing a node as a red box. Note that doxygen if the number \n" - "of direct children of the root node in a graph is already larger than \n" - "MAX_DOT_GRAPH_NOTES then the graph will not be shown at all. Also note \n" + "visualized by representing a node as a red box. Note that doxygen if the \n" + "number of direct children of the root node in a graph is already larger than \n" + "DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note \n" "that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. \n", 0,10000, 50 ); @@ -2962,10 +3048,10 @@ void Config::create() cb = addBool( "DOT_TRANSPARENT", "Set the DOT_TRANSPARENT tag to YES to generate images with a transparent \n" - "background. This is disabled by default, which results in a white background. \n" - "Warning: Depending on the platform used, enabling this option may lead to \n" - "badly anti-aliased labels on the edges of a graph (i.e. they become hard to \n" - "read). \n", + "background. This is enabled by default, which results in a transparent \n" + "background. Warning: Depending on the platform used, enabling this option \n" + "may lead to badly anti-aliased labels on the edges of a graph (i.e. they \n" + "become hard to read). \n", TRUE ); cb->addDependency("HAVE_DOT"); diff --git a/src/constexp.h b/src/constexp.h index d2bc7d0..8449409 100644 --- a/src/constexp.h +++ b/src/constexp.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/constexp.l b/src/constexp.l index 5e44ba3..5b725d3 100644 --- a/src/constexp.l +++ b/src/constexp.l @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/constexp.y b/src/constexp.y index b0ced42..04c6224 100644 --- a/src/constexp.y +++ b/src/constexp.y @@ -1,6 +1,6 @@ /****************************************************************************** * - * $Id$ + * * * * Copyright (C) 1997-2007 by Dimitri van Heesch. diff --git a/src/cppvalue.cpp b/src/cppvalue.cpp index 5858e60..af4b03d 100644 --- a/src/cppvalue.cpp +++ b/src/cppvalue.cpp @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/cppvalue.h b/src/cppvalue.h index c9a48f0..77d4864 100644 --- a/src/cppvalue.h +++ b/src/cppvalue.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/debug.cpp b/src/debug.cpp index 274294e..d770953 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/debug.h b/src/debug.h index 1a35900..0330077 100644 --- a/src/debug.h +++ b/src/debug.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/declinfo.h b/src/declinfo.h index 07869d8..1dfaa7a 100644 --- a/src/declinfo.h +++ b/src/declinfo.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/declinfo.l b/src/declinfo.l index 5cb3944..d36610e 100644 --- a/src/declinfo.l +++ b/src/declinfo.l @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/defargs.h b/src/defargs.h index abee943..cb0f81b 100644 --- a/src/defargs.h +++ b/src/defargs.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/defargs.l b/src/defargs.l index a924f10..b7259a1 100644 --- a/src/defargs.l +++ b/src/defargs.l @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/defgen.cpp b/src/defgen.cpp index 87a46de..2fd358e 100644 --- a/src/defgen.cpp +++ b/src/defgen.cpp @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/defgen.h b/src/defgen.h index 7c8e2e4..37e8399 100644 --- a/src/defgen.h +++ b/src/defgen.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/define.cpp b/src/define.cpp index 47e4541..a18604e 100644 --- a/src/define.cpp +++ b/src/define.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/define.h b/src/define.h index b57007b..9d2cd17 100644 --- a/src/define.h +++ b/src/define.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/definition.cpp b/src/definition.cpp index 408f831..9bc0ad6 100644 --- a/src/definition.cpp +++ b/src/definition.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -72,6 +72,7 @@ class DefinitionImpl QCString ref; // reference to external documentation bool hidden; + bool isArtificial; Definition *outerScope; // not owner @@ -133,6 +134,7 @@ void DefinitionImpl::init(const char *df,int dl, partOfGroups=0; xrefListItems=0; hidden = FALSE; + isArtificial = FALSE; } //----------------------------------------------------------------------------------------- @@ -283,7 +285,10 @@ Definition::Definition(const char *df,int dl, if (isSymbol) addToMap(name,this); _setBriefDescription(b,df,dl); _setDocumentation(d,df,dl,TRUE,FALSE); - if (matchExcludedSymbols(name)) m_impl->hidden = TRUE; + if (matchExcludedSymbols(name)) + { + m_impl->hidden = TRUE; + } } Definition::~Definition() @@ -479,11 +484,12 @@ void Definition::setBriefDescription(const char *b,const char *briefFile,int bri static bool readCodeFragment(const char *fileName, int &startLine,int &endLine,QCString &result) { + static bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); //printf("readCodeFragment(%s,%d,%d)\n",fileName,startLine,endLine); if (fileName==0 || fileName[0]==0) return FALSE; // not a valid file name QCString cmd=getFileFilter(fileName)+" \""+fileName+"\""; FILE *f = Config_getBool("FILTER_SOURCE_FILES") ? popen(cmd,"r") : fopen(fileName,"r"); - bool found=FALSE; + bool found=vhdlOpt; // for VHDL not bracket search is possible if (f) { int c=0; @@ -709,6 +715,8 @@ void Definition::writeInlineCode(OutputList &ol,const char *scopeName) actualStart,actualEnd,codeFragment) ) { + //printf("Adding code fragement '%s' ext='%s'\n", + // codeFragment.data(),m_impl->defFileExt.data()); ParserInterface *pIntf = Doxygen::parserManager->getParser(m_impl->defFileExt); pIntf->resetCodeParserState(); //printf("Read:\n`%s'\n\n",codeFragment.data()); @@ -929,16 +937,43 @@ void Definition::addInnerCompound(Definition *) err("Error: Definition::addInnerCompound() called\n"); } -QCString Definition::qualifiedName() +QCString Definition::qualifiedName() const { + static int count=0; + count++; makeResident(); - if (!m_impl->qualifiedName.isEmpty()) return m_impl->qualifiedName; + if (!m_impl->qualifiedName.isEmpty()) + { + count--; + return m_impl->qualifiedName; + } +#if 0 + if (count>20) + { + printf("Definition::qualifiedName() Infinite recursion detected! Type=%d\n",definitionType()); + printf("Trace:\n"); + Definition *d = (Definition *)this; + for (int i=0;d && i<20;i++) + { + printf(" %s\n",d->name().data()); + d = d->getOuterScope(); + } + } +#endif - //printf("start Definition::qualifiedName() localName=%s\n",m_localName.data()); + //printf("start %s::qualifiedName() localName=%s\n",name().data(),m_impl->localName.data()); if (m_impl->outerScope==0) { - if (m_impl->localName=="") return ""; - else return m_impl->localName; + if (m_impl->localName=="") + { + count--; + return ""; + } + else + { + count--; + return m_impl->localName; + } } if (m_impl->outerScope->name()=="") @@ -949,7 +984,8 @@ QCString Definition::qualifiedName() { m_impl->qualifiedName = m_impl->outerScope->qualifiedName()+"::"+m_impl->localName; } - //printf("end Definition::qualifiedName()=%s\n",m_qualifiedName.data()); + //printf("end %s::qualifiedName()=%s\n",name().data(),m_impl->qualifiedName.data()); + count--; return m_impl->qualifiedName; }; @@ -1068,7 +1104,9 @@ void Definition::writePathFragment(OutputList &ol) const if (m_impl->outerScope->definitionType()==Definition::TypeClass || m_impl->outerScope->definitionType()==Definition::TypeNamespace) { - if (Config_getBool("OPTIMIZE_OUTPUT_JAVA")) + if (Config_getBool("OPTIMIZE_OUTPUT_JAVA") || + Config_getBool("OPTIMIZE_OUTPUT_VHDL") + ) { ol.writeString("."); } @@ -1112,9 +1150,9 @@ void Definition::writeNavigationPath(OutputList &ol) const ol.pushGeneratorState(); ol.disableAllBut(OutputGenerator::Html); - ol.writeString("

    \n"); + ol.writeString("
    "); writePathFragment(ol); - ol.writeString("
    \n"); + ol.writeString("\n
    \n"); ol.popGeneratorState(); } @@ -1217,6 +1255,11 @@ bool Definition::isVisible() const return isLinkable() && !m_impl->hidden; } +bool Definition::isArtificial() const +{ + return m_impl->isArtificial; +} + QCString Definition::getReference() const { makeResident(); @@ -1288,6 +1331,12 @@ void Definition::setHidden(bool b) m_impl->hidden = m_impl->hidden || b; } +void Definition::setArtificial(bool b) +{ + makeResident(); + m_impl->isArtificial = b; +} + void Definition::setLocalName(const QCString name) { makeResident(); @@ -1318,6 +1367,7 @@ void Definition::flushToDisk() const marshalQCString (Doxygen::symbolStorage,m_impl->qualifiedName); marshalQCString (Doxygen::symbolStorage,m_impl->ref); marshalBool (Doxygen::symbolStorage,m_impl->hidden); + marshalBool (Doxygen::symbolStorage,m_impl->isArtificial); marshalObjPointer (Doxygen::symbolStorage,m_impl->outerScope); marshalQCString (Doxygen::symbolStorage,m_impl->defFileName); marshalInt (Doxygen::symbolStorage,m_impl->defLine); @@ -1348,6 +1398,7 @@ void Definition::loadFromDisk() const m_impl->qualifiedName = unmarshalQCString (Doxygen::symbolStorage); m_impl->ref = unmarshalQCString (Doxygen::symbolStorage); m_impl->hidden = unmarshalBool (Doxygen::symbolStorage); + m_impl->isArtificial = unmarshalBool (Doxygen::symbolStorage); m_impl->outerScope = (Definition *)unmarshalObjPointer (Doxygen::symbolStorage); m_impl->defFileName = unmarshalQCString (Doxygen::symbolStorage); m_impl->defLine = unmarshalInt (Doxygen::symbolStorage); diff --git a/src/definition.h b/src/definition.h index 8f57ba8..afaf34f 100644 --- a/src/definition.h +++ b/src/definition.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -120,7 +120,7 @@ class Definition : public DefinitionIntf, public LockableObj /*! Returns the fully qualified name of this definition */ - virtual QCString qualifiedName(); + virtual QCString qualifiedName() const; /*! Returns the name of this definition as it appears in the symbol map. */ @@ -200,6 +200,11 @@ class Definition : public DefinitionIntf, public LockableObj /*! Returns TRUE iff this item is supposed to be hidden from the output. */ bool isHidden() const; + /*! returns TRUE if this entity was artificially introduced, for + * instance because it is used to show a template instantiation relation. + */ + bool isArtificial() const; + /*! If this definition was imported via a tag file, this function * returns the tagfile for the external project. This can be * translated into an external link target via @@ -271,6 +276,8 @@ class Definition : public DefinitionIntf, public LockableObj void setHidden(bool b); + void setArtificial(bool b); + //----------------------------------------------------------------------------------- // --- actions ---- //----------------------------------------------------------------------------------- diff --git a/src/diagram.cpp b/src/diagram.cpp index dc6b05d..53c062b 100644 --- a/src/diagram.cpp +++ b/src/diagram.cpp @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/diagram.h b/src/diagram.h index d0c9d12..ba1b410 100644 --- a/src/diagram.h +++ b/src/diagram.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/dirdef.cpp b/src/dirdef.cpp index 7768c32..415a2fa 100644 --- a/src/dirdef.cpp +++ b/src/dirdef.cpp @@ -142,11 +142,14 @@ void DirDef::writeDocumentation(OutputList &ol) QCString shortTitle=theTranslator->trDirReference(m_shortName); QCString title=theTranslator->trDirReference(m_dispName); - startFile(ol,getOutputFileBase(),name(),title); + startFile(ol,getOutputFileBase(),name(),title,HLI_None,TRUE); // write navigation path writeNavigationPath(ol); + ol.endQuickIndices(); + ol.startContents(); + startTitle(ol,getOutputFileBase()); ol.pushGeneratorState(); ol.disableAllBut(OutputGenerator::Html); diff --git a/src/dirdef.h b/src/dirdef.h index 234a708..c88ffa9 100644 --- a/src/dirdef.h +++ b/src/dirdef.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/docparser.cpp b/src/docparser.cpp index 3418c22..529d0e7 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -3621,7 +3621,9 @@ endlist: DBG(("DocHtmlList::parseXml() end retval=%x\n",retval)); DocNode *n=g_nodeStack.pop(); ASSERT(n==this); - return retval==RetVal_EndList ? RetVal_OK : retval; + return retval==RetVal_EndList || + (retval==RetVal_CloseXml || g_token->name=="list") ? + RetVal_OK : retval; } //--------------------------------------------------------------------------- @@ -5972,6 +5974,7 @@ DocNode *validatingParseDoc(const char *fileName,int startLine, //g_token = new TokenInfo; // store parser state so we can re-enter this function if needed + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); docParserPushContext(); if (ctx && @@ -5999,9 +6002,10 @@ DocNode *validatingParseDoc(const char *fileName,int startLine, if (indexWords && md && Config_getBool("SEARCHENGINE")) { + g_searchUrl=md->getOutputFileBase(); Doxygen::searchIndex->setCurrentDoc( - theTranslator->trMember(TRUE,TRUE)+" "+md->qualifiedName(), + (fortranOpt?theTranslator->trSubprogram(TRUE,TRUE):theTranslator->trMember(TRUE,TRUE))+" "+md->qualifiedName(), g_searchUrl, md->anchor()); } @@ -6040,7 +6044,11 @@ DocNode *validatingParseDoc(const char *fileName,int startLine, { name = theTranslator->trPackage(name); } - else + else if(fortranOpt) + { + name.prepend(theTranslator->trModule(TRUE,TRUE)+" "); + } + else { name.prepend(theTranslator->trNamespace(TRUE,TRUE)+" "); } diff --git a/src/docparser.h b/src/docparser.h index e39127c..93a6a76 100644 --- a/src/docparser.h +++ b/src/docparser.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/docsets.cpp b/src/docsets.cpp new file mode 100644 index 0000000..52a3c33 --- /dev/null +++ b/src/docsets.cpp @@ -0,0 +1,385 @@ +/****************************************************************************** + * + * Copyright (C) 1997-2008 by Dimitri van Heesch. + * + * Permission to use, copy, modify, and distribute this software and its + * documentation under the terms of the GNU General Public License is hereby + * granted. No representations are made about the suitability of this software + * for any purpose. It is provided "as is" without express or implied warranty. + * See the GNU General Public License for more details. + * + * Documents produced by Doxygen are derivative works derived from the + * input used in their production; they are not affected by this license. + * + */ + +#include "docsets.h" +#include "config.h" +#include "message.h" +#include "doxygen.h" +#include + + +DocSets::DocSets() : m_nodes(17), m_scopes(17) +{ + m_nf = 0; + m_tf = 0; + m_dc = 0; + m_id = 0; + m_nodes.setAutoDelete(TRUE); +} + +DocSets::~DocSets() +{ + delete m_nf; + delete m_tf; +} + +void DocSets::initialize() +{ + // -- get config options + QCString projectName = Config_getString("PROJECT_NAME"); + if (projectName.isEmpty()) projectName="root"; + QCString bundleId = Config_getString("DOCSET_BUNDLE_ID"); + if (bundleId.isEmpty()) bundleId="org.doxygen.Project"; + QCString feedName = Config_getString("DOCSET_FEEDNAME"); + if (feedName.isEmpty()) feedName="FeedName"; + + // -- write Makefile + { + QCString mfName = Config_getString("HTML_OUTPUT") + "/Makefile"; + QFile makefile(mfName); + if (!makefile.open(IO_WriteOnly)) + { + err("Could not open file %s for writing\n",mfName.data()); + exit(1); + } + QTextStream ts(&makefile); + ts.setEncoding(QTextStream::UnicodeUTF8); + + ts << "DOCSET_NAME=" << bundleId << ".docset\n" + "DOCSET_CONTENTS=$(DOCSET_NAME)/Contents\n" + "DOCSET_RESOURCES=$(DOCSET_CONTENTS)/Resources\n" + "DOCSET_DOCUMENTS=$(DOCSET_RESOURCES)/Documents\n" + "DOCSET_INSTALL=~/Library/Developer/Shared/Documentation/DocSets\n" + "\n" + "all: always\n" + "\tmkdir -p $(DOCSET_DOCUMENTS)\n" + "\tcp Nodes.xml $(DOCSET_RESOURCES)\n" + "\tcp Tokens.xml $(DOCSET_RESOURCES)\n" + "\tcp Info.plist $(DOCSET_CONTENTS)\n" + "\ttar --exclude $(DOCSET_NAME) \\\n" + "\t --exclude Nodes.xml \\\n" + "\t --exclude Tokens.xml \\\n" + "\t --exclude Info.plist \\\n" + "\t --exclude Makefile -c -f - . \\\n" + "\t | (cd $(DOCSET_DOCUMENTS); tar xvf -)\n" + "\tdocsetutil index $(DOCSET_NAME)\n" + "\trm -f $(DOCSET_DOCUMENTS)/Nodes.xml\n" + "\trm -f $(DOCSET_DOCUMENTS)/Info.plist\n" + "\trm -f $(DOCSET_DOCUMENTS)/Makefile\n" + "\trm -f $(DOCSET_RESOURCES)/Nodes.xml\n" + "\trm -f $(DOCSET_RESOURCES)/Tokens.xml\n" + "\n" + "install:\n" + "\tmkdir -p $(DOCSET_INSTALL)\n" + "\tcp -a $(DOCSET_NAME) $(DOCSET_INSTALL)\n" + "\n" + "uninstall:\n" + "\trm -rf $(DOCSET_INSTALL)\n" + "\n" + "always:\n"; + } + + // -- write Info.plist + { + QCString plName = Config_getString("HTML_OUTPUT") + "/Info.plist"; + QFile plist(plName); + if (!plist.open(IO_WriteOnly)) + { + err("Could not open file %s for writing\n",plName.data()); + exit(1); + } + QTextStream ts(&plist); + ts.setEncoding(QTextStream::UnicodeUTF8); + + ts << "\n" + "\n" + "\n" + "\n" + " CFBundleName\n" + " " << projectName << "\n" + " CFBundleIdentifier\n" + " " << bundleId << ".docset\n" + " DocSetFeedName\n" + " " << feedName << "\n" + "\n" + "\n"; + } + + // -- start Nodes.xml + QCString notes = Config_getString("HTML_OUTPUT") + "/Nodes.xml"; + m_nf = new QFile(notes); + if (!m_nf->open(IO_WriteOnly)) + { + err("Could not open file %s for writing\n",notes.data()); + exit(1); + } + QCString indexName="index"; + if (Config_getBool("GENERATE_TREEVIEW")) indexName="main"; + m_nts.setDevice(m_nf); + m_nts.setEncoding(QTextStream::UnicodeUTF8); + m_nts << "" << endl; + m_nts << "" << endl; + m_nts << " " << endl; + m_nts << " " << endl; + m_nts << " Root" << endl; + m_nts << " " << indexName << Doxygen::htmlFileExtension << "" << endl; + m_nts << " " << endl; + m_dc = 1; + m_firstNode.resize(m_dc); + m_firstNode.at(0)=TRUE; + + QCString tokens = Config_getString("HTML_OUTPUT") + "/Tokens.xml"; + m_tf = new QFile(tokens); + if (!m_tf->open(IO_WriteOnly)) + { + err("Could not open file %s for writing\n",tokens.data()); + exit(1); + } + m_tts.setDevice(m_tf); + m_tts.setEncoding(QTextStream::UnicodeUTF8); + m_tts << "" << endl; + m_tts << "" << endl; +} + +void DocSets::finalize() +{ + m_nts << indent() << " " << endl; + m_dc--; + m_nts << " " << endl; + m_nts << " " << endl; + m_nts << " " << endl; + m_nts << "" << endl; + m_nf->close(); + delete m_nf; + m_nf=0; + + m_tts << "" << endl; + m_tf->close(); + delete m_tf; + m_tf=0; +} + +QCString DocSets::indent() +{ + QCString result; + result.fill(' ',(m_dc+2)*2); + return result; +} + +void DocSets::incContentsDepth() +{ + ++m_dc; + m_nts << indent() << "" << endl; + m_firstNode.resize(m_dc); + if (m_dc>0) + { + m_firstNode.at(m_dc-1)=TRUE; + } +} + +void DocSets::decContentsDepth() +{ + if (!m_firstNode.at(m_dc-1)) + { + m_nts << indent() << " " << endl; + } + m_nts << indent() << "" << endl; + --m_dc; +} + +void DocSets::addContentsItem(bool isDir, + const char *name, + const char *ref, + const char *file, + const char *anchor) +{ + (void)isDir; + if (file && ref==0) + { + if (!m_firstNode.at(m_dc-1)) + { + m_nts << indent() << " " << endl; + } + m_firstNode.at(m_dc-1)=FALSE; + m_nts << indent() << " " << endl; + m_nts << indent() << " " << convertToXML(name) << "" << endl; + m_nts << indent() << " " << file << Doxygen::htmlFileExtension; + if (anchor) + { + m_nts << "#" << anchor; + } + m_nts << "" << endl; + } +} + +void DocSets::addIndexItem(const char *, const char *, + const char *, const char *, + const char *,const MemberDef *md) +{ + if (!md->isLinkable()) return; // internal symbol + + ClassDef *cd = md->getClassDef(); + NamespaceDef *nd = md->getNamespaceDef(); + FileDef *fd = md->getFileDef(); + + // determine language + QCString lang; + SrcLangExt langExt = SrcLangExt_Cpp; + if (fd) langExt = getLanguageFromFileName(fd->name()); + switch (langExt) + { + case SrcLangExt_Cpp: + { + if (md->isObjCMethod()) + lang="occ"; // Objective C/C++ + else if (fd && fd->name().right(2).lower()==".c") + lang="c"; // Plain C + else + lang="cpp"; // C++ + } + break; + case SrcLangExt_ObjC: lang="occ"; break; // Objective C++ + case SrcLangExt_IDL: lang="idl"; break; // IDL + case SrcLangExt_CSharp: lang="csharp"; break; // C# + case SrcLangExt_PHP: lang="php"; break; // PHP4/5 + case SrcLangExt_D: lang="d"; break; // D + case SrcLangExt_Java: lang="java"; break; // Java + case SrcLangExt_JS: lang="javascript"; break; // Javascript + case SrcLangExt_Python: lang="python"; break; // Python + case SrcLangExt_F90: lang="fortran"; break; // Fortran + case SrcLangExt_VHDL: lang="vhdl"; break; // VHDL + } + + // determine scope + QCString scope; + QCString type; + QCString decl; + Definition *d = 0; + if (fd && fd->isLinkable() && m_scopes.find(fd->getOutputFileBase())==0) + { + writeToken(m_tts,fd,"file",lang,0,0,0); + m_scopes.append(fd->getOutputFileBase(),(void*)0x8); + } + if (cd) + { + scope = cd->qualifiedName(); + if (cd->isTemplate()) + type="tmplt"; + else if (cd->compoundType()==ClassDef::Interface) + type="intf"; + else if (cd->compoundType()==ClassDef::Category) + type="cat"; + else + type = "cl"; + d = cd; + IncludeInfo *ii = cd->includeInfo(); + if (ii) + { + decl=ii->includeName; + if (decl.isEmpty()) + { + decl=ii->local; + } + } + } + else if (nd) + { + scope = nd->name(); + type = "ns"; + d = cd; + } + if (d && d->isLinkable() && m_scopes.find(d->getOutputFileBase())==0) + { + writeToken(m_tts,d,type,lang,0,0,decl); + m_scopes.append(d->getOutputFileBase(),(void*)0x8); + } + + switch (md->memberType()) + { + case MemberDef::Define: + type="macro"; break; + case MemberDef::Function: + if (cd && cd->compoundType()==ClassDef::Interface) + type="intfm"; + else if (cd && cd->compoundType()==ClassDef::Class) + type="clm"; + else + type="func"; + break; + case MemberDef::Variable: + type="data"; break; + case MemberDef::Typedef: + type="tdef"; break; + case MemberDef::Enumeration: + type="enum"; break; + case MemberDef::EnumValue: + type="econst"; break; + case MemberDef::Prototype: + type="prototype"; break; + case MemberDef::Signal: + type="signal"; break; + case MemberDef::Slot: + type="slot"; break; + case MemberDef::Friend: + type="ffunc"; break; + case MemberDef::DCOP: + type="dcop"; break; + case MemberDef::Property: + type="property"; break; + case MemberDef::Event: + type="event"; break; + } + writeToken(m_tts,md,type,lang,scope,md->anchor()); +} + +void DocSets::writeToken(QTextStream &t, + const Definition *d, + const QCString &type, + const QCString &lang, + const char *scope, + const char *anchor, + const char *decl) +{ + t << " " << endl; + t << " " << endl; + t << " " << convertToXML(d->name()) << "" << endl; + t << " " << lang << "" << endl; + t << " " << type << "" << endl; + t << " " << convertToXML(scope) << "" << endl; + t << " " << endl; + t << " " << d->getOutputFileBase() + << Doxygen::htmlFileExtension << "" << endl; + if (anchor) + { + t << " " << anchor << "" << endl; + } + QCString tooltip = d->briefDescriptionAsTooltip(); + if (!tooltip.isEmpty()) + { + t << " " << tooltip << "" << endl; + } + if (decl) + { + t << " " << convertToXML(decl) << "" << endl; + } + t << " " << endl; +} + +void DocSets::addIndexFile(const char *name) +{ + (void)name; +} + diff --git a/src/docsets.h b/src/docsets.h new file mode 100644 index 0000000..5ef6eb2 --- /dev/null +++ b/src/docsets.h @@ -0,0 +1,84 @@ +/****************************************************************************** + * + * Copyright (C) 1997-2008 by Dimitri van Heesch. + * + * Permission to use, copy, modify, and distribute this software and its + * documentation under the terms of the GNU General Public License is hereby + * granted. No representations are made about the suitability of this software + * for any purpose. It is provided "as is" without express or implied warranty. + * See the GNU General Public License for more details. + * + * Documents produced by Doxygen are derivative works derived from the + * input used in their production; they are not affected by this license. + * + */ + +#ifndef DOCSETS_H +#define DOCSETS_H + +#include "qtbc.h" +#include +#include +#include "sortdict.h" + +#include "index.h" + +class QFile; +class Definition; + +/*! A class that generates docset files. + * These files can be used to create context help + * for use within Apple's Xcode 3.0 development environment + */ +class DocSets : public IndexIntf +{ + + public: + DocSets(); + ~DocSets(); + void initialize(); + void finalize(); + void incContentsDepth(); + void decContentsDepth(); + void addContentsItem(bool isDir, + const char *name, + const char *ref = 0, + const char *file = 0, + const char *anchor = 0 + ); + void addIndexItem(const char *level1, const char *level2, + const char *contRef, const char *memRef, + const char *anchor,const MemberDef *md); + void addIndexFile(const char *name); + + private: + void writeToken(QTextStream &t, const Definition *d, + const QCString &type, const QCString &lang, + const char *scope=0, const char *anchor=0, + const char *decl=0); + struct NodeDef + { + NodeDef(bool d,const QCString &n,const QCString &r, + const QCString &f,const QCString &a,int i) : + isDir(d), name(n), ref(r), file(f), anchor(a),id(i) {} + bool isDir; + QCString name; + QCString ref; + QCString file; + QCString anchor; + int id; + }; + QCString indent(); + QFile *m_nf; + QFile *m_tf; + QTextStream m_nts; + QTextStream m_tts; + int m_dc; + int m_id; + QArray m_firstNode; + SDict m_nodes; + SDict m_scopes; +}; + +#endif /* DOCSETS_H */ + diff --git a/src/doctokenizer.h b/src/doctokenizer.h index 13995b6..77f5167 100644 --- a/src/doctokenizer.h +++ b/src/doctokenizer.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/doctokenizer.l b/src/doctokenizer.l index 233205d..5969cd2 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/docvisitor.h b/src/docvisitor.h index d48e444..9cbec1a 100644 --- a/src/docvisitor.h +++ b/src/docvisitor.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/dot.cpp b/src/dot.cpp index 87ed3e1..83c9eec 100644 --- a/src/dot.cpp +++ b/src/dot.cpp @@ -1,9 +1,9 @@ /***************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -1537,7 +1537,9 @@ void DotClassGraph::buildGraph(ClassDef *cd,DotNode *n,bool base,int distance) QDictIterator dvi(*ucd->accessors); const char *s; bool first=TRUE; - for (;(s=dvi.currentKey());++dvi) + int count=0; + int maxLabels=10; + for (;(s=dvi.currentKey()) && countclassDef->name().data(),ucd->templSpecifiers.data()); addClass(ucd->classDef,n,EdgeInfo::Purple,label,0, ucd->templSpecifiers,base,distance); } @@ -3233,11 +3237,14 @@ void DotGroupCollaboration::Edge::write( QTextStream &t ) const QListIterator lli(links); Link *link; bool first=TRUE; - for( lli.toFirst(); (link=lli.current()); ++lli) + int count=0; + const int maxLabels = 10; + for( lli.toFirst(); (link=lli.current()) && countlabel); } + if (count==maxLabels) t << "\\n..."; t << "\""; } diff --git a/src/dot.h b/src/dot.h index d69bc1e..d076b71 100644 --- a/src/dot.h +++ b/src/dot.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 4088467..2b04453 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -74,6 +74,7 @@ #include "store.h" #include "marshal.h" #include "portable.h" +#include "vhdlscanner.h" #define RECURSE_ENTRYTREE(func,var) \ do { if (var->children()) { \ @@ -240,6 +241,7 @@ struct STLInfo static STLInfo g_stlinfo[] = { // className baseClass1 baseClass2 templType1 templName1 templType2 templName2 virtInheritance // iterators +#if 0 { "allocator", 0, 0, "T", "elements", 0, 0, FALSE, FALSE }, { "auto_ptr", 0, 0, "T", "ptr", 0, 0, FALSE, FALSE }, { "ios_base", 0, 0, 0, 0, 0, 0, FALSE, FALSE }, @@ -282,7 +284,9 @@ static STLInfo g_stlinfo[] = { "multimap", 0, 0, "K", "keys", "T", "elements", FALSE, TRUE }, { "set", 0, 0, "K", "keys", 0, 0, FALSE, TRUE }, { "multiset", 0, 0, "K", "keys", 0, 0, FALSE, TRUE }, +#endif { "vector", 0, 0, "T", "elements", 0, 0, FALSE, TRUE }, +#if 0 { "queue", 0, 0, "T", "elements", 0, 0, FALSE, FALSE }, { "priority_queue", 0, 0, "T", "elements", 0, 0, FALSE, FALSE }, { "stack", 0, 0, "T", "elements", 0, 0, FALSE, FALSE }, @@ -302,6 +306,7 @@ static STLInfo g_stlinfo[] = { "range_error", "runtime_error", 0, 0, 0, 0, 0, FALSE, FALSE }, { "overflow_error", "runtime_error", 0, 0, 0, 0, 0, FALSE, FALSE }, { "underflow_error", "runtime_error", 0, 0, 0, 0, 0, FALSE, FALSE }, +#endif { 0, 0, 0, 0, 0, 0, 0, FALSE, FALSE } }; @@ -313,7 +318,8 @@ static void addSTLMember(EntryNav *rootNav,const char *type,const char *name) memEntry->protection = Private; memEntry->section = Entry::VARIABLE_SEC; memEntry->brief = "STL member"; - memEntry->hidden = TRUE; + memEntry->hidden = FALSE; + memEntry->artificial = TRUE; //memEntry->parent = root; //root->addSubEntry(memEntry); EntryNav *memEntryNav = new EntryNav(rootNav,memEntry); @@ -329,7 +335,8 @@ static void addSTLIterator(EntryNav *classEntryNav,const char *name) iteratorClassEntry->name = name; iteratorClassEntry->section = Entry::CLASS_SEC; iteratorClassEntry->brief = "STL iterator class"; - iteratorClassEntry->hidden = TRUE; + iteratorClassEntry->hidden = FALSE; + iteratorClassEntry->artificial= TRUE; EntryNav *iteratorClassEntryNav = new EntryNav(classEntryNav,iteratorClassEntry); iteratorClassEntryNav->setEntry(iteratorClassEntry); classEntryNav->addChild(iteratorClassEntryNav); @@ -345,7 +352,8 @@ static void addSTLClasses(EntryNav *rootNav) namespaceEntry->name = "std"; namespaceEntry->section = Entry::NAMESPACE_SEC; namespaceEntry->brief = "STL namespace"; - namespaceEntry->hidden = TRUE; + namespaceEntry->hidden = FALSE; + namespaceEntry->artificial= TRUE; //root->addSubEntry(namespaceEntry); EntryNav *namespaceEntryNav = new EntryNav(rootNav,namespaceEntry); namespaceEntryNav->setEntry(namespaceEntry); @@ -366,7 +374,8 @@ static void addSTLClasses(EntryNav *rootNav) //classEntry->parent = namespaceEntry; classEntry->section = Entry::CLASS_SEC; classEntry->brief = "STL class"; - classEntry->hidden = TRUE; + classEntry->hidden = FALSE; + classEntry->artificial= TRUE; //namespaceEntry->addSubEntry(classEntry); EntryNav *classEntryNav = new EntryNav(namespaceEntryNav,classEntry); classEntryNav->setEntry(classEntry); @@ -855,6 +864,7 @@ static Definition *buildScopeFromQualifiedName(const QCString name,int level) { int idx=getScopeFragment(name,p,&l); QCString nsName = name.mid(idx,l); + if (nsName.isEmpty()) return prevScope; if (!fullScope.isEmpty()) fullScope+="::"; fullScope+=nsName; NamespaceDef *nd=Doxygen::namespaceSDict->find(fullScope); @@ -1159,8 +1169,8 @@ static void addClassToContext(EntryNav *rootNav) QCString namespaceName; extractNamespaceName(fullName,className,namespaceName); - //printf("New class: namespace `%s' name=`%s' brief=`%s' docs=`%s'\n", - // className.data(),namespaceName.data(),root->brief.data(),root->doc.data()); + //printf("New class: fullname %s namespace `%s' name=`%s' brief=`%s' docs=`%s'\n", + // fullName.data(),namespaceName.data(),className.data(),root->brief.data(),root->doc.data()); QCString tagName; QCString refFileName; @@ -1177,6 +1187,7 @@ static void addClassToContext(EntryNav *rootNav) cd->setBriefDescription(root->brief,root->briefFile,root->briefLine); cd->setIsObjectiveC(root->objc); cd->setHidden(root->hidden); + cd->setArtificial(root->artificial); cd->setTypeConstraints(root->typeConstr); //printf("new ClassDef %s tempArgList=%p specScope=%s\n",fullName.data(),root->tArgList,root->scopeSpec.data()); @@ -1407,6 +1418,7 @@ static void buildNamespaceList(EntryNav *rootNav) nd->setBriefDescription(root->brief,root->briefFile,root->briefLine); nd->addSectionsToDefinition(root->anchors); nd->setHidden(root->hidden); + nd->setArtificial(root->artificial); //printf("Adding namespace to group\n"); addNamespaceToGroups(root,nd); @@ -1572,7 +1584,9 @@ static void findUsingDirectives(EntryNav *rootNav) nd->setDocumentation(root->doc,root->docFile,root->docLine); // copy docs to definition nd->setBriefDescription(root->brief,root->briefFile,root->briefLine); nd->addSectionsToDefinition(root->anchors); + //printf("** Adding namespace %s hidden=%d\n",name.data(),root->hidden); nd->setHidden(root->hidden); + nd->setArtificial(TRUE); QListIterator gli(*root->groups); Grouping *g; @@ -1685,7 +1699,7 @@ static void findUsingDeclarations(EntryNav *rootNav) "",1, name,ClassDef::Class); Doxygen::hiddenClasses->append(root->name,usingCd); - usingCd->setClassIsArtificial(); + usingCd->setArtificial(TRUE); } else { @@ -1930,6 +1944,7 @@ static MemberDef *addVariableToClass( // member already in the scope { addMemberDocs(rootNav,md,def,0,FALSE); + //printf(" Member already found!\n"); return md; } } @@ -1963,6 +1978,7 @@ static MemberDef *addVariableToClass( md->enableCallGraph(root->callGraph); md->enableCallerGraph(root->callerGraph); md->setHidden(root->hidden); + md->setArtificial(root->artificial); addMemberToGroups(root,md); //if (root->mGrpId!=-1) //{ @@ -1987,6 +2003,7 @@ static MemberDef *addVariableToClass( Doxygen::memberNameSDict->append(name,mn); // add the member to the class } + //printf(" New member adding to %s (%p)!\n",cd->name().data(),cd); cd->insertMember(md); md->setRefItems(root->sli); @@ -2112,7 +2129,7 @@ static MemberDef *addVariableToFile( } } Debug::print(Debug::Variables,0, - " new variable!\n"); + " new variable, nd=%s!\n",nd?nd->name().data():""); // new global variable, enum value or typedef MemberDef *md=new MemberDef( root->fileName,root->startLine, @@ -2328,6 +2345,7 @@ done: static void buildVarList(EntryNav *rootNav) { + //printf("buildVarList(%s)\n",rootNav->name().data()); int isFuncPtr=-1; if (!rootNav->name().isEmpty() && (rootNav->type().isEmpty() || compoundKeywordDict.find(rootNav->type())==0) && @@ -2487,6 +2505,7 @@ static void buildVarList(EntryNav *rootNav) int si=scope.find('@'); //int anonyScopes = 0; bool added=FALSE; + if (si!=-1) // anonymous scope { QCString pScope; @@ -2521,11 +2540,9 @@ static void buildVarList(EntryNav *rootNav) } } } - //printf("name=`%s' scope=%s scope.right=%s indentDepth=%d anonyScopes=%d\n", + //printf("name=`%s' scope=%s scope.right=%s\n", // name.data(),scope.data(), - // scope.right(scope.length()-si).data(), - // indentDepth, - // anonyScopes); + // scope.right(scope.length()-si).data()); addVariableToClass(rootNav, // entry cd, // class to add member to mtype, // member type @@ -3556,11 +3573,11 @@ static ClassDef *findClassWithinClassContext(Definition *context,ClassDef *cd,co ClassDef *result=0; if (context && cd!=context) { - result = getResolvedClass(context,0,name,0,0,FALSE,TRUE); + result = getResolvedClass(context,0,name,0,0,TRUE,TRUE); } if (result==0) { - result = getResolvedClass(cd,fd,name,0,0,FALSE,TRUE); + result = getResolvedClass(cd,fd,name,0,0,TRUE,TRUE); } //printf("** Trying to find %s within context %s class %s result=%s lookup=%p\n", // name.data(), @@ -3617,6 +3634,11 @@ static void findUsedClassesForClass(EntryNav *rootNav, { //printf(" Found variable %s in class %s\n",md->name().data(),masterCd->name().data()); QCString type=removeRedundantWhiteSpace(md->typeString()); + QCString typedefValue = resolveTypeDef(masterCd,type); + if (!typedefValue.isEmpty()) + { + type = typedefValue; + } int pos=0; QCString usedClassName; QCString templSpec; @@ -3690,7 +3712,7 @@ static void findUsedClassesForClass(EntryNav *rootNav, } if (usedCd) { - if (isArtificial) usedCd->setClassIsArtificial(); + if (isArtificial) usedCd->setArtificial(TRUE); Debug::print(Debug::Classes,0," Adding used class `%s' (1)\n", usedCd->name().data()); instanceCd->addUsedClass(usedCd,md->name()); usedCd->addUsedByClass(instanceCd,md->name()); @@ -3737,7 +3759,7 @@ static void findUsedClassesForClass(EntryNav *rootNav, } if (usedCd) { - if (isArtificial) usedCd->setClassIsArtificial(); + if (isArtificial) usedCd->setArtificial(TRUE); Debug::print(Debug::Classes,0," Adding used class `%s' (3)\n", usedCd->name().data()); instanceCd->addUsedClass(usedCd,md->name()); usedCd->addUsedByClass(instanceCd,md->name()); @@ -3747,6 +3769,10 @@ static void findUsedClassesForClass(EntryNav *rootNav, } } } + else + { + //printf("no members for class %s (%p)\n",masterCd->name().data(),masterCd); + } } static void findBaseClassesForClass( @@ -3837,7 +3863,7 @@ static bool findTemplateInstanceRelation(Entry *root, bool freshInstance=FALSE; ClassDef *instanceClass = templateClass->insertTemplateInstance( root->fileName,root->startLine,templSpec,freshInstance); - if (isArtificial) instanceClass->setClassIsArtificial(); + if (isArtificial) instanceClass->setArtificial(TRUE); instanceClass->setIsObjectiveC(root->objc); if (freshInstance) @@ -4197,7 +4223,7 @@ static bool findClassRelation( baseClass=new ClassDef(root->fileName,root->startLine, baseClassName,ClassDef::Class); Doxygen::hiddenClasses->append(baseClassName,baseClass); - if (isArtificial) baseClass->setClassIsArtificial(); + if (isArtificial) baseClass->setArtificial(TRUE); } } else @@ -4210,7 +4236,7 @@ static bool findClassRelation( baseClass=new ClassDef(root->fileName,root->startLine, baseClassName,ClassDef::Class); Doxygen::classSDict->append(baseClassName,baseClass); - if (isArtificial) baseClass->setClassIsArtificial(); + if (isArtificial) baseClass->setArtificial(TRUE); } } // add base class to this class @@ -7792,7 +7818,9 @@ static void generatePageDocs() if (!pd->getGroupDef() && !pd->isReference()) { msg("Generating docs for page %s...\n",pd->name().data()); + Doxygen::insideMainPage=TRUE; pd->writeDocumentation(*outputList); + Doxygen::insideMainPage=FALSE; } } } @@ -8131,7 +8159,7 @@ static void generateConfigFile(const char *configFile,bool shortList, if (fileOpened) { QTextStream t(&f); - t.setEncoding(QTextStream::Latin1); + t.setEncoding(QTextStream::UnicodeUTF8); Config::instance()->writeTemplate(t,shortList,updateOnly); if (!writeToStdout) { @@ -8802,7 +8830,7 @@ static void dumpSymbolMap() static void usage(const char *name) { - msg("Doxygen version %s\nCopyright Dimitri van Heesch 1997-2007\n\n",versionString); + msg("Doxygen version %s\nCopyright Dimitri van Heesch 1997-2008\n\n",versionString); msg("You can use doxygen in a number of ways:\n\n"); msg("1) Use doxygen to generate a template configuration file:\n"); msg(" %s [-s] -g [configName]\n\n",name); @@ -8858,7 +8886,7 @@ void initDoxygen() Doxygen::parserManager = new ParserManager(defaultParser); Doxygen::parserManager->registerParser(".py",new PythonLanguageScanner); Doxygen::parserManager->registerParser(".f90", new FortranLanguageScanner); - Doxygen::parserManager->registerParser(".F90", new FortranLanguageScanner); + Doxygen::parserManager->registerParser(".vhd", new VHDLLanguageScanner); // register any additional parsers here... @@ -9747,7 +9775,14 @@ void parseInput() msg("Computing class relations...\n"); computeTemplateClassRelations(); flushUnresolvedRelations(); - computeClassRelations(); + //if (Config_getBool("OPTIMIZE_OUTPUT_VHDL")) + //{ + // VhdlDocGen::computeVhdlComponentRelations(classEntries,g_storage); + //} + //else + //{ + computeClassRelations(); + //} classEntries.clear(); addEnumValuesToEnums(rootNav); @@ -9882,9 +9917,8 @@ void generateOutput() outputList->add(new HtmlGenerator); HtmlGenerator::init(); if (Config_getBool("GENERATE_HTMLHELP")) Doxygen::indexList.addIndex(new HtmlHelp); - //HtmlHelp::getInstance()->initialize(); if (Config_getBool("GENERATE_TREEVIEW")) Doxygen::indexList.addIndex(new FTVHelp); - //FTVHelp::getInstance()->initialize(); + if (Config_getBool("GENERATE_DOCSET")) Doxygen::indexList.addIndex(new DocSets); Doxygen::indexList.initialize(); if (Config_getBool("HTML_DYNAMIC_SECTIONS")) HtmlGenerator::generateSectionImages(); copyStyleSheet(); @@ -9933,7 +9967,7 @@ void generateOutput() exit(1); } Doxygen::tagFile.setDevice(tag); - Doxygen::tagFile.setEncoding(QTextStream::Latin1); + Doxygen::tagFile.setEncoding(QTextStream::UnicodeUTF8); Doxygen::tagFile << "" << endl; Doxygen::tagFile << "" << endl; } @@ -9966,6 +10000,9 @@ void generateOutput() msg("Generating index page...\n"); writeIndex(*outputList); + msg("Generating page index...\n"); + writePageIndex(*outputList); + msg("Generating example documentation...\n"); generateExampleDocs(); @@ -10030,9 +10067,6 @@ void generateOutput() msg("Generating file member index...\n"); writeFileMemberIndex(*outputList); - msg("Generating page index...\n"); - writePageIndex(*outputList); - //writeDirDependencyGraph(Config_getString("HTML_OUTPUT")); if (Config_getBool("GENERATE_RTF")) diff --git a/src/doxygen.css b/src/doxygen.css index e261cf6..74c22a2 100644 --- a/src/doxygen.css +++ b/src/doxygen.css @@ -2,19 +2,21 @@ BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV { font-family: Geneva, Arial, Helvetica, sans-serif; } BODY,TD { - font-size: 90%; + font-size: 90%; } H1 { text-align: center; - font-size: 160%; + font-size: 160%; } H2 { - font-size: 120%; + font-size: 120%; } H3 { - font-size: 100%; + font-size: 100%; +} +CAPTION { + font-weight: bold } -CAPTION { font-weight: bold } DIV.qindex { width: 100%; background-color: #e8eef2; @@ -24,7 +26,7 @@ DIV.qindex { padding: 2px; line-height: 140%; } -DIV.nav { +DIV.navpath { width: 100%; background-color: #e8eef2; border: 1px solid #84b0c7; @@ -70,15 +72,43 @@ A.qindexHL:hover { background-color: #6666cc; color: #ffffff; } -A.qindexHL:visited { text-decoration: none; background-color: #6666cc; color: #ffffff } -A.el { text-decoration: none; font-weight: bold } -A.elRef { font-weight: bold } -A.code:link { text-decoration: none; font-weight: normal; color: #0000FF} -A.code:visited { text-decoration: none; font-weight: normal; color: #0000FF} -A.codeRef:link { font-weight: normal; color: #0000FF} -A.codeRef:visited { font-weight: normal; color: #0000FF} -A:hover { text-decoration: none; background-color: #f2f2ff } -DL.el { margin-left: -1cm } +A.qindexHL:visited { + text-decoration: none; + background-color: #6666cc; + color: #ffffff +} +A.el { + text-decoration: none; + font-weight: bold +} +A.elRef { + font-weight: bold +} +A.code:link { + text-decoration: none; + font-weight: normal; + color: #0000FF +} +A.code:visited { + text-decoration: none; + font-weight: normal; + color: #0000FF +} +A.codeRef:link { + font-weight: normal; + color: #0000FF +} +A.codeRef:visited { + font-weight: normal; + color: #0000FF +} +A:hover { + text-decoration: none; + background-color: #f2f2ff +} +DL.el { + margin-left: -1cm +} .fragment { font-family: monospace, fixed; font-size: 95%; @@ -95,7 +125,13 @@ PRE.fragment { padding-top: 4px; padding-bottom: 4px; } -DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } +DIV.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px +} DIV.groupHeader { margin-left: 16px; @@ -103,7 +139,11 @@ DIV.groupHeader { margin-bottom: 6px; font-weight: bold; } -DIV.groupText { margin-left: 16px; font-style: italic; font-size: 90% } +DIV.groupText { + margin-left: 16px; + font-style: italic; + font-size: 90% +} BODY { background: white; color: black; @@ -137,11 +177,16 @@ TD.indexvalue { border: 1px solid #CCCCCC; } TR.memlist { - background-color: #f0f0f0; + background-color: #f0f0f0; +} +P.formulaDsp { + text-align: center; +} +IMG.formulaDsp { +} +IMG.formulaInl { + vertical-align: middle; } -P.formulaDsp { text-align: center; } -IMG.formulaDsp { } -IMG.formulaInl { vertical-align: middle; } SPAN.keyword { color: #008000 } SPAN.keywordtype { color: #604020 } SPAN.keywordflow { color: #e08000 } @@ -149,8 +194,13 @@ SPAN.comment { color: #800000 } SPAN.preprocessor { color: #806020 } SPAN.stringliteral { color: #002080 } SPAN.charliteral { color: #008080 } +SPAN.vhdldigit { color: #ff00ff } +SPAN.vhdlchar { color: #000000 } +SPAN.vhdlkeyword { color: #700070 } +SPAN.vhdllogic { color: #ff0000 } + .mdescLeft { - padding: 0px 8px 4px 8px; + padding: 0px 8px 4px 8px; font-size: 80%; font-style: italic; background-color: #FAFAFA; @@ -161,7 +211,7 @@ SPAN.charliteral { color: #008080 } margin: 0px; } .mdescRight { - padding: 0px 8px 4px 8px; + padding: 0px 8px 4px 8px; font-size: 80%; font-style: italic; background-color: #FAFAFA; @@ -258,23 +308,26 @@ SPAN.charliteral { color: #008080 } border-right-style: none; border-bottom-style: none; border-left-style: none; - color: #606060; + color: #606060; background-color: #FAFAFA; font-size: 80%; } -.search { color: #003399; - font-weight: bold; +.search { + color: #003399; + font-weight: bold; } FORM.search { - margin-bottom: 0px; - margin-top: 0px; + margin-bottom: 0px; + margin-top: 0px; } -INPUT.search { font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; +INPUT.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; } -TD.tiny { font-size: 75%; +TD.tiny { + font-size: 75%; } a { color: #1A41A8; @@ -282,67 +335,70 @@ a { a:visited { color: #2A3798; } -.dirtab { padding: 4px; - border-collapse: collapse; - border: 1px solid #84b0c7; +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #84b0c7; } -TH.dirtab { background: #e8eef2; - font-weight: bold; +TH.dirtab { + background: #e8eef2; + font-weight: bold; } -HR { height: 1px; - border: none; - border-top: 1px solid black; +HR { + height: 1px; + border: none; + border-top: 1px solid black; } /* Style for detailed member documentation */ .memtemplate { - font-size: 80%; - color: #606060; - font-weight: normal; - margin-left: 3px; + font-size: 80%; + color: #606060; + font-weight: normal; + margin-left: 3px; } .memnav { - background-color: #e8eef2; - border: 1px solid #84b0c7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; } .memitem { - padding: 4px; - background-color: #eef3f5; - border-width: 1px; - border-style: solid; - border-color: #dedeee; - -moz-border-radius: 8px 8px 8px 8px; + padding: 4px; + background-color: #eef3f5; + border-width: 1px; + border-style: solid; + border-color: #dedeee; + -moz-border-radius: 8px 8px 8px 8px; } .memname { - white-space: nowrap; - font-weight: bold; + white-space: nowrap; + font-weight: bold; } .memdoc{ - padding-left: 10px; + padding-left: 10px; } .memproto { - background-color: #d5e1e8; - width: 100%; - border-width: 1px; - border-style: solid; - border-color: #84b0c7; - font-weight: bold; - -moz-border-radius: 8px 8px 8px 8px; + background-color: #d5e1e8; + width: 100%; + border-width: 1px; + border-style: solid; + border-color: #84b0c7; + font-weight: bold; + -moz-border-radius: 8px 8px 8px 8px; } .paramkey { - text-align: right; + text-align: right; } .paramtype { - white-space: nowrap; + white-space: nowrap; } .paramname { - color: #602020; - font-style: italic; - white-space: nowrap; + color: #602020; + font-style: italic; + white-space: nowrap; } /* End Styling for detailed member documentation */ @@ -351,9 +407,27 @@ HR { height: 1px; font-family: sans-serif; margin:0.5em; } -.directory { font-size: 9pt; font-weight: bold; } -.directory h3 { margin: 0px; margin-top: 1em; font-size: 11pt; } -.directory > h3 { margin-top: 0; } -.directory p { margin: 0px; white-space: nowrap; } -.directory div { display: none; margin: 0px; } -.directory img { vertical-align: -30%; } +.directory { + font-size: 9pt; + font-weight: bold; +} +.directory h3 { + margin: 0px; + margin-top: 1em; + font-size: 11pt; +} +.directory > h3 { + margin-top: 0; +} +.directory p { + margin: 0px; + white-space: nowrap; +} +.directory div { + display: none; + margin: 0px; +} +.directory img { + vertical-align: -30%; +} + diff --git a/src/doxygen.h b/src/doxygen.h index e0d99c1..4a8430e 100644 --- a/src/doxygen.h +++ b/src/doxygen.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -37,6 +37,7 @@ #include "reflist.h" #include "dirdef.h" #include "index.h" +#include "docsets.h" class PageSList; class PageSDict; diff --git a/src/doxygen.pro.in b/src/doxygen.pro.in index 3519e09..6512e0d 100644 --- a/src/doxygen.pro.in +++ b/src/doxygen.pro.in @@ -1,7 +1,7 @@ # -# $Id$ +# # -# Copyright (C) 1997-2007 by Dimitri van Heesch. +# Copyright (C) 1997-2008 by Dimitri van Heesch. # # Permission to use, copy, modify, and distribute this software and its # documentation under the terms of the GNU General Public License is hereby diff --git a/src/doxygen_css.h b/src/doxygen_css.h index ed651af..bf88dbe 100644 --- a/src/doxygen_css.h +++ b/src/doxygen_css.h @@ -2,19 +2,21 @@ " font-family: Geneva, Arial, Helvetica, sans-serif;\n" "}\n" "BODY,TD {\n" -" font-size: 90%;\n" +" font-size: 90%;\n" "}\n" "H1 {\n" " text-align: center;\n" -" font-size: 160%;\n" +" font-size: 160%;\n" "}\n" "H2 {\n" -" font-size: 120%;\n" +" font-size: 120%;\n" "}\n" "H3 {\n" -" font-size: 100%;\n" +" font-size: 100%;\n" +"}\n" +"CAPTION { \n" +" font-weight: bold \n" "}\n" -"CAPTION { font-weight: bold }\n" "DIV.qindex {\n" " width: 100%;\n" " background-color: #e8eef2;\n" @@ -24,7 +26,7 @@ " padding: 2px;\n" " line-height: 140%;\n" "}\n" -"DIV.nav {\n" +"DIV.navpath {\n" " width: 100%;\n" " background-color: #e8eef2;\n" " border: 1px solid #84b0c7;\n" @@ -70,15 +72,43 @@ " background-color: #6666cc;\n" " color: #ffffff;\n" "}\n" -"A.qindexHL:visited { text-decoration: none; background-color: #6666cc; color: #ffffff }\n" -"A.el { text-decoration: none; font-weight: bold }\n" -"A.elRef { font-weight: bold }\n" -"A.code:link { text-decoration: none; font-weight: normal; color: #0000FF}\n" -"A.code:visited { text-decoration: none; font-weight: normal; color: #0000FF}\n" -"A.codeRef:link { font-weight: normal; color: #0000FF}\n" -"A.codeRef:visited { font-weight: normal; color: #0000FF}\n" -"A:hover { text-decoration: none; background-color: #f2f2ff }\n" -"DL.el { margin-left: -1cm }\n" +"A.qindexHL:visited { \n" +" text-decoration: none; \n" +" background-color: #6666cc; \n" +" color: #ffffff \n" +"}\n" +"A.el { \n" +" text-decoration: none; \n" +" font-weight: bold \n" +"}\n" +"A.elRef { \n" +" font-weight: bold \n" +"}\n" +"A.code:link { \n" +" text-decoration: none; \n" +" font-weight: normal; \n" +" color: #0000FF\n" +"}\n" +"A.code:visited { \n" +" text-decoration: none; \n" +" font-weight: normal; \n" +" color: #0000FF\n" +"}\n" +"A.codeRef:link { \n" +" font-weight: normal; \n" +" color: #0000FF\n" +"}\n" +"A.codeRef:visited { \n" +" font-weight: normal; \n" +" color: #0000FF\n" +"}\n" +"A:hover { \n" +" text-decoration: none; \n" +" background-color: #f2f2ff \n" +"}\n" +"DL.el { \n" +" margin-left: -1cm \n" +"}\n" ".fragment {\n" " font-family: monospace, fixed;\n" " font-size: 95%;\n" @@ -95,7 +125,13 @@ " padding-top: 4px;\n" " padding-bottom: 4px;\n" "}\n" -"DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px }\n" +"DIV.ah { \n" +" background-color: black; \n" +" font-weight: bold; \n" +" color: #ffffff; \n" +" margin-bottom: 3px; \n" +" margin-top: 3px \n" +"}\n" "\n" "DIV.groupHeader {\n" " margin-left: 16px;\n" @@ -103,7 +139,11 @@ " margin-bottom: 6px;\n" " font-weight: bold;\n" "}\n" -"DIV.groupText { margin-left: 16px; font-style: italic; font-size: 90% }\n" +"DIV.groupText { \n" +" margin-left: 16px; \n" +" font-style: italic; \n" +" font-size: 90% \n" +"}\n" "BODY {\n" " background: white;\n" " color: black;\n" @@ -137,11 +177,16 @@ " border: 1px solid #CCCCCC;\n" "}\n" "TR.memlist {\n" -" background-color: #f0f0f0; \n" +" background-color: #f0f0f0; \n" +"}\n" +"P.formulaDsp { \n" +" text-align: center; \n" +"}\n" +"IMG.formulaDsp {\n" +"}\n" +"IMG.formulaInl { \n" +" vertical-align: middle; \n" "}\n" -"P.formulaDsp { text-align: center; }\n" -"IMG.formulaDsp { }\n" -"IMG.formulaInl { vertical-align: middle; }\n" "SPAN.keyword { color: #008000 }\n" "SPAN.keywordtype { color: #604020 }\n" "SPAN.keywordflow { color: #e08000 }\n" @@ -149,8 +194,13 @@ "SPAN.preprocessor { color: #806020 }\n" "SPAN.stringliteral { color: #002080 }\n" "SPAN.charliteral { color: #008080 }\n" +"SPAN.vhdldigit { color: #ff00ff }\n" +"SPAN.vhdlchar { color: #000000 }\n" +"SPAN.vhdlkeyword { color: #700070 }\n" +"SPAN.vhdllogic { color: #ff0000 }\n" +"\n" ".mdescLeft {\n" -" padding: 0px 8px 4px 8px;\n" +" padding: 0px 8px 4px 8px;\n" " font-size: 80%;\n" " font-style: italic;\n" " background-color: #FAFAFA;\n" @@ -161,7 +211,7 @@ " margin: 0px;\n" "}\n" ".mdescRight {\n" -" padding: 0px 8px 4px 8px;\n" +" padding: 0px 8px 4px 8px;\n" " font-size: 80%;\n" " font-style: italic;\n" " background-color: #FAFAFA;\n" @@ -258,23 +308,26 @@ " border-right-style: none;\n" " border-bottom-style: none;\n" " border-left-style: none;\n" -" color: #606060;\n" +" color: #606060;\n" " background-color: #FAFAFA;\n" " font-size: 80%;\n" "}\n" -".search { color: #003399;\n" -" font-weight: bold;\n" +".search { \n" +" color: #003399;\n" +" font-weight: bold;\n" "}\n" "FORM.search {\n" -" margin-bottom: 0px;\n" -" margin-top: 0px;\n" +" margin-bottom: 0px;\n" +" margin-top: 0px;\n" "}\n" -"INPUT.search { font-size: 75%;\n" -" color: #000080;\n" -" font-weight: normal;\n" -" background-color: #e8eef2;\n" +"INPUT.search { \n" +" font-size: 75%;\n" +" color: #000080;\n" +" font-weight: normal;\n" +" background-color: #e8eef2;\n" "}\n" -"TD.tiny { font-size: 75%;\n" +"TD.tiny { \n" +" font-size: 75%;\n" "}\n" "a {\n" " color: #1A41A8;\n" @@ -282,67 +335,70 @@ "a:visited {\n" " color: #2A3798;\n" "}\n" -".dirtab { padding: 4px;\n" -" border-collapse: collapse;\n" -" border: 1px solid #84b0c7;\n" +".dirtab { \n" +" padding: 4px;\n" +" border-collapse: collapse;\n" +" border: 1px solid #84b0c7;\n" "}\n" -"TH.dirtab { background: #e8eef2;\n" -" font-weight: bold;\n" +"TH.dirtab { \n" +" background: #e8eef2;\n" +" font-weight: bold;\n" "}\n" -"HR { height: 1px;\n" -" border: none;\n" -" border-top: 1px solid black;\n" +"HR { \n" +" height: 1px;\n" +" border: none;\n" +" border-top: 1px solid black;\n" "}\n" "\n" "/* Style for detailed member documentation */\n" ".memtemplate {\n" -" font-size: 80%;\n" -" color: #606060;\n" -" font-weight: normal;\n" -" margin-left: 3px;\n" +" font-size: 80%;\n" +" color: #606060;\n" +" font-weight: normal;\n" +" margin-left: 3px;\n" "} \n" ".memnav { \n" -" background-color: #e8eef2;\n" -" border: 1px solid #84b0c7;\n" -" text-align: center;\n" -" margin: 2px;\n" -" margin-right: 15px;\n" -" padding: 2px;\n" +" background-color: #e8eef2;\n" +" border: 1px solid #84b0c7;\n" +" text-align: center;\n" +" margin: 2px;\n" +" margin-right: 15px;\n" +" padding: 2px;\n" "}\n" ".memitem {\n" -" padding: 4px;\n" -" background-color: #eef3f5;\n" -" border-width: 1px;\n" -" border-style: solid;\n" -" border-color: #dedeee;\n" -" -moz-border-radius: 8px 8px 8px 8px;\n" +" padding: 4px;\n" +" background-color: #eef3f5;\n" +" border-width: 1px;\n" +" border-style: solid;\n" +" border-color: #dedeee;\n" +" -moz-border-radius: 8px 8px 8px 8px;\n" "}\n" ".memname {\n" -" white-space: nowrap;\n" -" font-weight: bold;\n" +" white-space: nowrap;\n" +" font-weight: bold;\n" "}\n" ".memdoc{\n" -" padding-left: 10px;\n" +" padding-left: 10px;\n" "}\n" ".memproto {\n" -" background-color: #d5e1e8;\n" -" width: 100%;\n" -" border-width: 1px;\n" -" border-style: solid;\n" -" border-color: #84b0c7;\n" -" font-weight: bold;\n" -" -moz-border-radius: 8px 8px 8px 8px;\n" +" background-color: #d5e1e8;\n" +" width: 100%;\n" +" border-width: 1px;\n" +" border-style: solid;\n" +" border-color: #84b0c7;\n" +" font-weight: bold;\n" +" -moz-border-radius: 8px 8px 8px 8px;\n" "}\n" ".paramkey {\n" -" text-align: right;\n" +" text-align: right;\n" "}\n" ".paramtype {\n" -" white-space: nowrap;\n" +" white-space: nowrap;\n" "}\n" ".paramname {\n" -" color: #602020;\n" -" font-style: italic;\n" -" white-space: nowrap;\n" +" color: #602020;\n" +" font-style: italic;\n" +" white-space: nowrap;\n" "}\n" "/* End Styling for detailed member documentation */\n" "\n" @@ -351,9 +407,27 @@ " font-family: sans-serif;\n" " margin:0.5em;\n" "}\n" -".directory { font-size: 9pt; font-weight: bold; }\n" -".directory h3 { margin: 0px; margin-top: 1em; font-size: 11pt; }\n" -".directory > h3 { margin-top: 0; }\n" -".directory p { margin: 0px; white-space: nowrap; }\n" -".directory div { display: none; margin: 0px; }\n" -".directory img { vertical-align: -30%; }\n" +".directory { \n" +" font-size: 9pt; \n" +" font-weight: bold; \n" +"}\n" +".directory h3 { \n" +" margin: 0px; \n" +" margin-top: 1em; \n" +" font-size: 11pt; \n" +"}\n" +".directory > h3 { \n" +" margin-top: 0; \n" +"}\n" +".directory p { \n" +" margin: 0px; \n" +" white-space: nowrap; \n" +"}\n" +".directory div { \n" +" display: none; \n" +" margin: 0px; \n" +"}\n" +".directory img { \n" +" vertical-align: -30%; \n" +"}\n" +"\n" diff --git a/src/doxytag.l b/src/doxytag.l index 932222b..687fd63 100644 --- a/src/doxytag.l +++ b/src/doxytag.l @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -750,7 +750,7 @@ void parseFileOrDir(const char *fileName) void usage(const char *name) { - fprintf(stderr,"Doxytag version %s\nCopyright Dimitri van Heesch 1997-2007\n\n", + fprintf(stderr,"Doxytag version %s\nCopyright Dimitri van Heesch 1997-2008\n\n", versionString); fprintf(stderr," Generates a tag file and/or a search index for a set of HTML files\n\n"); fprintf(stderr,"Usage: %s [-t tag_file] [ html_file [html_file...] ]\n",name); diff --git a/src/doxytag.pro.in b/src/doxytag.pro.in index daf77b2..9231117 100644 --- a/src/doxytag.pro.in +++ b/src/doxytag.pro.in @@ -1,7 +1,7 @@ # -# $Id$ +# # -# Copyright (C) 1997-2007 by Dimitri van Heesch. +# Copyright (C) 1997-2008 by Dimitri van Heesch. # # Permission to use, copy, modify, and distribute this software and its # documentation under the terms of the GNU General Public License is hereby diff --git a/src/doxytag.t b/src/doxytag.t index a652d72..4e765ea 100644 --- a/src/doxytag.t +++ b/src/doxytag.t @@ -1,7 +1,7 @@ # -# $Id$ +# # -# Copyright (C) 1997-2007 by Dimitri van Heesch. +# Copyright (C) 1997-2008 by Dimitri van Heesch. # # Permission to use, copy, modify, and distribute this software and its # documentation under the terms of the GNU General Public License is hereby diff --git a/src/entry.cpp b/src/entry.cpp index 970459b..d0ba5cb 100644 --- a/src/entry.cpp +++ b/src/entry.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -121,6 +121,7 @@ Entry::Entry(const Entry &e) objc = e.objc; tagInfo = e.tagInfo; hidden = e.hidden; + artificial = e.artificial; m_sublist = new QList; m_sublist->setAutoDelete(TRUE); extends = new QList; @@ -280,6 +281,7 @@ void Entry::reset() spec = 0; objc = FALSE; hidden = FALSE; + artificial = FALSE; subGrouping = TRUE; protection = Public; groupDocType = GROUPDOC_NORMAL; diff --git a/src/entry.h b/src/entry.h index dec7a6c..04db9ac 100644 --- a/src/entry.h +++ b/src/entry.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -241,26 +241,32 @@ class Entry PACKAGE_SEC = 0x15000000, PACKAGEDOC_SEC = 0x16000000, OBJCIMPL_SEC = 0x17000000, - DIRDOC_SEC = 0x18000000, + DIRDOC_SEC = 0x18000000 }; enum MemberSpecifier { - Inline = 0x0001, - Explicit = 0x0002, - Mutable = 0x0004, - Settable = 0x0008, - Gettable = 0x0010, - Readable = 0x0020, - Writable = 0x0040, - Final = 0x0080, - Abstract = 0x0100, - Addable = 0x0200, - Removable = 0x0400, - Raisable = 0x0800, - Override = 0x1000, - New = 0x2000, - Sealed = 0x4000, - Initonly = 0x8000 + Inline = 0x000001, + Explicit = 0x000002, + Mutable = 0x000004, + Settable = 0x000008, + Gettable = 0x000010, + Readable = 0x000020, + Writable = 0x000040, + Final = 0x000080, + Abstract = 0x000100, + Addable = 0x000200, + Removable = 0x000400, + Raisable = 0x000800, + Override = 0x001000, + New = 0x002000, + Sealed = 0x004000, + Initonly = 0x008000, + Optional = 0x010000, + Required = 0x020000, + NonAtomic = 0x040000, + Copy = 0x080000, + Retain = 0x100000, + Assign = 0x200000, }; enum ClassSpecifier { @@ -361,6 +367,7 @@ class Entry QList *sli; //!< special lists (test/todo/bug/deprecated/..) this entry is in bool objc; //!< Objective-C construct bool hidden; //!< does this represent an entity that is hidden from the output + bool artificial; //!< Artificially introduced item GroupDocType groupDocType; static int num; //!< counts the total number of entries diff --git a/src/example.h b/src/example.h index 80df545..8b3f87c 100644 --- a/src/example.h +++ b/src/example.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/filedef.cpp b/src/filedef.cpp index c33f4f8..5daeb6a 100644 --- a/src/filedef.cpp +++ b/src/filedef.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -33,6 +33,7 @@ #include "htags.h" #include "parserintf.h" #include "portable.h" +#include "vhdldocgen.h" class DevNullCodeDocInterface : public CodeOutputInterface { @@ -214,6 +215,8 @@ void FileDef::writeDetailedDocumentation(OutputList &ol) */ void FileDef::writeDocumentation(OutputList &ol) { + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); + bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); //funcList->countDecMembers(); //QCString fn = name(); @@ -231,11 +234,13 @@ void FileDef::writeDocumentation(OutputList &ol) } QCString title = docname+versionTitle; QCString pageTitle=theTranslator->trFileReference(docname); - startFile(ol,getOutputFileBase(),name(),pageTitle,HLI_FileVisible); if (Config_getBool("SHOW_DIRECTORIES") && getDirDef()) { + startFile(ol,getOutputFileBase(),name(),pageTitle,HLI_FileVisible,TRUE); getDirDef()->writeNavigationPath(ol); + ol.endQuickIndices(); + ol.startContents(); QCString pageTitleShort=theTranslator->trFileReference(name()); startTitle(ol,getOutputFileBase()); ol.pushGeneratorState(); @@ -250,6 +255,7 @@ void FileDef::writeDocumentation(OutputList &ol) } else { + startFile(ol,getOutputFileBase(),name(),pageTitle,HLI_FileVisible); startTitle(ol,getOutputFileBase()); ol.parseText(pageTitle); addGroupListToTitle(ol,this); @@ -445,18 +451,32 @@ void FileDef::writeDocumentation(OutputList &ol) bool found=FALSE; for (ndi.toFirst();(nd=ndi.current());++ndi) { - if (nd->name().find('@')==-1) + if (nd->name().find('@')==-1 && !nd->isArtificial()) { if (!found) { ol.startMemberHeader(); - ol.parseText(theTranslator->trNamespaces()); + if (fortranOpt) + { + ol.parseText(theTranslator->trModules()); + } + else + { + ol.parseText(theTranslator->trNamespaces()); + } ol.endMemberHeader(); ol.startMemberList(); found=TRUE; } ol.startMemberItem(0); - ol.writeString("namespace "); + if (fortranOpt) + { + ol.writeString("module "); + } + else + { + ol.writeString("namespace "); + } ol.insertMemberAlign(); if (nd->isLinkable()) { @@ -504,7 +524,10 @@ void FileDef::writeDocumentation(OutputList &ol) writeMemberDeclarations(ol,MemberList::decProtoMembers,theTranslator->trFuncProtos()); writeMemberDeclarations(ol,MemberList::decTypedefMembers,theTranslator->trTypedefs()); writeMemberDeclarations(ol,MemberList::decEnumMembers,theTranslator->trEnumerations()); - writeMemberDeclarations(ol,MemberList::decFuncMembers,theTranslator->trFunctions()); + writeMemberDeclarations(ol,MemberList::decFuncMembers, + fortranOpt ? theTranslator->trSubprograms() : + vhdlOpt ? VhdlDocGen::trFunctionAndProc() : + theTranslator->trFunctions()) ; writeMemberDeclarations(ol,MemberList::decVarMembers,theTranslator->trVariables()); ol.endMemberSections(); @@ -541,13 +564,14 @@ void FileDef::writeDocumentation(OutputList &ol) void FileDef::writeMemberDocumentation(OutputList &ol) { + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); if (Config_getBool("SEPARATE_MEMBER_PAGES")) { ol.disable(OutputGenerator::Html); } writeMemberDocumentation(ol,MemberList::docDefineMembers,theTranslator->trDefineDocumentation()); - writeMemberDocumentation(ol,MemberList::docProtoMembers,theTranslator->trFunctionPrototypeDocumentation()); + writeMemberDocumentation(ol,MemberList::docProtoMembers,fortranOpt?theTranslator->trSubprogramDocumentation():theTranslator->trFunctionPrototypeDocumentation()); writeMemberDocumentation(ol,MemberList::docTypedefMembers,theTranslator->trTypedefDocumentation()); writeMemberDocumentation(ol,MemberList::docEnumMembers,theTranslator->trEnumerationTypeDocumentation()); writeMemberDocumentation(ol,MemberList::docFuncMembers,theTranslator->trFunctionDocumentation()); @@ -631,17 +655,20 @@ void FileDef::writeSource(OutputList &ol) } QCString pageTitle = theTranslator->trSourceFile(title); ol.disableAllBut(OutputGenerator::Html); - startFile(ol,getSourceFileBase(),0,pageTitle,HLI_FileVisible); if (Config_getBool("SHOW_DIRECTORIES") && getDirDef()) { + startFile(ol,getSourceFileBase(),0,pageTitle,HLI_FileVisible,TRUE); getDirDef()->writeNavigationPath(ol); + ol.endQuickIndices(); + ol.endContents(); startTitle(ol,getOutputFileBase()); ol.parseText(name()); endTitle(ol,getOutputFileBase(),title); } else { + startFile(ol,getSourceFileBase(),0,pageTitle,HLI_FileVisible,TRUE); startTitle(ol,0); ol.parseText(title); endTitle(ol,0,0); diff --git a/src/filedef.h b/src/filedef.h index 20ac57f..d03f816 100644 --- a/src/filedef.h +++ b/src/filedef.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/filename.cpp b/src/filename.cpp index 929cc5f..bbbc707 100644 --- a/src/filename.cpp +++ b/src/filename.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/filename.h b/src/filename.h index 71620ea..b2dd496 100644 --- a/src/filename.h +++ b/src/filename.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/formula.cpp b/src/formula.cpp index 380a53e..037ce9d 100644 --- a/src/formula.cpp +++ b/src/formula.cpp @@ -1,8 +1,8 @@ /****************************************************************************** i - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/formula.h b/src/formula.h index ef46baa..5fa4f7e 100644 --- a/src/formula.h +++ b/src/formula.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/fortrancode.h b/src/fortrancode.h index 5f0366e..48e50d1 100644 --- a/src/fortrancode.h +++ b/src/fortrancode.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2006 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/fortrancode.l b/src/fortrancode.l index c71de8f..63fdb0a 100644 --- a/src/fortrancode.l +++ b/src/fortrancode.l @@ -957,5 +957,9 @@ extern "C" { // some bogus code to keep the compiler happy } #elif YY_FLEX_SUBMINOR_VERSION<33 #error "You seem to be using a version of flex newer than 2.5.4 but older than 2.5.33. These versions do NOT work with doxygen! Please use version <=2.5.4 or >=2.5.33 or expect things to be parsed wrongly!" +#else +extern "C" { // some bogus code to keep the compiler happy + void fcodeYYdummy() { yy_top_state(); } +} #endif diff --git a/src/fortranscanner.h b/src/fortranscanner.h index da782a9..c040f9a 100644 --- a/src/fortranscanner.h +++ b/src/fortranscanner.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2006 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/fortranscanner.l b/src/fortranscanner.l index eecdd60..8eddc14 100644 --- a/src/fortranscanner.l +++ b/src/fortranscanner.l @@ -74,11 +74,11 @@ struct SymbolModifiers { enum Direction {NONE_D, IN, OUT, INOUT}; //!< This is only used with function return value. - QString type, returnName; + QCString type, returnName; Protection protection; Direction direction; bool optional; - QString dimension; + QCString dimension; bool allocatable; bool external; bool intrinsic; @@ -93,7 +93,7 @@ struct SymbolModifiers { pointer(FALSE), target(FALSE), save(FALSE) {} SymbolModifiers& operator|=(const SymbolModifiers &mdfs); - SymbolModifiers& operator|=(QString mdfrString); + SymbolModifiers& operator|=(QCString mdfrString); }; //ostream& operator<<(ostream& out, const SymbolModifiers& mdfs); @@ -132,7 +132,7 @@ static MethodTypes mtype; static bool gstat; static Specifier virt; -static QString debugStr; +static QCString debugStr; static QCString result; // function result static Argument *parameter; // element of parameter list static QCString argType; // fortran type of an argument of a parameter list @@ -146,7 +146,7 @@ static char stringStartSymbol; // single or double quote //! Accumulated modifiers of current statement, eg variable declaration. static SymbolModifiers currentModifiers; //! Holds program scope->symbol name->symbol modifiers. -static QMap > modifiers; +static QMap > modifiers; //----------------------------------------------------------------------------- @@ -154,14 +154,14 @@ static int yyread(char *buf,int max_size); static void startCommentBlock(bool); static void handleCommentBlock(const QCString &doc,bool brief); static void addCurrentEntry(); -static void addInterface(QString name); -static Argument *addFortranParameter(const QCString &type,const QCString &name, const QString docs); +static void addInterface(QCString name); +static Argument *addFortranParameter(const QCString &type,const QCString &name, const QCString docs); static void scanner_abort(); static void startScope(Entry *scope); static bool endScope(Entry *scope); -static QString getFullName(Entry *e); -static bool isTypeName(QString name); +static QCString getFullName(Entry *e); +static bool isTypeName(QCString name); static void resolveModuleProcedures(QList &moduleProcedures, Entry *current_root); //----------------------------------------------------------------------------- @@ -176,7 +176,7 @@ static void resolveModuleProcedures(QList &moduleProcedures, Entry *curre IDSYM [a-z_A-Z0-9] NOTIDSYM [^a-z_A-Z0-9] SEPARATE [:, \t] -ID [a-z_A-Z]+{IDSYM}* +ID [a-z_A-Z%]+{IDSYM}* PP_ID {ID} LABELID [a-z_A-Z]+[a-z_A-Z0-9\-]* SUBPROG (subroutine|function) @@ -245,15 +245,15 @@ ATTR_STMT {ATTR_SPEC}|DIMENSION|{ACCESS_SPEC} \"|\' { // string ends with next quote without previous backspace if(yytext[0]!=stringStartSymbol) REJECT; // single vs double quote - // cout << "string end: " << debugStr << endl; + // fprintf(stderr,"string end: %s\n",debugStr.data()); yy_pop_state(); } -. {debugStr+=yytext;} // ignore String contents (especially '!') +. { debugStr+=yytext; } // ignore String contents (especially '!') <*>\"|\' { /* string starts */ if(YY_START == StrIgnore) REJECT; // ignore in simple comments - // cout << "string start: " << yytext[0] << yyLineNr << endl; + // fprintf(stderr,"string start: %c %d\n",yytext[0],yyLineNr); yy_push_state(YY_START); stringStartSymbol=yytext[0]; // single or double quote BEGIN(String); debugStr="!^!"; @@ -268,11 +268,11 @@ ATTR_STMT {ATTR_SPEC}|DIMENSION|{ACCESS_SPEC} yy_push_state(YY_START); BEGIN(StrIgnore); debugStr="*!"; - //cout << "start comment "<< yyLineNr << endl; + //fprintf(stderr,"start comment %d\n",yyLineNr); } } .?/\n { yy_pop_state(); // comment ends with endline character - //cout << "end comment " << yyLineNr <<" "<< debugStr << endl; + //fprintf(stderr,"end comment %d %s\n",yyLineNr,debugStr.data()); } // comment line ends . { debugStr+=yytext; } @@ -284,7 +284,7 @@ ATTR_STMT {ATTR_SPEC}|DIMENSION|{ACCESS_SPEC} BEGIN(Use); } {ID} { - //cout << "using dir "<< yytext << endl; + //fprintf(stderr,"using dir %s\n",yytext); current->name=yytext; current->fileName = yyFileName; current->section=Entry::USINGDIR_SEC; @@ -312,10 +312,10 @@ ATTR_STMT {ATTR_SPEC}|DIMENSION|{ACCESS_SPEC} /*------ ignore special fortran statements */ ^[ \t]*interface({BS_}{ID}({BS}\({BS}[^ \t()]+{BS}\))?)? { // handle interface block - QString name = yytext; + QCString name = yytext; int index = name.find("interface", 0, FALSE); index = name.find(QRegExp("[^ \\t]"), index+9); - //cout<module{BS}procedure { yy_push_state(YY_START); BEGIN(ModuleProcedure); @@ -379,13 +377,13 @@ ATTR_STMT {ATTR_SPEC}|DIMENSION|{ACCESS_SPEC} /*------- type definition -------------------------------------------------------------------------------*/ -^{BS}"type"({BS_}|({COMMA}{ACCESS_SPEC})) { /* type definition found : TYPE , access-spec::type-name |*/ +"type"({BS_}|({COMMA}{ACCESS_SPEC})) { /* type definition found : TYPE , access-spec::type-name |*/ yy_push_state(YY_START); BEGIN(Typedef); current->protection = defaultProtection; } {ACCESS_SPEC} { - QString type= yytext; + QCString type= yytext; } {ID} { /* type name found */ //cout << "=========> got typedef " << yytext << ": " << yyLineNr << endl; @@ -420,16 +418,16 @@ ATTR_STMT {ATTR_SPEC}|DIMENSION|{ACCESS_SPEC} {TYPE_SPEC}/{SEPARATE} { /* variable declaration starts */ //fprintf(stderr,"4=========> got variable type: %s\n",yytext); - QString help=yytext; + QCString help=yytext; help= help.simplifyWhiteSpace(); - argType= help.latin1(); + argType= help; yy_push_state(AttributeList); } ^{BS}{PP_ID}{KIND}? { /* check for preprocessor symbol expand to type */ - QString str = yytext; + QCString str = yytext; str = str.stripWhiteSpace(); DefineDict* defines = getFileDefineDict(); - QString name; + QCString name; int index = str.find("("); if(index != -1) name = str.left(index).stripWhiteSpace(); @@ -437,30 +435,29 @@ ATTR_STMT {ATTR_SPEC}|DIMENSION|{ACCESS_SPEC} name = str; Define *define = (*defines)[name]; - if(define != NULL && isTypeName(define->definition)) { + if(define != 0 && isTypeName(define->definition)) { argType = str; yy_push_state(AttributeList); } else { REJECT; } } -{ATTR_STMT}/{BS_}{ID}|{BS}"::" { +{ATTR_STMT}/{BS_}{ID} | +{ATTR_STMT}/{BS}"::" { /* attribute statement starts */ //fprintf(stderr,"5=========> Attribute statement: %s\n", yytext); - QString tmp = yytext; + QCString tmp = yytext; currentModifiers |= tmp.stripWhiteSpace(); argType=""; yy_push_state(YY_START); - /* goto attribute parsing, however there must not be one, - just catch "::" if it is there. */ BEGIN( AttributeList ) ; - } + } } { {COMMA} {} {BS} {} {ATTR_SPEC} { /* update current modifiers */ - QString tmp = yytext; + QCString tmp = yytext; currentModifiers |= (tmp); } "::" { /* end attribute list */ @@ -476,11 +473,11 @@ ATTR_STMT {ATTR_SPEC}|DIMENSION|{ACCESS_SPEC} {BS} {} {ID} { /* parse variable declaration */ //cout << "5=========> got variable: " << argType << "::" << yytext << endl; - /* work around for bug in QCString.replace (QString works) */ - QString name=yytext; + /* work around for bug in QCString.replace (QCString works) */ + QCString name=yytext; /* remember attributes for the symbol */ modifiers[current_root][name.lower()] |= currentModifiers; - argName= name.latin1(); + argName= name; int last= yy_top_state(); v_type= V_IGNORE; @@ -505,8 +502,8 @@ ATTR_STMT {ATTR_SPEC}|DIMENSION|{ACCESS_SPEC} } } {ARGS} { /* dimension of the previous entry. */ - QString name(argName); - QString attr("dimension"); + QCString name(argName); + QCString attr("dimension"); attr += yytext; modifiers[current_root][name] |= attr; } @@ -542,14 +539,14 @@ ATTR_STMT {ATTR_SPEC}|DIMENSION|{ACCESS_SPEC} /*------ fortran subroutine/function handling ------------------------------------------------------------*/ /* Start is initial condition */ -{TYPE_SPEC}{BS}/{SUBPROG}{BS_} { +{TYPE_SPEC}{BS}/{SUBPROG}{BS_} { // TYPE_SPEC is for old function style function result result= yytext; result= result.stripWhiteSpace(); current->type = result; } {BS}{SUBPROG}{BS_} { // Fortran subroutine or function found - //cout << "1=========> got subprog, type:" << yytext < got subprog, type: %s\n",yytext); current->section = Entry::FUNCTION_SEC ; QCString subtype = yytext; subtype=subtype.lower().stripWhiteSpace(); if (!current->type) current->type = subtype; @@ -569,7 +566,7 @@ ATTR_STMT {ATTR_SPEC}|DIMENSION|{ACCESS_SPEC} } {ARGS} { //current->type not yet available - QString arglist= yytext; + QCString arglist= yytext; //cout << "3=========> got parameterlist " << yytext << endl; yyLineNr+= arglist.contains('\n'); arglist = arglist.replace(QRegExp("&[^\n]*\n"),""); @@ -716,7 +713,7 @@ void resolveModuleProcedures(QList &moduleProcedures, Entry *current_root moduleProcedures.clear(); } -static bool isTypeName(QString name) +static bool isTypeName(QCString name) { name = name.lower(); return name=="integer" || name == "real" || @@ -724,9 +721,9 @@ static bool isTypeName(QString name) } /*! Extracts string which resides within parentheses of provided string. */ -static QString extractFromParens(const QString name) +static QCString extractFromParens(const QCString name) { - QString extracted = name; + QCString extracted = name; int start = extracted.find("("); if(start != -1) { @@ -761,18 +758,18 @@ SymbolModifiers& SymbolModifiers::operator|=(const SymbolModifiers &mdfs) } /*! Extracts and adds passed modifier to these modifiers.*/ -SymbolModifiers& SymbolModifiers::operator|=(QString mdfString) +SymbolModifiers& SymbolModifiers::operator|=(QCString mdfString) { mdfString = mdfString.lower(); SymbolModifiers newMdf; - if (mdfString.startsWith("dimension")) + if (mdfString.find("dimension")==0) { newMdf.dimension=mdfString; } else if (mdfString.contains("intent")) { - QString tmp = extractFromParens(mdfString); + QCString tmp = extractFromParens(mdfString); bool isin = tmp.contains("in"); bool isout = tmp.contains("out"); if(isin && isout) newMdf.direction = SymbolModifiers::INOUT; @@ -835,7 +832,7 @@ SymbolModifiers& SymbolModifiers::operator|=(QString mdfString) //} /*! Find argument with given name in \a subprog entry. */ -static Argument *findArgument(Entry* subprog, QString name, bool byTypeName = FALSE) +static Argument *findArgument(Entry* subprog, QCString name, bool byTypeName = FALSE) { QCString cname(name.lower()); for (unsigned int i=0; iargList->count(); i++) @@ -846,12 +843,12 @@ static Argument *findArgument(Entry* subprog, QString name, bool byTypeName = FA return arg; } - return NULL; + return 0; } /*! Find function with given name in \a entry. */ #if 0 -static Entry *findFunction(Entry* entry, QString name) +static Entry *findFunction(Entry* entry, QCString name) { QCString cname(name.lower()); @@ -866,12 +863,12 @@ static Entry *findFunction(Entry* entry, QString name) return ce; } - return NULL; + return 0; } #endif /*! Apply modifiers stored in \a mdfs to the \a typeName string. */ -static QString applyModifiers(QString typeName, SymbolModifiers& mdfs) +static QCString applyModifiers(QCString typeName, SymbolModifiers& mdfs) { if(!mdfs.dimension.isNull()) { @@ -930,14 +927,14 @@ static QString applyModifiers(QString typeName, SymbolModifiers& mdfs) /*! Apply modifiers stored in \a mdfs to the \a arg argument. */ static void applyModifiers(Argument *arg, SymbolModifiers& mdfs) { - QString tmp = arg->type; + QCString tmp = arg->type; arg->type = applyModifiers(tmp, mdfs); } /*! Apply modifiers stored in \a mdfs to the \a ent entry. */ static void applyModifiers(Entry *ent, SymbolModifiers& mdfs) { - QString tmp = ent->type; + QCString tmp = ent->type; ent->type = applyModifiers(tmp, mdfs); if(mdfs.protection == SymbolModifiers::PUBLIC) @@ -955,7 +952,7 @@ static void startScope(Entry *scope) //cout<<"start scope: "<name< mdfMap; + QMap mdfMap; modifiers.insert(scope, mdfMap); } @@ -977,32 +974,33 @@ static bool endScope(Entry *scope) } // update variables or subprogram arguments with modifiers - QMap& mdfsMap = modifiers[scope]; + QMap& mdfsMap = modifiers[scope]; - if(scope->section == Entry::FUNCTION_SEC) + if (scope->section == Entry::FUNCTION_SEC) { // iterate all symbol modifiers of the scope - for(QMap::Iterator it=mdfsMap.begin(); it!=mdfsMap.end(); it++) { + for (QMap::Iterator it=mdfsMap.begin(); it!=mdfsMap.end(); it++) + { //cout<name.lower()].returnName<name.lower()].returnName.lower(); - if(modifiers[scope].contains(returnName)) + QCString returnName = modifiers[current_root][scope->name.lower()].returnName.lower(); + if (modifiers[scope].contains(returnName)) { scope->type = modifiers[scope][returnName].type; // returning type works applyModifiers(scope, modifiers[scope][returnName]); // returning array works } } - else if(scope->section == Entry::CLASS_SEC) + if (scope->section == Entry::CLASS_SEC) { // was INTERFACE_SEC - if(scope->parent()->section == Entry::FUNCTION_SEC) + if (scope->parent()->section == Entry::FUNCTION_SEC) { // interface within function // iterate functions of interface and // try to find types for dummy(ie. argument) procedures. @@ -1011,11 +1009,11 @@ static bool endScope(Entry *scope) Entry *ce; for (;(ce=eli.current());++eli) { - if(ce->section != Entry::FUNCTION_SEC) + if (ce->section != Entry::FUNCTION_SEC) continue; Argument *arg = findArgument(scope->parent(), ce->name, TRUE); - if(arg != NULL) + if(arg != 0) { // set type of dummy procedure argument to interface arg->name = arg->type; @@ -1023,10 +1021,9 @@ static bool endScope(Entry *scope) } } } - } - else - { // not function section or interface + if (scope->section!=Entry::FUNCTION_SEC) + { // not function section // iterate variables: get and apply modifiers EntryListIterator eli(*scope->children()); Entry *ce; @@ -1048,10 +1045,10 @@ static bool endScope(Entry *scope) } //! Return full name of the entry. Sometimes we must combine several names recursively. -static QString getFullName(Entry *e) +static QCString getFullName(Entry *e) { - QString name = e->name; - if(e->section == Entry::CLASS_SEC // || e->section == Entry::INTERFACE_SEC + QCString name = e->name; + if (e->section == Entry::CLASS_SEC // || e->section == Entry::INTERFACE_SEC || !e->parent() || e->parent()->name.isEmpty()) return name; @@ -1061,7 +1058,7 @@ static QString getFullName(Entry *e) static int yyread(char *buf,int max_size) { int c=0; - while( c < max_size && inputString[inputPosition] ) + while ( c < max_size && inputString[inputPosition] ) { *buf = inputString[inputPosition++] ; c++; buf++; @@ -1099,7 +1096,7 @@ static void addCurrentEntry() * \note Code was brought to this procedure from the parser, * because there was/is idea to use it in several parts of the parser. */ -static void addInterface(QString name) +static void addInterface(QCString name) { current->section = Entry::CLASS_SEC; // was Entry::INTERFACE_SEC; current->spec = Entry::Interface; @@ -1115,7 +1112,7 @@ static void addInterface(QString name) if ((current_root) && (current_root->section == Entry::FUNCTION_SEC)) { - current->name = getFullName(current_root) + "__" + QString(current->name); + current->name = getFullName(current_root) + "__" + QCString(current->name); } current->fileName = yyFileName; @@ -1128,11 +1125,11 @@ static void addInterface(QString name) /*! Update the argument \a name with additional \a type info. */ -static Argument *addFortranParameter(const QCString &type,const QCString &name, const QString docs) +static Argument *addFortranParameter(const QCString &type,const QCString &name, const QCString docs) { - //cout<<"addFortranParameter(): "<argList==0) return FALSE; + if (current_root->argList==0) return 0; ArgumentListIterator ali(*current_root->argList); Argument *a; for (ali.toFirst();(a=ali.current());++ali) @@ -1143,7 +1140,7 @@ static Argument *addFortranParameter(const QCString &type,const QCString &name, //cout << "addParameter found: " << type << " , " << name << endl; a->type=type.stripWhiteSpace(); a->name=name.stripWhiteSpace(); - if(!docs.isNull()) + if (!docs.isNull()) a->docs = docs; break; } @@ -1327,7 +1324,7 @@ static void scanner_abort() #if !defined(YY_FLEX_SUBMINOR_VERSION) //---------------------------------------------------------------------------- extern "C" { // some bogus code to keep the compiler happy - void fscannerYYdummy() { yy_flex_realloc(0,0); } + void fscannerYYdummy() { yy_flex_realloc(0,0); yy_top_state(); } } #endif diff --git a/src/ftvhelp.cpp b/src/ftvhelp.cpp index ebe1149..0129b78 100644 --- a/src/ftvhelp.cpp +++ b/src/ftvhelp.cpp @@ -595,7 +595,7 @@ void FTVHelp::generateTreeView() { QTextStream t(&f); #if QT_VERSION >= 200 - t.setEncoding(QTextStream::Latin1); + t.setEncoding(QTextStream::UnicodeUTF8); #endif t << "\n"; t << ""; @@ -632,9 +632,7 @@ void FTVHelp::generateTreeView() else { QTextStream t(&f); -#if QT_VERSION >= 200 - t.setEncoding(QTextStream::Latin1); -#endif + t.setEncoding(QTextStream::UnicodeUTF8); t << "\n"; t << " \n"; t << " \n"; diff --git a/src/ftvhelp.h b/src/ftvhelp.h index c2f063a..fee1944 100644 --- a/src/ftvhelp.h +++ b/src/ftvhelp.h @@ -71,7 +71,7 @@ class FTVHelp : public IndexIntf const char *anchor); void addIndexItem(const char *, const char *, const char *, const char *, - const char *) {} + const char *, const MemberDef *) {} void addIndexFile(const char *) {} private: diff --git a/src/groupdef.cpp b/src/groupdef.cpp index 4905b28..de41fe7 100644 --- a/src/groupdef.cpp +++ b/src/groupdef.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -34,6 +34,7 @@ #include "docparser.h" #include "searchindex.h" #include "dot.h" +#include "vhdldocgen.h" GroupDef::GroupDef(const char *df,int dl,const char *na,const char *t, const char *refFileName) : Definition(df,dl,na) @@ -290,107 +291,104 @@ bool GroupDef::insertMember(MemberDef *md,bool docOnly) if (!docOnly) { addMemberToList(MemberList::decVarMembers,md); - //if (Config_getBool("SORT_BRIEF_DOCS")) - // decVarMembers.inSort(md); - //else - // decVarMembers.append(md); } addMemberToList(MemberList::docVarMembers,md); - //if (Config_getBool("SORT_MEMBER_DOCS")) - // docVarMembers.inSort(md); - //else - // docVarMembers.append(md); break; case MemberDef::Function: if (!docOnly) { addMemberToList(MemberList::decFuncMembers,md); - //if (Config_getBool("SORT_BRIEF_DOCS")) - // decFuncMembers.inSort(md); - //else - // decFuncMembers.append(md); } addMemberToList(MemberList::docFuncMembers,md); - //if (Config_getBool("SORT_MEMBER_DOCS")) - // docFuncMembers.inSort(md); - //else - // docFuncMembers.append(md); break; case MemberDef::Typedef: if (!docOnly) { addMemberToList(MemberList::decTypedefMembers,md); - //if (Config_getBool("SORT_BRIEF_DOCS")) - // decTypedefMembers.inSort(md); - //else - // decTypedefMembers.append(md); } addMemberToList(MemberList::docTypedefMembers,md); - //if (Config_getBool("SORT_MEMBER_DOCS")) - // docTypedefMembers.inSort(md); - //else - // docTypedefMembers.append(md); break; case MemberDef::Enumeration: if (!docOnly) { addMemberToList(MemberList::decEnumMembers,md); - //if (Config_getBool("SORT_BRIEF_DOCS")) - // decEnumMembers.inSort(md); - //else - // decEnumMembers.append(md); } addMemberToList(MemberList::docEnumMembers,md); - //if (Config_getBool("SORT_MEMBER_DOCS")) - // docEnumMembers.inSort(md); - //else - // docEnumMembers.append(md); break; case MemberDef::EnumValue: if (!docOnly) { addMemberToList(MemberList::decEnumValMembers,md); - //printf("enum value %s!\n",md->name().data()); - //if (Config_getBool("SORT_BRIEF_DOCS")) - // decEnumValMembers.inSort(md); - //else - // decEnumValMembers.append(md); } addMemberToList(MemberList::docEnumValMembers,md); - //if (Config_getBool("SORT_MEMBER_DOCS")) - // docEnumValMembers.inSort(md); - //else - // docEnumValMembers.append(md); break; case MemberDef::Prototype: if (!docOnly) { addMemberToList(MemberList::decProtoMembers,md); - //if (Config_getBool("SORT_BRIEF_DOCS")) - // decProtoMembers.inSort(md); - //else - // decProtoMembers.append(md); } addMemberToList(MemberList::docProtoMembers,md); - //if (Config_getBool("SORT_MEMBER_DOCS")) - // docProtoMembers.inSort(md); - //else - // docProtoMembers.append(md); break; case MemberDef::Define: if (!docOnly) { addMemberToList(MemberList::decDefineMembers,md); - //if (Config_getBool("SORT_BRIEF_DOCS")) - // decDefineMembers.inSort(md); - //else - // decDefineMembers.append(md); } addMemberToList(MemberList::docDefineMembers,md); - //if (Config_getBool("SORT_MEMBER_DOCS")) - // docDefineMembers.inSort(md); - //else - // docDefineMembers.append(md); + break; + case MemberDef::Signal: + if (!docOnly) + { + addMemberToList(MemberList::decSignalMembers,md); + } + addMemberToList(MemberList::docSignalMembers,md); + break; + case MemberDef::Slot: + if (md->protection()==Public) + { + if (!docOnly) + { + addMemberToList(MemberList::decPubSlotMembers,md); + } + addMemberToList(MemberList::docPubSlotMembers,md); + } + else if (md->protection()==Protected) + { + if (!docOnly) + { + addMemberToList(MemberList::decProSlotMembers,md); + } + addMemberToList(MemberList::docProSlotMembers,md); + } + else + { + if (!docOnly) + { + addMemberToList(MemberList::decPriSlotMembers,md); + } + addMemberToList(MemberList::docPriSlotMembers,md); + } + break; + case MemberDef::Event: + if (!docOnly) + { + addMemberToList(MemberList::decEventMembers,md); + } + addMemberToList(MemberList::docEventMembers,md); + break; + case MemberDef::Property: + if (!docOnly) + { + addMemberToList(MemberList::decPropMembers,md); + } + addMemberToList(MemberList::docPropMembers,md); + break; + case MemberDef::Friend: + if (!docOnly) + { + addMemberToList(MemberList::decFriendMembers,md); + } + addMemberToList(MemberList::docFriendMembers,md); break; default: err("GroupDef::insertMembers(): " @@ -455,6 +453,39 @@ void GroupDef::removeMember(MemberDef *md) removeMemberFromList(MemberList::decDefineMembers,md); removeMemberFromList(MemberList::docDefineMembers,md); break; + case MemberDef::Signal: + removeMemberFromList(MemberList::decSignalMembers,md); + removeMemberFromList(MemberList::docSignalMembers,md); + break; + case MemberDef::Slot: + if (md->protection()==Public) + { + removeMemberFromList(MemberList::decPubSlotMembers,md); + removeMemberFromList(MemberList::docPubSlotMembers,md); + } + else if (md->protection()==Protected) + { + removeMemberFromList(MemberList::decProSlotMembers,md); + removeMemberFromList(MemberList::docProSlotMembers,md); + } + else + { + removeMemberFromList(MemberList::decPriSlotMembers,md); + removeMemberFromList(MemberList::docPriSlotMembers,md); + } + break; + case MemberDef::Event: + removeMemberFromList(MemberList::decEventMembers,md); + removeMemberFromList(MemberList::docEventMembers,md); + break; + case MemberDef::Property: + removeMemberFromList(MemberList::decPropMembers,md); + removeMemberFromList(MemberList::docPropMembers,md); + break; + case MemberDef::Friend: + removeMemberFromList(MemberList::decFriendMembers,md); + removeMemberFromList(MemberList::docFriendMembers,md); + break; default: err("GroupDef::removeMember(): unexpected member remove in file!\n"); } @@ -535,6 +566,8 @@ void GroupDef::writeDetailedDocumentation(OutputList &ol) void GroupDef::writeDocumentation(OutputList &ol) { + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); + bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); ol.pushGeneratorState(); startFile(ol,getOutputFileBase(),name(),title); startTitle(ol,getOutputFileBase()); @@ -715,21 +748,23 @@ void GroupDef::writeDocumentation(OutputList &ol) mg->writeDeclarations(ol,0,0,0,this); } - //allMemberList->writeDeclarations(ol,0,0,0,this,0,0); writeMemberDeclarations(ol,MemberList::decDefineMembers,theTranslator->trDefines()); - //decDefineMembers.writeDeclarations(ol,0,0,0,this,theTranslator->trDefines(),0); writeMemberDeclarations(ol,MemberList::decProtoMembers,theTranslator->trFuncProtos()); - //decProtoMembers.writeDeclarations(ol,0,0,0,this,theTranslator->trFuncProtos(),0); writeMemberDeclarations(ol,MemberList::decTypedefMembers,theTranslator->trTypedefs()); - //decTypedefMembers.writeDeclarations(ol,0,0,0,this,theTranslator->trTypedefs(),0); writeMemberDeclarations(ol,MemberList::decEnumMembers,theTranslator->trEnumerations()); - //decEnumMembers.writeDeclarations(ol,0,0,0,this,theTranslator->trEnumerations(),0); writeMemberDeclarations(ol,MemberList::decEnumValMembers,theTranslator->trEnumerationValues()); - //decEnumValMembers.writeDeclarations(ol,0,0,0,this,theTranslator->trEnumerationValues(),0,TRUE); - writeMemberDeclarations(ol,MemberList::decFuncMembers,theTranslator->trFunctions()); - //decFuncMembers.writeDeclarations(ol,0,0,0,this,theTranslator->trFunctions(),0); + writeMemberDeclarations(ol,MemberList::decFuncMembers, + fortranOpt ? theTranslator->trSubprograms() : + vhdlOpt ? VhdlDocGen::trFunctionAndProc() : + theTranslator->trFunctions()); writeMemberDeclarations(ol,MemberList::decVarMembers,theTranslator->trVariables()); - //decVarMembers.writeDeclarations(ol,0,0,0,this,theTranslator->trVariables(),0); + writeMemberDeclarations(ol,MemberList::decSignalMembers,theTranslator->trSignals()); + writeMemberDeclarations(ol,MemberList::decPubSlotMembers,theTranslator->trPublicSlots()); + writeMemberDeclarations(ol,MemberList::decProSlotMembers,theTranslator->trProtectedSlots()); + writeMemberDeclarations(ol,MemberList::decPriSlotMembers,theTranslator->trPrivateSlots()); + writeMemberDeclarations(ol,MemberList::decEventMembers,theTranslator->trEvents()); + writeMemberDeclarations(ol,MemberList::decPropMembers,theTranslator->trProperties()); + writeMemberDeclarations(ol,MemberList::decFriendMembers,theTranslator->trFriends()); } ol.endMemberSections(); @@ -786,38 +821,26 @@ void GroupDef::writeDocumentation(OutputList &ol) void GroupDef::writeMemberDocumentation(OutputList &ol) { + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); if (Config_getBool("SEPARATE_MEMBER_PAGES")) { ol.disable(OutputGenerator::Html); } writeMemberDocumentation(ol,MemberList::docDefineMembers,theTranslator->trDefineDocumentation()); - //docDefineMembers.writeDocumentation(ol,name(),this, - // theTranslator->trDefineDocumentation()); - writeMemberDocumentation(ol,MemberList::docProtoMembers,theTranslator->trFunctionPrototypeDocumentation()); - //docProtoMembers.writeDocumentation(ol,name(),this, - // theTranslator->trFunctionPrototypeDocumentation()); - writeMemberDocumentation(ol,MemberList::docTypedefMembers,theTranslator->trTypedefDocumentation()); - //docTypedefMembers.writeDocumentation(ol,name(),this, - // theTranslator->trTypedefDocumentation()); - writeMemberDocumentation(ol,MemberList::docEnumMembers,theTranslator->trEnumerationTypeDocumentation()); - //docEnumMembers.writeDocumentation(ol,name(),this, - // theTranslator->trEnumerationTypeDocumentation()); - writeMemberDocumentation(ol,MemberList::docEnumValMembers,theTranslator->trEnumerationValueDocumentation()); - //docEnumValMembers.writeDocumentation(ol,name(),this, - // theTranslator->trEnumerationValueDocumentation(),TRUE); - - writeMemberDocumentation(ol,MemberList::docFuncMembers,theTranslator->trFunctionDocumentation()); - //docFuncMembers.writeDocumentation(ol,name(),this, - // theTranslator->trFunctionDocumentation()); - + writeMemberDocumentation(ol,MemberList::docFuncMembers,fortranOpt?theTranslator->trSubprogramDocumentation():theTranslator->trFunctionDocumentation()); writeMemberDocumentation(ol,MemberList::docVarMembers,theTranslator->trVariableDocumentation()); - //docVarMembers.writeDocumentation(ol,name(),this, - // theTranslator->trVariableDocumentation()); + writeMemberDocumentation(ol,MemberList::docSignalMembers,theTranslator->trSignals()); // todo: add trSignalDocumentation() + writeMemberDocumentation(ol,MemberList::docPubSlotMembers,theTranslator->trPublicSlots()); // todo: add trSlotDocumentation() + writeMemberDocumentation(ol,MemberList::docProSlotMembers,theTranslator->trProtectedSlots()); // todo: add trSlotDocumentation() + writeMemberDocumentation(ol,MemberList::docPriSlotMembers,theTranslator->trPrivateSlots()); // todo: add trSlotDocumentation() + writeMemberDocumentation(ol,MemberList::docEventMembers,theTranslator->trEvents()); // todo: add trEventDocumentation() + writeMemberDocumentation(ol,MemberList::docPropMembers,theTranslator->trProperties()); // todo: add trPropertyDocumentation() + writeMemberDocumentation(ol,MemberList::docFriendMembers,theTranslator->trFriends()); // todo: add trFriendDocumentation() if (Config_getBool("SEPARATE_MEMBER_PAGES")) { diff --git a/src/groupdef.h b/src/groupdef.h index d0761b2..d2f262c 100644 --- a/src/groupdef.h +++ b/src/groupdef.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/htags.cpp b/src/htags.cpp index 05cf07b..a6ac8e8 100644 --- a/src/htags.cpp +++ b/src/htags.cpp @@ -1,6 +1,6 @@ /****************************************************************************** * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/htags.h b/src/htags.h index a75e9c7..d9c5532 100644 --- a/src/htags.h +++ b/src/htags.h @@ -1,6 +1,6 @@ /****************************************************************************** * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/htmlattrib.h b/src/htmlattrib.h index 8c852e4..78f2ced 100644 --- a/src/htmlattrib.h +++ b/src/htmlattrib.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp index baebc7f..b3739fe 100644 --- a/src/htmldocvisitor.cpp +++ b/src/htmldocvisitor.cpp @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -28,6 +28,7 @@ #include "htmlgen.h" #include "parserintf.h" #include "msc.h" +#include "util.h" static const int NUM_HTML_LIST_TYPES = 4; @@ -574,7 +575,7 @@ void HtmlDocVisitor::visitPre(DocSection *s) m_t << "level()+1 << ">"; m_t << "anchor(); m_t << "\">" << endl; - filter(s->title()); + filter(convertCharEntitiesToUTF8(s->title().data())); m_t << "level()+1 << ">\n"; } diff --git a/src/htmldocvisitor.h b/src/htmldocvisitor.h index 2708c7b..bbe7c34 100644 --- a/src/htmldocvisitor.h +++ b/src/htmldocvisitor.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp index 143baf5..b6982b7 100644 --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -36,6 +36,7 @@ #include "pagedef.h" #include "debug.h" #include "dirdef.h" +#include "vhdldocgen.h" // #define GROUP_COLOR "#ff8080" @@ -443,7 +444,7 @@ static const char tabs_css[] = " padding-bottom : 6px;\n" "}\n" "\n" -"DIV.nav\n" +"DIV.navpath\n" "{\n" " background : none;\n" " border : none;\n" @@ -600,9 +601,7 @@ static void writeDefaultHeaderFile(QTextStream &t, const char *title, void HtmlGenerator::writeHeaderFile(QFile &file) { QTextStream t(&file); -#if QT_VERSION >= 200 - t.setEncoding(QTextStream::Latin1); -#endif + t.setEncoding(QTextStream::UnicodeUTF8); writeDefaultHeaderFile(t,"$title",relativePathToRoot(0),TRUE); } @@ -840,7 +839,7 @@ void HtmlGenerator::writeString(const char *text) void HtmlGenerator::startIndexItem(const char *ref,const char *f) { - //printf("HtmlGenerator::startIndexItem(%s,%s,%s)\n",ref,f,name); + //printf("HtmlGenerator::startIndexItem(%s,%s)\n",ref,f); QCString *dest; t << "
  1. "; if (ref || f) @@ -1688,8 +1687,8 @@ static void startQuickIndexList(QTextStream &t,bool compact) { if (compact) { - t << "
    \n"; - t << "
      \n"; + t << "
      \n"; + t << "
        \n"; } else { @@ -1701,8 +1700,8 @@ static void endQuickIndexList(QTextStream &t,bool compact) { if (compact) { - t << "
      \n"; - t << "
      \n"; + t << "
    \n"; + t << "
    \n"; } else { @@ -1714,7 +1713,7 @@ static void startQuickIndexItem(QTextStream &t,const char *l, bool hl,bool /*compact*/, const QCString &relPath) { - t << " "; t << ""; @@ -1736,6 +1735,7 @@ static void writeNamespaceSubIndex(QTextStream &t,bool compact, HighlightedItem hli,const QCString &relPath ) { + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); startQuickIndexList(t,compact); if (documentedNamespaces>0) { @@ -1745,7 +1745,11 @@ static void writeNamespaceSubIndex(QTextStream &t,bool compact, { t << fixSpaces(theTranslator->trPackages()); } - else + else if(fortranOpt) + { + t << theTranslator->trModulesList(); + } + else { t << theTranslator->trNamespaceList(); } @@ -1759,7 +1763,11 @@ static void writeNamespaceSubIndex(QTextStream &t,bool compact, { t << fixSpaces(theTranslator->trPackageMembers()); } - else + else if(fortranOpt) + { + t << fixSpaces(theTranslator->trModulesMembers()); + } + else { t << fixSpaces(theTranslator->trNamespaceMembers()); } @@ -1772,6 +1780,8 @@ static void writeClassSubIndex(QTextStream &t,bool compact, HighlightedItem hli,const QCString &relPath ) { + bool fortranOpt=Config_getBool("OPTIMIZE_FOR_FORTRAN"); + bool vhdlOpt=Config_getBool("OPTIMIZE_OUTPUT_VHDL"); startQuickIndexList(t,compact); if (annotatedClasses>0) { @@ -1784,21 +1794,46 @@ static void writeClassSubIndex(QTextStream &t,bool compact, } startQuickIndexItem(t,"annotated"+Doxygen::htmlFileExtension, hli==HLI_Annotated,compact,relPath); - t << fixSpaces(theTranslator->trCompoundList()); + if (fortranOpt) + { + t << fixSpaces(theTranslator->trCompoundListFortran()); + } + else if (vhdlOpt) + { + t << fixSpaces(VhdlDocGen::trDesignUnitList()); + } + else + { + t << fixSpaces(theTranslator->trCompoundList()); + } + endQuickIndexItem(t); } if (hierarchyClasses>0) { + QCString title = theTranslator->trClassHierarchy(); + if (vhdlOpt) title = VhdlDocGen::trDesignUnitHierarchy(); startQuickIndexItem(t,"hierarchy"+Doxygen::htmlFileExtension, hli==HLI_Hierarchy,compact,relPath); - t << fixSpaces(theTranslator->trClassHierarchy()); + t << fixSpaces(title); endQuickIndexItem(t); } if (documentedClassMembers[CMHL_All]>0) { startQuickIndexItem(t,"functions"+Doxygen::htmlFileExtension, hli==HLI_Functions,compact,relPath); - t << fixSpaces(theTranslator->trCompoundMembers()); + if (fortranOpt) + { + t << fixSpaces(theTranslator->trCompoundMembersFortran()); + } + else if (vhdlOpt) + { + t << fixSpaces(VhdlDocGen::trDesignUnitMembers()); + } + else + { + t << fixSpaces(theTranslator->trCompoundMembers()); + } endQuickIndexItem(t); } endQuickIndexList(t,compact); @@ -1828,6 +1863,8 @@ static void writeFileSubIndex(QTextStream &t,bool compact, static void writeDefaultQuickLinks(QTextStream &t,bool compact, HighlightedItem hli,const QCString &relPath) { + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); + bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); startQuickIndexList(t,compact); if (Config_getBool("GENERATE_TREEVIEW")) @@ -1843,6 +1880,18 @@ static void writeDefaultQuickLinks(QTextStream &t,bool compact, t << fixSpaces(theTranslator->trMainPage()); endQuickIndexItem(t); + // -------------- Related pages + + if (indexedPages>0) + { + startQuickIndexItem(t,"pages"+Doxygen::htmlFileExtension, + hli==HLI_Pages,compact,relPath); + t << fixSpaces(theTranslator->trRelatedPages()); + endQuickIndexItem(t); + } + + // --------------- Modules + if (documentedGroups>0) { startQuickIndexItem(t,"modules"+Doxygen::htmlFileExtension, @@ -1862,6 +1911,10 @@ static void writeDefaultQuickLinks(QTextStream &t,bool compact, { t << fixSpaces(theTranslator->trPackages()); } + else if (fortranOpt) + { + t << theTranslator->trModules(); + } else { t << theTranslator->trNamespaces(); @@ -1885,7 +1938,18 @@ static void writeDefaultQuickLinks(QTextStream &t,bool compact, hli==HLI_Annotated || hli==HLI_Functions || hli==HLI_ClassVisible, compact,relPath); } - t << fixSpaces(theTranslator->trClasses()); + if (fortranOpt) + { + t << fixSpaces(theTranslator->trDataTypes()); + } + else if (vhdlOpt) + { + t << fixSpaces(VhdlDocGen::trDesignUnits()); + } + else + { + t << fixSpaces(theTranslator->trClasses()); + } endQuickIndexItem(t); if (!compact) { @@ -1919,16 +1983,6 @@ static void writeDefaultQuickLinks(QTextStream &t,bool compact, endQuickIndexItem(t); } - // -------------- Related pages - - if (indexedPages>0) - { - startQuickIndexItem(t,"pages"+Doxygen::htmlFileExtension, - hli==HLI_Pages,compact,relPath); - t << fixSpaces(theTranslator->trRelatedPages()); - endQuickIndexItem(t); - } - // -------------- Examples if (Doxygen::exampleSDict->count()>0) @@ -1994,6 +2048,32 @@ static void writeDefaultQuickLinks(QTextStream &t,bool compact, } +void HtmlGenerator::startQuickIndices() +{ + if (!Config_getBool("DISABLE_INDEX")) + { + t << "
    " << endl; + } +} + +void HtmlGenerator::endQuickIndices() +{ + if (!Config_getBool("DISABLE_INDEX")) + { + t << "
    " << endl; + } +} + +void HtmlGenerator::startContents() +{ + t << "
    " << endl; +} + +void HtmlGenerator::endContents() +{ + t << "
    " << endl; +} + void HtmlGenerator::writeQuickLinks(bool compact,HighlightedItem hli) { writeDefaultQuickLinks(t,compact,hli,relPath); @@ -2008,9 +2088,7 @@ void HtmlGenerator::writeSearchPage() if (f.open(IO_WriteOnly)) { QTextStream t(&f); -#if QT_VERSION >= 200 - t.setEncoding(QTextStream::Latin1); -#endif + t.setEncoding(QTextStream::UnicodeUTF8); if (g_header.isEmpty()) { writeDefaultHeaderFile(t,theTranslator->trSearch().data(),0,FALSE); diff --git a/src/htmlgen.h b/src/htmlgen.h index 3af767c..9f97d35 100644 --- a/src/htmlgen.h +++ b/src/htmlgen.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -54,6 +54,7 @@ class HtmlGenerator : public OutputGenerator void startIndexSection(IndexSections) {} void endIndexSection(IndexSections) {} + void writePageLink(const char *,bool) {} void startProjectNumber(); void endProjectNumber(); void writeStyleInfo(int part); @@ -176,7 +177,11 @@ class HtmlGenerator : public OutputGenerator void endClassDiagram(const ClassDiagram &,const char *,const char *); void startPageRef() {} void endPageRef(const char *,const char *) {} + void startQuickIndices(); + void endQuickIndices(); void writeQuickLinks(bool compact,HighlightedItem hli); + void startContents(); + void endContents(); void writeNonBreakableSpace(int); void startDescTable() diff --git a/src/htmlhelp.cpp b/src/htmlhelp.cpp index 1ff3101..d77fe1c 100644 --- a/src/htmlhelp.cpp +++ b/src/htmlhelp.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -299,9 +299,7 @@ void HtmlHelp::initialize() } /* Write the header of the contents file */ cts.setDevice(cf); -#if QT_VERSION >= 200 - cts.setEncoding(QTextStream::Latin1); -#endif + cts.setEncoding(QTextStream::UnicodeUTF8); cts << "\n" "\n" "\n" @@ -319,9 +317,7 @@ void HtmlHelp::initialize() } /* Write the header of the contents file */ kts.setDevice(kf); -#if QT_VERSION >= 200 - kts.setEncoding(QTextStream::Latin1); -#endif + kts.setEncoding(QTextStream::UnicodeUTF8); kts << "\n" "\n" "\n" @@ -413,7 +409,7 @@ void HtmlHelp::createProjectFile() { QTextStream t(&f); #if QT_VERSION >= 200 - t.setEncoding(QTextStream::Latin1); + t.setEncoding(QTextStream::UnicodeUTF8); #endif @@ -572,12 +568,14 @@ void HtmlHelp::addContentsItem(bool isDir, * \param contRef the output file refering to the container. * \param memRef the output file containing to the member documentation. * \param anchor the anchor of the item. + * \param md the member definition corresponding to this item. * \sa HtmlHelpIndex */ void HtmlHelp::addIndexItem(const char *level1, const char *level2, const char *contRef, const char *memRef, - const char *anchor) + const char *anchor,const MemberDef *md) { + (void)md; index->addItem(level1,level2,contRef,anchor,TRUE,FALSE); index->addItem(level2,level1,memRef,anchor,TRUE,TRUE); } diff --git a/src/htmlhelp.h b/src/htmlhelp.h index fb11d87..23a5d19 100644 --- a/src/htmlhelp.h +++ b/src/htmlhelp.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -75,7 +75,7 @@ class HtmlHelp : public IndexIntf const char *anchor = 0); void addIndexItem(const char *level1, const char *level2, const char *contRef, const char *memRef, - const char *anchor); + const char *anchor,const MemberDef *md); void addIndexFile(const char *name); private: diff --git a/src/image.cpp b/src/image.cpp index 799ef75..c2d79d5 100644 --- a/src/image.cpp +++ b/src/image.cpp @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/image.h b/src/image.h index 11e15a6..f440b50 100644 --- a/src/image.h +++ b/src/image.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/index.cpp b/src/index.cpp index 100cf99..ad8647a 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -40,6 +40,7 @@ #include "dot.h" #include "pagedef.h" #include "dirdef.h" +#include "vhdldocgen.h" #define MAX_ITEMS_BEFORE_MULTIPAGE_INDEX 200 #define MAX_ITEMS_BEFORE_QUICK_INDEX 30 @@ -187,12 +188,12 @@ static void startQuickIndexList(OutputList &ol) bool fancyTabs = TRUE; if (fancyTabs) { - ol.writeString("
    \n"); - ol.writeString("
      \n"); + ol.writeString("
      \n"); + ol.writeString("
        \n"); } else { - ol.writeString("
        "); + ol.writeString("
        "); } } @@ -201,9 +202,9 @@ static void endQuickIndexList(OutputList &ol) bool fancyTabs = TRUE; if (fancyTabs) { - ol.writeString("
      \n"); + ol.writeString("
    \n"); } - ol.writeString("
    \n"); + ol.writeString(" \n"); } static void startQuickIndexItem(OutputList &ol,const char *l, @@ -214,7 +215,7 @@ static void startQuickIndexItem(OutputList &ol,const char *l, first=FALSE; if (fancyTabs) { - ol.writeString(" trClassHierarchy(); - if (!Config_getString("PROJECT_NAME").isEmpty()) - { - title.prepend(Config_getString("PROJECT_NAME")+" "); - } + if (vhdlOpt) title = VhdlDocGen::trDesignUnitHierarchy(); + //if (!Config_getString("PROJECT_NAME").isEmpty()) + //{ + // title.prepend(Config_getString("PROJECT_NAME")+" "); + //} ol.parseText(title); endTitle(ol,0,0); ol.startTextBlock(); @@ -606,11 +626,14 @@ void writeGraphicalClassHierarchy(OutputList &ol) QCString title = theTranslator->trGraphicalHierarchy(); startFile(ol,"inherits",0,title.data(),HLI_Hierarchy); startTitle(ol,0); - if (!Config_getString("PROJECT_NAME").isEmpty()) title.prepend(Config_getString("PROJECT_NAME")+" "); + //if (!Config_getString("PROJECT_NAME").isEmpty()) + //{ + // title.prepend(Config_getString("PROJECT_NAME")+" "); + //} ol.parseText(title); endTitle(ol,0,0); ol.startTextBlock(); - Doxygen::indexList.addContentsItem(FALSE,title,0,"inherits",0); + Doxygen::indexList.addContentsItem(FALSE,theTranslator->trGraphicalHierarchy(),0,"inherits",0); ol.startTextLink("hierarchy",0); ol.parseText(theTranslator->trGotoTextualHierarchy()); ol.endTextLink(); @@ -667,11 +690,14 @@ void writeFileIndex(OutputList &ol) startFile(ol,"files",0,theTranslator->trFileIndex().data(),HLI_Files); startTitle(ol,0); QCString title = theTranslator->trFileList(); - if (!Config_getString("PROJECT_NAME").isEmpty()) title.prepend(Config_getString("PROJECT_NAME")+" "); + //if (!Config_getString("PROJECT_NAME").isEmpty()) + //{ + // title.prepend(Config_getString("PROJECT_NAME")+" "); + //} ol.parseText(title); endTitle(ol,0,0); ol.startTextBlock(); - Doxygen::indexList.addContentsItem(TRUE,title,0,"files",0); + Doxygen::indexList.addContentsItem(TRUE,theTranslator->trFileList(),0,"files",0); Doxygen::indexList.incContentsDepth(); ol.parseText(theTranslator->trFileListDescription(Config_getBool("EXTRACT_ALL"))); ol.endTextBlock(); @@ -827,6 +853,7 @@ int countNamespaces() void writeNamespaceIndex(OutputList &ol) { + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); if (documentedNamespaces==0) return; ol.pushGeneratorState(); ol.disable(OutputGenerator::Man); @@ -836,14 +863,23 @@ void writeNamespaceIndex(OutputList &ol) startFile(ol,"namespaces",0,theTranslator->trPackageList().data(),HLI_Namespaces); title = theTranslator->trPackageList(); } + else if (fortranOpt) + { + startFile(ol,"namespaces",0,theTranslator->trModulesIndex().data(),HLI_Namespaces); + title = theTranslator->trModulesList(); + } else { startFile(ol,"namespaces",0,theTranslator->trNamespaceIndex().data(),HLI_Namespaces); title = theTranslator->trNamespaceList(); } startTitle(ol,0); - if (!Config_getString("PROJECT_NAME").isEmpty()) title.prepend(Config_getString("PROJECT_NAME")+" "); - ol.parseText(title); + QCString longTitle = title; + //if (!Config_getString("PROJECT_NAME").isEmpty()) + //{ + // longTitle.prepend(Config_getString("PROJECT_NAME")+" "); + //} + ol.parseText(longTitle); endTitle(ol,0,0); ol.startTextBlock(); Doxygen::indexList.addContentsItem(TRUE,title,0,"namespaces",0); @@ -853,6 +889,10 @@ void writeNamespaceIndex(OutputList &ol) { ol.parseText(theTranslator->trPackageListDescription()); } + else if (fortranOpt) + { + ol.parseText(theTranslator->trModulesListDescription(Config_getBool("EXTRACT_ALL"))); + } else { ol.parseText(theTranslator->trNamespaceListDescription(Config_getBool("EXTRACT_ALL"))); @@ -947,7 +987,8 @@ void writeAnnotatedClassList(OutputList &ol) { if (cd->isLinkableInProject() && cd->templateMaster()==0) { - int c = cd->displayName().at(getPrefixIndex(cd->displayName())); + QCString dispName = cd->displayName(); + int c = dispName.at(getPrefixIndex(dispName)); g_classIndexLetterUsed[CHL_All][c]=TRUE; switch(cd->compoundType()) { @@ -1242,12 +1283,18 @@ void writeAlphabeticalClassList(OutputList &ol) void writeAlphabeticalIndex(OutputList &ol) { + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); + bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); if (annotatedClasses==0) return; ol.pushGeneratorState(); ol.disableAllBut(OutputGenerator::Html); startFile(ol,"classes"+Doxygen::htmlFileExtension,0,theTranslator->trAlphabeticalList().data(),HLI_Classes); startTitle(ol,0); - ol.parseText(Config_getString("PROJECT_NAME")+" "+theTranslator->trCompoundIndex()); + ol.parseText(/*Config_getString("PROJECT_NAME")+" "+*/ + (fortranOpt ? theTranslator->trCompoundIndexFortran() : + vhdlOpt ? VhdlDocGen::trDesignUnitIndex() : + theTranslator->trCompoundIndex() + )); endTitle(ol,0,0); writeAlphabeticalClassList(ol); endFile(ol); @@ -1258,20 +1305,31 @@ void writeAlphabeticalIndex(OutputList &ol) void writeAnnotatedIndex(OutputList &ol) { + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); + bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); if (annotatedClasses==0) return; ol.pushGeneratorState(); ol.disable(OutputGenerator::Man); - QCString title = theTranslator->trCompoundList(); + QCString title = fortranOpt ? theTranslator->trCompoundListFortran() : + vhdlOpt ? VhdlDocGen::trDesignUnitList() : + theTranslator->trCompoundList() ; startFile(ol,"annotated",0,title.data(),HLI_Annotated); startTitle(ol,0); - if (!Config_getString("PROJECT_NAME").isEmpty()) title.prepend(Config_getString("PROJECT_NAME")+" "); - ol.parseText(title); + QCString longTitle = title; + //if (!Config_getString("PROJECT_NAME").isEmpty()) + //{ + // longTitle.prepend(Config_getString("PROJECT_NAME")+" "); + //} + ol.parseText(longTitle); endTitle(ol,0,0); ol.startTextBlock(); Doxygen::indexList.addContentsItem(TRUE,title,0,"annotated",0); Doxygen::indexList.incContentsDepth(); - ol.parseText(theTranslator->trCompoundListDescription()); + QCString desc = fortranOpt ? theTranslator->trCompoundListDescriptionFortran() : + vhdlOpt ? VhdlDocGen::trDesignUnitListDescription() : + theTranslator->trCompoundListDescription() ; + ol.parseText(desc); ol.endTextBlock(); writeAnnotatedClassList(ol); Doxygen::indexList.decContentsDepth(); @@ -1427,13 +1485,18 @@ void initClassMemberIndices() void addClassMemberNameToIndex(MemberDef *md) { static bool hideFriendCompounds = Config_getBool("HIDE_FRIEND_COMPOUNDS"); + static bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); ClassDef *cd=0; if (md->isLinkableInProject() && - (cd=md->getClassDef()) && + (cd=md->getClassDef()) && cd->isLinkableInProject() && cd->templateMaster()==0) { + if (vhdlOpt && (VhdlDocGen::isRecord(md) || VhdlDocGen::isUnit(md))) + { + VhdlDocGen::adjustRecordMember(md); + } QCString n = md->name(); int index = getPrefixIndex(n); int letter = tolower(n.at(index)) & 0x7f; @@ -1650,6 +1713,9 @@ void writeQuickMemberIndex(OutputList &ol, static void writeClassMemberIndexFiltered(OutputList &ol, ClassMemberHighlight hl) { if (documentedClassMembers[hl]==0) return; + + static bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); + static bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); bool multiPageIndex=FALSE; int numPages=1; @@ -1667,7 +1733,10 @@ static void writeClassMemberIndexFiltered(OutputList &ol, ClassMemberHighlight h } cmhlInfo[] = { CmhlInfo("functions", theTranslator->trAll()), - CmhlInfo("functions_func",theTranslator->trFunctions()), + CmhlInfo("functions_func", + fortranOpt ? theTranslator->trSubprograms() : + vhdlOpt ? VhdlDocGen::trFunctionAndProc() : + theTranslator->trFunctions()), CmhlInfo("functions_vars",theTranslator->trVariables()), CmhlInfo("functions_type",theTranslator->trTypedefs()), CmhlInfo("functions_enum",theTranslator->trEnumerations()), @@ -1681,7 +1750,9 @@ static void writeClassMemberIndexFiltered(OutputList &ol, ClassMemberHighlight h ol.disableAllBut(OutputGenerator::Html); QCString extension=Doxygen::htmlFileExtension; - QCString title = theTranslator->trCompoundMembers(); + QCString title = fortranOpt ? theTranslator->trCompoundMembersFortran() : + vhdlOpt ? VhdlDocGen::trDesignUnitMembers() : + theTranslator->trCompoundMembers() ; if (hl!=CMHL_All) title+=(QCString)" - "+cmhlInfo[hl].title; int page; @@ -1696,7 +1767,7 @@ static void writeClassMemberIndexFiltered(OutputList &ol, ClassMemberHighlight h fileName+=QCString().sprintf("_0x%02x",page); } - startFile(ol,fileName+extension,0,title,HLI_Functions); + startFile(ol,fileName+extension,0,title,HLI_Functions,TRUE); startQuickIndexList(ol); @@ -1729,9 +1800,15 @@ static void writeClassMemberIndexFiltered(OutputList &ol, ClassMemberHighlight h writeQuickMemberIndex(ol,g_memberIndexLetterUsed[hl],page, cmhlInfo[hl].fname,multiPageIndex); } + + ol.endQuickIndices(); + ol.startContents(); + if (hl==CMHL_All) { - ol.parseText(theTranslator->trCompoundMembersDescription(Config_getBool("EXTRACT_ALL"))); + static bool extractAll = Config_getBool("EXTRACT_ALL"); + ol.parseText(fortranOpt ? theTranslator->trCompoundMembersDescriptionFortran(extractAll) : + theTranslator->trCompoundMembersDescription(extractAll)); } else { @@ -1754,6 +1831,7 @@ static void writeClassMemberIndexFiltered(OutputList &ol, ClassMemberHighlight h void writeClassMemberIndex(OutputList &ol) { + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); writeClassMemberIndexFiltered(ol,CMHL_All); writeClassMemberIndexFiltered(ol,CMHL_Functions); writeClassMemberIndexFiltered(ol,CMHL_Variables); @@ -1766,7 +1844,7 @@ void writeClassMemberIndex(OutputList &ol) if (documentedClassMembers[CMHL_All]>0) { - QCString title = theTranslator->trCompoundMembers(); + QCString title = fortranOpt?theTranslator->trCompoundMembersFortran():theTranslator->trCompoundMembers(); Doxygen::indexList.addContentsItem(FALSE,title,0,"functions",0); } } @@ -1777,6 +1855,8 @@ static void writeFileMemberIndexFiltered(OutputList &ol, FileMemberHighlight hl) { if (documentedFileMembers[hl]==0) return; + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); + bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); bool multiPageIndex=FALSE; int numPages=1; if (documentedFileMembers[hl]>MAX_ITEMS_BEFORE_MULTIPAGE_INDEX) @@ -1793,7 +1873,10 @@ static void writeFileMemberIndexFiltered(OutputList &ol, FileMemberHighlight hl) } fmhlInfo[] = { FmhlInfo("globals", theTranslator->trAll()), - FmhlInfo("globals_func",theTranslator->trFunctions()), + FmhlInfo("globals_func", + fortranOpt ? theTranslator->trSubprograms() : + vhdlOpt ? VhdlDocGen::trFunctionAndProc() : + theTranslator->trFunctions()), FmhlInfo("globals_vars",theTranslator->trVariables()), FmhlInfo("globals_type",theTranslator->trTypedefs()), FmhlInfo("globals_enum",theTranslator->trEnumerations()), @@ -1805,7 +1888,7 @@ static void writeFileMemberIndexFiltered(OutputList &ol, FileMemberHighlight hl) ol.disableAllBut(OutputGenerator::Html); QCString extension=Doxygen::htmlFileExtension; - QCString title = theTranslator->trCompoundMembers(); + QCString title = fortranOpt?theTranslator->trCompoundMembersFortran():theTranslator->trCompoundMembers(); int page; bool first=TRUE; @@ -1819,7 +1902,7 @@ static void writeFileMemberIndexFiltered(OutputList &ol, FileMemberHighlight hl) fileName+=QCString().sprintf("_0x%02x",page); } - startFile(ol,fileName+extension,0,title.data(),HLI_Globals); + startFile(ol,fileName+extension,0,title.data(),HLI_Globals,TRUE); startQuickIndexList(ol); @@ -1851,6 +1934,9 @@ static void writeFileMemberIndexFiltered(OutputList &ol, FileMemberHighlight hl) fmhlInfo[hl].fname,multiPageIndex); } + ol.endQuickIndices(); + ol.startContents(); + if (hl==FMHL_All) { ol.parseText(theTranslator->trFileMembersDescription(Config_getBool("EXTRACT_ALL"))); @@ -1899,6 +1985,9 @@ static void writeNamespaceMemberIndexFiltered(OutputList &ol, { if (documentedNamespaceMembers[hl]==0) return; + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); + bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); + bool multiPageIndex=FALSE; int numPages=1; if (documentedNamespaceMembers[hl]>MAX_ITEMS_BEFORE_MULTIPAGE_INDEX) @@ -1915,7 +2004,10 @@ static void writeNamespaceMemberIndexFiltered(OutputList &ol, } nmhlInfo[] = { NmhlInfo("namespacemembers", theTranslator->trAll()), - NmhlInfo("namespacemembers_func",theTranslator->trFunctions()), + NmhlInfo("namespacemembers_func", + fortranOpt ? theTranslator->trSubprograms() : + vhdlOpt ? VhdlDocGen::trFunctionAndProc() : + theTranslator->trFunctions()), NmhlInfo("namespacemembers_vars",theTranslator->trVariables()), NmhlInfo("namespacemembers_type",theTranslator->trTypedefs()), NmhlInfo("namespacemembers_enum",theTranslator->trEnumerations()), @@ -1926,7 +2018,7 @@ static void writeNamespaceMemberIndexFiltered(OutputList &ol, ol.disableAllBut(OutputGenerator::Html); QCString extension=Doxygen::htmlFileExtension; - QCString title = theTranslator->trCompoundMembers(); + QCString title = fortranOpt?theTranslator->trCompoundMembersFortran():theTranslator->trCompoundMembers(); int page; bool first=TRUE; @@ -1940,7 +2032,7 @@ static void writeNamespaceMemberIndexFiltered(OutputList &ol, fileName+=QCString().sprintf("_0x%02x",page); } - startFile(ol,fileName+extension,0,title,HLI_NamespaceMembers); + startFile(ol,fileName+extension,0,title,HLI_NamespaceMembers,TRUE); startQuickIndexList(ol); @@ -1969,9 +2061,13 @@ static void writeNamespaceMemberIndexFiltered(OutputList &ol, writeQuickMemberIndex(ol,g_namespaceIndexLetterUsed[hl],page, nmhlInfo[hl].fname,multiPageIndex); } + + ol.endQuickIndices(); + ol.startContents(); + if (hl==NMHL_All) { - ol.parseText(theTranslator->trNamespaceMemberDescription(Config_getBool("EXTRACT_ALL"))); + ol.parseText(fortranOpt?theTranslator->trModulesMemberDescription(Config_getBool("EXTRACT_ALL")):theTranslator->trNamespaceMemberDescription(Config_getBool("EXTRACT_ALL"))); } else { @@ -1994,6 +2090,7 @@ static void writeNamespaceMemberIndexFiltered(OutputList &ol, void writeNamespaceMemberIndex(OutputList &ol) { + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); writeNamespaceMemberIndexFiltered(ol,NMHL_All); writeNamespaceMemberIndexFiltered(ol,NMHL_Functions); writeNamespaceMemberIndexFiltered(ol,NMHL_Variables); @@ -2003,7 +2100,7 @@ void writeNamespaceMemberIndex(OutputList &ol) if (documentedNamespaceMembers[NMHL_All]>0) { - QCString title = theTranslator->trNamespaceMembers(); + QCString title = fortranOpt?theTranslator->trModulesMembers():theTranslator->trNamespaceMembers(); Doxygen::indexList.addContentsItem(FALSE,title,0,"namespacemembers",0); } } @@ -2018,11 +2115,14 @@ void writeExampleIndex(OutputList &ol) QCString title = theTranslator->trExamples(); startFile(ol,"examples",0,title.data(),HLI_Examples); startTitle(ol,0); - if (!Config_getString("PROJECT_NAME").isEmpty()) title.prepend(Config_getString("PROJECT_NAME")+" "); + //if (!Config_getString("PROJECT_NAME").isEmpty()) + //{ + // title.prepend(Config_getString("PROJECT_NAME")+" "); + //} ol.parseText(title); endTitle(ol,0,0); ol.startTextBlock(); - Doxygen::indexList.addContentsItem(TRUE,title,0,"examples",0); + Doxygen::indexList.addContentsItem(TRUE,theTranslator->trExamples(),0,"examples",0); Doxygen::indexList.incContentsDepth(); ol.parseText(theTranslator->trExamplesDescription()); //ol.newParagraph(); @@ -2107,16 +2207,19 @@ void writePageIndex(OutputList &ol) { if (indexedPages==0) return; ol.pushGeneratorState(); - ol.disable(OutputGenerator::Man); + ol.disableAllBut(OutputGenerator::Html); startFile(ol,"pages",0,theTranslator->trPageIndex().data(),HLI_Pages); startTitle(ol,0); QCString title = theTranslator->trRelatedPages(); - if (!Config_getString("PROJECT_NAME").isEmpty()) title.prepend(Config_getString("PROJECT_NAME")+" "); + //if (!Config_getString("PROJECT_NAME").isEmpty()) + //{ + // title.prepend(Config_getString("PROJECT_NAME")+" "); + //} ol.parseText(title); endTitle(ol,0,0); ol.startTextBlock(); - Doxygen::indexList.addContentsItem(TRUE,title,0,"pages",0); - Doxygen::indexList.incContentsDepth(); + //Doxygen::indexList.addContentsItem(TRUE,theTranslator->trRelatedPages(),0,"pages",0); + //Doxygen::indexList.incContentsDepth(); ol.parseText(theTranslator->trRelatedPagesDescription()); ol.endTextBlock(); startIndexHierarchy(ol,0); @@ -2248,6 +2351,8 @@ void writeGroupIndexItem(GroupDef *gd,MemberList *ml,const QCString &title) */ void writeGroupTreeNode(OutputList &ol, GroupDef *gd,int level) { + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); + bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); if (level>20) { warn(gd->getDefFileName(),gd->getDefLine(), @@ -2347,7 +2452,10 @@ void writeGroupTreeNode(OutputList &ol, GroupDef *gd,int level) writeGroupIndexItem(gd,gd->getMemberList(MemberList::docEnumMembers), theTranslator->trEnumerations()); writeGroupIndexItem(gd,gd->getMemberList(MemberList::docFuncMembers), - theTranslator->trFunctions()); + fortranOpt ? theTranslator->trSubprograms() : + vhdlOpt ? VhdlDocGen::trFunctionAndProc() : + theTranslator->trFunctions() + ); writeGroupIndexItem(gd,gd->getMemberList(MemberList::docVarMembers), theTranslator->trVariables()); writeGroupIndexItem(gd,gd->getMemberList(MemberList::docProtoMembers), @@ -2357,7 +2465,7 @@ void writeGroupTreeNode(OutputList &ol, GroupDef *gd,int level) NamespaceSDict *namespaceSDict=gd->namespaceSDict; if (namespaceSDict->count()>0) { - Doxygen::indexList.addContentsItem(TRUE, convertToHtml(theTranslator->trNamespaces(),TRUE),gd->getReference(), gd->getOutputFileBase(), 0); + Doxygen::indexList.addContentsItem(TRUE,convertToHtml(fortranOpt?theTranslator->trModules():theTranslator->trNamespaces(),TRUE),gd->getReference(), gd->getOutputFileBase(), 0); Doxygen::indexList.incContentsDepth(); NamespaceSDict::Iterator ni(*namespaceSDict); @@ -2372,7 +2480,7 @@ void writeGroupTreeNode(OutputList &ol, GroupDef *gd,int level) // write classes if (gd->classSDict->count()>0) { - Doxygen::indexList.addContentsItem(TRUE, convertToHtml(theTranslator->trClasses(),TRUE), gd->getReference(), gd->getOutputFileBase(), 0); + Doxygen::indexList.addContentsItem(TRUE,convertToHtml(fortranOpt?theTranslator->trDataTypes():theTranslator->trClasses(),TRUE), gd->getReference(), gd->getOutputFileBase(), 0); Doxygen::indexList.incContentsDepth(); ClassDef *cd; @@ -2529,11 +2637,14 @@ void writeGroupIndex(OutputList &ol) startFile(ol,"modules",0,theTranslator->trModuleIndex().data(),HLI_Modules); startTitle(ol,0); QCString title = theTranslator->trModules(); - if (!Config_getString("PROJECT_NAME").isEmpty()) title.prepend(Config_getString("PROJECT_NAME")+" "); + //if (!Config_getString("PROJECT_NAME").isEmpty()) + //{ + // title.prepend(Config_getString("PROJECT_NAME")+" "); + //} ol.parseText(title); endTitle(ol,0,0); ol.startTextBlock(); - Doxygen::indexList.addContentsItem(TRUE,title,0,"modules",0); + Doxygen::indexList.addContentsItem(TRUE,theTranslator->trModules(),0,"modules",0); Doxygen::indexList.incContentsDepth(); ol.parseText(theTranslator->trModulesDescription()); @@ -2554,14 +2665,14 @@ void writeDirIndex(OutputList &ol) startFile(ol,"dirs",0,theTranslator->trDirIndex().data(),HLI_Directories); startTitle(ol,0); QCString title = theTranslator->trDirectories(); - if (!Config_getString("PROJECT_NAME").isEmpty()) - { - title.prepend(Config_getString("PROJECT_NAME")+" "); - } + //if (!Config_getString("PROJECT_NAME").isEmpty()) + //{ + // title.prepend(Config_getString("PROJECT_NAME")+" "); + //} ol.parseText(title); endTitle(ol,0,0); ol.startTextBlock(); - Doxygen::indexList.addContentsItem(TRUE,title,0,"dirs",0); + Doxygen::indexList.addContentsItem(TRUE,theTranslator->trDirIndex(),0,"dirs",0); Doxygen::indexList.incContentsDepth(); ol.parseText(theTranslator->trDirDescription()); ol.endTextBlock(); @@ -2587,6 +2698,8 @@ static bool mainPageHasTitle() void writeIndex(OutputList &ol) { + static bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); + static bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); // save old generator state ol.pushGeneratorState(); @@ -2630,7 +2743,13 @@ void writeIndex(OutputList &ol) } } - if (!Config_getBool("DISABLE_INDEX")) ol.writeQuickLinks(TRUE,HLI_Main); + if (!Config_getBool("DISABLE_INDEX")) + { + ol.startQuickIndices(); + ol.writeQuickLinks(TRUE,HLI_Main); + ol.endQuickIndices(); + } + ol.startContents(); ol.startTitleHead(0); if (Doxygen::mainPage && !Doxygen::mainPage->title().isEmpty()) { @@ -2701,7 +2820,15 @@ void writeIndex(OutputList &ol) ol.disable(OutputGenerator::Latex); } - ol.parseText(projPrefix+theTranslator->trReferenceManual()); + if (projPrefix.isEmpty()) + { + ol.parseText(theTranslator->trReferenceManual()); + } + else + { + ol.parseText(projPrefix); + } + if (!Config_getString("PROJECT_NUMBER").isEmpty()) { ol.startProjectNumber(); @@ -2714,6 +2841,7 @@ void writeIndex(OutputList &ol) ol.endIndexSection(isTitlePageAuthor); ol.enable(OutputGenerator::Latex); + ol.lastIndexPage(); if (Doxygen::mainPage) { ol.startIndexSection(isMainPage); @@ -2723,99 +2851,121 @@ void writeIndex(OutputList &ol) } else { - ol.parseText(projPrefix+theTranslator->trMainPage()); + ol.parseText(/*projPrefix+*/theTranslator->trMainPage()); } ol.endIndexSection(isMainPage); } + if (documentedPages>0) + { + //ol.parseText(projPrefix+theTranslator->trPageDocumentation()); + //ol.endIndexSection(isPageDocumentation); + PageSDict::Iterator pdi(*Doxygen::pageSDict); + PageDef *pd=pdi.toFirst(); + bool first=Doxygen::mainPage==0; + for (pdi.toFirst();(pd=pdi.current());++pdi) + { + if (!pd->getGroupDef() && !pd->isReference()) + { + QCString title = pd->title(); + if (title.isEmpty()) title=pd->name(); + ol.startIndexSection(isPageDocumentation); + ol.parseText(title); + ol.endIndexSection(isPageDocumentation); + + ol.writePageLink(pd->getOutputFileBase(),first); + first=FALSE; + } + } + } if (!Config_getBool("LATEX_HIDE_INDICES")) { + //if (indexedPages>0) + //{ + // ol.startIndexSection(isPageIndex); + // ol.parseText(/*projPrefix+*/ theTranslator->trPageIndex()); + // ol.endIndexSection(isPageIndex); + //} if (documentedGroups>0) { ol.startIndexSection(isModuleIndex); - ol.parseText(projPrefix+theTranslator->trModuleIndex()); + ol.parseText(/*projPrefix+*/ theTranslator->trModuleIndex()); ol.endIndexSection(isModuleIndex); } if (Config_getBool("SHOW_DIRECTORIES") && documentedDirs>0) { ol.startIndexSection(isDirIndex); - ol.parseText(projPrefix+theTranslator->trDirIndex()); + ol.parseText(/*projPrefix+*/ theTranslator->trDirIndex()); ol.endIndexSection(isDirIndex); } if (documentedNamespaces>0) { ol.startIndexSection(isNamespaceIndex); - ol.parseText(projPrefix+theTranslator->trNamespaceIndex()); + ol.parseText(/*projPrefix+*/(fortranOpt?theTranslator->trModulesIndex():theTranslator->trNamespaceIndex())); ol.endIndexSection(isNamespaceIndex); } if (hierarchyClasses>0) { ol.startIndexSection(isClassHierarchyIndex); - ol.parseText(projPrefix+theTranslator->trHierarchicalIndex()); + ol.parseText(/*projPrefix+*/ + (fortranOpt ? theTranslator->trCompoundIndexFortran() : + vhdlOpt ? VhdlDocGen::trDesignUnitIndex() : + theTranslator->trCompoundIndex() + )); ol.endIndexSection(isClassHierarchyIndex); } if (annotatedClasses>0) { ol.startIndexSection(isCompoundIndex); - ol.parseText(projPrefix+theTranslator->trCompoundIndex()); + ol.parseText(/*projPrefix+*/ + (vhdlOpt ? VhdlDocGen::trDesignUnitIndex() : + theTranslator->trCompoundIndex() + )); ol.endIndexSection(isCompoundIndex); } if (documentedFiles>0) { ol.startIndexSection(isFileIndex); - ol.parseText(projPrefix+theTranslator->trFileIndex()); + ol.parseText(/*projPrefix+*/theTranslator->trFileIndex()); ol.endIndexSection(isFileIndex); } - if (indexedPages>0) - { - ol.startIndexSection(isPageIndex); - ol.parseText(projPrefix+theTranslator->trPageIndex()); - ol.endIndexSection(isPageIndex); - } } - ol.lastIndexPage(); if (documentedGroups>0) { ol.startIndexSection(isModuleDocumentation); - ol.parseText(projPrefix+theTranslator->trModuleDocumentation()); + ol.parseText(/*projPrefix+*/theTranslator->trModuleDocumentation()); ol.endIndexSection(isModuleDocumentation); } if (Config_getBool("SHOW_DIRECTORIES") && documentedDirs>0) { ol.startIndexSection(isDirDocumentation); - ol.parseText(projPrefix+theTranslator->trDirDocumentation()); + ol.parseText(/*projPrefix+*/theTranslator->trDirDocumentation()); ol.endIndexSection(isDirDocumentation); } if (documentedNamespaces>0) { ol.startIndexSection(isNamespaceDocumentation); - ol.parseText(projPrefix+theTranslator->trNamespaceDocumentation()); + ol.parseText(/*projPrefix+*/(fortranOpt?theTranslator->trModuleDocumentation():theTranslator->trNamespaceDocumentation())); ol.endIndexSection(isNamespaceDocumentation); } if (annotatedClasses>0) { ol.startIndexSection(isClassDocumentation); - ol.parseText(projPrefix+theTranslator->trClassDocumentation()); + ol.parseText(/*projPrefix+*/(fortranOpt?theTranslator->trTypeDocumentation():theTranslator->trClassDocumentation())); ol.endIndexSection(isClassDocumentation); } if (documentedFiles>0) { ol.startIndexSection(isFileDocumentation); - ol.parseText(projPrefix+theTranslator->trFileDocumentation()); + ol.parseText(/*projPrefix+*/theTranslator->trFileDocumentation()); ol.endIndexSection(isFileDocumentation); } if (Doxygen::exampleSDict->count()>0) { ol.startIndexSection(isExampleDocumentation); - ol.parseText(projPrefix+theTranslator->trExampleDocumentation()); + ol.parseText(/*projPrefix+*/theTranslator->trExampleDocumentation()); ol.endIndexSection(isExampleDocumentation); } - if (documentedPages>0) - { - ol.startIndexSection(isPageDocumentation); - ol.parseText(projPrefix+theTranslator->trPageDocumentation()); - ol.endIndexSection(isPageDocumentation); - } ol.endIndexSection(isEndIndex); endFile(ol); @@ -2827,7 +2977,7 @@ void writeIndex(OutputList &ol) ol.startTextBlock(); ol.parseDoc(defFileName,defLine,Doxygen::mainPage,0, Doxygen::mainPage->documentation(),FALSE,FALSE - /*,Doxygen::mainPage->sectionDict*/); + ); ol.endTextBlock(); endFile(ol); ol.enable(OutputGenerator::Man); diff --git a/src/index.h b/src/index.h index 88dc2e6..fe31d0f 100644 --- a/src/index.h +++ b/src/index.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -37,29 +37,38 @@ class IndexIntf virtual void addContentsItem(bool isDir, const char *name, const char *ref = 0, const char *file = 0, const char *anchor = 0) = 0; virtual void addIndexItem(const char *level1, const char *level2, const char *contRef, - const char *memRef, const char *anchor) = 0; + const char *memRef, const char *anchor,const MemberDef *md) = 0; virtual void addIndexFile(const char *name) = 0; }; class IndexList : public IndexIntf { + private: + QList m_intfs; + void foreach(void (IndexIntf::*methodPtr)()) { QListIterator li(m_intfs); for (li.toFirst();li.current();++li) (li.current()->*methodPtr)(); - }; + } template void foreach(void (IndexIntf::*methodPtr)(A1),A1 a1) { QListIterator li(m_intfs); for (li.toFirst();li.current();++li) (li.current()->*methodPtr)(a1); - }; + } template void foreach(void (IndexIntf::*methodPtr)(A1,A2,A3,A4,A5),A1 a1,A2 a2,A3 a3,A4 a4,A5 a5) { QListIterator li(m_intfs); for (li.toFirst();li.current();++li) (li.current()->*methodPtr)(a1,a2,a3,a4,a5); - }; + } + template + void foreach(void (IndexIntf::*methodPtr)(A1,A2,A3,A4,A5,A6),A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6) + { + QListIterator li(m_intfs); + for (li.toFirst();li.current();++li) (li.current()->*methodPtr)(a1,a2,a3,a4,a5,a6); + } public: IndexList() { m_intfs.setAutoDelete(TRUE); } @@ -78,14 +87,12 @@ class IndexList : public IndexIntf { foreach (&IndexIntf::addContentsItem,isDir,name,ref,file,anchor); } void addIndexItem(const char *level1, const char *level2, const char *contRef, - const char *memRef, const char *anchor) - { foreach - (&IndexIntf::addIndexItem,level1,level2,contRef,memRef,anchor); } + const char *memRef, const char *anchor,const MemberDef *md) + { foreach + (&IndexIntf::addIndexItem,level1,level2,contRef,memRef,anchor,md); } void addIndexFile(const char *name) { foreach(&IndexIntf::addIndexFile,name); } - private: - QList m_intfs; }; @@ -225,7 +232,8 @@ extern int documentedDirs; void startTitle(OutputList &ol,const char *fileName); void endTitle(OutputList &ol,const char *fileName,const char *name); void startFile(OutputList &ol,const char *name,const char *manName, - const char *title,HighlightedItem hli=HLI_None); + const char *title,HighlightedItem hli=HLI_None, + bool additionalIndices=FALSE); void endFile(OutputList &ol,bool external=FALSE); void initClassMemberIndices(); diff --git a/src/instdox.cpp b/src/instdox.cpp index 7aae5f6..03b3130 100644 --- a/src/instdox.cpp +++ b/src/instdox.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/instdox.h b/src/instdox.h index 7d20788..4b27b20 100644 --- a/src/instdox.h +++ b/src/instdox.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/language.cpp b/src/language.cpp index a1d043f..39c9e66 100644 --- a/src/language.cpp +++ b/src/language.cpp @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -128,6 +128,9 @@ #ifdef LANG_FA #include "translator_fa.h" #endif +#ifdef LANG_MK +#include "translator_mk.h" +#endif #endif // !ENGLISH_ONLY #define L_EQUAL(a) !stricmp(langName,a) @@ -184,7 +187,7 @@ bool setTranslator(const char *langName) #ifdef LANG_IT else if (L_EQUAL("italian")) { - theTranslator=new TranslatorDecoder(new TranslatorItalian); + theTranslator=new TranslatorItalian; } #endif #ifdef LANG_DE @@ -357,6 +360,12 @@ bool setTranslator(const char *langName) theTranslator=new TranslatorDecoder(new TranslatorPersian); } #endif +#ifdef LANG_MK + else if (L_EQUAL("macedonian")) + { + theTranslator=new TranslatorMacedonian; + } +#endif #endif // ENGLISH_ONLY else // use the default language (i.e. english) { diff --git a/src/language.h b/src/language.h index bd97124..cc00dff 100644 --- a/src/language.h +++ b/src/language.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/latexdocvisitor.cpp b/src/latexdocvisitor.cpp index c5293de..3d7b8c7 100644 --- a/src/latexdocvisitor.cpp +++ b/src/latexdocvisitor.cpp @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -588,7 +588,7 @@ void LatexDocVisitor::visitPre(DocSection *s) m_t << "\\hypertarget{" << s->file() << "_" << s->anchor() << "}{}"; } m_t << "\\" << getSectionName(s->level()) << "{"; - filter(s->title()); + filter(convertCharEntitiesToUTF8(s->title().data())); m_t << "}\\label{" << s->file() << "_" << s->anchor() << "}" << endl; } diff --git a/src/latexdocvisitor.h b/src/latexdocvisitor.h index 5a904ba..413ea68 100644 --- a/src/latexdocvisitor.h +++ b/src/latexdocvisitor.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 6561404..05d5b72 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -380,9 +380,7 @@ void LatexGenerator::writeHeaderFile(QFile &f) void LatexGenerator::writeStyleSheetFile(QFile &f) { QTextStream t(&f); -#if QT_VERSION >= 200 - t.setEncoding(QTextStream::Latin1); -#endif + t.setEncoding(QTextStream::UnicodeUTF8); writeDefaultStyleSheetPart1(t); QCString &projectName = Config_getString("PROJECT_NAME"); @@ -390,12 +388,12 @@ void LatexGenerator::writeStyleSheetFile(QFile &f) t << theTranslator->trGeneratedAt( dateToString(TRUE), projectName ); t << " doxygen"; //t << " " << theTranslator->trWrittenBy() << " "; - //t << "Dimitri van Heesch \\copyright~1997-2007"; + //t << "Dimitri van Heesch \\copyright~1997-2008"; writeDefaultStyleSheetPart2(t); t << theTranslator->trGeneratedAt( dateToString(TRUE), projectName ); t << " doxygen"; //t << " << theTranslator->trWrittenBy() << " "; - //t << "Dimitri van Heesch \\copyright~1997-2007"; + //t << "Dimitri van Heesch \\copyright~1997-2008"; writeDefaultStyleSheetPart3(t); } @@ -776,6 +774,7 @@ void LatexGenerator::endIndexSection(IndexSections is) case isPageDocumentation: { t << "}\n"; +#if 0 PageSDict::Iterator pdi(*Doxygen::pageSDict); PageDef *pd=pdi.toFirst(); bool first=TRUE; @@ -783,11 +782,16 @@ void LatexGenerator::endIndexSection(IndexSections is) { if (!pd->getGroupDef() && !pd->isReference()) { + if (compactLatex) t << "\\section"; else t << "\\chapter"; + t << "{" << pd->title(); + t << "}\n"; + if (compactLatex || first) t << "\\input" ; else t << "\\include"; t << "{" << pd->getOutputFileBase() << "}\n"; first=FALSE; } } +#endif } break; case isEndIndex: @@ -796,6 +800,15 @@ void LatexGenerator::endIndexSection(IndexSections is) break; } } + +void LatexGenerator::writePageLink(const char *name, bool first) +{ + bool &compactLatex = Config_getBool("COMPACT_LATEX"); + if (compactLatex || first) t << "\\input" ; else t << "\\include"; + t << "{" << name << "}\n"; +} + + void LatexGenerator::writeStyleInfo(int part) { switch(part) @@ -813,14 +826,14 @@ void LatexGenerator::writeStyleInfo(int part) break; case 2: { - //t << " Dimitri van Heesch \\copyright~1997-2007"; + //t << " Dimitri van Heesch \\copyright~1997-2008"; t << "}]{}\n"; writeDefaultStyleSheetPart2(t); } break; case 4: { - //t << " Dimitri van Heesch \\copyright~1997-2007"; + //t << " Dimitri van Heesch \\copyright~1997-2008"; writeDefaultStyleSheetPart3(t); endPlainFile(); } @@ -1568,6 +1581,13 @@ void LatexGenerator::endParamList() t << "\\end{Desc}" << endl; } +void LatexGenerator::startParameterType(bool first,const char *key) +{ + if (!first) + { + t << "\\/ " << key << " "; + } +} void LatexGenerator::printDoc(DocNode *n,const char *langExt) { diff --git a/src/latexgen.h b/src/latexgen.h index 4ab92e2..b5fad84 100644 --- a/src/latexgen.h +++ b/src/latexgen.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -52,6 +52,7 @@ class LatexGenerator : public OutputGenerator void startIndexSection(IndexSections); void endIndexSection(IndexSections); + void writePageLink(const char *,bool); void startProjectNumber(); void endProjectNumber() {} void writeStyleInfo(int part); @@ -171,7 +172,11 @@ class LatexGenerator : public OutputGenerator void endClassDiagram(const ClassDiagram &,const char *,const char *); void startPageRef(); void endPageRef(const char *,const char *); + void startQuickIndices() {} + void endQuickIndices() {} void writeQuickLinks(bool,HighlightedItem) {} + void startContents() {} + void endContents() {} void writeNonBreakableSpace(int); void startDescTable() @@ -205,7 +210,7 @@ class LatexGenerator : public OutputGenerator void endMemberDocPrefixItem() {} void startMemberDocName(bool) {} void endMemberDocName() {} - void startParameterType(bool,const char *) {} + void startParameterType(bool,const char *); void endParameterType() {} void startParameterName(bool) {} void endParameterName(bool,bool,bool) {} diff --git a/src/libdoxycfg.pro.in b/src/libdoxycfg.pro.in index 822de52..9ec1616 100644 --- a/src/libdoxycfg.pro.in +++ b/src/libdoxycfg.pro.in @@ -1,7 +1,7 @@ # -# $Id$ +# # -# Copyright (C) 1997-2007 by Dimitri van Heesch. +# Copyright (C) 1997-2008 by Dimitri van Heesch. # # Permission to use, copy, modify, and distribute this software and its # documentation under the terms of the GNU General Public License is hereby diff --git a/src/libdoxycfg.t b/src/libdoxycfg.t index e6817d5..c3f2f3c 100644 --- a/src/libdoxycfg.t +++ b/src/libdoxycfg.t @@ -1,7 +1,7 @@ # -# $Id$ +# # -# Copyright (C) 1997-2007 by Dimitri van Heesch. +# Copyright (C) 1997-2008 by Dimitri van Heesch. # # Permission to use, copy, modify, and distribute this software and its # documentation under the terms of the GNU General Public License is hereby diff --git a/src/libdoxygen.pro.in b/src/libdoxygen.pro.in index 5b926f0..61218d8 100644 --- a/src/libdoxygen.pro.in +++ b/src/libdoxygen.pro.in @@ -1,7 +1,7 @@ # -# $Id$ +# # -# Copyright (C) 1997-2007 by Dimitri van Heesch. +# Copyright (C) 1997-2008 by Dimitri van Heesch. # # Permission to use, copy, modify, and distribute this software and its # documentation under the terms of the GNU General Public License is hereby @@ -36,6 +36,7 @@ HEADERS = bufstr.h \ diagram.h \ dirdef.h \ docparser.h \ + docsets.h \ doctokenizer.h \ docvisitor.h \ dot.h \ @@ -120,6 +121,7 @@ HEADERS = bufstr.h \ translator_kr.h \ translator_nl.h \ translator_no.h \ + translator_mk.h \ translator_pl.h \ translator_pt.h \ translator_ro.h \ @@ -134,6 +136,9 @@ HEADERS = bufstr.h \ unistd.h \ util.h \ version.h \ + vhdlcode.h \ + vhdldocgen.h \ + vhdlscanner.h \ xmldocvisitor.h \ xmlgen.h SOURCES = ce_lex.cpp \ @@ -153,6 +158,7 @@ SOURCES = ce_lex.cpp \ diagram.cpp \ dirdef.cpp \ docparser.cpp \ + docsets.cpp \ doctokenizer.cpp \ dot.cpp \ doxygen.cpp \ @@ -206,6 +212,9 @@ SOURCES = ce_lex.cpp \ translator.cpp \ util.cpp \ version.cpp \ + vhdlcode.cpp \ + vhdldocgen.cpp \ + vhdlscanner.cpp \ xmldocvisitor.cpp \ xmlgen.cpp \ commentscan.cpp diff --git a/src/libdoxygen.t b/src/libdoxygen.t index ea6e839..0ab0b3c 100644 --- a/src/libdoxygen.t +++ b/src/libdoxygen.t @@ -1,7 +1,7 @@ # -# $Id$ +# # -# Copyright (C) 1997-2007 by Dimitri van Heesch. +# Copyright (C) 1997-2008 by Dimitri van Heesch. # # Permission to use, copy, modify, and distribute this software and its # documentation under the terms of the GNU General Public License is hereby @@ -63,6 +63,12 @@ sub GenerateDep { #$ GenerateDep("fortrancode.cpp","fortrancode.l"); $(LEX) -i -PfcodeYY -t fortrancode.l | $(INCBUFSIZE) >fortrancode.cpp +#$ GenerateDep("vhdlscanner.cpp","vhdlscanner.l"); + $(LEX) -i -PvhdlscanYY -t vhdlscanner.l | $(INCBUFSIZE) >vhdlscanner.cpp + +#$ GenerateDep("vhdlcode.cpp","vhdlcode.l"); + $(LEX) -i -PvhdlcodeYY -t vhdlcode.l | $(INCBUFSIZE) >vhdlcode.cpp + #$ GenerateDep("pre.cpp","pre.l"); $(LEX) -PpreYY -t pre.l | $(INCBUFSIZE) >pre.cpp diff --git a/src/lockingptr.h b/src/lockingptr.h index f694d24..86094fb 100644 --- a/src/lockingptr.h +++ b/src/lockingptr.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/logos.cpp b/src/logos.cpp index fd939ad..c682f61 100644 --- a/src/logos.cpp +++ b/src/logos.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/logos.h b/src/logos.h index a3cc4b6..2c55624 100644 --- a/src/logos.h +++ b/src/logos.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/main.cpp b/src/main.cpp index afb5010..c8ba81f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/mandocvisitor.cpp b/src/mandocvisitor.cpp index dee0911..61e8d0e 100644 --- a/src/mandocvisitor.cpp +++ b/src/mandocvisitor.cpp @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/mandocvisitor.h b/src/mandocvisitor.h index 4274568..0be9507 100644 --- a/src/mandocvisitor.h +++ b/src/mandocvisitor.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/mangen.cpp b/src/mangen.cpp index 0feab40..d917435 100644 --- a/src/mangen.cpp +++ b/src/mangen.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -416,9 +416,7 @@ void ManGenerator::startDoxyAnchor(const char *,const char *manName, { QTextStream linkstream; linkstream.setDevice(&linkfile); -#if QT_VERSION >= 200 - linkstream.setEncoding(QTextStream::Latin1); -#endif + linkstream.setEncoding(QTextStream::UnicodeUTF8); linkstream << ".so man" << getExtension() << "/" << buildFileName( manName ) << endl; } } diff --git a/src/mangen.h b/src/mangen.h index 25a6082..3b0f85c 100644 --- a/src/mangen.h +++ b/src/mangen.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -50,6 +50,7 @@ class ManGenerator : public OutputGenerator void startIndexSection(IndexSections) {} void endIndexSection(IndexSections) {} + void writePageLink(const char *,bool) {} void startProjectNumber() {} void endProjectNumber() {} void writeStyleInfo(int) {} @@ -167,7 +168,11 @@ class ManGenerator : public OutputGenerator void endClassDiagram(const ClassDiagram &,const char *,const char *) {} void startPageRef() {} void endPageRef(const char *,const char *) {} + void startQuickIndices() {} + void endQuickIndices() {} void writeQuickLinks(bool,HighlightedItem) {} + void startContents() {} + void endContents() {} void writeNonBreakableSpace(int n) { int i; for (i=0;isli); marshalBool(s,e->objc); marshalBool(s,e->hidden); + marshalBool(s,e->artificial); marshalInt(s,(int)e->groupDocType); } @@ -725,9 +726,9 @@ ExampleSDict *unmarshalExampleSDict(StorageIntf *s) { QCString key = unmarshalQCString(s); Example *e = new Example; - marshalQCString(s,e->anchor); - marshalQCString(s,e->name); - marshalQCString(s,e->file); + e->anchor = unmarshalQCString(s); + e->name = unmarshalQCString(s); + e->file = unmarshalQCString(s); result->inSort(key,e); } return result; @@ -807,6 +808,7 @@ Entry * unmarshalEntry(StorageIntf *s) e->sli = unmarshalItemInfoList(s); e->objc = unmarshalBool(s); e->hidden = unmarshalBool(s); + e->artificial = unmarshalBool(s); e->groupDocType = (Entry::GroupDocType)unmarshalInt(s); return e; } diff --git a/src/memberdef.cpp b/src/memberdef.cpp index c556047..2972f34 100644 --- a/src/memberdef.cpp +++ b/src/memberdef.cpp @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -38,6 +38,8 @@ #include "parserintf.h" #include "marshal.h" #include "objcache.h" +#include "vhdlscanner.h" +#include "vhdldocgen.h" #define START_MARKER 0x4D454D5B // MEM[ #define END_MARKER 0x4D454D5D // MEM] @@ -1043,7 +1045,7 @@ bool MemberDef::isBriefSectionVisible() const !hasDocs ); - //printf("visibleIfStatic=%d visibleIfDocumented=%d visibleIfEnabled=%d" + //printf("visibleIfStatic=%d visibleIfDocumented=%d visibleIfEnabled=%d " // "visibleIfPrivate=%d visibltIfNotDefaultCDTor=%d " // "visibleIfFriendCompound=%d\n",visibleIfStatic,visibleIfDocumented, // visibleIfEnabled,visibleIfPrivate,visibleIfNotDefaultCDTor, @@ -1325,6 +1327,25 @@ void MemberDef::writeDeclaration(OutputList &ol, } } + // add to index + if (isEnumerate() && name().at(0)=='@') + { + // don't add to index + } + else // index member + { + static bool separateMemPages = Config_getBool("SEPARATE_MEMBER_PAGES"); + QCString cfname = getOutputFileBase(); + QCString cfiname = d->getOutputFileBase(); + Doxygen::indexList.addIndexItem( + cname, // level1 + name(), // level2 + separateMemPages ? cfname : cfiname, // contRef + cfname, // memRef + anchor(), // anchor + this); // memberdef + } + // *** write arguments if (argsString() && !isObjCMethod()) { @@ -1545,6 +1566,7 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol, bool inFile = container->definitionType()==Definition::TypeFile; bool hasDocs = isDetailedSectionVisible(inGroup,inFile); static bool separateMemPages = Config_getBool("SEPARATE_MEMBER_PAGES"); + static bool optVhdl = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); //printf("MemberDef::writeDocumentation(): name=`%s' hasDocs=`%d' containerType=%d inGroup=%d\n", // name().data(),hasDocs,container->definitionType(),inGroup); if ( !hasDocs ) return; @@ -1573,23 +1595,20 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol, QCString cfname = getOutputFileBase(); QCString cfiname = container->getOutputFileBase(); - //static bool hasHtmlHelp = Config_getBool("GENERATE_HTML") && Config_getBool("GENERATE_HTMLHELP"); - //HtmlHelp *htmlHelp = HtmlHelp::getInstance(); - //if (hasHtmlHelp) + // the next part is moved to declaration + //if (isEnumerate() && name().at(0)=='@') //{ - if (isEnumerate() && name().at(0)=='@') - { - // don't add to index - } - else - { - Doxygen::indexList.addIndexItem( - ciname, // level1 - name(), // level2 - separateMemPages ? cfname : cfiname, // contRef - cfname, // memRef - memAnchor); // anchor - } + // // don't add to index + //} + //else + //{ + // Doxygen::indexList.addIndexItem( + // ciname, // level1 + // name(), // level2 + // separateMemPages ? cfname : cfiname, // contRef + // cfname, // memRef + // memAnchor, // anchor + // this); // memberdef //} // get member name @@ -1753,9 +1772,16 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol, if (isStatic()) ldef.prepend("+ "); else ldef.prepend("- "); } - linkifyText(TextGeneratorOLImpl(ol),container,getBodyDef(),name(),ldef); + if (optVhdl) + { + VhdlDocGen::writeVHDLTypeDocumentation(this,container,ol); + } + else + { + linkifyText(TextGeneratorOLImpl(ol),container,getBodyDef(),name(),ldef); + hasParameterList=writeDefArgumentList(ol,cd,scopeName,this); + } - hasParameterList=writeDefArgumentList(ol,cd,scopeName,this); if (hasOneLineInitializer()) // add initializer { if (!isDefine()) @@ -1793,36 +1819,48 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol, ol.startTypewriter(); ol.docify(" ["); QStrList sl; - if (isFriend()) sl.append("friend"); - else if (isRelated()) sl.append("related"); + if (optVhdl) + { + sl.append(VhdlDocGen::trTypeString(getMemberSpecifiers())); + } else { - if (Config_getBool("INLINE_INFO") && isInline()) sl.append("inline"); - if (isExplicit()) sl.append("explicit"); - if (isMutable()) sl.append("mutable"); - if (isStatic()) sl.append("static"); - if (isGettable()) sl.append("get"); - if (isSettable()) sl.append("set"); - if (isAddable()) sl.append("add"); - if (isRemovable()) sl.append("remove"); - if (isRaisable()) sl.append("raise"); - if (isReadable()) sl.append("read"); - if (isWritable()) sl.append("write"); - if (isFinal()) sl.append("final"); - if (isAbstract()) sl.append("abstract"); - if (isOverride()) sl.append("override"); - if (isInitonly()) sl.append("initonly"); - if (isSealed()) sl.append("sealed"); - if (isNew()) sl.append("new"); - if (protection()==Protected) sl.append("protected"); - else if (protection()==Private) sl.append("private"); - else if (protection()==Package) sl.append("package"); - if (lvirt==Virtual) sl.append("virtual"); - else if (lvirt==Pure) sl.append("pure virtual"); - if (isSignal()) sl.append("signal"); - if (isSlot()) sl.append("slot"); - } - if (m_impl->classDef && m_impl->classDef!=container) sl.append("inherited"); + if (isFriend()) sl.append("friend"); + else if (isRelated()) sl.append("related"); + else + { + if (Config_getBool("INLINE_INFO") && isInline()) sl.append("inline"); + if (isExplicit()) sl.append("explicit"); + if (isMutable()) sl.append("mutable"); + if (isStatic()) sl.append("static"); + if (isGettable()) sl.append("get"); + if (isSettable()) sl.append("set"); + if (isAddable()) sl.append("add"); + if (isRemovable()) sl.append("remove"); + if (isRaisable()) sl.append("raise"); + if (isReadable()) sl.append("read"); + if (isWritable()) sl.append("write"); + if (isFinal()) sl.append("final"); + if (isAbstract()) sl.append("abstract"); + if (isOverride()) sl.append("override"); + if (isInitonly()) sl.append("initonly"); + if (isSealed()) sl.append("sealed"); + if (isNew()) sl.append("new"); + if (isOptional()) sl.append("optional"); + if (isRequired()) sl.append("required"); + if (isAssign()) sl.append("assign"); + else if (isCopy()) sl.append("copy"); + else if (isRetain()) sl.append("retain"); + if (protection()==Protected) sl.append("protected"); + else if (protection()==Private) sl.append("private"); + else if (protection()==Package) sl.append("package"); + if (lvirt==Virtual) sl.append("virtual"); + else if (lvirt==Pure) sl.append("pure virtual"); + if (isSignal()) sl.append("signal"); + if (isSlot()) sl.append("slot"); + } + if (m_impl->classDef && m_impl->classDef!=container) sl.append("inherited"); + } const char *s=sl.first(); while (s) { @@ -1990,7 +2028,8 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol, fmd->name(), // level2 separateMemPages ? cfname : cfiname, // contRef cfname, // memRef - fmd->anchor()); // anchor + fmd->anchor(), // anchor + fmd); // memberdef //ol.writeListItem(); ol.startDescTableTitle(); // this enables emphasis! ol.startDoxyAnchor(cfname,cname,fmd->anchor(),fmd->name(),fmd->argsString()); @@ -2346,6 +2385,14 @@ bool MemberDef::hasDocumentation() const (m_impl->defArgList!=0 && m_impl->defArgList->hasDocumentation()); // has doc arguments } +bool MemberDef::hasUserDocumentation() const +{ + bool hasDocs = Definition::hasUserDocumentation() || + (m_impl->inbodyDocs && !m_impl->inbodyDocs.isEmpty()); + return hasDocs; +} + + void MemberDef::setMemberGroup(MemberGroup *grp) { makeResident(); @@ -2540,6 +2587,7 @@ void MemberDef::addListReference(Definition *) static bool optimizeOutputForC = Config_getBool("OPTIMIZE_OUTPUT_FOR_C"); static bool hideScopeNames = Config_getBool("HIDE_SCOPE_NAMES"); static bool optimizeOutputJava = Config_getBool("OPTIMIZE_OUTPUT_JAVA"); + static bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); visited=TRUE; if (!isLinkableInProject()) return; QCString memLabel; @@ -2547,6 +2595,10 @@ void MemberDef::addListReference(Definition *) { memLabel=theTranslator->trGlobal(TRUE,TRUE); } + else if (fortranOpt) + { + memLabel=theTranslator->trSubprogram(TRUE,TRUE); + } else { memLabel=theTranslator->trMember(TRUE,TRUE); @@ -2884,7 +2936,7 @@ bool MemberDef::isObjCMethod() const return FALSE; } -QCString MemberDef::qualifiedName() +QCString MemberDef::qualifiedName() const { makeResident(); if (isObjCMethod()) @@ -3245,6 +3297,43 @@ bool MemberDef::isAbstract() const return (m_impl->memSpec&Entry::Abstract)!=0; } +bool MemberDef::isOptional() const +{ + makeResident(); + return (m_impl->memSpec&Entry::Optional)!=0; +} + +bool MemberDef::isRequired() const +{ + makeResident(); + return (m_impl->memSpec&Entry::Required)!=0; +} + +bool MemberDef::isNonAtomic() const +{ + makeResident(); + return (m_impl->memSpec&Entry::NonAtomic)!=0; +} + +bool MemberDef::isCopy() const +{ + makeResident(); + return (m_impl->memSpec&Entry::Copy)!=0; +} + +bool MemberDef::isAssign() const +{ + makeResident(); + return (m_impl->memSpec&Entry::Assign)!=0; +} + +bool MemberDef::isRetain() const +{ + makeResident(); + return (m_impl->memSpec&Entry::Retain)!=0; +} + + bool MemberDef::isImplementation() const { makeResident(); @@ -3953,7 +4042,7 @@ void MemberDef::copyArgumentNames(MemberDef *bmd) } { LockingPtr arguments = bmd->declArgumentList(); - if (m_impl->defArgList && arguments!=0) + if (m_impl->declArgList && arguments!=0) { ArgumentListIterator aliDst(*m_impl->declArgList); ArgumentListIterator aliSrc(*arguments); diff --git a/src/memberdef.h b/src/memberdef.h index 8715ec9..6336269 100644 --- a/src/memberdef.h +++ b/src/memberdef.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -110,7 +110,7 @@ class MemberDef : public Definition const char *getGroupFileName() const; int getGroupStartLine() const; bool getGroupHasDocs() const; - QCString qualifiedName(); + QCString qualifiedName() const; QCString objCMethodName(bool localLink,bool showStatic) const; // direct kind info @@ -148,6 +148,12 @@ class MemberDef : public Definition bool isAbstract() const; bool isOverride() const; bool isInitonly() const; + bool isOptional() const; + bool isRequired() const; + bool isNonAtomic() const; + bool isCopy() const; + bool isAssign() const; + bool isRetain() const; bool isNew() const; bool isSealed() const; bool isImplementation() const; @@ -166,6 +172,7 @@ class MemberDef : public Definition bool isLinkableInProject() const; bool isLinkable() const; bool hasDocumentation() const; // overrides hasDocumentation in definition.h + bool hasUserDocumentation() const; // overrides hasUserDocumentation bool isBriefSectionVisible() const; bool isDetailedSectionVisible(bool inGroup,bool inFile) const; bool isDetailedSectionLinkable() const; diff --git a/src/membergroup.cpp b/src/membergroup.cpp index f7aaedb..3b9eb89 100644 --- a/src/membergroup.cpp +++ b/src/membergroup.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/membergroup.h b/src/membergroup.h index 64ac0af..e718176 100644 --- a/src/membergroup.h +++ b/src/membergroup.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/memberlist.cpp b/src/memberlist.cpp index 846a37f..25f7a44 100644 --- a/src/memberlist.cpp +++ b/src/memberlist.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/memberlist.h b/src/memberlist.h index 1b6a5cf..6b3f5e6 100644 --- a/src/memberlist.h +++ b/src/memberlist.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -86,18 +86,32 @@ class MemberList : public QList decFuncMembers = 43 + declarationLists, decVarMembers = 44 + declarationLists, decEnumValMembers = 45 + declarationLists, - - docDefineMembers = 46 + documentationLists, - docProtoMembers = 47 + documentationLists, - docTypedefMembers = 48 + documentationLists, - docEnumMembers = 49 + documentationLists, - docFuncMembers = 50 + documentationLists, - docVarMembers = 51 + documentationLists, - docEnumValMembers = 52 + documentationLists, - - redefinedBy = 53, - enumFields = 54, - memberGroup = 55 + decPubSlotMembers = 46 + declarationLists, + decProSlotMembers = 47 + declarationLists, + decPriSlotMembers = 48 + declarationLists, + decSignalMembers = 49 + declarationLists, + decEventMembers = 50 + declarationLists, + decFriendMembers = 51 + declarationLists, + decPropMembers = 52 + declarationLists, + + docDefineMembers = 53 + documentationLists, + docProtoMembers = 54 + documentationLists, + docTypedefMembers = 55 + documentationLists, + docEnumMembers = 56 + documentationLists, + docFuncMembers = 57 + documentationLists, + docVarMembers = 58 + documentationLists, + docEnumValMembers = 59 + documentationLists, + docPubSlotMembers = 60 + documentationLists, + docProSlotMembers = 61 + documentationLists, + docPriSlotMembers = 62 + documentationLists, + docSignalMembers = 63 + documentationLists, + docEventMembers = 64 + documentationLists, + docFriendMembers = 65 + documentationLists, + docPropMembers = 66 + documentationLists, + + redefinedBy = 67, + enumFields = 68, + memberGroup = 69 }; MemberList(); diff --git a/src/membername.cpp b/src/membername.cpp index 6a594c2..5c7dddc 100644 --- a/src/membername.cpp +++ b/src/membername.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/membername.h b/src/membername.h index 74f5891..3a5385c 100644 --- a/src/membername.h +++ b/src/membername.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/message.cpp b/src/message.cpp index 2fedd9a..9466beb 100644 --- a/src/message.cpp +++ b/src/message.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/message.h b/src/message.h index 0cf2c49..8b61372 100644 --- a/src/message.h +++ b/src/message.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/msc.cpp b/src/msc.cpp index d519a50..064e414 100644 --- a/src/msc.cpp +++ b/src/msc.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/msc.h b/src/msc.h index fa6527f..320508d 100644 --- a/src/msc.h +++ b/src/msc.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp index 7bc6221..2df94db 100644 --- a/src/namespacedef.cpp +++ b/src/namespacedef.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -27,6 +27,7 @@ #include "message.h" #include "docparser.h" #include "searchindex.h" +#include "vhdldocgen.h" NamespaceDef::NamespaceDef(const char *df,int dl, const char *name,const char *lref, @@ -267,20 +268,29 @@ void NamespaceDef::writeDetailedDocumentation(OutputList &ol) void NamespaceDef::writeDocumentation(OutputList &ol) { + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); + bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); + QCString pageTitle; if (Config_getBool("OPTIMIZE_OUTPUT_JAVA")) { pageTitle = theTranslator->trPackage(displayName()); } + else if (fortranOpt) + { + pageTitle = theTranslator->trModuleReference(displayName()); + } else { pageTitle = theTranslator->trNamespaceReference(displayName()); } - startFile(ol,getOutputFileBase(),name(),pageTitle,HLI_NamespaceVisible); + startFile(ol,getOutputFileBase(),name(),pageTitle,HLI_NamespaceVisible,TRUE); if (getOuterScope()!=Doxygen::globalScope) { writeNavigationPath(ol); } + ol.endQuickIndices(); + ol.startContents(); startTitle(ol,getOutputFileBase()); ol.parseText(pageTitle); addGroupListToTitle(ol,this); @@ -353,7 +363,10 @@ void NamespaceDef::writeDocumentation(OutputList &ol) writeMemberDeclarations(ol,MemberList::decProtoMembers,theTranslator->trFuncProtos()); writeMemberDeclarations(ol,MemberList::decTypedefMembers,theTranslator->trTypedefs()); writeMemberDeclarations(ol,MemberList::decEnumMembers,theTranslator->trEnumerations()); - writeMemberDeclarations(ol,MemberList::decFuncMembers,theTranslator->trFunctions()); + writeMemberDeclarations(ol,MemberList::decFuncMembers, + fortranOpt ? theTranslator->trSubprograms() : + vhdlOpt ? VhdlDocGen::trFunctionAndProc() : + theTranslator->trFunctions()); writeMemberDeclarations(ol,MemberList::decVarMembers,theTranslator->trVariables()); ol.endMemberSections(); @@ -391,6 +404,7 @@ void NamespaceDef::writeDocumentation(OutputList &ol) void NamespaceDef::writeMemberDocumentation(OutputList &ol) { + bool fortranOpt=Config_getBool("OPTIMIZE_FOR_FORTRAN"); if (Config_getBool("SEPARATE_MEMBER_PAGES")) { ol.disable(OutputGenerator::Html); @@ -400,7 +414,7 @@ void NamespaceDef::writeMemberDocumentation(OutputList &ol) writeMemberDocumentation(ol,MemberList::docProtoMembers,theTranslator->trFunctionPrototypeDocumentation()); writeMemberDocumentation(ol,MemberList::docTypedefMembers,theTranslator->trTypedefDocumentation()); writeMemberDocumentation(ol,MemberList::docEnumMembers,theTranslator->trEnumerationTypeDocumentation()); - writeMemberDocumentation(ol,MemberList::docFuncMembers,theTranslator->trFunctionDocumentation()); + writeMemberDocumentation(ol,MemberList::docFuncMembers,fortranOpt?theTranslator->trSubprogramDocumentation():theTranslator->trFunctionDocumentation()); writeMemberDocumentation(ol,MemberList::docVarMembers,theTranslator->trVariableDocumentation()); if (Config_getBool("SEPARATE_MEMBER_PAGES")) @@ -539,10 +553,11 @@ Definition *NamespaceDef::findInnerCompound(const char *n) void NamespaceDef::addListReferences() { + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); { LockingPtr< QList > xrefItems = xrefListItems(); addRefItem(xrefItems.pointer(), - theTranslator->trNamespace(TRUE,TRUE), + fortranOpt?theTranslator->trModule(TRUE,TRUE):theTranslator->trNamespace(TRUE,TRUE), getOutputFileBase(),displayName() ); } @@ -629,10 +644,15 @@ void NamespaceSDict::writeDeclaration(OutputList &ol,bool localName) // write list of namespaces ol.startMemberHeader(); bool javaOpt = Config_getBool("OPTIMIZE_OUTPUT_JAVA"); + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); if (javaOpt) { ol.parseText(theTranslator->trPackages()); } + else if (fortranOpt) + { + ol.parseText(theTranslator->trModules()); + } else { ol.parseText(theTranslator->trNamespaces()); @@ -648,6 +668,10 @@ void NamespaceSDict::writeDeclaration(OutputList &ol,bool localName) { ol.docify("package "); } + else if (fortranOpt) + { + ol.docify("module "); + } else { ol.docify("namespace "); @@ -744,8 +768,13 @@ bool NamespaceDef::isLinkableInProject() const { int i = name().findRev("::"); if (i==-1) i=0; else i+=2; + static bool extractAnonNs = Config_getBool("EXTRACT_ANON_NSPACES"); + if (extractAnonNs && name().mid(i,20)=="anonymous_namespace{") + { + return TRUE; + } return !name().isEmpty() && name().at(i)!='@' && - hasDocumentation() && !isReference() && !isHidden(); + hasDocumentation() && !isReference() && !isHidden() && !isArtificial(); } bool NamespaceDef::isLinkable() const diff --git a/src/namespacedef.h b/src/namespacedef.h index 5c54897..b8bc093 100644 --- a/src/namespacedef.h +++ b/src/namespacedef.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/objcache.cpp b/src/objcache.cpp index c6761dc..082d012 100644 --- a/src/objcache.cpp +++ b/src/objcache.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/objcache.h b/src/objcache.h index 5a9e16b..b42f9a4 100644 --- a/src/objcache.h +++ b/src/objcache.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id:$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/outputgen.cpp b/src/outputgen.cpp index 13f7186..20523b6 100644 --- a/src/outputgen.cpp +++ b/src/outputgen.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -29,9 +29,7 @@ OutputGenerator::OutputGenerator() b.setBuffer(a); b.open( IO_WriteOnly ); t.setDevice(&b); -#if QT_VERSION >= 200 - t.setEncoding(QTextStream::Latin1); -#endif + t.setEncoding(QTextStream::UnicodeUTF8); active=TRUE; genStack = new QStack; genStack->setAutoDelete(TRUE); diff --git a/src/outputgen.h b/src/outputgen.h index 8a8d60d..9dbe5dc 100644 --- a/src/outputgen.h +++ b/src/outputgen.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -297,6 +297,7 @@ class OutputGenerator : public BaseOutputDocInterface virtual void endFile() = 0; virtual void startIndexSection(IndexSections) = 0; virtual void endIndexSection(IndexSections) = 0; + virtual void writePageLink(const char *,bool) = 0; virtual void startProjectNumber() = 0; virtual void endProjectNumber() = 0; virtual void writeStyleInfo(int part) = 0; @@ -364,7 +365,11 @@ class OutputGenerator : public BaseOutputDocInterface virtual void startDirDepGraph() = 0; virtual void endDirDepGraph(const DotDirDeps &g) = 0; virtual void writeGraphicalHierarchy(const DotGfxHierarchyTable &g) = 0; + virtual void startQuickIndices() = 0; + virtual void endQuickIndices() = 0; virtual void writeQuickLinks(bool compact,HighlightedItem hli) = 0; + virtual void startContents() = 0; + virtual void endContents() = 0; virtual void startTextBlock(bool) = 0; virtual void endTextBlock(bool) = 0; virtual void lastIndexPage() = 0; diff --git a/src/outputlist.cpp b/src/outputlist.cpp index bbf321a..5d237fe 100644 --- a/src/outputlist.cpp +++ b/src/outputlist.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/outputlist.h b/src/outputlist.h index b4416f3..e0a1553 100644 --- a/src/outputlist.h +++ b/src/outputlist.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -75,6 +75,8 @@ class OutputList : public OutputDocInterface { forall(&OutputGenerator::startIndexSection,is); } void endIndexSection(IndexSections is) { forall(&OutputGenerator::endIndexSection,is); } + void writePageLink(const char *name,bool first) + { forall(&OutputGenerator::writePageLink,name,first); } void startProjectNumber() { forall(&OutputGenerator::startProjectNumber); } void endProjectNumber() @@ -306,8 +308,16 @@ class OutputList : public OutputDocInterface { forall(&OutputGenerator::startPageRef); } void endPageRef(const char *c,const char *a) { forall(&OutputGenerator::endPageRef,c,a); } + void startQuickIndices() + { forall(&OutputGenerator::startQuickIndices); } + void endQuickIndices() + { forall(&OutputGenerator::endQuickIndices); } void writeQuickLinks(bool compact,HighlightedItem hli) { forall(&OutputGenerator::writeQuickLinks,compact,hli); } + void startContents() + { forall(&OutputGenerator::startContents); } + void endContents() + { forall(&OutputGenerator::endContents); } void writeNonBreakableSpace(int num) { forall(&OutputGenerator::writeNonBreakableSpace,num); } void startDescTable() diff --git a/src/pagedef.cpp b/src/pagedef.cpp index 3859640..c159283 100644 --- a/src/pagedef.cpp +++ b/src/pagedef.cpp @@ -60,13 +60,16 @@ void PageDef::writeDocumentation(OutputList &ol) else pageName=name().lower(); - startFile(ol,pageName,pageName,title()); + startFile(ol,pageName,pageName,title(),HLI_None,TRUE); if (getOuterScope()!=Doxygen::globalScope && !Config_getBool("DISABLE_INDEX")) { getOuterScope()->writeNavigationPath(ol); } + ol.endQuickIndices(); + ol.startContents(); + // save old generator state and write title only to Man generator ol.pushGeneratorState(); ol.disableAllBut(OutputGenerator::Man); @@ -74,6 +77,9 @@ void PageDef::writeDocumentation(OutputList &ol) ol.endTitleHead(pageName, pageName); ol.popGeneratorState(); + // for Latex the section is already generated as a chapter in the index! + ol.pushGeneratorState(); + ol.disable(OutputGenerator::Latex); SectionInfo *si=0; if (!title().isEmpty() && !name().isEmpty() && (si=Doxygen::sectionDict.find(pageName))!=0) @@ -85,6 +91,8 @@ void PageDef::writeDocumentation(OutputList &ol) si->title); ol.endSection(si->label,si->type); } + ol.popGeneratorState(); + ol.startTextBlock(); ol.parseDoc(docFile(), // fileName docLine(), // startLine diff --git a/src/pagedef.h b/src/pagedef.h index 347ce59..98ed31b 100644 --- a/src/pagedef.h +++ b/src/pagedef.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id:$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/parserintf.h b/src/parserintf.h index 941a10f..d5fcf08 100644 --- a/src/parserintf.h +++ b/src/parserintf.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -134,7 +134,12 @@ class ParserManager ParserInterface *getParser(const char *extension) { if (extension==0) return m_defaultParser; - ParserInterface *intf = m_parsers.find(extension); + QCString ext = QCString(extension).lower(); + ParserInterface *intf = m_parsers.find(ext); + if (intf==0 && ext.length()>4) + { + intf = m_parsers.find(ext.left(4)); + } return intf ? intf : m_defaultParser; } diff --git a/src/perlmodgen.cpp b/src/perlmodgen.cpp index 9e9f760..95034dd 100644 --- a/src/perlmodgen.cpp +++ b/src/perlmodgen.cpp @@ -3,7 +3,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * Authors: Dimitri van Heesch, Miguel Lobo. * * Permission to use, copy, modify, and distribute this software and its diff --git a/src/perlmodgen.h b/src/perlmodgen.h index 14daa25..c1dea50 100644 --- a/src/perlmodgen.h +++ b/src/perlmodgen.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/pngenc.cpp b/src/pngenc.cpp index 6a2582d..6f8206e 100644 --- a/src/pngenc.cpp +++ b/src/pngenc.cpp @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/pngenc.h b/src/pngenc.h index ac1d1fa..bb2abe4 100644 --- a/src/pngenc.h +++ b/src/pngenc.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/portable.cpp b/src/portable.cpp index 174fa20..59484b2 100644 --- a/src/portable.cpp +++ b/src/portable.cpp @@ -377,7 +377,12 @@ void * portable_iconv_open(const char* tocode, const char* fromcode) size_t portable_iconv (void *cd, const char** inbuf, size_t *inbytesleft, char** outbuf, size_t *outbytesleft) { -#if ((defined(_LIBICONV_VERSION) && (_LIBICONV_VERSION>=0x0109)) || defined(_OS_SOLARIS_)) +// libiconv is a mess. For some platforms/version the prototype of inbuf is +// "const char **", for others it is "char **". C++ requires the proper cast to +// avoid a compile error, that is were the CASTNEEDED is for. +#if ((defined(_LIBICONV_VERSION) && (_LIBICONV_VERSION>=0x0109) && \ + !((defined(_OS_MAC_) || defined(Q_OS_MACX) )&& (_LIBICONV_VERSION==0x010B))) \ + || defined(_OS_SOLARIS_)) #define CASTNEEDED(x) (x) #else #define CASTNEEDED(x) (char **)(x) diff --git a/src/pre.h b/src/pre.h index 48af6c3..8fa0079 100644 --- a/src/pre.h +++ b/src/pre.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/pre.l b/src/pre.l index 38a9ae5..c578763 100644 --- a/src/pre.l +++ b/src/pre.l @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -215,15 +215,20 @@ static FILE *checkAndOpenFile(const QCString &absName) static FILE *findFile(const char *fileName,bool localInclude) { - if (localInclude && g_yyFileDef) + //printf("** findFile(%s,%d) g_yyFileName=%s\n",fileName,localInclude,g_yyFileName.data()); + if (localInclude && !g_yyFileName.isEmpty()) { - QCString absName = g_yyFileDef->getPath()+"/"+fileName; - FILE *f = checkAndOpenFile(absName); - if (f) + QFileInfo fi(g_yyFileName); + if (fi.exists()) { - setFileName(absName); - g_yyLineNr=1; - return f; + QCString absName = QCString(fi.dirPath().data())+"/"+fileName; + FILE *f = checkAndOpenFile(absName); + if (f) + { + setFileName(absName); + g_yyLineNr=1; + return f; + } } } if (g_pathList==0) @@ -1665,7 +1670,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) . ^{B}*"#" { BEGIN(SkipCommand); } ^{B}*/[^#] { BEGIN(SkipLine); } -\n { g_yyLineNr++; } +\n { g_yyLineNr++; outputChar('\n'); } . "if"(("n")?("def"))?/[ \t(!] { incrLevel(); @@ -1757,6 +1762,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) } \\[\r]?"\n" { outputChar('\n'); + g_yyLineNr++; } . { } diff --git a/src/printdocvisitor.h b/src/printdocvisitor.h index c236a39..eca9943 100644 --- a/src/printdocvisitor.h +++ b/src/printdocvisitor.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/pycode.h b/src/pycode.h index 667d29c..2bff408 100644 --- a/src/pycode.h +++ b/src/pycode.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/pycode.l b/src/pycode.l index 87c66cf..5955e85 100644 --- a/src/pycode.l +++ b/src/pycode.l @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/pyscanner.h b/src/pyscanner.h index 3434a55..fbb9331 100644 --- a/src/pyscanner.h +++ b/src/pyscanner.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/pyscanner.l b/src/pyscanner.l index a4aafe3..c8857da 100644 --- a/src/pyscanner.l +++ b/src/pyscanner.l @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -86,7 +86,6 @@ static bool docBlockSpecial; static bool g_doubleQuote; static bool g_specialBlock; -//static bool g_expectModuleDocs; static int g_stringContext; static QGString * g_copyString; static int g_indent = 0; @@ -110,6 +109,7 @@ static QCString g_defVal; static int g_braceCount; static bool g_lexInit = FALSE; +static bool g_packageCommentAllowed; //----------------------------------------------------------------------------- @@ -121,6 +121,7 @@ static void initParser() gstat = FALSE; virt = Normal; previous = 0; + g_packageCommentAllowed = TRUE; g_packageNameCache.setAutoDelete(TRUE); } @@ -150,7 +151,7 @@ static void newVariable() { current->protection=Private; } - if (current_root->section&Entry::SCOPE_MASK) // mark as class variable + if (current_root->section&Entry::COMPOUND_MASK) // mark as class variable { current->stat = TRUE; } @@ -494,7 +495,6 @@ STARTDOCSYMS ^{B}"##"/[^#] ^{B}"def"{BB} | "def"{BB} { // start of a function/method definition g_indent=computeIndent(yytext); - //g_expectModuleDocs = FALSE; current->fileName = yyFileName; current->startLine = yyLineNr; current->bodyLine = yyLineNr; @@ -508,28 +508,31 @@ STARTDOCSYMS ^{B}"##"/[^#] current->name.resize(0); current->args.resize(0); current->argList->clear(); + g_packageCommentAllowed = FALSE; BEGIN( FunctionDec ); } ^{B}"class"{BB} | "class"{BB} { // start of a class definition g_indent=computeIndent(yytext); - //g_expectModuleDocs = FALSE; current->section = Entry::CLASS_SEC; current->argList->clear(); current->type += "class" ; current->fileName = yyFileName; current->bodyLine = yyLineNr; + g_packageCommentAllowed = FALSE; BEGIN( ClassDec ) ; } ^{B}"from"{BB} | "from"{BB} { // start of an from import + g_packageCommentAllowed = FALSE; BEGIN( FromMod ); } ^{B}"import"{BB} | "import"{BB} { // start of an import statement + g_packageCommentAllowed = FALSE; BEGIN( Import ); } ^{B}{IDENTIFIER}/{B}"="[^=] { // variable @@ -539,22 +542,27 @@ STARTDOCSYMS ^{B}"##"/[^#] current->fileName = yyFileName; current->startLine = yyLineNr; current->bodyLine = yyLineNr; + g_packageCommentAllowed = FALSE; BEGIN(VariableDec); } - "'" { // start of a single quoted string - g_stringContext=YY_START; - g_copyString=0; - BEGIN( SingleQuoteString ); - } - "\"" { // start of a double quoted string - g_stringContext=YY_START; - g_copyString=0; - BEGIN( DoubleQuoteString ); - } + "'" { // start of a single quoted string + g_stringContext=YY_START; + g_copyString=0; + g_packageCommentAllowed = FALSE; + BEGIN( SingleQuoteString ); + } + "\"" { // start of a double quoted string + g_stringContext=YY_START; + g_copyString=0; + g_packageCommentAllowed = FALSE; + BEGIN( DoubleQuoteString ); + } {POUNDCOMMENT} { // normal comment + g_packageCommentAllowed = FALSE; } {IDENTIFIER} { // some other identifier + g_packageCommentAllowed = FALSE; } ^{BB} { g_curIndent=computeIndent(yytext); @@ -580,6 +588,7 @@ STARTDOCSYMS ^{B}"##"/[^#] } {STARTDOCSYMS} { // start of a special comment + g_packageCommentAllowed = FALSE; initSpecialBlock(); BEGIN(SpecialComment); } @@ -868,7 +877,8 @@ STARTDOCSYMS ^{B}"##"/[^#] bodyEntry = current; BEGIN( FunctionBody ); } - + {POUNDCOMMENT} { // a comment + } {PARAMNONEMPTY} { // Default rule inside arguments. } @@ -1103,6 +1113,7 @@ STARTDOCSYMS ^{B}"##"/[^#] } {TRIDOUBLEQUOTE} { // start of a comment block current->type = "string"; + current->initializer = yytext; g_doubleQuote=TRUE; g_copyString=¤t->initializer; g_stringContext=VariableEnd; @@ -1111,6 +1122,7 @@ STARTDOCSYMS ^{B}"##"/[^#] {TRISINGLEQUOTE} { // start of a comment block current->type = "string"; + current->initializer = yytext; g_doubleQuote=FALSE; g_copyString=¤t->initializer; g_stringContext=VariableEnd; @@ -1215,7 +1227,7 @@ STARTDOCSYMS ^{B}"##"/[^#] // printf("Expected module block %d special=%d\n",g_expectModuleDocs,g_specialBlock); if (g_doubleQuote==(yytext[0]=='"')) { - if (g_specialBlock) + if (g_specialBlock) // expecting a docstring { QCString actualDoc=docBlock; if (!docBlockSpecial) // legacy unformatted docstring @@ -1223,14 +1235,20 @@ STARTDOCSYMS ^{B}"##"/[^#] actualDoc.prepend("\\verbatim "); actualDoc.append("\\endverbatim "); } - //if (g_expectModuleDocs) - //{ - // actualDoc.prepend("\\namespace "+g_moduleScope+"\\_linebr "); - //} //printf("-------> current=%p bodyEntry=%p\n",current,bodyEntry); handleCommentBlock(actualDoc, FALSE); } - //g_expectModuleDocs=FALSE; + else if (g_packageCommentAllowed) // expecting module docs + { + QCString actualDoc=docBlock; + if (!docBlockSpecial) // legacy unformatted docstring + { + actualDoc.prepend("\\verbatim "); + actualDoc.append("\\endverbatim "); + } + actualDoc.prepend("\\namespace "+g_moduleScope+"\\_linebr "); + handleCommentBlock(actualDoc, FALSE); + } if ((docBlockContext==ClassBody && !g_hideClassDocs) || docBlockContext==FunctionBody) { @@ -1246,6 +1264,7 @@ STARTDOCSYMS ^{B}"##"/[^#] { docBlock += yytext; } + g_packageCommentAllowed = FALSE; } @@ -1288,11 +1307,6 @@ STARTDOCSYMS ^{B}"##"/[^#] docBlock+=yytext; } \n { // new line that ends the comment - //if (g_expectModuleDocs) - //{ - // docBlock.prepend("\\namespace "+g_moduleScope+"\\_linebr "); - //} - //g_expectModuleDocs=FALSE; handleCommentBlock(docBlock, docBrief); yyLineNr++; BEGIN(docBlockContext); @@ -1352,10 +1366,9 @@ STARTDOCSYMS ^{B}"##"/[^#] {TRIDOUBLEQUOTE} | {TRISINGLEQUOTE} { *g_copyString += yytext; - //printf("Expected module block %d special=%d\n",g_expectModuleDocs,g_specialBlock); if (g_doubleQuote==(yytext[0]=='"')) { - BEGIN(docBlockContext); + BEGIN(g_stringContext); } } @@ -1462,9 +1475,7 @@ static void parseMain(const char *fileName,const char *fileBuf,Entry *rt) gstat = FALSE; virt = Normal; current_root = rt; - //g_expectModuleDocs = TRUE; g_specialBlock = FALSE; - //g_insideConstructor = FALSE; inputFile.setName(fileName); @@ -1532,9 +1543,8 @@ static void parsePrototype(const QCString &text) return; } - //g_expectModuleDocs = FALSE; g_specialBlock = FALSE; - //g_insideConstructor = FALSE; + g_packageCommentAllowed = FALSE; const char *orgInputString; int orgInputPosition; diff --git a/src/qtbc.h b/src/qtbc.h index b56541e..22ab1d5 100644 --- a/src/qtbc.h +++ b/src/qtbc.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/reflist.cpp b/src/reflist.cpp index 9125f3e..da53f04 100644 --- a/src/reflist.cpp +++ b/src/reflist.cpp @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/reflist.h b/src/reflist.h index 8ef0b4c..f9ba9ea 100644 --- a/src/reflist.h +++ b/src/reflist.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp index 65c5bb2..3eb5ae8 100644 --- a/src/rtfdocvisitor.cpp +++ b/src/rtfdocvisitor.cpp @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/rtfdocvisitor.h b/src/rtfdocvisitor.h index 04f3bd6..70c960a 100644 --- a/src/rtfdocvisitor.h +++ b/src/rtfdocvisitor.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp index 753d133..a0d5e31 100644 --- a/src/rtfgen.cpp +++ b/src/rtfgen.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Parker Waechter & Dimitri van Heesch. + * Copyright (C) 1997-2008 by Parker Waechter & Dimitri van Heesch. * * Style sheet additions by Alexander Bartolich * @@ -37,6 +37,7 @@ #include "rtfdocvisitor.h" #include "docparser.h" #include "dirdef.h" +#include "vhdldocgen.h" //#define DBG_RTF(x) x; #define DBG_RTF(x) @@ -514,6 +515,7 @@ void RTFGenerator::startIndexSection(IndexSections is) { //Page Documentation beginRTFChapter(); + t << "{\\tc \\v "; } break; case isEndIndex: @@ -523,6 +525,8 @@ void RTFGenerator::startIndexSection(IndexSections is) void RTFGenerator::endIndexSection(IndexSections is) { + bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); + bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); switch (is) { case isTitlePageStart: @@ -623,7 +627,15 @@ void RTFGenerator::endIndexSection(IndexSections is) break; case isNamespaceIndex: t << "\\par " << rtf_Style_Reset << endl; - t << "{\\tc \\v " << theTranslator->trNamespaceIndex() << "}"<< endl; + if (fortranOpt) + { + t << "{\\tc \\v " << theTranslator->trModulesIndex() << "}"<< endl; + } + else + { + t << "{\\tc \\v " << theTranslator->trNamespaceIndex() << "}"<< endl; + } + t << "{\\field\\fldedit{\\*\\fldinst INCLUDETEXT \"namespaces.rtf\" \\\\*MERGEFORMAT}{\\fldrslt includedstuff}}\n"; break; case isClassHierarchyIndex: @@ -633,7 +645,18 @@ void RTFGenerator::endIndexSection(IndexSections is) break; case isCompoundIndex: t << "\\par " << rtf_Style_Reset << endl; - t << "{\\tc \\v " << theTranslator->trCompoundIndex() << "}"<< endl; + if (fortranOpt) + { + t << "{\\tc \\v " << theTranslator->trCompoundIndexFortran() << "}"<< endl; + } + else if (vhdlOpt) + { + t << "{\\tc \\v " << VhdlDocGen::trDesignUnitIndex() << "}"<< endl; + } + else + { + t << "{\\tc \\v " << theTranslator->trCompoundIndex() << "}"<< endl; + } t << "{\\field\\fldedit{\\*\\fldinst INCLUDETEXT \"annotated.rtf\" \\\\*MERGEFORMAT}{\\fldrslt includedstuff}}\n"; break; case isFileIndex: @@ -715,8 +738,14 @@ void RTFGenerator::endIndexSection(IndexSections is) ClassSDict::Iterator cli(*Doxygen::classSDict); ClassDef *cd=0; bool found=FALSE; - - t << "{\\tc \\v " << theTranslator->trClassDocumentation() << "}"<< endl; + if (fortranOpt) + { + t << "{\\tc \\v " << theTranslator->trTypeDocumentation() << "}"<< endl; + } + else + { + t << "{\\tc \\v " << theTranslator->trClassDocumentation() << "}"<< endl; + } for (cli.toFirst();(cd=cli.current()) && !found;++cli) { if (cd->isLinkableInProject() && cd->templateMaster()==0) @@ -802,21 +831,23 @@ void RTFGenerator::endIndexSection(IndexSections is) break; case isPageDocumentation: { - t << "{\\tc \\v " << theTranslator->trPageDocumentation() << "}"<< endl; - PageSDict::Iterator pdi(*Doxygen::pageSDict); - PageDef *pd=pdi.toFirst(); - bool first=TRUE; - for (pdi.toFirst();(pd=pdi.current());++pdi) - { - if (!pd->getGroupDef() && !pd->isReference()) - { - if (first) t << "\\par " << rtf_Style_Reset << endl; - t << "{\\field\\fldedit{\\*\\fldinst INCLUDETEXT \""; - t << pd->getOutputFileBase(); - t << ".rtf\" \\\\*MERGEFORMAT}{\\fldrslt includedstuff}}\n"; - first=FALSE; - } - } +//#error "fix me in the same way as the latex index..." + //t << "{\\tc \\v " << theTranslator->trPageDocumentation() << "}"<< endl; + t << "}"<< endl; + //PageSDict::Iterator pdi(*Doxygen::pageSDict); + //PageDef *pd=pdi.toFirst(); + //bool first=TRUE; + //for (pdi.toFirst();(pd=pdi.current());++pdi) + //{ + // if (!pd->getGroupDef() && !pd->isReference()) + // { + // if (first) t << "\\par " << rtf_Style_Reset << endl; + // t << "{\\field\\fldedit{\\*\\fldinst INCLUDETEXT \""; + // t << pd->getOutputFileBase(); + // t << ".rtf\" \\\\*MERGEFORMAT}{\\fldrslt includedstuff}}\n"; + // first=FALSE; + // } + //} } break; case isEndIndex: @@ -831,6 +862,14 @@ void RTFGenerator::endIndexSection(IndexSections is) } } +void RTFGenerator::writePageLink(const char *name,bool first) +{ + if (first) t << "\\par " << rtf_Style_Reset << endl; + t << "{\\field\\fldedit{\\*\\fldinst INCLUDETEXT \""; + t << name; + t << ".rtf\" \\\\*MERGEFORMAT}{\\fldrslt includedstuff}}\n"; +} + void RTFGenerator::lastIndexPage() { DBG_RTF(t <<"{\\comment Beginning Body of RTF Document}\n") @@ -2393,9 +2432,7 @@ bool RTFGenerator::preProcessFileInplace(const char *path,const char *name) return FALSE; } QTextStream outt(&outf); -#if QT_VERSION >= 200 - outt.setEncoding(QTextStream::Latin1); -#endif + outt.setEncoding(QTextStream::UnicodeUTF8); if (!PreProcessFile(thisDir,mainRTFName,outt)) { @@ -2513,6 +2550,15 @@ void RTFGenerator::endParamList() t << "}"; } +void RTFGenerator::startParameterType(bool first,const char *key) +{ + DBG_RTF(t << "{\\comment (startParameterList)}" << endl) + if (!first) + { + t << " " << key << " "; + } +} + void RTFGenerator::printDoc(DocNode *n,const char *langExt) { RTFDocVisitor *visitor = new RTFDocVisitor(t,*this,langExt); diff --git a/src/rtfgen.h b/src/rtfgen.h index 5e39945..37d5b95 100644 --- a/src/rtfgen.h +++ b/src/rtfgen.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Parker Waechter & Dimitri van Heesch. + * Copyright (C) 1997-2008 by Parker Waechter & Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -50,6 +50,7 @@ class RTFGenerator : public OutputGenerator void startIndexSection(IndexSections); void endIndexSection(IndexSections); + void writePageLink(const char *,bool); void startProjectNumber(); void endProjectNumber(); void writeStyleInfo(int part); @@ -162,7 +163,11 @@ class RTFGenerator : public OutputGenerator void endClassDiagram(const ClassDiagram &,const char *filename,const char *name); void startPageRef(); void endPageRef(const char *,const char *); + void startQuickIndices() {} + void endQuickIndices() {} void writeQuickLinks(bool,HighlightedItem) {} + void startContents() {} + void endContents() {} void writeNonBreakableSpace(int); void startDescTable(); @@ -199,7 +204,7 @@ class RTFGenerator : public OutputGenerator void endMemberDocPrefixItem() {} void startMemberDocName(bool) {} void endMemberDocName() {} - void startParameterType(bool,const char *) {} + void startParameterType(bool,const char *); void endParameterType() {} void startParameterName(bool) {} void endParameterName(bool,bool,bool) {} diff --git a/src/rtfstyle.cpp b/src/rtfstyle.cpp index aae7cef..e1c971f 100644 --- a/src/rtfstyle.cpp +++ b/src/rtfstyle.cpp @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -438,9 +438,7 @@ void loadStylesheet(const char *name, QDict& dict) static const QRegExp separator("[ \t]*=[ \t]*"); uint lineNr=1; QTextStream t(&file); -#if QT_VERSION >= 200 - t.setEncoding(QTextStream::Latin1); -#endif + t.setEncoding(QTextStream::UnicodeUTF8); while (!t.eof()) { @@ -487,9 +485,7 @@ void loadExtensions(const char *name) static const QRegExp separator("[ \t]*=[ \t]*"); uint lineNr=1; QTextStream t(&file); -#if QT_VERSION >= 200 - t.setEncoding(QTextStream::Latin1); -#endif + t.setEncoding(QTextStream::UnicodeUTF8); while (!t.eof()) { diff --git a/src/rtfstyle.h b/src/rtfstyle.h index f6d6335..a3d80ba 100644 --- a/src/rtfstyle.h +++ b/src/rtfstyle.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/scanner.h b/src/scanner.h index 33d9fb1..a234d93 100644 --- a/src/scanner.h +++ b/src/scanner.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/scanner.l b/src/scanner.l index b76b67d..3f86c2f 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -1,8 +1,8 @@ /***************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -653,6 +653,8 @@ TYPEDEFPREFIX (("typedef"{BN}+)?)((("volatile"|"const"){BN}+)?) %x ObjCParams %x ObjCParamType %x ObjCProtocolList +%x ObjCPropAttr +%x ObjCSkipStatement %x QtPropType %x QtPropName %x QtPropAttr @@ -1109,21 +1111,73 @@ TYPEDEFPREFIX (("typedef"{BN}+)?)((("volatile"|"const"){BN}+)?) roundCount=1; BEGIN( SkipRound ); } + else if (strncmp(yytext,"@property",9)==0) // ObjC 2.0 property + { + current->mtype = mtype = Property; + current->spec|=Entry::Readable | Entry::Writable | Entry::Assign; + current->protection = Public ; + unput('('); + BEGIN( ObjCPropAttr ); + } else { REJECT; } } +"getter="{ID} { + current->read = yytext+7; + } +"setter="{ID} { + current->write = yytext+7; + } +"readonly" { + current->spec&=~Entry::Writable; + } +"readwrite" { // default + } +"assign" { // default + } +"retain" { + current->spec&=~Entry::Assign; + current->spec|=Entry::Retain; + } +"copy" { + current->spec&=~Entry::Assign; + current->spec|=Entry::Copy; + } +"nonatmic" { + current->spec|=Entry::NonAtomic; + } +")" { + BEGIN(FindMembers); + } "@"{ID} { if (insideJava) // Java annotation { // skip annotation } + else if (strcmp(yytext,"@property")==0) // ObjC 2.0 property + { + current->mtype = mtype = Property; + current->spec|=Entry::Writable | Entry::Readable | Entry::Assign; + current->protection = Public ; + } + else if (strcmp(yytext,"@synthesize")==0) + { + BEGIN( ObjCSkipStatement ); + } + else if (strcmp(yytext,"@dynamic")==0) + { + BEGIN( ObjCSkipStatement ); + } else { REJECT; } } +";" { + BEGIN(FindMembers); + } {ID}("."{ID})* { isTypedef=FALSE; current->name = yytext; @@ -1183,6 +1237,12 @@ TYPEDEFPREFIX (("typedef"{BN}+)?)((("volatile"|"const"){BN}+)?) {B}*"explicit"{BN}+ { current->spec|=Entry::Explicit; lineCount(); } +{B}*"@required"{BN}+ { current->spec|=Entry::Required; + lineCount(); + } +{B}*"@optional"{BN}+ { current->spec|=Entry::Optional; + lineCount(); + } /* {B}*"import"{BN}+ { // IDL import keyword BEGIN( NextSemi ); @@ -2487,6 +2547,18 @@ TYPEDEFPREFIX (("typedef"{BN}+)?)((("volatile"|"const"){BN}+)?) } /* generic curly bracket list copy rules for growable strings */ +^"#"{B}+[0-9]+{B}+"\""[^\"\n]+"\""{B}+"1"{B}*\n? { // start of included file marker + } +^"#"{B}+[0-9]+{B}+"\""[^\"\n]+"\""{B}+"2"{B}*\n? { // end of included file marker + QCString line = QCString(yytext); + int s = line.find(' '); + int e = line.find('"',s); + yyLineNr = line.mid(s,e-s).toInt(); + if (yytext[yyleng-1]=='\n') + { + yyLineNr++; + } + } \" { *pCopyCurlyGString+=*yytext; pCopyQuotedGString=pCopyCurlyGString; @@ -2520,7 +2592,7 @@ TYPEDEFPREFIX (("typedef"{BN}+)?)((("volatile"|"const"){BN}+)?) *pCopyCurlyGString+=yytext; } } -[^"'{}\/\n]+ { +[^"'{}\/\n]+ { *pCopyCurlyGString+=yytext; } "/" { *pCopyCurlyGString+=yytext; } @@ -3182,13 +3254,20 @@ TYPEDEFPREFIX (("typedef"{BN}+)?)((("volatile"|"const"){BN}+)?) "("/{BN}*({TSCOPE}{BN}*"::")*{TSCOPE}{BN}*")"{BN}*"(" | /* typedef void (A::func_t)(args...) */ ("("({BN}*{TSCOPE}{BN}*"::")*({BN}*[*&]{BN}*)+)+ { /* typedef void (A::*ptr_t)(args...) or int (*func(int))[] */ - current->bodyLine = yyLineNr; - lineCount(); - addType(current); - funcPtrType=yytext; - roundCount=0; - //current->type += yytext; - BEGIN( FuncPtr ); + if (insidePHP) // reference parameter + { + REJECT + } + else + { + current->bodyLine = yyLineNr; + lineCount(); + addType(current); + funcPtrType=yytext; + roundCount=0; + //current->type += yytext; + BEGIN( FuncPtr ); + } } {SCOPENAME} { current->name = yytext; diff --git a/src/searchindex.cpp b/src/searchindex.cpp index 4e9560e..378316f 100644 --- a/src/searchindex.cpp +++ b/src/searchindex.cpp @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/searchindex.h b/src/searchindex.h index 2f80c2a..59970b5 100644 --- a/src/searchindex.h +++ b/src/searchindex.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/section.h b/src/section.h index 48f5756..482ad0a 100644 --- a/src/section.h +++ b/src/section.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/sortdict.h b/src/sortdict.h index e40e87d..b9f6f7c 100644 --- a/src/sortdict.h +++ b/src/sortdict.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/store.cpp b/src/store.cpp index 9b082aa..f8c66c2 100644 --- a/src/store.cpp +++ b/src/store.cpp @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id:$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/store.h b/src/store.h index 85bb506..2e7eabd 100644 --- a/src/store.h +++ b/src/store.h @@ -1,8 +1,8 @@ /****************************************************************************** * - * $Id$ + * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/tagreader.cpp b/src/tagreader.cpp index a257685..1292ac4 100644 --- a/src/tagreader.cpp +++ b/src/tagreader.cpp @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -237,12 +237,13 @@ class TagFileParser : public QXmlDefaultHandler m_inputFileName = fileName; } - void warn(const char *fmt,...) + void warn(const char *fmt) { - va_list args; - va_start(args, fmt); - ::warn(m_inputFileName,m_locator->lineNumber(),fmt,args); - va_end(args); + ::warn(m_inputFileName,m_locator->lineNumber(),fmt); + } + void warn(const char *fmt,const char *s) + { + ::warn(m_inputFileName,m_locator->lineNumber(),fmt,s); } void startCompound( const QXmlAttributes& attrib ) @@ -1395,6 +1396,7 @@ void parseTagFile(Entry *root,const char *fullName,const char *tagName) reader.parse( source ); handler.buildLists(root); handler.addIncludes(); + //handler.dump(); } diff --git a/src/tagreader.h b/src/tagreader.h index 8de56ea..a6bf3f9 100644 --- a/src/tagreader.h +++ b/src/tagreader.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/textdocvisitor.cpp b/src/textdocvisitor.cpp index 4904be2..ae0820d 100644 --- a/src/textdocvisitor.cpp +++ b/src/textdocvisitor.cpp @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/textdocvisitor.h b/src/textdocvisitor.h index f8cf023..321e9c6 100644 --- a/src/textdocvisitor.h +++ b/src/textdocvisitor.h @@ -1,9 +1,9 @@ /****************************************************************************** * - * $Id$ + * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/translator.h b/src/translator.h index dc18558..a9ec6ea 100644 --- a/src/translator.h +++ b/src/translator.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -23,7 +23,6 @@ #include "util.h" #include "config.h" - class Translator { private: @@ -344,7 +343,7 @@ class Translator // Translation of the word - virtual QCString trClass(bool first_capital, bool singular) = 0; + virtual QCString trClass(bool first_capital, bool singular) = 0; virtual QCString trFile(bool first_capital, bool singular) = 0; virtual QCString trNamespace(bool first_capital, bool singular) = 0; virtual QCString trGroup(bool first_capital, bool singular) = 0; @@ -447,6 +446,36 @@ class Translator virtual QCString trCallerGraph() = 0; virtual QCString trEnumerationValueDocumentation() = 0; +////////////////////////////////////////////////////////////////////////// +// new since 1.5.4 +////////////////////////////////////////////////////////////////////////// + + virtual QCString trMemberFunctionDocumentationFortran() = 0; + virtual QCString trCompoundListFortran() = 0; + virtual QCString trCompoundMembersFortran() = 0; + virtual QCString trCompoundListDescriptionFortran() = 0; + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) = 0; + virtual QCString trCompoundIndexFortran() = 0; + virtual QCString trTypeDocumentation() = 0; + virtual QCString trSubprograms() = 0; + virtual QCString trSubprogramDocumentation() = 0; + virtual QCString trDataTypes() = 0; + virtual QCString trModulesList() = 0; + virtual QCString trModulesListDescription(bool extractAll) = 0; + virtual QCString trCompoundReferenceFortran(const char *clName, + ClassDef::CompoundType compType, + bool isTemplate) = 0; + virtual QCString trModuleReference(const char *namespaceName) = 0; + virtual QCString trModulesMembers() = 0; + virtual QCString trModulesMemberDescription(bool extractAll) = 0; + virtual QCString trModulesIndex() = 0; + virtual QCString trModule(bool first_capital, bool singular) = 0; + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, + bool single) = 0; + virtual QCString trType(bool first_capital, bool singular) = 0; + virtual QCString trSubprogram(bool first_capital, bool singular) = 0; + virtual QCString trTypeConstraints() = 0; + }; #endif diff --git a/src/translator_adapter.h b/src/translator_adapter.h index 631da7b..a73da00 100644 --- a/src/translator_adapter.h +++ b/src/translator_adapter.h @@ -41,7 +41,83 @@ class TranslatorAdapterBase : public Translator }; -class TranslatorAdapter_1_4_6 : public TranslatorAdapterBase +class TranslatorAdapter_1_5_4 : public TranslatorAdapterBase +{ + public: + virtual QCString updateNeededMessage() + { return createUpdateNeededMessage(idLanguage(),"release 1.5.4"); } + + virtual QCString trMemberFunctionDocumentationFortran() + { return english.trMemberFunctionDocumentationFortran(); } + + virtual QCString trCompoundListFortran() + { return english.trCompoundListFortran(); } + + virtual QCString trCompoundMembersFortran() + { return english.trCompoundMembersFortran(); } + + virtual QCString trCompoundListDescriptionFortran() + { return english.trCompoundListDescriptionFortran(); } + + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + { return english.trCompoundMembersDescriptionFortran(extractAll); } + + virtual QCString trCompoundIndexFortran() + { return english.trCompoundIndexFortran(); } + + virtual QCString trTypeDocumentation() + { return english.trTypeDocumentation(); } + + virtual QCString trSubprograms() + { return english.trSubprograms(); } + + virtual QCString trSubprogramDocumentation() + { return english.trSubprogramDocumentation(); } + + virtual QCString trDataTypes() + { return english.trDataTypes(); } + + virtual QCString trModulesList() + { return english.trModulesList(); } + + virtual QCString trModulesListDescription(bool extractAll) + { return english.trModulesListDescription(extractAll); } + + virtual QCString trCompoundReferenceFortran(const char *clName, + ClassDef::CompoundType compType, + bool isTemplate) + { return english.trCompoundReferenceFortran(clName,compType,isTemplate); } + + virtual QCString trModuleReference(const char *namespaceName) + { return english.trModuleReference(namespaceName); } + + virtual QCString trModulesMembers() + { return english.trModulesMembers(); } + + virtual QCString trModulesMemberDescription(bool extractAll) + { return english.trModulesMemberDescription(extractAll); } + + virtual QCString trModulesIndex() + { return english.trModulesIndex(); } + + virtual QCString trModule(bool first_capital, bool singular) + { return english.trModule(first_capital,singular); } + + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, + bool single) + { return english.trGeneratedFromFilesFortran(compType,single); } + + virtual QCString trType(bool first_capital, bool singular) + { return english.trType(first_capital,singular); } + + virtual QCString trSubprogram(bool first_capital, bool singular) + { return english.trSubprogram(first_capital,singular); } + + virtual QCString trTypeConstraints() + { return english.trTypeConstraints(); } +}; + +class TranslatorAdapter_1_4_6 : public TranslatorAdapter_1_5_4 { public: virtual QCString updateNeededMessage() diff --git a/src/translator_ar.h b/src/translator_ar.h index 6a37040..2660d7d 100644 --- a/src/translator_ar.h +++ b/src/translator_ar.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/translator_br.h b/src/translator_br.h index 44cdcf4..e61ef48 100644 --- a/src/translator_br.h +++ b/src/translator_br.h @@ -1,5 +1,5 @@ /****************************************************************************** - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -10,11 +10,13 @@ * Documents produced by Doxygen are derivative works derived from the * input used in their production; they are not affected by this license. * - * Brazilian Portuguese translation version 20070914 + * Brazilian Portuguese translation version 20071216 * Maintainer: Fabio "FJTC" Jun Takada Chino - * Thanks to Jorge Ramos and others + * Thanks to Jorge Ramos and others for their contributions. * * History: + * 20071216: + * - New methods since 1.5.4 updated. * 20070914 * - "Translate me" fixed * - Revision number changed from doxygen version to a date string. @@ -28,7 +30,7 @@ #ifndef TRANSLATOR_BR_H #define TRANSLATOR_BR_H -class TranslatorBrazilian : public Translator +class TranslatorBrazilian : public TranslatorAdapter_1_5_4 { public: @@ -59,34 +61,34 @@ class TranslatorBrazilian : public Translator /*! return the language charset. This will be used for the HTML output */ virtual QCString idLanguageCharset() { - return "iso-8859-1"; + return "utf-8"; } // --- Language translation methods ------------------- /*! used in the compound documentation before a list of related functions. */ virtual QCString trRelatedFunctions() - { return "Funções Relacionadas"; } + { return "Funções Relacionadas"; } /*! subscript for the related functions. */ virtual QCString trRelatedSubscript() - { return "(Note que estas não são funções membros.)"; } + { return "(Note que estas não são funções membros.)"; } /*! header that is put before the detailed description of files, classes and namespaces. */ virtual QCString trDetailedDescription() - { return "Descrição Detalhada"; } + { return "Descrição Detalhada"; } /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() - { return "Definições de Tipos"; } + { return "Definições de Tipos"; } /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() - { return "Enumerações"; } + { return "Enumerações"; } /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() - { return "Métodos"; } + { return "Métodos"; } /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() @@ -115,7 +117,7 @@ class TranslatorBrazilian : public Translator /*! this is the first part of a sentence that is followed by a class name */ virtual QCString trThisIsTheListOfAllMembers() - { return "Esta é a lista de todos os membros de "; } + { return "Esta é a lista de todos os membros de "; } /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() @@ -127,17 +129,17 @@ class TranslatorBrazilian : public Translator virtual QCString trGeneratedAutomatically(const char *s) { QCString result="Gerado automaticamente por Doxygen"; if (s) result+=(QCString)" para "+s; - result+=" a partir de seu código-fonte."; + result+=" a partir de seu código-fonte."; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() - { return "Nome da enumeração"; } + { return "[Enumeração]"; } /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() - { return "Valor enumerado"; } + { return "[Valor enumerado]"; } /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() @@ -149,7 +151,7 @@ class TranslatorBrazilian : public Translator * compounds or files (see the \\group command). */ virtual QCString trModules() - { return "Módulos"; } + { return "Módulos"; } /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() @@ -200,7 +202,7 @@ class TranslatorBrazilian : public Translator /*! This is put above each page as a link to all related pages. */ virtual QCString trRelatedPages() - { return "Páginas relacionadas"; } + { return "Páginas relacionadas"; } /*! This is put above each page as a link to all examples. */ virtual QCString trExamples() @@ -212,14 +214,14 @@ class TranslatorBrazilian : public Translator /*! This is an introduction to the class hierarchy. */ virtual QCString trClassHierarchyDescription() - { return "Esta lista de hierarquias está parcialmente ordenada (ordem alfabética):"; } + { return "Esta lista de hierarquias está parcialmente ordenada (ordem alfabética):"; } /*! This is an introduction to the list with all files. */ virtual QCString trFileListDescription(bool extractAll) { - QCString result="Esta é a lista de todos os arquivos "; + QCString result="Esta é a lista de todos os arquivos "; if (!extractAll) result+="documentados "; - result+="e suas respectivas descrições:"; + result+="e suas respectivas descrições:"; return result; } @@ -229,22 +231,22 @@ class TranslatorBrazilian : public Translator if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Aqui estão as estruturas de dados e suas respectivas descrições:"; + return "Aqui estão as estruturas de dados e suas respectivas descrições:"; } else { - return "Aqui estão as classes, estruturas, uniões e interfaces e suas respectivas descrições:"; + return "Aqui estão as classes, estruturas, uniões e interfaces e suas respectivas descrições:"; } } /*! This is an introduction to the page with all class members. */ virtual QCString trCompoundMembersDescription(bool extractAll) { - QCString result="Esta é a lista de "; + QCString result="Esta é a lista de "; if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - result+="todas as estruturas e campos de uniões "; + result+="todas as estruturas e campos de uniões "; if (!extractAll) { result+="documentas"; @@ -258,23 +260,23 @@ class TranslatorBrazilian : public Translator result+="documentos"; } } - result+=" com referências para "; + result+=" com referências para "; if (!extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - result+="a documentação da estrutura/união de cada campo:"; + result+="a documentação da estrutura/união de cada campo:"; } else { - result+="a documentação da classe de cada membro:"; + result+="a documentação da classe de cada membro:"; } } else { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - result+="a estrutura/união a que pertencem:"; + result+="a estrutura/união a que pertencem:"; } else { @@ -287,10 +289,10 @@ class TranslatorBrazilian : public Translator /*! This is an introduction to the page with all file members. */ virtual QCString trFileMembersDescription(bool extractAll) { - QCString result="Esta é a lista de "; + QCString result="Esta é a lista de "; if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - result+="todas as funções, variáveis, definições, enumerações e definições de tipos "; + result+="todas as funções, variáveis, definições, enumerações e definições de tipos "; if (!extractAll) result+="documentadas "; } else @@ -298,41 +300,41 @@ class TranslatorBrazilian : public Translator result+="todos os membros dos arquivos "; if (!extractAll) result+="documentados "; } - result+="com referências para "; + result+="com referências para "; if (extractAll) result+="seus respectivos arquivos:"; else - result+="suas respectivas documentações:"; + result+="suas respectivas documentações:"; return result; } /*! This is an introduction to the page with the list of all examples */ virtual QCString trExamplesDescription() - { return "Esta é a lista com todos os exemplos:"; } + { return "Esta é a lista com todos os exemplos:"; } /*! This is an introduction to the page with the list of related pages */ virtual QCString trRelatedPagesDescription() - { return "Esta é a lista com toda a documentação relacionadas:"; } + { return "Esta é a lista com toda a documentação relacionadas:"; } /*! This is an introduction to the page with the list of class/file groups */ virtual QCString trModulesDescription() - { return "Esta é a lista com todos os módulos:"; } + { return "Esta é a lista com todos os módulos:"; } /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() - { return "\nDocumentação"; } + { return "\nDocumentação"; } /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() - { return "Índice dos Módulos"; } + { return "Ãndice dos Módulos"; } /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() - { return "Índice Hierárquico"; } + { return "Ãndice Hierárquico"; } /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. @@ -341,11 +343,11 @@ class TranslatorBrazilian : public Translator { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Índice das Estruturas de Dados"; + return "Ãndice das Estruturas de Dados"; } else { - return "Índice dos Componentes"; + return "Ãndice dos Componentes"; } } @@ -353,13 +355,13 @@ class TranslatorBrazilian : public Translator * list of all files. */ virtual QCString trFileIndex() - { return "Índice dos Arquivos"; } + { return "Ãndice dos Arquivos"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all groups. */ virtual QCString trModuleDocumentation() - { return "Módulos"; } + { return "Módulos"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all classes, structs and unions. @@ -392,47 +394,47 @@ class TranslatorBrazilian : public Translator * the documentation of all related pages. */ virtual QCString trPageDocumentation() - { return "Documentação Relacionada"; } + { return "Documentação Relacionada"; } /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() - { return "Guia de Referência"; } + { return "Guia de Referência"; } /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() - { return "Definições e Macros"; } + { return "Definições e Macros"; } /*! This is used in the documentation of a file as a header before the * list of function prototypes */ virtual QCString trFuncProtos() - { return "Protótipos de Funções"; } + { return "Protótipos de Funções"; } /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() - { return "Definições de Tipos"; } + { return "Definições de Tipos"; } /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() - { return "Enumerações"; } + { return "Enumerações"; } /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() - { return "Funções"; } + { return "Funções"; } /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() - { return "Variáveis"; } + { return "Variáveis"; } /*! This is used in the documentation of a file as a header before the * list of (global) variables @@ -444,37 +446,37 @@ class TranslatorBrazilian : public Translator * documentation blocks for defines */ virtual QCString trDefineDocumentation() - { return "Definições e macros"; } + { return "Definições e macros"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for function prototypes */ virtual QCString trFunctionPrototypeDocumentation() - { return "Protótipos das funções"; } + { return "Protótipos das funções"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() - { return "Definições dos tipos"; } + { return "Definições dos tipos"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() - { return "Enumerações"; } + { return "Enumerações"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() - { return "Funções"; } + { return "Funções"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() - { return "Variáveis"; } + { return "Variáveis"; } /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds @@ -524,7 +526,7 @@ class TranslatorBrazilian : public Translator /*! this text is generated when the \\version command is used. */ virtual QCString trVersion() - { return "Versão"; } + { return "Versão"; } /*! this text is generated when the \\date command is used. */ virtual QCString trDate() @@ -536,15 +538,15 @@ class TranslatorBrazilian : public Translator /*! this text is generated when the \\sa command is used. */ virtual QCString trSeeAlso() - { return "Veja também"; } + { return "Veja também"; } /*! this text is generated when the \\param command is used. */ virtual QCString trParameters() - { return "Parâmetros"; } + { return "Parâmetros"; } /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() - { return "Exceções"; } + { return "Exceções"; } /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() @@ -561,9 +563,9 @@ class TranslatorBrazilian : public Translator /*! used as an introduction to the namespace list */ virtual QCString trNamespaceListDescription(bool extractAll) { - QCString result="Esta é a lista de todos os Namespaces "; + QCString result="Esta é a lista de todos os Namespaces "; if (!extractAll) result+="documentados "; - result+="com suas respectivas descrições:"; + result+="com suas respectivas descrições:"; return result; } @@ -581,7 +583,7 @@ class TranslatorBrazilian : public Translator * related classes */ virtual QCString trRelatedFunctionDocumentation() - { return "Amigas e Funções Relacionadas"; } + { return "Amigas e Funções Relacionadas"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 @@ -592,17 +594,17 @@ class TranslatorBrazilian : public Translator ClassDef::CompoundType compType, bool isTemplate) { - QCString result="Referência da"; + QCString result="Referência da"; if (isTemplate) result+=" Template de"; switch(compType) { case ClassDef::Class: result+=" Classe "; break; case ClassDef::Struct: result+=" Estrutura "; break; - case ClassDef::Union: result+=" União "; break; + case ClassDef::Union: result+=" União "; break; case ClassDef::Interface: result+=" Interface "; break; case ClassDef::Protocol: result+=" Protocolo "; break; case ClassDef::Category: result+=" Categoria "; break; - case ClassDef::Exception: result+=" Exceção "; break; + case ClassDef::Exception: result+=" Exceção "; break; } result+=(QCString)clName; return result; @@ -611,7 +613,7 @@ class TranslatorBrazilian : public Translator /*! used as the title of the HTML page of a file */ virtual QCString trFileReference(const char *fileName) { - QCString result = "Referência do Arquivo "; + QCString result = "Referência do Arquivo "; result += fileName; return result; } @@ -619,31 +621,31 @@ class TranslatorBrazilian : public Translator /*! used as the title of the HTML page of a namespace */ virtual QCString trNamespaceReference(const char *namespaceName) { - QCString result ="Refência do Namespace "; + QCString result ="Refência do Namespace "; result += namespaceName; return result; } virtual QCString trPublicMembers() - { return "Métodos Públicos"; } + { return "Métodos Públicos"; } virtual QCString trPublicSlots() - { return "Slots Públicos"; } + { return "Slots Públicos"; } virtual QCString trSignals() { return "Sinais"; } virtual QCString trStaticPublicMembers() - { return "Métodos Públicos Estáticos"; } + { return "Métodos Públicos Estáticos"; } virtual QCString trProtectedMembers() - { return "Métodos Protegidos"; } + { return "Métodos Protegidos"; } virtual QCString trProtectedSlots() { return "Slots Protegidos"; } virtual QCString trStaticProtectedMembers() - { return "Métodos Protegidos Estáticos"; } + { return "Métodos Protegidos Estáticos"; } virtual QCString trPrivateMembers() - { return "Métodos Privados"; } + { return "Métodos Privados"; } virtual QCString trPrivateSlots() { return "Slots Privados"; } virtual QCString trStaticPrivateMembers() - { return "Métodos Privados Estáticos"; } + { return "Métodos Privados Estáticos"; } /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. @@ -691,7 +693,7 @@ class TranslatorBrazilian : public Translator */ virtual QCString trReimplementedFromList(int numEntries) { - return "Reimplementação de "+trWriteList(numEntries)+"."; + return "Reimplementação de "+trWriteList(numEntries)+"."; } /*! used in member documentation blocks to produce a list of @@ -709,11 +711,11 @@ class TranslatorBrazilian : public Translator /*! This is an introduction to the page with all namespace members */ virtual QCString trNamespaceMemberDescription(bool extractAll) { - QCString result="Esta é a lista com todos os membros do Namespace "; + QCString result="Esta é a lista com todos os membros do Namespace "; if (!extractAll) result+="documentados "; - result+="com referências para "; + result+="com referências para "; if (extractAll) - result+="a documentação de seus respectivos Namespaces:"; + result+="a documentação de seus respectivos Namespaces:"; else result+="os seus respectivos namespaces:"; return result; @@ -751,16 +753,16 @@ class TranslatorBrazilian : public Translator bool single) { // here s is one of " Class", " Struct" or " Union" // single is true implies a single file - QCString result=(QCString)"A documentação para esta "; + QCString result=(QCString)"A documentação para esta "; switch(compType) { case ClassDef::Class: result+="classe "; break; case ClassDef::Struct: result+="estrutura "; break; - case ClassDef::Union: result+="união "; break; + case ClassDef::Union: result+="união "; break; case ClassDef::Interface: result+="interface "; break; case ClassDef::Protocol: result+="protocolo "; break; case ClassDef::Category: result+="categoria "; break; - case ClassDef::Exception: result+="exceção "; break; + case ClassDef::Exception: result+="exceção "; break; } result+=" foi gerada a partir "; if (single) result+="do seguinte arquivo:"; else result+="dos seguintes arquivos:"; @@ -771,7 +773,7 @@ class TranslatorBrazilian : public Translator * list. */ virtual QCString trAlphabeticalList() - { return "Lista Alfabética"; } + { return "Lista Alfabética"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 @@ -784,7 +786,7 @@ class TranslatorBrazilian : public Translator /*! This is in the (quick) index as a link to the main page (index.html) */ virtual QCString trMainPage() - { return "Página Principal"; } + { return "Página Principal"; } /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. @@ -798,11 +800,11 @@ class TranslatorBrazilian : public Translator virtual QCString trDefinedAtLineInSourceFile() { - return "Definição na linha @0 do arquivo @1."; + return "Definição na linha @0 do arquivo @1."; } virtual QCString trDefinedInSourceFile() { - return "Definição no arquivo @0."; + return "Definição no arquivo @0."; } ////////////////////////////////////////////////////////////////////////// @@ -813,7 +815,7 @@ class TranslatorBrazilian : public Translator { /* * This note is for brazilians only. - * Esta é uma boa tradução para "deprecated"? + * Esta é uma boa tradução para "deprecated"? */ return "Descontinuado(a)"; } @@ -825,12 +827,12 @@ class TranslatorBrazilian : public Translator /*! this text is put before a collaboration diagram */ virtual QCString trCollaborationDiagram(const char *clName) { - return (QCString)"Diagrama de colaboração para "+clName+":"; + return (QCString)"Diagrama de colaboração para "+clName+":"; } /*! this text is put before an include dependency graph */ virtual QCString trInclDepGraph(const char *fName) { - return (QCString)"Gráfico de dependência de inclusões para "+fName+":"; + return (QCString)"Gráfico de dependência de inclusões para "+fName+":"; } /*! header that is put before the list of constructor/destructors. */ virtual QCString trConstructorDocumentation() @@ -840,22 +842,22 @@ class TranslatorBrazilian : public Translator /*! Used in the file documentation to point to the corresponding sources. */ virtual QCString trGotoSourceCode() { - return "Vá para o código-fonte deste arquivo."; + return "Vá para o código-fonte deste arquivo."; } /*! Used in the file sources to point to the corresponding documentation. */ virtual QCString trGotoDocumentation() { - return "Vá para a documentação deste arquivo."; + return "Vá para a documentação deste arquivo."; } /*! Text for the \\pre command */ virtual QCString trPrecondition() { - return "Pré-Condição"; + return "Pré-Condição"; } /*! Text for the \\post command */ virtual QCString trPostcondition() { - return "Pós-Condição"; + return "Pós-Condição"; } /*! Text for the \\invariant command */ virtual QCString trInvariant() @@ -870,23 +872,23 @@ class TranslatorBrazilian : public Translator /*! Text used the source code in the file index */ virtual QCString trCode() { - return "código"; + return "código"; } virtual QCString trGraphicalHierarchy() { - return "Gráfico de Hierarquia de Classes"; + return "Gráfico de Hierarquia de Classes"; } virtual QCString trGotoGraphicalHierarchy() { - return "Vá para o Gráfico de Hierarquia de Classes"; + return "Vá para o Gráfico de Hierarquia de Classes"; } virtual QCString trGotoTextualHierarchy() { - return "Vá para a Hierarquia de Classes (texto)"; + return "Vá para a Hierarquia de Classes (texto)"; } virtual QCString trPageIndex() { - return "Índice da Página"; + return "Ãndice da Página"; } ////////////////////////////////////////////////////////////////////////// @@ -895,11 +897,11 @@ class TranslatorBrazilian : public Translator virtual QCString trNote() { - return "Observação"; + return "Observação"; } virtual QCString trPublicTypes() { - return "Tipos Públicos"; + return "Tipos Públicos"; } virtual QCString trPublicAttribs() { @@ -909,12 +911,12 @@ class TranslatorBrazilian : public Translator } else { - return "Atributos Públicos"; + return "Atributos Públicos"; } } virtual QCString trStaticPublicAttribs() { - return "Atributos Estáticos Públicos"; + return "Atributos Estáticos Públicos"; } virtual QCString trProtectedTypes() { @@ -926,7 +928,7 @@ class TranslatorBrazilian : public Translator } virtual QCString trStaticProtectedAttribs() { - return "Atributos Estáticos Protegidos"; + return "Atributos Estáticos Protegidos"; } virtual QCString trPrivateTypes() { @@ -938,7 +940,7 @@ class TranslatorBrazilian : public Translator } virtual QCString trStaticPrivateAttribs() { - return "Atributos Privados Estáticos"; + return "Atributos Privados Estáticos"; } ////////////////////////////////////////////////////////////////////////// @@ -966,15 +968,15 @@ class TranslatorBrazilian : public Translator } virtual QCString trRemarks() { - return "Anotações"; + return "Anotações"; } virtual QCString trAttention() { - return "Atenção"; + return "Atenção"; } virtual QCString trInclByDepGraph() { - return "Este grafo mostra quais arquivos estão direta ou indiretamente relacionados com este arquivo:"; + return "Este grafo mostra quais arquivos estão direta ou indiretamente relacionados com este arquivo:"; } virtual QCString trSince() { @@ -994,7 +996,7 @@ class TranslatorBrazilian : public Translator virtual QCString trLegendDocs() { return - "Esta página explica como interpretar os grafos gerados pelo doxygen.

    \n" + "Esta página explica como interpretar os grafos gerados pelo doxygen.

    \n" "Considere o seguinte exemplo:\n" "\\code\n" "/*! Invisible class because of truncation */\n" @@ -1025,30 +1027,30 @@ class TranslatorBrazilian : public Translator "};\n" "\\endcode\n" - "Se a tag \\c MAX_DOT_GRAPH_HEIGHT no arquivo de configuração tem o valor" - "200, o seguinte gráfo será gerado:" + "Se a tag \\c MAX_DOT_GRAPH_HEIGHT no arquivo de configuração tem o valor" + "200, o seguinte gráfo será gerado:" "

    \n" "

    \n" - "As caixas no grafo acima tem as seguintes interpretações:\n" + "As caixas no grafo acima tem as seguintes interpretações:\n" "

      \n" "
    • Uma caixa inteiramente preta representa a estrutura ou a classe para qual " "o grafo foi gerado.\n" "
    • Uma caixa com bordas pretas denota uma estrutura ou classe documentada.\n" - "
    • Uma caixa com bordas cinzas denota uma estrutura ou classe não documentada.\n" + "
    • Uma caixa com bordas cinzas denota uma estrutura ou classe não documentada.\n" "
    • Uma caixa com bordas vermelhas denota uma estrutura ou classe documentada para\n" - "a qual nem todas as heranças ou componentes são mostradas no grafo. Um grafo é " - "truncado quando este é maior que o tamanho especificado." + "a qual nem todas as heranças ou componentes são mostradas no grafo. Um grafo é " + "truncado quando este é maior que o tamanho especificado." "
    \n" "As setas tem os seguintes significados:\n" "
      \n" - "
    • Uma seta azul escura é utilizada para denotar uma relação de herança " - "pública entre duas classes.\n" - "
    • Uma seta verde escura é utilizada para denotar uma herança protegida.\n" - "
    • Uma seta vermelho escura é utilizada para denotar uma herança privada.\n" - "
    • Uma seta púrpura pontilhada é usada se uma classe está contida ou é utilizada" - "por outra classe. A seta é marcada com a(s) variável(eis) " - "através das quais a classe ou estrutura apontada está acessível. \n" + "
    • Uma seta azul escura é utilizada para denotar uma relação de herança " + "pública entre duas classes.\n" + "
    • Uma seta verde escura é utilizada para denotar uma herança protegida.\n" + "
    • Uma seta vermelho escura é utilizada para denotar uma herança privada.\n" + "
    • Uma seta púrpura pontilhada é usada se uma classe está contida ou é utilizada" + "por outra classe. A seta é marcada com a(s) variável(eis) " + "através das quais a classe ou estrutura apontada está acessível. \n" "
    \n"; } /*! text for the link to the legend page */ @@ -1079,7 +1081,7 @@ class TranslatorBrazilian : public Translator /*! Used as a section header for KDE-2 IDL methods */ virtual QCString trDCOPMethods() { - return "Métodos DCOP"; + return "Métodos DCOP"; } ////////////////////////////////////////////////////////////////////////// @@ -1126,7 +1128,7 @@ class TranslatorBrazilian : public Translator /*! The description of the package index page */ virtual QCString trPackageListDescription() { - return "Esta é a lista com os pacotes e suas respectivas descrições (se disponíveis):"; + return "Esta é a lista com os pacotes e suas respectivas descrições (se disponíveis):"; } /*! The link name in the Quick links header for each page */ virtual QCString trPackages() @@ -1200,7 +1202,7 @@ class TranslatorBrazilian : public Translator /*! Used as header RTF general index */ virtual QCString trRTFGeneralIndex() { - return "Índice"; + return "Ãndice"; } /*! This is used for translation of the word that will possibly @@ -1253,7 +1255,7 @@ class TranslatorBrazilian : public Translator */ virtual QCString trPage(bool first_capital, bool singular) { - QCString result((first_capital ? "Página" : "página")); + QCString result((first_capital ? "Página" : "página")); if (!singular) result+="s"; return result; } @@ -1305,7 +1307,7 @@ class TranslatorBrazilian : public Translator */ virtual QCString trReferences() { - return "Referências"; + return "Referências"; } ////////////////////////////////////////////////////////////////////////// @@ -1337,7 +1339,7 @@ class TranslatorBrazilian : public Translator */ virtual QCString trRTFTableOfContents() { - return "Conteúdo"; + return "Conteúdo"; } ////////////////////////////////////////////////////////////////////////// @@ -1385,7 +1387,7 @@ class TranslatorBrazilian : public Translator */ virtual QCString trPackageMembers() { - return "Funções do Pacote"; + return "Funções do Pacote"; } /*! Used as a heading for a list of static Java class functions with @@ -1393,7 +1395,7 @@ class TranslatorBrazilian : public Translator */ virtual QCString trStaticPackageMembers() { - return "Funções Estáticas do Pacote"; + return "Funções Estáticas do Pacote"; } /*! Used as a heading for a list of Java class variables with package @@ -1409,7 +1411,7 @@ class TranslatorBrazilian : public Translator */ virtual QCString trStaticPackageAttribs() { - return "Atributos Estáticos do Pacote"; + return "Atributos Estáticos do Pacote"; } ////////////////////////////////////////////////////////////////////////// @@ -1426,7 +1428,7 @@ class TranslatorBrazilian : public Translator /*! Put in front of the call graph for a function. */ virtual QCString trCallGraph() { - return "Este é o grafo de chamadas para esta função:"; + return "Este é o grafo de chamadas para esta função:"; } ////////////////////////////////////////////////////////////////////////// @@ -1488,7 +1490,7 @@ class TranslatorBrazilian : public Translator */ virtual QCString trSourceFile(QCString& filename) { - return "Código-Fonte de " + filename; + return "Código-Fonte de " + filename; } ////////////////////////////////////////////////////////////////////////// @@ -1499,32 +1501,32 @@ class TranslatorBrazilian : public Translator * hierarchy. */ virtual QCString trDirIndex() - { return "Hierarquia de Diretórios"; } + { return "Hierarquia de Diretórios"; } /*! This is used as the name of the chapter containing the documentation * of the directories. */ virtual QCString trDirDocumentation() - { return "Documentação do Directório"; } + { return "Documentação do Directório"; } /*! This is used as the title of the directory index and also in the * Quick links of a HTML page, to link to the directory hierarchy. */ virtual QCString trDirectories() - { return "Diretórios"; } + { return "Diretórios"; } /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() - { return "Esta Hierarquia de Diretórios está parcialmente ordenada (ordem alfabética)"; } + { return "Esta Hierarquia de Diretórios está parcialmente ordenada (ordem alfabética)"; } /*! This returns the title of a directory page. The name of the * directory is passed via \a dirName. */ virtual QCString trDirReference(const char *dirName) { - QCString result = "Referência do diretório "; + QCString result = "Referência do diretório "; result += dirName; return result; } @@ -1534,7 +1536,7 @@ class TranslatorBrazilian : public Translator */ virtual QCString trDir(bool first_capital, bool singular) { - QCString result((first_capital ? "Diretório" : "diretório")); + QCString result((first_capital ? "Diretório" : "diretório")); if (!singular) result+="s"; return result; } @@ -1547,8 +1549,8 @@ class TranslatorBrazilian : public Translator */ virtual QCString trOverloadText() { - return "Este é um método provido por conveniência. " - "Ele difere do método acima apenas na lista de " + return "Este é um método provido por conveniência. " + "Ele difere do método acima apenas na lista de " "argumentos que devem ser utilizados."; } @@ -1559,14 +1561,216 @@ class TranslatorBrazilian : public Translator /*! This is used to introduce a caller (or called-by) graph */ virtual QCString trCallerGraph() { - return "Este é o diagrama de chamadas para esta função:"; + return "Este é o diagrama de chamadas para esta função:"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() - { return "Documentação da enumeração"; } + { return "Documentação da enumeração"; } + +////////////////////////////////////////////////////////////////////////// +// new since 1.5.4 (mainly for Fortran) +////////////////////////////////////////////////////////////////////////// + + /*! header that is put before the list of member subprograms (Fortran). */ + virtual QCString trMemberFunctionDocumentationFortran() + { return "Documentação de Função Membro/Subrotina"; } + + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + virtual QCString trCompoundListFortran() + { return "Lista de Tipos de Dados"; } + + /*! This is put above each page as a link to all members of compounds (Fortran). */ + virtual QCString trCompoundMembersFortran() + { return "Campos de Dados"; } + + /*! This is an introduction to the annotated compound list (Fortran). */ + virtual QCString trCompoundListDescriptionFortran() + { return "Aqui estão os tipos de dados com descrições resumidas:"; } + + /*! This is an introduction to the page with all data types (Fortran). */ + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + { + QCString result="Esta é a lista de todos os membros "; + if (!extractAll) result+="documentados "; + result+="dos tipos de dados com links para "; + if (extractAll) + { + result+="a documentação dos tipos de dados para cada membro:"; + } + else + { + result+="os tipos de dados a que pertencem:"; + } + return result; + } + + /*! This is used in LaTeX as the title of the chapter with the + * annotated compound index (Fortran). + */ + virtual QCString trCompoundIndexFortran() + { return "Ãndice de Tipos de Dados"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all data types (Fortran). + */ + virtual QCString trTypeDocumentation() + { return "Documentação dos Tipos de Dados"; } + + /*! This is used in the documentation of a file as a header before the + * list of (global) subprograms (Fortran). + */ + virtual QCString trSubprograms() + { return "Funções/Subrotinas"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for subprograms (Fortran) + */ + virtual QCString trSubprogramDocumentation() + { return "Documentação da Função/Subrotina"; } + + /*! This is used in the documentation of a file/namespace/group before + * the list of links to documented compounds (Fortran) + */ + virtual QCString trDataTypes() + { return "Tipos de Dados"; } + + /*! used as the title of page containing all the index of all modules (Fortran). */ + virtual QCString trModulesList() + { return "Lista de Módulos"; } + + /*! used as an introduction to the modules list (Fortran) */ + virtual QCString trModulesListDescription(bool extractAll) + { + QCString result="Esta é a lista de todos os módulos "; + if (!extractAll) result+="documentados "; + result+="com descrições resumidas:"; + return result; + } + + /*! used as the title of the HTML page of a module/type (Fortran) */ + virtual QCString trCompoundReferenceFortran(const char *clName, + ClassDef::CompoundType compType, + bool isTemplate) + { + QCString result = (QCString)"Referência "; + + if (isTemplate) result+="da Template "; + + switch(compType) + { + case ClassDef::Class: result+="do Modulo "; break; + case ClassDef::Struct: result+="do Tipo "; break; + case ClassDef::Union: result+="da União "; break; + case ClassDef::Interface: result+="da Interface "; break; + case ClassDef::Protocol: result+="do Protocolo "; break; + case ClassDef::Category: result+="da Categoria "; break; + case ClassDef::Exception: result+="da Exceção "; break; + } + result += clName; + + return result; + } + /*! used as the title of the HTML page of a module (Fortran) */ + virtual QCString trModuleReference(const char *namespaceName) + { + QCString result = "Referência do Módulo "; + result += namespaceName; + return result; + } + + /*! This is put above each page as a link to all members of modules. (Fortran) */ + virtual QCString trModulesMembers() + { return "Membros do Módulo"; } + + /*! This is an introduction to the page with all modules members (Fortran) */ + virtual QCString trModulesMemberDescription(bool extractAll) + { + QCString result="Esta é a lista de todos os membros "; + if (!extractAll) result+="documentados "; + result+="dos módulos com links para "; + if (extractAll) + { + result+="a documentação dos módulos para cada membro:"; + } + else + { + result+="os módulos a que pertencem:"; + } + return result; + } + + /*! This is used in LaTeX as the title of the chapter with the + * index of all modules (Fortran). + */ + virtual QCString trModulesIndex() + { return "Ãndice dos Módulos"; } + + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trModule(bool first_capital, bool singular) + { + QCString result((first_capital ? "Modulo" : "modulo")); + if (!singular) result+="s"; + return result; + } + /*! This is put at the bottom of a module documentation page and is + * followed by a list of files that were used to generate the page. + */ + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, + bool single) + { // here s is one of " Module", " Struct" or " Union" + // single is true implies a single file + QCString result=(QCString)"A documentação para "; + switch(compType) + { + case ClassDef::Class: result+="este modulo "; break; + case ClassDef::Struct: result+="este tipo "; break; + case ClassDef::Union: result+="esta união "; break; + case ClassDef::Interface: result+="esta interface "; break; + case ClassDef::Protocol: result+="esto protocolo "; break; + case ClassDef::Category: result+="esta categoria "; break; + case ClassDef::Exception: result+="esta exceção "; break; + } + + result+=" foi gerada a partir do"; + if (single) + result+=" seguinte arquivo:"; + else + result+="s seguintes arquivos:"; + + return result; + } + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trType(bool first_capital, bool singular) + { + QCString result((first_capital ? "Tipo" : "tipo")); + if (!singular) result+="s"; + return result; + } + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trSubprogram(bool first_capital, bool singular) + { + QCString result((first_capital ? "Subprograma" : "subprograma")); + if (!singular) result+="s"; + return result; + } + + /*! C# Type Contraint list */ + virtual QCString trTypeContraints() + { + return "Restrições do Tipo"; + } }; #endif diff --git a/src/translator_ca.h b/src/translator_ca.h index 03a6fa6..38e5dcf 100644 --- a/src/translator_ca.h +++ b/src/translator_ca.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -39,7 +39,7 @@ // Translator class (by the local maintainer) when the localized // translator is made up-to-date again. -class TranslatorCatalan : public Translator +class TranslatorCatalan : public TranslatorAdapter_1_5_4 { public: diff --git a/src/translator_cn.h b/src/translator_cn.h index 54ed3ec..80d7720 100644 --- a/src/translator_cn.h +++ b/src/translator_cn.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -24,7 +24,7 @@ */ #define CN_SPC -class TranslatorChinese : public Translator +class TranslatorChinese : public TranslatorAdapter_1_5_4 { public: /*! Used for identification of the language. The identification diff --git a/src/translator_cz.h b/src/translator_cz.h index 17d2b39..1694d70 100644 --- a/src/translator_cz.h +++ b/src/translator_cz.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -18,58 +18,57 @@ #ifndef TRANSLATOR_CZ_H #define TRANSLATOR_CZ_H +// Updates: +// -------- +// 2007/11/13 - Update for "new since 1.5.4 (mainly for Fortran)". +// 2007/03/20 - removing decode(), conversion of literals to UTF-8. +// 2006/06/13 - translation of the trEnumerationValueDocumentation(). +// and clear in the Czech language. +// modified trCallGraph() to make the meaning unambiguous +// 2006/05/10 - Update for "new since 1.4.6" -- trCallerGraph(), +// 2005/03/08 - Update for "new since 1.4.1" (trOverloadText()) +// 2005/02/11 - The "never used" methods removed. +// 2004/09/14 - The new methods "since 1.3.9" implemented. +// 2004/06/16 - The new method "since 1.3.8" implemented. +// 2004/02/27 - Text inside the trCallGraph() corrected. +// 2004/02/26 - trLegendDocs() updated. +// 2003/08/13 - Four new methods "since 1.3.3" implemented. +// 2003/06/10 - Two new methods "since 1.3.1" implemented. +// 2003/04/28 - Five new methods "since 1.3" implemented. +// 2002/10/15 - The new trEvents() and trEventDocumentation() implemented. +// 2002/07/29 - The new trDeprecatedList() implemented. +// 2002/07/08 - The new trRTFTableOfContents() implemented. (my birthday! ;) +// 2002/03/05 - ... forgot to replace TranslatorAdapter... by Translator. +// 2002/01/23 - Two new methods "since 1.2.13" implemented. +// 2001/11/06 - trReferences() implemented. +// 2001/07/16 - trClassDocumentation() updated as in the English translator. +// 2001/05/25 - Corrections. +// 2001/05/18 - Updates, corrections. +// 2001/05/02 - Decode() inline changed to decode(); cleaning. +// level as other translators. +// class Translator. The English translator is now on the same +// introducing TranslatorAdapter class and the abstract base +// 2001/04/20 - Update for "new since 1.2.6-20010422". Experimental version +// 2001/04/10 - Updates (1.2.6-20010408), cleaning. +// 2001/03/12 - Minor correction of comments (synchronous with translator.h). +// 2001/02/26 - Update for "new since 1.2.5" version (trBug(), trBugList()). +// 2001/02/15 - trMore() now returns only "..." (ellipsis). +// 2001/01/09 - Update for "new since 1.2.4" version. +// 2000/10/17 - Update for "new since 1.2.2" version. +// 2000/09/11 - Update for "new since 1.2.1" version. +// 2000/09/06 - Reimplementation of trInheritsList(). +// 2000/08/31 - ISOToWin() and WinToISO() moved to the base class. +// 2000/08/30 - Macro DECODE replaced by the inline (thanks to Boris Bralo). +// 2000/08/24 - Corrections, updates. +// 2000/08/02 - Updated for 1.2.0 +// 2000/07/19 - Updates for "new since 1.1.5"; encoding conversion separated. +// 2000/07/10 - Update to 1.1.5; conditionally decoding to iso-8859-2 for UNIX. +// 2000/06/20 - Prototype: with diacritics; based on ver. 1.1.4 (from scratch). // -// // The first translation from English to Czech was started by // Vlastimil Havran (1999--2000). The prototype version of Czech strings // with diacritics was implemented by Petr Prikryl (prikrylp@skil.cz), // 2000/06/20. Vlastimil agreed that Petr be the new maintainer. -// -// Updates: -// -------- -// 2000/06/20 - Prototype: with diacritics; based on ver. 1.1.4 (from scratch). -// 2000/07/10 - Update to 1.1.5; conditionally decoding to iso-8859-2 for UNIX. -// 2000/07/19 - Updates for "new since 1.1.5"; encoding conversion separated. -// 2000/08/02 - Updated for 1.2.0 -// 2000/08/24 - Corrections, updates. -// 2000/08/30 - Macro DECODE replaced by the inline (thanks to Boris Bralo). -// 2000/08/31 - ISOToWin() and WinToISO() moved to the base class. -// 2000/09/06 - Reimplementation of trInheritsList(). -// 2000/09/11 - Update for "new since 1.2.1" version. -// 2000/10/17 - Update for "new since 1.2.2" version. -// 2001/01/09 - Update for "new since 1.2.4" version. -// 2001/02/15 - trMore() now returns only "..." (ellipsis). -// 2001/02/26 - Update for "new since 1.2.5" version (trBug(), trBugList()). -// 2001/03/12 - Minor correction of comments (synchronous with translator.h). -// 2001/04/10 - Updates (1.2.6-20010408), cleaning. -// 2001/04/20 - Update for "new since 1.2.6-20010422". Experimental version -// introducing TranslatorAdapter class and the abstract base -// class Translator. The English translator is now on the same -// level as other translators. -// 2001/05/02 - ) inline changed to ); cleaning. -// 2001/05/18 - Updates, corrections. -// 2001/05/25 - Corrections. -// 2001/07/16 - trClassDocumentation() updated as in the English translator. -// 2001/11/06 - trReferences() implemented. -// 2002/01/23 - Two new methods "since 1.2.13" implemented. -// 2002/03/05 - ... forgot to replace TranslatorAdapter... by Translator. -// 2002/07/08 - The new trRTFTableOfContents() implemented. (my birthday! ;) -// 2002/07/29 - The new trDeprecatedList() implemented. -// 2002/10/15 - The new trEvents() and trEventDocumentation() implemented. -// 2003/04/28 - Five new methods "since 1.3" implemented. -// 2003/06/10 - Two new methods "since 1.3.1" implemented. -// 2003/08/13 - Four new methods "since 1.3.3" implemented. -// 2004/02/26 - trLegendDocs() updated. -// 2004/02/27 - Text inside the trCallGraph() corrected. -// 2004/06/16 - The new method "since 1.3.8" implemented. -// 2004/09/14 - The new methods "since 1.3.9" implemented. -// 2005/02/11 - The "never used" methods removed. -// 2005/03/08 - Update for "new since 1.4.1" (trOverloadText()) -// 2006/05/10 - Update for "new since 1.4.6" -- trCallerGraph(), -// modified trCallGraph() to make the meaning unambiguous -// and clear in the Czech language. -// 2006/06/13 - translation of the trEnumerationValueDocumentation(). -// 2007/03/20 - removing ), conversion of literals to UTF-8. // Todo // ---- @@ -77,17 +76,6 @@ // reimplemented element. It can be method, typedef or possibly // something else. It is difficult to find the general translation // for all kinds in the Czech language. -// -// Notices: -// -------- -// The conditional compilation ensures or the neutral functionality -// of the private inline ), or calling the WinToISO() method -// for on-line encoding conversion. If you want to maintain the -// source in the iso-8859-2, do convert the encoding of the source, -// change the conditional definition of the inline ) using the -// method ISO88592ToWin1250() -- for conversion of strings for the -// Windows version. The version which does not call the function is -// probably slightly faster. class TranslatorCzech : public Translator { @@ -106,14 +94,7 @@ class TranslatorCzech : public Translator /*! return the language charset. This will be used for the HTML output */ virtual QCString idLanguageCharset() { - //if (Config_getBool("USE_WINDOWS_ENCODING")) - //{ return "utf-8"; - //} - //else - //{ - // return "iso-8859-2"; - //} } // --- Language translation methods ------------------- @@ -1633,6 +1614,208 @@ class TranslatorCzech : public Translator { return "Dokumentace výÄtových hodnot"; } + +////////////////////////////////////////////////////////////////////////// +// new since 1.5.4 (mainly for Fortran) +////////////////////////////////////////////////////////////////////////// + + /*! header that is put before the list of member subprograms (Fortran). */ + virtual QCString trMemberFunctionDocumentationFortran() + { return "Dokumentace Älenských funkcí/podprogramů"; } + + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + virtual QCString trCompoundListFortran() + { return "Seznam datových typů"; } + + /*! This is put above each page as a link to all members of compounds (Fortran). */ + virtual QCString trCompoundMembersFortran() + { return "Datová pole"; } + + /*! This is an introduction to the annotated compound list (Fortran). */ + virtual QCString trCompoundListDescriptionFortran() + { return "Datové typy se struÄnými popisy:"; } + + /*! This is an introduction to the page with all data types (Fortran). */ + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + { + + QCString result="Následuje seznam vÅ¡ech "; + if (!extractAll) + { + result+="dokumentovaných "; + } + result+="složek datových typů"; + result+=" s odkazy na "; + if (!extractAll) + { + result+="dokumentaci datové struktury pro každou složku:"; + } + else + { + result+="přísluÅ¡né datové typy:"; + } + return result; + } + + /*! This is used in LaTeX as the title of the chapter with the + * annotated compound index (Fortran). + */ + virtual QCString trCompoundIndexFortran() + { return "Rejstřík datových typů"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all data types (Fortran). + */ + virtual QCString trTypeDocumentation() + { return "Dokumentace k datovým typům"; } + + /*! This is used in the documentation of a file as a header before the + * list of (global) subprograms (Fortran). + */ + virtual QCString trSubprograms() + { return "Funkce/podprogramy"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for subprograms (Fortran) + */ + virtual QCString trSubprogramDocumentation() + { return "Dokumentace funkce/podprogramu"; } + + /*! This is used in the documentation of a file/namespace/group before + * the list of links to documented compounds (Fortran) + */ + virtual QCString trDataTypes() + { return "Datové typy"; } + + /*! used as the title of page containing all the index of all modules (Fortran). */ + virtual QCString trModulesList() + { return "Seznam modulů"; } + + /*! used as an introduction to the modules list (Fortran) */ + virtual QCString trModulesListDescription(bool extractAll) + { + QCString result="Následuje seznam vÅ¡ech "; + if (!extractAll) result+="dokumentovaných "; + result+="modulů se struÄnými popisy:"; + return result; + } + + /*! used as the title of the HTML page of a module/type (Fortran) */ + virtual QCString trCompoundReferenceFortran(const char *clName, + ClassDef::CompoundType compType, + bool isTemplate) + { + QCString result("Dokumentace "); + if (isTemplate) result += "Å¡ablony "; + switch(compType) + { + case ClassDef::Class: result += "třídy "; break; + case ClassDef::Struct: result += "typu "; break; + case ClassDef::Union: result += "unie "; break; + case ClassDef::Interface: result += "rozhraní "; break; + case ClassDef::Protocol: result += "protokolu "; break; + case ClassDef::Category: result += "kategorie "; break; + case ClassDef::Exception: result += "výjimky "; break; + } + result += clName; + return result; + + } + /*! used as the title of the HTML page of a module (Fortran) */ + virtual QCString trModuleReference(const char *namespaceName) + { + QCString result="Dokumentace modulu "; + result += namespaceName; + return result; + } + + /*! This is put above each page as a link to all members of modules. (Fortran) */ + virtual QCString trModulesMembers() + { return "Části modulu"; } + + /*! This is an introduction to the page with all modules members (Fortran) */ + virtual QCString trModulesMemberDescription(bool extractAll) + { + QCString result="Následuje seznam vÅ¡ech "; + if (!extractAll) result+="dokumentovaných "; + result+="Äástí modulů s odkazy "; + if (extractAll) + { + result+="na dokumentaci modulu pro danou Äást:"; + } + else + { + result+="na moduly, ke kterým Äást patří:"; + } + return result; + } + + /*! This is used in LaTeX as the title of the chapter with the + * index of all modules (Fortran). + */ + virtual QCString trModulesIndex() + { return "Rejstřík modulů"; } + + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trModule(bool first_capital, bool singular) + { + QCString result((first_capital ? "Modul" : "modul")); + if (!singular) result+="y"; + return result; + } + /*! This is put at the bottom of a module documentation page and is + * followed by a list of files that were used to generate the page. + */ + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, + bool single) + { // here s is one of " Module", " Struct" or " Union" + // single is true implies a single file + QCString result=(QCString)"Dokumentace "; + switch(compType) + { + case ClassDef::Class: result+="k tomuto modulu"; break; + case ClassDef::Struct: result+="k tomuto typu"; break; + case ClassDef::Union: result+="k této unii"; break; + case ClassDef::Interface: result+="k tomuto rozhraní"; break; + case ClassDef::Protocol: result+="k tomuto protokolu"; break; + case ClassDef::Category: result+="k této kategorii"; break; + case ClassDef::Exception: result+="k této výjimce"; break; + } + result+=" byla vygenerována z "; + if (single) result+="následujícího souboru:"; + else result+="následujících souborů:"; + return result; + } + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trType(bool first_capital, bool singular) + { + QCString result((first_capital ? "Typ" : "typ")); + if (!singular) result+="y"; + return result; + } + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trSubprogram(bool first_capital, bool singular) + { + QCString result((first_capital ? "Podprogram" : "podprogram")); + if (!singular) result+="y"; + return result; + } + + /*! C# Type Contraint list */ + virtual QCString trTypeConstraints() + { + return "Omezení typů (Type Constraints)"; + } + }; #endif // TRANSLATOR_CZ_H diff --git a/src/translator_de.h b/src/translator_de.h index fd1313d..1bbe711 100644 --- a/src/translator_de.h +++ b/src/translator_de.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -117,7 +117,7 @@ #ifndef TRANSLATOR_DE_H #define TRANSLATOR_DE_H -class TranslatorGerman : public Translator +class TranslatorGerman : public TranslatorAdapter_1_5_4 { public: diff --git a/src/translator_dk.h b/src/translator_dk.h index 70ff479..6f46dbc 100644 --- a/src/translator_dk.h +++ b/src/translator_dk.h @@ -3,7 +3,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -79,7 +79,7 @@ #ifndef TRANSLATOR_DK_H #define TRANSLATOR_DK_H -class TranslatorDanish : public Translator +class TranslatorDanish : public TranslatorAdapter_1_5_4 { public: diff --git a/src/translator_en.h b/src/translator_en.h index c6fde5b..fda3b22 100644 --- a/src/translator_en.h +++ b/src/translator_en.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -42,10 +42,6 @@ */ class TranslatorEnglish : public Translator { - protected: - friend class TranslatorAdapterBase; - virtual ~TranslatorEnglish() {} - public: // --- Language control methods ------------------- @@ -1582,6 +1578,203 @@ class TranslatorEnglish : public Translator virtual QCString trEnumerationValueDocumentation() { return "Enumerator Documentation"; } +////////////////////////////////////////////////////////////////////////// +// new since 1.5.4 (mainly for Fortran) +////////////////////////////////////////////////////////////////////////// + + /*! header that is put before the list of member subprograms (Fortran). */ + virtual QCString trMemberFunctionDocumentationFortran() + { return "Member Function/Subroutine Documentation"; } + + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + virtual QCString trCompoundListFortran() + { return "Data Types List"; } + + /*! This is put above each page as a link to all members of compounds (Fortran). */ + virtual QCString trCompoundMembersFortran() + { return "Data Fields"; } + + /*! This is an introduction to the annotated compound list (Fortran). */ + virtual QCString trCompoundListDescriptionFortran() + { return "Here are the data types with brief descriptions:"; } + + /*! This is an introduction to the page with all data types (Fortran). */ + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + { + QCString result="Here is a list of all "; + if (!extractAll) + { + result+="documented "; + } + result+="data types members"; + result+=" with links to "; + if (!extractAll) + { + result+="the data structure documentation for each member"; + } + else + { + result+="the data types they belong to:"; + } + return result; + } + + /*! This is used in LaTeX as the title of the chapter with the + * annotated compound index (Fortran). + */ + virtual QCString trCompoundIndexFortran() + { return "Data Type Index"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all data types (Fortran). + */ + virtual QCString trTypeDocumentation() + { return "Data Type Documentation"; } + + /*! This is used in the documentation of a file as a header before the + * list of (global) subprograms (Fortran). + */ + virtual QCString trSubprograms() + { return "Functions/Subroutines"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for subprograms (Fortran) + */ + virtual QCString trSubprogramDocumentation() + { return "Function/Subroutine Documentation"; } + + /*! This is used in the documentation of a file/namespace/group before + * the list of links to documented compounds (Fortran) + */ + virtual QCString trDataTypes() + { return "Data Types"; } + + /*! used as the title of page containing all the index of all modules (Fortran). */ + virtual QCString trModulesList() + { return "Modules List"; } + + /*! used as an introduction to the modules list (Fortran) */ + virtual QCString trModulesListDescription(bool extractAll) + { + QCString result="Here is a list of all "; + if (!extractAll) result+="documented "; + result+="modules with brief descriptions:"; + return result; + } + + /*! used as the title of the HTML page of a module/type (Fortran) */ + virtual QCString trCompoundReferenceFortran(const char *clName, + ClassDef::CompoundType compType, + bool isTemplate) + { + QCString result=(QCString)clName; + switch(compType) + { + case ClassDef::Class: result+=" Module"; break; + case ClassDef::Struct: result+=" Type"; break; + case ClassDef::Union: result+=" Union"; break; + case ClassDef::Interface: result+=" Interface"; break; + case ClassDef::Protocol: result+=" Protocol"; break; + case ClassDef::Category: result+=" Category"; break; + case ClassDef::Exception: result+=" Exception"; break; + } + if (isTemplate) result+=" Template"; + result+=" Reference"; + return result; + } + /*! used as the title of the HTML page of a module (Fortran) */ + virtual QCString trModuleReference(const char *namespaceName) + { + QCString result=namespaceName; + result+=" Module Reference"; + return result; + } + + /*! This is put above each page as a link to all members of modules. (Fortran) */ + virtual QCString trModulesMembers() + { return "Module Members"; } + + /*! This is an introduction to the page with all modules members (Fortran) */ + virtual QCString trModulesMemberDescription(bool extractAll) + { + QCString result="Here is a list of all "; + if (!extractAll) result+="documented "; + result+="module members with links to "; + if (extractAll) + { + result+="the module documentation for each member:"; + } + else + { + result+="the modules they belong to:"; + } + return result; + } + + /*! This is used in LaTeX as the title of the chapter with the + * index of all modules (Fortran). + */ + virtual QCString trModulesIndex() + { return "Modules Index"; } + + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trModule(bool first_capital, bool singular) + { + QCString result((first_capital ? "Module" : "module")); + if (!singular) result+="s"; + return result; + } + /*! This is put at the bottom of a module documentation page and is + * followed by a list of files that were used to generate the page. + */ + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, + bool single) + { // here s is one of " Module", " Struct" or " Union" + // single is true implies a single file + QCString result=(QCString)"The documentation for this "; + switch(compType) + { + case ClassDef::Class: result+="module"; break; + case ClassDef::Struct: result+="type"; break; + case ClassDef::Union: result+="union"; break; + case ClassDef::Interface: result+="interface"; break; + case ClassDef::Protocol: result+="protocol"; break; + case ClassDef::Category: result+="category"; break; + case ClassDef::Exception: result+="exception"; break; + } + result+=" was generated from the following file"; + if (single) result+=":"; else result+="s:"; + return result; + } + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trType(bool first_capital, bool singular) + { + QCString result((first_capital ? "Type" : "type")); + if (!singular) result+="s"; + return result; + } + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trSubprogram(bool first_capital, bool singular) + { + QCString result((first_capital ? "Subprogram" : "subprogram")); + if (!singular) result+="s"; + return result; + } + + /*! C# Type Constraint list */ + virtual QCString trTypeConstraints() + { + return "Type Constraints"; + } }; diff --git a/src/translator_es.h b/src/translator_es.h index d145f69..7ae0072 100644 --- a/src/translator_es.h +++ b/src/translator_es.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -27,7 +27,7 @@ #ifndef TRANSLATOR_ES_H #define TRANSLATOR_ES_H -class TranslatorSpanish : public Translator +class TranslatorSpanish : public TranslatorAdapter_1_5_4 { public: diff --git a/src/translator_fa.h b/src/translator_fa.h index 5f3a436..1a245b2 100644 --- a/src/translator_fa.h +++ b/src/translator_fa.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/translator_fi.h b/src/translator_fi.h index 132da4d..43813e6 100644 --- a/src/translator_fi.h +++ b/src/translator_fi.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/translator_fr.h b/src/translator_fr.h index 0ee59b5..1ea6d00 100644 --- a/src/translator_fr.h +++ b/src/translator_fr.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -100,7 +100,7 @@ // Translator class (by the local maintainer) when the localized // translator is made up-to-date again. -class TranslatorFrench : public Translator +class TranslatorFrench : public TranslatorAdapter_1_5_4 { public: diff --git a/src/translator_gr.h b/src/translator_gr.h index 224fe99..04f523b 100644 --- a/src/translator_gr.h +++ b/src/translator_gr.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -26,7 +26,7 @@ #ifndef TRANSLATOR_GR_H #define TRANSLATOR_GR_H -class TranslatorGreek : public Translator +class TranslatorGreek : public TranslatorAdapter_1_5_4 { protected: friend class TranslatorAdapterBase; diff --git a/src/translator_hr.h b/src/translator_hr.h index 81d29f1..84f38be 100644 --- a/src/translator_hr.h +++ b/src/translator_hr.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -108,7 +108,7 @@ class TranslatorCroatian : public Translator QCString trRelatedSubscript() { return "(To nisu member funkcije.)"; } QCString trDetailedDescription() - { return decode("Detaljno obja¹njenje"); } + { return decode("Detaljno objašnjenje"); } QCString trMemberTypedefDocumentation() { return decode("Dokumentacija typedef èlanova"); } QCString trMemberEnumerationDocumentation() @@ -118,7 +118,7 @@ class TranslatorCroatian : public Translator QCString trMemberDataDocumentation() { return "Documentacija varijabli"; } QCString trMore() - { return decode("Op¹irnije..."); } + { return decode("Opširnije..."); } QCString trListOfAllMembers() { return decode("Popis svih èlanova."); } QCString trMemberList() @@ -170,10 +170,10 @@ class TranslatorCroatian : public Translator QCString trExamples() { return "Primjeri"; } QCString trSearch() - { return decode("Tra¾i"); } + { return decode("Traži"); } QCString trClassHierarchyDescription() - { return decode("Stablo naslijeðivanja je slo¾eno " - "pribli¾no po abecedi:"); + { return decode("Stablo naslijeðivanja je složeno " + "približno po abecedi:"); } QCString trFileListDescription(bool extractAll) { @@ -371,8 +371,8 @@ class TranslatorCroatian : public Translator case ClassDef::Struct: result+=" strukture "; break; case ClassDef::Union: result+=" unije "; break; case ClassDef::Interface: result+=" suèelja (interface) "; break; - case ClassDef::Protocol: result+=" protocol "; break; // translate me! - case ClassDef::Category: result+=" category "; break; // translate me! + case ClassDef::Protocol: result+=" protokola "; break; + case ClassDef::Category: result+=" kategorije "; break; case ClassDef::Exception: result+=" iznimke (exception) "; break; } result += clName; @@ -411,11 +411,11 @@ class TranslatorCroatian : public Translator QCString trStaticProtectedMembers() { return decode("Static protected èlanovi"); } QCString trPrivateMembers() - { return decode("Private èlanovi"); } + { return decode("Privatni èlanovi"); } QCString trPrivateSlots() - { return decode("Private slotovi"); } + { return decode("Privatni slotovi"); } QCString trStaticPrivateMembers() - { return decode("Static private èlanovi"); } + { return decode("Statièni privatni èlanovi"); } // end of member sections QCString trWriteList(int numEntries) @@ -514,15 +514,15 @@ class TranslatorCroatian : public Translator bool single) { // here s is one of " Class", " Struct" or " Union" // single is true implies a single file - QCString result="Dokumentacija ove "; + QCString result="Dokumentacija "; switch(compType) { case ClassDef::Class: result+="klase"; break; case ClassDef::Struct: result+="strukture"; break; case ClassDef::Union: result+="unije"; break; case ClassDef::Interface: result+="suèelja (interface)"; break; - case ClassDef::Protocol: result+="protocol"; break; // translate me! - case ClassDef::Category: result+="category"; break; // translate me! + case ClassDef::Protocol: result+="protokola"; break; + case ClassDef::Category: result+="kategorije"; break; case ClassDef::Exception: result+="iznimke (exception)"; break; } result+=" je generirana iz " + trFile(FALSE, single) + ": "; @@ -720,7 +720,7 @@ class TranslatorCroatian : public Translator } virtual QCString trAttention() { - return decode("Pa¾nja"); + return decode("Pažnja"); } virtual QCString trInclByDepGraph() { @@ -745,7 +745,7 @@ class TranslatorCroatian : public Translator virtual QCString trLegendDocs() { return - decode( "Ova stranica obja¹njava kako interpretirati grafikone koje je generirao " + decode( "Ova stranica objašnjava kako interpretirati grafikone koje je generirao " "doxygen.

    \n" "Na primjer:\n" "\\code\n" @@ -908,7 +908,7 @@ class TranslatorCroatian : public Translator /*! Used as header RTF general index */ virtual QCString trRTFGeneralIndex() { - return decode("Sadr¾aj"); + return decode("Sadržaj"); } /*! This is used for translation of the word that will possibly @@ -1046,7 +1046,7 @@ class TranslatorCroatian : public Translator */ virtual QCString trRTFTableOfContents() { - return decode("Sadr¾aj"); + return decode("Sadržaj"); } ////////////////////////////////////////////////////////////////////////// // new since 1.2.17 @@ -1274,6 +1274,202 @@ class TranslatorCroatian : public Translator */ virtual QCString trEnumerationValueDocumentation() { return "Dokumentacija enumeracija"; } +////////////////////////////////////////////////////////////////////////// +// new since 1.5.4 (mainly for Fortran) +////////////////////////////////////////////////////////////////////////// + + /*! header that is put before the list of member subprograms (Fortran). */ + virtual QCString trMemberFunctionDocumentationFortran() + { return "Dokumentacija member funkcija/subrutina"; } + + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + virtual QCString trCompoundListFortran() + { return "Lista tipova podataka"; } + + /*! This is put above each page as a link to all members of compounds (Fortran). */ + virtual QCString trCompoundMembersFortran() + { return "Polja"; } + + /*! This is an introduction to the annotated compound list (Fortran). */ + virtual QCString trCompoundListDescriptionFortran() + { return "Tipovi podataka s kratkim opisom:"; } + + /*! This is an introduction to the page with all data types (Fortran). */ + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + { + QCString result="Lista svih "; + if (!extractAll) + { + result+="dokumentiranih "; + } + result+="polja"; + result+=" s linkovima na "; + if (!extractAll) + { + result+="dokumentaciju struktura podataka za svako polje"; + } + else + { + result+="strukture kojima pripadaju:"; + } + return result; + } + + /*! This is used in LaTeX as the title of the chapter with the + * annotated compound index (Fortran). + */ + virtual QCString trCompoundIndexFortran() + { return "Kazalo data tipova"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all data types (Fortran). + */ + virtual QCString trTypeDocumentation() + { return "Dokumentacija tipova podataka"; } + + /*! This is used in the documentation of a file as a header before the + * list of (global) subprograms (Fortran). + */ + virtual QCString trSubprograms() + { return "Funkcije/Subrutine"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for subprograms (Fortran) + */ + virtual QCString trSubprogramDocumentation() + { return "Documentacija funkcija/subrutina"; } + + /*! This is used in the documentation of a file/namespace/group before + * the list of links to documented compounds (Fortran) + */ + virtual QCString trDataTypes() + { return "Tipovi podataka"; } + + /*! used as the title of page containing all the index of all modules (Fortran). */ + virtual QCString trModulesList() + { return "Popis modula"; } + + /*! used as an introduction to the modules list (Fortran) */ + virtual QCString trModulesListDescription(bool extractAll) + { + QCString result="Lista svih "; + if (!extractAll) result+="dokumentiranih "; + result+="modula s kratkim opisom:"; + return result; + } + + /*! used as the title of the HTML page of a module/type (Fortran) */ + virtual QCString trCompoundReferenceFortran(const char *clName, + ClassDef::CompoundType compType, + bool isTemplate) + { + QCString result=(QCString)clName; + switch(compType) + { + case ClassDef::Class: result+=" Modul"; break; + case ClassDef::Struct: result+=" Tip"; break; + case ClassDef::Union: result+=" Unija"; break; + case ClassDef::Interface: result+=" Suèelje"; break; + case ClassDef::Protocol: result+=" Protokol"; break; + case ClassDef::Category: result+=" Kategorija"; break; + case ClassDef::Exception: result+=" Iznimka"; break; + } + if (isTemplate) result+=" Predložak"; + result+=" Referenca"; + return result; + } + /*! used as the title of the HTML page of a module (Fortran) */ + virtual QCString trModuleReference(const char *namespaceName) + { + QCString result=namespaceName; + result+=" - Sadržaj modula"; + return result; + } + + /*! This is put above each page as a link to all members of modules. (Fortran) */ + virtual QCString trModulesMembers() + { return "Èlanovi modula"; } + + /*! This is an introduction to the page with all modules members (Fortran) */ + virtual QCString trModulesMemberDescription(bool extractAll) + { + QCString result="Lista svih "; + if (!extractAll) result+="dokumentiranih "; + result+="èlanova modula s linkovima na "; + if (extractAll) + { + result+="dokumentaciju modula za svaki èlan:"; + } + else + { + result+="modul kojem pripadaju:"; + } + return result; + } + + /*! This is used in LaTeX as the title of the chapter with the + * index of all modules (Fortran). + */ + virtual QCString trModulesIndex() + { return "Kazalo modula"; } + + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trModule(bool first_capital, bool singular) + { + QCString result((first_capital ? "Modul" : "modul")); + if (!singular) result+="i"; + return result; + } + /*! This is put at the bottom of a module documentation page and is + * followed by a list of files that were used to generate the page. + */ + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, + bool) + { // here s is one of " Module", " Struct" or " Union" + // single is true implies a single file + QCString result=(QCString)"Dokumentacija ovog "; + switch(compType) + { + case ClassDef::Class: result+="modula"; break; + case ClassDef::Struct: result+="tipa"; break; + case ClassDef::Union: result+="unije"; break; + case ClassDef::Interface: result+="suèelja"; break; + case ClassDef::Protocol: result+="protokola"; break; + case ClassDef::Category: result+="kategorije"; break; + case ClassDef::Exception: result+="iznimke"; break; + } + result+=" je generirana iz :"; + return result; + } + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trType(bool first_capital, bool singular) + { + QCString result((first_capital ? "Tip" : "tip")); + if (!singular) result+="ovi"; + return result; + } + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trSubprogram(bool first_capital, bool singular) + { + QCString result((first_capital ? "Subprogram" : "subprogram")); + if (!singular) result+="i"; + return result; + } + + /*! C# Type Contraint list */ + virtual QCString trTypeConstraints() + { + return "Ogranièenja za tip podataka"; + } }; #endif diff --git a/src/translator_hu.h b/src/translator_hu.h index dd3e405..a6e4a82 100644 --- a/src/translator_hu.h +++ b/src/translator_hu.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/translator_id.h b/src/translator_id.h index 311e0a8..d0fc52b 100644 --- a/src/translator_id.h +++ b/src/translator_id.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/translator_it.h b/src/translator_it.h index edaba52..6f80b22 100644 --- a/src/translator_it.h +++ b/src/translator_it.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -19,6 +19,8 @@ * * Revision history * + * 2007/11: updated translation of new items used since version 1.5.4 + * 2007/10: Included corrections provided by Arialdo Martini , updated some strings marked with 'translate me' comment * 2006/10: made class to derive directly from Translator class (reported in Petr Prikryl October 9 translator report) * 2006/06: updated translation of new items used since version 1.4.6 * 2006/05: translated new items used since version 1.4.6 @@ -56,7 +58,7 @@ * commented translator.h for the english language * 1999/09: corrected some small typos in the "new since 0.49-990425" section * added the "new since 0.49-990728" section - * 1999/06: revised and completed by Alessandro Falappa (actual mantainer) + * 1999/06: revised and completed by Alessandro Falappa (current mantainer) * 1999/??: initial italian translation by Ahmed Aldo Faisal */ @@ -67,7 +69,7 @@ * Nella traduzione non si sono tradotti alcuni termini inglesi ormai entrati * a far parte del "gergo" informatico (per es. file o namespace) * - * Il plurale dei termini inglesi non tradotti è stato reso con il singolare + * Il plurale dei termini inglesi non tradotti è stato reso con il singolare * della parola inglese secondo una convenzione spesso ritrovata nella documentazione * tecnica (ad es. "lista dei file" e non "lista dei files") * @@ -104,7 +106,7 @@ class TranslatorItalian : public Translator /*! return the language charset. This will be used for the HTML output */ virtual QCString idLanguageCharset() { - return "iso-8859-1"; + return "UTF-8"; } // --- Language translation methods ------------------- @@ -119,7 +121,7 @@ class TranslatorItalian : public Translator /*! header that is put before the detailed description of files, classes and namespaces. */ QCString trDetailedDescription() - { return "Descrizione Dettagliata"; } + { return "Descrizione dettagliata"; } /*! header that is put before the list of typedefs. */ QCString trMemberTypedefDocumentation() @@ -152,15 +154,15 @@ class TranslatorItalian : public Translator /*! put in the class documentation */ QCString trListOfAllMembers() - { return "Lista di tutti i membri."; } + { return "Elenco di tutti i membri."; } /*! used as the title of the "list of all members" page of a class */ QCString trMemberList() - { return "Lista dei membri"; } + { return "Elenco dei membri"; } /*! this is the first part of a sentence that is followed by a class name */ QCString trThisIsTheListOfAllMembers() - { return "Questa è la lista completa di tutti i membri di "; } + { return "Questo è l'elenco completo di tutti i membri di "; } /*! this is the remainder of the sentence after the class name */ QCString trIncludingInheritedMembers() @@ -210,13 +212,13 @@ class TranslatorItalian : public Translator } else { - return "Lista dei composti"; + return "Elenco dei tipi composti"; } } /*! This is put above each page as a link to the list of documented files */ QCString trFileList() - { return "Lista dei file"; } + { return "Elenco dei file"; } /*! This is put above each page as a link to all members of compounds. */ QCString trCompoundMembers() @@ -259,14 +261,14 @@ class TranslatorItalian : public Translator /*! This is an introduction to the class hierarchy. */ QCString trClassHierarchyDescription() { - return "Questa lista di ereditarietà è ordinata " + return "Questo elenco di ereditarietà è ordinato " "approssimativamente, ma non completamente, in ordine alfabetico:"; } /*! This is an introduction to the list with all files. */ QCString trFileListDescription(bool extractAll) { - QCString result="Questa è una lista "; + QCString result="Questo è un elenco "; if (!extractAll) result+="dei file documentati "; else result+="di tutti i file "; result+="con una loro breve descrizione:"; @@ -283,14 +285,14 @@ class TranslatorItalian : public Translator } else { - return "Queste sono le classi, structs, unions e interfacce con una loro breve descrizione:"; + return "Queste sono le classi, le struct, le union e le interfacce con una loro breve descrizione:"; } } /*! This is an introduction to the page with all class members. */ QCString trCompoundMembersDescription(bool extractAll) { - QCString result="Questa è una lista "; + QCString result="Questo è un elenco "; if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { if (!extractAll) result+="delle struct e delle union documentate "; @@ -309,7 +311,7 @@ class TranslatorItalian : public Translator } else { - if (extractAll) result+="della classe di ciascun membro:"; + if (extractAll) result+="della classe a cui appartengono:"; else result+="delle classi a cui appartengono:"; } return result; @@ -318,11 +320,11 @@ class TranslatorItalian : public Translator /*! This is an introduction to the page with all file members. */ QCString trFileMembersDescription(bool extractAll) { - QCString result="Questa è una lista "; + QCString result="Questo è un elenco "; if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - if (!extractAll) result+="delle funczioni, variabili, define, tipi enumerati, e typedefs documentati "; - else result+="di tutte le funczioni, variabili, define, tipi enumerati, e typedefs "; + if (!extractAll) result+="delle funczioni, delle variabili, delle define, dei tipi enumerati e delle typedef documentate "; + else result+="di tutte le funczioni, variabili, define, tipi enumerati, e typedef "; } else { @@ -337,15 +339,15 @@ class TranslatorItalian : public Translator /*! This is an introduction to the page with the list of all examples */ QCString trExamplesDescription() - { return "Questa è la lista di tutti gli esempi:"; } + { return "Questo è l'elenco di tutti gli esempi:"; } /*! This is an introduction to the page with the list of related pages */ QCString trRelatedPagesDescription() - { return "Questa è la lista di tutte le pagine di documentazione generale:"; } + { return "Questo è l'elenco di tutte le pagine di documentazione generale:"; } /*! This is an introduction to the page with the list of class/file groups */ QCString trModulesDescription() - { return "Questa è la lista di tutti i moduli:"; } + { return "Questo è l'elenco di tutti i moduli:"; } // index titles (the project name is prepended for these) @@ -376,7 +378,7 @@ class TranslatorItalian : public Translator } else { - return "Indice dei composti"; + return "Indice dei tipi composti"; } } @@ -414,7 +416,7 @@ class TranslatorItalian : public Translator * the documentation of all related pages. */ QCString trPageDocumentation() - { return "Documentazione delle pagine collegate fra loro"; } + { return "Documentazione delle pagine tra loro collegate "; } /*! This is used in LaTeX as the title of the document */ QCString trReferenceManual() @@ -436,7 +438,7 @@ class TranslatorItalian : public Translator * list of typedefs */ QCString trTypedefs() - { return "Ridefinizioni di tipo (typedefs)"; } + { return "Ridefinizioni di tipo (typedef)"; } /*! This is used in the documentation of a file as a header before the * list of enumerations @@ -478,7 +480,7 @@ class TranslatorItalian : public Translator * of documentation blocks for typedefs */ QCString trTypedefDocumentation() - { return "Documentazione delle ridefinizioni di tipo (typedefs)"; } + { return "Documentazione delle ridefinizioni di tipo (typedef)"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types @@ -583,7 +585,7 @@ class TranslatorItalian : public Translator /*! used as an introduction to the namespace list */ QCString trNamespaceListDescription(bool extractAll) { - QCString result="Questa è la lista "; + QCString result="Questa è l'elenco "; if (!extractAll) result+="dei namespace documentati, "; else result+="di tutti i namespace "; result+="con una loro breve descrizione:"; @@ -623,9 +625,9 @@ class TranslatorItalian : public Translator case ClassDef::Struct: result+="la struct "; break; case ClassDef::Union: result+="la union "; break; case ClassDef::Interface: result+="l'interfaccia "; break; - case ClassDef::Protocol: result+="protocol "; break; // translate me! - case ClassDef::Category: result+="category "; break; // translate me! - case ClassDef::Exception: result+="exception "; break; + case ClassDef::Protocol: result+="il protocollo "; break; + case ClassDef::Category: result+="la categoria "; break; + case ClassDef::Exception: result+="l'eccezione "; break; } result+=(QCString)clName; return result; @@ -734,7 +736,7 @@ class TranslatorItalian : public Translator /*! This is an introduction to the page with all namespace members */ QCString trNamespaceMemberDescription(bool extractAll) { - QCString result="Questa è la lista "; + QCString result="Questa è la lista "; if (!extractAll) result+="dei membri dei namespace documentati, "; else result+="di tutti i membri dei namespace "; result+="con collegamenti "; @@ -777,18 +779,18 @@ class TranslatorItalian : public Translator bool single) { // here s is one of " Class", " Struct" or " Union" // single is true implies a single file - QCString result=(QCString)"La documentazione per questa "; + QCString result=(QCString)"La documentazione per quest"; switch(compType) { - case ClassDef::Class: result+="classe"; break; - case ClassDef::Struct: result+="struct"; break; - case ClassDef::Union: result+="union"; break; - case ClassDef::Interface: result+="interfaccia"; break; - case ClassDef::Protocol: result+="protocol"; break; // translate me! - case ClassDef::Category: result+="category"; break; // translate me! - case ClassDef::Exception: result+="exception"; break; + case ClassDef::Class: result+="a classe"; break; + case ClassDef::Struct: result+="a struct"; break; + case ClassDef::Union: result+="a union"; break; + case ClassDef::Interface: result+="a interfaccia"; break; + case ClassDef::Protocol: result+="o protocollo"; break; + case ClassDef::Category: result+="a categoria"; break; + case ClassDef::Exception: result+="a eccezione"; break; } - result+=" è stata generata a partire "; + result+=" è stata generata a partire "; if (single) result+="dal seguente file:"; else result+="dai seguenti file:"; return result; @@ -977,7 +979,7 @@ class TranslatorItalian : public Translator /*! Used as the header of the todo list */ virtual QCString trTodoList() { - return "Lista di cose da fare"; + return "Elenco delle cose da fare"; } ////////////////////////////////////////////////////////////////////////// @@ -1023,17 +1025,17 @@ class TranslatorItalian : public Translator "\\code\n" "/*! Classe invisibile per troncamento */\n" "class Invisible { };\n\n" - "/*! Classe troncata, la relazione di ereditarietà e nascosta */\n" + "/*! Classe troncata, la relazione di ereditarietà e nascosta */\n" "class Truncated : public Invisible { };\n\n" "/* Classe non documentata con i commenti speciali di doxygen*/\n" "class Undocumented { };\n\n" - "/*! Classe che utilizza una ereditarietà pubblica */\n" + "/*! Classe che utilizza una ereditarietà pubblica */\n" "class PublicBase : public Truncated { };\n\n" "/*! A template class */\n" "template class Templ { };\n\n" - "/*! Classe che utilizza una ereditarietà protetta*/\n" + "/*! Classe che utilizza una ereditarietà protetta*/\n" "class ProtectedBase { };\n\n" - "/*! Classe che utilizza una ereditarietà privata*/\n" + "/*! Classe che utilizza una ereditarietà privata*/\n" "class PrivateBase { };\n\n" "/*! Classe utilizzata dalla classe Inherited */\n" "class Used { };\n\n" @@ -1049,23 +1051,23 @@ class TranslatorItalian : public Translator "};\n" "\\endcode\n" "Se il tag \\c MAX_DOT_GRAPH_HEIGHT nel file di configurazione " - "è impostato a 200 verrà prodotto il grafo seguente:" + "è impostato a 200 verrà prodotto il grafo seguente:" "

    \n" "

    \n" "I riquadri nel grafo qui sopra hanno il seguente significato:\n" "

      \n" - "
    • Il riquadro nero pieno rappresenta la struct o la classe per la quale il grafo è stato generato.\n" + "
    • Il riquadro nero pieno rappresenta la struct o la classe per la quale il grafo è stato generato.\n" "
    • Un riquadro con un bordo nero denota una struct o una classe documentata.\n" "
    • Un riquadro con un bordo grigio indica una struct o una classe non documentata.\n" - "
    • Un riquadro con un bordo rosso indica una struct o una classe per la quale non sono mostrate tutte le relazioni di ereditarietà/contenimento (un grafo viene troncato se non rientra nei limiti prestabiliti)." + "
    • Un riquadro con un bordo rosso indica una struct o una classe per la quale non sono mostrate tutte le relazioni di ereditarietà/contenimento (un grafo viene troncato se non rientra nei limiti prestabiliti)." "
    \n" "Le frecce hanno il seguente significato:\n" "
      \n" - "
    • Una freccia blu scuro indica una relazione di ereditarietà pubblica tra due classi.\n" - "
    • Una freccia verde indica un'ereditarietà protetta.\n" - "
    • Una freccia rossa indica un'ereditarietà privata.\n" - "
    • Una freccia viola tratteggiata indica che una classe è contenuta o usata da un'altra classe." - " La freccia viene etichettata con la o le variabili attraverso cui la struct o la classe puntata dalla freccia è accessibile.\n" + "
    • Una freccia blu scuro indica una relazione di ereditarietà pubblica tra due classi.\n" + "
    • Una freccia verde indica un'ereditarietà protetta.\n" + "
    • Una freccia rossa indica un'ereditarietà privata.\n" + "
    • Una freccia viola tratteggiata indica che una classe è contenuta o usata da un'altra classe." + " La freccia viene etichettata con la o le variabili attraverso cui la struct o la classe puntata dalla freccia è accessibile.\n" "
    \n"; } /*! text for the link to the legend page */ @@ -1106,12 +1108,12 @@ class TranslatorItalian : public Translator /*! Used as a section header for IDL properties */ virtual QCString trProperties() { - return "Proprietà"; + return "Proprietà"; } /*! Used as a section header for IDL property documentation */ virtual QCString trPropertyDocumentation() { - return "Documentazione delle proprietà"; + return "Documentazione delle proprietà"; } ////////////////////////////////////////////////////////////////////////// @@ -1362,35 +1364,35 @@ class TranslatorItalian : public Translator */ virtual QCString trPackageTypes() { - return "Tipi con visibilità di package"; + return "Tipi con visibilità di package"; } /*! Used as a heading for a list of Java class functions with package * scope. */ virtual QCString trPackageMembers() { - return "Funzioni con visibilità di package"; + return "Funzioni con visibilità di package"; } /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() { - return "Funzioni statiche con visibilità di package"; + return "Funzioni statiche con visibilità di package"; } /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() { - return "Attributi con visibilità di package"; + return "Attributi con visibilità di package"; } /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() { - return "Attributi statici con visibilità di package"; + return "Attributi statici con visibilità di package"; } ////////////////////////////////////////////////////////////////////////// @@ -1407,7 +1409,7 @@ class TranslatorItalian : public Translator /*! Put in front of the call graph for a function. */ virtual QCString trCallGraph() { - return "Questo è il grafo delle chiamate per questa funzione:"; + return "Questo è il grafo delle chiamate per questa funzione:"; } ////////////////////////////////////////////////////////////////////////// @@ -1445,11 +1447,11 @@ class TranslatorItalian : public Translator } else if (numDocuments==1) { - return "Trovato 1 documento rispondente alla tua richiesta."; + return "Trovato 1 documento che soddisfa la tua richiesta."; } else { - return "Trovati $num documenti rispondenti alla tua richiesta. " + return "Trovati $num documenti che soddisfano la tua richiesta. " "Le corrispondenze migliori sono in testa."; } } @@ -1498,8 +1500,8 @@ class TranslatorItalian : public Translator * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() - { return "Questa gerarchia di directory è ordinata " - "approssimativamente, ma non completamente, in ordine alfabetico:"; + { return "Questa gerarchia di directory è approssimativamente, " + "ma non completamente, ordinata in ordine alfabetico:"; } /*! This returns the title of a directory page. The name of the @@ -1526,8 +1528,8 @@ class TranslatorItalian : public Translator */ virtual QCString trOverloadText() { - return "Questa è una funzione membro sovraccaricata (overloaded), " - "fornita per comodità. Differisce dalla funzione di cui sopra" + return "Questa è una funzione membro sovraccaricata (overloaded), " + "fornita per comodità. Differisce dalla funzione di cui sopra" "unicamente per gli argomenti passati."; } @@ -1538,7 +1540,7 @@ class TranslatorItalian : public Translator /*! This is used to introduce a caller (or called-by) graph */ virtual QCString trCallerGraph() { - return "Questo è il grafo dei chiamanti di questa funzione:"; + return "Questo è il grafo dei chiamanti di questa funzione:"; } /*! This is used in the documentation of a file/namespace before the list @@ -1547,6 +1549,207 @@ class TranslatorItalian : public Translator virtual QCString trEnumerationValueDocumentation() { return "Documentazione dei tipi enumerati"; } +////////////////////////////////////////////////////////////////////////// +// new since 1.5.4 (mainly for Fortran) +////////////////////////////////////////////////////////////////////////// + + /*! header that is put before the list of member subprograms (Fortran). */ + virtual QCString trMemberFunctionDocumentationFortran() + { return "Documentazione delle funzioni membro/subroutine"; } + + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + virtual QCString trCompoundListFortran() + { return "Elenco dei tipi di dato"; } + + /*! This is put above each page as a link to all members of compounds (Fortran). */ + virtual QCString trCompoundMembersFortran() + { return "Membri dei tipi di dato"; } + + /*! This is an introduction to the annotated compound list (Fortran). */ + virtual QCString trCompoundListDescriptionFortran() + { return "Questi sono i tipi dato con una loro breve descrizione:"; } + + /*! This is an introduction to the page with all data types (Fortran). */ + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + { + QCString result="Questa è una lista di tutti i membri "; + if (!extractAll) + { + result+="documentati "; + } + result+="dei tipi di dato con collegamenti "; + if (!extractAll) + { + result+="alla documentazione della struttura dati per ciascun membro:"; + } + else + { + result+="ai tipi dato a cui appartengono:"; + } + return result; + } + + /*! This is used in LaTeX as the title of the chapter with the + * annotated compound index (Fortran). + */ + virtual QCString trCompoundIndexFortran() + { return "Indice dei tipi dati"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all data types (Fortran). + */ + virtual QCString trTypeDocumentation() + { return "Documentazione dei tipi dato"; } + + /*! This is used in the documentation of a file as a header before the + * list of (global) subprograms (Fortran). + */ + virtual QCString trSubprograms() + { return "Funzioni/Subroutine"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for subprograms (Fortran) + */ + virtual QCString trSubprogramDocumentation() + { return "Documentazione funzioni/subroutine"; } + + /*! This is used in the documentation of a file/namespace/group before + * the list of links to documented compounds (Fortran) + */ + virtual QCString trDataTypes() + { return "Tipi di dato"; } + + /*! used as the title of page containing all the index of all modules (Fortran). */ + virtual QCString trModulesList() + { return "Elenco dei moduli"; } + + /*! used as an introduction to the modules list (Fortran) */ + virtual QCString trModulesListDescription(bool extractAll) + { + QCString result="Questa è una lista di tutti i moduli "; + if (!extractAll) result+="documentati "; + result+="con una loro breve descrizione:"; + return result; + } + + /*! used as the title of the HTML page of a module/type (Fortran) */ + virtual QCString trCompoundReferenceFortran(const char *clName, + ClassDef::CompoundType compType, + bool isTemplate) + { + QCString result="Riferimenti per "; + if (isTemplate) result="Template per "; + switch(compType) + { + case ClassDef::Class: result+=" il modulo"; break; + case ClassDef::Struct: result+=" il tipo dato"; break; + case ClassDef::Union: result+=" l'union"; break; + case ClassDef::Interface: result+=" l'nterfaccia"; break; + case ClassDef::Protocol: result+=" il protocollo"; break; + case ClassDef::Category: result+=" la categoria"; break; + case ClassDef::Exception: result+=" l'eccezione"; break; + } + result+=(QCString)clName; + return result; + } + + /*! used as the title of the HTML page of a module (Fortran) */ + virtual QCString trModuleReference(const char *namespaceName) + { + QCString result="Riferimenti per il modulo "; + result+=namespaceName; + return result; + } + + /*! This is put above each page as a link to all members of modules. (Fortran) */ + virtual QCString trModulesMembers() + { return "Membri del modulo"; } + + /*! This is an introduction to the page with all modules members (Fortran) */ + virtual QCString trModulesMemberDescription(bool extractAll) + { + QCString result="Questo è un elenco di tutti i membri dei moduli "; + if (!extractAll) result+="documentati "; + result+="con collegamenti "; + if (extractAll) + { + result+="alla documentazione del modulo per ciascun membro:"; + } + else + { + result+="al modulo a cui appartengono:"; + } + return result; + } + + /*! This is used in LaTeX as the title of the chapter with the + * index of all modules (Fortran). + */ + virtual QCString trModulesIndex() + { return "Indice dei moduli"; } + + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trModule(bool first_capital, bool singular) + { + QCString result((first_capital ? "Modul" : "modul")); + if (singular) result+="o"; + else result+="i"; + return result; + } + /*! This is put at the bottom of a module documentation page and is + * followed by a list of files that were used to generate the page. + */ + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, + bool single) + { // here s is one of " Module", " Struct" or " Union" + // single is true implies a single file + QCString result=(QCString)"La documentazione per quest"; + switch(compType) + { + case ClassDef::Class: result+="o modulo"; break; + case ClassDef::Struct: result+="o tipo"; break; + case ClassDef::Union: result+="a union"; break; + case ClassDef::Interface: result+="a interfaccia"; break; + case ClassDef::Protocol: result+="o protocollo"; break; + case ClassDef::Category: result+="a categoria"; break; + case ClassDef::Exception: result+="a eccezione"; break; + } + result+=" è stata generata a partire "; + if (single) result+="dal seguente file:"; else result+="dai seguenti file:"; + return result; + } + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trType(bool first_capital, bool singular) + { + QCString result((first_capital ? "Tip" : "tip")); + if (singular) result+="o"; + else result+="i"; + return result; + } + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trSubprogram(bool first_capital, bool singular) + { + QCString result((first_capital ? "Sottoprogramm" : "sottoprogramm")); + if (singular) result+="a"; + else result+="i"; + return result; + } + + /*! C# Type Contraint list */ + virtual QCString trTypeConstraints() + { + return "Vincoli dei tipi"; + } + }; #endif diff --git a/src/translator_je.h b/src/translator_je.h index 1b7f4b1..c7ee97a 100644 --- a/src/translator_je.h +++ b/src/translator_je.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/translator_jp.h b/src/translator_jp.h index c9a5d29..31b4c1f 100644 --- a/src/translator_jp.h +++ b/src/translator_jp.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -29,7 +29,7 @@ #ifndef TRANSLATOR_JP_H #define TRANSLATOR_JP_H -class TranslatorJapanese : public Translator +class TranslatorJapanese : public TranslatorAdapter_1_5_4 { private: /*! The decode() can change euc into sjis */ diff --git a/src/translator_ke.h b/src/translator_ke.h index 027a670..3e2ebf2 100644 --- a/src/translator_ke.h +++ b/src/translator_ke.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/translator_kr.h b/src/translator_kr.h index bd5aa26..5f059c1 100644 --- a/src/translator_kr.h +++ b/src/translator_kr.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -20,8 +20,8 @@ /* Korean translators - * doxygen-cvs - * * fly1004 + * doxygen-svn + * * fly1004@gmail.com * doxygen-1.5.3 * * Astromaker(http://ngps.net/) * * gpgiki(http://www.gpgstudy.com/gpgiki/) @@ -1574,7 +1574,7 @@ class TranslatorKorean : public Translator */ virtual QCString trOverloadText() { - return "ÀÌ ÇÔ¼ö´Â ÆíÀÇ Á¦°øÇϱâ À§ÇØ ¿À¹ö·ÎµåµÈ ¸â¹ö ÇÔ¼öÀÔ´Ï´Ù. " + return "ÀÌ ÇÔ¼ö´Â ÆíÀǸ¦ Á¦°øÇϱâ À§ÇØ ¿À¹ö·ÎµåµÈ ¸â¹ö ÇÔ¼öÀÔ´Ï´Ù. " "À§ÀÇ ÇÔ¼ö¿Í Ʋ¸° Á¡Àº ´ÜÁö ¹Þ¾ÆµéÀÌ´Â ¾Æ±Ô¸ÕÆ®(argument)°¡ ´Ù¸£´Ù´Â °ÍÀÔ´Ï´Ù."; } @@ -1594,6 +1594,205 @@ class TranslatorKorean : public Translator virtual QCString trEnumerationValueDocumentation() { return "¿­°ÅÇü ¹®¼­È­"; } +////////////////////////////////////////////////////////////////////////// +// new since 1.5.4 (mainly for Fortran) +////////////////////////////////////////////////////////////////////////// + + /*! header that is put before the list of member subprograms (Fortran). */ + virtual QCString trMemberFunctionDocumentationFortran() + { return "¸â¹ö ÇÔ¼ö/¼­ºê·çƾ ¹®¼­È­"; } + + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + virtual QCString trCompoundListFortran() + { return "µ¥ÀÌŸ ŸÀÔ ¸ñ·Ï"; } + + /*! This is put above each page as a link to all members of compounds (Fortran). */ + virtual QCString trCompoundMembersFortran() + { return "µ¥ÀÌŸ Çʵå"; } + + /*! This is an introduction to the annotated compound list (Fortran). */ + virtual QCString trCompoundListDescriptionFortran() + { return "´ë·«ÀûÀÎ ¼³¸í°ú ÇÔ²² µ¥ÀÌŸ ŸÀÔµéÀÇ ¸ñ·ÏÀÔ´Ï´Ù.:"; } + + /*! This is an introduction to the page with all data types (Fortran). */ + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + { + QCString result="Here is a list of all "; + if (!extractAll) + { + result+="documented "; + } + result+="data types members"; + result+=" with links to "; + if (!extractAll) + { + result+="the data structure documentation for each member"; + } + else + { + result+="the data types they belong to:"; + } + return result; + } + + /*! This is used in LaTeX as the title of the chapter with the + * annotated compound index (Fortran). + */ + virtual QCString trCompoundIndexFortran() + { return "µ¥ÀÌŸ ŸÀÔ »öÀÎ"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all data types (Fortran). + */ + virtual QCString trTypeDocumentation() + { return "µ¥ÀÌŸ ŸÀÔ ¹®¼­È­"; } + + /*! This is used in the documentation of a file as a header before the + * list of (global) subprograms (Fortran). + */ + virtual QCString trSubprograms() + { return "ÇÔ¼ö/¼­ºê·çƾ"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for subprograms (Fortran) + */ + virtual QCString trSubprogramDocumentation() + { return "ÇÔ¼ö/¼­ºê·çƾ ¹®¼­È­"; } + + /*! This is used in the documentation of a file/namespace/group before + * the list of links to documented compounds (Fortran) + */ + virtual QCString trDataTypes() + { return "µ¥ÀÌŸ ŸÀÔµé"; } + + /*! used as the title of page containing all the index of all modules (Fortran). */ + virtual QCString trModulesList() + { return "¸ðµâ ¸ñ·Ï"; } + + /*! used as an introduction to the modules list (Fortran) */ + virtual QCString trModulesListDescription(bool extractAll) + { + QCString result="´ÙÀ½Àº "; + if (!extractAll) result+="¹®¼­È­µÈ "; + result+="¸ðµç ¸ðµâ¿¡ ´ëÇÑ ¸ñ·ÏÀÔ´Ï´Ù. (°£·«ÇÑ ¼³¸í¸¸À» º¸¿©ÁÝ´Ï´Ù) :"; + return result; + } + + /*! used as the title of the HTML page of a module/type (Fortran) */ + virtual QCString trCompoundReferenceFortran(const char *clName, + ClassDef::CompoundType compType, + bool isTemplate) + { + QCString result=(QCString)clName; + switch(compType) + { + case ClassDef::Class: result+=" ¸ðµâ"; break; + case ClassDef::Struct: result+=" ŸÀÔ"; break; + case ClassDef::Union: result+=" °ø¿ëü"; break; + case ClassDef::Interface: result+=" ÀÎÅÍÆäÀ̽º"; break; + case ClassDef::Protocol: result+=" ÇÁ·ÎÅäÄÝ"; break; + case ClassDef::Category: result+=" Ä«Å×°í¸®"; break; + case ClassDef::Exception: result+=" ¿¹¿Ü"; break; + } + if (isTemplate) result+=" ÅÛÇø´"; + result+=" ÂüÁ¶"; + return result; + } + /*! used as the title of the HTML page of a module (Fortran) */ + virtual QCString trModuleReference(const char *namespaceName) + { + QCString result=namespaceName; + result+=" ¸ðµâ ÂüÁ¶"; + return result; + } + + /*! This is put above each page as a link to all members of modules. (Fortran) */ + virtual QCString trModulesMembers() + { return "¸ðµâ ¸â¹öµé"; } + + /*! This is an introduction to the page with all modules members (Fortran) */ + virtual QCString trModulesMemberDescription(bool extractAll) + { + QCString result="´ÙÀ½Àº "; + if (!extractAll) result+="¹®¼­È­µÈ "; + result+="¸ðµç ¸ðµâ ¸â¹öÀÇ ¸ñ·ÏÀÔ´Ï´Ù. "; + if (extractAll) + { + result+="°¢ Ç׸ñÀº °¢ ¸â¹öÀÇ ¸ðµâ ¹®¼­È­ ÆäÀÌÁöÀÇ ¸µÅ©¸¦ °¡Áö°í ÀÖ½À´Ï´Ù. :"; + } + else + { + result+="°¢ Ç׸ñÀº ±×µéÀÌ ¼ÓÇÑ ¸ðµâÀÇ ¸µÅ©¸¦ °¡Áö°í ÀÖ½À´Ï´Ù. :"; + } + return result; + } + + /*! This is used in LaTeX as the title of the chapter with the + * index of all modules (Fortran). + */ + virtual QCString trModulesIndex() + { return "¸ðµâ »öÀÎ"; } + + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trModule(bool first_capital, bool singular) + { + QCString result((first_capital ? "¸ðµâ" : "¸ðµâ")); + if (!singular) result+="µé"; + return result; + } + /*! This is put at the bottom of a module documentation page and is + * followed by a list of files that were used to generate the page. + */ + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, + bool single) + { // here s is one of " Module", " Struct" or " Union" + // single is true implies a single file + QCString result=(QCString)"´ÙÀ½ ÆÄÀÏ"; + if (single) result+=""; else result+="µé"; + result+="·ÎºÎÅÍ »ý¼ºµÈ "; + result+="ÀÌ "; + switch(compType) + { + case ClassDef::Class: result+="¸ðµâ"; break; + case ClassDef::Struct: result+="ŸÀÔ"; break; + case ClassDef::Union: result+="°ø¿ëü"; break; + case ClassDef::Interface: result+="ÀÎÅÍÆäÀ̽º"; break; + case ClassDef::Protocol: result+="ÇÁ·ÎÅäÄÝ"; break; + case ClassDef::Category: result+="Ä«Å×°í¸®"; break; + case ClassDef::Exception: result+="¿¹¿Ü"; break; + } + result+="ÀÇ ¹®¼­È­ ÆäÀÌÁö:"; + return result; + } + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trType(bool first_capital, bool singular) + { + QCString result((first_capital ? "ŸÀÔ" : "ŸÀÔ")); + if (!singular) result+="µé"; + return result; + } + /*! This is used for translation of the word that will possibly + * be followed by a single name or by a list of names + * of the category. + */ + virtual QCString trSubprogram(bool first_capital, bool singular) + { + QCString result((first_capital ? "¼­ºêÇÁ·Î±×·¥" : "¼­ºêÇÁ·Î±×·¥")); + if (!singular) result+="µé"; + return result; + } + + /*! C# Type Contraint list */ + virtual QCString trTypeConstraints() + { + return "ŸÀÔ ÇÑÁ¤ÀÚµé"; + } }; diff --git a/src/translator_lt.h b/src/translator_lt.h index 35ec74f..13a348c 100644 --- a/src/translator_lt.h +++ b/src/translator_lt.h @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2007 by Dimitri van Heesch. + * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby diff --git a/src/translator_mk.h b/src/translator_mk.h new file mode 100644 index 0000000..0500b66 --- /dev/null +++ b/src/translator_mk.h @@ -0,0 +1,1564 @@ +/****************************************************************************** + * + * + * + * Copyright (C) 1997-2008 by Dimitri van Heesch. + * + * Permission to use, copy, modify, and distribute this software and its + * documentation under the terms of the GNU General Public License is hereby + * granted. No representations are made about the suitability of this software + * for any purpose. It is provided "as is" without express or implied warranty. + * See the GNU General Public License for more details. + * + * Documents produced by Doxygen are derivative works derived from the + * input used in their production; they are not affected by this license. + * + */ +// Тranslated by Slave Jovanovski +// +// The cyrilic strings were entered using Macedonian language support in +// Windows. The editor used was Eclipse 3.2. The file was saved in UTF-8. +// +// Updates: +// -------- +// 2007/12/09 +// - Initial translation to Macedonian. +// +// + +#ifndef TRANSLATOR_MK_H +#define TRANSLATOR_MK_H + +class TranslatorMacedonian : public TranslatorAdapter_1_4_6 +{ + public: + + // --- Language control methods ------------------- + + /*! Used for identification of the language. The identification + * should not be translated. It should be replaced by the name + * of the language in English using lower-case characters only + * (e.g. "czech", "japanese", "russian", etc.). It should be equal to + * the identification used in language.cpp. + */ + virtual QCString idLanguage() + { return "macedonian"; } + + /*! Used to get the LaTeX command(s) for the language support. + * This method should return string with commands that switch + * LaTeX to the desired language. For example + *
    "\\usepackage[german]{babel}\n"
    +     *  
    + * or + *
    "\\usepackage{polski}\n"
    +     *  "\\usepackage[latin2]{inputenc}\n"
    +     *  "\\usepackage[T1]{fontenc}\n"
    +     *  
    + * + * The English LaTeX does not use such commands. Because of this + * the empty string is returned in this implementation. + */ + virtual QCString latexLanguageSupportCommand() + { + return "\\usepackage[macedonian]{babel}\n"; + } + + /*! return the language charset. This will be used for the HTML output */ + virtual QCString idLanguageCharset() + { + return "UTF-8"; + } + + // --- Language translation methods ------------------- + + /*! used in the compound documentation before a list of related functions. */ + virtual QCString trRelatedFunctions() + { return "Поврзани Функции"; } + + /*! subscript for the related functions. */ + virtual QCString trRelatedSubscript() + { return "(Овие функции не Ñе членови.)"; } + + /*! header that is put before the detailed description of files, classes and namespaces. */ + virtual QCString trDetailedDescription() + { return "Детален опиÑ"; } + + /*! header that is put before the list of typedefs. */ + virtual QCString trMemberTypedefDocumentation() + { return "Документација на членови дефиниции на тип"; } + + /*! header that is put before the list of enumerations. */ + virtual QCString trMemberEnumerationDocumentation() + { return "Документација на набројани членови"; } + + /*! header that is put before the list of member functions. */ + virtual QCString trMemberFunctionDocumentation() + { return "Документација на функции членови"; } + + /*! header that is put before the list of member attributes. */ + virtual QCString trMemberDataDocumentation() + { + //if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Документација на членови"; + } + } + + /*! this is the text of a link put after brief descriptions. */ + virtual QCString trMore() + { return "Повеќе..."; } + + /*! put in the class documentation */ + virtual QCString trListOfAllMembers() + { return "СпиÑок на Ñите членови."; } + + /*! used as the title of the "list of all members" page of a class */ + virtual QCString trMemberList() + { return "СпиÑок на членови"; } + + /*! this is the first part of a sentence that is followed by a class name */ + virtual QCString trThisIsTheListOfAllMembers() + { return "Ова е целоÑниот ÑпиÑок на членови на "; } + + /*! this is the remainder of the sentence after the class name */ + virtual QCString trIncludingInheritedMembers() + { return ", вклучувајќи ги Ñите наÑледени членови."; } + + /*! this is put at the author sections at the bottom of man pages. + * parameter s is name of the project name. + */ + virtual QCString trGeneratedAutomatically(const char *s) + { QCString result="ÐвтоматÑки Ñоздадено од Doxygen"; + if (s) result+=(QCString)" за "+s; + result+=" изворниот код."; + return result; + } + + /*! put after an enum name in the list of all members */ + virtual QCString trEnumName() + { return "име на набројан член"; } + + /*! put after an enum value in the list of all members */ + virtual QCString trEnumValue() + { return "вредноÑÑ‚ на набројан член"; } + + /*! put after an undocumented member in the list of all members */ + virtual QCString trDefinedIn() + { return "дефиниран во"; } + + // quick reference sections + + /*! This is put above each page as a link to the list of all groups of + * compounds or files (see the \\group command). + */ + virtual QCString trModules() + { return "Модули"; } + + /*! This is put above each page as a link to the class hierarchy */ + virtual QCString trClassHierarchy() + { return "Стебло на клаÑи"; } + + /*! This is put above each page as a link to the list of annotated classes */ + virtual QCString trCompoundList() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "СпиÑок на Структури"; + } + else + { + return "СпиÑок на КлаÑи"; + } + } + + /*! This is put above each page as a link to the list of documented files */ + virtual QCString trFileList() + { return "СпиÑок на Датотеки"; } + + /*! This is put above each page as a link to all members of compounds. */ + virtual QCString trCompoundMembers() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Членови"; + } + else + { + return "Членови на КлаÑата"; + } + } + + /*! This is put above each page as a link to all members of files. */ + virtual QCString trFileMembers() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Глобални Членови"; + } + else + { + return "Членови на Датотеката"; + } + } + + /*! This is put above each page as a link to all related pages. */ + virtual QCString trRelatedPages() + { return "Страници Поврзани Ñо Оваа"; } + + /*! This is put above each page as a link to all examples. */ + virtual QCString trExamples() + { return "Примери"; } + + /*! This is put above each page as a link to the search engine. */ + virtual QCString trSearch() + { return "Пребарај"; } + + /*! This is an introduction to the class hierarchy. */ + virtual QCString trClassHierarchyDescription() + { return "Овој ÑпиÑок на наÑледување е приближно азбучно подреден:"; + } + + /*! This is an introduction to the list with all files. */ + virtual QCString trFileListDescription(bool extractAll) + { + QCString result="СпиÑок на Ñите "; + if (!extractAll) result+="документирани "; + result+="членови Ñо кратки опиÑи:"; + return result; + } + + /*! This is an introduction to the annotated compound list. */ + virtual QCString trCompoundListDescription() + { + + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "СпиÑок на Ñтруктури Ñо кратки опиÑи:"; + } + else + { + return "СпиÑок на клаÑи, Ñтруктури, унии и интерфејÑи " + "Ñо кратки опиÑи:"; + } + } + + /*! This is an introduction to the page with all class members. */ + virtual QCString trCompoundMembersDescription(bool extractAll) + { + QCString result="СпиÑок на Ñите "; + if (!extractAll) + { + result+="документирани "; + } + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + result+="Ñтруктури и унии"; + } + else + { + result+="членови на клаÑата"; + } + result+=" Ñо врÑки до "; + if (!extractAll) + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + result+="документацијата за Ñекој член на Ñтруктурата/унијата:"; + } + else + { + result+="документацијата на Ñекој член на клаÑата:"; + } + } + else + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + result+="Ñтруктурите/униите на кои што припаѓаат:"; + } + else + { + result+="клаÑите на кои што припаѓаат:"; + } + } + return result; + } + + /*! This is an introduction to the page with all file members. */ + virtual QCString trFileMembersDescription(bool extractAll) + { + QCString result="СпиÑок на Ñите "; + if (!extractAll) result+="документирани "; + + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + result+="функции, променливи, дефиниции, набројувања и дефиниции на тип"; + } + else + { + result+="членови на датотеки"; + } + result+=" Ñо врÑки до "; + if (extractAll) + result+="датотеките на кои што припаѓаат:"; + else + result+="документацијата:"; + return result; + } + + /*! This is an introduction to the page with the list of all examples */ + virtual QCString trExamplesDescription() + { return "СпиÑок на Ñите примери:"; } + + /*! This is an introduction to the page with the list of related pages */ + virtual QCString trRelatedPagesDescription() + { return "СпиÑок на Ñите Ñтраници поврзани Ñо оваа и нивна документација:"; } + + /*! This is an introduction to the page with the list of class/file groups */ + virtual QCString trModulesDescription() + { return "СпиÑок на Ñите модули:"; } + + // index titles (the project name is prepended for these) + + /*! This is used in HTML as the title of index.html. */ + virtual QCString trDocumentation() + { return "Документација"; } + + /*! This is used in LaTeX as the title of the chapter with the + * index of all groups. + */ + virtual QCString trModuleIndex() + { return "ÐŸÐ¾Ð¿Ð¸Ñ Ð½Ð° Модули"; } + + /*! This is used in LaTeX as the title of the chapter with the + * class hierarchy. + */ + virtual QCString trHierarchicalIndex() + { return "ÐŸÐ¾Ð¿Ð¸Ñ Ð½Ð° Стебло"; } + + /*! This is used in LaTeX as the title of the chapter with the + * annotated compound index. + */ + virtual QCString trCompoundIndex() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "ÐŸÐ¾Ð¿Ð¸Ñ Ð½Ð° Структури"; + } + else + { + return "ÐŸÐ¾Ð¿Ð¸Ñ Ð½Ð° КлаÑи"; + } + } + + /*! This is used in LaTeX as the title of the chapter with the + * list of all files. + */ + virtual QCString trFileIndex() + { return "ÐŸÐ¾Ð¿Ð¸Ñ Ð½Ð° Датотеки"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all groups. + */ + virtual QCString trModuleDocumentation() + { return "ÐŸÐ¾Ð¿Ð¸Ñ Ð½Ð° Документација"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all classes, structs and unions. + */ + virtual QCString trClassDocumentation() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Документација на Структури"; + } + else + { + return "Документација на КлаÑи"; + } + } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all files. + */ + virtual QCString trFileDocumentation() + { return "Документија на Датотеки"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all examples. + */ + virtual QCString trExampleDocumentation() + { return "Документаија на Примери"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all related pages. + */ + virtual QCString trPageDocumentation() + { return "Документација на Страници"; } + + /*! This is used in LaTeX as the title of the document */ + virtual QCString trReferenceManual() + { return "Прирачник"; } + + /*! This is used in the documentation of a file as a header before the + * list of defines + */ + virtual QCString trDefines() + { return "Дефинирања"; } + + /*! This is used in the documentation of a file as a header before the + * list of function prototypes + */ + virtual QCString trFuncProtos() + { return "Прототипи на Функции"; } + + /*! This is used in the documentation of a file as a header before the + * list of typedefs + */ + virtual QCString trTypedefs() + { return "Дефиниции на Тип"; } + + /*! This is used in the documentation of a file as a header before the + * list of enumerations + */ + virtual QCString trEnumerations() + { return "Ðабројувања"; } + + /*! This is used in the documentation of a file as a header before the + * list of (global) functions + */ + virtual QCString trFunctions() + { return "Функции"; } + + /*! This is used in the documentation of a file as a header before the + * list of (global) variables + */ + virtual QCString trVariables() + { return "Променливи"; } + + /*! This is used in the documentation of a file as a header before the + * list of (global) variables + */ + virtual QCString trEnumerationValues() + { return "ВредноÑти на Ðабројувањата"; } + + /*! This is used in the documentation of a file before the list of + * documentation blocks for defines + */ + virtual QCString trDefineDocumentation() + { return "Документција на Дефиниции"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for function prototypes + */ + virtual QCString trFunctionPrototypeDocumentation() + { return "Документација на Прототип на Функции"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for typedefs + */ + virtual QCString trTypedefDocumentation() + { return "Документација на Дефиниции на Тип"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for enumeration types + */ + virtual QCString trEnumerationTypeDocumentation() + { return "Документација на Ðабројувања"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for functions + */ + virtual QCString trFunctionDocumentation() + { return "Документација на Функции"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for variables + */ + virtual QCString trVariableDocumentation() + { return "Документација на Променливи"; } + + /*! This is used in the documentation of a file/namespace/group before + * the list of links to documented compounds + */ + virtual QCString trCompounds() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Структури"; + } + else + { + return "КлаÑи"; + } + } + + /*! This is used in the standard footer of each page and indicates when + * the page was generated + */ + virtual QCString trGeneratedAt(const char *date,const char *projName) + { + QCString result=(QCString)"Создадено на "+date; + if (projName) result+=(QCString)" за "+projName; + result+=(QCString)" од"; + return result; + } + /*! This is part of the sentence used in the standard footer of each page. + */ + virtual QCString trWrittenBy() + { + return "напишано од"; + } + + /*! this text is put before a class diagram */ + virtual QCString trClassDiagram(const char *clName) + { + return (QCString)"Диаграм на наÑледување за "+clName+":"; + } + + /*! this text is generated when the \\internal command is used. */ + virtual QCString trForInternalUseOnly() + { return "Само за интерна употреба."; } + + /*! this text is generated when the \\warning command is used. */ + virtual QCString trWarning() + { return "Предупредување"; } + + /*! this text is generated when the \\version command is used. */ + virtual QCString trVersion() + { return "Верзија"; } + + /*! this text is generated when the \\date command is used. */ + virtual QCString trDate() + { return "Дата"; } + + /*! this text is generated when the \\return command is used. */ + virtual QCString trReturns() + { return "Враќа"; } + + /*! this text is generated when the \\sa command is used. */ + virtual QCString trSeeAlso() + { return "ИÑтотака погледнете"; } + + /*! this text is generated when the \\param command is used. */ + virtual QCString trParameters() + { return "Параметри"; } + + /*! this text is generated when the \\exception command is used. */ + virtual QCString trExceptions() + { return "ИÑклучоци"; } + + /*! this text is used in the title page of a LaTeX document. */ + virtual QCString trGeneratedBy() + { return "Создадено од"; } + +////////////////////////////////////////////////////////////////////////// +// new since 0.49-990307 +////////////////////////////////////////////////////////////////////////// + + /*! used as the title of page containing all the index of all namespaces. */ + virtual QCString trNamespaceList() + { return "СпиÑок на Имиња на ПроÑтор"; } + + /*! used as an introduction to the namespace list */ + virtual QCString trNamespaceListDescription(bool extractAll) + { + QCString result="СпиÑок на Ñите "; + if (!extractAll) result+="документирани "; + result+="имиња на проÑтор Ñо кратки опиÑи:"; + return result; + } + + /*! used in the class documentation as a header before the list of all + * friends of a class + */ + virtual QCString trFriends() + { return "Пријатели"; } + +////////////////////////////////////////////////////////////////////////// +// new since 0.49-990405 +////////////////////////////////////////////////////////////////////////// + + /*! used in the class documentation as a header before the list of all + * related classes + */ + virtual QCString trRelatedFunctionDocumentation() + { return "Документација на Пријатели и Поврзани Функции"; } + +////////////////////////////////////////////////////////////////////////// +// new since 0.49-990425 +////////////////////////////////////////////////////////////////////////// + + /*! used as the title of the HTML page of a class/struct/union */ + virtual QCString trCompoundReference(const char *clName, + ClassDef::CompoundType compType, + bool isTemplate) + { + QCString result=(QCString)clName; + switch(compType) + { + case ClassDef::Class: result+=" КлаÑа"; break; + case ClassDef::Struct: result+=" Структура"; break; + case ClassDef::Union: result+=" Унија"; break; + case ClassDef::Interface: result+=" ИнтерфејÑ"; break; + case ClassDef::Protocol: result+=" Протокол"; break; + case ClassDef::Category: result+=" Категорија"; break; + case ClassDef::Exception: result+=" ИÑклучок"; break; + } + if (isTemplate) result+=" Образец"; + result+=" Повикување"; + return result; + } + + /*! used as the title of the HTML page of a file */ + virtual QCString trFileReference(const char *fileName) + { + QCString result = "ÐžÐ¿Ð¸Ñ Ð½Ð° Датотекaта "; + result += fileName; + return result; + } + + /*! used as the title of the HTML page of a namespace */ + virtual QCString trNamespaceReference(const char *namespaceName) + { + QCString result = "ÐžÐ¿Ð¸Ñ Ð½Ð° Имeто на ПроÑтор "; + result += namespaceName; + return result; + } + + virtual QCString trPublicMembers() + { return "Јавни Функции Членови"; } + virtual QCString trPublicSlots() + { return "Јавни Слотови"; } + virtual QCString trSignals() + { return "Сигнали"; } + virtual QCString trStaticPublicMembers() + { return "Статични Јавни Функции Членови"; } + virtual QCString trProtectedMembers() + { return "Заштитени Функции Членови"; } + virtual QCString trProtectedSlots() + { return "Заштитени Слотови"; } + virtual QCString trStaticProtectedMembers() + { return "Статични Заштитени Функции Членови"; } + virtual QCString trPrivateMembers() + { return "Приватни Функции Членови"; } + virtual QCString trPrivateSlots() + { return "Приватни Слотови"; } + virtual QCString trStaticPrivateMembers() + { return "Статични Приватни Функции Членови"; } + + /*! this function is used to produce a comma-separated list of items. + * use generateMarker(i) to indicate where item i should be put. + */ + virtual QCString trWriteList(int numEntries) + { + QCString result; + int i; + // the inherits list contain `numEntries' classes + for (i=0;i