summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make templated HTML output more similar to hardcoded output.Dimitri van Heesch2021-05-201-2/+2
|
* Some fixes for template.cpp and improve the template outputDimitri van Heesch2021-05-141-10/+3
|
* Reintroducing the sidebar layout via new FULL_SIDEBAR option.Dimitri van Heesch2021-05-091-6/+16
| | | | | - This new page layout is only enabled if DISABLE_INDEX=YES, GENERATE_TREEVIEW=YES, and FULL_SIDEBAR=YES.
* Reverted the layout change introduced in ↵Dimitri van Heesch2021-05-091-8/+8
| | | | | | | a9d29861fe6ad3c182d6cded2e3636a20086fc96 - Caused issues with existing projects that customized the page header to add own navigation tabs (e.g. CGAL).
* Optimized the layout in case DISABLE_INDEX=YES and GENERATE_TREEVIEW=YESDimitri van Heesch2021-05-081-2/+9
| | | | | - also illustrated the various layouts in the customization section of the manual to make choosing easier.
* Merge pull request #8496 from albert-github/feature/issue_7346Dimitri van Heesch2021-04-271-29/+94
|\ | | | | issue #7346 Incompatibility with MathJax 3.0
| * issue #7346 Incompatibility with MathJax 3.0albert-github2021-04-121-29/+94
| | | | | | | | | | | | | | Implementing the possibility to use MathJax versie 3 - Added setting MATHJAX_VERSION - made setting for MATHJAX_RELPATH so that is suited for version Mathjax version3, i.e. selecting right default - made setting for MATHJAX_FORMAT so that is suited for version Mathjax version3, automatic conversion between MathJax 2 and MathJax3 format setting
* | Fix issues caused by QCString::rawData and QCString::operator[]Dimitri van Heesch2021-04-261-1/+1
| | | | | | | | | | - methods were marked const but still returned a non-const reference, cause wrongly optimized code for some platforms/compilers
* | Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-148/+145
|/ | | | | | | | | | | | | | | | | This commit changes the following in relation to string use - The implicit convert from 'QCString' to 'const char *' is removed - Strings parameters use 'const QCString &' as much as possible in favor over 'const char *' - 'if (s)' where s is a QCString has been replaced by 'if(!s.isEmpty())' - data() now always returns a valid C-string and not a 0-pointer. - when passing a string 's' to printf and related functions 'qPrint(s)' is used instead of 's.data()' - for empty string arguments 'QCString()' is used instead of '0' - The copy() operation has been removed - Where possible 'qstrcmp(a,b)==0' has been replaces by 'a==b' and 'qstrcmp(a,b)<0' has been replaced by 'a<b' - Parameters of string type that were default initialized with '= 0' are no initialized with '= QCString()'
* issue #2732: Adding support for C++ concepts (Origin: bugzilla #499352)Dimitri van Heesch2021-04-081-0/+13
|
* Regression: source code was not longer visible in HTML/LaTeX/docbook outputDimitri van Heesch2021-03-311-39/+23
|
* Refactoring: Add TextStream buffer to improve output writing performanceDimitri van Heesch2021-03-281-416/+424
| | | | | - direct use of std::stringstream and std::ostream gave a 30% drop in performance.
* issue #8375 Lowercase search does not find non-ASCII uppercase pages and ↵Dimitri van Heesch2021-03-241-7/+7
| | | | vice versa (part 2)
* Refactoring: replace QGString by std::ostringstreamDimitri van Heesch2021-03-231-3/+3
|
* issue #8375: Lowercase search does not find non-ASCII uppercase pages and ↵Dimitri van Heesch2021-03-221-1/+2
| | | | vice versa
* Refactoring: replace QFile/FTextStream with fstream/stringstreamDimitri van Heesch2021-03-181-260/+251
|
* Refactoring: Replaced QDir with DirDimitri van Heesch2021-03-181-3/+3
| | | | | - Dir is based on ghc::filesystem, a std::filesystem compatible implementation that does not require C++17.
* Refactoring: Replaced QFileInfo with FileInfoDimitri van Heesch2021-03-181-16/+15
| | | | | - FileInfo is based on ghc::filesystem, a std::filesystem compatible implementation that does not require C++17.
* Refactoring: some cleanup and removed text direction logicDimitri van Heesch2021-03-041-1/+1
|
* Disable qregex.h and fix some warnings and issuesDimitri van Heesch2021-02-201-2/+1
|
* Refactoring: modernize LayoutNavEntry and LayoutDocEntry listsDimitri van Heesch2021-01-221-15/+10
|
* bug 668003 Default LaTeX header misses $-placeholdersalbert-github2021-01-051-105/+8
| | | | Create, analogous to HTML, also for LaTeX default header and footer files.
* Refactoring: replaced PageSDict by PageLinked*MapDimitri van Heesch2020-12-311-1/+1
|
* fix: convert links to the main doxygen site to https. Trailing whitespace ↵Allan Bowe2020-11-291-1/+1
| | | | was also removed (hope this is ok, was a default setting). Closes #8212
* issue #697: Test 32 reference to bell signal (XHTML, LaTeX)Dimitri van Heesch2020-11-281-15/+40
|
* Issue #8206: Incorrect XHTML resultsDimitri van Heesch2020-11-271-2/+4
| | | | | | | | | | | | Changes: - Change TooltipManager back into a singleton - Give the OutputList object a unique output id - Increment the id at each startFile() atomically - Pass the id to the HTML code generator - Store tooltips per output id. - Keep track of tooltips that are already written for a given id - for output formats other than HTML the output id is 0 and tooltips are not collected and written
* Refactoring: modernize TooltipManager class and source reference listsDimitri van Heesch2020-10-201-3/+0
| | | | | - Tooltips are now collected per file instead of globally - Source reference lists now use STL containers
* Fix for broken LaTeX output.Dimitri van Heesch2020-09-271-1/+1
| | | | | | Fixes error: "\begin{DoxyCodeInclude} on input line 93 ended by \end{DoxyCode}" while generating the LaTeX version of the manual
* Refactoring: prepare output generators for multi-threaded useDimitri van Heesch2020-09-271-25/+30
|
* Proposed fix for issue #7898 (#8029)luca-aep2020-09-161-3/+3
| | | | | * Proposed fix for issue #7898 - Internal search engine produce ".html" pages instead of using HTML_FILE_EXTENSION * Applied albert-github suggestions to proposed fix for issue #7898
* Fixed regression causing search.css not to be generated anymoreDimitri van Heesch2020-08-251-1/+1
|
* Refactoring: OutputList & OutputGenDimitri van Heesch2020-08-241-61/+75
| | | | | | | | | | | | | | - Initialized member variables inside the class - Added copy & assign operators for OutputGenerator and Derived classes. - throw a runtime exception when OutputGenerator is copied while is file is still in progress. - Added clone method to make a copy of OutputList. - Moved the implementation of enable() & disable() and friend into OutputGen instead of having the same implementation in each derived class. - Made m_dir and m_fileName readonly (members dir() and fileName()) - Removed call to new while adding generators to OutputList - Replaced QStack by std::stack for the "enabled" state.
* Replaced bitmap of doxygen logo by SVG versionDimitri van Heesch2020-07-181-2/+2
|
* Scalable search bar for high resolution displays (#7888)tttapa2020-07-041-9/+9
| | | | | | | | | | * Use SVG images for search bar icons * Update search bar CSS for high resolution displays Uses CSS shadows instead of PNG images of shadows * Limit the main-menu CSS rule to first level list #main-menu li:last-child applies to last childs of sub-lists as well #main-menu > li:last-child only applies to the top-level list
* Refactor: modernize configuration valuesDimitri van Heesch2020-06-041-17/+12
|
* Performance improvements after profilingDimitri van Heesch2020-04-241-1/+1
| | | | | In some cases performance dropped when upgrading from version 1.8.16 to 1.8.17 or 1.8.18. With these changes the performance should be back to normal again.
* Text show as formula when USE_MATHJAX=YES (#7697)albert-github2020-04-121-0/+12
| | | | | | | | When having a line of code like: ``` callback_check = re.compile(r'([^\(]*\(.*)(\* *)(\).*\(.*\))') ``` this is seen as an incomplete formula when using MathJax, the `\(` is seen as start of a MathJax formula. Replacing the backslash by the corresponding code `&#92;` didn't work as this is already translated by the bowser and still picked up by MathJax, so we need `&zwj;` to separate the backslash and the bracket without any spacing.
* Doxygen version information (#7645)albert-github2020-03-171-9/+9
| | | | | - add doxygen version to rtf, comment, output - remove duplicate code (getFullVersion) - more clear name to get doxygen version (getVersion becomes getrDoxygenVersion). Also to overcomecofusion with the version information for files.
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-5/+10
|
* Removing warnings from doxygen internal documentationalbert-github2020-02-251-1/+9
| | | | Although there is not a lot of doxygen internal documentation, it still should not produce warnings.
* Restructure section handlingDimitri van Heesch2020-02-211-12/+12
|
* Minor fixesDimitri van Heesch2019-12-251-50/+47
| | | | | Avoid code duplication by adding function addHtmlExtensionIfMissing() and avoid member shadowing by using 'm_' prefix for member variables
* Merge branch 'feature/bug_335614' of ↵Dimitri van Heesch2019-12-251-15/+12
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_335614
| * Bug 335614 - HTML link incorrect when using tagfilealbert-github2019-09-301-15/+12
| | | | | | | | | | - See to it that when an extension is already present this extension is used and not a second extension is added - let the tag file know what the original extension was.
* | Merge pull request #7230 from albert-github/feature/bug_formula_macrofileDimitri van Heesch2019-12-251-1/+184
|\ \ | | | | | | Create possibility to define LaTeX commands for formulas
| * | Create possibility to define LaTeX commands for formulasalbert-github2019-08-271-1/+184
| |/ | | | | | | | | | | To be able to have building bocks for formulas one can create a `\newcommand` (or when one wants to change a command `\renewcommand`). Due to the different handling of LaTeX commands in pure LaTeX code (latex output and formulas converted to images) and MathJax it is necessary to transform LaTeX commands to the MathJax equivalent. This is done in a transparent way by providing the new commands in a file and add this verbatim to the pure LaTeX code and to translate the `\newcommand` and `\renewcomamnd` to MathJax macros.
* | Merge branch 'master' into spellingDimitri van Heesch2019-12-231-9/+3
|\ \
| * | Removed exitCode parameter as it is always 1Dimitri van Heesch2019-12-221-1/+1
| | |
| * | Merge branch 'feature/bug_terminate' of ↵Dimitri van Heesch2019-12-221-2/+1
| |\ \ | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_terminate
| | * | Better termination messagealbert-github2019-11-221-2/+1
| | | | | | | | | | | | | | | | | | | | In case a `WARN_LOGFILE` is used it in this file no clear whether doxygen finished correctly or exited beforehand in case a fatal error. Now a 'Exiting...' is also given in the warning log file in case an error is a fatal error.