[Bug 1631169] [NEW] doxygen-jquery.patch modification misapplied to dynsection.js

Hunter Laux 1631169 at bugs.launchpad.net
Thu Oct 6 21:37:35 UTC 2016


Public bug reported:


Originally this patch prevented jquery from unnecessarily getting included. Now it's preventing inclusion of dynsection.js

Index: b/src/htmlgen.cpp
===================================================================
--- a/src/htmlgen.cpp
+++ b/src/htmlgen.cpp
@@ -728,6 +728,7 @@ void HtmlGenerator::init()
     mgr.copyResource("svgpan.js",dname);
   }

+  if (Config_getBool("GENERATE_TREEVIEW") || Config_getBool("SEARCHENGINE"))
   {
     QFile f(dname+"/dynsections.js");
     if (f.open(IO_WriteOnly))


The original patch is

--- orig/doxygen-1.7.4/src/htmlgen.cpp	2011-03-26 16:11:31.000000000 +0000
+++ doxygen-1.7.4/src/htmlgen.cpp	2011-04-10 15:40:07.149419575 +0100
@@ -1082,6 +1082,7 @@
     fprintf(stderr,"Warning: Cannot open file %s for writing\n",fileName.data());
   }
 
+  if (Config_getBool("GENERATE_TREEVIEW") || Config_getBool("SEARCHENGINE"))
   {
     QFile f(dname+"/jquery.js");
     if (f.open(IO_WriteOnly))

** Affects: doxygen (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to doxygen in Ubuntu.
https://bugs.launchpad.net/bugs/1631169

Title:
  doxygen-jquery.patch modification misapplied to dynsection.js

Status in doxygen package in Ubuntu:
  New

Bug description:
  
  Originally this patch prevented jquery from unnecessarily getting included. Now it's preventing inclusion of dynsection.js

  Index: b/src/htmlgen.cpp
  ===================================================================
  --- a/src/htmlgen.cpp
  +++ b/src/htmlgen.cpp
  @@ -728,6 +728,7 @@ void HtmlGenerator::init()
       mgr.copyResource("svgpan.js",dname);
     }

  +  if (Config_getBool("GENERATE_TREEVIEW") || Config_getBool("SEARCHENGINE"))
     {
       QFile f(dname+"/dynsections.js");
       if (f.open(IO_WriteOnly))


  The original patch is

  --- orig/doxygen-1.7.4/src/htmlgen.cpp	2011-03-26 16:11:31.000000000 +0000
  +++ doxygen-1.7.4/src/htmlgen.cpp	2011-04-10 15:40:07.149419575 +0100
  @@ -1082,6 +1082,7 @@
       fprintf(stderr,"Warning: Cannot open file %s for writing\n",fileName.data());
     }
   
  +  if (Config_getBool("GENERATE_TREEVIEW") || Config_getBool("SEARCHENGINE"))
     {
       QFile f(dname+"/jquery.js");
       if (f.open(IO_WriteOnly))

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/doxygen/+bug/1631169/+subscriptions



More information about the foundations-bugs mailing list