Commit Graph
2147 Commits
Author SHA1 Message Date
Malte LangkabelandGitHub 8a75946c73 logic: improve logging if exception occurred while loading project (#1004) 2020-05-08 16:09:29 +02:00
Frédéric SimonisandGitHub f86a4afdc5 ui: Add graph action 'copy to clipboard' (#999)
* Refactor image generation into separate function
2020-05-06 06:17:33 +02:00
Malte LangkabelandGitHub 6cef832329 ui: extend "compiler flags" help message (issue #974) (#990)
* extend help dialog for preprocessor defines in project setup to assign values to defines
* make documentation consistent with message box
2020-04-23 16:30:23 +02:00
Eberhard Graether 242fe22419 src: Minor refactorings in graph focus handling 2020-04-20 22:02:58 +02:00
Louis St-AmourandGitHub 224c89182a src: Apply clang-format and extend use to Java code (#973) 2020-04-19 14:11:48 +02:00
Eberhard GrätherandGitHub a6e02cc249 src: Fixed can't convert initializer list to const ref for some VS versions #986
regards #985
2020-04-19 12:19:18 +02:00
Malte LangkabelandGitHub 54c6f189b1 respect "super()" in python post processing (#964)
if a method call is qualified with "super()" only record edges pointing to the base class of the context of the callee
2020-04-06 20:16:27 +02:00
Eberhard GrätherandGitHub 2924c1c948 logic: Less restrictions for FilePath::isValid check on project location (#959)
Switch from using boost::filesystem::portable_name and boost::filesystem::portable_directory_name to using boost::filesystem::windows_name, which allows periods and spaces in paths.
Fixes #957
2020-04-03 15:27:31 +02:00
Eberhard GrätherandGitHub 0c577f2f69 ui: Refactored recent projects menu (#956)
fixes #848
2020-04-02 12:30:30 +02:00
Malte LangkabelandGitHub f6e8a2125d logic: respect class qualifyer in method call for python post processing (#951)
If the class of a called method is explicitly specified ("Base.__init__()"), only record an ambiguous edge to that method.
2020-03-30 21:24:23 +02:00
Eberhard GrätherandGitHub 31cbf6c11a logic: Fixed multiple main declarations not shown as separate symbols when declaring file has same name (#950)
regards #233
2020-03-30 13:49:14 +02:00
Eberhard GrätherandGitHub d13c21f6f3 ui/test: Manual testing fixes (#949)
* Fixed tooltip list items not activated on click
* Fixed crash when clearing focused graph edges after displaying graph with no edges
* Updated and fixed manual graph view tests
* Fixed previous location refocused when activating local symbol
* Fixed crash in graph view after showing empty graph
2020-03-29 23:32:49 +02:00
Eberhard Graether a4d1403722 docs: Updated documentation to release 2020.1
* removed steps from Source Group setup
* added installation guide for Linux AppImage
* added new focus navigation shortcuts
2020-03-29 17:26:09 +02:00
Eberhard GrätherandGitHub bf6a017720 build: Provide AppImage package for Linux (issue #279) (#945)
* Create AppImage package using linuxdeployqt in Travis CI
* Renamed appPath() to sharedDataPath()
* Fixed include error in tutorial
2020-03-29 17:10:30 +02:00
Eberhard GrätherandGitHub 76562bb8ee ui: Fixes related to focus navigation (#948)
Scroll graph area with Ctrl + Arrows
Moved graph zoom to Ctrl + Shift + Up/Down
Scroll code area with Ctrl + Arrows
Fixed graph showing focus when activating the active symbol
Made links in project description focus-able
Fixed parent graph node not showing focus after hovering edge to child node
2020-03-29 16:01:22 +02:00
Andreas StallingerandGitHub 57fd9f277a build: rename TestSettings in MigratorTestSuite to enable UNITY_BUILD (#947)
Run cmake (minimum version 3.16) with -DCMAKE_UNITY_BUILD=ON to reduce build time.
2020-03-27 14:38:55 +01:00
Eberhard GrätherandGitHub eaa263be44 ui: Fix copy shortcut for selected code broken #943
fixes #940
2020-03-23 18:10:21 +01:00
Eberhard GrätherandGitHub 38925292b7 ui: Iterate code references within the same line when holding Shift (#936) 2020-03-05 15:41:17 +01:00
Eberhard Graether 140e0059e8 ui: Make content of help dialogs selectable (issue #805) 2020-03-02 16:19:31 +01:00
Eberhard GrätherandGitHub b0616778f3 ui: Keyboard controls (#935)
* switch focus between views with Tab
* move focus within views with WASD/HJKL/Arrows
* move focus between graph edges by holding Shift
* move focus between code references by holding Shift
* removed graph panning with WASD and moved zooming to Alt + W/S
* removed graph navigation by pressing starting character in graph view lists
* changed local reference and custom trail shortcuts
* updated Keyboard Shortcuts window
* use common back and forward shortcuts and YZ & Shift + YZ
* fix macOS issue where widgets don't get proper focus after creating a new tab
* don't use shared_ptr in QtMainView

fixes #486, #327, #214, #210
2020-03-02 14:48:03 +01:00
f4b37f9763 logic: Fixing a crash in SharedMemory::ScopedAccess use (#912)
Co-authored-by: Eberhard Gräther <egraether@coati.io>
2020-03-02 12:23:57 +01:00
Malte LangkabelandGitHub 3e6d8fcce5 buid: fix remaining msvc warnings for 64 bit build (#934) 2020-03-02 09:51:15 +01:00
Malte LangkabelandGitHub ad464fc1b1 logic: discard non-existing paths in path detectors (#930)
This prevents the automatic path detection from adding paths to the project settings or application settings that cause the "you have missing paths" dialog to pop up when saving the settings.
2020-02-24 19:59:21 +01:00
Eberhard GrätherandGitHub 3a29d23a56 src: Fixed QtThreadedFunctor gets sometimes stuck (#926)
* It happens when executed both from Qt and TaskScheduler thread in parallel.
* I found that the signal within QtThreadedFunctorHelper::operator() was sometimes not emitted and therefore QtThreadedFunctorHelper::execute() was never called.
2020-02-19 09:06:25 +01:00
Malte LangkabelandGitHub 437f06d21b src: extract NoteType::Type to NodeKind (#925) 2020-02-14 20:35:02 +01:00
Malte LangkabelandGitHub a30f47e27f build: Treat warnings as errors (#923)
* squash and rebase andronov-alexey:treat_warnings_as_errors from pull request #850
* fix remaining warnings in java lib
2020-02-14 16:34:04 +01:00
Malte LangkabelandGitHub db95591645 util: Fix FilePath::isValid() and add tests (#908)
* fixed bug that caused FilePath to be invalid for files with extension
* added tests for FilePath::isValid()
fixes #907
2020-02-13 00:29:15 +01:00
Eberhard GrätherandGitHub 3be685dbc9 test: Fixed test code causing exceptions in FilePath::exists() (#921) 2020-02-12 23:29:51 +01:00
Eberhard GrätherandGitHub b0143adeed logic: Fix crash in update check on premature Qt object deletion (#920) 2020-02-12 22:14:20 +01:00
Waqar AhmedandGitHub 222e3d578a perf: Fix more clazy qstring-allocation warnings and pass parameters by reference (#910)
* Fix some more clazy-qstring-allocation warnings

* Fix missing refs on large types in lib_gui

* Fix trivially copyable types being passed by ref in lib_gui
2020-02-12 22:13:36 +01:00
Timothee "TTimo" BessetandGitHub 71ef2f31a1 util: Making FilePath::exists noexcept so the noexcept version of boost::filesystem::exists is used (#919) 2020-02-12 16:53:39 +01:00
Timothee "TTimo" BessetandGitHub 4da9c53931 logic: Fix an indexer crash (#911) 2020-02-12 08:20:20 +01:00
Eberhard GrätherandGitHub 08f43173c0 ui: Refresh UI state only after every style refresh in each view finished (#917)
Separated UI refresh into 'style' and 'state' refresh to avoid race condition between task scheduler thread and UI thread that affected code view state.
fixes #916
2020-02-11 01:19:44 +01:00
Eberhard GrätherandGitHub 9fc0a05c3b ui: Fixes in Source Group UI (issue #723) (#915)
* fixed Source Group setup from Visual Studio Extension
* fixed crashes in project setup due to use of std::shared_ptr
* fixed source file count not updated on 'show files' click
* fixed passing wheel events to parents when list boxes can't handle them
2020-02-10 23:45:31 +01:00
Eberhard GrätherandGitHub 9c40d26002 ui: Mark required contents with * in Source Group setup (issue #723) (#914)
* And show '*required' label at bottom of each page
2020-02-10 21:27:18 +01:00
Eberhard GrätherandGitHub 260f1227bc Removed multiple dialog steps in Source Group setup (issue #723) (#913)
* removed QtSourceGroupWizard, QtSourceGroupWizardPage and context types
* removed isInForm flag of QtProjectWizardContent
* added check of empty source paths
* set project window as parent for message boxes, so they don't get hidden behind main window
* fixed issues when removing and duplicating source groups
* updated project setup tests to no steps
2020-02-10 20:00:36 +01:00
Malte LangkabelandGitHub 7f9f098c70 logic: handled case when selected project location can not be written (issue #735) (#906) 2020-02-04 20:24:59 +01:00
Eberhard Graether 6662a8c41c src: Hotfix for issue #907 2020-02-03 18:08:11 +01:00
Malte LangkabelandGitHub 3a6beb76fc ui: fixed error help dialog not showing up during indexing (issue #740) (#904) 2020-02-03 15:45:09 +01:00
Waqar AhmedandGitHub f7923ebd75 logic: Allow changing the log file path in preferences (issue #156) (#900) 2020-02-03 10:54:52 +01:00
Waqar AhmedandGitHub ecaf25ead6 perf: Fix all clazy qstring-allocation warnings (#903) 2020-01-29 19:48:35 +01:00
technateNGandGitHub 9d26104d2f perf: PersistentStorage::getGraphForAll - avoiding second sqlite call. (#890)
* perf: PersistentStorage::getGraphForAll - avoiding second sqlite call.

* std::map -> std::unordered_map for m_symbolDefinitionKinds.

* src: Added PersistentStorage::addFileNodeToGraph.

* src: Refactor and Bugfixes in new implementation of getGraphForAll.

* std::map -> std::unordered_map for m_fileNodeIndexed.
* Added PersistentStorage::addNodeToGraph.
2020-01-29 18:30:22 +01:00
Malte LangkabelandGitHub 8cc4aaf6ea logic: fix crash when project directory contains non-latin character (issue #899) (#901)
* added "isValid()" to FilePath
* used "isValid" in check of selected project directory
2020-01-27 21:52:05 +01:00
Malte LangkabelandGitHub 719591a247 test: added test for fetching dependencies from gradle config (#897) 2020-01-20 11:47:26 +01:00
Malte LangkabelandGitHub a812a49b0c test: removed gradle tests to fix Linux CI (#895) 2020-01-15 23:32:51 +01:00
Eberhard Graether dedbc2eb27 data: Fixed endless recursion on cyclic inheritance edges
Fixed an endless recursion that happenes when the index contains cyclic inheritance relationships,
which might accidentally appear due to name collisions.
2020-01-14 00:14:05 +01:00
Malte LangkabelandGitHub c8dcb193ff test: added tests for gradle utility functions (#892) 2020-01-13 19:26:17 +01:00
technateNGandMalte Langkabel cbf8e3412f perf: Added utilities::caseInsensitiveLess. (#882)
* Added utilities::caseInsensitiveLess to compare two wstring arguments
* Replaced less comparision method in DummyNodeComp.
* Added tests for caseInsensitiveLess.
2020-01-10 07:55:47 +01:00
technateNGandMalte Langkabel 0dcb83403c perf: GetOverviewBundleNodeTypesOrdered to static const variable. (#878) 2020-01-07 12:44:44 +01:00
AlvodaandEberhard Gräther 2422e09b7f ui: Add 'close tabs to the right' context menu action to tab bar #822 (#875)
* first try to implement closeTabs toRight.

* removed .kdev4

* signals and slots mechanisms for closeTabstoRight now done correct.

* feature: add option to close tabs to the right on right-click context menu.

* indentation, whitespaces etc.
2020-01-04 11:00:18 +01:00