Commit Graph
183274 Commits
Author SHA1 Message Date
peter 020d2e48ad simplify PermanentDeleteFix (IDEA-CR-15631) 2016-11-11 13:21:58 +01:00
peter bf751398fb remove obsolete no-write-action assertion from DialogWrapper (IDEA-CR-15644) 2016-11-11 13:21:58 +01:00
peter f82b25c8d9 use identity map when inspecting lookup item weights (EA-90364 - INRE: FileBasedIndexImpl.handleDumbMode) 2016-11-11 13:21:58 +01:00
Vladimir Krivosheev c04619f105 model commit should only fire changes, but to not add scheme — it is pointless 2016-11-11 13:19:50 +01:00
Anna.Kozlova 9615755678 fix testdata 2016-11-11 12:59:34 +01:00
Anna.Kozlova 29b96470b4 inplace change signature: ensure detached/keep track of document change offset being invalidated by consequence changes 2016-11-11 12:46:01 +01:00
Anna.Kozlova 285a6c9437 EA-91567 - PIEAE: PsiInvalidElementAccessException.createByNode 2016-11-11 12:46:01 +01:00
Alexey Kudravtsev b83889a4b4 IdentityFilePointer should be removed from myUrlToIdentity cache on dispose 2016-11-11 14:00:11 +03:00
Alexey Kudravtsev 97e38ad11d cleanup 2016-11-11 14:00:11 +03:00
Roman Shevchenko f497719e14 [tests] additional test case for for update targeting 2016-11-11 11:55:39 +01:00
Tagir Valeev b63b631e60 IDEA-163810 Please make shorter "Anonymous type can be replaced with lambda using factory method.." inspection name 2016-11-11 17:40:29 +07:00
Dmitry Trofimov f9e45bd128 Merge remote-tracking branch 'origin/master' 2016-11-11 11:33:00 +01:00
Dmitry Trofimov dd1d4ce973 Take XDG_CONFIG_HOME value from EnvironmentUtil.getEnvironmentMap() 2016-11-11 11:32:33 +01:00
Dmitry Trofimov 2e0493fcb3 Merge remote-tracking branch 'origin/master' 2016-11-11 11:31:11 +01:00
Egor.Ushakov de4ecc0117 IDEA-163730 Incorrect value of logic operation stringVar == "value" - cache string literal references on our side 2016-11-11 13:30:40 +03:00
Dmitry Trofimov ed041ba13a Take ZDOTDIR value from EnvironmentUtil.getEnvironmentMap() (IDEA-162571) 2016-11-11 11:30:04 +01:00
Tagir Valeev ec55819285 PsiTypesUtil: reverted erroneous changes in getExpectedTypeByParent (IDEA-CR-15590) 2016-11-11 17:19:40 +07:00
Anna.Kozlova d7485f0574 temp reject inplace change signature for super methods 2016-11-11 10:13:43 +01:00
Anna.Kozlova 48e0c75818 migrate to junit 5: collapse with static import if assertion was statically imported (IDEA-163650) 2016-11-11 10:13:43 +01:00
peter 905e2faabc prohibit dialogs and other swing events under write action 2016-11-11 07:53:29 +01:00
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