Commit Graph
1852 Commits
Author SHA1 Message Date
mlangkabel 4c87845f8c logic: removed legacy code that copies settings from old "Coati" windows install 2018-01-16 09:33:09 +01:00
mlangkabel 68e86ad41a logic: removed "unknown" source group status type
* removed "unknown" source group status type and implemented falling back to
  "disabled", because "unknown" should not be handled anywhere in the rest of
  the code base.
2018-01-16 09:15:30 +01:00
mlangkabel 95e04cf485 logic: fixed recent clearing issue (introduced in cad064b9)
* fixed order so that clearing is done before saving the project settings in database
2018-01-15 19:19:36 +01:00
mlangkabel f7a5f98f85 Revert "data: updated cxx windows tests for using clang 6.0" 2018-01-15 19:09:57 +01:00
mlangkabel 9040c60585 logic: fixed timer issue in startIndexingDialog 2018-01-15 17:58:00 +01:00
mlangkabel cad064b9da logic: implemented disabling of source groups
* added source group status (enabled/disabled)
* fixed bug where the removal of an indexed directory has not affected the files to clear
* added lots of const and override keywords in SourceGroupSettings
2018-01-15 14:39:15 +01:00
mlangkabel c569f921a2 logic : Fixed no indexed information saved for compilation database referencing certain compiler (issue #531)
* changed order of compiler flags for CDB indexer commands so that manually added flags are appended to the flags form the compile command.
* removed usage of clang::tooling::FixedCompilationDatabase and used CompilationDatabaseSingle for empty and cdb indexer commands.
* removed reference to a specific clang tool (e.g. "cl" or "cl.exe") from compile command and prepended "clang-tool" before running the indexer.
2018-01-15 09:58:38 +01:00
mlangkabel 417f8d2286 data: updated cxx windows tests for using clang 6.0 2018-01-14 13:06:06 +01:00
Eberhard Graether 899f010959 src: Removed shared_ptr use for QtCodeSnippet in QtCodeFile 2018-01-13 14:21:54 +01:00
Eberhard Graether 2ac430bbe5 ui: Increased history dropdown list size to 50 2018-01-13 13:37:18 +01:00
Eberhard Graether 3f60f7a83c data: Still allow project refresh if database file can't be loaded 2018-01-12 19:57:11 +01:00
Eberhard Graether 05ff92fdea ui: fixed Linux issues
* no outline style for push buttons
* show error when not using Sourcetrail.sh script in console instead of message box, which won't load
2018-01-12 15:12:14 +01:00
Eberhard Graether 3edb759f0f ui: Display warning when depth graph has more than 1000 nodes 2018-01-12 14:14:57 +01:00
Eberhard Graether ab5cab3656 ui: fixes for release
* screen search matches in code view single not always cleared
* fixed copy full path in file title button broken
* fixed last snippet scrollbar not immediatly visible
2018-01-12 13:03:50 +01:00
mlangkabel 911c0fabba logic: implemented handling Microsoft inline assembly statements 2018-01-09 18:53:08 +01:00
Eberhard Graether e228f3477a ui: Fixed layout of QtPathListDialog 2018-01-09 17:27:33 +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 63590fc92d test: re-enabled tests for indexing sample projects on windows 2018-01-09 13:26:30 +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
mlangkabel 686ba504c2 ui: added automatic include path detection for C/C++ Source Groups 2018-01-09 12:13:16 +01:00
mlangkabel 978cf4f4ed logic: fixed Maven setup not working for project without sub-modules 2018-01-08 16:38:31 +01:00
Eberhard Graether 5bd37772fe ui: set lists readonly in QtDirectoryListBox 2018-01-08 12:38:30 +01:00
mlangkabel 1d636d6591 script: changed default windows install directory to ".../Sourcetrail/" 2018-01-08 09:58:28 +01:00
mlangkabel 8a26cf2b49 build: updated data references for windows installer 2018-01-05 17:30:11 +01:00
mlangkabel be1518140c ui: changed font color in windows installer image 2018-01-05 17:24:45 +01:00
Eberhard Graether 125e65e575 ui: fixed ui issues
* fixed dock title buttons on bottom on Windows
* fixed no gap between buttons on Linux
* fixed dark scheme title bar contrast
* fixed filter checkbox colors for dark schemes
2018-01-05 16:58:00 +01:00
mlangkabel 3ac18a9977 data: fixed sourcetrail loader gif not showing up on some windows systems
* added missing qt dlls to windows installer
2018-01-05 14:33:59 +01:00
Eberhard Graether ea8ab3df8e ui: Custom style for dock widget title bars
* avoid style loading in every view on application start
* improved contrast of reference label
* moved Reset Window Layout action up in View menu
2018-01-05 01:06:49 +01:00
Eberhard Graether c17f7dd3d4 data: Fixed indexing performance regression in FileRegister
* removed debug cout uses
* add source paths first as header search paths
2018-01-02 23:15:05 +01:00
mlangkabel 987faffaf2 utility: Added accumulated event tracer
* Added alternative tracer implementation that only stores an accumulation of trace
  events. This is useful for handling large amounts of traced events.
2018-01-02 21:22:46 +01:00
Eberhard Graether 33572e2104 src: Fixed Mac build and clang warnings 2018-01-02 12:58:11 +01:00
mlangkabel 592f5fb4b1 logic: improved performance of include validation
* added cache to store canonicalized versions of both, resolved as well as unresolved includes
2017-12-28 14:38:05 +01:00
mlangkabel cb3cf7d651 src: harmonized indexer command names
* some parts of the indexer were called "manual" while others used the
  name "empty". renamed everything that was called "manual" to "empty"
  to conform to names in GUI
2017-12-28 12:35:04 +01:00
mlangkabel 4686ce7e91 src: fixed some clang tidy warnings
* implemented CxxDeclName constructors that just move the members
* removed empty destructors because they disable default move constructors
* removed some unnecessary code
* replaced ".size() == 0" with ".empty()" because it's more explicit
2017-12-27 18:46:56 +01:00
mlangkabel 8b21d57750 src: implemented move constructor/assignment for filepath
* improves indexing performance by roughly 5%
* switched to use uniqu_ptr for boost path to get rid of including boost in header
* added different methods to change the current FilePath or to make a copy and change that one
* used these methods appropriately throughout the code base
* removed exists() method from FileSystem because it is already contained in FilePath
* added const in some places
2017-12-23 10:28:25 +01:00
mlangkabel 455c1230b1 logic: fixed bug where anonymous symbols were only partly named like the enclosing typedef
* removed post processing for anonymous typedefs. The storage transformation did not work in
  cases where the typedef is recorded in a previously indexed header. No type information
  was recorded while indexing the header a second time. But this type information would have
  been required by the transformation.
2017-12-21 19:36:16 +01:00
mlangkabel 1a9d736f28 src: improved cache implementation
* use const ref in cache
* improved performance of FilePath caching in FileRegister
2017-12-21 13:35:41 +01:00
mlangkabel 88d90bde8f logic: fixed policy for recording elements inside macro arguments and bodies 2017-12-21 12:50:37 +01:00
mlangkabel 30d4e61bb6 src: windows compilation fixes
* fixed msvc compiler error
* updated required jar names
2017-12-21 12:42:37 +01:00
Eberhard Graether f849c9d01d ui: fixes in project setup and indexing
* allow to ignore missing paths in project setup
* button to remove missing paths in project setup
* fixed progress dialog stays on empty project indexing
* don't unblock ui between indexin steps
2017-12-20 22:48:37 +01:00
Eberhard Graether bfa43df491 ui: switch to single file mode with snippet maximize
* switch back to snippet view with snippet button in file title bar
* use new title bar widget in single view as well
* restore view mode on undo, store current view mode for every message id (added id to message)
* treat view mode switch as adapt message on undo stack
* fixed crash after snippet expansion
* fixed hatching in file title not shown
2017-12-20 20:40:38 +01:00
Eberhard Graether 8672d14319 ui: Show title bar at top and scroll bar at bottom in code view snippet list if necessary (issues #432, #479)
* Show title bar at top of snippet list if first file is cut off
* Show scrollbar at bottom of snippet list if last snippet if cut off and horizontally scrollable
* Extended scrollRequest API to different ScrollTarget modes
* Fixed snippet extension broken if maximized first
* Split off title bar functionality to separate class QtCodeFileTitleBar
2017-12-17 13:25:11 +01:00
Eberhard Graether c91f5282f5 src: Fixed storage version not increased after removing error commandline 2017-12-16 15:06:23 +01:00
Eberhard Graether 618ed72241 ui: Fixed history dropdown click opened again when clicking on history button on Windows 2017-12-15 15:38:43 +01:00
Eberhard Graether 76f5ee1dc0 ui: Fixed issues related to refresh
* don't clear single file code view on ui refresh
* don't refresh ui when clicking refresh
* do ui refresh with Alt + Refresh
2017-12-15 14:50:37 +01:00
Eberhard Graether 90ad069485 logic: Fixed switch from commercial to non-commercial use did not remove license string 2017-12-15 13:52:41 +01:00
mlangkabel 0c01c39698 ui: added "Exported from Sourcetrail" note to saved graph images 2017-12-12 12:56:15 +01:00
mlangkabel 928aa45bfc data: removed storing commandline for errors
* reason: commandline string may be large (7GB for 20k errors in the UnrealEngine)
2017-12-12 10:04:44 +01:00
Eberhard Graether 4da2b1f8f4 ui: Small fixes
* slightly darker function color in code for bright scheme
* fixed title offset in indexing progress dialog
* show progress dialog while starting indexers
* fixed text covered by flag in finish indexing dialog
2017-12-12 00:15:24 +01:00
Eberhard Graether 99b0cf0ac9 ui: Group include validation results by file and add line breaks for readability 2017-12-11 22:59:48 +01:00