diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2006-10-17 18:03:21 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2006-10-17 18:03:21 (GMT) |
commit | 8a6cb1baa8edce0b56a07e97bd57f5d5dd756cb5 (patch) | |
tree | 54faf2b759aca5cdc6184168aa676ed669435766 | |
parent | ca720513ae89ad82fd8d8c4340271375ae1e9f64 (diff) | |
download | Doxygen-8a6cb1baa8edce0b56a07e97bd57f5d5dd756cb5.zip Doxygen-8a6cb1baa8edce0b56a07e97bd57f5d5dd756cb5.tar.gz Doxygen-8a6cb1baa8edce0b56a07e97bd57f5d5dd756cb5.tar.bz2 |
Release-1.5.0
33 files changed, 1446 insertions, 1580 deletions
@@ -1,7 +1,7 @@ -DOXYGEN Version 1.4.7-20061004 +DOXYGEN Version 1.5.0 Please read the installation section of the manual (http://www.doxygen.org/install.html) for instructions. -------- -Dimitri van Heesch (04 October 2006) +Dimitri van Heesch (17 October 2006) @@ -1,4 +1,4 @@ -DOXYGEN Version 1.4.7_20061004 +DOXYGEN Version 1.5.0 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) (04 October 2006) +Dimitri van Heesch (dimitri@stack.nl) (17 October 2006) diff --git a/addon/doxywizard/doxywizard.cpp b/addon/doxywizard/doxywizard.cpp index d10ff05..a48058c 100644 --- a/addon/doxywizard/doxywizard.cpp +++ b/addon/doxywizard/doxywizard.cpp @@ -47,35 +47,6 @@ QCString getResourcePath() return result; } -#if 0 -#define GRAPHVIZ_PATH "/Applications/Graphviz.app" -#define DOT_PATH GRAPHVIZ_PATH "/Contents/MacOS" -#define DOT_LOCATION DOT_PATH "/dot" - -bool checkIfDotInstalled() -{ - QFileInfo fi(GRAPHVIZ_PATH); - if (fi.exists() && fi.isDir()) - { - fi.setFile(DOT_LOCATION); - if (fi.exists() && fi.isFile()) - { - return TRUE; - } - } - return FALSE; -} - -void setDotPath() -{ - if (checkIfDotInstalled()) - { - Config_getString("DOT_PATH")=DOT_PATH; - //Config_getBool("HAVE_DOT")=TRUE; - } -} -#endif - void setDotPath() { Config_getString("DOT_PATH")=getResourcePath(); @@ -235,11 +206,12 @@ Step2::Step2(QWidget *parent) : QWidget(parent,"Step2") layout->addWidget(f); m_optimizeLang = new QButtonGroup("Select programming language to optimize the results for",this); - gbox = new QGridLayout( m_optimizeLang, 4, 1, 8, 0 ); + gbox = new QGridLayout( m_optimizeLang, 5, 1, 8, 0 ); gbox->addRowSpacing( 0, fontMetrics().lineSpacing()+2 ); gbox->addWidget(new QRadioButton("Optimize for C++ output",m_optimizeLang),1,0); gbox->addWidget(new QRadioButton("Optimize for Java output",m_optimizeLang),2,0); gbox->addWidget(new QRadioButton("Optimize for C output",m_optimizeLang),3,0); + gbox->addWidget(new QRadioButton("Optimize for C# output",m_optimizeLang),4,0); m_optimizeLang->setButton(0); layout->addWidget(m_optimizeLang); @@ -279,6 +251,7 @@ OptLang Step2::optimizeFor() const case 0: return Lang_Cpp; case 1: return Lang_Java; case 2: return Lang_C; + case 3: return Lang_CS; } return Lang_Cpp; } @@ -302,6 +275,7 @@ void Step2::setOptimizeFor(OptLang lang) case Lang_Cpp: m_optimizeLang->setButton(0); break; case Lang_Java: m_optimizeLang->setButton(1); break; case Lang_C: m_optimizeLang->setButton(2); break; + case Lang_CS: m_optimizeLang->setButton(3); break; } } @@ -1048,6 +1022,12 @@ void MainWidget::launchWizard() Config_getBool("OPTIMIZE_OUTPUT_FOR_C")=TRUE; Config_getBool("OPTIMIZE_OUTPUT_JAVA")=FALSE; break; + case Lang_CS: + Config_getBool("OPTIMIZE_OUTPUT_FOR_C")=FALSE; + Config_getBool("OPTIMIZE_OUTPUT_JAVA")=TRUE; + Config_getBool("EXTRACT_STATIC")=TRUE; + Config_getBool("EXTRACT_LOCAL_CLASSES")=TRUE; + break; } // step3 diff --git a/addon/doxywizard/doxywizard.h b/addon/doxywizard/doxywizard.h index c937dae..115a70b 100644 --- a/addon/doxywizard/doxywizard.h +++ b/addon/doxywizard/doxywizard.h @@ -18,7 +18,7 @@ class QProcess; class QTimer; class QPopupMenu; -enum OptLang { Lang_Cpp, Lang_C, Lang_Java }; +enum OptLang { Lang_Cpp, Lang_C, Lang_Java, Lang_CS }; enum HtmlStyle { HS_Plain, HS_TreeView, HS_CHM }; enum TexStyle { TS_PDFHyper, TS_PDF, TS_PS }; enum DiagramMode { DM_None, DM_Builtin, DM_Dot }; @@ -16,11 +16,11 @@ # shell script to configure doxygen doxygen_version_major=1 -doxygen_version_minor=4 -doxygen_version_revision=7 +doxygen_version_minor=5 +doxygen_version_revision=0 #NOTE: Setting version_mmn to "NO" will omit mmn info from the package. -doxygen_version_mmn=20061004 +doxygen_version_mmn=NO bin_dirs=`echo $PATH | sed -e "s/:/ /g"` diff --git a/doc/htmlcmds.doc b/doc/htmlcmds.doc index 0403edb..08a6b1a 100644 --- a/doc/htmlcmds.doc +++ b/doc/htmlcmds.doc @@ -36,7 +36,11 @@ of a HTML tag are passed on to the HTML output only <li><tt>\<CAPTION\></tt> Starts a caption. Use within a table only. <li><tt>\</CAPTION\></tt> Ends a caption. Use within a table only. <li><tt>\<CODE\></tt> Starts a piece of text displayed in a typewriter font. + Note that for C# code, this command is equivalent to + \ref cmdcode "\\code". <li><tt>\</CODE\></tt> End a <tt>\<CODE\></tt> section. + Note that for C# code, this command is equivalent to + \ref cmdendcode "\\endcode". <li><tt>\<DD\></tt> Starts an item description. <li><tt>\<DFN\></tt> Starts a piece of text displayed in a typewriter font. <li><tt>\</DFN\></tt> Ends a <tt>\<DFN\></tt> section. diff --git a/doc/index.doc b/doc/index.doc index bb91d59..921624b 100644 --- a/doc/index.doc +++ b/doc/index.doc @@ -97,7 +97,7 @@ The second part forms a reference manual: used within the documentation. <li>Section \ref htmlcmds shows an overview of the HTML commands that can be used within the documentation. -<li>Section \ref xmlcmds shows an overview of the XML commands that +<li>Section \ref xmlcmds shows an overview of the C# style XML commands that can be used within the documentation. </ul> diff --git a/doc/install.doc b/doc/install.doc index ad32d26..67eac06 100644 --- a/doc/install.doc +++ b/doc/install.doc @@ -344,6 +344,8 @@ of doxygen (\<=1.2.17) will not work correctly with newer versions of graphviz (\>=1.8.8). The effect of this incompatibility is that generated graphs in HTML are not properly clickable. For doxygen 1.3 it is recommended to use at least graphviz 1.8.10 or higher. +For doxygen 1.4.7 or higher it is recommended to +use GraphViz 2.8 or higher to avoid font issues. <b>Red Hat 9.0 problems</b> @@ -359,6 +361,39 @@ before running make. \section install_src_windows Compiling from source on Windows +From version 1.5.0 onwards, build files are provided for Visual Studio 2005. +Also the free "Express" version of Developer Studio can be used to compile doxygen. +Alternatively, you can compile doxygen \ref install_src_unix "the Unix way" using +<a href="http://en.wikipedia.org/wiki/Cygwin">Cygwin</a> +or <a href="http://www.mingw.org/">MinGW</a>. + +Before you can compile doxygen you need to download and install the C++ compiler of +Visual Studio. Since Microsoft apparently wants to lure everyone into using their +.NET stuff, you need to +<a href="http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/"> +do some manual steps</a> in order to setup a proper working environment for building +native win32 applications. + +Once your environment is setup, you +can <a href="http://www.stack.nl/~dimitri/doxygen/download.html#latestsrc">download</a> +the source distribution of doxygen and unpack it. +If you don't have a tool like WinZip, then I suggest to download +<a href="http://sourceforge.net/projects/unxutils/">unxutils</a> +and untar the archive from within a command box using +\verbatim + tar zxvf doxygen-version.src.tar.gz +\endverbatim +Inside the archive you will find a \c winbuild directory containing a \c Doxygen.sln +file. Just open this file in Visual Studio. You can now build the Doxygen, Doxytag, +and Doxywizard projects for Release or Debug to compile the executables. + +Note that compiling Doxywizard currently requires a <a href="http://www.trolltech.com/products/qt/qt3"> +commercial license for Qt 3</a>. + +Also read the next section for additional tools you may need to install. + +<!-- + Currently, I have only compiled doxygen for Windows using Microsoft's Visual C++ (version 6.0). For other compilers you may need to edit the perl script in <code>wintools/make.pl</code> a bit. @@ -507,8 +542,41 @@ Compilation is now done by performing the following steps: documentation can be generated. </ol> +--> + \section install_bin_windows Installing the binaries on Windows +Doxygen comes as a self-installing archive, so installation is extremely simple. +Just follow the dialogs. + +After installation it is recommended to also download and install GraphViz +(version 2.8 or better is highly recommended). Doxygen can use the \c dot tool +of the GraphViz package to render nicer diagrams, see the +\ref cfg_have_dot "HAVE_DOT" option in the configuration file. + +If you want to produce compressed HTML files (see \ref +cfg_generate_htmlhelp "GENERATE_HTMLHELP") in the config file, then +you need the Microsoft HTML help workshop. +You can download it from +<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/vsconHH1Start.asp">Microsoft</a>. + +In order to generate PDF output or use scientific formulas you will also need to +install <a href="http://en.wikipedia.org/wiki/LaTeX">LaTeX</a> and +<a href="http://en.wikipedia.org/wiki/Ghostscript">Ghostscript</a>. + +For LaTeX a number of distributions exists. Popular onces that should work with +doxygen are <a href="http://www.miktex.org">MikTex</a> +and <a href="http://www.xemtex.org">XemTex</a>. + +Ghostscript can be <a href="http://sourceforge.net/projects/ghostscript/">downloaded</a> +from Sourceforge. + +After installing LaTeX and Ghostscript you'll need to make sure the tools +latex.exe, pdflatex.exe, and gswin32c.exe are present in the search path of a +command box. Follow <a href="http://www.computerhope.com/issues/ch000549.htm">these</a> +instructions if you are unsure and run the commands from a command box to verify it works. + +<!-- There is no fancy installation procedure at the moment (if anyone can add it in a location independent way please let me know). @@ -566,21 +634,23 @@ features: and the collaboration graphs. </ul> +--> + \section build_tools Tools used to develop doxygen -Doxygen was developed and tested under Linux using the following +Doxygen was developed and tested under Linux & MacOSX using the following open-source tools: <ul> -<li>GCC version 3.3.1 -<li>GNU flex version 2.5.4 +<li>GCC version 3.3.6 (Linux) and 4.0.1 (MacOSX) +<li>GNU flex version 2.5.33 (Linux) and 2.5.4 (MacOSX) <li>GNU bison version 1.75 <li>GNU make version 3.80 <li>Perl version 5.8.1 <li>VIM version 6.2 -<li>Mozilla 1.0 +<li>Firefox 1.5 <li>Troll Tech's tmake version 1.3 (included in the distribution) -<li>teTeX version 1.0 -<li>CVS 1.10.7 +<li>teTeX version 2.0.2 +<li>CVS 1.12.12 </ul> \htmlonly diff --git a/doc/language.doc b/doc/language.doc index 7700f7c..73316d4 100644 --- a/doc/language.doc +++ b/doc/language.doc @@ -59,7 +59,7 @@ when the translator was updated. <tr bgcolor="#ffffff"> <td>Arabic</td> <td>Moaz Reyad</td> - <td><moazreyad at yahoo dot com></td> + <td>moazreyad at yahoo dot com</td> <td>1.4.6</td> </tr> <tr bgcolor="#ffffff"> @@ -126,7 +126,7 @@ when the translator was updated. <td>French</td> <td>Xavier Outhier</td> <td>xouthier at yahoo dot fr</td> - <td>1.4.6</td> + <td>up-to-date</td> </tr> <tr bgcolor="#ffffff"> <td>German</td> @@ -197,7 +197,7 @@ when the translator was updated. <tr bgcolor="#ffffff"> <td>Persian</td> <td>Ali Nadalizadeh</td> - <td><nadalisoft at yahoo dot com></td> + <td>nadalisoft at yahoo dot com</td> <td>1.4.6</td> </tr> <tr bgcolor="#ffffff"> @@ -239,7 +239,7 @@ when the translator was updated. <tr bgcolor="#ffffff"> <td>Slovene</td> <td>Matjaž Ostroveršnik</td> - <td>matjaz.ostroversnik at ztm dot si</td> + <td>matjaz.ostroversnik at ostri dot org</td> <td>1.4.6</td> </tr> <tr bgcolor="#ffffff"> @@ -277,7 +277,7 @@ when the translator was updated. \hline Afrikaans & Johan Prinsloo & {\tt\tiny johan@zippysnoek.com} & 1.4.6 \\ \hline - Arabic & Moaz Reyad & {\tt\tiny <moazreyad@yahoo.com>} & 1.4.6 \\ + 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 \\ \hline @@ -302,7 +302,7 @@ 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} & 1.4.6 \\ + French & Xavier Outhier & {\tt\tiny xouthier@yahoo.fr} & up-to-date \\ \hline German & Jens Seidel & {\tt\tiny jensseidel@users.sf.net} & up-to-date \\ \hline @@ -333,7 +333,7 @@ when the translator was updated. \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 \\ + Persian & Ali Nadalizadeh & {\tt\tiny nadalisoft@yahoo.com} & 1.4.6 \\ \hline Polish & Piotr Kaminski & {\tt\tiny Piotr.Kaminski@ctm.gdynia.pl} & 1.4.6 \\ ~ & Grzegorz Kowal & {\tt\tiny g\_kowal@poczta.onet.pl} & ~ \\ @@ -348,7 +348,7 @@ when the translator was updated. \hline Slovak & Stanislav Kudl\'{a}\v{c} & {\tt\tiny skudlac@pobox.sk} & 1.2.18 \\ \hline - Slovene & Matja\v{z} Ostrover\v{s}nik & {\tt\tiny matjaz.ostroversnik@ztm.si} & 1.4.6 \\ + Slovene & Matja\v{z} Ostrover\v{s}nik & {\tt\tiny matjaz.ostroversnik@ostri.org} & 1.4.6 \\ \hline Spanish & Francisco Oltra Thennet & {\tt\tiny foltra@puc.cl} & 1.4.6 \\ \hline diff --git a/doc/maintainers.txt b/doc/maintainers.txt index bc6bb22..3687a02 100644 --- a/doc/maintainers.txt +++ b/doc/maintainers.txt @@ -13,7 +13,7 @@ TranslatorAfrikaans Johan Prinsloo: johan@zippysnoek.com TranslatorArabic -Moaz Reyad: <moazreyad@yahoo.com> +Moaz Reyad: moazreyad@yahoo.com TranslatorBrazilian Fabio "FJTC" Jun Takada Chino: jun-chino@uol.com.br @@ -86,7 +86,7 @@ TranslatorNorwegian Lars Erik Jordet: lejordet@gmail.com TranslatorPersian -Ali Nadalizadeh: <nadalisoft@yahoo.com> +Ali Nadalizadeh: nadalisoft@yahoo.com TranslatorPolish Piotr Kaminski: Piotr.Kaminski@ctm.gdynia.pl @@ -108,7 +108,7 @@ TranslatorSlovak Stanislav Kudláč: skudlac@pobox.sk TranslatorSlovene -Matjaž Ostroveršnik: matjaz.ostroversnik@ztm.si +Matjaž Ostroveršnik: matjaz.ostroversnik@ostri.org TranslatorSpanish Francisco Oltra Thennet: foltra@puc.cl diff --git a/doc/translator.py b/doc/translator.py index 7795cdc..96ea736 100644 --- a/doc/translator.py +++ b/doc/translator.py @@ -46,6 +46,8 @@ 2004/10/04 - Reporting of not called translator methods added. 2004/10/05 - Modified to check only doxygen/src sources for the previous report. 2005/02/28 - Slight modification to generate "mailto.txt" auxiliary file. + 2005/08/15 - Doxygen's root directory determined primarily from DOXYGEN + environment variable. When not found, then relatively to the script. """ from __future__ import generators @@ -1177,12 +1179,16 @@ class TrManager: this will process only translator_cz.h source. """ - # Determine the path to the script and the absolute path to the - # Doxygen's root subdirectory. + # Determine the path to the script and its name. self.script = os.path.abspath(sys.argv[0]) self.script_path, self.script_name = os.path.split(self.script) self.script_path = os.path.abspath(self.script_path) - self.doxy_path = os.path.abspath(os.path.join(self.script_path, '..')) + + # Determine the absolute path to the Doxygen's root subdirectory. + # If DOXYGEN environment variable is not found, the directory is + # determined from the path of the script. + doxy_default = os.path.join(self.script_path, '..') + self.doxy_path = os.path.abspath(os.getenv('DOXYGEN', doxy_default)) # Get the explicit arguments of the script. self.script_argLst = sys.argv[1:] @@ -1369,9 +1375,8 @@ class TrManager: the translator methods are included in the list. The file names are searched in doxygen/src directory. """ - srcdir = os.path.join(self.doxy_path, 'src') files = [] - for item in os.listdir(srcdir): + for item in os.listdir(self.src_path): # Split the bare name to get the extension. name, ext = os.path.splitext(item) ext = ext.lower() @@ -1379,7 +1384,7 @@ class TrManager: # Include only .cpp and .h files (case independent) and exclude # the files where the checked identifiers are defined. if ext == '.cpp' or (ext == '.h' and name.find('translator') == -1): - fname = os.path.join(srcdir, item) + fname = os.path.join(self.src_path, item) assert os.path.isfile(fname) # assumes no directory with the ext files.append(fname) # full name return files @@ -1624,7 +1629,7 @@ class TrManager: Fills the dictionary classId -> [(name, e-mail), ...].""" - fname = os.path.join(self.script_path, self.maintainersFileName) + fname = os.path.join(self.doc_path, self.maintainersFileName) # Include the maintainers file to the group of files checked with # respect to the modification time. @@ -1678,7 +1683,7 @@ class TrManager: # Check the last modification time of the template file. It is the # last file from the group that decide whether the documentation # should or should not be generated. - fTplName = os.path.join(self.script_path, self.languageTplFileName) + fTplName = os.path.join(self.doc_path, self.languageTplFileName) tim = os.path.getmtime(fTplName) if tim > self.lastModificationTime: self.lastModificationTime = tim diff --git a/doc/translator_report.txt b/doc/translator_report.txt index 5eace54..6d46178 100644 --- a/doc/translator_report.txt +++ b/doc/translator_report.txt @@ -8,7 +8,7 @@ German, Greek, Hungarian, Indonesian, Italian, Japanese (+En), Korean (+En), Lithuanian, Norwegian, Persian, Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovene, Spanish, Swedish, and Ukrainian. -Of them, 12 translators are up-to-date, 21 translators are based on +Of them, 13 translators are up-to-date, 20 translators are based on some adapter class, and 2 are English based. ---------------------------------------------------------------------- @@ -17,16 +17,17 @@ alphabetically). This means that they derive from the Translator class and they implement all 194 of the required methods. Anyway, there still may be some details listed even for them: - TranslatorBrazilian -- Remove the obsolete methods (never used). + TranslatorBrazilian TranslatorCatalan TranslatorChinese TranslatorCroatian TranslatorCzech - TranslatorDanish -- Change the base class to Translator. - TranslatorDutch -- Remove the obsolete methods (never used). - TranslatorEnglish -- Remove the obsolete methods (never used). + TranslatorDanish + TranslatorDutch + TranslatorEnglish + TranslatorFrench TranslatorGerman - TranslatorItalian -- Change the base class to Translator. + TranslatorItalian TranslatorJapanese -- Remove the obsolete methods (never used). TranslatorRussian @@ -46,7 +47,6 @@ must be implemented to become up-to-date: TranslatorKorean 1.4.6 2 methods to implement TranslatorIndonesian 1.4.6 1 method to implement TranslatorHungarian 1.4.6 2 methods to implement - TranslatorFrench 1.4.6 1 method 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 @@ -105,24 +105,6 @@ TranslatorArabic (TranslatorAdapter_1_4_6) 1 method to implement virtual QCString trNoDescriptionAvailable() -TranslatorBrazilian (Translator) -------------------- - - Implements 194 of the required methods. - - Obsolete methods (should be removed, never used): - - virtual QCString trHeaderFilesDescription() - virtual QCString trField(bool first_capital, bool singular) - virtual QCString trPackageDocumentation() - virtual QCString trSources() - virtual QCString trReimplementedForInternalReasons() - virtual QCString trInterfaces() - virtual QCString trHeaderFiles() - virtual QCString trBugsAndLimitations() - virtual QCString trNoDescriptionAvailable() - - TranslatorChinesetraditional (TranslatorAdapter_1_4_6) 1 method to implement ---------------------------- @@ -145,60 +127,6 @@ TranslatorChinesetraditional (TranslatorAdapter_1_4_6) 1 method to implement virtual QCString trNoDescriptionAvailable() -TranslatorDanish (TranslatorAdapter_1_3_9) ----------------- - - Implements 194 of the required methods. - - Obsolete methods (should be removed, never used): - - virtual QCString trHeaderFilesDescription() - virtual QCString trField(bool first_capital, bool singular) - virtual QCString trPackageDocumentation() - virtual QCString trSources() - virtual QCString trReimplementedForInternalReasons() - virtual QCString trInterfaces() - virtual QCString trHeaderFiles() - virtual QCString trBugsAndLimitations() - virtual QCString trNoDescriptionAvailable() - - -TranslatorDutch (Translator) ---------------- - - Implements 194 of the required methods. - - Obsolete methods (should be removed, never used): - - QCString trHeaderFilesDescription() - virtual QCString trField(bool first_capital, bool singular) - QCString trPackageDocumentation() - QCString trSources() - QCString trReimplementedForInternalReasons() - QCString trInterfaces() - QCString trHeaderFiles() - QCString trBugsAndLimitations() - QCString trNoDescriptionAvailable() - - -TranslatorEnglish (Translator) ------------------ - - Implements 194 of the required methods. - - Obsolete methods (should be removed, never used): - - virtual QCString trHeaderFilesDescription() - virtual QCString trField(bool first_capital, bool singular) - virtual QCString trPackageDocumentation() - virtual QCString trSources() - virtual QCString trReimplementedForInternalReasons() - virtual QCString trInterfaces() - virtual QCString trHeaderFiles() - virtual QCString trBugsAndLimitations() - virtual QCString trNoDescriptionAvailable() - - TranslatorFinnish (TranslatorEnglish) 96 methods to implement ----------------- @@ -315,28 +243,6 @@ TranslatorFinnish (TranslatorEnglish) 96 methods to implement QCString trNoDescriptionAvailable() -TranslatorFrench (TranslatorAdapter_1_4_6) 1 method to implement ----------------- - - Implements 193 of the required methods. - - Missing methods (should be implemented): - - virtual QCString trCallerGraph() - - Obsolete methods (should be removed, never used): - - virtual QCString trHeaderFilesDescription() - virtual QCString trField(bool first_capital, bool singular) - virtual QCString trPackageDocumentation() - virtual QCString trSources() - virtual QCString trReimplementedForInternalReasons() - virtual QCString trInterfaces() - virtual QCString trHeaderFiles() - virtual QCString trBugsAndLimitations() - virtual QCString trNoDescriptionAvailable() - - TranslatorGreek (TranslatorAdapter_1_2_11) 27 methods to implement --------------- @@ -418,12 +324,6 @@ TranslatorIndonesian (TranslatorAdapter_1_4_6) 1 method to implement virtual QCString trNoDescriptionAvailable() -TranslatorItalian (TranslatorAdapter_1_4_6) ------------------ - - Implements 194 of the required methods. - - TranslatorJapanese (Translator) ------------------ diff --git a/src/docparser.cpp b/src/docparser.cpp index 0cfeb88..c7a621a 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -158,7 +158,8 @@ static QCString findAndCopyImage(const char *fileName,DocImage::Type type) //printf("Search for %s\n",fileName); if ((fd=findFileDef(Doxygen::imageNameDict,fileName,ambig))) { - QFile inImage(QString(fd->absFilePath().data())); + QCString inputFile = fd->absFilePath(); + QFile inImage(inputFile); if (inImage.open(IO_ReadOnly)) { result = fileName; @@ -185,19 +186,22 @@ static QCString findAndCopyImage(const char *fileName,DocImage::Type type) break; } QCString outputFile = outputDir+"/"+result; - QFile outImage(QString(outputFile.data())); - if (outImage.open(IO_WriteOnly)) // copy the image + if (outputFile!=inputFile) // prevent copying to ourself { - char *buffer = new char[inImage.size()]; - inImage.readBlock(buffer,inImage.size()); - outImage.writeBlock(buffer,inImage.size()); - outImage.flush(); - delete buffer; - } - else - { - warn_doc_error(g_fileName,doctokenizerYYlineno, - "Warning: could not write output image %s",outputFile.data()); + QFile outImage(outputFile.data()); + if (outImage.open(IO_WriteOnly)) // copy the image + { + char *buffer = new char[inImage.size()]; + inImage.readBlock(buffer,inImage.size()); + outImage.writeBlock(buffer,inImage.size()); + outImage.flush(); + delete buffer; + } + else + { + warn_doc_error(g_fileName,doctokenizerYYlineno, + "Warning: could not write output image %s",outputFile.data()); + } } } else diff --git a/src/doctokenizer.l b/src/doctokenizer.l index 5b46523..c3aafba 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -195,7 +195,7 @@ static void handleHtmlTag() { char c=tagText.at(i); // skip spaces - while (i<yyleng && c==' ') { c=tagText.at(++i); } + while (i<yyleng && isspace(c)) { c=tagText.at(++i); } // check for end of the tag if (c == '>') break; // Check for XML style "empty" tag. @@ -206,17 +206,17 @@ static void handleHtmlTag() } startName=i; // search for end of name - while (i<yyleng && c!=' ' && c!='=') { c=tagText.at(++i); } + while (i<yyleng && !isspace(c) && c!='=') { c=tagText.at(++i); } endName=i; HtmlAttrib opt; opt.name = tagText.mid(startName,endName-startName).lower(); // skip spaces - while (i<yyleng && c==' ') { c=tagText.at(++i); } + while (i<yyleng && isspace(c)) { c=tagText.at(++i); } if (tagText.at(i)=='=') // option has value { c=tagText.at(++i); // skip spaces - while (i<yyleng && c==' ') { c=tagText.at(++i); } + while (i<yyleng && isspace(c)) { c=tagText.at(++i); } if (tagText.at(i)=='\'') // option '...' { c=tagText.at(++i); @@ -240,7 +240,7 @@ static void handleHtmlTag() { startAttrib=i; // search for separator - while (i<yyleng && c!=' ') { c=tagText.at(++i); } + while (i<yyleng && !isspace(c)) { c=tagText.at(++i); } endAttrib=i; if (i<yyleng) c=tagText.at(++i); } @@ -261,7 +261,7 @@ static QString stripEmptyLines(const char *s) for (;;) { int c; - while ((c=s[p]) && (c==' ' || c=='\t' || c=='\r')) p++; + while ((c=s[p]) && isspace(c)) p++; if (s[p]=='\n') result=++p; else break; } return &s[result]; diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 695cfc9..f825d34 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -1041,14 +1041,18 @@ static void addClassToContext(EntryNav *rootNav) { scName=rootNav->parent()->name(); } - // name without parent's scope + // name without parent's scope: TODO: is this still true? QCString fullName = root->name; // strip off any template parameters (but not those for specializations) fullName=stripTemplateSpecifiersFromScope(fullName); // name with scope - QCString qualifiedName = scName.isEmpty() ? fullName : scName+"::"+fullName; + QCString qualifiedName = fullName; + if (!scName.isEmpty() && !leftScopeMatch(fullName,scName)) + { + qualifiedName.prepend(scName+"::"); + } ClassDef *cd = getClass(qualifiedName); diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp index e96d1a8..0f4d242 100644 --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -1825,7 +1825,7 @@ static void writeDefaultQuickLinks(QTextStream &t,bool compact, QCString searchFor = fixSpaces(theTranslator->trSearchForIndex()); if (searchFor.at(0)=='S') searchFor="<u>S</u>"+searchFor.mid(1); t << " <li>\n"; - t << " <form action=\"search.php\" method=\"get\">\n"; + t << " <form action=\"" << relPath << "search.php\" method=\"get\">\n"; t << " <table cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n"; t << " <tr>\n"; t << " <td><label> " << searchFor << " </label></td>\n"; diff --git a/src/latexdocvisitor.cpp b/src/latexdocvisitor.cpp index f2d086b..8c1e757 100644 --- a/src/latexdocvisitor.cpp +++ b/src/latexdocvisitor.cpp @@ -36,7 +36,7 @@ static QString escapeLabelName(const char *s) switch (c) { case '%': result+="\\%"; break; - case '|': result+="\\tt{\"|}"; break; + case '|': result+="\\texttt{\"|}"; break; case '!': result+="\"!"; break; default: result+=c; } @@ -69,7 +69,7 @@ QString LatexDocVisitor::escapeMakeIndexChars(const char *s) case '!': m_t << "\"!"; break; case '"': m_t << "\"\""; break; case '@': m_t << "\"@"; break; - case '|': m_t << "\\tt{\"|}"; break; + case '|': m_t << "\\texttt{\"|}"; break; case '[': m_t << "["; break; case ']': m_t << "]"; break; default: str[0]=c; filter(str); break; @@ -191,7 +191,7 @@ void LatexDocVisitor::visit(DocURL *u) if (u->isEmail()) m_t << "mailto:"; m_t << u->url() << "}"; } - m_t << "\\tt{"; + m_t << "{\\tt "; filter(u->url()); m_t << "}"; } @@ -972,7 +972,7 @@ void LatexDocVisitor::visitPre(DocXRefItem *x) } else { - m_t << "\\bf{"; + m_t << "{\\bf "; } m_insideItem=TRUE; filter(x->title()); diff --git a/src/memberdef.cpp b/src/memberdef.cpp index 976fdc8..a450ba3 100644 --- a/src/memberdef.cpp +++ b/src/memberdef.cpp @@ -963,12 +963,14 @@ void MemberDef::setDefinitionTemplateParameterLists(QList<ArgumentList> *lists) void MemberDef::writeLink(OutputList &ol,ClassDef *,NamespaceDef *, FileDef *fd,GroupDef *gd,bool onlyText) { + static bool optimizeOutputJava = Config_getBool("OPTIMIZE_OUTPUT_JAVA"); + static bool hideScopeNames = Config_getBool("HIDE_SCOPE_NAMES"); makeResident(); LockingPtr<MemberDef> lock(this,this); - QCString sep = Config_getBool("OPTIMIZE_OUTPUT_JAVA") ? "." : "::"; + QCString sep = optimizeOutputJava ? "." : "::"; QCString n = name(); - if (m_impl->classDef && gd) n.prepend(m_impl->classDef->name()+sep); - else if (m_impl->nspace && (gd || fd)) n.prepend(m_impl->nspace->name()+sep); + if (!hideScopeNames && m_impl->classDef && gd) n.prepend(m_impl->classDef->name()+sep); + else if (!hideScopeNames && m_impl->nspace && (gd || fd)) n.prepend(m_impl->nspace->name()+sep); if (isObjCMethod()) { if (isStatic()) ol.docify("+ "); else ol.docify("- "); diff --git a/src/objcache.cpp b/src/objcache.cpp index 63e7eb7..f45a0e7 100644 --- a/src/objcache.cpp +++ b/src/objcache.cpp @@ -17,6 +17,7 @@ #include <stdio.h> #include <assert.h> +#include <qglobal.h> #include "objcache.h" //---------------------------------------------------------------------- @@ -176,11 +177,10 @@ void ObjCache::moveToFront(int index) unsigned int ObjCache::hash(void *addr) { - static bool isPtr64 = sizeof(addr)==8 && sizeof(long)==8; - - unsigned long key = (unsigned long)addr; + static bool isPtr64 = sizeof(addr)==8; if (isPtr64) { + uint64 key = (uint64)addr; // Thomas Wang's 64 bit Mix Function key += ~(key << 32); key ^= (key >> 22); @@ -190,18 +190,20 @@ unsigned int ObjCache::hash(void *addr) key ^= (key >> 15); key += ~(key << 27); key ^= (key >> 31); + return key & (m_size-1); } else { // Thomas Wang's 32 bit Mix Function + unsigned long key = (unsigned long)addr; key += ~(key << 15); key ^= (key >> 10); key += (key << 3); key ^= (key >> 6); key += ~(key << 11); key ^= (key >> 16); + return key & (m_size-1); } - return key & (m_size-1); } ObjCache::HashNode *ObjCache::hashFind(void *obj) diff --git a/src/pyscanner.l b/src/pyscanner.l index 5f7abb0..0a4fbcf 100644 --- a/src/pyscanner.l +++ b/src/pyscanner.l @@ -290,8 +290,8 @@ static void appendDocBlock() { static void handleCommentBlock(const QCString &doc,bool brief) { - //printf("handleCommentBlock(doc=[%s] brief=%d docBlockInBody=%d\n", - // doc.data(),brief,docBlockInBody); + //printf("handleCommentBlock(doc=[%s] brief=%d docBlockInBody=%d docBlockJavaStyle=%d\n", + // doc.data(),brief,docBlockInBody,docBlockJavaStyle); // TODO: Fix me docBlockInBody=FALSE; @@ -310,7 +310,7 @@ static void handleCommentBlock(const QCString &doc,bool brief) yyFileName, // file brief ? current->briefLine : current->docLine, // line of block start docBlockInBody ? FALSE : brief, - docBlockJavaStyle, // javadoc style + FALSE, //docBlockJavaStyle, // javadoc style docBlockInBody, protection, position, @@ -854,7 +854,7 @@ STARTDOCSYMS ^{B}"##"/[^#] ")" { // end of parameter list } - ":" { + ":"{B} { g_specialBlock = TRUE; // expecting a docstring bodyEntry = current; BEGIN( FunctionBody ); diff --git a/src/translator_br.h b/src/translator_br.h index 45cb083..51f426d 100644 --- a/src/translator_br.h +++ b/src/translator_br.h @@ -183,10 +183,6 @@ class TranslatorBrazilian : public Translator virtual QCString trFileList() { return "Lista de Arquivos"; } - /*! This is put above each page as a link to the list of all verbatim headers */ - virtual QCString trHeaderFiles() - { return "Arquivos de Cabeçalho (Headers)"; } - /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() { @@ -321,10 +317,6 @@ class TranslatorBrazilian : public Translator return result; } - /*! This is an introduction to the page with the list of all header files. */ - virtual QCString trHeaderFilesDescription() - { return "Estes são os arquivos de cabeçalho que compõe a API:"; } - /*! This is an introduction to the page with the list of all examples */ virtual QCString trExamplesDescription() { return "Esta é a lista com todos os exemplos:"; } @@ -337,15 +329,6 @@ class TranslatorBrazilian : public Translator virtual QCString trModulesDescription() { return "Esta é a lista com todos os módulos:"; } - /*! This sentences is used in the annotated class/file lists if no brief - * description is given. - */ - virtual QCString trNoDescriptionAvailable() - { return "Sem descrição disponível"; } - - // index titles (the project name is prepended for these) - - /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "\nDocumentação"; } @@ -546,18 +529,10 @@ class TranslatorBrazilian : public Translator virtual QCString trForInternalUseOnly() { return "Apenas para uso interno."; } - /*! this text is generated when the \\reimp command is used. */ - virtual QCString trReimplementedForInternalReasons() - { return "Reimplementado por razões internas. A API não foi modificada."; } - /*! this text is generated when the \\warning command is used. */ virtual QCString trWarning() { return "Aviso"; } - /*! this text is generated when the \\bug command is used. */ - virtual QCString trBugsAndLimitations() - { return "Problemas e Limitações"; } - /*! this text is generated when the \\version command is used. */ virtual QCString trVersion() { return "Versão"; } @@ -832,10 +807,6 @@ class TranslatorBrazilian : public Translator // new since 0.49-991003 ////////////////////////////////////////////////////////////////////////// - virtual QCString trSources() - { - return "Códigos-Fonte"; - } virtual QCString trDefinedAtLineInSourceFile() { return "Definição na linha @0 do arquivo @1."; @@ -1138,11 +1109,6 @@ class TranslatorBrazilian : public Translator // new since 1.2.4 ////////////////////////////////////////////////////////////////////////// - /*! Used for Java interfaces in the summary section of Java packages */ - virtual QCString trInterfaces() - { - return "Interfaces"; - } /*! Used for Java classes in the summary section of Java packages */ virtual QCString trClasses() { @@ -1175,11 +1141,6 @@ class TranslatorBrazilian : public Translator { return "Pacotes"; } - /*! Used as a chapter title for Latex & RTF output */ - virtual QCString trPackageDocumentation() - { - return "Pacotes"; - } /*! Text shown before a multi-line define */ virtual QCString trDefineValue() { @@ -1320,17 +1281,6 @@ class TranslatorBrazilian : public Translator * be followed by a single name or by a list of names * of the category. */ - virtual QCString trField(bool first_capital, bool singular) - { - QCString result((first_capital ? "Campo" : "campo")); - 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 trGlobal(bool first_capital, bool singular) { QCString result((first_capital ? "Globa" : "globa")); diff --git a/src/translator_dk.h b/src/translator_dk.h index 98fdea1..1168a38 100644 --- a/src/translator_dk.h +++ b/src/translator_dk.h @@ -79,7 +79,7 @@ #ifndef TRANSLATOR_DK_H #define TRANSLATOR_DK_H -class TranslatorDanish : public TranslatorAdapter_1_3_9 +class TranslatorDanish : public Translator { public: @@ -225,10 +225,6 @@ class TranslatorDanish : public TranslatorAdapter_1_3_9 virtual QCString trFileList() { return "Filoversigt"; } - /*! This is put above each page as a link to the list of all verbatim headers */ - virtual QCString trHeaderFiles() - { return "Headerfiler"; } - /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() { @@ -338,10 +334,6 @@ class TranslatorDanish : public TranslatorAdapter_1_3_9 return result; } - /*! This is an introduction to the page with the list of all header files. */ - virtual QCString trHeaderFilesDescription() - { return "Her er de headerfiler, der udgør API'en:"; } - /*! This is an introduction to the page with the list of all examples */ virtual QCString trExamplesDescription() { return "Her er en liste over alle eksempler:"; } @@ -354,15 +346,6 @@ class TranslatorDanish : public TranslatorAdapter_1_3_9 virtual QCString trModulesDescription() { return "Her er en liste over alle moduler:"; } - /*! This sentences is used in the annotated class/file lists if no brief - * description is given. - */ - virtual QCString trNoDescriptionAvailable() - { return "Ikke beskrevet"; } - - // index titles (the project name is prepended for these) - - /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "Dokumentation"; } @@ -558,19 +541,10 @@ class TranslatorDanish : public TranslatorAdapter_1_3_9 virtual QCString trForInternalUseOnly() { return "Kun til intern brug."; } - /*! this text is generated when the \\reimp command is used. */ - virtual QCString trReimplementedForInternalReasons() - { return "Metoden er genimplementeret af interne grunde; " - "API'en er ikke påvirket."; } - /*! this text is generated when the \\warning command is used. */ virtual QCString trWarning() { return "Advarsel"; } - /*! this text is generated when the \\bug command is used. */ - virtual QCString trBugsAndLimitations() - { return "Fejl og begrænsninger"; } - /*! this text is generated when the \\version command is used. */ virtual QCString trVersion() { return "Version"; } @@ -843,9 +817,6 @@ class TranslatorDanish : public TranslatorAdapter_1_3_9 // new since 0.49-991003 ////////////////////////////////////////////////////////////////////////// - virtual QCString trSources() - { return "Kilder"; /* Tranlation?? */ } - virtual QCString trDefinedAtLineInSourceFile() { return "Defineret på linje @0 i filen @1."; @@ -1122,11 +1093,6 @@ class TranslatorDanish : public TranslatorAdapter_1_3_9 // new since 1.2.4 ////////////////////////////////////////////////////////////////////////// - /*! Used for Java interfaces in the summary section of Java packages */ - virtual QCString trInterfaces() - { - return "Grænseflader"; - } /*! Used for Java classes in the summary section of Java packages */ virtual QCString trClasses() { @@ -1158,11 +1124,6 @@ class TranslatorDanish : public TranslatorAdapter_1_3_9 { return "Pakker"; } - /*! Used as a chapter title for Latex & RTF output */ - virtual QCString trPackageDocumentation() - { - return "Pakke-dokumentation"; - } /*! Text shown before a multi-line define */ virtual QCString trDefineValue() { @@ -1271,15 +1232,6 @@ class TranslatorDanish : public TranslatorAdapter_1_3_9 * be followed by a single name or by a list of names * of the category. */ - virtual QCString trField(bool first_capital, bool singular) - { - return createNoun(first_capital, singular, "felt", "er"); - } - - /*! 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 trGlobal(bool first_capital, bool singular) { return createNoun(first_capital, singular, "global", "e"); diff --git a/src/translator_en.h b/src/translator_en.h index e365835..fda338d 100644 --- a/src/translator_en.h +++ b/src/translator_en.h @@ -194,10 +194,6 @@ class TranslatorEnglish : public Translator virtual QCString trFileList() { return "File List"; } - /*! This is put above each page as a link to the list of all verbatim headers */ - virtual QCString trHeaderFiles() - { return "Header Files"; } - /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() { @@ -330,10 +326,6 @@ class TranslatorEnglish : public Translator return result; } - /*! This is an introduction to the page with the list of all header files. */ - virtual QCString trHeaderFilesDescription() - { return "Here are the header files that make up the API:"; } - /*! This is an introduction to the page with the list of all examples */ virtual QCString trExamplesDescription() { return "Here is a list of all examples:"; } @@ -346,15 +338,8 @@ class TranslatorEnglish : public Translator virtual QCString trModulesDescription() { return "Here is a list of all modules:"; } - /*! This sentences is used in the annotated class/file lists if no brief - * description is given. - */ - virtual QCString trNoDescriptionAvailable() - { return "No description available"; } - // index titles (the project name is prepended for these) - /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "Documentation"; } @@ -555,18 +540,10 @@ class TranslatorEnglish : public Translator virtual QCString trForInternalUseOnly() { return "For internal use only."; } - /*! this text is generated when the \\reimp command is used. */ - virtual QCString trReimplementedForInternalReasons() - { return "Reimplemented for internal reasons; the API is not affected."; } - /*! this text is generated when the \\warning command is used. */ virtual QCString trWarning() { return "Warning"; } - /*! this text is generated when the \\bug command is used. */ - virtual QCString trBugsAndLimitations() - { return "Bugs and limitations"; } - /*! this text is generated when the \\version command is used. */ virtual QCString trVersion() { return "Version"; } @@ -841,10 +818,6 @@ class TranslatorEnglish : public Translator // new since 0.49-991003 ////////////////////////////////////////////////////////////////////////// - virtual QCString trSources() - { - return "Sources"; - } virtual QCString trDefinedAtLineInSourceFile() { return "Definition at line @0 of file @1."; @@ -1151,11 +1124,6 @@ class TranslatorEnglish : public Translator // new since 1.2.4 ////////////////////////////////////////////////////////////////////////// - /*! Used for Java interfaces in the summary section of Java packages */ - virtual QCString trInterfaces() - { - return "Interfaces"; - } /*! Used for Java classes in the summary section of Java packages */ virtual QCString trClasses() { @@ -1188,11 +1156,6 @@ class TranslatorEnglish : public Translator { return "Packages"; } - /*! Used as a chapter title for Latex & RTF output */ - virtual QCString trPackageDocumentation() - { - return "Package Documentation"; - } /*! Text shown before a multi-line define */ virtual QCString trDefineValue() { @@ -1333,17 +1296,6 @@ class TranslatorEnglish : public Translator * be followed by a single name or by a list of names * of the category. */ - virtual QCString trField(bool first_capital, bool singular) - { - QCString result((first_capital ? "Field" : "field")); - 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 trGlobal(bool first_capital, bool singular) { QCString result((first_capital ? "Global" : "global")); diff --git a/src/translator_fr.h b/src/translator_fr.h index 3e1d6f9..861c5c4 100644 --- a/src/translator_fr.h +++ b/src/translator_fr.h @@ -62,6 +62,19 @@ * -------------+------------------------------------------------------------ * 2005-07-12 | Update for new since 1.4.1 * -------------+------------------------------------------------------------ + * 2005-10-09 | Update for new since 1.4.6 + * | Added virtual QCString trCallerGraph() + * | Removed virtual QCString trHeaderFilesDescription() + * | Removed virtual QCString trField(bool first_capital, bool singular) + * | Removed virtual QCString trPackageDocumentation() + * | Removed virtual QCString trSources() + * | Removed virtual QCString trReimplementedForInternalReasons() + * | Removed virtual QCString trInterfaces() + * | Removed virtual QCString trHeaderFiles() + * | Removed virtual QCString trBugsAndLimitations() + * | Removed virtual QCString trNoDescriptionAvailable() + * | Corrected some misspelling thanx to Christophe C. + * -------------+------------------------------------------------------------ */ #ifndef TRANSLATOR_FR_H #define TRANSLATOR_FR_H @@ -87,10 +100,10 @@ // Translator class (by the local maintainer) when the localized // translator is made up-to-date again. -class TranslatorFrench : public TranslatorAdapter_1_4_6 +class TranslatorFrench : public Translator { - public: - + public: + // --- Language control methods ------------------- /*! Used for identification of the language. The identification @@ -99,9 +112,10 @@ class TranslatorFrench : public TranslatorAdapter_1_4_6 * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in language.cpp. */ - virtual QCString idLanguage() - { return "french"; } - + virtual QCString idLanguage() + { + return "french"; } + /*! 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 @@ -113,1160 +127,1206 @@ class TranslatorFrench : public TranslatorAdapter_1_4_6 * "\\usepackage[T1]{fontenc}\n" * </pre> */ - virtual QCString latexLanguageSupportCommand() - { - return "\\usepackage[french]{babel}\n"; - } - + virtual QCString latexLanguageSupportCommand() + { + return "\\usepackage[french]{babel}\n"; + } + /*! return the language charset. This will be used for the HTML output */ - virtual QCString idLanguageCharset() - { - return "iso-8859-1"; - } - + virtual QCString idLanguageCharset() + { + return "iso-8859-1"; + } + // --- Language translation methods ------------------- - + /*! used in the compound documentation before a list of related functions. */ - virtual QCString trRelatedFunctions() - { return "Fonctions associées"; } - + virtual QCString trRelatedFunctions() + { + return "Fonctions associées"; } + /*! subscript for the related functions. */ - virtual QCString trRelatedSubscript() - { return "(Noter que ce ne sont pas des fonctions membres)"; } - + virtual QCString trRelatedSubscript() + { + return "(Noter que ce ne sont pas des fonctions membres)"; } + /*! header that is put before the detailed description of files, classes and namespaces. */ - virtual QCString trDetailedDescription() - { return "Description détaillée"; } - + virtual QCString trDetailedDescription() + { + return "Description détaillée"; } + /*! header that is put before the list of typedefs. */ - virtual QCString trMemberTypedefDocumentation() - { return "Documentation des typedef membres"; } + virtual QCString trMemberTypedefDocumentation() + { + return "Documentation des définition de type membres"; } /*! header that is put before the list of enumerations. */ - virtual QCString trMemberEnumerationDocumentation() - { return "Documentation des énumérations membres"; } + virtual QCString trMemberEnumerationDocumentation() + { + return "Documentation des énumérations membres"; } /*! header that is put before the list of member functions. */ - virtual QCString trMemberFunctionDocumentation() - { return "Documentation des fonctions membres"; } + virtual QCString trMemberFunctionDocumentation() + { + return "Documentation des fonctions membres"; } /*! header that is put before the list of member attributes. */ - virtual QCString trMemberDataDocumentation() - { - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { - return "Documentation des champs"; - } - else - { - return "Documentation des données membres"; + virtual QCString trMemberDataDocumentation() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Documentation des champs"; + } + else + { + return "Documentation des données membres"; + } } - } - + /*! this is the text of a link put after brief descriptions. */ - virtual QCString trMore() - { return "Plus de détails..."; } - + virtual QCString trMore() + { + return "Plus de détails..."; } + /*! put in the class documentation */ - virtual QCString trListOfAllMembers() - { return "Liste de tous les membres"; } - + virtual QCString trListOfAllMembers() + { + return "Liste de tous les membres"; } + /*! used as the title of the "list of all members" page of a class */ - virtual QCString trMemberList() - { return "Liste des membres"; } - + virtual QCString trMemberList() + { + return "Liste des membres"; } + /*! this is the first part of a sentence that is followed by a class name */ - virtual QCString trThisIsTheListOfAllMembers() - { return "Liste complète des membres de "; } - + virtual QCString trThisIsTheListOfAllMembers() + { + return "Liste complète des membres de "; } + /*! this is the remainder of the sentence after the class name */ - virtual QCString trIncludingInheritedMembers() - { return ", y compris les membres hérités:"; } + virtual QCString trIncludingInheritedMembers() + { + return ", y compris les membres hérités :"; } /*! 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="Généré automatiquement par Doxygen"; - if (s) result+=(QCString)" pour "+s; - result+=" à partir du code source."; - return result; - } - + virtual QCString trGeneratedAutomatically(const char *s) + { QCString result="Généré automatiquement par Doxygen"; + if (s) result+=(QCString)" pour "+s; + result+=" à partir du code source."; + return result; + } + /*! put after an enum name in the list of all members */ - virtual QCString trEnumName() - { return "énumération"; } + virtual QCString trEnumName() + { + return "énumération"; } /*! put after an enum value in the list of all members */ - virtual QCString trEnumValue() - { return "valeur énumérée"; } + virtual QCString trEnumValue() + { + return "valeur énumérée"; } /*! put after an undocumented member in the list of all members */ - virtual QCString trDefinedIn() - { return "défini dans"; } - + virtual QCString trDefinedIn() + { + return "défini dans"; } + // 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 "Modules"; } + virtual QCString trModules() + { + return "Modules"; } /*! This is put above each page as a link to the class hierarchy */ - virtual QCString trClassHierarchy() - { return "Hiérarchie des classes"; } + virtual QCString trClassHierarchy() + { + return "Hiérarchie des classes"; } /*! 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 "Structures de données"; - } - else - { - return "Liste des classes"; + virtual QCString trCompoundList() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Structures de données"; + } + else + { + return "Liste des classes"; + } } - } /*! This is put above each page as a link to the list of documented files */ - virtual QCString trFileList() - { return "Liste des fichiers"; } - - /*! This is put above each page as a link to the list of all verbatim headers */ - virtual QCString trHeaderFiles() - { return "Fichiers d'en-tête"; } - + virtual QCString trFileList() + { + return "Liste des fichiers"; } + /*! 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 "Champs de donnée"; - } - else - { - return "Membres de classe"; + virtual QCString trCompoundMembers() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Champs de donnée"; + } + else + { + return "Membres de classe"; + } } - } - + /*! 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 "Portée globale"; - } - else - { - return "Membres de fichier"; + virtual QCString trFileMembers() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Portée globale"; + } + else + { + return "Membres de fichier"; + } } - } - + /*! This is put above each page as a link to all related pages. */ - virtual QCString trRelatedPages() - { return "Pages associées"; } - + virtual QCString trRelatedPages() + { + return "Pages associées"; } + /*! This is put above each page as a link to all examples. */ - virtual QCString trExamples() - { return "Exemples"; } - + virtual QCString trExamples() + { + return "Exemples"; } + /*! This is put above each page as a link to the search engine. */ - virtual QCString trSearch() - { return "Recherche"; } - + virtual QCString trSearch() + { + return "Recherche"; } + /*! This is an introduction to the class hierarchy. */ - virtual QCString trClassHierarchyDescription() - { return "Cette liste d'héritage est classée " - "approximativement par ordre alphabétique:"; - } - + virtual QCString trClassHierarchyDescription() + { + return "Cette liste d'héritage est classée " + "approximativement par ordre alphabétique :"; + } + /*! This is an introduction to the list with all files. */ - virtual QCString trFileListDescription(bool extractAll) - { - QCString result="Liste de tous les fichiers "; - if (!extractAll) result+="documentés "; - result+="avec une brève description:"; - return result; - } - - /*! This is an introduction to the annotated compound list. */ - virtual QCString trCompoundListDescription() - { - - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + virtual QCString trFileListDescription(bool extractAll) { - return "Liste des structures de données avec une brève description:"; + QCString result="Liste de tous les fichiers "; + if (!extractAll) result+="documentés "; + result+="avec une brève description :"; + return result; } - else + + /*! This is an introduction to the annotated compound list. */ + virtual QCString trCompoundListDescription() { - return "Liste des classes, structures, " - "unions et interfaces avec une brève description:"; + + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Liste des structures de données avec une brève description :"; + } + else + { + return "Liste des classes, structures, " + "unions et interfaces avec une brève description :"; + } } - } - + /*! This is an introduction to the page with all class members. */ - virtual QCString trCompoundMembersDescription(bool extractAll) - { - QCString result="Liste de tous les "; - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { - result+="champs de structure et d'union "; - } - else + virtual QCString trCompoundMembersDescription(bool extractAll) { - result+="membres de classe "; + QCString result="Liste de tous les "; + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + result+="champs de structure et d'union "; + } + else + { + result+="membres de classe "; + } + if (!extractAll) + { + result+="documentés "; + } + result+="avec liens vers "; + if (!extractAll) + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + result+="la documentation de structure/union de chaque champ :"; + } + else + { + result+="la documentation de classe de chaque membre :"; + } + } + else + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + result+="les structures/unions auxquelles ils appartiennent :"; + } + else + { + result+="les classes auxquelles ils appartiennent :"; + } + } + return result; } - if (!extractAll) - { - result+="documentés "; - } - result+="avec liens vers "; - if (!extractAll) - { - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { - result+="la documentation de structure/union de chaque champ:"; - } - else - { - result+="la documentation de classe de chaque membre:"; - } - } - else - { - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { - result+="les structures/unions auxquelles ils appartiennent:"; - } - else - { - result+="les classes auxquelles ils appartiennent:"; - } - } - return result; - } - + /*! This is an introduction to the page with all file members. */ - virtual QCString trFileMembersDescription(bool extractAll) - { - QCString result="Liste "; - - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { - result+="des fonctions, variables, macros, enumérations, et typedefs "; - } - else + virtual QCString trFileMembersDescription(bool extractAll) { - result+="de tous les membres de fichier "; + QCString result="Liste "; + + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + result+="des fonctions, variables, macros, enumérations, et définitions de type "; + } + else + { + result+="de tous les membres de fichier "; + } + if (!extractAll) result+="documentés "; + result+="avec liens vers "; + if (extractAll) + result+="les fichiers auxquels ils appartiennent :"; + else + result+="la documentation :"; + return result; } - if (!extractAll) result+="documentés "; - result+="avec liens vers "; - if (extractAll) - result+="les fichiers auxquels ils appartiennent:"; - else - result+="la documentation:"; - return result; - } - - /*! This is an introduction to the page with the list of all header files. */ - virtual QCString trHeaderFilesDescription() - { return "Liste des fichiers d'en-tête constituant l'interface de programmation:"; } - + /*! This is an introduction to the page with the list of all examples */ - virtual QCString trExamplesDescription() - { return "Liste de tous les exemples:"; } - + virtual QCString trExamplesDescription() + { + return "Liste de tous les exemples :"; } + /*! This is an introduction to the page with the list of related pages */ - virtual QCString trRelatedPagesDescription() - { return "Liste de toutes les pages de documentation associées:"; } - + virtual QCString trRelatedPagesDescription() + { + return "Liste de toutes les pages de documentation associées :"; } + /*! This is an introduction to the page with the list of class/file groups */ - virtual QCString trModulesDescription() - { return "Liste de tous les modules:"; } - - /*! This sentences is used in the annotated class/file lists if no brief - * description is given. - */ - virtual QCString trNoDescriptionAvailable() - { return "Aucune description disponible"; } - - // index titles (the project name is prepended for these) - - + virtual QCString trModulesDescription() + { + return "Liste de tous les modules :"; } + /*! This is used in HTML as the title of index.html. */ - virtual QCString trDocumentation() - { return "Documentation"; } - + virtual QCString trDocumentation() + { + return "Documentation"; } + /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ - virtual QCString trModuleIndex() - { return "Index des modules"; } - + virtual QCString trModuleIndex() + { + return "Index des modules"; } + /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ - virtual QCString trHierarchicalIndex() - { return "Index hiérarchique"; } - + virtual QCString trHierarchicalIndex() + { + return "Index hiérarchique"; } + /*! 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 "Index des structures de données"; - } - else + virtual QCString trCompoundIndex() { - return "Index des classes"; + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Index des structures de données"; + } + else + { + return "Index des classes"; + } } - } - + /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ - virtual QCString trFileIndex() - { return "Index des fichiers"; } - + virtual QCString trFileIndex() + { + return "Index des fichiers"; } + /*! This is used in LaTeX as the title of the chapter containing * the documentation of all groups. */ - virtual QCString trModuleDocumentation() - { return "Documentation des modules"; } - + virtual QCString trModuleDocumentation() + { + return "Documentation des modules"; } + /*! 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 "Documentation des structures de données"; - } - else - { - return "Documentation des classes"; + virtual QCString trClassDocumentation() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Documentation des structures de données"; + } + else + { + return "Documentation des classes"; + } } - } - + /*! This is used in LaTeX as the title of the chapter containing * the documentation of all files. */ - virtual QCString trFileDocumentation() - { return "Documentation des fichiers"; } - + virtual QCString trFileDocumentation() + { + return "Documentation des fichiers"; } + /*! This is used in LaTeX as the title of the chapter containing * the documentation of all examples. */ - virtual QCString trExampleDocumentation() - { return "Documentation des exemples"; } - + virtual QCString trExampleDocumentation() + { + return "Documentation des exemples"; } + /*! This is used in LaTeX as the title of the chapter containing * the documentation of all related pages. */ - virtual QCString trPageDocumentation() - { return "Documentation des pages associées"; } - + virtual QCString trPageDocumentation() + { + return "Documentation des pages associées"; } + /*! This is used in LaTeX as the title of the document */ - virtual QCString trReferenceManual() - { return "Manuel de référence"; } + virtual QCString trReferenceManual() + { + return "Manuel de référence"; } /*! This is used in the documentation of a file as a header before the * list of defines */ - virtual QCString trDefines() - { return "Macros"; } - + virtual QCString trDefines() + { + return "Macros"; } + /*! This is used in the documentation of a file as a header before the * list of function prototypes */ - virtual QCString trFuncProtos() - { return "Prototypes de fonction"; } - + virtual QCString trFuncProtos() + { + return "Prototypes de fonction"; } + /*! This is used in the documentation of a file as a header before the * list of typedefs */ - virtual QCString trTypedefs() - { return "Typedefs"; } - + virtual QCString trTypedefs() + { + return "Définition de type"; } + /*! This is used in the documentation of a file as a header before the * list of enumerations */ - virtual QCString trEnumerations() - { return "Énumérations"; } - + virtual QCString trEnumerations() + { + return "Énumérations"; } + /*! This is used in the documentation of a file as a header before the * list of (global) functions */ - virtual QCString trFunctions() - { return "Fonctions"; } - + virtual QCString trFunctions() + { + return "Fonctions"; } + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ - virtual QCString trVariables() - { return "Variables"; } - + virtual QCString trVariables() + { + return "Variables"; } + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ - virtual QCString trEnumerationValues() - { return "Valeurs énumérées"; } + virtual QCString trEnumerationValues() + { + return "Valeurs énumérées"; } /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ - virtual QCString trDefineDocumentation() - { return "Documentation des macros"; } - + virtual QCString trDefineDocumentation() + { + return "Documentation des macros"; } + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for function prototypes */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Documentation des prototypes de fonction"; } - + virtual QCString trFunctionPrototypeDocumentation() + { + return "Documentation des prototypes de fonction"; } + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ - virtual QCString trTypedefDocumentation() - { return "Documentation des typedef"; } - + virtual QCString trTypedefDocumentation() + { + return "Documentation des définition de type"; } + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ - virtual QCString trEnumerationTypeDocumentation() - { return "Documentation du type de l'énumération"; } - - /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for enumeration values - */ - virtual QCString trEnumerationValueDocumentation() - { return "Documentation de la valeur énumérée"; } - + virtual QCString trEnumerationTypeDocumentation() + { return "Documentation du type de l'énumération"; } + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ - virtual QCString trFunctionDocumentation() - { return "Documentation des fonctions"; } - + virtual QCString trFunctionDocumentation() + { + return "Documentation des fonctions"; } + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ - virtual QCString trVariableDocumentation() - { return "Documentation des variables"; } - + virtual QCString trVariableDocumentation() + { + return "Documentation des variables"; } + /*! 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 "Structures de données"; - } - else - { - return "Classes"; + virtual QCString trCompounds() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Structures de données"; + } + else + { + return "Classes"; + } } - } - + /*! 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)"Généré le "+date; - if (projName) result+=(QCString)" pour "+projName; - result+=(QCString)" par"; - return result; - } + virtual QCString trGeneratedAt(const char *date,const char *projName) + { + QCString result=(QCString)"Généré le "+date; + if (projName) result+=(QCString)" pour "+projName; + result+=(QCString)" par"; + return result; + } /*! This is part of the sentence used in the standard footer of each page. */ - virtual QCString trWrittenBy() - { - return "écrit par"; - } - + virtual QCString trWrittenBy() + { + return "écrit par"; + } + /*! this text is put before a class diagram */ - virtual QCString trClassDiagram(const char *clName) - { - return (QCString)"Graphe d'héritage de "+clName+":"; - } + virtual QCString trClassDiagram(const char *clName) + { + return (QCString)"Graphe d'héritage de "+clName+":"; + } /*! this text is generated when the \\internal command is used. */ - virtual QCString trForInternalUseOnly() - { return "À usage interne uniquement."; } - - /*! this text is generated when the \\reimp command is used. */ - virtual QCString trReimplementedForInternalReasons() - { return "Réimplémenté pour des raisons internes; " - "l'interface de programmation n'est pas modifiée."; - } - + virtual QCString trForInternalUseOnly() + { + return "À usage interne uniquement."; } + /*! this text is generated when the \\warning command is used. */ - virtual QCString trWarning() - { return "Avertissement"; } - - /*! this text is generated when the \\bug command is used. */ - virtual QCString trBugsAndLimitations() - { return "Bogues et limitations"; } - + virtual QCString trWarning() + { + return "Avertissement"; } + /*! this text is generated when the \\version command is used. */ - virtual QCString trVersion() - { return "Version"; } - + virtual QCString trVersion() + { + return "Version"; } + /*! this text is generated when the \\date command is used. */ - virtual QCString trDate() - { return "Date"; } - + virtual QCString trDate() + { + return "Date"; } + /*! this text is generated when the \\return command is used. */ - virtual QCString trReturns() - { return "Renvoie"; } - + virtual QCString trReturns() + { + return "Renvoie"; } + /*! this text is generated when the \\sa command is used. */ - virtual QCString trSeeAlso() - { return "Voir également"; } - + virtual QCString trSeeAlso() + { + return "Voir également"; } + /*! this text is generated when the \\param command is used. */ - virtual QCString trParameters() - { return "Paramètres"; } - + virtual QCString trParameters() + { + return "Paramètres"; } + /*! this text is generated when the \\exception command is used. */ - virtual QCString trExceptions() - { return "Exceptions"; } + virtual QCString trExceptions() + { + return "Exceptions"; } /*! this text is used in the title page of a LaTeX document. */ - virtual QCString trGeneratedBy() - { return "Généré par"; } - -////////////////////////////////////////////////////////////////////////// -// new since 0.49-990307 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trGeneratedBy() + { + return "Généré par"; } + + ////////////////////////////////////////////////////////////////////////// + // new since 0.49-990307 + ////////////////////////////////////////////////////////////////////////// + /*! used as the title of page containing all the index of all namespaces. */ - virtual QCString trNamespaceList() - { return "Liste des namespaces"; } - + virtual QCString trNamespaceList() + { + return "Liste des espaces de nommage"; } + /*! used as an introduction to the namespace list */ - virtual QCString trNamespaceListDescription(bool extractAll) - { - QCString result="Liste de tous les namespaces "; - if (!extractAll) result+="documentés "; - result+="avec une brève description:"; - return result; - } - + virtual QCString trNamespaceListDescription(bool extractAll) + { + QCString result="Liste de tous les espaces de nommage "; + if (!extractAll) result+="documentés "; + result+="avec une brève description:"; + return result; + } + /*! used in the class documentation as a header before the list of all * friends of a class */ - virtual QCString trFriends() - { return "Amis"; } + virtual QCString trFriends() + { + return "Amis"; } -////////////////////////////////////////////////////////////////////////// -// new since 0.49-990405 -////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// + // new since 0.49-990405 + ////////////////////////////////////////////////////////////////////////// /*! used in the class documentation as a header before the list of all * related classes */ - virtual QCString trRelatedFunctionDocumentation() - { return "Documentation des fonctions amies et associées"; } + virtual QCString trRelatedFunctionDocumentation() + { + return "Documentation des fonctions amies et associées"; } -////////////////////////////////////////////////////////////////////////// -// new since 0.49-990425 -////////////////////////////////////////////////////////////////////////// - + ////////////////////////////////////////////////////////////////////////// + // new since 0.49-990425 + ////////////////////////////////////////////////////////////////////////// + /*! used as the title of the HTML page of a class/struct/union */ - virtual QCString trCompoundReference(const char *clName, + virtual QCString trCompoundReference(const char *clName, ClassDef::CompoundType compType, bool isTemplate) - { - QCString result="Référence de "; - switch(compType) - { - case ClassDef::Class: result+="la classe "; break; - case ClassDef::Struct: result+="la structure "; break; - case ClassDef::Union: result+="l'union "; break; - case ClassDef::Interface: result+="l'interface "; break; - case ClassDef::Protocol: result+="le protocol "; break; - case ClassDef::Category: result+="la catégorie "; break; - case ClassDef::Exception: result+="l'exception "; break; - } - result+=(QCString)clName; - if (isTemplate) result+=" (modèle)"; - return result; - } - + { + QCString result="Référence de "; + switch(compType) + { + case ClassDef::Class: result+="la classe "; + break; + case ClassDef::Struct: result+="la structure "; + break; + case ClassDef::Union: result+="l'union "; + break; + case ClassDef::Interface: result+="l'interface "; + break; + case ClassDef::Protocol: result+="le protocol "; + break; + case ClassDef::Category: result+="la catégorie "; + break; + case ClassDef::Exception: result+="l'exception "; + break; + } + result+=(QCString)clName; + if (isTemplate) result+=" (modèle)"; + return result; + } + /*! used as the title of the HTML page of a file */ - virtual QCString trFileReference(const char *fileName) - { - QCString result= "Référence du fichier "; - result+=fileName; - return result; - } - + virtual QCString trFileReference(const char *fileName) + { + QCString result= "Référence du fichier "; + result+=fileName; + return result; + } + /*! used as the title of the HTML page of a namespace */ - virtual QCString trNamespaceReference(const char *namespaceName) - { - QCString result= "Référence du namespace "; - result+=namespaceName; - return result; - } + virtual QCString trNamespaceReference(const char *namespaceName) + { + QCString result= "Référence de l'espace de nommage "; + result+=namespaceName; + return result; + } - virtual QCString trPublicMembers() - { return "Fonctions membres publiques"; } - virtual QCString trPublicSlots() - { return "Connecteurs publics"; } - virtual QCString trSignals() - { return "Signaux"; } - virtual QCString trStaticPublicMembers() - { return "Fonctions membres publiques statiques"; } - virtual QCString trProtectedMembers() - { return "Fonctions membres protégées"; } - virtual QCString trProtectedSlots() - { return "Connecteurs protégés"; } - virtual QCString trStaticProtectedMembers() - { return "Fonctions membres protégées statiques"; } - virtual QCString trPrivateMembers() - { return "Fonctions membres privées"; } - virtual QCString trPrivateSlots() - { return "Connecteurs privés"; } - virtual QCString trStaticPrivateMembers() - { return "Fonctions membres privées statiques"; } + virtual QCString trPublicMembers() + { + return "Fonctions membres publiques"; } + virtual QCString trPublicSlots() + { + return "Connecteurs publics"; } + virtual QCString trSignals() + { + return "Signaux"; } + virtual QCString trStaticPublicMembers() + { + return "Fonctions membres publiques statiques"; } + virtual QCString trProtectedMembers() + { + return "Fonctions membres protégées"; } + virtual QCString trProtectedSlots() + { + return "Connecteurs protégés"; } + virtual QCString trStaticProtectedMembers() + { + return "Fonctions membres protégées statiques"; } + virtual QCString trPrivateMembers() + { + return "Fonctions membres privées"; } + virtual QCString trPrivateSlots() + { + return "Connecteurs privés"; } + virtual QCString trStaticPrivateMembers() + { + return "Fonctions membres privées statiques"; } /*! 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<numEntries;i++) + virtual QCString trWriteList(int numEntries) { - // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + QCString result; + int i; + // the inherits list contain `numEntries' classes + for (i=0;i<numEntries;i++) + { + // use generateMarker to generate placeholders for the class links! + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - - if (i!=numEntries-1) // not the last entry, so we need a separator - { - if (i<numEntries-2) // not the fore last entry - result+=", "; - else // the fore last entry - result+=", et "; - } - } - return result; - } + + if (i!=numEntries-1) // not the last entry, so we need a separator + { + if (i<numEntries-2) // not the fore last entry + result+=", "; + else // the fore last entry + result+=", et "; + } + } + return result; + } /*! used in class documentation to produce a list of base classes, * if class diagrams are disabled. */ - virtual QCString trInheritsList(int numEntries) - { - return "Est dérivée de "+trWriteList(numEntries)+"."; - } - + virtual QCString trInheritsList(int numEntries) + { + return "Est dérivée de "+trWriteList(numEntries)+"."; + } + /*! used in class documentation to produce a list of super classes, * if class diagrams are disabled. */ - virtual QCString trInheritedByList(int numEntries) - { - return "Dérivée par "+trWriteList(numEntries)+"."; - } - + virtual QCString trInheritedByList(int numEntries) + { + return "Dérivée par "+trWriteList(numEntries)+"."; + } + /*! used in member documentation blocks to produce a list of * members that are hidden by this one. */ - virtual QCString trReimplementedFromList(int numEntries) - { - return "Réimplémentée à partir de "+trWriteList(numEntries)+"."; - } - + virtual QCString trReimplementedFromList(int numEntries) + { + return "Réimplémentée à partir de "+trWriteList(numEntries)+"."; + } + /*! used in member documentation blocks to produce a list of * all member that overwrite the implementation of this member. */ - virtual QCString trReimplementedInList(int numEntries) - { - return "Réimplémentée dans "+trWriteList(numEntries)+"."; - } - + virtual QCString trReimplementedInList(int numEntries) + { + return "Réimplémentée dans "+trWriteList(numEntries)+"."; + } + /*! This is put above each page as a link to all members of namespaces. */ - virtual QCString trNamespaceMembers() - { return "Membres de namespace"; } - + virtual QCString trNamespaceMembers() + { + return "Membres de l'espace de nommage"; } + /*! This is an introduction to the page with all namespace members */ - virtual QCString trNamespaceMemberDescription(bool extractAll) - { - QCString result="Liste de tous les membres de namespace "; - if (!extractAll) result+="documentés "; - result+="avec liens vers "; - if (extractAll) - result+="la documentation de namespace de chaque membre:"; - else - result+="les namespaces auxquels ils appartiennent:"; - return result; - } + virtual QCString trNamespaceMemberDescription(bool extractAll) + { + QCString result="Liste de tous les membres des espaces de nommage "; + if (!extractAll) result+="documentés "; + result+="avec liens vers "; + if (extractAll) + result+="la documentation de namespace de chaque membre :"; + else + result+="les espaces de nommage auxquels ils appartiennent :"; + return result; + } /*! This is used in LaTeX as the title of the chapter with the * index of all namespaces. */ - virtual QCString trNamespaceIndex() - { return "Index des namespaces"; } - + virtual QCString trNamespaceIndex() + { + return "Index des espaces de nommage"; } + /*! This is used in LaTeX as the title of the chapter containing * the documentation of all namespaces. */ - virtual QCString trNamespaceDocumentation() - { return "Documentation des namespaces"; } - -////////////////////////////////////////////////////////////////////////// -// new since 0.49-990522 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trNamespaceDocumentation() + { + return "Documentation des espaces de nommage"; } + + ////////////////////////////////////////////////////////////////////////// + // new since 0.49-990522 + ////////////////////////////////////////////////////////////////////////// + /*! This is used in the documentation before the list of all * namespaces in a file. */ - virtual QCString trNamespaces() - { return "Namespaces"; } - -////////////////////////////////////////////////////////////////////////// -// new since 0.49-990728 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trNamespaces() + { + return "Espaces de nommage"; } + + ////////////////////////////////////////////////////////////////////////// + // new since 0.49-990728 + ////////////////////////////////////////////////////////////////////////// + /*! This is put at the bottom of a class documentation page and is * followed by a list of files that were used to generate the page. */ - virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType, + virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType, bool single) - { // here s is one of " Class", " Struct" or " Union" + { // here s is one of " Class", " Struct" or " Union" // single is true implies a single file - QCString result=(QCString)"La documentation de "; - switch(compType) - { - case ClassDef::Class: result+="cette classe"; break; - case ClassDef::Struct: result+="cette structure"; break; - case ClassDef::Union: result+="cette union"; break; - case ClassDef::Interface: result+="cette interface"; break; - case ClassDef::Protocol: result+="ce protocol"; break; - case ClassDef::Category: result+="cette catégorie"; break; - case ClassDef::Exception: result+="cette exception"; break; - } - result+=" a été générée à partir "; - if (single) result+="du fichier suivant:"; - else result+="des fichiers suivants:"; - return result; - } - + bool female = true; + QCString result=(QCString)"La documentation de "; + switch(compType) + { + case ClassDef::Class: result+="cette classe"; + break; + case ClassDef::Struct: result+="cette structure"; + break; + case ClassDef::Union: result+="cette union"; + break; + case ClassDef::Interface: result+="cette interface"; + break; + case ClassDef::Protocol: result+="ce protocol"; + female = false; + break; + case ClassDef::Category: result+="cette catégorie"; + break; + case ClassDef::Exception: result+="cette exception"; + break; + } + if (female) result+= " a été générée à partir "; + else result+=" a été généré à partir "; + if (single) result+="du fichier suivant :"; + else result+="des fichiers suivants :"; + return result; + } + /*! This is in the (quick) index as a link to the alphabetical compound * list. */ - virtual QCString trAlphabeticalList() - { return "Liste alphabétique"; } - -////////////////////////////////////////////////////////////////////////// -// new since 0.49-990901 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trAlphabeticalList() + { + return "Liste alphabétique"; } + + ////////////////////////////////////////////////////////////////////////// + // new since 0.49-990901 + ////////////////////////////////////////////////////////////////////////// + /*! This is used as the heading text for the retval command. */ - virtual QCString trReturnValues() - { return "Valeurs retournées"; } - + virtual QCString trReturnValues() + { + return "Valeurs retournées"; } + /*! This is in the (quick) index as a link to the main page (index.html) */ - virtual QCString trMainPage() - { return "Page principale"; } - + virtual QCString trMainPage() + { + return "Page principale"; } + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ - virtual QCString trPageAbbreviation() - { return "p."; } - -////////////////////////////////////////////////////////////////////////// -// new since 0.49-991003 -////////////////////////////////////////////////////////////////////////// - - virtual QCString trSources() - { - return "Sources"; - } - virtual QCString trDefinedAtLineInSourceFile() - { - return "Définition à la ligne @0 du fichier @1."; - } - virtual QCString trDefinedInSourceFile() - { - return "Définition dans le fichier @0."; - } - -////////////////////////////////////////////////////////////////////////// -// new since 0.49-991205 -////////////////////////////////////////////////////////////////////////// - - virtual QCString trDeprecated() - { - return "Obsolète"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.0.0 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trPageAbbreviation() + { + return "p."; } + + ////////////////////////////////////////////////////////////////////////// + // new since 0.49-991003 + ////////////////////////////////////////////////////////////////////////// + + virtual QCString trDefinedAtLineInSourceFile() + { + return "Définition à la ligne @0 du fichier @1."; + } + virtual QCString trDefinedInSourceFile() + { + return "Définition dans le fichier @0."; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 0.49-991205 + ////////////////////////////////////////////////////////////////////////// + + virtual QCString trDeprecated() + { + return "Obsolète"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.0.0 + ////////////////////////////////////////////////////////////////////////// + /*! this text is put before a collaboration diagram */ - virtual QCString trCollaborationDiagram(const char *clName) - { - return (QCString)"Graphe de collaboration de "+clName+":"; - } + virtual QCString trCollaborationDiagram(const char *clName) + { + return (QCString)"Graphe de collaboration de "+clName+":"; + } /*! this text is put before an include dependency graph */ - virtual QCString trInclDepGraph(const char *fName) - { - return (QCString)"Graphe des dépendances par inclusion de "+fName+":"; - } + virtual QCString trInclDepGraph(const char *fName) + { + return (QCString)"Graphe des dépendances par inclusion de "+fName+":"; + } /*! header that is put before the list of constructor/destructors. */ - virtual QCString trConstructorDocumentation() - { - return "Documentation des contructeurs et destructeur"; - } + virtual QCString trConstructorDocumentation() + { + return "Documentation des contructeurs et destructeur"; + } /*! Used in the file documentation to point to the corresponding sources. */ - virtual QCString trGotoSourceCode() - { - return "Aller au code source de ce fichier."; - } + virtual QCString trGotoSourceCode() + { + return "Aller au code source de ce fichier."; + } /*! Used in the file sources to point to the corresponding documentation. */ - virtual QCString trGotoDocumentation() - { - return "Aller à la documentation de ce fichier."; - } + virtual QCString trGotoDocumentation() + { + return "Aller à la documentation de ce fichier."; + } /*! Text for the \\pre command */ - virtual QCString trPrecondition() - { - return "Précondition"; - } + virtual QCString trPrecondition() + { + return "Précondition"; + } /*! Text for the \\post command */ - virtual QCString trPostcondition() - { - return "Postcondition"; - } + virtual QCString trPostcondition() + { + return "Postcondition"; + } /*! Text for the \\invariant command */ - virtual QCString trInvariant() - { - return "Invariant"; - } + virtual QCString trInvariant() + { + return "Invariant"; + } /*! Text shown before a multi-line variable/enum initialization */ - virtual QCString trInitialValue() - { - return "Valeur initiale:"; - } + virtual QCString trInitialValue() + { + return "Valeur initiale :"; + } /*! Text used the source code in the file index */ - virtual QCString trCode() - { - return "code"; - } - virtual QCString trGraphicalHierarchy() - { - return "Graphe hiérarchique des classes"; - } - virtual QCString trGotoGraphicalHierarchy() - { - return "Aller au graphe hiérarchique des classes"; - } - virtual QCString trGotoTextualHierarchy() - { - return "Aller à la hiérarchie des classes en mode texte"; - } - virtual QCString trPageIndex() - { - return "Index des pages"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.1.0 -////////////////////////////////////////////////////////////////////////// + virtual QCString trCode() + { + return "code"; + } + virtual QCString trGraphicalHierarchy() + { + return "Graphe hiérarchique des classes"; + } + virtual QCString trGotoGraphicalHierarchy() + { + return "Aller au graphe hiérarchique des classes"; + } + virtual QCString trGotoTextualHierarchy() + { + return "Aller à la hiérarchie des classes en mode texte"; + } + virtual QCString trPageIndex() + { + return "Index des pages"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.1.0 + ////////////////////////////////////////////////////////////////////////// - virtual QCString trNote() - { - return "Note"; - } - virtual QCString trPublicTypes() - { - return "Types publics"; - } - virtual QCString trPublicAttribs() - { - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + virtual QCString trNote() { - return "Champs de données"; + return "Note"; } - else + virtual QCString trPublicTypes() { - return "Attributs publics"; + return "Types publics"; } - } - virtual QCString trStaticPublicAttribs() - { - return "Attributs publics statiques"; - } - virtual QCString trProtectedTypes() - { - return "Types protégés"; - } - virtual QCString trProtectedAttribs() - { - return "Attributs protégés"; - } - virtual QCString trStaticProtectedAttribs() - { - return "Attributs protégés statiques"; - } - virtual QCString trPrivateTypes() - { - return "Types privés"; - } - virtual QCString trPrivateAttribs() - { - return "Attributs privés"; - } - virtual QCString trStaticPrivateAttribs() - { - return "Attributs privés statiques"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.1.3 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trPublicAttribs() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Champs de données"; + } + else + { + return "Attributs publics"; + } + } + virtual QCString trStaticPublicAttribs() + { + return "Attributs publics statiques"; + } + virtual QCString trProtectedTypes() + { + return "Types protégés"; + } + virtual QCString trProtectedAttribs() + { + return "Attributs protégés"; + } + virtual QCString trStaticProtectedAttribs() + { + return "Attributs protégés statiques"; + } + virtual QCString trPrivateTypes() + { + return "Types privés"; + } + virtual QCString trPrivateAttribs() + { + return "Attributs privés"; + } + virtual QCString trStaticPrivateAttribs() + { + return "Attributs privés statiques"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.1.3 + ////////////////////////////////////////////////////////////////////////// + /*! Used as a marker that is put before a \\todo item */ - virtual QCString trTodo() - { - return "À faire"; - } + virtual QCString trTodo() + { + return "À faire"; + } /*! Used as the header of the todo list */ - virtual QCString trTodoList() - { - return "Liste des choses à faire"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.1.4 -////////////////////////////////////////////////////////////////////////// - - virtual QCString trReferencedBy() - { - return "Référencé par"; - } - virtual QCString trRemarks() - { - return "Remarques"; - } - virtual QCString trAttention() - { - return "Attention"; - } - virtual QCString trInclByDepGraph() - { - return "Ce graphe montre quels fichiers incluent directement " - "ou indirectement ce fichier:"; - } - virtual QCString trSince() - { - return "Depuis"; - } + virtual QCString trTodoList() + { + return "Liste des choses à faire"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.1.4 + ////////////////////////////////////////////////////////////////////////// + + virtual QCString trReferencedBy() + { + return "Référencé par"; + } + virtual QCString trRemarks() + { + return "Remarques"; + } + virtual QCString trAttention() + { + return "Attention"; + } + virtual QCString trInclByDepGraph() + { + return "Ce graphe montre quels fichiers incluent directement " + "ou indirectement ce fichier :"; + } + virtual QCString trSince() + { + return "Depuis"; + } -////////////////////////////////////////////////////////////////////////// -// new since 1.1.5 -////////////////////////////////////////////////////////////////////////// - + ////////////////////////////////////////////////////////////////////////// + // new since 1.1.5 + ////////////////////////////////////////////////////////////////////////// + /*! title of the graph legend page */ - virtual QCString trLegendTitle() - { - return "Légende du graphe"; - } + virtual QCString trLegendTitle() + { + return "Légende du graphe"; + } /*! page explaining how the dot graph's should be interpreted * The %A in the text below are to prevent link to classes called "A". */ - virtual QCString trLegendDocs() - { - return - "Cette page explique comment interpréter les graphes générés " - "par doxygen.<p>\n" - "Considérez l'exemple suivant:\n" - "\\code\n" - "/*! Classe invisible à cause d'une troncature */\n" - "class Invisible { };\n\n" - "/*! Classe tronquée, la relation d'héritage est masquée */\n" - "class Truncated : public Invisible { };\n\n" - "/*! Classe non documentée avec des commentaires Doxygen */\n" - "class Undocumented { };\n\n" - "/*! Classe dérivée par héritage public */\n" - "class PublicBase : public Truncated { };\n\n" - "/*! Un modèle de classe */\n" - "template<class T> class Templ { };\n\n" - "/*! Classe dérivée par héritage protégé */\n" - "class ProtectedBase { };\n\n" - "/*! Classe dérivée par héritage privé */\n" - "class PrivateBase { };\n\n" - "/*! Classe utilisée par la classe dérivée */\n" - "class Used { };\n\n" - "/*! Super-classe qui hérite de plusieurs autres classes */\n" - "class Inherited : public PublicBase,\n" - " protected ProtectedBase,\n" - " private PrivateBase,\n" - " public Undocumented\n" - " public Templ<int>\n" - "{\n" - " private:\n" - " Used *m_usedClass;\n" - "};\n" - "\\endcode\n" - "Si la valeur 240 est attribuée au tag \\c MAX_DOT_GRAPH_HEIGHT " - "du fichier de configuration, cela génèrera le graphe suivant:" - "<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n" - "<p>\n" - "Les rectangles du graphe ci-dessus ont la signification suivante:\n" - "<ul>\n" - "<li>Un rectangle plein noir représente la structure ou la classe pour laquelle " - "le graphe est généré.\n" - "<li>Un rectangle avec un bord noir indique une classe ou une structure documentée.\n" - "<li>Un rectangle avec un bord gris indique une classe ou une structure non documentée.\n" - "<li>Un rectangle avec un bord rouge indique une structure ou une classe documentée\n" - "pour laquelle des relations d'héritage ou de collaboration manquent. Un graphe est " - "tronqué s'il n'entre pas dans les limites spécifiées." - "</ul>\n" - "Les flèches ont la signification suivante:\n" - "<ul>\n" - "<li>Une flèche bleu foncé est utilisée pour visualiser une relation d'héritage public " - "entre deux classes.\n" - "<li>Une flèche vert foncé est utilisée pour une relation d'héritage protégé.\n" - "<li>Une flèche rouge foncé est utilisée pour une relation d'héritage privé.\n" - "<li>Une flèche violette en pointillés est utilisée si une classe est contenue ou " - "utilisée par une autre classe. La flèche est étiquetée avec la ou les variable(s) " - "qui permettent d'accéder à la classe ou structure pointée. \n" - "<li>Une flèche verte en pointillés indique une relation entre une classe instanciée et " - "le modèle de classe utilisé. La flèche est étiquetée avec " - "les paramètres de modèle de la classe instanciée.\n" - "</ul>\n"; - } + virtual QCString trLegendDocs() + { + return + "Cette page explique comment interpréter les graphes générés " + "par doxygen.<p>\n" + "Considérez l'exemple suivant :\n" + "\\code\n" + "/*! Classe invisible à cause d'une troncature */\n" + "class Invisible { };\n\n" + "/*! Classe tronquée, la relation d'héritage est masquée */\n" + "class Truncated : public Invisible { };\n\n" + "/*! Classe non documentée avec des commentaires Doxygen */\n" + "class Undocumented { };\n\n" + "/*! Classe dérivée par héritage public */\n" + "class PublicBase : public Truncated { };\n\n" + "/*! Un modèle de classe */\n" + "template<class T> class Templ { };\n\n" + "/*! Classe dérivée par héritage protégé */\n" + "class ProtectedBase { };\n\n" + "/*! Classe dérivée par héritage privé */\n" + "class PrivateBase { };\n\n" + "/*! Classe utilisée par la classe dérivée */\n" + "class Used { };\n\n" + "/*! Super-classe qui hérite de plusieurs autres classes */\n" + "class Inherited : public PublicBase,\n" + " protected ProtectedBase,\n" + " private PrivateBase,\n" + " public Undocumented\n" + " public Templ<int>\n" + "{\n" + " private:\n" + " Used *m_usedClass;\n" + "};\n" + "\\endcode\n" + "Si la valeur 240 est attribuée au tag \\c MAX_DOT_GRAPH_HEIGHT " + "du fichier de configuration, cela génèrera le graphe suivant :" + "<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n" + "<p>\n" + "Les rectangles du graphe ci-dessus ont la signification suivante :\n" + "<ul>\n" + "<li>Un rectangle plein noir représente la structure ou la classe pour laquelle " + "le graphe est généré.\n" + "<li>Un rectangle avec un bord noir indique une classe ou une structure documentée.\n" + "<li>Un rectangle avec un bord gris indique une classe ou une structure non documentée.\n" + "<li>Un rectangle avec un bord rouge indique une structure ou une classe documentée\n" + "pour laquelle des relations d'héritage ou de collaboration manquent. Un graphe est " + "tronqué s'il n'entre pas dans les limites spécifiées." + "</ul>\n" + "Les flèches ont la signification suivante :\n" + "<ul>\n" + "<li>Une flèche bleu foncé est utilisée pour visualiser une relation d'héritage public " + "entre deux classes.\n" + "<li>Une flèche vert foncé est utilisée pour une relation d'héritage protégé.\n" + "<li>Une flèche rouge foncé est utilisée pour une relation d'héritage privé.\n" + "<li>Une flèche violette en pointillés est utilisée si une classe est contenue ou " + "utilisée par une autre classe. La flèche est étiquetée avec la ou les variable(s) " + "qui permettent d'accéder à la classe ou structure pointée. \n" + "<li>Une flèche verte en pointillés indique une relation entre une classe instanciée et " + "le modèle de classe utilisé. La flèche est étiquetée avec " + "les paramètres de modèle de la classe instanciée.\n" + "</ul>\n"; + } /*! text for the link to the legend page */ - virtual QCString trLegend() - { - return "légende"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.0 -////////////////////////////////////////////////////////////////////////// + virtual QCString trLegend() + { + return "légende"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.0 + ////////////////////////////////////////////////////////////////////////// /*! Used as a marker that is put before a test item */ - virtual QCString trTest() - { - return "Test"; - } + virtual QCString trTest() + { + return "Test"; + } /*! Used as the header of the test list */ - virtual QCString trTestList() - { - return "Liste des tests"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trTestList() + { + return "Liste des tests"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.1 + ////////////////////////////////////////////////////////////////////////// + /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "Fonctions membres DCOP"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.2 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trDCOPMethods() + { + return "Fonctions membres DCOP"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.2 + ////////////////////////////////////////////////////////////////////////// + /*! Used as a section header for IDL properties */ - virtual QCString trProperties() - { - return "Propriétés"; - } + virtual QCString trProperties() + { + return "Propriétés"; + } /*! Used as a section header for IDL property documentation */ - virtual QCString trPropertyDocumentation() - { - return "Documentation des propriétés"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.4 -////////////////////////////////////////////////////////////////////////// - - /*! Used for Java interfaces in the summary section of Java packages */ - virtual QCString trInterfaces() - { - return "Interfaces"; - } - /*! Used for Java classes in the summary section of Java packages */ - virtual QCString trClasses() - { - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + virtual QCString trPropertyDocumentation() { - return "Structures de données"; + return "Documentation des propriétés"; } - else + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.4 + ////////////////////////////////////////////////////////////////////////// + + /*! Used for Java classes in the summary section of Java packages */ + virtual QCString trClasses() { - return "Classes"; + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Structures de données"; + } + else + { + return "Classes"; + } } - } /*! Used as the title of a Java package */ - virtual QCString trPackage(const char *name) - { - return (QCString)"Paquetage "+name; - } + virtual QCString trPackage(const char *name) + { + return (QCString)"Paquetage "+name; + } /*! Title of the package index page */ - virtual QCString trPackageList() - { - return "Liste des paquetages"; - } + virtual QCString trPackageList() + { + return "Liste des paquetages"; + } /*! The description of the package index page */ - virtual QCString trPackageListDescription() - { - return "Liste des paquetages avec une brève description (si disponible):"; - } + virtual QCString trPackageListDescription() + { + return "Liste des paquetages avec une brève description (si disponible) :"; + } /*! The link name in the Quick links header for each page */ - virtual QCString trPackages() - { - return "Paquetages"; - } - /*! Used as a chapter title for Latex & RTF output */ - virtual QCString trPackageDocumentation() - { - return "Documentation des paquetages"; - } + virtual QCString trPackages() + { + return "Paquetages"; + } + /*! Text shown before a multi-line define */ - virtual QCString trDefineValue() - { - return "Valeur:"; - } + virtual QCString trDefineValue() + { + return "Valeur :"; + } -////////////////////////////////////////////////////////////////////////// -// new since 1.2.5 -////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.5 + ////////////////////////////////////////////////////////////////////////// /*! Used as a marker that is put before a \\bug item */ - virtual QCString trBug() - { - return "Bogue"; - } + virtual QCString trBug() + { + return "Bogue"; + } /*! Used as the header of the bug list */ - virtual QCString trBugList() - { - return "Liste des bogues"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.6 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trBugList() + { + return "Liste des bogues"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.6 + ////////////////////////////////////////////////////////////////////////// + /*! Used as ansicpg for RTF file * * The following table shows the correlation of Charset name, Charset Value and @@ -1292,274 +1352,264 @@ class TranslatorFrench : public TranslatorAdapter_1_4_6 * </pre> * */ - virtual QCString trRTFansicp() - { - return "1252"; - } + virtual QCString trRTFansicp() + { + return "1252"; + } - + /*! Used as ansicpg for RTF fcharset * \see trRTFansicp() for a table of possible values. */ - virtual QCString trRTFCharSet() - { - return "0"; - } - + virtual QCString trRTFCharSet() + { + return "0"; + } + /*! Used as header RTF general index */ - virtual QCString trRTFGeneralIndex() - { - return "Index"; - } + virtual QCString trRTFGeneralIndex() + { + return "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 trClass(bool first_capital, bool singular) - { - QCString result((first_capital ? "Classe" : "classe")); - 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 trFile(bool first_capital, bool singular) - { - QCString result((first_capital ? "Fichier" : "fichier")); - if (!singular) result+="s"; - return result; - } - + virtual QCString trClass(bool first_capital, bool singular) + { + QCString result((first_capital ? "Classe" : "classe")); + 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 trNamespace(bool first_capital, bool singular) - { - QCString result((first_capital ? "Namespace" : "namespace")); - if (!singular) result+="s"; - return result; - } - + virtual QCString trFile(bool first_capital, bool singular) + { + QCString result((first_capital ? "Fichier" : "fichier")); + 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 trGroup(bool first_capital, bool singular) - { - QCString result((first_capital ? "Groupe" : "groupe")); - if (!singular) result+="s"; - return result; - } - + virtual QCString trNamespace(bool first_capital, bool singular) + { + QCString result((first_capital ? "Espace" : "espace")); + if (!singular) result+="s"; + result+=" de nommage"; + 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 trPage(bool first_capital, bool singular) - { - QCString result((first_capital ? "Page" : "page")); - if (!singular) result+="s"; - return result; - } - + virtual QCString trGroup(bool first_capital, bool singular) + { + QCString result((first_capital ? "Groupe" : "groupe")); + 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 trMember(bool first_capital, bool singular) - { - QCString result((first_capital ? "Membre" : "membre")); - if (!singular) result+="s"; - return result; - } + virtual QCString trPage(bool first_capital, bool singular) + { + QCString result((first_capital ? "Page" : "page")); + 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 trField(bool first_capital, bool singular) - { - QCString result((first_capital ? "Champ" : "champ")); - if (!singular) result+="s"; - return result; - } - + virtual QCString trMember(bool first_capital, bool singular) + { + QCString result((first_capital ? "Membre" : "membre")); + 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 trGlobal(bool first_capital, bool singular) - { - QCString result((first_capital ? "Global(e)" : "global(e)")); - if (!singular) result+="s"; - return result; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.7 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trGlobal(bool first_capital, bool singular) + { + QCString result((first_capital ? "Global(e)" : "global(e)")); + if (!singular) result+="s"; + return result; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.7 + ////////////////////////////////////////////////////////////////////////// + /*! This text is generated when the \\author command is used and * for the author section in man pages. */ - virtual QCString trAuthor(bool first_capital, bool singular) - { - QCString result((first_capital ? "Auteur" : "auteur")); - if (!singular) result+="s"; - return result; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.11 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trAuthor(bool first_capital, bool singular) + { + QCString result((first_capital ? "Auteur" : "auteur")); + if (!singular) result+="s"; + return result; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.11 + ////////////////////////////////////////////////////////////////////////// + /*! This text is put before the list of members referenced by a member */ - virtual QCString trReferences() - { - return "Références"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.13 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trReferences() + { + return "Références"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.13 + ////////////////////////////////////////////////////////////////////////// + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ - virtual QCString trImplementedFromList(int numEntries) - { - return "Implémente "+trWriteList(numEntries)+"."; - } - + virtual QCString trImplementedFromList(int numEntries) + { + return "Implémente "+trWriteList(numEntries)+"."; + } + /*! used in member documentation blocks to produce a list of * all members that implement this abstract member. */ - virtual QCString trImplementedInList(int numEntries) - { - return "Implémenté dans "+trWriteList(numEntries)+"."; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.16 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trImplementedInList(int numEntries) + { + return "Implémenté dans "+trWriteList(numEntries)+"."; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.16 + ////////////////////////////////////////////////////////////////////////// + /*! used in RTF documentation as a heading for the Table * of Contents. */ - virtual QCString trRTFTableOfContents() - { - return "Table des matières"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.17 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trRTFTableOfContents() + { + return "Table des matières"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.17 + ////////////////////////////////////////////////////////////////////////// + /*! Used as the header of the list of item that have been * flagged deprecated */ - virtual QCString trDeprecatedList() - { - return "Liste des éléments obsolètes"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.18 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trDeprecatedList() + { + return "Liste des éléments obsolètes"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.18 + ////////////////////////////////////////////////////////////////////////// + /*! Used as a header for declaration section of the events found in * a C# program */ - virtual QCString trEvents() - { - return "Evénements"; - } + virtual QCString trEvents() + { + return "Événements"; + } /*! Header used for the documentation section of a class' events. */ - virtual QCString trEventDocumentation() - { - return "Documentation des événements"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.3 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trEventDocumentation() + { + return "Documentation des événements"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.3 + ////////////////////////////////////////////////////////////////////////// + /*! Used as a heading for a list of Java class types with package scope. */ - virtual QCString trPackageTypes() - { - return "Types de paquetage"; - } + virtual QCString trPackageTypes() + { + return "Types de paquetage"; + } /*! Used as a heading for a list of Java class functions with package * scope. */ - virtual QCString trPackageMembers() - { - return "Fonctions de paquetage"; - } + virtual QCString trPackageMembers() + { + return "Fonctions de paquetage"; + } /*! Used as a heading for a list of static Java class functions with * package scope. */ - virtual QCString trStaticPackageMembers() - { - return "Fonctions statiques de paquetage"; - } + virtual QCString trStaticPackageMembers() + { + return "Fonctions statiques de paquetage"; + } /*! Used as a heading for a list of Java class variables with package * scope. */ - virtual QCString trPackageAttribs() - { - return "Attributs de paquetage"; - } + virtual QCString trPackageAttribs() + { + return "Attributs de paquetage"; + } /*! Used as a heading for a list of static Java class variables with * package scope. */ - virtual QCString trStaticPackageAttribs() - { - return "Attributs statiques de paquetage"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.3.1 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trStaticPackageAttribs() + { + return "Attributs statiques de paquetage"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.3.1 + ////////////////////////////////////////////////////////////////////////// + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ - virtual QCString trAll() - { - return "Tout"; - } + virtual QCString trAll() + { + return "Tout"; + } /*! Put in front of the call graph for a function. */ - virtual QCString trCallGraph() - { - return "Voici le graphe d'appel pour cette fonction:"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.3.3 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trCallGraph() + { + return "Voici le graphe d'appel pour cette fonction :"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.3.3 + ////////////////////////////////////////////////////////////////////////// + /*! When the search engine is enabled this text is put in the header * of each page before the field where one can enter the text to search * for. */ - virtual QCString trSearchForIndex() - { - return "Rechercher"; - } + virtual QCString trSearchForIndex() + { + return "Rechercher"; + } /*! This string is used as the title for the page listing the search * results. */ - virtual QCString trSearchResultsTitle() - { - return "Résultats de la recherche"; - } + virtual QCString trSearchResultsTitle() + { + return "Résultats de la recherche"; + } /*! This string is put just before listing the search results. The * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert @@ -1568,103 +1618,124 @@ class TranslatorFrench : public TranslatorAdapter_1_4_6 * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ - virtual QCString trSearchResults(int numDocuments) - { - if (numDocuments==0) - { - return "Sorry, no documents matching your query."; - } - else if (numDocuments==1) + virtual QCString trSearchResults(int numDocuments) { - return "Trouvé <b>1</b> document correspondant à votre requète."; - } - else - { - return "Trouvé <b>$num</b> documents correspondant à votre requète.. " + if (numDocuments==0) + { + return "Désolé aucun document ne correspond à votre requête."; + } + else if (numDocuments==1) + { + return "Trouvé <b>1</b> document correspondant à votre requête."; + } + else + { + return "Trouvé <b>$num</b> documents correspondant à votre requête. " "Classé par ordre de pertinence décroissant."; + } } - } /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ - virtual QCString trSearchMatches() - { - return "Correspondances:"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.3.8 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trSearchMatches() + { + return "Correspondances :"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.3.8 + ////////////////////////////////////////////////////////////////////////// + /*! This is used in HTML as the title of page with source code for file filename */ - virtual QCString trSourceFile(QCString& filename) - { - return " Fichier source de " + filename; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.3.9 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trSourceFile(QCString& filename) + { + return " Fichier source de " + filename; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.3.9 + ////////////////////////////////////////////////////////////////////////// + /*! This is used as the name of the chapter containing the directory * hierarchy. */ - virtual QCString trDirIndex() - { return "Hiérarchie de répertoires"; } - + virtual QCString trDirIndex() + { + return "Hiérarchie de répertoires"; } + /*! This is used as the name of the chapter containing the documentation * of the directories. */ - virtual QCString trDirDocumentation() - { return "Documentation des répertoires"; } - + virtual QCString trDirDocumentation() + { + return "Documentation des répertoires"; } + /*! 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 "Répertoires"; } - + virtual QCString trDirectories() + { + return "Répertoires"; } + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ - virtual QCString trDirDescription() - { return "Cette hiérarchie de répertoire est triée approximativement, " - "mais pas complètement, par ordre alphabétique:"; - } - + virtual QCString trDirDescription() + { + return "Cette hiérarchie de répertoire est triée approximativement, " + "mais pas complètement, par ordre alphabétique :"; + } + /*! 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="Répertoire de référence de "; result+=dirName; - return result; - } - + virtual QCString trDirReference(const char *dirName) + { + QCString result="Répertoire de référence de "; result+=dirName; + return result; + } + /*! This returns the word directory with or without starting capital * (\a first_capital) and in sigular or plural form (\a singular). */ - virtual QCString trDir(bool first_capital, bool singular) - { - QCString result((first_capital ? "Répertoire" : "répertoire")); - if (singular) result+=""; else result+="s"; - return result; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.4.1 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trDir(bool first_capital, bool singular) + { + QCString result((first_capital ? "Répertoire" : "répertoire")); + if (singular) result+=""; + else result+="s"; + return result; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.4.1 + ////////////////////////////////////////////////////////////////////////// + /*! This text is added to the documentation when the \\overload command * is used for a overloaded function. */ - virtual QCString trOverloadText() - { - return "Ceci est une fonction membre surchargée, " + virtual QCString trOverloadText() + { + return "Ceci est une fonction membre surchargée, " "proposée par commodité. Elle diffère de la fonction " - "çi-dessus uniquement par le(s) argument(s) qu'elle accepte."; + "ci-dessus uniquement par le(s) argument(s) qu'elle accepte."; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.4.6 + ////////////////////////////////////////////////////////////////////////// + + /*! This is used to introduce a caller (or called-by) graph */ + virtual QCString trCallerGraph() + { + return "Voici le graphe d'appel pour cette fonction :"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for enumeration values + */ + virtual QCString trEnumerationValueDocumentation() + { return "Documentation des énumérations"; } }; #endif diff --git a/src/translator_it.h b/src/translator_it.h index ef3fbf1..6e5820c 100644 --- a/src/translator_it.h +++ b/src/translator_it.h @@ -19,6 +19,7 @@ * * Revision history * + * 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 * corrected typo in trPackageMembers method @@ -77,7 +78,7 @@ #ifndef TRANSLATOR_IT_H #define TRANSLATOR_IT_H -class TranslatorItalian : public TranslatorAdapter_1_4_6 +class TranslatorItalian : public Translator { public: diff --git a/src/translator_nl.h b/src/translator_nl.h index b337fb5..5bad0ee 100644 --- a/src/translator_nl.h +++ b/src/translator_nl.h @@ -91,8 +91,6 @@ class TranslatorDutch : public Translator { return "Klasse Lijst"; } QCString trFileList() { return "File Lijst"; } - QCString trHeaderFiles() - { return "Header Lijst"; } QCString trCompoundMembers() { return "Klasse Members"; } QCString trFileMembers() @@ -136,16 +134,12 @@ class TranslatorDutch : public Translator else result+="de files waartoe ze behoren:"; return result; } - QCString trHeaderFilesDescription() - { return "Hieronder volgen de header files die de API vormen:"; } QCString trExamplesDescription() { return "Hieronder volgt de lijst met alle voorbeelden:"; } QCString trRelatedPagesDescription() { return "Hieronder volgt de lijst met alle pagina's die gerelateerde documentatie bevatten:"; } QCString trModulesDescription() { return "Hieronder volgt de lijst met alle modules:"; } - QCString trNoDescriptionAvailable() - { return "Geen korte beschrijving beschikbaar"; } QCString trDocumentation() { return "Documentatie"; } @@ -217,14 +211,8 @@ class TranslatorDutch : public Translator } QCString trForInternalUseOnly() { return "Alleen voor intern gebruik."; } - QCString trReimplementedForInternalReasons() - { return "Om interne redenen opnieuwd geïmplemented; " - "de API wordt er niet door beïnvloed."; - } QCString trWarning() { return "Waarschuwing"; } - QCString trBugsAndLimitations() - { return "Fouten en beperkingen"; } QCString trVersion() { return "Versie"; } QCString trDate() @@ -466,10 +454,6 @@ class TranslatorDutch : public Translator // new since 0.49-991106 ////////////////////////////////////////////////////////////////////////// - QCString trSources() - { - return "Broncode"; - } QCString trDefinedAtLineInSourceFile() { return "De definitie bevindt zich op regel @0 in de file @1."; @@ -765,11 +749,6 @@ class TranslatorDutch : public Translator // new since 1.2.4 ////////////////////////////////////////////////////////////////////////// - /*! Used for Java interfaces in the summary section of Java packages */ - QCString trInterfaces() - { - return "Interfaces"; - } /*! Used for Java classes in the summary section of Java packages */ QCString trClasses() { @@ -795,11 +774,6 @@ class TranslatorDutch : public Translator { return "Packages"; } - /*! Used as a chapter title for Latex & RTF output */ - QCString trPackageDocumentation() - { - return "Package Documentatie"; - } /*! Text shown before a multi-line define */ QCString trDefineValue() { @@ -940,17 +914,6 @@ class TranslatorDutch : public Translator * be followed by a single name or by a list of names * of the category. */ - virtual QCString trField(bool first_capital, bool singular) - { - QCString result((first_capital ? "Veld" : "veld")); - if (!singular) result+="en"; - 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 trGlobal(bool first_capital, bool singular) { QCString result((first_capital ? "Globale member" : "globale member")); diff --git a/src/util.cpp b/src/util.cpp index 0ae6fa2..67c7c03 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1537,8 +1537,12 @@ QCString removeRedundantWhiteSpace(const QCString &s) { nextChar: char c=s.at(i); - if (csp<6 && c==constScope[csp]) csp++; else csp=0; - if (vsp<8 && c==virtualScope[vsp]) vsp++; else vsp=0; + if ((csp==0 && (i==0 || !isId(constScope[i-1])) && csp<6) && + c==constScope[csp] + ) csp++; else csp=0; + if ((vsp==0 && (i==0 || !isId(virtualScope[i-1])) && vsp<8) && + c==virtualScope[vsp] + ) vsp++; else vsp=0; if (c=='"') // quoted string { i++; diff --git a/winbuild/Doxygen.vcproj b/winbuild/Doxygen.vcproj index 80637a9..ef25e82 100644 --- a/winbuild/Doxygen.vcproj +++ b/winbuild/Doxygen.vcproj @@ -16,8 +16,8 @@ <Configurations> <Configuration Name="Debug|Win32" - OutputDirectory=".\Debug" - IntermediateDirectory=".\Debug" + OutputDirectory="..\bin\Debug" + IntermediateDirectory="..\objects\Debug" ConfigurationType="1" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops" UseOfMFC="0" @@ -72,7 +72,7 @@ <Tool Name="VCLinkerTool" AdditionalDependencies="qtools.lib libpng.lib zlib.lib ws2_32.lib" - OutputFile=".\Debug/Doxygen.exe" + OutputFile="..\bin\Debug\doxygen.exe" LinkIncremental="2" SuppressStartupBanner="true" AdditionalLibraryDirectories="Debug" @@ -110,8 +110,8 @@ </Configuration> <Configuration Name="Release|Win32" - OutputDirectory=".\Release" - IntermediateDirectory=".\Release" + OutputDirectory="..\bin" + IntermediateDirectory="..\objects" ConfigurationType="1" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops" UseOfMFC="0" @@ -169,7 +169,7 @@ Name="VCLinkerTool" AdditionalOptions="/LTCG" AdditionalDependencies="qtools.lib libpng.lib zlib.lib " - OutputFile=".\Release/Doxygen.exe" + OutputFile="..\bin\doxygen.exe" LinkIncremental="1" SuppressStartupBanner="true" AdditionalLibraryDirectories="Release" diff --git a/winbuild/Doxytag.vcproj b/winbuild/Doxytag.vcproj index 7ad9b19..9c5e82e 100644 --- a/winbuild/Doxytag.vcproj +++ b/winbuild/Doxytag.vcproj @@ -15,8 +15,8 @@ <Configurations> <Configuration Name="Debug|Win32" - OutputDirectory=".\Debug" - IntermediateDirectory=".\Debug" + OutputDirectory="..\bin\Debug" + IntermediateDirectory="..\objects\Debug" ConfigurationType="1" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops" UseOfMFC="0" @@ -70,7 +70,7 @@ <Tool Name="VCLinkerTool" AdditionalDependencies="qtools.lib ws2_32.lib" - OutputFile=".\Debug/Doxytag.exe" + OutputFile="..\bin\Debug\doxytag.exe" LinkIncremental="2" SuppressStartupBanner="true" AdditionalLibraryDirectories="Debug" @@ -108,8 +108,8 @@ </Configuration> <Configuration Name="Release|Win32" - OutputDirectory=".\Release" - IntermediateDirectory=".\Release" + OutputDirectory="..\bin" + IntermediateDirectory="..\objects" ConfigurationType="1" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops" UseOfMFC="0" @@ -163,7 +163,7 @@ <Tool Name="VCLinkerTool" AdditionalDependencies="qtools.lib " - OutputFile=".\Release/Doxytag.exe" + OutputFile="..\bin\doxytag.exe" LinkIncremental="1" SuppressStartupBanner="true" AdditionalLibraryDirectories="Release" diff --git a/winbuild/Doxywizard.vcproj b/winbuild/Doxywizard.vcproj index 2277df2..f90f6ac 100644 --- a/winbuild/Doxywizard.vcproj +++ b/winbuild/Doxywizard.vcproj @@ -20,8 +20,8 @@ <Configurations> <Configuration Name="Debug|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" + OutputDirectory="..\bin\Debug" + IntermediateDirectory="$(ConfigurationName)\Doxywizard" ConfigurationType="1" CharacterSet="1" > @@ -66,6 +66,7 @@ /> <Tool Name="VCLinkerTool" + OutputFile="..\bin\Debug\doxywizard.exe" LinkIncremental="2" GenerateDebugInformation="true" SubSystem="2" @@ -98,7 +99,7 @@ </Configuration> <Configuration Name="Release|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" + OutputDirectory="..\bin" IntermediateDirectory="$(ConfigurationName)\Doxywizard" ConfigurationType="1" CharacterSet="1" @@ -145,8 +146,9 @@ <Tool Name="VCLinkerTool" AdditionalDependencies="$(QTDIR)\lib\qt-mt336.lib $(QTDIR)\lib\qtmain.lib" + OutputFile="..\bin\doxywizard.exe" LinkIncremental="1" - GenerateDebugInformation="true" + GenerateDebugInformation="false" SubSystem="2" OptimizeReferences="2" EnableCOMDATFolding="2" diff --git a/winbuild/libpng.vcproj b/winbuild/libpng.vcproj index 616b24c..e0d52ca 100644 --- a/winbuild/libpng.vcproj +++ b/winbuild/libpng.vcproj @@ -15,8 +15,8 @@ <Configurations> <Configuration Name="Release|Win32" - OutputDirectory=".\Release" - IntermediateDirectory=".\Release" + OutputDirectory="..\lib" + IntermediateDirectory="..\objects" ConfigurationType="4" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops" UseOfMFC="0" @@ -90,8 +90,8 @@ </Configuration> <Configuration Name="Debug|Win32" - OutputDirectory=".\Debug" - IntermediateDirectory=".\Debug" + OutputDirectory="..\lib\Debug" + IntermediateDirectory="..\objects\Debug" ConfigurationType="4" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops" UseOfMFC="0" diff --git a/winbuild/qtools.vcproj b/winbuild/qtools.vcproj index 2438c2d..bc9a42e 100644 --- a/winbuild/qtools.vcproj +++ b/winbuild/qtools.vcproj @@ -15,8 +15,8 @@ <Configurations> <Configuration Name="Release|Win32" - OutputDirectory=".\Release" - IntermediateDirectory=".\Release" + OutputDirectory="..\lib" + IntermediateDirectory="..\objects" ConfigurationType="4" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops" UseOfMFC="0" @@ -92,8 +92,8 @@ </Configuration> <Configuration Name="Debug|Win32" - OutputDirectory=".\Debug" - IntermediateDirectory=".\Debug" + OutputDirectory="..\lib\Debug" + IntermediateDirectory="..\objects\Debug" ConfigurationType="4" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops" UseOfMFC="0" diff --git a/winbuild/zlib.vcproj b/winbuild/zlib.vcproj index 5166242..8a2368a 100644 --- a/winbuild/zlib.vcproj +++ b/winbuild/zlib.vcproj @@ -15,8 +15,8 @@ <Configurations> <Configuration Name="Debug|Win32" - OutputDirectory=".\Debug" - IntermediateDirectory=".\Debug" + OutputDirectory="..\lib\Debug" + IntermediateDirectory="..\objects\Debug" ConfigurationType="4" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops" UseOfMFC="0" @@ -91,8 +91,8 @@ </Configuration> <Configuration Name="Release|Win32" - OutputDirectory=".\Release" - IntermediateDirectory=".\Release" + OutputDirectory="..\lib" + IntermediateDirectory="..\objects" ConfigurationType="4" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops" UseOfMFC="0" |