Compare commits

..
2329 Commits
Author SHA1 Message Date
mlangkabel 70092378c2 test 2021-02-01 18:01:15 +01:00
mlangkabel f76c1773ae test 2021-02-01 17:12:51 +01:00
mlangkabel 997a0ff1e7 test 2021-02-01 15:22:47 +01:00
mlangkabel f0a143a85e test 2021-02-01 14:28:43 +01:00
mlangkabel 7b7c6f4794 add more logging 2021-02-01 13:56:43 +01:00
mlangkabel 9ad9fd8980 Revert "test"
This reverts commit 6ad1b1ce52.
2021-02-01 13:56:34 +01:00
mlangkabel 6ad1b1ce52 test 2021-01-27 22:25:54 +01:00
mlangkabel 4750791a6a test 2021-01-27 22:01:37 +01:00
mlangkabel 6894f9b608 test for ninja 2021-01-27 21:26:45 +01:00
mlangkabel c23dbfb9f9 test 2021-01-26 08:03:22 +01:00
mlangkabel 47fd6af759 install swig for building SourcetrailDB python bindings 2021-01-25 22:24:19 +01:00
mlangkabel 351399ee9e fetch submodule of submodule in appveyor script 2021-01-25 22:06:02 +01:00
mlangkabel 86b5efbd76 fetch submodules in appveyor script 2021-01-25 22:00:42 +01:00
mlangkabel b0c43ce94f remove download_python_indexer call from appveyor script 2021-01-25 21:48:15 +01:00
mlangkabel c28260a0fa update SourcetrailPythonIndexer submodule 2021-01-25 21:19:29 +01:00
mlangkabel b6a92d0825 fix python indexer call in tests 2021-01-25 21:18:08 +01:00
mlangkabel cd0f4e8fc0 fix cmake to copy correct files for python indexer 2021-01-25 20:43:50 +01:00
mlangkabel 146487b760 update SourcetrailPythonIndexer submodule 2021-01-25 20:43:21 +01:00
mlangkabel 197e127035 update usage of python indexer to call run.py 2021-01-25 20:43:00 +01:00
mlangkabel ecfa1b7920 split command line args for IndexerCommandCustom usages
* this seems to be required when using the new QProcess API.
* this also required to remove quotes that were added to path args because otherwise the Python indexer would mistake absolute paths for relative paths.
2021-01-25 20:36:42 +01:00
mlangkabel 093261232c create python environment instead of using pyinstaller 2021-01-25 18:45:27 +01:00
mlangkabel fd05f0fbc5 add SourcetrailPythonIndexer as submodule 2021-01-25 13:47:22 +01:00
mlangkabel e3c0ed9349 Revert "test: fix expected output for CXX indexer tests"
This reverts commit ce1d5e8443.
2021-01-12 07:49:05 +01:00
mlangkabel ce1d5e8443 test: fix expected output for CXX indexer tests 2021-01-11 19:54:02 +01:00
Malte LangkabelandGitHub 281dfd7fac docs: update language support version numbers in docu 2021-01-11 16:23:40 +01:00
Malte LangkabelandGitHub f18bef7f73 build: make Java tests run on Linux CI (#1127) 2021-01-11 14:34:28 +01:00
Eberhard Graether 2fbe3d68ea res: Updated SPONSORS.md - January 2021 2021-01-06 23:20:31 +01:00
Eberhard Graether 27262d20b4 res: Changelog for 2020.4.35 2021-01-06 23:14:18 +01:00
Malte LangkabelandGitHub d0f9056f15 ui: move "Save Graph as Image..." up in "Edit" menu to keep "Preferences..." at the bottom (#1124)
This is done because users may already be used to "preferences" being the bottom-most button and may accidentally click "Save Graph as Image..." when they actually want to open the preferences screen.
2020-12-31 18:39:07 +01:00
Malte Langkabel a087ef9454 build: fix warning (treated as error on windows) 2020-12-31 16:27:52 +01:00
Eberhard Graether 989f174678 res: Changelog for 2020.4.32 (beta) 2020-12-16 22:50:44 +01:00
mlangkabel 3be856b1f9 build: update windows build scripts to new code signing mechanism 2020-12-14 21:01:58 +01:00
Eberhard Graether cf9534d795 res: Updated SPONSORS.md - December 2020 2020-12-08 18:58:04 +01:00
Frédéric SimonisandGitHub f70e9ecbc4 build: Add compatibility layer for Qt versions (#1118) 2020-12-07 15:34:14 +01:00
Malte LangkabelandGitHub 5cae072a02 build: Update to LLVM 11.0.0 (issue #1088) (#1116) 2020-12-01 07:53:20 +01:00
mlangkabel 1a0b564b1e ui: change text of error message if Java could not be loaded to be less narrow regarding the cause 2020-11-30 16:12:04 +01:00
Malte LangkabelandGitHub efc80fde57 logic: check if clang NamedDecl really has a name before asking for it to prevent assert (issue #1075) (#1112) 2020-11-18 19:25:12 +01:00
mlangkabel fcd2f33304 fix escaping in mvn path detector (necessary after 8b8c1866) 2020-11-18 17:44:32 +01:00
mlangkabel d3873213f1 logic: add another codeblocks related null check 2020-11-18 17:11:03 +01:00
William WoldandGitHub 4b6b58de86 logic: fix crash when using codeblocks project (issue #1109) (#1110) 2020-11-18 16:47:14 +01:00
miltolstoyandGitHub 8990eb320d logic: add menu action for graph 'save as image' (issue #426) (#1104) 2020-11-18 16:19:27 +01:00
Frédéric SimonisandGitHub 8b8c186697 src: Migrate QProcess::start() to QStringList (#1107)
The non-QStringList variant of QProcess::start() was removed in Qt 5.15.
The adapted method handles escaping of the arguments, which simplifies
code in some locations.
2020-11-18 15:45:38 +01:00
mlangkabel 4277bcc47d docs: mention PyCharm and CLion in Editor Plugins section 2020-11-18 15:30:43 +01:00
Eberhard Graether 73772365ad res: Updated SPONSORS.md - November 2020 2020-11-04 22:39:47 +01:00
miltolstoyandGitHub ad9d8d7930 logic: remember graph zoom level on restart (issue #801) (#1099) 2020-10-23 19:25:44 +02:00
Eberhard Graether a37681e58b res: Updated SPONSORS.md - October 2020 2020-10-19 22:11:42 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3e9fd2306b build(deps-dev): bump junit (#1097)
Bumps [junit](https://github.com/junit-team/junit4) from 3.8.1 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/commits/r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 13:26:26 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
b86e237c0b build(deps-dev): bump junit (#1096)
Bumps [junit](https://github.com/junit-team/junit4) from 3.8.1 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/commits/r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 13:26:14 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
404511603d build(deps-dev): bump junit (#1095)
Bumps [junit](https://github.com/junit-team/junit4) from 3.8.1 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/commits/r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 13:26:03 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
744b8e3186 build(deps-dev): bump junit (#1094)
Bumps [junit](https://github.com/junit-team/junit4) from 3.8.1 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/commits/r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 13:25:09 +02:00
Malte LangkabelandGitHub 5795114561 build: fix compiler issue when CMAKE_CXX_COMPILER_LAUNCHER was set to ccache (issue #1081) (#1093) 2020-10-19 13:05:33 +02:00
Malte LangkabelandGitHub b54b1a6e02 data: update python indexer to v1.db25.p5 (#1087) 2020-10-05 10:02:05 +02:00
Malte LangkabelandGitHub 7dd45b586b build: replace winrar dependency by 7z (#1077) 2020-09-08 18:36:40 +02:00
Eberhard Graether a26679d6d3 res: Updated SPONSORS.md - September 2020 2020-09-08 00:04:56 +02:00
midchildanandGitHub 85329174ba test: fix expected output for c sourcegroup tests on unix (#1073)
follow-up of f3614a37 and 0294589f
2020-08-23 00:33:30 +02:00
midchildanandGitHub d079d1787c logic: explicitly add u+w permission when copying initial user data on Linux (#1072) 2020-08-23 00:31:48 +02:00
bam80andGitHub 7d51b7d917 build: fixed duplicating Sourcetrail icon on run on Linux (#1071)
fixes #1068
2020-08-21 23:58:20 +02:00
mlangkabel f3614a3745 fixed expected output for c sourcegroup tests 2020-08-17 13:41:39 +02:00
Sergei NikulovandGitHub 8e30c8b633 build: fixed issue with clang includes detection (issue #1058) (#1064) 2020-08-17 10:26:03 +02:00
Eberhard Graether cffdf6b57f res: Updated SPONSORS.md - August 2020 2020-08-10 08:17:47 +02:00
Malte LangkabelandGitHub e946c475c4 Qt 5.12 deprecation fixes (#1003) 2020-08-04 18:13:18 +02:00
Eberhard Graether ca890978ab linux: Prevent word splitting within arguments passed to Sourcetrail.sh (#1057)
closes #1057
2020-07-07 21:21:39 +02:00
5536613411 build: Support linking with LLVM/Clang Dylib instead of individual components (#1044)
Co-authored-by: serge-sans-paille <sguelton@redhat.com>
2020-07-07 10:02:28 +02:00
Eberhard Graether 2dfca2f53d res: Updated SPONSORS.md - July 2020 2020-07-06 20:19:51 +02:00
Eberhard Graether aeea6e62d8 res: Changelog for Release 2020.2.43 2020-06-29 20:40:30 +02:00
Eberhard Graether b0d03d9c8d docs: Updates for release 2020.2
closes #1047
2020-06-29 19:41:47 +02:00
Eberhard GrätherandGitHub 3950da7999 src: Rename aggregation edge to bundled edges (#1051)
The term aggregation is misleading. Bundled edges is a better definition for this type of edge.

closes #962
2020-06-29 19:41:12 +02:00
Malte LangkabelandGitHub 7008d2abdd logic: fix error recording for multi-threaded custom command indexing (issue #1043) (#1049)
In multi-threaded custom command indexing errors were read from the wrong storage.
2020-06-29 19:25:26 +02:00
Eberhard GrätherandGitHub 27558c42bb ui: Fixed crash when changing tabs during animation (#1046)
Changing tabs during animation triggers a hover leave event on the focused node, which moves the focus to the parent node if available. This parent node however is still the old node, and deleted after the graph transition animation finishes, which leaves a dangling pointer.

closes #1021
2020-06-29 01:05:53 +02:00
Eberhard Graether 673e26e290 res: Fixed Changelog markdown 2020-06-11 09:25:42 +02:00
Eberhard Graether 44bd0aad01 res: Changelog for release 2020.2 (beta) 2020-06-09 00:00:49 +02:00
Malte LangkabelandGitHub 6d39039b4a ui: improve help message for cxx "source file extensions" in project settings (#1039) 2020-06-08 21:19:59 +02:00
Malte LangkabelandGitHub 0294589f16 logic: set language to "C" for "Empty C" Sourcegroups (#1038) 2020-06-08 19:47:38 +02:00
Malte LangkabelandGitHub 8962c6d511 data: update python indexer to v1.db25.p4 (#1037) 2020-06-08 18:54:34 +02:00
Malte LangkabelandGitHub a76a19041f build: remove unused windows 32 bit deployment 2020-06-08 16:35:31 +02:00
Eberhard GrätherandGitHub 9a8fa94905 build: Migrate Linux '.tar.gz' package creation from CPack to linuxdeployqt (#1034)
Unified Linux package creation into single script 'setup/Linux/createPackages.sh' that uses 'linuxdeployqt' for both the '.tar.gz' and '.AppImage' package.
2020-06-08 15:06:42 +02:00
Malte LangkabelandGitHub 9bac6cc411 build: fix crash in cxx indexer due to usage of DenseMap as mentioned in PR #971 (#1035) 2020-06-08 14:45:30 +02:00
mlangkabel b307a106f7 fixed last filepicker location was cleared when file picker dialog was aborted 2020-06-08 11:42:34 +02:00
miltolstoyandGitHub 0da704eabe logic: save last filepicker location (issue #802) (#1024) 2020-06-08 11:24:38 +02:00
Eberhard GrätherandGitHub e7fc3d205d build: Updated Travis CI docker image to LLVM/Clang 10.0.0 (#1033) 2020-06-07 16:44:14 +02:00
Louis St-AmourandGitHub a12deb2056 Fixes for Clang 10 compatibility (closes #965) (#968)
Primarily FrontendAction now gets passed as unique_ptr, but also StringRef was added in a few places. See https://releases.llvm.org/10.0.0/tools/clang/docs/ReleaseNotes.html#internal-api-changes and http://llvm.org/docs/ProgrammersManual.html#the-stringref-class Also, llvm::make_unique is now std::make_unique: https://reviews.llvm.org/D66259 because LLVM requires C++14.
2020-06-07 16:18:58 +02:00
Eberhard Graether 43a6b1308b res: Updated SPONSORS.md - June 2020 2020-06-02 22:47:22 +02:00
Eberhard GrätherandGitHub a3abdf7c04 java: Updated macOS Java Path detector and docs to current JDK file structure (#1031) 2020-06-01 23:42:02 +02:00
Eberhard GrätherandGitHub ef8b9e0031 src: Improved performance of FilePathFilter (#1030)
* Only retrieve FilePath::wstr once per checked FilePath
* Replaced all invokation of FilePathFilter::isMatching with FilePathFilter::areMatching
* Don't pass match to std::regex_match
* set 'optimize' flag on regexes

partly fixes #1007
2020-05-31 21:34:14 +02:00
Eberhard Graether b7ad802cc2 res: Fixed wrong year in Changelog 2020-05-18 16:42:11 +02:00
Malte LangkabelandGitHub 11563a0f48 build: fix warnings due to empty switch statememts if no language support is built (#1015) 2020-05-15 18:34:02 +02:00
Malte LangkabelandGitHub 3d5529b694 build: create symlinks in cmake on Windows (#1014) 2020-05-15 17:54:02 +02:00
Louis St-AmourandGitHub caa2deb546 build: Set C++ standard to C++17 from C++14 (#971)
This is not yet the case but if our code uses DenseMap, Clang has to be compiled with C++17 to work natively with C++17 host applications
2020-05-15 14:23:22 +02:00
Malte LangkabelandGitHub 66ea5a9be4 ui: fix corrupted display of non-ascii characters in about window (issue #1011) (#1013) 2020-05-15 11:59:50 +02:00
Malte LangkabelandGitHub 89ee28351a build: Copy Clang compiler headers from Clang build dir in CMake (issue #993) (#1005) 2020-05-09 08:48:05 +02:00
Malte LangkabelandGitHub 8a75946c73 logic: improve logging if exception occurred while loading project (#1004) 2020-05-08 16:09:29 +02:00
Frédéric SimonisandGitHub f86a4afdc5 ui: Add graph action 'copy to clipboard' (#999)
* Refactor image generation into separate function
2020-05-06 06:17:33 +02:00
Eberhard Graether 3fb14b3000 res: Updated SPONSORS.md - May 2020 2020-05-04 22:20:44 +02:00
Malte LangkabelandGitHub db148c0573 docs: add "Customizable Color Schemes" section to documentation (#991) 2020-04-28 21:48:13 +02:00
Malte LangkabelandGitHub 6cef832329 ui: extend "compiler flags" help message (issue #974) (#990)
* extend help dialog for preprocessor defines in project setup to assign values to defines
* make documentation consistent with message box
2020-04-23 16:30:23 +02:00
Eberhard Graether 242fe22419 src: Minor refactorings in graph focus handling 2020-04-20 22:02:58 +02:00
Louis St-AmourandGitHub 224c89182a src: Apply clang-format and extend use to Java code (#973) 2020-04-19 14:11:48 +02:00
Eberhard GrätherandGitHub a6e02cc249 src: Fixed can't convert initializer list to const ref for some VS versions #986
regards #985
2020-04-19 12:19:18 +02:00
Eberhard Graether d50ebb5de9 build: Create .dmg release package using HFS+ filesystem to be mountable on older macOS versions (closes #619) 2020-04-14 19:31:34 +02:00
Malte LangkabelandGitHub 7162a4908a docs: restructure build information in readme (#980) 2020-04-14 15:20:52 +02:00
Louis St-AmourandGitHub 1320f703e4 data: Copy paste typo fix in ProjectSettings_template.xml (#972) 2020-04-12 10:48:01 +02:00
Malte LangkabelandGitHub 54c6f189b1 respect "super()" in python post processing (#964)
if a method call is qualified with "super()" only record edges pointing to the base class of the context of the callee
2020-04-06 20:16:27 +02:00
Eberhard Graether 6ae55b3281 test: Ammending missing test data for #959 2020-04-03 15:29:12 +02:00
Eberhard GrätherandGitHub 2924c1c948 logic: Less restrictions for FilePath::isValid check on project location (#959)
Switch from using boost::filesystem::portable_name and boost::filesystem::portable_directory_name to using boost::filesystem::windows_name, which allows periods and spaces in paths.
Fixes #957
2020-04-03 15:27:31 +02:00
Eberhard GrätherandGitHub 0c577f2f69 ui: Refactored recent projects menu (#956)
fixes #848
2020-04-02 12:30:30 +02:00
Eberhard Graether 5a4de2d46a res: Updated SPONSORS.md - April 2020 2020-04-02 12:29:13 +02:00
Eberhard Graether 3aa7a85574 build: Fixed macOS bundling issues
* Fixed Info.plist file missing values and deprecated keys
* Compress with 'ditto' instead of 'zip' for correct app notarization
2020-03-31 14:04:36 +02:00
Eberhard Graether 5617672ee6 res: Changelog for release 2020.1 2020-03-31 14:03:36 +02:00
Malte LangkabelandGitHub f6e8a2125d logic: respect class qualifyer in method call for python post processing (#951)
If the class of a called method is explicitly specified ("Base.__init__()"), only record an ambiguous edge to that method.
2020-03-30 21:24:23 +02:00
Eberhard GrätherandGitHub 31cbf6c11a logic: Fixed multiple main declarations not shown as separate symbols when declaring file has same name (#950)
regards #233
2020-03-30 13:49:14 +02:00
mlangkabel f37716dc82 build: improve error handling if windows deployment cannot find the proper tools 2020-03-30 12:02:55 +02:00
Eberhard GrätherandGitHub d13c21f6f3 ui/test: Manual testing fixes (#949)
* Fixed tooltip list items not activated on click
* Fixed crash when clearing focused graph edges after displaying graph with no edges
* Updated and fixed manual graph view tests
* Fixed previous location refocused when activating local symbol
* Fixed crash in graph view after showing empty graph
2020-03-29 23:32:49 +02:00
Eberhard Graether a4d1403722 docs: Updated documentation to release 2020.1
* removed steps from Source Group setup
* added installation guide for Linux AppImage
* added new focus navigation shortcuts
2020-03-29 17:26:09 +02:00
Eberhard GrätherandGitHub bf6a017720 build: Provide AppImage package for Linux (issue #279) (#945)
* Create AppImage package using linuxdeployqt in Travis CI
* Renamed appPath() to sharedDataPath()
* Fixed include error in tutorial
2020-03-29 17:10:30 +02:00
Eberhard GrätherandGitHub 76562bb8ee ui: Fixes related to focus navigation (#948)
Scroll graph area with Ctrl + Arrows
Moved graph zoom to Ctrl + Shift + Up/Down
Scroll code area with Ctrl + Arrows
Fixed graph showing focus when activating the active symbol
Made links in project description focus-able
Fixed parent graph node not showing focus after hovering edge to child node
2020-03-29 16:01:22 +02:00
Andreas StallingerandGitHub 57fd9f277a build: rename TestSettings in MigratorTestSuite to enable UNITY_BUILD (#947)
Run cmake (minimum version 3.16) with -DCMAKE_UNITY_BUILD=ON to reduce build time.
2020-03-27 14:38:55 +01:00
Eberhard GrätherandGitHub eaa263be44 ui: Fix copy shortcut for selected code broken #943
fixes #940
2020-03-23 18:10:21 +01:00
Eberhard GrätherandGitHub 38925292b7 ui: Iterate code references within the same line when holding Shift (#936) 2020-03-05 15:41:17 +01:00
Eberhard Graether e8f258ba1d res: Changelog for Sourcetrail 2020.1.103-beta 2020-03-02 23:00:05 +01:00
Eberhard Graether b98634f226 build: Fixed macOS app notarization issues
* fixed code signing issues for app notarization
* extended bundle_install.sh script with optional app notarization
* also made DMG package creation optional
2020-03-02 22:44:19 +01:00
Eberhard Graether 140e0059e8 ui: Make content of help dialogs selectable (issue #805) 2020-03-02 16:19:31 +01:00
mlangkabel da7cd9411b build: change linux CI to deploy release builds for tags 2020-03-02 16:15:31 +01:00
Eberhard GrätherandGitHub b0616778f3 ui: Keyboard controls (#935)
* switch focus between views with Tab
* move focus within views with WASD/HJKL/Arrows
* move focus between graph edges by holding Shift
* move focus between code references by holding Shift
* removed graph panning with WASD and moved zooming to Alt + W/S
* removed graph navigation by pressing starting character in graph view lists
* changed local reference and custom trail shortcuts
* updated Keyboard Shortcuts window
* use common back and forward shortcuts and YZ & Shift + YZ
* fix macOS issue where widgets don't get proper focus after creating a new tab
* don't use shared_ptr in QtMainView

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

* Fix missing refs on large types in lib_gui

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

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

* src: Added PersistentStorage::addFileNodeToGraph.

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

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

* removed .kdev4

* signals and slots mechanisms for closeTabstoRight now done correct.

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

* indentation, whitespaces etc.
2020-01-04 11:00:18 +01:00
Malte LangkabelandGitHub e68da85bbd logic: fix CI by replacing code that depends on a hard-coded date (#876) 2020-01-02 23:09:32 +01:00
Eberhard Graether b39a8d33dd res: Update SPONSORS.md 2020-01-01 15:14:21 +01:00
AlvodaandMalte Langkabel 2a996ed9a0 build: fixed race condition in cmake for creating symlinks on Linux (#872) 2019-12-30 13:11:33 +01:00
Malte LangkabelandGitHub 28b67bc91d logic: record calls to cxx destructor on delete keyword (issue #829) (#863) 2019-12-29 23:05:24 +01:00
Malte LangkabelandGitHub 270c8698dc logic: retry pre-filling mandatory empty path settings on startup (#864) 2019-12-29 23:03:37 +01:00
Malte LangkabelandGitHub 2ab4e2bab9 build: set correct working directory for tests in cmake on Windows (#865) 2019-12-29 23:03:02 +01:00
Malte LangkabelandGitHub a0856a6de5 ui: change caption of close dialog button when finished shallow indexing (#861) 2019-12-22 14:21:07 +01:00
Malte LangkabelandGitHub bc911923d0 logic: improved handling of unloadable source group (#862)
* improve comparison to respect all values
* improved UI to display the source group type
2019-12-22 14:19:51 +01:00
David ManouchehriandEberhard Gräther be8023063a res: Update SPONSORS.md (#860) 2019-12-22 00:55:06 +01:00
Eberhard Graether 8c2b55a324 res: Changelog for Sourcetrail 2019.4.102 2019-12-20 12:16:53 +01:00
David HallasandMalte Langkabel ceb900589e build: Fix build on Gentoo Linux (#854)
Fixes the build on Gentoo Linux. On Gentoo Linux the user chooses which
llvm backend to build and install, therefore we need to loop over the
installed targets and append the libraries needed instead of relying on
the full list of supported backends.
2019-12-17 18:07:50 +01:00
Malte LangkabelandGitHub ceb274478d build: added Travis ci for Linux builds (#857) 2019-12-17 11:04:02 +01:00
Eberhard Graether 99cc3d9636 build: Updated Docker Linux 64bit image to Qt 5.12.6 and LLVM/Clang 9.0.0
* updated to CentOS 7
* removed 32bit image
2019-12-16 15:38:31 +01:00
mlangkabel 67b803bd29 test: fixed java tests 2019-12-16 14:51:45 +01:00
Malte LangkabelandGitHub 11110b6a6f ui: update selectable cxx language standards and cross-compiler flags (issue #835) (#856) 2019-12-16 13:13:05 +01:00
Malte LangkabelandGitHub ebed9b0e56 docs: update contact information in documentation 2019-12-13 17:00:39 +01:00
Alexey AndronovandMalte Langkabel cf0ad287d8 docs: Replace unsafe http links with https in docs (#853) 2019-12-13 15:40:03 +01:00
Malte LangkabelandGitHub 3932bb1fb8 logic: allow to specify custom Maven settings.xml file in project settings (issue #794) (#847) 2019-12-11 14:00:20 +01:00
Malte LangkabelandGitHub d33a5357dd logic: update python indexer to fix issue #771 (#846)
This will allow the Python indexer to accept a Windows Python environment with the python.exe located in the root directory of the environment.
2019-12-10 19:04:07 +01:00
Malte LangkabelandGitHub 732c389520 logic: extend language support to Java 12 (issue #752) (#844)
* update java indexer dependencies
* update java language support to java 12
* enable java preview features by default
* add test for Java 12 support
2019-12-10 15:02:59 +01:00
Malte LangkabelandGitHub 097833beee logic: add java 9 path detector for windows (#843) 2019-12-10 13:30:30 +01:00
Malte LangkabelandGitHub e8480d4a43 build: make build fail if maven fails to generate the java indexer jar (#842) 2019-12-10 13:29:59 +01:00
Malte LangkabelandGitHub f93b063763 docs: list maven as a dependency for building Java language support in readme (#841) 2019-12-10 11:50:50 +01:00
Eberhard Graether f25e8aa32d ui: Return to active symbol definition in code view when clicking active node in graph view (issue #836) 2019-12-09 17:51:18 +01:00
Rivka LigierandMalte Langkabel eeb5b13797 docs: restructure software documentation (#816)
also re-phrased some sentences and fixed minor grammar errors
2019-12-07 11:18:17 +01:00
Eberhard GrätherandGitHub 1558b7215d build: Changes to compile on Debian Buster (#827)
based on #784
2019-12-03 23:59:36 +01:00
Malte LangkabelandGitHub e6e0ecbcf5 logic: fix recording template parameter as local symbol instead of qualifier (#824) 2019-12-03 19:35:38 +01:00
Malte LangkabelandGitHub fa6dd6c9e1 logic: improve usability of shallow indexing ui (#823)
* added "--shallow" command line option to request shallow indexing
* modified behavior of Sourcetrail to always perform a deep index if not explicitly specified differently by the user
2019-12-03 18:26:02 +01:00
Malte LangkabelandGitHub 00bf7ebda6 logic: color scheme fixes (#821)
* fixed issues where color scheme entries were missing
* removed color scheme entries for nodes and edges that do not exist anymore
2019-12-03 14:46:11 +01:00
Alexey AndronovandEberhard Gräther 136f3b5eff ui: drag and drop selected source code from code view into other applications (#817) (issue #707) 2019-12-02 17:59:10 +01:00
Eberhard Graether 042ccb55da res: Updated SPONSORS.md for Dec 2019 2019-12-02 13:18:43 +01:00
Michał JaniszewskiandMalte Langkabel f64019b87f build: use ninja on appveyor (#819) 2019-12-02 13:05:35 +01:00
Malte LangkabelandGitHub 7602571be8 docs: update list of dependencies in readme to clang 9.0.0 2019-11-30 17:20:28 +01:00
Alexey AndronovandMalte Langkabel 52ae646f26 build: add multiprocessor compilation flag to cmake to speedup builds (#793) 2019-11-28 20:47:07 +01:00
Malte LangkabelandGitHub 9274758d5d build: update to SourcetrailPythonIndexer v1_db25_p1 (#813)
This allows to use "unsafe" Python environment if this environment has explicitly been specified by the user (issues #697, #747).
2019-11-28 20:15:26 +01:00
Alexey AndronovandEberhard Gräther 75e6edaf44 res: move clang-format file to project top-level folder (#815)
So IDE's can automatically detect it
2019-11-28 16:11:34 +01:00
Michael VetterandEberhard Gräther 6041f997a9 build: Link to LIB_GUI_PROJECT (#797)
This is needed to build successfully on openSUSE.

Regards https://github.com/CoatiSoftware/Sourcetrail/issues/758
2019-11-28 10:33:44 +01:00
Robert PollakandMalte Langkabel 4d13131321 docs: correct the required Boost version in the Readme (#807)
See commit cca66470 in pull request #775.
2019-11-27 18:43:21 +01:00
Michael VetterandEberhard Gräther 1162a52c1d build: Install SourcetrailPythonIndexer only if Python language package is enabled (#800)
Regards https://github.com/CoatiSoftware/Sourcetrail/issues/758
2019-11-26 17:03:32 +01:00
Malte LangkabelandGitHub 0070431265 update to clang 9 (#799) 2019-11-26 16:21:37 +01:00
Malte LangkabelandGitHub 5bbbb73362 build: enable Python language support in appveyor builds (#798) 2019-11-26 14:11:01 +01:00
Malte LangkabelandGitHub 2d9ad2b746 docs: fix wiki link in readme 2019-11-26 08:33:34 +01:00
Alexey AndronovandEberhard Gräther 1d7f466e4f src: Fix crash on exit when deleting components (#789)
* build: add missing includes in header files

* logic: delete components in reverse to creation order
2019-11-25 20:13:29 +01:00
Malte LangkabelandGitHub 7bee830c6f docs: add wiki link to readme file 2019-11-25 19:12:16 +01:00
Eberhard GrätherandMalte Langkabel cca66470be build: Downgraded Boost to 1.67 (#775) 2019-11-25 17:47:33 +01:00
mlangkabel a177c6daf5 docs: add Sourcetrail user documentation to repository 2019-11-23 13:54:34 +01:00
Malte LangkabelandGitHub 77d798d6f3 docs: add Appveyor CI badge to readme 2019-11-23 10:09:11 +01:00
Song LiandEberhard Gräther afc9e8212c build: Fix a possible cmake error on macOS (#782) 2019-11-22 08:19:09 +01:00
Malte LangkabelandGitHub d8b19b70fb docs: mention "good first issue" label in readme 2019-11-20 23:28:36 +01:00
ale rimoldiandEberhard Gräther 08058158d0 ui: Corrected cmake export compile command hint (#776)
Modern CMakes seem to need need -DCMAKE_EXPORT_COMPILE_COMMANDS=ON instead of -DCMAKE_EXPORT_COMPILE_COMMANDS=1
2019-11-20 17:03:47 +01:00
Eberhard GrätherandGitHub db28aa80d1 docs: Updated Slack link 2019-11-20 13:34:28 +01:00
Malte LangkabelandGitHub 7f241e8bdb Add Appveyor based CI (#773)
The CI will build the entire project on Windows (currently without language support) and run all applicable tests.
2019-11-20 12:20:21 +01:00
Eberhard Graether ff598e3866 ui: Fixed code view cleared in single file mode on ui refresh (#772) 2019-11-20 11:16:32 +01:00
Eberhard Graether a1fccbf6eb logic: Fixed update check url going to wrong subdomain 2019-11-20 11:15:10 +01:00
Iru Cai (vimacs)andEberhard Gräther b0d4db6d61 build: Add a default version if not in git (#765)
This fixes building with the tarball source.
2019-11-20 10:28:25 +01:00
Michael VetterandEberhard Gräther 1e870e9a25 src: getNodeStyle() always return a value (#767)
Regards #758
2019-11-19 17:52:29 +01:00
Michael VetterandEberhard Gräther 63007170df src: getRefreshInfo() always return a value (#768)
Regards #758
2019-11-19 17:48:49 +01:00
Steve AshmanandEberhard Gräther 538d76d858 docs: Fix typo in README.md (#766) 2019-11-19 17:07:01 +01:00
mlangkabel 7b14bfaf70 build: update deploy script for windows
* added option to disable 32 or 64 bit build
* re-added option to enable code signing on demand
2019-11-19 16:55:25 +01:00
mlangkabel 7a4b2347fb build: fix build errors on windows
* fix compiler issue where string was returned instead of wstring
* fix boost caching in CMakeList: for CMake 3.12.2 the "set" command requires a docstring if the CACHE flag is set
2019-11-19 16:52:05 +01:00
Benjamin TandEberhard Gräther 216ec83f84 build: Fix lib order (#755) 2019-11-19 16:25:11 +01:00
Michael VetterandEberhard Gräther 44a8104890 src: Always return a value from non void function getSearchTypeName() (#761)
getSearchTypeName() needs to always return std:wstring.

We cover all cases because our switch contains all current possibilities
for Search_Type.

But the compiler will still warn/error on this, depending on system
configuration.

Regards https://github.com/CoatiSoftware/Sourcetrail/issues/758
2019-11-19 15:38:56 +01:00
Michael VetterandEberhard Gräther 7edafe91f2 src: Always return a value from non void function elide() (#760)
elide() needs to always return std:string.

We cover all cases because our switch contains all current possibilities
for ElideMode.

But the compiler will still warn/error on this, depending on system
configuration.

I would like to add a `return "";` or `return str;` or add a `default:`
case to the switch to silence this compiler complaint.

Regards https://github.com/CoatiSoftware/Sourcetrail/issues/758
2019-11-19 15:08:29 +01:00
Michael VetterandEberhard Gräther c0a0e4335a build: Make Boost_USE_STATIC_LIBS a cache variable (#759)
Like this we can overwrite it's value from the commandline via
`-DBoost_USE_STATIC_LIBS=OFF`.

Linux distributions will prefer this.

Regards https://github.com/CoatiSoftware/Sourcetrail/issues/758
2019-11-19 14:56:52 +01:00
Eberhard GrätherandGitHub ce1d5c579d res: Create Funding.yml 2019-11-18 17:36:17 +01:00
mlangkabel 21f2625d9e data: added clang format rules 2019-11-18 17:12:39 +01:00
mlangkabel 078feca004 src: applied clang-format 2019-11-18 17:07:20 +01:00
mlangkabel 52058d9947 data: updated Readme 2019-11-18 16:47:31 +01:00
Eberhard Graether 2e2390d00e res: Changelog for release 2019.4 2019-11-18 15:06:20 +01:00
Eberhard Graether c808fa8732 ui: Show Sourcetrail license on top in licenses window
* updated versions and license files of some 3rd party libraries
2019-11-18 10:41:08 +01:00
mlangkabel fdbb79b677 src: fixed build issues 2019-11-18 10:06:44 +01:00
Eberhard Graether 9ab724ae47 src: Removed backwards compatibility to Coati (.coatiproject, .coatidb) 2019-11-17 16:22:35 +01:00
Eberhard Graether b5e0387f1e ui: Added GitHub and Patreon buttons to start window 2019-11-17 16:14:24 +01:00
Eberhard Graether 9b86f0e824 build: Revised macOS bundle generation script and info (issue #730) 2019-11-17 15:49:19 +01:00
mlangkabel 6641c17b93 data: added GNU General Public License 2019-11-17 15:34:39 +01:00
mlangkabel 1c300e0240 build: removed usage of environment variables from CMakeLists 2019-11-17 15:32:21 +01:00
Eberhard Graether 6c5ac66a59 build: fixed missing semicolons in Linux build 2019-11-17 12:16:21 +01:00
mlangkabel 61b97e4931 test: removed indexer coverage regression tests for Cxx
Currently the output of these tests depends on the c++ standard library that is installed on the executing machine. So for some machines these tests would pass while they fail on other machines.
2019-11-16 17:21:17 +01:00
mlangkabel cc17dbe2ea ui: Remove EULA from GUI and Windows installer 2019-11-16 14:57:31 +01:00
Eberhard Graether bb40bcfe45 build: Only add language package specific source and header files to build when enabled
* removed preprocessor guards in language specific files to avoid "file has no symbols" warning
* separated files into multiple lists in lib and lib_gui CMakeLists.txt for each language package
2019-11-14 12:44:59 +01:00
Eberhard Graether 634e09ddfc build: Fixes minor cmake issues and status bar default color 2019-11-14 12:41:42 +01:00
mlangkabel 0e4a620768 script: updated windows deploy script
* add missing copy command for dll to cmake
* fix deploy script
* remove code signing from deploy script
2019-11-13 19:33:40 +01:00
mlangkabel c38117ab8b build: allow to disable language support in cmake
* in addition: add unloadable sourcegroup to visualize, load and save information when loading a project that contains source groups that are not supported by the build
2019-11-13 17:26:06 +01:00
mlangkabel 4cf852770e src: minior code cleanup 2019-11-11 14:32:10 +01:00
mlangkabel ceb30020b5 src: removed sonargraph based project setup methods 2019-11-09 17:56:51 +01:00
mlangkabel 7257de9f11 src: fixed msvc compiler errors 2019-11-09 12:52:31 +01:00
Eberhard Graether d2a1ac464d src: Use gnu C and C++ standards as default for C and C++ SourceGroupSettings on Linux platform (issue #748) 2019-11-08 17:04:02 +01:00
Eberhard Graether 9281c237a7 ui: Refactored code component to handle all state changes in controller 2019-11-08 16:20:43 +01:00
mlangkabel 9d556599ab logic: shallow python indexing (issue #725) 2019-11-06 19:50:47 +01:00
mlangkabel 73f3be72e1 data: removed unused edge and node types 2019-11-05 23:28:27 +01:00
Eberhard Graether dca9e2627c build: Fixed Linux build 2019-11-05 23:20:17 +01:00
Eberhard Graether c34b17418d build: revised build scripts 2019-11-05 17:00:39 +01:00
mlangkabel 8264b8cae3 build: skip downloading python indexer if correct version is already installed 2019-11-05 11:28:50 +01:00
mlangkabel 38581f9571 build: move build related tasks for Windows from setup script to CMake 2019-11-04 17:46:59 +01:00
mlangkabel d177a7d733 build: removed CxxTest from docker files 2019-11-04 11:55:49 +01:00
mlangkabel 49050e1089 src: replaced unit test framework CxxTest with Catch2 2019-10-29 19:54:16 +01:00
Eberhard Graether 48c4bddc1b src: Fixed macOS build 2019-10-29 14:42:27 +01:00
mlangkabel ed1d4b7d33 src: split indexing dialog to multiple classes 2019-10-22 17:38:38 +02:00
Eberhard Graether c5d94fbd08 ui: Fixed nested layout broken after relayout for maximum access node width 2019-10-21 17:04:23 +02:00
Eberhard Graether 0d8e992bdf src: Removed everything license key related
* removed license check
* removed license from ApplicationSettings
* removed LicenseGenerator
* removed license tests
* removed lib_license
* removed dependency on Botan
* removed license generation in all scripts
2019-10-18 13:05:30 +02:00
mlangkabelandEberhard Graether 2cfce03f6e logic: improved performance of python post processing (by around factor 2) 2019-10-18 13:05:30 +02:00
mlangkabelandEberhard Graether 7f861964ea logic: improved performance of clearing data from re-indexed files to be instant 2019-10-18 13:05:30 +02:00
mlangkabelandEberhard Graether 122b384d60 logic: fix FilePath::makeCanonical for case when working directory is symlink on Windows (issue #733)
This was broken because on first iteration loop the path passed to is_symlink was not a real path, thus boost uses the working dir instead.
2019-10-18 13:05:30 +02:00
mlangkabelandEberhard Graether eb142cfb4e ui: update list indexed headers when editing the compilation database text box (issue #724) 2019-10-18 13:05:29 +02:00
mlangkabelandEberhard Graether f7262c805f logic: skip pre-indexing steps of disabled source groups (issue #737) 2019-10-18 13:05:29 +02:00
mlangkabelandEberhard Graether f572e5ee05 logic: fixed refreshing to clear files of disabled source groups 2019-10-18 13:05:29 +02:00
Eberhard Graether 827b8431ca build: Fixed include issue on clang 2019-10-18 13:05:29 +02:00
mlangkabelandEberhard Graether 712d80cc8a test: clean up cxx indexer tests 2019-10-18 13:05:29 +02:00
mlangkabelandEberhard Graether 580ed9f3d6 logic: merge nodes for all possible expansions of a template parameter pack 2019-10-18 13:05:29 +02:00
mlangkabelandEberhard Graether e81315c131 logic: record inheritance edges for implicit template specializations 2019-10-18 13:05:29 +02:00
mlangkabelandEberhard Graether cd731a3798 logic: skip traversing unspecialized template method of implicit template class specialization 2019-10-18 13:05:29 +02:00
mlangkabelandEberhard Graether ee7dcc2d83 data: replace template member specialization edge by template specialization edge 2019-10-18 13:05:29 +02:00
mlangkabelandEberhard Graether 42cb917490 data: remove NodeType::NODE_TEMPLATE_PARAMETER 2019-10-18 13:05:29 +02:00
mlangkabelandEberhard Graether b72d3531c0 test: fixed some TODOs in CxxParserTestSuite 2019-10-18 13:05:28 +02:00
mlangkabelandEberhard Graether 1bb16deb3b logic: fixed bug where explicit template specialization records edge pointing to self 2019-10-18 13:05:28 +02:00
mlangkabelandEberhard Graether 7a5d1f7d2b logic: record location of substituted template parameter as usage of concrete type
e.g. "return T();" in template function implicitly specialized with T=int records a usage of "int" at the location of "T()".
2019-10-18 13:05:28 +02:00
mlangkabelandEberhard Graether 04bda70b3c logic: template fixes
* omit recording usage of template argument for global scope
* use name of templated decl if specialization has dependend argument types
2019-10-18 13:05:28 +02:00
mlangkabelandEberhard Graether 5a18d0973e logic: fixed respecting the provided order of template arguments of partial template specialization 2019-10-18 13:05:28 +02:00
mlangkabelandEberhard Graether 0498d68f5b logic: skip recording qualifier of template parameter decl name (e.g."A<typename T>::T" -> "T") 2019-10-18 13:05:28 +02:00
mlangkabelandEberhard Graether 517dde06e4 logic: yield name of templated base for dependent template specialization 2019-10-18 13:05:28 +02:00
mlangkabelandEberhard Graether ce22e5917a logic: record template argument that is a dependent template type as local symbol 2019-10-18 13:05:28 +02:00
mlangkabelandEberhard Graether fc0e652ae0 data: Remove Template Argument reference kind and edge 2019-10-18 13:05:28 +02:00
mlangkabelandEberhard Graether 583046c291 data: reduce template related data types
* record template parameter as local symbol
* record template default args as type usage
2019-10-18 13:05:27 +02:00
mlangkabelandEberhard Graether e621a835fd logic: use caching to speed up preparing gradle and maven projects for indexing 2019-10-18 13:05:27 +02:00
mlangkabelandEberhard Graether b631f3ddf7 data: fixed styles missing in portable windows packages 2019-10-18 13:05:27 +02:00
mlangkabelandEberhard Graether e5ff90084e src: fixed msvc compiler issues for variadic SourceGroupSettings templates 2019-10-18 13:05:27 +02:00
Eberhard Graether 74a61e0402 src: Refactored MessageActivationBase handling into single ActivationListener
* structured message type directory
2019-10-18 13:05:27 +02:00
Eberhard Graether bd09cc4feb src: Refactored SourceGroupSettings into components as bases architecture 2019-10-18 13:05:27 +02:00
mlangkabelandEberhard Graether 941e5dbcaa logic: fixed errors sometimes not clickable 2019-10-18 13:05:27 +02:00
mlangkabelandEberhard Graether 6b692ff0e9 ui: add menu entry to close the current project (issue #722) 2019-10-18 13:05:27 +02:00
mlangkabelandEberhard Graether dc24bae943 ui: allow to cancel if cdb project setup specifies unused pch file 2019-10-18 13:05:27 +02:00
mlangkabelandEberhard Graether a856788e75 test: fixed wording in test checklist 2019-10-18 13:05:27 +02:00
Eberhard Graether 7f53c3d4b2 res: Changelog for 2019.3 2019-10-18 13:05:27 +02:00
mlangkabelandEberhard Graether 0587d54172 logic: removed "JVM Maximum Memory" setting from preferences 2019-10-18 13:05:27 +02:00
mlangkabelandEberhard Graether 942eb219eb build: sign windows builds and installer when deploying (issue #704) 2019-10-18 12:59:02 +02:00
mlangkabel ef68893957 data: update Sourcetrail to use python indexer to v1.db24.p2 2019-08-26 18:38:24 +02:00
Eberhard Graether 51ebee7cfd ui: Display message box when From -> To Custom Trail doesn't yield a path 2019-08-26 17:19:08 +02:00
mlangkabel f75593392b logic: fixes for handling pch flags for cdb source groups
* use flags of first source file that specifies an "-include-pch" flag for generating the .pch file
* allow to save project settings without specifying input header file if cdb contains -include-pch args
2019-08-26 16:40:26 +02:00
Eberhard Graether 733ef0ea04 logic: Fixed issues when indexing via CLI (issue #718)
* show proper error message in console when project configuration has issues
* quit when project configuration is wrong
* show indexing progress as self-updating percentage
2019-08-26 16:34:54 +02:00
Eberhard Graether 5a97c88a69 ui: show '.' as directory in file title if file is within project root 2019-08-26 12:53:26 +02:00
Eberhard Graether 70969b1bc3 data: Fixed clang::fileEntry traversal in CxxAstVisitor caused crashes with PCH files on macOS 2019-08-20 16:55:20 +02:00
mlangkabel e89dc0ab0a logic: only use precompiled headers for compilation database commands that specify the "-include-pch" flag (issue #719) 2019-08-13 17:31:33 +02:00
Eberhard Graether 084bc3dc43 logic: Save maven effective-pom output to file instead of using console output to avoid issues with color codes (issue #705) 2019-08-13 17:22:09 +02:00
mlangkabel 809f201583 data: update version of fallback Application Settings 2019-08-12 10:23:00 +02:00
Eberhard Graether b50ab76af5 utility: Fixed process execution aborted due to messing ! 2019-08-06 19:53:12 +02:00
mlangkabel 8a43a95b5c data: update Sourcetrail to use python indexer to v1.db24.p1 2019-08-06 18:34:51 +02:00
mlangkabel 1c7bc2fc90 logic: fix qprocess stuck if finished or errored too quickly 2019-08-06 17:27:41 +02:00
Eberhard Graether bda7375e63 ui: Fixed code file title buttons might shrink to zero content when elided 2019-08-06 13:40:46 +02:00
mlangkabel cce41dd964 ui: fixed bezier edge to remove highlight when not hovered anymore 2019-08-06 13:34:46 +02:00
mlangkabel 3e9df0b074 ui: fix z-index of custom trail dialog and row height of "show directory path" option in preferences 2019-08-06 13:04:54 +02:00
mlangkabel 21f25a0b00 data: make Qt Windows Vista style available for windows 10 2019-08-06 10:55:50 +02:00
Eberhard Graether 6a3561cb87 ui: Change mouse cursor to pointer on graph and code view contents (issue #715) 2019-08-05 22:40:21 +02:00
mlangkabel cc289e8b1e ui: hide jvm maximum memory setting on windows 10 (issue #694)
setting this value to anything other than -1 will cause Sourcetrail to get stuck when initializing the JVM
2019-08-05 18:17:07 +02:00
Eberhard Graether 5f91f48844 logic: Show overview instead of empty error screen after all indexing errors were fixed 2019-08-05 14:33:14 +02:00
Eberhard Graether 2f21848de8 logic: Index multiple indexer commands for one source file in CDB source group (issue #717) 2019-08-05 11:35:09 +02:00
Eberhard Graether b35d4657d5 data: Record errors in precompiled header generation
* also records include dependencies within precompiled header file
2019-07-31 23:28:22 +02:00
Eberhard Graether 4b58bb679c data: Fixed files within precompiled header have no syntax highlighting
- removed working_copy from project setup tests
2019-07-31 21:37:53 +02:00
Eberhard Graether c6adbab340 logic: Added PCH support to CDB source groups (issue #311)
* added PCH Flags list and checkbox to reuse compiler flags and cdb flags to source group setup
* added UI tests for C++ and CDB source groups
2019-07-31 00:41:08 +02:00
mlangkabel b8d0f88336 logic: fixed source location recording for symbols defined inside PCH files 2019-07-30 14:33:07 +02:00
Eberhard Graether 68c9782e33 ui: Added custom trail dialog (issue #249)
* open custom trail dialg via button in top of trail controls
* search from symbol to symbol or all referenced/referencing of symbol
* define search depth with slider
* define horizontal/vertical layout
* define node and edge types
* renamed depth graph to trail in graph ui
* added custom trail UI tests

fortune cookie message = A happy surprise is waiting for you.
2019-07-29 11:25:34 +02:00
Eberhard Graether 6a2c59f3e5 logic: Fixed removing duplicate compiler header and show paths in dialog (issue #710) 2019-07-28 21:03:45 +02:00
Eberhard Graether 6b54d5f07b java: Run maven effective-pom in batch mode to avoid console colors in xml output (issue #705) 2019-07-28 14:02:26 +02:00
Eberhard Graether cd144a979f ui: Added option to show file directory in code view title (issue #556)
* relative to project file if shorter
* checkbox in preferences
* not enabled by default
2019-07-22 14:25:46 +02:00
mlangkabel 293ddffb46 logic: skip everything except call operator when traversing lambda decl 2019-07-22 14:00:33 +02:00
mlangkabel af3e7861b6 src: fixed windows compile errors 2019-07-22 13:54:49 +02:00
Eberhard Graether 8e3ca182b9 src: refactored lib/utility
* removed unused utilityMath
* removed some unused functions from utility
* moved time related utility functions to TimeStamp
* moved path objects from utility to app/paths
* moved objects in lib to lib/app
* removed duplicate confirm methods in DialogView
* moved utilityFile to utility/file
* removed uint typedef and replaced with size_t everywhere
* removed boost header in utilityUuid
2019-07-17 15:10:05 +02:00
Eberhard Graether 70febae55b src: Moved path prefilling to ApplicationSettingsPrefiller
* added subdirectory for all source group settings related files
2019-07-16 14:29:34 +02:00
Eberhard Graether 086c19f25e ui: Don't apply stylesheet to search view every time autocompletions are set 2019-07-09 16:07:13 +02:00
Eberhard Graether 1e8791da35 src: Fixed clang error 2019-07-09 15:11:43 +02:00
mlangkabel bb78c04b34 logic: Implemented usage of PCH for indexing EmptyCxx Source Groups
* further change: initialize all llvm targets before indexing
* further change: remove configurable dependencies directory from gradle and maven sourcegroups
2019-07-02 15:52:17 +02:00
Eberhard Graether 3aebe91e36 ui: Refactored View initialization
* moved initView() implementation where used into constructor
* specify methods as override instead of virtual where applicable
* use default destructors where applicable
2019-07-02 15:04:09 +02:00
Eberhard Graether 5cc39824e0 ui: usability fixes
* reduced mouse drag sensibility when clicking on graph nodes
* also edit search element when cursor in front and pressing DELETE
* scroll to up to minimized snippet after minimizing when scrolled down far
2019-06-28 12:43:31 +02:00
Eberhard Graether 841a87469b src: refactored UI elements and graphics file structure
* split QtIconButton into multiple files
* moved graph elements from view to graphics
* structured elements into sub directories
2019-05-29 18:31:11 +02:00
Eberhard Graether 1cc61a93a2 src: refactored project wizard file structure
* renamed wizzard to wizard
* split QtProjectWizardContentPath into multiple files
* split QtProjectWizardContentPaths into multiple files
* restructured subdirectories
2019-05-29 16:26:49 +02:00
Eberhard Graether 529b534939 res: Changelog for 2019.2.39 2019-05-29 03:34:33 +02:00
mlangkabel e5b51ecebb data: updated version of sample projects 2019-05-28 18:59:26 +02:00
mlangkabel b90444b943 ui: add example for python environment to source group settings ui and changed name in project settings file (issue #696) 2019-05-28 17:47:27 +02:00
Eberhard Graether d2b41f7598 logic: improved python post processing speed and show progress dialog 2019-05-28 17:40:35 +02:00
mlangkabel 31f4e47903 ui: check validity of Python environment when entered in Python Source Group
* Python sourcegroup now displays if a provided Python environment is valid
* update used version of SourcetrailPythonIndexer
* changed executeProcess() to return the process' exit code and console output
2019-05-28 16:44:50 +02:00
mlangkabel b607933e0f data: updated expected output for cxx indexer tests and source group tests for windows 2019-05-28 16:42:00 +02:00
Eberhard Graether 5084a11dec ui: Fixed annotation hovering slow in code snippet view due to style calculation from setting stylesheets 2019-05-28 14:30:23 +02:00
Eberhard Graether 762b27d306 test: moved SourceGroupTestSuite to end to prevent java environment issues on unix 2019-05-28 13:12:56 +02:00
Eberhard Graether f2108084da ui: Added another updateGeometry call to single file view to prevent white space at end and wrong scroll positions 2019-05-28 12:03:26 +02:00
Eberhard Graether e410548665 ui: Fixed undoing after single edge activation within aggregation showed missing edges 2019-05-28 11:46:01 +02:00
Eberhard Graether 150240a9af logic: Don't set project state outdated if only source group name changed (issue #700) 2019-05-27 18:04:29 +02:00
Eberhard Graether b6a39a2d66 logic: Don't store CxxCompilerHeaderPath in Global Include Paths
* show path in Global Include Paths preferences
* add to CXX indexer commands
* add migration to remove from app settings
2019-05-27 16:11:19 +02:00
mlangkabel 581b1894f2 logic: write output of Python indexer processes to log file 2019-05-27 14:05:02 +02:00
Eberhard Graether f087d7e5ea lic: Remove unique_ptr in LicenseChecker to avoid crash on destruction 2019-05-27 13:07:48 +02:00
Eberhard Graether 82fcd4f673 lic: Fixed crash in License destruction (issue #698) 2019-05-27 12:22:22 +02:00
Eberhard Graether 6376b4bca7 res: Changelog for 2019.2.25 2019-05-23 11:04:55 +02:00
mlangkabel 758a8a5318 logic: update version of python indexer 2019-05-21 23:33:26 +02:00
mlangkabel e339b32286 logic: have logging enabled by default if not specified in app settings 2019-05-21 22:05:14 +02:00
Eberhard Graether 8c6ded28a8 data: Add StorageElementComponent to Storage injection 2019-05-21 17:56:50 +02:00
Eberhard Graether e2157b8352 data: Fixed indexer crashes in Cinder after Clang update 2019-05-21 17:50:56 +02:00
mlangkabel 4d6cb464c4 logic: sort custom indexer commands by indexed file size and name 2019-05-21 17:23:03 +02:00
mlangkabel 0fb7fe719a <module>: fixed storage cache to accept local symbols names of python indexer 2019-05-21 17:10:55 +02:00
Eberhard Graether f74789e210 build: export path to OpenSSL config in Sourcetrail.sh (issue #659) 2019-05-21 12:18:23 +02:00
Eberhard Graether 78eade475e data: Updated LLVM/Clang config headers to release 8.0.1 2019-05-20 14:10:34 +02:00
mlangkabel 5690bdc02c script: revert using SourcetrailPythonIndexer beta release 2019-05-20 12:59:17 +02:00
Eberhard Graether a526612fdb ui: Refocus already focused search box on find shortcut to select content 2019-05-20 11:43:28 +02:00
mlangkabel bcef315789 ui: added description of python errors to error help dialog 2019-05-20 11:32:34 +02:00
Eberhard Graether cf45e99505 build: Fixed Clang compilation output not colored on macOS 2019-05-16 19:06:45 +02:00
Eberhard Graether 018a65e0b6 data: renamed 'main' function in tutorial to 'start_tour' due to multiple main fix 2019-05-15 14:56:51 +02:00
Eberhard Graether b5e8c7f452 build: Fixed macOS bundle not using correct Python environment
* Pass verbose flag to Python indexer if enabled
2019-05-15 14:44:49 +02:00
mlangkabel a9887da9f1 ui: show EULA on first start of windows portable package 2019-05-13 18:02:41 +02:00
mlangkabel 67e342119a package: Fixed licenses in wrong directory in Windows package 2019-05-07 18:51:36 +02:00
Eberhard Graether 4716881485 package: Fixed licenses in wrong directory in macOS package 2019-05-07 18:43:54 +02:00
mlangkabel 877fcb47e4 script: fixed windows deploy scripts 2019-05-07 17:27:49 +02:00
Eberhard Graether 0e01a9b200 logic: Fixed python sample migration removed last recent project 2019-05-07 17:10:57 +02:00
mlangkabel 3106257692 ui: add python project icon 2019-05-07 16:28:29 +02:00
mlangkabel 76cb4e0dc9 data: added python sample project 2019-05-07 15:51:37 +02:00
Eberhard Graether abda525b84 ui: Fixed symbol definition shown instead of reference on undoing
* fixes History Tests - State Tests - Code Reference
2019-05-07 14:59:14 +02:00
mlangkabel bdb4c78399 logic: implemented Python post processing to add ambiguous edges for unsolved symbols 2019-05-07 14:17:59 +02:00
Eberhard Graether 7f4e03b241 license: Fixed old test license format not loaded (issue #691) 2019-05-06 13:25:39 +02:00
Eberhard Graether af70d684a5 data: Added intermediate fix to handle multiple definitions of main() in C/C++ (issue #233)
* record main definition as .:main:.<filename>
* restore original name in name deserialization
* don't look up id when undoing main activation
2019-04-30 13:04:57 +02:00
Eberhard Graether ee1fd9c38b logic: Unblock UI when aborting indexing after partial refresh warning 2019-04-23 17:08:10 +02:00
mlangkabel 9e9d488834 data: added manual tests for python sourcegroup 2019-04-23 16:53:32 +02:00
mlangkabel 42cd0f05d7 logic: don't allow partial re-indexing for python source groups 2019-04-23 16:49:11 +02:00
mlangkabel b46b9d157d data: fix EULA date 2019-04-23 15:46:41 +02:00
Eberhard Graether 550ce9c7df logic: Start automatic update checks on second day of use
* Added status messages for update check
2019-04-23 14:28:56 +02:00
Eberhard Graether 76aed77f59 ui: renamed 'relations' to 'references' in overview stats 2019-04-23 14:14:49 +02:00
mlangkabel 25325244d7 logic: update version of python indexer 2019-04-23 13:30:06 +02:00
Eberhard Graether a00cdc18ca ui: Added "Show Definition in IDE" action to graph context menu for nodes (issue #687) 2019-04-23 13:15:56 +02:00
Eberhard Graether 4984e23c07 ui: Increased contrast in bright color scheme 2019-04-23 13:08:34 +02:00
Eberhard Graether 1f6179c1b8 logic: Delete log files older than a month (issue #676) 2019-04-23 13:02:55 +02:00
Eberhard Graether 02835ff59a ui: show multi-level inheritance edge in graph legend
* and added "multi-level" to tooltip
2019-04-23 10:07:33 +02:00
Eberhard Graether ff9467ccae ui: Fixed first character in search autocompletion list type string sometimes slightly cut 2019-04-23 09:34:34 +02:00
Eberhard Graether f9c2ff7c9f build: Updated docker images to clang 8 2019-04-23 08:18:39 +02:00
Eberhard Graether 4def43086e build: Updated to clang 8
* updated "runToolOnCodeWithArgs" from clang 3.7 code to clang 8 code
* fixed "clang-tool" may have occurred in compile command twice
2019-04-19 14:08:11 +02:00
Eberhard Graether 4dd032dcff ui: Multi-column layout within access nodes if no child node has edges
* use multiple columns for access nodes if no child has edges
* try to layout close to a square
* layout neighboring accesses to the width of the largest
* increase threshold to hide children on parent activation to 100
* use square layouting in inheritance trees as well
2019-04-16 16:24:38 +02:00
mlangkabel 92192659d9 ui: add python syntax highlighting for "self" 2019-04-09 14:13:57 +02:00
mlangkabel 7b514173c3 ui: print version number of used SourcetrailPythonIndexer in sourcegroup selection ui 2019-04-09 10:36:45 +02:00
Eberhard Graether edf319cde9 data: removed directory data/gui/installer and moved EULA files to data/license
* moved EULA files to data/license
* moved 3rd party license to data/license
* updated paths in installer scripts
2019-04-08 18:25:13 +02:00
mlangkabel f7d3275e89 logic: make python environment path configurable in project settings 2019-04-08 13:09:52 +02:00
mlangkabel 045a3a4e50 logic: Added "Empty Python" Sourcegroup to project setup
The respective release of the SourcetrailPythonIndexer project is automatically downloaded from GitHub when the setup script is executed.
2019-04-02 15:54:17 +02:00
Eberhard Graether 5d672fafc4 ui: edit search element on backspace instead of deleting (issue #681) 2019-03-20 14:47:39 +01:00
Eberhard Graether b02064a160 license: Implemented new license format
* Implemented new format splitting user, version, and usage period into separate lines
* Refactored all classes: License, LicenseGenerator, LicenseChecker
* Removed redundant license check hash from ApplicationSettings, don't generate, store and check it anymore
* Moved license checking and encoding logic to LicenseChecker
* Moved default for license generation to main.cpp
* Refactored license checking logic in whole app, removed involved message types
* Added LicenseCheckerTestSuite for checking all legacy and current license types
* Generate new license type lifelong
2019-03-18 14:49:52 +01:00
mlangkabel 6ff7d22641 data: update EULA to allow for lifelong licenses 2019-03-12 15:48:37 +01:00
mlangkabel db569ee551 logic: improved fulltext search performance (issue #680)
* move to multithreaded implementation
* omit unnecessary work
2019-03-12 11:16:49 +01:00
mlangkabel b6031fdb3a ui: fixed tooltips were not resizing if app font size was changed on windows 2019-03-11 18:01:16 +01:00
mlangkabel 65f9bdb976 build: use WIX Heat to harvest samples and data for building the windows installer 2019-03-11 09:53:58 +01:00
Eberhard Graether 1c11cd5e8c logic: Fixed crash when closing license window on force entering license 2019-02-26 15:39:13 +01:00
mlangkabel 91e2c2e7e5 ui: replace invalid characters in project name during project creation (issue #671) 2019-02-25 12:43:32 +01:00
mlangkabel 478f97d66b build: add syntax highlighting rules to portable windows package (issue #672) 2019-02-25 11:17:08 +01:00
Eberhard Graether 6ca5208ab5 build: Changelog for 2019.1.11 2019-02-12 12:45:46 +01:00
mlangkabel ad34bcd9e1 data: added python syntax highlighting rules to windows installer 2019-02-05 14:21:18 +01:00
Eberhard Graether e3b5e01435 logic: Show errors when executing custom commands in info message 2019-02-05 14:16:52 +01:00
mlangkabel b0cdd23fb3 UI: mention CDB can be generated by Qt Creator 2019-02-04 18:14:07 +01:00
mlangkabel 0ce7d93cef test: updated custom command test to index python code 2019-02-04 17:44:41 +01:00
mlangkabel 82a3c06a9d logic: implemented using regex capture ranges for syntax highlighting rules
* only first capture will be highlighted (-> only use one capture range per regex
* non-capturing braces can be used with start: "(?:" and end: ")"
2019-02-04 16:07:20 +01:00
Eberhard Graether 92c8c282f5 logic: Fixed qualifier locations not used in reference navigation and only highlighted on hovering 2019-02-04 02:04:38 +01:00
Eberhard Graether 463d3ebd4c ui: Fixed error count in status bar not restored after discarding interrupted index 2019-02-03 23:47:12 +01:00
Eberhard Graether 01ac38dd8a ui: Fixed inheritance chains not correctly layouted 2019-02-03 17:48:09 +01:00
Eberhard Graether f7eb1fc160 data: Added highlighting rules for Python
* fixed multiline highlights to work for any highlight type
* erase priority ranges contained within others
2019-02-03 15:53:40 +01:00
Eberhard Graether 03573abc3b ui: Fixed edge case in multiline CXX highlighting 2019-02-03 13:35:05 +01:00
Eberhard Graether 7d746ba947 logic: Fixes in header path detection
* Rerun header path detection when only cxx header path is present after update in migration
* Check if path exists in header and framework path detection on mac/linux
2019-01-29 13:49:40 +01:00
mlangkabel 5dcecdb3bd ui: fixed status error may not show up if custom command fails on windows 2019-01-21 16:38:47 +01:00
Eberhard Graether 6f0cc614e2 ui: Fixed right click on edge activates it on Windows 2019-01-21 15:46:21 +01:00
Eberhard Graether 7d30709306 logic: Fixes and improvements for C/C++ compiler header path handling
* Always add compiler header path when prefilling on first start, regardless of successful detection
* Show compiler header path in path list box on top and readonly
* Prepend compiler header path on Windows in system header path compiler flags, append otherwise
* Show warning when saving ApplicationSettings if compiler header path is not in global include paths
* Show warning when saving ApplicationSettings if there is another path containing compiler headers
2019-01-21 15:18:31 +01:00
mlangkabel 3eb9211520 logic: added option to execute custom indexer commands in parallel 2019-01-21 13:28:51 +01:00
Eberhard Graether 85bd0d39c3 ui: Fixed graph layout middle column offset to move all buckets in the same direction 2019-01-21 13:13:04 +01:00
Eberhard Graether f7b8563e57 ui: Align graph layout buckets in middle colum at middle gap to avoid edges going through nodes 2019-01-20 23:24:11 +01:00
Eberhard Graether f4859ee094 ui: Improved line number disappearing fix 2019-01-15 00:00:12 +01:00
Andreas Stallinger 711cd6ce1c ui: Fixed line numbers disappearing on hover on Linux 2019-01-14 18:27:19 +01:00
mlangkabel e3c9f12012 logic: fixed initialization of header search paths on first start
* updated version of fallback ApplicationSettings.xml to current settings version
* removed is-empty-check when pre-filling settings at the first start of Sourcetrail
2019-01-14 17:22:22 +01:00
Eberhard Graether fc64f1a958 ui: Recommended project setup from CDB and moved empty setup at end of list 2019-01-14 17:20:37 +01:00
Eberhard Graether 21ac50c204 ui: double click in project setup list box to add new item 2019-01-14 16:37:44 +01:00
mlangkabel 2d2f8f4f31 data: add java dependencies to repository
* this helps us prevent non-intended software updates which would require changes in code and windows installer
2019-01-14 10:02:19 +01:00
Eberhard Graether 2bc90c07bf ui: Only bundle importing files when import edge present 2019-01-10 23:13:18 +01:00
Eberhard Graether 08dc7ec98b ui: Prevent flickering of edges when going back after multiple edge activations 2019-01-10 22:56:14 +01:00
Eberhard Graether 3014dd35a8 logic: Fixed relative paths not working Code::Blocks project files (issue #663)
* Index non-target files if no others available
2019-01-10 22:11:05 +01:00
Eberhard Graether 7d94302712 ui: Remove virtual nodes in depth graph edges when moving nodes (issue #639) 2019-01-10 16:52:40 +01:00
Eberhard Graether 934131b877 logic: Added exception handling for HTTP request exceptions in update checker (issue #659) 2019-01-10 16:01:49 +01:00
Eberhard Graether 545969161e ui: Clear screen search matches when anything in the view changes (issue #660) 2019-01-10 15:53:09 +01:00
Eberhard Graether 322c353898 ui: Wrap lines in status and error table (issue #658) 2019-01-10 15:22:56 +01:00
Eberhard Graether 53c4ac77cf bin: reverted accidental change in tictactoe sample 2019-01-08 14:31:34 +01:00
Eberhard Graether 54f989f6f5 ui: Also elide name of active node if it has more than 100 characters (issue #652) 2019-01-08 14:25:28 +01:00
Eberhard Graether d6a07e9477 ui: Added link to changelog to help menu (issue #653) 2019-01-08 14:17:14 +01:00
Eberhard Graether 29d5ae2cd0 build: Changelog for 2018.4.45 2019-01-08 14:12:13 +01:00
Eberhard Graether 5b787e19d4 src: added exception handling to file reading in TextAccess 2019-01-08 14:10:08 +01:00
mlangkabel b4ea675c9a logic: fixed custom commands
* allow filesystem to rename temp db after indexing
* changed custom command variable syntax
* adjusted test checklist for custom commands
2018-12-18 15:02:45 +01:00
mlangkabel e3940fdf19 logic: skip project settings migration if version is 0 2018-12-18 13:23:28 +01:00
mlangkabel 6d2c89b127 data: updated windows installer 2018-12-18 11:42:44 +01:00
Eberhard Graether d091fc857b ui: fixed active code view mode button could be unchecked 2018-12-17 23:21:38 +01:00
Eberhard Graether 4152deb15e test: Fixed typos and issues in manual tests 2018-12-17 23:06:15 +01:00
Eberhard Graether 22b1b0cc40 build: fixed missing include on linux/gcc 2018-12-17 16:54:36 +01:00
Eberhard Graether 19190f4e5e logic: Suggest full reindex after changing custom command 2018-12-17 16:33:52 +01:00
Eberhard Graether f169805fbc data: record Clang Invocation errors as errors when nothing is recorded 2018-12-17 15:29:49 +01:00
Eberhard Graether 86190675a2 ui: Show Database Version in About and Custom Command Source Group description 2018-12-17 14:49:04 +01:00
Eberhard Graether 95e121159f ui: fixed annotations stay highlighted after hovering in tooltip list 2018-12-17 02:05:58 +01:00
Eberhard Graether 797bf2fee5 logic: Show error updates during custom command indexing
* fixed code view showing all locations when switching view mode while showing errors
2018-12-17 00:27:16 +01:00
Eberhard Graether dd4a880ec3 ui: Show overview bundles for non-indexed or symbol types if no others available 2018-12-16 23:51:53 +01:00
Eberhard Graether 1dabbab599 ui: Extracted syntax highlighting rules for java and cpp to files
* pass file language from storage to code view
* load syntax highlighting rules files from install directory "syntax_highlighting_rules"
* files must be named <language_identifier>.rules to make syntax highlighting work
2018-12-16 22:59:07 +01:00
Eberhard Graether a45dcb8a01 project: changed custom command parameter $STORAGE_VERSION to $DB_VERSION 2018-12-16 13:57:56 +01:00
mlangkabel 111e8a5588 logic: log the first 20.000 characters of clang invocations if verbose indexer logging is disabled 2018-12-14 17:56:33 +01:00
mlangkabel 92f4a9e056 logic: record language for files 2018-12-12 15:50:29 +01:00
Eberhard Graether d3d5b961ff data: Replaced NameDelimiterType in NameHierarchy with std::wstring to allow use with arbitrary delimiters 2018-12-11 16:29:08 +01:00
Eberhard Graether 6d5a3c047d logic: Added SourceGroupCustomCommand to use with SourcetrailDB binaries
* Added new Source Group type SourceGroupCustomCommand to UI and ProjectSettings
* The Source Group executes a specified command on every source file
* The variables $SOURCE_PATH, $PROJECT_PATH, $DB_PATH, $STORAGE_VERSION can be passed
* The commands are executed after all other source groups finished indexing
* The command is executed with working directory set to project directory
* Errors during command execution are shown as status update and in the Status View
* SourceGroupCustomCommand cannot be partially cleared, when one file needs clearing the project must be fully re-indexed
2018-12-11 14:05:26 +01:00
mlangkabel 21d947ed6c src: updated SymbolKind enum
* removed SymbolKinds for Parameter and LocalSymbol, because these are not stored as symbols inside the database
* added Module symbol kind for Python
2018-12-10 16:26:38 +01:00
Eberhard Graether 6d5937d18f ui: Fixed indexed source files not updated on changes in project setup
* Now updated when pressing "Show Files" button
2018-12-06 19:51:28 +01:00
Eberhard Graether c7cc70c22e build: Fixed issue in sourcetrail.sh Linux script (issue #638) 2018-12-06 18:08:40 +01:00
Eberhard Graether b47a0b5b72 logic: Inspect errors during indexing (issue #235)
* Enabled errors table during indexing
* Store intermediate errors in StorageCache
* Open tab for errors if no tab yet
* "Show errors" for file disabled during indexing
* Hide indexing dialogs with ESC instead of stopping indexing
2018-12-06 15:46:42 +01:00
Eberhard Graether 09c6155583 ui: Fixed header path selection also preselects non exsiting paths (issue #640) 2018-12-06 11:24:29 +01:00
Eberhard Graether 7a0edaec06 ui: Fixed graph node centering shows right end when node has greater width than view 2018-12-05 16:33:51 +01:00
Eberhard Graether 242ba3c2c7 data: refactored indexer log messages 2018-12-05 14:08:51 +01:00
Eberhard Graether dc76661a53 ui: fixed multiple multiline comments within one line not correctly highlighted 2018-12-05 00:20:46 +01:00
Eberhard Graether a044e17fdc ui: Reduced code view snippet style 2018-11-30 22:40:07 +01:00
Eberhard Graether bdce9a1841 test: Added graph view UI tests 2018-11-30 22:34:52 +01:00
mlangkabel a51799c279 logic: Store locations of errors in source_location table of DB 2018-11-30 16:02:10 +01:00
Eberhard Graether 34691a0555 ui: Display cmake export compile commands flag in project setup without space to avoid error on copy & paste 2018-11-28 16:04:32 +01:00
Eberhard Graether db69b45c58 utility: Don't shrink shared memory below initial size (issue #636) 2018-11-27 13:18:07 +01:00
mlangkabel f7ee5d0d39 src: simplify adding node hierarchies in ParserClient
* removed unnecessary NodeType parameter from ParserClientImpl addNodeHierarchy
2018-11-26 08:55:26 +01:00
Eberhard Graether 267d6b2eb7 logic: Fixed and improved indexing interruption (issue #634)
* Fixed indexing can be interrupted when dialog hidden
* Clear intermediate storages when interrupting
* Abort waiting for less queued storages when indexing interrupted
* Don't index another file when indexing was already interrupted
* Moved indexing interrupted progress dialog to TaskBuildIndex
* Use MessageIndexingInterrupted instead of MessageInterruptTasks
2018-11-23 15:33:20 +01:00
Eberhard Graether 308954635e ui: Fixed unhovering source location does not remove graph highlight 2018-11-21 16:01:17 +01:00
Eberhard Graether 8e0a60eec7 data: Reduced number of storages in shared memory queue until indexer starts waiting to 2 to save memory 2018-11-21 11:50:20 +01:00
Eberhard Graether 7ada0b56f9 build: Changelog for release 2018.4 2018-11-21 11:42:18 +01:00
mlangkabel 3e16235c12 src: changed name of template parameter symbol kind 2018-11-16 12:52:57 +01:00
mlangkabel e4f0269d94 logic: only log clang invocation in verbose indexer mode 2018-11-13 11:04:26 +01:00
Eberhard Graether c7afb0910d logic: Added weekday condition to news API 2018-11-12 23:40:07 +01:00
mlangkabel fb95762293 logic: fixed: search activates wrong symbol if multiple potential matches share the same "long" symbol name 2018-11-12 16:31:41 +01:00
Eberhard Graether 6490191972 ui: Fixed code file content requests in background tabs failing 2018-11-12 16:14:42 +01:00
mlangkabel 5d64910083 logic: fixed infinite iteration when trying to solve parent name of C++ template arguments with multiple parent contexts in Clang AST (this is a very rare edge case) 2018-11-12 15:28:54 +01:00
Eberhard Graether 8188fbd7be ui: Fixed multiple empty tabs opened when constantly closing tabs 2018-11-12 15:22:29 +01:00
Eberhard Graether 0169f04a7a data: optimized batch insert statement maxiumum variable use 2018-11-10 23:51:27 +01:00
Eberhard Graether 660482b294 build: Opt out of macOS Mojave dark mode 2018-11-09 19:58:48 +01:00
Eberhard Graether dfa6230ad6 logic: Reduced delays when combining TaskDecoratorRepeat and TaskSelector 2018-11-05 18:01:17 +01:00
mlangkabel ddc37aee80 data: fixed description of some UI tests 2018-11-05 17:22:16 +01:00
Eberhard Graether 6d0fa311c1 logic: Fixed commands not in auto completions when symbols with same name exist 2018-11-05 17:10:11 +01:00
mlangkabel 9a8276d76e data: updated description and expected output of manual tests 2018-11-05 17:05:32 +01:00
mlangkabel e47929dcbe data: updated windows installer 2018-11-05 16:58:21 +01:00
Eberhard Graether 6f88910466 ui: Fixed graph nodes not movable 2018-11-05 16:54:28 +01:00
Eberhard Graether 0b9b7c8ed5 logic: Fixed race condition for threaded indexing where indexers don't start indexing when command queue was already stopped 2018-11-05 16:21:09 +01:00
Eberhard Graether 165c82f26f logic: Fixed race condition when TaskBuildIndex exits before indexer threads are started when command queue is already empty 2018-11-05 15:04:22 +01:00
Eberhard Graether e96a28b38a ui: Finalized news on start screen layout
* And fixed mac bundle install script.
2018-11-05 14:15:55 +01:00
Eberhard Graether bac8d6afe8 ui: Added Ctrl + W tab close shortcut for Windows 2018-11-05 12:16:16 +01:00
mlangkabel d2cd236318 logic: implemented shrinking shared memory to fit required amount from time to time 2018-11-05 10:38:48 +01:00
Eberhard Graether f13aec70dd ui: Added tabs UI to top of main window (issue #215)
* Added tab bar to top of main window with UI/shortcuts similar to web browsers
* ComponentManager offers components for 2 use-cases: application and tab
* Application components: log view (status/errors), bookmarks, screen search, status bar, tabs, tooltips, dialogs and all tab views disabled
* Tab components: graph, code, history and search
* When a project is loaded there is always at least one tab, otherwise there is none
* Each tab replaces the application views of the same name in the main layout when activated
* Each tab has it's own TaskScheduler, to process tasks independent from other tabs
* The application has a global TaskScheduler for application wide tasks
* The singloton class TaskManager is responsible for managing the TaskSchedulers
* MessageListeners and Messages hold an optional schedulerId, both must be set to only send to a specific TaskScheduler
* Bookmark buttons where split off into a separate view per tab, bookmark managemement is done in the application
* History menu processing is done by the QtMainWindow now
* Screen search is an application component, the responders are always changed to the active tab
* Plugin messages are opened in a new tab
* Symbols can be opened in a new tab via middle click/context menu in graph, code, history dropdown
* Full text index creation is mutexed now in PersistenStorage to make it fully thread-safe
* All tabs are closed when switching projects
* Tab contents are only animated when visible

fortune cookie message = Catch your lucky star!
2018-11-05 01:28:12 +01:00
Eberhard Graether bd4a554b27 build: Fixed .config directory no write permission after install on Linux (issue #625, #626) 2018-11-04 16:41:38 +01:00
Eberhard Graether 466f094800 build: Fixed docker builds
* fixed Boost c++ standard
* build with docker on mac
* added mail script
* fixed cxx index sample test on mac
* disabled gradle source group test for linux docker builds
2018-11-03 03:18:06 +01:00
mlangkabel bff7b0d70a logic: added type usage edge for types that occur as template arguments 2018-11-02 13:27:44 +01:00
mlangkabel 05649977a6 data: updated 3rd party license info 2018-10-30 13:39:05 +01:00
mlangkabel 1497941c3d logic: skip recording implicit local symbols
* for example this would be the parameter of an implicitly defined copy constructor
2018-10-30 13:34:16 +01:00
mlangkabel 73cf651664 ui: Show explicit error message if no java path provided in preferences 2018-10-30 12:30:32 +01:00
mlangkabel d12570ccf9 data: updated expected output for Cxx sample project tests
* changed expected output of Bullet and Box2D to new formatting (without duplicates)
* minor additions due to clang update
* updated expected output of TicTacToe project with all headers indexed
2018-10-30 12:04:33 +01:00
Eberhard Graether 0663286a90 logic: Fixed TaskDecoratorDelay slowing down Task processing 2018-10-28 17:11:24 +01:00
Eberhard Graether e2dd26ee5a logic: Split MessageRefresh into index and UI 2018-10-28 12:11:53 +01:00
Eberhard Graether 27627b6d05 logic: Fixed termination issues in task scheduling
* don't use thread::detach() in TaskGroupParallel::terminate to make it useful for tabs
* properly terminate TaskFillIndexerCommandQueue
* fixed wrong microsecond delays
* moved some task delays to TaskDecoratorRepeat for better transparency
2018-10-28 02:36:41 +01:00
Andreas Stallinger aef4970aa2 build: Updated docker images 2018-10-26 17:49:50 +02:00
Eberhard Graether f7b77b6f9c build: Updated to Clang 7.0.0 2018-10-26 14:23:26 +02:00
Eberhard Graether 3d8afdb7be src: Removed pointless singleton pattern from LicenseChecker 2018-10-21 13:59:48 +02:00
Eberhard Graether 6a6bd0fca8 ui: Show news sent with update check on start screen
* News are passed as JSON string, containing an array of news items.
* Each news item has version and content (html).
* Items can be filtered by min/max version, OS and license. The first item that fits is used.
* Items can be important, which highlights the news box.
* News are not shown if older than 5 days.

fortune cookie message = You will be financially successful in case your actions are well planned.
2018-10-21 13:49:06 +02:00
Eberhard Graether 518f15d490 data: Added forEach<StorageType>() methods to SqliteIndexStorage for significantly lower memory use of queries
* use in local index building during refresh
* use in read cache building on project load
* use in some storage access requests
* also slightly improves speed
2018-10-20 14:57:38 +02:00
Eberhard Graether 4638ea2baf data: use uint32_t instead of Id in SqliteIndexStorage local indexes 2018-10-20 04:13:13 +02:00
Eberhard Graether 426e16c75b data: Fixed real deadlock in interprocess indexer when command queue is empty on start 2018-10-20 02:49:46 +02:00
Eberhard Graether f8bff8dfda data: Fixed deadlock when indexers started before commands in queue
* Made refilling command queue faster to avoid indexers shutting down
2018-10-20 01:59:09 +02:00
Eberhard Graether ab6cf631f4 ui: Added Copy action to code view context menu 2018-10-20 00:09:57 +02:00
Eberhard Graether 1e7a694c80 ui: Removed leading spaces in overview project description 2018-10-19 23:51:02 +02:00
Eberhard Graether 5a10867d56 logic: fixed refresh broken after refreshing with no files to index and clear 2018-10-19 23:24:22 +02:00
Eberhard Graether c50ff53b32 logic: Fixed history menu to show global activation history chronologically 2018-10-19 22:18:17 +02:00
Eberhard Graether 684699ace9 ui: Fixed undo to now undefined node didn't display it undefined 2018-10-19 21:26:47 +02:00
Eberhard Graether adc1900d18 logic: Fixed multiple active symbols broken on undo
* fixed undoing to multiple actives didn't show all nodes in graph
* fixed wrong name in search bar, status message and history dropdown
* fixed flicker when activating multiple nodes in code view
2018-10-19 20:47:08 +02:00
Eberhard Graether bcbbb54b70 res: No std header files in tutorial 2018-10-19 18:38:27 +02:00
Eberhard Graether 842bce8b32 logic: Show hidden indexing dialog on refresh
* Fixed refresh restarted when refreshing while processing files
2018-10-17 01:30:33 +02:00
Eberhard Graether d78e80b548 ui: Fixed unhovering active error removes active highlight 2018-10-16 23:40:40 +02:00
Eberhard Graether cfdd332a18 cxx: Only log clang invocation errors when present 2018-10-16 17:08:59 +02:00
Eberhard Graether 73007931b2 logic: Fixed race conditions in indexing tasks
* Fixed TaskFillIndexerCommandQueue exiting right away when all commands fitted into queue on first call
* Fixed TaskBuildIndex exiting right away when starting of indexer processes takes longer than the update cycle
* Refactored Indexing Tasks Behavior Tree
2018-10-16 17:02:42 +02:00
Eberhard Graether 54f3b551ef src: Fixed shared memory garbage collector mutex stuck
* Try unlocking mutex 5 times
* Then force ownership
* If everything fails run without garbage collector
2018-10-16 15:20:48 +02:00
Eberhard Graether 31d2fb67e2 build: Fixed Linux build 2018-10-16 14:16:21 +02:00
Eberhard Graether db586939e9 ui: Fixed crash on scope expansion
Code file list was still referencing deleted snippet scrollbar after replacing snippets on scope expansion.
2018-10-16 12:10:20 +02:00
Eberhard Graether 4ae052cb9c data: Refactored ParserClient API to return and use Ids instead of NameHierarchies for faster indexing
* Pass NameHierarchy to record new symbol returning an Id
* Cache symbol Ids in Parser implementation
* Reuse symbol Ids as reference when recording related data
* Pass FilePath to record new file returning an Id
* Cache file Ids in CanonicalFilePathCache
* Store file Id in ParseLocation instead of FilePath

fortune cookie message = You know a silent way to impose your will.
2018-10-16 00:54:38 +02:00
Eberhard Graether aab29b241e test: Replaced DumpParserClient and TestParserClient with TestIntermediateStorage to ease switch to new ParserClient API 2018-10-15 15:05:15 +02:00
Eberhard Graether 3d5b90364a data: Removed source_location_file_node_id_type_index 2018-10-06 12:43:57 +02:00
mlangkabel 10658b2801 ui: display multi-line maven error messages (issue #622) 2018-10-05 13:32:25 +02:00
Eberhard Graether 9edfdacd72 data: Removed separate comment_location table
* added LocationType LOCATION_COMMENT
* store comment locations within source_locations
2018-10-04 21:21:31 +02:00
Eberhard Graether f060b6042d data: Improved injection performance with batched insertions
* add InsertBatchStatement inserting any number as multiples
* switched Storage injection interface to containers
2018-10-03 01:15:27 +02:00
mlangkabel 15e66758df build: updated versions of Java indexer dependencies 2018-10-02 18:15:39 +02:00
Eberhard Graether 83f41e04b1 data: start adding node name hierarchy from bottom and stop when a name was already added 2018-09-25 00:52:09 +02:00
Eberhard Graether a870858bb6 data: Don't store NameElement in NameHierarchy in shared_ptr to reduce heap allocations 2018-09-23 18:01:31 +02:00
Eberhard Graether 34cdde604e data: improved ParserClientImpl recording performance
* Removed storage checks and single use methods
* cache file ids in ParserClientImpl to avoid lookup for every source location
* NameHierarchy::serialize with range to avoid copies when adding nodes
* removed duplicate code in IndexerCxx and IndexerJava, moved to Indexer
2018-09-23 17:52:05 +02:00
mlangkabel 7c039a2fb8 logic: fixed reading lines now also breaks at a single "\r" on windows 2018-09-21 18:00:34 +02:00
mlangkabel 951256c07b logic: reduced waiting time when interrupting indexer processes
* made multiprocess AST traversal interruptible again
* removed const variables that define sleep times for threads
2018-09-21 17:19:03 +02:00
Eberhard Graether 593e075399 utility: don't process log messages in stream macros when logging disabled 2018-09-21 16:28:07 +02:00
Eberhard Graether 56dcddfb83 cxx: Improved performance of CxxAstVisitor, CxxNameResolver and CxxName types
* use unique_ptr for CxxName handling
* create CxxNameResolver from other
* improved string handling in CxxName types
* only traverse decls within projects
* use macro in ast visitor to call into each component instead of virtual calls
* improved CxxName caching performance
* refactored CxxNameResolver classes to use less locals
2018-09-21 14:48:51 +02:00
Eberhard Graether 513988e51b src: Fixed tests for Mac 2018-09-21 14:38:31 +02:00
mlangkabel dfc6d88432 build: search headers in all source directories
* removed paths in include directives
* changed cmake to provide necessary header search paths
* changed name of version.h to productVersion.h due to name conflict
2018-09-18 19:00:18 +02:00
mlangkabel 9dc2bcc2f9 logic: indexer command refactoring
* moved SystemHeaderSearchPaths and FramewordSeearchPaths of indexer cxx indexer commands to CompilerFlags section
* added SourceGroupTestSuite to test indexer command generation of all source groups
* removed "compile_commands.json" from gitignore, because a resource file for the tests has this name
2018-09-18 17:09:28 +02:00
Eberhard Graether 07454f2045 data: Removed std::multimap optimization from LowMemoryStringMap and store local symbol names in std::map 2018-09-18 12:32:55 +02:00
Eberhard Graether 9f453ef376 src: Fixed clang warnings 2018-09-18 10:56:56 +02:00
mlangkabel 5517cd4ccf logic: refresh info generator fixes and tests
* fixed case where "to-index" state of a file has changed and thus the file needs to be re-indexed
* clear and re-index files that depend on changed non-indexed files
* clear and re-index files referenced by unchanged but cleared (due to referencing a changed file) files
* fixed: updated files with changed timestamp that do not have content in the db will now count as changed
* refined refresh info generator tests
* updated checklists for manual project setup tests
2018-09-14 16:02:01 +02:00
mlangkabel 5b7938eda6 logic: record and display cxx indexer configuration issues (issue #618) 2018-09-14 15:31:27 +02:00
mlangkabel eb0bf063b8 logic: improved performance of "setting up indexers" step for CDB SourceGroups
* improved performance of generating IndexerCommandProviders of  CDB SourceGroups
2018-09-11 13:23:55 +02:00
mlangkabel ec0f3bb2ac build: update to boost 1.68 for Windows builds 2018-09-10 17:12:42 +02:00
mlangkabel db85279b8c logic: reduced memory consumption of indexer commands for empty, Sonargraph and Codeblocks Cxx sourcegroups
* use compressed format of CxxIndexerCommandProvider for these SourceGroups
2018-09-10 13:58:45 +02:00
mlangkabel cdbca77495 src: cleaned up code of Tasks and IndexerCommands 2018-09-10 13:17:49 +02:00
mlangkabel df0b7bc7bb logic: Log success of VS path detector instead of printing to console 2018-09-10 13:01:54 +02:00
mlangkabel 9998855527 logic: generate indexer commands on demand to reduce shared memory consumption
* implemented task for sending IndexerCommands to shared memory on demand
* SourceGroups now return IndexerCommandProviders instead of just a list of indexer commands. This way information can be stored in a compressed format
* merged IndexerCommandCxxEmpty and IndexerCommandCxxCdb
* moved sorting of indexer commands by file size from IndexerCommandList to TaskFillIndexerCommandQueue
* removed obsolete IndexerCommandList class
* wait for IndexerCommandQueue to be filled before starting the indexers
* restart finished indexer processes while indexerCommandQueue is still running
* restart indexer threads as long as there are indexer commands to process
* removed Blackboard::getMutex() and added an atomic update() method
2018-09-10 12:40:30 +02:00
Eberhard Graether 92a19869e7 test: History ui tests 2018-09-07 12:50:04 +02:00
Eberhard Graether ac7b642d8a test: Search view ui tests 2018-09-07 12:48:19 +02:00
Eberhard Graether d2a99cbab2 test: Code view ui tests 2018-09-07 12:46:31 +02:00
mlangkabel 1a39f9ddc0 logic: fixed crash and missing includes in LogMemoryStringMap 2018-09-04 21:43:00 +02:00
mlangkabel 0e9fb73463 logic: improved performance of querying filepaths from CDB
* we don't need to get the complete compile commands for this
* as a fallback, querying a single compile command for a file is fast, because it is stored in a map
2018-09-03 16:51:48 +02:00
mlangkabel 5ff7d510d7 Re-Revert and fix "logic: changed Java type_argument edges to originate in the generic type or method" 2018-09-03 09:38:51 +02:00
Eberhard Graether bb1d7f5b39 src: Fixed clang warnings 2018-09-02 21:23:07 +02:00
Eberhard Graether 06d64b76f7 data: Reduced memory usage during indexing with LowMemoryStringMap
* reduces node and local symbol index sizes by about 30-50%
2018-09-02 20:47:43 +02:00
Eberhard Graether 55753a1bf5 Changelog for 2018.3.55 2018-09-02 20:44:24 +02:00
mlangkabel ea68229303 logic: fixed crash that occurred in some cases when logging the clang invocation 2018-08-31 13:19:52 +02:00
mlangkabel bac68a93df data: added annotation icon to windows installer 2018-08-28 16:57:36 +02:00
mlangkabel 4afd1b3fef ui: implemented restoring minimized Sourcetrail window if token is activated from IDE on Windows 2018-08-28 16:50:21 +02:00
mlangkabel 5c6e9afe06 ui: fixed raising Sourcetrail window if token is activated from IDE on Windows 2018-08-28 16:40:00 +02:00
mlangkabel 8e6d5e6010 Revert "logic: changed Java type_argument edges to originate in the generic type or method" 2018-08-28 16:20:51 +02:00
Eberhard Graether ff92ac7929 logic: Fixed crash on self referencing connections in HierarchyCache 2018-08-28 16:05:34 +02:00
mlangkabel 03c06e91e8 test: added project setup test description and resources for Java Sonargraph setup 2018-08-28 15:01:13 +02:00
Eberhard Graether db23d50614 test: Fixed project setup tests for mac 2018-08-28 14:20:28 +02:00
mlangkabel 21d58357f2 logic: fixed application crash on windows if JVM tries to allocate too much memory by reducing the amount of allocated memory to the available size. 2018-08-28 13:06:36 +02:00
Eberhard Graether 5f80d79540 ui: Fixed gradle loading dialogs in main window instaed of project setup dialog 2018-08-28 12:58:29 +02:00
mlangkabel 1ba843fbec test: added test descriptions and resources for manually testing different project setup methods 2018-08-28 11:13:05 +02:00
mlangkabel 0f5548f5f9 ui: updated text for handling non-existent project in recent projects list 2018-08-28 11:02:48 +02:00
mlangkabel d2b8b5567f build: fixed ShadedIntermediateStorage not compiling on Windows 2018-08-28 10:15:14 +02:00
Eberhard Graether a1ad9abc0d data: Faster creation of ParseLocation 2018-08-28 02:16:31 +02:00
Eberhard Graether 470a8a3920 data: Improved data storing performance in IntermediateStorage 2018-08-27 23:37:24 +02:00
Eberhard Graether c0984b2ca4 ui: Display count circle of bundle node as rounded rect 2018-08-27 19:42:20 +02:00
Eberhard Graether e3e8fa1547 data: Request file modification time not until storing to index for faster indexing performance 2018-08-27 17:05:38 +02:00
mlangkabel e8a4830229 ui: fixed crash that had a chance to occur when showing source files of cdb/cbp/sonargraph project 2018-08-27 16:15:18 +02:00
Eberhard Graether 9bce2de57b data: reduced memory usage of sqlite index during indexing
* use std::string instead of std::wstring in temp indices
* use number types for edges and source locations in temp indices
* use map::emplace where appropriate
* moved 100 occurence insert optimization fully to sqlite index
2018-08-27 15:38:44 +02:00
Eberhard Graether bd1e79179b logic: Fixed source extensions not converted to lowercase (issue #614) 2018-08-24 16:12:53 +02:00
mlangkabel 862f7b99a7 logic: fixed recorded locations of errors that appear after cxx line directives (issue #610) 2018-08-24 16:06:05 +02:00
Eberhard Graether f7e67c8a63 ui: Fixed syntax highlighting for Java annotations 2018-08-24 15:51:22 +02:00
Eberhard Graether 1ba1b9f967 ui: Clear graph contents on overview (issue #609) 2018-08-24 13:54:53 +02:00
Eberhard Graether 01d5f23e8f gen: Added quarters parameter to license generator 2018-08-24 12:25:58 +02:00
mlangkabel caad4dfc14 logic: fixed policy for finding windows user data folder (issue #612)
* creating "user_fallback" path in application directory if everything else fails
2018-08-24 10:50:00 +02:00
mlangkabel 50c0f6ef59 logic: fixed recording of multiple cxx anonymous namespaces within the same file 2018-08-21 16:57:16 +02:00
Eberhard Graether b64fda77b5 logic: Fixed files within indexed directories always refreshed in empty C/C++ source groups 2018-08-21 16:49:01 +02:00
Eberhard Graether 5f6747d6a1 ui: Don't show overriden method in tooltip list when clicking overriding method 2018-08-21 16:08:41 +02:00
Eberhard Graether 366bbd6548 ui: Fixed local reference navigation not shown for edge clicks when file content was not present yet 2018-08-21 14:14:39 +02:00
Eberhard Graether 4e68de8917 logic: Fixed crash when start window deleted while checking for update 2018-08-21 13:19:17 +02:00
Eberhard Graether 023c6288d6 logic: Fixed issues releated to real signatures in tooltips (issue #604)
* Fixed crash when signature was wrongly recorded
* Fixed line break at wrong position for template functions/methods
* Fixed already qualified name replace with qualified name, repeating qualifiers
2018-08-20 23:22:50 +02:00
mlangkabel c86f4d04dc logic: record "java.lang" symbol as package 2018-08-20 18:15:11 +02:00
mlangkabel 36a9d552da logic: changed Java type_argument edges to originate in the generic type or method
* added tests for java type argument recording
* implemented recording type arguments for java ExpressionMethodReferences
* changed type_argument edge to originate in generic type
* added type_usage edge for type_arguments that originates in context (e.g. calling method)
2018-08-20 16:27:53 +02:00
mlangkabel 14a8d024b9 logic: record all symbol types of package names qualifying a Java import declaration 2018-08-20 16:02:10 +02:00
Eberhard Graether 2e5cfd9333 ui: Fixed code annotations missing in snippet mode for files with /r/n line endings 2018-08-20 14:43:44 +02:00
mlangkabel 9813c9873f logic: index and store Java annotations
* add annotation symbol kind
* add annotation_usage edge kind
* increment storage version
* record java annotation decls
* record java annotation member decls (as fields)
* update expected output of java sample project indexing tests
* add tests for recording annotations
* add annotation icon, annotation colors
* add new annotation node and edge types to legend
2018-08-14 17:33:00 +02:00
mlangkabel abe0248c1e logic: implemented setting Clang's language to "c++" for "empty cpp" source groups 2018-08-13 17:52:24 +02:00
mlangkabel 7150817fc4 logic: implemented logging of used clang invocation which also include implicit and derived arguments (issue #595) 2018-08-13 17:21:27 +02:00
mlangkabel 195f5893c9 logic: reduce copies of intermediate storage data when creating shared memory representation 2018-08-10 16:19:45 +02:00
mlangkabel 5ace9e080f logic: removed shuffling of indexer commands 2018-08-10 16:10:06 +02:00
mlangkabel 337cf2d371 logic: improved performance of storing index to database
* add compiled statement for batch inserting 100 occurrences at once
* removed unnecessary primary key from component_access to get rid of additional index table
* changed explicit check for existing symbols when injecting to implicit check in insert statement (insert or ignore)
* improved performance of adding edges by replacing edge multi part index with in-memory-index
* added in-memory-index for node table
* added in-memory-index for local_symbol table
* added in-memory-index for lource_location table
* moved setting storage mode to SqliteIndexStorage, because storage modes are not used anywhere else.
* don't store current mode as member because re-creating an existing index takes no time.
* add getter for name of SqliteDatabaseIndex
* removed unused method from persistent storage
2018-08-10 15:37:08 +02:00
Eberhard Graether 52d0236f9a res: Changelog for 2018.3.13 2018-08-07 14:03:32 +02:00
Eberhard Graether 0898accd58 ui: improved hatching color contrast of variable in bright scheme 2018-08-06 01:04:36 +02:00
Eberhard Graether d71e28b7b7 ui: Fixed fulltext search locations disappearing when expanding scope in code snippet view 2018-08-05 20:29:17 +02:00
Eberhard Graether ae7b827b0c ui: Added expand and collapse node actions to graph view context menu
* expand/collapse node via graph view context menu
* also possible with Shift + Left Click
2018-08-05 19:49:18 +02:00
mlangkabel f9b43526f4 logic: improved performance of storing index to the database
* batch inject occurrences
* removed unnecessary destructor and keywords from storages
2018-08-03 13:51:31 +02:00
mlangkabel 1e77613a1b ui: implemented handling of case where index db is used by different process while trying to swap files 2018-07-31 18:06:46 +02:00
mlangkabel 70dba27f9e logic: fixed crash that occurred when trying to use a project that encountered an exception while loading
* fixed crash when storage access proxy tries to access a deleted storage pointer
* refactored StorageAccessProxy implementation to use macros to generate proxy methods
2018-07-31 15:55:29 +02:00
mlangkabel 40bd5ceb5a logic: improved "prepare indexing" performance for cxx sourcegroups
* improved performance of "prepare indexing" step for all cxx source groups except empty
* unified code for filtering to contained file paths of source groups
* cleaned up code of SourceGroupFactoryModules
2018-07-31 14:17:14 +02:00
mlangkabel 445e7f339e logic: Fixed full-text search sometimes showing more results than intended
* fixed building longest common prefix array for full-text search by making values not relative the the charcode of the "a" character, because this would result in characters (e.g. "_") having a negarive value.
2018-07-31 10:15:25 +02:00
Eberhard Graether 5b42298a25 data: Use ordered_map in canonical filepath cache 2018-07-30 16:26:23 +02:00
Eberhard Graether ea0c249ad9 ui: Improved contrasts in color schemes
* fixed edge routed wrong issue in graph legend
* fixed Alt + Ctrl/Cmd + R refreshes UI
2018-07-27 14:45:25 +02:00
Eberhard Graether 713a8eec50 data: Improved file path caching in CXX indexer
* centralized all file path caching in CanonicalFilePathCache
* added cache by clang::FileID
* moved FileRegister into CanonicalFilePathCache and removed it from AST* classes
* only record files once
2018-07-27 12:39:55 +02:00
Eberhard Graether afec261872 ui: Made all indexing dialogs hideable
* all dialogs for the indexing usecase can be hidden regardless of project state
* fixed some dialogs could not be shown
* pass dialogview into project and all indexing tasks
* pass application to project and tasks
2018-07-25 23:49:46 +02:00
Eberhard Graether b055b4c7dc logic: Fixed click on macro activated first of multiple symbols instead of showing list 2018-07-25 20:53:54 +02:00
mlangkabel eda86dc44a ui: fixed inheritance and template edges hidden by grouped node 2018-07-24 16:49:19 +02:00
mlangkabel 7007cae02d logic: fixed parser client to record scope of nodes that have a signature 2018-07-24 16:34:06 +02:00
Eberhard Graether af8220968c ui: Fixed graph not interactive after showing legend 2018-07-24 15:18:21 +02:00
Eberhard Graether 704b1a4e9a logic: Disable activation of errors while indexing 2018-07-24 14:28:19 +02:00
mlangkabel 80055d42ff logic: fixed infinite iteration in cxx signature recording 2018-07-24 13:53:32 +02:00
Eberhard Graether d96baad91d src: Fixes for Release
* pass log directory absolute to indexers
* pass app and user paths absolute to indexers
* removed QCoreApplication instance from indexer process
* removed mutex from ConsoleLogger
* updated shortcut window
* renamed code reference menu items
2018-07-24 12:53:55 +02:00
mlangkabel f715e5c99e logic: only prefill application settings once 2018-07-24 11:55:44 +02:00
mlangkabel 86b0583b6b ui: added check for entered project name to be a valid file name 2018-07-24 11:02:13 +02:00
Eberhard Graether ac31bb6779 src: avoid indexing slowdown on macOS by not using unknown progress for progressbar in status bar 2018-07-24 03:36:27 +02:00
mlangkabel 0fc670bcd7 data: added legend icon to windows installer 2018-07-23 18:54:17 +02:00
mlangkabel 75a22be362 logic: fixed names of available header path detectors
* fixed header path detector incorrectly showing up as available
* fixed visual studio header path detector names
2018-07-23 18:46:28 +02:00
mlangkabel fdc99a2935 logic: fixed infinite iteration in cxx brace recording 2018-07-23 18:21:29 +02:00
Eberhard Graether ed0ade034e ui: Graph legend (issue #308, #540)
* Show graph legend via 'legend' command or '?' button in the lower right corner
* Legend is not interactive: nodes and edges not clickable or moveable
* CXX and Java node types are mixed
2018-07-23 16:55:58 +02:00
mlangkabel 83873f4dbf ui: added info on supported Sonargraph module types to source group type selection screen 2018-07-23 15:59:41 +02:00
mlangkabel 20086d14a6 logic: ship clang compiler header within Sourcetrail package on Windows
* added clang system headers to data folder of Sourcetrail repo
* added clang system header search directory to detected directories on windows
* updated migration to add clang system header search directory on windows
* updated windows installer and portable package to include compiler headers
* updated linux package
* cleaned code of path detectors
* unrelated removal of unnecessary code in LicenseChecker and UpdateChecker
2018-07-23 15:14:07 +02:00
mlangkabel 637857fb56 src: fixed crash when indexing in headless mode 2018-07-23 14:20:16 +02:00
mlangkabel c523f1bd8b build: added codeview arrow buttons to windows installer 2018-07-23 11:19:29 +02:00
Eberhard Graether 95ebfff19c ui: Added on-demand local reference navigation to code view navigation bar (issue #453, #538)
* show local reference navigation for local symbols and multiple edge references
* shortcut Ctrl/Cmd + T
* iterate with consecutive edge clicks
2018-07-23 03:13:41 +02:00
mlangkabel 1df330ff2c ui: improved buttons texts for "reindexing required" dialog 2018-07-22 20:28:18 +02:00
Eberhard Graether 1db248a34e ui: scroll code horizontally to active sourcelocations 2018-07-22 19:40:01 +02:00
Eberhard Graether ad6f5c8727 ui: Added show definition context menu action for graph nodes (issue #83)
* use 'show definition' context menu action or 'Ctrl/Cmd + Left Click' to show definition of node in code
2018-07-22 14:30:56 +02:00
Eberhard Graether 0b5ad33a8c src: Improved project load speed with move semantics and in-place initialization
* switched SearchIndex and HierarchyCache to std::unique_ptr
* use move semantics and in-place initialization in StorageTypes and SearchIndex
* improved autocompletion speed by fixing contained node type checking
2018-07-22 00:25:54 +02:00
mlangkabel 46e6b8ff14 logic: create non-existing project directory during project setup for better usability 2018-07-21 09:32:33 +02:00
mlangkabel c6f9d8f92c logic: show real code of signatures in tooltips
* added new location type
* refactored old recording code
* record signature locations for cxx functions and java methods
* added signature locations to sample project indexer tests
* ignore signature locations in ui
* signatures in tooltip with qualified name of the function/method
* added test for finding signature location of constructor with initializer list
2018-07-20 14:00:08 +02:00
Eberhard Graether 605d07688b src: Use move semantics for NameElement construction 2018-07-17 15:31:18 +02:00
Eberhard Graether 6adcb2b31e logic: Improved search result scoring
* Increase result count relative to query length
* Only run best scoring on shortest 1000 results
* Made NameHierarchy deserializing faster
2018-07-17 14:41:17 +02:00
mlangkabel 094bfae8f1 test: added performance tracking for java indexer tests 2018-07-17 13:00:56 +02:00
Eberhard Graether ec5ac09566 ui: Don't animate scroll to top in graph 2018-07-16 15:40:14 +02:00
Eberhard Graether e020546f29 test: Fixed test build 2018-07-16 15:14:20 +02:00
Eberhard Graether ed1e8c2273 src: switched isupper to iswupper and all similar functions (issue #598) 2018-07-16 14:56:05 +02:00
mlangkabel 033ff82192 src: refactored cxx ast visitor code
* extracted brace recording code into own ast visitor component
* removed unnecessary cxx ast visitor code
2018-07-16 14:48:47 +02:00
mlangkabel 4be04e28bf ui: improved windows error handling for loading external dlls to display an error text 2018-07-16 12:54:17 +02:00
mlangkabel 855d8f4e2e logic: implemented highlighting both opening and closing bracket in Code view while hovering either one (issue #12) 2018-07-16 10:38:40 +02:00
mlangkabel f77e47a921 test: implemented recording history of sample project indexing times on windows 2018-07-13 14:58:10 +02:00
Eberhard Graether 37aa46d77b ui: Fixed start screen not disappearing when opening project with double click on macOS 2018-07-13 14:36:13 +02:00
Eberhard Graether 7884f82432 ui: Fixed restoring scroll position on undo in graph broken 2018-07-13 14:14:04 +02:00
Eberhard Graether 88b507b169 ui: Don't show children with type use edges if parent is active by default 2018-07-13 13:16:53 +02:00
Eberhard Graether 151fb666e4 ui: Fixed bookmark creator/editor header 2018-07-10 15:59:39 +02:00
Eberhard Graether 983e0dacd4 logic: Show parameters for functions/methods with same name within same parent (issue #259) 2018-07-10 15:28:09 +02:00
mlangkabel 98f4ec62ec logic: implemented exporting graph as .svg (issue #596) 2018-07-10 14:31:39 +02:00
mlangkabel ee3bf41a27 logic: fixed crash when renaming the temp storage while it is still used 2018-07-10 14:14:48 +02:00
mlangkabel 58eb994a60 src: cleaned logger code 2018-07-10 11:52:22 +02:00
Eberhard Graether ad325ac974 logic: background indexing (issue #175)
* allow hiding of indexing dialogs to browse loaded project while indexing
* show indexing status in status bar while indexing
* use different dialog views for different use cases to avoid state collisions
* fixed error label in status bar jittering while indexing
* show hand cursors for clickable elements in status bar
* indexing is not interrupted on pressing ESC while in hidden
* disable error table and error label while indexing
* refactored indexing messages
* forbid indexing and changing project while indexing
* don't show indexing status messages in status bar when indexing in the background
* allow tasks to run in the background

fortune cookie message = A journey is waiting for you.
2018-07-10 11:42:58 +02:00
mlangkabel 6bbb44309d logic: added support for Java 10
* updated java indexed and dependencies to support java 10
* added java indexer test for java 10 "var" support
2018-07-10 11:26:51 +02:00
mlangkabel 2bbe696af2 ui: fixed project setup to check if CBP and Sonargraph paths are set before allowing to continue 2018-07-09 10:17:59 +02:00
mlangkabel a1dd1a77c9 logic: allow the user to discard an aborted indexer run
* keep old database on filesystem while indexing
* migrate old ".coatiproject" settings to new ".srctrlprj" extension when loading project
* send new errors in MessageErrorCountUpdate after injecting
* recheck filepath exist() in FileSystem's remove, rename, copy and create functions
* updated tasks to new "override" policy
2018-07-03 18:54:53 +02:00
Eberhard Graether c8a885be83 logic: Made history menu use on Messages instead of SearchMatch
* Common base class MessageActivateBase for activation messages with getter for SearchMatches
* Removed duplicate logic for creating SearchMatches from Messages
* Fixed can't reactivate fulltext search from history menu
* Renamed history message and moved to sub directory
* Fixed activating node type filters didn't clear code view
2018-07-03 15:11:52 +02:00
mlangkabel 0519fd1462 logic: fixed project shows up empty after exiting app while indexing previously empty project 2018-07-02 13:16:30 +02:00
mlangkabel 7c09f3339b ui: store and display translation unit of recorded indexing errors 2018-07-02 13:00:41 +02:00
Eberhard Graether 6794b61fab ui: Fixed activating history item from menu showed wrong symbol (issue #572)
* Refactored SearchMatch: removed delimiter, added tokenName
* Refactored MessageActivateTokens: removed tokenNames
* Restore from SearchMatches from NameHierarchies of tokens
2018-06-30 02:16:03 +02:00
Eberhard Graether 84ddb4ba21 logic: Force unlock shared memory mutex of SharedMemoryGarbageCollector on creation 2018-06-30 01:48:31 +02:00
Eberhard Graether 172f1b7934 logic: Moved all error handling logic into ErrorController (issue #577)
* Handle all error related messages in ErrorController
* Moved error filter state from Storage to ErrorController
* Moved all error related messages to type/error subdirectory
* Enable all errors shown by default
* Always show unfiltered error count in status bar and overview
* Fixed all errors shown again when changing error filter on errors for file
2018-06-29 13:31:05 +02:00
Eberhard Graether c91207cfe9 java: Updated .jar dependencies 2018-06-29 13:25:28 +02:00
mlangkabel 08ab75f262 logic: refactored QtProjectWizzard to remove duplicate definition of contents shown for setup and summary
* also added current page count (e.g. 1/3) to project setup
* moved the code for copying a source group to the settings classes so that the wizzard doesn't need to know which source groups may be there anymore.
2018-06-25 16:00:20 +02:00
Eberhard Graether e287c86315 data: Allow a complete file to become incomplete again if it has errors in a later translation unit 2018-06-20 23:56:18 +02:00
Eberhard Graether c7872831e9 build: Changelog for 2018.2.77 2018-06-20 23:44:29 +02:00
Eberhard Graether def645a057 ui: Readded SonarGraph setup in Source Group type selection 2018-06-20 23:31:30 +02:00
Eberhard Graether dcea53b242 bin: fixed accidental changes in tictactoe project 2018-06-18 20:48:01 +02:00
Eberhard Graether d5f0c62f56 src: removed debug code from SourceGroupCxxCdb 2018-06-18 20:37:36 +02:00
Eberhard Graether c4901b6a7f data: fixed issues with errors in incomplete files
* fixed intermediatestorage merges might lose file indexed/complete information
* fixed changing file complete to true only possible if the file has no errors
* fixed clicking show errors for a file where no asociated errors were found showed all errors
2018-06-18 20:31:52 +02:00
mlangkabel 009404dd37 logic: reduced overhead in indexed files for indexer commands generated from CDB
* done by removing unrelated .cpp files from the indexed files because they don't get indexed by the respective compilation unit
2018-06-18 18:11:43 +02:00
Eberhard Graether f11be042a6 build: ship clang compiler header within Sourcetrail package on macOS and Linux
* replace path to local compiler headers with packaged ones in include path detection
* added app settings migration to replace local compiler header path with path to packaged headers
2018-06-18 14:08:50 +02:00
Eberhard Graether a1c146d439 ui: Hide SonarGraph project setup from Source Group type selection 2018-06-18 11:15:41 +02:00
mlangkabel 8c90739f6d ui: added link to Sonargraph website to sourcegroup selection screen 2018-06-15 19:16:02 +02:00
mlangkabel 24c0f86eda logic: only return existing paths in indexed header path detection of CDB, CBP and Sonargraph sourcegroups 2018-06-15 18:53:50 +02:00
mlangkabel bbf462d1fb logic: paths that are automatically filled by the project setup wizard will be made relative if they are shorter if the absolute paths 2018-06-15 18:39:03 +02:00
mlangkabel b6588cd6ba logic: added exclude filters for cbp sourcegroups 2018-06-15 18:33:04 +02:00
mlangkabel 0a6347fa43 logic: add clang msvc compatibility flags to newly created codeblocks and sonargraph sourcegroups 2018-06-15 14:01:56 +02:00
mlangkabel f0b423b319 logic: improved performance of code blocks indexed header detection 2018-06-15 13:35:27 +02:00
Eberhard Graether e4000e88be ui: Fixed undoing one of multiple edge activations caused multiple recenterings of the graph 2018-06-14 23:17:10 +02:00
Eberhard Graether 9c91ec50b0 license: fixed enterprise license not showing unlimited users 2018-06-14 23:12:25 +02:00
mlangkabel c65a5d04b1 logic: cleaned up code for SourceGroupSettings and Wizzard
* Flattened sourcegroupsettings class hierarchy by moving cross compilation options to own base class
* QtProjectWizzardContentFlags constructor required correct settings object to reduce the need for type casting
* QtProjectWizzardContentPath constructors required correct settings objects
* moved SourcePaths from SourceGroupSettingsJava to SourceGroupSettingsJavaEmpty because they are not required for Gradle and Maven projects
* removed classpath from maven and gradle source group settings
* reuse code of SourceGroup for "show source files" in wizard
2018-06-12 21:16:51 +02:00
Eberhard Graether dca4c3c16b ui: Fixed issues in source group type selection
* no visible scrollbar was shown
* better default size
* description links were not clickable
2018-06-12 14:52:58 +02:00
mlangkabel 32d0b01694 ui: added icon for CBP sourcegroups to project setup 2018-06-12 11:30:12 +02:00
mlangkabel 61975757f4 ui: fixed project settings did not update display correctly if source group gets removed 2018-06-11 20:57:12 +02:00
mlangkabel 963fbdc564 logic: fixed exclude filters partly not working for CDB SourceGroup
* fixed logic for fetching all source file paths of CDB Sourcegroup to respect exclude filters
* reused this logic in wizzard ui
2018-06-11 20:45:15 +02:00
mlangkabel b1317457ab logic: added support for sonargraph manual cpp modules 2018-06-11 18:54:55 +02:00
Eberhard Graether 1c9b4c1afd data: explicitly clear all errors when refreshing incomplete files 2018-06-11 15:55:23 +02:00
Eberhard Graether 1a37a9af34 src: miscellaneous fixes
* fixed code view snippet minimize click expanded snippet again
* fixed typedef nodes node grouped within file group
* fixed splitting anonymous namespace bundle increased group nesting instead
* fixed build, tests and clang warnings
2018-06-08 16:12:53 +02:00
mlangkabel dcf506e3d7 ui: fixed selected source group changed in project settings list even if not allowed because content has become invalid 2018-06-08 14:43:47 +02:00
mlangkabel 269c1eb88c ui: fixed status message text that appears when loading an empty project 2018-06-08 12:29:24 +02:00
mlangkabel 704808b26f logic: added C/C++ project setup from Code::Blocks
* also changed xml elements in sourcegroup settings that specify the used language standard, so that one sourcegroup can maintain multiple language standards
* added migration and migrated sample projects
2018-06-08 12:10:38 +02:00
Eberhard Graether ce0a8a6444 ui: Use flow layout in source group selection window 2018-06-05 16:24:13 +02:00
mlangkabel 2584a1f4e2 logic: sonargraph fixes
* removed duplicates from detected indexed headers
* fixed indexed header paths not used in cxx sonargraph project
2018-06-05 15:48:54 +02:00
Eberhard Graether 2a3420eedf logic: fixed enless loop in include path auto detection (issue #585) 2018-06-05 13:38:54 +02:00
mlangkabel 31920972eb logic: added "serialize" method for indexer commands 2018-06-05 11:45:03 +02:00
mlangkabel 3cc51e0d01 logic: sonargraph fixes
* updated sonargraph project icon
* fixed Sonargraph SourceGroup to only return indexer commands for requested files
* fixed refresh info generator to ignore non-existing files
2018-06-04 19:05:54 +02:00
mlangkabel 12bf007caf logic: fixed making paths relative for indexed header path detection 2018-06-01 15:11:01 +02:00
mlangkabel e43e604966 logic: fixed crash in include validation 2018-06-01 14:58:51 +02:00
Eberhard Graether 9a036cc249 ui: Fixed typo in update check (issue #586) 2018-05-24 20:17:32 +02:00
Eberhard Graether 382f17ffa2 license: Allow any license type to specify expiration by days 2018-05-23 06:26:01 +02:00
Eberhard Graether 59f32e9942 build: Fixed enum forward declarations and filepath checks in SonarGraphProjectTestSuite 2018-05-22 13:02:27 +02:00
mlangkabel 7b735cfd17 logic: added project setup support for Sonargraph projects (Java and CMake-JSON modules supported)
* added classes for loading a Sonargraph project
* added Sonargraph options to project setup wizard
* added test for generating indexer commands from Sonargraph modules
* fixed sqlite storage crashing in constructor when parent directory of provided path does not exist
* removed unused FileRegister from Java indexing
* removed unused info from IndexerCommandJava
* refactored loading and saving of SourceGroupSettings
* extracted sourcepaths settings to own class that can be re-used
* merged CDB wizard contentents for source file and indexed paths
* unified wizard content for sonargraph project path
* removed include filters from default source groups
* extracted generation of RefreshInfo from Project to RefreshInfoGenerator
* added tests for RefreshInfoGenerator
* added language and standard selection to sonargraph project setup
* added auto-detection for indexed header paths of sonargraph cmake json modules
* Sonargraph::Project can enable/disable support for specific modules
* warn if sonargraph project contains no matching modules
* indexed headers can be detected from sonargraph project
2018-05-18 16:07:57 +02:00
mlangkabel e55ae5ba31 ui: added check() for errors in compiler flags in C/C++ project settings 2018-05-11 12:10:06 +02:00
mlangkabel ea7f900e81 logic: C/C++ errors without location are now recorded for current main file
* such an error occurrs if a "-include" flag is provided with a non-existing file"
2018-05-11 11:22:39 +02:00
Eberhard Graether e47bd10096 build: Changelog for 2018.2.36 2018-05-09 07:28:36 -06:00
mlangkabel 331c3e8c26 logic: fixed c/c++ indexing errors are not recorded inside macro expansion (issue #580) 2018-05-08 23:28:55 +02:00
mlangkabel e1df15a7b9 ui: disable re-pre-filling of indexed header paths for compilation database sourcegroups (issue #579)
* disable re-pre-filling of indexed header paths if these are empty when showing settings of a cdb sourgroup
* fixed indexed header path were not regarded when deciding if project settings have been updated
2018-05-08 11:13:10 +02:00
Eberhard Graether 2d9b9a43de build: fixed script for CI 2018-05-04 16:49:05 +02:00
Eberhard Graether 568e2f3e36 ui: fixed crash when clicking on namespace label 2018-05-04 16:09:43 +02:00
mlangkabel bf2b56a69e ui: improved help dialog for compiler flags in project setup 2018-05-04 12:42:19 +02:00
mlangkabel f72f780862 logic: fixed handling case insensitive filepath matches when activating a symbol via editor plugin 2018-05-04 12:25:37 +02:00
Eberhard Graether 0ba6f9b7a0 src: minor improvements for release
* only reduce ideal thread count on windows
* show export compile commands flag in description
* not black in radio button
2018-05-03 22:14:01 +02:00
Eberhard Graether f5a4ad1db0 build: Fixed macOS gatekeeper refusing to open app bundle (issue #568) 2018-05-01 14:42:58 +02:00
Eberhard Graether 633521b35e ui: custom radio button style in indexing dialog 2018-04-29 23:38:21 +02:00
mlangkabel 9af5780c12 src: added language package classes and moved indexer instantiation there 2018-04-27 18:02:32 +02:00
mlangkabel a7ef02459a logic: fixed indexed header paths for compilation database project screw up the processing order of includes (issue #571)
* prevented indexed header paths for CDB to be appended to compile command
* fixed exists check for relative paths in QtSelectPathsDialog
* indexed header paths will automatically be updated when a new compilation database is picked
2018-04-27 17:51:03 +02:00
Eberhard Graether 872d24bf6a ui: Fixed single code view is scrollalbe below last line and scroll request show the wrong line 2018-04-27 13:22:40 +02:00
Eberhard Graether c249c6c794 ui: Allow tooltips to be as wide as the window (issue #570)
<description>
2018-04-26 00:08:11 +02:00
Eberhard Graether 67cec7dda7 ui: Improved graph layout
* wider gabs between buckets
* different column widths above and below horizontal edge split
* only use base/derived bundles for inheritance
2018-04-25 23:50:36 +02:00
Eberhard Graether a635592dc1 build: Changelog for release 2018.2 2018-04-25 20:53:10 +02:00
mlangkabel d29cabd0b3 logic: fixed missing matches in fulltext search 2018-04-24 19:18:26 +02:00
mlangkabel bac9f7fbc4 build: added missing include for linux builds 2018-04-24 18:13:11 +02:00
mlangkabel b6692b9842 src: fixed typedef for Id because bitshift syntax for generated node ids failed on 64 bit windows 2018-04-24 17:34:21 +02:00
mlangkabel ca3e2f48ee logic: removed C/C++ "unparsed" check from indexer
Cxx AstVisitor re-visits previously or simultaneously indexed files because the "visible" content may have changed due to other preprocessor defines etc.
2018-04-24 13:25:06 +02:00
Eberhard Graether c5d0362df5 ui: Fixed crash in FilePath::makeCanonical and QtPathListBox making all settings paths relative 2018-04-24 11:44:28 +02:00
mlangkabel b00bfb8964 build: updated icon references for windows installer 2018-04-23 12:54:13 +02:00
mlangkabel 5e0c0a6f18 ui: centered Sourcetrail logo in about dialog 2018-04-23 12:42:25 +02:00
mlangkabel f08f27717f logic: record and display include edges for non-indexed files
* non-indexed files are shown in graph view and in code view
* non-indexed files are ignored in search view, overview, stats and refresh dialog
2018-04-23 12:13:49 +02:00
Eberhard Graether 17ec0747f2 ui: Fixed weird border in screen search bar 2018-04-22 22:53:46 +02:00
Eberhard Graether 089ccb1d6c ui: updated about dialog 2018-04-21 06:04:05 +02:00
Eberhard Graether 83cd1b94b6 logic: Fixed license checker did not ignore commit number in expiration version 2018-04-21 04:54:59 +02:00
Eberhard Graether 91b4e80384 ui: adapt scroll target value in code single file mode as workaround when view scrolls below last line 2018-04-21 04:30:55 +02:00
Eberhard Graether fe38cfff6a logic: Fixed single file mode fulltext references and caching 2018-04-21 03:43:50 +02:00
Eberhard Graether e5280f99ca logic: Fixed loading of outversioned projects fails 2018-04-20 10:05:35 +02:00
Eberhard Graether e9877acf80 logic: Fixed updated files detection performance in project refresh 2018-04-20 10:00:37 +02:00
Eberhard Graether 5edaedfd37 ui: Improvements and fixes in graph layouting
* put nodes with bidirectional aggregations on the left
* layout aggregations either horizontal or vertical based on buckets
* exceed bucket height if only one element and vertical split
* fixed hiding nodes in sublayout showed empty spot
2018-04-19 18:54:34 +02:00
Eberhard Graether 1ee4f829a4 ui: switched edge offsets in graph 2018-04-19 15:33:21 +02:00
mlangkabel c340256425 data: updated EULA 2018-04-16 18:13:20 +02:00
Eberhard Graether 3a6dcfcd03 logic: Fixed race condition in TooltipController 2018-04-12 22:52:32 +02:00
Eberhard Graether a18aa0b9a6 ui: Fixed switching code view mode shows active reference 2018-04-12 20:22:27 +02:00
Eberhard Graether 0489cac94d ui: Fixed carriage return in line endings breaks screen search in code 2018-04-12 19:24:50 +02:00
Eberhard Graether 04e82969a9 ui: Fixed expanding snippet footer to whole file 2018-04-12 19:12:23 +02:00
Eberhard Graether 2695b16e9c ui: Fixed scrollbar below snippet always bright on mac 2018-04-12 19:02:06 +02:00
Eberhard Graether 5f56a167d1 ui: Fixed group related issues in graph
* fixed aggregation layout within group
* fixed moving of group did not resize view
* fixed edges behind group could not be hovered
* fixed overlapping lines in sublayout
* fixed use of correct column width in sublayout
2018-04-11 14:11:53 +02:00
mlangkabel cbd782d0c1 logic: fixed logic to detect excluded files for refresh info 2018-04-11 12:46:03 +02:00
mlangkabel fbee41f6fe data: incremented EULA version 2018-04-11 12:42:00 +02:00
mlangkabel 415b9dd5ff build: windows deploy fixes
* fixed build script for windows installer
* fixed java dependency version in windows installer
* accept eula in windows deploy script before indexing sample projects
* removed set license from windows deploy script before indexing sample projects
2018-04-11 12:36:10 +02:00
Eberhard Graether 608e56940a ui: Fixed template specialization edge not enough space
<description>
2018-04-11 11:50:13 +02:00
Eberhard Graether 4ac998d55e ui: Fixed vertical bucket layout issues with groups 2018-04-11 11:34:43 +02:00
Eberhard Graether 1fc8430e1d ui: Fixed depth graph has wrong layout on undo when groups were split 2018-04-11 11:09:00 +02:00
mlangkabel bb8770c63e build: added graph view's namespace group icon to windows installer 2018-04-10 16:53:57 +02:00
mlangkabel 1b6318ef5b ui: implemented adding "Copy" to duplicated source group's name 2018-04-10 16:28:03 +02:00
Eberhard Graether 8c388b3b96 ui: show 'default' in indexer threads combo instead of 0 2018-04-10 16:17:30 +02:00
Eberhard Graether 0e451fd768 logic: Fixed old ErrorInfos on UndoRedoStack showed non-existing errors 2018-04-10 16:04:24 +02:00
mlangkabel 648caa9c35 logic: fixed bug where adding an empty include path excludes everything 2018-04-10 15:52:02 +02:00
mlangkabel 8ce17dec8d logic: improved cxx indexer performance by completely skipping traversal of non-indexed files 2018-04-10 15:36:37 +02:00
Eberhard Graether 2c8cc114eb gen: Added new license type Commercial Site License 2018-04-10 15:27:11 +02:00
Eberhard Graether 50dc290d40 build: Fixed error in Sourcetrail.sh script 2018-04-10 14:26:06 +02:00
Eberhard Graether c13cac79a0 logic: Score children with same score as parent lower in search results 2018-04-10 13:09:59 +02:00
mlangkabel 835aedd669 logic: improved performance of initializing the fulltext search index
* implemented using multithreaing for building the fulltext search index
* also: decreased ideal thread count by 1 to keep the machine responsive while indexing and building the index
2018-04-10 12:40:51 +02:00
Eberhard Graether 7dde56ea6a res: Updated tutorial and projects
* mention snippet mode in code tutorial
2018-04-10 12:00:15 +02:00
Eberhard Graether 2340b0d619 ui: Don't show dock widget title bars in default window settings 2018-04-10 11:34:06 +02:00
Eberhard Graether 060a5e7461 test: Catch boost exception when file with unicode character in name is read in FileManagerTestSuite 2018-04-10 11:26:24 +02:00
Eberhard Graether 20f87b084f ui: Improved horizontal graph layout
* extend horizontal edges to origin column width
* leave horizontal gap in the middle of the left and right buckets for routing edges
* move left and right buckets vertically so that edges enter and leave horizontally
* removed third pivoting for graph edges, all edges enter and leave relative to the node center now
2018-04-10 01:45:56 +02:00
mlangkabel 535f7c1a9c ui: updated help dialog for Excluded Files & Directories with description of wildcards 2018-04-09 17:47:51 +02:00
mlangkabel 31b2c7d243 ui: show version of 3rd party dependencies in ui dialog 2018-04-09 17:11:07 +02:00
mlangkabel 9df3edad31 ui: updated help info for update check option
* mentioned that no personally identifiable information is sent to sourcetrail server
2018-04-09 16:50:24 +02:00
Eberhard Graether 5303187bea ui: Group graph nodes by file or namespace (issues #171, #439, #522)
* added buttons to enable grouping by file or namespace
* last used group settings saved to ApplicationSettings
* made groups hoverable/clickable on label only
* improved node hatching and override edge colors
* group overview lists

fortune cookie message = Seen with the eyes of love, everything gets a new meaning.
2018-04-09 00:09:22 +02:00
Andreas Stallinger 20106d5ce1 build: Updated to Qt 5.10.1 and Clang/llvm 6.0
* updated docker scripts and yml file
2018-04-06 16:08:00 +02:00
mlangkabel 0c3f830c31 data: updated EULA with Licensee responsibilities 2018-04-06 15:31:39 +02:00
Eberhard Graether f79e50d529 ui: Layout template specializations vertically
* use closed arrow for template specialization edges
* no specialization edges in call graph
2018-04-05 21:48:45 +02:00
Eberhard Graether e1a7141352 logic: Clicking on group in inheritance graph expands it 2018-04-05 21:38:58 +02:00
Eberhard Graether 8f754be165 logic: Show symbols defined within file within file node when activating a file (issue #268) 2018-04-04 01:02:11 +02:00
mlangkabel f41c64d3f6 build: restricted generating test_main.cpp in cmake to Windows only 2018-04-03 17:45:06 +02:00
Eberhard Graether 42ed53e71e src: Fixed clang warnings 2018-04-03 17:34:43 +02:00
mlangkabel a39f531f01 data: replaced non-ascii list characters of EULA ("•") with "*" 2018-04-03 17:20:07 +02:00
mlangkabel baf82f680a build: updated to clang 6.0 2018-04-03 17:15:36 +02:00
mlangkabel 41e5d36c00 ui: changed caption of buttons in missing paths dialog 2018-04-03 16:05:00 +02:00
Eberhard Graether 9f940d1609 ui: better colors for non-indexed hatching and better differentiate template and override edges colors 2018-04-02 22:50:47 +02:00
mlangkabel 38e7a1aaf0 build: minor changes and updates to readme and cmake
* corrected version of referenced dependencies
* changed cmake to generate test_main.cpp file on windows rather than copy it
2018-03-31 12:11:07 +02:00
mlangkabel 3ffe76d161 logic: Directory list box now restricts the user to select files, directories or both if required
* split QtDirectoryListBox and QtStringListBox
* renamed QtDirectoryListBox to QtPathListBox
* extracted QtListItemWidget class to own file
* renamed QtListItemWidget to QtListBoxItem
* added SelectionPolicyType to QtPathListBox to allow for specifying if selecting files, directories or both should be allowed.
2018-03-30 18:25:58 +02:00
mlangkabel af1657f7e5 build: updated jar dependencies 2018-03-30 18:17:10 +02:00
Eberhard Graether bbd003f047 logic: Group nodes in inheritance graph who have the same base and derived nodes (issue #459)
* added graph node for grouping nodes with separate sub-layout
* group nodes show name in top left corner
* clicking on single edge activates source locations of all edges
* removed separate setters for token components
* fixed text nodes missing or too many in list layout
* moved simple row and column layouts to ListLayouter
* added skewed layout type to ListLayouter

fortune cookie message = Sometimes you should have the courage and risk something.
2018-03-26 23:57:05 +02:00
Eberhard Graether f93638bcd1 logic: Fixed project state messages wrong on loading 2018-03-24 19:15:39 +01:00
Eberhard Graether aed783f5ca logic: lazy load code annotations
* code annotations are loaded after showing the code file
* added traces
* refactored highlighter
* fixed error tooltip style in codeview

fortune cookie message = It's not the time that counts, but what you do with it.
2018-03-24 13:19:49 +01:00
Eberhard Graether 0d79639c96 src: Improved code view snippet generation performance 2018-03-22 01:46:35 +01:00
mlangkabel ce78412190 data: sample project updates and fixes
* removed errors from tictactoe sample project
* updated project version of sample projects
2018-03-20 20:23:48 +01:00
mlangkabel 449f90b361 build: added tabbed view resources to windows installer 2018-03-20 19:07:38 +01:00
mlangkabel 4c92d51b63 logic: fixed infinite recursion while solving c++ template parameter names (issue #553) 2018-03-20 18:47:42 +01:00
Eberhard Graether b5f9e77154 ui: Added close button to tabbed view 2018-03-20 16:33:48 +01:00
Eberhard Graether 6f69433d0e ui: Minor style improvements in status view 2018-03-20 09:59:18 +01:00
Eberhard Graether 7783695d8d ui: New style for tab bar in status view 2018-03-20 01:46:23 +01:00
Eberhard Graether 166d82b44f ui: made icon buttons self updating on color scheme change
* fixed hatching not replaced in single file view title bar on color scheme change
2018-03-19 22:44:45 +01:00
Eberhard Graether 66ac70850b ui: Added show errors button to title bar of incomplete files (issue #246)
* Shows all errors within the file and all included files.
2018-03-17 09:16:52 +01:00
Eberhard Graether 1450f3cd94 ui: Added sorting feature to error table columns (issue #559) 2018-03-16 20:19:25 +01:00
mlangkabel 6acfe0688f logic: implemented usage of FilePathFilters for excluded paths
* removed check in settings for existing paths of exclude filters
2018-03-12 08:51:38 +01:00
Eberhard Graether 31c9f9fecc license: Removed license generator dependency to lib_utitlity to avoid linking with Qt 2018-03-12 00:39:36 +01:00
Eberhard Graether 6bf5723278 script: Added accept-eula command to commandline API and use in CI 2018-03-05 13:56:49 +01:00
Eberhard Graether 5e448297e0 logic: Removed seats parameter from license generator 2018-03-02 13:58:36 +01:00
mlangkabel 73fd3a7212 logic: fixed tooltip text encoding and source locations
also removed duplicate of utilityString from lib
2018-03-02 12:45:36 +01:00
Eberhard Graether 0a1c1250dd logic: removed license options from commandline API, accept EULA via commandline if necessary 2018-02-27 23:07:14 +01:00
Eberhard Graether e62fd41e9a build: Fixed wrong lib dependencies of lib_license 2018-02-27 17:12:24 +01:00
Eberhard Graether ef70d38ff7 src: Converted spaces to tabs in license sources 2018-02-27 16:59:05 +01:00
Eberhard Graether f2e4ad1661 logic: Changed seats to users in license generator and license check 2018-02-27 16:55:11 +01:00
mlangkabel 2408224379 data: updated EULA
* updated company name from "Coati Software OG" to "Coati Software KG"
* explained the "floating license" model in greater detail
* switched to display the amount of authorized users as "users" instead of "seats" in activation key
* extended the GRANT to explicitly mention that Sourcetrail can be installed on "any number of PCs"
* extended the GRANT to explicitly mention that Sourcetrail's commandline API may be used without entering an activation key
* extended the GRANT to explicitly mention that graph images exported from Sourcetrail may be used and published by the user
* added some more general details on "Severability", "Headings" and "No Waiver"
2018-02-27 15:29:08 +01:00
mlangkabel 8913dffe2c ui: improved verbosity of status messages if a project cannot be loaded 2018-02-27 11:01:31 +01:00
mlangkabel bae6bd73d6 src: replaced some usages of string by wstring in filepath 2018-02-26 15:03:28 +01:00
mlangkabel 6d82e9265a logic: implemented handling of non-ascii characters in screen search 2018-02-26 13:56:47 +01:00
mlangkabel 42342c5c5f logic: use colorscheme name instead of path in appsettings
* With respect to a portable app package this makes sense ;)
2018-02-23 19:25:19 +01:00
mlangkabel ca20cb7bc9 src: use nullptr instead of NULL 2018-02-23 19:11:35 +01:00
mlangkabel 0df32f239e logic: switched to wstring in include processing
* this allows for non-ascii characters in detected include paths and in processed include directives.
2018-02-23 18:20:55 +01:00
mlangkabel 90efb11775 logic: fixed passing non-ascii characters to indexer process via command-line 2018-02-20 17:02:50 +01:00
mlangkabel 0b6a0d5d8b logic: reverted hardcoding of AppPath for testing purposes 2018-02-19 17:01:56 +01:00
mlangkabel fc92cb1ad9 ui: use wstring in gui relates places
* loading icons
* loading fonts
* context menu action for copy path to clipboard
* context menu action for open containing folder
2018-02-19 12:45:47 +01:00
mlangkabel ed386fdbdf test: Updated results of cxx indexer tests for bullet
This is necessary because the standard headers have been updated with latest VS 2017 install.
2018-02-19 12:31:08 +01:00
Eberhard Graether e7a3345f09 src: Fixed clang error 2018-02-14 00:35:44 +01:00
mlangkabel b2bad8ab05 logic: fixed handling non-ascii characters in cdb path and in cdb filename and command 2018-02-13 16:10:10 +01:00
Eberhard Graether 4af9e42610 test: Made FileManager tests independent from text encoding of local boost file paths 2018-02-13 15:30:31 +01:00
mlangkabel 803532bc1c ui: fixed encoding of tooltip code 2018-02-13 13:54:32 +01:00
mlangkabel a17af20793 src: removed unused string constructor from MessageStatus 2018-02-13 10:26:17 +01:00
mlangkabel 919afad03b logic: implemented support for non-ascii characters in fulltext search
* fixed non-ascii characters not working in normal symbol search
* implemented support for non-ascii characters in fulltext search
* fixed fulltext search not working for symbols with lowest and highest character codes in a file
* using wstring in FullTextSearchIndex (causes this index to be dependent on text encoding selected in app settings)
* implemented rebuilding FullTextSearchIndex if used text encoding changed in app settings
* added utility lib
2018-02-12 20:01:20 +01:00
Andreas Stallinger 713754e0e6 test: Fixed FileManager tests for Linux 2018-02-12 16:21:15 +01:00
mlangkabel e3322adf2e src: switched to using only wstring for status message 2018-02-12 10:39:28 +01:00
mlangkabel 72c2596251 src: removed unused / unnecessary methods from FileSystem 2018-02-09 17:41:56 +01:00
mlangkabel e31624a4b7 src: switched to use only wstring for FilePath::filename and FilePath::extension 2018-02-09 17:04:17 +01:00
mlangkabel 70d619a173 logic: implemented handling of non-ASCII characters in Gradle and Maven project paths
* also: fixed loading sqlite database from path with non-ascii characters
2018-02-09 15:54:28 +01:00
mlangkabel 333fc7eea2 logic: switched to using wstring for compiler flags
* removed getter for strings from QtDirectoryListBox because it is not used anymore
* regard encoding of clang error messages
2018-02-09 13:37:30 +01:00
Eberhard Graether 9773c30fdc ui: Improved vertical layout for override and inheritance edges 2018-02-07 23:15:55 +01:00
mlangkabel 683b87d0b8 src: use wstring in symbol search 2018-02-06 21:03:54 +01:00
mlangkabel 6ae9c2eca5 src: use wstring in tooltip and snippet 2018-02-06 15:54:09 +01:00
mlangkabel 3a6a22df2e test: added test for utility trim 2018-02-06 15:39:17 +01:00
mlangkabel 5423d0b053 src: use wstring for showing text in QtTextEditDialog 2018-02-06 15:17:10 +01:00
mlangkabel adb9542c31 test: removed absolute filepaths from test output of recorded references 2018-02-06 15:09:39 +01:00
mlangkabel f0b817eb0a src: broad refactoring to use FilePath.wstr() where easily possible 2018-02-06 11:35:36 +01:00
mlangkabel 9da3ac3d3c src: switch to wstring for printing messages 2018-02-06 10:03:46 +01:00
Eberhard Graether 1d7fc6e9d4 ui: Delay font face laoding until combobox clicked to speed up preferences display time 2018-02-05 18:24:21 +01:00
Eberhard Graether f943d93335 src: wstring fixes for clang 2018-02-05 18:17:13 +01:00
mlangkabel 9e041c1f0a logic: use wstring in symbol and bookmark names
* use wstring in symbol and bookmark names
* fixed setting apppath in windows includes
* regard utf8 encoding in shared indexer commands
* regard utf8 encoding in shared indexer status
2018-02-05 17:17:33 +01:00
mlangkabel c99e79364f logic: more wstring usages
* removed header paths from VS Project setup message since VS doesn't send these anymore
* implemented using wstring in IDE communication
* fixed retrieving filepaths from QtDirectoryListbox that contain special characters
* use wstring for source extensions
* added special character as file extension to FileManagerTestSuite
2018-01-30 17:07:51 +01:00
mlangkabel 471b1757df src: use boost instead of std for string conversion 2018-01-30 13:46:06 +01:00
mlangkabel ce72797ce2 src: Move string conversion from lib_gui to lib and use boost instead of Qt 2018-01-30 13:14:07 +01:00
Eberhard Graether 22cbf44a32 build: Changelog for 2018.1.19 2018-01-30 11:49:38 +01:00
mlangkabel 0dda63f7ae logic: used wstring in FilePath constructor
* used wstring in FilePath constructor where easily possible
* added FilePath concatenate method that accepts string parameter
* implemented using only wstring in MessageStatus
* used wstring in config
2018-01-30 11:00:23 +01:00
Eberhard Graether 143cf6a02d ui: Fixed assert crash when adding an item to a QtDirectoryListBox (issue #544, #545) 2018-01-30 10:10:11 +01:00
mlangkabel 2c90dcf06d logic: don't refresh if gui app is started with project 2018-01-29 17:06:52 +01:00
Eberhard Graether 556ed98d8c ui: Fixed file title button icon color not changing for top snippet title bar when changing color scheme 2018-01-29 14:51:57 +01:00
mlangkabel 9f70423f25 build: adjusted directory layout of license info for portable package 2018-01-29 14:37:50 +01:00
mlangkabel d413b124c8 ui: changed gray of default node in color scheme 2018-01-29 13:58:44 +01:00
Eberhard Graether d953bcaa9d ui: Fixed correct location not always shown in single file code view when going back to activated edge 2018-01-28 23:32:37 +01:00
Eberhard Graether 079be93667 ui: Deactivate line numbers above scrollbars fix in code view for Mac 2018-01-28 22:35:38 +01:00
Eberhard Graether 393b601c16 ui: Fixed include detection did not always stop status bar progress after finishing
* Changed next button labels in include detection dialogs
2018-01-28 22:27:35 +01:00
Eberhard Graether f49256bbd4 ui: Clicking an active location in the code view will activate it again 2018-01-28 21:58:10 +01:00
Eberhard Graether 28e4924f83 ui: Don't keep expanded nodes expanded when searching 2018-01-28 21:55:31 +01:00
mlangkabel 7ec02d28ea ui: Filepicker fixes
* don't reset filepath used to open file picker dialog for SaveFileDialog
* don't reset filepath used to open filepicker for OpenProject dialog
* fixed non-native file picker starts in wrong directory if provided with filename to open (instead of directory)
* fixed non-native dialog displays machines root directory if empty path is provided
2018-01-26 12:43:17 +01:00
Eberhard Graether ae66220ca9 ui: Fixed QtDirectoryListBox size not growing to maximum in include path detection 2018-01-26 12:40:07 +01:00
Eberhard Graether 849ee12192 ui: Fixed file content shown multiple times when clicking title button in non-indexed file with errors 2018-01-26 11:38:12 +01:00
mlangkabel 5577a901da ui: fixed line numbers still visible if overlayed by horizontal scroll bar 2018-01-26 10:44:23 +01:00
mlangkabel 7c863ddf00 logic: improved include detection
* also search for include paths of include directives extracted from header search paths
* extracted logic to gather unsolved includes
* extracted some code to filetree class
2018-01-23 21:35:53 +01:00
Eberhard Graether 56cac267a2 src: bug fixes
* fixed gaps in code view line indication for different fonts
* only allow latin fonts in fontpicker
* don't show 'files to clear' for full refresh
* fixed screen scale settings were visible on all platforms
2018-01-22 12:30:31 +01:00
mlangkabel 3348c886e5 ui: added 100% progress step for clearing files 2018-01-19 16:27:51 +01:00
mlangkabel 4ee0523b51 logic: fixed some memory leaks in gui code 2018-01-19 16:15:20 +01:00
mlangkabel f4dfc4e298 src: removed unused code 2018-01-19 09:54:59 +01:00
Eberhard Graether 1c6e3cb0da build: renamed Linux deleteConfig.sh to resetPreferences.sh and mention when changing screen settings 2018-01-16 16:13:07 +01:00
Eberhard Graether 5c3f067715 ui: Fixed history dropdown height 2018-01-16 15:44:35 +01:00
Eberhard Graether 365eadc807 ui: Fixed history list can't be clicked away on Linux 2018-01-16 15:31:04 +01:00
mlangkabel 8b3b3c3f00 build: Added portable Windows build
* implemented detecting if Sourcetrail runs as installed version by checking if user folder exists next to exe
* removed "deploy"-flag mechanism for windows builds
* moved code to set the app path for windows builds to includesWindows.h
* implemented functions in setup bash script to copy dlls
* bash functions for installer and portable packaging
2018-01-16 13:55:33 +01:00
Eberhard Graether 0a53d2828d ui: Added status checkbox for disabling Source Groups to project setup 2018-01-16 12:55:38 +01:00
mlangkabel 2c52425d99 ui: Showing indexing progress in windows task bar
* implemented showing indexing progress in windows taskbar button
* renamed TaskShowStatusDialog
* added "Qt5WinExtras.dll" for windows builds
2018-01-16 11:16:08 +01:00
Eberhard Graether 43c223368c ui: Change screen scaling on Linux (issue #518, #523)
* Set environment variables QT_AUTO_SCREEN_SCALE_FACTOR and QT_SCALE_FACTOR on Linux on app start
* Added ScreenAutoScaling and ScreenScaleFactor to ApplicationSettings with dropdown boxes in the preferences
  only visible on Linux
* Removed QtFontPicker and QtTextEncodingPicker
* Moved logging into preferences category "output"

fortune cookie message = You will have a peace of mind when you talk to an old friend
2018-01-16 11:01:32 +01:00
Eberhard Graether 6672127c68 build: Fixed linker problem in Linux build 2018-01-16 10:11:06 +01:00
mlangkabel 4c87845f8c logic: removed legacy code that copies settings from old "Coati" windows install 2018-01-16 09:33:09 +01:00
mlangkabel 68e86ad41a logic: removed "unknown" source group status type
* removed "unknown" source group status type and implemented falling back to
  "disabled", because "unknown" should not be handled anywhere in the rest of
  the code base.
2018-01-16 09:15:30 +01:00
mlangkabel 95e04cf485 logic: fixed recent clearing issue (introduced in cad064b9)
* fixed order so that clearing is done before saving the project settings in database
2018-01-15 19:19:36 +01:00
mlangkabel f7a5f98f85 Revert "data: updated cxx windows tests for using clang 6.0" 2018-01-15 19:09:57 +01:00
mlangkabel 9040c60585 logic: fixed timer issue in startIndexingDialog 2018-01-15 17:58:00 +01:00
mlangkabel cad064b9da logic: implemented disabling of source groups
* added source group status (enabled/disabled)
* fixed bug where the removal of an indexed directory has not affected the files to clear
* added lots of const and override keywords in SourceGroupSettings
2018-01-15 14:39:15 +01:00
mlangkabel c569f921a2 logic : Fixed no indexed information saved for compilation database referencing certain compiler (issue #531)
* changed order of compiler flags for CDB indexer commands so that manually added flags are appended to the flags form the compile command.
* removed usage of clang::tooling::FixedCompilationDatabase and used CompilationDatabaseSingle for empty and cdb indexer commands.
* removed reference to a specific clang tool (e.g. "cl" or "cl.exe") from compile command and prepended "clang-tool" before running the indexer.
2018-01-15 09:58:38 +01:00
mlangkabel 417f8d2286 data: updated cxx windows tests for using clang 6.0 2018-01-14 13:06:06 +01:00
Eberhard Graether 899f010959 src: Removed shared_ptr use for QtCodeSnippet in QtCodeFile 2018-01-13 14:21:54 +01:00
Eberhard Graether 2ac430bbe5 ui: Increased history dropdown list size to 50 2018-01-13 13:37:18 +01:00
Eberhard Graether 3f60f7a83c data: Still allow project refresh if database file can't be loaded 2018-01-12 19:57:11 +01:00
Eberhard Graether 05ff92fdea ui: fixed Linux issues
* no outline style for push buttons
* show error when not using Sourcetrail.sh script in console instead of message box, which won't load
2018-01-12 15:12:14 +01:00
Eberhard Graether 3edb759f0f ui: Display warning when depth graph has more than 1000 nodes 2018-01-12 14:14:57 +01:00
Eberhard Graether ab5cab3656 ui: fixes for release
* screen search matches in code view single not always cleared
* fixed copy full path in file title button broken
* fixed last snippet scrollbar not immediatly visible
2018-01-12 13:03:50 +01:00
mlangkabel 911c0fabba logic: implemented handling Microsoft inline assembly statements 2018-01-09 18:53:08 +01:00
Eberhard Graether e228f3477a ui: Fixed layout of QtPathListDialog 2018-01-09 17:27:33 +01:00
Eberhard Graether c479493e02 test: Fixed tests and removed test_log.txt
* Deleted PlainFileLogger
* Fixed clang warnings
2018-01-09 15:53:18 +01:00
mlangkabel 63590fc92d test: re-enabled tests for indexing sample projects on windows 2018-01-09 13:26:30 +01:00
mlangkabel f852481576 build: cleaned CMakeLists
* removed unused source files
* added extension to cmake references without extension
2018-01-09 12:35:28 +01:00
mlangkabel 686ba504c2 ui: added automatic include path detection for C/C++ Source Groups 2018-01-09 12:13:16 +01:00
mlangkabel 978cf4f4ed logic: fixed Maven setup not working for project without sub-modules 2018-01-08 16:38:31 +01:00
Eberhard Graether 5bd37772fe ui: set lists readonly in QtDirectoryListBox 2018-01-08 12:38:30 +01:00
mlangkabel 1d636d6591 script: changed default windows install directory to ".../Sourcetrail/" 2018-01-08 09:58:28 +01:00
mlangkabel 8a26cf2b49 build: updated data references for windows installer 2018-01-05 17:30:11 +01:00
mlangkabel be1518140c ui: changed font color in windows installer image 2018-01-05 17:24:45 +01:00
Eberhard Graether 125e65e575 ui: fixed ui issues
* fixed dock title buttons on bottom on Windows
* fixed no gap between buttons on Linux
* fixed dark scheme title bar contrast
* fixed filter checkbox colors for dark schemes
2018-01-05 16:58:00 +01:00
mlangkabel 3ac18a9977 data: fixed sourcetrail loader gif not showing up on some windows systems
* added missing qt dlls to windows installer
2018-01-05 14:33:59 +01:00
Eberhard Graether ea8ab3df8e ui: Custom style for dock widget title bars
* avoid style loading in every view on application start
* improved contrast of reference label
* moved Reset Window Layout action up in View menu
2018-01-05 01:06:49 +01:00
Eberhard Graether c17f7dd3d4 data: Fixed indexing performance regression in FileRegister
* removed debug cout uses
* add source paths first as header search paths
2018-01-02 23:15:05 +01:00
mlangkabel 987faffaf2 utility: Added accumulated event tracer
* Added alternative tracer implementation that only stores an accumulation of trace
  events. This is useful for handling large amounts of traced events.
2018-01-02 21:22:46 +01:00
Eberhard Graether 33572e2104 src: Fixed Mac build and clang warnings 2018-01-02 12:58:11 +01:00
mlangkabel 592f5fb4b1 logic: improved performance of include validation
* added cache to store canonicalized versions of both, resolved as well as unresolved includes
2017-12-28 14:38:05 +01:00
mlangkabel cb3cf7d651 src: harmonized indexer command names
* some parts of the indexer were called "manual" while others used the
  name "empty". renamed everything that was called "manual" to "empty"
  to conform to names in GUI
2017-12-28 12:35:04 +01:00
mlangkabel 4686ce7e91 src: fixed some clang tidy warnings
* implemented CxxDeclName constructors that just move the members
* removed empty destructors because they disable default move constructors
* removed some unnecessary code
* replaced ".size() == 0" with ".empty()" because it's more explicit
2017-12-27 18:46:56 +01:00
mlangkabel 8b21d57750 src: implemented move constructor/assignment for filepath
* improves indexing performance by roughly 5%
* switched to use uniqu_ptr for boost path to get rid of including boost in header
* added different methods to change the current FilePath or to make a copy and change that one
* used these methods appropriately throughout the code base
* removed exists() method from FileSystem because it is already contained in FilePath
* added const in some places
2017-12-23 10:28:25 +01:00
mlangkabel 455c1230b1 logic: fixed bug where anonymous symbols were only partly named like the enclosing typedef
* removed post processing for anonymous typedefs. The storage transformation did not work in
  cases where the typedef is recorded in a previously indexed header. No type information
  was recorded while indexing the header a second time. But this type information would have
  been required by the transformation.
2017-12-21 19:36:16 +01:00
mlangkabel 1a9d736f28 src: improved cache implementation
* use const ref in cache
* improved performance of FilePath caching in FileRegister
2017-12-21 13:35:41 +01:00
mlangkabel 88d90bde8f logic: fixed policy for recording elements inside macro arguments and bodies 2017-12-21 12:50:37 +01:00
mlangkabel 30d4e61bb6 src: windows compilation fixes
* fixed msvc compiler error
* updated required jar names
2017-12-21 12:42:37 +01:00
Eberhard Graether f849c9d01d ui: fixes in project setup and indexing
* allow to ignore missing paths in project setup
* button to remove missing paths in project setup
* fixed progress dialog stays on empty project indexing
* don't unblock ui between indexin steps
2017-12-20 22:48:37 +01:00
Eberhard Graether bfa43df491 ui: switch to single file mode with snippet maximize
* switch back to snippet view with snippet button in file title bar
* use new title bar widget in single view as well
* restore view mode on undo, store current view mode for every message id (added id to message)
* treat view mode switch as adapt message on undo stack
* fixed crash after snippet expansion
* fixed hatching in file title not shown
2017-12-20 20:40:38 +01:00
Eberhard Graether 8672d14319 ui: Show title bar at top and scroll bar at bottom in code view snippet list if necessary (issues #432, #479)
* Show title bar at top of snippet list if first file is cut off
* Show scrollbar at bottom of snippet list if last snippet if cut off and horizontally scrollable
* Extended scrollRequest API to different ScrollTarget modes
* Fixed snippet extension broken if maximized first
* Split off title bar functionality to separate class QtCodeFileTitleBar
2017-12-17 13:25:11 +01:00
Eberhard Graether c91f5282f5 src: Fixed storage version not increased after removing error commandline 2017-12-16 15:06:23 +01:00
Eberhard Graether 618ed72241 ui: Fixed history dropdown click opened again when clicking on history button on Windows 2017-12-15 15:38:43 +01:00
Eberhard Graether 76f5ee1dc0 ui: Fixed issues related to refresh
* don't clear single file code view on ui refresh
* don't refresh ui when clicking refresh
* do ui refresh with Alt + Refresh
2017-12-15 14:50:37 +01:00
Eberhard Graether 90ad069485 logic: Fixed switch from commercial to non-commercial use did not remove license string 2017-12-15 13:52:41 +01:00
mlangkabel 0c01c39698 ui: added "Exported from Sourcetrail" note to saved graph images 2017-12-12 12:56:15 +01:00
mlangkabel 928aa45bfc data: removed storing commandline for errors
* reason: commandline string may be large (7GB for 20k errors in the UnrealEngine)
2017-12-12 10:04:44 +01:00
Eberhard Graether 4da2b1f8f4 ui: Small fixes
* slightly darker function color in code for bright scheme
* fixed title offset in indexing progress dialog
* show progress dialog while starting indexers
* fixed text covered by flag in finish indexing dialog
2017-12-12 00:15:24 +01:00
Eberhard Graether 99b0cf0ac9 ui: Group include validation results by file and add line breaks for readability 2017-12-11 22:59:48 +01:00
Eberhard Graether b3ff2e3c5c ui: Fixed location pickers used root directory when empty 2017-12-11 20:29:51 +01:00
Eberhard Graether 5d3dd37ff5 ui: Add bidirectional in aggregation tooltip 2017-12-11 19:53:10 +01:00
Eberhard Graether c19d4c896f build: Don't explicitely open terminal when running on Linux (issue #525) 2017-12-11 17:30:52 +01:00
mlangkabel ec852affbe ui: fixed files and directories dialog to offer selection of files (issue #521)
* added and used QtFilesAndDirectoriesDialog in file list boxes for windows and linux
* implemented allowing to select multiple entries which adds more rows to the path listbox
2017-12-11 17:24:20 +01:00
mlangkabel 22b4d2a2b9 ui: changed wording from "licence" to "license" 2017-12-11 17:05:07 +01:00
mlangkabel 351fa35ec3 logic: fixed case where reference to member recorded as usage instead of call 2017-12-11 10:10:09 +01:00
mlangkabel b3a3b10af5 src: fixed missing include on windows 2017-12-11 10:06:22 +01:00
Eberhard Graether fc199187f2 logic: Allow multiple node type filters in the search field 2017-12-11 00:47:25 +01:00
Eberhard Graether 604c3c85eb src: Fixed clang warnings 2017-12-11 00:30:47 +01:00
Eberhard Graether 088ddd77a8 ui: Fixed color schemes using non_indexed instead of symbol for node type colors 2017-12-11 00:18:24 +01:00
Eberhard Graether f9fb08e490 ui: Fixed order of bundle nodes in graph overview 2017-12-11 00:05:43 +01:00
Eberhard Graether 0d30132cc4 logic: Fixed crash when start screen was closed while checking for update 2017-12-10 23:06:37 +01:00
Eberhard Graether 0dcd343026 ui: Fixed selected text not deleted when pasting into search field (issue #527) 2017-12-10 22:36:32 +01:00
mlangkabel ebdf324399 src: replaced remaining usage of NodeType::Type in PersistentStorage 2017-12-08 15:40:40 +01:00
mlangkabel 3ceb55c307 src: switch to using forward declarations for NodeType and NodeTypeSet where possible 2017-12-08 15:30:44 +01:00
mlangkabel d3aba74d8b src: moved search filters to NodeType 2017-12-08 15:18:47 +01:00
mlangkabel 21189bb887 src: moved bundling info to NodeType
* also: fixed NodeType for global variables not in NodeTypeSet::all()
2017-12-08 15:07:33 +01:00
mlangkabel 9ae7f70062 logic: reverted commit a318ed1a because it caused namespaces not showing up in the overview 2017-12-07 19:03:37 +01:00
mlangkabel 91b0c5d05f src: replaced references to NODE_FILE with call to isFile 2017-12-07 14:52:12 +01:00
mlangkabel b02596ddfa logic: implemented recording template variable specialization edges 2017-12-04 15:39:44 +01:00
Eberhard Graether 3e59dd5396 ui: different background color for code view snippet list to amplify layering
* improved contrasts in dark scheme
2017-12-04 11:55:11 +01:00
Eberhard Graether f9e4afda77 logic: Added indexing mode to reindex incomplete files (issue #493, #496)
* added radio buttons to start indexing dialog
* don't block task scheduler thread while start indexing dialog is visible
* don't force whole project refresh on settings change
* added help button to start indexing dialog explaining indexing modes
* disable unavailable modes when project needs full refresh
* improved label texts on indexing dialogs
* added --incomplete flag to index command of commandline API
* fixed deletion of window stack elements
2017-12-03 22:30:09 +01:00
mlangkabel faf9e7655f logic: fixed some cases that caused Java code to throw exceptions 2017-12-01 16:19:17 +01:00
mlangkabel 4f3044fec8 logic: implemented using .aar files as Java project dependencies 2017-12-01 12:25:09 +01:00
mlangkabel 2208e3dc53 logic: implemented writing Java exceptions to log file 2017-11-27 17:15:08 +01:00
mlangkabel a5c4287e53 src: removed last unused references to PreprocessorOnlyAction 2017-11-27 16:23:44 +01:00
mlangkabel adf8c3e5fc ui: fixed scrollbar background style for windows and added min-size for handles 2017-11-27 16:06:48 +01:00
mlangkabel 4b854d4545 logic: improved performance of NodeTypeSet by internally using a bit-mask 2017-11-27 15:36:44 +01:00
mlangkabel 5fbf7b1acc ui: note architecture of Java version in ApplicationSettings dialog 2017-11-27 11:18:49 +01:00
mlangkabel 6e3216e067 src: replaced filters with NodeTypeSet 2017-11-27 10:57:26 +01:00
Eberhard Graether 2b2c3e1194 ui: Fixes for fulltext search
* show line indicators for fulltext search results
* matches at line start started at previous line
2017-11-26 19:56:59 +01:00
Eberhard Graether a9cd67659a src: Removed unused color scheme test code 2017-11-26 19:04:38 +01:00
Eberhard Graether 7903ef9c1e ui: Update visible depth graph when changing depth level (issue #484) 2017-11-26 14:59:51 +01:00
Eberhard Graether 0d5c19db00 ui: Hide nodes and edges from graph via context menu action or Alt + Click (issue #472)
* show all context menu actions, but disable unavailable
* added hide action to undo redo stack
2017-11-26 12:54:42 +01:00
Eberhard Graether 9e7e9176cb ui: Added option to show/hide referenced builtin types in graph, default is hide (issue #409) 2017-11-26 01:25:58 +01:00
Eberhard Graether 506bf8ed6f ui: Scrollbar and dock widget separator style
* defined scrollbar style for Windows and Linux
* defined dock widget separator width and color
* some style fixes on linux
2017-11-25 23:06:47 +01:00
Eberhard Graether bfc7a55f70 ui: Fixed icon sizes when scaling to highDPI screens fails
* Fixed gcc compile error
2017-11-25 18:21:19 +01:00
Eberhard Graether 2b7349bf9b ui: Fixed cursor disappearing when entering long strings in search field 2017-11-24 15:19:07 +01:00
Eberhard Graether e4f30555e6 src: Fixed clang errors and warnings 2017-11-24 00:55:29 +01:00
mlangkabel 1a9d2b8eab src: replaced usage of NodeType::Type in MessageActivateTrail creation 2017-11-23 17:56:47 +01:00
mlangkabel bdb68a9aef src: added usage of NodeType::isUnknownSymbol method 2017-11-23 17:46:34 +01:00
mlangkabel d1b6667ac6 src: renamed "non_indexed" node type to "symbol" 2017-11-23 17:36:42 +01:00
mlangkabel a318ed1a40 src: removed redundant call 2017-11-23 17:27:27 +01:00
mlangkabel 74dc4bbe5b src: replaced references to NodeType::Type in GraphViewStyle 2017-11-23 17:16:59 +01:00
mlangkabel 90e17c5868 src: converted NodeType to a class
NodeType internally still uses the Type enum
2017-11-23 17:05:15 +01:00
mlangkabel c512992e2c logic: fixed parent node hierarchy for C++ template parameters of variable declarations 2017-11-19 20:56:42 +01:00
mlangkabel 952ea1651f src: renamed recording methods 2017-11-19 13:44:10 +01:00
mlangkabel 343caebcf6 src: split storage types into data and type
* this shortens the signature of many methods and allows to pass a single object as reference instead of passing multiple references and values
2017-11-19 01:31:50 +01:00
Eberhard Graether 66b278b1c9 script: Fixed Sourcetrail.sh syntax error (issue #519) 2017-11-18 00:24:01 +01:00
Eberhard Graether 69781acc51 build: Fixed build for Linux 2017-11-17 23:50:36 +01:00
Eberhard Graether 37b6453644 ui: Fixed exporting images from the graph resulted in too large images (issue #511)
* Fixed style issue in save dialog on Linux
* Fixed wrong dialog used on Mac and Windows
* Improved image quality

bug id = 511
2017-11-17 22:41:43 +01:00
Eberhard Graether b887a4a89e logic: don't use shared_ptr for QtGraphNode and QtGraphEdge anymore
* fixes crashes on events to deleted Qt elements
2017-11-17 22:30:48 +01:00
mlangkabel 634601b4b6 logic: fixed crash when specifying an unknown text encoding in appsettings
* also: updated jar dependencies
2017-11-17 13:03:05 +01:00
mlangkabel 9d17e2e7e6 logic: fixed getting the parent of a Cxx template parameter's declaration
* switched to getting the template parameter's parent from the ASTContext instead of using the DeclContext
2017-11-14 12:09:32 +01:00
mlangkabel 6488c6538e logic: fixed filepaths to always use a canonical casing (issue #516)
* added CanonicalFilePathCache to also reserve the initially recorded casing of file names
* use canonical file path cache to resolve filepaths in names of symbols (anonymous, static, ...)
* null reference fixes
2017-11-12 16:29:12 +01:00
Eberhard Graether 85207c6355 logic: Fixed implicit node not autoexpanded in graph 2017-11-10 15:43:27 +01:00
mlangkabel 7c40f7afe8 logic: add filename info to static functions (issue #515) 2017-11-10 11:38:33 +01:00
Eberhard Graether 53d86e518a build: Changelog for 2017.4.46 2017-11-09 21:10:03 +01:00
mlangkabel e7f9940582 logic: add filename info to static global variables (issue #514) 2017-11-09 17:29:59 +01:00
Eberhard Graether ead9f9a634 logic: Allow duplicate indexing of source files if the indexer command is different 2017-11-09 17:24:28 +01:00
Eberhard Graether ae37145d22 ui: Intermediate fix to avoid early QWidget deletion due to smart pointers
TODO: get rid of smart pointers for Qt classes in QtGraphView
2017-11-09 16:32:26 +01:00
Eberhard Graether 78d93e50dd logic: Fixed single header files within indexed paths were not indexed (issue #513) 2017-11-09 14:34:36 +01:00
Eberhard Graether 84da941fa4 ui: removed temporary C/C++ standards 2017-11-09 14:11:42 +01:00
Eberhard Graether dc16b3f45b ui: Explain differences of errors and how to fix them (issue #501)
* added help button next to filters in error table
* added menu action Help -> Fixing Errors
* added help button on indexing dialog
* show help message after first time indexing with errors, if not seen already
2017-11-09 12:01:33 +01:00
Eberhard Graether 0cf64d338b logic: Add parent directories of source files in the compilation database automatically to header paths 2017-11-08 23:40:28 +01:00
Eberhard Graether 593a5f909c logic: Give clang higher precedence in global header search path detection 2017-11-08 22:33:25 +01:00
Eberhard Graether fe4a921836 ui: Added new clang 5.0.0 language standards to project setup dropdown box 2017-11-08 22:26:33 +01:00
Eberhard Graether adf32d1d22 ui: fixed non-collapsible nodes got also collapsed with more than 20 children
<description>
2017-11-08 22:00:34 +01:00
Eberhard Graether 0e7dc3242d ui: Show nodes with more than 20 children initially collapsed (issue #509) 2017-11-08 21:43:09 +01:00
Eberhard Graether 17a1f7eac9 logic: Show message box informing about shared memory problems before indexing (issue #508) 2017-11-07 17:49:21 +01:00
Eberhard Graether a2d412ccfa logic: add contained symlinked directories to indexed and excluded paths 2017-11-07 13:43:50 +01:00
Eberhard Graether 28fe1533b7 ui: Start from correct directory for relative paths in project setup location pickers 2017-11-07 00:33:33 +01:00
mlangkabel 6fad9eea84 logic: added all previous java version to Java language standard selection 2017-11-06 18:49:29 +01:00
mlangkabel 595f918f4d logic: template related fixes
* fixed recording template member specializations of methods as explicit nodes
* fixed template members variables sometimes recorded as functions with call edges
2017-11-06 17:11:15 +01:00
mlangkabel ad20275dae logic: fixed recorded location of function bodies that are defined inside macros 2017-11-06 16:56:35 +01:00
mlangkabel 09694409f1 logic: skip recording macro usages in non-indexed files 2017-11-03 16:20:31 +01:00
Eberhard Graether 8baf8cd49b ui: Fixes for search bar
* fixed clicking on search element did not focus search bar
* fixed moving cursor between elements
* no smart pointers for search elements to fix deletion issues
2017-11-03 14:44:07 +01:00
Eberhard Graether bc0c674dc2 logic: Fixed type usage edges not shown between class members and inner class types 2017-11-03 12:18:24 +01:00
Eberhard Graether f1f4fe9a2d ui: Fixed activation of bookmarked edge did not highlight edge 2017-11-03 11:44:00 +01:00
Eberhard Graether 5cd4378758 ui: Fixed resize status view table columns only resizeable in the title bar (issue #506)
bug id = 506
2017-11-02 15:33:35 +01:00
mlangkabel f027b94dd4 ui: added setting for text encoding to preferences (issue #500)
* also fixed offset of source locations behind multibyte characters
2017-11-02 12:40:50 +01:00
mlangkabel 8dbfa61234 logic: minor gradle project setup fix 2017-10-31 17:12:37 +01:00
Eberhard Graether 90f9e2645b ui: fixed low contrast of search field cursor in dark schemes (issue #487)
bug id = 487
2017-10-31 15:37:48 +01:00
Eberhard Graether 8795f2c732 build: Changelog for Release 2017.4.20 2017-10-25 17:14:20 +02:00
mlangkabelandEberhard Graether 6b4cc4e7e9 ui: fixed search bar click 2017-10-25 17:13:21 +02:00
mlangkabel ee11528ddf ui: added individual help window titles 2017-10-25 09:56:31 +02:00
Eberhard Graether c73e58893e ui: Fixes in project setup
* fixed include paths fetched from CDB not canonical
* fixed content names
2017-10-25 00:57:28 +02:00
Eberhard Graether c4de8f1af8 ui: Fixed file states in code snippet mode wrong after iterating references in single file mode 2017-10-25 00:15:44 +02:00
Eberhard Graether f84a535b2b ui: Increased license selection window height 2017-10-24 23:15:30 +02:00
Eberhard Graether 0b0fc67ada ui: improvements in search box UI (issue #483)
* remove element and turn into edit text when focusing search bar
* press Escape to de-focus search bar

bug id = 483
2017-10-24 22:34:36 +02:00
mlangkabel 609a37712d ui: added minor changes to the descriptions in the project wizard 2017-10-24 18:45:36 +02:00
Eberhard Graether 0c2fa352c1 ui: Fixed additional newline in every code snippet 2017-10-24 17:34:33 +02:00
Eberhard Graether 2218ab96aa logic: Fixed activating local symbol location via plugin shows empty code view
* and fixed scroll to line if nothing is found at location
2017-10-24 13:16:37 +02:00
mlangkabel c1e0e325f9 ui: fixed width of enter license window
* on windows the enter license window was too small so the entered key would have unwanted line breaks.
2017-10-24 12:22:22 +02:00
mlangkabel 0230852d60 logic: fixed handling symbolic links when activating location via IDE (issue #489) 2017-10-24 11:56:11 +02:00
Eberhard Graether a980300e92 ui: Fixed double delete of QtCodeArea (issue #488)
bug id = 488
2017-10-24 11:52:37 +02:00
Eberhard Graether 7a87c4cd4b ui: Added shortcut to 'Show in IDE' context menu action (issue #485) 2017-10-23 17:33:00 +02:00
mlangkabel d1536031c9 ui: revised project setup wizard
* adjusted some help texts
* moved exclude paths and source file extensions contents to indexed paths selection in project setup wizard
* removed compiler flags from CDB project setup wizard
* added wizard content that shows some info text regarding the purpose of source groups
* renamed ContentSummary to ContentGroup
* fixed issue with CompilationDatabase include path extraction
2017-10-23 16:10:54 +02:00
Eberhard Graether d57dd6dd9c ui: Fixed start screen not vanishing when opening project on double click on Mac 2017-10-19 22:37:49 +02:00
Eberhard Graether 8e908c2a78 logic: Added Non-Commercial Use option and removed trial mode
* Added non-commercial use option to enter license window
* Show enter license window on first start and force license selection
* Added ApplicationSettings migration that removed private/academic license and switches user to non-commercial mode
* Added commandline option to choose non-commercial use and provide better hints to license selection
* Removed trial mode

fortune cookie message = A secret admirer will soon send you a sign of affection.
2017-10-19 16:58:47 +02:00
Eberhard Graether c3a5405cc4 ui: Fixes for release
* Removed pointless overview bundles
* Updated EULA version
* renamed 'Find in View' to 'Find On-Screen'
2017-10-18 16:46:06 +02:00
mlangkabel bc8df375f0 data: updated EULA include non-commercial licenses 2017-10-18 15:02:21 +02:00
mlangkabel 0d993011d8 data: updated eclipse dependencies for java indexing
* updated java indexer to use org.eclipse.jdt.core version 3.13.0.
* added test that checks if all jar dependencies can be found.
2017-10-18 14:52:14 +02:00
Eberhard Graether 7dce69e60e build: Changelog for 2017.4.0 2017-10-16 16:01:37 +02:00
Eberhard Graether 2f41f47898 build: Fixed installing Linux build with pre-installed Sourcetrail failed 2017-10-13 12:59:08 +02:00
Eberhard Graether a7363b329b logic: Use sizeof(SharedMemory::String) in shared memory size estimation instead of std::string (issue #471) 2017-10-13 12:26:45 +02:00
mlangkabel 1d9b322e3e ui: fixes in update checker ui
* init updatecheck ui with "checking for update..." to counter the effect of the timer start delay
* removed message box telling the user "everything is ok" after manual (forced) update check
2017-10-13 12:03:36 +02:00
Eberhard Graether cfb690b035 logic: Fixes for release
* Added timeout before checking new version on startscreen
* Fixed size estimation in indexercommand
* Fixed update title when project loading fails
2017-10-13 11:08:38 +02:00
mlangkabel 7257ba2722 data: added data for screen search view to windows install dir 2017-10-13 10:48:44 +02:00
mlangkabel 451ad785de logic: implemented global header search path detection for VS 2017
* split header search path detector for VS into 2 different classes (one for VS2010 - VS2015 and one for VS2017)
* implemented detecting "ucrt" path for windows global headers
2017-10-12 18:04:23 +02:00
Eberhard Graether af626143a5 logic: Improvements in indexing to avoid OOM (issue #471)
* indexer processes wait if already too many storages queued
* storage fetcher waits if already too many storages queued
* increased size estimation for shared memory of indexer commands
* Added MessageFilterNewErrors to combine messages for new errors

bug id = 471
2017-10-12 17:15:46 +02:00
Eberhard Graether 1e38ce53c4 ui: Added screen search shortcuts to list 2017-10-12 14:56:51 +02:00
Eberhard Graether 967ae81dfd build: Revised Linux install package
* renamed scripts
* moved install, uninstall, deleteConfig scripts to top-level
* fixed desktop file not recognized on installation, only on restart
* removed Eula accept from install script
* abort install and uninstall when not running as root
* revised README
2017-10-12 14:08:25 +02:00
mlangkabel 91fc0f4148 logic: fixed recording type of rvalue reference as "&&" instead of "&" 2017-10-12 13:10:12 +02:00
Eberhard Graether b5ff43a821 logic: Fixes in and with TextAccess
* fixed Textaccess removing last line with single character when loading from string
* fixed file comparison using wrong index ranges
2017-10-12 11:26:48 +02:00
Eberhard Graether c39168967f ui: Fixed code view cutting off last line 2017-10-12 10:42:56 +02:00
Eberhard Graether 43f492cded logic: Fixed update check still displaying new version after using new version 2017-10-12 10:16:42 +02:00
mlangkabel f0da5b630b ui: implemented prefilling indexed header paths for compilation database projects
* fixed header path detection in CompilationDatabase class
2017-10-11 17:08:13 +02:00
Eberhard Graether 85ab7d1e96 logic: Moved update check setting to preferences and enable automatic update check by default 2017-10-11 13:39:00 +02:00
mlangkabel cf984ca245 logic: name qualifiers of symbols are clickable now 2017-10-11 11:08:01 +02:00
Andreas Stallinger 896fbf09b6 build: added dockerfiles for linux ci to deployment directory 2017-10-10 17:47:35 +02:00
Eberhard Graether 2610783d89 ui: enable Qt highDPI scaling on all platforms 2017-10-10 17:27:39 +02:00
Eberhard Graether 3ab77e500b ui: Added syntax highlighting rule for char literals 2017-10-10 17:25:45 +02:00
Eberhard Graether b715372abc logic: handle activation of non-indexed files and tokens referenced within non-indexed files 2017-10-10 17:22:59 +02:00
Eberhard Graether d3a3ececae ci: updated docker image tags to llvm500 2017-10-10 13:47:38 +02:00
Eberhard Graether e3a6c3257e ui: Removed include check validation for cdb source groups 2017-10-09 21:38:04 +02:00
Eberhard Graether 3a03252d3f ui: also bundle nested anonymous namespaces in namespaces overview (issue #465)
bug id = 465
2017-10-09 21:33:05 +02:00
Eberhard Graether 4fdff00908 ui: Fixed non-intentional vertical growth of search dock widget on window resize 2017-10-09 21:24:24 +02:00
mlangkabel 59ae7b0dd5 data: add windows qt dlls required to save graph image (issue #474) 2017-10-06 17:44:43 +02:00
mlangkabel c71a0c410c build: update source code to use Clang 5.0 2017-10-06 17:37:09 +02:00
mlangkabel 798944ff38 ui: implemented showing gradle errors in UI 2017-10-03 16:19:07 +02:00
mlangkabel e587f081d6 data: added icon for gradle project setup 2017-10-03 13:25:13 +02:00
mlangkabel 2d0634ef10 src: fixed undefined behavior bug in QtProjectWizzardContentPathCDB 2017-10-03 11:23:50 +02:00
Eberhard Graether fdea8113a0 logic: Fixed code not annotated for full file in snippet mode
* show focused line marker when stepping through code references
2017-10-03 08:09:57 +02:00
Eberhard Graether a72da67d32 logic: Use ControllerProxy in Bookmarking UI classes instead of messaging
* changed ControllerProxy to template class
* allow passing method pointers and arguments to ControllerProxy
* replaced some messages with ControllerProxy calls
* moved logic from BookmarkView into BookmarkController
2017-10-03 07:59:59 +02:00
mlangkabel e604d24c40 logic: added Gradle project setup (issue #379)
* added implementation for Gradle project setup (icon is still missing)
* refactored project loading/saving and SourceGroupSettings
* removed long deprecated Cxx UseSourcePathsForHeaderSearch option

fortune cookie message = There is true and sincere friendship between you and your friends.
2017-10-02 18:43:59 +02:00
mlangkabel 72ae4d5695 logic: fixed crash in Java indexer tests on Linux 2017-09-28 19:39:36 +02:00
mlangkabel a11870ad77 src: removed unused methods from Java indexer code 2017-09-28 18:03:16 +02:00
mlangkabel 0c437fbab0 src: added test for indexing JavaSymbolSolver 0.6.0
* made DumpParserClient reusable by java tests
2017-09-28 17:50:17 +02:00
Eberhard Graether 83c24c5cd0 src: Removed unused Log component and QtSplashScreen 2017-09-21 01:59:36 +02:00
Eberhard Graether 1e7d934cb8 src: Switched all Qt..View implementations to use QtThreadedLambdaFunctor 2017-09-21 01:37:17 +02:00
Eberhard Graether 49caaa1b0b ui: show screen search by pressing / or ? 2017-09-19 14:30:55 +02:00
Eberhard Graether 95ef8c3eec ui: Added on-screen search feature (issue #79)
* Use menu action "Edit -> Find in View" or Ctrl + D
* UI displayed as search bar at bottom of main window
* Hide search bar with ECS or close button
* Entering a query searches in name of graph nodes and code contents of code view
* Use Enter to iterate through matches, well move match into view in graph and code view
* Checkboxes allow for adding/removing results for certain views
* Create Bookmark shortcut is now CTRL + S

bug id = 79
2017-09-19 14:00:40 +02:00
Eberhard Graether 4731f379f4 logic: Fixed click on call location of implicit template specialization leads nowhere 2017-09-15 12:44:22 +02:00
Eberhard Graether 8beb516b80 logic: Added template specialization and template member specialization edges to call graph 2017-09-14 17:32:33 +02:00
Eberhard Graether 3d2ac64ce6 logic: don't activate template specializations at same location when clicking source location 2017-09-14 16:52:37 +02:00
Eberhard Graether 8f4e521f0b ui: don't hide implicit children of implicit nodes 2017-09-14 03:38:32 +02:00
Eberhard Graether 84305c155c ui: Fixed issues in syntax highlighter
* single line comment broken
* don't highlight keyword within quotation
2017-09-14 02:39:32 +02:00
mlangkabel 687bfad4a6 logic: improved recording of template member specializations
* implemented recording template member specialitation relations for fields, static variables, member classes and enums
* added windows only tests that index whole projects (Bullet & Box2D) to prevent regression
2017-09-13 18:03:29 +02:00
Eberhard Graether 3f06724cad test: Fixed CommandlineTestSuite changed TestSettings.xml 2017-09-13 15:53:21 +02:00
mlangkabel 64a97d37f1 logic: Cxx destructor decl fixes
* omit visiting a type in the name of a CxxDestructorDecl (which recorded a type reference)
* fixed range of names for Cxx destructors and overleaded operators.
2017-09-11 15:40:26 +02:00
mlangkabel 41348f5130 logic: refresh only files where content changed 2017-09-11 09:56:18 +02:00
mlangkabel 99f54eedbc src: refactor java indexer
* renamed java name classes
* rearranged methods in ContextAwareAstVisitor to match the order in AstVisitor
2017-09-11 09:48:03 +02:00
Eberhard Graether a24282c0de build: changelog for 2017.3.48 2017-09-08 14:22:18 +02:00
Eberhard Graether ca85b740a6 logic: Improved search index search performance 2017-09-08 13:53:04 +02:00
mlangkabel b586c6ce53 logic: recording implicit Java packages
* implemented recording of package qualifiers as packages
* modified search parameters
2017-09-07 17:38:15 +02:00
Eberhard Graether 5f9a6d7046 logic: fixes for search
* set max best scored length for file paths
* fixed best score caching
* fixed namespace/package and node name split for search results
2017-09-07 16:43:20 +02:00
mlangkabel d62fdc2e11 src: removed unnecessary system("PAUSE") in tests 2017-09-07 14:56:31 +02:00
mlangkabel 6a7691daa0 build: fixed referenced jars in windows installer 2017-09-07 14:48:58 +02:00
mlangkabel b19ca8ee99 logic: fixed Java classpath delimiter issue on unix systems 2017-09-07 14:02:27 +02:00
mlangkabel 5c614c77e2 src: moved Java indexer from JavaSymbolSolver to Eclipse JDT
* added some more tests
* changed 3rd party licenses respectively

fortune cookie message = Your present plans are going to succeed.
2017-09-07 12:40:34 +02:00
Eberhard Graether 6cf0b87f7b logic: Fixes in search index
* process more results
* fixed max results best score length
* fixed name shortening of template arguments
* fixed best results caching
* increased consecutive letter score
2017-09-07 12:14:18 +02:00
Eberhard Graether c4400c0afc logic: reorder Java child nodes to source location order 2017-09-07 12:01:46 +02:00
Eberhard Graether 3c8cd26846 logic: Add node type filtering to SearchIndex to avoid low or no results for filters 2017-09-07 01:40:20 +02:00
Eberhard Graether a9ca7f1223 ui: Added second line marker color to better highlight hovered and local symbols 2017-09-06 16:16:39 +02:00
Eberhard Graether d86adce7ea data: Fixed db crash on closing application due to multiple initializations of statements 2017-09-05 23:58:03 +02:00
Eberhard Graether fc87d2e1aa ui: Added "Skip this Version" option to update dialog 2017-09-05 23:26:34 +02:00
Eberhard Graether 48f5180605 ui: removed pointless node filters 2017-09-05 22:51:01 +02:00
Eberhard Graether ea08c8c730 logic: replace template arguments with .. in non-indexed nodes to reduce clutter in search results 2017-09-05 22:35:54 +02:00
Eberhard Graether 919e3ad0cb ui: Fixed code color not reset after annotation in dark schemes 2017-09-03 23:15:40 +02:00
Eberhard Graether 602ebbfe46 ui: Fixed text color not correctly changed when annotation type changes 2017-09-03 22:18:20 +02:00
Eberhard Graether 9f2509e7de ui: node type keywords to filter autocompletions or activate all nodes (issue #78)
* Fix history stack activating wrong symbol when aggregation was clicked
2017-09-03 15:38:25 +02:00
Eberhard Graether 1d287541e3 logic: Path detection status messages on app start where never dispatched 2017-08-31 17:04:41 +02:00
Eberhard Graether 4700cb802e ui: Start from home directory instead of working directory in first file dialog (issue #448)
bug id = 448
2017-08-31 16:30:37 +02:00
mlangkabel 64efa00054 logic: improved Maven timeout policy (issue #449)
* only timeout if Maven did not generate output during the last 60 seconds
2017-08-29 14:15:11 +02:00
Eberhard Graether d8413b1cb4 logic: Fixed intermediate storage fetching starving when indexers are really fast because of other UI updates 2017-08-25 11:17:34 +02:00
Eberhard Graether ab3780d347 build: Changelog for 2017.3
* moved changelog to separate file
2017-08-24 12:13:28 +02:00
Andreas Stallinger 8b0d9a02ec build: linux package update for openssl
* added libssl.so and libcrytpo.so
* cleanup: remove COMPONENT frim INSTALL in linux_package.cmake ( not used since
there is no more FULL and TRAIL )
2017-08-24 09:48:48 +02:00
mlangkabel 2d9b2db683 data: added missing dlls for using ssl on windows 2017-08-23 17:03:43 +02:00
Eberhard Graether 1227ad313e logic: Fixed automatic update check only works on Qt thread 2017-08-23 16:15:22 +02:00
mlangkabel 0a3edfdcbc build: fixed create windows icon script 2017-08-23 15:22:10 +02:00
mlangkabel f6b45faf80 build: updated readme and fixed windows deploy scripts 2017-08-23 14:12:59 +02:00
Andreas Stallinger be9e2de21d build: added tags and release branches to deploy job 2017-08-23 11:24:46 +00:00
Andreas Stallinger 94506d7dd6 build: fix regex for release branches 2017-08-23 11:21:28 +00:00
Andreas Stallinger 78d1d72f54 build: ci only build release branches, master, tags 2017-08-23 11:12:40 +00:00
mlangkabel 4037593a05 data: java fixes
* fixed java indexer to continue working when a dependency path does not exist
* updated JavSymbolSolver with a lot of fixes for solving types that are defined inside jar files
2017-08-23 12:21:48 +02:00
mlangkabel 937ae0355b logic: don't hide windows console of foreign process 2017-08-23 11:52:51 +02:00
Eberhard Graether 09d78308be ui: Use QtTextEditDialog for include directive validation results 2017-08-22 23:46:40 +02:00
Eberhard Graether 869c72ab70 logic: Fixed deadlock when interrupting indexing 2017-08-22 22:15:57 +02:00
Andreas Stallinger 39550cd03e README: added ccache information 2017-08-22 18:07:58 +02:00
Andreas Stallinger 89b33f6ce9 build: fix fail of cmake setup on linux
make sure that test directory exists for test/data symlink
2017-08-22 17:48:28 +02:00
mlangkabel 062da81f7d data: changed default indexer thread count to 0
* modified application settings fallback to auto-detect the optimal amount of threads used
2017-08-22 16:36:16 +02:00
mlangkabel f00cc3015f logic: changed default value for maven dependencies directory
* now the name also includes the sourcegroup id
2017-08-22 16:03:17 +02:00
mlangkabel 31b2f8d1f6 logic: fixed generating IDs of fulltextsearch locations
due to type conversion the IDs have been set to 0 on Windows with the previous implementation
2017-08-22 15:32:33 +02:00
Eberhard Graether 86a26be6d6 ui: Improved help texts of CLI 2017-08-22 13:46:04 +02:00
Andreas Stallinger efe280bbc1 build: added missing include for linux
include utility/utility.h in main
2017-08-22 12:31:18 +02:00
mlangkabel 2470177190 data: updated sample project settings 2017-08-22 11:47:41 +02:00
mlangkabel 0b9bb91ae5 ui: extended logging and about window to show 32/64 bit info 2017-08-22 10:58:55 +02:00
mlangkabel 0ef9b97349 build: update README and create_windows_icon script
* provided some additional info for windows builds
2017-08-22 10:11:51 +02:00
Andreas Stallinger af4fb739e7 build: gitlab ci update for new dockerhub account
* caching ccache and maven folder on ci
* new docker images st4ll1 -> coatisoftware
* in build script run setup script if no build/Release folder does not
exist
2017-08-21 18:55:25 +02:00
malte_langkabel e496515a14 logic: implemented recording override edges for overridden methods declared in jars 2017-08-17 14:03:59 +02:00
malte_langkabel 70997adc9c logic: greatly improved Java indexing performance
* about 120% faster now
* also fixed minor synchronization issues
2017-08-17 13:28:00 +02:00
malte_langkabel cbbcc98832 logic: fixed recording of Cxx field usage
* fixed recording reference to field inside TemporaryObjectExpr as usage edge instead of call edge
2017-08-11 15:05:44 +02:00
Eberhard Graether 855f0cbbbf ui: improved comment contrast in color schemes
* fixed clang warnings
2017-08-11 12:22:33 +02:00
malte_langkabel ddebf71e02 logic: fixed case where clang target flag was "---" 2017-08-11 11:31:28 +02:00
malte_langkabel 9d1faa791b build: updated windows deploy script
* changed commandline options to match the new format
* fixed 64bit package having no vscode plugin folder
* removed unnecessary reminders about the VS plugin
2017-08-10 18:26:04 +02:00
Andreas Stallinger e301b231db remove allow_failure 2017-08-10 16:10:02 +00:00
Andreas Stallinger 05ac4f3b6e logic: std::signal instead of sigaction
* commandline test cout redirect
[skip ci]
2017-08-10 18:00:02 +02:00
malte_langkabel 12120e443b data: updated test log 2017-08-10 17:22:24 +02:00
malte_langkabel 42b286909d logic: fixed showing Windows console and getting stuck while quitting
* fixed Sourcetrail being stuck while closing the application
* building Sourcetrail as Console application by default
* hiding console during runtime on Windows if Sourcetrail is started with GUI
2017-08-10 17:09:47 +02:00
malte_langkabel ba4e07e361 data: extended tutorial to mention call/inheritance graphs
* fixed section mentioning hatched elements in tutorial
* mention call/inheritance graphs in tutorial
* added new tut files to windows deployment package
2017-08-10 15:29:07 +02:00
malte_langkabel b9610951d8 logic: Java anonymous class fixes
* fixed solving anonymous classes
* fixed solving methods declared in anonymous classes
* fixed solving calls to those methods
* updated JavaSymbolSolver Jars
2017-08-10 15:15:48 +02:00
malte_langkabel 5de050ab62 build: fixed crash in QSemaphore::acquire on Windows 2017-08-10 15:12:25 +02:00
Andreas Stallinger eaf9df8551 src: revert git auto merge fail 2017-08-10 13:41:43 +02:00
Andreas Stallinger 37ead804bf src: clazy compiler warnings
get rid of most clazy warnings (https://github.com/KDE/clazy)
* range loop use refs
* qcolor ctor with ints
* missing Q_OBJECT macro
* use .constfirst instead of .first

enabled ccache for unix systems for fasterr recompiling
* if ccache is in path we use it now
2017-08-10 09:45:55 +02:00
Eberhard Graether bb5c1d49b6 ui: Fixes for release
* improved color scheme contrasts
* fixed code view single not updated to font size change
* fixed tooltip shown when hovering error location
* fixed previous reference count shown when fulltext search has no results
2017-08-10 03:16:29 +02:00
Eberhard Graether d9c8de2951 src: Fixed FilePath::canonical() for UNIX
* fixed clang warnings
* fixed ApplicationSettings loaded from wrong location in tests
* added symlink within canonical path to tests
2017-08-10 02:04:03 +02:00
Eberhard Graether ece2cbfe14 logic: Fixed cli message handling and Mac build 2017-08-10 01:17:26 +02:00
Andreas Stallinger 9269468a7b src: cleanup cli publish
cleaned commented code
removed bin/test/ApplicationSettings.xml
2017-08-09 15:16:37 +02:00
Andreas Stallinger c9789a415e logic: use signal instead of sigaction on windows 2017-08-09 14:09:50 +02:00
Andreas Stallinger 610c8b2901 logic: cli for indexing and configure 2017-08-09 13:34:20 +02:00
Andreas Stallinger 802153883e logic: commandline indexing and configuration 2017-08-09 12:33:43 +02:00
Eberhard Graether 2399e733b4 ressource: Fixed tictactoe 2017-08-09 12:25:12 +02:00
Eberhard Graether 2e375112e6 data: Save command line info for CXX indexer commands to errors and show within errors table (issue #351)
bug id = 351
2017-08-09 12:16:16 +02:00
malte_langkabel 1ac63f0158 logic: cxx indexer fixes
* fixed comment locations have been saved to wrong database table
* fixed usage of tryGetRealPathName on windows
* used real filename in PreprocessorCallbacks, DiagnosticsConsumer and CommentHandler
* fixed crash in IncludeValidation when only one source file was checked
2017-08-09 10:59:47 +02:00
malte_langkabel 42fc52b8f7 data: added tooltip view css file to windows installer
* also renamed css file for tooltip view to conform to names of other css files
2017-08-08 17:12:47 +02:00
malte_langkabel 43c647e2d2 data: add license information file for Open SSL 2017-08-08 16:48:07 +02:00
Eberhard Graether 289ac4ab63 ui: Fixed show data and log folder menu actions not working for symlinks 2017-08-08 16:39:50 +02:00
malte_langkabel fc02982acc build: added OpenSSL library to windows package
* this one is required for the HTTPS request of the update check
2017-08-08 16:25:28 +02:00
Eberhard Graether 2305a74e6c logic: Added cross-compilation UI to CXX source group setup (issue #370)
Allows for defining specific target triple of architecture, vendor, OS and environment as set of dropdown lists
in CXX source group setup.

bug id = 370
2017-08-08 16:00:32 +02:00
malte_langkabel 4f74235ca1 src: fixed making file paths canonical that contain symlinks 2017-08-08 15:05:36 +02:00
Eberhard Graether ff65a3f285 logic: Added update checker connecting to online API
* connects to https://www.sourcetrail.com/api/v1/versions/latest
* sends information about OS, platform, license type, current version and a unique user token
* Automatic update check is enabled via Startscreen and performed once every 24 hours on window focus
* Update check can be forced by clicking on "check for new version" on start screen
* renamed TimePoint to TimeStamp

fortune cookie message = In Träumen und im Leben ist nichts unmöglich.
2017-08-08 14:18:14 +02:00
malte_langkabel db1c3b3f40 logic: implement prefilling of JRE system library path
* if that setting is empty on startup we use the respective path detector to prefill
2017-08-07 16:22:54 +02:00
malte_langkabel 2d6d554cb1 logic: implemented interrupting AST visiting of Java indexer
* also reverting names of unsolved symbols and unsolved types
2017-08-07 16:02:06 +02:00
malte_langkabel 332cf7be70 ui: fix an issue where the autocompletion list becomes invisible after some time on Windows 2017-08-04 14:01:56 +02:00
malte_langkabel 0a1fdee998 logic: add lots of Java indexing fixes
* update JavaSymbolSolver to version 0.6.0
* moved to Javaparser 3.3.0
* fixed solving type parameter names in symbols solved in jar files
* implemented ignoring name contexts in javassist and jre based method signatures to break infinite recursion
2017-08-04 13:40:56 +02:00
Andreas Stallinger 6ecc2d630b Update .gitlab-ci.yml 2017-08-04 09:34:16 +00:00
malte_langkabel 8ec7f02433 logic: add NODE_ENUM to NODE_USEABLE_TYPE
* this makes sure that edges that point to an activated enum become aggregated
2017-08-04 10:55:05 +02:00
Andreas Stallinger 4e60574bf0 Update .gitlab-ci.yml (fix Linux64 job) [skip ci] 2017-08-03 16:34:03 +00:00
Eberhard Graether d80b1fc848 logic: removed preprocessor only option when indexing CXX source groups 2017-08-03 16:54:41 +02:00
Eberhard Graether 299b3a1cf7 ui: Fixes for upcoming release
* improved comment colors in all color schemes
* improved contrasts for dark color scheme
* fixed error locations stay visible when activating file in single file view
* removed scroll speed change listener from search autocompletion because it caused slowdown on macOS
* fixed bounding rects of graph edges to contain arrow
* fixed tooltip list shown with just one element
2017-08-03 16:15:27 +02:00
Eberhard Graether 9e06323ba7 data: Fixed duplicate rows in database 2017-08-02 17:30:17 +02:00
Eberhard Graether e089900571 data: Fixed uppercase CXX header files saved in lowercase & remove symlinks from FilePath when canonicalizing (issue #437)
bug id = 437
2017-08-02 14:19:44 +02:00
Eberhard Graether 8c5b69dce6 ui: Show list in tooltip when clicking source location with multiple tokens or local symbols
* Also shows list of all implicit symbols at a source location e.g. default constructors or template specializations
2017-08-02 12:32:13 +02:00
malte_langkabel 91969770d5 logic: sort and shuffle indexer commands for performance
Before indexing the indexer commands are sorted according to byte size of the
indexed source file. Afterwards the list is split into two halves and each half
is shuffled. This ensures that bigger files tend to be indexed first, so that
no indexer thread runs idle at the end of indexing.
2017-08-02 12:03:53 +02:00
malte_langkabel 2c6322631b build: fixed QOverload syntax for Visual Studio compiler 2017-08-02 11:51:56 +02:00
Eberhard Graether 63c81e27a2 ui: Window focus event sent when application changes state instead of main window
* Fixes tooltip disappearing when clicked on Windows
2017-08-01 19:15:10 +02:00
Eberhard Graether 96c68c4d0b ui: Fixes for code view
* set code font size as pixel value
* properly hide line number area for overview stats in both snippets and single file view
* fixed file title disabled for files in single file view in trial mode
2017-08-01 14:31:03 +02:00
Andreas Stallinger 244c9af3c6 src: new signal slot syntax
SLOT()/SIGNAL() -> &class::method()
2017-08-01 12:35:33 +02:00
malte_langkabel 8d68203727 src: add missing include for Visual Studio compiler 2017-08-01 11:17:12 +02:00
Eberhard Graether 01864b4d0c ui: Added custom tooltipping to code and graph (issue #195)
* Tooltips show node type with access specifier, reference count and fully qualified name
* Fields and global variables include the type name
* Methods and functinos show whole signature. Gets broken into multiple lines if too long.

Included changes:

* Upgraded to C++14
* fixed clang warnings
* Pass location of .srctrlprj file to build.sh script to load on launch
* Split off QtCodeField for showing highlighted and annotated code fom QtCodeArea
* removed TokenComponentSignature
* added TaskDecoratorDelay

bug id = 195
2017-07-31 12:45:22 +02:00
malte_langkabel 01b1e0d6f1 logic: add type information of variable decl to name hierarchy
* implemented this feature for both, CXX and Java
* adjusted tests to reflect these changes
* added NameElement and NameHierarchy to Java code
* created more specialized JavaDeclName classes: JavaFunctionDeclName and JavaVariableDeclName
* implemented recording static modifier for Java methods and variables

fortune cookie message = You will enjoy true success in whatever you do.
2017-07-28 09:12:32 +02:00
malte_langkabel 2e117c4b6d build: switch to Maven configuration for JavaIndexer 2017-07-27 13:16:57 +02:00
malte_langkabel 053ca3d8d1 data: move web content to CoatiWeb repository
* the new url for this content is: https://gitlab.com/CoatiSoftware/CoatiWeb
2017-07-27 09:54:21 +02:00
malte_langkabel 3f19a0393a logic: fix issue where Maven project did not show any source files (issue #428)
* fixed extraction of generated effective-pom from command line output
2017-07-26 14:41:15 +02:00
malte_langkabel 3a192c8089 ui: clean indexed header path selection
* for CDB projects the selection dialog for the indexed header paths now discards all paths that are subdirectories of other entries
2017-07-24 17:08:43 +02:00
malte_langkabel f2c7ecbbdf ui: add progress dialog for "show source files" button 2017-07-24 14:20:26 +02:00
malte_langkabel bec7aa4aac logic: add include path validation to project settings 2017-07-24 09:20:08 +02:00
Eberhard Graether faae66b304 ui: Fixed search related issues
* select elements when clicking into search bar
* fixed crash and single file mode clearing when fulltext search yields no results
2017-07-20 15:55:31 +02:00
malte_langkabel 3c72ce7459 web: Add blogpost
* Added blogpost titled "How to Export a Clang Compilation Database from a Visual Studio Solution"
2017-07-20 14:53:18 +02:00
Eberhard Graether 48811959fd build: Updated to Qt 5.9.1 2017-07-19 12:23:21 +02:00
malte_langkabel c6c49b2d45 build: add plugin folders to Windows package
* added missing plugin folders to Windows package
* fixed readme of VS extension
2017-07-19 10:23:39 +02:00
Andreas Stallinger 0455cb33f5 test: fix float tests in Vector2TestSuite 2017-07-18 16:16:17 +02:00
Andreas Stallinger 0d98b02431 Update .gitlab-ci.yml to run only one docker container at commit (32bit can be started manually) 2017-07-18 13:46:58 +00:00
malte_langkabel cad595a32c logic: add storage transformation to merge anonymous types and the respective typedef
* moved storage related classes to data/storage folder
* implemented recording c++ unions as NODE_UNION instead of just using NODE_TYPE
* added transformation to merge anonymous classes/structs/enums/unions and typedef nodes
* added tests for this transformation
* added setting for enabling/disabling this transformation
2017-07-18 15:14:43 +02:00
malte_langkabel e536f20e36 build: Updated to Boost 1.64.0
* switched from using BOOST_159_DIR to using BOOST_DIR
* changed windows configuration of boost to remove requirement of duplicating all include files.
2017-07-18 12:59:22 +02:00
Eberhard Graether 94551bf689 src: Updated to Botan 2.1.0 2017-07-18 12:55:13 +02:00
Eberhard Graether 7bc89acdf5 src: Updated to clang 4.0.1 2017-07-18 12:11:26 +02:00
Eberhard Graether 1982f4459a ui: Don't show start window when opening project with double-click
* added menu option to show start window
2017-07-17 17:07:01 +02:00
Eberhard Graether 4bb88a51b7 ui: Show license type label in title bar: "Sourcetrail [trial, test, non-commercial]" 2017-07-17 15:31:06 +02:00
Andreas Stallinger 83e5497a18 fix: missing include memory for linux build 2017-07-17 14:38:03 +02:00
Eberhard Graether e57e51a839 ui: Fixed class expand toggle shown in overview and namespace lists 2017-07-17 00:16:41 +02:00
Eberhard Graether 9d0b86ad98 logic: Show inheritance edges between parents of active symbol and other visible symbols (issue #167)
* add inheritance edges between parents of active symbol and other visible symbols
* add dashed inheritance edges when symbols are no direct decendants
* inheritance edges are also respected in layouting, putting base/derived classes in the correct top/bottom spot now

bug id = 167
2017-07-16 18:40:59 +02:00
Eberhard Graether 9a36d48d1e src: Improved project loading performance
* faster hierarchy cache building
* cache symbol definition kinds
* don't request files when caches can be used
* save SearchEdge by starting character in SearchNode to avoid iteration when adding to SearchIndex
* fixed disabled state of some search buttons
2017-07-15 15:21:08 +02:00
Eberhard Graether da756c9a4c src: Improved code view performance
* fixed slow annotation hovering
* improved retrieving source locations for whole files
2017-07-13 02:25:54 +02:00
Eberhard Graether 997f952b86 ui: Show recent bookmarks in bookmarks menu (issue #414)
bug id = 414
2017-07-12 15:01:14 +02:00
Eberhard Graether 77e748a5e1 ui: Fixed refernces shown and buttons wrong for file activation in snippet mode 2017-07-12 13:52:56 +02:00
malte_langkabel 9bcde198a5 logic: add auto-detection for JRE System Library
* fixed error columns are not saved to database correctly
* implemented setting JRE System Library paths in app settings
* added detector for JRE System Library that not use Java Runtime specified in AppSettings but detects JRE on its own by reusing the JavaPathDetector.
* added option to use JRE System Library in JavaSourceGroup
2017-07-10 18:12:52 +02:00
malte_langkabel b4166be89b build: open source Visual Studio extension
* moved SourcetrailPlugin to separate GitHub repository: https://github.com/CoatiSoftware/vs-sourcetrail
* changed Readme in ide_plugins folder to point to that repo and give instructions on how to install
* removed vsix from windows package
* renamed SourcetrailPlugin project to SourcetrailExtension
* changed assembly name to vs-sourcetrail
* removed plugin install script because the tests now use a configured experimental instance of Visual Studio
* added license file for cinder solution that is used in plugin integration tests
* replace license file with apache license
* added boilerplate notice of Apache License 2 to source files of plugin
2017-07-08 11:33:38 +02:00
Eberhard Graether eb25472f11 build: Fixed qt.conf for macOS with case-sensitive file system (issue #404)
bug id = 404
2017-07-05 12:23:05 +02:00
malte_langkabel 6ac340f602 logic: increase speed of inserting into persistent storage
* doubled storage injection speed by using precompiled sqlite statements.
2017-07-03 19:00:49 +02:00
malte_langkabel 31b9b74ca8 logic: improve database clearing performance
* added indices that speed up clearing elements
* enclosed clearing in transaction
2017-06-29 13:45:14 +02:00
Eberhard Graether db4f18c70d ui: Higher contrast for ui elements in bright color scheme
* use light green for files and macros
2017-06-29 13:23:55 +02:00
Andreas Stallinger 2b9ea45e33 linux package README update 2017-06-29 13:00:39 +02:00
malte_langkabel a66daa9ac0 build: reduce boost includes in FilePath.h 2017-06-28 17:50:51 +02:00
Eberhard Graether 99ea3b2a25 ui: Fixed zoom issues
* Show font size change as number not percent
* Show current graph zoom in label next to zoom buttons
* Fixed search blocks not properly updated when fonts size changes
2017-06-28 16:38:40 +02:00
Eberhard Graether a2554a9f75 ui: Show progress dialog for maven source group within parent window 2017-06-28 15:43:20 +02:00
malte_langkabel 8370caf705 logic: add logging for jars used by maven project setup 2017-06-28 11:55:23 +02:00
Andreas Stallinger d60a9c82d5 documentation: vscode extension added 2017-06-27 14:29:53 +02:00
Eberhard Graether 293a2a84c3 ui: Added Edit Project button below error table
* use leading uppercase letter in Log View UI elements
2017-06-27 14:21:48 +02:00
Eberhard Graether 73dd912fd6 web: Blog post Release 2017.2
<description>
2017-06-27 12:56:40 +02:00
Andreas Stallinger 68affaa4bc fix: fix putenv in utilityMaven
* include cstdlib
* const cast to char*
2017-06-27 12:32:57 +02:00
Andreas Stallinger ea047cde78 Update utilityMaven.cpp 2017-06-27 10:17:51 +00:00
malte_langkabel 5d35455492 logic: Maven fixes regarding JAVA_HOME variable (issue #405)
* setting value for JAVA_HOME variable automatically before executing Maven if not found in system environment.
* show error dialog when maven encounters an error while fetching source directories from pom
* added logging when fetching maven source directories from pom
2017-06-27 11:41:44 +02:00
Eberhard Graether 7e7d661bf1 web: updated documentation and changelog for 2017.2 2017-06-21 16:34:21 +02:00
malte_langkabel 70b24f9097 ui: fix typo in info dialog 2017-06-21 12:16:01 +02:00
Eberhard Graether 7a814f930d build: no visual studio plugin in mac bundle 2017-06-21 10:53:09 +02:00
Andreas Stallinger 0b432c07fd build: dont ignore install/eula 2017-06-20 17:47:46 +02:00
malte_langkabel ecfdd1ccb7 build: update Java indexer dependencies
* now using JavaParser version 3.2.4 (tagged with javaparser-parent-3.2.4)
* now using JavaSymbolSolver commit hash 5b96df7a
2017-06-20 16:55:24 +02:00
malte_langkabel ba549822c9 build: update windows installer
* changed windows installer to discard the first two digits of the version (17 instead of 2017)
* renamed vs plugin installer
* add game_object.h for TicTacToe to windows installer
* add eula.txt for eula window and keyboard shortcuts css to installer
* add eula and 3rd party licenses to windows install directory
2017-06-20 16:10:22 +02:00
Andreas Stallinger 8b6109be79 script: install script linux fix
install script failed when there were spaces in the path
2017-06-20 15:36:43 +02:00
Eberhard Graether ad3169c3c0 src: Fixes for release
* clear references count when clearing code view
* fixed scrolling to character in overview lists
* fixed aggregation activation shown in history menu
* fixed same snippet being added twice
* Sourcetrail [Trial] as window title
* fixed undoing trail expand will always reactivate symbol
2017-06-20 15:18:30 +02:00
Andreas Stallinger 81b88df3a2 gui: show eula on non windows versions 2017-06-20 14:45:52 +02:00
Eberhard Graether 738e13a664 resource: Updated EULA 2017-06-20 13:06:06 +02:00
Eberhard Graether d7fbaede79 src: Fixed crash when using shortcuts with focus on the graph (issue #390)
bug id = 390
2017-06-20 12:53:13 +02:00
Eberhard Graether 652a55b4fb logic: Fixed saving project name to ProjectSettings also sets project location to '/' 2017-06-19 23:38:39 +02:00
Eberhard Graether 05c2878eec src: Fixed old license partly shown and new placeholder in license dialog 2017-06-19 23:08:42 +02:00
Eberhard Graether 894beccb28 build: Added GameObject base to tictactoe sample
* Gets used in gifs and video
2017-06-19 22:15:34 +02:00
malte_langkabel e6c5ffa97a logic: apply some shared memory fixes
* corrections in estimating size of intermediate indexer commands
* avoided clearing and refilling the indexed files list every time files get added
* changed memory growth policy of InterprocessIndexingStatusManager to double allocated memory when it gets full
* added potential to grow memory when adding crashed file paths
2017-06-19 16:24:01 +02:00
malte_langkabel fba8dadee7 build: fix license compile errors on windows 2017-06-19 16:15:02 +02:00
Andreas Stallinger e953b35c62 logic: license format 2017-06-13 21:23:18 +02:00
malte_langkabel 72f3dcfc19 logic: improved plugin performance
* reduced file open/close events while writing cdb
* fixed detection of header paths
* refactored Visual Studio extension code
* removed very old menu option for converting a solution directly into a Coati project (which would have been performed by Coati itself, not by the plugin).
2017-06-12 12:10:48 +02:00
Andreas Stallinger 148588b179 logic: add 1MB buffer to pushIntermediateStorge 2017-06-12 12:05:34 +02:00
Andreas Stallinger 19ed6cb372 logic: versioning 2017-06-12 09:14:21 +02:00
Andreas Stallinger 419a2e27ba ui: subwindow when resize mainwindow
* disable drop in qtlineedit
    fixes bug where when file is dropped in the lineedit with text,
    the the file will be added as text midst the existing text
* move message to start from script before layout loading so it will load right
(only when started without script on linux)
* center subwindow when mainwindow size changes
2017-06-08 20:42:32 +02:00
malte_langkabel 699de2ee0a build: improve convenience for running Visual Studio plugin integration tests
* added testsettings file that causes Visual Studio to use the current build of the
    extension when running the integration tests. So no more uninstalling and installing
	of the extension before running the tests.
2017-06-08 14:57:18 +02:00
Andreas Stallinger 3ca6f266c7 build: name for artifacts from tagged jobs 2017-06-08 13:48:50 +02:00
Eberhard Graether 24894aa96f ui: More fixes for release
* Fixed graph resizing invoked during animation
* Clearin history when clearing UndoRedoController
* Fixed no hatching in single code view file button
2017-06-08 12:45:56 +02:00
Andreas Stallinger deed335a10 linux script start
warning when starting without script on linux
2017-06-08 12:13:36 +02:00
Eberhard Graether 3e62367af0 src: More fixes for release
* Show declname in java import error
* Don't clear window stack when saving preferences
* Fixed spacing in source group UI, status view and error view
* Resize graph scene rect when widget is resized
* Graph node centering respect no animation preference
* Fixed undoing of view commands
* Avoid scrollbar jump when restoring graph scroll position
* Deactivate local symbols in code when clicking into empty space
2017-06-08 00:35:31 +02:00
Eberhard Graether 610dbf5bfb src: Fixes for release
* Fixed annotations in code view when showing errors
* Fixed context menu hatched for non-indexed/incomplete file button
* Fixed file minimize button losing hover style when leaving to file bar
* Fixed only change bookmark button state when active node is bookmarked
* Fixed use bezier edges when expanding node on aggregation graph
* Fixed manually expanded nodes stay expanded
2017-06-07 17:46:16 +02:00
malte_langkabel 2b1098fe1d logic: disable Java errors for on-demand imports
* don't try to resolve an import that ends in an asterisk. these can be either type names or package names and it it's a package we have no way to find out whether or not such a package exists.
2017-06-07 17:37:19 +02:00
Andreas Stallinger 255fea62af ui: restrict subwindow movement
restrict subwindow movement to mainwindow
to make sure you cant move it were you dont see it
2017-06-07 17:21:54 +02:00
malte_langkabel 38e016c909 build: update list of installed files for windows deployment 2017-06-07 15:49:49 +02:00
Andreas Stallinger 59cece1707 ui: fixed historylist popup disapearing 2017-06-07 15:39:39 +02:00
Eberhard Graether 469789f994 build: Changelog for 1.0 2017-06-07 14:56:02 +02:00
Eberhard Graether 503ca76a40 ui: Use window decorations on dialog windows (issue #376)
* added SubWindow flag to QtWindow to either use window decorations or show window within main window
* fixes black borders in some Linux window managers

bug id = 376

fortune cookie message = Your skill will accomplish what the force of many others cannot.
2017-06-07 14:40:16 +02:00
malte_langkabel fb5bb33a10 logic: fix bookmark migration for Java projects
testing if currently loaded project is a Java project and setting delimiter for node names in bookmark tables accordingly.
2017-06-07 13:40:18 +02:00
malte_langkabel 21f963d652 logic: indexer fixes for java imports
* fixed solving import for statically imported member types
* enabled recording of fatal errors when an importing a type
* added AstVisitorClient for improved abstraction and debugging purposes
2017-06-07 13:00:20 +02:00
malte_langkabel b659e81515 logic: fix more Visual Studio plugin issues
* using .Net framework version 4.6.1 in all projects
* implemented exception handling in VCFileWrapperFactory
* moved logging in separate assembly
* enabled logging in wrapper code
2017-06-06 15:46:14 +02:00
Eberhard Graether fc36cc25ca ui: Improved code view UI
* reduced minimized file state to one-colored block
* added hover states to file buttons
* show hover state when hovering title bar
* fixed file button use for overview stats snippet
2017-06-05 23:46:50 +02:00
Eberhard Graether 71b3bdb26b logic: Improved code view performance
* Don't set stylesheet for every token activation
* Streamlined code area creation steps
* Delay most syntax highlighting until lines become visible
2017-06-05 23:34:20 +02:00
malte_langkabel 30e6512d71 logic: fixed versions of Visual Studio plugin assemblies 2017-06-05 16:11:09 +02:00
malte_langkabel f31c0ae3ba logic: Visual Studio plugin improvements
* changed dll version handling to be automated
* added some additional logging
* improved VCProjectWrapperFactory
2017-06-05 15:14:55 +02:00
Eberhard Graether de645be37a logic: Refactored Code View to process all contents in one update
* Use unified showCodeSnippets method for setting file information on CodeView
* Made async initial file and snippet expansion synced
* Add ScrollParams API to CodeView
* Regard scope size when scrolling to definition
* Only use QtThreadedLambdaFunctor in QtCodeView now
2017-06-05 14:23:43 +02:00
malte_langkabel 893b223bbc logic: record more import not found errors
* record "import not found" error when imported type cannot be resolved
2017-06-05 11:08:07 +02:00
malte_langkabel 7010b9a6fb logic: update Visual Studio plugin to support Visual Studio 2017
* changed description text of Visual Studio plugin
* changed plugin install targets to include VS 2017
* add license file with MIT license
* updated vsix for deployment

* implement wrapper for all used classes of VCProjectEngine.dll since you cannot just use the oldest version of this
  assembly (see https://stackoverflow.com/questions/44288050/typecast-fails-when-visual-studio-extension-uses-reference-to-older-assembly).
* improved serialization and deserialization of compile commands and compilation databases.
* updated used JSON package
* rename CommandObject to CompileCommand
* changed implementation to keep non-existent file paths in cdb
* made methods of SolutionParser non-static
* replace spaces with tabs

* added IntegrationTests project
* configured tests to simulate a new instance of VisualStudio
* added cinder as test project for integration tests
* remove all absolute paths from expected output of integration tests

fortune cookie message = A stranger will bring great meaning to your life.
2017-06-02 14:48:29 +02:00
Eberhard Graether aaca8618e2 logic: Only request unconnected child nodes when expanding node
* increases graph performance by ~30%
2017-06-01 14:48:03 +02:00
Eberhard Graether 8660ab5b14 build: Codesign MacOS app bundle to avoid "from unidentified developer" warning
fortune cookie message = Der Stern des Reichtums wird in Kürze auf dich scheinen
2017-05-31 16:23:25 +02:00
Eberhard Graether 8ab0abbe69 data: Added exception handling to database index 2017-05-31 14:07:21 +02:00
Eberhard Graether b79891693b ui: Fixed errors always shown after indexing 2017-05-31 13:44:58 +02:00
Eberhard Graether 8a6def2d7a ui: Fixes for source group ui
* added final icons
* fixed inconsistent names on copy
* fixed files list for cdb groups not updated
2017-05-31 13:33:34 +02:00
Eberhard Graether 539377339a ui: finalized design for history list 2017-05-31 12:31:11 +02:00
Eberhard Graether 29cfbe0f66 logic: error limit and better user experience (issue #385)
* only show up to 1000 errors in table and code view
* click button in bottom right of error table to show all
* same error order in code and table
* highlight error line when switching reference in code view
* improved error view performance

bug id = 385
2017-05-30 23:11:20 +02:00
Eberhard Graether a34abe6b4b ui: fixes and improvements in graph
* use bezier edges for aggregations
* fixed expanding nodes in trail graph makes trouble
* fixed hovering of edges at arrow
2017-05-30 15:08:01 +02:00
Eberhard Graether f760b873b4 logic: Fixed source files indexed multiple times when in multiple source groups 2017-05-30 12:17:18 +02:00
Eberhard Graether 561284ef5a ui: fixes
* Fixed send ping after changing plugin ports
* Fixed can't close EULA window
2017-05-30 11:55:01 +02:00
Eberhard Graether 7d5d19fde7 utility: Fixed License location check for CI 2017-05-30 08:59:52 +02:00
Eberhard Graether bd40294a2c ui: Added menu action to display EULA and force accepting on Mac 2017-05-30 00:30:52 +02:00
Eberhard Graether 9256618f7c ui: Extended project setup to support creation and editing of Source Groups (issue #230)
* Turned QtProjectWizzard into window for Source Group ui
* Clicking into FilePicker when empty will open dialog right away
* Fixed environment variable use throughout all Source Group path values
* Moved Preferences to QtPreferencesWindow

bug id = 230

fortune cookie message = Zwischen dir und deinen Freunden besteht echte Freundschaft.
2017-05-29 17:08:28 +02:00
Eberhard Graether 13f7acbb70 data: Fixed no indexer commands created for relative file paths in cdb (issue #388)
bug id = 388
2017-05-23 11:42:39 +02:00
malte_langkabel 9b73d73a85 ui: display an error when loading a Clang Compilation Database fails 2017-05-23 09:35:58 +02:00
Eberhard Graether 082dfc2e1a logic: Fixed source files within CDB not indexed unless within Indexed Header Paths 2017-05-22 23:02:35 +02:00
Eberhard Graether 3598fd357d ui: Fixed status messages influence window resizing (issue #372)
bug id = 372
2017-05-19 15:21:34 +02:00
Eberhard Graether 5c21f23219 logic: match source file extensions case insensitive (issue #384)
bug id = 384
2017-05-19 14:39:45 +02:00
Eberhard Graether 65b5bd47f6 logic: Fixed indexing progress file count in status bar and status view (issue #387)
bug id = 387
2017-05-19 14:26:52 +02:00
Eberhard Graether 9088de8105 ui: History list polishing
* Fixed fulltext searches not included
* Show smaller colored indicator in front of list items
* Font weight bold on history list item hover
2017-05-19 14:08:56 +02:00
Eberhard Graether 9a100cd0c0 web: fixed fastspring test store link in blog navigation 2017-05-19 00:40:50 +02:00
malte_langkabel 655e0f15b0 build: remove dlls from windows deploy package
* no dlls required anymore since we removed the setup.exe earlier which was the only C++ binary requiring those dlls.
2017-05-18 10:15:35 +02:00
Eberhard Graether 83356e58ee src: Fixed clang build 2017-05-17 13:02:38 +02:00
malte_langkabel 6cb2119cce src: remove unused includes 2017-05-17 12:10:22 +02:00
Eberhard Graether ea3fd8b928 build: updated changlog for release 0.12.25
* and fixed clang warnings
2017-05-16 16:38:34 +02:00
Eberhard Graether 7cef92cb20 web: blog post for Release 0.12 2017-05-16 16:32:15 +02:00
Eberhard Graether d4e5808524 src: Fixed clang issues 2017-05-16 16:30:50 +02:00
malte_langkabel 4d140e396a src: add IndexerCommandType that will be used instead of string 2017-05-16 15:29:46 +02:00
Andreas Stallinger 80016596df logic: fix missing typename 2017-05-16 11:42:09 +00:00
malte_langkabel c551c9a1dd logic: add name delimiter to NameHierarchy
* NameHierarchy now looks like this: <delimiter>\tm<all the rest>
* made new baseclasses for SettingsMigration and SettingsMigrator
* Use the migration system for SqliteBookmarkStorage as well
2017-05-16 13:08:12 +02:00
Eberhard Graether 6d0f633d24 web: updated documentation
* maven project setup
* reset layout option
* use 0 indexer threads for auto-detection
* multi process setting
* bookmarking
* depth graph
* updated menu and shortcuts
* updated images
2017-05-16 10:52:52 +02:00
malte_langkabel c58b6ae23c logic: fix properly create sqlite indices when changing DB mode 2017-05-16 10:08:26 +02:00
Eberhard Graether d1a1552b8d logic: run MessageActivateAll also in parallel 2017-05-15 12:28:04 +02:00
Eberhard Graether 33452aaa0b build: Added QtCreator plugin to MacOS package 2017-05-15 12:25:13 +02:00
malte_langkabel 4a5b5c2e51 build: rename plugin directory for QtCreator and add this folder to windows package 2017-05-15 12:17:57 +02:00
malte_langkabel 00c696b385 logic: switch back to handling messages in sequence by default
* handling all messages in parallel caused UI synchronization issues
* for now the only message that requests to be handled in parallel is MessageActivateTokens
2017-05-15 11:59:15 +02:00
Eberhard Graether 0d244b0224 utility: Fixed message buffer might become empty while applying message filters 2017-05-15 11:31:10 +02:00
Andreas Stallinger 9937b9beeb documentation: fixed wrong imagename 2017-05-15 10:26:58 +02:00
Andreas Stallinger 6a90ee367c documentation: qt creator plugin
removed sublime text image in qt creator section
2017-05-15 10:20:34 +02:00
Andreas Stallinger 9d91e86e1e documenation: qt creator plugin
added qt creator plugin
2017-05-15 10:17:35 +02:00
Eberhard Graether c94b5f34a3 ui: Create bookmarks from graph context menu for node under mouse cursor (issue #373)
bug id = 373
2017-05-15 00:45:50 +02:00
Eberhard Graether 6de0021f70 ui: Fixed code view single file not scrolled to first fulltext search result 2017-05-14 20:08:25 +02:00
Eberhard Graether 3dfc0cb341 utility: Added MessageFilter API to messaging
* filter out focus in and out messages if both in queue
* filter out search autocomplete when multiple in queue
2017-05-14 19:39:05 +02:00
Eberhard Graether 6193ae9209 logic: Fixes for shared memory
* set unrestricted permissions on shared memory allocation to fix crash on Windows
* log exceptions during shared memory creation and destruction
* create SharedMemoryGarbageCollector after logging was enabled
2017-05-12 01:53:37 +02:00
malte_langkabel 40157039b4 src: use FilePath in FileSystem::getFileNamesFromDirectory 2017-05-11 16:30:14 +02:00
malte_langkabel 156c3d4b9f src: refactor UUIDUtility to conform with our coding conventions 2017-05-11 15:02:07 +02:00
Andreas Stallinger 4dcfe34485 logic: fixed template error on linux 2017-05-11 13:48:21 +02:00
malte_langkabel d160f38cbd build: remove setup.exe from windows package
* removed the exe since it does nothing but call the msi
* also fixed a missing include when building with DEPLOY on windows
2017-05-11 13:12:36 +02:00
malte_langkabel 1d1acc32f4 ui: improve item descriptions in application settings dialog 2017-05-11 11:15:44 +02:00
malte_langkabel 8a92453d60 logic: fix update of Java indexer to new version of Java dependencies
* reapplied previous reverts
* added cache for TypeSolvers in Java code
2017-05-10 17:54:21 +02:00
Andreas Stallinger f9a6c1ac09 build: remove manual build from master branch 2017-05-10 16:42:16 +02:00
Andreas Stallinger df7cdd2e7c build: gitlabci - job for licensegen and cleanup
* using template in yaml
* job for keygen added
2017-05-10 16:25:32 +02:00
Andreas Stallinger d100aca5fc build: gitlab-ci names for artifacts
* names for gitlab artifacts
* fix Linux package qt platforms lib
2017-05-10 16:09:43 +02:00
Eberhard Graether 960ca6703e logic: Fix indexing progress dialog not updated when fetching storage 2017-05-10 15:52:24 +02:00
Andreas Stallinger 2136e30a48 build: fixes to build on linux
*   dont use Q_PROCESSOR macros for 32/64 getArchitectureType
    move the function from lib_gui to lib
*   added missing include
2017-05-10 15:33:31 +02:00
Eberhard Graether f3cd9a1770 data: Fixed inconsistent node data in IntermediateStorage 2017-05-10 13:24:32 +02:00
Eberhard Graether 4b9c9858b7 data: Save timestamp of project indexing and show it in overview 2017-05-09 23:47:34 +02:00
Eberhard Graether 3fdd24f038 data: Fixes in indexing
* Show status update for every indexed translation unit and only once
* Save nodes in same order they were indexed
2017-05-09 22:55:49 +02:00
Eberhard Graether f4caacacf2 ui: Added history of last active symbols to UI and menu (issue 151)
* holding down back or forward button shows list of current back-forward stack
* added narrow button between back and forward to show the list
* added History menu
* moved back and forward actions to History menu
* show chronological list of recently active symbols in History menu

bug id = 151

fortune cookie message = Dein Geschäft wird gut laufen und expandieren.
2017-05-09 17:14:43 +02:00
Eberhard Graether bb8c2ae5a9 data: Set correct name delimiter per language in parsers 2017-05-09 16:25:58 +02:00
malte_langkabel 329544530d logic: fix crash when running 32 and 64 bit versions in parallel
fixed by making memory name of garbage collector depend on architecture type of sourcetrail binary
2017-05-09 15:07:18 +02:00
Eberhard Graether f3de8b5ae4 ui: Changed menu action to "Bookmark Active Symbol" 2017-05-08 17:15:54 +02:00
Eberhard Graether c0e3726b2d build: Changelog for 0.12 (beta) 2017-05-08 17:13:31 +02:00
Andreas Stallinger 12a3c7750f script: linux deinstall script fix
* linux deinstall script replaced / with -
* added categories in sourcetrail.desktop
2017-05-08 12:49:33 +00:00
Eberhard Graether 14fa67b909 logic: Limit multi process indexing to projects with C/C++ source groups 2017-05-08 14:45:37 +02:00
Eberhard Graether ad1a48bce4 Revert "logic: update java indexer to new version of Java dependencies"
This reverts commit da2b44bd25.
2017-05-08 14:17:22 +02:00
Eberhard Graether a224d42079 Revert "logic: java update linux"
This reverts commit 3864dc1fb1.
2017-05-08 14:17:03 +02:00
Eberhard Graether cacd97fa9c Revert "logic: update java on MacOS"
This reverts commit fa329be35f.
2017-05-08 14:16:34 +02:00
malte_langkabel f65aee612a build: fix windows CMake error
* fixed by converting backslashes in boost path to slashes
2017-05-08 14:03:15 +02:00
Eberhard Graether a1a709b049 logic: Fix trail graph check in MessageFlushUpdates handler of GraphController 2017-05-08 12:28:06 +02:00
Andreas Stallinger b729bf0a9a build: symlink for test/data 2017-05-08 07:18:23 +00:00
Eberhard Graether e5cad53e85 ui: Click edges in trail to show source location 2017-05-06 22:56:17 +02:00
Andreas Stallinger f5979f5ead build: fix missing include for linux
added thread include
2017-05-05 20:12:10 +00:00
malte_langkabel e8a24d3d98 logic: release fixes
* disable windows error dialogs on application crash for indexer target
* show indexing dialog at the start of indexing task instead of waiting for processes to start
* fix escaping path to binary for indexer process
* join garbagecollector thread when stopping
* fix compile errors related to FilePath in deploy mode on windows
2017-05-05 16:37:48 +02:00
Eberhard Graether 562e623930 utility: use non throwing try_lock approach when creating named mutex for shared memory 2017-05-05 16:31:51 +02:00
Eberhard Graether 8f44ad4a47 ui: Fixes for release
* updated keyboard shortcuts
* graph zooming also with Ctrl + Mouse Wheel
* display include and macro edges behind nodes
* allow more file search results
2017-05-05 12:40:51 +02:00
Eberhard Graether 9c6114336c data: Fixed TaskBuildIndex stops fetching when indexer commands are out and waits for indexer threads to stop first 2017-05-05 12:37:16 +02:00
Eberhard Graether fa329be35f logic: update java on MacOS 2017-05-05 12:35:59 +02:00
Andreas Stallinger 3864dc1fb1 logic: java update linux 2017-05-05 10:05:27 +00:00
malte_langkabel c93d5aa9f0 ui: add dialog to warn about active "verbose indexer logging" on refresh
* also featuring: remove unnecessary call in ParserClientImpl
2017-05-05 11:37:25 +02:00
malte_langkabel da2b44bd25 logic: update java indexer to new version of Java dependencies
* JavaSymbolSolver: Commit fac13d99
* JavaParser: Tag 3.2.0
2017-05-04 17:06:28 +02:00
Eberhard Graether d096106ec5 ui: improvements on trail layout
* increased spacing around graph
* fixed graph lagging on message focus out
* fixed level assignment fails
* fixed dead ends in cyclic graph removal
* improved node positioning by grouping to same average position
* fixed graph image export not centering graph
* fixed black dot at graph origin
* show status updates while creating trails
2017-05-04 16:46:17 +02:00
Eberhard Graether 706119ebcc data: indexer processes
* TaskBuildIndex starts seperate indexer processes and communicates via shared memory
* indexer processes get restarted if they fail
* indexer processes are killed when the app closes or crashes
* added utility class SharedMemory to allocate and access shared memory, providing basic data structures
* added SharedMemoryGarbageCollector for keeping track of running instances and cleaning up shared memory in case of a crash
* show errors for source files that crashed during indexing
* added basic exception handling to task scheduling
* added option to turn off processes and use threads in preferences, but still use shared memory

fortune cookie message = Good news from someone dear is coming soon.
2017-05-04 15:50:59 +02:00
Eberhard Graether 9beea94fd8 src: Removed ApplicationStateMonitor 2017-05-04 13:49:38 +02:00
Andreas Stallinger 29b07473fe src: fix filepath refactoring on linux
<description>
2017-05-04 12:33:28 +02:00
Eberhard Graether e8c01ae2ce logic: Fixed concurrency issues in TaskGroupParallel causing scheduler freeze 2017-05-04 11:57:52 +02:00
Eberhard Graether 74da2c7de9 src: fixes for FilePath refactoring on clang 2017-05-04 11:54:45 +02:00
malte_langkabel f46e9866fb build: try to fix compile error in our linux pipeline 2017-05-04 11:17:36 +02:00
malte_langkabel 054b8fab17 logic: reduce access to filesystem while indexing
* use canonical filepath cache in cxx indexer
* made constructors of FilePath explicit
* use FilePath at more places instead of string
* forward declares FilePath wherever possible
2017-05-04 10:55:16 +02:00
Andreas Stallinger 55d3f9c189 fix: 64bit builder segault
returning a bool seem to cause a seg fault on the linux 64 bit builder
since it is not used anyway i changed it back to the void return.
(dont know why it is a seg fault)
2017-05-03 11:22:28 +00:00
Eberhard Graether e33be096a6 logic: Disable bookmark creation when overview or errors are shown 2017-04-26 16:44:49 +02:00
Eberhard Graether b98444c15e ui: styled trail navigation
* added icons to buttons
* added toggle for collapsing and expanding controls
* added controls visibility to app settings
* fixed low contrast for disabled buttons in bright color scheme
2017-04-26 15:38:55 +02:00
malte_langkabel bf094b52da logic: fix initialization of source groups
SourceGroups have been initialized with wrong default values which
have later been used to write for writing the ProjectSettings file
if not overwritten.
2017-04-26 11:24:13 +02:00
Eberhard Graether 0468168d61 ui: Fixes and improvements for bookmarks
* moved bookmark buttons behind search bar
* suggest qualified name when creating, file name for files
* fixed bug when updating bookmark category
* changed comment toggle arrow
* changed edit and delete icons
* fixed undo for edge bookmarks
* keep categories always alphabetical regardless of subsorting
* keep category expansion state when opening and closing browser
* removed QtBookmarkBar, moved logic into QtBookmarkView
* added bookmarks Menu with shortcuts
	Ctrl + D: Create Bookmark
	Ctrl + B: Bookmark Manager
2017-04-26 00:33:34 +02:00
malte_langkabel 4ac41de61e web: fix inaccuracies in the documentation 2017-04-25 17:20:59 +02:00
malte_langkabel f6f7861ff1 logic: improve SQLite injection performance
* removed unique constraints again and added manual checks and db indices
2017-04-25 13:19:43 +02:00
malte_langkabel e669064452 logic: Add unique constraints to SQLite tables 2017-04-24 17:38:16 +02:00
Eberhard Graether 4bfe59df76 data: Fixed file complete flag not set when retrieving single source locations in SourceLocationCollection 2017-04-24 01:46:42 +02:00
Eberhard Graether f0b7dcdcdd ui: Show call graphs, inheritance trees and include trees for active symbol (issue 249 337)
* Added TrailLayouter with Sugiyama dependency layouting
* Layouter supports horizontal and vertical layouts
* Added basic ui to graph view for showing incoming and outgoing paths
* Added depth slider, with infinity at maximum
* Disable trail ui when not available
* Added trail messages to undo stack and only use last one when undoing
* Added QtGraphLineBezier for trail graphs and refactored other line types
* Disabled edge activation for trail layouts, shown only visually
* Highlight all connected edges when hovering a node in trail layout
* Use different color when highlighting call edges for better contrast
* Fixed BucketLayouter issue when edge does not leave node
* Increased click area for angled edges

bug id = 249 337

fortune cookie message = Answer just what the heart prompts to you.
2017-04-24 01:14:53 +02:00
Eberhard Graether 01bd0efefb logic: run message handling in parallel per message 2017-04-19 14:26:28 +02:00
Eberhard Graether 33ff346d3b logic: Fixed refresh not recognizing added files 2017-04-19 14:03:10 +02:00
Eberhard Graether 9d718d6a87 logic: Show unknown progress dialog when refreshing (issue 341)
* refactored dialog handling
* Application always provides a DialogView instance

bug id = 341
2017-04-19 13:04:46 +02:00
Eberhard Graether c4deca4662 ui: Added show files button to summary of compilation database project setup (issue 354)
bug id = 354
2017-04-18 22:41:41 +02:00
Eberhard Graether 63087913bd data: Option to run only C/C++ preprocessor when indexing (issue 297)
* Added as checkbox to indexing start dialog
* Only shown for C/C++ projects
* Files will be marked incomplete
2017-04-18 22:11:20 +02:00
malte_langkabel 2b24b88745 data: bookmark refactoring
* implemented handling of aggregations in bookmarks
* split index Storage and bookmark storage
* each sqlite database has its own version now
* added bookmark tests
* fixed creating bookmark tables when project can be loaded but bookmark db does not exist
* fixed font size for bookmarkview tooltips
* using bookmark cache now
* using default category name when none specified by the user
* raising bookmark windows when they should be shown
* clearing a bookmark or category in the editor will now update the star icon accordingly
* non-persistent bookmarks use ids of nodes and edges now (instead of names)
* git ignore .srctrlbm files
2017-04-17 10:55:59 +02:00
Eberhard Graether 6cd6552343 data: improvements on error management
* mark all files with errors as incomplete
* fix incomplete label in codeview tooltip not updated properly
* added setting for canceling indexing for files with fatal errors
2017-04-15 17:57:20 +02:00
Eberhard Graether 8dc5ac7cbe data: stop indexing of files with fatal errors and store them as incomplete (issue 358)
* avoid AST traversial for CXX translation units with fatal errors
* save all files within those translation units as incomplete
* show number of complete files in finished indexing dialog and overview stats
* display incomplete files hatched in graph view
* display incomplete file titles hatched in code view
* mention file incompleteness in tooltips
* removed derived Indexer classes and set ParserType via template parameter instead
* moved getSourceFileFromCDB from IndexerCxxCdb to IndexerCommandCxxCdb

bug id = 358
2017-04-15 01:02:09 +02:00
Eberhard Graether 2b38e0f45e src: Fixed C++ source extensions and standard saved to compilation database source group
bug id = 366
2017-04-14 12:57:32 +02:00
Eberhard Graether 8faad97178 build: Changelog for release 0.11.86 2017-04-12 12:29:10 +02:00
Eberhard Graether 8765cffac0 web: Name switch blog post 2017-04-12 12:21:27 +02:00
malte_langkabel 6e342fa87c logic: terminating all running tasks before closing the application (issue #343) 2017-04-12 10:46:56 +02:00
Eberhard Graether 0e4b606c7c src: Fixed FileRegisterStateData synchronisation 2017-04-12 00:38:48 +02:00
malte_langkabel b9d1f5367c logic: skip saving duplicate data
* check for duplicates in intermediate storage
* added unique constraints to sqlite tables
2017-04-11 18:56:15 +02:00
Andreas Stallinger 2a6af01ee8 ui: enter license window resized 2017-04-11 14:16:57 +02:00
malte_langkabel c78fe0d8d4 logic: Use all available cores when setting indexer threads to 0 (issue #342) 2017-04-11 13:42:20 +02:00
malte_langkabel 498933d0aa logic: fix windows uninstall if both 32 and 64 bit are installed
* using different GUIDs for 32 and 64 bit components
2017-04-11 13:37:03 +02:00
Eberhard Graether 06917304bb src: Disabled bookmarking for upcoming release 2017-04-11 10:14:46 +02:00
Eberhard Graether 862d140695 web: Switched documentation to Google Analytics 2017-04-11 10:03:16 +02:00
Eberhard Graether c6a0f0b000 ui: fixes for release
* fixed NameHierarchy delimiter not set when project settings need to be migrated
* fixed codeview does not scroll to linenumber in single file mode when activating symbol in changed file
2017-04-11 09:42:46 +02:00
malte_langkabel 23341d63d0 ui: reset window layout option in view menu 2017-04-10 18:45:32 +02:00
malte_langkabel 050e31c1fd logic: fix copying old settings from coati 64 bit to sourcetrail on windows 2017-04-10 17:45:27 +02:00
malte_langkabel 7421ef85d1 data: update windows installer images to sourcetrail 2017-04-10 17:36:46 +02:00
Andreas Stallinger 17c0189a83 build: get rid of some compiler warnings
<description>
2017-04-10 15:51:26 +02:00
malte_langkabel 85f4262787 logic: fix maven detection was slow when no maven installed on windows system 2017-04-10 15:41:39 +02:00
malte_langkabel 635bf70076 logic: ping related updates
* ping is now sent on window focus
* remove ping result from status view
2017-04-10 12:09:58 +02:00
malte_langkabel d4d3decfb9 logic: fix log file did not have a name 2017-04-10 11:02:12 +02:00
Eberhard Graether 6ba93ca39f src: more bug fixes
* fixed snippets added twice on token reactivation for errors and fulltext search results
* fixed colorscheme gets refreshed when cancelling preferences
* scroll to first line in errors table after indexing and showing view
* fixed file not properly expanded when snippet covers full file
* fixed project type naming in project setup
* fixed set delimiter of NameHierarchy for projects that can't be loaded yet
* changed language order for project setup
2017-04-07 17:14:34 +02:00
Andreas Stallinger 5570458e53 build: use coati docker images
there is no sourcetrail docker image
2017-04-07 13:28:01 +02:00
Andreas Stallinger 045a259b2e build: renaming to sourcetrail 2017-04-07 13:19:09 +02:00
Eberhard Graether 8391a6da57 src: Bug fixes
* fixed - to _ in color schemes
* fixed yoda talk in Tutorial
* fixed graph node with no children but qualifier has expand toggle
* added placeholder and file filter for maven detection on MacOS
* fixed NameHierarchy delimiter wrong in SearchIndex
2017-04-06 16:53:17 +02:00
Andreas Stallinger 30dda62970 ui: Maven Preferences on linux
* maven filter and placeholder for linux in preferences
2017-04-03 11:36:06 +02:00
malte_langkabel 63a1fe9b80 logic: treat VS project as CDB source group after creation 2017-04-03 10:39:55 +02:00
malte_langkabel 9947e83846 logic: allow usage of blank spaces in maven path 2017-04-03 10:10:16 +02:00
malte_langkabel da063377cd build: fix cyclic file dependencies that break the build on Linux 2017-04-03 09:53:04 +02:00
malte_langkabel 0f94104005 build: enable fast linking for windows debug builds 2017-04-03 08:55:53 +02:00
malte_langkabel 7b30ac18de logic: source groups for project settings
* project can not have multiple source groups with different types
* language of a project is now inferred from source groups
* setting global NameHierarchy delimiter of first sourceGroup in project
* added project settings migrations for source groups
* Add Settings Migration classes (MoveKey, DeleteKey, Lambda)
* Update sample projects with migrations
* added method to config to retrieve sublevel key names
* implemented recursive removing of keys in settings
* moved project files out of top level
* removed solution parsing code as it is not used anymore

fortune cookie message = The secret of getting ahead is getting started.
2017-03-31 16:11:37 +02:00
wrongway88 25f3c4666a src: Logger Utility
Added logger utility and outsourced file name creation for file loggers to it
2017-03-29 22:56:37 +02:00
wrongway88 abf7c723a2 src: hotfix
Added missing stl functional include
2017-03-28 22:32:33 +02:00
Eberhard Graether 4e9ba897ac src: Refactored TokenLocation classes to SourceLocation classes
* Removed TokenLocationLine
* decoupled TokenLocationFile from TokenLocationCollection
* save vector of Token ids to SourceLocation
* refactored SourceLocationFile::getFilteredByLines()
* refactored snippet creation
2017-03-25 02:05:48 +01:00
malte_langkabel 4c64822504 web: add blog post "How to Integrate Maven into Your Own Java Tool" 2017-03-23 15:06:19 +01:00
Andreas Stallinger d33e137451 fix: contextmenu getInstance added 2017-03-23 12:53:06 +01:00
Andreas Stallinger 591b66fe77 build: linux symlink
linux symlink moved from setup script to cmake
2017-03-22 18:54:29 +01:00
Andreas Stallinger 9846bbc014 ui: Enable/Disable undo/redo contextmenu 2017-03-22 17:49:47 +01:00
malte_langkabel b72d6a2e3b data: reference gui data for bookmarks in wix installer 2017-03-22 09:52:37 +01:00
Eberhard Graether faf0ab3ac7 ui: Updated style of QtBookmarkBrowser 2017-03-21 17:05:23 +01:00
Eberhard Graether 8ffc2f281c ui: Fixed layout of QtBookmarkBrowser
* fixed window size and resizing
* fixed layout and spacing
* removed focus rects on Mac
* fixed filter dropdown style for Mac
* reuse button handling from QtWindow
* use different colors for category and bookmark rows
* allow clicking full row for expansion
* show edit and delete button only on hover
* ellide bookmark name when little space
2017-03-20 15:01:18 +01:00
malte_langkabel a96bba67cb data: added missing component for Maven icon to WIX setup 2017-03-20 14:18:22 +01:00
Eberhard Graether 42038337c0 Revert "src: Disabled bookmarking for upcoming beta release"
This reverts commit 9807bf856a.
2017-03-20 12:42:14 +01:00
malte_langkabel cdf5a81af9 ui: fixed animated scroll in single file code view 2017-03-20 11:11:03 +01:00
malte_langkabel 4f77f073f0 logic: update java indexer
* update to use JavaSymbolSolver 0.5.2.x (fce40b67)
* update to use JavaParse 3.1.2 (4537e57a)
* implemented solving constructor calls instead of just recording a type usage here
2017-03-19 16:11:55 +01:00
Eberhard Graether 9807bf856a src: Disabled bookmarking for upcoming beta release 2017-03-17 14:30:52 +01:00
Eberhard Graether ffafc55273 ui: Fixed layout of QtBookmarkCreator
* fixed window size and resizing
* fixed layout and spacing
* removed focus rects on Mac
* fixed category dropdown style for Mac
* reuse button handling from QtWindow
* updated QtBookmarkBar buttons to new icon creation
2017-03-17 13:36:34 +01:00
malte_langkabel 5fea315cc9 ui: Add status dialog for Maven project setup 2017-03-17 13:18:48 +01:00
Eberhard Graether 139c49805d src: cleaned up StorageAccess 2017-03-17 00:47:01 +01:00
Eberhard Graether 630009a2ba logic: Refactored undo redo stack
* Store MessageActivateTokens instead of original view messages
* Renamed FeatureController to ActivationController
* Remove all non-activation messages from undo redo stack after reindexing project
* Added MessageShowReference to undo redo stack
* Added MessageScrollGraph for restoring graph view scroll position
* Fixed MessageGraphNodeMove not saved for bundles
* Refactored tokenIds and nodeNames in SearchMatch and MessageActivateTokens
* Refactored SearchController
* Fixed file expansion on undoing/redoing after switching code view mode
* Fixed redundant graph animation due to present qualifier nodes
* Fixed no restoring of graph node expansion when showing overview in between
2017-03-16 23:24:33 +01:00
Eberhard Graether aa49fffca6 src: fixed clang warnings 2017-03-15 12:58:06 +01:00
Andreas Stallinger c8404aa83d fix: no dialogs in headless mode 2017-03-14 18:22:46 +01:00
malte_langkabel a8edf47685 ui: added Maven project icon 2017-03-13 14:54:39 +01:00
Andreas Stallinger 2d2a439b30 utilty: sourcetrail license generator
* generate sourcetrail licenses
* get version from loaded license
2017-03-13 10:29:45 +01:00
malte_langkabel 8533ad7535 logic: minor maven fixes
* changed maven related value name in project settings
* fixed JavaProjectSettings to return correct ProjectType for Maven project
2017-03-09 11:57:22 +01:00
malte_langkabel 3cbe83f9e6 logic: maven project setup
* added option to create a Coati project from a Maven POM file
* show list of indexed file paths in maven project setup
* use FileManager to detect indexed files in project setup (except cdb)
* added Maven path to preferences window and added path detectors.
* fixed: QtDialogView::hideStatusDialog now also hides loader in status bar.
* refactored ProjectType

fortune cookie message = If you continually give, you will continually have.
2017-03-08 14:55:42 +01:00
Andreas Stallinger d6f3099981 build: Linux desktop file
validation of desktop file on some linux distros went wrong without the
semicolon
2017-03-07 16:42:22 +01:00
malte_langkabel 235a224f12 logic: implemented skipping implicit code in CxxForRangeStatements 2017-03-06 16:41:10 +01:00
malte_langkabel bcc71d630f build: hide console when running release builds on windows 2017-03-06 12:59:58 +01:00
malte_langkabel 476e731b9e build: building windows releases with .pdb files now to debug customer crashes with .dmp files 2017-03-03 19:49:39 +01:00
Andreas Stallinger 928ff49b74 build: dependencies added to testgen
* prebuild should now update correct, if new tests or test are deleted
2017-03-03 16:16:41 +01:00
Andreas Stallinger f5dfafe091 logic: license seats, startscreen
* license info on startscreen
* volume license
* license generator update
2017-03-03 13:49:05 +01:00
Eberhard Graether a1d8100215 web: blog post for Release 0.11 2017-03-01 13:09:49 +01:00
Eberhard Graether 6a0cf7dbb4 web: updated documentation to Release 0.11 2017-03-01 11:28:29 +01:00
malte_langkabel 67f97071e0 ui: fixed naming of 64 bit windows path detector
* also removed LibLincense dependencies on Lib because they are linked the other way round
2017-02-27 11:21:52 +01:00
Andreas Stallinger eac48596ad logic: Licenses with seats 2017-02-27 09:53:39 +01:00
Eberhard Graether 0423a86a63 script: Added RTTI flag to clang build command in README 2017-02-24 15:35:23 +01:00
Eberhard Graether a80d8761d8 blog: Coati birthday post 2017-02-24 15:28:27 +01:00
wrongway88 e6f7e61a5f logic: vs plugin cdb writing
cdb data will now be written to file immediatly instead of stored and then written all at once
this might solve memory issues for very large projects, but also increases parsing time (added concurency)
2017-02-23 00:01:18 +01:00
malte_langkabel 4563cbe90a logic: indexer commands
* replaced parser arguments by project specific IndexerCommands that know everything the indexer needs to know to do its job
* added different language and project specific indexers that know how to handle a certain kind of indexer command
* refactored FileManager and FileRegister to have less overhead
* removed no-rtti restriction for clang files in lib cxx
* uncommented deprecated interprocess code.

fortune cookie message = Happiness will bring you good luck.
2017-02-22 16:42:20 +01:00
malte_langkabel 650cd8101e data: removed QT dlls from repo
removeing qt dlls from repo since they need so much space. fetching them from qt install dir in setup script now.
2017-02-22 12:12:46 +01:00
Eberhard Graether a0d3bd272c ui: Fixed scrolling to active symbol when clicking on active graph view node 2017-02-22 04:58:54 +01:00
Eberhard Graether 224f0b05f9 ui: fixed method names disappearing in code view after being deselected 2017-02-22 04:30:48 +01:00
Eberhard Graether 79fc78a518 ui: Fixed shortcuts dialog
* fixed table sizes
* fixed scrolling for MacOS
* fixed couldn't resize dialog
2017-02-22 03:17:35 +01:00
wrongway88 c895179ace ui: vs plugin dialog
Improved dialog for finished cdbs
2017-02-21 21:29:03 +01:00
Andreas Stallinger f257a207f4 script: publish script, switch back to branch
switch back to branch if rebase does not work
2017-02-21 18:01:23 +01:00
Andreas Stallinger 0e5cc4bf7a build: fix build on Unix systems
* throw std::exception replaced with throw error
* MANAGER to Manager in CMakelists
2017-02-21 17:46:09 +01:00
wrongway88 1fbc16e098 logic: interprocess utility
Added basic interprocess utility
2017-02-21 17:12:35 +01:00
Andreas Stallinger 9673685165 build: manual jobs added to ci 2017-02-21 14:06:51 +01:00
Eberhard Graether 77ef076c88 ui: Show definition in code view when clicking active node in graph 2017-02-21 00:37:19 +01:00
Eberhard Graether 4a230b1d94 logic: Fixed full text search messages not stacked consecutively 2017-02-21 00:17:32 +01:00
Eberhard Graether 02850baf9c logic: Fixed error activation from code caused another show error message 2017-02-21 00:14:02 +01:00
Eberhard Graether d02e3e74d0 ui: Fixed moving bundle nodes was not stored in undo stack 2017-02-21 00:10:49 +01:00
Eberhard Graether 04a5abdf98 data: Fixed file id retrieval for file in search match 2017-02-20 11:24:01 +01:00
Eberhard Graether 5dc901ea13 build: Added changelog for release 0.11.0 2017-02-19 20:57:05 +01:00
Eberhard Graether 558f0451af Revert "src: Disabled bookmarking for upcoming release"
This reverts commit 356c753f13.
2017-02-19 20:48:17 +01:00
wrongway88 ed9ff6d1bc ui: plugin ping
added update pings on token activation (just to have a somewhat regularly reoccuring event to trigger the ping)
2017-02-16 20:30:22 +01:00
wrongway88 50df7cace2 logic: vs plugin fix
fixed issue with include path retreival
2017-02-16 16:39:21 +01:00
wrongway88 18153a2ac5 logic: VS Plugin logging/exception handling
Added some additional logging and exception handling to solution parser
2017-02-16 00:32:39 +01:00
Andreas Stallinger 217e9ceff2 build: linux package names
* linux packages names to 64bit/32bit instead of x86_64/i686
2017-02-15 12:51:28 +01:00
Andreas Stallinger c028d28ffd build: ci tag push 2017-02-15 12:10:46 +01:00
malte_langkabel 1c1e792fcf logic: anonymous namespace locations
* removed special treatment of anonymous symbols when retrieving their source location. Now their source location is just the "{" character at the start of the namespace's scope.
2017-02-15 11:36:04 +01:00
Eberhard Graether 1fca7d2f29 ui: Fixed namespace shown as separate node in graph when 'using namespace' edge is visible 2017-02-15 11:03:50 +01:00
malte_langkabel 21fb8476ae logic: fixed context node name of reference when context is a file 2017-02-15 10:45:29 +01:00
Eberhard Graether 8fca305fdd ui: Don't accept rich text in enter license field
bug id = 207
2017-02-15 00:08:28 +01:00
Eberhard Graether fcac720ea9 src: Fixes for release
* reduced contrast for overview bundle starting character titles
* put 3rd party licenses into Mac bundle
* check edges for 'importing files' bundle as well in case node types are not set
2017-02-14 23:44:27 +01:00
malte_langkabel 3359f25427 data: updated EULA
* updated EULA to reflect Test Licenses and made some minor changes
* moved 3rd party licenses to app data folder
* fixed crashes in headless mode
2017-02-14 15:53:36 +01:00
Eberhard Graether 591f723b82 ui: Fixed icons in setup dialogs blurry on high DPI screens 2017-02-14 13:39:01 +01:00
Eberhard Graether 78f8fdc552 build: Updated 3rd party licenses 2017-02-14 11:53:07 +01:00
Andreas Stallinger 97a021c97b build: Linux package readme
* added readme to linux packages
2017-02-14 11:29:01 +01:00
Eberhard Graether f63f4b360a ui: Added link to additional preindexed projects to trial 2017-02-14 11:26:47 +01:00
malte_langkabel 32bb8347cd logic: fixed interrupting cxx ast visiting 2017-02-14 11:10:14 +01:00
Eberhard Graether d0b49a68a3 ui: Show trial in window title 2017-02-14 11:02:19 +01:00
Eberhard Graether bd17bd3573 ui: Count by connected sub node for non-indexed bundles 2017-02-14 10:45:56 +01:00
malte_langkabel 1520b8bfbf logic: implemented skipping to record calls to the constructor of a generated lambda class. 2017-02-14 10:35:11 +01:00
Eberhard Graether a6bc9c5465 ui: Bigger offset for bigger circle in graph node bundle 2017-02-13 23:02:53 +01:00
Eberhard Graether be82e2a24e src: Fixed issues with relative paths 2017-02-13 22:45:59 +01:00
Eberhard Graether 1d133492ed data: Fixed file node finding in search and undoing file activations in graph 2017-02-13 22:31:42 +01:00
Eberhard Graether 356c753f13 src: Disabled bookmarking for upcoming release 2017-02-13 21:21:50 +01:00
Eberhard Graether d527991b46 src: Reviewed old files touched by bookmarks commit
* Removed some unused changes
* Disabled "No IDE connected" message in status bar
* Use threaded functor in status bar view
2017-02-13 20:55:37 +01:00
Eberhard Graether 637da119aa logic: Cleaned up LogManager and setupLogging call 2017-02-13 20:25:24 +01:00
Eberhard Graether 259b112080 logic: Fixed code view single not cleared properly in some cases 2017-02-13 13:20:20 +01:00
malte_langkabel 8a93bebff8 logic: fixed a crash when saving the app settings 2017-02-13 13:14:56 +01:00
Eberhard Graether 2ade5ca976 logic: Fixed every project trying to load from cdb, added warning for trial mode on failed refresh 2017-02-13 12:40:45 +01:00
malte_langkabel d5e2bbb17c logic: recording node type of a cxx namespace in a using directive
* also fixed tests to be executed in the same order on every platform
2017-02-13 10:29:27 +01:00
Eberhard Graether 0ceff0203c ui: Revised project setup to customer feedback
* Support environment variables in compilation database path
* Moved advanced option (compiler flags & exclude paths) to separate dialog
* Allow environment variables that contain multiple paths
* Renamed 'Project Name' to 'Coati Project Name'
* Renamed 'Project File Location' to 'Coati Project Location'
* Renamed 'Project Paths' to 'Indexed Paths'
* Make all paths chosen by path picker relative to the project location
* Disabled name and location changing in project editing and removed project moving
* Added sub-titles to project setup dialogs
* Warn user when no Indexed Header Paths were set
* Deprecated lazy include search: It's only useable and visible to projects holding the key
* Split default file extensions for C++ and C

bug ids = 234 254 283 293 312 335
2017-02-13 01:02:09 +01:00
Eberhard Graether 17d9c87a5d build: Fixed clang errors and warnings, incremented storage version 2017-02-13 00:32:52 +01:00
wrongway88 97fd40fe9b ui: bookmarks
can now bookmark tokens
2017-02-12 15:06:07 +01:00
wrongway88 e1d2c3a4e0 logic: minor vs plugin fix
fixed some minor plugin issues
2017-02-11 19:08:59 +01:00
Eberhard Graether 0eb959bf54 logic: Allow project opening in trial mode
* added open project button to start screen in trial mode
* allow ide communication in trial
2017-02-11 17:22:14 +01:00
Eberhard Graether ba984121a2 ui: Fixed jumping to character in overview bundle broken when _ present 2017-02-11 16:36:40 +01:00
Eberhard Graether 06c2976959 data: Only record name specifiers within project files
* Use const references in Traverse methods of CxxAstVisitorComponent
* Only record symbol kinds of name specifiers within project files
* Moved main file check in within unindexed project file check
2017-02-11 15:42:29 +01:00
malte_langkabel 10e9a4a70d logic: recording symbol kinds cxx name specifiers (e.g. "std" in "std::string") 2017-02-10 17:09:02 +01:00
Eberhard Graether b13dbf2f2d ui: Fixed issues with error UI
* load error icon only once and reuse
* fixed error not activated when selecting from list

bug id = 287
2017-02-10 16:21:21 +01:00
Eberhard Graether 3a540285a3 logic: Show non-indexed nodes within their parents and their childs
* Added support for access nodes without title
2017-02-10 14:49:26 +01:00
Eberhard Graether e2a6d4e237 logic: Check whether nodes were not already added as symbols in namespace graph retrieval 2017-02-10 01:39:18 +01:00
Eberhard Graether 9a67835882 data: Updated color schemes to new node type names 2017-02-10 01:07:11 +01:00
Eberhard Graether ab7fdac2f8 logic: Fixed non-indexed symbols were not shown as namespace contents 2017-02-10 00:54:04 +01:00
Eberhard Graether bfb997d35f logic: Fixed SearchMatch sorting not updated after rescoring
* also ignore template section in SearchMatch sorting
2017-02-09 23:54:21 +01:00
Eberhard Graether b423b41836 ui: Fixed scrolling in code view list mode broken for Mac touchpad 2017-02-09 19:22:52 +01:00
Eberhard Graether 3b89bad424 ui: Disabled syntax highlighting for project description
* Also made syntax highlighting dependent on file ending of source file
2017-02-09 16:05:20 +01:00
Eberhard Graether e08f7ce2c0 ui: Fixed different font faces cause graph nodes to expand to more grid cells 2017-02-09 15:26:14 +01:00
Eberhard Graether 06676eda66 logic: Fixed comparing of project files to ignore carriage return characters 2017-02-09 13:37:40 +01:00
Eberhard Graether 83a6817d57 build: Fixed MacOS bundle for new build setup
* Removed libLTO
* Removed boost libraries
* Fixed wrong READMEs in plugin directories

bug id = 315
2017-02-08 16:10:16 +01:00
Andreas Stallinger bb4cc9662c build: ci fix
* test paths changed
* moving javatest to the back caused sometimes error if run before other test
2017-02-07 13:06:47 +01:00
malte_langkabel d988af2ea9 logic: adding vs compatibility flags to new project when Coati is using global includes of Visual Studio
* also added distinct path detectors for 32 and 64 bit Visual Studio
2017-02-07 12:44:08 +01:00
Andreas Stallinger a2e88b9048 build: changed CI test paths 2017-02-07 12:34:30 +01:00
malte_langkabel 1bb25140a7 ui: renamed undefined to non-indexed and made node/edge names more readable 2017-02-06 16:18:00 +01:00
malte_langkabel be1a44a763 ui: file clearing progress
* display some progress information when clearing files
2017-02-06 13:02:15 +01:00
Eberhard Graether 9177073ac3 ui: Added Java specific keywords to syntax highlighting and distinguish by project language 2017-02-06 11:22:57 +01:00
Eberhard Graether 9ebb46f1b5 script: updated build.sh script and git_pre_commit hook to new build directory 2017-02-06 10:57:51 +01:00
malte_langkabel 7f2db69995 build: offer windows 64 bit build (issue #300)
* update to clang/llvm to 3.9
* update to qt 5.8
* fixed windows javapathdetector for 64 bit java.
* added LibGui as dependency to tests
* fixed legacy Java 6 install necessary on MacOS
* fixed setting of user path for 64 bit build
* added missing pngs to windows installer
* renamed graph zoom button images
* reverted moving of setupLogging call to fix crash on deployed exe

fortune cookie message = An old acquaintance will enter your life.
2017-02-03 14:31:43 +01:00
Manuel Dobusch 8c0f9f2de4 logic: vs plugin multithreading
added simple multithreading for cdb creation
2017-02-02 17:03:52 +01:00
Eberhard Graether 52b0cd2017 ui: redesigned graph overview and use new list layouting within overview bundles
* overview bundles imitate style of bundled node type
* removed bundle for built-in types
* show contents of overview bundle in vertical list layouted with new ListLayouter
* nodes starting with the same letter are grouped with the letter displayed above
* pressing the letter key will scroll to the group
* also use this list layouting for namespace & package contents
* renamed BucketGrid to BucketLayouter
* moved used functions of GraphPostProcessor to GraphViewStyle and removed GraphPostProcessor

fortune cookie message = Don't be afraid to take that big step
2017-02-02 13:29:40 +01:00
Eberhard Graether 993d66727d ui: Set move and select cursors for drag interactions in code view 2017-02-02 00:47:30 +01:00
Eberhard Graether 81ee6eca60 src: Fixed macro syntax in QtKeyboardShortcuts 2017-02-02 00:45:33 +01:00
Manuel Dobusch 37f0d645fd ui: 3rd party licences
Updated menu entry title to '3rd party licences'
2017-02-01 21:42:54 +01:00
Manuel Dobusch 25f8b6d385 ui: shortcut list
udpated style of shortcut list
2017-02-01 21:29:15 +01:00
Manuel Dobusch 02fad4990b logic: plugin fix
Can now handle projects with non-native build tool
2017-01-31 13:23:43 +01:00
Eberhard Graether 00cba732df ui: Added style for graph zoom buttons
* moved zoom buttons to QtGraphicsView due to stylesheet and repositioning on resize
2017-01-30 16:28:32 +01:00
Manuel Dobusch 85be119e7f ui: shortcut cheat sheet
Added a simple in-app shortcut list to the help section
2017-01-27 19:11:14 +01:00
malte_langkabel a78cb1d020 logic: fixed names of file nodes that are target of macro use edge
* fixed name of macro use edge target
* fixed generating a file nodes full path in SqliteStorage
2017-01-27 15:43:35 +01:00
Eberhard Graether f88fd92962 ui: bundle built-in types in graph view 2017-01-27 14:21:28 +01:00
Eberhard Graether b659b2ac34 ui: Show error in errors table when clicked in code view
bug id = 323
2017-01-27 14:04:55 +01:00
Eberhard Graether 7ee9624217 ui: Switched default mouse drag in code view to code selection, panning when Shift is pressed 2017-01-27 11:23:49 +01:00
Eberhard Graether 590f4138e1 data: Fix file node search with concatenated file path in storage fails for relative paths containing .. 2017-01-27 10:30:26 +01:00
Eberhard Graether a9153a8416 logic: Fixed headless Coati gets stuck in trial mode 2017-01-27 10:27:05 +01:00
Eberhard Graether 32550dcb77 ui: Fixed scrolling broken in graph view 2017-01-27 10:12:12 +01:00
Eberhard Graether 2aa8c4c22c ui: Refactored context menu API, added file path actions in graph and code
* Add 'copy full path' and 'show containing folder' actions to graph view, code view
* Added file path to file node tooltip

bug id = 320
2017-01-26 21:54:57 +01:00
Manuel Dobusch 4fc0785002 ui: company address updated
updated company address in 'about' window
2017-01-26 19:09:59 +01:00
Manuel Dobusch cdde712a2c ui: graph zoom buttons
Added simple zoom buttons to graph
2017-01-26 16:33:49 +01:00
Eberhard Graether 9583b6bbea ui: Split aggregation edges when expanding nodes if possible 2017-01-26 16:29:11 +01:00
Eberhard Graether 5e2c0f2c1f logic: Fixed trial to not refresh changed projects
It was not checked whether Coati is unlocked when refreshing an edited project. So users could change one of the sample
projects manually to index their own source code.
2017-01-26 13:18:13 +01:00
Eberhard Graether 91ae2da227 data: Uncommented lines in TicTacToe sample that use std library code 2017-01-26 12:35:06 +01:00
malte_langkabel c73599d64e logic: avoided triggering clang assertion when indexing lambda with return type that is specified but has neither declaration nor definition. (issue #318) 2017-01-23 16:51:31 +01:00
malte_langkabel 314f07c7b4 build: fixed filename in CMakeLists 2017-01-23 16:02:58 +01:00
malte_langkabel 2759018374 ui: show when type is built-in (issue #2)
* renamed DefinitionType to DefinitionKind
* passing DefinitionKind from Java to C++ instead of just a single bool
* omitting to create a symbol for undefined types

fortune cookie message = Happy news is on the way to you.
2017-01-23 15:55:29 +01:00
malte_langkabel 6ea248b500 logic: clearing unused includes
* refresh also clears referenced (included or imported) files if they are not part of the project's source files and are not referenced by any other unchanged file anymore.
2017-01-23 10:36:42 +01:00
malte_langkabel 0e5f65b475 logic: fixed bug that caused Java packages that only contain sub-packages to be recorded as undefined 2017-01-20 23:26:19 +01:00
malte_langkabel 184a1a0319 logic: fixed refreshing bug
* fixed bug where coati didn't recognize file dependencies because each file actually had two different nodes.
2017-01-19 13:44:14 +01:00
malte_langkabel 212c0e71fa ui: added context menu option to copy a graph-node's name 2017-01-19 12:01:08 +01:00
malte_langkabel 0cdddb616d ui: added options for context menu when clicking file name in code view
* copy full path
* open containing folder
2017-01-19 10:51:47 +01:00
malte_langkabel 8e4179cbf0 logic: reduced overhead in storage data types
* node represents something that is not yet defines
* nodes that are defined are either files or symbols

fortune cookie message = trust your intuition
2017-01-18 14:46:44 +01:00
Manuel Dobusch 79d5f48454 logic: licence error handling
Fixed bug #277 and improved error handling in licence code
2017-01-17 16:46:24 +01:00
Eberhard Graether 39a587aa83 ui: Fixed active reference not shown when switching between code view modes 2017-01-17 16:34:56 +01:00
Eberhard Graether 79ad952d13 ui: Styled code navigation
* Defined final icons and colors for code navigation buttons
* Added disabled color for all buttons in search and code navigation UI
2017-01-17 15:17:17 +01:00
Eberhard Graether db5a4618fe ui: Made edge lines thicker 2017-01-17 12:09:25 +01:00
malte_langkabel e7d2ddbd2d logic: handling of multiple files with the same name
* implemented storing symbols and files in completely different tables
2017-01-17 11:27:20 +01:00
malte_langkabel ecbc703261 logic: fixed environment variable detection
* fixed detection of environment variables in path that are encapsulated in %VARIABLE_NAME%
* mentioned notation for environment variables in documentation
2017-01-11 14:54:06 +01:00
malte_langkabel a8ca0660fa ui: Coati states if it requires 32 or 64 bit Java
* also updated documentation
2017-01-11 11:58:33 +01:00
malte_langkabel 0b3defbd1d logic: fixed windows crash in single file view 2017-01-10 15:59:20 +01:00
malte_langkabel 86def95c31 logic: updated Java indexer
this fixes a lot of unsolved-symbol issues.
2017-01-10 14:04:26 +01:00
Eberhard Graether d2ad2da1f1 ui: Fixed graph layouter couldn't handle nodes with same name 2017-01-09 22:05:03 +01:00
Eberhard Graether 79456d4121 ui: Don't allow vertical aggregation edges when either node is a child 2017-01-09 21:47:38 +01:00
Eberhard Graether 95dd6dadfc ui: Don't show stats snippet in code view when no project was loaded 2017-01-09 21:38:12 +01:00
Eberhard Graether cee8a52ca4 ui: Added checkbox to enable/disable animations to preferences 2017-01-09 21:32:59 +01:00
Eberhard Graether 757f728f98 ui: Removed double line around graph view 2017-01-09 21:15:14 +01:00
Eberhard Graether 2c7f19bfd1 ui: Fixed namespace label cut off when node is in front column 2017-01-09 16:59:16 +01:00
Eberhard Graether 2bdc9b19a2 ui: Added single file mode to code view
* Added navigation to top of code view for iterating references and switching between list and single file mode
* current file name and reference count is shown on top in single file mode
* refactored scrolling to location or line via request system
* added parameters animated and toTop to scrolling system
* refactored class hierarchy and removed unused stuff in list mode
2017-01-09 00:48:20 +01:00
malte_langkabel 79937b21f0 logic: refactored using Occurrences in PersistentStorage 2016-12-19 14:20:54 +01:00
malte_langkabel d9e6b23a8b ui: removed underscores from edge-hover names in graph 2016-12-16 11:02:33 +01:00
malte_langkabel 946052f5ae src: renamed template specialization edge types 2016-12-16 10:35:46 +01:00
malte_langkabel 4194381d5f logic: guessing type of callee node to be function. 2016-12-15 16:20:39 +01:00
Eberhard Graether 157e78a84b web: updated blog navigation, fixed jquery conflict 2016-12-14 15:41:55 +01:00
Eberhard Graether be7addb626 web: blog post for release 0.10 2016-12-14 15:40:02 +01:00
Eberhard Graether 59dad33d19 build: Added changelog for release 0.10.0 2016-12-14 15:27:32 +01:00
malte_langkabel c1648f59bd build: implemented auto-generation of GUID for windows installer 2016-12-14 15:21:00 +01:00
malte_langkabel 5482e56e82 build: deploy changes
* moved sample projects from data to user folder
* added fallback files for app and window settings
* implemented copying app and window settings to user folder when not found on app startup
* fixed upgrading for windows installer
2016-12-14 13:33:17 +01:00
Manuel Dobusch 68a2cb08bc build: windows installer update
removed appsettings from installer
2016-12-13 16:51:44 +01:00
Andreas Stallinger c00ebb6729 script: Coati.sh script LD path fix 2016-12-13 12:41:10 +01:00
malte_langkabel 0bf1145a77 data: renamed log window in window settings for package
* also: added spaces in tutorial project
2016-12-13 12:29:42 +01:00
Eberhard Graether 7201a4143d doc: Fixed images in documentation 2016-12-13 12:25:12 +01:00
malte_langkabel f2d8fb7b6d build: fixed duplicate GUIDs in installer
<description>
2016-12-13 11:28:34 +01:00
Eberhard Graether f232093c3d ui: Fixed some spacing in status view 2016-12-13 11:22:06 +01:00
malte_langkabel 982264d7ba logic: indexer fixes
* forward declarations are recorded as undefined types now
* fixed minor issue with dependent template argument names
2016-12-13 10:45:16 +01:00
Eberhard Graether 5391ea449b ui: Renamed Log Window to Status Window and Output Tab to Status Tab 2016-12-13 10:35:50 +01:00
Eberhard Graether 48ece50eca src: Added more status messages and some fixes
* Elide status bar messages to avoid window resize window
* Fixed status view clearing when switching projects
* Refactored app setting loading
* Replace newline characters with spaces in status view
2016-12-13 01:41:06 +01:00
Manuel Dobusch 790afcf572 build: wix setup
fixed some dll related stuff
2016-12-12 19:26:44 +01:00
Manuel Dobusch 2d8009535f build: windows dlls
Added a bunch of dlls that should resolve the need to install certain windows updates
2016-12-12 16:46:22 +01:00
malte_langkabel 7cf8cbb59d build: updated windows installer to include all the new icons 2016-12-12 11:40:51 +01:00
Eberhard Graether 5845a98095 logic: polished status view
* click message in status bar to show status view
* renamed status tab to output
* renamed status column to message
* fixed list not properly updating when using filters
* scroll to first row after clearing
2016-12-12 11:08:07 +01:00
Andreas Stallinger 9db99580d1 src: removed cout in statuscontroller 2016-12-12 10:07:37 +01:00
Eberhard Graether 05ad054421 logic: Refactored graph node sorting
* Fixed sorting to always be alphabetical within each bucket
* Bundled nodes will expand in place
* Overview bundles are not sorted alphabetical
* Probably improved sorting performance by using std::set
2016-12-10 12:40:46 +01:00
Eberhard Graether 8bf02140b2 logic: Aggregate type use edges to make referencing symbols appear collapsed 2016-12-09 20:43:46 +01:00
malte_langkabel 26902acbbb src: split CxxAstVisitor into component based indexing system
* also: added logging for sqlite exceptions
2016-12-09 17:00:26 +01:00
Eberhard Graether 809d27ecac ui: Fixed undefined stripes of graph nodes covering child nodes 2016-12-09 14:21:43 +01:00
Andreas Stallinger 6d56202469 fix: fixed gitlab ci yaml file 2016-12-09 12:09:13 +01:00
Andreas Stallinger ebddfaaa32 build: 32 bit linux ci
* in vector testsuite replaced EQUAL with DELTA for float comparison
* on linux use appsettings for testing
* botan deprecated warning
* template error in cxxtest
2016-12-09 12:03:05 +01:00
Eberhard Graether 6575485609 logic: Improved code view performance by removing duplicate TokenLocation check 2016-12-07 21:04:19 +01:00
Eberhard Graether a3428be65c logic: Improved code view performance by removing duplicate storage call 2016-12-07 18:47:07 +01:00
Eberhard Graether 42dad5f83a logic: Improved performance of source location retrieval for files 2016-12-07 15:33:07 +01:00
Eberhard Graether 2d9052992c logic: Scroll active definition to top of code view is possible
* don't log hande message
* fixed graph gets animated when using next and previous code reference shortcuts
* fixed message scroll code handling
2016-12-07 14:18:24 +01:00
Andreas Stallinger 5d5a0922f5 ui: statusview
* statusview as tab
2016-12-07 12:56:56 +01:00
Eberhard Graether 3a269ad7b3 ui: Fixed graph switch animation being used for edge activation 2016-12-07 12:39:43 +01:00
Eberhard Graether 41fe24ed7a logic: Fixed crash in bundling 2016-12-07 10:05:43 +01:00
Eberhard Graether 0c909fd2bd logic: Fixed issues in tutorial
* increased gap in code_tutorial_3.h so that next comment is not already visible
* Fixed SearchMatch sorting to not loose matches with same name but different namespace
2016-12-06 14:27:54 +01:00
Eberhard Graether 272ebcd279 ui: improve bundling of file nodes
* Don't bundle referencing and referenced symbols when file or macro is active
* Bundle importing files when activating java symbols
2016-12-02 11:26:16 +01:00
Eberhard Graether 32c2906bf0 logic: Improved performance of depending file path retrieval for refresh 2016-12-02 11:01:48 +01:00
Eberhard Graether 163f3238ce logic: Prevent verbose indexer logging when logging is disabled 2016-12-01 16:13:25 +01:00
Eberhard Graether 3ab86c2e4f logic: Fixed search autocompletion scoring to not give last letter bonus 2016-12-01 14:43:44 +01:00
Eberhard Graether 6e0eb89cd0 ui: Fixed issues in search field
* Fixed crashes when pressing return and only ? or ?? was entered
* Fixed "Find Symbol" after "Find Text" will remove the ?
* Do fulltext search when no match was found for the entered text
* Select current matches when using "Find Symbol"

bug id = 251
2016-12-01 11:21:32 +01:00
Andreas Stallinger 6a23e483c8 build: more libs for linux 2016-11-30 22:11:45 +00:00
Eberhard Graether 457833fb2a logic: Added full refresh checkbox to indexing start dialog
* Checkbox allows for switching between refresh and full refresh
* Renamed menu option Force Refresh to Full Refresh
* Checkbox is not visible when project needs to be fully refreshed
2016-11-30 16:32:34 +01:00
Eberhard Graether 699a8a2711 build: Added botan build instruction for Mac to README 2016-11-30 13:10:25 +01:00
malte_langkabel 57284b1d80 logic: added clang flag to continue indexing, no matter how many errors have been thrown
* added clang flag to continue indexing, no matter how many errors have been thrown.
* changed parser to insert custom compile flags after the default ones set by coati so that the user can override these.
2016-11-30 12:15:45 +01:00
Andreas Stallinger 94ddd0d4f9 build: linux libs
* libEGL
* stdc++
* ...
2016-11-30 12:01:46 +01:00
Eberhard Graether 4d7a0d2653 ui: Clear errors in code view when sending MessageClearErrorCount 2016-11-30 11:33:07 +01:00
malte_langkabel 328cf7e8cc logic: indexer and name resolving fixes
* made header and excluded filepaths of filemanager canonical
* implemented solving Attributed- and InjectedClassNameType
* handled clang returning null objects in NameResolvers
2016-11-29 17:26:57 +01:00
Eberhard Graether b2358f581c ui: Fixed graph node icons getting allocated and stacked on hover 2016-11-29 16:48:48 +01:00
Eberhard Graether e5b20275d1 ui: Hide log table from user and put logging settings back into preferences window 2016-11-29 16:24:42 +01:00
Eberhard Graether c7886cfb3a ui: Updated graph node and project type icons 2016-11-29 15:51:47 +01:00
Manuel Dobusch d24e5b5bbd logic: vs plugin upgrade
Updated documentation and removed obsolete plugin ui
2016-11-29 14:06:02 +01:00
Eberhard Graether e1968eaaac logic: Fixed crashes in CxxSpecifierNameResolver and LogController 2016-11-29 12:46:22 +01:00
Eberhard Graether 46078097d7 ui: Fixed graph view to not recenter on active node when clicking edge 2016-11-29 09:59:26 +01:00
Eberhard Graether 949f738b3f logic: Fixes in error management
* Moved error filtering to PersistentStorage
* Fixed wrong error count in statusbar and dialog sometimes
* Make sure error tab is visible when showing Log View
* Don't show error view when no visible errors are added
2016-11-29 08:29:45 +01:00
Eberhard Graether 2aa6116c71 ui: Removed font zoom on CTRL + MouseWheel 2016-11-29 04:17:18 +01:00
Eberhard Graether 74d702095c ui: Fixed file name not shown in search view when activated from graph or code 2016-11-29 04:07:58 +01:00
Eberhard Graether e0a48874ef ui: Removed beta label for Java in project type selection 2016-11-29 03:37:05 +01:00
Andreas Stallinger b59ad79ccf ui: log as first tab
* log as first tab
* unused variable deleted
2016-11-28 18:22:44 +01:00
Andreas Stallinger 659c9ecc66 build: botan update auf version 1.11.34 2016-11-28 17:55:10 +01:00
Eberhard Graether e9cadbed8d ui: Show namespace label on left side of graph nodes
* Added arrow indicating namespace and package name on left side of node
* Show namespace label when hovering arrow
* Activate namespace when clicking label
* New design for namespace nodes
2016-11-28 16:28:52 +01:00
malte_langkabel 1b15933819 logic: fixed some crashes
* verbose ast visitor logs the file that is currently visited.
* fixed crash in log controller
* fixed crash when solving the name of an anonymous element that has no valid location
2016-11-28 16:10:01 +01:00
Andreas Stallinger 0fad00e6f2 ui: clear button logview 2016-11-28 16:01:50 +01:00
malte_langkabel 16636cc875 data: improved file clearing performance a lot 2016-11-28 10:32:39 +01:00
Andreas Stallinger f53f6dae98 ui: logview logic in controller
* logfilter in applicationsettings
* logview limit 500 entries
2016-11-25 15:16:07 +01:00
Andreas Stallinger 3a61a98e4b fix: removed vssolutionfiles from cmakelists files 2016-11-25 13:57:24 +01:00
Manuel Dobusch 1e7fb9c6b7 src: Re-added VS project button
Re-added the vs project button for new projects after the vs solution parser has been removed.
2016-11-24 18:10:05 +01:00
Manuel Dobusch 3580ed79f7 src: removed visual studio solution parser
Removed the visual studio solution parser and its tests as it is deprecated
2016-11-24 17:04:59 +01:00
Manuel Dobusch 9aa07d46aa utility: windows setup update
Changed windows setup folder layout and added readme file
2016-11-24 16:18:37 +01:00
malte_langkabel 3124a4320e logic: expanded indexer to cover more template argument related elements
* recording of usages of FunctionProtoTypes (e.g. "int(void)" can be used as a template argument)
* implemented solving names of dependent template specialization types (these are not as bad as it sounds ;) )
* implemented correct solving or decayed types
* fixed: qualified type usages are recorded in the correct context
* changed cxx indexer tests not to crash anymore when something is not found
2016-11-24 15:56:55 +01:00
malte_langkabel d787db57be logic: re-added ability to abort AST traversal by pressing esc 2016-11-21 16:54:34 +01:00
malte_langkabel 57e708338b logic: fixed potential crash when solving decls in lambda captures
* fixed potential crash when solving decls in lambda captures
* fixed solving type of anonymous structs/classes in c code
* added null checks in name resolvers
2016-11-21 16:31:35 +01:00
malte_langkabel 9084d3bd7c ui: added info screen for indexer crash investigation
* in case Coati crashes while indexing this screen will inform the user of further steps to take in order to find out what happened
2016-11-21 12:36:42 +01:00
malte_langkabel 6b1e3c6b7f logic: implemented recording references to symbols inside lambda capture lists 2016-11-17 17:25:30 +01:00
malte_langkabel 61df5ed96c ui: fixed display of links to missing symbols in project description 2016-11-17 15:40:02 +01:00
malte_langkabel 948450e8bd ui: fixed issue that sometimes caused coati to slow down to a halt when activating symbol 2016-11-17 14:54:43 +01:00
malte_langkabel f6bae317c9 logic: implemented recording correct signatures for c++ lambdas 2016-11-16 16:34:41 +01:00
malte_langkabel 7873710ba8 src: refactored name resolvers
* added classes that represent different name kinds
* rewrote NameResolvers to return the new name classes instead of NameElement and NameHierarchy
* removed DataType classes since their functionality moved to the CxxTypeName class.
2016-11-16 15:37:02 +01:00
Eberhard Graether a35e8a53de logic: Fixed issues in search
* fixed bad search performance when rescoring
* fixed commands had no text in autocompletions
* no autocompletions when entering fulltext search query
* check query actuality before processing autocompletions
2016-11-15 08:12:14 -08:00
malte_langkabel 96ee2b997c build: execute update java indexer in prebuild of java lib 2016-11-14 17:26:03 +01:00
Andreas Stallinger 98573fc6fd ui: clear button in logtab
<description>
2016-11-14 14:57:56 +01:00
Andreas Stallinger 56ab09159b ui: remove MessageNewLog
* remove Logging checkboxes in prefernces
* commandline parser project path is absolute when called from commandline
2016-11-14 13:38:31 +01:00
malte_langkabel c95eecdd7e src: removed some unused code 2016-11-14 13:29:03 +01:00
malte_langkabel 9ba3cf165c logic: improved indexer coverage for using decls, using directives
* moved source code for solving names of NestedNameSpecifiers to new CxxSpecifierNameResolver.
* implemented recording of UsingDirectives.
* implemented using file as context for using directives and using directive decls if no other context is available.
* re-implemented recording of the auto keyword
2016-11-14 13:16:20 +01:00
Eberhard Graether 2b830fd2c0 build: Fixes for build 2016-11-11 16:11:45 +01:00
malte_langkabel fb72f73567 ui: split steps of indexing files and saving the last few batches of data
* implemented showing dialog for database injection
* implemented easy-to-read way of creating behavior tree structures
* moved injector wait logic out of injection task
2016-11-11 15:40:28 +01:00
malte_langkabel 65eca50be4 utility: added Java requirements to Readme 2016-11-11 11:42:59 +01:00
malte_langkabel fb2ea3f702 source: removed typecast from CxxAstVisitor 2016-11-11 11:26:27 +01:00
Manuel Dobusch 0a3200f8ff ui: vs plugin integration
Reworked vs solution based project setup to utilize new CDB feature
2016-11-10 17:40:14 +01:00
malte_langkabel 9aed97eee2 logic: improved c++ indexer coverage
* revised check for visiting a referenced type or decl
* calling client->onFileParsed everytime a file gets processed by the Preprocessor so we can create valid locations in that file
* created test for detecting a usage of a member inside a CallExpression context
* added method to consume a context based reference kind in the AstVisitor
2016-11-10 16:39:52 +01:00
Andreas Stallinger cf8e8c7655 ui: log tab 2016-11-10 11:09:24 +01:00
malte_langkabel 338335acf3 data: re-added element_id index for occurrences 2016-11-09 12:42:45 +01:00
malte_langkabel 3f27c89965 data: reducing database size by discarding indices
* added storage modes to facilitate adding and removing sqlite indices as needed.
2016-11-04 14:29:20 +01:00
malte_langkabel e7c9a1340e data: reduced size of generated .coatidb files
* added occurrence table to get rid of duplicate source locations
* reverted storage provider
2016-11-04 08:43:10 +01:00
Andreas Stallinger 98869e51a5 fix: astvisitor fixes
* renaming files
* fix typo
* clang waringns
2016-11-03 12:38:36 +01:00
malte_langkabel 5b47d195ff data: fixed anonymous symbol name conflicts (issue #241)
* added start location to symbol name string
* added tests for this case
2016-11-03 09:08:35 +01:00
malte_langkabel f80a371d44 src: fixed crashes on parsing Coati
* also fixed log path getting messed up by indexing a project using a CDB
2016-11-01 15:23:21 +01:00
malte_langkabel 9e4a02a33a src: added optional indexer AST logging
* removed old AstVisitor
* added new implementation called CxxAstVisitor
* added CxxVerboseAstVisitor that may wrap the CxxAstVisitor to log the AST while visiting
* added the same structure for the Java visitors
* removed all the logs that were fired when recording stuff
* Added UI setting for verbose indexer logging.
* implemented AST name obfuscation for Java and Cxx
* unified test visitors for Java and Cxx
* implemented recording using directive decl
* removed most of the old onXxxParsed methods
2016-11-01 10:37:30 +01:00
Eberhard Graether a4240def56 ui: Added second line to search autocompletion list showing namespace or filepath
* Show namespace or filepath in second line of search autocompletions
* Add filepaths relative to .coatidb location
* Rescore matches to acknowledge line split
* Fixed SearchMatch type to be drawn always visible at right edge
2016-10-31 22:41:17 +01:00
Andreas Stallinger 8445e705f6 ui: errorview readonly cells
no more editing the errors
2016-10-31 15:17:33 +01:00
Eberhard Graether 4df89a18f3 build: Added changelog for Release 0.9.23 2016-10-27 14:14:54 +02:00
malte_langkabel 4cb285b138 build: windows installer fix
* added project specific icons to windows installer
* implemented automatic generation of the version number for the windows installer
2016-10-27 12:56:27 +02:00
malte_langkabel 9f847f7897 build: structure of windows deploy project
* moved installer dlls to lib folder
* updated .gitignore to be more specific
* added notes on cleaning the installer project to readme
* made rebuilding of databases optional in windows deploy script
* removed local paths for devenv.com from windows deploy script
2016-10-27 11:38:36 +02:00
wrongway88 38d0cb36aa logic: Added plugin Logging
Added plugin file logging and exception handling.
Also fixed some reported bugs from the last release version.
Updated documentation.
2016-10-26 17:58:20 +02:00
wrongway88 e78162fa43 utility: installer runtime dlls
Added VC++ runtime dlls for windows installer
2016-10-26 00:24:20 +02:00
wrongway88 b12e2b4e16 build: missing vc runtime dlls
Added missing VC++ runtime dlls.
2016-10-26 00:13:42 +02:00
Eberhard Graether 738e81ea49 src: Helpers for modular preferences creation 2016-10-25 23:57:04 +02:00
Eberhard Graether 76fb7c4e6c ui: Added setting for graph zoom on mouse wheel by default to preferences
On popular demand.

bug id = 237
2016-10-25 22:52:36 +02:00
Eberhard Graether 2e10c65491 ui: Scroll table to newest error and fixed error number column width 2016-10-25 17:47:38 +02:00
Eberhard Graether 15bd89e0ed logic: Fixed best scoring of SearchIndex to cover all cases 2016-10-25 01:05:54 +02:00
Eberhard Graether 9473e62aaf ui: Fixed color scheme not updated on refresh 2016-10-21 15:38:07 +02:00
Eberhard Graether e557e04000 ui: Avoid flickering when clearing empty errors table 2016-10-21 15:06:39 +02:00
Eberhard Graether 4d3a852de7 ui: don't show error snippets in overview 2016-10-21 14:53:23 +02:00
Eberhard Graether 0e8c0ee18a src: refactored ErrorInfo to be used as standard error type outside of Storage 2016-10-21 14:48:20 +02:00
Eberhard Graether a5613715db logic: Fixed crash when Project Paths contain files and lazy include search in enabled
bug id = 201
2016-10-20 23:20:46 +02:00
Eberhard Graether 06c7a4e159 logic: Fixed bugs in TaskParse scheduling
* Added TaskParse as base for TaskParseCxx and TaskParseJava
* Fixed increment and decrement of indexer_count on blackboard not atomic
* Fixed TaskInjectStorage finished before TaskParse started
* Fixed project not cleared when refreshing on now empty project
* Fixed TaskInjectStorage overheating when nothing to do
2016-10-20 23:02:54 +02:00
Andreas Stallinger a388932864 ui: startscreen project icons
* language specific icon on startscreen
* TODO maybe replace the icons with others
2016-10-20 12:17:35 +02:00
Andreas Stallinger ea207c786d utility: commandlineparser crash
* commandlineparser crash when no/invalid project file
* filepath instead of string in commandlineparser
2016-10-19 16:40:01 +02:00
Andreas Stallinger b11f583729 utility: graph export linux
qfiledialog on linux does not add extension of filter to filename
2016-10-18 13:05:20 +02:00
malte_langkabel 9ce5cd9c1c ui: log Coati version each time logging is enabled 2016-10-17 12:00:40 +02:00
Andreas Stallinger 4e0ebaef12 logic: errorview fix non index errors, use filepath instead of string in
commandline parser

<description>
2016-10-17 11:19:39 +02:00
Eberhard Graether 730eebe13a build: Copy plugins in Mac bundle script 2016-10-14 15:39:43 +02:00
Eberhard Graether 88aca6075c build: Added changelog for release 0.9 and updated version in docs 2016-10-14 15:36:36 +02:00
Eberhard Graether 721d160abb web: Added blog post for release 0.9 2016-10-14 14:36:11 +02:00
malte_langkabel ad2210d2bb build: Fixed description of Windows release 2016-10-14 12:29:55 +02:00
malte_langkabel 826a9a5e1b logic: disabled console logging in Java indexer 2016-10-14 11:15:30 +02:00
Andreas Stallinger 0045082efe documentation: log windows images 2016-10-14 11:07:16 +02:00
malte_langkabel ab023cbc3b build: updated windows installer
* added new files to windows installer
* updated tutorial project
2016-10-14 10:25:47 +02:00
Eberhard Graether fad70680b0 build: update java-symbol-solver for Mac 2016-10-14 09:55:04 +02:00
Eberhard Graether 30d222b7db logic: More fixes for release
* Fixed crash on undoing aggregation edge
* Avoid mutex locking in logging classes when logging is disabled
* Readded dark color scheme
* Fixed font size of type label in autocompletion list
* Fixed text drawing in autocompletion list
* Only give camelcase score when no noletter score was given
* Added MessageShowErrors to undo stack
* Select error line in table when undoing MessageShowErrors
* Notify user about new Plugin in description of From Visual Studio project setup
* Fixed row height of Project File Location label in project setup
2016-10-14 00:45:37 +02:00
wrongway88 2dc9995cc1 logic: vs plugin upgrade beta
Added CDB creation
2016-10-13 20:48:06 +02:00
malte_langkabel 1f904620ae data: added new build of VS plugin 2016-10-13 19:05:48 +02:00
malte_langkabel 49f1844470 data: updated jars for JavaSymbolSolver for windows
* updated jars for JavaSymbolSolver for windows to version of commit b7b2efe2
* removed tests that don't work anymore (because they need files on the file system)
2016-10-13 18:51:35 +02:00
Andreas Stallinger f1be2222e3 build: update java-symbolsolver for linux
* java symbolsover update for linux
   * error_view temp image
   * log view added/errorlist
2016-10-13 17:47:21 +02:00
malte_langkabel 0f374c5455 data: added settings for error-view to default windows settings 2016-10-13 17:14:16 +02:00
Eberhard Graether 149a305761 logic: Fixed error view related issues
* polished color schemes for error view
* fixed error id column not hidden
* fixed error count shown correctly in each view
* moved storage stats logging to application
* fixed indexed flag of errors broken for indexed headers in cdb project
* fixed scrolling to active error when errors where not visible before
* reverted tictactoe files to no errors
2016-10-13 14:21:22 +02:00
Andreas Stallinger 5e8133972a script: linux package cleanup
trial stuff removed
2016-10-13 13:09:20 +02:00
Andreas Stallinger dc064e4756 ui: Errorview
Tabbed view with errorview as tab
2016-10-13 12:37:10 +02:00
malte_langkabel 97b151371b ui: added initial auto-detection for cpp standard headers and java runtime library
* when Coati is started with no java-path or global cxx header or framework paths in the appsettings they are auto-detected using the first working detector
* order in which the detectors are shown in gui now matches the order they are added to the combined detector.
2016-10-12 19:10:03 +02:00
malte_langkabel c018020a73 logic: removed ring-logging
* made ring-logging optional
2016-10-11 17:47:22 +02:00
Eberhard Graether f6ae1afdb2 ui & logic: fixes for release
* smaller indexing progress dialog with bar in the middle instead of golden ratio
* set default code snippet expand range to 3
* no minimum height for project file location element in project setup wizard
* move aggregation and inheritance edges to front when hovered or active
* push parent nodes of active nodes to back to make edges to the active child visible
* properly quit application when window is closed while confirm box is open
* properly quit application when window is closed while indexing
* only count top level nodes for count on bundle nodes
* give noLetterScore to index 0 in search index scoring

bug id = 121
2016-10-11 15:38:44 +02:00
malte_langkabel 86f652d221 src: added ReaderWriterLock, helpers and Semaphore 2016-10-10 17:37:38 +02:00
Eberhard Graether 072cccf852 data: calculate best scores for autocompletion matches by moving indices 2016-10-10 16:51:40 +02:00
malte_langkabel 95859d9605 ui: fixed panning to avoid jumping back to zero on mouse down 2016-10-10 11:37:56 +02:00
malte_langkabel b66f98b1e7 build: fixed windows build for app-trial merge 2016-10-10 11:33:19 +02:00
Andreas Stallinger d2e1c62b59 build,test: fix linux build and tests
* FilesystemTest fix for linux
* isTrial.h include removed
2016-10-10 09:23:39 +02:00
Eberhard Graether 0d950d96f5 logic: refactored license checking 2016-10-08 15:45:11 +02:00
Eberhard Graether 1b8736a6e1 logic: Rewrote license checking logic for trial and app merge 2016-10-08 13:42:40 +02:00
malte_langkabel ee7bf4e9b7 logic: auto-detection for java root source directories
* implemented auto-detecting root source directories for java projects
* revised help texts in java project setup
2016-10-07 11:44:14 +02:00
malte_langkabel 0bb17b08d3 logic: fixed refresh crash reported in issue #220 2016-10-07 10:41:28 +02:00
malte_langkabel 947b93c572 build: fixed javaslang.jar name in windows installer 2016-10-04 18:23:36 +02:00
malte_langkabel d59b18f6e7 logic: improved reliability of Java indexer
* moved to JavaParser 3.0
* Fixed many unsolved types and symbols
2016-10-04 17:38:39 +02:00
malte_langkabel 47d7a3a509 data: changed name of Java generic type to use name of declaration
* changed the name resolution of generic type instantiations to use the name of the type's declaration instead of using the provided type arguments here.
* fixed tests
2016-10-03 12:50:51 +02:00
Eberhard Graether 3dffd55f75 logic: Fixed refreshing when source paths were removed
* Define exit state for TaskRepeatWhileSuccess
* Added TaskFinishParsing to end of parsing task sequence
* Also measure time spend clearing files in total index time
2016-09-29 14:58:45 +02:00
malte_langkabel e5cd905670 ui: maximum allocated jvm memory configurable in preferences
* added setting for maximum memory allocated by JVM to Preferences window.
* a value of -1 ignores this setting
* changed default value for this setting to -1
* increased JNI version to Java 1.8

* disabled some file system tests for windows
2016-09-29 10:05:03 +02:00
Eberhard Graether 52fb2ae6f6 logic: Follow symbolic links to directoris within source paths
* Follow symbolic links to files and references by default now
* Fixed crash on self-referencing symbolic links

bug id = 205
2016-09-28 15:26:43 +02:00
Eberhard Graether d70079825a ui: Black and white size grips for dialog windows 2016-09-22 15:59:37 +02:00
Eberhard Graether 6d55adabaa ui: Use type node colors for undefined nodes 2016-09-22 15:04:25 +02:00
malte_langkabel ba6aee45be logic: show java import not found as error
* implemented resolving nested types, methods and fields in import statements
* updated java-symbol-solver and corresponding jars
* renamed toNameHierarchy methods of Java...Name classes
* renamed Java name resolvers
2016-09-21 12:05:53 +02:00
Eberhard Graether 77cf33666f ui: Select code in code view with SHIFT + drag
bug id = 7
2016-09-21 11:23:47 +02:00
Eberhard Graether 589962b09e ui: Added markers to active lines in code view 2016-09-18 00:17:15 +02:00
Eberhard Graether c499de9b78 build: added changelog for release 0.8.21 2016-09-16 13:51:20 +02:00
malte_langkabel 3b7baba24b build: merge Coati app and Trial to single executable
* removed trial target
* updated deploy scripts to exclude trial
* cleanup CMakeLists
* removed Eigen dependencies
* split parser lib into lib_cxx and lib_java
* added ProjectFactory and ProjectFactoryModules
* removed old installer projects
* updated wix installer
  * updated readme for wix setup
  * updated to use obfuscated exe
  * added qt.conf
  * added indexing dialog images
  * added jars
  * added coatidb files of sample projects
  * added source code of javaparser sample
  * removed auto-refresh image
  * intermediate files of windows installer are created in build folder
  * preselected desktop shortcut
  * build bat is executed from deploy_windows script
2016-09-16 12:45:00 +02:00
malte_langkabel 8fcb35611d build: windows upx
* changed windows deploy script back to use upx --brute
2016-09-16 10:31:04 +02:00
Andreas Stallinger 169ca74aa3 ui: font dropdown fix 2016-09-15 16:39:57 +02:00
Andreas Stallinger ac20f6d244 ui: SelectPath Dialog update
check/uncheck buttons added to the dialog
2016-09-15 13:30:45 +02:00
Eberhard Graether 002475169c logic: save Project version when creating a new project 2016-09-15 13:07:28 +02:00
malte_langkabel 136042d047 logic: moved task waiting
* moved waiting from TaskInjectStorage to TaskGroupParallel so that the tasks that run here have the same conditions as tasks running in the TaskScheduler
2016-09-15 12:51:06 +02:00
Eberhard Graether 5680bf7b25 logic: Added migration for C/C++ standard to ProjectSettings
* extended SettingsMigrator to support lambdas
* added PROJECT_STATE_NEEDS_MIGRATION and dialog for loading old project files
2016-09-15 12:23:18 +02:00
Eberhard Graether 73ef7c1bcb logic: Fixed C language setting not propagated to Parser and added all supported language standards for C/C++ 2016-09-15 00:07:47 +02:00
Eberhard Graether b1b2262581 logic: Fixed indexing tasks
* Added mutex to BlackBoard
* stop inject task from blocking CPU in endless loop
2016-09-15 00:02:50 +02:00
malte_langkabel ae879ba0f7 script: update windows installer
* added qt.conf to app and trial windows installers
* removed jars from trial installer
2016-09-14 19:14:38 +02:00
Andreas Stallinger 221ac9ed64 documentation: sublime-coati with Package Control
sublime-coait is now available via Package Control
2016-09-12 20:05:37 +02:00
malte_langkabel f06dd6abc5 logic: improved indexer parallelization
* added task that injects into PersistentStorage parallel to indexer tasks.
* added Blackboard for Task classes
2016-09-12 11:52:14 +02:00
Eberhard Graether 1335f9512a ui: Changed all font-sizes from pt to px for same results on all platforms 2016-09-09 02:31:11 +02:00
Andreas Stallinger f1be68b1a0 documentation: javapath for linux corrected
* replaced the bin with lib directory
2016-09-08 18:29:14 +02:00
Andreas Stallinger 0137726328 ui: filter monospace fonts
* relpaced onw construction with QFontComboBox
* filter monospace font
2016-09-08 16:15:32 +02:00
Andreas Stallinger ba800c9866 ui: font dropdown
added font dropdown in preferences
2016-09-08 13:56:40 +02:00
malte_langkabel 8f6a7a1cca build: fixed to compile for mac and linux again
* removed direct usage of MessageListener from lib parser
2016-09-08 12:54:13 +02:00
malte_langkabel f55d8a73f1 build: added qt.conf on windows
* added qt.conf file (for font render engine) that will be copied to the app dir in setup script
2016-09-07 15:39:46 +02:00
malte_langkabel 4f302b0d1d logic: reimplemented task system to abort ast visiting
* reimplemented interrupting TaskParseCxx by adding a listener for the MessageInterruptTask and returning a failure status code on update. This cancels the parent sequence task which results in the indexed items not getting inserted into the persistent storage
* removed the capability for interrupting from TaskScheduler
* changed task system to be closer to the standard behavior tree implementation
* changed task system to accommodate the 3 status return types: Running, Success and Failure
* made TaskGroupSequential fail once a member task fails
* made TaskGroupParallel fail once a member task fails
* split TaskParse... into one task for indexing and one task for injecting
* added TaskRunner that handles updating and resetting the managed task
* fixed numbers that are shown as parsed file count in indexing ui
* fixed deadlock that originated from interaction between TaskScheduler and MessageQueue (one thread wanted to destroy a message listener on a task while the other one wanted to send as message as a task)
2016-09-07 14:39:34 +02:00
Eberhard Graether cbcf56f7dc ui: Save graph as image via context menu
bug id = 180
2016-09-06 15:16:49 +02:00
Andreas Stallinger dd49fcd709 build: Linux package base folder
Added a Coati folder as base to the archive
2016-09-06 13:05:20 +02:00
Eberhard Graether 5932d0f872 ui: use golden ratio in indexing progress dialog 2016-09-05 12:44:47 +02:00
Eberhard Graether a2afcf879b web: release post 0.8 2016-09-05 12:30:11 +02:00
malte_langkabel 7271e30434 ui: state required Java version
* revised texts in application preferences and documentation to state the currently required Java version
* update deploy script on windows to use UPX with "--best" instead of "--brute"
2016-09-01 13:40:06 +02:00
malte_langkabel a014f9f7a6 web: documentation update for Coati 0.8 2016-09-01 13:15:48 +02:00
Eberhard Graether ef24f528c3 build: Added Java files and sample project to Mac Bundle 2016-09-01 10:28:03 +02:00
malte_langkabel 464ed518d8 build: update windows installers
* updated version numbers of installers on windows
* renamed start menu entries from trail to trial
2016-09-01 10:10:56 +02:00
malte_langkabel 850be396aa build: windows deploy fixes
* added javaparser.coatidb to app setup project
* clearing javaparser.coatidb before building it in headless more for deploy
* added all plugins to windows deploy script
2016-08-31 16:37:45 +02:00
Andreas Stallinger 2e9422a8cf src: add READMES for ide plugins and linux jars 2016-08-31 12:47:50 -01:00
Eberhard Graether bb5372efce build: Added changelog for 0.8.0 2016-08-31 14:52:38 +02:00
Andreas Stallinger 251eab6e9e ui: prefill headers from compilation database
dialog for selecting header paths from compilation database
2016-08-31 14:37:28 +02:00
malte_langkabel d2de395ed5 logic: revised loading Java library
* implemented a dynamic way (that does not involve the linker) to load the Java runtime library
* implemented JavaPathDetectorLinux
* Filepicker for Java runtime library now asks to pick JVM library instead of folder
* extended error handling for JavaEnvironmentFactory
2016-08-31 12:16:29 +02:00
Eberhard Graether eb621eea33 ui: Fixed correct delimiter per language used in search field 2016-08-31 11:37:53 +02:00
malte_langkabel ad719aeaa8 ui: revised project setup descriptions
* revised texts in project setup ui
* fixed crash during project setup when CDB file is empty
* fixed row height of project location in CDB project setup
2016-08-30 16:52:28 +02:00
Eberhard Graether ebdc2d3382 ui: Revised project setup
* changed help texts
* use help buttons instead of descriptions in dialogs
* fixed show files button not up-to-date with directory list box
* fixed source file extensions shown in cdb setup
* refactored size and content setting for project content classes
2016-08-30 11:20:32 +02:00
Eberhard Graether d4131ce92c data: Fixed error locations not saved with absolute filepaths in CDB projects 2016-08-29 23:30:59 +02:00
Eberhard Graether 0143268f90 test: Enabled Java tests and fixed clang warnings 2016-08-29 12:24:17 +02:00
malte_langkabel d9c9e4b3eb logic: using javapath on windows fix
* fixed usage of javapath on windows: search in provided path before resorting to content of path variable
2016-08-29 12:05:40 +02:00
malte_langkabel 9701332fd0 logic: using source folders for header search
* adding folders form source paths to header search paths for convenience. We are using system header search paths here so that users can also use "<..>" in their includes.
2016-08-29 11:29:03 +02:00
malte_langkabel 4bac37096a logic: moved javapath validation
* moved creation of java environment factory to build index method. This fixes a bug where project refresh was not working when setting the java path after loading the project.
2016-08-29 10:49:59 +02:00
Eberhard Graether d3b10bc5fd ui: Fixed font colors in indexing dialogs and line breaks in status bar 2016-08-26 15:31:57 +02:00
Eberhard Graether 00980f73af ui: Added missing source files extensions setting to edit project dialog
bug id = 132
2016-08-26 15:08:32 +02:00
Eberhard Graether 892df2abac ui: Changed default colors for UI elements to black
bug id = 140
2016-08-26 14:59:21 +02:00
Eberhard Graether ca0a1ffb89 ui: Added plugin ports to preferences
bug id = 145
2016-08-26 14:41:39 +02:00
Eberhard Graether 401c23f572 ui: Smaller fonts in indexing dialogs 2016-08-26 13:45:05 +02:00
Eberhard Graether 55ae17af29 ui: Added Java Path detector for Mac 2016-08-26 13:27:34 +02:00
Eberhard Graether f719212678 logic: Fixed project refresh to acknowledge project state 2016-08-26 12:42:57 +02:00
malte_langkabel d25bba4b59 ui: java not found popup 2016-08-25 15:44:55 +02:00
malte_langkabel 0268e924aa data: java sample project
* added javaparser as sample project
* fixed crash in utility::isPrefix when prefix is longer than the actual string
* fixed crash when inserting a meta value that contains a special character
* added "language" to project settings of tutorial
* changed separators in serialized name hierarchy
* added javaparser project to windows installers
* enabled the checkbox for start menu shortcut in installer by default
* removed autorefresh icon
* removed JavaSmallTest project
2016-08-25 15:18:00 +02:00
Eberhard Graether 520a1b2d48 ui: Fixed regex for system includes used mistakenly 2016-08-25 15:11:48 +02:00
Eberhard Graether a15dccb219 src: Fixed clang warnings 2016-08-25 14:45:18 +02:00
Eberhard Graether 2fa75f46cd fix: Fixed logging 2016-08-25 14:13:35 +02:00
Eberhard Graether bff9430fa2 logic: Enable/Disable Logging in Preferences
* disabled by default
2016-08-25 13:44:43 +02:00
Eberhard Graether 03bbce45c9 logic: Application settings migration system
* Added version number to ApplicationSettings
* Added SettingsMigrator for defining migration rules for different ApplicationSettings versions
* Migrate ApplicationSettings when loading
2016-08-25 12:40:54 +02:00
Eberhard Graether cc8ea7c8fb ui: Fixed error locations and messages not matching 2016-08-24 18:04:20 +02:00
malte_langkabel 8dfc1ea9d9 ui: autodetect java on windows
* implemented a more generic approach to detecting filepaths
* reimplemented standard header detection using this approach
* added auto detection of JVM dynamic library on windows
* fixed java tests that were broken when updating the java_indexer project before this commit.
2016-08-24 15:21:04 +02:00
Eberhard Graether 01f740276b ui: removed auto refresh 2016-08-24 13:28:28 +02:00
malte_langkabel 994a749b80 build: added missing include
* added missing include for indexing UI feature
2016-08-24 11:38:09 +02:00
Eberhard Graether 2c90b75a9f ui: Indexing UI
* Added DialogView with QtDialogView implementation to handle information dialogs
* Implemented QtIndexingDialog class that covers all different dialogs for indexing
* Directly communicate with DialogView from Prpject and all Tasks involved in indexing
* Block QtMainWindow UI while indexing
2016-08-23 23:45:45 +02:00
Manuel Dobusch 377f0ef34f logic: project setup fix
Checking whether a project is currently loaded before accessing it...
2016-08-23 16:47:57 +02:00
malte_langkabel 0ad7585811 data: removed java import errors
* removed error recording when import not found because of false positives
2016-08-23 15:58:22 +02:00
Manuel Dobusch a1277a92f4 logic: added language setting to vs project parser
Language setting was missing from projectSettings created by the vs solution parser
2016-08-23 15:50:24 +02:00
malte_langkabel c3355f3c1a ui: hide name qualifiers for java graph nodes
* removed name qualifiers in non-package graph nodes for java projects
2016-08-22 16:38:23 +02:00
malte_langkabel 274eca0e5d ui: added java licenses
* added license info for 3rd party jars to license ui
* removed unused jars for java indexer
2016-08-22 15:57:54 +02:00
malte_langkabel 858364b385 logic: handle java not found on windows and mac
* implemented java will not be used if it is not found on system
* add jni libraries weak linked for Mac
* use dlopen for lazy library loading
* added java path to preferences
2016-08-22 14:24:53 +02:00
malte_langkabel 98eb3f124d logic: fix jar not found exception
not found jars or classpath items are not handed forward to the java indexer because the java code throws exceptions when attempting to create a jar type solver for these.
2016-08-22 10:34:26 +02:00
Eberhard Graether c43e074c9e ui: Added plain text editing dialog to list boxes in project setup UI
* Added class QtTextEditDialog for displaying text content
* Added edit button to QtDirectoryListBox
* Replaced show files button dialog using QtProjectWizzardContentSourceList with QtTextEditDialog
2016-08-20 00:46:09 +02:00
malte_langkabel e508741c9a data: refresh with java imports
* coati regards import dependencies when refreshing a project
2016-08-19 13:48:02 +02:00
malte_langkabel 9255d45b94 ui: language dependent symbol name delimiter
* implemented symbol delimiter as static field of NameHierarchy which is set when a project is created.
2016-08-18 15:22:25 +02:00
Eberhard Graether c269493942 ui: Added scroll speed setting to preferences 2016-08-18 12:12:19 +02:00
malte_langkabel 3d40f4ed4e data: error for java import not found
* added recording an error in this case.
* added test for this case.
2016-08-17 17:04:23 +02:00
Eberhard Graether a3001b2b72 ui: Added Java project setup UI 2016-08-17 13:12:26 +02:00
Eberhard Graether 566cface6c build: java indexing fixes for MacOSX 2016-08-17 10:46:18 +02:00
malte_langkabel 783e0ac060 data: recording braces in java
* implemented recording of scope braces as local symbols for java
2016-08-16 15:22:59 +02:00
malte_langkabel 77848a3d67 build: java indexing fixes for linux 2016-08-16 10:10:18 +02:00
malte_langkabel ae5a6a5d46 data: unresolved type names
changed names of unresolved types from "error-type" to "unresolved-type" because it's easier for the user to understand what that means.
2016-08-12 15:50:25 +02:00
malte_langkabel 5c0ed7f7f2 data: avoid duplicate access components
* added check to make sure that an access component does not already exist before inserting it into the database
2016-08-12 15:36:48 +02:00
malte_langkabel 279fc7ae82 data: shortened local symbol names
* removed var name from local symbol names that get stored in the db
2016-08-12 09:58:35 +02:00
Andreas Stallinger 8776a8e285 data: separate table for filecontent 2016-08-12 09:55:46 +02:00
Manuel Dobusch c6a6e6d028 build: wix installer integration
Updated wix installer to better facilitate the integration into the deploy process.
2016-08-11 15:14:15 +02:00
malte_langkabel c847fba568 src: Project Refactoring
* Added language specific Project and ProjectSettings
* moved project specific code from Application to Project
* made Application a singleton
* added handleDialog method to Application which displays a dialog window and waits for user input
* Added ScopedFunctor that executes a function when deleted
2016-08-11 12:17:13 +02:00
Eberhard Graether 6b51c7cfe4 logic: Fixed scrolling to line from plug-in and moved all code view scrolling into QtCodeNavigator 2016-08-10 16:16:32 +02:00
Eberhard Graether 2800c072ff logic: Cache graph and stats of overview in StorageCache 2016-08-10 13:15:45 +02:00
Manuel Dobusch d0cf500c8e build: new windows installer
Created new windows installer based on the WiX Toolset
2016-08-09 16:32:27 +02:00
Eberhard Graether 9cda1e773d logic: Fixed graph nodes restoring their expand state
bug id = 118
2016-08-09 15:32:14 +02:00
Eberhard Graether b9f518feed ui: Fixed content disappears when switching color scheme in preferences 2016-08-09 14:07:59 +02:00
Eberhard Graether d0a063a3b6 ui: Added shortcuts for navigating to next and previous reference in code view
* Added new class QtCodeNavigator between QtCodeView and QtCodeFileList that handles active ids and navigation
* Pass all files as initially collapsed to code view and decide in QtCodeNavigator which ones show content
* Rewrote requesting of active snippet display to top down approach
* Display other locations focused when active location changes
* Show corresponding edges when navigating references
2016-08-09 13:29:14 +02:00
malte_langkabel 210c5b1245 src: java exception handling for override edges
* added exception handling when resolving override edges.
2016-08-08 15:33:34 +02:00
Andreas Stallinger d36a0fc07a documentation: plugin repos added
* repo urls added
* eclipse manually installation instruction added
2016-08-08 11:01:25 +02:00
Eberhard Graether 17fece804b ui: Tab in search completes up to next ::, Delete erases to last ::
bug id = 133
2016-08-06 16:39:43 +02:00
Eberhard Graether fae418897c ui: sub bundle for anonymous namespaces
bug id = 126
2016-08-06 14:47:38 +02:00
Eberhard Graether 7616e07eeb ui: Added help menu actions to show log and data folders 2016-08-06 13:14:30 +02:00
Eberhard Graether 3c88998c10 src: fixed clang warnings 2016-08-06 12:53:17 +02:00
Eberhard Graether f7de8d017a ui: Added new load gif with higher resolution 2016-08-04 17:02:48 +02:00
malte_langkabel 19d6ca3079 data: type alias indexing
* added recording of type aliases (note: template type alias does not work properly right now)
2016-08-04 13:12:54 +02:00
malte_langkabel b072972b50 data: indexing java
* expanded appsettings to include java specific stuff
* added java indexer as separate project that can be build via its build script
* added dependencies for java indexer to the setup folder
* added license files for these dependencies.
* added sample project for java. this is just to test java on other machines and can be removed again in the future.
* the java parser test suite is currently uncommented because java is not running on every machine.
* added some more node types
* removed TokenComponentAccess::AccessType and replaced all its usages by using AccessKind
* moved access components from edges to nodes
* using recordReference of ParserClient for java
* removed recording access specifier of inheritance edges.
* added styles for new node types
2016-08-04 09:20:13 +02:00
Eberhard Graether 05c06a6102 ui: Changed graph access public icon and added default icon 2016-08-03 18:06:30 +02:00
Andreas Stallinger 66e48d5608 documentation: Atom added and Melpa(Emacs repo)
* add atom plugin to docu
 * emacs plugin is now on melpa(online package archive)
2016-08-02 11:51:46 +02:00
Eberhard Graether b32836c58f blog: Google story blog post 2016-07-30 00:36:24 +02:00
Andreas Stallinger f88cc16a36 docu: plugin section updated
emacs, vim, ...
2016-07-28 17:08:15 +02:00
Andreas Stallinger d5e9cecef3 logic: scroll code when no symbol
Scrolling to line, when comming from plugin and the file is was modified.
Since there we dont know from the position data if the symbol on position is the right one,
we scroll to the line if modified.
2016-07-28 14:16:15 +02:00
Andreas Stallinger acaf58c3f8 ui: Shortcut for Preferences on Linux/Windows 2016-07-28 14:12:09 +02:00
Eberhard Graether 2672299a58 ui: Stay at original line when expanding scope in the code view
bug id = 82
2016-07-22 14:57:36 +02:00
Eberhard Graether f4677a902d ui: Pan graph view to name of active symbol after activation
bug id = 80
2016-07-22 13:57:58 +02:00
Eberhard Graether b2cb95de1b ui: Moved color scheme selection to preferences
* removed 'Switch Color Scheme' action from View menu
* added dropdown with all fetched color schemes to preferences

bug id = 114
2016-07-20 17:27:53 +02:00
Eberhard Graether 6e9a6f9a8d ui: Moved Preferences to Edit menu
bug id = 113
2016-07-20 15:57:45 +02:00
Eberhard Graether cb869c2465 data: Store separate storage version number in SqliteStorage for managing migrations
* deprecated the third version number as storage update number
* version can now have either 3 or 4 numbers
* whether a .coatidb file is outdated is now solely determined by the SqliteStorage::STORAGE_VERSION
2016-07-20 14:14:21 +02:00
Eberhard Graether eb8808b624 logic: Hide non-fatal errors in unindexed files
* added database field indexed to error to tell if the error occured within an indexed file
* added checkbox to Preferences for showing them
2016-07-20 12:24:46 +02:00
Eberhard Graether f93b31a942 ui: Fixed file out-of-date star disappearing when showing snippets after minimized state, AKA star bug 2016-07-19 14:42:04 +02:00
Eberhard Graether 46be24ab26 web: Added page navigation top and bottom to blog 2016-07-18 17:33:52 +02:00
malte_langkabel 11a1ccc822 web: updated blog post "Parameter or Argument?" 2016-07-14 17:17:19 +02:00
malte_langkabel ca31eda54e web: Blogpost Parameter or Argument? 2016-07-14 11:12:08 +02:00
Andreas Stallinger 5813e3dcf8 docu: Linux install script 2016-07-11 12:45:01 +02:00
Andreas Stallinger 255cb252d6 docu: update for eclipse and clion/intellij plugin 2016-07-11 12:30:13 +02:00
Eberhard Graether 8b770b0c71 ui: Increase code view performance by caching line lengths in QtCodeArea 2016-07-08 14:36:12 +02:00
Eberhard Graether 06255286ae data: No implicit nodes in search autocompletion 2016-07-08 11:08:56 +02:00
Eberhard Graether 8a13aebc3f build: Added changelog for release 0.7.0.22 2016-07-07 14:32:01 +02:00
malte_langkabel 5bfd0ecbbe build: added size grip image to windows installer 2016-07-07 13:16:18 +02:00
Eberhard Graether e604c3b025 build: Fixes for release
* show custom icon for size grip
* add small margin at bottom of windows to show full shadow on Windows
* remove color_scheme_test keyword from autocompletions
* commented failing vs solution parser tests
2016-07-07 12:25:20 +02:00
Manuel Dobusch b683d7b2d6 logic: VS Solution Macro Handling
Added handling of project specific VS macros
2016-07-07 00:14:29 +02:00
malte_langkabel dbcb8f449c ui: removed clang warnings from console
* disabled clang warnings to be dumped into the console
* changed logging type of storage stats from WARNING to INFO
2016-07-06 18:22:02 +02:00
Andreas Stallinger 592cc99cee src: fix missing include
include memory for shared_ptr
2016-07-04 15:14:54 +02:00
Eberhard Graether 4e18389d38 ui: Added singleton QtContextMenu with global back and forward actions
* QtContextMenu holds default actions for back and forward
* additional actions can be passed to extend the default menu
* currently used in QtMainWindow and QtCodeArea
* fixed crash on undo when only view actions happened since project load

bug id = 108
2016-06-30 16:49:16 +02:00
Eberhard Graether 32f894422d ui: Made QtWindow resizeable with resize grip
* added size grip to bottom right corner of QtWindow
* use layouts on start screen
* added close button in about window to layout

bug id = 102
2016-06-30 13:52:18 +02:00
Eberhard Graether b5d9d20bc9 ui: fixed flickering of search autocompletions popup 2016-06-29 22:15:00 +02:00
Eberhard Graether cba0cfad65 logic: Fixed crashes and halting during indexing
* Fixed CPPSqliteException being thrown due to not properly destructed statement in addError
* Fixed indexer getting stuck after building caches because MessageFinishedParsing was interrupted
* removed Message::cancel() method and all related code

bug id = 105
2016-06-29 14:10:26 +02:00
Eberhard Graether ba3316008a build: Fixed MacOSX build crashing on launch due to unknown command line option
bug id = 103
2016-06-28 17:50:36 +02:00
Eberhard Graether 8ca54f2091 ui: removed 'Save Project' and 'Save Project As' actions
* removed save actions from menu in QtMainWindow
* removed MessageSaveProject and all Listeners
* updated project loading to ask whether old project and db file should be kept at old location
* fixed crash for missing include files
* fixed simple header search within source paths was broken
2016-06-28 15:59:22 +02:00
Eberhard Graether 2cf033d43a data: Speed up include parsing by reusing current path in PreprocessorCallbacks 2016-06-24 14:41:17 +02:00
Eberhard Graether 3430ed2a1b logic: Fixed spaces not working in search bar
The QShortcut members of QtMainWindow did not propagate the keypress events further. The keyPressEvent of QtMainWindow
is now used instead.
2016-06-24 13:54:54 +02:00
Eberhard Graether 140d4a406a logic: Fixed detected global search paths keep original order
The global header search paths were sorted alphabetically after detection due to checking for uniqueness. This caused
problems with #include_next directives in certain std header files that relied on the correct header search path order.

bug id = 101
2016-06-24 13:35:16 +02:00
Eberhard Graether 44cee3d130 web: Fixed syntax highlighting did not work on Mac due to missing language specification 2016-06-24 12:44:11 +02:00
malte_langkabel 5161455355 web: fixed clang post
<description>
2016-06-24 11:56:13 +02:00
malte_langkabel e7efff8843 web: indexing clang with coati using clang
* added new blog post
* implemented play button for gifs
2016-06-23 17:53:36 +02:00
Eberhard Graether 7f867bf889 ui: added color_scheme_test command displaying all graph node types and states
implementations for other views comming.
2016-06-22 16:14:06 +02:00
malte_langkabel 36c504d8a0 build: added missing include 2016-06-21 10:35:38 +02:00
Eberhard Graether 9560cc4ea6 utility: Added Tracer for collecting time measurements
* define TRACING_ENABLED in utility/tracing.h to enable tracing
* invoke TraceEvent by writing TRACE() at start of function or scope
* provide an event name with TRACE("name")
* press SPACE to show collected traces history and report with accumulated times
2016-06-16 12:03:34 +02:00
Eberhard Graether 6b31a43f75 blog: post for release 0.7 2016-06-16 10:03:05 +02:00
Eberhard Graether b4c094e784 docs: Updated documentation to 0.7.0 2016-06-16 10:00:50 +02:00
Eberhard Graether 7227a47b49 build: Changelog for 0.7.0 2016-06-16 09:57:15 +02:00
malte_langkabel 0aa97adb17 data: fixed tutorial includes 2016-06-14 17:21:55 +02:00
malte_langkabel 247be13650 build: updated windows deploy
* added vim plugin directory to package
* changed version number of installer
2016-06-14 16:19:09 +02:00
malte_langkabel 2b93bdc283 src: headless crash
* fixed crash when loading project in headless mode
2016-06-14 16:02:40 +02:00
malte_langkabel 98b13ef24d ui: overlay window base size
* added property in application settings to define a basic width and height that is used when creating new overlay windows.
* fixed crash in tests
2016-06-14 15:27:03 +02:00
Eberhard Graether b7ba10e119 script: Added vim to plugins in Mac bundle 2016-06-14 12:50:15 +02:00
Eberhard Graether 253af27067 ui: changed wording in the UI to indexing instead of analysing 2016-06-14 12:45:13 +02:00
Andreas Stallinger 83e4bcd049 build: vim plugin readme added to linux package
<description>
2016-06-14 12:41:23 +02:00
Andreas Stallinger 2125396665 utility: vim plugin
readme for vim plugin added to ide_plugins
2016-06-14 12:34:43 +02:00
Eberhard Graether 1c0c2e78df data: Cache current file path in PreprocessorCallbacks to avoid lookup for every macro directive 2016-06-14 10:41:41 +02:00
Eberhard Graether b9c0f9ed3e data: Fixed macro expand location was wrong when used within expansion of different file 2016-06-14 00:01:36 +02:00
Eberhard Graether 72a48f997f logic: Avoid reparsing when no project files nothing changed 2016-06-13 23:21:35 +02:00
Eberhard Graether 986f67df8e data: Removed error logs in CxxDeclNameResolver.cpp
bug id = 94
2016-06-13 22:50:02 +02:00
Eberhard Graether 208f2b1158 ui: Changed full text search character to ? and added shortcut CTRL+SHIFT+F 2016-06-13 21:07:14 +02:00
Eberhard Graether b07d03692d logic: Reworked CDB project setup
* added separate step for project name, project location and cdb path
* added description that project stays up-to-date under cdb path picker.
* added include and framework paths to advanced settings
* disregard source extensions for cdb projects

bug id = 70
2016-06-13 16:43:37 +02:00
Eberhard Graether aae388d8ee logic: Check compilation database path before refreshing 2016-06-12 11:21:18 +02:00
Eberhard Graether b57171552f ui: Added download link to start screen 2016-06-12 10:12:27 +02:00
Eberhard Graether be3ba0ba23 ui: Added status messages for fulltext search 2016-06-12 09:35:11 +02:00
Eberhard Graether 19e26268cf build: Added Qt gif plugin to fix loader gif in release build not working 2016-06-11 04:14:10 +02:00
Eberhard Graether 77080464d7 data: Analyze all types of macro usage 2016-06-11 03:46:44 +02:00
Eberhard Graether 594bb41a6f logic: Fixed app can't find user data after parsing CDB because working directory changed 2016-06-11 03:09:04 +02:00
Eberhard Graether c5af4ed4e5 data: Fixed files being consumed by multiple threads 2016-06-11 02:25:19 +02:00
Eberhard Graether 6821fd1c9a data: Fixed macro expands not saved within macro expands 2016-06-10 22:24:14 +02:00
Eberhard Graether 7e3b2622ec src: miscellaneous bug fixes for upcoming release
* only randomize parsing order of source files for multithreaded indexing
* fixed overview not displayed when switching projects due to MessageScrollCode being dispatched
* avoid adding duplicate TokenLocations that causes highlighting to break in QtCodeArea
* clear all controllers when switching project
* maximize unindexed file when clicking title instead of activating it
2016-06-09 12:30:00 +02:00
Eberhard Graether 5173400b8d logic: Showing annotations in fulltext search results
* new LocationType for errors
* refactored CodeController
* cache active locations in CodeController for later manipulations
2016-06-08 20:33:34 +02:00
Eberhard Graether c6fa1f0969 ui: Defined colors for fulltext search and fulltext code highlights 2016-06-07 15:10:09 +02:00
Eberhard Graether b10c55e7f9 src: Added logic and UI for excluding files and directories from analysis
bug id = 68, 47
2016-06-07 10:46:36 +02:00
Andreas Stallinger 6edcd77eb2 logic: fulltextsearch with suffixarray
* delete test.sqlite in storagetestsuite in desstructor
* remove new and delete from suffixarray
* case sensitive fts
* fixed fulltext results annotated like errors
* lazy suffix array building
* fulltextsearch folder added
* go back too branch without _publish
* suffixarray working
* logic: Improved code view performance
2016-06-07 08:49:34 +02:00
Eberhard Graether 53120cf270 ui: fixed autocompletion list highlights wrong for large indices 2016-06-06 15:40:46 +02:00
Eberhard Graether 468e55f078 ui: Repaint graph view after animation to remove artifacts
bug id = 75
2016-05-31 16:44:24 +02:00
Eberhard Graether ab43d309cb data: optimize memory of sqlite database
* use sqlite "VACUUM" after analysis to reduce memory size
* only add filename to name of local symbol
2016-05-31 15:49:12 +02:00
Eberhard Graether da01855b68 ui: Fixed edge name showing when undoing and redoing 2016-05-31 14:15:50 +02:00
Eberhard Graether 2660465b31 ui: Fixed derived bundle layouted to wrong bucket 2016-05-31 14:02:30 +02:00
Eberhard Graether dfcb9214f4 build: Fixed broken code view style due to app changing working directory while analysing from compilation database 2016-05-31 13:17:36 +02:00
Eberhard Graether d6e2c46420 data: Catch sqlite database close exception that happens sometimes 2016-05-31 12:34:07 +02:00
Eberhard Graether 8222729bb9 logic: Removed undo step for graph and code view manipulations
* graph node moving
* graph node expanding
* code file expanding
* scope expanding
2016-05-31 12:12:05 +02:00
Eberhard Graether 3f032ea822 data: Fixed macro definition not connected to file 2016-05-30 17:06:35 +02:00
Eberhard Graether 5a6e042c8f logic: Removed ActivationTranslator and show old token names in search field 2016-05-30 16:00:55 +02:00
Eberhard Graether 5bb6902cdf src: remove unused stuff
* PersistenStorage::removeUnusedNames
* Dictionary
* DictionaryTestSuite
2016-05-30 14:23:50 +02:00
Eberhard Graether 71cf6bb5f4 logic: randomize source file parsing order to reduce header file double parsing
saves 20% parsing time for Coati
2016-05-30 12:21:39 +02:00
malte_langkabel f02169b08e data: more compiled statements
* added some more statement compilations regarding dangerous names.
2016-05-27 17:20:33 +02:00
Andreas Stallinger 4b734a05f9 utility: Sublime Plugin, import idna encoding
* include fileinfo in fileregister instead of include (for unordered_map)
* sublimeplugin import idna encoading
2016-05-27 12:26:52 +02:00
Eberhard Graether 6165d2fffa ui: Fixed edge drawn wrong when leaving from child nod of smaller node 2016-05-27 12:06:16 +02:00
Eberhard Graether 4e08d86602 logic: Fixed base and derived classes not correctly at top or bottom
Prioritize inheritance and override over all other edges.
2016-05-23 15:58:31 +02:00
malte_langkabel d80a123a5a logic: PARSING files are UNPARSED
* changed ***FileIsUnparsed in FileRegister to disregard files that are currently parsing.
* made Cach more generic by adding the option of providing a custom hasher
2016-05-23 14:58:48 +02:00
Eberhard Graether badad741b0 logic: Fixed slow aggregation click and nodes not staying expanded 2016-05-21 04:44:31 +02:00
Eberhard Graether 5d2a476813 logic: Improved graph and code view performance
* added sql index for component_access
* improved policy for expanded code files
* reduced amount of initially expanded code files
* faster DummyEdge creation
* faster DummyNode search by token id
* switched GraphController DummyNodes and DummyEdges to shared_ptr for memory safety
2016-05-21 00:01:46 +02:00
malte_langkabel 4a6f8cf420 src: crash fixes
* fixed crash when snippet has no code.
* fixed crash when saving a filenode with special characters in its name
* fixed crash when aborting the parsing
2016-05-20 13:52:37 +02:00
Eberhard Graether 946be38fa2 utility: Fixed FilePath::contains 2016-05-20 12:52:37 +02:00
Eberhard Graether 86d1ff2905 logic: Changed include files being analyzed solely by path
* removed header extensions
* added source extensions to source path setup screen
* added caching to hasFilePath check
* don't show header list in CDB setup
* removed TestSettings.xml
2016-05-19 21:47:09 +02:00
Manuel Dobusch 5295267513 ui: generic solution parser
completed first version of generic solution parsers
2016-05-18 16:50:26 +02:00
Manuel Dobusch 2f25279662 logic: vs solution parsing fix
Fixed issue with vs internal macros
2016-05-18 14:19:41 +02:00
Eberhard Graether e943ef149e ui: Added more settings to the preferences
Added font face, font size, tab width, analysis threads
2016-05-18 11:15:28 +02:00
malte_langkabel e40459e71d src: storage refactoring
* used the getFirst/getAll template methods throughout the SqliteStorage.
* renamed LambdaTask to TaskLambda to match our naming convention.
2016-05-17 17:09:18 +02:00
malte_langkabel cb9dde6641 logic: fix local symbols in lambda
* fixed the isImplicit method of the ASTVisitor to use the parent context to determine if a lambda record is implicit.
2016-05-17 16:30:26 +02:00
Eberhard Graether 4097493181 ui: Sort snippets to always show definition on top 2016-05-17 15:26:45 +02:00
Eberhard Graether 9f80bcbcb7 ui: Fixed nodes not sorted when expanding in overview 2016-05-17 14:47:36 +02:00
Eberhard Graether 79f788db2e ui: sort buckets in graph layout alphabetically and put bundles at end 2016-05-17 14:28:22 +02:00
malte_langkabel 67e4d84631 logic: indexer count and fixes
* added option to define the amount of parallel indexers in the appsettings
* fixed unparsed files query in ASTVisitor
* fixed: to update a node's type in the storage the node does not have to be defined anymore
2016-05-13 16:30:16 +02:00
Eberhard Graether 7bb40f2630 logic: Simplified node bundling by collecting relevant data upfront 2016-05-13 14:17:20 +02:00
malte_langkabel c61efbbcde logic: multithreaded parsing
* modified the TaskParseCxx to be able to run multiple times in parallel
* made FileRegister threadsafe and changed a lot of its mechanisms
* added TaskGroupParallel that runs all children in parallel
* added TaskParseWrapper that acts as a decorator to execute some code before and after parsing.
* implemented task setup in project with 4 parsing threads
* removed SimpleTask as it was only used as interface for the LambdaTask
2016-05-13 13:23:54 +02:00
Eberhard Graether 245cafdc7b logic: Improved code view performance
* fixed bottleneck in TokenLocationCollection::findLocationFile()
* cache file ids and paths in PersistenStorage
2016-05-12 22:50:14 +02:00
malte_langkabel 6a576bccc9 src: storage refactoring
* renamed Storage to PersistentStorage
* added Storage as baseclass that implements data injection
* cleaned ParserClient interface
* added default constructors for storage types
* cleaned SqlteStorage by implementing the private getAll methods as template specializations
* added CXX flags to CMakeLists (this is needed for sqlite with visual studio)
* removed TestStorage.h/.cpp since these files were not used anymore.
2016-05-11 13:23:31 +02:00
Andreas Stallinger 2a73c42a18 ui: Colorscheme update for Fulltextsearch 2016-05-10 15:34:06 +02:00
Eberhard Graether 9148a4fafb ui: Fixed file button in code file title bar not visible 2016-05-10 14:25:39 +02:00
Eberhard Graether c4ef18fb6d web: Added jekyll blog with hpstr theme and first post for release 0.6
The README contains the commands for building the blog in all different configurations.
2016-05-10 14:10:21 +02:00
Andreas Stallinger e775ae1ecd logic: Fulltextsearch
* fulltextsearch enabled in sqlite
* fulltextsearch start search with @
* codeview performance improved
* strip sRGB profile from png files to get rid of libpng warning at runtime
2016-05-10 11:10:13 +02:00
malte_langkabel 30faa7e52f ui: fix codeview scrollbar and search crash
* fixed size policies of codeview elements to prevent the codeview from having a global scrollbar
* fixed crash in sorting of search results
* removed debug log when panning a codesnippet
2016-05-04 18:38:53 +02:00
malte_langkabel 75ced4b775 build: update to clang 3.8
* removed unsupported method from ASTVisitor after updating to clang 3.8
2016-05-03 15:59:59 +02:00
malte_langkabel 8ef6d77c50 web: documentation updates 2016-04-27 15:14:48 +02:00
Andreas Stallinger bdf713f078 documentation: Use Bear to generate compilation database 2016-04-27 14:58:57 +02:00
Eberhard Graether 999522ca20 docs: updated changelog and documentation 2016-04-27 12:15:03 +02:00
malte_langkabel 000938cf8c build: installer fix
<description>
2016-04-26 18:50:55 +02:00
Eberhard Graether 3ef9db3a84 ui: removed us of utf8 circle due to Linux issues
* Use dot.png in status bar again
* use * for out-dated files
2016-04-26 18:36:50 +02:00
Eberhard Graether 3d2d434125 ui: Added cancel button to enter license window 2016-04-26 18:28:57 +02:00
malte_langkabel 9a92422984 ui: fixed error circle for windows
<description>
2016-04-26 17:36:14 +02:00
Eberhard Graether 32dc545a60 ui: Added welcome message to trial 2016-04-26 17:33:47 +02:00
malte_langkabel bfb6b458b3 build: windows version number updates
* updated version number of windows installers for app and trial
* updated visual studio plugin version number and plugin meta information
2016-04-26 17:23:38 +02:00
Eberhard Graether fd905f76e5 ui: Updates for release
* updated color scheme highlight colors
* fixed highlight color resetting
* prevent project file being save with no changes
* fixed MessageListener crash due to alive flag being set too late
* new edit project icon
2016-04-26 16:40:09 +02:00
malte_langkabel 279f7410d3 build: optional start menu shortcut on windows 2016-04-26 14:28:35 +02:00
malte_langkabel 4063afb3b0 ui: codeview fixes
* fixed file out of date icon to be displayed correctly on windows
* added tooltip for edit project button when codeview is in overview state
2016-04-26 12:21:09 +02:00
malte_langkabel 038991ce39 ui: linux high dpi fix
* disabled qt high dpi auto scaling on every platform but windows since it doesn't do anything on mac and screws up everything on linux.
2016-04-26 10:30:35 +02:00
Andreas Stallinger c3a148833b src: string replace fix in filepath 2016-04-26 08:51:46 +02:00
Eberhard Graether f9aed67776 src: Various fixes from testing
* fixed deleted project could still be selected in the recent project menu
* fixed project file not loaded when declining for reload
* fixed main in tutorial description not clickable
* fixed clang warnings
* fixed commands not showing up in autocompletion
* fixed classes were expanded when activating aggregation
* fixed crash when messagelisteners tried to unregister after messagequeue was destructed
2016-04-25 17:27:20 +02:00
malte_langkabel e17c42b2ef ui: fixed show files in project settings
* FilePath::relativeTo(...) did not return correct results for non-canonical paths (for a base path containing "/foo/.." it would prepend "../" two times instead of omitting it).
2016-04-25 16:45:29 +02:00
malte_langkabel 932ef67fc7 build: deploy edit icon on windows
* added edit icon to windows setup projects.
2016-04-25 15:41:39 +02:00
malte_langkabel e86479be20 data: implicit local symbol fix
* prevented recording of local symbols that are part of implicit code (like the parameter of an implicit copy constructor).
2016-04-25 15:32:57 +02:00
malte_langkabel 4b4d2157eb build: windows deploy fixes
* added home button icon to windows installer projects
* changed deploy script to build the coati dbs in headless mode
2016-04-25 13:30:41 +02:00
Eberhard Graether 69925917bc ui: Added edit project button to stats in overview 2016-04-25 12:39:10 +02:00
malte_langkabel 55660563c8 ui: fixed panning in code
* fixed bug where panning stopped when hovering the line number area in the code view.
* when relasing the mouse button on a clickable code location after panning the location is not activated.
2016-04-25 10:29:55 +02:00
Eberhard Graether 6bca5d2964 ui: Removed simple setup as distinct step from project setup and moved it to include paths 2016-04-24 23:58:48 +02:00
Eberhard Graether 6be207a68a logic: Ask user before reparsing the project
While the message box with the question is visible the ui is blocked. A message appears when:
* when project was edited
* when preferences were edited
* when project file has more recent changes than db
* when db has a different version than Coati
2016-04-24 22:47:39 +02:00
Eberhard Graether a6e57a6564 logic: Show error message when license expired
* moved all license checking logic to LicenseChecker
* create LicenseChecker instance in app
* Notify MainView with MessageForceEnterLicense
2016-04-22 13:58:13 +02:00
malte_langkabel 73973cb4a3 logic: headless license check
* added license check when running coati in headless more.
2016-04-22 13:45:56 +02:00
malte_langkabel 3e90b62c82 build: qt dll update
* updated qt dlls to our current version of qt (before the dlls of the qt 5.6 beta release have been used).
2016-04-22 11:03:49 +02:00
Eberhard Graether 1b23a44f20 logic: Fixed bundling of referencing types 2016-04-22 00:09:43 +02:00
Eberhard Graether 780530ba3c ui: Show undefined nodes when activating namespace 2016-04-21 23:25:07 +02:00
Eberhard Graether 96ec7e9fa3 build: updated Mac bundle script to Qt 5.6 2016-04-21 23:14:38 +02:00
malte_langkabel 013d528c6b web: added local variables to documentation 2016-04-21 16:29:21 +02:00
Eberhard Graether 526f966356 ui: Fixed path checking in project setup wizzard 2016-04-21 16:11:00 +02:00
malte_langkabel b5bcabb494 ui: qt high dpi scaling
* Enabled automatic scaling for high dpi systems that has been introduced with qt 5.6. This is only a temporary solution. We should change the ui code to use only em scales instead of pixels.
2016-04-21 15:41:57 +02:00
Eberhard Graether 3fe3bcb25d ui: Improved style of error label in status bar
* use utf8 circle instead of dot.png
* underline on hover
2016-04-21 14:47:58 +02:00
Eberhard Graether 2417d27069 ui: Show circle next to file that are out of date 2016-04-21 14:29:10 +02:00
Eberhard Graether 5c52bc6060 ui: Removed Code Blocks project type button 2016-04-21 13:31:45 +02:00
malte_langkabel 19d91da108 build: more dlls for windows installer
* manually added some dlls that may be missing on some windows systems.
2016-04-21 13:18:31 +02:00
malte_langkabel 4ec89e71ca src: code refactoring
* added SymbolType that can be used by ASTVisitor and ParserClient
* reordered some of the ParserClient's methods.
* removed return type of ParserClient methods.
2016-04-21 12:26:49 +02:00
Eberhard Graether 36d17123f3 data: Added sql index for local symbol names to speed up analysis 2016-04-21 11:00:08 +02:00
Eberhard Graether 40144bbcb9 logic: Retrieving StorageNodes for Autocompletion and FileInfos for modification time at once
Had only a small impact on performance unfortunately.
2016-04-20 23:39:21 +02:00
Eberhard Graether 03675e1658 logic: Fixed declaration locations sometimes not visible 2016-04-20 21:41:26 +02:00
malte_langkabel 1bf721588b build: windows installer dlls
* removed redistributable as prerequisit from installer
* added merge module for these dlls to the installer
* added "my_next_step.h" for the tutorial project to the installer
* renamed visual studio plugin
* updated deploy_windows script to use vs14 to build the installers
2016-04-20 18:18:10 +02:00
Eberhard Graether c380854b34 utility: removed unused flag :isFromSystem from MessageActivateNodes/Tokens 2016-04-20 16:34:21 +02:00
Eberhard Graether 3ee5f261d6 utility: Fixed utility::append for vector was actually prepending 2016-04-20 16:28:29 +02:00
Eberhard Graether 1a843db3b7 logic: Tweaked autocompletions results
* mix command and token results
* tweaked scoring
* added scoring for matched letters after non letters like _
* increased performance by removing separate sort step using single results vector in recursive search
* made sorting alphabetical: A < a < B < b
2016-04-20 16:00:26 +02:00
malte_langkabel ea4acef2de logic: codeview activation policy
* changed activation policy of codeview to activate implicit nodes only when no explicit or undefined nodes are found for the clicked code location.
2016-04-20 13:24:03 +02:00
Eberhard Graether ce5c3e8626 ui: Added timer stopper to QtGraphicsView to stop movement if keyup event not registered 2016-04-19 23:13:41 +02:00
Eberhard Graether f19cdc3bb9 ui: Fixed text color resetting in code view 2016-04-19 22:49:49 +02:00
malte_langkabel 6069dfedc1 src: fixed redo crash
* fixed crash when redoing the last action on redostack
2016-04-19 16:40:49 +02:00
Eberhard Graether 661dbd844c ui: Show undefined child nodes in graph
So far pure virtual methods where not shown when activating the interface class.
2016-04-19 16:37:44 +02:00
Eberhard Graether deccf2734c utility: Fixed FilePath::canonical() still used uninitialized m_exists 2016-04-19 14:53:50 +02:00
Eberhard Graether 5cb06c9bb0 data: Fixed ASTVisitor to not use Node::NodeType 2016-04-19 14:52:08 +02:00
malte_langkabel 29ef349f61 data: recording function pointers
* added recording of references to the ASTVisitor.
* refactored reference recording in ASTVisitor.
* merged all the onXxxUsageParsed methods of the ParserClient.
2016-04-19 13:32:09 +02:00
Eberhard Graether 5d71536bb1 logic: Fixed sorting of search results and crash in undo redo controller 2016-04-19 12:38:03 +02:00
Eberhard Graether 7cd38f8e56 logic: Fixed FilePath to not expand environment variables in constructor 2016-04-19 00:13:02 +02:00
Eberhard Graether a57f24b2b2 logic: rewrote UndoRedoController to differentiate 3 types of priority
ORDER_ACTIVATE for messages that change active symbols
ORDER_ADAPT for graph and code view expanding and collapsing
ORDER_VIEW for scrolling and local symbol activation
2016-04-18 22:38:20 +02:00
malte_langkabel c7940eb34f ui: sorting search results
* search results are sorted by: score > length > name
* fixed crash that occurred when trying to get a node by id with id == 0
2016-04-18 14:05:27 +02:00
Eberhard Graether 325bc6ac83 ui: Text color for highlights in code view
* Deactivate local symbols by clicking into void
* Refactored QtHightlighter to only highlight once
* Removed undo for local symbol activation
2016-04-18 12:34:35 +02:00
malte_langkabel 985be86da0 ui: tutorial update
* mentioned local symbols in tutorial
* mentioned home button in tutorial
2016-04-18 11:50:44 +02:00
Andreas Stallinger 298fd6cf3e ui: Enterlicense quit button
Quit button only for forced enterlicensewindow
2016-04-18 11:08:44 +02:00
malte_langkabel 530e20ede6 logic: added include path detector for visual studio 2016-04-15 14:06:17 +02:00
malte_langkabel 3cb15f1754 build: script fixes
* regex removed in hook since it was not working on windows.
* fixed method for getting the script's path for windows. using this in setup and clean script.
* fixed missing include in cmakelists
2016-04-15 13:57:46 +02:00
Eberhard Graether e68177b634 ui: Fixed backspace not working when focus is on graph 2016-04-15 11:16:38 +02:00
Andreas Stallinger 637cbf88ac fix: handle boost error while recursive directory iteration
handle boostrecursive directory search error
ption>
2016-04-14 16:38:46 +02:00
malte_langkabel 73ee3a27d9 logic: iterated on license checking
- moved LicenseChecker from App to Lib project
- added MessageDispatchWhenLicenseValid. This message takes another message as an argument which is dispatched once the LicenseChecher confirms the current license key or (if the key is invalid) once the user entered a valid key. This message is used when messages are sent that should not be working when no license key has been entered (LoadProject or ActivateTokenLocation via the IDE communication).
- added MessageShowStartScreen which makes the MainView display this screen. This message is also sent via the MessageDispatchWhenLicenseValid.
- removed startup project from appsettings.
2016-04-14 15:25:40 +02:00
Andreas Stallinger a2cba0b94f logic: enviroment variable handling
* expanding env vars for existsens check
* expand source paths in filemanager
2016-04-14 13:39:48 +02:00
Eberhard Graether 9534ccb454 ui: fixed QtDirectoryListBox not sized correctly when overwriting list 2016-04-14 12:57:13 +02:00
Andreas Stallinger 23fbe6c384 script: move forced test to precommit hook
NOTE: run setup.sh script to update the hooks
* commit message after building and testing
* pushing tags does not run builds and tests
2016-04-14 11:46:53 +02:00
Eberhard Graether bee3961040 logic: Fixed implict children of implicit classes not shown in graph 2016-04-13 14:44:39 +02:00
Eberhard Graether 8d2709a2ad ui: added shortcut and menu item for "To overview" and updated documentation 2016-04-13 13:45:39 +02:00
Eberhard Graether ad8abd9182 ui: Added home button left of search bar to return to overview
bug id = 40
2016-04-13 13:05:02 +02:00
Eberhard Graether fcc39f4a77 ui: Improved user experience of error display
* label errors as errors instead of references in file snippet headers
* show number of fatal errors in file snippet headers as well
* only show the first 10 error snippets open, remaining collapsed
* don't show status message after parsing in red on errors
* don't show stats of parsing when project was only loaded
2016-04-13 12:14:55 +02:00
Andreas Stallinger 4eef42d15c ui: Startscreen Messagebox to delete missing coatiprojectfiles 2016-04-12 14:13:15 +02:00
Eberhard Graether b088ca6adf logic: show subnamespaces as nodes instead of their children 2016-04-12 13:39:42 +02:00
malte_langkabel b9c4bd05cd data: showing local symbols
- added local symbols to storage
- added tests for local symbol parsing
- added MessageActivateLocalSymbols to activate local symbols in code view
- TokenLocations now store their LocationType instead of a plain bool "isScope"
- moved LocationType from TokenLocation to separate file, since it is also used in Annotations now.
- added local_symbol in stylesheet to define a style for hovering and activating these elements
- renamed location to token in stylesheet
2016-04-12 13:28:37 +02:00
Andreas Stallinger a448485b35 build: linux package change to qt5.6 2016-04-12 12:58:06 +02:00
Eberhard Graether 9307d6d855 logic: Refactored namespace activation
* show namespace name in search view when activated
* show namespace definitions in code view when activated
* no children in namespace
* no implicit nodes in overview or namespace
* Show a maximum of 10 open snippets
* Fixed bug causing nodes in GraphView to be stacked at 0,0
2016-04-12 11:59:37 +02:00
Eberhard Graether e8e6b909a8 logic: Fixed referencing of nodes in GraphController::bundleNodesByType 2016-04-12 11:05:29 +02:00
Eberhard Graether 78287dd694 logic: increased performance of bundleEdgesByType for overview 2016-04-08 14:31:46 +02:00
Eberhard Graether ae6cd6e02c logic: don't show implicit or undefined child nodes in graph unless connected
* visit implicit declarations in ASTVisitor
* show implicit and undefined child nodes only when connected
* fixed some bundle edges couldn't be split
* add "implicit" to tooltip
* show undefiend and implicit nodes hatched
2016-04-07 14:16:17 +02:00
malte_langkabel 7a0cd0c8d7 src: project load performance
removed unused fields from StorageStats to improve project loading performance.
2016-04-07 13:18:41 +02:00
malte_langkabel 7bc2f2b548 logic: improved fuzzysearch score calculation 2016-04-06 17:07:13 +02:00
Eberhard Graether 73e77a1baa docu: updated edge aggregation 2016-04-06 11:41:29 +02:00
Eberhard Graether 5e6714d95a ui: Added user interface for auto system header search paths detection
* moved detection files to lib_gui
* added ui to global header search and framework search ui in project wizzard and preferences
* detecting the search paths will add them to the list if not added yet
* only detected compilers are shown in the dropdown list
2016-04-06 11:23:20 +02:00
Eberhard Graether 93f21283f6 ui: improved angled edges and new style of aggregation
* added different routing options for horizontal, vertical or any
* added different pivot options to connect in the middle or at thirds
* changed aggregation to angled edge with thickness logarithmic to weight
* aggregation to pivot at middle and route any direction
* aggregation weight displayed in tooltip
* inheritance to route vertical
2016-04-04 21:05:39 +02:00
Andreas Stallinger 2ffec90c19 ui: startscreen display not existing project
* displays moved or deleted recent projects as disabled button
2016-04-04 20:43:56 +02:00
malte_langkabel f3dc12b0ed logic: search ui performance optimization
* replaced the implementation of the search index. the search index now uses a search-trie. edges have gates that can be used to check if a character can be matched when following the edge.
* SearchMatches now have a text and a list of NameHierarchies that share this node (instead of Ids, so that nodes must be found by names (which makes sure that SearchMatches are still valid after refresh).
* when parsing a project's description the CodeController now looks for NameHierarchies instead of SearchNode names to find ids of linked elements.
2016-04-04 15:39:39 +02:00
Andreas Stallinger ffc00829f0 ui: Bug Tracker in Menu 2016-04-04 14:39:09 +02:00
Andreas Stallinger e5bf177241 utility: Standardheadersearch
Standardheadersearch for clang and gcc
TODO: Visual Studio & Windows Kit bzw SDK
2016-04-04 14:13:32 +02:00
Eberhard Graether 31f366ab8f ui: Increased graph edge drawing performance
* only draw lines within the redrawn rectangle
* cache polygon points
2016-04-01 15:26:44 +02:00
Andreas Stallinger 2be3b541a6 fix: vs detector fix for wrong published headersearch stuff 2016-03-30 17:56:20 +02:00
Andreas Stallinger 03901e8173 logic: Test License is valid on day 0
* License was invalid on expire date
* build script does not start app after failing build
* symlink on linux
2016-03-30 15:49:08 +02:00
Manuel Dobusch fe74dfb7cc logic: vs plugin upgrade
Upgraded plugin project to vs 2015. Can now serve all targets (vs 2012 to 2015) with one binary.
2016-03-30 14:04:47 +02:00
Manuel Dobusch b75dd2abe1 logic: vs compiler flags
Added compiler flags from VS solution and vs compatibility flags.
2016-03-30 13:37:37 +02:00
Eberhard Graether cec370cfff data: Improved graph retrieval to use fixed number of requests 2016-03-30 12:26:19 +02:00
Andreas Stallinger a662424e2b logic: Test License
Test license for x days
License_generator flag -e <days>
2016-03-29 15:37:58 +02:00
Eberhard Graether ac506622b4 src: Fixed template function specialization defined within class definition caused clang error 2016-03-29 12:13:42 +02:00
malte_langkabel 880a199540 ui: changed the display format of the parse duration to "hh:mm:ss" 2016-03-24 10:44:09 +01:00
Manuel Dobusch 82db193c78 logic: solution parsing refactor
Refactored solution parser handling to make it more generic
Also includes new parser (wip)
2016-03-23 17:06:40 +01:00
malte_langkabel bac394381c ui: codeview show fully qualified scope names 2016-03-23 15:44:27 +01:00
malte_langkabel fee1d97604 ui: moved recent projects submenu
* moved the menu entry for "recent projects" to be placed close to "open project"
* replaced enum for MaxRecentProjectsCount in AppSettings by a getter function.
2016-03-23 14:15:30 +01:00
malte_langkabel d1a4bc7b08 src: small code cleanup 2016-03-22 10:14:59 +01:00
malte_langkabel 6743336f03 data: tweaked refresh for performance 2016-03-21 15:29:19 +01:00
malte_langkabel eab703cb0d data: implicit in database
* storing the information if a node is defined implicitly in the database
* the analysis however does not visit implicit nodes directly. Currently they are just recorded when used somewhere in the code. This should be changed once implicit nodes are hidde in the UI.
* removed error logs for unnamed template parameters and function parameters since it is ok when they are anonymous.
2016-03-18 13:33:34 +01:00
Andreas Stallinger f6de07ecf1 build: update botan paths
botan has new paths on linux build, debug - release fix on linux
2016-03-17 13:58:47 +01:00
Eberhard Graether a78e7b85d1 ui: Use update loop in graph panning and zooming for smooth interaction 2016-03-16 15:03:57 +01:00
Eberhard Graether 2d0700cd06 resource: changelog for 0.5.1.21 2016-03-16 14:44:14 +01:00
Eberhard Graether d18b6fb873 build: Fixed compile_commands.json not exportet 2016-03-16 14:42:28 +01:00
Eberhard Graether 3140b6dbb8 src: Fixed command execution for real
<description>
2016-03-15 18:03:42 +01:00
Eberhard Graether 2008d1401a src: Fixed command order at startup 2016-03-15 17:12:04 +01:00
Andreas Stallinger 23f05c003b build: Linux package update
create database with via commandline in packaging
symlink fix in setup
2016-03-15 16:13:43 +01:00
Eberhard Graether 09e3ff6897 ui: Fixed window size to use biggest dimensions of content and preferred 2016-03-15 15:23:19 +01:00
malte_langkabel 0db6f5fb36 build: installer fixes
* changed the windows installer projects to include the new gui resources
2016-03-15 14:04:30 +01:00
malte_langkabel c398302e4d logic: fixed relative project settings paths
* when specifying relative paths in project settings these stay relative when saving and loading them now.
2016-03-15 12:54:44 +01:00
Eberhard Graether ba523111af ui: Tuned graph zooming 2016-03-14 23:42:45 +01:00
Andreas Stallinger 0cc777a892 script: pre push hook - ignore delete remote branch 2016-03-14 17:02:27 +01:00
Eberhard Graether 1032b83a09 Revert "src: removed use of clang::tooling::CompileCommand::Filename"
This reverts commit 5d845961ac.
2016-03-14 15:21:46 +01:00
Manuel Dobusch 52aeae2f6d logic: plugin binary update
Updated all vs plugin binaries to latest version
2016-03-14 15:13:55 +01:00
Eberhard Graether 0dbdf9081e logic: Reparse project of newer version 2016-03-14 14:52:40 +01:00
Eberhard Graether cefaeae1ab resource: Updated documentation and smaller fixes
* updated documentation of: cdb loading, advanced settings, graph view
* removed stats of search index
* added global search paths to cdb summary
2016-03-14 14:45:42 +01:00
malte_langkabel f82da323b3 data: increased project load and codeview performance
* rewrote searchnode to use map
* added local cache for parent node ids when creating the Hierarchy Cache.
* added indices to SqliteStorage to increase code view performance.
2016-03-14 12:32:01 +01:00
Eberhard Graether 53d5fe6a06 ui: Added more movement controls to the graph
* SHIFT + mouse wheel for zooming
* WASD for moving up, right, left, down
* SHIFT + WS for zooming
* zoom anchor is under the mouse

bug id = 54
2016-03-12 00:55:31 +01:00
Eberhard Graether bcb43eccd0 ui: moved contentbased sizing to QtWindow 2016-03-11 22:22:57 +01:00
Eberhard Graether 813cde4d26 ui: adapt window size to contents if bigger than preferred size 2016-03-11 21:50:07 +01:00
Eberhard Graether f6e2821430 utility: turned of logging for scroll and focus messages
These messages added up to about 80% of all logs during use of the UI.
2016-03-11 15:29:13 +01:00
Eberhard Graether 47bf9bb7fa ui: Show loader when loading project and building search index 2016-03-11 15:18:59 +01:00
Eberhard Graether 8c9b9355d5 ui: Fixed expanding file with errors showed all locations as errors 2016-03-11 13:52:24 +01:00
Eberhard Graether a8aaf6950f data: save nodes and edges to Storage in order of parsing 2016-03-11 13:01:59 +01:00
Eberhard Graether f85d5a6024 ui: Fixed crash when opening preferences 2016-03-10 18:48:58 +01:00
malte_langkabel 9a7b818dba data: parser performance optimization for large projects
* moved inserting everything into the database to the end of parsing a file. this reduces many duplicate queries.
* removed ParserClient interface from Storage.
* errors are updated after parsing a file because we only if there are any duplicate errors after merging the new errors into the database.
* renamed field in db
* added fatal column to error db
2016-03-10 18:24:28 +01:00
Eberhard Graether e7c7178057 ui: Only bundle nodes when a single node is active 2016-03-10 13:03:15 +01:00
Eberhard Graether 527418fe2c ui: Fixed escaping and interrupting
* Fixed crash when closing window with ESCAPE
* Fixed interrupt status message not showing when interrupting parsing
2016-03-10 11:47:33 +01:00
Eberhard Graether 66e8be4b4d utility: Disabled ConfigManager warnings 2016-03-10 10:26:58 +01:00
Eberhard Graether 5d845961ac src: removed use of clang::tooling::CompileCommand::Filename 2016-03-09 12:22:39 +01:00
Eberhard Graether 2d1aa6bf8d ui: Added file extension UI to project setup 2016-03-08 15:20:50 +01:00
Eberhard Graether 20fbfa18be ui: Added toggle for advanced settings 2016-03-08 14:40:28 +01:00
Eberhard Graether 8cc8f5d534 logic: Added compilation database project setup
* Added CDB option to project type selection
* show CDB source files in popup
* define header paths separately
* made generic content summary in wizzard and use it everywhere
* fixed file paths not canonical in analysis
* refactored wizzard content paths to use summary instead of subpaths
* refactored files popup to simpler communication with content

bug id = 35
2016-03-08 13:20:37 +01:00
Andreas Stallinger 90c0d15d20 src: move set app path to linux includes 2016-03-08 13:01:00 +01:00
Manuel Dobusch cabdb69956 logic: listening status for communication controller
Added isListening method to ide communication controller
2016-03-07 17:29:20 +01:00
Andreas Stallinger d431161fbb script: test enforced push to master
enforced building and test with a pre-push hook
IMPORTANT: cmake is needed in PATH
2016-03-07 16:58:57 +01:00
Andreas Stallinger fec17e452d utility: Headless Coati
switch from qt to boost commandlineoptions
coati can now parse a coatiproject without gui with commandline flag -d
show all commandline options with flag --hidden
2016-03-07 16:38:53 +01:00
Manuel Dobusch b761db9b22 logic: fix for TaskParseCxx
Adaption for MessageFinishedParsing change
2016-03-07 16:25:08 +01:00
Eberhard Graether 1603df1a43 ui: Added delay when changing fontsize via mouse wheel
bug id = 44
2016-03-07 15:23:34 +01:00
malte_langkabel 6d7a1faaa4 src: code cleanup
* removed unused code: ParseFunction, ParseVariable and ParseTypeUsage. All this is handled using NameHierarchies now.
* Moved the getErrorCount method from ParserClient to the StorageAccess
* MessageFinishedParsing doesn't know the error count anymore.
* StatusBarController now has a StorageAccess to fetch the error count when needed.
2016-03-07 10:59:39 +01:00
wrongway88 5cdaafc6de logic: vs plugin fixes
Can now deal with single projects and solutions with non-c/c++ projects

bug id = 32
2016-03-05 18:18:54 +01:00
Eberhard Graether c9f1f65ba4 data: Fixed type references in parsed headers saved again 2016-03-04 12:46:44 +01:00
malte_langkabel 731c88dabd data: template argument fix
* improved context detection of template parameters.
* fixed case where declaration and definition of template function has 2 nodes in graph.
* removed code duplications: replaced individual cache classes in ASTVisitor with template based
2016-03-04 11:13:13 +01:00
Andreas Stallinger 8f1326e02a build: clang warning cleanup
* unused member in undoredocontroller
* int - size_t comparion
* virtual destructor ASTVisitor added
* braces when && and || in same if
* 1 warning left: isNamedDeclUnnamed in ASTVisitor is unused
2016-03-03 20:16:20 +01:00
Manuel Dobusch 8b4b4bb027 ui: Prevent network message handling without valid licence
Message by the ide com. controller are now caught by the licence checker to prevent them from causing trouble when waiting for the licence.

bug id = 45
2016-03-02 18:50:20 +01:00
Manuel Dobusch 612e12b35f ui: font size limits
Introduced font size limits and prevent ui refresh beyond those limits. Should prevent UI from freezing up with unlocked mouse wheel.
2016-03-02 16:22:16 +01:00
Eberhard Graether 8fa1763402 docs: changed path to static app data on Windows 2016-03-02 16:16:48 +01:00
Eberhard Graether 346a6f706d ui: Added ui for compiler flags to project setup summary
bug id = 37
2016-03-02 11:59:55 +01:00
malte_langkabel 2ebfbbf88e ui: display fatal errors
* added ErrorCountInfo to incorporate reporting of fatal errors during code analysis.
2016-03-02 10:53:04 +01:00
Eberhard Graether 4425b39ea1 ui: center windows on top of main window
* justify windows in middle of main window
* fixed window resizing
* add window displacement automatic with logo
2016-03-02 10:36:50 +01:00
Eberhard Graether f3534ac6a8 ui: Refactored windows to QtWindow base class
* renamed QtSettingsWindow to QtWindow
* moved functionality from QtProjectWizzardWindow to QtWindow
* use common createWindow method in QtMainWindow
2016-03-01 17:53:58 +01:00
Manuel Dobusch eb831376ce logic: Access right hotfix
Catch exception when coati tries to write to a database without sufficient rights. Display error message asking for restart with admin rights

bug id = 43
2016-02-29 18:07:14 +01:00
Andreas Stallinger b3ac0532cc utility: ringlogging fix, delete when switching log files 2016-02-26 12:31:38 +01:00
Eberhard Graether 47a0dd69a4 resources: changelog 0.5.0.4 2016-02-25 16:45:10 +01:00
Eberhard Graether c35419e281 utility: Fixed file logger using wrong directory for first log file 2016-02-25 14:40:22 +01:00
malte_langkabel bf0d99c9ba build: changed installer version 2016-02-25 12:53:32 +01:00
wrongway88 cfceb21e7e logic: vs solution parsing hotfix
Fixed bugged path building when project items have absolute paths
Based on, but not a fix for UrHo3D parsing crash

bug id = 30
2016-02-25 12:40:18 +01:00
Eberhard Graether e7a2d5a724 logic: Fixed global search paths not saved 2016-02-25 10:25:25 +01:00
Eberhard Graether 2b7f0bc506 ui: disable refresh buttons in trial project 2016-02-25 09:37:28 +01:00
malte_langkabel 08e6f47311 build: Fixed version number for Windows deploy script 2016-02-24 19:46:39 +01:00
Eberhard Graether c65e545ab4 build: Fixed version number for Mac bundle 2016-02-24 15:26:35 +01:00
Andreas Stallinger 389c7881c3 build: linuxbuild public beta 2016-02-24 13:39:22 +01:00
malte_langkabel c5b96a63ba build: windows setup script fix
* removed headless coati usage
* added automatic installer editing. YEAH!
2016-02-24 12:58:14 +01:00
Eberhard Graether 39e7789acd Revert "utility: headless parsing"
This reverts commit 76697d8b6e.
2016-02-24 11:17:25 +01:00
malte_langkabel 4dabe31776 build: windows deploy
* implemented a new deploy script for windows
* created a new setup project for the Coati Trail
2016-02-24 10:52:24 +01:00
Eberhard Graether 64ffafffa8 ui: picking folders and files only works on Mac OS 2016-02-24 10:40:00 +01:00
malte_langkabel 66f7fe9550 ui: fixed some spacings
* enter license screen
* project wizard
2016-02-24 10:34:01 +01:00
Eberhard Graether d34aea17b6 ui: Don't show that files are outdated in trial 2016-02-24 01:36:08 +01:00
Eberhard Graether b07e562a6e logic: Check if color scheme path still exists 2016-02-24 00:30:16 +01:00
Eberhard Graether 33ab897c91 ui: fixed squashed Combobox and pick both files and directories in QtDirectoryListBox 2016-02-24 00:02:17 +01:00
Eberhard Graether 7845987f8f build: added EULA.rtf to MacOS bundle
<description>
2016-02-23 19:58:14 +01:00
malte_langkabel 4c70c867d3 ui: changed the EULA 2016-02-23 19:27:56 +01:00
Eberhard Graether 0291ec9e92 web: updated documentation to cover setup wizzard 2016-02-23 19:08:40 +01:00
Andreas Stallinger 76697d8b6e utility: headless parsing
* resolve merge conflict
   * rpath for dev
   * generate a coatidb with a coatiproject
   * build script change to cmake --build
2016-02-23 18:59:17 +01:00
Eberhard Graether 5b7e958ea7 build: added plist for trial
<description>
2016-02-23 18:45:12 +01:00
Eberhard Graether 391054c0ac build: Fixes for trial release on MacOS 2016-02-23 18:30:34 +01:00
malte_langkabel d8cd3a6f2f ui: fixed linebreaks in license key box 2016-02-23 17:39:19 +01:00
Manuel Dobusch 8a2c4b4e9b logic: vs solution parsing fix
Fixed vs solution parsing to be able to handle some more variations of vs solution layouts...
2016-02-23 16:49:02 +01:00
Eberhard Graether f0178fb3c6 ui: removed compilation database option as project type 2016-02-23 16:04:46 +01:00
Eberhard Graether 8633201350 ui: Added descriptions to project type selection in wizzard 2016-02-23 14:39:43 +01:00
Eberhard Graether 32dc58b0c0 ui: Added compilation database loading via project wizzard 2016-02-23 12:55:17 +01:00
malte_langkabel 3cf3a3f575 ui: adjusted start screen width 2016-02-23 11:01:56 +01:00
Andreas Stallinger 2f94fed439 fix: undo last main.cpp changes
revert last main.cpp changes
2016-02-23 10:43:11 +01:00
Andreas Stallinger 0cbf1ad1bb logic: getframeworkpaths to compilationdatabase
* getframeworkpaths added
* typename for iterator in cache added(fix)
2016-02-23 10:38:34 +01:00
Andreas Stallinger a7975b4428 logic: iframework in compilationdatabase
add iframeworks to compilationdatabase headersearchpaths
2016-02-23 09:55:05 +01:00
malte_langkabel efaee022a6 logic: improved codeview performance
* reduced database queries necessary for creating code snippets in the codeview.
2016-02-22 21:23:33 +01:00
Eberhard Graether 43ac76d38c logic: Only activate node when clicking locations of both nodes and edges 2016-02-22 20:51:58 +01:00
Eberhard Graether 95b4ea4a6c ui: diverse improvements before release
* hide build file content
* use small buttons in all windows
* new design for start screen
* fixed design for enter license ui
* added spacing to summary
* brighter icons in wizzard
* added template icon for graph
* smoothing for graph icons
* switched error icon to dot
* fixed error message tooltip immediatly disappearing
* menu item for opening documentation
2016-02-22 20:07:26 +01:00
Andreas Stallinger e5eb7f2f12 utility: ringlogging
ringlogging
default_logs_per_file: 1000
default_log_files:2
2016-02-22 20:02:53 +01:00
malte_langkabel 1928e4beab ui: codeview template specialization
* when activating a template specialization the specialized template class (specialization parent) is not shown in the codeview anymore.
2016-02-22 15:25:56 +01:00
malte_langkabel e054df2e71 logic: search bar duplicates
* When a location is clicked in the code that has more than one TokenLocations pointing to the same element, only one instance of the element is displayed in the search bar.
2016-02-22 14:17:53 +01:00
malte_langkabel fc1a43c1a5 data: fixed indexer coverage
* revised the check if a declaration is implicit. this affects whether or not the reference to the decl should be recorded.
2016-02-22 13:14:48 +01:00
Eberhard Graether 7847d53fbb ui: Properly handle sub window stacks with QtWindowStackElement interface 2016-02-22 09:19:53 +01:00
Eberhard Graether 95b3fe9950 ui: Fixes in project wizzard
* stretch at end of preferences
* space at scrollbar
* default font size
* only refresh project when something changed
* fixed sizing of text fields
* icons fit to font size
* use em base sizes
* added language to project type label
2016-02-20 02:24:26 +01:00
Eberhard Graether 6e460afbfc ui: project wizzard design
* switched to QGridLayout for wizzard content layouting
* distinguish scrollable windows based on content
* content can define window size
* removed QtApplicationSettingsScreen, now done via QtProjectWizzardWindow and QtProjectWizzardContentPreferences
* added new project icon
2016-02-19 11:52:46 +01:00
Andreas Stallinger a8f5fd02f1 logic: compilationdatabase parsing
* compilationdatabase cleaned
* add SolutionparserCompliationDatabase
* added cmake_build_type_init as release for better autocomplition on linux
* external source handling for different linux versions
* clean script remove windows symbolic links only on windows
* linux external lib handling for different build easier
2016-02-18 17:20:27 +01:00
malte_langkabel 59232bda69 build: installer fix
* added missing folders/data to application dir
* installer now looks for the exe in the Release folder when packaging
2016-02-18 13:11:11 +01:00
wrongway88 ccd42f64be build: updated windows setup project
Removed some superfluous files
2016-02-17 18:22:33 +01:00
Eberhard Graether 5a22875a72 ui: Added links to about window 2016-02-17 15:24:38 +01:00
Eberhard Graether a4c6cebce6 ui: Extended wizzard with simple setup and vs solution parsing
* removed blurry coati background
* added language selection to project type window
* search for headers in project paths option as part of simple setup
* show popup containing list of all analyzed symbols
* show build file path in summary and allow refreshing
* only force refresh after editing project and something changed
2016-02-17 13:32:21 +01:00
malte_langkabel b7bb1349f2 misc: expanded Readme.md
* added instructions for tagging to Readme.md
2016-02-17 12:32:18 +01:00
malte_langkabel 7f33ab37be ui: display of project name
* Window title now reads "Coati - Project name".
* Removed file endings in the recent projects list.
* Changed the first line of the project summary to be "Project: Project name" instead of just "Project name".
2016-02-17 12:20:36 +01:00
malte_langkabel 42513fe102 data: revised indexing
* increased performance. coati is now 1.55 times as fast as at version 0.4
* integrated sourceweb parsing code
* removed astbodyvisitor
* NameHierarchy now store signatures in a new format
* storage does not allow to re-set the type of a node, once it is marked as "defined".
* made onTemplateRecordSpecParsed just create the edge, not the node.
* removed distinction between template specialitzations for functions and classes
2016-02-17 10:45:35 +01:00
wrongway88 9047d602ff logic: windows app path hotfix
windows app path hotfix
2016-02-16 19:54:17 +01:00
malte_langkabel bfb0a20636 build: fix symbolic links
* expanded setup and clean scripts to create/delete symbolic links for the new user folder.
2016-02-16 18:30:42 +01:00
malte_langkabel 70a9394d94 data: ignore MS-style ASM errors
* ignoring a certain error message for MS-style inline assemblies that is thrown by clang.
2016-02-16 17:43:40 +01:00
Eberhard Graether 19e03aeec7 src: Fixed wrong changes in main.cpp 2016-02-16 17:30:48 +01:00
Manuel Dobusch 835b6718ff build: deployment update
Updated deployment project according to data folder update
2016-02-16 16:56:15 +01:00
Eberhard Graether 86cf1ee62d build: split user and data folder, moving user data to Application Support on Mac 2016-02-16 16:44:42 +01:00
Eberhard Graether 89b8d51ab8 ui: Fixed about window size for Mac OS 2016-02-16 16:21:48 +01:00
malte_langkabel 2effa950f7 ui: redesigned about window
* adjusted layout of about window to match the design concept.
* replaced main font to be Roboto.
2016-02-16 16:10:22 +01:00
malte_langkabel b3df8fb825 ui: tutorial adjustments
* adjusted the start of the tutorial to work with the "overview" filter.
* fixes some spelling errors in the tutorial.
* tabs can be encoded by "\\t" in the project description.
2016-02-16 13:25:03 +01:00
Manuel Dobusch d04cf6316b logic: vs plugin update
Changed some exception handling behavious in network utility
2016-02-15 18:50:08 +01:00
Manuel Dobusch d31557cb66 Logic: VS Solution Parsing update
Updated vs solution parsing, fixed some issues. Also fixed some issues with corresponding unit tests.
2016-02-15 17:55:01 +01:00
malte_langkabel 1113544b6b src: fixed canonical paths
* reimplemented FilePath::canonical method to work for symbolic links.
2016-02-15 10:49:24 +01:00
malte_langkabel b7c20d4b79 build: updated qt dlls for windows
* updated qt dlls to QT version 5.6 for msvc 14
2016-02-15 09:00:01 +01:00
Eberhard Graether 56830f3ddc logic: Fixed aggregation click not showing source locations 2016-02-14 16:42:54 +01:00
Eberhard Graether 2d48f0a663 ui: Rewrote project setup to wizzard
* QtProjectWizzard handles window managment logic of project setup
* QtProjectWizzardWindow is used in every step and displays QtProjectWizzardContent
* QtProjectWizzardContent is the base class for all differnt content types
* Removed Singleton from ProjectSettings
* ProjectSettings are created by wizzard and QtProjectWizzardContent can access and load
* added project type selection at start of wizzard
* added summary at end of wizzard
* show global search paths in setup and summary
* fixed layout problems after font switch
* fixed scrolling and resizing of QtDirectoryListBox
* separated QtLocationPicker to own class
2016-02-14 15:42:30 +01:00
Andreas Stallinger 50a94bf108 logic: Application moving protection, licensegenerator for other licensetypes
* Licensegenerator can now generate any type of license via commandline argument
* When moving the appliction, the user needs to enter the License again
2016-02-10 12:52:00 +01:00
Manuel Dobusch 082b94ac8d logic: code view asset fix
Fixed asset paths for code view
2016-02-09 14:05:25 +01:00
Manuel Dobusch e13eaa85da logic: visual studio solution parsing
Can now parse visual studio solutions. VS Plugin can send a command, parsing is implemented in Coati.
Some minor changes: added project file icon, added language check to vs plugin
2016-02-08 15:58:25 +01:00
Eberhard Graether 29149f313a logic: Added namespaces to overview and fixed namespace activation 2016-02-08 03:39:08 +01:00
Eberhard Graether d6c03ffb02 logic: Don't show line numbers for summary 2016-02-08 01:24:28 +01:00
Eberhard Graether d8a8bbee06 utility: Fixed log file names not sorted chronologically 2016-02-04 16:33:43 +01:00
Eberhard Graether acce0477b4 ui: improved graph view layouting and bundling
* move top and bottom layout buckets closer to center buckets
* split undefined bundles into users and usees
* acknowledge zoom for graph view size in layouting
* bundle all referencing nodes
* fixed bundle node and bundle edge count
2016-02-04 16:15:01 +01:00
Eberhard Graether 5c49eaf293 ui: Fixed aggregation click and activation of already active symbol 2016-02-03 15:23:24 +01:00
Eberhard Graether b40e49b633 ui: Display scope name at bottom of snippet if available
* Show scope name at bottom looking like top one
* Refactored CodeSnippetParams out of CodeView and use them everywhere
* Fixed border radius clipping problem at bottom of file by defining a small padding
* Scroll to line number when inserting a scope
2016-02-03 13:54:46 +01:00
Eberhard Graether e7224e0c46 ui: switched fonts to FiraSans 2016-02-02 13:59:14 +01:00
Eberhard Graether 3cbafa6456 logic: file associations for Mac and opening project files via Mac OS
* hide start screen when opening with project file
* added project icon file to bundle and file type association to plist
* listen for file open events from double click or drag and drop
* fixed crashes in window handling
2016-02-02 13:20:05 +01:00
Eberhard Graether 29a70b8f70 ui: Fixed gui_path for enter license ui css files 2016-02-01 15:43:04 +01:00
Eberhard Graether 5aa1add617 ui: Fixed gui_paths in css subtracted with RessourcePaths::getGuiPath() 2016-02-01 14:14:54 +01:00
Eberhard Graether ead0abfba2 logic: Return to last scroll position in code view on undo
* fixed scrolling on undo
* refactored autoscrolling in code view
* save scroll position of user with MessageScrollCode
2016-01-29 13:08:30 +01:00
Andreas Stallinger 427c94457b build: fix trial build on linux
add dl and pthread libs for trial on linux to get rid off linker error
2016-01-28 15:16:04 +01:00
Eberhard Graether 7bd44a9f45 ui: Clearing error count when parsing starts
* fixed undo showed errors twice when activated from status bar.
2016-01-28 14:30:52 +01:00
Eberhard Graether 635f6058c6 ui: Update error count while parsing 2016-01-28 13:19:38 +01:00
Eberhard Graether 38f943e8a0 logic: Undoing file minimize, snippets and maximize actions
* MessageChangeFileView as single message for changing file state in the code view
* Show code view after updates at once
2016-01-28 12:40:29 +01:00
malte_langkabel 297d5490c0 logic: name cache
* implemented name caching while visiting the AST of a translation unit.
2016-01-27 16:27:12 +01:00
malte_langkabel 45fcf80a74 build: fixed project setup
* expanded setup script to create symbolic links
* expanded clean script to remove symbolic links before deleting contents of Debug and Release folders.
* fixed lines in tutorial so they don't exceed the limit of 80 chars.
2016-01-27 16:14:48 +01:00
Eberhard Graether fdf44b4573 setup: Fixed include location for botan in lib_gui target 2016-01-27 15:43:29 +01:00
Eberhard Graether ae897c58a5 setup: Fixed botan debug and release split for Unix 2016-01-27 14:46:10 +01:00
Eberhard Graether 8044f5cb5f data: Fixed delete not working due to missing foreign keys pragma 2016-01-27 14:12:25 +01:00
Eberhard Graether 6cadab1b23 src: Fixed errors in file path switch 2016-01-27 12:20:46 +01:00
Manuel Dobusch 8d6220dafb logic: file paths
Changed relative file paths for resources to absolute paths to ensure functionality of shortcuts and file associations on windows platform
2016-01-26 15:28:43 +01:00
Eberhard Graether e0d7f1d613 logic: save template parameters as child nodes with member access 'template parameter'
* added access node to graph for template parameters, no icon so far
* don't reexpand function nodes with children when active before
* removed console warnings for edges
2016-01-26 14:38:41 +01:00
Andreas Stallinger 91d655f397 ui: fix about and licenses screen
esc now works for the about and license window
2016-01-26 13:35:56 +01:00
malte_langkabel ada00cc627 logic: template parameter as child nodes
* when generating the name hierarchy of a template parameter the parameter name is now an extra element that follows the template class/struct/function element.
2016-01-26 12:08:07 +01:00
Eberhard Graether b57ea3addb ui: increased performance of annotation painting in QtCodeArea 2016-01-26 00:21:07 +01:00
malte_langkabel 6a5975fe13 data: fixed storing of non-canonical includes
* Include paths are converted to a canonical version before they are tested for being in the project files. Therefore non-canonical include edges will be stored by Coati as well.
2016-01-25 17:13:22 +01:00
Eberhard Graether eb12d3cda1 logic: Show overview of analyzed symbols after launch
* show analysed nodes as bundles in graph
* ellide node names longer than 50 chars
* sort nodes alphabetic in these bundles
* show stats of analysis in code
* error are displayed as well in overview
* added keywords overview and error
* project description can be set in .coatiproject file
* description can include links to symbols using [symbol] syntax
* updated documentation
* increased toc nesting in documentation
2016-01-25 17:02:48 +01:00
malte_langkabel 8addbb2195 src: fix crash on edit project
* fixed crash when comparing two vectors of different sizes.
2016-01-25 16:40:28 +01:00
malte_langkabel 1209d0e7c0 ui: AWS in About window
* added "funded by the AWS"
* changed about window to depend on layout which is easily modifiable
* added aws logo
2016-01-21 14:45:21 +01:00
malte_langkabel 9250360750 web: documentation
* Created a web based version of our documentation.
* Updated all the texts to reflect the current version of Coati.
2016-01-21 13:59:09 +01:00
malte_langkabel 3b62c1353e build: fixed licensing project
* fixed license includes for windows
2016-01-21 13:54:41 +01:00
Eberhard Graether 46d9825454 logic: Trim lines and remove empty ones when checking license key 2016-01-19 11:48:41 +01:00
Eberhard Graether cc2b74ccca ui: Fixed listbox line layout on Mac 2016-01-19 09:58:58 +01:00
Manuel Dobusch ed1aba8858 build: Botan include fix
Fixed CMakeLists to allow debug build
2016-01-18 17:59:46 +01:00
Eberhard Graether 503e4f185b logic: Show node with search name main after parsing 2016-01-18 16:30:38 +01:00
Andreas Stallinger f16e6b58c5 build: fix botan find_lib for linux
add NO_DEFAULT_PATH to find_library so that the search exclude botan libs installed on the system
2016-01-18 15:09:21 +01:00
Andreas Stallinger 8bbd764cfc build: different find_library for windows and unix 2016-01-18 12:40:08 +01:00
Eberhard Graether e1f29da76a script: Look for botan-1.11 in CMake setup 2016-01-18 11:42:32 +01:00
malte_langkabelandEberhard Graether 8be7886c7a build: fixed cmake for windows
* added target for the license lib.
* switched to statically linked version of boost.
* removed boost dlls from bin directories.
* cleaned up CMakeLists.
2016-01-18 11:42:32 +01:00
Eberhard Graether f3223e535a ui: Removed tooltip css from SettingsWindow 2016-01-18 11:42:31 +01:00
Eberhard Graether 2954865d41 build: fixed boost linking 2016-01-18 11:42:31 +01:00
Eberhard Graether d2f9a748ef build: Fixed keygen integration after app/trial split 2016-01-18 11:42:31 +01:00
Eberhard Graether 8197172523 ressources: added template tags to app settings template 2016-01-18 11:42:31 +01:00
Eberhard Graether 75b102a528 ui, logic: design for license ui and forcing the user to enter a key on first open
This change integrates the license key ui into the application and makes it necessary for the user to enter a correct
key. The check for a correct key is done on startup and whenever a project is loaded. The check for the key also
includes a check whether the location of the application has changed.
2016-01-18 11:42:31 +01:00
Andreas StallingerandEberhard Graether 23257a3071 build,logic : Key/License Generator
Generator using the Botan Cyrptography library
2016-01-18 11:42:31 +01:00
malte_langkabel 743f91e882 locig: refresh after edit project
* implemented saving project settings force-refreshes the project if something has changed.
* when nothing has changed while editing the project settings, the project is not refreshed anymore.
* new project window is cleared now before it is displayed.
2016-01-18 10:59:32 +01:00
Eberhard Graether 3852bb7e5c ui: Fixed error locations at line end span down to next line 2016-01-18 10:22:57 +01:00
Eberhard Graether 3884db21d7 logic: Fixed deselection of edge didn't restore active locations in code view 2016-01-15 16:21:50 +01:00
malte_langkabel ca4fb79af7 ui: fixed search navigation bug
* fixed bug where navigating backwards to a symbol that was activated using the search bar did not update the search bar's text.
2016-01-15 13:43:09 +01:00
malte_langkabel 2c4711f657 logic: fixed undo redo not working for functions
* added real NameHierarchy (with signatures) when creating nodes for the graph, instead of using the SearchIndex which doesn't know about signatures.
2016-01-15 13:02:30 +01:00
malte_langkabel ad3229ebb2 data: fixed auto type
* fixed handling of non-deducible auto-type (e.g. when the auto-type depends on a template parameter).
2016-01-15 12:29:43 +01:00
malte_langkabel eecf8b95d2 data: expanded typename resolving
* implemented explicit handling of Decltype when resolving the typename.
2016-01-14 16:01:32 +01:00
malte_langkabel 5a39cab495 test: made tests run again.
* added call to SqliteStorage::init() in storage tests.
* made Storage::getIdForNodeWithNameHierarchy(...) return the correct node id again.
2016-01-14 13:28:49 +01:00
malte_langkabel c9e499c86c ui: language standard
* reversed the order of language standard options in the dropdowns.
2016-01-14 12:51:01 +01:00
Andreas Stallinger 047490512b ui: mouse cursor override
mouse cursor override in qtmainwindow removed, mouse cursor for codearea and graphview set to arrow
2016-01-13 17:15:53 +01:00
Eberhard Graether 99776f0242 logic: Defaults for C and C++ standard in dropdowns and fixed main to be first active symbol 2016-01-13 12:19:47 +01:00
Andreas Stallinger 46a629358c utility: loading project via commanlineargument
loading a project via commanline with --project or -p argument
2016-01-12 13:24:04 +01:00
Eberhard Graether b8faa5506d data: Fixed version check when opening older db 2016-01-08 14:51:11 +01:00
malte_langkabel ffca8841ea logic: exception parsing
* disabled clang warnings when analyzed code contains exception related constructs.
2016-01-08 13:40:40 +01:00
malte_langkabel 6d6d67470b data: performance optimization
* added index for node names.
* removed some unused methods of the SqliteStorage.
2016-01-08 12:20:27 +01:00
malte_langkabel 899138a6bd data: performance optimization NameHierarchy
* For performance reasons nodes now store a serialized version of their name hierarchy directly. Removed NameHierarchy table from database.
2016-01-05 16:42:29 +01:00
Eberhard Graether 6f083a10ac src: improvements to logging
* log messages as they are sent and received
* log information about messages by overriding method print()
* reduced logging of autocompletion list
* removed log location from message and parsing logs, as they are known and make up 90% of logs
2016-01-04 16:06:32 +01:00
malte_langkabel f44b76936d build: cmake fix
* removed parser files from the app target since they are already compiled into the parser_lib which is linked to the app target.
2016-01-04 15:22:15 +01:00
Eberhard Graether 94e3058e38 ui: Added shortcut to font size resetting 2016-01-04 11:34:20 +01:00
Manuel Dobusch 958dad1d59 logic: vs plugin solution utility
Utility class to get list of files in a vs solution in the plugin.
2015-12-30 01:06:15 +01:00
Manuel Dobusch 5af8d0f03f ui: graph toggle button number position
Improved the position of the small number in the graph node toggle button for windows.
2015-12-30 00:21:38 +01:00
Manuel Dobusch afc2d1e6b5 ui: windows start menu shortcut
Fixed an issue with the start menu shortcut generated when installing on windows.
2015-12-27 18:45:05 +01:00
malte_langkabel bed0f8f157 logic: c language support
* re-added gui for c project setup
* ASTVisitor now visits RecordDecls instead of CXXRecordDecls
* prevented endless recursion when parsing struct that is defined in functions signature.
2015-12-18 16:27:49 +01:00
Eberhard Graether 5c0493267c ui: Added option for hiding dock widge title bars to view menu 2015-12-17 14:28:47 +01:00
malte_langkabel b6beab8283 logic: fixed locations in macro
* fixed a bug where the end of source locations contained in a macro was not calculated correctly.
2015-12-17 14:14:03 +01:00
Eberhard Graether 32cc49b0fd refactor: Define tooltip style in single css file and pass it to QApplication 2015-12-17 13:45:02 +01:00
Eberhard Graether b107fd2655 ui: Fixed activation of unparsed file with errors not showing anything 2015-12-17 13:23:45 +01:00
Eberhard Graether dd119fe12c script: fixed Mac OS bundle script 2015-12-17 12:00:51 +01:00
Eberhard Graether b58778da0c resources: Added new changelog 2015-12-17 11:41:43 +01:00
Eberhard Graether f725dc1866 ui: use green for comments in bright scheme for better readability 2015-12-16 17:18:55 +01:00
Manuel Dobusch 8a1914182f ui: disabled language selection
Disabled language selection because parsing C code caused crashes.
2015-12-16 16:58:40 +01:00
malte_langkabel d5cf4b7109 logic: improved template argument parsing
* improved the way of gettig a TemplateSpecializationTypeLoc from any TypeLoc to parse template arguments.
* fixed wrong forward mouse button code in app settings.
2015-12-16 16:36:36 +01:00
Eberhard Graether 82a16341d8 ui: renamed undo&redo to back&forward, control back&forward via mouse and backspace
* the key codes for mouse back and forward buttons can be defined in the ApplicationSettings
* fixed only left mouse button allowed for graph interactions
2015-12-16 16:22:10 +01:00
malte_langkabel 103c8242f5 logic: fixed template argument parsing crash
* handled case when clang doesn't know the source info of an explicitly specified template argument :(
2015-12-16 13:27:00 +01:00
Eberhard Graether f06bb0e031 logic: Fixed log warnings of color scheme and edge
* fixed warnings for overriden node and edge colors
* fixed warnings for edges connecting the wrong node types
* removed tool tip from color scheme
* changed names in project setup screen
2015-12-16 11:33:59 +01:00
malte_langkabel a44af51122 data: function signature handling
* functions will only display their names in the graph view. hovering the nodes shows the signature as a tooltip. However, nodes in the database will be created and used regarding their signature.
* improved lambda handling. All calls to generated lambda functions (constructor, call operator) will now point to the lambda class instead.
* implemented handling of the "auto" type.
* improved the CxxParserTestSuite to use function strings instead of function names for template related functions.
2015-12-16 11:27:29 +01:00
Manuel Dobusch 28c1a0048b ui: windows setup prerequisit
Added windows prerequisit to installer project. This prompts the user to download and install prerequisit automatically.
2015-12-14 18:24:17 +01:00
malte_langkabel 3000b88bd3 test: fixed tests
* changed the tests to reflect the changes to source location parsing in commit 26203c4ac8
2015-12-14 17:21:38 +01:00
malte_langkabel 6b750de333 data: anonymous unions
* fixed crashes that occurred when parsing unnamed unions.
2015-12-14 17:12:19 +01:00
Eberhard Graether 7b6c83d441 ui: use bright tooptips in every color scheme because it can't be changed on Windows 2015-12-14 11:32:25 +01:00
Eberhard Graether e8dda6acbe logic: Fixed db refreshed when opening with existing db 2015-12-14 11:21:03 +01:00
Eberhard Graether ff3377161b ui: Improved spacing of children within function and method nodes 2015-12-14 10:11:48 +01:00
Eberhard Graether 1ddc4609e4 build: fixed trial project
* fixed boost dependency
* fixed TaskParseCXX of trial to initialize correctly
2015-12-13 05:18:40 +01:00
Eberhard Graether 801c2555bc src: fixed clang warnings 2015-12-13 04:48:04 +01:00
Eberhard Graether 87ad243f31 logic: Fixed crash when refreshing project after deleting coatidb 2015-12-13 04:32:59 +01:00
Eberhard Graether 26203c4ac8 data: Fixes for parsing Coati
* reverted to old source location retrieval for CxxConstructExpr, because source locations were outside file
* removed exisiting source location check for better performance
* fixed CXXParserTestSuite to use c++11 standard
* fixed crash on missing signature retrieval
2015-12-12 15:14:44 +01:00
Eberhard Graether cd4c0e64b4 data: Fixed language std not added to parser arguments 2015-12-11 19:15:37 +01:00
Eberhard Graether ceea7b6b48 build: Added app name to plist of Mac bundle 2015-12-11 18:10:07 +01:00
Manuel Dobusch 0f4e49477a ui: language standard options
Added some language standard options.

<description>
2015-12-11 15:22:28 +01:00
malte_langkabel 52352baa8e data: fix anonymous record crash
* implemented handling of anonymous classes and structs.
2015-12-11 12:27:38 +01:00
malte_langkabel 3da20e3e32 data: location crash fix
* fixed a crash that occurred when trying to find the correct location of a constructor call.
* refactored that code while being at it ;)
2015-12-10 18:59:49 +01:00
malte_langkabel 01bcf7266b data: lambda handling
* implemented handling lambdas as functions
* functions can have child nodes now
* NameElements in NameHierarchy can have signatures now.
* fixed crash that occurred when message listener was used while being half way through its destruction process.
2015-12-10 18:00:54 +01:00
Manuel Dobusch 2b03215ea4 ui: language standard
Added language standard select functionality to gui and language standard to project settings.
2015-12-09 19:54:13 +01:00
Andreas Stallinger c5077e1db1 build: missing boost include in cmakelists 2015-12-09 16:24:04 +01:00
Andreas Stallinger 59d6143fbf build: lib for the parser
lib_parser is new, its use by app and test

<description>
2015-12-09 14:34:14 +01:00
Andreas Stallinger a6648cafeb ui: different ui for trial and app 2015-12-09 13:00:39 +01:00
Andreas Stallinger 43409cd6b7 build: trial version target
builds now app and trail target, lib_gui added, istrail function
2015-12-08 17:55:12 +01:00
malte_langkabel ed4b6546f0 logic: template argument handling
* now Coati will also parse the body of an instantiated template function and follow calls to other template functions there.
* Coati will parse template arguments at the point of implicit or explicit template instantiation and explicit template specialization.
* refactored template handling in storage.
2015-12-08 10:29:21 +01:00
Eberhard Graether faa79e44f1 ui: added help texts to directory list boxes
* added a ? button to the labels of the directory list boxes to show help messages
* added a window stack to QtMainWindow for easier screen handling
* added a button to the preferences in the project setup
* removed 'has seen settings' flag from AppSettings
2015-12-03 19:09:42 +01:00
malte_langkabel 32db79a675 logic: fix infinite loop
* fixed a loop that might be running indefinitely while looking for the correct source location of an identifier.
2015-12-03 16:26:00 +01:00
Eberhard Graether 0424162acb ui: removed close window action from menu because it quits the application 2015-12-03 14:50:40 +01:00
malte_langkabel 151b4d8620 logic: fixed crash when calling message listeners that already have been destroyed
* prevented lambda created by MessageQueue::sendMessageAsTask to call functions on message listeners that already have been destroyed.
2015-12-03 13:54:47 +01:00
malte_langkabel 23909058c8 logic: fixed infinite loop
* fixed infinite loop that occurred when trying to find the source location of an unnamed template parameter.
* commented out the deploy settings define.
2015-12-02 16:38:06 +01:00
Eberhard Graether 3fac5e69f3 data: Fixed constructors and destructurs having return type use void without location 2015-12-02 16:24:37 +01:00
Eberhard Graether 1eb9b194ff ui: immediatly show all errors during parsing 2015-12-02 16:09:48 +01:00
Eberhard Graether 35b5e423da utility: creating directories with boost in FileSystem method 2015-12-02 15:23:27 +01:00
Eberhard Graether 7d0b3773e7 ui: Fixed font zoom not affecting graph 2015-12-02 15:12:42 +01:00
Manuel Dobusch 9ed8dd69c7 ui: windows uninstall
Added uninstall script
2015-12-02 14:57:38 +01:00
Eberhard Graether fb7113917d ui: updated about window 2015-12-02 14:52:54 +01:00
Manuel Dobusch 04196db81d ui: windows installer
Created a windows installer (vs deployment project).
2015-12-02 14:50:02 +01:00
Eberhard Graether 09bc453fb0 logic: Fixed graph view style settings not loaded correctly when project has errors 2015-12-01 15:12:04 +01:00
Andreas Stallinger 77466bb57e utility: Fileendings for DB and Settings changed
changed DB from .sqlite to .coatidb and Projectsettings from .xml to .coatiproject
2015-11-30 16:02:05 +01:00
Andreas Stallinger bfaceceb29 build: remove Coati folder from linux package
removed the coati folder in Coati-<version> folder, was one folder too much
2015-11-27 15:05:14 +01:00
Eberhard Graether 9af08f4ff1 ui: Fixed font size in graph smaller on non MacOS systems 2015-11-26 00:13:58 +01:00
Eberhard Graether 6d8f733962 ui: show signature in function & method tooltip 2015-11-25 16:48:26 +01:00
malte_langkabel 622972cd28 logic: Template Parameter Packs
* implemented handling of template parameter packs.
* added tests for these cases.
* refactored some areas of the template code.
* fixed the names of template arguments that get parsed when they occur in a function's/declarator's body.
2015-11-25 15:43:59 +01:00
Eberhard Graether f29a966504 ui: fixed syntax highlighting
* fixed strings and number highlights within comments
* fixed quotations not considering escaped quotations within strings
* fixed quotations spanning till last quotation in line
* fixed tag quotations only used after blank space
* fixed multiline comments using correct start and end
* fixed single line comments interfering with multiline comments
2015-11-25 14:05:03 +01:00
malte_langkabel 0144c44d1d data: Fix Locations of Declarations
* using clang's lexer to get the exact location of a declaration's identifier.
2015-11-24 14:09:17 +01:00
Andreas Stallinger a5f08d0946 ui: fix for loop warning
replaced int with size_t
2015-11-24 11:00:58 +01:00
Manuel Dobusch 057ab57a42 logic: vs plugin bug
Error handling for plugin bug where the client socket is disposed when it's still needed.
2015-11-23 15:41:26 +01:00
Eberhard Graether fa7c8d8b40 ui: use icons in directory list box UI 2015-11-23 14:01:56 +01:00
malte_langkabel 96d933633f ui: Show Template Definition
* Show template definition in codeview when implicite specialization is active.
2015-11-20 15:38:35 +01:00
Eberhard Graether f5f4eed509 ui: extended color scheme and added new color scheme bad_rainbow
* added color scheme template
* define fill, border, text, icon and hatching colors for each node with states normal and focus
* define colors for each edge with states normal and focus
* use default node and edge colors when no type specific ones are defined
* use normal colors for nodes and edges when no focused are defined
* allow nodes and edges to imitate look of others with "like" tag
* added style for bundle
* added style for count circle
2015-11-20 15:24:20 +01:00
malte_langkabel 9f0df1bcee src: Handling of Anonymous Enums
* names of anonymous enums are constructed like names of anonymous namespaces.
2015-11-20 14:15:24 +01:00
malte_langkabel c40dda07f8 src: Fix Annotations after Snippet Merge
* snippet::merge does not take code from TextAccess since it could be out of date. Instead it takes the code from the snippets that will be merged.
2015-11-20 12:02:33 +01:00
malte_langkabel bbf9c43909 src: Template Argument Handling
* improved handling of template arguments
2015-11-19 16:30:59 +01:00
Eberhard Graether 4e6fdaf79c setup: improved MacOSX bundle script to do all the release work 2015-11-19 10:29:52 +01:00
Eberhard Graether 19b4d152c7 resources: updated manual and added changelog to README 2015-11-19 09:37:27 +01:00
malte_langkabel 9da116ddcf logic: Parsing Field Initializations
* extended use of ASTBodyVisitor methods for visiting VarDecls to include FieldDecls as well (part of C++ 11).
* impemented handling of invalid source location in ASTVisitor to prevent crash.
2015-11-18 19:44:30 +01:00
Manuel Dobusch fbc5f7a7fe logic: network port option
Added options to Coati and VS plugin to set network ports
2015-11-18 17:08:05 +01:00
malte_langkabel ea04dc926f script: windows packaging script updates
* changed the name of the folder that gets packaged.
* added some [y/N] questions.
2015-11-18 14:56:40 +01:00
Eberhard Graether 816be7b654 ui: undefined symbols bundle needs at least 2 nodes 2015-11-18 13:22:57 +01:00
malte_langkabel 901fa1a387 data: template argument handling
* storing template argument relations for cases where at lease one of these (template class, template argument) is defined inside the parsed project files.
* prevented storage from saving the same source location multiple times.
2015-11-17 18:09:20 +01:00
Andreas Stallinger 88b94a21d0 build: linux package
linux package
2015-11-17 16:41:49 +01:00
malte_langkabel 102bc8945a test: comment parsing
added tests for comment parsing.
2015-11-17 14:03:56 +01:00
Andreas Stallinger 86f06c9f78 ui: recent projects menu fix
recent projects updates now when a projects is loaded
2015-11-17 12:13:48 +01:00
malte_langkabel 42afbce300 resources: Tutorial Project Improvements
* implemented "user study" feedback
2015-11-17 10:54:56 +01:00
malte_langkabel 8f0213e18c build: Packaging Script for Windows
* added packaging script for windows
* renamed sublime plugin.
* added tictactoe project to packages projects
2015-11-16 15:42:23 +01:00
Andreas Stallinger fc816240cb ui: Recent projects in menu
add a recent projects menu in the project menu
2015-11-13 22:53:37 +01:00
malte_langkabel 7fce4cfae6 resources: Tutorial Project
* added tutorial project to coati projects.
* ignoring all .sqlite files for git.
2015-11-13 18:55:10 +01:00
Eberhard Graether 3c2804797a logic: improvements for IDE communication
* fixed Sublime Text plugin to correctly send messages
* activate and focus Coati window when receiving a message
* extended lookup range for activate token message from plugin
2015-11-13 13:09:22 +01:00
Eberhard Graether df7c5ea9b7 ui: code view scrolls directly to active line
This change makes the code view first look for the rect of the first active line and then tries to scroll this line into
the middle of the view.
2015-11-13 10:39:30 +01:00
Eberhard Graether de4f2973bc ui: Fixed search query without node disappears when submiting search request 2015-11-12 13:45:57 +01:00
Eberhard Graether 00b74d2f30 ui: focusing multiple tokens at once
This change focuses all token locations underneath the cursor at once by extending the focus handling to use vectors.
2015-11-12 10:14:46 +01:00
Eberhard Graether 28e3880e10 ui: Fixed cursor jumping to end position when editing search query 2015-11-11 15:13:48 +01:00
Eberhard Graether 42aa99d99b ui: reworked code view highlighting
This change draws the annotations in the code view in the paintEvent handler instead of using the ExtraSelections API.
Annotations are now drawn with a slight corner radius. Fill and border colors are defined in the ColorScheme.
2015-11-11 15:02:23 +01:00
Eberhard Graether 3351e4aad7 data: fixed parsing problems
* fixed calleeDecl pointer not checked for CallExpr
* fixed CommentHandler not checking if valid file in FileRegister
2015-11-10 10:25:47 +01:00
Andreas Stallinger 5ef9ef9e7d build: publish and sync script modification
now you can pass a branch to the publish and sync script to sync or publish to another branch  then master
2015-11-10 10:11:50 +01:00
Andreas Stallinger a4c134ebe2 src: fix clang warnings in QtCodeArea 2015-11-09 15:32:42 +01:00
Manuel Dobusch f2a202c064 logic: vs focus
Setting cursor in VS via Coati now sets the focus to the VS window.
2015-11-09 13:59:55 +01:00
Eberhard Graether 372f262204 data: don't parse lambda calls to avoid subnodes within functions 2015-11-06 14:50:25 +01:00
malte_langkabel 50bc970c30 data, ui: comment handling
* CodeView displays comments as atomic regions. They are either displayed as a whole or not at all. Do nothing halfway!
* added CommentHandler that handles comments detected by clang.
* stored CommentLocations in database.
2015-11-06 14:03:20 +01:00
Manuel Dobusch e186eefdff ui: context menu
Context menu for code view added, including option to set IDE cursor.
2015-11-04 18:51:49 +01:00
Eberhard Graether bcbeacb951 utility: Fixed crash when creating Timepoint with empty string 2015-11-04 15:12:35 +01:00
Eberhard Graether 961d0fe541 ui: clearing data in ProjectSetupScreen after creating new project 2015-11-04 14:14:20 +01:00
Eberhard Graether 5dada05bc5 data: saving macro definition scopes 2015-11-04 13:47:33 +01:00
Eberhard Graether 884e42a30c test: fixed TestSettings.xml and cleansed test_log.txt 2015-11-04 13:02:35 +01:00
Eberhard Graether 9f684ad9f5 data: saving errors to Storage
* saving errors in separate sqlite table
* use MessageShowErrors to show the errors in the UI
* show error count permanently in the right side of the status bar with click to show
* fixed clicking of error locations
* fixed expanding of files with errors
2015-11-04 12:00:28 +01:00
malte_langkabel 78259c7123 src: refactoring TimePoint
* removed typedef utility::TimePoint and replaced all its usages by using the class TimePoint instead.
2015-11-03 16:48:55 +01:00
Manuel Dobusch 7d03166282 logic: VS plugin fixes
Fixed some vs plugin issues and added plugin project to repo
2015-11-03 15:26:47 +01:00
malte_langkabel 006e73ef4c ui: horizontal scroll fix
* prevented the mouse wheel from scrolling a horizontal scrollbar when the mouse happens to enter the scrollbar's area.
2015-11-03 12:40:03 +01:00
malte_langkabel 11147e982f test: template scope fixes
* changed expected scope locations of template classes in tests to include template parameters.
2015-11-03 11:11:20 +01:00
malte_langkabel 9c4dc7b71f src: Sublime Text 3 compatibility. 2015-11-03 10:53:14 +01:00
malte_langkabel a524a7a71c ui: file not up to date display
* the codeview now displays a hatched background for a filename when the file's content has changed or the file does not exist anymore.
* added TimePoint class to encapsulate boost.
2015-11-03 10:29:29 +01:00
2752 changed files with 284935 additions and 46061 deletions
+82
View File
@@ -0,0 +1,82 @@
AccessModifierOffset: -4
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignConsecutiveMacros: false
AlignEscapedNewlines: Right
AlignOperands: false
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: BeforeComma
BreakStringLiterals: true
ColumnLimit: 100
CompactNamespaces: true
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: false
FixNamespaceComments: true
IncludeBlocks: Preserve
IndentCaseLabels: false
IndentPPDirectives: AfterHash
IndentWidth: 4
IndentWrappedFunctionNames: true
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 2
NamespaceIndentation: None
PenaltyBreakAssignment: 50
PenaltyBreakBeforeFirstCallParameter: 0
PenaltyBreakComment: 100
PenaltyBreakFirstLessLess: 200
PenaltyBreakString: 100
PenaltyBreakTemplateDeclaration: 0
PenaltyExcessCharacter: 10
PenaltyReturnTypeOnItsOwnLine: 1000
PointerAlignment: Left
ReflowComments: true
SortIncludes: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: true
SpaceBeforeCtorInitializerColon: false
SpaceBeforeInheritanceColon: false
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: false
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 4
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: c++17
TabWidth: 4
UseTab: Always
---
Language: Cpp
---
Language: Java
#BasedOnStyle: Google
#BreakAfterJavaFieldAnnotations: true
-21
View File
@@ -1,21 +0,0 @@
#!/bin/bash
ABORT="\033[31mAbort:\033[00m"
SUCCESS="\033[32mSuccess:\033[00m"
INFO="\033[33mInfo:\033[00m"
BRANCH_NAME=$(git symbolic-ref -q --short HEAD)
if [ -z $BRANCH_NAME ]
then
echo -e $ABORT "You are not on any branch."
exit 1
fi
if [ $BRANCH_NAME == "master" ]
then
echo -e $ABORT "Commiting to master is prohibited."
exit 1
fi
exit 0
+12
View File
@@ -0,0 +1,12 @@
# These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: sourcetrail
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
+65 -14
View File
@@ -1,24 +1,75 @@
/build/
build-*
/distr/
/deps/
/bin/app/Debug/
/bin/app/Release/
/bin/app/data/log/
/bin/app/data/projects/
/bin/app/data/ApplicationSettings.xml
/bin/app/data/window_settings.ini
/bin/app/data/*.sqlite
/bin/app/data/cxx
/bin/app/data/java/lib/
/bin/app/data/projects/ignored/
/bin/app/data/python/
/bin/app/user/log/
/bin/app/user/ApplicationSettings.xml
/bin/app/user/window_settings.ini
/bin/app/*.log
/bin/lib/
/bin/test/Debug/
/bin/test/Release/
/bin/test/data/log/
/bin/test/data/temp.xml
/bin/test/data/TestSettings.xml
/bin/test/data/*.sqlite
/bin/test/data/CommandlineTestSuite/settings.xml
/bin/test/data/ConfigManagerTestSuite/temp.xml
/bin/test/data/UtilityMavenTestSuite/effective-pom.xml
/bin/test/data/SourceGroupTestSuite/java_maven/input/sourcetrail_dependencies
/setup/Linux/lib/*
/java_indexer/target/
/setup/Linux/lib/
.DS_Store
.idea
.vscode
__pycache__
/ide_plugins/vs/vs2015/SourcetrailPlugin/SourcetrailExtension/bin
/ide_plugins/vs/vs2015/SourcetrailPlugin/SourcetrailExtension/obj
/ide_plugins/vs/vs2015/SourcetrailPlugin/SourcetrailExtensionTests/bin/Debug
/ide_plugins/vs/vs2015/SourcetrailPlugin/SourcetrailExtensionTests/bin/Release
/ide_plugins/vs/vs2015/SourcetrailPlugin/SourcetrailExtensionTests/obj
/ide_plugins/vs/vs2015/SourcetrailPlugin/SourcetrailExtensionUtility/bin
/ide_plugins/vs/vs2015/SourcetrailPlugin/SourcetrailExtensionUtility/obj
/ide_plugins/vs/vs2015/SourcetrailPlugin/VCProjectEngineWrapperInterfaces/bin
/ide_plugins/vs/vs2015/SourcetrailPlugin/VCProjectEngineWrapperInterfaces/obj
/ide_plugins/vs/vs2015/SourcetrailPlugin/VCProjectEngineWrapper/bin
/ide_plugins/vs/vs2015/SourcetrailPlugin/VCProjectEngineWrapper/obj
/ide_plugins/vs/vs2015/SourcetrailPlugin/VCProjectEngineWrapperFactories/bin
/ide_plugins/vs/vs2015/SourcetrailPlugin/VCProjectEngineWrapperFactories/obj
/ide_plugins/vs/vs2015/SourcetrailPlugin/TestResults
*.srctrldb
*.srctrlbm
*.suo
*.vcxproj.user
*.sqlite
*.pch
*.swp
*.swo
*.VC.db
*.timing
.clang_complete
.ycm_extra_conf.py
.ycm_extra_conf.pyc
Sourcetrail.srctrlprj
Sourcetrail_dev.srctrlprj
Makefile
CMakeLists.txt.user*
/__pycache__/
/deployment/windows/wixSetup/bin
/deployment/windows/wixSetup/build
/deployment/windows/wixSetup/CustomActions/UninstallRemoveLogFolder/bin
/deployment/windows/wixSetup/CustomActions/UninstallRemoveLogFolder/obj
/deployment/windows/wixSetup/CustomActions/.vs
/deployment/windows/wixSetup/Setup/build/Setup/Release
/deployment/windows/wixSetup/Setup/build/Setup/x64
+3
View File
@@ -0,0 +1,3 @@
[submodule "submodules/SourcetrailPythonIndexer"]
path = submodules/SourcetrailPythonIndexer
url = https://github.com/CoatiSoftware/SourcetrailPythonIndexer.git
+26
View File
@@ -0,0 +1,26 @@
language: bash
services: docker
install:
- chmod 777 deployment/dockerfiles/linux/travis_ci/entrypoint.sh
- docker build -t coatisoftware/local deployment/dockerfiles/linux/travis_ci
script:
- COMMIT_HASH=$(git rev-parse HEAD)
- docker run --name builder coatisoftware/local ${COMMIT_HASH}
- docker cp builder:/home/builder/Sourcetrail/release $TRAVIS_BUILD_DIR/release
deploy:
provider: releases
api_key:
secure: b+fTcE73+5nkYufBNzGdxnwbx4a2BQr7iy28wdcr+8NrCxgq4mhmuZd+R3JzE7mt3ehEfUbUkXPLwefEcTFkqxXN6WdBjJYTa2JxAHkBuYiSG9X7voNCOU3SWaucY77FTdt5MlWKVOEzoKNT+tbBuLlWKNyPnFLE0JArc9w4DfvCbHos9ikTtiT1suE+OiIgt28SjD6MD4mIDmEHcKkZs1SfNxz8zhkJBp7y0iJOFPaZHZ9wE2DMox5h26ks13NMYP9mkYgZDTMppabuR8KtjGTJB7NSY3Uoj+6AYdGr5hfpzMIzLjfstagfBzLWpnuz29XwUhYR02MTRiJS6h8wXoO5twxWEKIeUT7xEjSZzdirynrErMDThz90vli0gaoZyIhU01sS9lOUozkdQJEg9Wosxs/586bShHOqhvhrfeCv2Z/7u9ftnpm7U+GaFxk3j1ZPHnSt6XcLz2wDcYIjKgsc8dvmMxYTJYLkXENU5XTkKXKfMHfweiZPWBUBjjMpcZWEyw8NQ/IsegMhXlptLsxr5N5A54KipnJK36b52vryIUzzQd4uM/pcWn5j2Il/KagM5U/kRhQDCxAozQ1Ub0HWqM+4WdCxzAg1FEUly7Y68FIVeeD19P7TAPRBGeljmr3vEdJHnr2z20dubWyhOlZ7NfTcd1drWthpN9ZvvT4=
file_glob: true
file:
- "$TRAVIS_BUILD_DIR/release/Sourcetrail*.tar.gz"
- "$TRAVIS_BUILD_DIR/release/Sourcetrail*.AppImage"
overwrite: true
skip_cleanup: true
on:
tags: true
repo: CoatiSoftware/Sourcetrail
+11
View File
@@ -0,0 +1,11 @@
Authors
=======
Andreas Stallinger
Eberhard Gräther (@egraether) <egraether@coati.io>
Malte Langkabel (@mlangkabel) <mlangkabel@coati.io>
Manuel Dobusch
Viktoria Pfausler
Louis St-Amour (@LouisStAmour) <LouisStAmour@gmail.com>
Note: (@user) means a github user name.
+1171
View File
File diff suppressed because it is too large Load Diff
+757 -199
View File
File diff suppressed because it is too large Load Diff
+14
View File
@@ -0,0 +1,14 @@
# Contributing
If you like this project and want to get involved, there are lots of ways you can help:
* __Spread the word.__ The more people want this project to grow, the greater the motivation for the developers to get things done.
* __Fund the development.__ Further development and maintainance of this project is crowd funded via [Patreon](https://www.patreon.com/sourcetrail). If you would like Sourcetrail to grow and improve but cannot spare the time to contribute your self, please consider making a pledge.
* __Test Sourcetrail.__ Run it on your own source code. If you find any issues, just report it here. Best, include some detailed step-by-step instructions that illustrate how to reproduce the issue, so that we can use it as a basis to craft a test case for our continuous integration and no one will ever break that case again.
* __Write some code.__ Don't be shy here. You can implement whole new features or fix some bugs, but you can also do some refactoring if you think that it benefits the readability or the maintainability of the code. Still, no matter if you just want to work on cosmetics or implement new features, it would be best if you create an issue here on the issue tracker before you actually start handing in pull requests, so that we can discuss those changes first and thus raise the probability that those changes will get pulled quickly.
To create a pull request, follow these steps:
* Fork the Repo on GitHub.
* Make your commits.
* If you added functionality or fixed a bug, please add a test.
* Add your name to the AUTHORS.txt file.
* Push to your fork and submit a pull request.
+674
View File
@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
+233 -51
View File
@@ -1,72 +1,254 @@
### Masterproject
# Sourcetrail
#### Setup
[Sourcetrail](https://www.sourcetrail.com/) is a free and open-source cross-platform source explorer that helps you get productive on unfamiliar source code.
##### External Software
Windows: [![Build status](https://ci.appveyor.com/api/projects/status/0c258a2opn3loyc2/branch/master?svg=true)](https://ci.appveyor.com/project/mlangkabel/sourcetrail/branch/master)
* QT 5.5
* CxxTest 4.3
* Valgrind 3.9.0 (linux)
* Clang & LLVM (installation guide http://clang.llvm.org/docs/LibASTMatchersTutorial.html)
* Boost 1.59
* Eigen 3.2.6
Linux: [![Build Status](https://travis-ci.org/CoatiSoftware/Sourcetrail.svg?branch=master)](https://travis-ci.org/CoatiSoftware/Sourcetrail)
##### Environment Variables
* QT_DIR - ...\Qt\Qt5.2.1\5.2.1\<IDE>\
* CXX_TEST_DIR - .../cxxtest-4.3/
* CLANG_DIR - .../clang-llvm/
* BOOST_159_DIR - .../boost_1_59_0
* EIGEN_DIR - .../eigen
__Links__
* [Website](https://www.sourcetrail.com/)
* [Download](https://www.sourcetrail.com/downloads)
* [Quick Start Guide](https://www.sourcetrail.com/documentation/#QUICKSTARTGUIDE)
* [Documentation](https://www.sourcetrail.com/documentation)
* [Changelog](CHANGELOG.md)
* [Slack Channel](https://join.slack.com/t/sourcetrail/shared_invite/enQtNDc3MjcyOTk5MTc0LTNhOWZhZjAxZmU1NTM0YjhhMzRhZWE1NTQ2NjQyYjc1ODE2MzViOTliMWUwODBjN2NlMjkwMDc0MjAxMzJkY2E)
* [Mailing List](https://coati.us12.list-manage.com/subscribe/post?u=3dabab4e475b5ed577d1dcd0f&id=cf7301fc53)
* [Patreon](https://www.patreon.com/sourcetrail)
For Win32:
* VLD_DIR - .../Visual Leak Detector
* path - apped path to git.exe
!["Sourcetrail User Interface"](docs/readme/user_interface.png "Sourcetrail User Interface")
##### Settings
Sourcetrail is:
* free
* working offline
* operating on Windows, macOS and Linux
* supporting C, C++, Java and Python
* offering an SDK ([SourcetrailDB](https://github.com/CoatiSoftware/SourcetrailDB)) to write custom language extensions
Run setup script:
$ ./script/setup.sh
## Support Sourcetrail via Patreon
#### Release
The ongoing development and regular software releases are made possible entirely by the support of [these awesome patrons](SPONSORS.md)! If you'd like to join them, please consider [becoming a patron](https://www.patreon.com/sourcetrail) of Sourcetrail.
##### App
* create release build
* make sure it uses the Coati icon
* obfuscate the executable using upx
## Using Sourcetrail
##### Data folder
* put data folder in working directory
* add empty log folder
* add working tictactoe.xml project to /projects/tictactoe with sources in /projects/tictactoe/src
* add empty app settings with one recent project tictactoe.xml
* leave window_settings.ini with correct Coati start layout
To setup Sourcetrail on your machine, you can either download the respective build for your operating system from our list of [Releases](https://www.sourcetrail.com/downloads) and install it on your machine, or use one of the following package managers:
##### Package
* add app
* add web/coati_manual.pdf to package
* Use the [Chocolatey package](https://chocolatey.org/packages/sourcetrail) with `choco install sourcetrail`
##### Updating Clang on UNIX
After your installation is complete, follow our [Quick Start Guide](https://www.sourcetrail.com/documentation/#QUICKSTARTGUIDE) to get to know Sourcetrail.
$ cd .../clang_llvm
## How to Report Issues
$ cd llvm
$ git pull origin master
You can post all your feature requests and bug reports on our [issue tracker](https://github.com/CoatiSoftware/Sourcetrail/issues).
$ cd tools/clang
$ git pull origin master
### Reporting
$ cd tools/extra/
$ git pull origin master
Use the following template:
$ cd ../../../../../build_debug
$ cmake -G Ninja ../llvm
$ ninja -j4 check-all
* platform version:
* Sourcetrail version:
* description of the problem:
* steps to reproduce the problem:
$ cd ../release_build
$ cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ../llvm
$ ninja -j4 check-all
##### Remarks
### Supporting
* Boost lib dir: rename library directory for your system (e.g.: 'lib32-msvc-12.0') to 'lib'
If you want to support a certain feature request or you have the same bug that another user already reported, please let us know:
* post a comment with "+1" to the issue
* or send an email to support@sourcetrail.com with the issue ID
## How to Contribute
* Please read and follow the steps in [CONTRIBUTING.md](CONTRIBUTING.md) file.
* You may want to look out for issues labeled [good first issue](https://github.com/CoatiSoftware/Sourcetrail/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) to find some initial tasks to tackle.
* If you are looking for more information about Sourcetrail software development, please refer to our [wiki](https://github.com/CoatiSoftware/Sourcetrail/wiki).
# How to Build
Building Sourcetrail requires several dependencies to be in place on your machine. However, our CMake based setup allows to disable indexing support for specific languages which reduces the number of dependencies to a minimum.
## Building the Base Application
### Required Tools
* __CMake v3.12 (required for Windows, Linux and MacOS)__
* __Reason__: Used to generate a build configuration for your build system
* __Download__: https://cmake.org/download
* __Git (required for Windows, Linux and MacOS)__
* __Reason__: Used for version control and to automatically generate the Sourcetrail version number from commits and tags
* __Download__: https://git-scm.com/download
* __Remarks__: Make sure `git` is added to your `PATH` environment variable before running CMake
* __Visual Studio (required for Windows)__
* __Reason__: Used for building Sourcetrail
* __Download__: https://visualstudio.microsoft.com/downloads/
* __ccache (optional for Linux and MacOS)__
* __Reason__: Used to speed up rebuilds if found in `PATH`
* __Download__: https://ccache.dev/download.html
### Required dependencies
* __Boost 1.67__
* __Reason__: Used for file system access and interprocess communication
* __Prebuilt Download for Windows__: https://sourceforge.net/projects/boost/files/boost-binaries/
* __Building for Unix__:
```
$ ./bootstrap.sh --with-libraries=filesystem,program_options,system,date_time
$ ./b2 --link=static --variant=release --threading=multi --runtime-link=static --cxxflags=-fPIC
```
* __Qt 5.12.3__
* __Reason__: Used for rendering the GUI and for starting additional (indexer) processes.
* __Prebuilt Download__: http://download.qt.io/official_releases/qt/
### Building
#### On Windows
* To set up your build environment run:
```
$ git clone https://github.com/CoatiSoftware/Sourcetrail.git
$ cd Sourcetrail
$ mkdir -p build/win64
$ cd build/win64
$ cmake -G "Visual Studio 15 2017 Win64" -DBOOST_ROOT=<path/to/boost_1_68_0> -DQt5_DIR=<path/to/Qt/version/platform/compiler/lib/cmake/Qt5> ../..
```
_Hint: If you are using the CMake GUI, we recommend that you activate advanced mode. Also you may be required to add some of the defines via the "Add Entry" button._
* After generating the build configuration, just open the Sourcetrail.sln file that was generated by CMake and build the Sourcetrail project.
#### On Unix
* To set up your build environment run:
```
$ cd Sourcetrail
$ mkdir -p build/Release
$ cd build/Release
$ cmake -DCMAKE_BUILD_TYPE="Release" -DBOOST_ROOT=<path/to/boost_1_68_0> -DQt5_DIR=<path/to/Qt/version/platform/compiler/lib/cmake/Qt5> ../..
```
* Now start the build with:
```
$ make Sourcetrail
```
### Running
* Run Sourcetrail from within the build directory. During execution Sourcetrail needs resources from `bin/app/data` and `bin/app/user`. CMake creates symlinks within the build directory that make these directories accessible.
## Enable C/C++ Language Support
### Required dependencies
* __LLVM/Clang 11.0.0__
* __Reason__: Used for running the preprocessor on the indexedes source code, building and traversing an Abstract Syntax Tree and generating error messages.
* __Building__: Make sure to check out the correct tag: `git checkout llvmorg-11.0.0`
* __Building for Windows__: Follow [these steps](https://clang.llvm.org/get_started.html) to build the project. Run the cmake command exactly as described.
* __Building for Unix__: Follow this [installation guide](http://clang.llvm.org/docs/LibASTMatchersTutorial.html) to build the project. Make sure to build with `-DLLVM_ENABLE_RTTI=ON`.
### Building
* Run CMake with these additional options:
```
-DClang_DIR=<path/to/llvm_build>/lib/cmake/clang
-DBUILD_CXX_LANGUAGE_PACKAGE=ON
```
* Build Sourcetrail as described [above](#building).
## Enable Java Language Support
### Required dependencies
* __JDK 1.8__
* __Reason__: Used to build the Java indexer and make it callable from the C++ code via JNI.
* __Remarks__: Make sure that `<jdk_root>/bin` is available in your `PATH` environmen variable and that the `JAVA_HOME` environment variable is set:
```
JAVA_HOME=<path/to/Java>/jdk1.x.x_xxx
```
* __Maven__
* __REASON__: Used within Sourcetrail's automated tests.
* __Remarks__: Make sure `.../apache-maven-x.x.x/bin` is available in your `PATH` environmen variable and that both `M2_HOME` and `MAVEN_HOME` environment variables are set:
```
M2_HOME=.../apache-maven-x.x.x
MAVEN_HOME=.../apache-maven-x.x.x
```
### Building
* Run CMake with these additional options:
```
-DBUILD_JAVA_LANGUAGE_PACKAGE=ON
```
* Build Sourcetrail as described [above](#building).
## Enable Python Language Support
### Required Tools
* __7z (required for Windows)__
* __REASON__: Used to extract the prebuilt SourcetrailPythonIndexer which is downloaded automatically during build execution.
### Building
* Run CMake with these additional options:
```
-DBUILD_PYTHON_LANGUAGE_PACKAGE=ON
```
* Build Sourcetrail as described [above](#building).
## Creating the deployment Package
### Windows
#### Required Tools
* __Visual Studio (required for Windows)__
* __Reason__: Used for building the Sourcetrail Windows installer.
* __Remarks__: Make sure to install the `.Net desktop development` workload.
* __Download__: https://visualstudio.microsoft.com/downloads/
* __Wix 3.11__
* __Reason__: Used to build the `sourcetrail.msi` Windows installer.
* __Remarks__: Make sure to add `<path/to>/WiX Toolset v3.11/bin` to your `PATH` environment variable.
* __Download__: https://wixtoolset.org/releases/
* __Wix extension for Visual Studio__
* __Reason__: Used to run Wix from the Visual Studio build environment.
* __Download__: https://marketplace.visualstudio.com/items?itemName=WixToolset.WixToolsetVisualStudio2017Extension
* __JRE__
* __Reason__: Used for indexing the java sample project that ships with the package.
* __WinRAR__
* __Reason__: Used for creating the final zip files for the installer and the portable package.
* __Remarks__: Make sure to add `<path/to>/WinRAR` to your `PATH` environment variable.
#### Building
* Run `./script/deploy_windows.sh` from your Developer Command Prompt for Visual Studio. The script which will generate a 64bit build and packages it into a portable `.zip` file and a Wix-based Windows installer, each.
### macOS
After building, run the `bundle_install.sh` script within the build directory which will create a `Sourcetrail.app` bundle and generate a `Sourcetrail_<version>.dmg` container.
### Linux
Run `./setup/Linux/createPackages.sh` from the main directory, which creates both a `.tar.gz` and a `.AppImage` package in the main directory. Packaging depends on [linuxdeployqt](https://github.com/probonopd/linuxdeployqt).
# How to Run the Tests
The automated test suite of Sourcetrail is powered by [Catch2](https://github.com/catchorg/Catch2). To run the tests, simply execute the `Sourcetrail_test` binary. Before executing, please make sure to set the working directory to `./bin/test`.
# License
Sourcetrail is licensed under the [GNU General Public License Version 3](LICENSE.txt).
# Trademark
The "Sourcetrail" name is a trademark owned by Coati Software and is not included within the assets licensed under the GNU GPLv3.
+59
View File
@@ -0,0 +1,59 @@
# Sponsors
Sponsors [via Patreon](https://www.patreon.com/sourcetrail).
## Legendary Coatis
* Akinobu Fujii
* Mario van Beek
* Timothee Besset
## Super Coatis
* Alexis Jeandet
* Anshu Mathur
* Chris Morley
* Konstantin Kirenko
* Louis St-Amour
* William Wold
## Regular Coatis
* Alex B
* Andreas
* Anton
* Bicakci, Inc.
* BJ
* Dio Lee
* Ferenc Fejes
* Frederic Simonis
* Friedrich Hunstock
* Graydon Hoare
* IndustrialRobot
* Jason Stevens
* John Borland
* Kikuchi Takanori
* MangerDesPates
* Matěj Týč
* Max Bruckner
* Michael F. Schönitzer
* Nakul Dhotre
* Neil Horlock
* Nick Moore
* Nils Moehrle
* Pierre Fransson
* Rémi Cohen-Scali
* Rui Pires
* Ryo Koyama
* Simon
* Sneakyferret
* Stephan Roslen
* Thorsten Dahlheimer
* Tomi Joki-Korpela
* Werner de Groot
* X. Xu
* Yacob Cohen-Arazi
* Yang, Wenbo
* 郝晨煜
_Note: This file will be updated at the beginning of each month._
+44
View File
@@ -0,0 +1,44 @@
version: 0.0.0.{build}
image: Visual Studio 2017
install:
############################################################################
# Install Ninja
############################################################################
- set NINJA_URL="https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-win.zip"
- appveyor DownloadFile %NINJA_URL% -FileName ninja.zip
- 7z x ninja.zip -oC:\projects\deps\ninja > nul
- set PATH=C:\projects\deps\ninja;%PATH%
- ninja --version
# Install SWIG by Choco
- ps: choco install -y --no-progress swig --version 4.0.1
before_build:
- git submodule init
- git submodule update
- cd submodules/SourcetrailPythonIndexer
- git submodule init
- git submodule update
- cd ../..
- mkdir build
- cd build
- mkdir temp
- mkdir win64
- cd win64
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
- cmake -G "Ninja" -DBOOST_ROOT=C:/Libraries/boost_1_69_0 -DQt5_DIR=C:/Qt/5.12.6/msvc2017_64/lib/cmake/Qt5 -DBUILD_PYTHON_LANGUAGE_PACKAGE=ON -DCMAKE_BUILD_TYPE=Release ../../
- cd ../../
build_script:
- cd build/win64
- ninja
- cd ../../
artifacts:
- path: bin
name: bin
type: zip
- path: build
name: build
type: zip
@@ -1,49 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- BOOL: 0, 1 -->
<!-- INTEGER: int e.g 123 -->
<!-- DECIMAL: float e.g 123.456 -->
<!-- STRING: string e.g hello -->
<!-- COLOR: int int int int - rgba e.g. 125 125 125 255 -->
<config>
<startup_project><!-- STRING: path to project settings xml file --></startup_project>
<source>
<compiler_flags>
<compiler_flag><!-- STRING: compiler flag, including the dash e.g. -v --></compiler_flag>
</compiler_flags>
<header_search_paths>
<header_search_path><!-- STRING: header search path for each path a header_search_path element --></header_search_path>
</header_search_paths>
<!-- MAC ONLY -->
<framework_search_paths>
<framework_search_path><!-- STRING: framework search path --></framework_search_path>
</framework_search_paths>
</source>
<application>
<font_name><!-- STRING: font name --></font_name>
<font_size><!-- INTEGER: font size in pt --></font_size>
<color_scheme><!-- STRING: color scheme path --></color_scheme>
</application>
<code>
<tab_width><!-- INTEGER: number of spaces to represent a tab in code files --></tab_width>
<snippet>
<snap_range><!-- INTEGER: max amount of lines that the current snippet will be extended to snap to scope start/end --></snap_range>
<expand_range><!-- INTEGER: amount of lines that the snippet range (not snapped) will be extended --></expand_range>
</snippet>
</code>
<user>
<has_seen_settings><!-- BOOL: if the user was already asked to enter app settings --></has_seen_settings>
<recent_projects>
<recent_project><!-- STRING: recent project path --></recent_project>
</recent_projects>
</user>
</config>
+42 -22
View File
@@ -7,28 +7,48 @@
<!-- COLOR: int int int int - rgba e.g. 125 125 125 255 -->
<config>
<source>
<source_paths>
<source_path><!-- STRING: path to source file or directory, also used as header search path --></source_path>
</source_paths>
<version><!-- INTEGER: Version number --></version>
<compiler_flags>
<compiler_flag><!-- STRING: compiler flag, including the dash e.g. -v --></compiler_flag>
</compiler_flags>
<description><!-- STRING: optional description shown in overview. Symbols can be linked with syntax [main] --></description>
<header_search_paths>
<header_search_path><!-- STRING: header search path for each path a header_search_path element --></header_search_path>
</header_search_paths>
<!-- MAC ONLY -->
<framework_search_paths>
<framework_search_path><!-- STRING: framework search path --></framework_search_path>
</framework_search_paths>
<extensions>
<header_extensions><!-- STRING: extension for header/include e.g. .h --></header_extensions>
<source_extensions><!-- STRING: extension for source e.g. .cpp --></source_extensions>
</extensions>
</source>
<source_groups>
<source_group_xyz>
<type><!-- STRING: describes what kind of project this is, e.g. "C Source Group", "Java Source Group from Maven" --></type>
<standard><!-- STRING: language version, e.g. c++ '11' --></standard>
<source_paths>
<source_path><!-- STRING: path to source file or directory, also used as header search path --></source_path>
</source_paths>
<exclude_paths>
<exclude_path><!-- STRING: path to file or directory to exclude from analysis --></exclude_path>
</exclude_paths>
<source_extensions>
<source_extension><!-- STRING: extension for source e.g. .cpp --></source_extension>
</source_extensions>
<header_search_paths>
<header_search_path><!-- STRING: header search path for each path a header_search_path element --></header_search_path>
</header_search_paths>
<use_source_paths_for_header_search><!-- BOOL: If enabled all subfolder of the source paths will be used for header search --></use_source_paths_for_header_search>
<!-- begin MAC ONLY -->
<framework_search_paths>
<framework_search_path><!-- STRING: framework search path --></framework_search_path>
</framework_search_paths>
<!-- end MAC ONLY -->
<compiler_flags>
<compiler_flag><!-- STRING: compiler flag, including the dash e.g. -v --></compiler_flag>
</compiler_flags>
<build_file_path>
<vs_solution_path><!-- STRING: path to Visual Studio solution *.sln --></vs_solution_path>
<compilation_db_path><!-- STRING: path to Compilation Database --></compilation_db_path>
</build_file_path>
</source_group_xyz>
</source_groups>
</config>
+245
View File
@@ -0,0 +1,245 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
COLOR:
1. HEX RGB: #RRGGBB - e.g. #00FF00
2. HEX ARGB: #AARRGGBB - e.g. #5500FF00
3. Qt5 color name - e.g. white (http://doc.qt.io/qt-5/qcolor.html)
-->
<config>
<search>
<background></background>
<button>
<normal></normal>
<hover></hover>
<press></press>
<disabled></disabled>
<icon></icon>
</button>
<field>
<text></text>
<background></background>
<highlight></highlight>
</field>
<popup>
<text></text>
<by_text></by_text>
<background></background>
<highlight></highlight>
</popup>
<query>
<none>
<normal></normal>
<hover></hover>
</none>
<command>
<normal></normal>
<hover></hover>
</command>
<operator>
<normal></normal>
<hover></hover>
</operator>
</query>
</search>
<code>
<background></background>
<file>
<background></background>
<title>
<text></text>
<normal></normal>
<hover></hover>
<press></press>
<icon></icon>
</title>
<ref_count>
<text></text>
<background></background>
</ref_count>
</file>
<snippet>
<background></background>
<title>
<text></text>
<background></background>
<hover></hover>
</title>
<line_number>
<text></text>
<background></background>
</line_number>
<syntax>
<normal></normal>
<directive></directive>
<keyword></keyword>
<type></type>
<comment></comment>
<number></number>
<quotation></quotation>
<function></function>
</syntax>
<selection>
<location>
<normal>
<border></border>
<fill></fill>
</normal>
<focus>
<border></border>
<fill></fill>
</focus>
<active>
<border></border>
<fill></fill>
</active>
</location>
<scope>
<normal>
<border></border>
<fill></fill>
</normal>
<focus>
<border></border>
<fill></fill>
</focus>
<active>
<border></border>
<fill></fill>
</active>
</scope>
<error>
<normal>
<border></border>
<fill></fill>
</normal>
<focus>
<border></border>
<fill></fill>
</focus>
<active>
<border></border>
<fill></fill>
</active>
</error>
</selection>
</snippet>
</code>
<graph>
<background></background>
<node>
<!-- REQUIRED -->
<default>
<!-- NODE TEMPLATE-->
<like><!-- NODE TYPE NAME: Imitates the look of that node type. If defined all colors will be ignored --></like>
<fill>
<normal></normal>
<focus></focus> <!-- If not defined, the normal tag is used -->
</fill>
<border>
<normal></normal>
<focus></focus> <!-- If not defined, the normal tag is used -->
</border>
<text>
<normal></normal>
<focus></focus> <!-- If not defined, the normal tag is used -->
</text>
<icon>
<normal></normal>
<focus></focus> <!-- If not defined, the normal tag is used -->
</icon>
<hatching>
<normal></normal>
<focus></focus> <!-- If not defined, the normal tag is used -->
</hatching>
</default>
<!-- OPTIONAL: type specific node colors can be overriden by using the TEMPLATE within a type tag below -->
<type></type>
<builtin_type></builtin_type>
<class></class>
<interface></interface>
<struct></struct>
<enum></enum>
<typedef></typedef>
<template_parameter></template_parameter>
<type_parameter></type_parameter>
<function></function>
<method></method>
<field></field>
<global_variable></global_variable>
<enum_constant></enum_constant>
<undefined></undefined>
<namespace></namespace>
<package></package>
<file></file>
<macro></macro>
<access></access>
<bundle></bundle>
<count_number></count_number> <!-- The small circles with numbers in the graph -->
</node>
<edge>
<!-- REQUIRED -->
<default>
<!-- EDGE TEMPLATE-->
<like><!-- EDGE TYPE NAME: Imitates the look of that edge type. If defined all colors will be ignored --></like>
<normal></normal>
<focus></focus> <!-- If not defined, the normal tag is used -->
</default>
<!-- OPTIONAL: type specific edge colors can be overriden by using the TEMPLATE within a type tag below -->
<type_of></type_of>
<return_type></return_type>
<parameter_type></parameter_type>
<type_use></type_use>
<inheritance></inheritance>
<typedef></typedef>
<override></override>
<call></call>
<use></use>
<template_parameter></template_parameter>
<template_argument></template_argument>
<template_default_argument></template_default_argument>
<template_specialization></template_specialization>
<include></include>
<macro_use></macro_use>
<bundled_edges></bundled_edges>
</edge>
</graph>
<tool_tip>
<text></text>
<background></background>
</tool_tip>
</config>
+588
View File
@@ -0,0 +1,588 @@
<?xml version="1.0" encoding="utf-8"?>
<config>
<window>
<background>#494949</background>
<separator>#CCCCCC</separator>
<focus>#9BF51D</focus>
<scrollbar>
<background>transparent</background>
<handle>#80999999</handle>
<line>#80999999</line>
</scrollbar>
<dock>
<text>white</text>
<background>#808080</background>
<line>#A0A0A0</line>
<icon_type>white</icon_type> <!-- white, grey, black -->
</dock>
<button>
<text>white</text>
<background>#CC494949</background>
<border>#D4D4D4</border>
<border_hover>white</border_hover>
<icon>white</icon>
</button>
</window>
<search>
<background>#494949</background>
<button>
<normal>#808080</normal>
<hover>#B1B1B1</hover>
<press>#CCCCCC</press>
<disabled>#606060</disabled>
<icon>white</icon>
<icon_disabled>#808080</icon_disabled>
</button>
<field>
<text>#FFFFFF</text>
<background>#494949</background>
<border>#808080</border>
<highlight>#B1B1B1</highlight>
</field>
<popup>
<text>#3D3D3D</text>
<by_text>#808080</by_text>
<background>#CCCCCC</background>
<highlight>#FFFFFF</highlight>
<line>#B1B1B1</line>
</popup>
<query>
<none>
<normal>
<fill>#B1B1B1</fill>
<text>#3D3D3D</text>
</normal>
<hover>
<fill>#CCCCCC</fill>
<text>#3D3D3D</text>
</hover>
</none>
<command>
<normal>
<fill>#86BD40</fill>
<text>#3D3D3D</text>
</normal>
<hover>
<fill>#9EC769</fill>
<text>#3D3D3D</text>
</hover>
</command>
<operator>
<normal>
<fill>#7D2724</fill>
<text>#3D3D3D</text>
</normal>
<hover>
<fill>#8C2B29</fill>
<text>#3D3D3D</text>
</hover>
</operator>
<fulltext>
<normal>
<fill>#C2AFEF</fill>
<text>#3D3D3D</text>
</normal>
<hover>
<fill>#AB96EA</fill>
<text>#3D3D3D</text>
</hover>
</fulltext>
</query>
</search>
<code>
<background>#595959</background>
<navigation>
<background>#494949</background>
<text>#CCCCCC</text>
<line>#FFF</line>
</navigation>
<file>
<background>#AAAAAA</background>
<title>
<text>black</text>
<normal>#CCCCCC</normal>
<hover>#CCCCCC</hover>
<press>#CCCCCC</press>
<icon>black</icon>
<border>#B1B1B1</border>
<hatching>grey</hatching>
</title>
<ref_count>
<text>#D4D4D4</text>
<background>#494949</background>
</ref_count>
</file>
<snippet>
<background>#494949</background>
<title>
<text>#A0A0A0</text>
<background>transparent</background>
</title>
<line_number>
<text>#D4D4D4</text>
<inactive_text>#A0A0A0</inactive_text>
<background>#494949</background>
<marker>
<active>#807F80</active>
<focus>#D4D4D4</focus>
</marker>
</line_number>
<syntax>
<text>#D4D4D4</text>
<directive>#00A0B6</directive>
<keyword>#00BCD6</keyword>
<type>#FF5961</type>
<comment>#78946B</comment>
<number>#FC7F30</number>
<quotation>#DB77DB</quotation>
<function>#FFCC3B</function>
</syntax>
<selection>
<text>black</text>
<background>#CCCCCC</background>
</selection>
<annotation>
<token>
<normal>
<border>transparent</border>
<fill>transparent</fill>
</normal>
<focus>
<border>#EDEDED</border>
<fill>transparent</fill>
</focus>
<active>
<border>#EDEDED</border>
<fill>#EDEDED</fill>
<text>#262626</text>
</active>
</token>
<local_symbol>
<normal>
<border>transparent</border>
<fill>transparent</fill>
</normal>
<focus>
<border>#9BDAFF</border>
<fill>#A5DEFF</fill>
<text>#262626</text>
</focus>
<active>
<border>white</border>
<fill>#A5DEFF</fill>
<text>#262626</text>
</active>
</local_symbol>
<scope>
<normal>
<border>transparent</border>
<fill>transparent</fill>
</normal>
</scope>
<error>
<normal>
<border>transparent</border>
<fill>#A0FF0000</fill>
<text>#000000</text>
</normal>
<focus>
<fill>#FFFF0000</fill>
</focus>
</error>
<fulltext_search>
<normal>
<fill>#C2AFEF</fill>
<text>#3D3D3D</text>
</normal>
<focus>
<fill>#987CEA</fill>
</focus>
</fulltext_search>
<screen_search>
<normal>
<border>transparent</border>
<fill>#D2FA6E</fill>
<text>#262626</text>
</normal>
<focus>
<fill>#FA6EF3</fill>
</focus>
</screen_search>
</annotation>
</snippet>
</code>
<graph>
<background>#494949</background>
<node>
<default>
<fill>
<normal>#807F80</normal>
</fill>
<border>
<normal>#FFFFFF</normal>
</border>
<text>
<normal>#3D3D3D</normal>
</text>
<icon>
<normal>#3D3D3D</normal>
</icon>
<hatching>
<normal>#616061</normal>
</hatching>
</default>
<type>
<border>
<normal>#20FFFFFF</normal>
<highlight>#FFFFFF</highlight>
</border>
<text>
<normal>#FFFFFF</normal>
</text>
<icon>
<normal>#FFFFFF</normal>
</icon>
</type>
<built_in_type>
<like>type</like>
</built_in_type>
<class>
<like>type</like>
</class>
<interface>
<like>type</like>
</interface>
<struct>
<like>type</like>
</struct>
<enum>
<like>type</like>
</enum>
<union>
<like>type</like>
</union>
<typedef>
<like>type</like>
</typedef>
<type_parameter>
<like>type</like>
</type_parameter>
<function>
<fill>
<normal>#FFCC3B</normal>
<highlight>#FFD05A</highlight>
</fill>
<border>
<normal>transparent</normal>
<highlight>#FFFFFF</highlight>
</border>
<hatching>
<normal>#FFE8A6</normal>
</hatching>
</function>
<method>
<like>function</like>
</method>
<global_variable>
<fill>
<normal>#2FC2D6</normal>
<highlight>#38D3E8</highlight>
</fill>
<border>
<normal>transparent</normal>
<highlight>#FFFFFF</highlight>
</border>
<hatching>
<normal>#96DAE3</normal>
</hatching>
</global_variable>
<field>
<like>global_variable</like>
</field>
<enum_constant>
<like>global_variable</like>
</enum_constant>
<symbol>
<like>type</like>
</symbol>
<namespace>
<fill>
<normal>#873E3E</normal>
</fill>
<border>
<normal>#80FFFFFF</normal>
<highlight>#FFFFFF</highlight>
</border>
<text>
<normal>#FFFFFF</normal>
</text>
<icon>
<normal>#FFFFFF</normal>
</icon>
<hatching>
<normal>#B05151</normal>
</hatching>
</namespace>
<module>
<like>namespace</like>
</module>
<package>
<like>namespace</like>
</package>
<file>
<fill>
<normal>#4E82F6</normal>
<highlight>#6793F6</highlight>
</fill>
<border>
<normal>#20FFFFFF</normal>
<highlight>#FFFFFF</highlight>
</border>
<text>
<normal>#FFFFFF</normal>
</text>
<icon>
<normal>#FFFFFF</normal>
</icon>
<hatching>
<normal>#416CCC</normal>
</hatching>
</file>
<macro>
<like>file</like>
</macro>
<annotation>
<like>file</like>
</annotation>
<access>
<fill>
<normal>#494949</normal>
</fill>
<text>
<normal>#FFFFFF</normal>
</text>
<icon>
<normal>#FFFFFF</normal>
</icon>
</access>
<bundle>
<fill>
<normal>#494949</normal>
</fill>
<border>
<normal>#80FFFFFF</normal>
<highlight>#FFFFFF</highlight>
</border>
<text>
<normal>#FFFFFF</normal>
</text>
<icon>
<normal>#FFFFFF</normal>
</icon>
</bundle>
<count_number>
<fill>
<normal>#494949</normal>
</fill>
<border>
<normal>#CCCCCC</normal>
</border>
<text>
<normal>#CCCCCC</normal>
</text>
</count_number>
<qualifier>
<fill>
<normal>#873E3E</normal>
</fill>
<border>
<normal>#FFFFFF</normal>
</border>
<text>
<normal>#FFFFFF</normal>
</text>
</qualifier>
<text>
<fill>
<normal>transparent</normal>
</fill>
<text>
<normal>#B1B1B1</normal>
</text>
</text>
<group>
<default>
<fill>
<normal>transparent</normal>
</fill>
<text>
<normal>#FFFFFF</normal>
</text>
<border>
<normal>#807F80</normal>
</border>
</default>
<file>
<fill>
<normal>transparent</normal>
</fill>
<text>
<normal>#D4D4D4</normal>
</text>
<border>
<normal>#4E82F6</normal>
<highlight>#6793F6</highlight>
</border>
</file>
<namespace>
<fill>
<normal>transparent</normal>
</fill>
<text>
<normal>#D4D4D4</normal>
</text>
<border>
<normal>#873E3E</normal>
<highlight>#944444</highlight>
</border>
</namespace>
<inheritance>
<fill>
<normal>transparent</normal>
</fill>
<border>
<normal>#797979</normal>
</border>
</inheritance>
</group>
</node>
<edge>
<default>#797979</default>
<type_use>#797979</type_use>
<inheritance>#797979</inheritance>
<use>#00A0B6</use>
<call>#DEA400</call>
<call_trail_focus>#FFFFFF</call_trail_focus>
<override>#BA5ECC</override>
<type_argument>#D93D5F</type_argument>
<template_specialization>#D93D5F</template_specialization>
<include>#4E82F6</include>
<import>#4E82F6</import>
<macro_use>#4E82F6</macro_use>
<annotation_use>#4E82F6</annotation_use>
<bundled_edges>#666666</bundled_edges>
</edge>
</graph>
<tab>
<background>#494949</background>
<bar>
<background>#808080</background>
<border>#BEBEBE</border>
<button>
<text>
<normal>#CCC</normal>
<hover>#CCC</hover>
<press>white</press>
</text>
<border>
<normal>#CCC</normal>
<press>#EEE</press>
</border>
<background>
<normal>#808080</normal>
<hover>#505050</hover>
<press>#494949</press>
</background>
<icon>#CCC</icon>
</button>
</bar>
</tab>
<table>
<background>#494949</background>
<table>#D4D4D4</table>
<text>
<normal>#D4D4D4</normal>
<active>black</active>
<disabled>#AAA</disabled>
</text>
<table_line_1>
<normal>#494949</normal>
<active>#7B7B7B</active>
</table_line_1>
<table_line_2>
<normal>#383838</normal>
<active>#7B7B7B</active>
</table_line_2>
</table>
<screen_search>
<background>#808080</background>
<border>#BEBEBE</border>
<box>
<background>#494949</background>
<text>#D4D4D4</text>
<match_label>#CCCCCC</match_label>
</box>
<filter>white</filter>
<button>
<normal>#494949</normal>
<hover>#606060</hover>
<press>#707070</press>
<disabled>#494949</disabled>
<icon>white</icon>
<icon_disabled>#666666</icon_disabled>
</button>
</screen_search>
<custom_trail>
<background>#494949</background>
<alt_background>#808080</alt_background>
<separator>#CCCCCC</separator>
<text>#FFFFFF</text>
<text_disabled>darkgrey</text_disabled>
<background_disabled>#696969</background_disabled>
<button>
<default>
<text>#FFFFFF</text>
<background>#494949</background>
<border>#FFFFFF</border>
</default>
<hover>
<text>#494949</text>
<background>#FFFFFF</background>
<border>#FFFFFF</border>
</hover>
</button>
</custom_trail>
</config>
+443 -145
View File
@@ -1,58 +1,121 @@
<?xml version="1.0" encoding="utf-8"?>
<config>
<window>
<background>white</background>
<separator>#A2A2A2</separator>
<focus>#FF5900</focus>
<scrollbar>
<background>transparent</background>
<handle>#80999999</handle>
<line>#80999999</line>
</scrollbar>
<dock>
<text>black</text>
<background>#E0E0E0</background>
<line>#BEBEBE</line>
<icon_type>grey</icon_type> <!-- white, grey, black -->
</dock>
<button>
<text>black</text>
<background>white</background>
<border>#AAA</border>
<border_hover>#878787</border_hover>
<icon>black</icon>
</button>
</window>
<search>
<background>white</background>
<button>
<normal>#E0E0E0</normal>
<hover>#B2B2B2</hover>
<normal>#B0B0B0</normal>
<hover>#828282</hover>
<press>#626262</press>
<disabled>#F4F4F4</disabled>
<disabled>#E2E2E2</disabled>
<icon>white</icon>
<icon_disabled>#9E9E9E</icon_disabled>
</button>
<field>
<text>black</text>
<background>#E0E0E0</background>
<highlight>#B2B2B2</highlight>
<background>white</background>
<border>#B0B0B0</border>
<highlight>#929292</highlight>
</field>
<popup>
<text>black</text>
<by_text>#A0A0A0</by_text>
<by_text>#525252</by_text>
<background>white</background>
<highlight>#B2B2B2</highlight>
<highlight>#C0C0C0</highlight>
<line>#C0C0C0</line>
</popup>
<query>
<none>
<normal>white</normal>
<hover>#F5F5F5</hover>
<normal>
<fill>white</fill>
<text>black</text>
</normal>
<hover>
<fill>#F5F5F5</fill>
<text>black</text>
</hover>
</none>
<command>
<normal>#8FBC92</normal>
<hover>#5EA071</hover>
<normal>
<fill>#8FBC92</fill>
<text>black</text>
</normal>
<hover>
<fill>#6DB080</fill>
<text>black</text>
</hover>
</command>
<operator>
<normal>#FCA47E</normal>
<hover>#F97A4E</hover>
<normal>
<fill>#FCA47E</fill>
<text>black</text>
</normal>
<hover>
<fill>#F97A4E</fill>
<text>black</text>
</hover>
</operator>
<fulltext>
<normal>
<fill>#C7C7E2</fill>
<text>black</text>
</normal>
<hover>
<fill>#ABABDD</fill>
<text>black</text>
</hover>
</fulltext>
</query>
</search>
<code>
<background>white</background>
<background>#F6F6F6</background>
<navigation>
<background>white</background>
<text>#727272</text>
<line>#A2A2A2</line>
</navigation>
<file>
<background>#E0E0E0</background>
<background>#D8D8D8</background>
<title>
<text>black</text>
<normal>#E0E0E0</normal>
<hover>#B2B2B2</hover>
<press>#626262</press>
<normal>#D0D0D0</normal>
<hover>#C0C0C0</hover>
<press>#B5B5B5</press>
<icon>black</icon>
<border>white</border>
<hatching>bright</hatching>
</title>
<ref_count>
@@ -62,197 +125,432 @@
</file>
<snippet>
<background>transparent</background>
<background>white</background>
<title>
<text>#A0A0A0</text>
<text>#909090</text>
<background>transparent</background>
<hover>#F5F5F5</hover>
</title>
<line_number>
<text>black</text>
<background>transparent</background>
<inactive_text>#909090</inactive_text>
<background>white</background>
<marker>
<active>#C0C0C0</active>
<focus>#727272</focus>
</marker>
</line_number>
<syntax>
<normal>black</normal>
<text>black</text>
<directive>#1B8856</directive>
<keyword>#1B8856</keyword>
<type>#C1492D</type>
<comment>#A0A0A4</comment>
<comment>#3D84A8</comment>
<number>#C1315E</number>
<quotation>#865F9E</quotation>
<function>#CC9533</function>
<function>#B0812C</function>
</syntax>
<highlight>
<location>
<normal>#90EBEBEB</normal>
<hover>#90B6D1DD</hover>
</location>
<selection>
<text>black</text>
<background>#D0D0D0</background>
</selection>
<annotation>
<token>
<normal>
<border>transparent</border>
<fill>transparent</fill>
</normal>
<focus>
<border>#8E8E8E</border>
<fill>transparent</fill>
</focus>
<active>
<border>#A0A0A0</border>
<fill>#A0A0A0</fill>
<text>#FFFFFF</text>
</active>
</token>
<local_symbol>
<normal>
<border>transparent</border>
<fill>transparent</fill>
</normal>
<focus>
<border>#AAE0FF</border>
<fill>#C6EAFF</fill>
</focus>
<active>
<border>#136391</border>
<fill>#C6EAFF</fill>
</active>
</local_symbol>
<scope>
<normal>#60E4EEF2</normal>
<hover>#90E4EEF2</hover>
<normal>
<border>transparent</border>
<fill>transparent</fill>
</normal>
</scope>
<error>
<normal>#80FF0000</normal>
<hover>#FFFF0000</hover>
<normal>
<border>transparent</border>
<fill>#80FF0000</fill>
<text>#000000</text>
</normal>
<focus>
<fill>#CCFF0000</fill>
</focus>
</error>
</highlight>
<fulltext_search>
<normal>
<fill>#C7C7E2</fill>
<text>#000000</text>
</normal>
<focus>
<fill>#ABABDD</fill>
</focus>
</fulltext_search>
<screen_search>
<normal>
<border>transparent</border>
<fill>#8ADBBC</fill>
<text>#000000</text>
</normal>
<focus>
<fill>#DB97C2</fill>
</focus>
</screen_search>
</annotation>
</snippet>
</code>
<graph>
<text>black</text>
<background>white</background>
<border>#3C3C3C</border>
<icon>black</icon>
<hatching>white</hatching>
<node>
<default>
<fill>
<normal>#D6D6D6</normal>
</fill>
<border>
<normal>#3C3C3C</normal>
</border>
<text>
<normal>black</normal>
</text>
<icon>
<normal>black</normal>
</icon>
<hatching>
<normal>#F0F0F0</normal>
</hatching>
</default>
<type>
<normal>#ededed</normal>
<hover>#ededed</hover>
<border>
<normal>#203C3C3C</normal>
<highlight>#3C3C3C</highlight>
</border>
</type>
<built_in_type>
<like>type</like>
</built_in_type>
<class>
<normal>#ededed</normal>
<hover>#ededed</hover>
<like>type</like>
</class>
<interface>
<like>type</like>
</interface>
<struct>
<normal>#ededed</normal>
<hover>#ededed</hover>
<like>type</like>
</struct>
<enum>
<normal>#ededed</normal>
<hover>#ededed</hover>
<like>type</like>
</enum>
<union>
<like>type</like>
</union>
<typedef>
<normal>#ededed</normal>
<hover>#ededed</hover>
<like>type</like>
</typedef>
<template_parameter_type>
<normal>#ededed</normal>
<hover>#ededed</hover>
</template_parameter_type>
<type_parameter>
<like>type</like>
</type_parameter>
<function>
<normal>#F4D07D</normal>
<hover>#F4BC3D</hover>
<fill>
<normal>#F4D07D</normal>
<highlight>#F4BC3D</highlight>
</fill>
<border>
<normal>transparent</normal>
<highlight>#3C3C3C</highlight>
</border>
<hatching>
<normal>#FFEDC4</normal>
</hatching>
</function>
<method>
<normal>#F4D07D</normal>
<hover>#F4BC3D</hover>
<like>function</like>
</method>
<field>
<normal>#7BB5D4</normal>
<hover>#42A1D4</hover>
</field>
<global_variable>
<normal>#7BB5D4</normal>
<hover>#42A1D4</hover>
<fill>
<normal>#81C1E3</normal>
<highlight>#72B3D6</highlight>
</fill>
<border>
<normal>transparent</normal>
<highlight>#3C3C3C</highlight>
</border>
<hatching>
<normal>#BBDDED</normal>
</hatching>
</global_variable>
<field>
<like>global_variable</like>
</field>
<enum_constant>
<normal>#7BB5D4</normal>
<hover>#42A1D4</hover>
<like>global_variable</like>
</enum_constant>
<undefined>
<normal>#CC8D91</normal>
<hover>#CC8D91</hover>
</undefined>
<symbol>
<like>type</like>
</symbol>
<namespace>
<normal>#CC8D91</normal>
<hover>#CC8D91</hover>
<fill>
<normal>#EFC5C5</normal>
</fill>
<border>
<normal>#3D3D3D</normal>
<highlight>black</highlight>
</border>
<icon>
<normal>#3D3D3D</normal>
</icon>
<hatching>
<normal>#FFDEDE</normal>
</hatching>
</namespace>
<module>
<like>namespace</like>
</module>
<package>
<like>namespace</like>
</package>
<file>
<normal>#DDD</normal>
<hover>#CCC</hover>
<fill>
<normal>#BEE0AF</normal>
<highlight>#A6D492</highlight>
</fill>
<border>
<normal>#203C3C3C</normal>
<highlight>#3C3C3C</highlight>
</border>
<hatching>
<normal>#D7F7C8</normal>
</hatching>
</file>
<macro>
<normal>#DDD</normal>
<hover>#CCC</hover>
<like>file</like>
</macro>
<annotation>
<like>file</like>
</annotation>
<access>
<fill>
<normal>white</normal>
</fill>
</access>
<bundle>
<fill>
<normal>white</normal>
</fill>
<border>
<normal>#803C3C3C</normal>
<highlight>#3C3C3C</highlight>
</border>
</bundle>
<count_number>
<fill>
<normal>white</normal>
</fill>
<border>
<normal>#7C7C7C</normal>
</border>
<text>
<normal>#5C5C5C</normal>
</text>
</count_number>
<qualifier>
<fill>
<normal>#EFC5C5</normal>
</fill>
<border>
<normal>#3D3D3D</normal>
</border>
<text>
<normal>black</normal>
</text>
</qualifier>
<text>
<fill>
<normal>transparent</normal>
</fill>
<text>
<normal>#A2A2A2</normal>
</text>
</text>
<group>
<default>
<fill>
<normal>transparent</normal>
</fill>
<border>
<normal>#D0D0D0</normal>
</border>
</default>
<file>
<fill>
<normal>transparent</normal>
</fill>
<text>
<normal>#5C5C5C</normal>
</text>
<border>
<normal>#BEE0AF</normal>
<highlight>#A6D492</highlight>
</border>
</file>
<namespace>
<fill>
<normal>transparent</normal>
</fill>
<text>
<normal>#5C5C5C</normal>
</text>
<border>
<normal>#EFC5C5</normal>
<highlight>#EFB3B3</highlight>
</border>
</namespace>
<inheritance>
<fill>
<normal>transparent</normal>
</fill>
<border>
<normal>#878787</normal>
</border>
</inheritance>
</group>
</node>
<edge>
<type_of>
<normal>#878787</normal>
<hover>#878787</hover>
</type_of>
<return_type>
<normal>#878787</normal>
<hover>#878787</hover>
</return_type>
<parameter_type>
<normal>#878787</normal>
<hover>#878787</hover>
</parameter_type>
<type_use>
<normal>#878787</normal>
<hover>#878787</hover>
</type_use>
<inheritance>
<normal>#878787</normal>
<hover>#878787</hover>
</inheritance>
<typedef>
<normal>#878787</normal>
<hover>#878787</hover>
</typedef>
<default>#878787</default>
<type_use>#878787</type_use>
<inheritance>#878787</inheritance>
<override>
<normal>#CC5E89</normal>
<hover>#CC5E89</hover>
</override>
<use>#4B9FC4</use>
<call>#F4BC3D</call>
<call_trail_focus>#F56B3D</call_trail_focus>
<override>#A37ACC</override>
<call>
<normal>#F4BC3D</normal>
<hover>#F4BC3D</hover>
</call>
<type_argument>#CF6B7C</type_argument>
<template_specialization>#CF6B7C</template_specialization>
<use>
<normal>#3190BA</normal>
<hover>#3190BA</hover>
</use>
<include>#719660</include>
<import>#719660</import>
<macro_use>#719660</macro_use>
<annotation_use>#719660</annotation_use>
<template_parameter>
<normal>#C1305D</normal>
<hover>#C1305D</hover>
</template_parameter>
<template_argument>
<normal>#C1305D</normal>
<hover>#C1305D</hover>
</template_argument>
<template_default_argument>
<normal>#C1305D</normal>
<hover>#C1305D</hover>
</template_default_argument>
<template_specialization>
<normal>#C1305D</normal>
<hover>#C1305D</hover>
</template_specialization>
<include>
<normal>#878787</normal>
<hover>#878787</hover>
</include>
<aggregation>
<normal>#EEE</normal>
<hover>#DDD</hover>
</aggregation>
<macro_use>
<normal>#878787</normal>
<hover>#878787</hover>
</macro_use>
<bundled_edges>#CCC</bundled_edges>
</edge>
</graph>
<tool_tip>
<text>black</text>
<tab>
<background>white</background>
<bar>
<background>#E0E0E0</background>
<border>#A2A2A2</border>
<button>
<text>
<normal>#555</normal>
<hover>#555</hover>
<press>black</press>
</text>
<border>
<normal>#888</normal>
<press>#777</press>
</border>
<background>
<normal>#E0E0E0</normal>
<hover>#F0F0F0</hover>
<press>#FFFFFF</press>
</background>
<icon>#555</icon>
</button>
</bar>
</tab>
<table>
<background>white</background>
<table>#aaa</table>
<text>
<normal>black</normal>
<active>white</active>
<disabled>#777</disabled>
</text>
<table_line_1>
<normal>white</normal>
<active>grey</active>
</table_line_1>
<table_line_2>
<normal>#F1F1F1</normal>
<active>grey</active>
</table_line_2>
</table>
<screen_search>
<background>#E0E0E0</background>
</tool_tip>
<border>#BEBEBE</border>
<box>
<background>white</background>
<text>black</text>
<match_label>#727272</match_label>
</box>
<filter>black</filter>
<button>
<normal>white</normal>
<hover>#F2F2F2</hover>
<press>#CECECE</press>
<disabled>white</disabled>
<icon>#727272</icon>
<icon_disabled>#CECECE</icon_disabled>
</button>
</screen_search>
<custom_trail>
<background>white</background>
<alt_background>#F5F5F5</alt_background>
<separator>#C0C0C0</separator>
<text>black</text>
<text_disabled>#A0A0A0</text_disabled>
<background_disabled>#F2F2F2</background_disabled>
<button>
<default>
<text>black</text>
<background>white</background>
<border>lightgray</border>
</default>
<hover>
<text>white</text>
<background>#2D3C86</background>
<border>lightgray</border>
</hover>
</button>
</custom_trail>
</config>
+443 -142
View File
@@ -1,58 +1,121 @@
<?xml version="1.0" encoding="utf-8"?>
<config>
<window>
<background>#272728</background>
<separator>#CCC</separator>
<focus>#FFFF4D</focus>
<scrollbar>
<background>transparent</background>
<handle>#80999999</handle>
<line>#80999999</line>
</scrollbar>
<dock>
<text>#F7F7F7</text>
<background>#555555</background>
<line>#808080</line>
<icon_type>white</icon_type> <!-- white, grey, black -->
</dock>
<button>
<text>white</text>
<background>#3A3A3A</background>
<border>#C5C5C5</border>
<border_hover>white</border_hover>
<icon>white</icon>
</button>
</window>
<search>
<background>#272728</background>
<button>
<normal>#777777</normal>
<hover>#555555</hover>
<press>#444444</press>
<normal>#555555</normal>
<hover>#404040</hover>
<press>#3A3A3A</press>
<disabled>#333333</disabled>
<icon>white</icon>
<icon_disabled>#777777</icon_disabled>
</button>
<field>
<text>#F7F7F7</text>
<background>#777777</background>
<highlight>#555555</highlight>
<background>#272728</background>
<border>#555555</border>
<highlight>#999999</highlight>
</field>
<popup>
<text>#F7F7F7</text>
<by_text>#A0A0A0</by_text>
<background>#272728</background>
<highlight>#555555</highlight>
<highlight>#333333</highlight>
<line>#4A4A4A</line>
</popup>
<query>
<none>
<normal>#2F2F2F</normal>
<hover>black</hover>
<normal>
<fill>#2F2F2F</fill>
<text>#F7F7F7</text>
</normal>
<hover>
<fill>black</fill>
<text>#F7F7F7</text>
</hover>
</none>
<command>
<normal>#406D4D</normal>
<hover>#4E855E</hover>
<normal>
<fill>#406D4D</fill>
<text>#F7F7F7</text>
</normal>
<hover>
<fill>#4E855E</fill>
<text>#F7F7F7</text>
</hover>
</command>
<operator>
<normal>#7D2724</normal>
<hover>#8C2B29</hover>
<normal>
<fill>#7D2724</fill>
<text>#F7F7F7</text>
</normal>
<hover>
<fill>#8C2B29</fill>
<text>#F7F7F7</text>
</hover>
</operator>
<fulltext>
<normal>
<fill>#207EA8</fill>
<text>#F7F7F7</text>
</normal>
<hover>
<fill>#006D93</fill>
<text>#F7F7F7</text>
</hover>
</fulltext>
</query>
</search>
<code>
<background>#272728</background>
<background>#313132</background>
<navigation>
<background>#272728</background>
<text>#C5C5C5</text>
<line>#999</line>
</navigation>
<file>
<background>#777777</background>
<background>#5C5C5C</background>
<title>
<text>#F7F7F7</text>
<normal>#777777</normal>
<hover>#555555</hover>
<press>#444444</press>
<normal>#5C5C5C</normal>
<hover>#4A4A4A</hover>
<press>#404040</press>
<icon>white</icon>
<border>#272728</border>
<hatching>dark</hatching>
</title>
<ref_count>
@@ -62,197 +125,435 @@
</file>
<snippet>
<background>transparent</background>
<background>#272728</background>
<title>
<text>#A0A0A0</text>
<background>transparent</background>
<hover>#2F2F2F</hover>
</title>
<line_number>
<text>#F7F7F7</text>
<background>transparent</background>
<inactive_text>#A0A0A0</inactive_text>
<background>#272728</background>
<marker>
<active>#797979</active>
<focus>#F7F7F7</focus>
</marker>
</line_number>
<syntax>
<normal>#F7F7F7</normal>
<text>#F7F7F7</text>
<directive>#1F9C62</directive>
<keyword>#1F9C62</keyword>
<type>#D95233</type>
<comment>#A0A0A4</comment>
<comment>#4E768A</comment>
<number>#CC3463</number>
<quotation>#9368AD</quotation>
<function>#D69C36</function>
</syntax>
<highlight>
<location>
<normal>#20EBEBEB</normal>
<hover>#40B6D1DD</hover>
</location>
<selection>
<text>white</text>
<background>#777777</background>
</selection>
<annotation>
<token>
<normal>
<border>transparent</border>
<fill>transparent</fill>
</normal>
<focus>
<border>#D5D5D5</border>
<fill>transparent</fill>
</focus>
<active>
<border>transparent</border>
<fill>#D5D5D5</fill>
<text>#272728</text>
</active>
</token>
<local_symbol>
<normal>
<border>transparent</border>
<fill>transparent</fill>
</normal>
<focus>
<border>#A0A0A0</border>
<fill>#969696</fill>
<text>#191919</text>
</focus>
<active>
<border>white</border>
<fill>#969696</fill>
<text>#272728</text>
</active>
</local_symbol>
<scope>
<normal>#10E4EEF2</normal>
<hover>#18E4EEF2</hover>
<normal>
<border>transparent</border>
<fill>transparent</fill>
</normal>
</scope>
<error>
<normal>#A0FF0000</normal>
<hover>#FFFF0000</hover>
<normal>
<border>transparent</border>
<fill>#BBFF0000</fill>
<text>#000000</text>
</normal>
<focus>
<fill>#FFFF0000</fill>
</focus>
</error>
</highlight>
<fulltext_search>
<normal>
<fill>#207EA8</fill>
<text>#F7F7F7</text>
</normal>
<focus>
<border>#006D93</border>
<fill>#134B63</fill>
</focus>
</fulltext_search>
<screen_search>
<normal>
<border>transparent</border>
<fill>#6EDB42</fill>
<text>#000000</text>
</normal>
<focus>
<fill>#FF52E8</fill>
</focus>
</screen_search>
</annotation>
</snippet>
</code>
<graph>
<text>#F7F7F7</text>
<border>#C3C3C3</border>
<background>#272728</background>
<icon>#F7F7F7</icon>
<hatching>#272728</hatching>
<node>
<default>
<fill>
<normal>#5A5A5A</normal>
</fill>
<border>
<normal>#C3C3C3</normal>
</border>
<text>
<normal>#F7F7F7</normal>
</text>
<icon>
<normal>#F7F7F7</normal>
</icon>
<hatching>
<normal>#3D3D3D</normal>
</hatching>
</default>
<type>
<normal>#4D4D4D</normal>
<hover>#4D4D4D</hover>
<border>
<normal>#20C3C3C3</normal>
<highlight>#C3C3C3</highlight>
</border>
</type>
<built_in_type>
<like>type</like>
</built_in_type>
<class>
<normal>#4D4D4D</normal>
<hover>#4D4D4D</hover>
<like>type</like>
</class>
<interface>
<like>type</like>
</interface>
<struct>
<normal>#4D4D4D</normal>
<hover>#4D4D4D</hover>
<like>type</like>
</struct>
<enum>
<normal>#4D4D4D</normal>
<hover>#4D4D4D</hover>
<like>type</like>
</enum>
<union>
<like>type</like>
</union>
<typedef>
<normal>#4D4D4D</normal>
<hover>#4D4D4D</hover>
<like>type</like>
</typedef>
<template_parameter_type>
<normal>#4D4D4D</normal>
<hover>#4D4D4D</hover>
</template_parameter_type>
<type_parameter>
<like>type</like>
</type_parameter>
<function>
<normal>#7A681F</normal>
<hover>#9C8528</hover>
<fill>
<normal>#7A681F</normal>
<highlight>#9C8528</highlight>
</fill>
<border>
<normal>transparent</normal>
<highlight>#C3C3C3</highlight>
</border>
<hatching>
<normal>#544815</normal>
</hatching>
</function>
<method>
<normal>#7A681F</normal>
<hover>#9C8528</hover>
<like>function</like>
</method>
<field>
<normal>#21516B</normal>
<hover>#2A6484</hover>
</field>
<global_variable>
<normal>#21516B</normal>
<hover>#2A6484</hover>
<fill>
<normal>#21516B</normal>
<highlight>#2A6484</highlight>
</fill>
<border>
<normal>transparent</normal>
<highlight>#C3C3C3</highlight>
</border>
<hatching>
<normal>#17384A</normal>
</hatching>
</global_variable>
<field>
<like>global_variable</like>
</field>
<enum_constant>
<normal>#21516B</normal>
<hover>#2A6484</hover>
<like>global_variable</like>>
</enum_constant>
<undefined>
<normal>#78282D</normal>
<hover>#78282D</hover>
</undefined>
<symbol>
<like>type</like>
</symbol>
<namespace>
<normal>#78282D</normal>
<hover>#78282D</hover>
<fill>
<normal>#78282D</normal>
</fill>
<border>
<normal>#80C3C3C3</normal>
<highlight>#C3C3C3</highlight>
</border>
<icon>
<normal>#C3C3C3</normal>
</icon>
<hatching>
<normal>#521B1F</normal>
</hatching>
</namespace>
<module>
<like>namespace</like>
</module>
<package>
<like>namespace</like>
</package>
<file>
<normal>#1B564E</normal>
<hover>#247368</hover>
<fill>
<normal>#1B564E</normal>
<highlight>#21695F</highlight>
</fill>
<border>
<normal>#20C3C3C3</normal>
<highlight>#C3C3C3</highlight>
</border>
<hatching>
<normal>#123B35</normal>
</hatching>
</file>
<macro>
<normal>#1B564E</normal>
<hover>#247368</hover>
<like>file</like>
</macro>
<annotation>
<like>file</like>
</annotation>
<access>
<fill>
<normal>#272728</normal>
</fill>
</access>
<bundle>
<fill>
<normal>#272728</normal>
</fill>
<border>
<normal>#80C3C3C3</normal>
<highlight>#C3C3C3</highlight>
</border>
</bundle>
<count_number>
<fill>
<normal>#272728</normal>
</fill>
<border>
<normal>#C3C3C3</normal>
</border>
<text>
<normal>#F7F7F7</normal>
</text>
</count_number>
<qualifier>
<fill>
<normal>#78282D</normal>
</fill>
<border>
<normal>#C3C3C3</normal>
</border>
<text>
<normal>#F7F7F7</normal>
</text>
</qualifier>
<text>
<fill>
<normal>transparent</normal>
</fill>
<text>
<normal>#777777</normal>
</text>
</text>
<group>
<default>
<fill>
<normal>transparent</normal>
</fill>
<border>
<normal>#5A5A5A</normal>
</border>
</default>
<file>
<fill>
<normal>transparent</normal>
</fill>
<text>
<normal>#C3C3C3</normal>
</text>
<border>
<normal>#1B564E</normal>
<highlight>#1E6158</highlight>
</border>
</file>
<namespace>
<fill>
<normal>transparent</normal>
</fill>
<text>
<normal>#C3C3C3</normal>
</text>
<border>
<normal>#78282D</normal>
<highlight>#872D33</highlight>
</border>
</namespace>
<inheritance>
<fill>
<normal>transparent</normal>
</fill>
<border>
<normal>#797979</normal>
</border>
</inheritance>
</group>
</node>
<edge>
<type_of>
<normal>#797979</normal>
<hover>#797979</hover>
</type_of>
<return_type>
<normal>#797979</normal>
<hover>#797979</hover>
</return_type>
<parameter_type>
<normal>#797979</normal>
<hover>#797979</hover>
</parameter_type>
<type_use>
<normal>#797979</normal>
<hover>#797979</hover>
</type_use>
<inheritance>
<normal>#797979</normal>
<hover>#797979</hover>
</inheritance>
<typedef>
<normal>#797979</normal>
<hover>#797979</hover>
</typedef>
<default>#797979</default>
<type_use>#797979</type_use>
<inheritance>#797979</inheritance>
<override>
<normal>#CC5E89</normal>
<hover>#CC5E89</hover>
</override>
<use>#2D6A8C</use>
<call>#9C8528</call>
<call_trail_focus>#F7F7F7</call_trail_focus>
<override>#8A5A94</override>
<call>
<normal>#9C8528</normal>
<hover>#9C8528</hover>
</call>
<type_argument>#C14057</type_argument>
<template_specialization>#C14057</template_specialization>
<use>
<normal>#2A6484</normal>
<hover>#2A6484</hover>
</use>
<include>#247368</include>
<import>#247368</import>
<macro_use>#247368</macro_use>
<annotation_use>#247368</annotation_use>
<template_parameter>
<normal>#C1305D</normal>
<hover>#C1305D</hover>
</template_parameter>
<template_argument>
<normal>#C1305D</normal>
<hover>#C1305D</hover>
</template_argument>
<template_default_argument>
<normal>#C1305D</normal>
<hover>#C1305D</hover>
</template_default_argument>
<template_specialization>
<normal>#C1305D</normal>
<hover>#C1305D</hover>
</template_specialization>
<include>
<normal>#247368</normal>
<hover>#247368</hover>
</include>
<aggregation>
<normal>#5D5D5D</normal>
<hover>#6D6D6D</hover>
</aggregation>
<macro_use>
<normal>#247368</normal>
<hover>#247368</hover>
</macro_use>
<bundled_edges>#4D4D4D</bundled_edges>
</edge>
</graph>
<tool_tip>
<tab>
<background>#272728</background>
<bar>
<background>#555555</background>
<border>#BEBEBE</border>
<button>
<text>
<normal>#AAA</normal>
<hover>#AAA</hover>
<press>white</press>
</text>
<border>
<normal>#777</normal>
<press>#999</press>
</border>
<background>
<normal>#555555</normal>
<hover>#2F2F2F</hover>
<press>#272728</press>
</background>
<icon>#AAA</icon>
</button>
</bar>
</tab>
<table>
<background>#272728</background>
<table>#C5C5C5</table>
<text>
<normal>white</normal>
<active>black</active>
<disabled>#AAA</disabled>
</text>
<table_line_1>
<normal>#272728</normal>
<active>#969696</active>
</table_line_1>
<table_line_2>
<normal>#343434</normal>
<active>#969696</active>
</table_line_2>
</table>
<screen_search>
<background>#555555</background>
<border>#BEBEBE</border>
<box>
<background>#272728</background>
<text>#F7F7F7</text>
<match_label>#C5C5C5</match_label>
</box>
<filter>#F7F7F7</filter>
<button>
<normal>#272728</normal>
<hover>#333333</hover>
<press>#555555</press>
<disabled>#272728</disabled>
<icon>white</icon>
<icon_disabled>#555555</icon_disabled>
</button>
</screen_search>
<custom_trail>
<background>#272728</background>
<alt_background>#555555</alt_background>
<separator>#CCC</separator>
<text>#F7F7F7</text>
<background>#777777</background>
</tool_tip>
<text_disabled>darkgrey</text_disabled>
<background_disabled>#474748</background_disabled>
<button>
<default>
<text>#F7F7F7</text>
<background>#272728</background>
<border>#F7F7F7</border>
</default>
<hover>
<text>#272728</text>
<background>#F7F7F7</background>
<border>#F7F7F7</border>
</hover>
</button>
</custom_trail>
</config>
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" ?>
<config>
<application>
<window_base_width>500</window_base_width>
<window_base_height>500</window_base_height>
</application>
<indexing>
<indexer_thread_count>0</indexer_thread_count>
</indexing>
<user>
<recent_projects>
<recent_project>./projects/tutorial/tutorial.srctrlprj</recent_project>
<recent_project>./projects/tictactoe_cpp/tictactoe_cpp.srctrlprj</recent_project>
<recent_project>./projects/tictactoe_py/tictactoe_py.srctrlprj</recent_project>
<recent_project>./projects/javaparser/javaparser.srctrlprj</recent_project>
</recent_projects>
</user>
<version>8</version>
</config>
@@ -0,0 +1,8 @@
[General]
DOCK_LOCATIONS=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x1\0\0\0\x2\0\0\x4~\0\0\x2\xa1\xfc\x1\0\0\0\x2\xfc\0\0\0\0\0\0\x4\x90\0\0\0\0\0\xff\xff\xff\xfc\x2\0\0\0\x1\xfb\0\0\0\xe\0\x44\0o\0\x63\0k\0L\0o\0g\0\0\0\x2\xc6\0\0\0\xc1\0\0\0\0\0\0\0\0\xfc\0\0\0\0\0\0\x4~\0\0\x2[\0\xff\xff\xff\xfc\x2\0\0\0\x2\xfc\0\0\0\0\0\0\x2\xa1\0\0\0\x8c\0\xff\xff\xfe\xfc\x1\0\0\0\x2\xfc\0\0\0\0\0\0\x2\x84\0\0\x1z\0\xff\xff\xff\xfc\x2\0\0\0\x2\xfb\0\0\0\x14\0\x44\0o\0\x63\0k\0S\0\x65\0\x61\0r\0\x63\0h\x1\0\0\0\0\0\0\0-\0\0\0-\0\xff\xff\xfe\xfb\0\0\0\x12\0\x44\0o\0\x63\0k\0G\0r\0\x61\0p\0h\x1\0\0\0.\0\0\x2s\0\0\0G\0\xff\xff\xfe\xfb\0\0\0\x10\0\x44\0o\0\x63\0k\0\x43\0o\0\x64\0\x65\x1\0\0\x2\x85\0\0\x1\xf9\0\0\0\xe0\0\xff\xff\xff\xfb\0\0\0\x14\0\x44\0o\0\x63\0k\0S\0t\0\x61\0t\0u\0s\0\0\0\x2I\0\0\0\xcb\0\0\0\xa8\0\xff\xff\xfe\0\0\x4~\0\0\0\0\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\0)
[MainWindow]
maximized=false
position=@Point(80 50)
showTitleBars=false
size=@Size(1150 700)
Binary file not shown.
Binary file not shown.
+45
View File
@@ -0,0 +1,45 @@
Copyright (c) 2014, Mozilla Foundation https://mozilla.org/ with Reserved Font Name Fira Sans.
Copyright (c) 2014, Telefonica S.A.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the copyright statement(s).
"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@@ -0,0 +1,93 @@
Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
+13
View File
@@ -0,0 +1,13 @@
* {
color: white;
font-size: 14px;
font-weight: 100;
}
#small {
font-size: 12px;
}
#window {
background: qlineargradient( x1:0 y1:0.4, x2:0 y2:1, stop:0 #2F3F86, stop:1 #1C7BBC );
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

@@ -0,0 +1,166 @@
/* Bookmark browser header */
#header_background {
background-color: #2E3C86;
}
#title {
color: white;
font-size: 18px;
font-weight: bold;
}
#filter_label, #order_label {
color: white;
font-size: 16px;
font-weight: bold;
margin-bottom: 5px;
}
#filter_box, #order_box {
/*margin-left: 20px;*/
}
/* Bookmark browser body */
#bookmark_tree {
border: none;
border-top: 1px solid #DFDFDF;
border-bottom: 1px solid #DFDFDF;
margin: 0px;
min-width: 500px;
min-height: 200px;
background-color: white;
}
/* Bookmark category */
#bookmark_category {
background: #DADADA;
border-bottom: 1px solid white;
padding: 4px 10px 3px 5px;
}
#bookmark_category:hover {
background: #DEDEDE;
}
#category_name {
color: black;
font-size: 12px;
margin-left: 1px;
}
#category_expand_button, #category_delete_button, #comment_button, #edit_button, #delete_button {
border: none;
background: transparent;
width: 20px;
height: 20px;
}
#edit_button {
margin-right: 3px;
}
/* Bookmark */
#bookmark {
padding: 3px 10px 3px 3px;
margin: 0;
background: white;
border-bottom: 1px solid #DFDFDF;
}
#bookmark_comment {
font-size: 12px;
padding: 3px 6px 3px 7px;
margin: 0;
color: #707070;
}
#activate_button {
background: white;
border: 2px solid white;
border-radius: 8px;
color: black;
font-size: 12px;
padding: 4px 8px 3px;
text-align: right;
}
#activate_button:hover {
border-color: #2D3C86;
}
#activate_button:pressed {
background: #CDD4F7;
}
#date_label {
margin: 1px 5px 0px;
font-size: 12px;
color: #707070;
}
/* Search bar buttons */
#bookmark_button, #show_bookmark_button {
background: <color:search/button/normal>;
border: none;
height: 30px;
width: 30px;
}
#bookmark_button:disabled, #show_bookmark_button:disabled {
background: <color:search/button/disabled>;
}
#bookmark_button:hover, #show_bookmark_button:hover {
background: <color:search/button/hover>;
}
#bookmark_button:pressed, #show_bookmark_button:pressed {
background: <color:search/button/press>;
}
#bookmark_button {
border-bottom-left-radius: 12px;
border-top-left-radius: 12px;
margin: 0px;
margin-right: 2px;
}
#show_bookmark_button {
border-bottom-right-radius: 12px;
border-top-right-radius: 12px;
margin: 0px;
}
/* Bookmark creator */
#creator_title_label {
font-size: 18px;
font-weight: bold;
color: white;
background-color: #2E3C86;
padding: 23px 20px 20px 20px;
}
#creator_label {
font-size: 14px;
font-weight: bold;
}
#creator_name_edit, #creator_comment_box {
border: 1px;
border-style: solid;
border-color: #dadada;
background: white;
border-radius: 12px;
min-height: 30px;
padding: 3px;
padding-left: 5px;
}
#creator_comment_box {
min-height: 160px;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1021 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 726 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1000 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 831 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 974 B

+207 -66
View File
@@ -1,138 +1,279 @@
#code_file_list_base, #code_file_list {
#code_container, #code_file_list {
background-color: <color:code/background>;
}
* {
font-size: <setting:font_size>pt;
#code_file_single {
background-color: <color:code/snippet/background>;
}
#code_navigation {
background-color: <color:code/navigation/background>;
}
#code_container, #code_file_list {
border: none;
}
#separator_gap {
background-color: <color:code/navigation/background>;
border: none;
}
#separator_line {
background-color: <color:code/navigation/line>;
border: none;
}
#focus_indicator {
background: <color:code/navigation/background>;
}
#focus_indicator[focused=true] {
background: <color:window/focus>;
}
#code_navigation QLabel {
color: <color:code/file/title/text>;
font-size: <setting:font_size>px;
}
#code_navigation QPushButton {
background: <color:search/button/normal>;
border: none;
color: <color:search/button/icon>;
height: 24px;
width: 24px;
}
#code_navigation QPushButton:hover, #code_navigation QPushButton:checked {
background: <color:search/button/hover>;
}
#code_navigation QPushButton:disabled {
background: <color:search/button/disabled>;
}
#code_navigation QPushButton:pressed {
background: <color:search/button/press>;
}
#code_navigation #reference_button_previous {
/*width: 20px;*/
padding-bottom: 2px;
border-bottom-left-radius: 11px;
border-top-left-radius: 11px;
}
#code_navigation #reference_button_next {
/*width: 20px;*/
padding-top: 3px;
border-bottom-right-radius: 11px;
border-top-right-radius: 11px;
}
#code_navigation #file_button_previous, #code_navigation #file_button_next {
width: 22px;
}
#code_navigation #file_button_previous, #code_navigation #local_reference_button_previous {
border-bottom-left-radius: 11px;
border-top-left-radius: 11px;
}
#code_navigation #local_reference_button_previous {
padding-bottom: 2px;
}
#code_navigation #local_reference_button_next {
padding-top: 3px;
}
#code_navigation #file_button_next, #code_navigation #local_reference_button_next {
border-bottom-right-radius: 11px;
border-top-right-radius: 11px;
}
#code_navigation #references_label {
border: none;
border-radius: 10px;
color: <color:code/navigation/text>;
font-size: <setting:font_size>px;
padding: 0px 3px;
margin: 4px 6px 4px 6px;
}
#code_navigation #mode_button_list {
padding-left: 2px;
}
#code_navigation #mode_button_single {
padding-right: 2px;
}
#code_navigation #mode_button_list {
border-bottom-left-radius: 11px;
border-top-left-radius: 11px;
}
#code_navigation #mode_button_single {
border-bottom-right-radius: 11px;
border-top-right-radius: 11px;
}
#code_file {
background-color: <color:code/snippet/background>;
border: 2px solid <color:code/file/background>;
border-radius: 14px;
margin-bottom: 0px;
border: none;
font-size: <setting:font_size>px;
}
#code_file #title_widget {
#code_file[last=true] {
border-bottom: 1px solid <color:code/file/background>;
}
#title_bar, #title_bar_single {
background-color: <color:code/file/background>;
font-size: <setting:font_size>px;
border: none;
}
#title_bar[hovering=false] {
border-top: 1px solid <color:code/navigation/line>;
}
#title_bar[focused=true] {
border-left: 4px solid <color:window/focus>;
}
#title_bar_single {
background-color: <color:code/file/background>;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
padding-right: 5px;
}
#code_file #title_label {
background-color: <color:code/file/title/normal>;
#title_bar #screen_button, #title_bar_single #screen_button {
margin-right: 7px;
}
#title_button {
background-color: transparent;
border: none;
border-radius: 3px;
color: <color:code/file/title/text>;
font-size: <setting:font_size>px;
padding: 2px 4px;
margin: 1px 8px 3px;
margin: 1px 8px 1px 2px;
}
#code_file #title_label:hover {
#title_bar_single #title_button {
margin: 3px 8px;
}
#title_button:hover {
background-color: <color:code/file/title/hover>;
}
#code_file #title_label:pressed {
#title_button:pressed {
background-color: <color:code/file/title/press>;
}
#code_file #references_label {
#title_button[nonindexed=true] {
border: 1px solid <color:code/file/title/border>;
}
#references_label {
background-color: <color:code/file/ref_count/background>;
border: none;
border-radius: 10px;
color: <color:code/file/ref_count/text>;
font-size: <setting:font_size-2>pt;
font-size: <setting:font_size-2>px;
padding: 0px 3px;
margin: 4px 0px 4px;
margin: 4px 6px 4px 0px;
}
#code_file #code_snippet {
background-color: <color:code/snippet/background>;
border-top: 2px solid <color:code/file/background>;
border-top: 1px solid <color:code/file/background>;
font-size: <setting:font_size>px;
}
#code_file #code_snippet * {
font-family: "<setting:font_name>";
}
#code_file #code_snippet[isFirst=true] {
#code_file #code_snippet[first=true] {
border: none;
padding-top: 0px;
}
#code_file #code_snippet[isLast=true] {
border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px;
}
#code_file #code_snippet #scope_name, #code_file #code_snippet #dots {
background-color: <color:code/snippet/title/background>;
color: <color:code/snippet/title/text>;
border: none;
color: <color:code/snippet/title/text>;
font-family: "<setting:font_name>";
font-size: <setting:font_size>px;
padding-bottom: 2px;
}
#code_file #code_snippet #scope_name:hover {
background-color: <color:code/snippet/title/hover>;
#code_file #code_snippet #scope_name[focused=true] {
color: <color:code/snippet/syntax/text>;
}
#code_file #code_snippet #dots {
background-color: <color:code/snippet/line_number/background>;
padding-right: 13px;
border-right: 3px solid transparent;
margin-right: 5px;
padding-right: 8px;
text-align: right;
}
#code_file #code_snippet #dots[focused=true] {
border-right: 3px solid <color:window/focus>;
}
#code_file #code_snippet #scope_name {
padding-left: 4px;
text-align: left;
}
#code_file #code_snippet #line_number_area {
#code_file #code_snippet #scope_name[focused=true] {
padding-left: 4px;
text-align: left;
}
#line_number_area {
background-color: <color:code/snippet/line_number/background>;
border: none;
color: <color:code/snippet/line_number/text>;
}
#code_file #code_snippet[isLast=true] #line_number_area {
border-bottom-left-radius: 12px;
font-family: "<setting:font_name>";
font-size: <setting:font_size>px;
}
#code_area {
background-color: transparent;
color: <color:code/snippet/syntax/normal>;
background-color: <color:code/snippet/background>;
color: <color:code/snippet/syntax/text>;
selection-color: <color:code/snippet/selection/text>;
selection-background-color: <color:code/snippet/selection/background>;
}
#code_file #maximize_button, #code_file #snippet_button, #code_file #minimize_button {
#title_bar #expand_button, #title_bar_single #expand_button {
background: transparent;
border: none;
margin: 3px;
max-height: 16px;
max-width: 16px;
margin-left: 8px;
margin-right: 0px;
}
#title_bar #file_button, #title_bar_single #file_button {
background: transparent;
border: none;
margin: 3px;
max-height: 16px;
max-width: 16px;
}
#code_file #maximize_button {
border-image: url(data/gui/code_view/images/maximize_inactive.png);
#title_bar #file_button:enabled, #title_bar_single #file_button:enabled {
border-image: url(<setting:gui_path>code_view/images/button_background.png);
}
#code_file #maximize_button:enabled {
border-image: url(data/gui/code_view/images/maximize_active.png);
}
#code_file #snippet_button {
border-image: url(data/gui/code_view/images/snippet_inactive.png);
}
#code_file #snippet_button:enabled {
border-image: url(data/gui/code_view/images/snippet_active.png);
}
#code_file #minimize_button {
border-image: url(data/gui/code_view/images/minimize_inactive.png);
}
#code_file #minimize_button:enabled {
border-image: url(data/gui/code_view/images/minimize_active.png);
}
QToolTip {
background-color: <color:tool_tip/background>;
color: <color:tool_tip/text>;
font-size: <setting:font_size>pt;
#last_scroll_bar {
background-color: <color:code/snippet/background>;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 939 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 578 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 562 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 922 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 536 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 541 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 618 B

@@ -0,0 +1,58 @@
* {
color: <color:custom_trail/text>;
}
#panelA {
background: <color:custom_trail/background>;
}
#panelB, #panelB2 {
background: <color:custom_trail/alt_background>;
border-top: 1px solid <color:custom_trail/separator>;
border-bottom: 1px solid <color:custom_trail/separator>;
}
#panelB2 {
border-bottom: none
}
#search_box_container {
border-color: <color:custom_trail/separator>;
border-radius: 8px;
border-width: 1px;
}
#search_box_container:disabled {
background: <color:custom_trail/background_disabled>;
border-color: <color:custom_trail/background_disabled>;
}
#search_box:disabled {
color: <color:custom_trail/text_disabled>;
}
#button, #button_small {
background: <color:custom_trail/button/default/background>;
border: 1px solid <color:custom_trail/button/default/border>;
border-radius: 8px;
color: <color:custom_trail/button/default/text>;
padding: 3px 8px 2px;
font-size: <setting:font_size+1>px;
min-width: 5em;
}
#button_small {
border-radius: 6px;
font-size: <setting:font_size-1>px;
min-width: 4em;
}
#button:hover, #button_small:hover {
background: <color:custom_trail/button/hover/background>;
border-color: <color:custom_trail/button/hover/border>;
color: <color:custom_trail/button/hover/text>;
}
#error {
color: red;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

+107 -4
View File
@@ -1,9 +1,112 @@
QGraphicsView, QGraphicsScene {
background-color: <color:graph/background>;
border: none;
}
QToolTip {
background-color: <color:tool_tip/background>;
color: <color:tool_tip/text>;
font-size: <setting:font_size>pt;
QPushButton {
background: <color:search/button/normal>;
border: none;
color: <color:search/button/icon>;
border-radius: 5px;
}
QPushButton:disabled {
background: <color:search/button/disabled>;
}
QPushButton:hover, QPushButton:checked {
background: <color:search/button/hover>;
}
QPushButton:pressed {
background: <color:search/button/press>;
}
#focus_indicator {
background: <color:window/focus>;
}
#expand_button {
max-width: 26px;
max-height: 26px;
border-radius: 9px;
}
#collapse_button {
border-radius: 0;
border-top-left-radius: 7px;
border-top-right-radius: 7px;
}
#trail_button {
border-radius: 0;
}
#depth_label {
background: <color:search/button/normal>;
color: <color:search/button/icon>;
}
#depth_label:disabled {
background: <color:search/button/disabled>;
color: <color:search/button/icon_disabled>;
}
#depth_slider {
background: <color:search/button/normal>;
padding-bottom: 5px;
border-bottom-left-radius: 7px;
border-bottom-right-radius: 7px;
}
#depth_slider:disabled {
background: <color:search/button/disabled>;
}
#depth_slider::groove {
margin: 5px;
width: 2px;
}
#depth_slider::handle {
height: 10px;
margin: 0px -4px;
border-radius: 5px;
}
#depth_slider::handle:hover {
height: 12px;
margin: 0px -5px;
border-radius: 6px;
}
#depth_slider::groove, #depth_slider::handle {
background: <color:search/button/icon>;
}
#depth_slider::groove:disabled, #depth_slider::handle:disabled {
background: <color:search/button/icon_disabled>;
}
#group_left_button {
border-radius: 0;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
max-width: 26px;
max-height: 26px;
padding-left: 2px;
}
#group_right_button {
border-radius: 0;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
max-width: 26px;
max-height: 26px;
padding-right: 2px;
}
#legend_button
{
border-radius: 9px;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 760 B

After

Width:  |  Height:  |  Size: 986 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 748 B

After

Width:  |  Height:  |  Size: 909 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 646 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 584 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 436 B

After

Width:  |  Height:  |  Size: 478 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1009 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 957 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 926 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 803 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 656 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 697 B

After

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 718 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 886 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 546 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 684 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 805 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 881 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 B

Some files were not shown because too many files have changed in this diff Show More