summaryrefslogtreecommitdiffstats
path: root/src/searchindex.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make templated HTML output more similar to hardcoded output.Dimitri van Heesch2021-05-201-0/+1
|
* Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-31/+29
| | | | | | | | | | | | | | | | | 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()'
* issue #2732: Adding support for C++ concepts (Origin: bugzilla #499352)Dimitri van Heesch2021-04-081-1/+17
|
* issue #8485 The browser based search doesn't handle underscores correctlyalbert-github2021-04-081-1/+1
| | | | | | | | | | | | | | | | | The problem is that that "_" is seen as an Id character and not is escaped for JS search. This is a regression on: ``` Commit: a4ecbee86766b35d25d41d1a178806e1688485df [a4ecbee] Date: Monday, March 22, 2021 8:02:06 PM issue #8375: Lowercase search does not find non-ASCII uppercase pages and vice versa ``` and ``` Commit: 3a365ab230cab40910366eee5352534719541598 [3a365ab] Date: Wednesday, March 24, 2021 8:34:50 PM issue #8375 Lowercase search does not find non-ASCII uppercase pages and vice versa (part 2) ```
* Fixed compilation problem when enableing sqlite3Dimitri van Heesch2021-03-281-1/+1
|
* issue #8375 Lowercase search does not find non-ASCII uppercase pages and ↵Dimitri van Heesch2021-03-241-4/+23
| | | | vice versa (part 2)
* issue #8375: Lowercase search does not find non-ASCII uppercase pages and ↵Dimitri van Heesch2021-03-221-48/+20
| | | | vice versa
* Refactoring: replace QFile/FTextStream with fstream/stringstreamDimitri van Heesch2021-03-181-105/+98
|
* Refactoring: remove QRegExp in searchindex.cppDimitri van Heesch2021-02-201-3/+8
|
* Refactoring: replace Doxygen::groupSDict by Doxygen::groupLinkedMapDimitri van Heesch2020-12-311-5/+3
|
* Refactoring: replaced PageSDict by PageLinked*MapDimitri van Heesch2020-12-311-7/+5
|
* Refactoring: Modernise client side part of searchindexDimitri van Heesch2020-12-291-352/+296
|
* Refactoring: replace NamespaceSDict by NamespaceLinkedMapDimitri van Heesch2020-12-231-5/+3
|
* Refactoring: replace ClassSDict by ClassLinkedMap/ClassLinkedRefMapDimitri van Heesch2020-12-191-9/+7
|
* Default doxygen search mechanism doesn't work when using with XHTML outputalbert-github2020-11-251-10/+12
| | | | | | | | | | | | | The problem has been tested with the doxygen test 021. With the output format html all works OK. - When giving a `t` in the search window a window appears with the message "This XML file does not appear to have any style information associated with it. The document tree is shown below." - the `<html> statement has to replaced by `<html xmlns="http://www.w3.org/1999/xhtml">` in searchindex.cpp (is normally also present in the non search xhtml files). - this results in a window with just the words: Loading.... Searching... No Matches - this is due to the extra `<!--` / `-->` in the htmlsearchresults.tpl (strange enough html output has no problem with it). - When giving a `a` in the search windows we get a "File not found" message as the file nomatches.html cannot be found - the extension for "nomatches" has to be set properly as well (search.js), for the other files this is done a few lines upward.
* Refactoring: replacing dynamic_cast by static_cast to improve performanceDimitri van Heesch2020-11-131-15/+15
|
* Fix type conversion warnings in searchindex.cppDimitri van Heesch2020-10-121-5/+5
|
* refactoring: modernize search indexDimitri van Heesch2020-10-031-138/+93
| | | | Also QVector has been removed from qtools as it was no longer used.
* Proposed fix for issue #7898 (#8029)luca-aep2020-09-161-2/+2
| | | | | * 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
* Replaced MemberNameSDict by MemberNameLinkedMap based on LinkedMapDimitri van Heesch2020-04-081-14/+6
|
* Replaced FileNameDict/FileNameList by FileNameLinkedMapDimitri van Heesch2020-04-061-8/+4
|
* issue #7624: non-const getClassDef() called on aliased member. Please report ↵Dimitri van Heesch2020-03-231-9/+9
| | | | as a bug.
* Fix CROS javascript issue when giving focus to search result frame.Joseph Mirabel2020-03-221-0/+6
|
* Doxygen version information (#7645)albert-github2020-03-171-1/+1
| | | | | - 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.
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-4/+2
|
* Problem with links from search index filesalbert-github2020-02-081-2/+2
| | | | | | | | | | | The format of the tag file has been slightly changed in the past so that the original HTML_FILE_EXTENSION was preserved by adding the HTML_FILE_EXTENSION to the items in the tag file. This change has not been reflected in the search files like `files_0.js` resulting in lines like ``` ['core_5fbigfloat_2eh_8971',['CORE_BigFloat.h',['../../Number_types/CORE__BigFloat_8h.html.html',1,'']]], ``` this has been corrected. (Found in the CGAL code).
* Merge branch 'master' into spellingDimitri van Heesch2019-12-231-1/+1
|\
| * Coverity uninitializedalbert-github2019-12-021-1/+1
| | | | | | | | Fixing a number of uninitialized variables based on the coverity output of November 30, 2019
* | spelling: javascriptJosh Soref2019-11-121-2/+2
|/
* 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).
* Merge branch 'feature/bug_gitversion' of ↵Dimitri van Heesch2019-07-301-1/+1
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_gitversion
| * Show git version informationalbert-github2019-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original version has as features: - getting the git version number for usage in doxygen - making the doxygen version number inclusion dependent on the VERSION file The disadvantage of the chosen methodology was that an extra correction step was necessary, by defining getter methods to retrieve the values this correction can be hidden. The information is coming from different sources: - the VERSION file - the git "repository and build system (when present) Furthermore there are a couple of places where the version information is used (a.o. doxygen and doxywizard executable, though the doxygenwizard was only done "half hearted") The handling of the VERSION file has been made in such a way that it is comparable with the generation of the git version changes. For a better abstraction the version handling is all done in a separate directory.
* | issue #7127 Broken links on generated documentationalbert-github2019-07-201-1/+2
| | | | | | | | Make identifier in the `.js` files unique (they are only used internally)
* | Improved const correctness and added support for inline namespacesDimitri van Heesch2019-04-211-24/+24
|/
* Refactored Definition and derived classes such that they are abstract interfacesDimitri van Heesch2019-02-281-19/+15
|
* Moved check for page having a title to hasTitle() methodDimitri van Heesch2018-12-311-1/+1
|
* Warning running xmllint for xhtmlalbert-github2018-11-261-2/+2
| | | | | | | When running xmllint in the error output the following message appears: `I/O error : Attempt to load network entity http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd` Going to the website we see that there an automatic redirect was done from `http` to `https`.
* Minor restructuringDimitri van Heesch2018-11-181-5/+5
|
* Added *.ice files as a recognized file type.Mark Spruiell2018-10-221-31/+84
| | | | Added a Slice-optimized output mode.
* Bug 792727 - unescaped double quote in searchdata.js breaks search box ↵albert-github2018-02-041-0/+1
| | | | | | functionality Escaped the doubele quote.
* Marks JS as freely licensed (regression pull request 586)albert-github2017-08-251-2/+2
| | | | In case of xhtml the & has to be escaped
* Marks JS as freely licensedzachwick2017-08-041-27/+29
| | | | | | | | | | | | | | | Marking the resulting JS in this way ensures that visitors to the resulting HTML documentation do not have to choose between running non-free JS and experiencing the HTML documentation as it was intended. The JS was already freely licensed, so this change just ensures that the appropriate labelling occurs so that GNU LibreJS [0] parses the JS correctly as freely licensed. [0] https://www.gnu.org/software/librejs/ Signed-off-by: zachwick <zach@zachwick.com>
* Bug 707278 - Grouping of results fail when using built-in javascript searchDimitri van Heesch2016-12-181-3/+3
|
* Changed configuration mechanism to directly access options in order to ↵Dimitri van Heesch2016-01-171-9/+9
| | | | improve performance
* Added javascript search engine data to the template contextDimitri van Heesch2015-08-271-195/+136
|
* Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|
* Remove unused local and static global variablesalbert-github2014-12-271-2/+0
| | | | Remove unused local and static global variables. Variables have been identified by Understand (version 758) from Scitools.
* Fixed several Coverity warningsDimitri van Heesch2014-11-151-20/+0
|
* Introduced template directory for template and resource files and resource ↵Dimitri van Heesch2014-11-131-10/+25
| | | | compiler & manager
* Bug 735483 - [PATCH] Fix a potential null pointer dereference in ↵Dimitri van Heesch2014-08-301-1/+1
| | | | src/searchindex.cpp