Commit graph

332 commits

Author SHA1 Message Date
Dimitri van Heesch
cd998a7164
Reintroducing the sidebar layout via new FULL_SIDEBAR option.
- This new page layout is only enabled if DISABLE_INDEX=YES, GENERATE_TREEVIEW=YES,
  and FULL_SIDEBAR=YES.
2021-05-09 20:00:27 +02:00
Dimitri van Heesch
1044fcc059
Reverted the layout change introduced in a9d29861fe
- Caused issues with existing projects that customized the page header to add
  own navigation tabs (e.g. CGAL).
2021-05-09 15:38:20 +02:00
Dimitri van Heesch
12a6d876e3
Optimized the layout in case DISABLE_INDEX=YES and GENERATE_TREEVIEW=YES
- also illustrated the various layouts in the customization section of
  the manual to make choosing easier.
2021-05-08 16:36:12 +02:00
Dimitri van Heesch
e0fdd5a065
Merge pull request #8496 from albert-github/feature/issue_7346
issue #7346 Incompatibility with MathJax 3.0
2021-04-27 20:38:16 +02:00
Dimitri van Heesch
55e86052e0
Fix issues caused by QCString::rawData and QCString::operator[]
- methods were marked const but still returned a non-const reference,
  cause wrongly optimized code for some platforms/compilers
2021-04-26 19:32:20 +02:00
Dimitri van Heesch
592aaa4f17
Refactoring: remove implicit conversion from QCString to const char *
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()'
2021-04-22 19:34:13 +02:00
albert-github
2c7bba0d84 issue #7346 Incompatibility with MathJax 3.0
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
2021-04-12 16:41:38 +02:00
Dimitri van Heesch
e03e2a29f9
issue #2732: Adding support for C++ concepts (Origin: bugzilla #499352) 2021-04-08 21:23:43 +02:00
Dimitri van Heesch
97415f7b45
Regression: source code was not longer visible in HTML/LaTeX/docbook output 2021-03-31 18:38:50 +02:00
Dimitri van Heesch
c48639744a
Refactoring: Add TextStream buffer to improve output writing performance
- direct use of std::stringstream and std::ostream gave a 30%
  drop in performance.
2021-03-28 14:25:48 +02:00
Dimitri van Heesch
3a365ab230
issue #8375 Lowercase search does not find non-ASCII uppercase pages and vice versa (part 2) 2021-03-24 20:34:50 +01:00
Dimitri van Heesch
5d0281a264
Refactoring: replace QGString by std::ostringstream 2021-03-23 19:44:37 +01:00
Dimitri van Heesch
a4ecbee867
issue #8375: Lowercase search does not find non-ASCII uppercase pages and vice versa 2021-03-22 20:02:06 +01:00
Dimitri van Heesch
fa1897b188
Refactoring: replace QFile/FTextStream with fstream/stringstream 2021-03-18 21:57:40 +01:00
Dimitri van Heesch
0d05e79d67
Refactoring: Replaced QDir with Dir
- Dir is based on ghc::filesystem, a std::filesystem compatible
  implementation that does not require C++17.
2021-03-18 21:57:40 +01:00
Dimitri van Heesch
3204a2206a
Refactoring: Replaced QFileInfo with FileInfo
- FileInfo is based on ghc::filesystem, a std::filesystem compatible
  implementation that does not require C++17.
2021-03-18 21:57:40 +01:00
Dimitri van Heesch
bb89b8136f
Refactoring: some cleanup and removed text direction logic 2021-03-04 21:14:49 +01:00
Dimitri van Heesch
cfdea8320f
Disable qregex.h and fix some warnings and issues 2021-02-20 20:17:52 +01:00
Dimitri van Heesch
0aa907761f
Refactoring: modernize LayoutNavEntry and LayoutDocEntry lists 2021-01-22 21:45:18 +01:00
albert-github
c44fd3b504 bug 668003 Default LaTeX header misses $-placeholders
Create, analogous to HTML, also for LaTeX default header and footer files.
2021-01-05 14:56:23 +01:00
Dimitri van Heesch
6675be21d5
Refactoring: replaced PageSDict by PageLinked*Map 2020-12-31 20:32:37 +01:00
Allan Bowe
86c9beaf30 fix: convert links to the main doxygen site to https. Trailing whitespace was also removed (hope this is ok, was a default setting). Closes #8212 2020-11-29 11:05:07 +01:00
Dimitri van Heesch
06eb8c6edc
issue #697: Test 32 reference to bell signal (XHTML, LaTeX) 2020-11-28 15:32:25 +01:00
Dimitri van Heesch
a292601d5d
Issue #8206: Incorrect XHTML results
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
2020-11-27 21:42:43 +01:00
Dimitri van Heesch
d03e8d9411
Refactoring: modernize TooltipManager class and source reference lists
- Tooltips are now collected per file instead of globally
- Source reference lists now use STL containers
2020-10-20 13:51:24 +02:00
Dimitri van Heesch
502e03dad2
Fix for broken LaTeX output.
Fixes error:
"\begin{DoxyCodeInclude} on input line 93 ended by \end{DoxyCode}"
while generating the LaTeX version of the manual
2020-09-27 21:08:41 +02:00
Dimitri van Heesch
cfdabb54c5
Refactoring: prepare output generators for multi-threaded use 2020-09-27 20:26:20 +02:00
luca-aep
49ed5387d6
Proposed fix for issue #7898 (#8029)
* 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
2020-09-16 21:03:18 +02:00
Dimitri van Heesch
a996a605a4
Fixed regression causing search.css not to be generated anymore 2020-08-25 22:46:29 +02:00
Dimitri van Heesch
0815bb7d5c
Refactoring: OutputList & OutputGen
- 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.
2020-08-24 16:08:14 +02:00
Dimitri van Heesch
1fb2408b0e
Replaced bitmap of doxygen logo by SVG version 2020-07-18 17:01:33 +02:00
tttapa
8c12604a84
Scalable search bar for high resolution displays (#7888)
* 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
2020-07-04 16:27:59 +02:00
Dimitri van Heesch
0df1623c93
Refactor: modernize configuration values 2020-06-04 22:06:08 +02:00
Dimitri van Heesch
9e2b6a2dac
Performance improvements after profiling
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.
2020-04-24 09:03:09 +02:00
albert-github
184ea44379
Text show as formula when USE_MATHJAX=YES (#7697)
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.
2020-04-12 19:17:34 +02:00
albert-github
39ba759f4d
Doxygen version information (#7645)
- 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.
2020-03-17 20:29:45 +01:00
Dimitri van Heesch
4658413ff3
Enabled stricter compiler warnings and fixed all new warnings 2020-03-08 14:31:54 +01:00
albert-github
f15360bf14 Removing warnings from doxygen internal documentation
Although there is not a lot of doxygen internal documentation, it still should not produce warnings.
2020-02-25 13:02:00 +01:00
Dimitri van Heesch
1a56a39b4a
Restructure section handling 2020-02-21 21:07:13 +01:00
Dimitri van Heesch
5970cae1c3
Minor fixes
Avoid code duplication by adding function addHtmlExtensionIfMissing() and
avoid member shadowing by using 'm_' prefix for member variables
2019-12-25 20:21:37 +01:00
Dimitri van Heesch
b294263f69
Merge branch 'feature/bug_335614' of https://github.com/albert-github/doxygen into albert-github-feature/bug_335614 2019-12-25 10:38:29 +01:00
Dimitri van Heesch
ff3fdb3ac1
Merge pull request #7230 from albert-github/feature/bug_formula_macrofile
Create possibility to define LaTeX commands for formulas
2019-12-25 10:04:23 +01:00
Dimitri van Heesch
9cafaedb50
Merge branch 'master' into spelling 2019-12-23 14:18:30 +01:00
Dimitri van Heesch
9450e98030
Removed exitCode parameter as it is always 1 2019-12-22 16:54:58 +01:00
Dimitri van Heesch
0ea72fdd52
Merge branch 'feature/bug_terminate' of https://github.com/albert-github/doxygen into albert-github-feature/bug_terminate 2019-12-22 16:43:21 +01:00
Dimitri van Heesch
994b081aac
issue #7412: HTML: Opening a reference link in a new tab does not scroll to the content 2019-12-10 21:20:54 +01:00
albert-github
146bec22e9 Better termination message
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.
2019-11-22 14:56:50 +01:00
Josh Soref
da08bf2be9 spelling: javascript 2019-11-12 00:52:03 -05:00
Josh Soref
d4eb40dfa9 spelling: embedding 2019-11-12 00:30:01 -05:00
albert-github
640ef05f26 Small improvements of TCL output
- handling of the used filename, sometimes the filename was not set resulting in case of a warning with file `<unknown>`, also improving, slightly, the line reference.
- in case of `##` comment blocks the last line was not always show
- in case of multiple comment blocks, properly separate them
- correct handling tab character in source code output (*gen)
2019-10-21 13:41:52 +02:00