Commit Graph

479 Commits (7eb4dbbd9d94827faab864174ba69bc403f71bee)

Author SHA1 Message Date
Igor Vinokur 7eb4dbbd9d CHE-1474: Add update event on close git compare
When user opens git compare window on modified or new file and makes
some changes in this window, the changes will not be updated in opened
file editor.
Update even solves this problem.
2016-07-13 16:50:37 +03:00
Valeriy Svydenko 7a41e98599 CHE-1486: fix problem with 'open declaration' action 2016-07-12 20:09:19 +03:00
Valeriy Svydenko e3aa4ebb36 CHE-1453: change text selection cover 2016-07-12 13:12:30 +03:00
Alexander Garagatyi 7af41c8221 Merge pull request #1712 from eclipse/refactorDockerInstanceProvider
Add improvements in docker machine creation code
2016-07-12 11:40:46 +03:00
Vladyslav Zhukovskii e5b98d2bbe CHE-1459: Fix file duplication after refactoring rename
Signed-off-by: Vladyslav Zhukovskii <vzhukovskii@codenvy.com>
2016-07-12 11:18:05 +03:00
Alexander Garagatyi a7e9aeaadd Add improvements in docker machine creation code
Simplify and cleanup DockerInstanceProvider class.
Cleanup the code.

Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-12 10:29:37 +03:00
Valeriy Svydenko d9ccd8cb77 CHE-1419: add ability to run simple java project which has several source folders
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
2016-07-11 17:31:51 +03:00
Igor Vinokur c6b3c7f6aa Fix bug when codenvy/ubuntu_jdk8 image is removed
When we creating machine not from recipe, but from local image,
the image will be removed after machine is created. So if user
creates a machine from codenvy/ubuntu_jdk8 image, the image will be
removed.
In the step of creating a snapshot from machine I have added a special
prefix to image repository to mark this image as snapshot.
In the step of creating machine (recovering from snapshot) I have
added two checks:
do not pull if image is a local snapshot;
remove source image only if the image is a snapshot from registry.
2016-07-11 13:05:47 +03:00
Valeriy Svydenko 85c736ed62 CHE-1444: fix problems with updating classpath
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
2016-07-08 22:15:34 +03:00
Vladyslav Zhukovskii 5a77df2426 CHE-1475: Allow open classpath configuration anywhere inside java project 2016-07-08 18:35:28 +03:00
Vladyslav Zhukovskii 1b33434ad9 CHE-1475: Append projects root path 2016-07-08 15:38:08 +03:00
Vladyslav Zhukovskyi 075bb8dd18 Merge pull request #1690 from eclipse/CHE-1448
Fix cyclic request sending and possible NPE
2016-07-08 14:30:14 +03:00
Vladyslav Zhukovskii 400b11e0a6 Provide correct project path
Now `CurrentProjectPathProvider` provides correct project path based on selected resource in application context.
2016-07-08 14:04:29 +03:00
Vladyslav Zhukovskii 39dc621da5 Fix cyclic request sending and possible NPE
`NewFolderAction` - added dialog showing if any error occurred.
`ProjectExplorerPresenter` - fix disappearing maven module after project reconfiguring.
`RevealNodesPersistenceComponent` - reduce count of files which stores into user preference.
`TreeResourceRevealer` - add ability to select node after reveal operation.
`InMemoryResourceStore` - checking resource only by ones prefix path.
`NodeLoader` - revert last changes, because they are redundant.
`NewPackageAction` - prevent potential NPE.
`ProjectClasspathAction` - prevent potential NPE.
`MoveAction` - prevent potential NPE.
`RenameRefactoringAction` - prevent potential NPE.
`GetEffectivePomAction` - prevent potential NPE.
2016-07-08 13:53:14 +03:00
Roman Iuvshin 99c48dd484 CODENVY-733: add possibility to set JAVA_OPTS for dev machines (#1685) 2016-07-08 13:18:47 +03:00
Roman Nikitenko a78c8c7cde Add IDs for consoles button
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-07-08 10:08:16 +03:00
Aleksandr Andrienko 2045b9c20a CHE-920: CHE-920: Fix activation breakpoints inside nested java classes.
Add possibility to find fqn for nested classes inside outer classes with help JDT and use found fqns to activate breakpoints inside nested classes for the java debugger.

Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2016-07-06 19:50:03 +03:00
Roman Iuvshin b385746d84 add missing dependency (#1674) 2016-07-06 16:15:26 +03:00
Vladyslav Zhukovskyi 3379aa7f6f Merge pull request #1673 from eclipse/CHE-1446
Allow to configure classpath for the plain java projects
2016-07-06 15:52:14 +03:00
Vladyslav Zhukovskii 83fe1acbc8 Allow to configure classpath for the plain java projects
After project import project was not appeared in application context and project configuration wizard didn't know everything about imported project, so that's why select source folder wizard wasn't able to be shown. This PR fix this situation, so that wizard is available in anytime.
2016-07-06 15:49:45 +03:00
Roman Nikitenko 6c1c543ac6 CHE-1210. Block content assist until project is resolved
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-07-06 15:37:43 +03:00
Aleksandr Andrienko ab1b912163 Merge pull request #1669 from eclipse/CHE-1450
CHE-1450: Fix render download source link for generated source jar files which opened by debugger.
2016-07-06 15:08:46 +03:00
Roman Nikitenko 1aaa37ef74 CHE-1292. Add ability to divide Consoles area vertically and horizontally
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-07-06 15:04:02 +03:00
Aleksandr Andrienko 39285a15a7 CHE-1450: Fix render download source link for generated source jar files which opened by debugger.
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2016-07-06 15:02:29 +03:00
Alexander Garagatyi 0e1d87785d Fix docker client on some systems (#1663)
Fix DockerConnector to avoid failing tests on some systems.
Use Future to prevent undefined order of thread execution.
Also change some exception message.
Also cleanup some tests.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-06 11:49:32 +03:00
Alexander Garagatyi e0888f697e Fix arrays hashcode evaluation (#1670)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-06 11:10:14 +03:00
Alexander Garagatyi e9dbf0f341 Fix docker system info model class. (#1662)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-06 10:20:48 +03:00
Vitalii Parfonov 6d84934f69 CHE-1416: don't activate consoles part in case factory (#1664)
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-07-05 21:27:49 +03:00
Vitaliy Guliy 83fafe7913 Improve cursor color for vi mode
Signed-off-by: Vitaliy Guliy <vguliy@codenvy.com>
2016-07-05 17:16:31 +03:00
Vladyslav Zhukovskii d65cd9bd65 Avoid getting possible null pointer exception. 2016-07-05 16:27:57 +03:00
Vitalii Parfonov 696ccfdf8f CHE-1416:Show terminal to the dev machine only after startig ws-agent (#1647)
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-07-05 15:41:54 +03:00
Yevhenii Voevodin d1aa2cfed7 User structural refactoring 2016-07-05 11:27:58 +03:00
Vladyslav Zhukovskyi 5e0aa31691 Merge pull request #1645 from eclipse/revealJavaFile
Reveal new java source file
2016-07-05 11:24:53 +03:00
Vladyslav Zhukovskii fa29c3cf2b Reveal new java source file
After new java source file creation the last ones will be revealed in project tree. A part of CHE-907.
2016-07-05 11:11:55 +03:00
Aleksandr Andrienko 17612193a0 CHE-1353: Add possibility to configure specific docker api version.
Add possibility to configure api version by che.properties. Set minimum default docker api version 1.20.

Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2016-07-05 11:08:45 +03:00
Eugene Ivantsov a221b001c8 Merge pull request #1641 from eclipse/DOC-375
Add readme to plugins
2016-07-05 08:17:25 +03:00
Vladyslav Zhukovskyi d0277066ac Merge pull request #1383 from eclipse/projectManager
Resource management
2016-07-04 16:17:57 +03:00
Eugene Ivantsov 77a1c3f8a7 Add readme to plugins
Signed-off-by: Eugene Ivantsov <eivantsov@codenvy.com>
2016-07-04 14:17:24 +03:00
Alexander Garagatyi e36a13858e CHE-1365: code cleanup
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-04 13:09:25 +03:00
Alexander Garagatyi a0820fb81d CHE-1365: add possibility to provide remote docker build context
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-04 13:09:25 +03:00
Alexander Garagatyi d666fbda27 CHE-1365: remove deprecated methods from docker client
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-04 13:09:25 +03:00
Alexander Garagatyi bacdc0a4fc CHE-1365: add docker networking API
Add networking API to docker client.
Change JSON serialization/deserialization in docker client to
fix incorrect naming policy work of JsonHelper.
Fix entrypoint field in ContainerConfig since it is array of
strings, not single string.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-04 13:09:25 +03:00
Igor Vinokur 539bd823e7 CHE-1403: Fix clone with http url in JGit implementation
JGit does not support HTTP 301 redirects yet, it throws exception when
performing commands with remote using http url instead https.
Native git can do it.
2016-07-04 09:45:00 +03:00
Vladyslav Zhukovskii 001b4b87e8 Resource management
Signed-off-by: Vladyslav Zhukovskii <vzhukovskii@codenvy.com>
2016-07-02 18:15:33 +03:00
Mykola Morhun 7ee4e79db1 add missing license header
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2016-07-02 11:13:39 +03:00
Mykola Morhun 05aeec9045 CHE-277: Put logs of main process of machine to machine logs
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2016-07-02 10:31:44 +03:00
Artem Zatsarynnyi e5a14ba906 CHE-1362: make commands execution less error prone (#1619) 2016-07-01 16:21:27 +03:00
Alexander Garagatyi 8108d6a675 Fix integration test on latest ubuntu (#1623)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-01 12:33:46 +03:00
Mykola Morhun c3c5c24753 CODENVY-606: fix NPE in DockerInstanceStopDetector
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2016-07-01 11:30:12 +03:00
Mario Loriedo 39fa37f0d3 Improvements to set the right API endpoint URL (#1576)
Read env variable CHE_API_ENDPOINT if property machine.docker.che_api.endpoint is not set
Set Che host IP to eth0 default IP when docker0 is not found on linux
Fixing typos

Signed-off-by: Mario Loriedo <mloriedo@redhat.com>
2016-06-30 17:00:48 +03:00