Commit graph

62 commits

Author SHA1 Message Date
Dimitri van Heesch
1aa61f958e
Renamed option to WARN_IF_UNDOC_ENUM_VAL
- WARN_IF_ENUM_MEMBER_UNDOCUMENTED is too long.
- Added check to let build fail when too longer options are introduced.
2022-12-26 10:09:22 +01:00
Dimitri van Heesch
58e62e74a6
Merge branch 'master' of https://github.com/Blabla51/doxygen into Blabla51-master 2022-12-26 09:35:37 +01:00
Dimitri van Heesch
8b14bc5cd1
Refactoring: better split output generator and code generator 2022-11-18 20:47:51 +01:00
Johan Bertrand
818db51c7e Added option to have warnings on undocumented enum member 2022-11-10 00:44:58 +01:00
Dimitri van Heesch
a627cf8eb6
Move editbin logic to a separate cmake file 2022-02-10 21:13:44 +01:00
albert-github
bd8e848282 Automatically set right executable properties for windows
In case the `editbin` executable is available automatically set the right properties  of the created executables.
For de bugging purposes it might be useful to have the `doxywizard` not as a "windows" type of executable but as "console" executable, this can be accomplished by means of the setting of `enable_console=ON`.
The `enable_console` only operates on the `doxywizard` executable. Usage like: `cmake -Denable_console=ON ..`
2022-02-07 10:34:59 +01:00
albert-github
b561499ea5 Missing <VERSION> in description of doxyparse
As the word `VERSION>` is an, unknown, HTML tag it is not shown on e.g. github, making it part of a code sections makes it visible (other sections with commands are also shown as code sections).
2021-12-31 15:27:33 +01:00
albert-github
5ca6f9ac61 Correcting labels
In case we have included sources (e.g. due to `INLINE_SOURCES`) and also the `SOURCE_BROWSER` enabled it is possible that we get double labels.
Also the calculation of labels in RTF was not done consistently, sometimes the path was striper and on other moments it wasn;t (especially seen in case CREATE_SUBDIRS
The problem was found using RTF / Docbook on the doxygen internal documentation (not standard) but will happen too in other projects
2021-10-10 18:20:25 +02:00
Dimitri van Heesch
392b7c6086
Use enum for code symbol type instead of passing Definition object 2021-08-17 18:54:37 +02:00
Pieter Pas
0cf5653885 Pass Definition to writeCodeLink
for semantic syntax highlighting
2021-06-29 14:03:33 +02:00
Dimitri van Heesch
a276a29033
Fix compilation issue in doxyparse.cpp 2021-05-01 16:46:00 +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
Dimitri van Heesch
1e77368e15
Refactoring: move qcstring and remove qtools 2021-03-25 22:16:50 +01:00
Dimitri van Heesch
a59cd27893
Refactoring: replace QRegExp by std::regex in doxyparse.cpp 2021-02-20 20:17:52 +01:00
Dimitri van Heesch
3723eb072e
Refactoring: Move xml parser to a separate directory 2021-02-06 18:55:44 +01:00
Dimitri van Heesch
cc0baded76
Refactoring: modernize MemberList 2021-01-22 21:45:19 +01:00
Dimitri van Heesch
7f79d52ff6
Refactoring: remove unused Doxygen::entryDBFileName and Doxygen::objDBFileName 2021-01-01 11:20:17 +01:00
Dimitri van Heesch
7af8870a02
Merge pull request #8263 from albert-github/feature/bug_addon_version
Usage of version and help in addons
2020-12-21 15:00:28 +01:00
Dimitri van Heesch
963caeef1c
Refactoring: replace ClassSDict by ClassLinkedMap/ClassLinkedRefMap 2020-12-19 20:27:37 +01:00
albert-github
b320b14cdf Usage of version and help in addons
More consequent and consistent usage of help and version in addons.
2020-12-19 18:42:18 +01:00
albert-github
5ebf938be4 Correction of spelling errors
Correction of spelling errors (as found by Fossies).
2020-12-03 10:39:02 +01:00
Dimitri van Heesch
eef7b2864d
Merge pull request #8219 from analizo/fix-doxyparse-yaml-output-syntax
quotes added surrounding inheritance tokens on doxyparse output
2020-12-02 20:57:14 +01:00
Joenio Marques da Costa
77b4c3bc7c quotes added surrounding inheritance tokens on doxyparse output
closes analizo/analizo#173
2020-12-01 22:13:58 +01:00
Joenio Marques da Costa
b56bfda718 add .md extension on Doxyparse README doc
closes analizo/analizo#169
2020-12-01 20:45:32 +01:00
Joenio Marques da Costa
abab1ca407 better description of Doxyparse on README doc
closes analizo/analizo#169
2020-12-01 20:44:26 +01:00
Dimitri van Heesch
1611bc8f24
Fix compile issue for doxyparse.cpp
This regression was introduced after removing support for isVisited/setVisited
2020-11-21 16:46:33 +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
albert-github
854a46d0f3 Compilation warnings in doxyparse
In doxyparse.cpp we got some compilation warnings (Windows 64-bit compiler) like:
```
doxyparse.cpp(299): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
```
these have been eliminated.
2020-10-13 12:17:14 +02:00
Dimitri van Heesch
86904d5b97
Refactoring: Modernize BaseClassList 2020-10-12 20:13:32 +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
Anonymous Maarten
e7311a036e Allow building doxygen as a subproject 2020-09-16 19:36:33 +02:00
Dimitri van Heesch
3b6ac9e24f
Make a switch to choose between dynamic library to clang-cpp or static linking against clangTooling 2020-07-20 21:05:08 +02:00
Joakim Tjernlund
3803bec48a Fix #7883 2020-07-19 13:14:25 +02:00
Dimitri van Heesch
e922facbb9
Refactor: modernize markdown and make it thread-safe 2020-06-16 21:30:41 +02:00
Dimitri van Heesch
0df1623c93
Refactor: modernize configuration values 2020-06-04 22:06:08 +02:00
Dimitri van Heesch
5773081872
Refactoring: Removed creation of MemberDef's for macro definitions from pre.l 2020-05-24 09:38:12 +02:00
Dimitri van Heesch
10787eed95
Refactoring
- Makes doxycfg library more self contained
- renames _doxygen library to doxymain
- Modernizes Debug implementation
- Moves Doxygen::runningTime into Debug
- Moves full version string to libversion
- Removed mentioning of file version in messages (when
  FILE_VERSION_FILTER is used)
- Move substitute functions into QCString
2020-05-15 11:34:17 +02:00
Dimitri van Heesch
4bc2355373
Replaced FileNameDict/FileNameList by FileNameLinkedMap 2020-04-06 19:19:07 +02:00
Joenio Costa
c6b9eb4268 print protection information on doxyparse
closes analizo/analizo#136
2020-03-29 13:06:33 -03: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
albert-github
57662b4051 Problem with temporary / intermediate directory in doxyparse
When we want to use doxyparse under Windows we get the message like:
```
error: tag OUTPUT_DIRECTORY: Output directory '/tmp/doxyparse-9848' does not exist and cannot be created
```
as this is a *nix type path and the '/tmp', normally doesn't exists on Windows, better to see what is the real temporary directory (on all systems) and make everything system independent.
2020-02-27 13:56:11 +01:00
Joenio Costa
f5a91767dc output on doxyparse if a function is a prototype
issue #5618
2020-02-24 15:14:01 -03:00
Dimitri van Heesch
3bda58a7b7
Split language parser into "outline parser" and "code parser" 2019-12-03 20:54:36 +01:00
Dimitri van Heesch
c38a6fe88c
Changed ArgumentList to be an STL container 2019-10-27 12:55:16 +01:00
Dimitri van Heesch
d08242a230
Rename version libary to avoid name clash with Window's version.lib 2019-08-08 14:39:36 +02:00
Joenio Costa
62df9b1ca6 add list of file extensions on doxyparse config
without that doxyparse doesn't proccess input files
2019-08-06 20:48:52 -03:00
Dimitri van Heesch
c60743a4b6
Some fixes and restructuring
- moved unescapeCharsInString to util.cpp
- restructured flow keyword counting
- make flow keyword counting work for python and fortran code as well
2019-08-06 20:30:19 +02:00
Joenio Costa
69f51747c3 doxyparse addon new features and bugfixes
this commit is a squashed merge from lots of doxyparse evolution and
concentrates contributions from many authors, all listed at the end of this
message as Signed-off-by

follow a list of all improvements and bugfixes on doxyparse:

*  workarounding strings replaced by doxygen core
*  print missing module name for some C code (analizo/analizo#155)
*  do not count/print 'void' as a function argument
*  rough instructions for doxyparse release
*  limit identifiers to 1024 chars (analizo/analizo#135)
*  removing "\\" from function signatures (analizo/analizo#138)
*  fix override args references (analizo/analizo#79)
*  check if new_data in removeDoubleQuotes function is empty (analizo/analizo#120)
*  removing double quotes from function signature (analizo/analizo#117)
*  check if ArgumentList is null (analizo/analizo#116)
*  don't report same module/class more than once (analizo/analizo#112)
*  add missing key "defines:" to all modules (analizo/analizo#111)
*  check if string is larger than 1 before removing surrounding quotes (analizo/analizo#110)
*  doxyparse properly detects package methods
*  output inheritance as list instead of hash
*  start yaml document: ---
*  adding double quoted in module name (analizo/analizo#106)
*  added --version flag to doxyparse
*  removing double quotes from function arguments list
*  fix doxyparse segfault for python source files
*  using quotes to surround members definition on yaml
*  add the number of conditionals path
*  generate configvalues.h
*  adding .cs (csharp) as non-C file extension
*  adding .pyw (python) as non-C file extension
*  adding .py (python) as non-C file extension

Signed-off-by: Antonio Terceiro <terceiro@softwarelivre.org>
Signed-off-by: Henrique Dutra <hld@henriquedutra.com.br>
Signed-off-by: Igor Ribeiro Barbosa Duarte <igor.ribeiro.duarte@gmail.com>
Signed-off-by: João M. Miranda <joaomm88@gmail.com>
Signed-off-by: Jonathan Moraes <arkyebr@gmail.com>
Signed-off-by: Kleber <kleberbritomoreira10@gmail.com>
Signed-off-by: leonardork <leodegolim@yahoo.com.br>
Signed-off-by: Marcelo Ferreira <marcelohpf@gmail.com>
Signed-off-by: Mateus Andrade <mateusandrade080@gmail.com>
Signed-off-by: Matheus Miranda <matheusmirandalacerda@gmail.com>
Signed-off-by: Paulo Meirelles <paulo@softwarelivre.org>
Signed-off-by: Sabryna de Sousa <sabryna.sousa1323@gmail.com>
Signed-off-by: Vinicius Daros <vkdaros@mercurio.eclipse.ime.usp.br>
Signed-off-by: VinyPinheiro <viny-pinheiro@hotmail.com>
2019-08-04 22:22:12 -03:00
Dimitri van Heesch
3c47ea4ff9
Merge branch 'feature/bug_gitversion' of https://github.com/albert-github/doxygen into albert-github-feature/bug_gitversion 2019-07-30 14:59:58 +02:00