Commit Graph

47 Commits (ef9eeb8ed16020d27c8d826fb36dbbb69ef09630)

Author SHA1 Message Date
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 ab6284519f
Refactored Window class (#8374)
* Refactored Window class

- Clean up the interface of Window class;
- Move GWT specific functionality to bridge (CompositeWindowView) which is responsible only for construct window object on the view;
- Better handling key press events on the windows;
- Adopted Window implementations to use new interface of Window class;
- Move utility methods such as detecting whether widget is in focus to DomUtils utility class.

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

* Fix formatting issue

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

* Merge branch 'master' into che#7200

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

# Conflicts:
#	ide/che-core-ide-app/src/main/java/org/eclipse/che/ide/factory/json/ImportFromConfigViewImpl.java
#	ide/che-core-ide-app/src/main/java/org/eclipse/che/ide/resources/selector/SelectPathViewImpl.java
#	ide/che-core-ide-app/src/main/java/org/eclipse/che/ide/upload/file/UploadFileViewImpl.java
#	ide/che-core-ide-app/src/main/java/org/eclipse/che/ide/upload/folder/UploadFolderFromZipViewImpl.java
#	ide/che-core-ide-ui/src/main/resources/org/eclipse/che/ide/ui/window/CompositeWindowView.css
#	plugins/plugin-git/che-plugin-git-ext-git/src/main/java/org/eclipse/che/ide/ext/git/client/checkout/CheckoutReferenceViewImpl.java
#	plugins/plugin-git/che-plugin-git-ext-git/src/main/java/org/eclipse/che/ide/ext/git/client/compare/CompareViewImpl.java
#	plugins/plugin-git/che-plugin-git-ext-git/src/main/java/org/eclipse/che/ide/ext/git/client/fetch/FetchViewImpl.java
#	plugins/plugin-git/che-plugin-git-ext-git/src/main/java/org/eclipse/che/ide/ext/git/client/history/HistoryViewImpl.java
#	plugins/plugin-git/che-plugin-git-ext-git/src/main/java/org/eclipse/che/ide/ext/git/client/merge/MergeViewImpl.java
#	plugins/plugin-git/che-plugin-git-ext-git/src/main/java/org/eclipse/che/ide/ext/git/client/pull/PullViewImpl.java
#	plugins/plugin-git/che-plugin-git-ext-git/src/main/java/org/eclipse/che/ide/ext/git/client/push/PushToRemoteViewImpl.java
#	plugins/plugin-git/che-plugin-git-ext-git/src/main/java/org/eclipse/che/ide/ext/git/client/remote/RemoteViewImpl.java
#	plugins/plugin-git/che-plugin-git-ext-git/src/main/java/org/eclipse/che/ide/ext/git/client/reset/commit/ResetToCommitViewImpl.java
#	plugins/plugin-git/che-plugin-git-ext-git/src/main/java/org/eclipse/che/ide/ext/git/client/reset/files/ResetFilesViewImpl.java
#	plugins/plugin-git/che-plugin-git-ext-git/src/main/java/org/eclipse/che/ide/ext/git/client/revert/RevertCommitViewImpl.java
#	plugins/plugin-help/che-plugin-help-ext-client/src/main/java/org/eclipse/che/ide/ext/help/client/about/AboutViewImpl.java

* Fix errors

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

* Code improvements

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

* Rename variable

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

* Fixes

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

* Fix formatting issue

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

* Fix formatting issue

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

* Minor fixes

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

* Minor fixes

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

* Minor fixes

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

* Fix npe

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

* Update locators

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

* Minor fixes

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

* Minor fixes

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

* Resolve conflicts

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

* Minor fixes

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

* Minor fixes

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

* Minor fixes

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

* Minor fixes

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

* Adopting the code after merge

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

* Minor fixes

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

* Minor fixes

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

* Minor fixes

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

* Minor fixes

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

* Fix test

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

* Fix formatting

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

* Remove commented code

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

* Used corrected method

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

* Use single import instead of wildcard

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

* New line

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

* Code refinment

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

* Fix wildcard imports

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
2018-02-12 15:23:28 +02:00
Mykhailo Kuznietsov 2c2bd6637c
Set new year in license headers (#8244) 2018-01-11 16:04:49 +02:00
Anatoliy Bazko 62611aee78
CHE-6846: Suspend breakpoint policy (#7347) 2017-11-16 07:13:43 +00:00
Igor Vinokur d69256ca7b
CHE-6699: Clear debugger panel on workspace stopped (#7298) 2017-11-15 06:53:53 +00:00
Anatoliy Bazko 40ff60038d
CHE-6845: Disable breakpoints (#7204) 2017-11-07 09:32:08 +00:00
Anatoliy Bazko 0e4ffb7f87
CHE-6547: Run to cursor (#7053)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2017-10-30 06:49:33 +00:00
Anatoliy Bazko c1463d3be9 CHE-6843: Navigate to breakpoint (#6960)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2017-10-25 13:53:53 +00:00
Oleksandr Andriienko e9726221c5 Add debugger watch expressions. (#6950)
Add debugger watch expressions. Use smart tree widget for debugger variables tree. Remove some unused code.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2017-10-25 12:38:01 +00:00
Florent BENOIT 3f262e620e Cleanup some Mockito deprecated usage (che6) (#6864)
* Cleanup some Mockito deprecated usage
org.mockito.Matchers —> org.mockito.ArgumentMatchers
org.mockito.runners.MockitoJUnitRunner —> org.mockito.junit.MockitoJUnitRunner

Change-Id: Icf7351cb58e0f42fa95885c2d2cf6b5e98206c35
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-10-21 09:07:43 +02:00
Anatoliy Bazko d3278187fb CHE-6545: Add condition for breakpoints (#6763) (#6786) 2017-10-18 11:46:00 +00:00
Sergii Kabashniuk e321ab00b1 Merge with master 2017-10-15 14:33:47 +03:00
Florent BENOIT 9581a9bbef Move to mockito 2.10
Some changes are required like
 - anyString() --> nullable(String.class) for many tests as in fact we provide null values
 - add class for VerificationMode as there are more than one method now (can't use lambdas)
 - remove cast on ArgumentMatcher (now we can use lambdas as there is generics)
 - remove unecessary stubbing (mockito is now reporting un-needed stubs)

Change-Id: I69c7ccc86bc85a4401d5e33671229ae0ce560dbb
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-10-15 10:34:15 +02:00
Artem Zatsarynnyi a07ffc3c70 Merge branch 'master' into spi 2017-09-14 15:48:40 +03:00
Anatoliy Bazko 6b76cadf84 Thread dump for java debugger (#5320)
CHE-3708: Thread dump for java debugger
2017-09-13 13:35:28 +03:00
Sergii Kabashniuk 6e9825c699 Used Google Java Codestyle 2017-08-18 17:16:54 +03:00
Sergii Kabashniuk 5b373e6cf5 Used Google Java Codestyle (#5851) 2017-08-18 17:00:58 +03:00
Artem Zatsarynnyi a552e67a76 Merge branch 'master' into spi 2017-08-17 16:40:48 +03:00
Mykhailo Kuznietsov 69d5148385 Changed copyright owner to "Red Hat, Inc." in license headers (#5964)
Change license header contributor to Red Hat, Inc.
2017-08-11 10:46:58 +03:00
Artem Zatsarynnyi dd66566958 IDE API reorganization (#5867) 2017-08-01 18:16:59 +03:00
Artem Zatsarynnyi fdcb210bfb Remove obsolete IDE events (#5751) 2017-07-20 11:46:00 +03:00
Artem Zatsarynnyi fa29ac0f6e Removes EverREST over WebSocket feature from IDE (#5622) 2017-07-12 16:39:25 +03:00
Aleksandr Andrienko 4bcc56436f CHE-5156: Fix ability start new debug session after disconnect from previous session. (#5167)
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2017-05-26 15:16:25 +03:00
Dmitry Kuleshov 3deb16ea97 Unification of JSON RPC codebase (#5005) 2017-05-16 15:03:24 +03:00
Valeriy Svydenko 6403d212c6 CHE-4596: move che-plugin-machine-ext-client to IDE core (#4861) 2017-04-21 14:01:04 +00:00
Valeriy Svydenko 3280700465 CHE-4593: Use JSON RPC for the debugger functionality (#4739) 2017-04-07 13:55:10 +00:00
Mihail Kuznyetsov 0e8b21ad3f Set new license year 2017-01-04 17:10:31 +02:00
Vladyslav Zhukovskyi d15915cf94 Remove deprecated getPath method and use getLocation instead (#3322) 2016-12-09 12:33:45 +02:00
Roman Nikitenko cd25cd7029 CHE-146. Add ability to suspend gdb debugger session and breakpoints for endless loop
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-12-09 12:21:03 +02:00
Artem Zatsarynnyi 2ba8cdfa42 Client command framework improvements (#2730)
Client command framework improvements

1. Introduced contextual commands.
2. Added ${explorer.current.file.parent.path} macro.
3. Cleaned up unused resources.
4. Refactored code in order to simplify it and made it more clear and understandable:

- simplified a way of providing new command types;
- command types api moved to ide-api to avoid unnecessary dependency on machine extension;
- command management extracted from EditCommandsPresenter to the separate facade - CommandManager. So EditCommandsPresenter now doesn't perform several http requests manipulating with commands but only one;
- refactored code related to the obsolete terminology CommandPropertyValueProvider -> Macro;
- macro can provide its description (it will be really useful for showing it in UI);
- macros processing separated from the command execution and extracted to the separate component MacroProcessor since it's used not only for the commands but in debug configurations for example.
2016-10-11 11:35:42 +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
Aleksandr Andrienko 70a4733dad CHE-167: Fix error of loading java classes from another module in time of debugging.
Add possibility find source file from another module or external java project and open it in time of debugging. For realizing it we use JDT on the server side.
Fix opening file in case if we debug inner classes or lyambda.
Fix render debug line for java classes from external jars after click to download source link.
2016-06-23 16:54:43 +03:00
Vladyslav Zhukovskii 8996ed9db1 Move classes related with virtual file to resources package 2016-06-07 15:35:54 +03:00
Anatoliy Bazko da1c913cfc CHE-1196: Artik: Debugger hangs when debugging binaries using Artik SDK (#1418) 2016-06-03 16:49:53 +03:00
Anatoliy Bazko 8414a5a8a5 CHE-1057: GDB Debugger UX Improvements (#1389) 2016-06-01 17:52:39 +03:00
Anatoliy Bazko ed31c538ad CHE-703: Debugger fails to add a breakpoint when client and server aren't on the same host (#1339) 2016-05-24 14:34:11 +03:00
Anatoliy Bazko 00f82b4620 CHE-976: Generify debugge API (#1159) 2016-05-12 13:53:44 +03:00
Vitaly Parfonov 826353e6ab CHE-781:Move all platform-api-client-gwt to the che-core-ide-api module
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-05-12 09:31:10 +03:00
Artem Zatsarynnyi 07d341f4e3 CHE-390: Simplify Editor API (#1197)
* CHE-390: Simplify Editor API by adding abstract EditorProvider

* Remove unused EditorTypeMapping

* Remove obsolete, useless classes

* Remove editor types

* Fix typo in interface name

* Remove EditorAdapter

* Refactor: EmbeddedTextEditorPresenter -> TextEditorPresenter

* Refactor code

* Clean-up

* Remove mime-types

* Refactor JsEditor

* Remove redundatnd dependency

* Rename codenvyDefaultEditor -> cheDefaultEditor
2016-05-06 16:54:34 +03:00
Vitalii Parfonov e7699d3775 Merge pull request #1062 from Wajihulhassan/static_bug
Fixing 'StaticAccessedFromInstance' warnings
2016-04-29 15:46:00 +03:00
Roman Nikitenko 8d63d65d07 CHE-362. Add different display modes for StatusNotification
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-04-28 17:20:46 +03:00
Artem Zatsarynnyi 5bfbb4a75f CHE-1004: Improve experience on Debugger configuration selection 2016-04-20 15:36:21 +03:00
Wajihulhassan 07be269325 fixing StaticAccessedFromInstance error-prone warning
Signed-off-by: Wajih ul hassan <wajih.lums@gmail.com>
2016-04-17 22:41:01 -05:00
Anatoliy Bazko 66173e07f1 CODENVY-257: GDB (#1016) 2016-04-12 13:36:29 +03:00
Artem Zatsarynnyi f8afabd088 CODENVY-281: make it possible to manage debug configurations 2016-04-11 17:08:39 +03:00
Anatoliy Bazko f54229e395 CODENVY-257: Decouple DebuggerPresenter and Java Debugger.
* CODENVY-257: Decouple DebuggerPresenter and Java Debugger

* fixup! CODENVY-257: Decouple DebuggerPresenter and Java Debugger

* fixup! CODENVY-257: Decouple DebuggerPresenter and Java Debugger
2016-04-07 10:20:24 +03:00