Loading INSTALL +4 −4 Original line number Original line Diff line number Diff line DOXYGEN Version 1.1.3-20000514 DOXYGEN Version 1.1.3-20000522 CONTENTS CONTENTS -------- -------- Loading @@ -15,8 +15,8 @@ INSTALLATION INSTRUCTIONS FOR UNIX: 1. Unpack the archive, unless you already have: 1. Unpack the archive, unless you already have: gunzip doxygen-1.1.3-20000514.src.tar.gz # uncompress the archive gunzip doxygen-1.1.3-20000522.src.tar.gz # uncompress the archive tar xf doxygen-1.1.3-20000514.src.tar # unpack it tar xf doxygen-1.1.3-20000522.src.tar # unpack it 2. Run the configure script: 2. Run the configure script: Loading Loading @@ -252,4 +252,4 @@ The latest version of doxygen can be obtained at Enjoy, Enjoy, Dimitri van Heesch (14 May 2000) Dimitri van Heesch (22 May 2000) README +2 −2 Original line number Original line Diff line number Diff line DOXYGEN Version 1.1.3-20000514 DOXYGEN Version 1.1.3-20000522 Please read INSTALL for compilation instructions. Please read INSTALL for compilation instructions. Loading @@ -7,4 +7,4 @@ The latest version of doxygen can be obtained at Enjoy, Enjoy, Dimitri van Heesch (14 May 2000) Dimitri van Heesch (22 May 2000) VERSION +1 −1 Original line number Original line Diff line number Diff line 1.1.3-20000514 1.1.3-20000522 addon/configgen/config_templ.l +37 −10 Original line number Original line Diff line number Diff line Loading @@ -40,13 +40,16 @@ void err(const char *fmt, ...) vfprintf(stderr, fmt, args); vfprintf(stderr, fmt, args); va_end(args); va_end(args); } } void warn(const char *fmt, ...) void warn_cont(const char *fmt, ...) { { va_list args; va_list args; va_start(args, fmt); va_start(args, fmt); vfprintf(stderr, fmt, args); vfprintf(stderr, fmt, args); va_end(args); va_end(args); } } void initWarningFormat() { } #else #else #include "doxygen.h" #include "doxygen.h" #include "message.h" #include "message.h" Loading Loading @@ -183,7 +186,7 @@ static int yyread(char *buf,int max_size) else else { { *b=FALSE; *b=FALSE; warn("Warning: Invalid value `%s' for " warn_cont("Warning: Invalid value `%s' for " "boolean tag in line %d; use YES or NO\n", "boolean tag in line %d; use YES or NO\n", bs.data(),yyLineNr); bs.data(),yyLineNr); } } Loading Loading @@ -288,7 +291,7 @@ void configStrToVal() int ts = tabSizeString.toInt(&ok); int ts = tabSizeString.toInt(&ok); if (!ok || ts<1 || ts>16) if (!ok || ts<1 || ts>16) { { warn("Warning: argument of TAB_SIZE is not a valid number, using tab size of 8 spaces!\n"); warn_cont("Warning: argument of TAB_SIZE is not a valid number, using tab size of 8 spaces!\n"); ts=8; ts=8; } } Config::tabSize = ts; Config::tabSize = ts; Loading @@ -304,7 +307,7 @@ void configStrToVal() int cols = colsInAlphaIndexString.toInt(&ok); int cols = colsInAlphaIndexString.toInt(&ok); if (!ok || cols<1 || cols>20) if (!ok || cols<1 || cols>20) { { warn("Warning: argument of COLS_IN_ALPHA_INDEX is not a valid number in the range [1..20]!\n" warn_cont("Warning: argument of COLS_IN_ALPHA_INDEX is not a valid number in the range [1..20]!\n" "Using the default of 5 columns!\n"); "Using the default of 5 columns!\n"); cols = 5; cols = 5; } } Loading Loading @@ -341,7 +344,8 @@ static void substEnvVarsInStrList(QStrList &sl) if (!wasQuoted) /* as a result of the expansion, a single string if (!wasQuoted) /* as a result of the expansion, a single string may have expanded into a list, which we'll may have expanded into a list, which we'll add to sl. If the orginal string already add to sl. If the orginal string already contained multiple elements no splitting is done! */ contained multiple elements no further splitting is done to allow quoted items with spaces! */ { { Loading @@ -354,10 +358,10 @@ static void substEnvVarsInStrList(QStrList &sl) { { char c; char c; // skip until start of new word // skip until start of new word for (;i<l && ((c=result.at(i))==' ' || c=='\t');i++) while (i<l && ((c=result.at(i))==' ' || c=='\t')) i++; p=i; // p marks the start index of the word p=i; // p marks the start index of the word // skip until end of a word // skip until end of a word for (;i<l && ((c=result.at(i))!=' ' && c!='\t' && c!='"');i++); while (i<l && ((c=result.at(i))!=' ' && c!='\t' && c!='"')) i++; if (i<l) // not at the end of the string if (i<l) // not at the end of the string { { if (c=='"') // word within quotes if (c=='"') // word within quotes Loading Loading @@ -424,6 +428,29 @@ void checkConfig() // projectName[0]=toupper(projectName[0]); // projectName[0]=toupper(projectName[0]); //} //} if (Config::warnFormat.isEmpty()) { Config::warnFormat="$file:$line $text"; } else { if (Config::warnFormat.find("$file")==-1) { err("Error: warning format does not contain a $file tag!\n"); exit(1); } if (Config::warnFormat.find("$line")==-1) { err("Error: warning format does not contain a $line tag!\n"); exit(1); } if (Config::warnFormat.find("$text")==-1) { err("Error: wanring format foes not contain a $text tag!\n"); exit(1); } } initWarningFormat(); // set default man page extension if non is given by the user // set default man page extension if non is given by the user if (Config::manExtension.isEmpty()) if (Config::manExtension.isEmpty()) Loading Loading @@ -715,7 +742,7 @@ void checkConfig() QFileInfo fi(Config::perlPath); QFileInfo fi(Config::perlPath); if (!fi.exists()) if (!fi.exists()) { { warn("Warning: tag PERL_PATH: perl interpreter not found at default or" warn_cont("Warning: tag PERL_PATH: perl interpreter not found at default or" "user specified (%s) location\n", "user specified (%s) location\n", Config::perlPath.data()); Config::perlPath.data()); } } Loading addon/configgen/configgen.cpp +36 −15 Original line number Original line Diff line number Diff line Loading @@ -775,21 +775,7 @@ void init() ConfigString::addFixedValue("outputLanguage","Japanese"); ConfigString::addFixedValue("outputLanguage","Japanese"); ConfigString::addFixedValue("outputLanguage","Finnish"); ConfigString::addFixedValue("outputLanguage","Finnish"); ConfigString::addFixedValue("outputLanguage","Spanish"); ConfigString::addFixedValue("outputLanguage","Spanish"); ConfigBool::add( "quietFlag", ConfigString::addFixedValue("outputLanguage","Croatian"); "QUIET", "FALSE", "generate progress messages flag", "The QUIET tag can be used to turn on/off the messages that are generated \n" "by doxygen. Possible values are YES and NO. If left blank NO is used. \n" ); ConfigBool::add( "warningFlag", "WARNINGS", "TRUE", "generate warnings flag", "The WARNINGS tag can be used to turn on/off the warning messages that are \n" "generated by doxygen. Possible values are YES and NO. If left blank \n" "NO is used. \n" ); ConfigBool::add( "noIndexFlag", ConfigBool::add( "noIndexFlag", "DISABLE_INDEX", "DISABLE_INDEX", "FALSE", "FALSE", Loading Loading @@ -984,6 +970,41 @@ void init() "documentation sections, marked by \\if sectionname ... \\endif. \n" "documentation sections, marked by \\if sectionname ... \\endif. \n" ); ); //----------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------- ConfigInfo::add( "Messages","configuration options related to warning and progress messages"); //----------------------------------------------------------------------------------------------- ConfigBool::add( "quietFlag", "QUIET", "FALSE", "generate progress messages flag", "The QUIET tag can be used to turn on/off the messages that are generated \n" "by doxygen. Possible values are YES and NO. If left blank NO is used. \n" ); ConfigBool::add( "warningFlag", "WARNINGS", "TRUE", "generate warnings flag", "The WARNINGS tag can be used to turn on/off the warning messages that are \n" "generated by doxygen. Possible values are YES and NO. If left blank \n" "NO is used. \n" ); ConfigBool::add( "warningUndocFlag", "WARN_IF_UNDOCUMENTED", "TRUE", "generate undocumented warnings", "If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings \n" "for undocumented members. If EXTRACT_ALL is set to YES then this flag will \n" "automatically be disabled. \n" ); ConfigString::add("warnFormat", "WARN_FORMAT", "$file:$line: $text", "format of the warning messages", "The WARN_FORMAT tag determines the format of the warning messages that \n" "doxygen can produce. The string should contain the $file, $line, and $text \n" "tags, which will be replaced by the file and line number from which the \n" "warning originated and the warning text. \n" ); //----------------------------------------------------------------------------------------------- ConfigInfo::add( "Input","configuration options related to the input files"); ConfigInfo::add( "Input","configuration options related to the input files"); //----------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------- ConfigList::add( "inputSources", ConfigList::add( "inputSources", Loading Loading
INSTALL +4 −4 Original line number Original line Diff line number Diff line DOXYGEN Version 1.1.3-20000514 DOXYGEN Version 1.1.3-20000522 CONTENTS CONTENTS -------- -------- Loading @@ -15,8 +15,8 @@ INSTALLATION INSTRUCTIONS FOR UNIX: 1. Unpack the archive, unless you already have: 1. Unpack the archive, unless you already have: gunzip doxygen-1.1.3-20000514.src.tar.gz # uncompress the archive gunzip doxygen-1.1.3-20000522.src.tar.gz # uncompress the archive tar xf doxygen-1.1.3-20000514.src.tar # unpack it tar xf doxygen-1.1.3-20000522.src.tar # unpack it 2. Run the configure script: 2. Run the configure script: Loading Loading @@ -252,4 +252,4 @@ The latest version of doxygen can be obtained at Enjoy, Enjoy, Dimitri van Heesch (14 May 2000) Dimitri van Heesch (22 May 2000)
README +2 −2 Original line number Original line Diff line number Diff line DOXYGEN Version 1.1.3-20000514 DOXYGEN Version 1.1.3-20000522 Please read INSTALL for compilation instructions. Please read INSTALL for compilation instructions. Loading @@ -7,4 +7,4 @@ The latest version of doxygen can be obtained at Enjoy, Enjoy, Dimitri van Heesch (14 May 2000) Dimitri van Heesch (22 May 2000)
VERSION +1 −1 Original line number Original line Diff line number Diff line 1.1.3-20000514 1.1.3-20000522
addon/configgen/config_templ.l +37 −10 Original line number Original line Diff line number Diff line Loading @@ -40,13 +40,16 @@ void err(const char *fmt, ...) vfprintf(stderr, fmt, args); vfprintf(stderr, fmt, args); va_end(args); va_end(args); } } void warn(const char *fmt, ...) void warn_cont(const char *fmt, ...) { { va_list args; va_list args; va_start(args, fmt); va_start(args, fmt); vfprintf(stderr, fmt, args); vfprintf(stderr, fmt, args); va_end(args); va_end(args); } } void initWarningFormat() { } #else #else #include "doxygen.h" #include "doxygen.h" #include "message.h" #include "message.h" Loading Loading @@ -183,7 +186,7 @@ static int yyread(char *buf,int max_size) else else { { *b=FALSE; *b=FALSE; warn("Warning: Invalid value `%s' for " warn_cont("Warning: Invalid value `%s' for " "boolean tag in line %d; use YES or NO\n", "boolean tag in line %d; use YES or NO\n", bs.data(),yyLineNr); bs.data(),yyLineNr); } } Loading Loading @@ -288,7 +291,7 @@ void configStrToVal() int ts = tabSizeString.toInt(&ok); int ts = tabSizeString.toInt(&ok); if (!ok || ts<1 || ts>16) if (!ok || ts<1 || ts>16) { { warn("Warning: argument of TAB_SIZE is not a valid number, using tab size of 8 spaces!\n"); warn_cont("Warning: argument of TAB_SIZE is not a valid number, using tab size of 8 spaces!\n"); ts=8; ts=8; } } Config::tabSize = ts; Config::tabSize = ts; Loading @@ -304,7 +307,7 @@ void configStrToVal() int cols = colsInAlphaIndexString.toInt(&ok); int cols = colsInAlphaIndexString.toInt(&ok); if (!ok || cols<1 || cols>20) if (!ok || cols<1 || cols>20) { { warn("Warning: argument of COLS_IN_ALPHA_INDEX is not a valid number in the range [1..20]!\n" warn_cont("Warning: argument of COLS_IN_ALPHA_INDEX is not a valid number in the range [1..20]!\n" "Using the default of 5 columns!\n"); "Using the default of 5 columns!\n"); cols = 5; cols = 5; } } Loading Loading @@ -341,7 +344,8 @@ static void substEnvVarsInStrList(QStrList &sl) if (!wasQuoted) /* as a result of the expansion, a single string if (!wasQuoted) /* as a result of the expansion, a single string may have expanded into a list, which we'll may have expanded into a list, which we'll add to sl. If the orginal string already add to sl. If the orginal string already contained multiple elements no splitting is done! */ contained multiple elements no further splitting is done to allow quoted items with spaces! */ { { Loading @@ -354,10 +358,10 @@ static void substEnvVarsInStrList(QStrList &sl) { { char c; char c; // skip until start of new word // skip until start of new word for (;i<l && ((c=result.at(i))==' ' || c=='\t');i++) while (i<l && ((c=result.at(i))==' ' || c=='\t')) i++; p=i; // p marks the start index of the word p=i; // p marks the start index of the word // skip until end of a word // skip until end of a word for (;i<l && ((c=result.at(i))!=' ' && c!='\t' && c!='"');i++); while (i<l && ((c=result.at(i))!=' ' && c!='\t' && c!='"')) i++; if (i<l) // not at the end of the string if (i<l) // not at the end of the string { { if (c=='"') // word within quotes if (c=='"') // word within quotes Loading Loading @@ -424,6 +428,29 @@ void checkConfig() // projectName[0]=toupper(projectName[0]); // projectName[0]=toupper(projectName[0]); //} //} if (Config::warnFormat.isEmpty()) { Config::warnFormat="$file:$line $text"; } else { if (Config::warnFormat.find("$file")==-1) { err("Error: warning format does not contain a $file tag!\n"); exit(1); } if (Config::warnFormat.find("$line")==-1) { err("Error: warning format does not contain a $line tag!\n"); exit(1); } if (Config::warnFormat.find("$text")==-1) { err("Error: wanring format foes not contain a $text tag!\n"); exit(1); } } initWarningFormat(); // set default man page extension if non is given by the user // set default man page extension if non is given by the user if (Config::manExtension.isEmpty()) if (Config::manExtension.isEmpty()) Loading Loading @@ -715,7 +742,7 @@ void checkConfig() QFileInfo fi(Config::perlPath); QFileInfo fi(Config::perlPath); if (!fi.exists()) if (!fi.exists()) { { warn("Warning: tag PERL_PATH: perl interpreter not found at default or" warn_cont("Warning: tag PERL_PATH: perl interpreter not found at default or" "user specified (%s) location\n", "user specified (%s) location\n", Config::perlPath.data()); Config::perlPath.data()); } } Loading
addon/configgen/configgen.cpp +36 −15 Original line number Original line Diff line number Diff line Loading @@ -775,21 +775,7 @@ void init() ConfigString::addFixedValue("outputLanguage","Japanese"); ConfigString::addFixedValue("outputLanguage","Japanese"); ConfigString::addFixedValue("outputLanguage","Finnish"); ConfigString::addFixedValue("outputLanguage","Finnish"); ConfigString::addFixedValue("outputLanguage","Spanish"); ConfigString::addFixedValue("outputLanguage","Spanish"); ConfigBool::add( "quietFlag", ConfigString::addFixedValue("outputLanguage","Croatian"); "QUIET", "FALSE", "generate progress messages flag", "The QUIET tag can be used to turn on/off the messages that are generated \n" "by doxygen. Possible values are YES and NO. If left blank NO is used. \n" ); ConfigBool::add( "warningFlag", "WARNINGS", "TRUE", "generate warnings flag", "The WARNINGS tag can be used to turn on/off the warning messages that are \n" "generated by doxygen. Possible values are YES and NO. If left blank \n" "NO is used. \n" ); ConfigBool::add( "noIndexFlag", ConfigBool::add( "noIndexFlag", "DISABLE_INDEX", "DISABLE_INDEX", "FALSE", "FALSE", Loading Loading @@ -984,6 +970,41 @@ void init() "documentation sections, marked by \\if sectionname ... \\endif. \n" "documentation sections, marked by \\if sectionname ... \\endif. \n" ); ); //----------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------- ConfigInfo::add( "Messages","configuration options related to warning and progress messages"); //----------------------------------------------------------------------------------------------- ConfigBool::add( "quietFlag", "QUIET", "FALSE", "generate progress messages flag", "The QUIET tag can be used to turn on/off the messages that are generated \n" "by doxygen. Possible values are YES and NO. If left blank NO is used. \n" ); ConfigBool::add( "warningFlag", "WARNINGS", "TRUE", "generate warnings flag", "The WARNINGS tag can be used to turn on/off the warning messages that are \n" "generated by doxygen. Possible values are YES and NO. If left blank \n" "NO is used. \n" ); ConfigBool::add( "warningUndocFlag", "WARN_IF_UNDOCUMENTED", "TRUE", "generate undocumented warnings", "If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings \n" "for undocumented members. If EXTRACT_ALL is set to YES then this flag will \n" "automatically be disabled. \n" ); ConfigString::add("warnFormat", "WARN_FORMAT", "$file:$line: $text", "format of the warning messages", "The WARN_FORMAT tag determines the format of the warning messages that \n" "doxygen can produce. The string should contain the $file, $line, and $text \n" "tags, which will be replaced by the file and line number from which the \n" "warning originated and the warning text. \n" ); //----------------------------------------------------------------------------------------------- ConfigInfo::add( "Input","configuration options related to the input files"); ConfigInfo::add( "Input","configuration options related to the input files"); //----------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------- ConfigList::add( "inputSources", ConfigList::add( "inputSources", Loading