Commit Graph

611 Commits

Author SHA1 Message Date
Dominik Ritter
81b4180939 jetbrains.plugins: update 2023-10-14 01:25:03 +02:00
Dominik Ritter
9d6808fa2a jetbrains: 2023.2 EAP -> 2023.3 EAP
jetbrains.datagrip: 2023.2.1 -> 2023.2.2
jetbrains.dataspell: 2023.2.2 -> 2023.2.3
jetbrains.gateway: 2023.2.2 -> 2023.2.3
jetbrains.goland: 2023.2.2 -> 2023.2.3
jetbrains.idea-community: 2023.2.2 -> 2023.2.3
jetbrains.idea-ultimate: 2023.2.2 -> 2023.2.3
jetbrains.pycharm-community: 2023.2.1 -> 2023.2.2
jetbrains.pycharm-professional: 2023.2.1 -> 2023.2.2
jetbrains.rider: 2023.2.1 -> 2023.2.2
jetbrains.ruby-mine: 2023.2.2 -> 2023.2.3
jetbrains.webstorm: 2023.2.2 -> 2023.2.3
jetbrains.rust-rover: 2023.2 EAP -> 2023.3 EAP
2023-10-14 01:23:43 +02:00
Weijia Wang
af62462a93
Merge pull request #257890 from nixdrin/jetbrains-ld
jetbrains: avoid LD_LIBRARY_PATH leaks
2023-10-13 20:57:45 +02:00
Joe DeVivo
c3844cc520
jetbrains.rust-rover: 2023.2 EAP -> 2023.3 EAP 2023-10-13 06:21:54 -07:00
nixdrin
bcdfa18846 jetbrains.rider: use autoPatchelf
Turns out Rider was previously relying on having libstdc++ in
LD_LIBRARY_PATH, because the binaries were not patched properly.

Rewrite the patching to use autoPatchelf similar to CLion so that the
RPATH of the binaries are adjusted. While at it also patch all the
binaries in the dotCommon and dotTrace plugins. Those seem to need zlib
and fontconfig which were completely missing before (they are probably
only called when using certain functionality of the IDE).

icu doesn't actually seem to be needed (autoPatchelf does not complain
that it's missing) and the IDE starts fine without it, so drop it for
now.
2023-10-09 16:37:42 +02:00
nixdrin
7a8b142607 jetbrains: use -Djna.libary.path instead of LD_LIBRARY_PATH
Most of the libraries listed in the LD_LIBRARY_PATH for the Jetbrains
IDEs are loaded indirectly using JNA in Java code, e.g.

  myLibNotify = Native.load("libnotify.so.4", LibNotify.class); [1]
  private val library = Native.load("secret-1", SecretLibrary::class.java) [2]

In this case the typical patching mechanism with Nix does not work
because JNA does the library lookup at runtime with its own mechanism.

However, to avoid causing ABI conflicts when using Nix in the terminal
of the IDE it's better to avoid using LD_LIBRARY_PATH. JNA also looks
for a "jna.library.path" Java system property when looking for libraries.

Generate that property with the needed paths instead and append it to
the vmopts file so that the property is applied when starting the IDE.
With this the libraries only become available for the IDE and do not
leak into terminals opened within the IDE context.

[1]: c0a703267a/platform/platform-impl/src/com/intellij/ui/LibNotifyWrapper.java (L40)
[2]: c0a703267a/platform/credential-store/src/linuxSecretLibrary.kt (L38)
2023-10-08 17:15:48 +02:00
nixdrin
8ff6850f25 jetbrains: drop libstdc++.so.6 from LD_LIBRARY_PATH
Most of the libraries listed in the LD_LIBRARY_PATH for the Jetbrains
IDEs are loaded indirectly using JNA in Java code, e.g.

  myLibNotify = Native.load("libnotify.so.4", LibNotify.class); [1]
  private val library = Native.load("secret-1", SecretLibrary::class.java) [2]

In this case the typical patching mechanism with Nix does not work
because JNA does the library lookup at runtime with its own mechanism.

However, there is one outlier: stdenv.cc.cc.lib is also added to the
LD_LIBRARY_PATH for libstdc++.so.6 because it is reportedly needed
for some "internals". It does not make sense to access libstdc++
from Java code so it feels like this one was added to work around
some native library or executable that should be patched instead
of using LD_LIBRARY_PATH.

Unfortunately, having libstdc++ in LD_LIBRARY_PATH can also easily
cause ABI conflicts. This is because this variable is inherited into
terminals opened within the IDE. Using a Nix environment there with
different versions of libstdc++ easily causes errors such as

  libstdc++.so.6: version `GLIBCXX_3.4.29' not found

Most of the IDEs work just fine without having libstdc++ in
LD_LIBRARY_PATH. Since it's not really clear why it has to be in
there let's just drop it to avoid the ABI conflicts.

[1]: c0a703267a/platform/platform-impl/src/com/intellij/ui/LibNotifyWrapper.java (L40)
[2]: c0a703267a/platform/credential-store/src/linuxSecretLibrary.kt (L38)
2023-10-08 17:15:47 +02:00
Steven Kou
8b1de6a005
jetbrains.gateway: remove maintainer 2023-10-05 01:30:54 -04:00
Joe DeVivo
3fda5be53f
jetbrains.rust-rover: fix darwin install (#258814)
* jetbrains.rust-rover: fix darwin install

JetBrains doesn't guarantee that the macOS app will be called
`${product}.app` so I modified the installPhase to copy *.app instead
of ${product}.app, which fails on file does not exist for Rust Rover,
which is `RustRover 2023.2 EAP.app`

I've tested with some other JetBrains apps on darwin aarch64 and they
continue to build as expected.
2023-10-04 18:49:31 +02:00
Weijia Wang
2021f6a092
Merge pull request #257842 from nixdrin/jetbrains-rust
jetbrains.plugins: add new Rust plugin
2023-09-28 22:12:03 +02:00
nixdrin
b634ba84f0 jetbrains.plugins: add new Rust plugin
Add the new Rust plugin (https://plugins.jetbrains.com/plugin/22407-rust)
that replaces the old open-source one for clion, idea-ultimate and rust-rover.
2023-09-28 15:59:56 +02:00
Artturi
4919a8cdcc
Merge pull request #249107 from anpin/rider-udev 2023-09-27 10:14:36 +03:00
Dominik Ritter
854e192b34 jetbrains.plugins: update 2023-09-23 13:00:25 +02:00
Dominik Ritter
23dbfcdfba jetbrains: 2023.2 -> 2023.2.2
jetbrains.phpstorm: 2023.2.1 -> 2023.2.2
jetbrains.rust-rover: 2023.2 -> 2023.2 EAP
2023-09-23 12:59:58 +02:00
Weijia Wang
f476203116
Merge pull request #255283 from Followin/jetbrains-rust-rover-init
jetbrains-rust-rover: init at 232.9921.46(EAP)
2023-09-20 23:44:34 +02:00
Weijia Wang
c2027e9dae
Merge pull request #254495 from tnxz/patch-1
jetbrains: fix darwin errors on macOS 13
2023-09-18 22:06:43 +02:00
followin
f6ec82bbf3 jetbrains-rust-rover: patch intellij-rust-native-helper plugin 2023-09-15 23:22:36 +03:00
followin
b9eceb590f jetbrains-rust-rover: fix plugin tests, remove autopatching of plugins shipped with ide 2023-09-15 22:55:24 +03:00
followin
99f7748964 jetbrains.plugins: update 2023-09-15 21:43:47 +03:00
followin
573b47ec6d jetbrains: 2023.2.1 -> 2023.2.2
jetbrains.dataspell: 2023.2.1 -> 2023.2.2
jetbrains.gateway: 2023.2.1 -> 2023.2.2
jetbrains.goland: 2023.2.1 -> 2023.2.2
jetbrains.ruby-mine: 2023.2.1 -> 2023.2.2
jetbrains.webstorm: 2023.2.1 -> 2023.2.2
2023-09-15 21:43:33 +03:00
followin
2dd73a789c jetbrains-rust-rover: fix url template 2023-09-15 21:43:14 +03:00
followin
929c3effe7 jetbrains-rust-rover: add to plugins/tests and to friendly_to_plugin list 2023-09-15 21:30:16 +03:00
followin
72a455b13d jetbrains-rust-rover: init at 232.9921.46(EAP) 2023-09-15 15:09:55 +03:00
Dominik Ritter
72672b9c86 jetbrains.plugins: update 2023-09-13 21:09:35 +02:00
Dominik Ritter
aee5d5dcd3 jetbrains: 2023.2.1 -> 2023.2.2
jetbrains.clion: 2023.2.1 -> 2023.2.2
jetbrains.idea-community: 2023.2.1 -> 2023.2.2
jetbrains.idea-ultimate: 2023.2.1 -> 2023.2.2
2023-09-13 21:08:34 +02:00
run
456ce8dc34 jetbrains: fix darwin errors on macOS 13
As the jetbrains products have notarized binaries no further post processing is required more about this can be found in 3ea22dab7d
2023-09-12 00:25:18 +02:00
Pavel Anpin
bee39a0151 jetbrains added udev to extraLdPath 2023-09-10 20:35:23 +03:00
Dominik Ritter
c269ed0cae jetbrains.plugins: update 2023-08-28 20:46:44 +02:00
Dominik Ritter
91871abbde jetbrains: 2023.2 -> 2023.2.1
jetbrains.clion: 2023.2 -> 2023.2.1
jetbrains.datagrip: 2023.2 -> 2023.2.1
jetbrains.dataspell: 2023.2 -> 2023.2.1
jetbrains.gateway: 2023.2 -> 2023.2.1
jetbrains.goland: 2023.2 -> 2023.2.1
jetbrains.idea-community: 2023.2 -> 2023.2.1
jetbrains.idea-ultimate: 2023.2 -> 2023.2.1
jetbrains.phpstorm: 2023.2 -> 2023.2.1
jetbrains.pycharm-community: 2023.2 -> 2023.2.1
jetbrains.pycharm-professional: 2023.2 -> 2023.2.1
jetbrains.rider: 2023.2 -> 2023.2.1
jetbrains.ruby-mine: 2023.2 -> 2023.2.1
jetbrains.webstorm: 2023.2 -> 2023.2.1
2023-08-28 20:45:17 +02:00
Janik
fe19e3c3b1
Merge pull request #247240 from dritter/jetbrains-autocommit-updates 2023-08-20 21:42:36 +02:00
Dominik Ritter
a56241ed7b jetbrains: Commit in one line
Co-authored-by: Janik <80165193+Janik-Haag@users.noreply.github.com>
2023-08-13 00:33:23 +02:00
Dominik Ritter
50dc54de04 jetbrains.plugins: update 2023-08-12 23:18:04 +02:00
Dominik Ritter
d482e00d61 jetbrains: 2023.1.4 -> 2023.2
jetbrains.phpstorm: 2023.1.4 -> 2023.2
jetbrains.rider: 2023.1.4 -> 2023.2
2023-08-12 23:15:56 +02:00
Dominik Ritter
2837dc7608 jetbrains: autocommit updates 2023-08-05 00:28:59 +02:00
Dominik Ritter
abe17e7422 jetbrains.plugins: update 2023-07-28 10:39:02 +02:00
Dominik Ritter
538f593b21 jetbrains: 2023.1.2 -> 2023.2
jetbrains.clion: 2023.1.5 -> 2023.2
jetbrains.datagrip: 2023.1.2 -> 2023.2
jetbrains.dataspell: 2023.1.4 -> 2023.2
jetbrains.gateway: 2023.1.3 -> 2023.2
jetbrains.goland: 2023.1.4 -> 2023.2
jetbrains.idea-community: 2023.1.4 -> 2023.2
jetbrains.idea-ultimate: 2023.1.4 -> 2023.2
jetbrains.pycharm-community: 2023.1.4 -> 2023.2
jetbrains.pycharm-professional: 2023.1.4 -> 2023.2
jetbrains.ruby-mine: 2023.1.4 -> 2023.2
jetbrains.webstorm: 2023.1.4 -> 2023.2
2023-07-27 20:25:11 +02:00
GenericNerdyUsername
151c175a85
jetbrains.goland: fix build with plugins 2023-07-20 15:00:57 +01:00
GenericNerdyUsername
abd6d82002
jetbrains.clion: fix build with plugins 2023-07-20 15:00:57 +01:00
GenericNerdyUsername
c9fbb6fe87
jetbrains.*: fix build for most IDEs with plugins 2023-07-20 15:00:57 +01:00
GenericNerdyUsername
ea023517b7
jetbrains.plugins.tests.default: init 2023-07-20 15:00:56 +01:00
GenericNerdyUsername
24833f08a0
jetbrains.plugins: add vscode keymap 2023-07-20 15:00:56 +01:00
GenericNerdyUsername
cc102eb916
jetbrains.dataspell: format 2023-07-20 15:00:56 +01:00
Pol Dellaiera
c58bd8261f
Merge pull request #244320 from dritter/update-jetbrains4
jetbrains: 2023.1.3 -> 2023.1.5
2023-07-19 19:42:20 +02:00
Sandro
f29de8b52a
Merge pull request #243533 from tymscar/jetbrains-remote-dev-server 2023-07-19 14:14:34 +02:00
Dominik Ritter
3702b1734c jetbrains.plugins: update 2023-07-19 12:55:54 +02:00
Dominik Ritter
7f323a0450 jetbrains: 2023.1.3 -> 2023.1.5
jetbrains.clion: 2023.1.4 -> 2023.1.5
jetbrains.phpstorm: 2023.1.3 -> 2023.1.4
jetbrains.webstorm: 2023.1.3 -> 2023.1.4
2023-07-19 12:55:45 +02:00
Dominik Ritter
7e8fe39bb9 jetbrains.plugins: update 2023-07-18 22:56:54 +02:00
Dominik Ritter
e27ce9a616 jetbrains: 2023.1.3 -> 2023.1.5
jetbrains.clion: 2023.1.4 -> 2023.1.5
jetbrains.phpstorm: 2023.1.3 -> 2023.1.4
jetbrains.rider: 2023.1.3 -> 2023.1.4
jetbrains.webstorm: 2023.1.3 -> 2023.1.4
2023-07-18 22:55:53 +02:00
Oscar Molnar
4d0d2601a6 jetbrains: fix remote dev server for IDEs
Adds the necessary patch to fix the remote dev server in the Jetbrains IDEs ( see #153335 ).
2023-07-16 16:11:47 +01:00
Oscar Molnar
fe3b9fd75f maintainer: added myself (tymscar) as a maintainer to some Jetbrain IDEs 2023-07-16 16:11:47 +01:00