Commit Graph
224192 Commits
Author SHA1 Message Date
Tagir Valeev be51bc94e1 RedundantCastUtil: some fixes for doubly parenthesized qualifiers 2018-07-09 12:31:42 +07:00
Aleksey Pivovarov c5b0b1e743 IDEA-194895 vcs: do not try to reopen annotations after VCS changes
This is likely to happen during chain vcs operation (ex: git rebase),
causing annotations to load while IDE and VCS are out of sync.
Such annotations cannot be shown correctly, producing confusing error message:
"Number of lines annotated by vcs is not equal to number of lines in the file...".

follow-up: 72ec344b57
2018-07-08 13:27:58 +03:00
Aleksey Pivovarov 07097e9888 IDEA-191307 icons: remove usages of deprecated 'github' icons 2018-07-08 13:08:43 +03:00
Aleksey Pivovarov 480084594d IDEA-191307 icons: update github icon, move it to platform 2018-07-08 13:08:43 +03:00
Kirill Likhodedov f45abc0bc5 vcs: remove unused method from API
This method was moved into API from the GitResolveConflictsAction in 602e6fff, but was forgotten during the multiple files merge dialog rewrite in 37382e7.

In fact there is no need to update repositories after merging files: the state of the repository doesn't change, nothing gets committed, etc.
On the other hand, if merging happens during a rebase or other complex process, a commit does happen, but repositories are updated as a part of that process.
2018-07-08 12:56:18 +03:00
Bas Leijdekkers 2e64f017f8 IG: fix bad performance of ExpressionUtils.isStringConcatenationOperand() 2018-07-07 21:47:00 +02:00
Kirill Likhodedov 16e0ae549b vcs: remove a class used only in a test which tested this class 2018-07-07 11:44:07 +03:00
Kirill Likhodedov 1c16af443e Assign default shortcut for Git | Branches (IDEA-190367)
Alt+Shift+Backquote on Windows/Linux.
Ctrl+B on Mac: was assigned to "EditorLeft" in Emacs-style, but nobody actually uses it.
Emacs keymap has a duplicate definition for this action and shortcut, so it won't be affected.
2018-07-07 11:26:05 +03:00
Ilya.Kazakevich f75d9d803f Check leaks right after test for fast-fail 2018-07-06 23:54:32 +03:00
Ilya.Kazakevich 4039d32479 PY-30563, PY-30768: Support parameter types for behave and pytest-bdd
There are 2 parsers:
* (cf)parse: supports syntax like {paramName:d} or custom types: {paramName:Foo}. Foo must be mapped to real type by behave and pytest-bdd using different approaches.
* re: supports regexp. By default types are strings, but pytest-bdd can match param names to certain types.

And there are 2 frameworks (each of them supports both parsers):
* behave
* pytest-bdd

Parsers are implemented as PyBDDParser inheritors (and called *processors for historical reasons) and by PyBDDMatcher instances.

Frameworks are implemented by PyStepDefinition inheritors.

PyStepDefinition's know to how to:
* fetch type-alias-to-type or argument-name-to-type mappings
* find step definition expression in decorator

Parsers know how to:
* convert step definition to python regexp
* get argument types using information from PyStepDefinition's
2018-07-06 23:27:16 +03:00
Sergey Simonchik 91569e4aa5 correct total tests; update status text on test finished (IDEA-194570) 2018-07-06 23:10:54 +03:00
Bas Leijdekkers 3eb243cfe5 SSR: implement explicit support for repeated variables (IDEA-195166) 2018-07-06 22:00:55 +02:00
Dmitry Jemerov 6051d470a1 Latenciometer: revert accidental change (IDEA-CR-34593) 2018-07-06 19:41:36 +02:00
Dmitry Jemerov 6476a547aa Latenciometer: move actions to correct .xml (IDEA-CR-34593) 2018-07-06 19:39:42 +02:00
Dmitry Jemerov c8a3238b0e Latenciometer: export report to file (IDEA-CR-34593) 2018-07-06 19:32:59 +02:00
Vladislav.Soroka 9f66d94913 IDEA-195196 Gradle: unable to stop import (or task running) until wrapper finished gradle distribution download 2018-07-06 19:59:43 +03:00
Dmitry Jemerov 478a99ae46 Latenciometer shows thread dumps of high latency moments (IDEA-CR-34593) 2018-07-06 18:43:29 +02:00
Julia Beliaeva a816d340a2 [vcs-log] redirect DvcsUtil.getShortHash to VcsLogUtil.getShortHash 2018-07-06 19:32:45 +03:00
Julia Beliaeva 2c38f031dc [vcs-log] bump short hash length in log to 8 2018-07-06 19:32:45 +03:00
Julia Beliaeva d6ab981fde [vcs-log] move HashImpl.toShortString and relevant constants to VcsLogUtil, rename 2018-07-06 19:32:45 +03:00
Roman Shevchenko 3e20b9b5b3 [platform] uses 'python3' for running Unix restarter script (IDEA-193029) 2018-07-06 18:17:34 +02:00
Artem Khvastunov ddd28d2cfd avoid storing values in memory when IndexGenerator.CHECK_HASH_COLLISIONS is on 2018-07-06 18:16:03 +02:00
Anna.Kozlova b84b90637d simplify generate toString (IDEA-194722) 2018-07-06 18:12:07 +02:00
Anna.Kozlova a06125f854 add type cast as fix for unresolved calls (IDEA-185569) 2018-07-06 18:12:07 +02:00
Kirill Smelov 71b0c91882 WI-42780 Allow to disable FQCN autocompletion via registry option 2018-07-06 18:39:57 +03:00
Kirill Likhodedov f9c7999f3a git: capitalize the notification title 2018-07-06 18:34:54 +03:00
Kirill Likhodedov 0e0e998416 git: don't fail to update whole project is some repo can't be updated
For synchronously controlled roots it makes sense to update the project as a whole, so previous behavior (total failure if one of roots is in detached HEAD state or have no tracked branch to update from) is kept for such projects.

However, it is common for non-synced projects (including projects with submodules) to have roots checked out on detached HEAD, such are now just skipped from update.

IDEA-124453, IDEA-193934
2018-07-06 18:29:22 +03:00
Kirill Likhodedov 645dc007ed Let Ctrl+Space be default shortcut for "Make this Changelist Active": IDEA-193296 2018-07-06 18:29:22 +03:00
Dmitry Jemerov d8e7c96fb6 Retype file: use Enter handler correctly (IDEA-CR-34593) 2018-07-06 17:24:46 +02:00
Anton Lobov cdff96b288 IDEA-CR-34581: replace with enum 2018-07-06 17:17:20 +02:00
Roman Shevchenko becba9fca5 Cleanup (warnings) 2018-07-06 16:26:23 +02:00
Mikhail Sokolov 8ab0fb6a74 IDEA-193051 New SE: Correct the size and indents for buttons 2018-07-06 17:10:40 +03:00
Dmitry Avdeev db88379110 android modules names fixed: modules layout fixed 2018-07-06 17:02:02 +03:00
Julia Beliaeva db0e4f1e24 [vcs-log] display short hash in a message even if a long one was specified 2018-07-06 16:36:51 +03:00
Julia Beliaeva cf1a125d1d [vcs-log] better text for not found / not matched commit 2018-07-06 16:36:51 +03:00
Julia Beliaeva a2c8593389 [vcs-log] distinguish nonexistent hashes from unmatched 2018-07-06 16:36:51 +03:00
Julia Beliaeva 0557e7f376 [vcs-log] suggest to open not found commit in new tab 2018-07-06 16:36:51 +03:00
Anna.Kozlova 292e7bfd41 show warning about library source/class difference according to member signatures (IDEA-195153) 2018-07-06 15:31:00 +02:00
Alexander Lobas bfd640095f IDEA-194591 New plugin manager has incorrect window size 2018-07-06 16:18:53 +03:00
Dmitry Avdeev 45b5e4a032 added a stacktrace line to the warning 2018-07-06 16:09:23 +03:00
Vladimir Krivosheev 1d747426ba clear stringIdToBeforeRunProvider on reloadSchemes
MPS registers extension after project open
2018-07-06 15:05:47 +02:00
Dmitry Batkovich f0eb07b534 inspection view: drop problem counter cache if parent node was excluded/included in case of unused declaration inspection 2018-07-06 15:50:58 +03:00
Dmitry Batkovich 981031104d inspection view: drop problem counter cache if node was included/excluded 2018-07-06 15:50:58 +03:00
Alexander Lobas f00ae76c31 fix flashing, next iteration 2018-07-06 15:33:27 +03:00
Dmitry Avdeev 8c1964ed18 android modules names fixed 2018-07-06 15:14:50 +03:00
peter 225637b51b IDEA-192282 PotemkinProgress isn't shown on macOS 2018-07-06 13:31:35 +02:00
Daniil Ovchinnikov 7faefa9b3d [groovy] add property test for incremental lexer 2018-07-06 14:30:00 +03:00
Daniil Ovchinnikov 22b1027d1e [groovy] lexer: encode braces stack with lexical states
Before the change YYINITIAL state was returned from lexer even with non-empty braces stack, which was leading to
different token types after reparse. After the change YYINITIAL is returned only outside of parentheses/brackets.
Also added assertions for ensuring that initial state is never pushed on/popped from states stack.
2018-07-06 14:29:59 +03:00
Daniil Ovchinnikov a843f5cd22 [groovy] lexer: don't reset states and braces stacks in IN_SINGLE_GSTRING state, just pop the state 2018-07-06 14:29:59 +03:00
Tagir Valeev ee605ddc46 AssignFieldFromParameterAction: check whether final field is already initialized 2018-07-06 17:52:50 +07:00