Commit Graph
2524 Commits
Author SHA1 Message Date
Alexey AndronovandEberhard Graether ee2d6662e8 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-12-16 15:53:58 +01:00
Eberhard Gräther 3f88aba025 build: Downgraded Boost to 1.67 (#775) 2019-12-16 15:53:58 +01:00
Song LiandEberhard Graether 2a0aa1875b build: Fix a possible cmake error on macOS (#782) 2019-12-16 15:53:58 +01:00
ale rimoldiandEberhard Graether 7a5948e542 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-12-16 15:53:58 +01:00
Malte LangkabelandEberhard Graether 36e812e30e Add Appveyor based CI (#773)
The CI will build the entire project on Windows (currently without language support) and run all applicable tests.
2019-12-16 15:53:58 +01:00
Eberhard Graether 9b8253f21c ui: Fixed code view cleared in single file mode on ui refresh (#772) 2019-12-16 15:53:58 +01:00
Eberhard Graether e0a7a7c667 logic: Fixed update check url going to wrong subdomain 2019-12-16 15:53:58 +01:00
Iru Cai (vimacs)andEberhard Graether 6ee49ab434 build: Add a default version if not in git (#765)
This fixes building with the tarball source.
2019-12-16 15:53:58 +01:00
Michael VetterandEberhard Graether 8c589502d8 src: getNodeStyle() always return a value (#767)
Regards #758
2019-12-16 15:53:58 +01:00
Michael VetterandEberhard Graether 5185b8de44 src: getRefreshInfo() always return a value (#768)
Regards #758
2019-12-16 15:53:58 +01:00
mlangkabelandEberhard Graether 72ff668f44 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-12-16 15:53:57 +01:00
mlangkabelandEberhard Graether 729d297f45 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-12-16 15:53:57 +01:00
Benjamin TandEberhard Graether 407997f406 build: Fix lib order (#755) 2019-12-16 15:53:57 +01:00
Michael VetterandEberhard Graether 2e341240ca 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-12-16 15:53:57 +01:00
Michael VetterandEberhard Graether 25bb613124 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-12-16 15:53:57 +01:00
Michael VetterandEberhard Graether a89097a556 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-12-16 15:53:57 +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.4.61
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