├── bin ├── test │ └── data │ │ ├── FilePathTestSuite │ │ ├── a.cpp │ │ ├── b.cc │ │ ├── test │ │ │ └── c.h │ │ ├── target │ │ │ └── d.cpp │ │ ├── container.package │ │ │ └── b.txt │ │ ├── parent │ │ │ └── target │ │ └── with space │ │ │ └── s.srctrlprj │ │ ├── SQLiteTestSuite │ │ └── .gitkeep │ │ ├── CommandlineTestSuite │ │ └── .gitkeep │ │ ├── FileManagerTestSuite │ │ ├── src │ │ │ ├── d.c │ │ │ ├── e.ü │ │ │ └── a.cpp │ │ └── include │ │ │ ├── b.hpp │ │ │ └── c.h │ │ ├── FileSystemTestSuite │ │ ├── Sound.hpp │ │ ├── src │ │ │ ├── self │ │ │ ├── Settings │ │ │ ├── main.cpp │ │ │ ├── test.h │ │ │ └── test.cpp │ │ ├── update.c │ │ ├── Settings │ │ │ ├── src │ │ │ ├── player.h │ │ │ └── sample.cpp │ │ └── main.cpp │ │ ├── UtilityGradleTestSuite │ │ ├── .gitignore │ │ └── simple_gradle_project │ │ │ ├── src │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── hello │ │ │ │ ├── Greeter.java │ │ │ │ └── HelloWorld.java │ │ │ └── gradle │ │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ │ ├── SourceGroupTestSuite │ │ ├── cxx_cdb │ │ │ └── input │ │ │ │ ├── src │ │ │ │ ├── Test.cpp │ │ │ │ └── Test.h │ │ │ │ ├── header_search │ │ │ │ └── local │ │ │ │ │ └── .gitkeep │ │ │ │ ├── framework_search │ │ │ │ └── local │ │ │ │ │ └── .gitkeep │ │ │ │ └── compile_commands.json │ │ ├── custom_command │ │ │ ├── input │ │ │ │ └── src │ │ │ │ │ ├── a.txt │ │ │ │ │ ├── b.txt │ │ │ │ │ ├── excluded │ │ │ │ │ └── b.txt │ │ │ │ │ └── included │ │ │ │ │ └── a.txt │ │ │ └── expected_output │ │ │ │ ├── output_unix.txt │ │ │ │ └── output_windows.txt │ │ ├── cxx_c_empty │ │ │ └── input │ │ │ │ ├── src │ │ │ │ ├── Test.c │ │ │ │ └── Test.h │ │ │ │ ├── header_search │ │ │ │ └── local │ │ │ │ │ └── .gitkeep │ │ │ │ └── framework_search │ │ │ │ └── local │ │ │ │ └── .gitkeep │ │ ├── cxx_cpp_empty │ │ │ └── input │ │ │ │ ├── src │ │ │ │ ├── Test.cpp │ │ │ │ └── Test.h │ │ │ │ ├── header_search │ │ │ │ └── local │ │ │ │ │ └── .gitkeep │ │ │ │ └── framework_search │ │ │ │ └── local │ │ │ │ └── .gitkeep │ │ ├── java_gradle │ │ │ ├── input │ │ │ │ ├── .gitignore │ │ │ │ ├── src │ │ │ │ │ └── main │ │ │ │ │ │ └── java │ │ │ │ │ │ └── hello │ │ │ │ │ │ ├── Greeter.java │ │ │ │ │ │ └── HelloWorld.java │ │ │ │ └── gradle │ │ │ │ │ └── wrapper │ │ │ │ │ ├── gradle-wrapper.jar │ │ │ │ │ └── gradle-wrapper.properties │ │ │ └── expected_output │ │ │ │ ├── output_unix.txt │ │ │ │ └── output_windows.txt │ │ ├── cxx_codeblocks │ │ │ └── input │ │ │ │ ├── src │ │ │ │ ├── Test.cpp │ │ │ │ └── header │ │ │ │ │ └── search │ │ │ │ │ └── path │ │ │ │ │ └── from │ │ │ │ │ └── cbp │ │ │ │ │ └── Test.h │ │ │ │ ├── framework_search │ │ │ │ └── local │ │ │ │ │ └── .gitkeep │ │ │ │ └── header_search │ │ │ │ └── local │ │ │ │ └── .gitkeep │ │ ├── java_empty │ │ │ └── input │ │ │ │ ├── classpath_dir │ │ │ │ └── .gitkeep │ │ │ │ ├── lib │ │ │ │ └── dependency.jar │ │ │ │ └── src │ │ │ │ └── foo │ │ │ │ ├── FooBar.java │ │ │ │ ├── Bar.java │ │ │ │ ├── Foo.java │ │ │ │ └── Main.java │ │ └── java_maven │ │ │ └── input │ │ │ └── my-app │ │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── com │ │ │ └── mycompany │ │ │ └── app │ │ │ ├── FooBar.java │ │ │ ├── Bar.java │ │ │ ├── Foo.java │ │ │ └── Main.java │ │ ├── CxxIncludeProcessingTestSuite │ │ ├── test_header_search_path_detection_finds_path_relative_to_sub_directory │ │ │ ├── a.h │ │ │ ├── include │ │ │ │ └── .gitkeep │ │ │ └── a.cpp │ │ ├── test_header_search_path_detection_finds_path_inside_sub_directory │ │ │ ├── include │ │ │ │ └── a.h │ │ │ └── a.cpp │ │ ├── test_header_search_path_detection_does_not_find_path_relative_to_including_file │ │ │ ├── a.h │ │ │ └── a.cpp │ │ ├── test_header_search_path_detection_finds_path_included_in_header_search_path │ │ │ ├── include_b │ │ │ │ └── b.h │ │ │ ├── a.cpp │ │ │ └── include_a │ │ │ │ └── a.h │ │ └── test_header_search_path_detection_finds_path_included_in_future_header_search_path │ │ │ ├── include_b │ │ │ └── b.h │ │ │ ├── a.cpp │ │ │ └── include_a │ │ │ └── a.h │ │ ├── LowMemoryStringMapTestSuite │ │ └── names.txt │ │ ├── CxxParserTestSuite │ │ └── header.h │ │ ├── JavaIndexSampleProjectsTestSuite │ │ └── JavaSymbolSolver060 │ │ │ ├── lib │ │ │ ├── guava-21.0.jar │ │ │ ├── javaslang-2.0.3.jar │ │ │ ├── javassist-3.19.0-GA.jar │ │ │ └── javaparser-core-3.3.0.jar │ │ │ └── src │ │ │ └── java-symbol-solver-model │ │ │ └── com │ │ │ └── github │ │ │ └── javaparser │ │ │ └── symbolsolver │ │ │ └── model │ │ │ └── declarations │ │ │ └── AnnotationDeclaration.java │ │ ├── ConfigManagerTestSuite │ │ └── test_data.xml │ │ └── UtilityMavenTestSuite │ │ ├── simple_maven_project │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── com │ │ │ └── mycompany │ │ │ └── app │ │ │ └── App.java │ │ └── nested_maven_project │ │ ├── module_1 │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── com │ │ │ └── mycompany │ │ │ └── app │ │ │ └── App.java │ │ └── module_2 │ │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── mycompany │ │ └── app │ │ └── App.java └── app │ ├── data │ └── fonts │ │ ├── Hack-Bold.ttf │ │ ├── Hack-Italic.ttf │ │ ├── Hack-Regular.ttf │ │ ├── Roboto-Bold.ttf │ │ ├── Hack-BoldItalic.ttf │ │ ├── Roboto-Regular.ttf │ │ ├── FiraSans-Regular.otf │ │ ├── FiraSans-SemiBold.otf │ │ ├── SourceCodePro-Bold.otf │ │ ├── SourceCodePro-Medium.otf │ │ └── SourceCodePro-Regular.otf │ └── user │ └── projects │ ├── tutorial │ └── src │ │ ├── string.h │ │ └── utility.h │ └── tictactoe_cpp │ └── src │ ├── main.cpp │ ├── game_object.h │ ├── io.h │ ├── player.cpp │ ├── tictactoe.h │ ├── io.cpp │ └── human_player.h ├── .github ├── FUNDING.yml └── workflows │ └── cmake-multi-platform.yml ├── projects ├── .gitignore └── README.md ├── testing ├── graph_view │ ├── data │ │ ├── depth_files │ │ │ ├── level_1_file_1.h │ │ │ ├── level_2_file_1.h │ │ │ ├── level_4_file_2.h │ │ │ ├── level_3_file_1.h │ │ │ ├── level_4_file_1.h │ │ │ └── level_5_file_1.h │ │ └── interaction_files │ │ │ ├── file.h │ │ │ └── include.h │ └── results │ │ └── controls_tests │ │ ├── export.JPEG │ │ ├── export.bmp │ │ └── export.png ├── project_setup │ ├── java_gradle │ │ ├── data │ │ │ ├── .gitignore │ │ │ ├── src │ │ │ │ └── main │ │ │ │ │ └── java │ │ │ │ │ └── hello │ │ │ │ │ ├── Greeter.java │ │ │ │ │ └── HelloWorld.java │ │ │ └── gradle │ │ │ │ └── wrapper │ │ │ │ ├── gradle-wrapper.jar │ │ │ │ └── gradle-wrapper.properties │ │ ├── 3_teardown.sh │ │ ├── 2_update.sh │ │ └── 1_setup.sh │ ├── cxx_cbp │ │ ├── data │ │ │ └── src │ │ │ │ ├── test.cpp │ │ │ │ ├── no_target.cpp │ │ │ │ ├── include │ │ │ │ ├── FooBar.h │ │ │ │ ├── Bar.h │ │ │ │ └── Foo.h │ │ │ │ └── main.cpp │ │ ├── 3_teardown.sh │ │ └── 2_update.sh │ ├── java_empty │ │ ├── data │ │ │ └── src │ │ │ │ └── foo │ │ │ │ ├── Bar.java │ │ │ │ ├── Foo.java │ │ │ │ ├── FooBar.java │ │ │ │ └── Main.java │ │ ├── 3_teardown.sh │ │ ├── 2_update.sh │ │ └── 1_setup.sh │ ├── cpp_empty_pch │ │ ├── data │ │ │ └── src │ │ │ │ ├── main.cpp │ │ │ │ ├── pch.h │ │ │ │ ├── Bar.h │ │ │ │ ├── Foo.h │ │ │ │ └── FooBar.h │ │ ├── 2_teardown.sh │ │ └── 1_setup.sh │ ├── cxx_cdb_pch │ │ ├── data │ │ │ └── src │ │ │ │ ├── main.cpp │ │ │ │ ├── include │ │ │ │ ├── FooBar.h │ │ │ │ ├── Foo.h │ │ │ │ └── Bar.h │ │ │ │ └── pch.h │ │ └── 2_teardown.sh │ ├── cpp_empty │ │ ├── data │ │ │ └── src │ │ │ │ ├── FooBar.h │ │ │ │ ├── main.cpp │ │ │ │ ├── Bar.h │ │ │ │ └── Foo.h │ │ ├── 3_teardown.sh │ │ ├── 2_update.sh │ │ └── 1_setup.sh │ ├── cxx_cdb │ │ ├── data │ │ │ └── src │ │ │ │ ├── include │ │ │ │ ├── FooBar.h │ │ │ │ ├── Bar.h │ │ │ │ └── Foo.h │ │ │ │ └── main.cpp │ │ ├── 3_teardown.sh │ │ └── 2_update.sh │ └── java_maven │ │ ├── data │ │ └── my-app │ │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── com │ │ │ └── mycompany │ │ │ └── app │ │ │ ├── Bar.java │ │ │ ├── Foo.java │ │ │ ├── FooBar.java │ │ │ └── Main.java │ │ ├── 3_teardown.sh │ │ ├── 2_update.sh │ │ └── 1_setup.sh ├── history │ └── data │ │ └── files │ │ ├── template.h │ │ ├── template.cpp │ │ ├── main.cpp │ │ ├── game_object.h │ │ ├── io.h │ │ ├── player.cpp │ │ ├── tictactoe.h │ │ ├── io.cpp │ │ └── human_player.h ├── search_view │ └── data │ │ └── files │ │ ├── template.h │ │ ├── main.cpp │ │ ├── game_object.h │ │ ├── io.h │ │ ├── player.cpp │ │ ├── template.cpp │ │ ├── tictactoe.h │ │ ├── io.cpp │ │ └── human_player.h ├── keyboard_controls │ └── data │ │ └── header.h └── code_view │ └── data │ ├── snippet_list_files │ ├── zimpl.h │ └── zimpl2.h │ ├── single_file_files │ └── reference2.h │ └── file_bar_files │ ├── non_indexed.h │ ├── incomplete.h │ └── non_indexed_and_incomplete.h ├── archive ├── .gitignore ├── encodeDecodeUtf8.cpp └── splitGraphemes.cpp ├── vcpkg-configuration.json ├── .gitmodules ├── src ├── app │ ├── Sourcetrail.ico │ ├── Sourcetrail.rc │ └── CMakeLists.txt ├── lib │ ├── data │ │ ├── indexer │ │ │ ├── IndexerBase.cpp │ │ │ ├── IndexerCommandProvider.cpp │ │ │ └── IndexerStateInfo.h │ │ ├── parser │ │ │ ├── Parser.cpp │ │ │ └── Parser.h │ │ ├── graph │ │ │ ├── token_component │ │ │ │ ├── TokenComponent.cpp │ │ │ │ ├── TokenComponentConst.cpp │ │ │ │ ├── TokenComponentStatic.cpp │ │ │ │ ├── TokenComponent.h │ │ │ │ ├── TokenComponentConst.h │ │ │ │ ├── TokenComponentStatic.h │ │ │ │ └── TokenComponentIsAmbiguous.h │ │ │ ├── ElementComponentKind.cpp │ │ │ └── ElementComponentKind.h │ │ ├── tooltip │ │ │ └── TooltipOrigin.h │ │ ├── DefinitionKind.cpp │ │ ├── DefinitionKind.h │ │ ├── storage │ │ │ ├── StorageStats.h │ │ │ └── type │ │ │ │ └── StorageSymbol.h │ │ ├── GroupType.h │ │ └── name │ │ │ └── NameDelimiterType.h │ ├── utility │ │ ├── messaging │ │ │ ├── MessageBase.cpp │ │ │ ├── MessageListenerBase.cpp │ │ │ ├── MessageFilter.h │ │ │ └── type │ │ │ │ ├── tab │ │ │ │ ├── MessageTabOpen.h │ │ │ │ ├── MessageTabClose.h │ │ │ │ └── MessageTabSelect.h │ │ │ │ ├── activation │ │ │ │ └── MessageActivateBase.h │ │ │ │ ├── MessageWindowChanged.h │ │ │ │ ├── bookmark │ │ │ │ ├── MessageBookmarkEdit.h │ │ │ │ ├── MessageBookmarkDelete.h │ │ │ │ └── MessageBookmarkCreate.h │ │ │ │ ├── MessageResetZoom.h │ │ │ │ ├── MessageShowStatus.h │ │ │ │ ├── error │ │ │ │ ├── MessageErrorsAll.h │ │ │ │ ├── MessageErrorCountClear.h │ │ │ │ ├── MessageErrorsForFile.h │ │ │ │ └── MessageErrorsHelpMessage.h │ │ │ │ ├── MessageProjectEdit.h │ │ │ │ ├── MessageActivateWindow.h │ │ │ │ ├── MessageQuitApplication.h │ │ │ │ ├── MessageClearStatusView.h │ │ │ │ ├── MessageWindowClosed.h │ │ │ │ ├── indexing │ │ │ │ ├── MessageIndexingStarted.h │ │ │ │ ├── MessageIndexingFinished.h │ │ │ │ ├── MessageIndexingShowDialog.h │ │ │ │ └── MessageIndexingInterrupted.h │ │ │ │ ├── plugin │ │ │ │ ├── MessagePingReceived.h │ │ │ │ └── MessagePluginPortChange.h │ │ │ │ ├── custom_trail │ │ │ │ └── MessageCustomTrailShow.h │ │ │ │ ├── MessageWindowFocus.h │ │ │ │ ├── MessageTooltipHide.h │ │ │ │ ├── graph │ │ │ │ └── MessageSaveAsImage.h │ │ │ │ ├── history │ │ │ │ ├── MessageHistoryRedo.h │ │ │ │ └── MessageHistoryUndo.h │ │ │ │ ├── MessageProjectNew.h │ │ │ │ └── search │ │ │ │ └── MessageFind.h │ │ ├── types.h │ │ ├── utility.cpp │ │ ├── ScopedFunctor.cpp │ │ ├── Tree.h │ │ ├── file │ │ │ ├── FileInfo.cpp │ │ │ └── FileInfo.h │ │ ├── ScopedFunctor.h │ │ ├── utilityUuid.h │ │ ├── Id.cpp │ │ ├── Status.h │ │ ├── ScopedSwitcher.h │ │ └── scheduling │ │ │ └── TaskLambda.cpp │ ├── project │ │ ├── SourceGroupFactoryModule.cpp │ │ ├── RefreshInfo.cpp │ │ ├── RefreshInfo.h │ │ └── SourceGroupFactoryModuleCustom.h │ ├── component │ │ ├── NetworkFactory.cpp │ │ ├── view │ │ │ ├── ViewWidgetWrapper.cpp │ │ │ ├── TabsView.cpp │ │ │ ├── ErrorView.cpp │ │ │ ├── StatusView.cpp │ │ │ ├── ViewWidgetWrapper.h │ │ │ ├── TooltipView.cpp │ │ │ ├── ViewLayout.cpp │ │ │ ├── GraphView.cpp │ │ │ ├── ScreenSearchView.cpp │ │ │ ├── BookmarkView.cpp │ │ │ ├── StatusBarView.cpp │ │ │ ├── SearchView.cpp │ │ │ ├── RefreshView.h │ │ │ ├── RefreshView.cpp │ │ │ ├── UndoRedoView.cpp │ │ │ ├── CodeView.cpp │ │ │ ├── StatusView.h │ │ │ └── GraphViewStyleImpl.h │ │ ├── controller │ │ │ ├── RefreshController.cpp │ │ │ ├── Controller.cpp │ │ │ └── RefreshController.h │ │ └── NetworkFactory.h │ ├── app │ │ ├── LanguagePackage.h │ │ └── paths │ │ │ ├── UserPaths.h │ │ │ ├── ResourcePaths.h │ │ │ └── AppPath.h │ └── settings │ │ └── source_group │ │ ├── SourceGroupStatusType.h │ │ └── SourceGroupSettingsBase.h ├── resources │ ├── icon │ │ ├── c_icon.png │ │ ├── project.ico │ │ ├── vs_icon.png │ │ ├── cbp_icon.png │ │ ├── cdb_icon.png │ │ ├── cpp_icon.png │ │ ├── empty_icon.png │ │ ├── java_icon.png │ │ ├── mvn_icon.png │ │ ├── gradle_icon.png │ │ ├── logo_1024_1024.png │ │ └── project_256_256.png │ ├── window │ │ ├── dots.png │ │ ├── help.png │ │ ├── logo.png │ │ ├── minus.png │ │ ├── plus.png │ │ ├── refresh.png │ │ ├── dots_hover.png │ │ ├── help_hover.png │ │ ├── plus_hover.png │ │ ├── minus_hover.png │ │ ├── refresh_hover.png │ │ ├── size_grip_black.png │ │ ├── size_grip_white.png │ │ ├── source_group_add.png │ │ ├── source_group_copy.png │ │ ├── source_group_delete.png │ │ ├── source_group_add_hover.png │ │ ├── source_group_copy_hover.png │ │ └── source_group_delete_hover.png │ ├── indexing_dialog │ │ ├── flag.png │ │ ├── error.png │ │ └── progress_bar_element.png │ ├── statusbar_view │ │ ├── dot.png │ │ └── loader.gif │ ├── tabbed_view │ │ ├── arrow_up.png │ │ └── arrow_down.png │ ├── tabs_view │ │ └── images │ │ │ ├── add.png │ │ │ └── close.png │ ├── about │ │ ├── logo_sourcetrail.png │ │ └── about.css │ ├── code_view │ │ └── images │ │ │ ├── edit.png │ │ │ ├── file.png │ │ │ ├── list.png │ │ │ ├── arrow_up.png │ │ │ ├── arrow_down.png │ │ │ ├── arrow_left.png │ │ │ ├── arrow_right.png │ │ │ ├── pattern_dark.png │ │ │ ├── pattern_grey.png │ │ │ ├── maximize_active.png │ │ │ ├── pattern_bright.png │ │ │ ├── snippet_active.png │ │ │ ├── button_background.png │ │ │ ├── maximize_inactive.png │ │ │ ├── snippet_arrow_down.png │ │ │ ├── snippet_inactive.png │ │ │ └── snippet_arrow_right.png │ ├── graph_view │ │ └── images │ │ │ ├── enum.png │ │ │ ├── file.png │ │ │ ├── arrow.png │ │ │ ├── bundle.png │ │ │ ├── default.png │ │ │ ├── graph.png │ │ │ ├── legend.png │ │ │ ├── macro.png │ │ │ ├── pattern.png │ │ │ ├── private.png │ │ │ ├── public.png │ │ │ ├── typedef.png │ │ │ ├── zoom_in.png │ │ │ ├── graph_up.png │ │ │ ├── namespace.png │ │ │ ├── protected.png │ │ │ ├── template.png │ │ │ ├── zoom_out.png │ │ │ ├── annotation.png │ │ │ ├── graph_arrow.png │ │ │ ├── graph_custom.png │ │ │ ├── graph_down.png │ │ │ ├── graph_left.png │ │ │ ├── graph_right.png │ │ │ ├── file_incomplete.png │ │ │ └── group_namespace.png │ ├── main │ │ └── images │ │ │ ├── close_grey.png │ │ │ ├── float_grey.png │ │ │ ├── close_black.png │ │ │ ├── close_white.png │ │ │ ├── float_black.png │ │ │ └── float_white.png │ ├── history_list │ │ └── images │ │ │ └── arrow.png │ ├── search_view │ │ └── images │ │ │ ├── arrow.png │ │ │ ├── home.png │ │ │ └── search.png │ ├── startscreen │ │ ├── delete_icon.png │ │ └── github_icon.png │ ├── refresh_view │ │ └── images │ │ │ └── refresh.png │ ├── undoredo_view │ │ └── images │ │ │ ├── history.png │ │ │ ├── arrow_left.png │ │ │ └── arrow_right.png │ ├── bookmark_view │ │ └── images │ │ │ ├── arrow_down.png │ │ │ ├── arrow_right.png │ │ │ ├── arrow_line_up.png │ │ │ ├── arrow_line_down.png │ │ │ ├── bookmark_active.png │ │ │ ├── bookmark_edit_icon.png │ │ │ ├── bookmark_list_icon.png │ │ │ ├── edit_bookmark_icon.png │ │ │ └── bookmark_delete_icon.png │ ├── custom_trail_view │ │ └── images │ │ │ └── circle.png │ └── screen_search_view │ │ └── images │ │ └── close.png ├── lib_gui │ ├── utility │ │ └── path_detector │ │ │ ├── java_runtime │ │ │ ├── JavaPathDetector.cpp │ │ │ ├── JavaPathDetector.h │ │ │ └── JavaPathDetectorLinuxWindowsMac.h │ │ │ ├── maven_executable │ │ │ └── MavenPathDetectorUnixWindows.h │ │ │ └── cxx_header │ │ │ ├── CxxHeaderPathDetector.h │ │ │ └── CxxFrameworkPathDetector.h │ ├── qt │ │ ├── element │ │ │ ├── status │ │ │ │ ├── QtVerticalLine.cpp │ │ │ │ ├── QtVerticalLine.h │ │ │ │ ├── QtFlatButton.cpp │ │ │ │ └── QtFlatButton.h │ │ │ ├── dialog │ │ │ │ ├── QtLineEdit.cpp │ │ │ │ ├── QtStringListBoxItem.cpp │ │ │ │ ├── QtLineEdit.h │ │ │ │ ├── QtTextEdit.h │ │ │ │ └── QtTextEdit.cpp │ │ │ ├── button │ │ │ │ ├── QtPushButton.cpp │ │ │ │ ├── QtExpanderButton.h │ │ │ │ ├── QtPushButton.h │ │ │ │ └── QtHoverButton.h │ │ │ └── search │ │ │ │ └── QtSearchBarButton.h │ │ ├── window │ │ │ ├── QtAbout.h │ │ │ └── QtLicenseWindow.h │ │ ├── utility │ │ │ ├── QtMessageBox.cpp │ │ │ ├── compatibilityQt.h │ │ │ └── QtHelpButtonInfo.h │ │ ├── QtApplication.h │ │ ├── network │ │ │ ├── QtNetworkFactory.h │ │ │ └── QtNetworkFactory.cpp │ │ └── graphics │ │ │ └── base │ │ │ └── QtLineItemAngled.h │ └── platform │ │ └── setupApp.h ├── lib_java │ ├── LanguagePackageJava.cpp │ ├── LanguagePackageJava.h │ ├── data │ │ └── indexer │ │ │ └── IndexerJava.cpp │ ├── utility │ │ └── utilityGradle.h │ └── project │ │ └── SourceGroupFactoryModuleJava.h ├── lib_cxx │ ├── LanguagePackageCxx.cpp │ ├── LanguagePackageCxx.h │ ├── data │ │ ├── parser │ │ │ └── cxx │ │ │ │ ├── SingleFrontendActionFactory.cpp │ │ │ │ ├── CxxAstVisitorComponent.cpp │ │ │ │ ├── ClangInvocationInfo.h │ │ │ │ └── SingleFrontendActionFactory.h │ │ └── indexer │ │ │ └── IndexerCxx.h │ └── project │ │ └── SourceGroupFactoryModuleCxx.h ├── test │ ├── helper │ │ ├── TestFileRegister.h │ │ └── TestFileRegister.cpp │ ├── PlatformTestSuite.cpp │ └── Catch2.cpp ├── external │ └── CMakeLists.txt ├── lib_aidkit │ └── CMakeLists.txt └── indexer │ └── CMakeLists.txt ├── docs ├── documentation │ ├── logo.png │ ├── concept.png │ ├── tab_bar.png │ ├── tooltip.png │ ├── call_graph.png │ ├── code_view.png │ ├── edge_call.png │ ├── error_view.png │ ├── graph_view.png │ ├── indexing.png │ ├── node_class.png │ ├── node_enum.png │ ├── node_file.png │ ├── node_group.png │ ├── node_macro.png │ ├── node_type.png │ ├── search_bar.png │ ├── status_bar.png │ ├── custom_trail.png │ ├── edge_include.png │ ├── eula_window.png │ ├── graph_legend.png │ ├── history_list.png │ ├── main_screen.png │ ├── main_window.png │ ├── node_bundle.png │ ├── node_typedef.png │ ├── placeholder.png │ ├── search_view.png │ ├── snippet_file.png │ ├── start_window.png │ ├── edge_override.png │ ├── edge_type_usage.png │ ├── grouping_file.png │ ├── indexing_dialog.png │ ├── node_function.png │ ├── node_namespace.png │ ├── node_variable.png │ ├── overview_button.png │ ├── path_list_box.png │ ├── progress_dialog.png │ ├── refresh_button.png │ ├── vs_log_folder.png │ ├── vs_plugin_menu.png │ ├── bookmark_buttons.png │ ├── bookmark_creator.png │ ├── bookmark_manager.png │ ├── code_view_single.png │ ├── code_view_snippet.png │ ├── edge_inheritance.png │ ├── edge_variable_use.png │ ├── graph_view_graph.png │ ├── grouping_buttons.png │ ├── installation_mac.png │ ├── node_non_indexed.png │ ├── snippet_minimized.png │ ├── snippet_snippets.png │ ├── status_view_error.png │ ├── undo_redo_buttons.png │ ├── vs_output_window.png │ ├── vs_plugin_ports_0.png │ ├── vs_plugin_ports_1.png │ ├── edge_bundled_edges.png │ ├── edge_template_param.png │ ├── edit_project_summary.png │ ├── grouping_namespace.png │ ├── new_project_summary.png │ ├── onscreen_search_bar.png │ ├── path_list_box_edit.png │ ├── plugin_use_in_clion.png │ ├── preferences_screen.png │ ├── search_view_fulltext.png │ ├── status_view_status.png │ ├── vs_extension_dialog.png │ ├── code_view_show_errors.png │ ├── plugin_use_in_eclipse.png │ ├── search_view_completion.png │ ├── select_license_window.png │ ├── start_indexing_dialog.png │ ├── finished_indexing_dialog.png │ ├── node_template_parameter.png │ ├── plugin_use_in_sourcetrail.png │ ├── project_setup_wizard_edit.png │ ├── interrupted_indexing_dialog.png │ ├── plugin_use_in_sublime_text.png │ ├── plugin_use_in_visual_studio.png │ ├── plugin_use_in_visual_studio.psd │ ├── project_setup_wizard_start.png │ ├── project_setup_wizard_start_cdb.png │ ├── project_setup_wizard_start_vs.png │ ├── edge_template_member_specialization.png │ ├── project_setup_wizard_visual_studio.png │ ├── project_setup_wizard_start_java_empty.png │ ├── project_setup_wizard_start_java_maven.png │ ├── project_setup_wizard_source_group_type.png │ ├── project_setup_wizard_start_java_gradle.png │ └── project_setup_wizard_start_python_empty.png ├── readme │ └── user_interface.png └── technical_notes │ ├── control_flow_graph-CFG │ ├── readme.md │ └── output.txt │ └── abstract_syntax_tree-AST │ └── Java-Eclipse-JDT-AST.md ├── java_indexer ├── .settings │ ├── org.eclipse.m2e.core.prefs │ └── org.eclipse.core.resources.prefs └── src │ └── main │ └── java │ └── com │ └── sourcetrail │ ├── name │ └── SymbolName.java │ ├── Position.java │ └── DefinitionKind.java ├── scripts ├── _gdbinit ├── generate_coverage_report.sh └── enable_perf_kernel_parameters.sh ├── .gitattributes ├── .gitignore ├── cmake ├── language_packages.h.in ├── productVersion.h.in └── licenses.h.in └── run-clang-tidy-fix.sh /bin/test/data/FilePathTestSuite/a.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/FilePathTestSuite/b.cc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/SQLiteTestSuite/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: petermost 2 | -------------------------------------------------------------------------------- /bin/test/data/CommandlineTestSuite/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/FileManagerTestSuite/src/d.c: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/FileManagerTestSuite/src/e.ü: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/FilePathTestSuite/test/c.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/FileSystemTestSuite/Sound.hpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/FileManagerTestSuite/include/b.hpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/FileManagerTestSuite/src/a.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/FilePathTestSuite/target/d.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/FileSystemTestSuite/src/self: -------------------------------------------------------------------------------- 1 | self -------------------------------------------------------------------------------- /bin/test/data/FileSystemTestSuite/update.c: -------------------------------------------------------------------------------- 1 | update -------------------------------------------------------------------------------- /projects/.gitignore: -------------------------------------------------------------------------------- 1 | sourcetrail_dependencies 2 | -------------------------------------------------------------------------------- /bin/test/data/FileManagerTestSuite/include/c.h: -------------------------------------------------------------------------------- 1 | update -------------------------------------------------------------------------------- /bin/test/data/FileSystemTestSuite/Settings/src: -------------------------------------------------------------------------------- 1 | ../src/ -------------------------------------------------------------------------------- /testing/graph_view/data/depth_files/level_1_file_1.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/FilePathTestSuite/container.package/b.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/FilePathTestSuite/parent/target: -------------------------------------------------------------------------------- 1 | ../target -------------------------------------------------------------------------------- /bin/test/data/FilePathTestSuite/with space/s.srctrlprj: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/FileSystemTestSuite/src/Settings: -------------------------------------------------------------------------------- 1 | ../Settings -------------------------------------------------------------------------------- /bin/test/data/FileSystemTestSuite/src/main.cpp: -------------------------------------------------------------------------------- 1 | ../main.cpp -------------------------------------------------------------------------------- /bin/test/data/UtilityGradleTestSuite/.gitignore: -------------------------------------------------------------------------------- 1 | .gradle/ 2 | -------------------------------------------------------------------------------- /testing/project_setup/java_gradle/data/.gitignore: -------------------------------------------------------------------------------- 1 | .gradle/ 2 | -------------------------------------------------------------------------------- /archive/.gitignore: -------------------------------------------------------------------------------- 1 | # This is an archive, so dom't ignore any files. -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/cxx_cdb/input/src/Test.cpp: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/cxx_cdb/input/src/Test.h: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/custom_command/input/src/a.txt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/custom_command/input/src/b.txt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/cxx_c_empty/input/src/Test.c: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/cxx_c_empty/input/src/Test.h: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/cxx_cpp_empty/input/src/Test.cpp: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/cxx_cpp_empty/input/src/Test.h: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/java_gradle/input/.gitignore: -------------------------------------------------------------------------------- 1 | .gradle/ -------------------------------------------------------------------------------- /testing/graph_view/data/interaction_files/file.h: -------------------------------------------------------------------------------- 1 | 2 | class File {}; 3 | -------------------------------------------------------------------------------- /bin/test/data/FileSystemTestSuite/src/test.h: -------------------------------------------------------------------------------- 1 | class Test 2 | { 3 | 4 | }; 5 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/cxx_cdb/input/header_search/local/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/cxx_codeblocks/input/src/Test.cpp: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/java_empty/input/classpath_dir/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/java_empty/input/lib/dependency.jar: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /bin/test/data/FileSystemTestSuite/src/test.cpp: -------------------------------------------------------------------------------- 1 | void test() 2 | { 3 | 4 | } 5 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/custom_command/input/src/excluded/b.txt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/custom_command/input/src/included/a.txt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/cxx_c_empty/input/header_search/local/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/cxx_cdb/input/framework_search/local/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/cxx_cpp_empty/input/header_search/local/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testing/graph_view/data/depth_files/level_2_file_1.h: -------------------------------------------------------------------------------- 1 | #include "level_1_file_1.h" -------------------------------------------------------------------------------- /testing/graph_view/data/depth_files/level_4_file_2.h: -------------------------------------------------------------------------------- 1 | #include "level_2_file_1.h" -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/cxx_c_empty/input/framework_search/local/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/cxx_codeblocks/input/framework_search/local/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/cxx_codeblocks/input/header_search/local/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/cxx_cpp_empty/input/framework_search/local/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vcpkg-configuration.json: -------------------------------------------------------------------------------- 1 | { 2 | "overlay-triplets": [ "./vcpkg-triplets/" ] 3 | } 4 | -------------------------------------------------------------------------------- /testing/project_setup/cxx_cbp/data/src/test.cpp: -------------------------------------------------------------------------------- 1 | void test() 2 | { 3 | int a = 42; 4 | } 5 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "vcpkg"] 2 | path = vcpkg 3 | url = https://github.com/Microsoft/vcpkg.git 4 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/cxx_codeblocks/input/src/header/search/path/from/cbp/Test.h: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /src/app/Sourcetrail.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/app/Sourcetrail.ico -------------------------------------------------------------------------------- /testing/project_setup/cxx_cbp/data/src/no_target.cpp: -------------------------------------------------------------------------------- 1 | void no_target() 2 | { 3 | int b = 7; 4 | } 5 | -------------------------------------------------------------------------------- /docs/documentation/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/logo.png -------------------------------------------------------------------------------- /src/lib/data/indexer/IndexerBase.cpp: -------------------------------------------------------------------------------- 1 | #include "IndexerBase.h" 2 | 3 | IndexerBase::IndexerBase() = default; 4 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/MessageBase.cpp: -------------------------------------------------------------------------------- 1 | #include "MessageBase.h" 2 | 3 | Id MessageBase::s_nextId = 1; 4 | -------------------------------------------------------------------------------- /testing/graph_view/data/depth_files/level_3_file_1.h: -------------------------------------------------------------------------------- 1 | #include "level_2_file_1.h" 2 | #include "level_1_file_1.h" -------------------------------------------------------------------------------- /testing/graph_view/data/depth_files/level_4_file_1.h: -------------------------------------------------------------------------------- 1 | #include "level_3_file_1.h" 2 | #include "level_2_file_1.h" -------------------------------------------------------------------------------- /testing/graph_view/data/depth_files/level_5_file_1.h: -------------------------------------------------------------------------------- 1 | #include "level_4_file_1.h" 2 | #include "level_4_file_2.h" -------------------------------------------------------------------------------- /bin/test/data/CxxIncludeProcessingTestSuite/test_header_search_path_detection_finds_path_relative_to_sub_directory/a.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/documentation/concept.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/concept.png -------------------------------------------------------------------------------- /docs/documentation/tab_bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/tab_bar.png -------------------------------------------------------------------------------- /docs/documentation/tooltip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/tooltip.png -------------------------------------------------------------------------------- /docs/readme/user_interface.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/readme/user_interface.png -------------------------------------------------------------------------------- /projects/README.md: -------------------------------------------------------------------------------- 1 | This directory contains Sourcetrail projects which can be used to index its own source files. 2 | -------------------------------------------------------------------------------- /src/lib/utility/types.h: -------------------------------------------------------------------------------- 1 | #ifndef TYPES_H 2 | #define TYPES_H 3 | 4 | #include "Id.h" 5 | 6 | #endif // TYPES_H 7 | -------------------------------------------------------------------------------- /src/resources/icon/c_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/icon/c_icon.png -------------------------------------------------------------------------------- /src/resources/icon/project.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/icon/project.ico -------------------------------------------------------------------------------- /src/resources/icon/vs_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/icon/vs_icon.png -------------------------------------------------------------------------------- /src/resources/window/dots.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/window/dots.png -------------------------------------------------------------------------------- /src/resources/window/help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/window/help.png -------------------------------------------------------------------------------- /src/resources/window/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/window/logo.png -------------------------------------------------------------------------------- /src/resources/window/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/window/minus.png -------------------------------------------------------------------------------- /src/resources/window/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/window/plus.png -------------------------------------------------------------------------------- /bin/app/data/fonts/Hack-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/bin/app/data/fonts/Hack-Bold.ttf -------------------------------------------------------------------------------- /bin/test/data/CxxIncludeProcessingTestSuite/test_header_search_path_detection_finds_path_inside_sub_directory/include/a.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/documentation/call_graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/call_graph.png -------------------------------------------------------------------------------- /docs/documentation/code_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/code_view.png -------------------------------------------------------------------------------- /docs/documentation/edge_call.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/edge_call.png -------------------------------------------------------------------------------- /docs/documentation/error_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/error_view.png -------------------------------------------------------------------------------- /docs/documentation/graph_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/graph_view.png -------------------------------------------------------------------------------- /docs/documentation/indexing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/indexing.png -------------------------------------------------------------------------------- /docs/documentation/node_class.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/node_class.png -------------------------------------------------------------------------------- /docs/documentation/node_enum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/node_enum.png -------------------------------------------------------------------------------- /docs/documentation/node_file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/node_file.png -------------------------------------------------------------------------------- /docs/documentation/node_group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/node_group.png -------------------------------------------------------------------------------- /docs/documentation/node_macro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/node_macro.png -------------------------------------------------------------------------------- /docs/documentation/node_type.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/node_type.png -------------------------------------------------------------------------------- /docs/documentation/search_bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/search_bar.png -------------------------------------------------------------------------------- /docs/documentation/status_bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/status_bar.png -------------------------------------------------------------------------------- /src/resources/icon/cbp_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/icon/cbp_icon.png -------------------------------------------------------------------------------- /src/resources/icon/cdb_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/icon/cdb_icon.png -------------------------------------------------------------------------------- /src/resources/icon/cpp_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/icon/cpp_icon.png -------------------------------------------------------------------------------- /src/resources/icon/empty_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/icon/empty_icon.png -------------------------------------------------------------------------------- /src/resources/icon/java_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/icon/java_icon.png -------------------------------------------------------------------------------- /src/resources/icon/mvn_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/icon/mvn_icon.png -------------------------------------------------------------------------------- /src/resources/window/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/window/refresh.png -------------------------------------------------------------------------------- /testing/history/data/files/template.h: -------------------------------------------------------------------------------- 1 | 2 | template 3 | T diff(T a, T b) 4 | { 5 | return a - b; 6 | } 7 | -------------------------------------------------------------------------------- /testing/project_setup/java_empty/data/src/foo/Bar.java: -------------------------------------------------------------------------------- 1 | package foo; 2 | 3 | class Bar implements FooBar 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /testing/project_setup/java_empty/data/src/foo/Foo.java: -------------------------------------------------------------------------------- 1 | package foo; 2 | 3 | class Foo implements FooBar 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /testing/project_setup/java_empty/data/src/foo/FooBar.java: -------------------------------------------------------------------------------- 1 | package foo; 2 | 3 | public interface FooBar 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /bin/app/data/fonts/Hack-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/bin/app/data/fonts/Hack-Italic.ttf -------------------------------------------------------------------------------- /bin/app/data/fonts/Hack-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/bin/app/data/fonts/Hack-Regular.ttf -------------------------------------------------------------------------------- /bin/app/data/fonts/Roboto-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/bin/app/data/fonts/Roboto-Bold.ttf -------------------------------------------------------------------------------- /bin/test/data/CxxIncludeProcessingTestSuite/test_header_search_path_detection_does_not_find_path_relative_to_including_file/a.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/LowMemoryStringMapTestSuite/names.txt: -------------------------------------------------------------------------------- 1 | Eberhard 2 | Gräther 3 | Gräber 4 | Gröber 5 | Österreich 6 | Ostern 7 | Öl -------------------------------------------------------------------------------- /docs/documentation/custom_trail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/custom_trail.png -------------------------------------------------------------------------------- /docs/documentation/edge_include.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/edge_include.png -------------------------------------------------------------------------------- /docs/documentation/eula_window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/eula_window.png -------------------------------------------------------------------------------- /docs/documentation/graph_legend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/graph_legend.png -------------------------------------------------------------------------------- /docs/documentation/history_list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/history_list.png -------------------------------------------------------------------------------- /docs/documentation/main_screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/main_screen.png -------------------------------------------------------------------------------- /docs/documentation/main_window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/main_window.png -------------------------------------------------------------------------------- /docs/documentation/node_bundle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/node_bundle.png -------------------------------------------------------------------------------- /docs/documentation/node_typedef.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/node_typedef.png -------------------------------------------------------------------------------- /docs/documentation/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/placeholder.png -------------------------------------------------------------------------------- /docs/documentation/search_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/search_view.png -------------------------------------------------------------------------------- /docs/documentation/snippet_file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/snippet_file.png -------------------------------------------------------------------------------- /docs/documentation/start_window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/start_window.png -------------------------------------------------------------------------------- /src/resources/icon/gradle_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/icon/gradle_icon.png -------------------------------------------------------------------------------- /src/resources/window/dots_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/window/dots_hover.png -------------------------------------------------------------------------------- /src/resources/window/help_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/window/help_hover.png -------------------------------------------------------------------------------- /src/resources/window/plus_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/window/plus_hover.png -------------------------------------------------------------------------------- /testing/search_view/data/files/template.h: -------------------------------------------------------------------------------- 1 | 2 | template 3 | T diff(T a, T b) 4 | { 5 | return a - b; 6 | } 7 | -------------------------------------------------------------------------------- /bin/app/data/fonts/Hack-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/bin/app/data/fonts/Hack-BoldItalic.ttf -------------------------------------------------------------------------------- /bin/app/data/fonts/Roboto-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/bin/app/data/fonts/Roboto-Regular.ttf -------------------------------------------------------------------------------- /bin/test/data/CxxIncludeProcessingTestSuite/test_header_search_path_detection_finds_path_included_in_header_search_path/include_b/b.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/CxxIncludeProcessingTestSuite/test_header_search_path_detection_finds_path_inside_sub_directory/a.cpp: -------------------------------------------------------------------------------- 1 | #include "a.h" -------------------------------------------------------------------------------- /bin/test/data/CxxIncludeProcessingTestSuite/test_header_search_path_detection_finds_path_relative_to_sub_directory/include/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/java_empty/input/src/foo/FooBar.java: -------------------------------------------------------------------------------- 1 | package foo; 2 | 3 | public interface FooBar 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /docs/documentation/edge_override.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/edge_override.png -------------------------------------------------------------------------------- /docs/documentation/edge_type_usage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/edge_type_usage.png -------------------------------------------------------------------------------- /docs/documentation/grouping_file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/grouping_file.png -------------------------------------------------------------------------------- /docs/documentation/indexing_dialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/indexing_dialog.png -------------------------------------------------------------------------------- /docs/documentation/node_function.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/node_function.png -------------------------------------------------------------------------------- /docs/documentation/node_namespace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/node_namespace.png -------------------------------------------------------------------------------- /docs/documentation/node_variable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/node_variable.png -------------------------------------------------------------------------------- /docs/documentation/overview_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/overview_button.png -------------------------------------------------------------------------------- /docs/documentation/path_list_box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/path_list_box.png -------------------------------------------------------------------------------- /docs/documentation/progress_dialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/progress_dialog.png -------------------------------------------------------------------------------- /docs/documentation/refresh_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/refresh_button.png -------------------------------------------------------------------------------- /docs/documentation/vs_log_folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/vs_log_folder.png -------------------------------------------------------------------------------- /docs/documentation/vs_plugin_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/vs_plugin_menu.png -------------------------------------------------------------------------------- /src/lib/utility/messaging/MessageListenerBase.cpp: -------------------------------------------------------------------------------- 1 | #include "MessageListenerBase.h" 2 | 3 | Id MessageListenerBase::s_nextId = 1; 4 | -------------------------------------------------------------------------------- /src/resources/icon/logo_1024_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/icon/logo_1024_1024.png -------------------------------------------------------------------------------- /src/resources/icon/project_256_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/icon/project_256_256.png -------------------------------------------------------------------------------- /src/resources/indexing_dialog/flag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/indexing_dialog/flag.png -------------------------------------------------------------------------------- /src/resources/statusbar_view/dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/statusbar_view/dot.png -------------------------------------------------------------------------------- /src/resources/tabbed_view/arrow_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/tabbed_view/arrow_up.png -------------------------------------------------------------------------------- /src/resources/tabs_view/images/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/tabs_view/images/add.png -------------------------------------------------------------------------------- /src/resources/window/minus_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/window/minus_hover.png -------------------------------------------------------------------------------- /src/resources/window/refresh_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/window/refresh_hover.png -------------------------------------------------------------------------------- /bin/app/data/fonts/FiraSans-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/bin/app/data/fonts/FiraSans-Regular.otf -------------------------------------------------------------------------------- /bin/app/data/fonts/FiraSans-SemiBold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/bin/app/data/fonts/FiraSans-SemiBold.otf -------------------------------------------------------------------------------- /bin/test/data/CxxIncludeProcessingTestSuite/test_header_search_path_detection_finds_path_relative_to_sub_directory/a.cpp: -------------------------------------------------------------------------------- 1 | #include "../a.h" -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/java_empty/input/src/foo/Bar.java: -------------------------------------------------------------------------------- 1 | package foo; 2 | 3 | class Bar implements FooBar 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/java_empty/input/src/foo/Foo.java: -------------------------------------------------------------------------------- 1 | package foo; 2 | 3 | class Foo implements FooBar 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /docs/documentation/bookmark_buttons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/bookmark_buttons.png -------------------------------------------------------------------------------- /docs/documentation/bookmark_creator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/bookmark_creator.png -------------------------------------------------------------------------------- /docs/documentation/bookmark_manager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/bookmark_manager.png -------------------------------------------------------------------------------- /docs/documentation/code_view_single.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/code_view_single.png -------------------------------------------------------------------------------- /docs/documentation/code_view_snippet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/code_view_snippet.png -------------------------------------------------------------------------------- /docs/documentation/edge_inheritance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/edge_inheritance.png -------------------------------------------------------------------------------- /docs/documentation/edge_variable_use.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/edge_variable_use.png -------------------------------------------------------------------------------- /docs/documentation/graph_view_graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/graph_view_graph.png -------------------------------------------------------------------------------- /docs/documentation/grouping_buttons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/grouping_buttons.png -------------------------------------------------------------------------------- /docs/documentation/installation_mac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/installation_mac.png -------------------------------------------------------------------------------- /docs/documentation/node_non_indexed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/node_non_indexed.png -------------------------------------------------------------------------------- /docs/documentation/snippet_minimized.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/snippet_minimized.png -------------------------------------------------------------------------------- /docs/documentation/snippet_snippets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/snippet_snippets.png -------------------------------------------------------------------------------- /docs/documentation/status_view_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/status_view_error.png -------------------------------------------------------------------------------- /docs/documentation/undo_redo_buttons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/undo_redo_buttons.png -------------------------------------------------------------------------------- /docs/documentation/vs_output_window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/vs_output_window.png -------------------------------------------------------------------------------- /docs/documentation/vs_plugin_ports_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/vs_plugin_ports_0.png -------------------------------------------------------------------------------- /docs/documentation/vs_plugin_ports_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/vs_plugin_ports_1.png -------------------------------------------------------------------------------- /src/lib/data/parser/Parser.cpp: -------------------------------------------------------------------------------- 1 | #include "Parser.h" 2 | 3 | Parser::Parser(std::shared_ptr client): m_client(client) {} 4 | -------------------------------------------------------------------------------- /src/resources/about/logo_sourcetrail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/about/logo_sourcetrail.png -------------------------------------------------------------------------------- /src/resources/code_view/images/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/code_view/images/edit.png -------------------------------------------------------------------------------- /src/resources/code_view/images/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/code_view/images/file.png -------------------------------------------------------------------------------- /src/resources/code_view/images/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/code_view/images/list.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/enum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/enum.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/file.png -------------------------------------------------------------------------------- /src/resources/indexing_dialog/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/indexing_dialog/error.png -------------------------------------------------------------------------------- /src/resources/main/images/close_grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/main/images/close_grey.png -------------------------------------------------------------------------------- /src/resources/main/images/float_grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/main/images/float_grey.png -------------------------------------------------------------------------------- /src/resources/statusbar_view/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/statusbar_view/loader.gif -------------------------------------------------------------------------------- /src/resources/tabbed_view/arrow_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/tabbed_view/arrow_down.png -------------------------------------------------------------------------------- /src/resources/tabs_view/images/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/tabs_view/images/close.png -------------------------------------------------------------------------------- /src/resources/window/size_grip_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/window/size_grip_black.png -------------------------------------------------------------------------------- /src/resources/window/size_grip_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/window/size_grip_white.png -------------------------------------------------------------------------------- /testing/project_setup/cpp_empty_pch/data/src/main.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | 3 | void test() 4 | { 5 | Foo foo; 6 | Bar bar; 7 | } 8 | -------------------------------------------------------------------------------- /testing/project_setup/cpp_empty_pch/data/src/pch.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef PCH_FLAG 3 | 4 | #include "Foo.h" 5 | #include "Bar.h" 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /testing/project_setup/cxx_cdb_pch/data/src/main.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | 3 | void test() 4 | { 5 | Foo foo; 6 | Bar bar; 7 | } 8 | 9 | -------------------------------------------------------------------------------- /bin/app/data/fonts/SourceCodePro-Bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/bin/app/data/fonts/SourceCodePro-Bold.otf -------------------------------------------------------------------------------- /bin/app/data/fonts/SourceCodePro-Medium.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/bin/app/data/fonts/SourceCodePro-Medium.otf -------------------------------------------------------------------------------- /bin/test/data/CxxIncludeProcessingTestSuite/test_header_search_path_detection_does_not_find_path_relative_to_including_file/a.cpp: -------------------------------------------------------------------------------- 1 | #include "a.h" -------------------------------------------------------------------------------- /bin/test/data/CxxIncludeProcessingTestSuite/test_header_search_path_detection_finds_path_included_in_future_header_search_path/include_b/b.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/test/data/CxxIncludeProcessingTestSuite/test_header_search_path_detection_finds_path_included_in_header_search_path/a.cpp: -------------------------------------------------------------------------------- 1 | #include "a.h" -------------------------------------------------------------------------------- /docs/documentation/edge_bundled_edges.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/edge_bundled_edges.png -------------------------------------------------------------------------------- /docs/documentation/edge_template_param.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/edge_template_param.png -------------------------------------------------------------------------------- /docs/documentation/edit_project_summary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/edit_project_summary.png -------------------------------------------------------------------------------- /docs/documentation/grouping_namespace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/grouping_namespace.png -------------------------------------------------------------------------------- /docs/documentation/new_project_summary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/new_project_summary.png -------------------------------------------------------------------------------- /docs/documentation/onscreen_search_bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/onscreen_search_bar.png -------------------------------------------------------------------------------- /docs/documentation/path_list_box_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/path_list_box_edit.png -------------------------------------------------------------------------------- /docs/documentation/plugin_use_in_clion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/plugin_use_in_clion.png -------------------------------------------------------------------------------- /docs/documentation/preferences_screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/preferences_screen.png -------------------------------------------------------------------------------- /docs/documentation/search_view_fulltext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/search_view_fulltext.png -------------------------------------------------------------------------------- /docs/documentation/status_view_status.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/status_view_status.png -------------------------------------------------------------------------------- /docs/documentation/vs_extension_dialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/vs_extension_dialog.png -------------------------------------------------------------------------------- /src/lib/data/graph/token_component/TokenComponent.cpp: -------------------------------------------------------------------------------- 1 | #include "TokenComponent.h" 2 | 3 | TokenComponent::~TokenComponent() = default; 4 | -------------------------------------------------------------------------------- /src/resources/code_view/images/arrow_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/code_view/images/arrow_up.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/arrow.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/bundle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/bundle.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/default.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/graph.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/legend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/legend.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/macro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/macro.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/pattern.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/private.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/private.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/public.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/public.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/typedef.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/typedef.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/zoom_in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/zoom_in.png -------------------------------------------------------------------------------- /src/resources/history_list/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/history_list/images/arrow.png -------------------------------------------------------------------------------- /src/resources/main/images/close_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/main/images/close_black.png -------------------------------------------------------------------------------- /src/resources/main/images/close_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/main/images/close_white.png -------------------------------------------------------------------------------- /src/resources/main/images/float_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/main/images/float_black.png -------------------------------------------------------------------------------- /src/resources/main/images/float_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/main/images/float_white.png -------------------------------------------------------------------------------- /src/resources/search_view/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/search_view/images/arrow.png -------------------------------------------------------------------------------- /src/resources/search_view/images/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/search_view/images/home.png -------------------------------------------------------------------------------- /src/resources/search_view/images/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/search_view/images/search.png -------------------------------------------------------------------------------- /src/resources/startscreen/delete_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/startscreen/delete_icon.png -------------------------------------------------------------------------------- /src/resources/startscreen/github_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/startscreen/github_icon.png -------------------------------------------------------------------------------- /src/resources/window/source_group_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/window/source_group_add.png -------------------------------------------------------------------------------- /src/resources/window/source_group_copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/window/source_group_copy.png -------------------------------------------------------------------------------- /bin/app/data/fonts/SourceCodePro-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/bin/app/data/fonts/SourceCodePro-Regular.otf -------------------------------------------------------------------------------- /bin/app/user/projects/tutorial/src/string.h: -------------------------------------------------------------------------------- 1 | #ifndef STRING_H 2 | #define STRING_H 3 | 4 | class String 5 | { 6 | }; 7 | 8 | #endif // STRING_H 9 | -------------------------------------------------------------------------------- /bin/test/data/CxxIncludeProcessingTestSuite/test_header_search_path_detection_finds_path_included_in_future_header_search_path/a.cpp: -------------------------------------------------------------------------------- 1 | #include "a.h" -------------------------------------------------------------------------------- /bin/test/data/CxxIncludeProcessingTestSuite/test_header_search_path_detection_finds_path_included_in_header_search_path/include_a/a.h: -------------------------------------------------------------------------------- 1 | #include "b.h" -------------------------------------------------------------------------------- /docs/documentation/code_view_show_errors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/code_view_show_errors.png -------------------------------------------------------------------------------- /docs/documentation/plugin_use_in_eclipse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/plugin_use_in_eclipse.png -------------------------------------------------------------------------------- /docs/documentation/search_view_completion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/search_view_completion.png -------------------------------------------------------------------------------- /docs/documentation/select_license_window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/select_license_window.png -------------------------------------------------------------------------------- /docs/documentation/start_indexing_dialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/start_indexing_dialog.png -------------------------------------------------------------------------------- /src/resources/code_view/images/arrow_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/code_view/images/arrow_down.png -------------------------------------------------------------------------------- /src/resources/code_view/images/arrow_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/code_view/images/arrow_left.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/graph_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/graph_up.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/namespace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/namespace.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/protected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/protected.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/template.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/zoom_out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/zoom_out.png -------------------------------------------------------------------------------- /src/resources/refresh_view/images/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/refresh_view/images/refresh.png -------------------------------------------------------------------------------- /src/resources/window/source_group_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/window/source_group_delete.png -------------------------------------------------------------------------------- /docs/documentation/finished_indexing_dialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/finished_indexing_dialog.png -------------------------------------------------------------------------------- /docs/documentation/node_template_parameter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/node_template_parameter.png -------------------------------------------------------------------------------- /docs/documentation/plugin_use_in_sourcetrail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/plugin_use_in_sourcetrail.png -------------------------------------------------------------------------------- /docs/documentation/project_setup_wizard_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/project_setup_wizard_edit.png -------------------------------------------------------------------------------- /java_indexer/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /src/resources/code_view/images/arrow_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/code_view/images/arrow_right.png -------------------------------------------------------------------------------- /src/resources/code_view/images/pattern_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/code_view/images/pattern_dark.png -------------------------------------------------------------------------------- /src/resources/code_view/images/pattern_grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/code_view/images/pattern_grey.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/annotation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/annotation.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/graph_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/graph_arrow.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/graph_custom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/graph_custom.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/graph_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/graph_down.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/graph_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/graph_left.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/graph_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/graph_right.png -------------------------------------------------------------------------------- /src/resources/undoredo_view/images/history.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/undoredo_view/images/history.png -------------------------------------------------------------------------------- /src/resources/window/source_group_add_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/window/source_group_add_hover.png -------------------------------------------------------------------------------- /src/resources/window/source_group_copy_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/window/source_group_copy_hover.png -------------------------------------------------------------------------------- /bin/test/data/CxxIncludeProcessingTestSuite/test_header_search_path_detection_finds_path_included_in_future_header_search_path/include_a/a.h: -------------------------------------------------------------------------------- 1 | #include "b.h" -------------------------------------------------------------------------------- /docs/documentation/interrupted_indexing_dialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/interrupted_indexing_dialog.png -------------------------------------------------------------------------------- /docs/documentation/plugin_use_in_sublime_text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/plugin_use_in_sublime_text.png -------------------------------------------------------------------------------- /docs/documentation/plugin_use_in_visual_studio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/plugin_use_in_visual_studio.png -------------------------------------------------------------------------------- /docs/documentation/plugin_use_in_visual_studio.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/plugin_use_in_visual_studio.psd -------------------------------------------------------------------------------- /docs/documentation/project_setup_wizard_start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/project_setup_wizard_start.png -------------------------------------------------------------------------------- /src/resources/bookmark_view/images/arrow_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/bookmark_view/images/arrow_down.png -------------------------------------------------------------------------------- /src/resources/bookmark_view/images/arrow_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/bookmark_view/images/arrow_right.png -------------------------------------------------------------------------------- /src/resources/code_view/images/maximize_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/code_view/images/maximize_active.png -------------------------------------------------------------------------------- /src/resources/code_view/images/pattern_bright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/code_view/images/pattern_bright.png -------------------------------------------------------------------------------- /src/resources/code_view/images/snippet_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/code_view/images/snippet_active.png -------------------------------------------------------------------------------- /src/resources/custom_trail_view/images/circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/custom_trail_view/images/circle.png -------------------------------------------------------------------------------- /src/resources/screen_search_view/images/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/screen_search_view/images/close.png -------------------------------------------------------------------------------- /src/resources/undoredo_view/images/arrow_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/undoredo_view/images/arrow_left.png -------------------------------------------------------------------------------- /src/resources/undoredo_view/images/arrow_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/undoredo_view/images/arrow_right.png -------------------------------------------------------------------------------- /src/resources/window/source_group_delete_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/window/source_group_delete_hover.png -------------------------------------------------------------------------------- /testing/project_setup/cpp_empty/data/src/FooBar.h: -------------------------------------------------------------------------------- 1 | #ifndef FOO_BAR_H 2 | #define FOO_BAR_H 3 | 4 | class FooBar 5 | { 6 | }; 7 | 8 | #endif // FOO_BAR_H 9 | -------------------------------------------------------------------------------- /docs/documentation/project_setup_wizard_start_cdb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/project_setup_wizard_start_cdb.png -------------------------------------------------------------------------------- /docs/documentation/project_setup_wizard_start_vs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/project_setup_wizard_start_vs.png -------------------------------------------------------------------------------- /src/lib/project/SourceGroupFactoryModule.cpp: -------------------------------------------------------------------------------- 1 | #include "SourceGroupFactoryModule.h" 2 | 3 | SourceGroupFactoryModule::~SourceGroupFactoryModule() = default; 4 | -------------------------------------------------------------------------------- /src/resources/bookmark_view/images/arrow_line_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/bookmark_view/images/arrow_line_up.png -------------------------------------------------------------------------------- /src/resources/code_view/images/button_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/code_view/images/button_background.png -------------------------------------------------------------------------------- /src/resources/code_view/images/maximize_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/code_view/images/maximize_inactive.png -------------------------------------------------------------------------------- /src/resources/code_view/images/snippet_arrow_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/code_view/images/snippet_arrow_down.png -------------------------------------------------------------------------------- /src/resources/code_view/images/snippet_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/code_view/images/snippet_inactive.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/file_incomplete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/file_incomplete.png -------------------------------------------------------------------------------- /src/resources/graph_view/images/group_namespace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/graph_view/images/group_namespace.png -------------------------------------------------------------------------------- /testing/graph_view/results/controls_tests/export.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/testing/graph_view/results/controls_tests/export.JPEG -------------------------------------------------------------------------------- /testing/graph_view/results/controls_tests/export.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/testing/graph_view/results/controls_tests/export.bmp -------------------------------------------------------------------------------- /testing/graph_view/results/controls_tests/export.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/testing/graph_view/results/controls_tests/export.png -------------------------------------------------------------------------------- /testing/project_setup/cxx_cbp/data/src/include/FooBar.h: -------------------------------------------------------------------------------- 1 | #ifndef FOO_BAR_H 2 | #define FOO_BAR_H 3 | 4 | class FooBar 5 | { 6 | }; 7 | 8 | #endif // FOO_BAR_H 9 | -------------------------------------------------------------------------------- /testing/project_setup/cxx_cdb/data/src/include/FooBar.h: -------------------------------------------------------------------------------- 1 | #ifndef FOO_BAR_H 2 | #define FOO_BAR_H 3 | 4 | class FooBar 5 | { 6 | }; 7 | 8 | #endif // FOO_BAR_H 9 | -------------------------------------------------------------------------------- /testing/project_setup/java_empty/data/src/foo/Main.java: -------------------------------------------------------------------------------- 1 | package foo; 2 | 3 | public class Main 4 | { 5 | public Foo m_foo; 6 | public Bar m_bar; 7 | } 8 | 9 | -------------------------------------------------------------------------------- /src/resources/bookmark_view/images/arrow_line_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/bookmark_view/images/arrow_line_down.png -------------------------------------------------------------------------------- /src/resources/bookmark_view/images/bookmark_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/bookmark_view/images/bookmark_active.png -------------------------------------------------------------------------------- /src/resources/code_view/images/snippet_arrow_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/code_view/images/snippet_arrow_right.png -------------------------------------------------------------------------------- /src/resources/indexing_dialog/progress_bar_element.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/indexing_dialog/progress_bar_element.png -------------------------------------------------------------------------------- /testing/project_setup/cpp_empty/data/src/main.cpp: -------------------------------------------------------------------------------- 1 | #include "Foo.h" 2 | #include "Bar.h" 3 | 4 | void test() 5 | { 6 | Foo foo; 7 | Bar bar; 8 | } 9 | 10 | -------------------------------------------------------------------------------- /testing/project_setup/cxx_cbp/data/src/main.cpp: -------------------------------------------------------------------------------- 1 | #include "Foo.h" 2 | #include "Bar.h" 3 | 4 | void test() 5 | { 6 | Foo foo; 7 | Bar bar; 8 | } 9 | 10 | -------------------------------------------------------------------------------- /testing/project_setup/cxx_cdb/data/src/main.cpp: -------------------------------------------------------------------------------- 1 | #include "Foo.h" 2 | #include "Bar.h" 3 | 4 | void test() 5 | { 6 | Foo foo; 7 | Bar bar; 8 | } 9 | 10 | -------------------------------------------------------------------------------- /testing/project_setup/cxx_cdb_pch/data/src/include/FooBar.h: -------------------------------------------------------------------------------- 1 | #ifndef FOO_BAR_H 2 | #define FOO_BAR_H 3 | 4 | class FooBar 5 | { 6 | }; 7 | 8 | #endif // FOO_BAR_H 9 | -------------------------------------------------------------------------------- /testing/project_setup/java_maven/data/my-app/src/main/java/com/mycompany/app/Bar.java: -------------------------------------------------------------------------------- 1 | package com.mycompany.app; 2 | 3 | class Bar implements FooBar 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /testing/project_setup/java_maven/data/my-app/src/main/java/com/mycompany/app/Foo.java: -------------------------------------------------------------------------------- 1 | package com.mycompany.app; 2 | 3 | class Foo implements FooBar 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /testing/project_setup/java_maven/data/my-app/src/main/java/com/mycompany/app/FooBar.java: -------------------------------------------------------------------------------- 1 | package com.mycompany.app; 2 | 3 | public interface FooBar 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /docs/documentation/edge_template_member_specialization.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/edge_template_member_specialization.png -------------------------------------------------------------------------------- /docs/documentation/project_setup_wizard_visual_studio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/project_setup_wizard_visual_studio.png -------------------------------------------------------------------------------- /src/resources/bookmark_view/images/bookmark_edit_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/bookmark_view/images/bookmark_edit_icon.png -------------------------------------------------------------------------------- /src/resources/bookmark_view/images/bookmark_list_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/bookmark_view/images/bookmark_list_icon.png -------------------------------------------------------------------------------- /src/resources/bookmark_view/images/edit_bookmark_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/bookmark_view/images/edit_bookmark_icon.png -------------------------------------------------------------------------------- /testing/history/data/files/template.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "template.h" 3 | 4 | void work() 5 | { 6 | int v = diff(9, 5); 7 | double w = diff(0.5, 0.3); 8 | } 9 | -------------------------------------------------------------------------------- /bin/app/user/projects/tutorial/src/utility.h: -------------------------------------------------------------------------------- 1 | #ifndef UTILITY_H 2 | #define UTILITY_H 3 | 4 | 5 | 6 | typedef unsigned int uint; 7 | 8 | 9 | 10 | #endif // UTILITY_H -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/java_empty/input/src/foo/Main.java: -------------------------------------------------------------------------------- 1 | package foo; 2 | 3 | public class Main 4 | { 5 | public Foo m_foo; 6 | public Bar m_bar; 7 | } 8 | 9 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/java_maven/input/my-app/src/main/java/com/mycompany/app/FooBar.java: -------------------------------------------------------------------------------- 1 | package com.mycompany.app; 2 | 3 | public interface FooBar 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /docs/documentation/project_setup_wizard_start_java_empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/project_setup_wizard_start_java_empty.png -------------------------------------------------------------------------------- /docs/documentation/project_setup_wizard_start_java_maven.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/project_setup_wizard_start_java_maven.png -------------------------------------------------------------------------------- /src/app/Sourcetrail.rc: -------------------------------------------------------------------------------- 1 | // Icon with lowest ID value placed first to ensure application icon 2 | // remains consistent on all systems. 3 | IDI_ICON1 ICON "Sourcetrail.ico" 4 | -------------------------------------------------------------------------------- /src/lib/component/NetworkFactory.cpp: -------------------------------------------------------------------------------- 1 | #include "NetworkFactory.h" 2 | 3 | NetworkFactory::NetworkFactory() = default; 4 | 5 | NetworkFactory::~NetworkFactory() = default; 6 | -------------------------------------------------------------------------------- /src/lib/data/indexer/IndexerCommandProvider.cpp: -------------------------------------------------------------------------------- 1 | #include "IndexerCommandProvider.h" 2 | 3 | bool IndexerCommandProvider::empty() const 4 | { 5 | return size() == 0; 6 | } 7 | -------------------------------------------------------------------------------- /src/resources/bookmark_view/images/bookmark_delete_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/src/resources/bookmark_view/images/bookmark_delete_icon.png -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/java_maven/input/my-app/src/main/java/com/mycompany/app/Bar.java: -------------------------------------------------------------------------------- 1 | package com.mycompany.app; 2 | 3 | class Bar implements FooBar 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/java_maven/input/my-app/src/main/java/com/mycompany/app/Foo.java: -------------------------------------------------------------------------------- 1 | package com.mycompany.app; 2 | 3 | class Foo implements FooBar 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /docs/documentation/project_setup_wizard_source_group_type.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/project_setup_wizard_source_group_type.png -------------------------------------------------------------------------------- /docs/documentation/project_setup_wizard_start_java_gradle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/project_setup_wizard_start_java_gradle.png -------------------------------------------------------------------------------- /docs/documentation/project_setup_wizard_start_python_empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/docs/documentation/project_setup_wizard_start_python_empty.png -------------------------------------------------------------------------------- /scripts/_gdbinit: -------------------------------------------------------------------------------- 1 | # If gdb doesn't load this file, then add 'set auto-load safe-path .' to ~/.gdbinit 2 | # 3 | # Ignore/Pass JVM signals: 4 | handle SIGSEGV nostop noprint pass 5 | -------------------------------------------------------------------------------- /bin/test/data/CxxParserTestSuite/header.h: -------------------------------------------------------------------------------- 1 | typedef unsigned int uint; 2 | 3 | class G 4 | {}; 5 | 6 | class H 7 | : public G 8 | { 9 | private: 10 | int width; 11 | }; 12 | -------------------------------------------------------------------------------- /java_indexer/src/main/java/com/sourcetrail/name/SymbolName.java: -------------------------------------------------------------------------------- 1 | package com.sourcetrail.name; 2 | 3 | public interface SymbolName { 4 | public NameHierarchy toNameHierarchy(); 5 | } 6 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Automatically normalize line endings: 2 | * text=auto 3 | 4 | # Ensure correct line endings for scripts: 5 | *.sh text eol=lf 6 | *.bat text eol=crlf 7 | *.cmd text eol=crlf -------------------------------------------------------------------------------- /testing/project_setup/cxx_cdb_pch/data/src/pch.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef PCH_FLAG 3 | #error "PCH_FLAG not defined" 4 | #else 5 | 6 | #include "Foo.h" 7 | #include "Bar.h" 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/lib/component/view/ViewWidgetWrapper.cpp: -------------------------------------------------------------------------------- 1 | #include "ViewWidgetWrapper.h" 2 | 3 | ViewWidgetWrapper::ViewWidgetWrapper() = default; 4 | 5 | ViewWidgetWrapper::~ViewWidgetWrapper() = default; 6 | -------------------------------------------------------------------------------- /testing/project_setup/cpp_empty/data/src/Bar.h: -------------------------------------------------------------------------------- 1 | #ifndef FOO_H 2 | #define FOO_H 3 | 4 | #include "FooBar.h" 5 | 6 | class Bar : public FooBar 7 | { 8 | }; 9 | 10 | #endif // FOO_H 11 | -------------------------------------------------------------------------------- /testing/project_setup/java_gradle/data/src/main/java/hello/Greeter.java: -------------------------------------------------------------------------------- 1 | package hello; 2 | 3 | public class Greeter { 4 | public String sayHello() { 5 | return "Hello world!"; 6 | } 7 | } -------------------------------------------------------------------------------- /testing/project_setup/cpp_empty/data/src/Foo.h: -------------------------------------------------------------------------------- 1 | #ifndef BAR_H 2 | #define BAR_H 3 | 4 | #include "FooBar.h" 5 | 6 | class Foo : public FooBar 7 | { 8 | }; 9 | 10 | #endif // FOO_BAR_H 11 | -------------------------------------------------------------------------------- /testing/project_setup/cpp_empty_pch/data/src/Bar.h: -------------------------------------------------------------------------------- 1 | #ifndef BAR_H 2 | #define BAR_H 3 | 4 | #include "FooBar.h" 5 | 6 | class Bar : public FooBar 7 | { 8 | }; 9 | 10 | #endif // BAR_H 11 | -------------------------------------------------------------------------------- /testing/project_setup/cpp_empty_pch/data/src/Foo.h: -------------------------------------------------------------------------------- 1 | #ifndef FOO_H 2 | #define FOO_H 3 | 4 | #include "FooBar.h" 5 | 6 | class Foo : public FooBar 7 | { 8 | }; 9 | 10 | #endif // FOO_H 11 | -------------------------------------------------------------------------------- /testing/project_setup/cxx_cbp/data/src/include/Bar.h: -------------------------------------------------------------------------------- 1 | #ifndef FOO_H 2 | #define FOO_H 3 | 4 | #include "FooBar.h" 5 | 6 | class Bar : public FooBar 7 | { 8 | }; 9 | 10 | #endif // FOO_H 11 | -------------------------------------------------------------------------------- /testing/project_setup/cxx_cdb/data/src/include/Bar.h: -------------------------------------------------------------------------------- 1 | #ifndef FOO_H 2 | #define FOO_H 3 | 4 | #include "FooBar.h" 5 | 6 | class Bar : public FooBar 7 | { 8 | }; 9 | 10 | #endif // FOO_H 11 | -------------------------------------------------------------------------------- /testing/project_setup/java_gradle/data/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/testing/project_setup/java_gradle/data/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /scripts/generate_coverage_report.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | mkdir -p coverage 4 | gcovr --no-color --root ../../Sourcetrail . --html-details --output coverage/coverage.html 5 | xdg-open coverage/coverage.html 6 | -------------------------------------------------------------------------------- /src/lib_gui/utility/path_detector/java_runtime/JavaPathDetector.cpp: -------------------------------------------------------------------------------- 1 | #include "JavaPathDetector.h" 2 | 3 | JavaPathDetector::JavaPathDetector(const std::string& name) 4 | : PathDetector(name) 5 | { 6 | } 7 | -------------------------------------------------------------------------------- /testing/keyboard_controls/data/header.h: -------------------------------------------------------------------------------- 1 | 2 | int sum(int a, int b); 3 | 4 | int diff(int a, int b); 5 | 6 | int mult(int a, int b); 7 | 8 | int div(int a, int b); 9 | 10 | int square(int a); 11 | -------------------------------------------------------------------------------- /testing/project_setup/cxx_cbp/data/src/include/Foo.h: -------------------------------------------------------------------------------- 1 | #ifndef BAR_H 2 | #define BAR_H 3 | 4 | #include "FooBar.h" 5 | 6 | class Foo : public FooBar 7 | { 8 | }; 9 | 10 | #endif // FOO_BAR_H 11 | -------------------------------------------------------------------------------- /testing/project_setup/cxx_cdb/data/src/include/Foo.h: -------------------------------------------------------------------------------- 1 | #ifndef BAR_H 2 | #define BAR_H 3 | 4 | #include "FooBar.h" 5 | 6 | class Foo : public FooBar 7 | { 8 | }; 9 | 10 | #endif // FOO_BAR_H 11 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/java_gradle/input/src/main/java/hello/Greeter.java: -------------------------------------------------------------------------------- 1 | package hello; 2 | 3 | public class Greeter { 4 | public String sayHello() { 5 | return "Hello world!"; 6 | } 7 | } -------------------------------------------------------------------------------- /java_indexer/src/main/java/com/sourcetrail/Position.java: -------------------------------------------------------------------------------- 1 | package com.sourcetrail; 2 | 3 | public record Position(int line, int column) 4 | { 5 | Position() 6 | { 7 | this(0, 0); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/lib/component/view/TabsView.cpp: -------------------------------------------------------------------------------- 1 | #include "TabsView.h" 2 | 3 | TabsView::TabsView(ViewLayout* viewLayout): View(viewLayout) {} 4 | 5 | std::string TabsView::getName() const 6 | { 7 | return "Tabs"; 8 | } 9 | -------------------------------------------------------------------------------- /bin/test/data/UtilityGradleTestSuite/simple_gradle_project/src/main/java/hello/Greeter.java: -------------------------------------------------------------------------------- 1 | package hello; 2 | 3 | public class Greeter { 4 | public String sayHello() { 5 | return "Hello world!"; 6 | } 7 | } -------------------------------------------------------------------------------- /src/lib/project/RefreshInfo.cpp: -------------------------------------------------------------------------------- 1 | #include "RefreshInfo.h" 2 | 3 | using namespace std; 4 | 5 | ostream &operator << (ostream &stream, RefreshMode mode) 6 | { 7 | return stream << static_cast(mode); 8 | } 9 | -------------------------------------------------------------------------------- /testing/history/data/files/main.cpp: -------------------------------------------------------------------------------- 1 | #include "tictactoe.h" 2 | 3 | int main() { 4 | TicTacToe tictactoe; 5 | 6 | while ( tictactoe.Start() ) { 7 | tictactoe.Run(); 8 | } 9 | 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /bin/test/data/FileSystemTestSuite/main.cpp: -------------------------------------------------------------------------------- 1 | #include "tictactoe.h" 2 | 3 | int main() { 4 | TicTacToe tictactoe; 5 | 6 | while ( tictactoe.Start() ) { 7 | tictactoe.Run(); 8 | } 9 | 10 | return 0; 11 | } -------------------------------------------------------------------------------- /testing/project_setup/cpp_empty_pch/data/src/FooBar.h: -------------------------------------------------------------------------------- 1 | #ifndef FOO_BAR_H 2 | #define FOO_BAR_H 3 | 4 | #ifdef COMPILER_FLAG 5 | 6 | class FooBar 7 | { 8 | }; 9 | 10 | #endif 11 | 12 | #endif // FOO_BAR_H 13 | -------------------------------------------------------------------------------- /testing/search_view/data/files/main.cpp: -------------------------------------------------------------------------------- 1 | #include "tictactoe.h" 2 | 3 | int main() { 4 | TicTacToe tictactoe; 5 | 6 | while ( tictactoe.Start() ) { 7 | tictactoe.Run(); 8 | } 9 | 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /bin/test/data/JavaIndexSampleProjectsTestSuite/JavaSymbolSolver060/lib/guava-21.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/bin/test/data/JavaIndexSampleProjectsTestSuite/JavaSymbolSolver060/lib/guava-21.0.jar -------------------------------------------------------------------------------- /bin/app/user/projects/tictactoe_cpp/src/main.cpp: -------------------------------------------------------------------------------- 1 | #include "tictactoe.h" 2 | 3 | int main() { 4 | TicTacToe tictactoe; 5 | 6 | while ( tictactoe.Start() ) { 7 | tictactoe.Run(); 8 | } 9 | 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/java_gradle/input/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/bin/test/data/SourceGroupTestSuite/java_gradle/input/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /bin/test/data/JavaIndexSampleProjectsTestSuite/JavaSymbolSolver060/lib/javaslang-2.0.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/bin/test/data/JavaIndexSampleProjectsTestSuite/JavaSymbolSolver060/lib/javaslang-2.0.3.jar -------------------------------------------------------------------------------- /src/lib/utility/utility.cpp: -------------------------------------------------------------------------------- 1 | #include "utility.h" 2 | 3 | size_t utility::digits(size_t n) 4 | { 5 | int digits = 1; 6 | 7 | while (n >= 10) 8 | { 9 | n /= 10; 10 | digits++; 11 | } 12 | 13 | return digits; 14 | } 15 | -------------------------------------------------------------------------------- /testing/code_view/data/snippet_list_files/zimpl.h: -------------------------------------------------------------------------------- 1 | 2 | #include "header.h" 3 | 4 | int multiply(int a, int b) 5 | { 6 | int r = 0; 7 | for (int i = 1; i < b; i++) 8 | { 9 | r = sum(r, a); 10 | } 11 | return r; 12 | } 13 | -------------------------------------------------------------------------------- /testing/history/data/files/game_object.h: -------------------------------------------------------------------------------- 1 | #ifndef _GAME_OBJECT_ 2 | #define _GAME_OBJECT_ 3 | 4 | class GameObject { 5 | public: 6 | GameObject() {} 7 | virtual ~GameObject() {} 8 | }; 9 | 10 | #endif // _GAME_OBJECT_ 11 | -------------------------------------------------------------------------------- /testing/history/data/files/io.h: -------------------------------------------------------------------------------- 1 | #ifndef _IO_ 2 | #define _IO_ 3 | 4 | namespace io { 5 | 6 | int numberIn(); 7 | void numberOut(int num); 8 | 9 | void stringOut(const char* str); 10 | 11 | } 12 | 13 | #endif // _IO_ 14 | -------------------------------------------------------------------------------- /testing/search_view/data/files/game_object.h: -------------------------------------------------------------------------------- 1 | #ifndef _GAME_OBJECT_ 2 | #define _GAME_OBJECT_ 3 | 4 | class GameObject { 5 | public: 6 | GameObject() {} 7 | virtual ~GameObject() {} 8 | }; 9 | 10 | #endif // _GAME_OBJECT_ 11 | -------------------------------------------------------------------------------- /bin/test/data/UtilityGradleTestSuite/simple_gradle_project/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/bin/test/data/UtilityGradleTestSuite/simple_gradle_project/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /src/lib/data/graph/token_component/TokenComponentConst.cpp: -------------------------------------------------------------------------------- 1 | #include "TokenComponentConst.h" 2 | 3 | std::shared_ptr TokenComponentConst::copy() const 4 | { 5 | return std::make_shared(*this); 6 | } 7 | -------------------------------------------------------------------------------- /testing/search_view/data/files/io.h: -------------------------------------------------------------------------------- 1 | #ifndef _IO_ 2 | #define _IO_ 3 | 4 | namespace io { 5 | 6 | int numberIn(); 7 | void numberOut(int num); 8 | 9 | void stringOut(const char* str); 10 | 11 | } 12 | 13 | #endif // _IO_ 14 | -------------------------------------------------------------------------------- /bin/app/user/projects/tictactoe_cpp/src/game_object.h: -------------------------------------------------------------------------------- 1 | #ifndef _GAME_OBJECT_ 2 | #define _GAME_OBJECT_ 3 | 4 | class GameObject { 5 | public: 6 | GameObject() {} 7 | virtual ~GameObject() {} 8 | }; 9 | 10 | #endif // _GAME_OBJECT_ 11 | -------------------------------------------------------------------------------- /bin/test/data/ConfigManagerTestSuite/test_data.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ü 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /bin/test/data/JavaIndexSampleProjectsTestSuite/JavaSymbolSolver060/lib/javassist-3.19.0-GA.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/bin/test/data/JavaIndexSampleProjectsTestSuite/JavaSymbolSolver060/lib/javassist-3.19.0-GA.jar -------------------------------------------------------------------------------- /src/lib/data/graph/token_component/TokenComponentStatic.cpp: -------------------------------------------------------------------------------- 1 | #include "TokenComponentStatic.h" 2 | 3 | std::shared_ptr TokenComponentStatic::copy() const 4 | { 5 | return std::make_shared(*this); 6 | } 7 | -------------------------------------------------------------------------------- /src/lib/data/indexer/IndexerStateInfo.h: -------------------------------------------------------------------------------- 1 | #ifndef INDEXER_STATE_INFO_H 2 | #define INDEXER_STATE_INFO_H 3 | 4 | struct IndexerStateInfo 5 | { 6 | public: 7 | bool indexingInterrupted; 8 | }; 9 | 10 | #endif // INDEXER_STATE_INFO_H 11 | -------------------------------------------------------------------------------- /bin/app/user/projects/tictactoe_cpp/src/io.h: -------------------------------------------------------------------------------- 1 | #ifndef _IO_ 2 | #define _IO_ 3 | 4 | namespace io { 5 | 6 | int numberIn(); 7 | void numberOut(int num); 8 | 9 | void stringOut(const char* str); 10 | 11 | } 12 | 13 | #endif // _IO_ 14 | -------------------------------------------------------------------------------- /bin/test/data/JavaIndexSampleProjectsTestSuite/JavaSymbolSolver060/lib/javaparser-core-3.3.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petermost/Sourcetrail/HEAD/bin/test/data/JavaIndexSampleProjectsTestSuite/JavaSymbolSolver060/lib/javaparser-core-3.3.0.jar -------------------------------------------------------------------------------- /testing/code_view/data/snippet_list_files/zimpl2.h: -------------------------------------------------------------------------------- 1 | 2 | #include "header.h" 3 | 4 | int divide(int a, int b) 5 | { 6 | int c = 0; 7 | int r = 0; 8 | while (r < a) 9 | { 10 | r = sum(r, b); 11 | c++; 12 | } 13 | return c; 14 | } 15 | -------------------------------------------------------------------------------- /src/lib_gui/qt/element/status/QtVerticalLine.cpp: -------------------------------------------------------------------------------- 1 | #include "QtVerticalLine.h" 2 | 3 | QtVerticalLine::QtVerticalLine(QWidget *parent) 4 | : QFrame(parent) 5 | { 6 | setFrameShape(QFrame::VLine); 7 | setStyleSheet(QStringLiteral("color: #777")); 8 | } 9 | -------------------------------------------------------------------------------- /src/lib/data/tooltip/TooltipOrigin.h: -------------------------------------------------------------------------------- 1 | #ifndef TOOLTIP_ORIGIN_H 2 | #define TOOLTIP_ORIGIN_H 3 | 4 | enum TooltipOrigin 5 | { 6 | TOOLTIP_ORIGIN_NONE, 7 | TOOLTIP_ORIGIN_GRAPH, 8 | TOOLTIP_ORIGIN_CODE 9 | }; 10 | 11 | #endif // TOOLTIP_ORIGIN_H 12 | -------------------------------------------------------------------------------- /java_indexer/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/main/resources=UTF-8 4 | encoding//src/test/java=UTF-8 5 | encoding//src/test/resources=UTF-8 6 | encoding/=UTF-8 7 | -------------------------------------------------------------------------------- /src/lib/utility/ScopedFunctor.cpp: -------------------------------------------------------------------------------- 1 | #include "ScopedFunctor.h" 2 | 3 | ScopedFunctor::ScopedFunctor(std::function onDestroy) 4 | : m_onDestroy(onDestroy) 5 | { 6 | } 7 | 8 | ScopedFunctor::~ScopedFunctor() 9 | { 10 | m_onDestroy(); 11 | } 12 | -------------------------------------------------------------------------------- /src/lib/utility/Tree.h: -------------------------------------------------------------------------------- 1 | #ifndef TREE_H 2 | #define TREE_H 3 | 4 | template 5 | struct Tree 6 | { 7 | Tree() = default; 8 | Tree(T data): data(data) {} 9 | T data; 10 | std::vector> children; 11 | }; 12 | 13 | #endif // TREE_H 14 | -------------------------------------------------------------------------------- /src/lib/component/view/ErrorView.cpp: -------------------------------------------------------------------------------- 1 | #include "ErrorView.h" 2 | 3 | ErrorView::ErrorView(ViewLayout* viewLayout): View(viewLayout) {} 4 | 5 | ErrorView::~ErrorView() = default; 6 | 7 | std::string ErrorView::getName() const 8 | { 9 | return "Errors"; 10 | } 11 | -------------------------------------------------------------------------------- /src/lib_java/LanguagePackageJava.cpp: -------------------------------------------------------------------------------- 1 | #include "LanguagePackageJava.h" 2 | 3 | #include "IndexerJava.h" 4 | 5 | std::vector> LanguagePackageJava::instantiateSupportedIndexers() const 6 | { 7 | return {std::make_shared()}; 8 | } 9 | -------------------------------------------------------------------------------- /src/lib/component/view/StatusView.cpp: -------------------------------------------------------------------------------- 1 | #include "StatusView.h" 2 | 3 | StatusView::StatusView(ViewLayout* viewLayout): View(viewLayout) {} 4 | 5 | StatusView::~StatusView() = default; 6 | 7 | std::string StatusView::getName() const 8 | { 9 | return "Status"; 10 | } 11 | -------------------------------------------------------------------------------- /src/lib_gui/qt/element/dialog/QtLineEdit.cpp: -------------------------------------------------------------------------------- 1 | #include "QtLineEdit.h" 2 | 3 | QtLineEdit::QtLineEdit(QWidget* parent): QLineEdit(parent) {} 4 | 5 | void QtLineEdit::focusInEvent(QFocusEvent* event) 6 | { 7 | emit focus(); 8 | QLineEdit::focusInEvent(event); 9 | } 10 | -------------------------------------------------------------------------------- /src/lib/component/view/ViewWidgetWrapper.h: -------------------------------------------------------------------------------- 1 | #ifndef VIEW_WIDGET_WRAPPER_H 2 | #define VIEW_WIDGET_WRAPPER_H 3 | 4 | class ViewWidgetWrapper 5 | { 6 | public: 7 | ViewWidgetWrapper(); 8 | virtual ~ViewWidgetWrapper(); 9 | }; 10 | 11 | #endif // VIEW_WIDGET_WRAPPER_H 12 | -------------------------------------------------------------------------------- /src/resources/about/about.css: -------------------------------------------------------------------------------- 1 | * { 2 | color: white; 3 | font-size: 14px; 4 | font-weight: 100; 5 | } 6 | 7 | #small { 8 | font-size: 12px; 9 | } 10 | 11 | #window { 12 | background: qlineargradient( x1:0 y1:0.4, x2:0 y2:1, stop:0 #2F3F86, stop:1 #1C7BBC ); 13 | } 14 | -------------------------------------------------------------------------------- /testing/project_setup/cxx_cdb_pch/data/src/include/Foo.h: -------------------------------------------------------------------------------- 1 | #ifndef BAR_H 2 | #define BAR_H 3 | 4 | #include "FooBar.h" 5 | 6 | #ifndef CDB_FLAG 7 | #error "CDB_FLAG not defined" 8 | #endif 9 | 10 | class Foo : public FooBar 11 | { 12 | }; 13 | 14 | #endif // FOO_BAR_H 15 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # CMake 2 | CMakeUserPresets.json 3 | 4 | # Maven, Vcpkg: 5 | /java_indexer/target/ 6 | vcpkg_installed/ 7 | 8 | # IntelliJ, Eclipse, Qt Creator: 9 | .vs 10 | .vscode 11 | CMakeLists.txt.user 12 | 13 | # Sourcetrail databases, bookmarks 14 | *.srctrlbm 15 | *.srctrldb -------------------------------------------------------------------------------- /archive/encodeDecodeUtf8.cpp: -------------------------------------------------------------------------------- 1 | std::string encodeToUtf8(const std::wstring &s) 2 | { 3 | return boost::locale::conv::utf_to_utf(s); 4 | } 5 | 6 | std::wstring decodeFromUtf8(const std::string &s) 7 | { 8 | return boost::locale::conv::utf_to_utf(s); 9 | } 10 | 11 | -------------------------------------------------------------------------------- /cmake/language_packages.h.in: -------------------------------------------------------------------------------- 1 | #ifndef LANGUAGE_PACKAGES_H 2 | #define LANGUAGE_PACKAGES_H 3 | 4 | // This is a generated file, DO NOT EDIT! 5 | 6 | #cmakedefine01 BUILD_CXX_LANGUAGE_PACKAGE 7 | #cmakedefine01 BUILD_JAVA_LANGUAGE_PACKAGE 8 | 9 | #endif // LANGUAGE_PACKAGES_H 10 | -------------------------------------------------------------------------------- /scripts/enable_perf_kernel_parameters.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Allow perf events for unprivileged users (less restrictive) 4 | sudo sysctl -w kernel.perf_event_paranoid=-1 5 | 6 | # Allow kernel pointers to be visible (needed for symbol resolution) 7 | sudo sysctl -w kernel.kptr_restrict=0 8 | -------------------------------------------------------------------------------- /src/lib/component/view/TooltipView.cpp: -------------------------------------------------------------------------------- 1 | #include "TooltipView.h" 2 | 3 | TooltipView::TooltipView(ViewLayout* viewLayout): View(viewLayout) {} 4 | 5 | TooltipView::~TooltipView() = default; 6 | 7 | std::string TooltipView::getName() const 8 | { 9 | return "TooltipView"; 10 | } 11 | -------------------------------------------------------------------------------- /src/lib/component/view/ViewLayout.cpp: -------------------------------------------------------------------------------- 1 | #include "ViewLayout.h" 2 | 3 | void ViewLayout::overrideView(View* /*view*/) {} 4 | 5 | View* ViewLayout::findFloatingView(const std::string& /*name*/) const 6 | { 7 | return nullptr; 8 | } 9 | 10 | void ViewLayout::showOriginalViews() {} 11 | -------------------------------------------------------------------------------- /src/lib_cxx/LanguagePackageCxx.cpp: -------------------------------------------------------------------------------- 1 | #include "LanguagePackageCxx.h" 2 | 3 | #include "IndexerCxx.h" 4 | 5 | std::vector> LanguagePackageCxx::instantiateSupportedIndexers() const 6 | { 7 | return { 8 | std::make_shared(), 9 | }; 10 | } 11 | -------------------------------------------------------------------------------- /src/lib_gui/qt/element/button/QtPushButton.cpp: -------------------------------------------------------------------------------- 1 | #include "QtPushButton.h" 2 | 3 | QtPushButton::QtPushButton() 4 | { 5 | } 6 | 7 | void QtPushButton::mouseDoubleClickEvent(QMouseEvent *event) 8 | { 9 | QPushButton::mouseDoubleClickEvent(event); 10 | 11 | emit doubleClicked(); 12 | } 13 | -------------------------------------------------------------------------------- /src/lib_gui/qt/element/status/QtVerticalLine.h: -------------------------------------------------------------------------------- 1 | #ifndef QT_VERTICAL_LINE_H 2 | #define QT_VERTICAL_LINE_H 3 | 4 | #include 5 | 6 | class QtVerticalLine : public QFrame 7 | { 8 | Q_OBJECT 9 | public: 10 | explicit QtVerticalLine(QWidget *parent = nullptr); 11 | }; 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /src/lib_gui/qt/element/status/QtFlatButton.cpp: -------------------------------------------------------------------------------- 1 | #include "QtFlatButton.h" 2 | 3 | QtFlatButton::QtFlatButton(QWidget *parent) 4 | : QPushButton(parent) 5 | { 6 | setFlat(true); 7 | setCursor(Qt::PointingHandCursor); 8 | setAttribute(Qt::WA_LayoutUsesWidgetRect); // fixes layouting on Mac 9 | } 10 | -------------------------------------------------------------------------------- /docs/technical_notes/control_flow_graph-CFG/readme.md: -------------------------------------------------------------------------------- 1 | These source file snippets have been extracted from 2 | ["How to get information about call to destructors in Clang LibTooling?"](https://stackoverflow.com/questions/59610156/how-to-get-information-about-call-to-destructors-in-clang-libtooling) by Scott McPeak 3 | -------------------------------------------------------------------------------- /src/lib_gui/qt/element/status/QtFlatButton.h: -------------------------------------------------------------------------------- 1 | #ifndef QT_FLAT_BUTTON_H 2 | #define QT_FLAT_BUTTON_H 3 | 4 | #include 5 | 6 | class QtFlatButton : public QPushButton 7 | { 8 | Q_OBJECT 9 | 10 | public: 11 | explicit QtFlatButton(QWidget *parent = nullptr); 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /testing/project_setup/cxx_cdb_pch/data/src/include/Bar.h: -------------------------------------------------------------------------------- 1 | #ifndef FOO_H 2 | #define FOO_H 3 | 4 | #include "FooBar.h" 5 | 6 | #ifndef COMPILER_FLAG 7 | #error "COMPILER_FLAG not defined" 8 | #else 9 | 10 | class Bar : public FooBar 11 | { 12 | }; 13 | 14 | #endif 15 | 16 | 17 | #endif // FOO_H 18 | -------------------------------------------------------------------------------- /src/lib_gui/utility/path_detector/java_runtime/JavaPathDetector.h: -------------------------------------------------------------------------------- 1 | #ifndef JAVA_PATH_DETECTOR_H 2 | #define JAVA_PATH_DETECTOR_H 3 | 4 | #include "PathDetector.h" 5 | 6 | class JavaPathDetector: public PathDetector 7 | { 8 | public: 9 | JavaPathDetector(const std::string& name); 10 | }; 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /src/lib_gui/platform/setupApp.h: -------------------------------------------------------------------------------- 1 | #ifndef SETUP_PLATFORM_H 2 | #define SETUP_PLATFORM_H 3 | 4 | #include 5 | #include 6 | 7 | void setupDefaultLocale(); 8 | 9 | Version setupAppDirectories(const FilePath &appPath); 10 | void setupAppEnvironment(int argc, char *argv[]); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /src/lib/component/view/GraphView.cpp: -------------------------------------------------------------------------------- 1 | #include "GraphView.h" 2 | 3 | const char* GraphView::VIEW_NAME = "Graph"; 4 | 5 | GraphView::GraphView(ViewLayout* viewLayout): View(viewLayout) {} 6 | 7 | GraphView::~GraphView() = default; 8 | 9 | std::string GraphView::getName() const 10 | { 11 | return VIEW_NAME; 12 | } 13 | -------------------------------------------------------------------------------- /src/lib/data/graph/ElementComponentKind.cpp: -------------------------------------------------------------------------------- 1 | #include "ElementComponentKind.h" 2 | 3 | template <> 4 | ElementComponentKind intToEnum(int value) 5 | { 6 | switch (value) 7 | { 8 | case ELEMENT_COMPONENT_IS_AMBIGUOUS: 9 | return ELEMENT_COMPONENT_IS_AMBIGUOUS; 10 | } 11 | return ELEMENT_COMPONENT_NONE; 12 | } 13 | -------------------------------------------------------------------------------- /src/lib/utility/file/FileInfo.cpp: -------------------------------------------------------------------------------- 1 | #include "FileInfo.h" 2 | 3 | FileInfo::FileInfo(): path(FilePath("")) {} 4 | 5 | FileInfo::FileInfo(const FilePath& path): path(path) {} 6 | 7 | FileInfo::FileInfo(const FilePath& path, const TimeStamp& lastWriteTime) 8 | : path(path), lastWriteTime(lastWriteTime) 9 | { 10 | } 11 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/cxx_cdb/input/compile_commands.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "directory": "src", 4 | "command": "clang-tool -fms-extensions -fms-compatibility -fms-compatibility-version=19 -isystem /include/path/from/cdb -D DEFINE_FROM_CDB=\"some_value\" -std=c++14 /FS ./Test.cpp", 5 | "file": "./Test.cpp" 6 | } 7 | ] -------------------------------------------------------------------------------- /src/lib/component/view/ScreenSearchView.cpp: -------------------------------------------------------------------------------- 1 | #include "ScreenSearchView.h" 2 | 3 | ScreenSearchView::ScreenSearchView(ViewLayout* viewLayout): View(viewLayout) {} 4 | 5 | ScreenSearchView::~ScreenSearchView() = default; 6 | 7 | std::string ScreenSearchView::getName() const 8 | { 9 | return "ScreenSearchView"; 10 | } 11 | -------------------------------------------------------------------------------- /bin/test/data/UtilityMavenTestSuite/simple_maven_project/src/main/java/com/mycompany/app/App.java: -------------------------------------------------------------------------------- 1 | package com.mycompany.app; 2 | 3 | /** 4 | * Hello world! 5 | * 6 | */ 7 | public class App 8 | { 9 | public static void main( String[] args ) 10 | { 11 | System.out.println( "Hello World!" ); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/lib/data/graph/token_component/TokenComponent.h: -------------------------------------------------------------------------------- 1 | #ifndef TOKEN_COMPONENT_H 2 | #define TOKEN_COMPONENT_H 3 | 4 | #include 5 | 6 | class TokenComponent 7 | { 8 | public: 9 | virtual ~TokenComponent(); 10 | virtual std::shared_ptr copy() const = 0; 11 | }; 12 | 13 | #endif // TOKEN_COMPONENT_H 14 | -------------------------------------------------------------------------------- /testing/project_setup/java_maven/data/my-app/src/main/java/com/mycompany/app/Main.java: -------------------------------------------------------------------------------- 1 | package com.mycompany.app; 2 | 3 | public class Main 4 | { 5 | public Foo m_foo; 6 | public Bar m_bar; 7 | 8 | public static void main( String[] args ) 9 | { 10 | System.out.println( "Hello World!" ); 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /bin/test/data/UtilityMavenTestSuite/nested_maven_project/module_1/src/main/java/com/mycompany/app/App.java: -------------------------------------------------------------------------------- 1 | package com.mycompany.app; 2 | 3 | /** 4 | * Hello world! 5 | * 6 | */ 7 | public class App 8 | { 9 | public static void main( String[] args ) 10 | { 11 | System.out.println( "Hello World!" ); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /bin/test/data/UtilityMavenTestSuite/nested_maven_project/module_2/src/main/java/com/mycompany/app/App.java: -------------------------------------------------------------------------------- 1 | package com.mycompany.app; 2 | 3 | /** 4 | * Hello world! 5 | * 6 | */ 7 | public class App 8 | { 9 | public static void main( String[] args ) 10 | { 11 | System.out.println( "Hello World!" ); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/lib_gui/qt/window/QtAbout.h: -------------------------------------------------------------------------------- 1 | #ifndef QT_ABOUT_H 2 | #define QT_ABOUT_H 3 | 4 | #include "QtWindow.h" 5 | 6 | class QtAbout: public QtWindow 7 | { 8 | Q_OBJECT 9 | 10 | public: 11 | QtAbout(QWidget* parent = nullptr); 12 | QSize sizeHint() const override; 13 | 14 | void setupAbout(); 15 | }; 16 | 17 | #endif // QT_ABOUT_H 18 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/java_maven/input/my-app/src/main/java/com/mycompany/app/Main.java: -------------------------------------------------------------------------------- 1 | package com.mycompany.app; 2 | 3 | public class Main 4 | { 5 | public Foo m_foo; 6 | public Bar m_bar; 7 | 8 | public static void main( String[] args ) 9 | { 10 | System.out.println( "Hello World!" ); 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /testing/project_setup/java_gradle/data/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /src/lib/data/graph/token_component/TokenComponentConst.h: -------------------------------------------------------------------------------- 1 | #ifndef TOKEN_COMPONENT_CONST_H 2 | #define TOKEN_COMPONENT_CONST_H 3 | 4 | #include "TokenComponent.h" 5 | 6 | class TokenComponentConst: public TokenComponent 7 | { 8 | public: 9 | std::shared_ptr copy() const override; 10 | }; 11 | 12 | #endif // TOKEN_COMPONENT_CONST_H 13 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/MessageFilter.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_FILTER_H 2 | #define MESSAGE_FILTER_H 3 | 4 | #include "MessageQueue.h" 5 | 6 | class MessageFilter 7 | { 8 | public: 9 | virtual ~MessageFilter() = default; 10 | 11 | virtual void filter(MessageQueue::MessageBufferType* messageBuffer) = 0; 12 | }; 13 | 14 | #endif // MESSAGE_FILTER_H 15 | -------------------------------------------------------------------------------- /src/lib/data/graph/token_component/TokenComponentStatic.h: -------------------------------------------------------------------------------- 1 | #ifndef TOKEN_COMPONENT_STATIC_H 2 | #define TOKEN_COMPONENT_STATIC_H 3 | 4 | #include "TokenComponent.h" 5 | 6 | class TokenComponentStatic: public TokenComponent 7 | { 8 | public: 9 | std::shared_ptr copy() const override; 10 | }; 11 | 12 | #endif // TOKEN_COMPONENT_STATIC_H 13 | -------------------------------------------------------------------------------- /src/lib/data/parser/Parser.h: -------------------------------------------------------------------------------- 1 | #ifndef PARSER_H 2 | #define PARSER_H 3 | 4 | #include 5 | 6 | class ParserClient; 7 | 8 | class Parser 9 | { 10 | public: 11 | Parser(std::shared_ptr client); 12 | virtual ~Parser() = default; 13 | 14 | protected: 15 | std::shared_ptr m_client; 16 | }; 17 | 18 | #endif // PARSER_H 19 | -------------------------------------------------------------------------------- /src/lib/utility/ScopedFunctor.h: -------------------------------------------------------------------------------- 1 | #ifndef SCOPED_FUNCTOR_H 2 | #define SCOPED_FUNCTOR_H 3 | 4 | #include 5 | 6 | class ScopedFunctor 7 | { 8 | public: 9 | ScopedFunctor(std::function onDestroy); 10 | ~ScopedFunctor(); 11 | 12 | private: 13 | std::function m_onDestroy; 14 | }; 15 | 16 | #endif // SCOPED_FUNCTOR_H 17 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/java_gradle/input/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/tab/MessageTabOpen.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_TAB_OPEN_H 2 | #define MESSAGE_TAB_OPEN_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageTabOpen: public Message 7 | { 8 | public: 9 | static const std::string getStaticType() 10 | { 11 | return "MessageTabOpen"; 12 | } 13 | }; 14 | 15 | #endif // MESSAGE_TAB_OPEN_H 16 | -------------------------------------------------------------------------------- /src/lib_cxx/LanguagePackageCxx.h: -------------------------------------------------------------------------------- 1 | #ifndef LANGUAGE_PACKAGE_CXX_H 2 | #define LANGUAGE_PACKAGE_CXX_H 3 | 4 | #include "LanguagePackage.h" 5 | 6 | class LanguagePackageCxx: public LanguagePackage 7 | { 8 | public: 9 | std::vector> instantiateSupportedIndexers() const override; 10 | }; 11 | 12 | #endif // LANGUAGE_PACKAGE_CXX_H 13 | -------------------------------------------------------------------------------- /src/lib_gui/qt/utility/QtMessageBox.cpp: -------------------------------------------------------------------------------- 1 | #include "QtMessageBox.h" 2 | 3 | QtMessageBox::QtMessageBox(QWidget *parent) 4 | : QMessageBox(parent) 5 | { 6 | } 7 | 8 | QAbstractButton *QtMessageBox::execModal() 9 | { 10 | (void)exec(); 11 | 12 | return clickedButton(); 13 | } 14 | 15 | int QtMessageBox::exec() 16 | { 17 | return QMessageBox::exec(); 18 | } 19 | -------------------------------------------------------------------------------- /bin/test/data/JavaIndexSampleProjectsTestSuite/JavaSymbolSolver060/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/AnnotationDeclaration.java: -------------------------------------------------------------------------------- 1 | package com.github.javaparser.symbolsolver.model.declarations; 2 | 3 | /** 4 | * @author Federico Tomassetti 5 | */ 6 | public interface AnnotationDeclaration extends ReferenceTypeDeclaration { 7 | } 8 | -------------------------------------------------------------------------------- /bin/test/data/UtilityGradleTestSuite/simple_gradle_project/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /src/lib_java/LanguagePackageJava.h: -------------------------------------------------------------------------------- 1 | #ifndef LANGUAGE_PACKAGE_JAVA_H 2 | #define LANGUAGE_PACKAGE_JAVA_H 3 | 4 | #include "LanguagePackage.h" 5 | 6 | class LanguagePackageJava: public LanguagePackage 7 | { 8 | public: 9 | std::vector> instantiateSupportedIndexers() const override; 10 | }; 11 | 12 | #endif // LANGUAGE_PACKAGE_JAVA_H 13 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/tab/MessageTabClose.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_TAB_CLOSE_H 2 | #define MESSAGE_TAB_CLOSE_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageTabClose: public Message 7 | { 8 | public: 9 | static const std::string getStaticType() 10 | { 11 | return "MessageTabClose"; 12 | } 13 | }; 14 | 15 | #endif // MESSAGE_TAB_CLOSE_H 16 | -------------------------------------------------------------------------------- /src/test/helper/TestFileRegister.h: -------------------------------------------------------------------------------- 1 | #ifndef TEST_FILE_MANAGER_H 2 | #define TEST_FILE_MANAGER_H 3 | 4 | #include "FileRegister.h" 5 | 6 | class TestFileRegister: public FileRegister 7 | { 8 | public: 9 | TestFileRegister(); 10 | ~TestFileRegister() override; 11 | bool hasFilePath(const FilePath& filePath) const override; 12 | }; 13 | 14 | #endif // TEST_FILE_MANAGER_H 15 | -------------------------------------------------------------------------------- /src/test/PlatformTestSuite.cpp: -------------------------------------------------------------------------------- 1 | #include "Catch2.hpp" 2 | 3 | #include "Platform.h" 4 | 5 | using namespace utility; 6 | 7 | TEST_CASE("platform_get_architecture") 8 | { 9 | const Platform::Architecture architecture = Platform::getArchitecture(); 10 | 11 | REQUIRE((architecture == Platform::Architecture::BITS_32 || architecture == Platform::Architecture::BITS_64)); 12 | } 13 | -------------------------------------------------------------------------------- /testing/history/data/files/player.cpp: -------------------------------------------------------------------------------- 1 | #include "player.h" 2 | 3 | Player::Player( Field::Token token, const char* name ) 4 | : token_( token ) 5 | , name_( name ) { 6 | } 7 | 8 | Player::~Player() { 9 | } 10 | 11 | const Field::Token& Player::getToken() const 12 | { 13 | return token_; 14 | } 15 | 16 | const char* Player::getName() const 17 | { 18 | return name_; 19 | } 20 | -------------------------------------------------------------------------------- /testing/project_setup/cxx_cbp/3_teardown.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # get absolute path to parent directory of script 4 | MY_PATH=`dirname "$0"` 5 | if [[ "${MY_PATH}" != *\\* ]] 6 | then 7 | cd $MY_PATH 8 | MY_PATH=`pwd` 9 | fi 10 | MY_PATH="${MY_PATH//\\//}" 11 | 12 | WORKING_COPY_PATH=$MY_PATH/working_copy 13 | 14 | rm -rf $WORKING_COPY_PATH 15 | 16 | echo "Teardown Complete" 17 | -------------------------------------------------------------------------------- /testing/project_setup/cxx_cdb/3_teardown.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # get absolute path to parent directory of script 4 | MY_PATH=`dirname "$0"` 5 | if [[ "${MY_PATH}" != *\\* ]] 6 | then 7 | cd $MY_PATH 8 | MY_PATH=`pwd` 9 | fi 10 | MY_PATH="${MY_PATH//\\//}" 11 | 12 | WORKING_COPY_PATH=$MY_PATH/working_copy 13 | 14 | rm -rf $WORKING_COPY_PATH 15 | 16 | echo "Teardown Complete" 17 | -------------------------------------------------------------------------------- /testing/search_view/data/files/player.cpp: -------------------------------------------------------------------------------- 1 | #include "player.h" 2 | 3 | Player::Player( Field::Token token, const char* name ) 4 | : token_( token ) 5 | , name_( name ) { 6 | } 7 | 8 | Player::~Player() { 9 | } 10 | 11 | const Field::Token& Player::getToken() const 12 | { 13 | return token_; 14 | } 15 | 16 | const char* Player::getName() const 17 | { 18 | return name_; 19 | } 20 | -------------------------------------------------------------------------------- /src/lib/data/graph/ElementComponentKind.h: -------------------------------------------------------------------------------- 1 | #ifndef ELEMENT_COMPONENT_KIND_H 2 | #define ELEMENT_COMPONENT_KIND_H 3 | 4 | #include "utilityEnum.h" 5 | 6 | enum ElementComponentKind 7 | { 8 | ELEMENT_COMPONENT_NONE = 0, 9 | ELEMENT_COMPONENT_IS_AMBIGUOUS = 1 10 | }; 11 | 12 | template <> 13 | ElementComponentKind intToEnum(int value); 14 | 15 | #endif // ELEMENT_COMPONENT_KIND_H 16 | -------------------------------------------------------------------------------- /src/lib/utility/utilityUuid.h: -------------------------------------------------------------------------------- 1 | #ifndef UTILITY_UUID_H 2 | #define UTILITY_UUID_H 3 | 4 | #include 5 | 6 | // #include 7 | 8 | namespace utility 9 | { 10 | // boost::uuids::uuid getUuid(); 11 | // std::string uuidToString(const boost::uuids::uuid& uuid); 12 | std::string getUuidString(); 13 | } // namespace utility 14 | 15 | #endif // UTILITY_UUID_H 16 | -------------------------------------------------------------------------------- /src/lib_gui/qt/element/button/QtExpanderButton.h: -------------------------------------------------------------------------------- 1 | #ifndef QT_EXPANDER_BUTTON_H 2 | #define QT_EXPANDER_BUTTON_H 3 | 4 | #include 5 | 6 | class QtExpanderButton : public QToolButton 7 | { 8 | Q_OBJECT 9 | 10 | public: 11 | QtExpanderButton(const QString &text, QWidget *parent = nullptr); 12 | 13 | signals: 14 | void expanded(bool expanded); 15 | }; 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /testing/project_setup/cpp_empty/3_teardown.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # get absolute path to parent directory of script 4 | MY_PATH=`dirname "$0"` 5 | if [[ "${MY_PATH}" != *\\* ]] 6 | then 7 | cd $MY_PATH 8 | MY_PATH=`pwd` 9 | fi 10 | MY_PATH="${MY_PATH//\\//}" 11 | 12 | WORKING_COPY_PATH=$MY_PATH/working_copy 13 | 14 | rm -rf $WORKING_COPY_PATH 15 | 16 | echo "Teardown Complete" 17 | -------------------------------------------------------------------------------- /testing/project_setup/cpp_empty_pch/2_teardown.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # get absolute path to parent directory of script 4 | MY_PATH=`dirname "$0"` 5 | if [[ "${MY_PATH}" != *\\* ]] 6 | then 7 | cd $MY_PATH 8 | MY_PATH=`pwd` 9 | fi 10 | MY_PATH="${MY_PATH//\\//}" 11 | 12 | WORKING_COPY_PATH=$MY_PATH/working_copy 13 | 14 | rm -rf $WORKING_COPY_PATH 15 | 16 | echo "Teardown Complete" 17 | -------------------------------------------------------------------------------- /testing/project_setup/cxx_cdb_pch/2_teardown.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # get absolute path to parent directory of script 4 | MY_PATH=`dirname "$0"` 5 | if [[ "${MY_PATH}" != *\\* ]] 6 | then 7 | cd $MY_PATH 8 | MY_PATH=`pwd` 9 | fi 10 | MY_PATH="${MY_PATH//\\//}" 11 | 12 | WORKING_COPY_PATH=$MY_PATH/working_copy 13 | 14 | rm -rf $WORKING_COPY_PATH 15 | 16 | echo "Teardown Complete" 17 | -------------------------------------------------------------------------------- /testing/project_setup/java_empty/3_teardown.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # get absolute path to parent directory of script 4 | MY_PATH=`dirname "$0"` 5 | if [[ "${MY_PATH}" != *\\* ]] 6 | then 7 | cd $MY_PATH 8 | MY_PATH=`pwd` 9 | fi 10 | MY_PATH="${MY_PATH//\\//}" 11 | 12 | WORKING_COPY_PATH=$MY_PATH/working_copy 13 | 14 | rm -rf $WORKING_COPY_PATH 15 | 16 | echo "Teardown Complete" 17 | -------------------------------------------------------------------------------- /testing/project_setup/java_gradle/3_teardown.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # get absolute path to parent directory of script 4 | MY_PATH=`dirname "$0"` 5 | if [[ "${MY_PATH}" != *\\* ]] 6 | then 7 | cd $MY_PATH 8 | MY_PATH=`pwd` 9 | fi 10 | MY_PATH="${MY_PATH//\\//}" 11 | 12 | WORKING_COPY_PATH=$MY_PATH/working_copy 13 | 14 | rm -rf $WORKING_COPY_PATH 15 | 16 | echo "Teardown Complete" 17 | -------------------------------------------------------------------------------- /testing/project_setup/java_maven/3_teardown.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # get absolute path to parent directory of script 4 | MY_PATH=`dirname "$0"` 5 | if [[ "${MY_PATH}" != *\\* ]] 6 | then 7 | cd $MY_PATH 8 | MY_PATH=`pwd` 9 | fi 10 | MY_PATH="${MY_PATH//\\//}" 11 | 12 | WORKING_COPY_PATH=$MY_PATH/working_copy 13 | 14 | rm -rf $WORKING_COPY_PATH 15 | 16 | echo "Teardown Complete" 17 | -------------------------------------------------------------------------------- /bin/app/user/projects/tictactoe_cpp/src/player.cpp: -------------------------------------------------------------------------------- 1 | #include "player.h" 2 | 3 | Player::Player( Field::Token token, const char* name ) 4 | : token_( token ) 5 | , name_( name ) { 6 | } 7 | 8 | Player::~Player() { 9 | } 10 | 11 | const Field::Token& Player::getToken() const 12 | { 13 | return token_; 14 | } 15 | 16 | const char* Player::getName() const 17 | { 18 | return name_; 19 | } 20 | -------------------------------------------------------------------------------- /src/lib/component/controller/RefreshController.cpp: -------------------------------------------------------------------------------- 1 | #include "RefreshController.h" 2 | 3 | #include "RefreshView.h" 4 | 5 | RefreshController::RefreshController() = default; 6 | 7 | RefreshController::~RefreshController() = default; 8 | 9 | void RefreshController::clear() {} 10 | 11 | RefreshView* RefreshController::getView() 12 | { 13 | return Controller::getView(); 14 | } 15 | -------------------------------------------------------------------------------- /src/lib/data/DefinitionKind.cpp: -------------------------------------------------------------------------------- 1 | #include "DefinitionKind.h" 2 | 3 | namespace 4 | { 5 | 6 | const DefinitionKind DEFINITION_KINDS[] = { 7 | DefinitionKind::NONE, 8 | DefinitionKind::IMPLICIT, 9 | DefinitionKind::EXPLICIT 10 | }; 11 | 12 | } 13 | 14 | template<> 15 | DefinitionKind intToEnum(int value) 16 | { 17 | return lookupEnum(value, DEFINITION_KINDS, DefinitionKind::NONE); 18 | } 19 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/activation/MessageActivateBase.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_ACTIVATE_BASE_H 2 | #define MESSAGE_ACTIVATE_BASE_H 3 | 4 | #include "SearchMatch.h" 5 | 6 | class MessageActivateBase 7 | { 8 | public: 9 | virtual ~MessageActivateBase() = default; 10 | 11 | virtual std::vector getSearchMatches() const = 0; 12 | }; 13 | 14 | #endif // MESSAGE_ACTIVATE_BASE_H 15 | -------------------------------------------------------------------------------- /src/lib_cxx/data/parser/cxx/SingleFrontendActionFactory.cpp: -------------------------------------------------------------------------------- 1 | #include "SingleFrontendActionFactory.h" 2 | 3 | SingleFrontendActionFactory::SingleFrontendActionFactory(clang::FrontendAction* action) 4 | : m_action(action) 5 | { 6 | } 7 | 8 | std::unique_ptr SingleFrontendActionFactory::create() 9 | { 10 | return std::unique_ptr(m_action); 11 | } 12 | -------------------------------------------------------------------------------- /src/lib_gui/qt/element/button/QtPushButton.h: -------------------------------------------------------------------------------- 1 | #ifndef QT_PUSH_BUTTON_H 2 | #define QT_PUSH_BUTTON_H 3 | 4 | #include 5 | 6 | class QtPushButton : public QPushButton 7 | { 8 | Q_OBJECT 9 | 10 | public: 11 | QtPushButton(); 12 | 13 | signals: 14 | void doubleClicked(); 15 | 16 | protected: 17 | void mouseDoubleClickEvent(QMouseEvent *) override; 18 | }; 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /run-clang-tidy-fix.sh: -------------------------------------------------------------------------------- 1 | # Windows: 2 | # 3 | # @echo off 4 | # python "C:\Program Files\LLVM\bin\run-clang-tidy" -p ..\..\build\Engine-Debug-Ninja -fix -extra-arg="-w" 5 | 6 | #!/bin/sh 7 | 8 | # Running 'run-clang-tidy' with '-j 1' doesn't solve the problem of multiple fixes! 9 | # run-clang-tidy-18 -p ../build/system-debug/ -fix -extra-arg="-w" 10 | run-clang-tidy-20 -p ../build/system-release/ -fix 11 | -------------------------------------------------------------------------------- /src/app/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(Sourcetrail 2 | main.cpp 3 | Sourcetrail.rc 4 | ) 5 | setDefaultTargetOptions(Sourcetrail) 6 | 7 | set_target_properties(Sourcetrail 8 | PROPERTIES 9 | RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/app/" 10 | PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/app/" 11 | ) 12 | 13 | target_link_libraries(Sourcetrail 14 | PRIVATE 15 | Sourcetrail_lib 16 | ) 17 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/MessageWindowChanged.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_WINDOW_CHANGED_H 2 | #define MESSAGE_WINDOW_CHANGED_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageWindowChanged: public Message 7 | { 8 | public: 9 | static const std::string getStaticType() 10 | { 11 | return "MessageWindowChanged"; 12 | } 13 | }; 14 | 15 | #endif // MESSAGE_WINDOW_CHANGED_H 16 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/bookmark/MessageBookmarkEdit.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_BOOKMARK_EDIT_H 2 | #define MESSAGE_BOOKMARK_EDIT_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageBookmarkEdit: public Message 7 | { 8 | public: 9 | static const std::string getStaticType() 10 | { 11 | return "MessageBookmarkEdit"; 12 | } 13 | }; 14 | 15 | #endif // MESSAGE_BOOKMARK_EDIT_H 16 | -------------------------------------------------------------------------------- /src/lib_gui/qt/element/dialog/QtStringListBoxItem.cpp: -------------------------------------------------------------------------------- 1 | #include "QtStringListBoxItem.h" 2 | 3 | #include "QtStringListBox.h" 4 | 5 | QtStringListBoxItem::QtStringListBoxItem(QtStringListBox* listBox, QListWidgetItem* item, QWidget* parent) 6 | : QtListBoxItem(item, parent), m_listBox(listBox) 7 | { 8 | } 9 | 10 | QtListBox* QtStringListBoxItem::getListBox() 11 | { 12 | return m_listBox; 13 | } 14 | -------------------------------------------------------------------------------- /testing/project_setup/cpp_empty/2_update.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # get absolute path to parent directory of script 4 | MY_PATH=`dirname "$0"` 5 | if [[ "${MY_PATH}" != *\\* ]] 6 | then 7 | cd $MY_PATH 8 | MY_PATH=`pwd` 9 | fi 10 | MY_PATH="${MY_PATH//\\//}" 11 | 12 | WORKING_COPY_PATH=$MY_PATH/working_copy 13 | 14 | echo "" >> $WORKING_COPY_PATH/src/Bar.h 15 | 16 | echo "Update Complete" 17 | 18 | -------------------------------------------------------------------------------- /src/lib/app/LanguagePackage.h: -------------------------------------------------------------------------------- 1 | #ifndef LANGUAGE_PACKAGE_H 2 | #define LANGUAGE_PACKAGE_H 3 | 4 | #include 5 | #include 6 | 7 | class IndexerBase; 8 | 9 | class LanguagePackage 10 | { 11 | public: 12 | virtual ~LanguagePackage() = default; 13 | virtual std::vector> instantiateSupportedIndexers() const = 0; 14 | }; 15 | 16 | #endif // LANGUAGE_PACKAGE_H 17 | -------------------------------------------------------------------------------- /src/lib/data/DefinitionKind.h: -------------------------------------------------------------------------------- 1 | #ifndef DEFINITION_KIND_H 2 | #define DEFINITION_KIND_H 3 | 4 | #include "utilityEnum.h" 5 | 6 | // these values need to be the same as DefinitionKind in Java code 7 | enum class DefinitionKind 8 | { 9 | NONE = 0, 10 | IMPLICIT = 1, 11 | EXPLICIT = 2 12 | }; 13 | 14 | template<> 15 | DefinitionKind intToEnum(int definitionKind); 16 | 17 | #endif // DEFINITION_TYPE_H 18 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/MessageResetZoom.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_RESET_ZOOM_H 2 | #define MESSAGE_RESET_ZOOM_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageResetZoom: public Message 7 | { 8 | public: 9 | MessageResetZoom() = default; 10 | 11 | static const std::string getStaticType() 12 | { 13 | return "MessageResetZoom"; 14 | } 15 | }; 16 | 17 | #endif // MESSAGE_RESET_ZOOM_H -------------------------------------------------------------------------------- /src/lib_gui/qt/utility/compatibilityQt.h: -------------------------------------------------------------------------------- 1 | #ifndef COMPATIBILITY_QT_H 2 | #define COMPATIBILITY_QT_H 3 | 4 | #include 5 | 6 | namespace utility::compatibility 7 | { 8 | 9 | QPoint QWheelEvent_globalPos(const QWheelEvent *event); 10 | QPoint QMouseEvent_globalPos(const QMouseEvent *event); 11 | int QMouseEvent_x(const QMouseEvent *event); 12 | 13 | } 14 | 15 | #endif // COMPATIBILITY_QT_H 16 | -------------------------------------------------------------------------------- /testing/project_setup/cxx_cbp/2_update.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # get absolute path to parent directory of script 4 | MY_PATH=`dirname "$0"` 5 | if [[ "${MY_PATH}" != *\\* ]] 6 | then 7 | cd $MY_PATH 8 | MY_PATH=`pwd` 9 | fi 10 | MY_PATH="${MY_PATH//\\//}" 11 | 12 | WORKING_COPY_PATH=$MY_PATH/working_copy 13 | 14 | echo "" >> $WORKING_COPY_PATH/src/include/Bar.h 15 | 16 | echo "Update Complete" 17 | 18 | -------------------------------------------------------------------------------- /testing/project_setup/cxx_cdb/2_update.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # get absolute path to parent directory of script 4 | MY_PATH=`dirname "$0"` 5 | if [[ "${MY_PATH}" != *\\* ]] 6 | then 7 | cd $MY_PATH 8 | MY_PATH=`pwd` 9 | fi 10 | MY_PATH="${MY_PATH//\\//}" 11 | 12 | WORKING_COPY_PATH=$MY_PATH/working_copy 13 | 14 | echo "" >> $WORKING_COPY_PATH/src/include/Bar.h 15 | 16 | echo "Update Complete" 17 | 18 | -------------------------------------------------------------------------------- /testing/project_setup/java_empty/2_update.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # get absolute path to parent directory of script 4 | MY_PATH=`dirname "$0"` 5 | if [[ "${MY_PATH}" != *\\* ]] 6 | then 7 | cd $MY_PATH 8 | MY_PATH=`pwd` 9 | fi 10 | MY_PATH="${MY_PATH//\\//}" 11 | 12 | WORKING_COPY_PATH=$MY_PATH/working_copy 13 | 14 | echo "" >> $WORKING_COPY_PATH/src/foo/Bar.java 15 | 16 | echo "Update Complete" 17 | 18 | -------------------------------------------------------------------------------- /cmake/productVersion.h.in: -------------------------------------------------------------------------------- 1 | #ifndef PRODUCT_VERSION_H 2 | #define PRODUCT_VERSION_H 3 | 4 | // This is a generated file, DO NOT EDIT! 5 | 6 | #define PRODUCT_VERSION_MAJOR @Sourcetrail_VERSION_MAJOR@ 7 | #define PRODUCT_VERSION_MINOR @Sourcetrail_VERSION_MINOR@ 8 | #define PRODUCT_VERSION_PATCH @Sourcetrail_VERSION_PATCH@ 9 | // #define PRODUCT_VERSION_TWEAK @Sourcetrail_VERSION_TWEAK@ 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/lib/component/view/BookmarkView.cpp: -------------------------------------------------------------------------------- 1 | #include "BookmarkView.h" 2 | 3 | #include "BookmarkController.h" 4 | 5 | BookmarkView::BookmarkView(ViewLayout* viewLayout): View(viewLayout) {} 6 | 7 | std::string BookmarkView::getName() const 8 | { 9 | return "BookmarkView"; 10 | } 11 | 12 | BookmarkController* BookmarkView::getController() 13 | { 14 | return View::getController(); 15 | } 16 | -------------------------------------------------------------------------------- /src/lib_gui/qt/element/dialog/QtLineEdit.h: -------------------------------------------------------------------------------- 1 | #ifndef QT_LINE_EDIT_H 2 | #define QT_LINE_EDIT_H 3 | 4 | #include 5 | 6 | class QtLineEdit: public QLineEdit 7 | { 8 | Q_OBJECT 9 | 10 | public: 11 | QtLineEdit(QWidget* parent = nullptr); 12 | 13 | signals: 14 | void focus(); 15 | 16 | protected: 17 | void focusInEvent(QFocusEvent* event) override; 18 | }; 19 | 20 | #endif // QT_LINE_EDIT_H 21 | -------------------------------------------------------------------------------- /src/test/helper/TestFileRegister.cpp: -------------------------------------------------------------------------------- 1 | #include "TestFileRegister.h" 2 | 3 | #include "FilePathFilter.h" 4 | 5 | TestFileRegister::TestFileRegister() 6 | : FileRegister(FilePath(), std::set(), {FilePathFilter("")}) 7 | { 8 | } 9 | 10 | TestFileRegister::~TestFileRegister() = default; 11 | 12 | bool TestFileRegister::hasFilePath(const FilePath& /*filePath*/) const 13 | { 14 | return true; 15 | } 16 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/bookmark/MessageBookmarkDelete.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_BOOKMARK_DELETE_H 2 | #define MESSAGE_BOOKMARK_DELETE_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageBookmarkDelete: public Message 7 | { 8 | public: 9 | static const std::string getStaticType() 10 | { 11 | return "MessageBookmarkDelete"; 12 | } 13 | }; 14 | 15 | #endif // MESSAGE_BOOKMARK_DELETE_H 16 | -------------------------------------------------------------------------------- /src/lib/component/view/StatusBarView.cpp: -------------------------------------------------------------------------------- 1 | #include "StatusBarView.h" 2 | 3 | #include "StatusBarController.h" 4 | 5 | StatusBarView::StatusBarView(ViewLayout* viewLayout): View(viewLayout) {} 6 | 7 | std::string StatusBarView::getName() const 8 | { 9 | return "StatusBarView"; 10 | } 11 | 12 | StatusBarController* StatusBarView::getController() 13 | { 14 | return View::getController(); 15 | } 16 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/MessageShowStatus.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_SHOW_STATUS_H 2 | #define MESSAGE_SHOW_STATUS_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageShowStatus: public Message 7 | { 8 | public: 9 | MessageShowStatus() = default; 10 | 11 | static const std::string getStaticType() 12 | { 13 | return "MessageShowStatus"; 14 | } 15 | }; 16 | 17 | #endif // MESSAGE_SHOW_STATUS_H 18 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/error/MessageErrorsAll.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_ERRORS_ALL_H 2 | #define MESSAGE_ERRORS_ALL_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageErrorsAll: public Message 7 | { 8 | public: 9 | static const std::string getStaticType() 10 | { 11 | return "MessageErrorsAll"; 12 | } 13 | 14 | MessageErrorsAll() = default; 15 | }; 16 | 17 | #endif // MESSAGE_ERRORS_ALL_H 18 | -------------------------------------------------------------------------------- /src/lib/data/storage/StorageStats.h: -------------------------------------------------------------------------------- 1 | #ifndef STORAGE_STATS_H 2 | #define STORAGE_STATS_H 3 | 4 | #include "TimeStamp.h" 5 | 6 | struct StorageStats 7 | { 8 | StorageStats() = default; 9 | 10 | size_t nodeCount = 0; 11 | size_t edgeCount = 0; 12 | 13 | size_t fileCount = 0; 14 | size_t completedFileCount = 0; 15 | size_t fileLOCCount = 0; 16 | 17 | TimeStamp timestamp; 18 | }; 19 | 20 | #endif // STORAGE_STATS_H 21 | -------------------------------------------------------------------------------- /testing/project_setup/java_gradle/2_update.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # get absolute path to parent directory of script 4 | MY_PATH=`dirname "$0"` 5 | if [[ "${MY_PATH}" != *\\* ]] 6 | then 7 | cd $MY_PATH 8 | MY_PATH=`pwd` 9 | fi 10 | MY_PATH="${MY_PATH//\\//}" 11 | 12 | WORKING_COPY_PATH=$MY_PATH/working_copy 13 | 14 | echo "" >> $WORKING_COPY_PATH/src/main/java/hello/Greeter.java 15 | 16 | echo "Update Complete" 17 | 18 | -------------------------------------------------------------------------------- /src/external/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Use quotes to indicate a version literal: 2 | set(CppSQLite3_VERSION "\"3.2\"" PARENT_SCOPE) 3 | 4 | add_library(External_lib_cppsqlite3 5 | sqlite/CppSQLite3.cpp 6 | sqlite/CppSQLite3.h 7 | ) 8 | 9 | target_include_directories(External_lib_cppsqlite3 SYSTEM 10 | PUBLIC 11 | sqlite 12 | ) 13 | 14 | target_link_libraries(External_lib_cppsqlite3 15 | PUBLIC 16 | External_lib_sqlite3 17 | ) 18 | -------------------------------------------------------------------------------- /src/lib/component/controller/Controller.cpp: -------------------------------------------------------------------------------- 1 | #include "Controller.h" 2 | 3 | Controller::Controller() = default; 4 | 5 | Controller::~Controller() = default; 6 | 7 | void Controller::setComponent(Component* component) 8 | { 9 | m_component = component; 10 | } 11 | 12 | TabId Controller::getTabId() const 13 | { 14 | if (m_component) 15 | { 16 | return m_component->getTabId(); 17 | } 18 | 19 | return TabId::NONE; 20 | } 21 | -------------------------------------------------------------------------------- /src/lib/component/view/SearchView.cpp: -------------------------------------------------------------------------------- 1 | #include "SearchView.h" 2 | 3 | #include "SearchController.h" 4 | 5 | SearchView::SearchView(ViewLayout* viewLayout): View(viewLayout) {} 6 | 7 | SearchView::~SearchView() = default; 8 | 9 | std::string SearchView::getName() const 10 | { 11 | return "Search"; 12 | } 13 | 14 | SearchController* SearchView::getController() 15 | { 16 | return View::getController(); 17 | } 18 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/MessageProjectEdit.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_PROJECT_EDIT_H 2 | #define MESSAGE_PROJECT_EDIT_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageProjectEdit: public Message 7 | { 8 | public: 9 | MessageProjectEdit() = default; 10 | 11 | static const std::string getStaticType() 12 | { 13 | return "MessageProjectEdit"; 14 | } 15 | }; 16 | 17 | #endif // MESSAGE_PROJECT_EDIT_H 18 | -------------------------------------------------------------------------------- /src/lib_cxx/data/parser/cxx/CxxAstVisitorComponent.cpp: -------------------------------------------------------------------------------- 1 | #include "CxxAstVisitorComponent.h" 2 | 3 | CxxAstVisitorComponent::CxxAstVisitorComponent(CxxAstVisitor* astVisitor): m_astVisitor(astVisitor) 4 | { 5 | } 6 | 7 | CxxAstVisitor* CxxAstVisitorComponent::getAstVisitor() 8 | { 9 | return m_astVisitor; 10 | } 11 | 12 | const CxxAstVisitor* CxxAstVisitorComponent::getAstVisitor() const 13 | { 14 | return m_astVisitor; 15 | } 16 | -------------------------------------------------------------------------------- /testing/code_view/data/single_file_files/reference2.h: -------------------------------------------------------------------------------- 1 | #include "header.h" 2 | 3 | 4 | // TEST: edge click switches to file - continued 5 | // START ---------------------------------------------------------------------- 6 | 7 | // RESULT: This file is visible and scrolled here 8 | 9 | // END ------------------------------------------------------------------------ 10 | 11 | void ref_func2() 12 | { 13 | Reference2 ref; 14 | } 15 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/custom_command/expected_output/output_unix.txt: -------------------------------------------------------------------------------- 1 | IndexerCommandCustom 2 | SourceFilePath: "src/a.txt" 3 | Custom Command: "echo "Hello World"" 4 | Arguments: 5 | IndexerCommandCustom 6 | SourceFilePath: "src/b.txt" 7 | Custom Command: "echo "Hello World"" 8 | Arguments: 9 | IndexerCommandCustom 10 | SourceFilePath: "src/included/a.txt" 11 | Custom Command: "echo "Hello World"" 12 | Arguments: 13 | -------------------------------------------------------------------------------- /src/lib/component/view/RefreshView.h: -------------------------------------------------------------------------------- 1 | #ifndef REFRESH_VIEW_H 2 | #define REFRESH_VIEW_H 3 | 4 | #include "View.h" 5 | 6 | class RefreshController; 7 | 8 | class RefreshView: public View 9 | { 10 | public: 11 | RefreshView(ViewLayout* viewLayout); 12 | ~RefreshView() override; 13 | 14 | std::string getName() const override; 15 | 16 | private: 17 | RefreshController* getController(); 18 | }; 19 | 20 | #endif // REFRESH_VIEW_H 21 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/custom_command/expected_output/output_windows.txt: -------------------------------------------------------------------------------- 1 | IndexerCommandCustom 2 | SourceFilePath: "src/a.txt" 3 | Custom Command: "echo "Hello World"" 4 | Arguments: 5 | IndexerCommandCustom 6 | SourceFilePath: "src/b.txt" 7 | Custom Command: "echo "Hello World"" 8 | Arguments: 9 | IndexerCommandCustom 10 | SourceFilePath: "src/included/a.txt" 11 | Custom Command: "echo "Hello World"" 12 | Arguments: 13 | -------------------------------------------------------------------------------- /src/lib/component/controller/RefreshController.h: -------------------------------------------------------------------------------- 1 | #ifndef REFRESH_CONTROLLER_H 2 | #define REFRESH_CONTROLLER_H 3 | 4 | #include "Controller.h" 5 | 6 | class RefreshView; 7 | 8 | class RefreshController: public Controller 9 | { 10 | public: 11 | RefreshController(); 12 | ~RefreshController() override; 13 | 14 | void clear() override; 15 | 16 | private: 17 | RefreshView* getView(); 18 | }; 19 | 20 | #endif // REFRESH_CONTROLLER_H 21 | -------------------------------------------------------------------------------- /src/lib_aidkit/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(AidKit_lib 2 | aidkit/enum_class.hpp 3 | aidkit/enum_class.cpp 4 | 5 | aidkit/thread_shared.hpp 6 | aidkit/thread_shared.cpp 7 | 8 | aidkit/qt/Strings.hpp 9 | aidkit/qt/Strings.cpp 10 | ) 11 | setDefaultTargetOptions(AidKit_lib) 12 | 13 | target_include_directories(AidKit_lib 14 | PUBLIC 15 | . 16 | ) 17 | target_link_libraries(AidKit_lib 18 | PUBLIC 19 | External_lib_qt 20 | ) 21 | 22 | -------------------------------------------------------------------------------- /testing/project_setup/java_gradle/data/src/main/java/hello/HelloWorld.java: -------------------------------------------------------------------------------- 1 | package hello; 2 | 3 | import org.joda.time.LocalTime; 4 | 5 | public class HelloWorld { 6 | public static void main(String[] args) { 7 | LocalTime currentTime = new LocalTime(); 8 | System.out.println("The current local time is: " + currentTime); 9 | 10 | Greeter greeter = new Greeter(); 11 | System.out.println(greeter.sayHello()); 12 | } 13 | } -------------------------------------------------------------------------------- /testing/project_setup/java_maven/2_update.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # get absolute path to parent directory of script 4 | MY_PATH=`dirname "$0"` 5 | if [[ "${MY_PATH}" != *\\* ]] 6 | then 7 | cd $MY_PATH 8 | MY_PATH=`pwd` 9 | fi 10 | MY_PATH="${MY_PATH//\\//}" 11 | 12 | WORKING_COPY_PATH=$MY_PATH/working_copy 13 | 14 | echo "" >> $WORKING_COPY_PATH/my-app/src/main/java/com/mycompany/app/Bar.java 15 | 16 | echo "Update Complete" 17 | 18 | -------------------------------------------------------------------------------- /src/lib/settings/source_group/SourceGroupStatusType.h: -------------------------------------------------------------------------------- 1 | #ifndef SOURCE_GROUP_STATUS_TYPE_H 2 | #define SOURCE_GROUP_STATUS_TYPE_H 3 | 4 | #include 5 | 6 | enum class SourceGroupStatusType 7 | { 8 | ENABLED, 9 | DISABLED 10 | }; 11 | 12 | std::string sourceGroupStatusTypeToString(SourceGroupStatusType v); 13 | SourceGroupStatusType stringToSourceGroupStatusType(const std::string &v); 14 | 15 | #endif // SOURCE_GROUP_STATUS_TYPE_H 16 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/java_gradle/input/src/main/java/hello/HelloWorld.java: -------------------------------------------------------------------------------- 1 | package hello; 2 | 3 | import org.joda.time.LocalTime; 4 | 5 | public class HelloWorld { 6 | public static void main(String[] args) { 7 | LocalTime currentTime = new LocalTime(); 8 | System.out.println("The current local time is: " + currentTime); 9 | 10 | Greeter greeter = new Greeter(); 11 | System.out.println(greeter.sayHello()); 12 | } 13 | } -------------------------------------------------------------------------------- /docs/technical_notes/abstract_syntax_tree-AST/Java-Eclipse-JDT-AST.md: -------------------------------------------------------------------------------- 1 | # Viewing the Eclipse JDT AST 2 | 3 | * Installing **Java AST View** 4 | * Help > Install New Software... 5 | * Search for **AST** 6 | * Select 7 | * Programming Languages > **Java AST View** 8 | * Uncategorized > **Eclipse Core Runtime Infrastructure** 9 | 10 | * View AST: 11 | * Window > Show View > Other... 12 | * Java > **Abstract Syntax Tree** -------------------------------------------------------------------------------- /docs/technical_notes/control_flow_graph-CFG/output.txt: -------------------------------------------------------------------------------- 1 | test.cc:16:3: Implicit dtor call: HasDtor::~HasDtor declared at test.cc:8:3 2 | test.cc:22:3: Implicit base class dtor call: HasDtor::~HasDtor declared at test.cc:8:3 3 | test.cc:25:6: Implicit dtor call: HasDtor::~HasDtor declared at test.cc:8:3 4 | test.cc:31:6: Implicit dtor call: HasDtor::~HasDtor declared at test.cc:8:3 5 | test.cc:39:6: Implicit dtor call: HasDtor::~HasDtor declared at test.cc:8:3 6 | -------------------------------------------------------------------------------- /java_indexer/src/main/java/com/sourcetrail/DefinitionKind.java: -------------------------------------------------------------------------------- 1 | package com.sourcetrail; 2 | 3 | // these values need to be the same as DefinitionKind in C++ code 4 | public enum DefinitionKind { 5 | NONE(0), 6 | IMPLICIT(1), 7 | EXPLICIT(2); 8 | 9 | private final int m_value; 10 | 11 | private DefinitionKind(int value) 12 | { 13 | this.m_value = value; 14 | } 15 | 16 | public int getValue() 17 | { 18 | return m_value; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/lib/component/view/RefreshView.cpp: -------------------------------------------------------------------------------- 1 | #include "RefreshView.h" 2 | 3 | #include "RefreshController.h" 4 | 5 | RefreshView::RefreshView(ViewLayout* viewLayout): View(viewLayout) {} 6 | 7 | RefreshView::~RefreshView() = default; 8 | 9 | std::string RefreshView::getName() const 10 | { 11 | return "RefreshView"; 12 | } 13 | 14 | RefreshController* RefreshView::getController() 15 | { 16 | return View::getController(); 17 | } 18 | -------------------------------------------------------------------------------- /src/lib_gui/utility/path_detector/maven_executable/MavenPathDetectorUnixWindows.h: -------------------------------------------------------------------------------- 1 | #ifndef MAVEN_PATH_DETECTOR_UNIX_WINDOWS_H 2 | #define MAVEN_PATH_DETECTOR_UNIX_WINDOWS_H 3 | 4 | #include "PathDetector.h" 5 | 6 | class MavenPathDetectorUnixWindows : public PathDetector 7 | { 8 | public: 9 | MavenPathDetectorUnixWindows(const std::string &name); 10 | 11 | private: 12 | std::vector doGetPaths() const override; 13 | }; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/MessageActivateWindow.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_ACTIVATE_WINDOW_H 2 | #define MESSAGE_ACTIVATE_WINDOW_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageActivateWindow: public Message 7 | { 8 | public: 9 | MessageActivateWindow() = default; 10 | 11 | static const std::string getStaticType() 12 | { 13 | return "MessageActivateWindow"; 14 | } 15 | }; 16 | 17 | #endif // MESSAGE_ACTIVATE_WINDOW_H 18 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/tab/MessageTabSelect.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_TAB_SELECT_H 2 | #define MESSAGE_TAB_SELECT_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageTabSelect: public Message 7 | { 8 | public: 9 | MessageTabSelect(bool next): next(next) {} 10 | 11 | static const std::string getStaticType() 12 | { 13 | return "MessageTabSelect"; 14 | } 15 | 16 | bool next; 17 | }; 18 | 19 | #endif // MESSAGE_TAB_SELECT_H 20 | -------------------------------------------------------------------------------- /testing/code_view/data/file_bar_files/non_indexed.h: -------------------------------------------------------------------------------- 1 | 2 | int c = 10; 3 | 4 | // TEST: non-indexed file - continued 5 | // START ---------------------------------------------------------------------- 6 | 7 | // RESULT 1: file button of 'non_indexed.h' has hatching 8 | 9 | // ACTION 2: Hover file name 10 | 11 | // RESULT 2: Tooltip also shows "non-indexed file:" 12 | 13 | // END ------------------------------------------------------------------------ 14 | -------------------------------------------------------------------------------- /testing/project_setup/cpp_empty/1_setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # get absolute path to parent directory of script 4 | MY_PATH=`dirname "$0"` 5 | if [[ "${MY_PATH}" != *\\* ]] 6 | then 7 | cd $MY_PATH 8 | MY_PATH=`pwd` 9 | fi 10 | MY_PATH="${MY_PATH//\\//}" 11 | 12 | SRC_PATH=$MY_PATH/data 13 | WORKING_COPY_PATH=$MY_PATH/working_copy 14 | 15 | mkdir -p $WORKING_COPY_PATH 16 | 17 | cp -a $SRC_PATH/. $WORKING_COPY_PATH 18 | 19 | echo "Setup Complete" 20 | -------------------------------------------------------------------------------- /testing/project_setup/java_empty/1_setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # get absolute path to parent directory of script 4 | MY_PATH=`dirname "$0"` 5 | if [[ "${MY_PATH}" != *\\* ]] 6 | then 7 | cd $MY_PATH 8 | MY_PATH=`pwd` 9 | fi 10 | MY_PATH="${MY_PATH//\\//}" 11 | 12 | SRC_PATH=$MY_PATH/data 13 | WORKING_COPY_PATH=$MY_PATH/working_copy 14 | 15 | mkdir -p $WORKING_COPY_PATH 16 | 17 | cp -a $SRC_PATH/. $WORKING_COPY_PATH 18 | 19 | echo "Setup Complete" 20 | -------------------------------------------------------------------------------- /testing/project_setup/java_gradle/1_setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # get absolute path to parent directory of script 4 | MY_PATH=`dirname "$0"` 5 | if [[ "${MY_PATH}" != *\\* ]] 6 | then 7 | cd $MY_PATH 8 | MY_PATH=`pwd` 9 | fi 10 | MY_PATH="${MY_PATH//\\//}" 11 | 12 | SRC_PATH=$MY_PATH/data 13 | WORKING_COPY_PATH=$MY_PATH/working_copy 14 | 15 | mkdir -p $WORKING_COPY_PATH 16 | 17 | cp -a $SRC_PATH/. $WORKING_COPY_PATH 18 | 19 | echo "Setup Complete" 20 | -------------------------------------------------------------------------------- /testing/project_setup/java_maven/1_setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # get absolute path to parent directory of script 4 | MY_PATH=`dirname "$0"` 5 | if [[ "${MY_PATH}" != *\\* ]] 6 | then 7 | cd $MY_PATH 8 | MY_PATH=`pwd` 9 | fi 10 | MY_PATH="${MY_PATH//\\//}" 11 | 12 | SRC_PATH=$MY_PATH/data 13 | WORKING_COPY_PATH=$MY_PATH/working_copy 14 | 15 | mkdir -p $WORKING_COPY_PATH 16 | 17 | cp -a $SRC_PATH/. $WORKING_COPY_PATH 18 | 19 | echo "Setup Complete" 20 | -------------------------------------------------------------------------------- /bin/test/data/UtilityGradleTestSuite/simple_gradle_project/src/main/java/hello/HelloWorld.java: -------------------------------------------------------------------------------- 1 | package hello; 2 | 3 | import org.joda.time.LocalTime; 4 | 5 | public class HelloWorld { 6 | public static void main(String[] args) { 7 | LocalTime currentTime = new LocalTime(); 8 | System.out.println("The current local time is: " + currentTime); 9 | 10 | Greeter greeter = new Greeter(); 11 | System.out.println(greeter.sayHello()); 12 | } 13 | } -------------------------------------------------------------------------------- /src/lib/component/view/UndoRedoView.cpp: -------------------------------------------------------------------------------- 1 | #include "UndoRedoView.h" 2 | 3 | #include "UndoRedoController.h" 4 | 5 | UndoRedoView::UndoRedoView(ViewLayout* viewLayout): View(viewLayout) {} 6 | 7 | UndoRedoView::~UndoRedoView() = default; 8 | 9 | std::string UndoRedoView::getName() const 10 | { 11 | return "UndoRedoView"; 12 | } 13 | 14 | UndoRedoController* UndoRedoView::getController() 15 | { 16 | return View::getController(); 17 | } 18 | -------------------------------------------------------------------------------- /src/lib/utility/file/FileInfo.h: -------------------------------------------------------------------------------- 1 | #ifndef FILE_INFO_H 2 | #define FILE_INFO_H 3 | 4 | #include 5 | 6 | #include 7 | 8 | #include "FilePath.h" 9 | #include "TimeStamp.h" 10 | 11 | struct FileInfo 12 | { 13 | FileInfo(); 14 | FileInfo(const FilePath& path); 15 | FileInfo(const FilePath& path, const TimeStamp& lastWriteTime); 16 | 17 | FilePath path; 18 | TimeStamp lastWriteTime; 19 | }; 20 | 21 | #endif // FILE_INFO_H 22 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/MessageQuitApplication.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_QUIT_APPLICATION_H 2 | #define MESSAGE_QUIT_APPLICATION_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageQuitApplication: public Message 7 | { 8 | public: 9 | MessageQuitApplication() = default; 10 | 11 | static const std::string getStaticType() 12 | { 13 | return "MessageQuitApplication"; 14 | } 15 | }; 16 | 17 | #endif // MESSAGE_QUIT_APPLICATION_H 18 | -------------------------------------------------------------------------------- /src/lib_gui/qt/QtApplication.h: -------------------------------------------------------------------------------- 1 | #ifndef QT_APPLICATION_H 2 | #define QT_APPLICATION_H 3 | 4 | #include 5 | 6 | class QtApplication: public QApplication 7 | { 8 | Q_OBJECT 9 | public: 10 | QtApplication(int& argc, char** argv); 11 | 12 | bool event(QEvent* event) override; 13 | static int exec(); 14 | 15 | private slots: 16 | static void onApplicationStateChanged(Qt::ApplicationState state); 17 | }; 18 | 19 | #endif // QT_APPLICATION_H 20 | -------------------------------------------------------------------------------- /testing/code_view/data/file_bar_files/incomplete.h: -------------------------------------------------------------------------------- 1 | 2 | int a = b(); 3 | 4 | // TEST: incomplete file - continued 5 | // START ---------------------------------------------------------------------- 6 | 7 | // RESULT 1: file button of 'incomplete.h' has file icon with x 8 | 9 | // ACTION 2: Hover file name 10 | 11 | // RESULT 2: Tooltip also shows "incomplete file:" 12 | 13 | // END ------------------------------------------------------------------------ 14 | -------------------------------------------------------------------------------- /testing/project_setup/cpp_empty_pch/1_setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # get absolute path to parent directory of script 4 | MY_PATH=`dirname "$0"` 5 | if [[ "${MY_PATH}" != *\\* ]] 6 | then 7 | cd $MY_PATH 8 | MY_PATH=`pwd` 9 | fi 10 | MY_PATH="${MY_PATH//\\//}" 11 | 12 | SRC_PATH=$MY_PATH/data 13 | WORKING_COPY_PATH=$MY_PATH/working_copy 14 | 15 | mkdir -p $WORKING_COPY_PATH 16 | 17 | cp -a $SRC_PATH/. $WORKING_COPY_PATH 18 | 19 | echo "Setup Complete" 20 | -------------------------------------------------------------------------------- /src/indexer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(Sourcetrail_indexer 2 | main.cpp 3 | ) 4 | setDefaultTargetOptions(Sourcetrail_indexer) 5 | 6 | set_target_properties(Sourcetrail_indexer 7 | PROPERTIES 8 | RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/app/" 9 | PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/app/" 10 | OUTPUT_NAME sourcetrail_indexer 11 | ) 12 | 13 | target_link_libraries(Sourcetrail_indexer 14 | PRIVATE 15 | Sourcetrail_lib 16 | ) 17 | -------------------------------------------------------------------------------- /src/lib/component/view/CodeView.cpp: -------------------------------------------------------------------------------- 1 | #include "CodeView.h" 2 | 3 | #include "CodeController.h" 4 | 5 | const char* CodeView::VIEW_NAME = "Code"; 6 | 7 | CodeView::CodeView(ViewLayout* viewLayout): View(viewLayout) {} 8 | 9 | CodeView::~CodeView() = default; 10 | 11 | std::string CodeView::getName() const 12 | { 13 | return VIEW_NAME; 14 | } 15 | 16 | CodeController* CodeView::getController() 17 | { 18 | return View::getController(); 19 | } 20 | -------------------------------------------------------------------------------- /src/lib/data/storage/type/StorageSymbol.h: -------------------------------------------------------------------------------- 1 | #ifndef STORAGE_SYMBOL_H 2 | #define STORAGE_SYMBOL_H 3 | 4 | #include "DefinitionKind.h" 5 | #include "Id.h" 6 | 7 | struct StorageSymbol 8 | { 9 | StorageSymbol(): id(0), definitionKind(DefinitionKind::NONE) {} 10 | 11 | StorageSymbol(Id id, DefinitionKind definitionKind): id(id), definitionKind(definitionKind) {} 12 | 13 | Id id; 14 | DefinitionKind definitionKind; 15 | }; 16 | 17 | #endif // STORAGE_SYMBOL_H 18 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/MessageClearStatusView.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_CLEAR_STATUS_VIEW_H 2 | #define MESSAGE_CLEAR_STATUS_VIEW_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageClearStatusView: public Message 7 | { 8 | public: 9 | MessageClearStatusView() = default; 10 | 11 | static const std::string getStaticType() 12 | { 13 | return "MessageClearStatusView"; 14 | } 15 | }; 16 | 17 | #endif // MESSAGE_CLEAR_STATUS_VIEW_H 18 | -------------------------------------------------------------------------------- /src/lib_gui/qt/network/QtNetworkFactory.h: -------------------------------------------------------------------------------- 1 | #ifndef QT_NETWORK_FACTORY_H 2 | #define QT_NETWORK_FACTORY_H 3 | 4 | #include "NetworkFactory.h" 5 | 6 | class QtNetworkFactory: public NetworkFactory 7 | { 8 | public: 9 | QtNetworkFactory(); 10 | ~QtNetworkFactory() override; 11 | 12 | std::shared_ptr createIDECommunicationController( 13 | StorageAccess* storageAccess) const override; 14 | }; 15 | 16 | #endif // QT_NETWORK_FACTORY_H 17 | -------------------------------------------------------------------------------- /testing/history/data/files/tictactoe.h: -------------------------------------------------------------------------------- 1 | #ifndef _TIC_TAC_TOE_ 2 | #define _TIC_TAC_TOE_ 3 | 4 | #include "field.h" 5 | #include "player.h" 6 | 7 | class TicTacToe { 8 | public: 9 | TicTacToe(); 10 | ~TicTacToe(); 11 | 12 | bool Start(); 13 | void Run(); 14 | 15 | private: 16 | void Reset(); 17 | Player* SelectPlayer( Field::Token token, const char* name ) const; 18 | 19 | Player* players_[2]; 20 | Field field_; 21 | }; 22 | 23 | #endif // _TIC_TAC_TOE_ 24 | -------------------------------------------------------------------------------- /src/lib/data/graph/token_component/TokenComponentIsAmbiguous.h: -------------------------------------------------------------------------------- 1 | #ifndef TOKEN_COMPONENT_IS_AMBIGUOUS_H 2 | #define TOKEN_COMPONENT_IS_AMBIGUOUS_H 3 | 4 | #include "TokenComponent.h" 5 | 6 | class TokenComponentIsAmbiguous: public TokenComponent 7 | { 8 | public: 9 | inline std::shared_ptr copy() const override 10 | { 11 | return std::make_shared(*this); 12 | } 13 | }; 14 | 15 | #endif // TOKEN_COMPONENT_IS_AMBIGUOUS_H 16 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/MessageWindowClosed.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_WINDOW_CLOSED_H 2 | #define MESSAGE_WINDOW_CLOSED_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageWindowClosed: public Message 7 | { 8 | public: 9 | MessageWindowClosed() 10 | { 11 | setSendAsTask(false); 12 | } 13 | 14 | static const std::string getStaticType() 15 | { 16 | return "MessageWindowClosed"; 17 | } 18 | }; 19 | 20 | #endif // MESSAGE_WINDOW_CLOSED_H 21 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/indexing/MessageIndexingStarted.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_INDEXING_STARTED_H 2 | #define MESSAGE_INDEXING_STARTED_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageIndexingStarted: public Message 7 | { 8 | public: 9 | static const std::string getStaticType() 10 | { 11 | return "MessageIndexingStarted"; 12 | } 13 | 14 | MessageIndexingStarted() = default; 15 | }; 16 | 17 | #endif // MESSAGE_INDEXING_STARTED_H 18 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/plugin/MessagePingReceived.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_PING_RECEIVED_H 2 | #define MESSAGE_PING_RECEIVED_H 3 | 4 | #include "Message.h" 5 | 6 | class MessagePingReceived: public Message 7 | { 8 | public: 9 | MessagePingReceived() = default; 10 | 11 | static const std::string getStaticType() 12 | { 13 | return "MessagePingReceived"; 14 | } 15 | 16 | std::string ideName; 17 | }; 18 | 19 | #endif // MESSAGE_PING_RECEIVED_H -------------------------------------------------------------------------------- /src/lib_gui/utility/path_detector/java_runtime/JavaPathDetectorLinuxWindowsMac.h: -------------------------------------------------------------------------------- 1 | #ifndef JAVA_PATH_DETECTOR_LINUX_WINDOWS_MAC_H 2 | #define JAVA_PATH_DETECTOR_LINUX_WINDOWS_MAC_H 3 | 4 | #include "JavaPathDetector.h" 5 | 6 | class JavaPathDetectorLinuxWindowsMac : public JavaPathDetector 7 | { 8 | public: 9 | JavaPathDetectorLinuxWindowsMac(const std::string &name); 10 | 11 | private: 12 | std::vector doGetPaths() const override; 13 | }; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /testing/search_view/data/files/template.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "template.h" 3 | 4 | template 5 | T sum(T a, T b) 6 | { 7 | return a + b; 8 | } 9 | 10 | template <> 11 | int sum(int a, int b) 12 | { 13 | return a + b; 14 | } 15 | 16 | void work() 17 | { 18 | double x = sum(0.1, 0.2); 19 | int y = sum(-1, 2); 20 | unsigned int z = sum(1, 2); 21 | 22 | int v = diff(9, 5); 23 | double w = diff(0.5, 0.3); 24 | } 25 | -------------------------------------------------------------------------------- /testing/search_view/data/files/tictactoe.h: -------------------------------------------------------------------------------- 1 | #ifndef _TIC_TAC_TOE_ 2 | #define _TIC_TAC_TOE_ 3 | 4 | #include "field.h" 5 | #include "player.h" 6 | 7 | class TicTacToe { 8 | public: 9 | TicTacToe(); 10 | ~TicTacToe(); 11 | 12 | bool Start(); 13 | void Run(); 14 | 15 | private: 16 | void Reset(); 17 | Player* SelectPlayer( Field::Token token, const char* name ) const; 18 | 19 | Player* players_[2]; 20 | Field field_; 21 | }; 22 | 23 | #endif // _TIC_TAC_TOE_ 24 | -------------------------------------------------------------------------------- /bin/test/data/FileSystemTestSuite/Settings/player.h: -------------------------------------------------------------------------------- 1 | #ifndef _PLAYER_ 2 | #define _PLAYER_ 3 | 4 | #include 5 | 6 | #include "field.h" 7 | 8 | class Player { 9 | public: 10 | Player( Field::Token token, const std::string& name ) 11 | : token_( token ) 12 | , name_( name ) { 13 | } 14 | 15 | virtual Field::Move Turn( const Field& field ) const = 0; 16 | 17 | const Field::Token token_; 18 | const std::string name_; 19 | }; 20 | 21 | #endif // _PLAYER_ 22 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/custom_trail/MessageCustomTrailShow.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_CUSTOM_TRAIL_SHOW_H 2 | #define MESSAGE_CUSTOM_TRAIL_SHOW_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageCustomTrailShow: public Message 7 | { 8 | public: 9 | MessageCustomTrailShow() = default; 10 | 11 | static const std::string getStaticType() 12 | { 13 | return "MessageCustomTrailShow"; 14 | } 15 | }; 16 | 17 | #endif // MESSAGE_CUSTOM_TRAIL_SHOW_H 18 | -------------------------------------------------------------------------------- /src/lib_cxx/data/indexer/IndexerCxx.h: -------------------------------------------------------------------------------- 1 | #ifndef INDEXER_CXX_H 2 | #define INDEXER_CXX_H 3 | 4 | #include "Indexer.h" 5 | #include "IndexerCommandCxx.h" 6 | 7 | class IndexerCxx: public Indexer 8 | { 9 | private: 10 | void doIndex( 11 | std::shared_ptr indexerCommand, 12 | std::shared_ptr parserClient, 13 | std::shared_ptr m_indexerStateInfo) override; 14 | }; 15 | 16 | #endif // INDEXER_CXX_H 17 | -------------------------------------------------------------------------------- /testing/history/data/files/io.cpp: -------------------------------------------------------------------------------- 1 | #include "io.h" 2 | 3 | #include 4 | #include 5 | #include 6 | 7 | int io::numberIn() { 8 | std::string input; 9 | getline( std::cin, input ); 10 | std::stringstream stream( input ); 11 | 12 | int number; 13 | stream >> number; 14 | return number; 15 | } 16 | 17 | void io::numberOut(int num) { 18 | std::cout << num; 19 | } 20 | 21 | void io::stringOut(const char* str) { 22 | std::cout << str; 23 | } 24 | -------------------------------------------------------------------------------- /bin/app/user/projects/tictactoe_cpp/src/tictactoe.h: -------------------------------------------------------------------------------- 1 | #ifndef _TIC_TAC_TOE_ 2 | #define _TIC_TAC_TOE_ 3 | 4 | #include "field.h" 5 | #include "player.h" 6 | 7 | class TicTacToe { 8 | public: 9 | TicTacToe(); 10 | ~TicTacToe(); 11 | 12 | bool Start(); 13 | void Run(); 14 | 15 | private: 16 | void Reset(); 17 | Player* SelectPlayer( Field::Token token, const char* name ) const; 18 | 19 | Player* players_[2]; 20 | Field field_; 21 | }; 22 | 23 | #endif // _TIC_TAC_TOE_ 24 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/indexing/MessageIndexingFinished.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_INDEXING_FINISHED_H 2 | #define MESSAGE_INDEXING_FINISHED_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageIndexingFinished: public Message 7 | { 8 | public: 9 | static const std::string getStaticType() 10 | { 11 | return "MessageIndexingFinished"; 12 | } 13 | 14 | MessageIndexingFinished() = default; 15 | }; 16 | 17 | #endif // MESSAGE_INDEXING_FINISHED_H 18 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/plugin/MessagePluginPortChange.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_PLUGIN_PORT_CHANGE_H 2 | #define MESSAGE_PLUGIN_PORT_CHANGE_H 3 | 4 | #include "Message.h" 5 | 6 | class MessagePluginPortChange: public Message 7 | { 8 | public: 9 | MessagePluginPortChange() = default; 10 | 11 | static const std::string getStaticType() 12 | { 13 | return "MessagePluginPortChange"; 14 | } 15 | }; 16 | 17 | #endif // MESSAGE_PLUGIN_PORT_CHANGE_H 18 | -------------------------------------------------------------------------------- /src/lib_java/data/indexer/IndexerJava.cpp: -------------------------------------------------------------------------------- 1 | #include "IndexerJava.h" 2 | 3 | #include "JavaParser.h" 4 | 5 | IndexerJava::~IndexerJava() 6 | { 7 | JavaParser::clearCaches(); 8 | } 9 | 10 | void IndexerJava::doIndex( 11 | std::shared_ptr indexerCommand, 12 | std::shared_ptr parserClient, 13 | std::shared_ptr m_indexerStateInfo) 14 | { 15 | JavaParser(parserClient, m_indexerStateInfo).buildIndex(indexerCommand); 16 | } 17 | -------------------------------------------------------------------------------- /testing/search_view/data/files/io.cpp: -------------------------------------------------------------------------------- 1 | #include "io.h" 2 | 3 | #include 4 | #include 5 | #include 6 | 7 | int io::numberIn() { 8 | std::string input; 9 | getline( std::cin, input ); 10 | std::stringstream stream( input ); 11 | 12 | int number; 13 | stream >> number; 14 | return number; 15 | } 16 | 17 | void io::numberOut(int num) { 18 | std::cout << num; 19 | } 20 | 21 | void io::stringOut(const char* str) { 22 | std::cout << str; 23 | } 24 | -------------------------------------------------------------------------------- /src/lib/data/GroupType.h: -------------------------------------------------------------------------------- 1 | #ifndef GROUP_TYPE_H 2 | #define GROUP_TYPE_H 3 | 4 | #include 5 | 6 | enum class GroupType 7 | { 8 | NONE, 9 | DEFAULT, 10 | FRAMELESS, 11 | FILE, 12 | NAMESPACE, 13 | INHERITANCE 14 | }; 15 | 16 | std::string groupTypeToString(GroupType type); 17 | GroupType stringToGroupType(const std::string& value); 18 | 19 | enum class GroupLayout 20 | { 21 | LIST, 22 | SKEWED, 23 | BUCKET, 24 | SQUARE 25 | }; 26 | 27 | #endif // GROUP_TYPE_H 28 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/MessageWindowFocus.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_WINDOW_FOCUS_H 2 | #define MESSAGE_WINDOW_FOCUS_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageWindowFocus: public Message 7 | { 8 | public: 9 | MessageWindowFocus(bool focusIn): focusIn(focusIn) {} 10 | 11 | static const std::string getStaticType() 12 | { 13 | return "MessageWindowFocus"; 14 | } 15 | 16 | const bool focusIn; 17 | }; 18 | 19 | #endif // MESSAGE_WINDOW_FOCUS_H 20 | -------------------------------------------------------------------------------- /src/lib_gui/qt/element/search/QtSearchBarButton.h: -------------------------------------------------------------------------------- 1 | #ifndef QT_SEARCH_BAR_BUTTON_H 2 | #define QT_SEARCH_BAR_BUTTON_H 3 | 4 | #include "QtSelfRefreshIconButton.h" 5 | 6 | class QtSearchBarButton: public QtSelfRefreshIconButton 7 | { 8 | public: 9 | QtSearchBarButton(const FilePath& iconPath, bool small = false, QWidget* parent = nullptr); 10 | 11 | protected: 12 | void refresh() override; 13 | 14 | private: 15 | bool m_small; 16 | }; 17 | 18 | #endif // QT_SEARCH_BAR_BUTTON_H 19 | -------------------------------------------------------------------------------- /src/lib_gui/qt/network/QtNetworkFactory.cpp: -------------------------------------------------------------------------------- 1 | #include "QtNetworkFactory.h" 2 | 3 | #include "QtIDECommunicationController.h" 4 | 5 | QtNetworkFactory::QtNetworkFactory() = default; 6 | 7 | QtNetworkFactory::~QtNetworkFactory() = default; 8 | 9 | std::shared_ptr QtNetworkFactory::createIDECommunicationController( 10 | StorageAccess* storageAccess) const 11 | { 12 | return std::make_shared(nullptr, storageAccess); 13 | } 14 | -------------------------------------------------------------------------------- /bin/app/user/projects/tictactoe_cpp/src/io.cpp: -------------------------------------------------------------------------------- 1 | #include "io.h" 2 | 3 | #include 4 | #include 5 | #include 6 | 7 | int io::numberIn() { 8 | std::string input; 9 | getline( std::cin, input ); 10 | std::stringstream stream( input ); 11 | 12 | int number; 13 | stream >> number; 14 | return number; 15 | } 16 | 17 | void io::numberOut(int num) { 18 | std::cout << num; 19 | } 20 | 21 | void io::stringOut(const char* str) { 22 | std::cout << str; 23 | } 24 | -------------------------------------------------------------------------------- /src/lib/component/view/StatusView.h: -------------------------------------------------------------------------------- 1 | #ifndef STATUS_VIEW_H 2 | #define STATUS_VIEW_H 3 | 4 | #include 5 | 6 | #include "Status.h" 7 | #include "View.h" 8 | 9 | class StatusView: public View 10 | { 11 | public: 12 | StatusView(ViewLayout* viewLayout); 13 | ~StatusView() override; 14 | 15 | std::string getName() const override; 16 | 17 | virtual void addStatus(const std::vector& status) = 0; 18 | virtual void clear() = 0; 19 | }; 20 | 21 | #endif // STATUS_VIEW_H 22 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/MessageTooltipHide.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_TOOLTIP_HIDE_H 2 | #define MESSAGE_TOOLTIP_HIDE_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageTooltipHide: public Message 7 | { 8 | public: 9 | MessageTooltipHide() 10 | { 11 | setSendAsTask(false); 12 | setIsLogged(false); 13 | } 14 | 15 | static const std::string getStaticType() 16 | { 17 | return "MessageTooltipHide"; 18 | } 19 | }; 20 | 21 | #endif // MESSAGE_TOOLTIP_HIDE_H 22 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/graph/MessageSaveAsImage.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_SAVE_AS_IMAGE_H 2 | #define MESSAGE_SAVE_AS_IMAGE_H 3 | 4 | #include "Message.h" 5 | 6 | 7 | class MessageSaveAsImage: public Message 8 | { 9 | public: 10 | MessageSaveAsImage(QString path) : path(path) {} 11 | 12 | static const std::string getStaticType() 13 | { 14 | return "MessageSaveAsImage"; 15 | } 16 | 17 | QString path; 18 | }; 19 | 20 | #endif /* MESSAGE_SAVE_AS_IMAGE_H */ 21 | -------------------------------------------------------------------------------- /src/lib_gui/qt/window/QtLicenseWindow.h: -------------------------------------------------------------------------------- 1 | #ifndef QT_LICENSE_WINDOW_H 2 | #define QT_LICENSE_WINDOW_H 3 | 4 | #include "QtWindow.h" 5 | 6 | class QtLicenseWindow: public QtWindow 7 | { 8 | Q_OBJECT 9 | public: 10 | QtLicenseWindow(QWidget* parent = nullptr); 11 | QSize sizeHint() const override; 12 | 13 | protected: 14 | // QtWindow implementation 15 | void populateWindow(QWidget* widget) override; 16 | void windowReady() override; 17 | }; 18 | 19 | #endif // QT_LICENSE_WINDOW_H 20 | -------------------------------------------------------------------------------- /testing/graph_view/data/interaction_files/include.h: -------------------------------------------------------------------------------- 1 | #ifndef __INCLUDE__ 2 | #define __INCLUDE__ 3 | 4 | class Class 5 | { 6 | public: 7 | virtual void method(); 8 | int member; 9 | }; 10 | 11 | struct Struct {}; 12 | 13 | enum Enum 14 | { 15 | ENUM_CONSTANT 16 | }; 17 | 18 | typedef int TypeDef; 19 | 20 | namespace package 21 | { 22 | class C {}; 23 | } 24 | 25 | struct Str1 {}; 26 | struct Str2 {}; 27 | struct Str3 {}; 28 | struct Str4 {}; 29 | struct Str5 {}; 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /src/lib/data/name/NameDelimiterType.h: -------------------------------------------------------------------------------- 1 | #ifndef NAME_DELIMITER_TYPE_H 2 | #define NAME_DELIMITER_TYPE_H 3 | 4 | #include 5 | 6 | enum class NameDelimiterType 7 | { 8 | UNKNOWN, 9 | FILE, 10 | CXX, 11 | JAVA 12 | }; 13 | 14 | std::string nameDelimiterTypeToString(NameDelimiterType delimiter); 15 | NameDelimiterType stringToNameDelimiterType(const std::string& s); 16 | 17 | NameDelimiterType detectDelimiterType(const std::string& name); 18 | 19 | #endif // NAME_DELIMITER_TYPE_H 20 | -------------------------------------------------------------------------------- /src/lib/utility/Id.cpp: -------------------------------------------------------------------------------- 1 | #include "Id.h" 2 | 3 | #include 4 | 5 | using namespace std; 6 | 7 | ostream &operator << (ostream &os, const Id id) 8 | { 9 | return os << static_cast(id); 10 | } 11 | 12 | string to_string(const Id id) 13 | { 14 | return std::to_string(static_cast(id)); 15 | } 16 | 17 | namespace std 18 | { 19 | 20 | size_t hash::operator()(const Id id) const noexcept 21 | { 22 | return m_hash(static_cast(id)); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /src/lib_gui/qt/element/dialog/QtTextEdit.h: -------------------------------------------------------------------------------- 1 | #ifndef QT_TEXT_EDIT_H 2 | #define QT_TEXT_EDIT_H 3 | 4 | #include 5 | 6 | class QtTextEdit: public QTextBrowser 7 | { 8 | Q_OBJECT 9 | 10 | public: 11 | QtTextEdit(QWidget* parent = nullptr); 12 | 13 | void setViewportMargins(int left, int top, int right, int bottom); 14 | 15 | signals: 16 | void focus(); 17 | 18 | protected: 19 | void focusInEvent(QFocusEvent* event) override; 20 | }; 21 | 22 | #endif // QT_TEXT_EDIT_H 23 | -------------------------------------------------------------------------------- /src/lib_gui/utility/path_detector/cxx_header/CxxHeaderPathDetector.h: -------------------------------------------------------------------------------- 1 | #ifndef CXX_HEADER_PATH_DETECTOR_H 2 | #define CXX_HEADER_PATH_DETECTOR_H 3 | 4 | #include "PathDetector.h" 5 | 6 | class CxxHeaderPathDetector: public PathDetector 7 | { 8 | public: 9 | CxxHeaderPathDetector(const std::string& compilerName); 10 | 11 | private: 12 | std::vector doGetPaths() const override; 13 | 14 | const std::string m_compilerName; 15 | }; 16 | 17 | #endif // CXX_HEADER_PATH_DETECTOR_H 18 | -------------------------------------------------------------------------------- /bin/test/data/FileSystemTestSuite/Settings/sample.cpp: -------------------------------------------------------------------------------- 1 | class Player { 2 | public: 3 | void Do() {} 4 | }; 5 | 6 | class Base {}; 7 | 8 | class Game : public Base { 9 | public: 10 | Game() { 11 | Init(); 12 | } 13 | 14 | void Init() {} 15 | 16 | void Run() { 17 | player.Do(); 18 | } 19 | 20 | private: 21 | Player player; 22 | }; 23 | 24 | Game* game; 25 | 26 | int main() { 27 | game = new Game(); 28 | 29 | game->Run(); 30 | 31 | delete game; 32 | return 0; 33 | } 34 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/java_gradle/expected_output/output_unix.txt: -------------------------------------------------------------------------------- 1 | SourceFilePath: "src/main/java/hello/Greeter.java" 2 | LanguageStandard: "10" 3 | ClassPathItem: "test/jre/system/library/path.jar" 4 | ClassPathItem: "src/main/java" 5 | ClassPathItem: "src/test/java" 6 | SourceFilePath: "src/test/java/hello/HelloWorldTests.java" 7 | LanguageStandard: "10" 8 | ClassPathItem: "test/jre/system/library/path.jar" 9 | ClassPathItem: "src/main/java" 10 | ClassPathItem: "src/test/java" 11 | -------------------------------------------------------------------------------- /src/lib/utility/Status.h: -------------------------------------------------------------------------------- 1 | #ifndef STATUS_H 2 | #define STATUS_H 3 | 4 | #include 5 | 6 | enum StatusType 7 | { 8 | STATUS_INFO = 1, 9 | STATUS_ERROR = 2, 10 | }; 11 | 12 | typedef int StatusFilter; 13 | 14 | struct Status 15 | { 16 | Status(std::string message, bool isError = false) 17 | : message(message), type(isError ? StatusType::STATUS_ERROR : StatusType::STATUS_INFO) 18 | { 19 | } 20 | 21 | std::string message; 22 | StatusType type; 23 | }; 24 | 25 | #endif // STATUS_H 26 | -------------------------------------------------------------------------------- /bin/test/data/SourceGroupTestSuite/java_gradle/expected_output/output_windows.txt: -------------------------------------------------------------------------------- 1 | SourceFilePath: "src/main/java/hello/Greeter.java" 2 | LanguageStandard: "10" 3 | ClassPathItem: "test/jre/system/library/path.jar" 4 | ClassPathItem: "src/main/java" 5 | ClassPathItem: "src/test/java" 6 | SourceFilePath: "src/test/java/hello/HelloWorldTests.java" 7 | LanguageStandard: "10" 8 | ClassPathItem: "test/jre/system/library/path.jar" 9 | ClassPathItem: "src/main/java" 10 | ClassPathItem: "src/test/java" 11 | -------------------------------------------------------------------------------- /src/lib/settings/source_group/SourceGroupSettingsBase.h: -------------------------------------------------------------------------------- 1 | #ifndef SOURCE_GROUP_SETTINGS_BASE_H 2 | #define SOURCE_GROUP_SETTINGS_BASE_H 3 | 4 | class FilePath; 5 | class ProjectSettings; 6 | 7 | class SourceGroupSettingsBase 8 | { 9 | public: 10 | virtual ~SourceGroupSettingsBase() = default; 11 | 12 | virtual const ProjectSettings* getProjectSettings() const = 0; 13 | virtual FilePath getSourceGroupDependenciesDirectoryPath() const = 0; 14 | }; 15 | 16 | #endif // SOURCE_GROUP_SETTINGS_BASE_H 17 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/bookmark/MessageBookmarkCreate.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_BOOKMARK_CREATE_H 2 | #define MESSAGE_BOOKMARK_CREATE_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageBookmarkCreate: public Message 7 | { 8 | public: 9 | MessageBookmarkCreate(Id nodeId = 0): nodeId(nodeId) {} 10 | 11 | static const std::string getStaticType() 12 | { 13 | return "MessageBookmarkCreate"; 14 | } 15 | 16 | const Id nodeId; 17 | }; 18 | 19 | #endif // MESSAGE_BOOKMARK_CREATE_H -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/error/MessageErrorCountClear.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_ERROR_COUNT_CLEAR_H 2 | #define MESSAGE_ERROR_COUNT_CLEAR_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageErrorCountClear: public Message 7 | { 8 | public: 9 | static const std::string getStaticType() 10 | { 11 | return "MessageErrorCountClear"; 12 | } 13 | 14 | MessageErrorCountClear() 15 | { 16 | setSendAsTask(false); 17 | } 18 | }; 19 | 20 | #endif // MESSAGE_ERROR_COUNT_CLEAR_H 21 | -------------------------------------------------------------------------------- /src/lib_gui/qt/graphics/base/QtLineItemAngled.h: -------------------------------------------------------------------------------- 1 | #ifndef QT_LINE_ITEM_ANGLED_H 2 | #define QT_LINE_ITEM_ANGLED_H 3 | 4 | #include "QtLineItemBase.h" 5 | 6 | class QtLineItemAngled: public QtLineItemBase 7 | { 8 | public: 9 | QtLineItemAngled(QGraphicsItem* parent); 10 | ~QtLineItemAngled() override; 11 | 12 | QPainterPath shape() const override; 13 | void paint(QPainter* painter, const QStyleOptionGraphicsItem* options, QWidget* widget) override; 14 | }; 15 | 16 | #endif // QT_LINE_ITEM_ANGLED_H 17 | -------------------------------------------------------------------------------- /src/lib/component/NetworkFactory.h: -------------------------------------------------------------------------------- 1 | #ifndef NETWORK_FACTORY_H 2 | #define NETWORK_FACTORY_H 3 | 4 | #include 5 | 6 | class IDECommunicationController; 7 | class StorageAccess; 8 | class UpdateChecker; 9 | 10 | class NetworkFactory 11 | { 12 | public: 13 | NetworkFactory(); 14 | virtual ~NetworkFactory(); 15 | 16 | virtual std::shared_ptr createIDECommunicationController( 17 | StorageAccess* storageAccess) const = 0; 18 | }; 19 | 20 | #endif // NETWORK_FACTORY_H 21 | -------------------------------------------------------------------------------- /src/lib/utility/ScopedSwitcher.h: -------------------------------------------------------------------------------- 1 | #ifndef SCOPED_SWITCHER_H 2 | #define SCOPED_SWITCHER_H 3 | 4 | template 5 | class ScopedSwitcher 6 | { 7 | public: 8 | ScopedSwitcher(T& var): m_var(&var), m_origVal(var) {} 9 | 10 | ScopedSwitcher(T& var, T tempVal): m_var(&var), m_origVal(var) 11 | { 12 | var = tempVal; 13 | } 14 | 15 | ~ScopedSwitcher() 16 | { 17 | *m_var = m_origVal; 18 | } 19 | 20 | private: 21 | T* m_var; 22 | T m_origVal; 23 | }; 24 | 25 | #endif // SCOPED_SWITCHER_H 26 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/error/MessageErrorsForFile.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_ERRORS_FOR_FILE_H 2 | #define MESSAGE_ERRORS_FOR_FILE_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageErrorsForFile: public Message 7 | { 8 | public: 9 | static const std::string getStaticType() 10 | { 11 | return "MessageErrorsForFile"; 12 | } 13 | 14 | MessageErrorsForFile(const FilePath& file): file(file) {} 15 | 16 | const FilePath& file; 17 | }; 18 | 19 | #endif // MESSAGE_ERRORS_FOR_FILE_H 20 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/history/MessageHistoryRedo.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_HISTORY_REDO_H 2 | #define MESSAGE_HISTORY_REDO_H 3 | 4 | #include "Message.h" 5 | #include "TabIds.h" 6 | 7 | class MessageHistoryRedo: public Message 8 | { 9 | public: 10 | static const std::string getStaticType() 11 | { 12 | return "MessageHistoryRedo"; 13 | } 14 | 15 | MessageHistoryRedo() 16 | { 17 | setSchedulerId(TabIds::currentTab()); 18 | } 19 | }; 20 | 21 | #endif // MESSAGE_HISTORY_REDO_H 22 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/history/MessageHistoryUndo.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_HISTORY_UNDO_H 2 | #define MESSAGE_HISTORY_UNDO_H 3 | 4 | #include "Message.h" 5 | #include "TabIds.h" 6 | 7 | class MessageHistoryUndo: public Message 8 | { 9 | public: 10 | static const std::string getStaticType() 11 | { 12 | return "MessageHistoryUndo"; 13 | } 14 | 15 | MessageHistoryUndo() 16 | { 17 | setSchedulerId(TabIds::currentTab()); 18 | } 19 | }; 20 | 21 | #endif // MESSAGE_HISTORY_UNDO_H 22 | -------------------------------------------------------------------------------- /src/lib_gui/utility/path_detector/cxx_header/CxxFrameworkPathDetector.h: -------------------------------------------------------------------------------- 1 | #ifndef CXX_FRAMEWORK_PATH_DETECTOR_H 2 | #define CXX_FRAMEWORK_PATH_DETECTOR_H 3 | 4 | #include "PathDetector.h" 5 | 6 | class CxxFrameworkPathDetector: public PathDetector 7 | { 8 | public: 9 | CxxFrameworkPathDetector(const std::string& compilerName); 10 | 11 | private: 12 | std::vector doGetPaths() const override; 13 | 14 | const std::string m_compilerName; 15 | }; 16 | 17 | #endif // CXX_FRAMEWORK_PATH_DETECTOR_H 18 | -------------------------------------------------------------------------------- /testing/history/data/files/human_player.h: -------------------------------------------------------------------------------- 1 | #ifndef _HUMAN_PLAYER_ 2 | #define _HUMAN_PLAYER_ 3 | 4 | #include "player.h" 5 | 6 | 7 | class HumanPlayer : public Player { 8 | public: 9 | HumanPlayer( Field::Token token, const char* name ); 10 | virtual ~HumanPlayer(); 11 | 12 | virtual Field::Move Turn( const Field& field ) const; 13 | 14 | private: 15 | Field::Move Input() const; 16 | 17 | bool Check( const Field& field, const Field::Move& move ) const; 18 | }; 19 | 20 | #endif // _HUMAN_PLAYER_ 21 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/MessageProjectNew.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_PROJECT_NEW_H 2 | #define MESSAGE_PROJECT_NEW_H 3 | 4 | #include "FilePath.h" 5 | #include "Message.h" 6 | 7 | class MessageProjectNew: public Message 8 | { 9 | public: 10 | MessageProjectNew(const FilePath& cdbPath): cdbPath(cdbPath) {} 11 | 12 | static const std::string getStaticType() 13 | { 14 | return "MessageProjectNew"; 15 | } 16 | 17 | const FilePath cdbPath; 18 | }; 19 | 20 | #endif // MESSAGE_PROJECT_NEW_H 21 | -------------------------------------------------------------------------------- /src/lib_gui/qt/utility/QtHelpButtonInfo.h: -------------------------------------------------------------------------------- 1 | #ifndef QT_HELP_BUTTON_INFO_H 2 | #define QT_HELP_BUTTON_INFO_H 3 | 4 | #include 5 | 6 | class QWidget; 7 | 8 | class QtHelpButtonInfo 9 | { 10 | public: 11 | QtHelpButtonInfo(const QString& helpTitle, const QString& helpText); 12 | 13 | void displayMessage(QWidget* messageBoxParent); 14 | 15 | private: 16 | QString m_title; 17 | QString m_text; 18 | }; 19 | 20 | QtHelpButtonInfo createErrorHelpButtonInfo(); 21 | 22 | #endif // QT_HELP_BUTTON_INFO_H 23 | -------------------------------------------------------------------------------- /testing/search_view/data/files/human_player.h: -------------------------------------------------------------------------------- 1 | #ifndef _HUMAN_PLAYER_ 2 | #define _HUMAN_PLAYER_ 3 | 4 | #include "player.h" 5 | 6 | 7 | class HumanPlayer : public Player { 8 | public: 9 | HumanPlayer( Field::Token token, const char* name ); 10 | virtual ~HumanPlayer(); 11 | 12 | virtual Field::Move Turn( const Field& field ) const; 13 | 14 | private: 15 | Field::Move Input() const; 16 | 17 | bool Check( const Field& field, const Field::Move& move ) const; 18 | }; 19 | 20 | #endif // _HUMAN_PLAYER_ 21 | -------------------------------------------------------------------------------- /.github/workflows/cmake-multi-platform.yml: -------------------------------------------------------------------------------- 1 | # This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform. 2 | # See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml 3 | name: Sourcetrail on multiple platforms 4 | 5 | on: 6 | workflow_dispatch: 7 | 8 | jobs: 9 | deploy: 10 | runs-on: [ubuntu-latest, windows-latest, macos-latest] 11 | steps: 12 | - run: echo "Success" 13 | 14 | -------------------------------------------------------------------------------- /bin/app/user/projects/tictactoe_cpp/src/human_player.h: -------------------------------------------------------------------------------- 1 | #ifndef _HUMAN_PLAYER_ 2 | #define _HUMAN_PLAYER_ 3 | 4 | #include "player.h" 5 | 6 | 7 | class HumanPlayer : public Player { 8 | public: 9 | HumanPlayer( Field::Token token, const char* name ); 10 | virtual ~HumanPlayer(); 11 | 12 | virtual Field::Move Turn( const Field& field ) const; 13 | 14 | private: 15 | Field::Move Input() const; 16 | 17 | bool Check( const Field& field, const Field::Move& move ) const; 18 | }; 19 | 20 | #endif // _HUMAN_PLAYER_ 21 | -------------------------------------------------------------------------------- /src/lib_cxx/project/SourceGroupFactoryModuleCxx.h: -------------------------------------------------------------------------------- 1 | #ifndef SOURCE_GROUP_FACTORY_MODULE_CXX_H 2 | #define SOURCE_GROUP_FACTORY_MODULE_CXX_H 3 | 4 | #include "SourceGroupFactoryModule.h" 5 | 6 | class SourceGroupFactoryModuleCxx: public SourceGroupFactoryModule 7 | { 8 | public: 9 | bool supports(SourceGroupType type) const override; 10 | std::shared_ptr createSourceGroup( 11 | std::shared_ptr settings) const override; 12 | }; 13 | 14 | #endif // SOURCE_GROUP_FACTORY_MODULE_CXX_H 15 | -------------------------------------------------------------------------------- /src/test/Catch2.cpp: -------------------------------------------------------------------------------- 1 | #include "Catch2.hpp" 2 | #include 3 | 4 | // Check that the correct switches are defined, so Catch2 is not intercepting JVM signals: 5 | 6 | #if IS_VCPKG_BUILD 7 | #if BOOST_OS_LINUX 8 | #if !defined(CATCH_CONFIG_NO_POSIX_SIGNALS) 9 | #error CATCH_CONFIG_NO_POSIX_SIGNALS is not defined! 10 | #endif 11 | #elif BOOST_OS_WINDOWS 12 | #if !defined(CATCH_CONFIG_NO_WINDOWS_SEH) 13 | #error CATCH_CONFIG_NO_WINDOWS_SEH is not defined! 14 | #endif 15 | #endif 16 | #endif 17 | -------------------------------------------------------------------------------- /archive/splitGraphemes.cpp: -------------------------------------------------------------------------------- 1 | QStringList splitGraphemes(const QString &line) 2 | { 3 | QStringList graphemes; 4 | 5 | qsizetype startPosition = 0, endPosition = 0; 6 | QTextBoundaryFinder graphemeFinder(QTextBoundaryFinder::Grapheme, line); 7 | graphemeFinder.setPosition(startPosition); 8 | while ((endPosition = graphemeFinder.toNextBoundary()) != -1) 9 | { 10 | graphemes.append(line.mid(startPosition, endPosition - startPosition)); 11 | startPosition = endPosition; 12 | } 13 | return graphemes; 14 | } 15 | 16 | -------------------------------------------------------------------------------- /src/lib/app/paths/UserPaths.h: -------------------------------------------------------------------------------- 1 | #ifndef USER_PATHS_H 2 | #define USER_PATHS_H 3 | 4 | #include "FilePath.h" 5 | 6 | class UserPaths 7 | { 8 | public: 9 | static FilePath getUserDataDirectoryPath(); 10 | static void setUserDataDirectoryPath(const FilePath& path); 11 | 12 | static FilePath getAppSettingsFilePath(); 13 | static FilePath getWindowSettingsFilePath(); 14 | static FilePath getLogDirectoryPath(); 15 | 16 | private: 17 | static FilePath s_userDataDirectoryPath; 18 | }; 19 | 20 | #endif // USER_PATHS_H 21 | -------------------------------------------------------------------------------- /src/lib/component/view/GraphViewStyleImpl.h: -------------------------------------------------------------------------------- 1 | #ifndef GRAPH_VIEW_STYLE_IMPL_H 2 | #define GRAPH_VIEW_STYLE_IMPL_H 3 | 4 | #include "Node.h" 5 | 6 | class GraphViewStyleImpl 7 | { 8 | public: 9 | virtual ~GraphViewStyleImpl() = default; 10 | virtual float getCharWidth(const std::string& fontName, size_t fontSize) = 0; 11 | virtual float getCharHeight(const std::string& fontName, size_t fontSize) = 0; 12 | virtual float getGraphViewZoomDifferenceForPlatform() = 0; 13 | }; 14 | 15 | #endif // GRAPH_VIEW_STYLE_IMPL_H 16 | -------------------------------------------------------------------------------- /src/lib/project/RefreshInfo.h: -------------------------------------------------------------------------------- 1 | #ifndef REFRESH_INFO_H 2 | #define REFRESH_INFO_H 3 | 4 | #include 5 | 6 | #include "FilePath.h" 7 | 8 | enum class RefreshMode 9 | { 10 | NONE, 11 | UPDATED_FILES, 12 | UPDATED_AND_INCOMPLETE_FILES, 13 | ALL_FILES 14 | }; 15 | 16 | struct RefreshInfo 17 | { 18 | std::set filesToIndex; 19 | std::set filesToClear; 20 | std::set nonIndexedFilesToClear; 21 | 22 | RefreshMode mode = RefreshMode::NONE; 23 | }; 24 | 25 | #endif // REFRESH_INFO_H 26 | -------------------------------------------------------------------------------- /src/lib_cxx/data/parser/cxx/ClangInvocationInfo.h: -------------------------------------------------------------------------------- 1 | #ifndef CLANG_INVOCATION_INFO_H 2 | #define CLANG_INVOCATION_INFO_H 3 | 4 | #include 5 | 6 | 7 | namespace clang::tooling 8 | { 9 | class CompilationDatabase; 10 | } 11 | 12 | 13 | struct ClangInvocationInfo 14 | { 15 | static ClangInvocationInfo getClangInvocationString( 16 | const clang::tooling::CompilationDatabase* compilationDatabase); 17 | 18 | std::string invocation; 19 | std::string errors; 20 | }; 21 | 22 | #endif // CLANG_INVOCATION_INFO_H 23 | -------------------------------------------------------------------------------- /src/lib_java/utility/utilityGradle.h: -------------------------------------------------------------------------------- 1 | #ifndef UTILITY_GRADLE_H 2 | #define UTILITY_GRADLE_H 3 | 4 | #include 5 | 6 | class FilePath; 7 | 8 | namespace utility 9 | { 10 | bool gradleCopyDependencies( 11 | const FilePath& projectDirectoryPath, 12 | const FilePath& outputDirectoryPath, 13 | bool addTestDependencies); 14 | std::vector gradleGetAllSourceDirectories( 15 | const FilePath& projectDirectoryPath, bool addTestDirectories); 16 | } // namespace utility 17 | 18 | #endif // UTILITY_GRADLE_H 19 | -------------------------------------------------------------------------------- /src/lib/app/paths/ResourcePaths.h: -------------------------------------------------------------------------------- 1 | #ifndef RESOURCE_PATHS_H 2 | #define RESOURCE_PATHS_H 3 | 4 | #include "FilePath.h" 5 | 6 | class ResourcePaths 7 | { 8 | public: 9 | static FilePath getColorSchemesDirectoryPath(); 10 | static FilePath getSyntaxHighlightingRulesDirectoryPath(); 11 | static FilePath getFallbackDirectoryPath(); 12 | static FilePath getFontsDirectoryPath(); 13 | static FilePath getJavaDirectoryPath(); 14 | static FilePath getCxxCompilerHeaderDirectoryPath(); 15 | }; 16 | 17 | #endif // RESOURCE_PATHS_H 18 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/indexing/MessageIndexingShowDialog.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_INDEXING_SHOW_DIALOG_H 2 | #define MESSAGE_INDEXING_SHOW_DIALOG_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageIndexingShowDialog: public Message 7 | { 8 | public: 9 | static const std::string getStaticType() 10 | { 11 | return "MessageIndexingShowDialog"; 12 | } 13 | 14 | MessageIndexingShowDialog() 15 | { 16 | setSendAsTask(false); 17 | } 18 | }; 19 | 20 | #endif // MESSAGE_INDEXING_SHOW_DIALOG_H 21 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/search/MessageFind.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_FIND_H 2 | #define MESSAGE_FIND_H 3 | 4 | #include "Message.h" 5 | #include "TabIds.h" 6 | 7 | class MessageFind: public Message 8 | { 9 | public: 10 | MessageFind(bool fulltext = false): findFulltext(fulltext) 11 | { 12 | setSchedulerId(TabIds::currentTab()); 13 | } 14 | 15 | static const std::string getStaticType() 16 | { 17 | return "MessageFind"; 18 | } 19 | 20 | bool findFulltext; 21 | }; 22 | 23 | #endif // MESSAGE_FIND_H 24 | -------------------------------------------------------------------------------- /src/lib_gui/qt/element/button/QtHoverButton.h: -------------------------------------------------------------------------------- 1 | #ifndef QT_HOVER_BUTTON_H 2 | #define QT_HOVER_BUTTON_H 3 | 4 | #include 5 | 6 | class QtHoverButton: public QPushButton 7 | { 8 | Q_OBJECT 9 | 10 | public: 11 | QtHoverButton(QWidget* parent = nullptr); 12 | 13 | signals: 14 | void hoveredIn(QPushButton*); 15 | void hoveredOut(QPushButton*); 16 | 17 | protected: 18 | void enterEvent(QEnterEvent* event) override; 19 | void leaveEvent(QEvent* event) override; 20 | }; 21 | 22 | #endif // QT_HOVER_BUTTON_H 23 | -------------------------------------------------------------------------------- /src/lib_java/project/SourceGroupFactoryModuleJava.h: -------------------------------------------------------------------------------- 1 | #ifndef SOURCE_GROUP_FACTORY_MODULE_JAVA_H 2 | #define SOURCE_GROUP_FACTORY_MODULE_JAVA_H 3 | 4 | #include "SourceGroupFactoryModule.h" 5 | 6 | class SourceGroupFactoryModuleJava: public SourceGroupFactoryModule 7 | { 8 | public: 9 | bool supports(SourceGroupType type) const override; 10 | std::shared_ptr createSourceGroup( 11 | std::shared_ptr settings) const override; 12 | }; 13 | 14 | #endif // SOURCE_GROUP_FACTORY_MODULE_JAVA_H 15 | -------------------------------------------------------------------------------- /testing/code_view/data/file_bar_files/non_indexed_and_incomplete.h: -------------------------------------------------------------------------------- 1 | 2 | int d = d(); 3 | 4 | // TEST: non-indexed & incomplete file - continued 5 | // START ---------------------------------------------------------------------- 6 | 7 | // RESULT 1: file button of 'non_indexed_and_incomplete.h' has hatching and file icon with x 8 | 9 | // ACTION 2: Hover file name 10 | 11 | // RESULT 2: Tooltip also shows "incomplete non-indexed file:" 12 | 13 | // END ------------------------------------------------------------------------ 14 | -------------------------------------------------------------------------------- /cmake/licenses.h.in: -------------------------------------------------------------------------------- 1 | #ifndef LICENSES_H 2 | #define LICENSES_H 3 | 4 | // This is a generated file, DO NOT EDIT! 5 | 6 | struct LicenseInfo { 7 | const char* name = nullptr; 8 | const char* version = nullptr; 9 | const char* url = nullptr; 10 | const char* license = nullptr; 11 | }; 12 | 13 | // License Textfiles 14 | @LICENSES@ 15 | 16 | static inline const LicenseInfo licenseApp = @LICENSE_APP@; 17 | 18 | static inline const LicenseInfo licenses3rdParties[] = { 19 | @LICENSE_ARRAY@ 20 | }; 21 | 22 | #endif //LICENSES_H 23 | -------------------------------------------------------------------------------- /src/lib/project/SourceGroupFactoryModuleCustom.h: -------------------------------------------------------------------------------- 1 | #ifndef SOURCE_GROUP_FACTORY_MODULE_CUSTOM_H 2 | #define SOURCE_GROUP_FACTORY_MODULE_CUSTOM_H 3 | 4 | #include "SourceGroupFactoryModule.h" 5 | 6 | class SourceGroupFactoryModuleCustom: public SourceGroupFactoryModule 7 | { 8 | public: 9 | bool supports(SourceGroupType type) const override; 10 | std::shared_ptr createSourceGroup( 11 | std::shared_ptr settings) const override; 12 | }; 13 | 14 | #endif // SOURCE_GROUP_FACTORY_MODULE_CUSTOM_H 15 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/indexing/MessageIndexingInterrupted.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_INDEXING_INTERRUPTED_H 2 | #define MESSAGE_INDEXING_INTERRUPTED_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageIndexingInterrupted: public Message 7 | { 8 | public: 9 | static const std::string getStaticType() 10 | { 11 | return "MessageIndexingInterrupted"; 12 | } 13 | 14 | MessageIndexingInterrupted() 15 | { 16 | setSendAsTask(false); 17 | } 18 | }; 19 | 20 | #endif // MESSAGE_INDEXING_INTERRUPTED_H 21 | -------------------------------------------------------------------------------- /src/lib/utility/scheduling/TaskLambda.cpp: -------------------------------------------------------------------------------- 1 | #include "TaskLambda.h" 2 | 3 | TaskLambda::TaskLambda(std::function func): m_func(func) {} 4 | 5 | void TaskLambda::doEnter(std::shared_ptr /*blackboard*/) {} 6 | 7 | Task::TaskState TaskLambda::doUpdate(std::shared_ptr /*blackboard*/) 8 | { 9 | m_func(); 10 | return STATE_SUCCESS; 11 | } 12 | 13 | void TaskLambda::doExit(std::shared_ptr /*blackboard*/) {} 14 | 15 | void TaskLambda::doReset(std::shared_ptr /*blackboard*/) {} 16 | -------------------------------------------------------------------------------- /src/lib/app/paths/AppPath.h: -------------------------------------------------------------------------------- 1 | #ifndef APP_PATH_H 2 | #define APP_PATH_H 3 | 4 | #include "FilePath.h" 5 | 6 | class AppPath 7 | { 8 | public: 9 | static FilePath getSharedDataDirectoryPath(); 10 | static void setSharedDataDirectoryPath(const FilePath& path); 11 | 12 | static FilePath getCxxIndexerFilePath(); 13 | static void setCxxIndexerDirectoryPath(const FilePath& path); 14 | 15 | private: 16 | static FilePath s_sharedDataDirectoryPath; 17 | static FilePath s_cxxIndexerDirectoryPath; 18 | }; 19 | 20 | #endif // APP_PATH_H 21 | -------------------------------------------------------------------------------- /src/lib/utility/messaging/type/error/MessageErrorsHelpMessage.h: -------------------------------------------------------------------------------- 1 | #ifndef MESSAGE_ERRORS_HELP_MESSAGE_H 2 | #define MESSAGE_ERRORS_HELP_MESSAGE_H 3 | 4 | #include "Message.h" 5 | 6 | class MessageErrorsHelpMessage: public Message 7 | { 8 | public: 9 | static const std::string getStaticType() 10 | { 11 | return "MessageErrorsHelpMessage"; 12 | } 13 | 14 | MessageErrorsHelpMessage(bool force = false): force(force) {} 15 | 16 | const bool force; 17 | }; 18 | 19 | #endif // MESSAGE_ERRORS_HELP_MESSAGE_H 20 | -------------------------------------------------------------------------------- /src/lib_cxx/data/parser/cxx/SingleFrontendActionFactory.h: -------------------------------------------------------------------------------- 1 | #ifndef SINGLE_FRONTEND_ACTION_FACTORY 2 | #define SINGLE_FRONTEND_ACTION_FACTORY 3 | 4 | #include 5 | 6 | class SingleFrontendActionFactory: public clang::tooling::FrontendActionFactory 7 | { 8 | public: 9 | SingleFrontendActionFactory(clang::FrontendAction* action); 10 | std::unique_ptr create() override; 11 | 12 | private: 13 | clang::FrontendAction* m_action; 14 | }; 15 | 16 | #endif // SINGLE_FRONTEND_ACTION_FACTORY 17 | -------------------------------------------------------------------------------- /src/lib_gui/qt/element/dialog/QtTextEdit.cpp: -------------------------------------------------------------------------------- 1 | #include "QtTextEdit.h" 2 | 3 | QtTextEdit::QtTextEdit(QWidget* parent): QTextBrowser(parent) 4 | { 5 | document()->setDefaultStyleSheet(QStringLiteral("a { color: #007AC2; }")); 6 | } 7 | 8 | void QtTextEdit::setViewportMargins(int left, int top, int right, int bottom) 9 | { 10 | QAbstractScrollArea::setViewportMargins(left, top, right, bottom); 11 | } 12 | 13 | void QtTextEdit::focusInEvent(QFocusEvent* event) 14 | { 15 | emit focus(); 16 | QTextBrowser::focusInEvent(event); 17 | } 18 | --------------------------------------------------------------------------------