mosra / m.css

A no-nonsense, no-JavaScript CSS framework, site and documentation theme for content-oriented websites
https://mcss.mosra.cz
Other
406 stars 92 forks source link

Doxygen 1.9+ support tasklist #215

Open mosra opened 2 years ago

mosra commented 2 years ago

Because dealing with this project is never easy ALWAYS AN ABSOLUTE HORRID NIGHTMARE. Things to do:

marzer commented 2 years ago

Something else for this list: It appears that in some recent doxygen version they've changed the way = default is handled, in that now it no longer leaks into the argsstring, meaning that this code isn't strictly correct anymore: https://github.com/mosra/m.css/blob/6f5c7d57ef653c288aa414d1fe065d8d7829785e/documentation/doxygen.py#L2031-L2036

Doesn't appear that they've added any way to compensate for this (there's no defaulted="yes" attribute or similar) :(

mosra commented 1 week ago

I'm going to stop here for now. The remaining checkboxes are quite nightmarish, fortunately the "fix" that makes things behave like before 1.9 is quite short:

diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 45f86b340..ccd4e55e3 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -6432,6 +6432,7 @@ static void addOverloaded(const Entry *root,MemberName *mn,

 static void insertMemberAlias(Definition *outerScope,const MemberDef *md)
 {
+  return; // TODO for some reason the function makes the alias no longer available for linking in @related
   if (outerScope && outerScope!=Doxygen::globalScope)
   {
     auto aliasMd = createMemberDefAlias(outerScope,md);
diff --git a/src/util.cpp b/src/util.cpp
index ab30eb461..f1292652a 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -2789,7 +2789,7 @@ GetDefResult getDefs(const GetDefInput &input)
   }
   else // do one of the two getDefs routines (comment out the other one)
   {
-    return getDefsNew(input);
+    return getDefsOld(input);
   }
 }

Together with the three PRs linked from above, this makes 1.12 work on all my repos without regressions and warning-free.