Commit Graph
242249 Commits
Author SHA1 Message Date
Tagir Valeev a26ebd6de8 Convert to single return: fix for incorrect code 2019-03-20 10:47:52 +07:00
peter b115bc03d8 revert UnivocityTest idempotence changes, that's too complicated :( 2019-03-19 21:35:20 +01:00
Gregory.Shrago f10c422490 fix the default scopeType, due to the changed Scopes/Dir order 2019-03-19 20:37:14 +03:00
Egor Ushakov c0bf67e1f6 IDEA-209139 - count only methods that do not require a breakpoint 2019-03-19 20:03:15 +03:00
peter 8d29302e3a debug UnivocityTest that can't find project class sometimes 2019-03-19 17:59:15 +01:00
peter ba526bdce5 UnivocityTest: don't leave modified files after test execution 2019-03-19 17:59:15 +01:00
Vladimir Krivosheev ef2ee9683d pass logger to showUserAgreementAndConsentsIfNeeded to reduce getLogger (not because of performance, but to make clear that logger here is required) 2019-03-19 17:55:18 +01:00
Vladimir Krivosheev f3b8bda847 IDEA-CR-45009 IdeaApplication#<init> may be called on a stray thread - calling the same method from different threads makes it less predictable 2019-03-19 17:55:18 +01:00
Nikolay.Rykunov bb40ef98fd [git] readFullDetailsForHashes should do nothing if empty list of hashes is received
If we don't do this check, git provide full history, or error if repository has no commits
2019-03-19 19:37:20 +03:00
Sergey Malenkov eda28fd826 IDEA-206348: do not hide a suggestion by pressing AltGr 2019-03-19 19:24:37 +03:00
anstarovoyt 7237e7e879 js: fix unreachable false positive WEB-33988 WEB-36833 WEB-31327 2019-03-19 18:54:52 +03:00
Nikita Skvortsov aa63414c4a remove project component and replace it with static method call IDEA-CR-41392 2019-03-19 18:52:33 +03:00
Daniil Ovchinnikov 335d99eba3 cleanup and generify MethodListDlg 2019-03-19 18:52:36 +03:00
Dennis Ushakov b978eb1d56 check last extension if file type is not found (WEB-37818) 2019-03-19 18:49:54 +03:00
Sergey Simonchik 3aaca41497 show busy icon on uninstall finished if packages are currently installing (IDEA-CR-44153) 2019-03-19 18:47:31 +03:00
Vladimir Krivosheev e9d4039979 fix NPE if CustomizeIDEWizardDialog is shown and some keyboard activity performed — app is not yet created
java.lang.NullPointerException
	at com.intellij.openapi.actionSystem.ActionManager.getInstance(ActionManager.java:28)
	at com.intellij.ide.IdeEventQueue.isActionPopupShown(IdeEventQueue.java:1284)
	at com.intellij.ide.IdeEventQueue.doPostEvent(IdeEventQueue.java:1179)
	at com.intellij.ide.IdeEventQueue.postEvent(IdeEventQueue.java:1051)
	at sun.awt.PostEventQueue.flush(SunToolkit.java:2190)
	at sun.awt.SunToolkit.flushPendingEvents(SunToolkit.java:546)
	at java.awt.EventQueue.getNextEvent(EventQueue.java:552)
	at com.intellij.ide.IdeEventQueue.getNextEvent(IdeEventQueue.java:489)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:187)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
	at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
	at java.awt.Dialog.show(Dialog.java:1077)
	at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:688)
	at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:427)
	at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1703)
	at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1657)
	at com.intellij.idea.StartupUtil.runStartupWizard(StartupUtil.java:548)
	at com.intellij.idea.MainImpl.lambda$null$0(MainImpl.java:25)
	at java.awt.event.InvocationEvent.dispatch$$$capture(InvocationEvent.java:311)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
	at java.awt.EventQueue.access$500(EventQueue.java:98)
	at java.awt.EventQueue$3.run(EventQueue.java:715)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
2019-03-19 16:46:17 +01:00
Sergey Simonchik 99d3034d8e update pty4j to 0.9.2 (hopefully fixes IDEA-208008) 2019-03-19 18:39:45 +03:00
Dennis Ushakov 46d37b5db9 check last extension if file type is not found (WEB-37818) 2019-03-19 18:32:04 +03:00
Maxim.Kolmakov 36cc736913 ProfilingUtil has been moved so captureMemorySnapshot should use class from the plugin
The dependency on performanceTesting from platform.commercial is required to make sure that captureMemorySnapshot available in the same tests as before
2019-03-19 16:26:26 +01:00
Maxim.Kolmakov 68194d7e3b Move all profiling messages to plugin 2019-03-19 16:26:25 +01:00
Maxim.Kolmakov c27031c8c1 Remove unused methods
stopCPUProfiling couldn't work anyway and other methods in case required can be replaced by ProfilingUtil.startCPUProfiling or ProfilingUtil.stopCPUProfiling
2019-03-19 16:26:25 +01:00
Maxim.Kolmakov e393bcc0e5 Move YK binaries into plugin 2019-03-19 16:26:25 +01:00
Roman Shevchenko 85f58bec6f Cleanup (type-safe icon operations in Win7TaskBar) 2019-03-19 15:54:28 +01:00
Roman Shevchenko 6ecb78258e [platform] fixes JNA availability in AppIcon/Win7TaskBar
The latter has JNA types in signatures and shouldn't be loaded when JNA is unavailable.
2019-03-19 15:39:07 +01:00
Roman Shevchenko 1abef49cba Cleanup (warnings; formatting) 2019-03-19 15:32:38 +01:00
nik 6b5f414ed0 java: show more specific message when suggesting to create a Java project from checked out sources in non-java IDE
When Java plugin is installed into a non-java IDE (IDEA-195719) the both NewProjectCheckoutListener and PlatformProjectCheckoutListener extensions will be available, so we need to allow users to choose whether they want to run a Java-specific "create from sources" wizard or just open a directory.
2019-03-19 17:18:58 +03:00
nik dff02c4c04 java: register the common PlatformProjectCheckoutListener in Java-based IDEs and disable it for them
Currently all IDEs except IntelliJ IDEA include PlatformProjectCheckoutListener (registered in PlatformLangPlugin.xml) which suggest to open the checked out directory as a project. In order to reuse PlatformLangPlugin.xml in IntelliJ IDEA and extract Java support as a separate plugin (IDEA-195719) we need to register PlatformProjectCheckoutListener in IntelliJ IDEA as well and disable it there.
2019-03-19 17:18:57 +03:00
Roman Shevchenko 36e6ae21e0 Cleanup (warnings; formatting) 2019-03-19 15:02:47 +01:00
Nikolay.Rykunov 8ac5520ede Add rethrowing ProcessCanceledException to avoid error logging when Cancel was clicked 2019-03-19 16:46:18 +03:00
Dmitry Avdeev 4f1c55251f tolerate "doesn't override anything" problem 2019-03-19 16:13:54 +03:00
peter 6a60f729ee AbstractApplyAndRevertTestCase: don't return context data during project disposing
because it'd lead to "TestDataProvider is already disposed" exceptions, broken tearDown and broken following tests
2019-03-19 13:57:24 +01:00
peter 3a79d7fb48 move reachabilityFence to ObjectUtils 2019-03-19 13:57:24 +01:00
Vladimir Krivosheev a228e3dac4 start-up measurement: report project post-startup activity, add info about thread to activity info (not used in any way by visualizer for now)
* add `projectPostStartupActivities`.
* add `thread` (thread name) to activity.
* remove information about default project initialization (because default project initialization is not a sequential activity).
2019-03-19 13:47:43 +01:00
Icons_Sync_Robot 4c3ee00e10 Synchronization of changed icons from git@github.com:JetBrains/IntelliJIcons.git: ae18396e1c181e452d2f9dd79b777c62195df89b 2019-03-19 12:38:53 +00:00
Dmitry.Krasilschikov 5aff826ad4 IDEA-209217 make RL popup intact on filtering 2019-03-19 15:20:52 +03:00
Nikolay.Rykunov 80c4253200 Add usage statistic to ChangeReminder 2019-03-19 15:19:47 +03:00
Kirill Likhodedov 3053eaaf40 vcs-log: fix test to use existing MockVirtualFile instance
Since it is not allowed to define equals & hashCode for the MockVirtualFile, we should use the existing instance to pass to the vcs log filter.
2019-03-19 15:13:03 +03:00
Kirill Likhodedov fe355b77bb tests: don't allow to define equals & hashCode for the MockVirtualFile
Several tests rely on the identity equals for MockVirtualFile, and for now, there is no infrastructure to support equals & hashCode, as it is done for regular VirtualFiles. Therefore it is better to mark explicitly that equals & hashCode shouldn't be defined here.
2019-03-19 15:13:02 +03:00
Kirill Likhodedov a458fc2929 Revert "tests: define equals & hashcode for the MockVirtualFile"
Several tests rely on the fact that MockVirtualFiles should be compared only by equals.

This reverts commit 9d6794d2
2019-03-19 15:13:02 +03:00
Anton Makeev 5e86f8db44 Merge remote-tracking branch 'origin/master' 2019-03-19 13:08:50 +01:00
Anton Makeev aa46ec6f01 Merge branch 'amakeev/pm' 2019-03-19 13:00:58 +01:00
Egor Ushakov bf66a198b7 select the first passed variant as before (not the first on the line) 2019-03-19 14:59:44 +03:00
Alex Plate 0e8a63cf3f Register esc action for AbstractPopup only if myCancelKey is enabled
The previous solution for closing heavyweight hints caused VIM-1589 issue (`esc` action was not fired
while autocompletion popup is open). This is also a root cause for IDEA-203019 and 0951ab6a as a workaround.

Extracting `if (myCancelKeyEnabled)` out of the action handler has the same functionality, but passes `esc` action
to further handlers. This solves VIM-1589 and IDEA-203019 (and 0951ab6a is no more needed).
2019-03-19 14:24:58 +03:00
Dmitry Avdeev 9cc668e939 IDEA-208504 First xi:include tag in *Plugin.xml file is highlighted as error
do not highlight problem with "xpointer" scheme not supported by Xerces
2019-03-19 14:23:17 +03:00
Rustam Vishnyakov f35aa56c1e Call modifiers and cache code style only for physical files 2019-03-19 14:10:05 +03:00
Rustam Vishnyakov a18c7f9209 Log file hash code (instance) 2019-03-19 14:10:05 +03:00
Nikita Skvortsov d8f00ecf1c add data about known published external annotations 2019-03-19 13:59:03 +03:00
Nikita Skvortsov 11020de191 add "Known External Annotations" plugin to Idea CE 2019-03-19 13:59:02 +03:00
Nikita Skvortsov 35c3a6e69e add initial revision of "Known External Annotations" plugin 2019-03-19 13:59:02 +03:00
Semyon Proshev 8966e016d5 Add Python 3.8 language level (PY-33884)
Additionally, I did the following:

* re-generated lists of supported/unsupported interpreter modules
* updated test data wherever Python versions appear in warnings

Still need to figure out, though, why _bz2/bz2 modules were not found
for some old versions of Python, hence information about their presense
should be updated by hand in versions.xml.
2019-03-19 13:38:12 +03:00