Commit Graph
236910 Commits
Author SHA1 Message Date
Anna.Kozlova 55820ccd15 predict functional type in assignment context (IDEA-199264) 2019-01-07 19:09:17 +01:00
Anna.Kozlova d7e14d75df AIOOBE 2019-01-07 19:09:17 +01:00
Dmitry Jemerov 0c0663530b Load only classes directly under kotlin.reflect from platform classloader (IDEA-CR-34997) 2019-01-07 18:06:37 +01:00
Vladimir Krivosheev b20f02a515 move executeSave to SaveExecutor as it is more suitable place now 2019-01-07 17:06:23 +01:00
Vladimir Krivosheev 516d0efec9 extract ProjectSaveSessionProducerManager 2019-01-07 17:03:59 +01:00
Vladimir Krivosheev e408cc35e8 Windows is not OS, so, disable saveProjectName test on Windows 2019-01-07 17:03:59 +01:00
Vladimir Krivosheev 72cdcec15d require FileStatusManager when need 2019-01-07 17:03:58 +01:00
Vladimir Krivosheev 9ae0e5776e require psiManager when need 2019-01-07 17:03:58 +01:00
Vladimir Krivosheev 7272c19b89 cleanup — remove unused NamedScopeManager param 2019-01-07 17:03:58 +01:00
Dmitry Jemerov c196e66f24 Move createSessionForLookupElement() to ImplementationViewSessionFactory; clarify code (IDEA-CR-41751) 2019-01-07 16:24:50 +01:00
Anna.Kozlova 834f8a5c6a allow classes from default package in code fragment completion (IDEA-200562) 2019-01-07 15:45:56 +01:00
Anna.Kozlova a7bac2c14c coverage: split settings so it's clear what enabled/disabled states are (IDEA-200520) 2019-01-07 15:45:56 +01:00
peter a657af95e8 remove fast stage from action update for now
it seems to help no one unless general timeout is set a low value (which is not the case)
but scheduling a timed future has its cost, quite large on macs and when the number of actions is high (IDEA-204405)
2019-01-07 15:44:12 +01:00
peter aa554a02cd on gist invalidation, drop now potentially wrong PSI caches 2019-01-07 15:44:12 +01:00
Eugene Zhuravlev a0cbea8293 properly set RequestFuture.isDone() flag when cancelling a build waiting in the build queue 2019-01-07 15:30:45 +01:00
Vladimir Krivosheev 1fc3212edd cleanup — move SaveSessionProducer to upper level 2019-01-07 15:27:58 +01:00
Vladimir Krivosheev cf76d743f1 cleanup 2019-01-07 15:27:58 +01:00
Vladimir Krivosheev d63710b315 save modules before saving project
Also, remove not required anymore beforeSave — beforeSaveComponents is enough
2019-01-07 15:27:58 +01:00
Vladimir Krivosheev 6ac5d86ea1 remove extra saveAdditionalComponents — afterSaveComponents is enough 2019-01-07 15:27:58 +01:00
peter beca0b800d extract duplicate into ProgressIndicatorUtils.withTimeout 2019-01-07 14:27:09 +01:00
peter 7a49653542 don't dispose Disposable cached values, since it complicates code and is unreliable anyway 2019-01-07 14:27:09 +01:00
Yann Cébron b37d464e52 [core-api] VirtualFileListener: javadoc cleanup 2019-01-07 14:19:00 +01:00
Yann Cébron b3994eefa0 [editor-ui-api] TreeBasedStructureViewBuilder: javadoc minor 2019-01-07 14:18:59 +01:00
Dmitry Jemerov d5e3f537fd Fix ImplementationViewSession API (IDEA-CR-41751) 2019-01-07 14:15:46 +01:00
Roman Shevchenko 35699447a6 Cleanup (warnings) 2019-01-07 13:59:15 +01:00
Anton Makeev 99b8ac606a Merge branch 'amakeev/pm' 2019-01-07 13:09:18 +01:00
Sergey Patrikeev 7917c04a9a Idea JDK external annotations: reuse notification group and avoid warning being logged. 2019-01-06 22:16:19 +03:00
Roman Shevchenko daf69769ae [project] corrects commons-lang license 2019-01-06 19:55:35 +01:00
Tagir Valeev a48ee49974 IDEA-205011 DFA: limited support for shift-left 2019-01-06 16:18:42 +07:00
Tagir Valeev 725cf20422 IDEA-204917 "Loop can be collapsed with Stream API" creates uncompilable results in some cases
1. Look for references inside IntStream.iterate condition (Java9+)
2. When simplifying IntStream.range(...).map(i -> arr[i]) check if arr expression don't refer to i
2019-01-06 10:25:15 +07:00
Sergey Simonchik 677af06353 terminal: do not ask if sessions is not running 2019-01-06 00:23:20 +03:00
Julia Beliaeva 9f7af28152 [file-history] allow to shrink diff preview panel
IDEA-204999
2019-01-05 20:07:21 +03:00
Roman Shevchenko 9dcc7a5967 [project] turns commons-lang into a module-level runtime dependency
... to discourage it's use in the codebase
2019-01-05 14:16:19 +01:00
Vladimir Krivosheev 40f2d3fd6a IDEA-CR-41536 1. clear string interner on close because thread reused later as part of application pool 2. doesn't make a lot of sense to intern class names 2019-01-05 14:04:06 +01:00
Roman Shevchenko 928d9cf7da [python] migrates IPNB parser to commons-lang3 2019-01-05 13:55:13 +01:00
Roman Shevchenko d75f37fbf8 [project] fixes exclusions in Velocity lib 2019-01-05 13:18:50 +01:00
Roman Shevchenko ea64baf8c8 [project] fixes exclusions in JAXB-runtime lib 2019-01-05 11:43:25 +01:00
Kirill Likhodedov 8ff9289aeb git tests: fix rebase tests for new Git 2.20+
Git 2.20 stopped mentioning a file which needs update if it was edited before `git rebase --continue`
2019-01-05 11:03:36 +03:00
Kirill Likhodedov 273aca3ba8 git tests: fix tests for new Git 2.20+
Since Git 2.20, it is allowed to checkout a new branch from the HEAD (`git checkout -b <branch>`), even if there are unmerged files.

Therefore the "unmerged files" situation doesn't cause an error anymore.

Therefore, to test that a failure is handled correctly, we just make the Git command fail, without producing unmerged files.
2019-01-05 10:29:16 +03:00
Kirill Likhodedov f5668d5358 git tests: simplify comparing content 2019-01-05 10:29:15 +03:00
Tagir Valeev ca37071358 DfaSumValue: negation -> subtraction (IDEA-CR-41771) 2019-01-05 09:13:12 +07:00
Tagir Valeev 1d18ea8b3a IDEA-204868 Loop can be replaced with Arrays.setAll ignores starting index 2019-01-05 09:09:58 +07:00
peter 809f5cbee7 lower expectations for ResolvePerformanceTest 2019-01-04 20:50:56 +01:00
Anna.Kozlova 39aed0475d convert InspectionTestCase to light 2019-01-04 20:06:29 +01:00
Vladimir Krivosheev 04a06b273c mark as Transient to fix warning "no accessors for interface com.intellij.openapi.module.Module" 2019-01-04 20:04:31 +01:00
Roman Shevchenko 3e7b01afe8 [build] drops obsolete classVersions*.txt files 2019-01-04 18:35:38 +01:00
peter 1ddb413043 reparse file after a PSI deletion/replacement which results in whitespaces as outermost children
because reparse from scratch is likely to place those whitespaces somewhere else (e.g. in the parent)
2019-01-04 18:32:08 +01:00
peter 41beeed926 java mad testing: don't expect completions on broken case 2019-01-04 18:32:08 +01:00
Anton Makeev c26fb98cfe CPP-13028 Project model API: Events sending streamlined (and decoupled from legacy Xcode events) 2019-01-04 18:07:31 +01:00
Vladimir Krivosheev 581dd6cbc8 cleanup (rename to make names more clear) 2019-01-04 18:06:24 +01:00