summaryrefslogtreecommitdiffstats
path: root/src/sqlite3gen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: modernize TooltipManager class and source reference listsDimitri van Heesch2020-10-201-30/+12
| | | | | - Tooltips are now collected per file instead of globally - Source reference lists now use STL containers
* Refactoring: Modernize BaseClassListDimitri van Heesch2020-10-121-27/+17
|
* Added configuration options to better control the sqlite3 output.Dimitri van Heesch2020-07-301-6/+14
| | | | | | | | | | | | Still requires cmake -Duse_sqlite=YES to compile in support (and libsqlite3) New configuration options available: - GENERATE_SQLITE3 enable/disable SQLITE3 output - SQLITE3_OUTPUT configure directory where output is written to (default: sqlite3) - SQLITE3_RECREATE_DB controls if existing database file is overwritten (default: YES)
* Refactor: make preprocessor run in parallelDimitri van Heesch2020-06-281-2/+0
| | | | | And at the same time make sure it gives the same results as when processed using a single thread.
* Refactor: modernize markdown and make it thread-safeDimitri van Heesch2020-06-161-1/+5
|
* Did a bit of restructuring and fixed some compiler warningsDimitri van Heesch2020-05-101-13/+10
|
* sqlite: use err instead of term :)Travis A. Everett2020-05-051-10/+10
|
* sqlite: flip _static default in bindTextParameterTravis A. Everett2020-05-051-63/+62
|
* fix #7746 with liberal use of _static==FALSETravis A. Everett2020-05-041-49/+49
| | | | | | | Something in the refactor at 960bae7 caused junk data to start showing up in some sqlite3 columns. Calling bindTextParameter with _static==FALSE causes it to call sqlite3_bind_text with SQLITE_TRANSIENT instead of SQLITE_STATIC, which in turn causes sqlite3 to copy the string at bind time.
* fail with term() instead of msg()Travis A. Everett2020-05-041-7/+3
|
* Refactoring: migrate MemberNameInfoSDict to MemberNameInfoLinkedMapDimitri van Heesch2020-04-271-12/+5
|
* Refactoring: Improve encapsulation of MemberInfo classDimitri van Heesch2020-04-271-3/+3
|
* Fixed shadowing issue in getFortranDefs and other shadowing casesDimitri van Heesch2020-04-091-3/+1
|
* Replaced FileNameDict/FileNameList by FileNameLinkedMapDimitri van Heesch2020-04-061-15/+7
|
* issue #7606 Unable to build "master" branchalbert-github2020-02-221-2/+2
| | | | | | | | | | | regression on: ``` Commit: 1a56a39b4a97452a5c7c2d8e9d39ab28ca33dff0 [1a56a39] Commit Date: Friday, February 21, 2020 9:07:13 PM Restructure section handling ``` when sqlite3 has been enabled for the build.
* Merge pull request #7377 from albert-github/feature/bug_spell_srcDimitri van Heesch2019-11-061-1/+1
|\ | | | | Spelling corrections for src directory
| * 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).
* | issue #7302: Determination of anonymous is too restrictiveDimitri van Heesch2019-11-051-4/+4
|/
* Changed ArgumentList to be an STL containerDimitri van Heesch2019-10-271-71/+64
|
* Fix some typos luz.paz2019-09-161-2/+2
|
* 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.
* | Avoid calling non-const member aliases and 0 pointer dereference in sqlite3Dimitri van Heesch2019-06-171-1/+5
| |
* | Add const correctness for argument listsDimitri van Heesch2019-05-051-7/+7
|/
* Moved check for page having a title to hasTitle() methodDimitri van Heesch2018-12-311-1/+1
|
* issue_6597 SIGSEGV presumably caused by C++ "using" declarationalbert-github2018-11-051-1/+1
| | | | | Crash appears in in the autogen / permod and sqlite3 code generation. In the xml code generation the problem does not appear due to the protection against the NULL pointer. Added protection on the other places as well
* sqlite3: fix missing external_file view schema colTravis A. Everett2018-10-131-0/+1
|
* Expand sqlite3gen's breadth, depth, and qualityTravis A. Everett2018-09-031-533/+1624
| | | | | | | | | | | | | | | | | | | | | | | Generated sqlite3 databases are roughly ready to support tools and projects that require a significant fraction of what Doxygen collects. output quality: - collect primary info for most major entities and relationships - fix causes of junk data in some columns (i.e. const * / QCString / string / memory issues) - convert decription field markup (mix of markdown, HTML, and Doxygen commands) into XML - eliminate duplicate/overlapping data (both rows and columns) usability: - abort if database already exists; prompt user to archive/delete it - record Doxygen and sql schema versions so tools/clients can target/message appropriately - refine schema to support and simplify common queries addon/doxypysql: - adopt schema changes - py3 compat
* sqlite3gen: start checking operations statusAdrian Negreanu2017-10-251-112/+139
| | | | | | | | check return value and in case of failures, print the errmsg. to print the errmsg, the sqlite3* db is needed along with the prepared statement, so add a db member to SqlStmt. Signed-off-by: Adrian Negreanu <groleo@gmail.com>
* sqlite3gen: add missing protectedsettable columnAdrian Negreanu2017-10-251-1/+1
| | | | Signed-off-by: Adrian Negreanu <groleo@gmail.com>
* sqlite3gen: add index on paramsAdrian Negreanu2017-10-251-1/+11
|
* sqlite3gen: use sqlite3_exec for schema setupAdrian Negreanu2017-10-251-10/+3
| | | | | | | executing the multiple statements in the schema, we also get the indeces created. Signed-off-by: Adrian Negreanu <groleo@gmail.com>
* sqlite3gen: add openDbConnectionAdrian Negreanu2017-10-251-8/+28
|
* const-ifyAdrian Negreanu2017-09-251-18/+20
|
* typosKunda2017-03-051-2/+2
| | | | | | some doxy typos and some misc. source typos typos some doxy typos and some misc. source typos
* sqlite3gen: stripWhitespace on bitfield's textAdrian Negreanu2016-08-091-1/+1
|
* sqlite3gen: stripFromPath on all calls to insertFileAdrian Negreanu2016-08-091-5/+5
|
* sqlite3gen: sync with xmlgenAdrian Negreanu2016-08-091-56/+199
| | | | | Modified the memberdef table so that it includes all elements xmlgen dups for a memberdef.
* sqlite3gen: insert xrefs using integer refidsAdrian Negreanu2016-08-051-22/+22
|
* sqlite3gen: use the refid stored in the refids tableAdrian Negreanu2016-07-251-13/+21
| | | | All refid are now INTEGERS pointing into the refids Table.
* sqlite3gen: defnname -> defnameAdrian Negreanu2016-07-251-9/+9
| | | | Match the name used by XML.
* sqlite3gen: export proper memberdef refidAdrian Negreanu2016-07-201-1/+2
|
* Changed configuration mechanism to directly access options in order to ↵Dimitri van Heesch2016-01-171-1/+1
| | | | improve performance
* sqlite3: add schema commentsAdrian Negreanu2015-06-091-107/+127
| | | | | | | | Comments should help DB users that are unfamiliar to doxygen internals. You can dump the schema with: echo ".schema" | sqlite3 doxygen_sqlite3.db
* sqlite3: fix constnessAdrian Negreanu2015-06-091-1/+2
| | | | | :const was binded only when al->constSpecifier was non-NULL. Fix that by removing the test on al->constSpecifier
* Fix for bug 746673.Travis A. Everett2015-03-241-4/+11
| | | | | | Resolves a typo (dervied->derived) in sqlite prepared query var, which was preventing the derivedcompounddef table from populating. Fixing this issue also exposed an underlying problem where junk data was showing up in two columns. Porting some if/else logic from the code that inserts to basecompounddef seems to have fixed this, as well.
* Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|
* sqlite3: speedup the SELECTsAdrian Negreanu2014-02-271-185/+258
| | | | | | | | | | | | | | | | | | The uniqueness of rows is maintained by first doing a select. In case the item is not found, it's INSERTed. This is done for files, refids, params and includes, data that is not unique by itself, like cross-references for example. In other words, you can have many memberdefs in one file, but you can only have one cross-reference between two functions since the reference location is unique. So, when SELECTing files and refids, use the file name and refids as primary key since that's the fastest way to do it. Also 'OR REPLACE' not necessary in 'INSERT OR REPLACE'. Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
* Updated copyrightDimitri van Heesch2014-02-111-1/+1
|
* sqlite3: updatesAdrian Negreanu2014-02-081-332/+422
| | | | | | | | | | | | | | | | * template and function arguments * innernamespaces * put sqlite3_stmt and the coresponding query in a struct * use has(Multi|One)LineInitializer instead of hardcoded value when extracting references from initializers * sqlite3_clear_bindings in step() * getRow in step() should use different sqlite3_ functions depending on wether is doing 'INSERT' or 'SELECT' includes table uses only file IDs Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>