Commit Graph

627 Commits

Author SHA1 Message Date
Roman Shevchenko
1c3fcb41fd [vfs] checking input bounds in macOS filesystem event helper (IDEA-302494)
GitOrigin-RevId: fb8a71627641018341b5040655f9508847c19b4f
2022-09-27 11:06:13 +00:00
Vladislav Rassokhin
90a833f4ee IDEA-296416 Add Windows ARM64 version of native binaries
`fsnotifier-wsl` is just copy of `../../linux/aarch64/fsnotifier`

GitOrigin-RevId: 106009c3731b42a2687ed05b353f6a0dd3f4b37f
2022-09-19 15:49:51 +00:00
Vladislav Rassokhin
9364c35ca2 [build-scripts] rearrange Windows binaries, arch-independent names of binary artifacts (IDEA-296416)
GitOrigin-RevId: daed16a5ad0a875d82e94e3908edbe1fe0af975f
2022-09-07 20:46:59 +00:00
Arseny.Chernyaev
00bf3987ff retrieve parent process id while obtaining processes list
(cherry picked from commit 70e08724586cc553aadfd250231688e0a3566d7c)

IJ-MR-94381

GitOrigin-RevId: 684864540480750d36cf51837300174cb1e927aa
2022-08-22 21:23:07 +00:00
Artem Bochkarev
f39cc03d92 IDEA-298038: avoid complete clearing of appmenu
GitOrigin-RevId: 8b1e4110839b1e35b606af62dac211c5d782712a
2022-08-02 10:52:45 +00:00
Artem Bochkarev
1cdfbcad75 IDEA-296486: minor correction (syntax)
fixed remark from review

GitOrigin-RevId: cc976db4791656b6429e250b8f3c3895d72724e1
2022-07-12 08:17:42 +00:00
Artem Bochkarev
289753525f IDEA-296486: remake renaming appmenu items
rename all items in single function call on AppKit without waiting

GitOrigin-RevId: 576a5b67f2620734e4d2ff65e651202ec3af1aa5
2022-07-11 19:07:23 +00:00
Roman Shevchenko
4d07e99dc1 [platform] updating Linux fsnotifier binaries with pinned artifacts
GitOrigin-RevId: 21d96dd91492bfb88fbb4c1dd2d28dbe04bd632e
2022-06-13 13:23:25 +00:00
Roman Shevchenko
825c930c50 [platform] arch-independent names of Linux binary artifacts
GitOrigin-RevId: cf35459a0cce96ba1b21b8462c784933f51d58e5
2022-06-13 10:34:02 +00:00
Artem Bochkarev
11c77aa610 IDEA-295159: obtain appmenu pointer on AppKit-thread
GitOrigin-RevId: a4ddefe47da198159fb64a2af2962083327e3344
2022-06-11 10:29:16 +00:00
Vladislav Rassokhin
0e8583fec9 [linux-menu] add libdbm for aarch64, rebuild for x86_64
GitOrigin-RevId: e294f90bca177e99765245e44e399f259b50e9fe
2022-05-30 07:56:36 +00:00
Vladislav Rassokhin
314890b18a IJI-844 Update fsnotifier for Linux to 222.2688
GitOrigin-RevId: 08e341d58df3609e41ee0857b87ec43097eab2cb
2022-05-30 07:56:11 +00:00
Roman Shevchenko
b9904cdf9f [platform] uniform I/O calls in macOS printenv; formatting (binary)
GitOrigin-RevId: eb9d1f07dbb3abb908d522d8e31f40fdd80be277
2022-04-22 21:52:56 +00:00
Ilya.Kazakevich
2ca053a0cc PY-50751: Custom tool for wsl sync: support of dir symlinks
Symlinks on Windows are junctions (since no UAC required), so only directory symlinks are supported.

GitOrigin-RevId: 9f9134d59597d2987a7c1b95602dc6e477651dfb
2022-04-10 15:01:25 +00:00
Anton Tarasov
838f4c5753 Add VM property to support JBR-4284
GitOrigin-RevId: 56ecc234d9a5952f9a156750fc2f4218ae9eb052
2022-03-23 16:09:12 +00:00
Artem Bochkarev
9d6334d012 IDEA-260857: dispose java wrapper after use
GitOrigin-RevId: a6a9da7a949db4617b959a98d2ac216360c489d4
2022-02-16 12:17:50 +00:00
Artem Bochkarev
847037b19b IDEA-260857: use localized strings for AppMenu items
GitOrigin-RevId: 0ad8adf523307a796b978cda0007482696d606c7
2022-02-16 10:26:29 +00:00
Artem Bochkarev
6212505851 IDEA-260857: implemented wrappers for AppMenu items
also cleanup warnings from native code

GitOrigin-RevId: 27081d0c43e59edd0d3b4747a132500e078354ad
2022-02-16 10:26:27 +00:00
Artem Semenov
0b1f451a41 IDEA-287926 Add -Djavax.swing.JTree.excludeAccessibleChildrenFromClosedNodes JVM option
(cherry picked from commit 6c14ce9bad399ded218ad9457124f81b0ac964e6)

IJ-CR-20375

GitOrigin-RevId: 8219f32520bcbc9c9c0b320e1034526277f3d6be
2022-02-08 12:32:38 +00:00
Artem Semenov
6664bdf74d IDEA-287926 Add -Djavax.swing.JTree.excludeAccessibleChildrenFromClosedNodes JVM option
(cherry picked from commit 661fcd965ab486d7981fb6c64ad55c0a35838f1b)

IJ-CR-20375

GitOrigin-RevId: 636fce1017d1f07152144e0279e8cc22d9952614
2022-02-08 12:32:36 +00:00
Ilya.Kazakevich
e23b3dcbc9 PY-50751: Custom rsync for WSL.
``rsync`` is slow because every file system access call from WSL to Windows and vice versa is slow.
We need to decrement number of such calls.

This approach does the following:
* Calculates hashes on Windows side using Intellij process
* Calculates hashes on WSL side using native Linux process
* Compares them searching for differences
* Splits different files into groups, tars each group and copies them on the other side.

From what I checked this is the fastest approach to sync WSL and Windows.

* How to use *

`WslSyncAction` is a temporary internal only action. Run it and try to sync some folder.

`WslSync` is a class with static method you can use to sync to folders.

GitOrigin-RevId: 6c63329d73ff32b7ee5e4436bfde39e72fe35a44
2022-02-04 23:47:52 +00:00
Daniil Kalinin
ee8a848f85 Remove printenv.py script for obtaining environment variables to avoid problems like IDEA-281405. Changes:
There is no need in Python on linux anymore to obtain environment variables

Python script changed to direct `env -0` call on linux

printenv binary for macOS and its source code updated to write output directly to stdout, not to temporary file

Added tests with testcontainers to detect problems on different linux distros

(cherry picked from commit 72f7f7ad782cdb4632980d2622023d117e4485dc)

IJ-CR-19090

GitOrigin-RevId: 95b4cc5cca0cff27856a4e92d4ed26fd8aead416
2022-01-31 12:03:49 +00:00
Dmitry Jemerov
821bdbc511 Remove log.xml that can't be used any more
GitOrigin-RevId: 655d7af71226f4832603e3053376f44e2344cde1
2022-01-20 18:44:44 +00:00
Artem Bochkarev
a115c5ba82 IDEA-286810: cleanup menu on close
GitOrigin-RevId: 35d5543b8cebee02446bce1359f1779ab5b55ea9
2022-01-20 13:43:09 +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
Vladislav Rassokhin
78bf05b263 IDEA-283733 [followup] replace libmacscreenmenu64.dylib library with unsigned one
GitOrigin-RevId: 02a443dd4578fd40cf554d44d3e7c9b6b103e818
2021-12-08 08:31:44 +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
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
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
Artem Bochkarev
65a3a8f399 IDEA-277709: rebuild universal binary
GitOrigin-RevId: 710d25558b6006375b1d54785bb0f64a1e0cb9ce
2021-10-22 10:54:50 +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
Anton Tarasov
f7ebaa49cd IDEA-280426 add vm option for JBR-3765 [mac] a11y hangs on extremely long tables
GitOrigin-RevId: 6f75f8d2f5a6c5cdbda6b47af36a0104b911bc24
2021-10-15 09:49:45 +00:00
Ilya.Kazakevich
788c288031 wslproxy: switch to musl
musl is much smaller and has MIT licence

GitOrigin-RevId: 4b8e3a24f8298b9c3ef491822e7526e79b583c0c
2021-10-08 22:55:20 +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
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
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
Artem Bochkarev
29e29f2649 IDEA-272894: code cleanup
remove Popover.m

GitOrigin-RevId: 0a56fdc61d7078da8da7ec0d4cb37d3a467f774b
2021-07-05 07:00:36 +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
Roman Shevchenko
b8e65d78aa [platform] replacing locally-built macOS environment reader with a CI artifact (IDEA-216133)
GitOrigin-RevId: fb14d25ae706e6b027d2dcaff6aba6024da81017
2021-06-17 11:38:13 +00:00
Roman Shevchenko
a355c402ff [platform] native environment reader for macOS (IDEA-216133)
GitOrigin-RevId: 8a43082ba32b4955cbb5bf48247026329f65b707
2021-06-17 06:39:12 +00:00
Nikita Provotorov
88cbaf2241 [User Interface] IDEA-270614 Windows Jump Lists tooltips: new version of WinShellIntegrationBridge.dll built from master.
Include changes prior to dc6120310f231a66df4c4601f95f05ce2eef2360 commit inclusive.

GitOrigin-RevId: ff2eec6106afd446d0bb9ebf94cf1a8c809c0adc
2021-06-14 06:52:32 +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
Roman Shevchenko
3cd36497e7 [platform, build scripts] dropping x86 support (IDEA-270576)
GitOrigin-RevId: 80735ea7cd0d026ba3fa73dbfe01d3d4d2dd2149
2021-06-07 09:29:54 +00:00
Artem Bochkarev
67ba8a6286 IDEA-269957: intercept outOfRange exception
just workaround (real exception reason is unknown), fixed IDEA-269957

GitOrigin-RevId: 02b423811c400d49e889fcf17a40e225b09f5225
2021-06-04 08:10:04 +00:00