Commit Graph

260 Commits

Author SHA1 Message Date
Nikolay Chashnikov
0c2dd1eefd [python] cleanup: remove unused deprecated API (IDEA-295370)
GitOrigin-RevId: 35b47e4aea678a95d20f19e3cf66db7196fd9c7b
2022-09-16 12:41:46 +00:00
Ilya.Kazakevich
5ca58470f7 PY-54231: Fix "AlreadyDisposedException" and get rid of copy-paste and leak of this.
Each package manager must report explicitly if it needs to be subscribed to local changes or not.

Then, ``PyPackageManagersImpl`` obeys this flag.

Package manager disposed when SDK is disposed.

GitOrigin-RevId: 2cac8411c322c3b499ad6125b764c5c7e9dae8b7
2022-06-11 11:31:33 +00:00
Ilya.Kazakevich
fb158617c2 Do not pass disposed sdk: may lead to exception
GitOrigin-RevId: 868a825566810c6af04a335d1c626583a678f606
2022-05-25 20:42:44 +00:00
Nikolay Chashnikov
abc373560d [API] replace ApiStatus.ScheduledForRemoval annotation by 'forRemoval' attribute (IDEA-288466)
Since we don't want to specify planned removal date anymore, there is no need to use a separate annotation.

GitOrigin-RevId: a047c55475e0f4752a2842577e094fb041c6c05b
2022-02-11 15:12:14 +00:00
Vladimir Lagunov
6029ef5252 Introduce ExecutionExceptionWithAttachments and use it in SSH targets
GitOrigin-RevId: 1ba4d246629dacd0145b12c177a4c45e1185cfda
2021-10-20 14:22:11 +00:00
Mikhail Golubev
1dc1f77281 i18n: Add missing annotations in Python documentation providers
Proper internationalization of PyDocumentationBuilder and
PythonDocumentationProvider is still in the making, though.

GitOrigin-RevId: 57745d8c00a9cff9f0d6de6e599482c88a5b147e
2021-08-17 12:24:16 +00:00
Alexey Kudravtsev
761e8af4c7 remove wrong dependency of OpenAPI module "python-community" on impl modules
GitOrigin-RevId: 4dc39d6ab5eda3d2c8089cfb4fe587251ec00b22
2021-08-15 18:57:16 +00:00
Alexey Kudravtsev
0e1192da1e remove Guava from api modules dependencies
GitOrigin-RevId: 862ce946b10e0e1b5bdfbe7193d5f6cc6f5d516c
2021-07-14 17:56:24 +00:00
Dmitry Jemerov
749ce8a332 Cleanup: remove @author tags
GitOrigin-RevId: 9174eb8d77215b16f9f6c6074e6aced654d95ef1
2021-05-03 13:07:48 +00:00
Vladimir Lagunov
99f18023d7 DS-1074 Jupyter: Quick fix for importing in current cell.
(cherry picked from commit 445ba46b8b54bc61f1c8af89304cfa53f56d2d04)

IJ-MR-7199

GitOrigin-RevId: 748ab4f541e9ceedfe394ac41c74b8b95dc6e0a0
2021-04-14 13:34:51 +00:00
Andrew Kozlov
c07e578e7d InstalledPackage refactoring: explicit nullability; PackageManagementService#getInstalledPackage variance added
GitOrigin-RevId: 1bfb0969da77bde8809855f9c80da3878e7569e5
2021-02-22 18:20:41 +00:00
Vladimir Krivosheev
6338b863e4 do not use module level message bus
GitOrigin-RevId: e6b62994906b120b6c5ca394be39ad593d377f00
2021-02-18 18:49:48 +00:00
Ilya.Kazakevich
930b8a9f3c Result cleanup
GitOrigin-RevId: 4c3146734479e6abc155fd901b65bd8c93d2d0c3
2020-10-30 22:48:20 +00:00
Semyon Proshev
3d31f690f3 Re-use already calculated sdks in guessing language level
Drop `isPythonModule` call since it breaks PyStringLiteralTest.testEscapedUnicodeInLiterals.

GitOrigin-RevId: 6f5ea083a72bdb29826466a50f62cdf84cd26960
2020-10-19 16:36:20 +00:00
Semyon Proshev
603ae74c21 Make python disposable name more descriptive and not looking like interface
GitOrigin-RevId: 5009db52c121efbbf04952d3843b64ff4dc5888d
2020-10-16 14:44:56 +00:00
Vladimir Krivosheev
924abe229c cleanup (get rid of ServiceManager.get)
GitOrigin-RevId: 7f6a905353889c9795e5d40a8aa60f6251000f05
2020-10-16 11:34:52 +00:00
Vladimir Krivosheev
9ca499570c auto dispose of plugin disposables
GitOrigin-RevId: d3dd18f56168ed9ff421c9f84deabf1bb68d7f1d
2020-10-09 11:59:02 +00:00
Semyon Proshev
d95b00fdd8 Avoid application/project/module as parent disposable in python-related code
And fix several warnings.

GitOrigin-RevId: e97dae3116177bd919bc4ea51ceb1a3e7657e2cb
2020-09-29 10:04:22 +00:00
Mikhail Golubev
0f5277633b PY-43773 Correctly release VFS listeners detecting changes under interpreter roots
Previously, because we re-create instances of PyPackageManager, where they
are registered, on each change of the corresponding SDK, we could pile up stale
listeners, possibly processing relevant VFS changes and, thus, triggering SDK
updates multiple times.

GitOrigin-RevId: a9e6d3d87ca54114271efc220c3759ee6ae94ff3
2020-09-25 20:04:02 +00:00
Mikhail Golubev
49b9d76a03 i18n: Process remaining problems in Python project wizard
* Don't use message keys in isolation, without bundles
* Use HtmlBuilder for multiline HTML warnings

GitOrigin-RevId: 7652154d09e1237804cb690ed2dd763e1c60fd4d
2020-09-10 20:37:17 +00:00
Mikhail Golubev
2b1e7d872b i18n: Migrate packaging error messages containing links to HtmlBuilder
GitOrigin-RevId: 83bb593c6fed9a284d1a3c9a3ee57ce604670c91
2020-09-05 16:32:39 +00:00
Ilya.Kazakevich
953c37722f PY-40431: i18n: Result can be localized or not dependning on annotation
GitOrigin-RevId: e76acb018492a26d2e3f965d37685bd383964b7a
2020-08-30 14:08:02 +00:00
Ilya.Kazakevich
694162565c PY-40431: WSL i18n
GitOrigin-RevId: cdd28e2fe19715dcaf4fcb23bc64244ec9c9b102
2020-08-29 01:40:16 +00:00
Mikhail Golubev
c31fbeb18c i18n: Annotate PyRequirement#getPresentableText as @NlsSafe
GitOrigin-RevId: 504450af157c9bab9fb9ce40324287b46be817c5
2020-08-26 10:01:25 +00:00
Mikhail Golubev
73185f09fc i18n: Annotate WeakFileReference#getUnresolvedDescription() similarly to PsiReferenceEx
GitOrigin-RevId: b33030faf98ed9b9787f000a86f2b5977f6d5dd1
2020-08-25 13:39:01 +00:00
Mikhail Golubev
bc607f85ed i18n: Extract messages from remaining pure-Python inspection
* PyTypeCheckerInspection
* PyTypedDictInspection
* PyUnnecessaryBackslashInspection
* PyUnresolvedReferencesInspection
* PyUnusedLocalInspectionVisitor
* PyTypeHintsInspection

GitOrigin-RevId: 62d72bf38ef48412baf52960bc9da2b9f6d09070
2020-08-24 13:16:58 +00:00
andrey.matveev
13bed886ac i18n Fixes in remote interpreters
GitOrigin-RevId: 82ea247ba597511682b2e1f633ecde6b57718762
2020-08-19 17:08:05 +00:00
Alexey Kudravtsev
ffa825af57 use file.isCaseSensitive() instead of some VirtualFileSystem.isCaseSensitive()/SystemInfo.isCaseSensitive to support per-directory case sensitivity
GitOrigin-RevId: d7e7ecbba51a13c13935001238825b3740888458
2020-07-31 15:25:37 +00:00
Stanislav Utikeev
d8e63de195 LAB-31 Extract documentation service EPs to analysis API
GitOrigin-RevId: 6c4f05e4a625b9a855f0371cf2b39603fa4cc624
2020-07-10 12:29:55 +00:00
Vladimir Krivosheev
acb302b622 deprecate guava Lists.*
GitOrigin-RevId: c8a746f6620e525ba8f32e4d79dd6a40949e4bc6
2020-04-22 12:17:34 +00:00
Aleksei Kniazev
6cb5115bed more tests and improvements for python requirements generation (PY-18847)
GitOrigin-RevId: 2176648fd9021b3734e29c72b9daaa98e81a108a
2020-03-12 09:39:39 +00:00
Alex Plate
6174593c2b Fix some iml files (extra whitespaces / senseless paths)
GitOrigin-RevId: 48fc2ad90766f699b115536aa124799c451ea7a9
2020-03-10 15:23:35 +00:00
Aleksei Kniazev
2fded2d1a4 generate requirements.txt using project imports (PY-18847)
GitOrigin-RevId: 55ca1c33ca339a3966af3457fb4289278586ed8f
2020-02-24 22:36:13 +00:00
Vladimir Krivosheev
ba98224912 remove author (only some, where it is ok)
GitOrigin-RevId: 7dbab7524fe4efc5d17a04b95dee88b6f80fbe8d
2020-01-21 17:36:52 +00:00
Tagir Valeev
78a91459c4 Array annotations changed to type-use style (not compilable now)
GitOrigin-RevId: 68aa4ba200618083684599228e13dfdba35967a4
2020-01-16 08:11:51 +00:00
Stanislav Utikeev
dc47318681 Make python.community module depend on submodule of platform.ide
GitOrigin-RevId: 045d627027990d506de7b9a0402c687b01acb2ea
2020-01-09 15:10:17 +00:00
Vladimir Krivosheev
b4425ec731 pass project explicitly and do not rely on ProjectLocator
GitOrigin-RevId: 4e58147dc24b3df92da056a62d8846acc8937481
2019-12-08 18:06:17 +00:00
Dmitry Trofimov
7ec5c11c93 Don't depend on testFramework and make python-openapi not depend on lang
GitOrigin-RevId: c34a51bb984110d087fdddeff41c304f362ba4fe
2019-12-03 15:11:09 +00:00
Dmitry Trofimov
5c3d6b7bb1 python-psi-impl shouldn't depend on lang-api
GitOrigin-RevId: db25c76e0ea09f80406fdf6b4998c2a9ad0a9a2b
2019-09-26 18:01:42 +00:00
Ilya.Kazakevich
5be8b0e797 Fixed according to exception message ": com.jetbrains.python.packaging.PyPackageManagers requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()"
GitOrigin-RevId: f2ac16f8d03f7c7d63d0260c918d052feea3dc26
2019-08-29 19:42:23 +00:00
Konstantin Bulenkov
bc73a434e1 Remove unused imports and import duplicates from java files
GitOrigin-RevId: e5d5f6df09f21ae2e894451bf0c5255f82836755
2019-07-24 21:02:56 +03:00
Rustam Vishnyakov
123242c4b2 EditorConfig documentation test
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
2019-06-16 04:03:21 +03:00
Egor Zhdan
c1813cfb52 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-16 04:02:08 +03:00
Eldar Abusalimov
18962d3d42 Merge remote-tracking branch 'origin/master' into eldar/cidr-debugger
# Conflicts:
#	CIDR/cidr-debugger/resources/META-INF/CidrDebuggerPlugin.xml

GitOrigin-RevId: de8e0298bef122544fd1af40c209050903b3d263
2019-06-16 03:02:17 +03:00
Eldar Abusalimov
1120c30a56 Merge remote-tracking branch 'origin/master' into eldar/cidr-debugger
# Conflicts:
#	CIDR/clion/src/com/jetbrains/cidr/cpp/toolchains/MSVC.java

GitOrigin-RevId: f3593b526d1870f32b3f1451cab0c6a653e5beb5
2019-06-16 03:01:38 +03:00
Anna Kozlova
91f7445298 constructor reference: don't ignore constructor parameters during method reference inference (IDEA-185578)
GitOrigin-RevId: e836468e05db28157713e9edd3c70382f8ecdebc
2019-06-13 03:15:49 +03:00
Egor Zhdan
39d2d77155 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-13 03:14:35 +03:00
Julia Beliaeva
3fee046d20 [vcs-log] cleanup RootCellRenderer
GitOrigin-RevId: bba216626193ac756cd133b8ae9bc4e577abea42
2019-06-10 04:10:14 +03:00
Eldar Abusalimov
dcaeb8f8c7 OC-4061: ApplicationUtil: Make runWithCheckCanceled() return result
GitOrigin-RevId: 3aa9f23cc5097e644eddf82a4faca669759b4760
2019-06-10 04:09:35 +03:00
Semyon Proshev
a2230a6e6b Apply API notes planned for 2019.2
GitOrigin-RevId: 979edb0c2c360b27cbac2cf313fbca182dbfeba0
2019-06-08 15:09:07 +03:00