Commit Graph
597 Commits
Author SHA1 Message Date
mlangkabel bbf462d1fb logic: paths that are automatically filled by the project setup wizard will be made relative if they are shorter if the absolute paths 2018-06-15 18:39:03 +02:00
mlangkabel f0b423b319 logic: improved performance of code blocks indexed header detection 2018-06-15 13:35:27 +02:00
mlangkabel b1317457ab logic: added support for sonargraph manual cpp modules 2018-06-11 18:54:55 +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 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
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 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 f72f780862 logic: fixed handling case insensitive filepath matches when activating a symbol via editor plugin 2018-05-04 12:25:37 +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
Eberhard Graether 0e451fd768 logic: Fixed old ErrorInfos on UndoRedoStack showed non-existing errors 2018-04-10 16:04:24 +02:00
mlangkabel 648caa9c35 logic: fixed bug where adding an empty include path excludes everything 2018-04-10 15:52:02 +02:00
mlangkabel 835aedd669 logic: improved performance of initializing the fulltext search index
* implemented using multithreaing for building the fulltext search index
* also: decreased ideal thread count by 1 to keep the machine responsive while indexing and building the index
2018-04-10 12:40:51 +02:00
Eberhard Graether 5303187bea ui: Group graph nodes by file or namespace (issues #171, #439, #522)
* added buttons to enable grouping by file or namespace
* last used group settings saved to ApplicationSettings
* made groups hoverable/clickable on label only
* improved node hatching and override edge colors
* group overview lists

fortune cookie message = Seen with the eyes of love, everything gets a new meaning.
2018-04-09 00:09:22 +02:00
Eberhard Graether bbd003f047 logic: Group nodes in inheritance graph who have the same base and derived nodes (issue #459)
* added graph node for grouping nodes with separate sub-layout
* group nodes show name in top left corner
* clicking on single edge activates source locations of all edges
* removed separate setters for token components
* fixed text nodes missing or too many in list layout
* moved simple row and column layouts to ListLayouter
* added skewed layout type to ListLayouter

fortune cookie message = Sometimes you should have the courage and risk something.
2018-03-26 23:57:05 +02:00
Eberhard Graether 0d79639c96 src: Improved code view snippet generation performance 2018-03-22 01:46:35 +01:00
Eberhard Graether 66ac70850b ui: Added show errors button to title bar of incomplete files (issue #246)
* Shows all errors within the file and all included files.
2018-03-17 09:16:52 +01:00
mlangkabel 6acfe0688f logic: implemented usage of FilePathFilters for excluded paths
* removed check in settings for existing paths of exclude filters
2018-03-12 08:51:38 +01:00
Eberhard Graether 6bf5723278 script: Added accept-eula command to commandline API and use in CI 2018-03-05 13:56:49 +01:00
mlangkabel 73fd3a7212 logic: fixed tooltip text encoding and source locations
also removed duplicate of utilityString from lib
2018-03-02 12:45:36 +01:00
Eberhard Graether 0a1c1250dd logic: removed license options from commandline API, accept EULA via commandline if necessary 2018-02-27 23:07:14 +01:00
mlangkabel bae6bd73d6 src: replaced some usages of string by wstring in filepath 2018-02-26 15:03:28 +01:00
mlangkabel ca20cb7bc9 src: use nullptr instead of NULL 2018-02-23 19:11:35 +01:00
mlangkabel 0df32f239e logic: switched to wstring in include processing
* this allows for non-ascii characters in detected include paths and in processed include directives.
2018-02-23 18:20:55 +01:00
mlangkabel fc92cb1ad9 ui: use wstring in gui relates places
* loading icons
* loading fonts
* context menu action for copy path to clipboard
* context menu action for open containing folder
2018-02-19 12:45:47 +01:00
Eberhard Graether e7a3345f09 src: Fixed clang error 2018-02-14 00:35:44 +01:00
mlangkabel b2bad8ab05 logic: fixed handling non-ascii characters in cdb path and in cdb filename and command 2018-02-13 16:10:10 +01:00
mlangkabel a17af20793 src: removed unused string constructor from MessageStatus 2018-02-13 10:26:17 +01:00
mlangkabel 72c2596251 src: removed unused / unnecessary methods from FileSystem 2018-02-09 17:41:56 +01:00
mlangkabel e31624a4b7 src: switched to use only wstring for FilePath::filename and FilePath::extension 2018-02-09 17:04:17 +01:00
Eberhard Graether 9773c30fdc ui: Improved vertical layout for override and inheritance edges 2018-02-07 23:15:55 +01:00
mlangkabel 683b87d0b8 src: use wstring in symbol search 2018-02-06 21:03:54 +01:00
mlangkabel 5423d0b053 src: use wstring for showing text in QtTextEditDialog 2018-02-06 15:17:10 +01:00
mlangkabel f0b817eb0a src: broad refactoring to use FilePath.wstr() where easily possible 2018-02-06 11:35:36 +01:00
mlangkabel 9da3ac3d3c src: switch to wstring for printing messages 2018-02-06 10:03:46 +01:00
Eberhard Graether f943d93335 src: wstring fixes for clang 2018-02-05 18:17:13 +01:00
mlangkabel 9e041c1f0a logic: use wstring in symbol and bookmark names
* use wstring in symbol and bookmark names
* fixed setting apppath in windows includes
* regard utf8 encoding in shared indexer commands
* regard utf8 encoding in shared indexer status
2018-02-05 17:17:33 +01:00
mlangkabel c99e79364f logic: more wstring usages
* removed header paths from VS Project setup message since VS doesn't send these anymore
* implemented using wstring in IDE communication
* fixed retrieving filepaths from QtDirectoryListbox that contain special characters
* use wstring for source extensions
* added special character as file extension to FileManagerTestSuite
2018-01-30 17:07:51 +01:00
mlangkabel 471b1757df src: use boost instead of std for string conversion 2018-01-30 13:46:06 +01:00
mlangkabel ce72797ce2 src: Move string conversion from lib_gui to lib and use boost instead of Qt 2018-01-30 13:14:07 +01:00
mlangkabel 0dda63f7ae logic: used wstring in FilePath constructor
* used wstring in FilePath constructor where easily possible
* added FilePath concatenate method that accepts string parameter
* implemented using only wstring in MessageStatus
* used wstring in config
2018-01-30 11:00:23 +01:00
Eberhard Graether d953bcaa9d ui: Fixed correct location not always shown in single file code view when going back to activated edge 2018-01-28 23:32:37 +01:00
mlangkabel 7c863ddf00 logic: improved include detection
* also search for include paths of include directives extracted from header search paths
* extracted logic to gather unsolved includes
* extracted some code to filetree class
2018-01-23 21:35:53 +01:00
mlangkabel 8b3b3c3f00 build: Added portable Windows build
* implemented detecting if Sourcetrail runs as installed version by checking if user folder exists next to exe
* removed "deploy"-flag mechanism for windows builds
* moved code to set the app path for windows builds to includesWindows.h
* implemented functions in setup bash script to copy dlls
* bash functions for installer and portable packaging
2018-01-16 13:55:33 +01:00
Eberhard Graether 43c223368c ui: Change screen scaling on Linux (issue #518, #523)
* Set environment variables QT_AUTO_SCREEN_SCALE_FACTOR and QT_SCALE_FACTOR on Linux on app start
* Added ScreenAutoScaling and ScreenScaleFactor to ApplicationSettings with dropdown boxes in the preferences
  only visible on Linux
* Removed QtFontPicker and QtTextEncodingPicker
* Moved logging into preferences category "output"

fortune cookie message = You will have a peace of mind when you talk to an old friend
2018-01-16 11:01:32 +01:00
Eberhard Graether c479493e02 test: Fixed tests and removed test_log.txt
* Deleted PlainFileLogger
* Fixed clang warnings
2018-01-09 15:53:18 +01:00
mlangkabel f852481576 build: cleaned CMakeLists
* removed unused source files
* added extension to cmake references without extension
2018-01-09 12:35:28 +01:00