Commit Graph
2178 Commits
Author SHA1 Message Date
Eberhard Graether bd1e79179b logic: Fixed source extensions not converted to lowercase (issue #614) 2018-08-24 16:12:53 +02:00
mlangkabel 862f7b99a7 logic: fixed recorded locations of errors that appear after cxx line directives (issue #610) 2018-08-24 16:06:05 +02:00
Eberhard Graether f7e67c8a63 ui: Fixed syntax highlighting for Java annotations 2018-08-24 15:51:22 +02:00
Eberhard Graether 1ba1b9f967 ui: Clear graph contents on overview (issue #609) 2018-08-24 13:54:53 +02:00
Eberhard Graether 01d5f23e8f gen: Added quarters parameter to license generator 2018-08-24 12:25:58 +02:00
mlangkabel caad4dfc14 logic: fixed policy for finding windows user data folder (issue #612)
* creating "user_fallback" path in application directory if everything else fails
2018-08-24 10:50:00 +02:00
mlangkabel 50c0f6ef59 logic: fixed recording of multiple cxx anonymous namespaces within the same file 2018-08-21 16:57:16 +02:00
Eberhard Graether b64fda77b5 logic: Fixed files within indexed directories always refreshed in empty C/C++ source groups 2018-08-21 16:49:01 +02:00
Eberhard Graether 5f6747d6a1 ui: Don't show overriden method in tooltip list when clicking overriding method 2018-08-21 16:08:41 +02:00
Eberhard Graether 366bbd6548 ui: Fixed local reference navigation not shown for edge clicks when file content was not present yet 2018-08-21 14:14:39 +02:00
Eberhard Graether 4e68de8917 logic: Fixed crash when start window deleted while checking for update 2018-08-21 13:19:17 +02:00
Eberhard Graether 023c6288d6 logic: Fixed issues releated to real signatures in tooltips (issue #604)
* Fixed crash when signature was wrongly recorded
* Fixed line break at wrong position for template functions/methods
* Fixed already qualified name replace with qualified name, repeating qualifiers
2018-08-20 23:22:50 +02:00
mlangkabel 36a9d552da logic: changed Java type_argument edges to originate in the generic type or method
* added tests for java type argument recording
* implemented recording type arguments for java ExpressionMethodReferences
* changed type_argument edge to originate in generic type
* added type_usage edge for type_arguments that originates in context (e.g. calling method)
2018-08-20 16:27:53 +02:00
Eberhard Graether 2e5cfd9333 ui: Fixed code annotations missing in snippet mode for files with /r/n line endings 2018-08-20 14:43:44 +02:00
mlangkabel 9813c9873f logic: index and store Java annotations
* add annotation symbol kind
* add annotation_usage edge kind
* increment storage version
* record java annotation decls
* record java annotation member decls (as fields)
* update expected output of java sample project indexing tests
* add tests for recording annotations
* add annotation icon, annotation colors
* add new annotation node and edge types to legend
2018-08-14 17:33:00 +02:00
mlangkabel abe0248c1e logic: implemented setting Clang's language to "c++" for "empty cpp" source groups 2018-08-13 17:52:24 +02:00
mlangkabel 7150817fc4 logic: implemented logging of used clang invocation which also include implicit and derived arguments (issue #595) 2018-08-13 17:21:27 +02:00
mlangkabel 195f5893c9 logic: reduce copies of intermediate storage data when creating shared memory representation 2018-08-10 16:19:45 +02:00
mlangkabel 5ace9e080f logic: removed shuffling of indexer commands 2018-08-10 16:10:06 +02:00
mlangkabel 337cf2d371 logic: improved performance of storing index to database
* add compiled statement for batch inserting 100 occurrences at once
* removed unnecessary primary key from component_access to get rid of additional index table
* changed explicit check for existing symbols when injecting to implicit check in insert statement (insert or ignore)
* improved performance of adding edges by replacing edge multi part index with in-memory-index
* added in-memory-index for node table
* added in-memory-index for local_symbol table
* added in-memory-index for lource_location table
* moved setting storage mode to SqliteIndexStorage, because storage modes are not used anywhere else.
* don't store current mode as member because re-creating an existing index takes no time.
* add getter for name of SqliteDatabaseIndex
* removed unused method from persistent storage
2018-08-10 15:37:08 +02:00
Eberhard Graether d71e28b7b7 ui: Fixed fulltext search locations disappearing when expanding scope in code snippet view 2018-08-05 20:29:17 +02:00
Eberhard Graether ae7b827b0c ui: Added expand and collapse node actions to graph view context menu
* expand/collapse node via graph view context menu
* also possible with Shift + Left Click
2018-08-05 19:49:18 +02:00
mlangkabel f9b43526f4 logic: improved performance of storing index to the database
* batch inject occurrences
* removed unnecessary destructor and keywords from storages
2018-08-03 13:51:31 +02:00
mlangkabel 1e77613a1b ui: implemented handling of case where index db is used by different process while trying to swap files 2018-07-31 18:06:46 +02:00
mlangkabel 70dba27f9e logic: fixed crash that occurred when trying to use a project that encountered an exception while loading
* fixed crash when storage access proxy tries to access a deleted storage pointer
* refactored StorageAccessProxy implementation to use macros to generate proxy methods
2018-07-31 15:55:29 +02:00
mlangkabel 40bd5ceb5a logic: improved "prepare indexing" performance for cxx sourcegroups
* improved performance of "prepare indexing" step for all cxx source groups except empty
* unified code for filtering to contained file paths of source groups
* cleaned up code of SourceGroupFactoryModules
2018-07-31 14:17:14 +02:00
mlangkabel 445e7f339e logic: Fixed full-text search sometimes showing more results than intended
* fixed building longest common prefix array for full-text search by making values not relative the the charcode of the "a" character, because this would result in characters (e.g. "_") having a negarive value.
2018-07-31 10:15:25 +02:00
Eberhard Graether 5b42298a25 data: Use ordered_map in canonical filepath cache 2018-07-30 16:26:23 +02:00
Eberhard Graether ea0c249ad9 ui: Improved contrasts in color schemes
* fixed edge routed wrong issue in graph legend
* fixed Alt + Ctrl/Cmd + R refreshes UI
2018-07-27 14:45:25 +02:00
Eberhard Graether 713a8eec50 data: Improved file path caching in CXX indexer
* centralized all file path caching in CanonicalFilePathCache
* added cache by clang::FileID
* moved FileRegister into CanonicalFilePathCache and removed it from AST* classes
* only record files once
2018-07-27 12:39:55 +02:00
Eberhard Graether afec261872 ui: Made all indexing dialogs hideable
* all dialogs for the indexing usecase can be hidden regardless of project state
* fixed some dialogs could not be shown
* pass dialogview into project and all indexing tasks
* pass application to project and tasks
2018-07-25 23:49:46 +02:00
Eberhard Graether b055b4c7dc logic: Fixed click on macro activated first of multiple symbols instead of showing list 2018-07-25 20:53:54 +02:00
mlangkabel eda86dc44a ui: fixed inheritance and template edges hidden by grouped node 2018-07-24 16:49:19 +02:00
mlangkabel 7007cae02d logic: fixed parser client to record scope of nodes that have a signature 2018-07-24 16:34:06 +02:00
Eberhard Graether af8220968c ui: Fixed graph not interactive after showing legend 2018-07-24 15:18:21 +02:00
Eberhard Graether 704b1a4e9a logic: Disable activation of errors while indexing 2018-07-24 14:28:19 +02:00
mlangkabel 80055d42ff logic: fixed infinite iteration in cxx signature recording 2018-07-24 13:53:32 +02:00
Eberhard Graether d96baad91d src: Fixes for Release
* pass log directory absolute to indexers
* pass app and user paths absolute to indexers
* removed QCoreApplication instance from indexer process
* removed mutex from ConsoleLogger
* updated shortcut window
* renamed code reference menu items
2018-07-24 12:53:55 +02:00
mlangkabel f715e5c99e logic: only prefill application settings once 2018-07-24 11:55:44 +02:00
mlangkabel 86b0583b6b ui: added check for entered project name to be a valid file name 2018-07-24 11:02:13 +02:00
Eberhard Graether ac31bb6779 src: avoid indexing slowdown on macOS by not using unknown progress for progressbar in status bar 2018-07-24 03:36:27 +02:00
mlangkabel 75a22be362 logic: fixed names of available header path detectors
* fixed header path detector incorrectly showing up as available
* fixed visual studio header path detector names
2018-07-23 18:46:28 +02:00
mlangkabel fdc99a2935 logic: fixed infinite iteration in cxx brace recording 2018-07-23 18:21:29 +02:00
Eberhard Graether ed0ade034e ui: Graph legend (issue #308, #540)
* Show graph legend via 'legend' command or '?' button in the lower right corner
* Legend is not interactive: nodes and edges not clickable or moveable
* CXX and Java node types are mixed
2018-07-23 16:55:58 +02:00
mlangkabel 83873f4dbf ui: added info on supported Sonargraph module types to source group type selection screen 2018-07-23 15:59:41 +02:00
mlangkabel 20086d14a6 logic: ship clang compiler header within Sourcetrail package on Windows
* added clang system headers to data folder of Sourcetrail repo
* added clang system header search directory to detected directories on windows
* updated migration to add clang system header search directory on windows
* updated windows installer and portable package to include compiler headers
* updated linux package
* cleaned code of path detectors
* unrelated removal of unnecessary code in LicenseChecker and UpdateChecker
2018-07-23 15:14:07 +02:00
mlangkabel 637857fb56 src: fixed crash when indexing in headless mode 2018-07-23 14:20:16 +02:00
Eberhard Graether 95ebfff19c ui: Added on-demand local reference navigation to code view navigation bar (issue #453, #538)
* show local reference navigation for local symbols and multiple edge references
* shortcut Ctrl/Cmd + T
* iterate with consecutive edge clicks
2018-07-23 03:13:41 +02:00
mlangkabel 1df330ff2c ui: improved buttons texts for "reindexing required" dialog 2018-07-22 20:28:18 +02:00
Eberhard Graether 1db248a34e ui: scroll code horizontally to active sourcelocations 2018-07-22 19:40:01 +02:00