Commit Graph

1135 Commits

Author SHA1 Message Date
Nikolay Chashnikov
b662dca93f [launcher] use overriden envVarBaseName in product-info.json for custom commands (RDCT-1735)
Since 7ce799261de4c6cd38 the launcher doesn't compute names of the environment variables using 'vmOptionsFilePath' and reads the explicit name instead. So we also need to load the custom env variable base name explicitly for the cases when the frontend process is started from the full IDE.

GitOrigin-RevId: 5bf42471b75a6cde3b9bb40c667a840286988496
2024-10-03 14:41:32 +00:00
Ivan Pashchenko
7ac40165cd GTW-9933 fix crashing when writing to non-working stdout/stderr (e.g. called from the restarter in ssh)
GitOrigin-RevId: 6465bf7c1dfbad4ea215eccf83faf7319ea38e1d
2024-10-02 14:08:59 +00:00
Ivan Pashchenko
504d1c21e7 GTW-9933 do not panic unless there's no way to pipe an error
GitOrigin-RevId: 8a50f529af172a8bbfefdc705afb239f9b6fe4f2
2024-10-02 14:08:59 +00:00
Dmitry Batrak
32488eb589 GTW-8677 Enable debugging of backend IDE process
GitOrigin-RevId: 0de7daed4e1f7c113742fb23b9f6540b724b9f43
2024-09-16 09:53:06 +00:00
Roman Shevchenko
e15d9ae000 [tests] future-proofing launcher test app build script
GitOrigin-RevId: d7a968643e3bda03adc825886226fe896da1241c
2024-09-12 21:02:30 +00:00
Roman Shevchenko
532770bca2 [tests] retrying launcher tests cowardly killed by macOS
GitOrigin-RevId: 8bd3da8f5a3b79321d4ccffb8c2ab55c6c3373ee
2024-09-11 09:25:26 +00:00
Roman Shevchenko
08244e6c15 [tests] improving remote dev launcher test diagnostics
GitOrigin-RevId: 437c45b2711c683578dbab03171760f271b9f3f2
2024-09-11 09:25:26 +00:00
Roman Shevchenko
0ff8dec366 Cleanup (unused function; formatting)
GitOrigin-RevId: 5d2afc92c199f066b2b6891c19eac9ba8e98d4f3
2024-09-10 21:25:30 +00:00
Roman Shevchenko
47027cf16c [build scripts] getting rid of umbrella lib dependencies in Windows launcher (IJPL-160489)
GitOrigin-RevId: 41b6b2c6a2e6ee0ee714f730e21524be72552a56
2024-09-10 21:25:30 +00:00
Nikolay Kuznetsov
779f10cadf RDCT-1114: restart using RemDev launcher if the IDE was started via it
GitOrigin-RevId: 0a0c7a1c12ce8fdfdf9c8344c0cd08a0ad847b67
2024-09-09 17:37:03 +00:00
Nikolay Kuznetsov
fc8443d377 RDCT-1114: consider idea[.exe] serverMode to be remote dev launch mode in native launcher
GitOrigin-RevId: cec3dc7e5d0827677306da1156024ab01fd39de6
2024-09-09 17:37:03 +00:00
Roman Shevchenko
8e41302255 [platform] dropping the old Windows launcher code and binaries (IJPL-442 follow-up)
GitOrigin-RevId: 9975e19dfac914bf2820505c0cca467da8e7525c
2024-09-06 19:46:40 +00:00
Nikolay Chashnikov
d23d55e2a8 [remote dev launcher] unset environment variables set by remote-dev-server launcher when starting processes from the IDE (GTW-9586)
EnvironmentRestorer removes variables from the environment for processes started from the IDE if the corresponding INTELLIJ_ORIGINAL_ENV _ variable is set to empty string. So the native launcher should set empty value for variables set by it like it is done in the old launcher.sh.

GitOrigin-RevId: 1a3b69637f52e5f654a21911155567e042ff20ac
2024-08-28 12:44:42 +00:00
Nikolay Chashnikov
d8b290f19f [xplat launcher tests] diagnostics: print full stdout and stderr if a test in remote_dev_tests.rs fails
GitOrigin-RevId: 0fd4974e94ce9d94e3b4b65200548a08e3aa7732
2024-08-28 12:44:42 +00:00
Roman Shevchenko
c6eb8f1051 Cleanup (rearranging test methods; linter warnings; typos)
GitOrigin-RevId: 2994970f6f993b313638701d5278eb7b96b93ecb
2024-08-23 12:47:02 +00:00
Roman Shevchenko
18e92f38e7 [platform] launcher: supporting IDE_CACHE_DIR macro in VM options (IJPL-160477)
GitOrigin-RevId: 33675c42499b5fbc6ac38d280eef022921fe6354
2024-08-23 12:47:02 +00:00
Roman Shevchenko
549bb83636 [build scripts] updating launcher dependencies
GitOrigin-RevId: 667279463cc25b178f2b2c166284efdf90aabc9a
2024-08-20 19:52:42 +00:00
Roman Shevchenko
d69862576f [platform] reading environment variable base name from product-info.json (IJPL-149633)
GitOrigin-RevId: 7ce799261de4c6cd388fc6c05738ba49b546981b
2024-08-20 19:52:41 +00:00
Roman Shevchenko
7be68c94cc [platform] launcher: ensuring the bundled .vmoptions file is correct, just in case
(follow-up to IJPL-159819)

GitOrigin-RevId: 89a322c108480fb66066a020d5eaf4b0509eef07
2024-08-19 18:03:35 +00:00
Roman Shevchenko
edb1cf29ac [platform] launcher: skipping and flagging corrupted .vmoptions file (IJPL-159819)
GitOrigin-RevId: 27b7eaa2636c02a70a4e818df993b451e89e8c2f
2024-08-07 18:51:43 +00:00
Roman Shevchenko
9e1cb16ee3 [build scripts] adding a default manifest to Windows restarter binary (IJPL-156755)
GitOrigin-RevId: 072efd38d230687a4bae2e8ecbef9606645756ac
2024-07-25 21:31:07 +00:00
Roman Shevchenko
a7c8c9eac1 [platform] restarter: improving the ACP conversion error message (IJPL-156417)
GitOrigin-RevId: 67c8b9f3d6cdae73e113444dff78f8d471d98185
2024-07-25 14:05:55 +00:00
Roman Shevchenko
01fd7632b3 [tests] restarter: enabling vfprintf hook tests on Windows/ARM
(follow-up to 5e12d5d4 "[platform] launcher: updating va_list dependency with a patched version")

GitOrigin-RevId: 19942279077ef95badf4c25eef57335fbc17f96b
2024-07-25 06:40:51 +00:00
Roman Shevchenko
83e3627eb7 [tests] restarter: asserting classpath_test_on_unicode_path either passes or fails with an expected message (IJPL-156417)
GitOrigin-RevId: a349a8198714d2b14f411db651d05f5bedbe4c26
2024-07-25 06:40:51 +00:00
Roman Shevchenko
19fb2d322b [build scripts] refreshing launcher dependencies
GitOrigin-RevId: f28491a644c3b265475c6b4a33c7479bc893a916
2024-07-24 20:13:40 +00:00
Roman Shevchenko
ad86b35d8b [platform] launcher: falling back to ACP on unsupported systems (IJPL-156417)
GitOrigin-RevId: 153a3f0e1eabac43380e0a656c11a44f113c052c
2024-07-24 20:13:40 +00:00
Roman Shevchenko
849e4d90eb Cleanup (formatting)
GitOrigin-RevId: 0ca95f4d4dceed2a804fd28800086ab6ade059c8
2024-07-11 16:41:51 +00:00
Roman Shevchenko
3be8c2b16e [build scripts] updating restarter dependencies
GitOrigin-RevId: 4069a6d2a9451a9f9b3525c16eb35d63a8e0a5fa
2024-07-11 16:41:51 +00:00
Roman Shevchenko
df466fe8b6 [tests] temporarily disabling non-Latin-path launcher tests on Windows/x64
(due to differences in build agents and TC plugin's inability to mute tests properly)

GitOrigin-RevId: d4e809ceddc30323a6d89d68b413b5e3cf3afc5c
2024-07-05 10:20:41 +00:00
Roman Shevchenko
629015ba7c [platform] launcher: updating va_list dependency (supporting Windows/arm64)
GitOrigin-RevId: bc31331cf6c91cecebc82612278c4e218e743927
2024-07-05 09:37:06 +00:00
Roman Shevchenko
7807473103 [platform] launcher: updating Windows dependencies + dropping unused features
GitOrigin-RevId: e11a16040366cf443ea7e3cc9e80f21db76c1c50
2024-07-05 09:37:06 +00:00
Roman Shevchenko
b7595a2285 [platform] launcher: dropping obsolete JRE path ACP compatibility check (IJPL-156417)
GitOrigin-RevId: 08d1c8e8819cb327b522c6d688fbd3e3547b7734
2024-07-05 09:37:06 +00:00
Roman Shevchenko
c082f1364a [tests] temporarily disabling non-Latin-path launcher tests on Windows/x64
(due to differences in build agents and TC plugin's inability to mute tests properly)

GitOrigin-RevId: d75adcf91a656f969edbf110b7dcb2ac9f4aaffc
2024-07-04 05:15:39 +00:00
Roman Shevchenko
1819b3c407 [build scripts] refreshing launcher dependencies
GitOrigin-RevId: fcb7428b3434fda40ad6b51e5694f5b8615b2b24
2024-07-04 05:15:39 +00:00
Roman Shevchenko
94471a23f8 [platform] launcher: updating va_list dependency with a patched version (supporting Windows/arm64)
GitOrigin-RevId: 5e12d5d4bcb0eb819c4ba4d2ac9c5f5f78d407f6
2024-07-04 05:15:39 +00:00
Roman Shevchenko
4cb3f4c389 [platform] launcher: making vfprintf hook return a number of processed bytes
..., lest JVM drop incomprehensible "Could not write log" message and shut up

GitOrigin-RevId: cfe19e77c127e9b88e53b7f4ec82e1661bc4c6b1
2024-07-03 14:27:16 +00:00
Roman Shevchenko
e9054668cb [platform] launcher: use UTF-8 as ACP (IJPL-156417)
GitOrigin-RevId: 28d835a0816546aec790542e5cbf1ce99c3554d0
2024-07-03 14:27:16 +00:00
Roman Shevchenko
b38eb484f5 [tests] making launcher VM options closer to reality
GitOrigin-RevId: 72dd1b2d3688cef7dcd788782f502dc98b6540b0
2024-07-03 14:27:16 +00:00
Roman Shevchenko
5923f1ea5a [tests] making launcher test app layout on Windows closer to reality
GitOrigin-RevId: 057e4d4e90736135532328b686d84c018ec279f4
2024-07-02 14:28:41 +00:00
Roman Shevchenko
1f3b7672a4 Cleanup (minor optimization)
GitOrigin-RevId: be753b94c881617bbdeaafe2df72e66a89ef203c
2024-07-02 14:28:41 +00:00
Roman Shevchenko
2b7ec923f5 [platform] launcher: looking for RAM percentage when filtering VM options (IJPL-157077)
GitOrigin-RevId: f081f4c5e7fc13603a1ccab736ab061d4f7fa605
2024-06-26 14:04:12 +00:00
Dmitry Batrak
0b0fe86bfc GTW-4830 Better JCEF support
Remove code related to running JCEF on backend side

GitOrigin-RevId: 87029e2d347e0c85b7d382bfc857f7e5985fb5c4
2024-06-26 13:33:18 +00:00
Roman Shevchenko
1d2d8750a0 [platform] launcher: DLL search path tuning is needed for JCEF, too (IJPL-157118)
GitOrigin-RevId: db36a43e30345d97b2d79a73ecf7edfd8716d8d5
2024-06-24 08:16:47 +00:00
Roman Shevchenko
6c5874feea [platform] launcher: making console attaching problems non-fatal
GitOrigin-RevId: b991b376565ec30a4dde14984c8c7044dd8af6b0
2024-06-18 14:17:46 +00:00
Roman Shevchenko
2a9d94c3e5 [platform] launcher: amending a DLL search path instead of changing the current working directory
GitOrigin-RevId: 6ee652a5495fd52cda81c9e7283c762f50b98e4d
2024-06-18 14:17:46 +00:00
Roman Shevchenko
5f5e2c57b8 [platform] launcher: stripping Windows namespace prefix from the current working directory
GitOrigin-RevId: 984a8ea61c9ea5ab055f4f795331da7595bc15f5
2024-06-18 14:17:46 +00:00
Roman Shevchenko
ed04d771a9 [build scripts] refreshing launcher dependencies
GitOrigin-RevId: e1f7441e16544769653a67a74ec6862fd1aabf19
2024-06-11 12:35:59 +00:00
Roman Shevchenko
cda43b70ca [platform] launcher: limiting the number of allocation arenas only on Linux/glibc (JBR-1837)
GitOrigin-RevId: 27ef8550d77248e9db3dcce35778cbfdba33fa44
2024-06-11 12:35:59 +00:00
Ivan Pashchenko
4e011d9fc8 RDCT-1395: do not provide default remote dev -Xmx if it's already set
GitOrigin-RevId: e1e56cdabce53a147d28d1414c981e380c1393fc
2024-05-28 16:00:31 +00:00
Roman Shevchenko
4b8ef16614 [platform] launcher: reporting the whole command via "sun.java.command" property (not just main class)
GitOrigin-RevId: 410a9e3a858ce47ef1b5e6e23ffe03182838a377
2024-05-23 19:33:30 +00:00