mlangkabel
5517cd4ccf
logic: refresh info generator fixes and tests
...
* fixed case where "to-index" state of a file has changed and thus the file needs to be re-indexed
* clear and re-index files that depend on changed non-indexed files
* clear and re-index files referenced by unchanged but cleared (due to referencing a changed file) files
* fixed: updated files with changed timestamp that do not have content in the db will now count as changed
* refined refresh info generator tests
* updated checklists for manual project setup tests
2018-09-14 16:02:01 +02:00
mlangkabel
5b7938eda6
logic: record and display cxx indexer configuration issues (issue #618 )
2018-09-14 15:31:27 +02:00
mlangkabel
eb0bf063b8
logic: improved performance of "setting up indexers" step for CDB SourceGroups
...
* improved performance of generating IndexerCommandProviders of CDB SourceGroups
2018-09-11 13:23:55 +02:00
mlangkabel
ec0f3bb2ac
build: update to boost 1.68 for Windows builds
2018-09-10 17:12:42 +02:00
mlangkabel
db85279b8c
logic: reduced memory consumption of indexer commands for empty, Sonargraph and Codeblocks Cxx sourcegroups
...
* use compressed format of CxxIndexerCommandProvider for these SourceGroups
2018-09-10 13:58:45 +02:00
mlangkabel
cdbca77495
src: cleaned up code of Tasks and IndexerCommands
2018-09-10 13:17:49 +02:00
mlangkabel
df0b7bc7bb
logic: Log success of VS path detector instead of printing to console
2018-09-10 13:01:54 +02:00
mlangkabel
9998855527
logic: generate indexer commands on demand to reduce shared memory consumption
...
* implemented task for sending IndexerCommands to shared memory on demand
* SourceGroups now return IndexerCommandProviders instead of just a list of indexer commands. This way information can be stored in a compressed format
* merged IndexerCommandCxxEmpty and IndexerCommandCxxCdb
* moved sorting of indexer commands by file size from IndexerCommandList to TaskFillIndexerCommandQueue
* removed obsolete IndexerCommandList class
* wait for IndexerCommandQueue to be filled before starting the indexers
* restart finished indexer processes while indexerCommandQueue is still running
* restart indexer threads as long as there are indexer commands to process
* removed Blackboard::getMutex() and added an atomic update() method
2018-09-10 12:40:30 +02:00
Eberhard Graether
92a19869e7
test: History ui tests
2018-09-07 12:50:04 +02:00
Eberhard Graether
ac7b642d8a
test: Search view ui tests
2018-09-07 12:48:19 +02:00
Eberhard Graether
d2a99cbab2
test: Code view ui tests
2018-09-07 12:46:31 +02:00
mlangkabel
1a39f9ddc0
logic: fixed crash and missing includes in LogMemoryStringMap
2018-09-04 21:43:00 +02:00
mlangkabel
0e9fb73463
logic: improved performance of querying filepaths from CDB
...
* we don't need to get the complete compile commands for this
* as a fallback, querying a single compile command for a file is fast, because it is stored in a map
2018-09-03 16:51:48 +02:00
mlangkabel
5ff7d510d7
Re-Revert and fix "logic: changed Java type_argument edges to originate in the generic type or method"
2018-09-03 09:38:51 +02:00
Eberhard Graether
bb1d7f5b39
src: Fixed clang warnings
2018-09-02 21:23:07 +02:00
Eberhard Graether
06d64b76f7
data: Reduced memory usage during indexing with LowMemoryStringMap
...
* reduces node and local symbol index sizes by about 30-50%
2018-09-02 20:47:43 +02:00
Eberhard Graether
55753a1bf5
Changelog for 2018.3.55
2018-09-02 20:44:24 +02:00
mlangkabel
ea68229303
logic: fixed crash that occurred in some cases when logging the clang invocation
2018-08-31 13:19:52 +02:00
mlangkabel
bac68a93df
data: added annotation icon to windows installer
2018-08-28 16:57:36 +02:00
mlangkabel
4afd1b3fef
ui: implemented restoring minimized Sourcetrail window if token is activated from IDE on Windows
2018-08-28 16:50:21 +02:00
mlangkabel
5c6e9afe06
ui: fixed raising Sourcetrail window if token is activated from IDE on Windows
2018-08-28 16:40:00 +02:00
mlangkabel
8e6d5e6010
Revert "logic: changed Java type_argument edges to originate in the generic type or method"
2018-08-28 16:20:51 +02:00
Eberhard Graether
ff92ac7929
logic: Fixed crash on self referencing connections in HierarchyCache
2018-08-28 16:05:34 +02:00
mlangkabel
03c06e91e8
test: added project setup test description and resources for Java Sonargraph setup
2018-08-28 15:01:13 +02:00
Eberhard Graether
db23d50614
test: Fixed project setup tests for mac
2018-08-28 14:20:28 +02:00
mlangkabel
21d58357f2
logic: fixed application crash on windows if JVM tries to allocate too much memory by reducing the amount of allocated memory to the available size.
2018-08-28 13:06:36 +02:00
Eberhard Graether
5f80d79540
ui: Fixed gradle loading dialogs in main window instaed of project setup dialog
2018-08-28 12:58:29 +02:00
mlangkabel
1ba843fbec
test: added test descriptions and resources for manually testing different project setup methods
2018-08-28 11:13:05 +02:00
mlangkabel
0f5548f5f9
ui: updated text for handling non-existent project in recent projects list
2018-08-28 11:02:48 +02:00
mlangkabel
d2b8b5567f
build: fixed ShadedIntermediateStorage not compiling on Windows
2018-08-28 10:15:14 +02:00
Eberhard Graether
a1ad9abc0d
data: Faster creation of ParseLocation
2018-08-28 02:16:31 +02:00
Eberhard Graether
470a8a3920
data: Improved data storing performance in IntermediateStorage
2018-08-27 23:37:24 +02:00
Eberhard Graether
c0984b2ca4
ui: Display count circle of bundle node as rounded rect
2018-08-27 19:42:20 +02:00
Eberhard Graether
e3e8fa1547
data: Request file modification time not until storing to index for faster indexing performance
2018-08-27 17:05:38 +02:00
mlangkabel
e8a4830229
ui: fixed crash that had a chance to occur when showing source files of cdb/cbp/sonargraph project
2018-08-27 16:15:18 +02:00
Eberhard Graether
9bce2de57b
data: reduced memory usage of sqlite index during indexing
...
* use std::string instead of std::wstring in temp indices
* use number types for edges and source locations in temp indices
* use map::emplace where appropriate
* moved 100 occurence insert optimization fully to sqlite index
2018-08-27 15:38:44 +02:00
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
c86f4d04dc
logic: record "java.lang" symbol as package
2018-08-20 18:15:11 +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