Commit Graph
1868 Commits
Author SHA1 Message Date
Eberhard Graether ae66220ca9 ui: Fixed QtDirectoryListBox size not growing to maximum in include path detection 2018-01-26 12:40:07 +01:00
Eberhard Graether 849ee12192 ui: Fixed file content shown multiple times when clicking title button in non-indexed file with errors 2018-01-26 11:38:12 +01:00
mlangkabel 5577a901da ui: fixed line numbers still visible if overlayed by horizontal scroll bar 2018-01-26 10:44:23 +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
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.1 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 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