summaryrefslogtreecommitdiffstats
path: root/src/cite.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Miscounting of lines in respect to page commandalbert-github2020-09-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Spelling corrections is commentsalbert-github2020-08-091-1/+1
| | | | Some spelling omissions found by Fossies.
* Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2020-07-311-6/+5
|\
| * Debug facility for the \cite commandalbert-github2020-07-311-6/+5
| | | | | | | | | | | | | | | | | | | | | | When issuing doxygen with `-d cite` the temporary (copied) files / directory are not removed, i.e.: - bib*.aux - bib*.bbl - bib*.blg - bib2xhtml.pl - citelist.doc - doxygen.bst - bibTmpDir (directory)
* | Moved citation cross reference searching to a separate functionDimitri van Heesch2020-07-311-84/+116
| |
* | crossref citations are shown unconditionallyalbert-github2020-07-311-5/+8
| | | | | | | | unfortunately some more regressions...
* | crossref citations are shown unconditionallyalbert-github2020-07-301-23/+26
| | | | | | | | | | | | | | | | | | Based on the review - implemented tip `find("{");` instead of `find("{",0);` - made `label..` names more expressing their content - got a few regressions regarding endless loops (it is incorrect bib file syntax), the constructs have to be at the end of the bib file, like (also with extra newlines) - `@book ,` - `@book { ,`
* | crossref citations are shown unconditionallyalbert-github2020-07-291-1/+38
|/ | | | | | | The crossref items in a bib file are unconditionally added to the list of used citations although the the citation to which the crossref belongs to is not used. This has been fixed. The problem was seen in the CGAL output. Note: a crossref in LaTeX is a bit different from the normal understanding of cross-reference, from https://tex.stackexchange.com/questions/401138/what-is-the-bibtex-crossref-field-used-for: "crossref can be used if you have multiple entries referring to the same proceeding, book or similar."
* Spelling correction in cite codealbert-github2020-06-131-1/+1
| | | | | Correction of 2 spelling errors (thanks to Fossies).
* Catch all wrong mkdir calls (coverity)albert-github2020-06-121-1/+5
| | | | | - Always catch the output of `mkdir` - corrected an incorrect message (context.cpp)
* Fixed compilation issue on Windows for setNum with size_t argumentDimitri van Heesch2020-06-061-1/+1
|
* Refactor: modernize configuration valuesDimitri van Heesch2020-06-041-22/+18
|
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-15/+17
|
* Restructure citation handlingDimitri van Heesch2020-02-161-113/+164
|
* Renamed Portables to PortableDimitri van Heesch2019-12-081-3/+3
|
* Refactoring of portable.h and portable.cpp functions to be contained in a ↵Tobias Off2019-11-281-3/+3
| | | | | | namespace Fixing some memory issues caused by not correctly freed pointers
* Spelling corrections for src directoryalbert-github2019-11-051-1/+1
| | | | | | | | Spelling corrections as found by codespell and in #561. Some reported problems were already fixed, others are fixed here, with some exceptions (a,o.): - "referenceby" in defgen.cpp as this is in the output and I cannot oversee the consequences (looks like none, but ...) - "HANGEUL_CHARSET" left as is as in some MS documentation is written: 'HANGUL_CHARSET: Also spelled "Hangeul". Specifies the Hangul Korean character set.' (https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wmf/0d0b32ac-a836-4bd2-a112-b6000a1b4fc9).
* Replaced QList<ListItemInfo> with std::vector<ListItemInfo>Dimitri van Heesch2019-10-291-1/+1
|
* Replaced QList<SectionInfo> by std::vector<SectionInfo>Dimitri van Heesch2019-10-291-1/+1
|
* Reduce the use of QString in favor of the more efficient QCStringDimitri van Heesch2019-09-211-1/+1
|
* Fix some typos luz.paz2019-09-161-1/+1
|
* issue #6733 invalid cite anchor id when using crossrefalbert-github2019-01-041-7/+54
| | | | | | | The crossreference possibility was not properly taken into account in bibtex conversion for other formats than LaTeX. - doxygen.bst: use correct labels (i.e. add 'CITEREF_' in case of crossreferences to the giver name) - cite.cpp: add the crossreferences to the citation dictionary (to overcome warning message). - extending test 012
* Extending \cite command with '-' and '?' characters.albert-github2018-11-171-1/+3
| | | | In the `\cite` label some extra characters are enabled, '-' and '?', as the '--' and '---' have been converted beforehand they have to be converted back and the corresponding labels also have to between double quotes (which are striped away).
* Misc. typosluz.paz2018-04-251-1/+1
| | | | Found via `codespell`
* Misc. typosluzpaz2017-12-231-1/+1
| | | | | Super trivial typos Some are in qtools/ which I know is a 3rd party dependency but as we know is now obsolete upstream. I reckon it wouldn't be much of an issue to merge neverthless Tacked on several more commits
* Changed configuration mechanism to directly access options in order to ↵Dimitri van Heesch2016-01-171-10/+10
| | | | improve performance
* Bug 751300 - Doxygen don't support longer key in bibtexDimitri van Heesch2015-07-191-2/+2
|
* Merge pull request #272 from albert-github/feature/bug_unusedDimitri van Heesch2015-01-031-1/+0
|\ | | | | Remove unused local and static global variables
| * Remove unused local and static global variablesalbert-github2014-12-271-1/+0
| | | | | | | | Remove unused local and static global variables. Variables have been identified by Understand (version 758) from Scitools.
* | Fixed a couple of cases where sharing string data could lead to corruptionDimitri van Heesch2015-01-021-1/+1
|/ | | | | Also made dangerous string access more visible by introducing rawData(). This replaces data() which will now return a constant string.
* Introduced template directory for template and resource files and resource ↵Dimitri van Heesch2014-11-131-27/+4
| | | | compiler & manager
* Generate error message in case bibtex generation failsalbert-github2014-10-101-2/+9
| | | | In case bibtex fails no message is given. When perl is missing the OS just emits an message. With this patch doxygen logs a message (analogous to other calls to portable_system)
* Bug 736023 - [PATCH] Remove not needed variable initialization in src/cite.cppDimitri van Heesch2014-09-231-1/+0
|
* Different latex problemsalbert-github2014-09-031-5/+14
| | | | | | | | | | | | | | - Bibliography refers to wrong page in the toc In case of LaTeX the reference in the toc tab to the Bibliography page is not correct. According to e.g. http://lookherefirst.wordpress.com/2008/10/05/add-the-bibliography-in-the-table-of-contents/ when using the hyperref package the reference of the toc should be after the \bibliography entry. See to it that the Bibliography page starts at an odd page (like all other chapters) - See to it that the Index page starts at an odd page (like all other chapters) - Not all items are shown in the Index / Index generation crashes (Bug_733323) / Index is not shown The \hypertarget definition contains on 2 places the entire string (including section references and index references) in the caption part. In all other places the caption is empty and the caption part is not used (as a reference) in the \hyperlink command. The caption has been made empty/
* No warning in case cite definition is missingalbert-github2014-08-181-1/+1
| | | | | | In case the \cite command is used but no entry for it is given in a bib file no warning is given as the CiteInfo entry is present with the right label, but the text item is empty and this is not tested. (also corrected an error message on opening a file)
* Fixed typo and used QString for directoryDimitri van Heesch2014-08-181-3/+2
|
* Bug 700510 - Bibliography duplicate filenames failsalbert-github2014-07-051-78/+64
| | | | | | | Problem in the bug report is that the bib files in the different directories have the same name and thus overwrite each other. This patch solves this problem as well as the possibility to have spaces in the file name. For all output formats the bib files are copied to a new numbered name: "bibTmpFile_<number>", for Latex on the LATEX_OUTPUT directory and for all other formats in the subdirectory "bibTmpDir" of the OUTPUT_DIRECTORY. The files for Latex are retained whilst the files for the other formats are removed after usage (as it was before).
* Bug 702584 - \cite rejects valid BibTeX keysalbert-github2014-06-191-0/+4
| | | | | According to the documentation the .bib is automatically added to the names in the CITE_BIB_FILES. In the example given with this bug this was not the case. In case CITE_BIB_FILES was set to 'my.bib' it was working, but with only 'my' it wasn't.
* On windows citelist.doc remainsalbert-github2014-02-091-0/+1
| | | | On windows the file citelist.doc is not removed as it is not closed. This patch closes the file.
* Reduced and improved functionality of QListDimitri van Heesch2013-12-301-1/+1
| | | | | | | | | - operations on current index and node (next(), prev(), last(), first()) have been removed. - access to internal nodes has been removed. - old QList has been renamed to QInternalList for use inside qtools only. - added type safe compare, new, and delete operations (compareValues(), newValue(), deleteValue()). - add compareValues also to QDict for consistency. - changed doxygen's implementation to comply with the new QList and QDict interface.
* This patch contains changes regarding the build system so that the *nix and ↵albert-github2013-10-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows systems use the same information (consistency). Some use names routine names have been changed (from .l files with -P option) to reflect the file name that generated the routines, this makes it easier to create a general procedure. A number of include / header files are files are generated from different file types (html, xml, js), due some limitations of the windows build system the generated file names had to be changed (the extension in the windows build system is only available including the '.' so e.g. the file jquery_fx.js generates now jquery_fx.js.h instead of jquery_fx_js.h) In the windows version the creation of .cpp files from .l files has been adjusted to correct for the YY_BUF_SIZE problems. Furthermore on windows (and also used on *nix) some commends have been replaced with python scripts so that on windows only python is need (besides flex and and bison). On *nix also perl is required for the generation using tmake. Below a short description of the changes will be given and grouped. Changed files ============= - .gitignore added some directories and file - Doxyfile corrected for changed file names - Makefile.in added realclean and some other changes (ignore error) and the moment when the Makefile is deleted (as last file). Added entries for doxyapp and doxmlparser Added realclean for the following files (consistency): ====================================================== - Makefile.win_make.in - Makefile.win_nmake.in - addon/doxmlparser/examples/metrics/Makefile.in - addon/doxmlparser/src/Makefile.in - addon/doxmlparser/test/Makefile.in - addon/doxyapp/Makefile.in - addon/doxysearch/Makefile.in - libmd5/Makefile.in - qtools/Makefile.in - addon/doxyapp/doxyapp.pro.in removed double occurence of -L../../lib - addon/doxysearch/doxysearch.pro.in no visible change just spacing? - addon/doxywizard/Makefile.in added realclean corrected call to qmake (to get it from the right place, it is not necessarily in the path) made some macros known in the called process - addon/doxywizard/configdoc.cpp automatically generated, can be removed - addon/doxywizard/doxywizard.pro.in corrected dependencies corrected call to python (to get it from the right place, it is not necessarily in the path) new items to generate version.cpp and config_doxyw.cpp - configure added configuration definition possibility for python added possibility to build doxmlparser automatically generate the lang_cfg.h file based on the available languages (translator_??.h) and not on a fixed list. This step still has to be added to the windows build process. - doc/Makefile.in corrected call to python (to get it from the right place, it is not necessarily in the path) - doc/config.doc small correction - doc/install.doc added python as a requirement changed CVS to GitHub - doc/language.doc automatically generated file, based on other changes. - doc/language.tpl made XX and xx more consistent changed description of the procedure based on changes already made configure. - src/Makefile.in adjusted used file names in distclean Solved PERL usage consistent with LEX / YACC (with %%PERL%%) automatically add translator_??>h to HEADERS same spacing Adjusted in the following file the names of some include files: =============================================================== - src/cite.cpp - src/docbookgen.cpp - src/ftvhelp.cpp - src/htmlgen.cpp - src/layout.cpp - src/searchindex.cpp - src/xmlgen.cpp Adjusted in the following files some routine names (..YY..) to be consistent with the file names: ================================================================================================= - src/commentscan.l - src/constexp.h - src/constexp.l - src/constexp.y - src/fortrancode.l - src/fortranscanner.l - src/pyscanner.l - src/pre.l - src/scanner.l - src/tclscanner.l - src/vhdlparser.y - src/vhdlscanner.l - src/config.xml small textual correction - src/configoptions.cpp generated output file, can be removed - src/lang_cfg.h Automatically generated file with selected languages (*nix). On windows a procedure has to be defined. - src/libdoxycfg.t.in corrected call to python (to get it from the right place, it is not necessarily in the path) - src/libdoxygen.pro.in adjusted include file names removed translator_??.h files, they are added automatically changed file name ce_lex.cpp -> constexp.cpp (generated file) - src/libdoxygen.t.in made LEX calls used the file name for the -P option changed INCREASEBUF script to a python script changed teh geneartion of some include file, now by means of a pythons script. Names of the generated include file had to be changed as well. added possibility to generate version.cpp here as well. Added HEADERS to dependency so non existing but later generated include files are recognized as well: ===================================================================================================== - tmake/lib/unix/generic.t - tmake/lib/win32-borland/generic.t - tmake/lib/win32-g++/generic.t - tmake/lib/win32-mingw/generic.t - tmake/lib/win32-msvc/generic.t - tmake/lib/win32-symantec/generic.t - tmake/lib/win32-visage/generic.t - tmake/lib/win32-watcom/generic.t - winbuild/Doxygen.vcproj made consistent wit *nix version. Generating all possible files removed unused /empty parts setting for the Lex.rules and other rules files some default values - winbuild/Doxywizard.vcproj made consistent wit *nix version. Generating all possible files removed unused /empty parts removed system dependent paths (C:\... etc) replaced then with external environment variables - winbuild/Lex.rules adjusted file to comply with new requirements, only user variable is -d. -i is set to read only (value can be changed in doxygen.vcproj). Handling of other arguments is all default. generation including increasebuffer possibility - winbuild/doxyindexer.vcproj corrected path - winbuild/doxysearch.vcproj removed system dependent paths (C:\... etc) replaced then with external environment variables - winbuild/qtools.vcproj corrected type, wrong used directory The following files are automatically generated (with slightly other names like index.xsd.h etc.): ================================================================================================== - src/index_xsd.h - src/doxygen_bst.h - src/dynsections_js.h - src/extsearch_js.h - src/footer_html.h - src/header_html.h - src/jquery_fx_js.h - src/jquery_p1_js.h - src/jquery_p2_js.h - src/jquery_p3_js.h - src/jquery_pt_js.h - src/jquery_ui_js.h - src/navtree_css.h - src/navtree_js.h - src/resize_js.h - src/search_css.h - src/search_functions_php.h - src/search_js.h - src/search_opensearch_php.h - src/svgpan_js.h the following files are generated with different names: - src/bib2xhtml.h becomes - src/bib2xhtml.pl/h - src/layout_default.h becomes - src/layout_default.xml.h The file: ========= - addon/doxywizard/config.l is replaced by: - addon/doxywizard/config_doxyw.l so there are in the system not 2 different config.l files. Renamed some routines from configYY -> config_doxywYY... New files: ========== - src/increasebuffer.py increase YY_BUF_SIZE and YY_READ_BUF_SIZE from 16k / 8k to 256k. - src/settings.py create settings.h file - src/to_c_cmd.py create include files from different files (html, xml, js) so they can be included in the code as defaults - src/version.py create version.cpp file based on the configure file - winbuild/Config.rules rules file to convert the config.xml file into configoptions.cpp (doxygen) or configdoc.cpp (doxywizard). Seen the differences 2 rules are created within this file. - winbuild/Gen_head.rules rules files to generate include files from different files using to_c_cmd.py - winbuild/Settings.rules rules file for generating the settings.h file. It is possible to select to use CLANG and SqlLite3 - winbuild/Version.rules rules file to be able to start version.py The files: ========== - version.bat - runbison.bat - increasebuffer.pl are not used anymore. I've only added the files as indicated, I didn't remove the files from the repository.
* LaTeX: Fix ToC entries of index/bibliographyDimitri van Heesch2013-09-281-1/+6
|
* Release-1.8.3.1-20130512Dimitri van Heesch2013-05-121-6/+6
|
* Release-1.8.3.1-20130324Dimitri van Heesch2013-03-241-4/+12
|
* Release-1.8.2-20121118Dimitri van Heesch2012-11-181-9/+9
|
* Release-1.8.2-20120930Dimitri van Heesch2012-09-301-16/+66
|
* Release-1.7.6.1-20120220Dimitri van Heesch2012-02-201-0/+5
|
* Release-1.7.5.1-20111027Dimitri van Heesch2011-10-271-225/+118
|
* Release-1.7.5.1-20110925Dimitri van Heesch2011-09-251-3/+12
|
* Release-1.7.5.1Dimitri van Heesch2011-08-211-7/+11
|