Commit 94f3e728 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Release-1.5.9

parent 2ae3ed65
DOXYGEN Version 1.5.8-20090304
DOXYGEN Version 1.5.9
Please read the installation section of the manual
(http://www.doxygen.org/install.html) for instructions.
--------
Dimitri van Heesch (04 March 2009)
Dimitri van Heesch (30 April 2009)
DOXYGEN Version 1.5.8_20090304
DOXYGEN Version 1.5.9
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 March 2009)
Dimitri van Heesch (dimitri@stack.nl) (30 April 2009)
......@@ -1711,7 +1711,7 @@ TEMPLIST "<"[^\"\}\{\(\)\/\n\>]*">"
SCOPETNAME ((({ID}{TEMPLIST}?){BN}*"::"{BN}*)*)((~{BN}*)?{ID})
SCOPEPREFIX ({ID}{TEMPLIST}?{BN}*"::"{BN}*)+
KEYWORD_OBJC ("@public"|"@private"|"@protected"|"@class"|"@implementation"|"@interface"|"@end"|"@selector"|"@protocol"|"@optional"|"@required"|"@throw"|"@synthesize")
KEYWORD ("add"|"asm"|"__assume"|"auto"|"class"|"const"|"delete"|"enum"|"explicit"|"extern"|"false"|"friend"|"gcnew"|"gcroot"|"get"|"inline"|"internal"|"mutable"|"namespace"|"new"|"nullptr"|"override"|"operator"|"pin_ptr"|"private"|"protected"|"public"|"raise"|"register"|"remove"|"self"|"set"|"sizeof"|"static"|"struct"|"__super"|"template"|"generic"|"this"|"true"|"typedef"|"typeid"|"typename"|"union"|"using"|"virtual"|"volatile"|"abstract"|"final"|"import"|"synchronized"|"transient"|{KEYWORD_OBJC})
KEYWORD ("asm"|"__assume"|"auto"|"class"|"const"|"delete"|"enum"|"explicit"|"extern"|"false"|"friend"|"gcnew"|"gcroot"|"get"|"inline"|"internal"|"mutable"|"namespace"|"new"|"nullptr"|"override"|"operator"|"pin_ptr"|"private"|"protected"|"public"|"raise"|"register"|"remove"|"self"|"set"|"sizeof"|"static"|"struct"|"__super"|"template"|"generic"|"this"|"true"|"typedef"|"typeid"|"typename"|"union"|"using"|"virtual"|"volatile"|"abstract"|"final"|"import"|"synchronized"|"transient"|{KEYWORD_OBJC})
FLOWKW ("break"|"case"|"catch"|"continue"|"default"|"do"|"else"|"finally"|"for"|"foreach"|"for each"|"goto"|"if"|"return"|"switch"|"throw"|"throws"|"try"|"while"|"@try"|"@catch"|"@finally")
TYPEKW ("bool"|"char"|"double"|"float"|"int"|"long"|"object"|"short"|"signed"|"unsigned"|"void"|"wchar_t"|"size_t"|"boolean"|"id"|"SEL"|"string")
CASTKW ("const_cast"|"dynamic_cast"|"reinterpret_cast"|"static_cast")
......
......@@ -844,6 +844,7 @@ void Definition::writeInlineCode(OutputList &ol,const char *scopeName)
void Definition::_writeSourceRefList(OutputList &ol,const char *scopeName,
const QCString &text,MemberSDict *members,bool /*funcOnly*/)
{
static bool latexSourceCode = Config_getBool("LATEX_SOURCE_CODE");
ol.pushGeneratorState();
if (/*Config_getBool("SOURCE_BROWSER") &&*/ members)
{
......@@ -890,7 +891,14 @@ void Definition::_writeSourceRefList(OutputList &ol,const char *scopeName,
//printf("md->getBodyDef()=%p global=%p\n",md->getBodyDef(),Doxygen::globalScope);
// for HTML write a real link
ol.pushGeneratorState();
ol.disableAllBut(OutputGenerator::Html);
//ol.disableAllBut(OutputGenerator::Html);
ol.disable(OutputGenerator::RTF);
ol.disable(OutputGenerator::Man);
if (!latexSourceCode)
{
ol.disable(OutputGenerator::Latex);
}
QCString lineStr,anchorStr;
anchorStr.sprintf("l%05d",md->getStartBodyLine());
//printf("Write object link to %s\n",md->getBodyDef()->getSourceFileBase().data());
......@@ -900,6 +908,10 @@ void Definition::_writeSourceRefList(OutputList &ol,const char *scopeName,
// for the other output formats just mention the name
ol.pushGeneratorState();
ol.disable(OutputGenerator::Html);
if (latexSourceCode)
{
ol.disable(OutputGenerator::Latex);
}
ol.docify(name);
ol.popGeneratorState();
}
......@@ -907,7 +919,14 @@ void Definition::_writeSourceRefList(OutputList &ol,const char *scopeName,
{
// for HTML write a real link
ol.pushGeneratorState();
ol.disableAllBut(OutputGenerator::Html);
//ol.disableAllBut(OutputGenerator::Html);
ol.disable(OutputGenerator::RTF);
ol.disable(OutputGenerator::Man);
if (!latexSourceCode)
{
ol.disable(OutputGenerator::Latex);
}
ol.writeObjectLink(md->getReference(),
md->getOutputFileBase(),
md->anchor(),name);
......@@ -916,6 +935,10 @@ void Definition::_writeSourceRefList(OutputList &ol,const char *scopeName,
// for the other output formats just mention the name
ol.pushGeneratorState();
ol.disable(OutputGenerator::Html);
if (latexSourceCode)
{
ol.disable(OutputGenerator::Latex);
}
ol.docify(name);
ol.popGeneratorState();
}
......
......@@ -978,9 +978,11 @@ static void handleLinkedWord(DocNode *parent,QList<DocNode> &children)
QString name = linkToText(g_token->name,TRUE);
int len = g_token->name.length();
ClassDef *cd=0;
bool ambig;
FileDef *fd = findFileDef(Doxygen::inputNameDict,g_fileName,ambig);
//printf("handleLinkedWord(%s) g_context=%s\n",name.data(),g_context.data());
if (!g_insideHtmlLink &&
(resolveRef(g_context,g_token->name,g_inSeeBlock,&compound,&member)
(resolveRef(g_context,g_token->name,g_inSeeBlock,&compound,&member,TRUE,fd)
|| (!g_context.isEmpty() && // also try with global scope
resolveRef("",g_token->name,g_inSeeBlock,&compound,&member))
)
......@@ -1412,7 +1414,7 @@ DocSymbol::SymType DocSymbol::decodeSymbol(const QString &symName,char *letter)
DBG(("decodeSymbol(%s) l=%d\n",symName.data(),l));
if (symName=="&copy;") return DocSymbol::Copy;
else if (symName=="&trade;") return DocSymbol::Tm;
else if (symName=="&tm;") return DocSymbol::Tm; // alias for &trace;
else if (symName=="&tm;") return DocSymbol::Tm; // alias for &trade;
else if (symName=="&reg;") return DocSymbol::Reg;
else if (symName=="&lt;") return DocSymbol::Less;
else if (symName=="&gt;") return DocSymbol::Greater;
......@@ -1427,6 +1429,8 @@ DocSymbol::SymType DocSymbol::decodeSymbol(const QString &symName,char *letter)
else if (symName=="&mdash;") return DocSymbol::Mdash;
else if (symName=="&szlig;") return DocSymbol::Szlig;
else if (symName=="&nbsp;") return DocSymbol::Nbsp;
else if (symName=="&AElig;") return DocSymbol::AElig;
else if (symName=="&aelig;") return DocSymbol::Aelig;
else if (l==6 && symName.right(4)=="uml;")
{
*letter=symName.at(1);
......
......@@ -326,7 +326,7 @@ class DocSymbol : public DocNode
enum SymType { Unknown=0, BSlash,At,Less,Greater,Amp,Dollar,Hash,Percent,
Copy, Tm, Reg, Apos, Quot, Uml, Acute, Grave, Circ, Tilde,
Szlig, Cedil, Ring, Nbsp, Slash, Lsquo, Rsquo, Ldquo, Rdquo,
Ndash, Mdash
Ndash, Mdash, Aelig, AElig
};
DocSymbol(DocNode *parent,SymType s,char letter='\0') :
m_parent(parent), m_symbol(s), m_letter(letter) {}
......
......@@ -123,6 +123,8 @@ void HtmlDocVisitor::visit(DocSymbol *s)
case DocSymbol::Cedil: m_t << "&" << s->letter() << "cedil;"; break;
case DocSymbol::Ring: m_t << "&" << s->letter() << "ring;"; break;
case DocSymbol::Nbsp: m_t << "&nbsp;"; break;
case DocSymbol::AElig: m_t << "&AElig;"; break;
case DocSymbol::Aelig: m_t << "&aelig;"; break;
default:
err("Error: unknown symbol found\n");
}
......@@ -1009,13 +1011,13 @@ void HtmlDocVisitor::visitPre(DocXRefItem *x)
bool anonymousEnum = x->file()=="@";
if (!anonymousEnum)
{
m_t << "<dl compact><dt><b><a class=\"el\" href=\""
m_t << "<dl class=\"" << x->key() << "\" compact><dt><b><a class=\"el\" href=\""
<< x->relPath() << x->file() << Doxygen::htmlFileExtension
<< "#" << x->anchor() << "\">";
}
else
{
m_t << "<dl compact><dt><b>";
m_t << "<dl class=\"" << x->key() << "\" compact><dt><b>";
}
filter(x->title());
m_t << ":";
......
......@@ -194,6 +194,8 @@ void LatexDocVisitor::visit(DocSymbol *s)
case DocSymbol::Cedil: m_t << "\\c{" << s->letter() << "}"; break;
case DocSymbol::Ring: m_t << "\\" << s->letter() << s->letter(); break;
case DocSymbol::Nbsp: m_t << "~"; break;
case DocSymbol::AElig: m_t << "{\\AE}"; break;
case DocSymbol::Aelig: m_t << "{\\ae}"; break;
default:
err("Error: unknown symbol found\n");
}
......
......@@ -304,6 +304,7 @@ static void writeDefaultStyleSheetPart1(QTextStream &t)
t << "\\ProvidesPackage{doxygen}\n";
t << "\\RequirePackage{calc}\n";
t << "\\RequirePackage{array}\n";
t << "\\RequirePackage{color}\n";
t << "\\pagestyle{fancyplain}\n";
//t << "\\addtolength{\\headwidth}{\\marginparsep}\n";
//t << "\\addtolength{\\headwidth}{\\marginparwidth}\n";
......
......@@ -561,6 +561,8 @@ void PerlModDocVisitor::visit(DocSymbol *sy)
case DocSymbol::Reg: symbol = "registered"; break;
case DocSymbol::Szlig: symbol = "szlig"; break;
case DocSymbol::Apos: s = "\\\'"; break;
case DocSymbol::Aelig: symbol = "aelig"; break;
case DocSymbol::AElig: symbol = "AElig"; break;
case DocSymbol::Unknown:
err("Error: unknown symbol found\n");
break;
......
......@@ -83,6 +83,8 @@ class PrintDocVisitor : public DocVisitor
case DocSymbol::Cedil: printf("&%ccedul;",s->letter()); break;
case DocSymbol::Ring: printf("&%cring;",s->letter()); break;
case DocSymbol::Nbsp: printf("&nbsp;"); break;
case DocSymbol::Aelig: printf("&aelig;"); break;
case DocSymbol::AElig: printf("&AElig;"); break;
default:
printf("Error: unknown symbol found\n");
}
......
......@@ -219,6 +219,8 @@ void RTFDocVisitor::visit(DocSymbol *s)
break;
case DocSymbol::Szlig: m_t << "\337"; break;
case DocSymbol::Nbsp: m_t << "\\~ "; break;
case DocSymbol::Aelig: m_t << "\346"; break;
case DocSymbol::AElig: m_t << "\306"; break;
default:
err("Error: unknown symbol found\n");
}
......
......@@ -554,7 +554,7 @@ static int yyread(char *buf,int max_size)
/* start command character */
CMD ("\\"|"@")
SECTIONCMD {CMD}("image"|"author"|"internal"|"version"|"date"|"deprecated"|"param"|"exception"|"return"[s]?|"retval"|"bug"|"warning"|"par"|"sa"|"see"|"pre"|"post"|"invariant"|"note"|"remark"[s]?|"todo"|"test"|"xrefitem"|"ingroup"|"callgraph"|"callergraph"|"latexonly"|"htmlonly"|"xmlonly"|"{"|"verbatim"|"dotfile"|"dot"|"defgroup"|"addtogroup"|"weakgroup"|"class"|"namespace"|"union"|"struct"|"fn"|"var"|"details"|"typedef"|"def"|"overload")|("<"{PRE}">")
SECTIONCMD {CMD}("image"|"author"|"internal"|"version"|"date"|"deprecated"|"param"|"exception"|"return"[s]?|"retval"|"bug"|"warning"|"par"|"sa"|"see"|"pre"|"post"|"invariant"|"note"|"remark"[s]?|"todo"|"test"|"xrefitem"|"ingroup"|"callgraph"|"callergraph"|"latexonly"|"htmlonly"|"xmlonly"|"manonly"|"{"|"verbatim"|"dotfile"|"dot"|"defgroup"|"addtogroup"|"weakgroup"|"class"|"namespace"|"union"|"struct"|"fn"|"var"|"details"|"typedef"|"def"|"overload")|("<"{PRE}">")
BN [ \t\n\r]
BL [ \t\r]*"\n"
B [ \t]
......@@ -3623,7 +3623,7 @@ TYPEDEFPREFIX (("typedef"{BN}+)?)((("volatile"|"const"){BN}+)?)
fullArgString+=yytext;
BEGIN(CopyArgVerbatim);
}
<CopyArgVerbatim>[\\@]("endverbatim"|"endlatexonly"|"endhtmlonly"|"endxmlonly"|"enddot"|"endcode"|"f$"|"f]"|"f}")/[^a-z_A-Z0-9] { // end of verbatim block
<CopyArgVerbatim>[\\@]("endverbatim"|"endlatexonly"|"endhtmlonly"|"endxmlonly"|"endmanonly"|"enddot"|"endcode"|"f$"|"f]"|"f}")/[^a-z_A-Z0-9] { // end of verbatim block
fullArgString+=yytext;
if (yytext[1]=='f') // end of formula
{
......@@ -5144,7 +5144,7 @@ TYPEDEFPREFIX (("typedef"{BN}+)?)((("volatile"|"const"){BN}+)?)
docBlock+=yytext;
BEGIN(DocBlock);
}
<DocCopyBlock>[\\@]("endverbatim"|"endlatexonly"|"endhtmlonly"|"endxmlonly"|"enddot"|"endcode")/[^a-z_A-Z0-9] { // end of verbatim block
<DocCopyBlock>[\\@]("endverbatim"|"endlatexonly"|"endhtmlonly"|"endxmlonly"|"endmanonly"|"enddot"|"endcode")/[^a-z_A-Z0-9] { // end of verbatim block
docBlock+=yytext;
if (&yytext[4]==docBlockName)
{
......
......@@ -55,6 +55,8 @@ void TextDocVisitor::visit(DocSymbol *s)
case DocSymbol::Cedil: m_t << "&" << s->letter() << "cedil;"; break;
case DocSymbol::Ring: m_t << "&" << s->letter() << "ring;"; break;
case DocSymbol::Nbsp: m_t << "&nbsp;"; break;
case DocSymbol::Aelig: m_t << "&aelig;"; break;
case DocSymbol::AElig: m_t << "&AElig;"; break;
default:
err("Error: unknown symbol found\n");
}
......
......@@ -23,7 +23,7 @@
* Updated from 1.3.8 to 1.4.6 by Guillermo Ballester Valor (May-05-2006)
* Updated fron 1.4.6 to 1.5.1 by Bartomeu Creus Navarro (22-enero-2007)
* Updated fron 1.5.1 to 1.5.5 by Bartomeu Creus Navarro (5-febrero-2008)
* Updated from 1.5.5 to 1.5.6, converted to utf-8 output by David Vaquero (28-febrero-2009)
* Updated fron 1.5.5 to 1.5.8 by Bartomeu Creus Navarro (10-abril-2009)
*/
#ifndef TRANSLATOR_ES_H
......@@ -67,7 +67,7 @@ class TranslatorSpanish : public Translator
/*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset()
{
return "utf-8";
return "iso-8859-1";
}
// --- Language translation methods -------------------
......@@ -82,36 +82,36 @@ class TranslatorSpanish : public Translator
/*! header that is put before the detailed description of files, classes and namespaces. */
virtual QCString trDetailedDescription()
{ return "Descripción detallada"; }
{ return "Descripción detallada"; }
/*! header that is put before the list of typedefs. */
virtual QCString trMemberTypedefDocumentation()
{ return "Documentación de los 'Tipos Definidos' miembros de la clase"; }
{ return "Documentación de los 'Tipos Definidos' miembros de la clase"; }
/*! header that is put before the list of enumerations. */
virtual QCString trMemberEnumerationDocumentation()
{ return "Documentación de las enumeraciones miembro de la clase"; }
{ return "Documentación de las enumeraciones miembro de la clase"; }
/*! header that is put before the list of member functions. */
virtual QCString trMemberFunctionDocumentation()
{ return "Documentación de las funciones miembro"; }
{ return "Documentación de las funciones miembro"; }
/*! header that is put before the list of member attributes. */
virtual QCString trMemberDataDocumentation()
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Documentación de los campos";
return "Documentación de los campos";
}
else
{
return "Documentación de los datos miembro";
return "Documentación de los datos miembro";
}
}
/*! this is the text of a link put after brief descriptions. */
virtual QCString trMore()
{ return "Más..."; }
{ return "Más..."; }
/*! put in the class documentation */
virtual QCString trListOfAllMembers()
......@@ -133,15 +133,15 @@ class TranslatorSpanish : public Translator
* parameter s is name of the project name.
*/
virtual QCString trGeneratedAutomatically(const char *s)
{ QCString result="Generado automáticamente por Doxygen";
{ QCString result="Generado automáticamente por Doxygen";
if (s) result+=(QCString)" para "+s;
result+=" del código fuente.";
result+=" del código fuente.";
return result;
}
/*! put after an enum name in the list of all members */
virtual QCString trEnumName()
{ return "nombre de la enumeración"; }
{ return "nombre de la enumeración"; }
/*! put after an enum value in the list of all members */
virtual QCString trEnumValue()
......@@ -157,11 +157,11 @@ class TranslatorSpanish : public Translator
* compounds or files (see the \\group command).
*/
virtual QCString trModules()
{ return "Módulos"; }
{ return "Módulos"; }
/*! This is put above each page as a link to the class hierarchy */
virtual QCString trClassHierarchy()
{ return "Jerarquía de la clase"; }
{ return "Jerarquía de la clase"; }
/*! This is put above each page as a link to the list of annotated classes */
virtual QCString trCompoundList()
......@@ -208,7 +208,7 @@ class TranslatorSpanish : public Translator
/*! This is put above each page as a link to all related pages. */
virtual QCString trRelatedPages()
{ return "Páginas relacionadas"; }
{ return "Páginas relacionadas"; }
/*! This is put above each page as a link to all examples. */
virtual QCString trExamples()
......@@ -221,7 +221,7 @@ class TranslatorSpanish : public Translator
/*! This is an introduction to the class hierarchy. */
virtual QCString trClassHierarchyDescription()
{ return "Esta lista de herencias esta ordenada "
"aproximadamente por orden alfabético:";
"aproximadamente por orden alfabético:";
}
/*! This is an introduction to the list with all files. */
......@@ -238,12 +238,12 @@ class TranslatorSpanish : public Translator
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Lista de estructuras con una breve descripción:";
return "Lista de estructuras con una breve descripción:";
}
else
{
return "Lista de las clases, estructuras, "
"uniones e interfaces con una breve descripción:";
"uniones e interfaces con una breve descripción:";
}
}
......@@ -268,11 +268,11 @@ class TranslatorSpanish : public Translator
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
result+="la documentación de la estructura/unión para cada campo:";
result+="la documentación de la estructura/unión para cada campo:";
}
else
{
result+="la documentación de la clase para cada miembro:";
result+="la documentación de la clase para cada miembro:";
}
}
else
......@@ -306,7 +306,7 @@ class TranslatorSpanish : public Translator
if (extractAll)
result+="a los ficheros a los que corresponden:";
else
result+="a la documentación:";
result+="a la documentación:";
return result;
}
......@@ -316,29 +316,29 @@ class TranslatorSpanish : public Translator
/*! This is an introduction to the page with the list of related pages */
virtual QCString trRelatedPagesDescription()
{ return "Lista de toda la documentación relacionada:"; }
{ return "Lista de toda la documentación relacionada:"; }
/*! This is an introduction to the page with the list of class/file groups */
virtual QCString trModulesDescription()
{ return "Lista de todos los módulos:"; }
{ return "Lista de todos los módulos:"; }
// index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */
virtual QCString trDocumentation()
{ return "Documentación"; }
{ return "Documentación"; }
/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
virtual QCString trModuleIndex()
{ return "Indice de módulos"; }
{ return "Indice de módulos"; }
/*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
virtual QCString trHierarchicalIndex()
{ return "Indice jerárquico"; }
{ return "Indice jerárquico"; }
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
......@@ -347,11 +347,11 @@ class TranslatorSpanish : public Translator
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Índice de estructura de datos";
return "Índice de estructura de datos";
}
else
{
return "Índice de clases";
return "Índice de clases";
}
}
......@@ -365,7 +365,7 @@ class TranslatorSpanish : public Translator
* the documentation of all groups.
*/
virtual QCString trModuleDocumentation()
{ return "Documentación de módulos"; }
{ return "Documentación de módulos"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
......@@ -374,11 +374,11 @@ class TranslatorSpanish : public Translator
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Documentación de las estructuras de datos";
return "Documentación de las estructuras de datos";
}
else
{
return "Documentación de las clases";
return "Documentación de las clases";
}
}
......@@ -386,19 +386,19 @@ class TranslatorSpanish : public Translator
* the documentation of all files.
*/
virtual QCString trFileDocumentation()
{ return "Documentación de archivos"; }
{ return "Documentación de archivos"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all examples.
*/
virtual QCString trExampleDocumentation()
{ return "Documentación de ejemplos"; }
{ return "Documentación de ejemplos"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all related pages.
*/
virtual QCString trPageDocumentation()
{ return "Documentación de páginas"; }
{ return "Documentación de páginas"; }
/*! This is used in LaTeX as the title of the document */
virtual QCString trReferenceManual()
......@@ -444,43 +444,43 @@ class TranslatorSpanish : public Translator
* list of (global) variables
*/
virtual QCString trEnumerationValues()
{ return "Valores de la enumeración"; }
{ return "Valores de la enumeración"; }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
virtual QCString trDefineDocumentation()
{ return "Documentación de las definiciones"; }
{ return "Documentación de las definiciones"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for function prototypes
*/
virtual QCString trFunctionPrototypeDocumentation()
{ return "Documentación de las funciones prototipo"; }
{ return "Documentación de las funciones prototipo"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
virtual QCString trTypedefDocumentation()
{ return "Documentación de los tipos definidos"; }
{ return "Documentación de los tipos definidos"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
virtual QCString trEnumerationTypeDocumentation()
{ return "Documentación de las enumeraciones"; }
{ return "Documentación de las enumeraciones"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
virtual QCString trFunctionDocumentation()
{ return "Documentación de las funciones"; }
{ return "Documentación de las funciones"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
virtual QCString trVariableDocumentation()
{ return "Documentación de las variables"; }
{ return "Documentación de las variables"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
......@@ -527,11 +527,11 @@ class TranslatorSpanish : public Translator
/*! this text is generated when the \\warning command is used. */
virtual QCString trWarning()
{ return "Atención"; }
{ return "Atención"; }
/*! this text is generated when the \\version command is used. */
virtual QCString trVersion()
{ return "Versión"; }
{ return "Versión"; }
/*! this text is generated when the \\date command is used. */
virtual QCString trDate()
......@@ -543,11 +543,11 @@ class TranslatorSpanish : public Translator
/*! this text is generated when the \\sa command is used. */
virtual QCString trSeeAlso()
{ return "Ver también"; }
{ return "Ver también"; }
/*! this text is generated when the \\param command is used. */
virtual QCString trParameters()
{ return "Parámetros"; }
{ return "Parámetros"; }
/*! this text is generated when the \\exception command is used. */
virtual QCString trExceptions()
......@@ -569,8 +569,8 @@ class TranslatorSpanish : public Translator
virtual QCString trNamespaceListDescription(bool extractAll)
{
QCString result="Lista de ";
if (!extractAll) result+="toda la documentación de ";
result+="los namespaces con una breve descripción:";
if (!extractAll) result+="toda la documentación de ";
result+="los namespaces con una breve descripción:";
return result;
}
......@@ -588,7 +588,7 @@ class TranslatorSpanish : public Translator
* related classes
*/
virtual QCString trRelatedFunctionDocumentation()
{ return "Documentación de las funciones relacionadas y clases amigas"; }
{ return "Documentación de las funciones relacionadas y clases amigas"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
......@@ -605,11 +605,11 @@ class TranslatorSpanish : public Translator
{
case ClassDef::Class: result+=" la Clase "; break;
case ClassDef::Struct: result+=" la Estructura "; break;
case ClassDef::Union: result+=" la Unión "; break;
case ClassDef::Union: result+=" la Unión "; break;
case ClassDef::Interface: result+=" la Interfaz "; break;
case ClassDef::Protocol: result+="l Protocolo "; break;
case ClassDef::Category: result+=" la Categoria "; break;
case ClassDef::Exception: result+=" la Excepción "; break;
case ClassDef::Exception: result+=" la Excepción "; break;
}
result+=(QCString)clName;
return result;
......@@ -632,34 +632,34 @@ class TranslatorSpanish : public Translator
}
virtual QCString trPublicMembers()
{ return "Métodos públicos"; }
{ return "Métodos públicos"; }
virtual QCString trPublicSlots()
{ return "Slots públicos"; }
{ return "Slots públicos"; }
virtual QCString trSignals()
{ return "Señales"; }
{ return "Señales"; }
virtual QCString trStaticPublicMembers()
{ return "Métodos públicos estáticos"; }
{ return "Métodos públicos estáticos"; }
virtual QCString trProtectedMembers()
{ return "Métodos protegidos"; }
{ return "Métodos protegidos"; }
virtual QCString trProtectedSlots()
{ return "Slots protegidos"; }
virtual QCString trStaticProtectedMembers()
{ return "Métodos protegidos estáticos"; }
{ return "Métodos protegidos estáticos"; }
virtual QCString trPrivateMembers()
{ return "Métodos privados"; }
{ return "Métodos privados"; }
virtual QCString trPrivateSlots()
{ return "Slots privados"; }
virtual QCString trStaticPrivateMembers()
{ return "Métodos privados estáticos"; }
{ return "Métodos privados estáticos"; }
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
......@@ -726,12 +726,12 @@ class TranslatorSpanish : public Translator
virtual QCString trNamespaceMemberDescription(bool extractAll)
{
QCString result="Lista de ";
if (!extractAll) result+="toda la documentación de ";
if (!extractAll) result+="toda la documentación de ";
result+="los miembros del namespace con enlace a ";
if (extractAll)
result+="los namespace de cada miembro:";
else
result+="la documentación de los namespaces pertenecientes a:";
result+="la documentación de los namespaces pertenecientes a:";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
......@@ -744,7 +744,7 @@ class TranslatorSpanish : public Translator
* the documentation of all namespaces.
*/
virtual QCString trNamespaceDocumentation()
{ return "Documentación de namespaces"; }
{ return "Documentación de namespaces"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
......@@ -767,16 +767,16 @@ class TranslatorSpanish : public Translator
bool single)
{ // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file
QCString result=(QCString)"La documentación para est";
QCString result=(QCString)"La documentación para est";
switch(compType)
{
case ClassDef::Class: result+="a clase"; break;
case ClassDef::Struct: result+="a estructura"; break;
case ClassDef::Union: result+="a unión"; break;
case ClassDef::Union: result+="a unión"; break;
case ClassDef::Interface: result+="e interfaz"; break;
case ClassDef::Protocol: result+="e protocolo"; break;
case ClassDef::Category: result+="a categoría"; break;
case ClassDef::Exception: result+="a excepción"; break;
case ClassDef::Category: result+="a categoría"; break;
case ClassDef::Exception: result+="a excepción"; break;
}
result+=" fue generada a partir de";
if (single) result+="l siguiente fichero:";
......@@ -788,7 +788,7 @@ class TranslatorSpanish : public Translator
* list.
*/
virtual QCString trAlphabeticalList()
{ return "Lista alfabética"; }
{ return "Lista alfabética"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
......@@ -801,7 +801,7 @@ class TranslatorSpanish : public Translator
/*! This is in the (quick) index as a link to the main page (index.html)
*/
virtual QCString trMainPage()
{ return "Página principal"; }
{ return "Página principal"; }
/*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page.
......@@ -815,11 +815,11 @@ class TranslatorSpanish : public Translator
virtual QCString trDefinedAtLineInSourceFile()
{
return "Definición en la línea @0 del archivo @1.";
return "Definición en la línea @0 del archivo @1.";
}
virtual QCString trDefinedInSourceFile()
{
return "Definición en el archivo @0.";
return "Definición en el archivo @0.";
}
//////////////////////////////////////////////////////////////////////////
......@@ -838,43 +838,43 @@ class TranslatorSpanish : public Translator
/*! this text is put before a collaboration diagram */
virtual QCString trCollaborationDiagram(const char *clName)
{
return (QCString)"Diagrama de colaboración para "+clName+":";
return (QCString)"Diagrama de colaboración para "+clName+":";
}
/*! this text is put before an include dependency graph */
virtual QCString trInclDepGraph(const char *fName)
{
return (QCString)"Dependencia gráfica adjunta para "+fName+":";
return (QCString)"Dependencia gráfica adjunta para "+fName+":";
}
/*! header that is put before the list of constructor/destructors. */
virtual QCString trConstructorDocumentation()
{
return "Documentación del constructor y destructor";
return "Documentación del constructor y destructor";
}
/*! Used in the file documentation to point to the corresponding sources. */
virtual QCString trGotoSourceCode()
{
return "Ir al código fuente de este archivo.";
return "Ir al código fuente de este archivo.";
}
/*! Used in the file sources to point to the corresponding documentation. */
virtual QCString trGotoDocumentation()
{
return "Ir a la documentación de este archivo.";
return "Ir a la documentación de este archivo.";
}
/*! Text for the \\pre command */
virtual QCString trPrecondition()
{
return "Precondición";
return "Precondición";
}
/*! Text for the \\post command */
virtual QCString trPostcondition()
{
return "Postcondición";
return "Postcondición";
}
/*! Text for the \\invariant command */
......@@ -892,27 +892,27 @@ class TranslatorSpanish : public Translator
/*! Text used the source code in the file index */
virtual QCString trCode()
{
return "código";
return "código";
}
virtual QCString trGraphicalHierarchy()
{
return "Representación gráfica de la clase";
return "Representación gráfica de la clase";
}
virtual QCString trGotoGraphicalHierarchy()
{
return "Ir a la representación gráfica de la jerarquía de la clase";
return "Ir a la representación gráfica de la jerarquía de la clase";
}
virtual QCString trGotoTextualHierarchy()
{
return "Ir a la jerarquía textual de la clase";
return "Ir a la jerarquía textual de la clase";
}
virtual QCString trPageIndex()
{
return "Página indice";
return "Página indice";
}
//////////////////////////////////////////////////////////////////////////
......@@ -926,7 +926,7 @@ class TranslatorSpanish : public Translator
virtual QCString trPublicTypes()
{
return "Tipos públicos";
return "Tipos públicos";
}
virtual QCString trPublicAttribs()
......@@ -937,13 +937,13 @@ class TranslatorSpanish : public Translator
}
else
{
return "Atributos públicos";
return "Atributos públicos";
}
}
virtual QCString trStaticPublicAttribs()
{
return "Atributos públicos estáticos";
return "Atributos públicos estáticos";
}
virtual QCString trProtectedTypes()
......@@ -958,7 +958,7 @@ class TranslatorSpanish : public Translator
virtual QCString trStaticProtectedAttribs()
{
return "Atributos protegidos estáticos";
return "Atributos protegidos estáticos";
}
virtual QCString trPrivateTypes()
......@@ -973,7 +973,7 @@ class TranslatorSpanish : public Translator
virtual QCString trStaticPrivateAttribs()
{
return "Atributos privados estáticos";
return "Atributos privados estáticos";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1008,12 +1008,12 @@ class TranslatorSpanish : public Translator
virtual QCString trAttention()
{
return "Atención";
return "Atención";
}
virtual QCString trInclByDepGraph()
{
return "Gráfico de los archivos que directa o "
return "Gráfico de los archivos que directa o "
"indirectamente incluyen a este archivo:";
}
......@@ -1029,7 +1029,7 @@ class TranslatorSpanish : public Translator
/*! title of the graph legend page */
QCString trLegendTitle()
{
return "Leyenda del Gráfico";
return "Leyenda del Gráfico";
}
/*! page explaining how the dot graph's should be interpreted
......@@ -1038,13 +1038,13 @@ class TranslatorSpanish : public Translator
virtual QCString trLegendDocs()
{
return
"Esta página explica como interpretar los gráficos que son generados "
"Esta página explica como interpretar los gráficos que son generados "
"por doxygen.<p>\n"
"Considere el siguiente ejemplo:\n"
"\\code\n"
"/*! Clase invisible por truncamiento */\n"
"class Invisible { };\n\n"
"/*! Clase truncada, relación de herencia escondida */\n"
"/*! Clase truncada, relación de herencia escondida */\n"
"class Truncated : public Invisible { };\n\n"
"/* Clase no documentada con comentarios de doxygen */\n"
"class Undocumented { };\n\n"
......@@ -1069,31 +1069,31 @@ class TranslatorSpanish : public Translator
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"Si la etiqueta \\c MAX_DOT_GRAPH_HEIGHT en el archivo de configuración "
"tiene valor 240 resultará en el siguiente gráfico:"
"Si la etiqueta \\c MAX_DOT_GRAPH_HEIGHT en el archivo de configuración "
"tiene valor 240 resultará en el siguiente gráfico:"
"<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
"<p>\n"
"Las cajas en el gráfico arriba tienen el significado que sigue:\n"
"Las cajas en el gráfico arriba tienen el significado que sigue:\n"
"<ul>\n"
"<li>Una caja llena negra representa la estructura o clase para la cuál"
"se generá el gráfico.\n"
"<li>Una caja con borde negro señala una estructura o clase documentada.\n"
"<li>Una caja con borde griz señala una estructura o clase no documentada.\n"
"<li>una caja con borde rojo señala una estructura o clase documentada"
" de la cuál no toda las relaciones de jerarquía/contenido son "
"mostradas. El gráfico sera truncado si este no calza dentro de los "
"límites especificados."
"<li>Una caja llena negra representa la estructura o clase para la cuál"
"se generó el gráfico.\n"
"<li>Una caja con borde negro señala una estructura o clase documentada.\n"
"<li>Una caja con borde griz señala una estructura o clase no documentada.\n"
"<li>una caja con borde rojo señala una estructura o clase documentada"
" de la cuál no toda las relaciones de jerarquía/contenido son "
"mostradas. El gráfico sera truncado si este no calza dentro de los "
"límites especificados."
"</ul>\n"
"Las flechas tienen el siguiente significado:\n"
"<ul>\n"
"<li>Una flecha azul oscuro es usada para visualizar una relación herencia publica entre dos clases.\n"
"<li>Una flecha azul oscuro es usada para visualizar una relación herencia publica entre dos clases.\n"
"<li>Una flecha verde oscura es usada para herencia protegida.\n"
"<li>Una flecha rojo oscura es usada para herencia privada.\n"
"<li>Una flecha segmentada púrpura se usa si la clase es contenida o "
"usada por otra clase. La flecha está etiquetada por la variable "
"<li>Una flecha segmentada púrpura se usa si la clase es contenida o "
"usada por otra clase. La flecha está etiquetada por la variable "
"con que se accede a la clase o estructura apuntada. \n"
"<li>Una flecha segmentada amarilla indica la relación entre una instancia template y la clase template de la que se ha instanciado."
" La flecha se etiqueta con los parámetros con que se llama al template.\n"
"<li>Una flecha segmentada amarilla indica la relación entre una instancia template y la clase template de la que se ha instanciado."
" La flecha se etiqueta con los parámetros con que se llama al template.\n"
"</ul>\n";
}
......@@ -1126,7 +1126,7 @@ class TranslatorSpanish : public Translator
/*! Used as a section header for KDE-2 IDL methods */
virtual QCString trDCOPMethods()
{
return "Métodos DCOP";
return "Métodos DCOP";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1142,7 +1142,7 @@ class TranslatorSpanish : public Translator
/*! Used as a section header for IDL property documentation */
virtual QCString trPropertyDocumentation()
{
return "Documentación de Propiedades";
return "Documentación de Propiedades";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1177,7 +1177,7 @@ class TranslatorSpanish : public Translator
/*! The description of the package index page */
virtual QCString trPackageListDescription()
{
return "Aquí van los paquetes con una breve descripción (si está disponible):";
return "Aquí van los paquetes con una breve descripción (si etá disponible):";
}
/*! The link name in the Quick links header for each page */
......@@ -1254,7 +1254,7 @@ class TranslatorSpanish : public Translator
/*! Used as header RTF general index */
virtual QCString trRTFGeneralIndex()
{
return "Índice";
return "Índice";
}
/*! This is used for translation of the word that will possibly
......@@ -1285,9 +1285,8 @@ class TranslatorSpanish : public Translator
*/
virtual QCString trNamespace(bool first_capital, bool singular)
{
QCString result((first_capital ? "Espacio" : "espacio"));
QCString result((first_capital ? "Namespace" : "namespace"));
if (!singular) result+="s";
result+=" de nombres";
return result;
}
......@@ -1308,7 +1307,7 @@ class TranslatorSpanish : public Translator
*/
virtual QCString trPage(bool first_capital, bool singular)
{
QCString result((first_capital ? "Página" : "página"));
QCString result((first_capital ? "Página" : "página"));
if (!singular) result+="s";
return result;
}
......@@ -1418,7 +1417,7 @@ class TranslatorSpanish : public Translator
/*! Header used for the documentation section of a class' events. */
virtual QCString trEventDocumentation()
{
return "Documentación de los Eventos";
return "Documentación de los Eventos";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1445,7 +1444,7 @@ class TranslatorSpanish : public Translator
*/
virtual QCString trStaticPackageMembers()
{
return "Funciones Estáticas del Paquete";
return "Funciones Estáticas del Paquete";
}
/*! Used as a heading for a list of Java class variables with package
......@@ -1461,7 +1460,7 @@ class TranslatorSpanish : public Translator
*/
virtual QCString trStaticPackageAttribs()
{
return "Atributos Estáticos del Paquete";
return "Atributos Estáticos del Paquete";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1479,7 +1478,7 @@ class TranslatorSpanish : public Translator
/*! Put in front of the call graph for a function. */
virtual QCString trCallGraph()
{
return "Gráfico de llamadas para esta función:";
return "Gráfico de llamadas para esta función:";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1500,7 +1499,7 @@ class TranslatorSpanish : public Translator
*/
virtual QCString trSearchResultsTitle()
{
return "Resultados de la Búsqueda";
return "Resultados de la Búsqueda";
}
/*! This string is put just before listing the search results. The
......@@ -1515,15 +1514,15 @@ class TranslatorSpanish : public Translator
{
if (numDocuments==0)
{
return "Disculpe, no se encontraron documentos que coincidan con su búsqueda.";
return "Disculpe, no se encontraron documentos que coincidan con su búsqueda.";
}
else if (numDocuments==1)
{
return "Se encontró <b>1</b> documento que coincide con su búsqueda.";
return "Se encontró <b>1</b> documento que coincide con su búsqueda.";
}
else
{
return "Se encontraron <b>$num</b> documentos que coinciden con su búsqueda. "
return "Se encontraron <b>$num</b> documentos que coinciden con su búsqueda. "
"Se muestran los mejores resultados primero.";
}
}
......@@ -1555,13 +1554,13 @@ class TranslatorSpanish : public Translator
* hierarchy.
*/
virtual QCString trDirIndex()
{ return "Jerarquía de Directorio"; }
{ return "Jerarquía de Directorio"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
virtual QCString trDirDocumentation()
{ return "Documentación de Directorio"; }
{ return "Documentación de Directorio"; }
/*! This is used as the title of the directory index and also in the
* Quick links of an HTML page, to link to the directory hierarchy.
......@@ -1573,8 +1572,8 @@ class TranslatorSpanish : public Translator
* and the fact that it is sorted alphabetically per level
*/
virtual QCString trDirDescription()
{ return "La jeraquía de este directorio está ordenada"
" alfabéticamente, de manera aproximada:";
{ return "La jeraquía de este directorio está ordenada"
" alfabéticamente, de manera aproximada:";
}
/*! This returns the title of a directory page. The name of the
......@@ -1606,9 +1605,9 @@ class TranslatorSpanish : public Translator
*/
virtual QCString trOverloadText()
{
return "Esta es una función miembro sobrecargada que se "
return "Esta es una función miembro sobrecargada que se "
"suministra por conveniencia. Difiere de la anterior "
"función solamente en los argumentos que acepta.";
"función solamente en los argumentos que acepta.";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1618,28 +1617,28 @@ class TranslatorSpanish : public Translator
/*! This is used to introduce a caller (or called-by) graph */
virtual QCString trCallerGraph()
{
return "Gráfico de llamadas a esta función:";
return "Gráfico de llamadas a esta función:";
}
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
virtual QCString trEnumerationValueDocumentation()
{ return "Documentación de los valores de la enumeración"; }
{ return "Documentación de los valores de la enumeración"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
// De parte de Bartomeu:
// No conozco el Fortran, salvo un par de ejercicios en la universidad
// hace muchos años. Por lo tanto, las traducciones son del inglés
// al español, no de un usuario de Fortran que puede que haya cosas que no
// hace muchos años. Por lo tanto, las traducciones son del inglés
// al español, no de un usuario de Fortran que puede que haya cosas que no
// traduzca o traduzca de otra forma. Que los usuarios de Fortran disculpen
// y espero se animen a mejorar mi traducción.
// y espero se animen a mejorar mi traducción.
/*! header that is put before the list of member subprograms (Fortran). */
virtual QCString trMemberFunctionDocumentationFortran()
{ return "Documetación de miembros Function/Subroutine"; }
{ return "Documetación de miembros Function/Subroutine"; }
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
virtual QCString trCompoundListFortran()
......@@ -1651,12 +1650,12 @@ class TranslatorSpanish : public Translator
/*! This is an introduction to the annotated compound list (Fortran). */
virtual QCString trCompoundListDescriptionFortran()
{ return "Aquí están los tipos de datos con una breve descripción:"; }
{ return "Aquí están los tipos de datos con una breve descripción:"; }
/*! This is an introduction to the page with all data types (Fortran). */
virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
{
QCString result="Aquí tiene una lista de todos ";
QCString result="Aquí está una lista de todos ";
result+="los miembros de los tipos de datos ";
if (!extractAll)
{
......@@ -1665,7 +1664,7 @@ class TranslatorSpanish : public Translator
result+="con enlaces a ";
if (!extractAll)
{
result+="la documentación de la estructura de datos para cada miembro";
result+="la documentación de la estructura de datos para cada miembro";
}
else
{
......@@ -1678,13 +1677,13 @@ class TranslatorSpanish : public Translator
* annotated compound index (Fortran).
*/
virtual QCString trCompoundIndexFortran()
{ return "Índice de tipos de datos"; }
{ return "Índice de tipos de datos"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all data types (Fortran).
*/
virtual QCString trTypeDocumentation()
{ return "Documentación de tipos de datos"; }
{ return "Documentación de tipos de datos"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
......@@ -1696,7 +1695,7 @@ class TranslatorSpanish : public Translator
* of documentation blocks for subprograms (Fortran)
*/
virtual QCString trSubprogramDocumentation()
{ return "Documentación de Funciones/Subprogramas"; }
{ return "Documentación de Funciones/Subprogramas"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
......@@ -1706,14 +1705,14 @@ class TranslatorSpanish : public Translator
/*! used as the title of page containing all the index of all modules (Fortran). */
virtual QCString trModulesList()
{ return "Lista de módulos"; }
{ return "Lista de módulos"; }
/*! used as an introduction to the modules list (Fortran) */
virtual QCString trModulesListDescription(bool extractAll)
{
QCString result="Lista de todos los módulos ";
QCString result="Lista de todos los módulos ";
if (!extractAll) result+="documentados ";
result+="con una breve descripción:";
result+="con una breve descripción:";
return result;
}
......@@ -1726,13 +1725,13 @@ class TranslatorSpanish : public Translator
if (isTemplate) result+=" la plantilla de";
switch(compType)
{
case ClassDef::Class: result+="l módulo"; break;
case ClassDef::Class: result+="l módulo"; break;
case ClassDef::Struct: result+="l tipo"; break;
case ClassDef::Union: result+=" la unión"; break;
case ClassDef::Union: result+=" la unión"; break;
case ClassDef::Interface: result+=" la interfaz"; break;
case ClassDef::Protocol: result+="l protocolo"; break;
case ClassDef::Category: result+=" la categoría"; break;
case ClassDef::Exception: result+=" la excepción"; break;
case ClassDef::Category: result+=" la categoría"; break;
case ClassDef::Exception: result+=" la excepción"; break;
}
result+=(QCString)clName;
return result;
......@@ -1741,28 +1740,28 @@ class TranslatorSpanish : public Translator
/*! used as the title of the HTML page of a module (Fortran) */
virtual QCString trModuleReference(const char *namespaceName)
{
QCString result="Referencia del módulo ";
QCString result="Referencia módulo ";
result+=namespaceName;
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
virtual QCString trModulesMembers()
{ return "Miembros del módulo"; }
{ return "Miembros módulo"; }
/*! This is an introduction to the page with all modules members (Fortran) */
virtual QCString trModulesMemberDescription(bool extractAll)
{
QCString result="Lista de todos los miembros del módulo ";
QCString result="Lista de todos los miembros del módulo ";
if (!extractAll) result+="documentados ";
result+="con enlaces ";
if (extractAll)
{
result+="a la documentación del módulo para cada uno:";
result+="a la documentación del módulo para cada uno:";
}
else
{
result+="al módulo al que pertenecen:";
result+="al módulo al que pertenecen:";
}
return result;
}
......@@ -1771,7 +1770,7 @@ class TranslatorSpanish : public Translator
* index of all modules (Fortran).
*/
virtual QCString trModulesIndex()
{ return "Índice de módulos"; }
{ return "Índice de módulos"; }
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
......@@ -1779,7 +1778,7 @@ class TranslatorSpanish : public Translator
*/
virtual QCString trModule(bool first_capital, bool singular)
{
QCString result((first_capital ? "Módulo" : "módulo"));
QCString result((first_capital ? "Módulo" : "módulo"));
if (!singular) result+="s";
return result;
}
......@@ -1791,16 +1790,16 @@ class TranslatorSpanish : public Translator
bool single)
{ // here s is one of " Module", " Struct" or " Union"
// single is true implies a single file
QCString result=(QCString)"La documentación para est";
QCString result=(QCString)"La documentación para est";
switch(compType)
{
case ClassDef::Class: result+="e módulo"; break;
case ClassDef::Class: result+="e módulo"; break;
case ClassDef::Struct: result+="e tipo"; break;
case ClassDef::Union: result+="a unión"; break;
case ClassDef::Union: result+="a unión"; break;
case ClassDef::Interface: result+="e interfaz"; break;
case ClassDef::Protocol: result+="e protocolo"; break;
case ClassDef::Category: result+="a categoría"; break;
case ClassDef::Exception: result+="a excepción"; break;
case ClassDef::Category: result+="a categoría"; break;
case ClassDef::Exception: result+="a excepción"; break;
}
result+=" fue generada de";
if (single) result+="l siguiente fichero:";
......
......@@ -3551,6 +3551,51 @@ void mergeArguments(ArgumentList *srcAl,ArgumentList *dstAl,bool forceNameOverwr
}
}
static void findMembersWithSpecificName(MemberName *mn,
const char *args,
bool checkStatics,
FileDef *currentFile,
bool checkCV,
QList<MemberDef> &members)
{
//printf(" Function with global scope name `%s' args=`%s'\n",memberName.data(),args);
MemberListIterator mli(*mn);
MemberDef *md;
for (mli.toFirst();(md=mli.current());++mli)
{
FileDef *fd=md->getFileDef();
GroupDef *gd=md->getGroupDef();
//printf(" md->name()=`%s' md->args=`%s' fd=%p gd=%p\n",
// md->name().data(),args,fd,gd);
if (
((gd && gd->isLinkable()) || (fd && fd->isLinkable())) &&
md->getNamespaceDef()==0 && md->isLinkable() &&
(!checkStatics || !md->isStatic() || currentFile==0 || fd==currentFile) // statics must appear in the same file
)
{
//printf(" fd=%p gd=%p args=`%s'\n",fd,gd,args);
bool match=TRUE;
ArgumentList *argList=0;
if (args && !md->isDefine() && strcmp(args,"()")!=0)
{
argList=new ArgumentList;
LockingPtr<ArgumentList> mdAl = md->argumentList();
stringToArgumentList(args,argList);
match=matchArguments2(
md->getOuterScope(),fd,mdAl.pointer(),
Doxygen::globalScope,fd,argList,
checkCV);
delete argList; argList=0;
}
if (match)
{
//printf("Found match!\n");
members.append(md);
}
}
}
}
/*!
* Searches for a member definition given its name `memberName' as a string.
* memberName may also include a (partial) scope to indicate the scope
......@@ -3886,7 +3931,15 @@ bool getDefs(const QCString &scName,const QCString &memberName,
//else // no scope => global function
{
QList<MemberDef> members;
// search for matches with strict static checking
findMembersWithSpecificName(mn,args,TRUE,currentFile,checkCV,members);
if (members.count()==0) // nothing found
{
// search again without strict static checking
findMembersWithSpecificName(mn,args,FALSE,currentFile,checkCV,members);
}
#if 0
//printf(" Function with global scope name `%s' args=`%s'\n",memberName.data(),args);
MemberListIterator mli(*mn);
for (mli.toFirst();(md=mli.current());++mli)
......@@ -3897,7 +3950,8 @@ bool getDefs(const QCString &scName,const QCString &memberName,
// md->name().data(),args,fd,gd);
if (
((gd && gd->isLinkable()) || (fd && fd->isLinkable())) &&
md->getNamespaceDef()==0 && md->isLinkable()
md->getNamespaceDef()==0 && md->isLinkable() &&
(!md->isStatic() || fd==currentFile) // statics must appear in the same file
)
{
//printf(" fd=%p gd=%p args=`%s'\n",fd,gd,args);
......@@ -3921,6 +3975,7 @@ bool getDefs(const QCString &scName,const QCString &memberName,
}
}
}
#endif
if (members.count()!=1 && args && !strcmp(args,"()"))
{
// no exact match found, but if args="()" an arbitrary
......@@ -3942,32 +3997,9 @@ bool getDefs(const QCString &scName,const QCString &memberName,
}
}
//printf("found %d candidate members\n",members.count());
if (members.count()==1 || currentFile!=0)
{
md=members.first();
}
else if (members.count()>1)
{
//printf("Found more than one matching member!\n");
// use some C scoping rules to determine the correct link
// 1. member in current file
// 2. non-static member in different file
if (currentFile==0)
{
bool ambig;
currentFile = findFileDef(Doxygen::inputNameDict,0/*namespaceName*/,ambig);
}
MemberDef *bmd = 0;
for (md=members.first(); md; md=members.next())
{
if (currentFile && md->getBodyDef()==currentFile)
if (members.count()>0) // at least one match
{
bmd = 0;
break;
}
if (!md->isStatic() || Config_getBool("EXTRACT_STATIC")) bmd = md;
}
if (bmd) md=bmd;
md=members.last();
}
if (md) // found a matching global member
{
......@@ -4062,7 +4094,8 @@ bool resolveRef(/* in */ const char *scName,
/* in */ bool inSeeBlock,
/* out */ Definition **resContext,
/* out */ MemberDef **resMember,
bool lookForSpecialization
bool lookForSpecialization,
FileDef *currentFile
)
{
QCString tsName = name;
......@@ -4155,7 +4188,7 @@ bool resolveRef(/* in */ const char *scName,
if (getDefs(scopeStr,nameStr,argsStr,
md,cd,fd,nd,gd,
scopePos==0 && !memberScopeFirst,
0,
currentFile,
TRUE
)
)
......
......@@ -136,7 +136,8 @@ bool resolveRef(/* in */ const char *scName,
/* in */ bool inSeeBlock,
/* out */ Definition **resContext,
/* out */ MemberDef **resMember,
/* in */ bool lookForSpecializations = TRUE
/* in */ bool lookForSpecializations = TRUE,
/* in */ FileDef *currentFile = 0
);
bool resolveLink(/* in */ const char *scName,
......
......@@ -75,7 +75,7 @@ static const char* g_vhdlKeyWordMap0[] =
"range", "record", "register", "reject", "report", "return","select",
"severity", "shared", "signal", "subtype", "then", "to", "transport",
"type","unaffected", "units", "until", "use","variable", "wait", "when",
"while", "with","true","false",0
"while", "with","true","false","protected",0
};
// type
......
......@@ -417,6 +417,7 @@ static void parseFunctionProto()
VhdlDocGen::parseFuncProto(qcs.data(),ql,name,ret);
//printf("parseFuncProto(%s)=%s,%s\n",qcs.data(),name.data(),ret.data());
VhdlDocGen::deleteAllChars(name,';');
current->name=name;
current->startLine=iFuncLine;
current->bodyLine=iFuncLine;
......@@ -639,6 +640,11 @@ BRACECLOSE [)]{1}
ALLID [^;()\t ]
/* VHDL 2001 */
ENDPROTECTED ("end"{BR}+"protected"{BR}+{NAME}{BR}*";")|("end"{BR}+"protected"{BR}*";")
ENDPROTECEDBODY "end"{BR}+"protected"{BR}+"body"{BR}+{NAME}
%option noyywrap
/* language parsing states */
......@@ -661,6 +667,12 @@ ALLID [^;()\t ]
%%
<Start>{ENDPROTECTED}|{ENDPROTECEDBODY} {
lineCount();
}
<Start>{CONFIG} { // found configuration
QCString qcs(vhdlscanYYtext);
......@@ -986,6 +998,21 @@ ALLID [^;()\t ]
BEGIN(ParseType);
}
<ParseType>("is"){BR}+("protected"){BR}+("body") {lineCount(); BEGIN(Start); }
<ParseType>("is"){BR}+("protected"){BR}+ {
lineCount();
current->section=Entry::VARIABLE_SEC;
current->spec=VhdlDocGen::TYPE;
current->type="protected";
newEntry();
BEGIN(Start);
}
<ParseType>("is"){BR}*("record") { // find record
lineCount();
if (isFunc)
......
......@@ -98,6 +98,8 @@ void XmlDocVisitor::visit(DocSymbol *s)
case DocSymbol::Ring: m_t << "<ring char=\"" << s->letter() << "\"/>"; break;
case DocSymbol::Slash: m_t << "<slash char=\"" << s->letter() << "\"/>"; break;
case DocSymbol::Nbsp: m_t << "<nonbreakablespace/>"; break;
case DocSymbol::Aelig: m_t << "<aelig/>"; break;
case DocSymbol::AElig: m_t << "<AElig/>"; break;
default:
err("Error: unknown symbol found\n");
}
......
......@@ -1556,6 +1556,10 @@
RelativePath="..\src\portable.cpp"
>
</File>
<File
RelativePath="..\src\portable_c.c"
>
</File>
<File
RelativePath="..\src\pre.cpp"
>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment