Commit Graph

574 Commits

Author SHA1 Message Date
Artem Bochkarev
a115c5ba82 IDEA-286810: cleanup menu on close
GitOrigin-RevId: 35d5543b8cebee02446bce1359f1779ab5b55ea9
2022-01-20 13:43:09 +00:00
Ilya.Kazakevich
98d767af54 Move WSLProxy to the platform.
WSLProxy helps processes running on WSL connect to Windows bypassing firewall. See WslProxy.kt and wslproxy.c for more info.

GitOrigin-RevId: bb5d0fc0c67ad18ccc2a2c285b5b71f76e00b26b
2021-12-29 13:26:15 +00:00
Ilya.Kazakevich
06462ed710 PY-51679: support several connections to wslproxy.
Ingress port (127.0.0.1:some-port) or WSL must accept several connections.
All of them are forwarded to application port.

Django debug doesn't work without it because it uses several processes, each connected to port on WSL.

See wslproxy.svg and wslproxy.c doc

GitOrigin-RevId: 4623aef93409c1ea8f282908ae0ba8a810652413
2021-12-14 11:26:10 +00:00
Ilya.Kazakevich
9d34c71f5e Download musl for wsltools automatically
This change is required for other wsltools that we will merge to master soon

GitOrigin-RevId: 78ac06777d2ed20137b1b9adf3ee434e14b6b175
2021-12-11 00:59:56 +00:00
Vladislav Rassokhin
2c72a7db71 IDEA-283733 [build scripts] fix scripts for MacScreenMenu build, ensure modern CMake is used for that
GitOrigin-RevId: e19c6013a4c5945788192a679815058188a4fbb4
2021-12-08 08:21:09 +00:00
Anton Tarasov
31c7db6db0 IDEA-283733 [followup] Icons in main menu submenus are low-resolution
cmake -G "Unix Makefiles" does not honor CMAKE_OSX_ARCHITECTURES and does not produce universal binary. Changed to "Xcode".

GitOrigin-RevId: cc86b53eb342a60c55d4247485d53c1339f4a53d
2021-12-07 15:05:39 +00:00
Anton Tarasov
86620ee085 IDEA-283733 Icons in main menu submenus are low-resolution
GitOrigin-RevId: 994c7dfb66b23cf29b22f4419d4e5adf2844667c
2021-12-07 08:17:46 +00:00
thyrc
9a68c50cb2 fsNotifier/linux: Fix includes for musl libc
GitOrigin-RevId: be9b6594a07f246ad39c100ae858c4bb2cd1a825
2021-12-02 21:28:01 +00:00
Roman Shevchenko
7c65f2d78d [platform] liberating Windows launcher from x86 and Java 8 stuff (p.1)
GitOrigin-RevId: c35dc71fefa9ef58c0a2630972e0b6cb84ba92de
2021-11-26 18:29:55 +00:00
Artem Bochkarev
8a1bde5527 IDEA-277709: update screen menubar on window activation event
fixed IDEA-282646

GitOrigin-RevId: d5b6050be5453b6931659ad0d57978b56e249241
2021-11-21 07:38:39 +00:00
Artem Bochkarev
abebd64acd IDEA-277709: listen for presentation changes
remove copy/paste

GitOrigin-RevId: 778915a89e52846c132632ae12fc2fd3112db734
2021-11-17 18:19:10 +00:00
Artem Bochkarev
5cbce00380 IDEA-277709: code cleanup
restore 'simplified shortcuts' finctionality
fixed key-events processing of CustomMenuItemView

GitOrigin-RevId: db7fa756542b87c1943d8c7b589410c28c7b38ee
2021-11-11 04:28:02 +00:00
Florian Kistner
e1b872e63d LAB-99 Add mechanism to specify Xbootclasspath for launchers
GitOrigin-RevId: d54d96b623d2fc7dd1a2c2d19d172a124772d583
2021-11-03 14:54:08 +00:00
Artem Bochkarev
cc315fa836 IDEA-277709: enable new menu implementation with VM-option 'jbScreenMenuBar.enable'
also use LWCToolkit.invokeAndWait for initial filling of menu

GitOrigin-RevId: 3687d61b5bfd57778d6e570e55ae990b7acc0754
2021-11-01 12:31:42 +00:00
Roman Shevchenko
9f06ffc267 [project] macOS launcher: explicit JNI dependency instead of fickle frameworks
GitOrigin-RevId: 7dd76061ff8906f0064e8aee43ca00272998505c
2021-10-20 20:28:39 +00:00
Roman Shevchenko
e7d52d2822 Cleanup (formatting)
GitOrigin-RevId: a7da21157b139c934c454142ba77af133101b25a
2021-10-20 19:06:08 +00:00
Roman Shevchenko
6f0f249ce1 [platform] arbitrary VM options for macOS launcher: sources (IDEA-279731)
GitOrigin-RevId: 58ad65ef86387f3a52a475d57729936c7f41a96b
2021-10-20 19:06:06 +00:00
Artem Bochkarev
242bc6167a IDEA-277709: cache jclass objects
empiric observation: JNI can't find loaded class when
1. class is located in signed jar
2. class was requested from AppKit thread (when JNIEnv is obtained via global JavaVM)

GitOrigin-RevId: 02b275c3696a9903c3805346ae2bbebe863f8449
2021-10-18 11:49:40 +00:00
Artem Bochkarev
cc2cce677f IDEA-277709: reimplement ScreenMenu for OS X with external library
force disable with VM-option: -DdisableJbScreenMenuBar=true

GitOrigin-RevId: 14ff2216fcc6b112369b89708f18c220764273a1
2021-10-17 15:15:00 +00:00
Roman Shevchenko
cbaf53602e [platform] recognizing additional VM options in launchers (IDEA-240526 part 2a: sources)
Making launchers concatenate platform's and user's VM options, filtering out `-XX:.*GC` from the former if present in the latter (otherwise JVM refuses to start).

GitOrigin-RevId: fd610803054190001b14c39800208ee90d88522a
2021-10-15 19:37:09 +00:00
Ilya.Kazakevich
ed0b0ea640 Runnerw is deprecated, use WinP to kill process.
This is how it works by default now, so you don't need to do anything to enable it.

CLion also uses runnerw/mediator to create console window, but they will migrate to another solution soon

GitOrigin-RevId: 29a8c9564f20d51f72b47ec3f7d25bff00be272b
2021-10-08 21:48:42 +00:00
Ilya.Kazakevich
429743a288 wslproxy: switch to musl
musl is much smaller and has MIT licence

GitOrigin-RevId: bafe29fe524f9b3657001573a6d00bcedcbee238
2021-10-08 21:45:28 +00:00
Ivan Migalev
74b5491e8f WinLauncher: fix grammar in comment
GitOrigin-RevId: 04a65045ac58703cd18d378e0c25c05811613f5e
2021-09-29 13:37:40 +00:00
Ilya.Kazakevich
e93997fb20 PY-50689: Remove cmake file
CLion works with Makefile perfectly

GitOrigin-RevId: 42d288a6b4eb69786084253ec8690d21ac01dc4f
2021-09-26 23:32:24 +00:00
Ilya.Kazakevich
31fa8725e7 PY-50689: Remove cmake file
CLion works with Makefile perfectly

GitOrigin-RevId: 5a32b8ce1cb81ad7c76f6990243ad182a721e360
2021-09-26 23:18:28 +00:00
Ilya.Kazakevich
719ee22a13 PY-50689: WSL proxy.
Windows firewall blocks access from WSL by default.
This proxy make reverse connection (Win --> Lin).

See README.txt for more info

GitOrigin-RevId: 2f181faa7c66aee7e766daf007c03877612597be
2021-09-23 16:21:33 +00:00
Roman Shevchenko
2bcf52263c [platform] dropping x86 builds of Windows file watcher, Windows launcher (IDEA-270576)
GitOrigin-RevId: 212c3c31cecdbd763742da417009c508be9bb793
2021-09-21 19:10:22 +00:00
Ivan Migalev
1031dce2df Fix IDEA-277636: enable PerMonitorV2 DPI awareness via the app manifest
GitOrigin-RevId: 5a14ce4bef8a51ba77665813830ba89421a74130
2021-09-09 18:03:50 +00:00
Ivan Migalev
e9c7e0ab01 Fix IDEA-263358: work around the race condition when the main process was terminated
GitOrigin-RevId: 0e9a05d0dfd09ea43d7be0e192b387ef98d13d10
2021-09-09 18:03:49 +00:00
Ivan Migalev
be7826f114 WinLauncher: fix a race condition on event creation
GitOrigin-RevId: 7af3d15ea2ee2e4822240c4fa880211424c49833
2021-09-09 18:03:48 +00:00
Ivan Migalev
731dbff557 WinLauncher: properly generate message box title
GitOrigin-RevId: c0b277464e119031735bea326740eda1b1df7e4a
2021-09-09 18:03:47 +00:00
Ilya.Kazakevich
b6a9f2268e Rewrite `AppxReparse.exe` to JNA
No need to have separate tool for that

GitOrigin-RevId: 3019b647cb3b9ce9c01967deace0e4fbed834302
2021-09-04 01:51:37 +00:00
Roman Shevchenko
d5b3a61496 Cleanup (unsolicited copyright)
GitOrigin-RevId: 74d61a6122d5b8ef2a5108620e7b677db42a5b69
2021-07-27 13:33:59 +00:00
Roman Shevchenko
871d238bbe [build scripts] mono-arch Linux file watcher build script
GitOrigin-RevId: a357e4f7ca466d6054b63e68c1cd8a3f8bbf5daf
2021-07-27 13:31:28 +00:00
Artem Bochkarev
29e29f2649 IDEA-272894: code cleanup
remove Popover.m

GitOrigin-RevId: 0a56fdc61d7078da8da7ec0d4cb37d3a467f774b
2021-07-05 07:00:36 +00:00
Artem Bochkarev
ce06ff91ee IDEA-272894: fix object release
strong property doesn't clear automatically

GitOrigin-RevId: f55f6d24690c1739de5c3814d877d9b51d18480c
2021-07-05 06:49:09 +00:00
Artem Bochkarev
b28894eb2e IDEA-272894: release items of touchbar in AppKit
theoretically it can fix SIGSEGV at [libobjc.A.dylib] objc_msgSend in -[NSTouchBarViewController _updateTree]

GitOrigin-RevId: f545b89f023bf8a599f7785ab359cba83a520c53
2021-07-01 21:23:48 +00:00
Artem Bochkarev
167efd84cb IDEA-272894: release NSObject of touchbar in AppKit
theoretically it can fix SIGSEGV at [libobjc.A.dylib] objc_msgSend in -[NSTouchBarViewController _updateTree]

GitOrigin-RevId: 81bdaa523bb5fcd73857f000d96487d9347483d1
2021-07-01 21:23:46 +00:00
Artem Bochkarev
101cc800a1 IDEA-272131: make more exception-safe
suppress possible layout exception

GitOrigin-RevId: d00c850d3896771494b2e0a32af6a2eb0a9a04b6
2021-07-01 21:23:39 +00:00
Artem Bochkarev
aa0e7117cb IDEA-272131: suppress intermittent exception
thrown during update of button [NSView(NSConstraintBasedLayout) _tryToAddConstraint]

GitOrigin-RevId: 5d572f5c58fd8667d2ed9abb51bd84ac932b0db5
2021-07-01 21:23:38 +00:00
Nikita Provotorov
7309d00b83 [Docs] WinShellIntegration project: minor documentation changes due to IDEA-270576.
GitOrigin-RevId: 24f512a7533e168cd3e9cb33d30ca4f9cd8f189b
2021-06-17 04:06:57 +00:00
Peter Gromov
9a3f76ea55 WinElevator: improve the documentation grammar
GitOrigin-RevId: 0ac4db0fedda1d5828128747914ce63c85aeec0c
2021-06-16 15:56:49 +00:00
Peter Gromov
9f310b42dc WinShellIntegration: improve the documentation grammar
GitOrigin-RevId: e50c12290af7c5791f9309ce097e52e0e5ecda82
2021-06-16 15:56:49 +00:00
Roman Shevchenko
a79a4fdfd0 [platform] native macOS environment reader: sources (IDEA-216133)
GitOrigin-RevId: e713b19c9e4bd6ecd74eeca7cbeb1fcd95b04e4a
2021-06-16 13:44:00 +00:00
Nikita Provotorov
b35e51ed5f [User Interface] IDEA-270614 Windows Jump Lists tooltips: implementation.
DLL is built locally.

GitOrigin-RevId: dc6120310f231a66df4c4601f95f05ce2eef2360
2021-06-14 06:14:20 +00:00
Nikita Provotorov
4c473dcfba [Native] WinShellIntegration project: bugfix.
DLL is built locally.

GitOrigin-RevId: 9e824f205edcfd3c7695af6a7fa7123bd94eda0e
2021-06-14 06:14:19 +00:00
Nikita Provotorov
8d8528409c [Codestyle] WinShellIntegration project: refactoring and updated license info.
DLL are built locally.

GitOrigin-RevId: 8eecae2a0f1c8f3b735cf4805a8b6c5ac5e33acd
2021-06-14 06:14:17 +00:00
Nikita Provotorov
312153f5e4 [Codestyle] WinShellIntegration project: set LF line endings by default.
GitOrigin-RevId: a44e1f586bb42e5b9464f37d33a3e96247cce4eb
2021-06-14 06:14:15 +00:00
Nikita Provotorov
0b6c89609c [Codestyle] WinShellIntegration project: line endings fix (CRLF -> LF).
GitOrigin-RevId: 317ed8eddf75933bd6250dba9973421f343feb09
2021-06-14 06:14:13 +00:00
Roman Shevchenko
71cac6a8cb [platform] tuning Windows launcher compiler options to better match former VS project (IDEA-270705)
GitOrigin-RevId: 21deab3bff0be687e5da7614e376e80e8368b2cb
2021-06-09 21:46:50 +00:00