Konstantin Nisht
17cf754719
IJ-CR-149809 [ijent] IJPL-161967: Initialize Eel right before Workspace model
...
Since the creation of WSM involves access to project files, we must ensure that Eel is up at this point.
Also fixes IJPL-171263, IJPL-171949, IJPL-172074
(cherry picked from commit 986812336cdbca288deeb5124f51a959182f53a4)
GitOrigin-RevId: c30d7a1673b630bd386e9a42914a3a4f8f6f5f7e
2024-12-05 03:13:59 +00:00
Vladimir Lagunov
994d8c338c
Eel API: rename methods in EelPath: foobarE -> foobar
...
IJ-CR-147046
(cherry picked from commit 38d4ed91bb138a96c999f140c9671b96dac081a0)
GitOrigin-RevId: 26a58200d6f669137019495176576661bf1c01d2
2024-10-21 18:39:12 +00:00
Vladimir Lagunov
12e8ddbcae
Eel API: remove usages of EelPath methods that do not throw exceptions
...
See the previous commit for a rationale of the API change.
IJ-CR-147046
(cherry picked from commit 8bfda4365d77e044680075abad3faaf28a3c0372)
GitOrigin-RevId: c053fc88f31fb08e48384689be5590b4857ac1cd
2024-10-21 18:39:12 +00:00
Konstantin.Nisht
db56bfa706
[ijent] IJPL-162646, IJPL-391: Implement file stores in IJent
...
IJ-CR-147061
(cherry picked from commit 0efc8f11d387895dbb58059a7c3f694e717432e6)
GitOrigin-RevId: 081b1a99ada24342f81f3c4dab4c23afe592a02c
2024-10-21 18:39:12 +00:00
Vladimir Lagunov
3e9b2378ce
IJPL-164220 Implement createTemporaryDirectory in Eel/IJent
...
IJ-CR-146956
(cherry picked from commit 91ccfcb5d58b386c07ff276f83023a87c1f84a1b)
GitOrigin-RevId: 2ed48ad2d1d101713c59640eeb2431e41f813108
2024-10-21 18:39:12 +00:00
Ilya.Kazakevich
c2a06caab3
EelLocalExecApi: Inherit env vars by default.
...
Lackage of `PATH` breaks many tools including python
GitOrigin-RevId: a522f6afaa8f94dc18ae2151833b2f9e69172bc5
2024-10-05 00:27:18 +00:00
Andrii Zinchenko
e577378402
[eel] EelProcessUtils.awaitProcessResult: update documentation
...
GitOrigin-RevId: 9d915135b247bb3b521a92be036c062444bf75b3
2024-09-30 19:25:04 +00:00
Andrii Zinchenko
ad808e267e
[eel] generalize all eel result types into a single EelResult
...
Motivation:
1. Allows removing identical "unwrap" functions for each result type
2. Makes it easier to add helper functions
GitOrigin-RevId: fd05408f6c756b3220120c87c8738df45573b008
2024-09-30 16:40:15 +00:00
Andrii Zinchenko
c796ecc701
[eel] EelFileSystemApi.userHome: add blocking version
...
GitOrigin-RevId: a44471ef62f6f950a4192690b4c9c208996ae1f7
2024-09-30 16:40:15 +00:00
Andrii Zinchenko
350696d61a
[eel] Introduce EelPathMapper
...
- Split EelApi into EelApi and EelApiBase. Ijent should implement EelApiBase because path mapping is not applicable for Ijent. Meanwhile, a `mapper` field has been added to EelApi.
- Added EelApiWithPathsMapping, which is aware about virtual (ephemeral) paths, can normalize arguments for process builder, and perform mapping
GitOrigin-RevId: 2df1f1acb0fac3541996e3b48d430bcb5a0c837b
2024-09-27 14:09:20 +00:00
Vladimir Krivosheev
a9e7930abe
bazel - build lang-impl
...
GitOrigin-RevId: c4c4dce20bd6e4046644f95f6e7b3f437c51668d
2024-09-27 13:47:17 +00:00
Andrii Zinchenko
8032aef848
[eel] EelExecApi.ExecuteProcessResult.unwrap: throw RuntimeException instead of IOException
...
GitOrigin-RevId: d0c62c0da2a93c2d35536c8f9401b983eb647b6f
2024-09-26 19:44:05 +00:00
Andrii Zinchenko
b8d7290f76
[eel] EelProcess.awaitExecutionResult: ExecutionResult -> ProcessOutput
...
- rename to awaitProcessResult
GitOrigin-RevId: 4c520bad6980c17cc59889f45fb13416617e6610
2024-09-26 19:44:05 +00:00
Andrii Zinchenko
10174b3f09
[eel] EelApi.where: function should return EelPath.Absolute
...
GitOrigin-RevId: 37fd2d2174c539434813246c0b6deed078a0be32
2024-09-26 19:44:05 +00:00
Andrii Zinchenko
3a6c75410b
[eel] EelPath: add helper functions
...
GitOrigin-RevId: e7755f3826ed8c6b0fa71279b4a9a55a03fc3925
2024-09-26 19:44:05 +00:00
Andrii Zinchenko
c4edd9488a
[eel] add a blocking version for fetchLoginShellEnvVariables
...
GitOrigin-RevId: 696cfeb9b2a8b23b28c76f9f989986709ec108c1
2024-09-26 19:44:05 +00:00
Andrii Zinchenko
5528897e3d
[eel] EelApi: add EelFileSystemApi
...
GitOrigin-RevId: 4c755eeddd7b7e5ad1a9ab81c0f45cf525223550
2024-09-26 19:44:05 +00:00
Vladimir Lagunov
ce8757e59b
Eel/IJent cleanup: formatting, comments, unused variables
...
GitOrigin-RevId: e971e57f9f80e696e8e81e4aef5adc59ea426047
2024-09-26 15:44:17 +00:00
Vladimir Lagunov
a05c82545b
Eel/IJent: move IjentInfo.User out of IjentInfo into EelUserInfo
...
GitOrigin-RevId: a12bfe39508fcfaa5efacbaff929beb9670bef78
2024-09-26 15:44:17 +00:00
Vladimir Lagunov
93b51b56e9
IjentFileSystemApi => EelFileSystemApi (3 of 3)
...
GitOrigin-RevId: da95fa89d5da5bbcbf7050548e1fcd63dd01c32c
2024-09-26 15:44:17 +00:00
Andrii Zinchenko
283e345fbf
[eel] eelProcessUtils: fix awaitExecutionResult
...
GitOrigin-RevId: dda515a0e193b8a30fd689f1e4bca937b9d2f431
2024-09-25 22:37:25 +00:00
Vladimir Krivosheev
a1210118c0
bazel - fix JPMS, exports and internal
...
GitOrigin-RevId: 3dc80a9ee01e1900c0cebc24b2d08f04f93ddeff
2024-09-25 19:05:37 +00:00
Andrii Zinchenko
311cc92f74
[eel] add eelProcessUtils
...
GitOrigin-RevId: 2c749ae3efa6875a16b737a12f89da8efc46c24f
2024-09-25 18:58:51 +00:00
Andrii Zinchenko
1b84ea64ae
[eel] add blocking getEelApi functions for Project and Path
...
GitOrigin-RevId: 0afe8f8ca6e9fa2aa99447b9ed242e0116c9bac7
2024-09-25 10:08:02 +00:00
Andrii Zinchenko
e88f976b8f
[eel] log error for multiple eel api providers
...
GitOrigin-RevId: dd09cb0475ca0a1017bc45e40c6409c954d66733
2024-09-25 10:08:02 +00:00
Andrii Zinchenko
148958529d
[eel] add utility function to fetch EelApi from com.intellij.openapi.project.Project
...
GitOrigin-RevId: fa37b7bcfedb875447c1c073830b91c42f461ba3
2024-09-24 10:00:52 +00:00
Andrii Zinchenko
53ae8ff4f0
[eel] add LocalEelApiImpl
...
GitOrigin-RevId: 7f76f9a8430e1edf4bdf7a3cfabd804fe4d8423d
2024-09-23 17:54:36 +00:00
Vladimir Krivosheev
4eb9b78b78
use bazel to build platform-impl
...
GitOrigin-RevId: b5bbc75323a08c7674777e512dcfd988ceb4461f
2024-09-22 17:01:28 +00:00
Ilya.Kazakevich
084db24e54
Eel Local process API: support tty.
...
Each process might run under the tty (we use PTY4J under the hood for local processes).
Classic use case is to create a kind of terminal/console and redirect process output there.
GitOrigin-RevId: dbff88da0bd570b9285fdfdf86962806e897d458
2024-09-22 16:20:50 +00:00
Vladimir Krivosheev
834bd75254
run jps-to-bazel by Bazel, compile platform using Bazel
...
GitOrigin-RevId: 3774d5adc404b02036f70b7cc35c9e60fdb5d84c
2024-09-21 00:54:17 +00:00
Ilya Kazakevich
af803fcff5
EEL: Local implementation of EelExecApi (tty isn't ready yet)
...
Co-authored-by: Konstantin Nisht <konstantin.nisht@jetbrains.com >
Merge-request: IJ-MR-144986
Merged-by: Ilya Kazakevich <ilya.kazakevich@jetbrains.com >
GitOrigin-RevId: 631eaf41573f7ae3a0ae337d8a0a88098d3aaf3b
2024-09-20 23:13:40 +00:00
Andrii Zinchenko
0ffa5e48a0
[eel] introduce EelProvider
...
GitOrigin-RevId: 5016deac8fd138d9fb1fb6ab47d4bd7463053de1
2024-09-12 09:59:23 +00:00