Commit Graph

456 Commits

Author SHA1 Message Date
BoykoAlex
984eafc2c0 PT #157668103: Switch to Gson where possible - except Bosh 2018-05-17 16:39:13 -04:00
Kris De Volder
ecc2724822 Fix bug in UriUtil.normalize and add some test cases for it. 2018-05-10 15:15:52 -07:00
BoykoAlex
bf7e0068e0 Make timeout time moderate for live hints tests 2018-05-10 17:29:16 -04:00
BoykoAlex
a88a33a647 Bump up live hints timeout for tests 2018-05-10 17:06:06 -04:00
nsingh
a640a62121 Remove live hover optimisation
Does not work when stopping running apps and having multiple editors
open.
2018-05-10 09:59:42 -07:00
BoykoAlex
0f04a67643 Hovers navigation for theia-spring-boot 2018-05-09 14:31:15 -04:00
nsingh
7f4967d0a6 PT 156688501 - Re-enable live hover optimisation
Live hovers are not published by the server if there are no running apps
in two consecutive update operations in the live hover watchdog. Also
fixed test cases that test no running apps.
2018-05-07 13:58:55 -07:00
BoykoAlex
a6d5e3c64f PT #157196600: Sys libs jandex index located at ~/.sts4-jandex/ 2018-05-04 10:23:16 -04:00
BoykoAlex
e3301506a4 Fix unit test 2018-05-02 19:41:30 -04:00
Kris De Volder
fd67adaf40 More info log for JandexIndex lifecycle changes 2018-05-02 11:37:49 -07:00
Kris De Volder
981a1da5dc Add some info logs when JandexIndex is being (re-)built 2018-05-02 10:13:50 -07:00
nsingh
3a8fac4ce1 Don't serialise nulls in Gson in SpringBootApps 2018-05-02 05:33:51 -04:00
Kris De Volder
9629b2f65b Increase highlights timeout in test harness
To see if it helps with test failing in CI build.
2018-04-30 13:05:32 -07:00
Kris De Volder
8bda4e87ce Fix compile errors 2018-04-30 12:10:26 -07:00
Kris De Volder
8d87eeb398 Cleanup: remove some obsolete code 2018-04-30 12:00:59 -07:00
Kris De Volder
b21a506f6c Fix NPE causing test failures 2018-04-30 11:58:48 -07:00
Kris De Volder
e5f9366813 Merge branch 'master' of github.com:spring-projects/sts4 2018-04-30 11:24:26 -07:00
Kris De Volder
16a56a5fdc Refactor, fix and simplify classpath infrastructure 2018-04-30 10:10:56 -07:00
Martin Lippert
7e66bd24ce refactored spring indexer to use executor service and react to project events instead of scanning workspace roots every time 2018-04-30 12:31:34 +02:00
Kris De Volder
90408661a1 Remove obsolete project with classpath file support 2018-04-24 13:55:31 -07:00
Kris De Volder
af9d5f1892 Merge branch 'master' of github.com:spring-projects/sts4 2018-04-24 11:56:30 -07:00
Kris De Volder
d72d4b7bc8 Implement getSourceFolders in JdtLsClasspath
Also various refactoring and bug fixing
2018-04-24 11:56:05 -07:00
nsingh
76b35ab76d For efficient way to determine actuator domain from JMX 2018-04-24 15:09:37 +02:00
nsingh
ba58b946f3 Use org.slf4j.Logger 2018-04-24 13:44:32 +02:00
nsingh
e02c7e4a1e Ensure jmx connector is closed after getting domain 2018-04-24 13:36:08 +02:00
nsingh
65667f4264 PT 156072399 - Refactor to support additional JMX MBean domains 2018-04-24 13:31:03 +02:00
nsingh
2a23727bb8 Replace Jackson ObjectMapper with Gson in SpringBootApp 2018-04-24 12:52:12 +02:00
Kris De Volder
18c22edb2d Remove unused code 2018-04-20 15:44:34 -07:00
Kris De Volder
052242d46c No getDocumentation().getLeft() directly in test code 2018-04-19 13:59:36 -07:00
Kris De Volder
5fb9606ac4 Fix failing test cases 2018-04-19 10:38:55 -07:00
nsingh
a90d6c754d Fixed compilation errors due to LSP4J changes 2018-04-19 16:29:52 +02:00
nsingh
aba562402e Fixed compilation errors due to Hover API changes 2018-04-17 14:43:41 +02:00
Kris De Volder
6f2b8be802 Split jdt ls extension into two parts
One pugin to contain the bulk of the code, which is independent of jdt.ls, lsp4e and lsp4j.
Second plugin to contain the jdt.ls specific DelegateCommandHandler implementation.

This should allow us to somehow re-use the bulk of the code in STS4 eclipse, i.e. when
we have access to JDT from eclipse directly, and there is no jdt.ls process around.
2018-04-16 14:24:42 -07:00
Kris De Volder
704fdaa21d Reduce verbosity of 'change even with wrong verson' warning. 2018-04-11 16:38:48 -07:00
nsingh
9a41fe266a Added junit to test actual CF client in LS using LS target cache 2018-04-06 06:02:46 -07:00
nsingh
a059716595 Renamed Json params provider to CF targets info provider 2018-04-06 03:52:03 -07:00
nsingh
c48c206985 Minor refactoring of params provider constructor 2018-04-06 03:43:16 -07:00
nsingh
f8f267e69d PT 156111958 - Replace map with CfTargetInfo type
CfTargetInfo is used for integration with external CF tools like boot
dash.
2018-04-06 00:55:38 -07:00
BoykoAlex
d57b4745dd PT #155293325: Adopt Boot 2 mappings bean new JSON data 2018-04-05 19:57:39 -04:00
Kris De Volder
23df3f3ae4 Udpate cf-java client to 3.8.0.RELEASE 2018-04-05 12:07:59 -07:00
Kris De Volder
54a2bb9d47 Fix bug in JdtLsProejctCache table lookup 2018-03-27 12:56:49 -07:00
Kris De Volder
57fa91fe5c Fix a bunch of race conditions in SpringIndexer and its tests 2018-03-27 11:39:24 -07:00
Kris De Volder
0c70f4200e Fix race condition in SpringIndexer initialization 2018-03-26 17:05:35 -07:00
Kris De Volder
3d9752cbdb Proper 'async' support for JdtLs fallback 2018-03-26 15:33:47 -07:00
Kris De Volder
13633746cb Ensure fallbacks kick in JDT LS
When either JDT LS is too old, or
not available... then disbabled the JdtLsProjectCache so that maven / gradle will be used instead.
2018-03-26 14:51:36 -07:00
Kris De Volder
a8707545a3 Fix failing test 2018-03-22 12:09:33 -07:00
Kris De Volder
94151f8908 Fix race condition in test.
Make onInitialized mechanism in SimpleLanguageServer more 'robust' w.r.t. to
subtle timing issues.

The intention of onInitalize is typically to guarantee some initialization code.
Therefore it should also be called even if the 'initialized' even is already past.
2018-03-22 11:45:39 -07:00
Kris De Volder
c2a4ea6286 Merge branch 'master' into jdt-classpath 2018-03-21 14:36:02 -07:00
Kris De Volder
7482c26ccb Trying to improve the 'cleanup' of classpath listeners 2018-03-20 17:23:35 -07:00
Kris De Volder
9be6fd9601 Bump version to 0.2.1 2018-03-19 19:08:28 +00:00