Commit Graph
183254 Commits
Author SHA1 Message Date
Tagir Valeev 0fa3853dfb IDEA-163767: fixed for assignment, tests for assignment and ternary 2016-11-11 13:24:09 +07:00
Tagir Valeev 1d74e0af9d IDEA-163767 Simplify optional.isPresent() inspection doesn't suggest simplify trivial case 2016-11-11 13:14:55 +07:00
Tagir Valeev 9fe8c96b78 OptionalUtil#getMapTypeArgument: check nulls; remove 0-arg check 2016-11-11 12:02:36 +07:00
Tagir Valeev 7e574d661c IDEA-163764 "Replace Optional.isPresent() checks with functional-style expressions" create uncompilable code
IDEA-163463 Stream API migration: type argument before map appears sometimes when it's unnecessary
2016-11-11 11:28:44 +07:00
Tagir Valeev 67c4dfb483 Moved TypeUtils#getMethodReturnType -> PsiTypesUtil; used in LambdaUtil#getFunctionalInterfaceType amd PsiTypesUtil#getExpectedTypeByParent (IDEA-CR-15590) 2016-11-11 10:23:15 +07:00
Gregory.Shrago 793a8df8d0 IDEA-161375 What is Pin Active Tab doing here? 2016-11-11 03:07:20 +03:00
Yann Cébron c26539433c [groovy] convert DynamicManager from project component to service #2
fix DynamicManagerImpl registration
2016-11-10 21:49:47 +01:00
Julia Beliaeva 8fb153f17d [vcs-log] remove deleted action from vcs-log.xml 2016-11-10 23:26:06 +03:00
Daniil Ovchinnikov 9e41ec1bf8 [groovy] convert DynamicManager from project component to service 2016-11-10 22:40:27 +03:00
Daniil Ovchinnikov 254206128d [groovy] do not use templates to create new file in Move Class 2016-11-10 22:33:26 +03:00
Anna.Kozlova 71d9282b6c cascade safe delete/make static: don't start for methods with overriders (IDEA-162814) 2016-11-10 19:10:39 +01:00
Anna.Kozlova 127d27e479 EA-91530 - CCE: JavaVariableConflictResolver.resolveConflict 2016-11-10 19:10:39 +01:00
Alexander Lobas c58b351b6a IDEA-163826 New > GUI Form entering name containing space just closes dialog 2016-11-10 20:56:14 +03:00
Julia Beliaeva 788a95ba18 [vcs-log] grey labels text color 2016-11-10 20:28:26 +03:00
Julia Beliaeva d73863885c [index] minor: myIndexId is always not null
myIndexId assigned from extension.getName(), which is not null.
2016-11-10 20:12:25 +03:00
Julia Beliaeva 03507e0515 [vcs-log] messages version also should depend on VcsLogStorage version, since it uses commit ids 2016-11-10 20:12:25 +03:00
Julia Beliaeva 91c7d97f09 [vcs-log] keep indexes in one folder
Introduce new storage scheme: keep indexes in index/<project-log-id>.<index-id>.<version>
2016-11-10 20:12:25 +03:00
Julia Beliaeva 8a6c07f91e [vcs-log] minor: inline parameter that is never changed 2016-11-10 20:12:25 +03:00
Julia Beliaeva 32e141ef1b [vcs-log] inputs index is not needed in log
* InputsIndex is null for log indexes.
* Common persistent set is used for keeping indexed status.
* Remove myEmptyCommits from paths index and myNoTrigramsCommits from trigrams index. Commits with no paths or no trigrams wont be re-indexed now since they will be stored in the persistent set.
* Remove PrintIndexInfo action, not very useful and used for debug.
* Rewrite create/dispose code for indexes. Each constructor now throws an exception if something's wrong and all indexes are cleaned-up and recreated together if it is.
2016-11-10 20:12:25 +03:00
Julia Beliaeva 0ff6d44aa7 [vcs-log] extract requestRebuild and overwrite it in log indexes to not use FileBasedIndex 2016-11-10 20:12:25 +03:00
Julia Beliaeva 06994471b5 [index] MapReduceIndex does not necessarily have inputs index
Add some Nullable annotations, fix possible NPE.
2016-11-10 20:12:25 +03:00
Julia Beliaeva a0f3556ad4 [vcs-log] use enumerators instead of maps for keeping commit sets
For keeping commits without changed paths or commits without trigrams set-like structure is sufficient. So PersistenceSet interface is created to represent such a structure with an implementation based on PersistentBTreeEnumerator. This allows to reduce the amount of occupied disk space.
2016-11-10 20:12:25 +03:00
Julia Beliaeva fc07c93a19 [vcs-log] replace flush after indexing each commit batch with single flush in the end 2016-11-10 20:12:25 +03:00
Dmitry Trofimov 28ee04d1a2 Merge remote-tracking branch 'origin/master' 2016-11-10 18:06:22 +01:00
Dmitry Trofimov 23bcfd105e Fix resource path for IDEA-147703 2016-11-10 18:03:25 +01:00
peter 613c65bda9 make some quick fixes not require write action 2016-11-10 17:55:08 +01:00
peter e3f78ab772 remove unused PriorityLocalQuickFixWrapper 2016-11-10 17:55:07 +01:00
peter 4717e7d08e remove invalid external annotation entry from Iterable (IDEA-CR-15615) 2016-11-10 17:55:06 +01:00
peter 88c6ee1eb3 AntChangeContextFix doesn't need write action 2016-11-10 17:55:06 +01:00
peter 616eb7ec4f async console filters: detect line removal earlier, allocate less memory (IDEA-163771) 2016-11-10 17:55:05 +01:00
Anna.Kozlova edc467316a remove empty overrider 2016-11-10 17:47:28 +01:00
Anna.Kozlova fd89b0ed18 introduce variable: distinguish lambda parameters but allow param free expressions (IDEA-163785) 2016-11-10 17:47:28 +01:00
Egor.Ushakov 8c4e0bb450 IDEA-163825 Smart step variants from another line 2016-11-10 19:38:01 +03:00
Dmitry Trofimov e2f2614648 Merge remote-tracking branch 'origin/master' 2016-11-10 17:35:43 +01:00
Dmitry Trofimov 36f2ed5d5a Provide fish shell integration with the terminal (IDEA-163063) 2016-11-10 17:34:46 +01:00
Daniil Ovchinnikov 070546e3e1 [groovy] organize file templates 2016-11-10 19:03:22 +03:00
Daniil Ovchinnikov 7c07796438 [groovy] move GrReferenceResolveRunner to *.resolve package 2016-11-10 19:03:22 +03:00
Vladimir Krivosheev eb705f4a90 remove by instance to ensure that renamed profile is not deleted 2016-11-10 16:37:32 +01:00
Vladimir Krivosheev 536ca45deb extract InspectionProfileModifiableModel
introduce modifyAndCommitProjectProfile
use only and only modifyProfile and do not directly create modifiable model
2016-11-10 16:37:32 +01:00
Vladimir Krivosheev 56f54836ae cleanup 2016-11-10 16:37:31 +01:00
Dmitry Trofimov ba7140b0a0 Merge remote-tracking branch 'origin/master' 2016-11-10 16:20:59 +01:00
Dmitry Trofimov 8d1b80c77d Send correct Home/End key sequences in application keypad mode (IDEA-118848) 2016-11-10 16:20:18 +01:00
Maxim.Mossienko f3465ee484 check for file validness before acquiring its stampt 2016-11-10 16:07:52 +01:00
Dmitry Avdeev 93e379a413 EA-88507 - IAE: CollapseTagIntention.a 2016-11-10 18:05:13 +03:00
Rustam Vishnyakov d1fdf69d47 Support indent after comma in parameter lists 2016-11-10 18:00:14 +03:00
Denis Fokin 48c061965f IDEA-155785 Lots of IllegalStateException: cannot open system clipboard in the log 2016-11-10 17:56:53 +03:00
Dmitry Avdeev e1f621b96d EA-90501 - NPE: SchemaReferencesProvider.createTypeOrElementOrAttributeReference 2016-11-10 17:49:09 +03:00
Mikhail Golubev cece70da00 PY-21246 Properly wrap injected expressions in parentheses inside f-strings 2016-11-10 17:13:28 +03:00
Mikhail Golubev a286cc91e0 Pull getAutoPosition() up to PyStringFormatParser#SubstitutionChunk
It allows not to pass index explicitly every time one needs to create
PySubstitutionChunkReference from a chunk.
2016-11-10 17:13:28 +03:00
Mikhail Golubev af120efee4 Split PyConvertToFStringIntention into several classes 2016-11-10 17:13:28 +03:00