Commit Graph
1414 Commits
Author SHA1 Message Date
Eberhard Graether af626143a5 logic: Improvements in indexing to avoid OOM (issue #471)
* indexer processes wait if already too many storages queued
* storage fetcher waits if already too many storages queued
* increased size estimation for shared memory of indexer commands
* Added MessageFilterNewErrors to combine messages for new errors

bug id = 471
2017-10-12 17:15:46 +02:00
Eberhard Graether b5ff43a821 logic: Fixes in and with TextAccess
* fixed Textaccess removing last line with single character when loading from string
* fixed file comparison using wrong index ranges
2017-10-12 11:26:48 +02:00
Eberhard Graether 43f492cded logic: Fixed update check still displaying new version after using new version 2017-10-12 10:16:42 +02:00
mlangkabel f0da5b630b ui: implemented prefilling indexed header paths for compilation database projects
* fixed header path detection in CompilationDatabase class
2017-10-11 17:08:13 +02:00
Eberhard Graether 85ab7d1e96 logic: Moved update check setting to preferences and enable automatic update check by default 2017-10-11 13:39:00 +02:00
mlangkabel cf984ca245 logic: name qualifiers of symbols are clickable now 2017-10-11 11:08:01 +02:00
Eberhard Graether b715372abc logic: handle activation of non-indexed files and tokens referenced within non-indexed files 2017-10-10 17:22:59 +02:00
Eberhard Graether 3a03252d3f ui: also bundle nested anonymous namespaces in namespaces overview (issue #465)
bug id = 465
2017-10-09 21:33:05 +02:00
Eberhard Graether fdea8113a0 logic: Fixed code not annotated for full file in snippet mode
* show focused line marker when stepping through code references
2017-10-03 08:09:57 +02:00
Eberhard Graether a72da67d32 logic: Use ControllerProxy in Bookmarking UI classes instead of messaging
* changed ControllerProxy to template class
* allow passing method pointers and arguments to ControllerProxy
* replaced some messages with ControllerProxy calls
* moved logic from BookmarkView into BookmarkController
2017-10-03 07:59:59 +02:00
mlangkabel e604d24c40 logic: added Gradle project setup (issue #379)
* added implementation for Gradle project setup (icon is still missing)
* refactored project loading/saving and SourceGroupSettings
* removed long deprecated Cxx UseSourcePathsForHeaderSearch option

fortune cookie message = There is true and sincere friendship between you and your friends.
2017-10-02 18:43:59 +02:00
Eberhard Graether 83c24c5cd0 src: Removed unused Log component and QtSplashScreen 2017-09-21 01:59:36 +02:00
Eberhard Graether 95ef8c3eec ui: Added on-screen search feature (issue #79)
* Use menu action "Edit -> Find in View" or Ctrl + D
* UI displayed as search bar at bottom of main window
* Hide search bar with ECS or close button
* Entering a query searches in name of graph nodes and code contents of code view
* Use Enter to iterate through matches, well move match into view in graph and code view
* Checkboxes allow for adding/removing results for certain views
* Create Bookmark shortcut is now CTRL + S

bug id = 79
2017-09-19 14:00:40 +02:00
Eberhard Graether 4731f379f4 logic: Fixed click on call location of implicit template specialization leads nowhere 2017-09-15 12:44:22 +02:00
Eberhard Graether 3d2ac64ce6 logic: don't activate template specializations at same location when clicking source location 2017-09-14 16:52:37 +02:00
Eberhard Graether 8f4e521f0b ui: don't hide implicit children of implicit nodes 2017-09-14 03:38:32 +02:00
mlangkabel 687bfad4a6 logic: improved recording of template member specializations
* implemented recording template member specialitation relations for fields, static variables, member classes and enums
* added windows only tests that index whole projects (Bullet & Box2D) to prevent regression
2017-09-13 18:03:29 +02:00
Eberhard Graether 3f06724cad test: Fixed CommandlineTestSuite changed TestSettings.xml 2017-09-13 15:53:21 +02:00
mlangkabel 41348f5130 logic: refresh only files where content changed 2017-09-11 09:56:18 +02:00
Eberhard Graether ca85b740a6 logic: Improved search index search performance 2017-09-08 13:53:04 +02:00
mlangkabel b586c6ce53 logic: recording implicit Java packages
* implemented recording of package qualifiers as packages
* modified search parameters
2017-09-07 17:38:15 +02:00
Eberhard Graether 5f9a6d7046 logic: fixes for search
* set max best scored length for file paths
* fixed best score caching
* fixed namespace/package and node name split for search results
2017-09-07 16:43:20 +02:00
Eberhard Graether 6cf0b87f7b logic: Fixes in search index
* process more results
* fixed max results best score length
* fixed name shortening of template arguments
* fixed best results caching
* increased consecutive letter score
2017-09-07 12:14:18 +02:00
Eberhard Graether c4400c0afc logic: reorder Java child nodes to source location order 2017-09-07 12:01:46 +02:00
Eberhard Graether 3c8cd26846 logic: Add node type filtering to SearchIndex to avoid low or no results for filters 2017-09-07 01:40:20 +02:00
Eberhard Graether d86adce7ea data: Fixed db crash on closing application due to multiple initializations of statements 2017-09-05 23:58:03 +02:00
Eberhard Graether fc87d2e1aa ui: Added "Skip this Version" option to update dialog 2017-09-05 23:26:34 +02:00
Eberhard Graether 48f5180605 ui: removed pointless node filters 2017-09-05 22:51:01 +02:00
Eberhard Graether ea08c8c730 logic: replace template arguments with .. in non-indexed nodes to reduce clutter in search results 2017-09-05 22:35:54 +02:00
Eberhard Graether 9f2509e7de ui: node type keywords to filter autocompletions or activate all nodes (issue #78)
* Fix history stack activating wrong symbol when aggregation was clicked
2017-09-03 15:38:25 +02:00
Eberhard Graether d8413b1cb4 logic: Fixed intermediate storage fetching starving when indexers are really fast because of other UI updates 2017-08-25 11:17:34 +02:00
mlangkabel 31b2f8d1f6 logic: fixed generating IDs of fulltextsearch locations
due to type conversion the IDs have been set to 0 on Windows with the previous implementation
2017-08-22 15:32:33 +02:00
Eberhard Graether 86a26be6d6 ui: Improved help texts of CLI 2017-08-22 13:46:04 +02:00
mlangkabel 0b9bb91ae5 ui: extended logging and about window to show 32/64 bit info 2017-08-22 10:58:55 +02:00
Eberhard Graether 855f0cbbbf ui: improved comment contrast in color schemes
* fixed clang warnings
2017-08-11 12:22:33 +02:00
malte_langkabel ddebf71e02 logic: fixed case where clang target flag was "---" 2017-08-11 11:31:28 +02:00
malte_langkabel 5de050ab62 build: fixed crash in QSemaphore::acquire on Windows 2017-08-10 15:12:25 +02:00
Andreas Stallinger eaf9df8551 src: revert git auto merge fail 2017-08-10 13:41:43 +02:00
Andreas Stallinger 37ead804bf src: clazy compiler warnings
get rid of most clazy warnings (https://github.com/KDE/clazy)
* range loop use refs
* qcolor ctor with ints
* missing Q_OBJECT macro
* use .constfirst instead of .first

enabled ccache for unix systems for fasterr recompiling
* if ccache is in path we use it now
2017-08-10 09:45:55 +02:00
Eberhard Graether d9c8de2951 src: Fixed FilePath::canonical() for UNIX
* fixed clang warnings
* fixed ApplicationSettings loaded from wrong location in tests
* added symlink within canonical path to tests
2017-08-10 02:04:03 +02:00
Eberhard Graether ece2cbfe14 logic: Fixed cli message handling and Mac build 2017-08-10 01:17:26 +02:00
Andreas Stallinger 9269468a7b src: cleanup cli publish
cleaned commented code
removed bin/test/ApplicationSettings.xml
2017-08-09 15:16:37 +02:00
Andreas Stallinger 610c8b2901 logic: cli for indexing and configure 2017-08-09 13:34:20 +02:00
Andreas Stallinger 802153883e logic: commandline indexing and configuration 2017-08-09 12:33:43 +02:00
Eberhard Graether 2e375112e6 data: Save command line info for CXX indexer commands to errors and show within errors table (issue #351)
bug id = 351
2017-08-09 12:16:16 +02:00
malte_langkabel 1ac63f0158 logic: cxx indexer fixes
* fixed comment locations have been saved to wrong database table
* fixed usage of tryGetRealPathName on windows
* used real filename in PreprocessorCallbacks, DiagnosticsConsumer and CommentHandler
* fixed crash in IncludeValidation when only one source file was checked
2017-08-09 10:59:47 +02:00
Eberhard Graether 2305a74e6c logic: Added cross-compilation UI to CXX source group setup (issue #370)
Allows for defining specific target triple of architecture, vendor, OS and environment as set of dropdown lists
in CXX source group setup.

bug id = 370
2017-08-08 16:00:32 +02:00
malte_langkabel 4f74235ca1 src: fixed making file paths canonical that contain symlinks 2017-08-08 15:05:36 +02:00
Eberhard Graether ff65a3f285 logic: Added update checker connecting to online API
* connects to https://www.sourcetrail.com/api/v1/versions/latest
* sends information about OS, platform, license type, current version and a unique user token
* Automatic update check is enabled via Startscreen and performed once every 24 hours on window focus
* Update check can be forced by clicking on "check for new version" on start screen
* renamed TimePoint to TimeStamp

fortune cookie message = In Träumen und im Leben ist nichts unmöglich.
2017-08-08 14:18:14 +02:00
malte_langkabel 8ec7f02433 logic: add NODE_ENUM to NODE_USEABLE_TYPE
* this makes sure that edges that point to an activated enum become aggregated
2017-08-04 10:55:05 +02:00