Commit Graph
2178 Commits
Author SHA1 Message Date
Eberhard Graether 56cac267a2 src: bug fixes
* fixed gaps in code view line indication for different fonts
* only allow latin fonts in fontpicker
* don't show 'files to clear' for full refresh
* fixed screen scale settings were visible on all platforms
2018-01-22 12:30:31 +01:00
mlangkabel 3348c886e5 ui: added 100% progress step for clearing files 2018-01-19 16:27:51 +01:00
mlangkabel 4ee0523b51 logic: fixed some memory leaks in gui code 2018-01-19 16:15:20 +01:00
mlangkabel f4dfc4e298 src: removed unused code 2018-01-19 09:54:59 +01:00
Eberhard Graether 1c6e3cb0da build: renamed Linux deleteConfig.sh to resetPreferences.sh and mention when changing screen settings 2018-01-16 16:13:07 +01:00
Eberhard Graether 5c3f067715 ui: Fixed history dropdown height 2018-01-16 15:44:35 +01:00
Eberhard Graether 365eadc807 ui: Fixed history list can't be clicked away on Linux 2018-01-16 15:31:04 +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 0a53d2828d ui: Added status checkbox for disabling Source Groups to project setup 2018-01-16 12:55:38 +01:00
mlangkabel 2c52425d99 ui: Showing indexing progress in windows task bar
* implemented showing indexing progress in windows taskbar button
* renamed TaskShowStatusDialog
* added "Qt5WinExtras.dll" for windows builds
2018-01-16 11:16:08 +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 6672127c68 build: Fixed linker problem in Linux build 2018-01-16 10:11:06 +01:00
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 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
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
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
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