Commit 56deb9cc authored by Dimitri van Heesch's avatar Dimitri van Heesch

Merge branch 'master' of github.com:doxygen/doxygen

parents 31505eb3 76833018
...@@ -708,9 +708,9 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def) ...@@ -708,9 +708,9 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def)
if (id_bfile == -1) if (id_bfile == -1)
{ {
sqlite3_clear_bindings(i_s_memberdef); sqlite3_clear_bindings(i_s_memberdef);
return;
} }
else
{
bindIntParameter(i_s_memberdef,":id_ibfile",id_bfile); bindIntParameter(i_s_memberdef,":id_ibfile",id_bfile);
bindIntParameter(i_s_memberdef,":bline",md->getStartBodyLine()); bindIntParameter(i_s_memberdef,":bline",md->getStartBodyLine());
...@@ -719,12 +719,13 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def) ...@@ -719,12 +719,13 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def)
} }
} }
} }
}
if (-1==step(db,i_s_memberdef)) if (-1==step(db,i_s_memberdef))
{ {
sqlite3_clear_bindings(i_s_memberdef); sqlite3_clear_bindings(i_s_memberdef);
} }
/*int id_src =*/ sqlite3_last_insert_rowid(db); sqlite3_last_insert_rowid(db);
// + source references // + source references
// The cross-references in initializers only work when both the src and dst // The cross-references in initializers only work when both the src and dst
...@@ -825,8 +826,9 @@ static void generateSqlite3ForClass(sqlite3 *db, ClassDef *cd) ...@@ -825,8 +826,9 @@ static void generateSqlite3ForClass(sqlite3 *db, ClassDef *cd)
bindIntParameter(i_s_compounddef,":line",cd->getDefLine()); bindIntParameter(i_s_compounddef,":line",cd->getDefLine());
bindIntParameter(i_s_compounddef,":column",cd->getDefColumn()); bindIntParameter(i_s_compounddef,":column",cd->getDefColumn());
if (-1==step(db,i_s_compounddef)) if (-1==step(db,i_s_compounddef)) {
return; sqlite3_clear_bindings(i_s_compounddef);
}
// + list of direct super classes // + list of direct super classes
if (cd->baseClasses()) if (cd->baseClasses())
...@@ -848,10 +850,12 @@ static void generateSqlite3ForClass(sqlite3 *db, ClassDef *cd) ...@@ -848,10 +850,12 @@ static void generateSqlite3ForClass(sqlite3 *db, ClassDef *cd)
bindTextParameter(i_s_basecompoundref,":base",bcd->classDef->displayName()); bindTextParameter(i_s_basecompoundref,":base",bcd->classDef->displayName());
} }
bindTextParameter(i_s_basecompoundref,":derived",cd->displayName()); bindTextParameter(i_s_basecompoundref,":derived",cd->displayName());
if (-1==step(db,i_s_basecompoundref)) if (-1==step(db,i_s_basecompoundref)) {
sqlite3_clear_bindings(i_s_basecompoundref);
continue; continue;
} }
} }
}
// + list of direct sub classes // + list of direct sub classes
if (cd->subClasses()) if (cd->subClasses())
...@@ -865,10 +869,12 @@ static void generateSqlite3ForClass(sqlite3 *db, ClassDef *cd) ...@@ -865,10 +869,12 @@ static void generateSqlite3ForClass(sqlite3 *db, ClassDef *cd)
bindTextParameter(i_s_derivedcompoundref,":refid",bcd->classDef->getOutputFileBase()); bindTextParameter(i_s_derivedcompoundref,":refid",bcd->classDef->getOutputFileBase());
bindIntParameter(i_s_derivedcompoundref,":prot",bcd->prot); bindIntParameter(i_s_derivedcompoundref,":prot",bcd->prot);
bindIntParameter(i_s_derivedcompoundref,":virt",bcd->virt); bindIntParameter(i_s_derivedcompoundref,":virt",bcd->virt);
if (-1==step(db,i_s_derivedcompoundref)) if (-1==step(db,i_s_derivedcompoundref)) {
sqlite3_reset(i_s_derivedcompoundref);
continue; continue;
} }
} }
}
// + include file // + include file
IncludeInfo *ii=cd->includeInfo(); IncludeInfo *ii=cd->includeInfo();
...@@ -888,7 +894,7 @@ static void generateSqlite3ForClass(sqlite3 *db, ClassDef *cd) ...@@ -888,7 +894,7 @@ static void generateSqlite3ForClass(sqlite3 *db, ClassDef *cd)
bindIntParameter(i_s_includes,":id_src",id_file); bindIntParameter(i_s_includes,":id_src",id_file);
bindTextParameter(i_s_includes,":dst",nm); bindTextParameter(i_s_includes,":dst",nm);
if (-1==step(db,i_s_includes)) if (-1==step(db,i_s_includes))
return; sqlite3_clear_bindings(i_s_basecompoundref);
} }
} }
} }
......
...@@ -5765,7 +5765,7 @@ QCString convertCharEntitiesToUTF8(const QCString &s) ...@@ -5765,7 +5765,7 @@ QCString convertCharEntitiesToUTF8(const QCString &s)
entityMap.insert("delta", "\xCE\xB4"); entityMap.insert("delta", "\xCE\xB4");
entityMap.insert("epsilon", "\xCE\xB5"); entityMap.insert("epsilon", "\xCE\xB5");
entityMap.insert("zeta", "\xCE\xB6"); entityMap.insert("zeta", "\xCE\xB6");
entityMap.insert("eta", "\xCE\xB8"); entityMap.insert("eta", "\xCE\xB7");
entityMap.insert("theta", "\xCE\xB8"); entityMap.insert("theta", "\xCE\xB8");
entityMap.insert("iota", "\xCE\xB9"); entityMap.insert("iota", "\xCE\xB9");
entityMap.insert("kappa", "\xCE\xBA"); entityMap.insert("kappa", "\xCE\xBA");
...@@ -5786,7 +5786,7 @@ QCString convertCharEntitiesToUTF8(const QCString &s) ...@@ -5786,7 +5786,7 @@ QCString convertCharEntitiesToUTF8(const QCString &s)
entityMap.insert("sect", "\xC2\xA7"); entityMap.insert("sect", "\xC2\xA7");
entityMap.insert("deg", "\xC2\xB0"); entityMap.insert("deg", "\xC2\xB0");
entityMap.insert("prime", "\xE2\x80\xB2"); entityMap.insert("prime", "\xE2\x80\xB2");
entityMap.insert("Prime", "\xE2\x80\xB2"); entityMap.insert("Prime", "\xE2\x80\xB3");
entityMap.insert("infin", "\xE2\x88\x9E"); entityMap.insert("infin", "\xE2\x88\x9E");
entityMap.insert("empty", "\xE2\x88\x85"); entityMap.insert("empty", "\xE2\x88\x85");
entityMap.insert("plusmn", "\xC2\xB1"); entityMap.insert("plusmn", "\xC2\xB1");
......
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