Commit Graph
2178 Commits
Author SHA1 Message Date
Eberhard Graether dca4c3c16b ui: Fixed issues in source group type selection
* no visible scrollbar was shown
* better default size
* description links were not clickable
2018-06-12 14:52:58 +02:00
mlangkabel 32d0b01694 ui: added icon for CBP sourcegroups to project setup 2018-06-12 11:30:12 +02:00
mlangkabel 61975757f4 ui: fixed project settings did not update display correctly if source group gets removed 2018-06-11 20:57:12 +02:00
mlangkabel 963fbdc564 logic: fixed exclude filters partly not working for CDB SourceGroup
* fixed logic for fetching all source file paths of CDB Sourcegroup to respect exclude filters
* reused this logic in wizzard ui
2018-06-11 20:45:15 +02:00
mlangkabel b1317457ab logic: added support for sonargraph manual cpp modules 2018-06-11 18:54:55 +02:00
Eberhard Graether 1c9b4c1afd data: explicitly clear all errors when refreshing incomplete files 2018-06-11 15:55:23 +02:00
Eberhard Graether 1a37a9af34 src: miscellaneous fixes
* fixed code view snippet minimize click expanded snippet again
* fixed typedef nodes node grouped within file group
* fixed splitting anonymous namespace bundle increased group nesting instead
* fixed build, tests and clang warnings
2018-06-08 16:12:53 +02:00
mlangkabel dcf506e3d7 ui: fixed selected source group changed in project settings list even if not allowed because content has become invalid 2018-06-08 14:43:47 +02:00
mlangkabel 269c1eb88c ui: fixed status message text that appears when loading an empty project 2018-06-08 12:29:24 +02:00
mlangkabel 704808b26f logic: added C/C++ project setup from Code::Blocks
* also changed xml elements in sourcegroup settings that specify the used language standard, so that one sourcegroup can maintain multiple language standards
* added migration and migrated sample projects
2018-06-08 12:10:38 +02:00
Eberhard Graether ce0a8a6444 ui: Use flow layout in source group selection window 2018-06-05 16:24:13 +02:00
mlangkabel 2584a1f4e2 logic: sonargraph fixes
* removed duplicates from detected indexed headers
* fixed indexed header paths not used in cxx sonargraph project
2018-06-05 15:48:54 +02:00
Eberhard Graether 2a3420eedf logic: fixed enless loop in include path auto detection (issue #585) 2018-06-05 13:38:54 +02:00
mlangkabel 31920972eb logic: added "serialize" method for indexer commands 2018-06-05 11:45:03 +02:00
mlangkabel 3cc51e0d01 logic: sonargraph fixes
* updated sonargraph project icon
* fixed Sonargraph SourceGroup to only return indexer commands for requested files
* fixed refresh info generator to ignore non-existing files
2018-06-04 19:05:54 +02:00
mlangkabel 12bf007caf logic: fixed making paths relative for indexed header path detection 2018-06-01 15:11:01 +02:00
mlangkabel e43e604966 logic: fixed crash in include validation 2018-06-01 14:58:51 +02:00
Eberhard Graether 9a036cc249 ui: Fixed typo in update check (issue #586) 2018-05-24 20:17:32 +02:00
Eberhard Graether 382f17ffa2 license: Allow any license type to specify expiration by days 2018-05-23 06:26:01 +02:00
Eberhard Graether 59f32e9942 build: Fixed enum forward declarations and filepath checks in SonarGraphProjectTestSuite 2018-05-22 13:02:27 +02:00
mlangkabel 7b735cfd17 logic: added project setup support for Sonargraph projects (Java and CMake-JSON modules supported)
* added classes for loading a Sonargraph project
* added Sonargraph options to project setup wizard
* added test for generating indexer commands from Sonargraph modules
* fixed sqlite storage crashing in constructor when parent directory of provided path does not exist
* removed unused FileRegister from Java indexing
* removed unused info from IndexerCommandJava
* refactored loading and saving of SourceGroupSettings
* extracted sourcepaths settings to own class that can be re-used
* merged CDB wizard contentents for source file and indexed paths
* unified wizard content for sonargraph project path
* removed include filters from default source groups
* extracted generation of RefreshInfo from Project to RefreshInfoGenerator
* added tests for RefreshInfoGenerator
* added language and standard selection to sonargraph project setup
* added auto-detection for indexed header paths of sonargraph cmake json modules
* Sonargraph::Project can enable/disable support for specific modules
* warn if sonargraph project contains no matching modules
* indexed headers can be detected from sonargraph project
2018-05-18 16:07:57 +02:00
mlangkabel e55ae5ba31 ui: added check() for errors in compiler flags in C/C++ project settings 2018-05-11 12:10:06 +02:00
mlangkabel ea7f900e81 logic: C/C++ errors without location are now recorded for current main file
* such an error occurrs if a "-include" flag is provided with a non-existing file"
2018-05-11 11:22:39 +02:00
mlangkabel 331c3e8c26 logic: fixed c/c++ indexing errors are not recorded inside macro expansion (issue #580) 2018-05-08 23:28:55 +02:00
mlangkabel e1df15a7b9 ui: disable re-pre-filling of indexed header paths for compilation database sourcegroups (issue #579)
* disable re-pre-filling of indexed header paths if these are empty when showing settings of a cdb sourgroup
* fixed indexed header path were not regarded when deciding if project settings have been updated
2018-05-08 11:13:10 +02:00
Eberhard Graether 568e2f3e36 ui: fixed crash when clicking on namespace label 2018-05-04 16:09:43 +02:00
mlangkabel bf2b56a69e ui: improved help dialog for compiler flags in project setup 2018-05-04 12:42:19 +02:00
mlangkabel f72f780862 logic: fixed handling case insensitive filepath matches when activating a symbol via editor plugin 2018-05-04 12:25:37 +02:00
Eberhard Graether 0ba6f9b7a0 src: minor improvements for release
* only reduce ideal thread count on windows
* show export compile commands flag in description
* not black in radio button
2018-05-03 22:14:01 +02:00
mlangkabel 9af5780c12 src: added language package classes and moved indexer instantiation there 2018-04-27 18:02:32 +02:00
mlangkabel a7ef02459a logic: fixed indexed header paths for compilation database project screw up the processing order of includes (issue #571)
* prevented indexed header paths for CDB to be appended to compile command
* fixed exists check for relative paths in QtSelectPathsDialog
* indexed header paths will automatically be updated when a new compilation database is picked
2018-04-27 17:51:03 +02:00
Eberhard Graether 872d24bf6a ui: Fixed single code view is scrollalbe below last line and scroll request show the wrong line 2018-04-27 13:22:40 +02:00
Eberhard Graether c249c6c794 ui: Allow tooltips to be as wide as the window (issue #570)
<description>
2018-04-26 00:08:11 +02:00
Eberhard Graether 67cec7dda7 ui: Improved graph layout
* wider gabs between buckets
* different column widths above and below horizontal edge split
* only use base/derived bundles for inheritance
2018-04-25 23:50:36 +02:00
mlangkabel d29cabd0b3 logic: fixed missing matches in fulltext search 2018-04-24 19:18:26 +02:00
mlangkabel bac9f7fbc4 build: added missing include for linux builds 2018-04-24 18:13:11 +02:00
mlangkabel b6692b9842 src: fixed typedef for Id because bitshift syntax for generated node ids failed on 64 bit windows 2018-04-24 17:34:21 +02:00
mlangkabel ca3e2f48ee logic: removed C/C++ "unparsed" check from indexer
Cxx AstVisitor re-visits previously or simultaneously indexed files because the "visible" content may have changed due to other preprocessor defines etc.
2018-04-24 13:25:06 +02:00
Eberhard Graether c5d0362df5 ui: Fixed crash in FilePath::makeCanonical and QtPathListBox making all settings paths relative 2018-04-24 11:44:28 +02:00
mlangkabel 5e0c0a6f18 ui: centered Sourcetrail logo in about dialog 2018-04-23 12:42:25 +02:00
mlangkabel f08f27717f logic: record and display include edges for non-indexed files
* non-indexed files are shown in graph view and in code view
* non-indexed files are ignored in search view, overview, stats and refresh dialog
2018-04-23 12:13:49 +02:00
Eberhard Graether 089ccb1d6c ui: updated about dialog 2018-04-21 06:04:05 +02:00
Eberhard Graether 83cd1b94b6 logic: Fixed license checker did not ignore commit number in expiration version 2018-04-21 04:54:59 +02:00
Eberhard Graether 91b4e80384 ui: adapt scroll target value in code single file mode as workaround when view scrolls below last line 2018-04-21 04:30:55 +02:00
Eberhard Graether fe38cfff6a logic: Fixed single file mode fulltext references and caching 2018-04-21 03:43:50 +02:00
Eberhard Graether e5280f99ca logic: Fixed loading of outversioned projects fails 2018-04-20 10:05:35 +02:00
Eberhard Graether e9877acf80 logic: Fixed updated files detection performance in project refresh 2018-04-20 10:00:37 +02:00
Eberhard Graether 5edaedfd37 ui: Improvements and fixes in graph layouting
* put nodes with bidirectional aggregations on the left
* layout aggregations either horizontal or vertical based on buckets
* exceed bucket height if only one element and vertical split
* fixed hiding nodes in sublayout showed empty spot
2018-04-19 18:54:34 +02:00
Eberhard Graether 1ee4f829a4 ui: switched edge offsets in graph 2018-04-19 15:33:21 +02:00
mlangkabel c340256425 data: updated EULA 2018-04-16 18:13:20 +02:00