Commit Graph
250166 Commits
Author SHA1 Message Date
Tagir Valeev 3930aa3a6f ControlFlowUtil#internalDepthFirstSearch: rewrite subroutine tracking
Now every graph edge is accompanied with subroutine stack.
Also shared mutable state is removed from instructions (now it's local to DFS procedure).
Fixes IDEA-201093 Unreachable bug in three try catch while two have finally

GitOrigin-RevId: b600ba63e2da315c9830836adcdc4d8fecf92ca3
2019-07-02 06:52:16 +03:00
Alexander Bubenchikov 9e10dbf3e6 IDEA-216337 - activate BTW on errors
GitOrigin-RevId: 0fedbc9da28e90bab080a3776e1e722e1da984a2
2019-07-02 06:52:16 +03:00
Anton Makeev 5b18e1cafe revert: ContainerUtil.unmodifiableOrEmpty* methods optimized for 1-element collections
Creating a new singleton collection might break comparison policy of the original collection.

(original commit e66890a6d2)

GitOrigin-RevId: b4092dc49b60881385f31553ffd504e59e483e41
2019-07-02 06:52:16 +03:00
Dmitry Jemerov a117e7858e Validator for gutter_icon (FUS-421)
GitOrigin-RevId: ced994e2fc1c2ccaa6f6503e1fe3ece1b6e0637d
2019-07-02 06:52:16 +03:00
peter 47f0520440 let refresh in a modal+transactional context be able to finish in the same modality
GitOrigin-RevId: 3cae6deb5dcfe0eea2a57746c5084e86666e5bfb
2019-07-02 06:52:16 +03:00
Vladimir Krivosheev 8f9debad90 add @ApiStatus.Internal
GitOrigin-RevId: 63e6bf0997f6aea7b52f5f768388c506a8c337ea
2019-07-02 06:52:16 +03:00
Dmitry Jemerov ae20d4bfbc Remove extension point from 2007 which isn't used in either IDEA or external plugins
GitOrigin-RevId: 5a06e29c45089c7b1c012d30a9cd942bbb28d5af
2019-07-02 06:52:16 +03:00
Konstantin Aleev dc7ec8c9d6 IDEA-181446 RunDashboard: implement restore configuration action
GitOrigin-RevId: e438dbd701b98ba1b72d52d4d59239efdcd0ec59
2019-07-02 06:52:16 +03:00
Konstantin Aleev a283d32675 IDEA-181448 RunDashboard: move run content to appropriate tool window when configured types changed
GitOrigin-RevId: d89304debabc4bc13366fbf8912171d0be5bb752
2019-07-02 06:52:16 +03:00
Aleksey Pivovarov 16629935fa lst: do not force request tracker for light document without VirtualFile
GitOrigin-RevId: 59aa4be10d09acd652e4dca4fc96d5baefdee035
2019-07-02 06:52:16 +03:00
Nikita Skvortsov ce266374c4 disable loading extension defined in "implementation details" plugin if dependency is missing IDEA-215572 IDEA-200709
GitOrigin-RevId: 1b17a3e7a52e06239efff931a52ac064590121e8
2019-07-02 06:52:16 +03:00
Nikita Skvortsov 5f9b1249e5 minor optimization based on feedback from Gradle team
GitOrigin-RevId: 6ce9168b04996649f00a914b9fcd7440f0b47805
2019-07-02 06:52:16 +03:00
Dmitry Jemerov 99ec11e10d Don't register MF as extension for PlainTextFileType
Manifest support is part of the Java plugin, and non-Java IDEs don't need it
Also move dm server's registration of manifest extension to plugin.xml

GitOrigin-RevId: bab94dfb3ee995d2467985dc06c755bb309ccb31
2019-07-02 06:52:16 +03:00
Alexey Kudravtsev 57f4172d71 avoid hardcoded null convention, introduce interface for two separate cases instead
GitOrigin-RevId: 32e1ed38df5e2452fea4abf76bd5d13034dbc515
2019-07-02 06:52:16 +03:00
Alexey Kudravtsev 115e394967 cleanup
GitOrigin-RevId: 22304b48a2c65e4f4086a2fac9bd7f67d8deec49
2019-07-02 06:52:16 +03:00
Dmitry Jemerov d2d93d3063 LightPlatformCodeInsightFixtureTestCase -> BasePlatformTestCase
GitOrigin-RevId: 340465bfb7f05081134ae5da009eeba7c7249923
2019-07-02 06:52:16 +03:00
Dmitry Jemerov 97e0289250 Rename various Java-specific test case classes to include Java in the name; leave old names as deprecations
GitOrigin-RevId: 0f105a6c063ce216f7e22348221ad4cd335295df
2019-07-02 06:52:16 +03:00
Tagir Valeev d5b5cfa360 Change Access Modifier used as a quick-fix for weaken access and incorrect top-level class access modifier
Fixes IDEA-216012 "Change access modifier" should not be shown at the same time as "Make method public" quickfix

GitOrigin-RevId: 1531c6e88e7155e0b69192a2a9d8cf6f1681f274
2019-07-02 06:52:16 +03:00
Anton Bragin 0704737835 PY-32071 Shortcut for Jupyter Run All action added
GitOrigin-RevId: 2cc4aff25393a864aa978be04f4f2b1d71b46646
2019-07-02 06:52:16 +03:00
Dmitry Neverov a004080710 IDEA-CR-48413: GO-7539 fix env vars override
Don't use a pipe: bash unlike zhsh creates a subshell for the loop and
exported variables are gone after loop is
over (http://mywiki.wooledge.org/BashFAQ/024).

(cherry picked from commit c31048277888dbea1cf4a770820ded76e9bea176)

GitOrigin-RevId: 97f0ccce4f536c441b8c8e249d5bc051cfae8016
2019-07-02 06:52:16 +03:00
Artemiy Sartakov 58a22f282e ReplaceWithMutableCollectionIntention: update method call in model after invalidation (IDEA-CR-46450)
GitOrigin-RevId: 97809fb06f5aa81df8cd47e323cae247fb435d09
2019-07-02 06:52:16 +03:00
Konstantin Kolosovsky a476dc50a1 vcs: non-modal: Fix auto-include on "Commit Project" - correctly check if partial changes are included
2a29c5da255b4c0cf4c5b54a8af745fa77bc3140 follow-up

GitOrigin-RevId: 059a60771457a2a69f3c6903afd8e2498daaa210
2019-07-02 06:52:16 +03:00
Konstantin Kolosovsky f6ea38766e vcs: Do not include changed blocks into commit by default
* existing changes are not included by default on project open
* unmodified files are not included after first modification

GitOrigin-RevId: 98f428e3f64e304a568ef6a11a9975de8fcbf923
2019-07-02 06:52:16 +03:00
Konstantin Kolosovsky 5a994ff593 vcs: Do not auto-include all left changed blocks after non-modal commit
GitOrigin-RevId: 390c6601b12aae4eb2f3fa8aa18deda6a2aa3d94
2019-07-02 06:52:16 +03:00
Konstantin Kolosovsky 66db99aecd vcs: Allow excluding changed blocks from non-modal commit (IDEA-215860)
GitOrigin-RevId: 7a12b6dbe3823693cc14092c3dedc23ca716a5f3
2019-07-02 06:52:16 +03:00
Konstantin Kolosovsky 3fdee6712b vcs: Make actions in partial diff tool to not change "exclude from commit" state for blocks from other change lists
"Include/Exclude All" checkbox, "Include Only These Lines into Commit" action

GitOrigin-RevId: 187e30410a15c40f15239d08379e449ba438034e
2019-07-02 06:52:16 +03:00
Konstantin Kolosovsky c122a4ceb8 vcs: Convert "PartiallyExcludedFilesStateHolder" to kotlin
GitOrigin-RevId: 42fa1db97d081f733595017055ab27c8efac22c6
2019-07-02 06:52:16 +03:00
Konstantin Kolosovsky 5d54192bbf Rename .java to .kt
GitOrigin-RevId: e7f1d7bb850afae389df738c85b2399c46feea46
2019-07-02 06:52:16 +03:00
Konstantin Kolosovsky 27548eefc9 vcs: Refactor "MultipleLocalChangeListsBrowser" - provide custom "InclusionModel" instead of custom "ChangesTree"
GitOrigin-RevId: 9f367ca795be0759f7f0108b984f569e892bd8e1
2019-07-02 06:52:16 +03:00
Konstantin Kolosovsky 8bce6cb5fe vcs: Refactor "MultipleLocalChangeListsBrowser" - remove deprecated "TreeUtil.invalidateCacheAndRepaint()" usage
Currently trees correctly handle nodes with changing sizes - see "LafManagerImpl.patchTreeUI()"

GitOrigin-RevId: e090a3542a7a4123f1aca3e39d969d56edb5af4e
2019-07-02 06:52:16 +03:00
Konstantin Kolosovsky 918c5c6728 vcs: Refactor "ChangesTree" - delegate inclusion-related logic to "InclusionModel" implementation
GitOrigin-RevId: 53928b19d39d65793f8d400f4bdc173b9b0c9a39
2019-07-02 06:52:16 +03:00
Konstantin Kolosovsky ebba4bd9ea vcs: Refactor "ChangesTree.setIncludedChanges()" - call inclusion listener
I've checked usages, inclusion listeners:
* do not call "setIncludedChanges()" inside
* do not have complex/performance-critical logic that can be affected by additional listener call
So the change should be safe.

GitOrigin-RevId: 639e50d56d83ff1372f5ca2ff5caa7d3568381b7
2019-07-02 06:52:16 +03:00
Konstantin Kolosovsky e15afc8c96 vcs: non-modal: Show number of changed blocks to commit for partial changes in Local Changes tree
GitOrigin-RevId: 34d3f5c917327079b85d14e73226117b6d329a02
2019-07-02 06:52:16 +03:00
Konstantin Kolosovsky c86ca18257 vcs: Convert "RemoteStatusChangeNodeDecorator", "ChangeListRemoteState" to kotlin
GitOrigin-RevId: ef3c1d96b4b106ca9c346bd58e39d71dfc348dc7
2019-07-02 06:52:16 +03:00
Konstantin Kolosovsky db63c5679d Rename .java to .kt
GitOrigin-RevId: d77f5c2b3572e56639b20b10ccca2ace612c9872
2019-07-02 06:52:16 +03:00
Konstantin Kolosovsky 0a62c9b8c2 vcs: Refactor "ChangeNodeDecorator" - @NotNull, fix warnings
GitOrigin-RevId: b77d29414d03ef9f6976157750da2fd6b605f9d5
2019-07-02 06:52:16 +03:00
Konstantin Kolosovsky 6efb61ec95 vcs: non-modal: Show "exclude changed block from commit" checkboxes in Local Changes diff preview and diff actions
GitOrigin-RevId: 1040d955ec6b4fb84d506d470843fd032368bc23
2019-07-02 06:52:16 +03:00
Kirill Likhodedov b33167ce27 git: support any action in git interactive rebase, not just predefined ones: IDEA-216247
1. To fix IDEA-216247 we could add newly introduced 'label', 'reset' and 'merge' actions, but probably we don't really want them available through the UI, so additional code would be required to filter them from the UI.

2. It is useful to understand any action if Git will add more in future: throwing an error and replacing an unknown action with PICK is not an option and just breaks the program.

GitOrigin-RevId: f5e71b7bdb1aae1d5fad3c76fa7f93d02683d2c4
2019-07-02 06:52:16 +03:00
Kirill Likhodedov deed811cc0 git: convert to kotlin
GitOrigin-RevId: ce9f5796abc4317882a2b9e996654bee43c7c76c
2019-07-02 06:52:16 +03:00
Kirill Likhodedov f2a75a665f Rename .java to .kt
GitOrigin-RevId: 8b1df86b045dbea06c20a125b757af316215b5ea
2019-07-02 06:52:16 +03:00
Kirill Likhodedov 47ac43d15a git: cleanup: add NotNulls
GitOrigin-RevId: c4493534c5e799c933d20fff33cfe8e1dc040996
2019-07-02 06:52:16 +03:00
Kirill Likhodedov 6ac5d0285b git: cleanup: simplify GitRebaseEntry.setAction: use NotNull annotation instead of explicit assertion
GitOrigin-RevId: 3e54c2b450d3e923525f6932ff7ca37b2761f085
2019-07-02 06:52:16 +03:00
Kirill Likhodedov 6b6a3ebb99 git: cleanup: remove trivial javadocs
GitOrigin-RevId: 6f0a895413445970d21cc474cf925f14770fbe0d
2019-07-02 06:52:16 +03:00
Kirill Likhodedov b719e2241d git: replace '--preserve-merges' with '--rebase -merges' for Git >= 2.22: IDEA-216247
Not only the parameter became deprecated, but also a custom core.commentChar is not supported with '--preserve-merges' anymore.

GitOrigin-RevId: 24c336e752935cbbc69cb91f50d02dfc943c0669
2019-07-02 06:52:16 +03:00
Kirill Likhodedov 59dc540043 git: fix the focus in Show Diff with Branch dialog: IDEA-216227
Disabling all components recursively led to the fact that the focus owner has been cleared (see Component#disable()). To fix this disable/enable only the swap button.

GitOrigin-RevId: 44ad735eff52ca51cc3cc35baa4cd8cc6507f171
2019-07-02 06:52:16 +03:00
Kirill Likhodedov 83a1151954 git: set more correct component as the preferred focus component
Relates to IDEA-216227

GitOrigin-RevId: 02d10927f8bb175661414bebeb2b4def5cfcda8d
2019-07-02 06:52:16 +03:00
Alexander Zolotov eaf0ad2dee Rename field
GitOrigin-RevId: 3694f1cfeb86ef48b9867ae74ddd352acd22272a
2019-07-02 06:52:16 +03:00
Alexander Zolotov 391bda1c4b Update color schemes
- support the new Go colors

GitOrigin-RevId: 4ecd779a6ceae3f36b60c6656d9ff819fe844f89
2019-07-02 06:52:16 +03:00
intellij-monorepo-bot 6e55a5d3e3 adapt test data to get the same and stable results with both javac6 and javac11
GitOrigin-RevId: 54f46ef3a7198e74af9088e52a57420c27fe0b2f
2019-07-02 06:38:33 +03:00
Svetlana.Zemlyanskaya 50dad46e47 FUS: report if automatic update is enabled
GitOrigin-RevId: 327e90035b69ff60900caebe8bb47ac3b86f86c7
2019-06-16 08:21:24 +03:00