Commit Graph
166 Commits
Author SHA1 Message Date
mlangkabel 10ba052ea1 Some fixes
* make qt configuration in CMake more flexible
* move creating of symlinks on windows from post build event to cmake
* create symlinks for test data in cmake on windows
* switch to 7zip for extraction python indexer
* make results of sourcegrouptests case insensitive
2020-02-05 07:20:02 +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
Malte LangkabelandGitHub f6bddec0ec build: add missing dependency to CMakeLists (#905) 2020-02-03 14:36:19 +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 2ab4e2bab9 build: set correct working directory for tests in cmake on Windows (#865) 2019-12-29 23:03:02 +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
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
Eberhard GrätherandGitHub 1558b7215d build: Changes to compile on Debian Buster (#827)
based on #784
2019-12-03 23:59:36 +01:00
Michał JaniszewskiandMalte Langkabel f64019b87f build: use ninja on appveyor (#819) 2019-12-02 13:05:35 +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
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
Malte LangkabelandGitHub 0070431265 update to clang 9 (#799) 2019-11-26 16:21:37 +01:00
Eberhard GrätherandMalte Langkabel cca66470be build: Downgraded Boost to 1.67 (#775) 2019-11-25 17:47:33 +01:00
Song LiandEberhard Gräther afc9e8212c build: Fix a possible cmake error on macOS (#782) 2019-11-22 08:19:09 +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 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 Graether 9b86f0e824 build: Revised macOS bundle generation script and info (issue #730) 2019-11-17 15:49:19 +01:00
mlangkabel 1c300e0240 build: removed usage of environment variables from CMakeLists 2019-11-17 15:32:21 +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
Eberhard Graether c34b17418d build: revised build scripts 2019-11-05 17:00:39 +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 49050e1089 src: replaced unit test framework CxxTest with Catch2 2019-10-29 19:54:16 +01: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
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 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 e2157b8352 data: Fixed indexer crashes in Cinder after Clang update 2019-05-21 17:50:56 +02:00
Eberhard Graether cf45e99505 build: Fixed Clang compilation output not colored on macOS 2019-05-16 19:06:45 +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 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 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 ec0f3bb2ac build: update to boost 1.68 for Windows builds 2018-09-10 17:12:42 +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
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 98f4ec62ec logic: implemented exporting graph as .svg (issue #596) 2018-07-10 14:31:39 +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
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
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 f41c64d3f6 build: restricted generating test_main.cpp in cmake to Windows only 2018-04-03 17:45:06 +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 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 e62fd41e9a build: Fixed wrong lib dependencies of lib_license 2018-02-27 17:12:24 +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 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 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
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
mlangkabel 911c0fabba logic: implemented handling Microsoft inline assembly statements 2018-01-09 18:53:08 +01:00