From b35a84b39214af8340a75ea086df299a2c3343e3 Mon Sep 17 00:00:00 2001 From: dimitri Date: Mon, 3 Nov 2008 10:58:01 +0000 Subject: Release-1.5.7.1-20081103 --- INSTALL | 4 +- README | 4 +- configure | 6 +- doc/config.doc | 31 +- doc/language.doc | 12 +- doc/maintainers.txt | 2 + doc/translator_report.txt | 9 +- src/config.h | 28 + src/config.l | 2142 +++----------------------------------------- src/configoptions.cpp | 2179 +++++++++++++++++++++++++++++++++++++++++++++ src/configoptions.h | 26 + src/docparser.cpp | 25 +- src/docsets.cpp | 8 +- src/doctokenizer.h | 25 +- src/doxygen.cpp | 68 +- src/doxygen.css | 2 +- src/doxygen_css.h | 2 +- src/entry.cpp | 1 + src/formula.cpp | 3 + src/ftvhelp.cpp | 4 +- src/htmlgen.cpp | 9 +- src/lang_cfg.h | 1 + src/language.cpp | 9 + src/latexgen.cpp | 8 + src/libdoxycfg.pro.in | 4 +- src/libdoxygen.pro.in | 1 + src/parserintf.h | 39 +- src/qhp.cpp | 2 +- src/scanner.l | 2 +- src/translator_vi.h | 1787 +++++++++++++++++++++++++++++++++++++ src/util.cpp | 110 ++- src/util.h | 1 + winbuild/Doxygen.vcproj | 168 ++-- 33 files changed, 4490 insertions(+), 2232 deletions(-) create mode 100644 src/configoptions.cpp create mode 100644 src/configoptions.h create mode 100644 src/translator_vi.h diff --git a/INSTALL b/INSTALL index bb690b4..200fdc0 100644 --- a/INSTALL +++ b/INSTALL @@ -1,7 +1,7 @@ -DOXYGEN Version 1.5.7.1-20081012 +DOXYGEN Version 1.5.7.1-20081103 Please read the installation section of the manual (http://www.doxygen.org/install.html) for instructions. -------- -Dimitri van Heesch (12 October 2008) +Dimitri van Heesch (03 November 2008) diff --git a/README b/README index 5652fb8..b58cd7b 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -DOXYGEN Version 1.5.7.1_20081012 +DOXYGEN Version 1.5.7.1_20081103 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) (12 October 2008) +Dimitri van Heesch (dimitri@stack.nl) (03 November 2008) diff --git a/configure b/configure index fc2180d..1941a2e 100755 --- a/configure +++ b/configure @@ -20,7 +20,7 @@ doxygen_version_minor=5 doxygen_version_revision=7.1 #NOTE: Setting version_mmn to "NO" will omit mmn info from the package. -doxygen_version_mmn=20081012 +doxygen_version_mmn=20081103 bin_dirs=`echo $PATH | sed -e "s/:/ /g"` @@ -38,7 +38,7 @@ f_app=NO f_thread=NO f_flex=NO f_bison=NO -f_langs=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 +f_langs=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,vi while test -n "$1"; do case $1 in @@ -669,7 +669,7 @@ fi echo -n " Generating src/lang_cfg.h..." echo $f_langs | $f_perl -e '@l=split(/,/,); 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,MK,BR,DK,SK,UA,GR,TW,SR,CA,LT,ZA,AR,FA,SC")); + @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,SC,VI")); foreach my $elem (@l){ $elem =~ tr/a-z/A-Z/; $r=0; diff --git a/doc/config.doc b/doc/config.doc index db7cd16..0df3524 100644 --- a/doc/config.doc +++ b/doc/config.doc @@ -101,6 +101,7 @@ followed by the descriptions of the tags grouped by category. \refitem cfg_exclude_symlinks EXCLUDE_SYMLINKS \refitem cfg_expand_as_defined EXPAND_AS_DEFINED \refitem cfg_expand_only_predef EXPAND_ONLY_PREDEF +\refitem cfg_extension_mapping EXTENSION_MAPPING \refitem cfg_external_groups EXTERNAL_GROUPS \refitem cfg_extra_packages EXTRA_PACKAGES \refitem cfg_extract_all EXTRACT_ALL @@ -195,7 +196,7 @@ followed by the descriptions of the tags grouped by category. \refitem cfg_project_number PROJECT_NUMBER \refitem cfg_qhp_namespace QHP_NAMESPACE \refitem cfg_qhp_virtual_folder QHP_VIRTUAL_FOLDER -\refitem cfg_qhp_custom_filter_name QHP_CUSTOM_FILTER_NAME +\refitem cfg_qhp_cust_filter_name QHP_CUST_FILTER_NAME \refitem cfg_qhp_cust_filter_attrs QHP_CUST_FILTER_ATTRS \refitem cfg_qhp_sect_filter_attrs QHP_SECT_FILTER_ATTRS \refitem cfg_qhg_location QHG_LOCATION @@ -550,14 +551,26 @@ followed by the descriptions of the tags grouped by category. \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. + 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. + 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_extension_mapping +
\c EXTENSION_MAPPING
+ \addindex EXTENSION_MAPPING + Doxygen selects the parser to use depending on the extension of the files it parses. + With this tag you can assign which parser to use for a given extension. + Doxygen has a built-in mapping, but you can override or extend it using this tag. + The format is ext=language, where ext is a file extension, and language is one of + the parsers supported by doxygen: IDL, Java, Javascript, C#, C, C++, D, PHP, + Objective-C, Python, Fortran, VHDL, C, C++. For instance to make doxygen treat + .inc files as Fortran files (default is PHP), and .f files as C (default is Fortran), + use: inc=Fortran f=C \anchor cfg_subgrouping
\c SUBGROUPING
@@ -1387,10 +1400,10 @@ FILE_VERSION_INFO = "cleartool desc -fmt \%Vn" generating Qt Help Project output. For more information please see Qt Help Project / Virtual Folders. -\anchor cfg_qhp_custom_filter_name -
\c QHP_CUSTOM_FILTER_NAME
- \addindex QHP_CUSTOM_FILTER_NAME - If QHP_CUSTOM_FILTER_NAME is set, it specifies the name of a custom filter to add. For more information please see +\anchor cfg_qhp_cust_filter_name +
\c QHP_CUST_FILTER_NAME
+ \addindex QHP_CUST_FILTER_NAME + If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to add. For more information please see Qt Help Project / Custom Filters. \anchor cfg_qhp_cust_filter_attrs diff --git a/doc/language.doc b/doc/language.doc index b51310f..623be4b 100644 --- a/doc/language.doc +++ b/doc/language.doc @@ -23,14 +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.6), 35 languages +Currently (version 1.5.7.1), 36 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, Macedonian, Norwegian, Persian, Polish, Portuguese, Romanian, Russian, Serbian, SerbianCyrilic, Slovak, Slovene, Spanish, -Swedish, and Ukrainian.. +Swedish, Ukrainian, and Vietnamese.. The table of information related to the supported languages follows. It is sorted by language alphabetically. The Status column @@ -273,6 +273,12 @@ when the translator was updated. olexij.tkatchenko at parcs dot de 1.4.1 + + Vietnamese + Dang Minh Tuan + tuanvietkey at gmail dot com + up-to-date + @@ -376,6 +382,8 @@ when the translator was updated. \hline Ukrainian & Olexij Tkatchenko & {\tt\tiny olexij.tkatchenko@parcs.de} & 1.4.1 \\ \hline + Vietnamese & Dang Minh Tuan & {\tt\tiny tuanvietkey@gmail.com} & up-to-date \\ + \hline \end{tabular} \endlatexonly diff --git a/doc/maintainers.txt b/doc/maintainers.txt index 06d522b..3ad583f 100644 --- a/doc/maintainers.txt +++ b/doc/maintainers.txt @@ -128,3 +128,5 @@ Mikael Hallin: mikaelhallin@yahoo.se TranslatorUkrainian Olexij Tkatchenko: olexij.tkatchenko@parcs.de +TranslatorVietnamese +Dang Minh Tuan: tuanvietkey@gmail.com diff --git a/doc/translator_report.txt b/doc/translator_report.txt index a75f78d..9379fd6 100644 --- a/doc/translator_report.txt +++ b/doc/translator_report.txt @@ -1,15 +1,15 @@ -(1.5.6) +(1.5.7.1) -Doxygen supports the following 35 languages (sorted alphabetically): +Doxygen supports the following 36 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, Macedonian, Norwegian, Persian, Polish, Portuguese, Romanian, Russian, Serbian, SerbianCyrilic, Slovak, Slovene, Spanish, -Swedish, and Ukrainian. +Swedish, Ukrainian, and Vietnamese. -Of them, 18 translators are up-to-date, 17 translators are based on +Of them, 19 translators are up-to-date, 17 translators are based on some adapter class, and 2 are English based. ---------------------------------------------------------------------- @@ -36,6 +36,7 @@ still may be some details listed even for them: TranslatorSerbianCyrilic TranslatorSerbian TranslatorSpanish -- Change the base class to Translator. + TranslatorVietnamese ---------------------------------------------------------------------- The following translator classes need some maintenance (the most diff --git a/src/config.h b/src/config.h index ea8fdad..e2cf96b 100644 --- a/src/config.h +++ b/src/config.h @@ -1,3 +1,21 @@ +/****************************************************************************** + * + * + * + * + * 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 CONFIG_H #define CONFIG_H @@ -56,6 +74,7 @@ class ConfigOption virtual void writeTemplate(QTextStream &t,bool sl,bool upd) = 0; virtual void convertStrToVal() {} virtual void substEnvVars() = 0; + virtual void writeXML(QTextStream&) {} virtual void init() {} QCString convertToComment(const QCString &s); @@ -128,6 +147,7 @@ class ConfigList : public ConfigOption t << "\n"; } void substEnvVars(); + void writeXML(QTextStream&); void init() { m_value.clear(); } private: QStrList m_value; @@ -167,6 +187,7 @@ class ConfigEnum : public ConfigOption writeStringValue(t,m_value); t << "\n"; } + void writeXML(QTextStream&); void init() { m_value = m_defValue.copy(); } private: @@ -209,6 +230,7 @@ class ConfigString : public ConfigOption t << "\n"; } void substEnvVars(); + void writeXML(QTextStream&); void init() { m_value = m_defValue.copy(); } private: @@ -258,6 +280,7 @@ class ConfigInt : public ConfigOption } t << "\n"; } + void writeXML(QTextStream&); void init() { m_value = m_defValue; } private: int m_value; @@ -305,6 +328,7 @@ class ConfigBool : public ConfigOption } t << "\n"; } + void writeXML(QTextStream&); void init() { m_value = m_defValue; } private: bool m_value; @@ -321,6 +345,7 @@ class ConfigObsolete : public ConfigOption ConfigObsolete(OptionType t) : ConfigOption(t) {} void writeTemplate(QTextStream &,bool,bool) {} void substEnvVars() {} + void writeXML(QTextStream&); }; @@ -511,6 +536,9 @@ class Config */ void writeTemplate(QTextStream &t,bool shortIndex,bool updateOnly); + /** Write XML representation of the config file */ + void writeXML(QTextStream &t); + ///////////////////////////// // internal API ///////////////////////////// diff --git a/src/config.l b/src/config.l index 6d1fc3e..0b07236 100644 --- a/src/config.l +++ b/src/config.l @@ -34,8 +34,10 @@ #include "config.h" #include "version.h" #include "portable.h" +#include "util.h" #include "lang_cfg.h" +#include "configoptions.h" #undef Config_getString #undef Config_getInt @@ -273,6 +275,92 @@ bool &Config::getBool(const char *fileName,int num,const char *name) const } /* ----------------------------------------------------------------- + */ + +void ConfigInt::writeXML(QTextStream& t) +{ + t << " " << endl; +} + +void ConfigList::writeXML(QTextStream &t) +{ + QString format; + switch (m_widgetType) + { + case String: format="string"; break; + case File: format="file"; break; + case Dir: format="dir"; break; + case FileAndDir: format="filedir"; break; + } + t << " " << endl; +} + +void ConfigObsolete::writeXML(QTextStream &t) +{ + t << "