summaryrefslogtreecommitdiffstats
path: root/src/pagedef.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-11/+11
| | | | | | | | | | | | | | | | | 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()'
* Refactoring: Add TextStream buffer to improve output writing performanceDimitri van Heesch2021-03-281-2/+2
| | | | | - direct use of std::stringstream and std::ostream gave a 30% drop in performance.
* Refactoring: replace QFile/FTextStream with fstream/stringstreamDimitri van Heesch2021-03-181-7/+7
|
* Merge pull request #8387 from albert-github/feature/bug_pagetitleDimitri van Heesch2021-03-031-1/+1
|\ | | | | Strange HTML tab title in case of a page without title
| * Strange HTML tab title in case of a page without titlealbert-github2021-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In case we have an example like: ``` /// @page Bug_err /// /// \brief Some text in cpp file /// \details Some detailed text in cpp file ``` we will have as in the HTML tab: `Project Title: $title` as the page has an empty title. A better title would in this case be: `Project Title: Bug_err`. This has been implemented by setting the name of the page in the empty title. In case of a main page the xml output sets the empty title to the PROJECT_NAME, as the new, default, setting would see to it that also the mainpage with an empty title would be set we have to see that this is done beforehand.
* | Disable qregex.h and fix some warnings and issuesDimitri van Heesch2021-02-201-2/+0
| |
* | Refactoring: replace QRegExp by std::regex in util.cppDimitri van Heesch2021-02-201-1/+1
|/
* Refactoring: replace Doxygen::groupSDict by Doxygen::groupLinkedMapDimitri van Heesch2020-12-311-4/+3
|
* Refactoring: replaced PageSDict by PageLinked*MapDimitri van Heesch2020-12-311-12/+8
|
* Refactoring: replacing dynamic_cast by static_cast to improve performanceDimitri van Heesch2020-11-131-8/+35
|
* Refactoring: Introduce immutable and mutable interfacesDimitri van Heesch2020-11-091-9/+16
| | | | | | Split Definition/ClassDef/NamespaceDef/MemberDef into a immutable and mutable part Aliases are immutable, other symbols are stored using an immutable interface but can be made mutable explicitly by dynamic casting.
* Reworked changes a bitDimitri van Heesch2020-10-041-20/+6
| | | | | | - topLine is replaced by startLine - changed unputDocnl macro into a more self contained function-like macro
* Miscounting of lines in respect to page commandalbert-github2020-09-241-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | All examples together are a bit big so they are all in the attached file together with the warnings before and after this patch. When looking at the output we see that a number of lines are off by 1 ore more due to the insertion of extra lines in the code or due to the fact that there is a reference to the start of the documentation of the page and not the line of the page command. - commentscan.l in case of a rule contaiinge {DOCNL} this can be `=n` or `\ilinebr` in the later case this should not be replaced by `\n` as this results in an increase of the line count later on. in case of a page like command also register the line of the command as "topline". - entry.h, entry.cpp storage space for the "topline" registering the line of the page like commands. - doxygen.cpp setting and using the "topline" - markdown.cpp, markdown.h don't add a `\n` as this increases the line count but use the `\ilinebr` to get correct warnings see to it that when having empty lines at the top of the page and a page is added that the empty lines appear after the page command. - index.cpp using the "topline" instead of the "docLine" to get the correct warning - pagedef.cpp, pagedef.h set and retrieve the "topline" for page like commands. - util.cpp, util.h setting and using the "topline" in `addRelatedPage` use the known file name and line for the warning regarding the section label - cite.cpp, context.cpp, reflist.cpp changed to have good function calls.
* issue #8037: Links using @ref stopped working in doxygen 1.8.19Dimitri van Heesch2020-09-211-0/+1
|
* Multi-threaded parsing: added locks around global dataDimitri van Heesch2020-06-171-9/+0
|
* Refactor: modernize markdown and make it thread-safeDimitri van Heesch2020-06-161-27/+33
|
* Fix html file ext in external docs (#7679)avostrik2020-04-011-1/+1
| | | | | | | | | | | | * Add HTML extension to url conditionally in tree view item. This change fixes issue with double extension in treeview file list items generated from external tag file. Items that were read from tag file already have extension. * Add missing HTML file extension in writeTagFile() calls * Unify addition of HTML file extension in writeTagFile calls. Signed-off-by: Andrey Vostrikov <andrey.vostrikov@cogentembedded.com>
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-3/+4
|
* Restructure the way RefLists are handledDimitri van Heesch2020-02-271-3/+1
|
* Restructure section handlingDimitri van Heesch2020-02-211-13/+13
|
* issue #7216: non-const getGroupDef() called on aliased member (cleanup + ↵Dimitri van Heesch2019-08-261-1/+1
| | | | null pointer fix)
* Incorrect output tag orderalbert-github2019-05-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | When we have the Mardown file: ``` # First heading level 1 Some text ... ``` we get in the HTML file: ``` ... <div class="PageDoc"><div class="header"> <div class="headertitle"> <div class="title">First heading level 1 </div> </div> </div><!--header-->javascript"> <div class="contents"> <div class="textblock"><p>Some text ... </p> </div></div><!-- PageDoc --> </div><!-- contents --> ... ``` Here we see that the `PageDoc` is closed before the `Contents` although the `PageDoc` was opened before the `Contents`. In this constellation it doesn't give problems as both translate to `</div>` tag and in other output formats nothing is outputted, but in case in another format something is outputted this might lead to problems also the comment is now so that is indicates the error.
* Refactored Definition and derived classes such that they are abstract interfacesDimitri van Heesch2019-02-281-22/+76
|
* Moved check for page having a title to hasTitle() methodDimitri van Heesch2018-12-311-1/+7
|
* Implementation of standard generator for docbook outputalbert-github2018-09-071-1/+3
| | | | | | | | Till now docbook had its own output generator, but lot of possibilities were missing (see remark about updating below), with this patch the (more than) basic implementation has been made. Added some docbook tests to the current tests and updated documentation where necessary Tried updating current version but too many issues remained that were generically handled in the standard generator, code is in current version behind '#if 0' construct in doxygen.cpp and name with '_v1' and in docbookgen.cp'
* Bug 691689 - Line numbers for examplesDimitri van Heesch2018-08-191-0/+11
|
* Moved local toc data into a separate type for better encapsulationDimitri van Heesch2018-07-221-13/+4
|
* Enable in page table of contents for XML and add maximum level to in page ↵albert-github2018-07-121-4/+11
| | | | | | | table of contents - add the in page table of contents for XML - add the possibility to have maximum levels in the in page table of contents (possible per output type and per in page table of contents. Default is show all)
* Enable in page table of contents for LaTeXalbert-github2018-05-211-3/+3
| | | | | | | | currently the \tableofcontents command is only supported for HTML. In this patch: - enable in page table of contents for LaTeX: \tableofcontents['{'[option][,option]*'}'] where option can be 'HTML, and 'LaTeX' (side effect: possibility to have options with, nearly, all commands.)
* Merge branch 'master' of https://github.com/ahoogol/doxygen into ahoogol-masterDimitri van Heesch2017-12-281-0/+4
|\
| * Added support for RTL(right to left) languages like Arabic and Persian in ↵ahoogol2017-06-251-0/+4
| | | | | | | | HTML output
* | Fix https://bugzilla.gnome.org/show_bug.cgi?id=782583.msc-2017-10-131-2/+5
| | | | | | | | Don't write both page name and title to NAME section of man page, if they are the same.
* | Fixup man page NAME section when page has titleArtur Kink2017-07-191-1/+6
|/
* Fixup man only output to use generator state push popArtur Kink2016-09-261-2/+3
|
* For manpages remove trailing dash when no brief descriptionArtur Kink2016-09-251-1/+8
|
* Table of contents breaks when documentation spans multiple comment blocks ↵albert-github2016-04-091-1/+1
| | | | | | | | | with same @page Based on the question in the doxygen users forum: http://doxygen.10944.n7.nabble.com/Table-of-contents-breaks-when-documentation-spans-multiple-comment-blocks-with-same-page-td7571.html Fixed by means of that when toc is set once for a page it remains set for that page, otherwise the last page has to have the @tableofcontents command (or all @page commands)
* Bug 760970 - CASE_SENSE_NAMES ignoredalbert-github2016-01-231-2/+1
| | | | | In case SHORT_NAMES was not selected the page bane was used as fileName in its bare for, this is a regression of "Bug 755080 - xrefitem link to list incorrect when using SHORT_NAMES (https://bugzilla.gnome.org/show_bug.cgi?id=755080 https://github.com/doxygen/doxygen/commit/af5c5b37c5464afb6a2df71edf6f9e82ece75187) (We use ::convertNameToFile to get the routine from util.cpp and not from definition)
* Changed configuration mechanism to directly access options in order to ↵Dimitri van Heesch2016-01-171-5/+5
| | | | improve performance
* Bug 755080 - xrefitem link to list incorrect when using SHORT_NAMESDimitri van Heesch2015-10-241-12/+5
|
* Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|
* Bug 736992 - Member functions omitted from tagfileDimitri van Heesch2014-09-221-24/+24
|
* Updated copyrightDimitri van Heesch2014-02-111-1/+1
|
* Bug 709803 - Generated hhc file contains an error for a section of a mainpageDimitri van Heesch2013-10-121-2/+2
|
* Bug 688858 - SHORT_NAMES break references to \page in PDF outputDimitri van Heesch2013-08-041-0/+14
|
* Release-1.8.4Dimitri van Heesch2013-05-191-4/+13
|
* Release-1.8.3.1-20130512Dimitri van Heesch2013-05-121-4/+4
|
* Release-1.8.3.1-20130209Dimitri van Heesch2013-02-091-8/+3
|
* Release-1.8.3.1Dimitri van Heesch2013-01-201-3/+3
|
* Release-1.8.2-20121118Dimitri van Heesch2012-11-181-4/+21
|
* Release-1.8.2-20120930Dimitri van Heesch2012-09-301-1/+1
|