Commit Graph
237231 Commits
Author SHA1 Message Date
Artemiy Sartakov d84df5cee5 Inlining action: show conflict if replacement variable changes before last read of original variable (IDEA-204546) 2019-01-14 15:37:30 +07:00
Vladimir Krivosheev a0477eb7c7 cleanup (rename) 2019-01-14 08:11:24 +01:00
Vladimir Krivosheev c5e246530b ComponentStore itself uses transactions to commit components and flush on disk (if VFS is used) 2019-01-14 08:11:24 +01:00
Tagir Valeev b99b742f41 ImportHelperTest => LightDaemonAnalyzerTestCase 2019-01-14 13:23:33 +07:00
Tagir Valeev 7682660a3b JavaExternalDocumentationTest => LightPlatformTestCase 2019-01-14 12:00:52 +07:00
Tagir Valeev 4c4233c17c GenerateJavadocTest => LightCodeInsightTestCase 2019-01-14 11:48:16 +07:00
Tagir Valeev 5166ad7ad8 ExternalAnnotationsManagerTest => LightPlatformTestCase 2019-01-14 11:24:51 +07:00
Tagir Valeev 91041312b4 DfaBinOpValue: NPE fixed 2019-01-14 10:34:39 +07:00
Tagir Valeev 815dda57fb MismatchedArrayReadWrite: do not consider compound assignments/increments as reads (IDEA-CR-41955) 2019-01-14 10:04:23 +07:00
Tagir Valeev 8b9b61b804 MakeCallChainIntoCallSequenceIntention: declare methods as private static (IDEA-CR-40856) 2019-01-14 09:54:49 +07:00
Tagir Valeev 7335914298 StackTraceLine: remove unnecessary condition 2019-01-14 09:49:15 +07:00
Tagir Valeev e652cc3b6f DFA: support of arithmetic no-ops (*1, /1, >>0, etc.) 2019-01-14 09:43:19 +07:00
Sergey Simonchik 997d65caac terminal: fix persistent tabs - do not close tabs from confirmation listener 2019-01-14 01:13:05 +03:00
Sergey Simonchik 51897abbd8 terminal: do not show confirmation dialog if terminal was moved to editor 2019-01-14 01:11:55 +03:00
Vladimir Krivosheev b0bf30daba SaveAndSyncHandlerImpl does implicit saving documents, so, we MUST pass this flag 2019-01-13 13:52:26 +01:00
Vladimir Krivosheev 14ee6bf912 remove removeActivityListener — use Disposable instead 2019-01-13 13:29:37 +01:00
Vladimir Krivosheev b4052d029b save in pooled thread (under store.save.in.pooled.thread flag) 2019-01-13 13:10:37 +01:00
Vladimir Krivosheev 67f0d0c08a add FrameStateListener message bus topic (part 2) 2019-01-13 11:58:07 +01:00
Vladimir Krivosheev e2070317d4 openInBrowser — save only project documents, not the whole app 2019-01-13 09:35:34 +01:00
Vladimir Krivosheev 95be479923 do not use app.saveAll() — use implementation method directly
Later implementation method will be modified to do save in pooled thread anyway.
2019-01-13 09:16:30 +01:00
Vladimir Krivosheev 9926cce708 add FrameStateListener message bus topic 2019-01-12 21:17:18 +01:00
Vladimir Krivosheev abc15c74cd Rename .java to .kt 2019-01-12 21:17:18 +01:00
Vladimir Krivosheev f73755001c flush on disk committed module components state in the same write action as for project components
SaveResult introduced because coroutines can executes on different threads — so, lock free approach is used (coroutine returns own result and it's appended to total result (synchronously, for simplicity, because it is enough and no need to complicate))
2019-01-12 20:41:33 +01:00
Bas Leijdekkers 12efe3a3e7 SSR: match lambda's and method references on functional interface type (IDEA-203929) 2019-01-12 15:42:03 +01:00
Bas Leijdekkers b1bd00bdc1 simpler way to get start and end of line (IDEA-CR-41973) 2019-01-12 15:42:03 +01:00
Bas Leijdekkers 756e7fb607 SSR: load filter values before adding listeners to prevent modifying values (IDEA-205240) 2019-01-12 15:42:03 +01:00
Sergey Simonchik 7167d943d1 keep the same order (T object, Disposable parent) in constructor and createNewWrapper 2019-01-12 14:32:50 +03:00
Vladimir Krivosheev d51cae1ca0 one undo transparent action and write action for all store save sessions 2019-01-12 10:42:00 +01:00
Vladimir Krivosheev 4399e4fb19 cleanup (import) 2019-01-12 10:42:00 +01:00
Vladimir Krivosheev c835a02c9f no need to use absolute file 2019-01-12 10:42:00 +01:00
Vladimir Krivosheev f62f48c03f cleanup 2019-01-12 10:42:00 +01:00
Gregory.Shrago a1549b6146 minor 2019-01-12 07:43:44 +03:00
peter ada3063718 search for implicit toString in smart mode (EA-134097 - INRE: IndexNotReadyException.create) 2019-01-11 20:50:31 +01:00
peter 64d03e68e0 ast DiffTree: don't drill down too deeply to avoid SOE (EA-128679) 2019-01-11 20:39:17 +01:00
peter 4154d65dc2 commit documents to surely update injections when an editor action is about to be invoked (IDEA-CR-41724) 2019-01-11 19:46:33 +01:00
Sergey Karashevich 31a5e43835 [gui-test] remove recent projects config file on restarting IDE (caused by fatal errors) (GUI-233) 2019-01-11 21:22:32 +03:00
Dmitry Jemerov 1233236214 Move registration of JavaSdk[Impl] to a more appropriate location 2019-01-11 19:15:45 +01:00
Alexander Lobas 66a7610207 IDEA-204927 Please add a way to determine when the user has resized the components in a ThreeComponentsSplitter 2019-01-11 21:10:52 +03:00
Rustam Vishnyakov 0fb69f39fd Cleanup 2019-01-11 20:46:47 +03:00
Dmitry Jemerov ef1a50151c Lookup API for new implementation of completion in Centaur 2019-01-11 18:19:15 +01:00
Dmitry Jemerov d013a32191 Allow invoking code completion actions on invisible editor in headless environment 2019-01-11 18:18:30 +01:00
Dmitry Jemerov 145143d11c Restore base action mechanism; create code completion handler correctly when action has been overridden 2019-01-11 18:18:30 +01:00
Vladimir Krivosheev f722dafe32 KeePass — nullize user name otherwise if empty value specified as CredentialAttributes it cannot be later retrieved 2019-01-11 18:10:58 +01:00
Vladimir Krivosheev 863fca645a get rid of getOrCreateEntry to make code more clear 2019-01-11 17:45:10 +01:00
Vladimir Krivosheev 81cdb40c41 get rid of getOrCreateEntry to make code more clear 2019-01-11 17:42:41 +01:00
Vladimir Krivosheev 697254ebba simplify DefaultProjectStoreTest, use coroutine instead of invokeAndWaitIfNeed 2019-01-11 17:09:00 +01:00
Vladimir Krivosheev 76995cb5a2 simplify — get rid of ComponentManager.saveStore test-only extension method 2019-01-11 17:09:00 +01:00
Vladimir Krivosheev f2e17f1c69 introduce ChildlessComponentStore to make sure that ApplicationStore or ProjectStore will not call incomplete doSave implementation
(because these stores combine several calls for better control/async instead of simple sequential delegation)
2019-01-11 17:09:00 +01:00
Vladimir Krivosheev b4f5479d06 save settings - async flush on disk (part 2 - fix failing tests due to missed call to saveSettingsSavingComponentsAndCommitComponents) 2019-01-11 17:09:00 +01:00
Vladimir Krivosheev f443dce6a3 ICS — use coroutines instead of invokeAndWaitIfNeed/runWriteAction (part 2) 2019-01-11 17:08:59 +01:00