Commit Graph
193821 Commits
Author SHA1 Message Date
Tagir Valeev 54eb5b2d2b IDEA-171854 Suggest replacing boxed compareTo with convenience methods from Java 7 2017-04-24 17:41:21 +07:00
Vladimir.Orlov 7bd221e166 Updater: do not show warning about folders which should be created but already exist.
Patches(specific fix for IDEA 2016.3 -> 2017.1): create or delete/create actions for jre64.
2017-04-24 13:19:20 +03:00
Pavel Dolgov b263e82d09 Java: Inspection that checks if a field or method accessed via reflection does exist and is visible (IDEA-168837) 2017-04-24 13:00:35 +03:00
Aleksey Pivovarov 3b894ac36e EA-100545 - assert: DiffRequestFactoryImpl.getTitle
this commit partially reverts f7618fd096
2017-04-24 12:49:13 +03:00
Vladimir Krivosheev 12326d7748 createTask — add NotNull for runConfiguration 2017-04-24 11:46:08 +02:00
Vladislav.Soroka f1b26e0f18 Gradle: use CompileStatic for SourceSetCachedFinder 2017-04-24 12:30:28 +03:00
Roman Shevchenko bee1175cc2 [java] invalid annotation host diagnostics (IDEA-171737) 2017-04-24 11:02:07 +02:00
nik d4bdcab3c8 build scripts: enable 'nullglob' option in sh scripts
Without this option '*' isn't expanded if nothing matches to the file pattern so the pattern will be passed to 'for' body as is.
2017-04-24 11:55:26 +03:00
Vladimir Krivosheev 2dad252d64 allow to override writeScheme 2017-04-24 10:31:28 +02:00
Tagir Valeev 9f54ca8b27 SimplifyStreamApiCallChainsInspection: replace map with peek: support multiline lambdas (IDEA-CR-20417) 2017-04-24 15:25:38 +07:00
Tagir Valeev 41d910fb2d Fix race conditions in ConstantExpressionVisitor.
When the same condition is concurrently evaluated in two threads, it was possible to get it not evaluated in one of threads:
1. Shared PsiElement user data could be cleared by one thread before used by another
2. Subsequent getCached() calls in visitElement and elementFinished may return null and non-null if value was cached in-between by another thread

This should fix flacky DataFlowRangeAnalysisTest.testLongRangeKnownMethods test as it reason was "Long.MIN_VALUE + 1" is not always calculated to constant expression resulting in different CFG for the same code
2017-04-24 15:25:38 +07:00
Alexey Ushakov 05a83bb49e Updating versions of project dependencies: jdkBuild->u152b837.1
Alexey Ushakov
2017-04-24 11:23:46 +03:00
Anna.Kozlova fe31020c29 fix description file name 2017-04-24 10:10:55 +02:00
nik 783582787a build scripts: fail build if any command in signbin.sh fails (IDEA-171860) 2017-04-24 10:33:48 +03:00
nik 15b1349a45 build scripts: fail build if ssh command failed (IDEA-171860)
Also publish the log file to build artifacts to simplify investigation.
2017-04-24 10:33:48 +03:00
Tagir Valeev 549611092c IDEA-168797 Warn about equals() call on StringBuilder 2017-04-24 12:08:39 +07:00
Vladimir Krivosheev 10df87d7a9 cleanup (lambda) 2017-04-23 09:31:42 +02:00
Vladimir Krivosheev 1933912ec4 IDEA-CR-20496 RunConfigurationBeforeRunProvider now is called for temp RC, so, we must avoid init call 2017-04-23 09:24:54 +02:00
Vassiliy.Kudryashov d9f9fb3bdd IDEA-146563 [regression] Middle-click on editor tabs, only closes one editor, the following middle-clicks are not registered 2017-04-22 14:07:56 +03:00
Vladimir Krivosheev cb37176340 isEditable — default impl returns true 2017-04-22 11:03:24 +02:00
Vladimir Krivosheev 8b03c34001 avoid specific type — use LibraryTable 2017-04-22 11:01:21 +02:00
Vladimir Krivosheev 3569d1ab59 no need to rethrow InvalidDataException as RuntimeException 2017-04-22 10:56:28 +02:00
Vladimir Krivosheev 48171defe3 no need to rethrow InvalidDataException as RuntimeException 2017-04-22 10:52:01 +02:00
Vladimir Krivosheev 0a5e40c54f convert ProjectLibraryTable to kotlin 2017-04-22 10:52:01 +02:00
Vladimir Krivosheev 1eb5e9dbbf convert ProjectLibraryTable to kotlin 2017-04-22 10:52:01 +02:00
Ilya.Kazakevich 9ea403ecb5 PY-23856: Fix for 3.6 (char escaped correctly)
Please pick this commit along with previous PY-23856 or 3.6 would be broken.
2017-04-22 00:59:04 +03:00
Konstantin Bulenkov a9c54cdfd0 cover color gutters functionality in Java by tests 2017-04-21 22:49:23 +02:00
peter 01b3221ffc obey benign race rules in ProgressManager.checkCanceled (IDEA-CR-20502) 2017-04-21 20:34:17 +02:00
Anna.Kozlova 74f5ea3348 junit 5: support implicit conversions, skip checks for explicit conversions 2017-04-21 20:03:27 +02:00
Anna.Kozlova 58fcabfd2b functional interfaces: allow intersection with 2 independent abstract methods with same signature (IDEA-171622) 2017-04-21 20:03:27 +02:00
Anna.Kozlova d680d55c99 register local refs to java if references are registered in literal expression by foreign contributor (e.g. reflection, data providers, etc) (IDEA-171495) 2017-04-21 20:03:27 +02:00
Anna.Kozlova 85cdf34c8a disable import static constant at annotation position 2017-04-21 20:03:27 +02:00
Anna.Kozlova 258d275306 junit 5 malformed parameterized sources inspection 2017-04-21 20:03:27 +02:00
Ekaterina Tuzova 27ad90521f do not store stepic step id in study task manager 2017-04-21 20:31:56 +03:00
Maxim.Mossienko 8906ea39da read action for roots processing (EA-100454) 2017-04-21 19:26:51 +02:00
Roman Shevchenko f415f2dc3c [java] diagnostics (EA-96056) 2017-04-21 19:12:04 +02:00
Egor.Ushakov a00541f7b2 IDEA-149077 Default decompiler is chosen for several classes instead of Fernflower 2017-04-21 20:06:36 +03:00
Daniil Ovchinnikov 06689923ce [groovy] register all type calculators in core environment 2017-04-21 19:20:32 +03:00
Daniil Ovchinnikov 9363519027 [groovy] use type calculator API for index access (IDEA-170732) 2017-04-21 19:20:31 +03:00
Egor.Ushakov 5d17472429 do not process vars if there were errors in the method 2017-04-21 19:18:06 +03:00
Dmitry Batrak dd922ae87b fix caret position relative to hint after nested smart completion 2017-04-21 19:11:14 +03:00
Dmitry Batrak 3840e41483 remove method completion hints if parameter count was changed 'manually' 2017-04-21 19:11:14 +03:00
Ilya.Kazakevich 56e741a29a PY-23856: Support tests with docstring and spaces in target
* Targets are trimmed
* When unittest reports test with docstring it should be part of name, but not location
2017-04-21 19:09:40 +03:00
Valentin Fondaratov 66cce38e53 optimize isHashBangLine
since (i) `#!` prefix is quite rare for the files, and
(ii) check for it is cheap, it makes sense to move the check
closer to the beginning of the method
2017-04-21 19:05:18 +03:00
Kirill Likhodedov ea7482bc2a Don't allow "toggle bookmarks with mnemonic" show popup multiple times
Follow-up to b5addab
Relates to IDEA-169296
Issues found in IDEA-CR-19062
2017-04-21 18:57:26 +03:00
Kirill Likhodedov 63ac6b9135 Show the Bookmarks popup in modal context
Find the focused window, not the main IDE frame.

Useful in diff invoked from the commit dialog.

Follow-up to b5addab
Relates to IDEA-169296
Issues found in IDEA-CR-19062
2017-04-21 18:57:25 +03:00
Kirill Likhodedov 864648f5bd Enable more bookmarks actions in modal context
Useful in diff invoked from the commit dialog.

Follow-up to b5addab
Relates to IDEA-169296
Issues found in IDEA-CR-19062
2017-04-21 18:57:25 +03:00
Elizaveta Shashkova 962903d4c3 Tests: use string presentation for the setup dict 2017-04-21 18:55:29 +03:00
alexey.afanasiev 2a5a845b09 IDEA-168549 Groovy shifted braces placement not shifted 2017-04-21 18:44:57 +03:00
Nicolay Mitropolsky ef0f6edeec ImplicitSubclassInspection and ImplicitSubclassProvider description fixes 2017-04-21 18:36:28 +03:00