summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #6858 from albert-github/feature/issue_6847Dimitri van Heesch2019-02-281-1/+1
|\ | | | | issue #6847 Physical newlines (^^) in ALIASES produce a mismatch between documentation and source code
| * issue_6847 Physical newlines (^^) in ALIASES produce a mismatch between ↵albert-github2019-02-251-1/+1
| | | | | | | | | | | | | | documentation and source code In 1.8.15 the `^^` was already translated to `\_linebr` but here there was a ` ` (space) after the `^^`, here this is not the case resulting in "warning: Found unknown command `\_linebrline'" placing a ` ` after the translated value solves this problem.
* | Refactored Definition and derived classes such that they are abstract interfacesDimitri van Heesch2019-02-281-73/+51
|/
* Remove persistent storage of Entry objectsDimitri van Heesch2019-02-171-780/+540
|
* Merge pull request #6824 from albert-github/feature/bug_766508Dimitri van Heesch2019-02-091-0/+1
|\ | | | | Bug 766508 - missing comments of overridden methods
| * Bug 766508 - missing comments of overridden methodsalbert-github2019-02-061-0/+1
| | | | | | | | Analogous to python also for PHP and Java all functions are by default virtual (for python fix see problem #6566 and fix #6570)
* | issue #6828 Physical newlines (^^) in ALIASES configuration tags not working ↵albert-github2019-02-071-1/+1
|/ | | | | | with sections, subsections, subsubsections and paragraphs Previous changes corrected use of _linebr, missed one so this was not handled properly.
* Added declfile, declline, and declcolumn attributes to the location element ↵Dimitri van Heesch2019-01-121-10/+29
| | | | in the XML output
* Merge branch 'run_java_once_3rd_trial' of ↵Dimitri van Heesch2019-01-081-6/+3
|\ | | | | | | https://github.com/cheoljoo/doxygen into cheoljoo-run_java_once_3rd_trial
| * remove PLANTUML_RUN_FAST because FAST is default.Charles.Lee2019-01-061-6/+3
| | | | | | | | | | | | - remove PLANTUML_RUN_FAST in config.xml - Do not make plantuml (.pu) file for each plantuml script. (ex. inline_umlgraph_#.pu) But, make type plantuml files (ex. inline_umlgraph_<type>..pu)
* | Merge branch 'run_java_once_3rd_trial' of ↵Dimitri van Heesch2018-12-271-0/+8
|\ \ | |/ | | | | https://github.com/cheoljoo/doxygen into cheoljoo-run_java_once_3rd_trial
| * JAVA_ONCE -> FASTCharles.Lee2018-12-261-1/+1
| |
| * add plantuml.h in doxygen.cppCharles.Lee2018-12-241-0/+1
| |
| * mergeCharles.Lee2018-12-241-47/+265
| |\
| * | Imporvement of performance : Reduce the Java running countCharles.Lee2018-08-271-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # What is it - #6465 is the first reqeust. So I followed up the albert advice. - in case of debug you use printf statements, I think that here there better options would be - create an -d flag (e.g. -d plantuml) that gives the information, so no need for using the configuration option - Follow up : create -d plantuml [debug.h, debug.cpp] - usage of printf - printf should not be used,all output is steered over calls to routines as defined in message.cpp, - Follow up : use Debug::Print(Debug::Plantuml, ... and msg() - usage of std::string / std::map - in doxygen the string manipulation is. mostly, done by means of Qt classes (e.g. classes QCString, QString). For consistency these classes should be used. - map manipulation is also done by means of Qt classes (dictionary and list classes) - Follow up : use QDict QList QCString [plantuml.h, plantuml.cpp] - dirent / opendir /readdir - when browsing through directories the routines line readFileOrDirectory should probably be used or the techniques used in this routine - Follow up : I will follow when I try to reduce redundancy of creating plantuml image. - Run java minimally - Test Case : 4 plantuml - Original Run without PLANTUML_RUN_JAVA_ONCE - 8.2 sec = 4 times * ( 1.6(java vm) + 0.1 * 1(load multiple file) + process each plantuml (0.35) *1 ) <- prediction - New with PLANTUML_RUN_JAVA_ONCE - 3.499 sec = 1.6(java vm) + 0.1 * 4(load multiple file) + process each plantuml (0.35) *4 <- prediction - Creating Java Virtual Machine has a big portion. - Result - Improving Performance : 8.2 -> 3.499 (in case of 4 plantuml) # Configuration - add configuration value in Doxyfile - PLANTUML_RUN_JAVA_ONCE = YES # Debugging - doxygen -d plantuml - doxygen -d time -d plantuml # Tested with following options - source code of 3 plantuml - PLANTUML_RUN_JAVA_ONCE = YES or NO - DOT_IMAGE_FORMAT = png or svg - DOT_CLEANUP = YES or NO - -d plantuml
* | | Fixed some more small memory leaksDimitri van Heesch2018-12-261-1/+4
| |/ |/|
* | Merge branch 'master' of https://github.com/zeroc-ice/doxygen into ↵Dimitri van Heesch2018-11-171-31/+120
|\ \ | | | | | | | | | zeroc-ice-master
| * \ Merge remote-tracking branch 'doxygen/master'Joe George2018-11-051-1/+34
| |\ \
| * \ \ Merge remote-tracking branch 'doxygen/master'Joe George2018-11-021-14/+5
| |\ \ \
| * | | | Added *.ice files as a recognized file type.Mark Spruiell2018-10-221-31/+120
| | | | | | | | | | | | | | | | | | | | Added a Slice-optimized output mode.
* | | | | Merge branch 'feature/issue_6517' of ↵Dimitri van Heesch2018-11-111-0/+33
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/issue_6517
| * | | | issue_6517: Emoji supportalbert-github2018-10-011-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added issue support for the different output types. - Sources of the emoji - based on the Unicode definition v11.0: - https://unicode.org/emoji/charts/full-emoji-list.html - http://www.unicode.org/emoji/charts/full-emoji-modifiers.html - github definition list: - https://api.github.com/emojis - Input of emoji: :<test>: with the restriction that direct after the opening colon and direct before the closing colon no space is allowed - doctokinizer.l, adding detection of emoji and new command `\:` - doktokinizer.h, adding "word" type TK_EMOJI - docparser.* handling of new "word" type TK_EMOJI (analogous to HTML Entities), handling of new command `\:` - cmdmapper,cpp, cmdmapper.h, adding new command `\:` - htmlentity.cpp, adding new definition required for new command `\:` - Emoji - emoji.cpp, emoji.h, class for handling emoji analogous to HTML Entities, including small directions on how to update the code when a new emoji is defined. Not everything is converted to lowercase for comparison and accents are removed. - doxygen.cpp possibility to create list of supported emoji - handling emoji for output types (analogous to HTML Entities), see documentation for different output types - docparser.h, *docvisitor.* - rtfdocvisitor.* converting output to UTF-16 (based on http://scruss.com/blog/2017/03/12/in-the-unlikely-event-you-need-to-represent-emoji-in-rtf-using-perl/) - latexdocvisitor.*, handling arguments for emoji in output (see also latexgen.cpp for meaning of the arguments of doxygenemoji). - latexgen.cpp, adding new latex command for doxygen (doxygenemoji) and prevent too many open file (code before documentclass) - config.xml, definition of `LATEX_EMOJI_DIRECTORY` with path to images required for LaTeX output - Documentation: - emojisup.doc, user description - commands.doc, description of new command `\:` - index.doc, reference to emoji chapter - xmlcmds.doc, adjust reference to next chapter as a new chapter is added - Doxyfile*, adding emoji chapter Build system - CMakeLists.txt adding new files
* | | | | Merge pull request #6562 from albert-github/feature/bug_referencesDimitri van Heesch2018-11-041-0/+33
|\ \ \ \ \ | | | | | | | | | | | | Add commands to handle referenced by relation and references relation
| * | | | | Add commands to handle referenced by relation and references relationalbert-github2018-10-171-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Analogous to call graph and caller graph this patch provides an implementation for the referenced by relation and references relation. Providing the commands: - referencedbyrelation - hidereferencedbyrelation - referencesrelation - hidereferencesrelation Motivation is that some lists can get extremely large and also there is now more symmetry between the textual and graphical out.
* | | | | | Merge pull request #6558 from albert-github/feature/issue_6547_2Dimitri van Heesch2018-11-041-1/+1
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | issue_6547 Call graph missing due to ALIASES
| * | | | | issue_6547 Call graph missing due to ALIASESalbert-github2018-10-161-1/+1
| |/ / / / | | | | | | | | | | | | | | | The fix as given in pull request #6548 worked but at some places it didn't work as the backslash (`\`) was eaten, replacing the backslash with a `@` solves the issue.
* | | | | Merge pull request #6588 from Sleepyowl/masterDimitri van Heesch2018-10-311-1/+2
|\ \ \ \ \ | | | | | | | | | | | | [C++] Add support for std::shared_ptr
| * | | | | Add support for std::shared_ptrDmitry Soloviev2017-02-131-1/+2
| | | | | |
* | | | | | Merge branch 'feature/docbook_cleanup' of ↵Dimitri van Heesch2018-10-281-11/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/docbook_cleanup
| * | | | | | Remove old obsolete docbook generatoralbert-github2018-10-171-11/+0
| | |/ / / / | |/| | | | | | | | | | | | | | | | The docbook generator has been replaced by a new implementation. The old implementation was still present, removed now (disrupts easy updates due to false positive searches in the code).
* | | | | | Merge pull request #6459 from aquayan/patch-1Dimitri van Heesch2018-10-271-2/+3
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | File list creation performance improvement.
| * | | | | Update doxygen.cppaquayan2018-08-241-2/+3
| | |_|_|/ | |/| | | | | | | | | | | | | Reading a few thousands of input CPP/H files in alphabetical order is very slow because of using the inSort construct. The inSort function does a linear loop through the list to find the right alphabetical position, leading to a quadratic algorithm. During the creation of the file list there is no need to keep it sorted - it is not used at all yet. Therefore I propose to just append them and to a final sort at the end of the creation of the file list. For my use case with several thousands of input files, this reduces creating the file list from about an hour to a few seconds !!
* | | | | issue_6566: INHERIT_DOCS not working for pythonalbert-github2018-10-221-1/+1
| |/ / / |/| | | | | | | | | | | methods in Python are always "virtual" (but there is no way to signal it).
* | | | issue_6547 Call graph missing due to ALIASESalbert-github2018-10-111-1/+1
| |_|/ |/| | | | | | | | | | | Replace the `^^` in an alias not with an physical newline but with a doxygen synthetic newline. Shown problem is due to the fact that line matching didn't work anymore due to the fact that a physical newline was inserted (ever better seen when enabling `INLINE_SOURCES`)
* | | redundant input_filter runs significantly reduce performance when ↵Dimitri van Heesch2018-09-251-0/+12
| | | | | | | | | | | | FILTER_SOURCE_FILES and INLINE_SOURCES are both enabled #6395
* | | Merge pull request #6487 from albert-github/feature/bug_docbookDimitri van Heesch2018-09-151-4/+34
|\ \ \ | | | | | | | | Implementation of standard generator for docbook output
| * | | Implementation of standard generator for docbook outputalbert-github2018-09-071-4/+34
| |/ / | | | | | | | | | | | | | | | | | | | | | 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'
* | | Difference between standard and used Doxyfilealbert-github2018-09-151-1/+32
|/ / | | | | | | | | | | Writes a the differences between the current configuration and the template configuration. Useful when communicating e.g. in forums.
* | Merge branch 'lineno'Dimitri van Heesch2018-08-191-3/+8
|\ \
| * | Bug 691689 - Line numbers for examplesDimitri van Heesch2018-08-191-3/+8
| | |
* | | Cannot Generate Layout File using -lalbert-github2018-08-151-8/+3
|/ / | | | | | | Regression on earlier change, the -l option does not need a `Doxyfile`
* | Correction for `doxygen -g`albert-github2018-07-251-0/+4
| | | | | | | | | | Regression, the command `doxygen -g` didn't work anymore when no `Doxyfile` was present. (commands like `doxygen -g MY_Doxyfile` still worked even when `MY_Doxyfile` was not present).
* | Merge pull request #6403 from albert-github/feature/bug_doxyfile_optionsDimitri van Heesch2018-07-231-26/+19
|\ \ | | | | | | Consistency between 'generate' and 'update' startup option
| * | Consistency between 'generate' and 'update' startup optionalbert-github2018-07-211-26/+19
| | | | | | | | | | | | | | | The commands 'doxygen -s -u df_su' and 'doxygen -u -s df_us' gave same results (updated specified file). The command 'doxygen -s -g df_sg' gave file 'df_sg' but 'doxygen -g -s df_gs' gave file 'Doxyfile'.
* | | Moved local toc data into a separate type for better encapsulationDimitri van Heesch2018-07-221-2/+2
| | |
* | | Merge branch 'feature/bug_tableofcontents_latex' of ↵Dimitri van Heesch2018-07-221-2/+2
|\ \ \ | |/ / |/| | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_tableofcontents_latex
| * | Merge branch 'feature/bug_tableofcontents_latex' of ↵albert-github2018-07-121-9/+51
| |\ \ | | | | | | | | | | | | https://github.com/albert-github/doxygen into feature/bug_tableofcontents_latex
| | * \ Merge branch 'master' into feature/bug_tableofcontents_latexDimitri van Heesch2018-06-241-9/+51
| | |\ \
| * | | | Enable in page table of contents for XML and add maximum level to in page ↵albert-github2018-07-121-2/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | 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-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.)