Commit Graph

331 Commits (03949e0c19e8bed48e461eae05238cd158c500e2)

Author SHA1 Message Date
Roman Iuvshyn a694c4f971
RELEASE: Set next development version (#12596) 2019-02-06 18:22:35 +02:00
Masaki Muranaka 9f5a7980c7 Fix resource leaks. (#12407)
Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
2019-01-29 13:02:59 +02:00
Vladyslav Zhukovskyi 67dc2e1b54
Check for additional file events in watch event poll (#12384)
### What does this PR do?
This changes proposal adds fix for the problem related to sequential handling file watcher events. The problem is in mechanism of receiving events: https://github.com/eclipse/che/blob/master/wsagent/che-core-api-project/src/main/java/org/eclipse/che/api/watcher/server/impl/FileWatcherService.java#L272. We try to get events and continue work with them but we don't check that in this moment we can receive additional events.

Use case to reproduce such problem: use git repository with the following structure:
```
.
├── dir
│   ├── file1
│   ├── file2
│   └── file3
└── other.file
```
clone this repo into che and make outside operation to make the following structure:
```
.
├── dir
└── other.file
```
file watcher detects changes and we call https://github.com/eclipse/che/blob/master/wsagent/che-core-api-project/src/main/java/org/eclipse/che/api/watcher/server/impl/FileWatcherService.java#L272 we receive two events about delete `file1` and `dir`, but in a moment we receive rest two events that is not handled for `file2` and `file3`.

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>

### What issues does this PR fix or reference?
#11648 
<!-- #### Changelog -->
<!-- The changelog will be pulled from the PR's title. 
     Please provide a clear and meaningful title to the PR and don't include issue number -->


#### Release Notes
<!-- markdown to be included in marketing announcement - N/A for bugs -->
N/A


#### Docs PR
<!-- Please add a matching PR to [the docs repo](https://github.com/eclipse/che-docs) and link that PR to this issue.
Both will be merged at the same time. -->
N/A
2019-01-24 11:25:46 +02:00
Thomas Mäder 6a73689cfc
Send project events on rename (#12365)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2019-01-17 13:39:52 +01:00
Thomas Mäder e4055918de
Detect Simple Java Projects on Import (#12041)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2019-01-16 14:58:44 +01:00
Roman Iuvshyn 4ad10f2218
RELEASE: Set next development version (#12441) 2019-01-16 11:51:02 +02:00
Roman Iuvshyn b872b317cb
RELEASE: Set next development version (#12277) 2018-12-26 13:04:51 +02:00
Mykhailo Kuznietsov b7e1918e32
Upgrade dependencies (#11944) 2018-12-11 11:34:48 +02:00
Roman Iuvshyn 45490d2a3b
RELEASE: Set next development version (#12115) 2018-12-05 18:33:02 +02:00
Roman Iuvshyn 99afaef87f
RELEASE: Set next development version (#11930) 2018-11-14 12:29:03 +02:00
Roman Iuvshyn 365d25f275
RELEASE: Set next development version (#11710) 2018-10-24 16:38:03 +03:00
Dmytro Kulieshov f386744d3d
Fix of FileWatcherByPathMatcher to properly watch existing files (#11510)
Signed-off-by: Dmytro Kulieshov <dkuliesh@redhat.com>
2018-10-18 17:17:48 +03:00
Anatoliy Bazko 2fb7654f89 Fix selenium tests in factory package (#10921)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko f430b48cd1 Update project config when event is fired (#10677)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko d6160cbe86 Merging master
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder aff8427a28 Send and handle ProjectCreatedEvent (#10363)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder bdf9fa5a9c Fixups after rebase
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko 59b014a26b Fix after rebasing
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Igor Vinokur 2b60506d7a CHE-8466: Adapt selenium tests for using JDT LS (#8521)
Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder c68ec14404 6682 Use jdt.ls for Usages
Use jdt.ls for usages

Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Valeriy Svydenko 97b232e9ec Synchronize already existed plain java projects with jdt.ls (#8209)
Signed-off-by: Valeriy Svydenko <vsvydenk@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko 97d1b951cb Set license header (#8268)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko d636a907d0 CHE-8049: Update simple java project when jdt.ls is ready (#8198)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko 6913323a42 CHE-7836: Update Che JDT-LS workspace on project creation/deletion
(#7977)

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Sergii Kabashniuk 4d78766f08
Add index in thread names (#11608) 2018-10-13 14:28:15 +03:00
Sergii Kabashniuk 65bd65e23b Upgrade to new dependency mockito-testng (#10647) 2018-10-10 13:58:33 +03:00
Roman Iuvshyn 63b389c2fe
RELEASE: Set next development version (#11434)
* RELEASE: Set next development version
2018-10-04 18:25:39 +03:00
Vladyslav Zhukovskyi 0ec95375e0
Do not recognize file in workspace root as project (#11264)
* Do not recognize file in workspace root as project

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>

* Fix format issue

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
2018-09-19 16:20:25 +03:00
Roman Iuvshyn ea410c3340
RELEASE: Set next development version (#11169) 2018-09-12 11:53:42 +03:00
Vitalii Parfonov b31b13dc6b
Fix override and skip root behaviors (#11002)
* Fix override and skip root behaviors

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2018-08-31 16:05:19 +03:00
Roman Iuvshyn d99b2ed73d
RELEASE: Set next development version (#10867)
* RELEASE: Set next development version
2018-08-22 12:06:38 +03:00
Igor Vinokur 349cbe094d
CHE-10360: Hide the 'From Archetype' field if parent folder with pom.xml is selected (#10718)
Hide the 'From Archetype' input field in the Maven project type wizard if 'Parent' witch contains pom.xml is selected in the import project Wizard due to the maven archetype generation plugin restrictions.
2018-08-22 09:34:11 +03:00
Mykhailo Kuznietsov dcb00c53d0
Fix remaining files with licenses (#10746) 2018-08-21 10:25:45 +03:00
Victor V. Rubezhny 57c43ac8cd Update fmt plugin to latest to enable skipping check #10554 (#10667)
The files are reformatted in order to suit the requirements of coveo maven fmt plug-in of v.2.5.1

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
2018-08-08 07:20:05 +00:00
Roman Iuvshyn 60da580c92
RELEASE: Set next development version (#10603) 2018-08-02 12:38:48 +03:00
Mykhailo Kuznietsov 07263f1e30
Fix license header text (#10629) 2018-08-02 11:18:04 +03:00
Mykhailo Kuznietsov 15d23edc91
Update license to EPL 2.0 (#10531) 2018-07-31 11:24:36 +03:00
Vladyslav Zhukovskyi dc03019c12 Change debug level from info to debug 2018-07-30 16:29:22 +03:00
Vladyslav Zhukovskyi 849bc5ec89
Add notifier about low disk space (#10503)
* Add notifier about low disk space

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>

* Create locale constants

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>

* Add status bar notification message

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
2018-07-27 16:08:51 +03:00
Roman Nikitenko 183d411b60 Fix exceptions at opening an editor that does not correspond to an existing resource
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
2018-07-27 09:17:46 +02:00
Igor Vinokur 080e17836f
CHE-10286: Switch import rest methods to Json-rpc (#10440) 2018-07-18 12:01:15 +03:00
Roman Iuvshyn 985d368f2d
RELEASE: Set next development version (#10345)
* RELEASE: Set next development version
2018-07-10 15:56:52 +03:00
Dmytro Kulieshov c23c5408bd
Fixed error logging for Go LS when going to definition (#10315)
Signed-off-by: Dmytro Kulieshov <dkuliesh@redhat.com>
2018-07-06 17:41:17 +03:00
Igor Vinokur c469dc8eba
CHE-9052: Fix bug when file was deleted after move (#10218) 2018-07-06 06:43:52 +03:00
Dmytro Kulieshov dae756458e
Fixed absence of internal servers in WorkspaceProjectSynchronizer (#10196)
Signed-off-by: Dmytro Kulieshov <dkuliesh@redhat.com>
2018-07-03 16:03:30 +03:00
Roman Iuvshyn d7e1c73cf8
RELEASE: Set next development version (#10110) 2018-06-19 17:24:50 +03:00
Gennady Azarenkov c3a982ce2f
Make ws agent-master interaction more consistent (#10031)
* Make ws master-agent interactions more consistent

* clean commented

* fix getting projects from workspace
2018-06-16 15:46:57 +03:00
Roman Nikitenko eef609fc8e Delete only child projects from project config registry at removing project
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
2018-06-13 12:13:41 +03:00
Vitalii Parfonov b799f4ca3d
Fire ProjectCreatedEvent on importProject (#9954)
* Fire ProjectCreatedEvent on importProject

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>

* Fire ProjectCreatedEvent on setting project configuration firtsly

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2018-06-12 18:07:38 +03:00
Vitalii Parfonov 0071c55f56
Path provider should return absolute path (#9910)
* Path provider should return absolut path

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>

* Throw exception if root path fro project not absolute

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>

* Add test

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>

* Code cleanup

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>

* Fix path in test

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2018-06-01 19:08:07 +03:00