Commit Graph
214906 Commits
Author SHA1 Message Date
Anna.Kozlova 36b1e622eb inference: skip bounds checking for captured fresh variables (IDEA-187943) 2018-03-08 19:06:30 +01:00
Anna.Kozlova e3f50d46d5 preserve annotation attributes on override (IDEA-187940) 2018-03-08 19:06:30 +01:00
Roman Shevchenko 156b436799 [java] parses local-var syntax for lambda parameters (IDEA-187804) 2018-03-08 18:14:26 +01:00
Artem Khvastunov 8c5ebc6aca add NavigatablePsiElement.EMPTY_NAVIGATABLE_ELEMENT_ARRAY 2018-03-08 17:47:05 +01:00
Artem Khvastunov 0e83551199 add NavigatablePsiElement.EMPTY_ARRAY 2018-03-08 17:23:22 +01:00
peter 191bc0b81f don't execute more performance test iterations than needed 2018-03-08 16:31:38 +01:00
Roman Shevchenko 15f6773208 Cleanup (warnings) 2018-03-08 16:28:31 +01:00
peter 7cba7ba21e IDEA-187753 Duplicate annotation in compiled class when Nullable / NotNull Problems inspection is enabled with custom NonNull annotation 2018-03-08 16:15:47 +01:00
peter 7bab6026e6 don't fail if a non-last iteration of a performance test took <110% time 2018-03-08 15:10:58 +01:00
Roman Shevchenko 5442595691 [util] turns contract assertion into IAE
... to make it independent of JVM flags
2018-03-08 13:43:51 +01:00
Roman Shevchenko e1f3f0e33d Merge remote-tracking branch 'origin/master' 2018-03-08 13:33:57 +01:00
Roman Shevchenko d8bdca66b5 [java decompiler] unnecessary rethrow (IDEA-187608; EA-81800)
No need to propagate ThreadDeath here - the thread is going to finish anyway.
2018-03-08 13:33:07 +01:00
Roman Shevchenko a1f988edf5 [java decompiler] restores IE/PCE propagation through the main thread (IDEA-187608) 2018-03-08 13:13:39 +01:00
Yann Cébron b84d39eef3 Revert: IDEA-181529 return last selected editor before others
IDEA-CR-30306
2018-03-08 12:28:55 +01:00
Anna.Kozlova 877b2424ce inference: don't process lambda return expressions for void return type
those lambda return expressions can't influence containing call inference according to lambda constraint; which means that no additional inference variables could be propagated during inference process hence exception constraints could operate with proper types which are in fact type parameters - which would lead to unhandled exceptions on the top level (IDEA-187930)
2018-03-08 11:53:52 +01:00
Roman Shevchenko 2505fc4cfa Cleanup (warnings; formatting) 2018-03-08 11:46:00 +01:00
Ivan Semenov 39452636c5 Use Git from PATH in tests 2018-03-08 13:24:42 +03:00
Dmitry Jemerov d58d4ccd5f Allow passing null Presentation to AnActionEvent.createFromInputEvent() 2018-03-08 10:42:11 +01:00
Michael Golubev 8eddbb3fdb fixed possible IAE for @NotNull component in FocusManager#requestFocus
- better fix for IDEA-187015, followup for IDEA-CR-30379
2018-03-08 10:39:15 +01:00
Dmitry Jemerov a238004959 Revert API for accessing LineMarkerInfo from RangeHighlighter 2018-03-08 10:29:02 +01:00
Dmitry Jemerov 815d14e153 Don't extend ProgressIndicatorBase in base CompletionProcess implementation 2018-03-08 10:29:02 +01:00
Dmitry Jemerov b7fc354b0b Provide API for creating CompletionParameters instance 2018-03-08 10:29:02 +01:00
Vladimir Krivosheev c24a3562a5 fix compilation, take 2 2018-03-08 09:21:45 +01:00
Vladimir Krivosheev dc5c8c26ba fix compilation 2018-03-08 08:38:20 +01:00
Vladimir Krivosheev 6a29cee474 reduce direct usages of myFilesToDelete 2018-03-08 08:12:01 +01:00
Vladimir Krivosheev c44e1c3e42 reduce direct usages of myFilesToDelete 2018-03-08 08:12:00 +01:00
Vladimir Krivosheev 4bfaf51e7c access to myFilesToDelete should be not static 2018-03-08 08:12:00 +01:00
Vladimir Krivosheev 5f4af982f6 change level "state changed after load" from warn to debug until known cases is not fixed 2018-03-08 07:58:39 +01:00
Ilya.Kazakevich 4dd92e6b11 PY-28848: Complete python modules in PySymbolFieldWithBrowseButton
If we have no qualified name yet we still provide list
of all possible modules (files and packages with __init__.py) found in module or project and sdk roots.

There is also refactoring that adds extension methods both to VirtualFile and PsiFileSystemItem to check if one is python module. Former does not use latter because of performance.

This functionality is enabled for flask, tests, and plain python script
2018-03-08 01:20:17 +03:00
andrey zaytsev 5fe36ee066 Merge branch 'master' of git.labs.intellij.net:idea/community 2018-03-08 00:38:55 +03:00
andrey zaytsev 7f87c20288 Intentions: assert the hint is closed only when there is nothing to show in it 2018-03-08 00:38:20 +03:00
peter 34a8d36e36 avoid temporary StringRef allocations while deserializing stubs 2018-03-07 21:40:14 +01:00
peter a0b5350064 an API to avoid temporary StringRef allocations while deserializing stubs 2018-03-07 21:39:50 +01:00
Sergey Ignatov d196c775ed go to action: don't repaint popup which is already closed 2018-03-07 22:24:08 +03:00
Daniil Ovchinnikov 3bcf8658c8 [groovy] clean up 2018-03-07 21:50:32 +03:00
Daniil Ovchinnikov 72d7341025 [groovy] remove unnecessary myIsPartOfFqn logic
This case is handled in
GrReferenceResolveRunnerKt#resolveReferenceExpression before even
resolve processor is created.
2018-03-07 21:50:32 +03:00
Eldar Abusalimov 3d76992416 xdebugger: (testing) Invoke Promise.getBlocking() outside write action 2018-03-07 21:27:48 +03:00
Sergey Ignatov c814091777 move jsp tests into java ee tests group 2018-03-07 20:24:50 +03:00
Alexander Lobas e7f2eed81f IDEA-186805 Rework plugin page for settings dialog 2018-03-07 20:19:58 +03:00
Sergey Malenkov a1376e2531 IDEA-181529 return last selected editor before others 2018-03-07 20:10:54 +03:00
Sergey Malenkov 8e7e6dad7c IDEA-181529 remove redundant code and simplify MySelectInContext 2018-03-07 20:10:54 +03:00
peter 3856b513ff use less memory for PSI stubs
Instead of many lists with children in each parent,
store children in one list and store index+length of the sub-lists.

Reuse DFS-ordered "plain list" where possible

Pack element types into shorts
2018-03-07 18:05:30 +01:00
Daniil Ovchinnikov 48ce53a937 [groovy] fix IDEA-176850
Before the change all reference expressions inside closures were
resolved against that closure delegation strategy. In case of original
issue that strategy was DELEGATE_ONLY, so reference resolution stopped
after processing the delegate and it never got to process imports,
inners classes and so on.

After the change reference expressions that are not resolved to a
variable are then tried to resolve to a class by its simple name,
reusing logic from code reference resolution.
The same happens in groovy own ResolveVisitor.
2018-03-07 19:51:14 +03:00
Daniil Ovchinnikov 8308d4cc10 [groovy] pass import via resolve state into processor 2018-03-07 19:51:14 +03:00
Semyon Proshev 222cb0d70e Don't use resolve while evaluating expressions for CFG 2018-03-07 19:21:54 +03:00
Roman Shevchenko 2922e896ec [ui] creates desktop entry/launcher script in background (IDEA-187443) 2018-03-07 17:06:18 +01:00
Anton Tarasov 265e8bdd46 Updating versions of project dependencies: jdkBuild->u152b1153.6
Anton Tarasov
2018-03-07 19:00:16 +03:00
Dmitry Trofimov 5156f3d7f8 Add Mac keyboard layout customization (PY-28859) 2018-03-07 16:58:32 +01:00
Dmitry Trofimov c59ecf25d8 Add setting for default project directory (IDEA-84622) 2018-03-07 16:52:37 +01:00
nik 7f7388619f platform: support several primary IDE languages (IDEA-CR-30098) 2018-03-07 18:17:24 +03:00